@smals-belgium-shared/vidis-delivered-medication-detail 3.3.1 → 3.3.2-snapshot.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var l7=Object.defineProperty;var hp=e=>{throw TypeError(e)};var u7=(e,t,a)=>t in e?l7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var s=(e,t,a)=>u7(e,typeof t!="symbol"?t+"":t,a),pp=(e,t,a)=>t.has(e)||hp("Cannot "+a);var da=(e,t,a)=>(pp(e,t,"read from private field"),a?a.call(e):t.get(e)),mp=(e,t,a)=>t.has(e)?hp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),fp=(e,t,a,n)=>(pp(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var c7=Object.create,El=Object.defineProperty,d7=Object.defineProperties,h7=Object.getOwnPropertyDescriptor,p7=Object.getOwnPropertyDescriptors,m7=Object.getOwnPropertyNames,js=Object.getOwnPropertySymbols,f7=Object.getPrototypeOf,ud=Object.prototype.hasOwnProperty,Zf=Object.prototype.propertyIsEnumerable,gp=(e,t,a)=>t in e?El(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,se=(e,t)=>{for(var a in t||(t={}))ud.call(t,a)&&gp(e,a,t[a]);if(js)for(var a of js(t))Zf.call(t,a)&&gp(e,a,t[a]);return e},Wt=(e,t)=>d7(e,p7(t)),g7=(e,t)=>{var a={};for(var n in e)ud.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&js)for(var n of js(e))t.indexOf(n)<0&&Zf.call(e,n)&&(a[n]=e[n]);return a},ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var a in t)El(e,a,{get:t[a],enumerable:!0})},v7=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of m7(t))!ud.call(e,r)&&r!==a&&El(e,r,{get:()=>t[r],enumerable:!(n=h7(t,r))||n.enumerable});return e},Kf=(e,t,a)=>(a=e!=null?c7(f7(e)):{},v7(t||!e||!e.__esModule?El(a,"default",{value:e,enumerable:!0}):a,e)),
|
|
1
|
+
var l7=Object.defineProperty;var hp=e=>{throw TypeError(e)};var u7=(e,t,a)=>t in e?l7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var s=(e,t,a)=>u7(e,typeof t!="symbol"?t+"":t,a),pp=(e,t,a)=>t.has(e)||hp("Cannot "+a);var da=(e,t,a)=>(pp(e,t,"read from private field"),a?a.call(e):t.get(e)),mp=(e,t,a)=>t.has(e)?hp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),fp=(e,t,a,n)=>(pp(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var c7=Object.create,El=Object.defineProperty,d7=Object.defineProperties,h7=Object.getOwnPropertyDescriptor,p7=Object.getOwnPropertyDescriptors,m7=Object.getOwnPropertyNames,js=Object.getOwnPropertySymbols,f7=Object.getPrototypeOf,ud=Object.prototype.hasOwnProperty,Zf=Object.prototype.propertyIsEnumerable,gp=(e,t,a)=>t in e?El(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,se=(e,t)=>{for(var a in t||(t={}))ud.call(t,a)&&gp(e,a,t[a]);if(js)for(var a of js(t))Zf.call(t,a)&&gp(e,a,t[a]);return e},Wt=(e,t)=>d7(e,p7(t)),g7=(e,t)=>{var a={};for(var n in e)ud.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&js)for(var n of js(e))t.indexOf(n)<0&&Zf.call(e,n)&&(a[n]=e[n]);return a},ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oe=(e,t)=>{for(var a in t)El(e,a,{get:t[a],enumerable:!0})},v7=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of m7(t))!ud.call(e,r)&&r!==a&&El(e,r,{get:()=>t[r],enumerable:!(n=h7(t,r))||n.enumerable});return e},Kf=(e,t,a)=>(a=e!=null?c7(f7(e)):{},v7(t||!e||!e.__esModule?El(a,"default",{value:e,enumerable:!0}):a,e)),vt=(e,t,a)=>new Promise((n,r)=>{var i=c=>{try{l(a.next(c))}catch(u){r(u)}},o=c=>{try{l(a.throw(c))}catch(u){r(u)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,o);l((a=a.apply(e,t)).next())}),b7=ne((e,t)=>{(function(a,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(a=typeof globalThis<"u"?globalThis:a||self,a.MessageFormat=n())})(e,function(){var a=function(){return a=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},a.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 r(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"}},A=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 Z(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(A(v))return O(p,f);if(v==="'")return Z(p,f);let y=v,_=1;for(;;){let E=p[++f];if(!E||A(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 wt(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 st(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 $e extends Error{constructor(f,v){super(v),this.code=f}}class pt extends $e{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Y extends $e{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class H extends $e{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class ge extends $e{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class L extends $e{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends $e{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 U(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 Ee(p,f){let v=+p+f/2;return v-v%+f}function He(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Pt(p){let f=He(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>Ee(y,v.increment)*f:y=>y*f}function De(p){let f=He(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 Me(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:I,sign:N,unit:F,unitPer:J,unitWidth:ue}=p,ke=(Ue,lt)=>{},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:Ue,maxFraction:lt,minSignificant:xt,maxSignificant:qt,source:kn}=k;typeof Ue=="number"&&(W.minimumFractionDigits=Ue,typeof xt=="number"&&ke()),typeof lt=="number"&&(W.maximumFractionDigits=lt),typeof xt=="number"&&(W.minimumSignificantDigits=xt),typeof qt=="number"&&(W.maximumSignificantDigits=qt);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":ke(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:Ue,expSign:lt,source:xt,style:qt}=E;W.notation=qt;break}}if(_){let{min:Ue,max:lt,source:xt}=_;if(Ue>0&&(W.minimumIntegerDigits=Ue),Number(lt)>0){let qt=W.notation==="engineering"||W.notation==="scientific";lt===3&&qt?W.notation="engineering":ke()}}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 Je(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 Ge(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 Lt(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=Je(p,f,v);if(J)N&&(_.push({char:"'",str:N,width:N.length}),N=""),_.push(J),f+=J.width;else{let ue=Ge(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=Ge(p,f);J?(E.push(J),f+=J.width):I=y.Suffix;break}case y.Suffix:{let J=Je(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 wt(p,f){let{pattern:v,pos:y}=Lt(p,0,f);if(y<p.length){let{pattern:_}=Lt(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 ke=p[ue];switch(ke.char){case"#":{if(I===-1){if(k){let W="Pattern has # after integer digits";f(new L("#",W))}E+=ke.width}else F+=ke.width;break}case"0":{if(I===-1)k+=ke.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new L("0",W))}N+=ke.digits}break}case"@":{v.precision&&f(new H("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:ke.min,maxSignificant:ke.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"},ke.expDigits>1&&(v.notation.expDigits=ke.expDigits),ke.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 Ia(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 $o(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:_}=wt(p,v),E=jn(y.number,v),k=Ia(y.prefix,E,f,v,!0),I=Ia(y.suffix,E,f,v,!1);if(_){let N=$o(_.prefix,!0),F=$o(_.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 _9(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 ep(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 tp={"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},np={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function w9(p){return p in tp}function x9(p){return p in np}function E9(p,f,v){if(w9(p)){let y=tp[p];if(f.length>y){if(y===0)for(let _ of f)v(new pt(p,_));else v(new j(p,f,y));return!1}else if(x9(p)&&f.length<np[p])return v(new ge(p)),!1}return!0}function Wl(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 S9(p,f,v){let y=Wl(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=Wl(k,"significant");return I?(E.source=`${p}/${k}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):k&&v(new pt(p,k)),E}let _=Wl(p,"significant");if(_){for(let k of f)v(new pt(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class k9{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new pt(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new H(f,v))}parseToken(f,v){if(!E9(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":{ep(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{ep(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":{_9(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=S9(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Y(f))}}}}function ap(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 k9(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function C9(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?ap(f.slice(2),y):Go(f,v,y));let _=U(p,f),E=Me(f),k=Pt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[N,F]=f.affix.pos,[J,ue]=f.affix.neg||["",""];return ke=>{let W=I.format(k(ke));return ke<0?`${J}${W}${ue}`:`${N}${W}${F}`}}return N=>I.format(k(N))}function I9(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?ap(f.slice(2),y):Go(f,v,y));let _=U(p,f),E=Me(f),k=De(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,ke]=f.affix.neg.map(W=>JSON.stringify(W));N=`value < 0 ? ${ue} + ${N} + ${ke} : ${F} + ${N} + ${J}`}else N=`${F} + ${N} + ${J}`}return I.push(`return function(value) { return ${N}; }`),I.join(`
|
|
3
|
+
})()`}class $e extends Error{constructor(f,v){super(v),this.code=f}}class pt extends $e{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Y extends $e{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class H extends $e{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class ge extends $e{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class L extends $e{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends $e{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 U(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 Ee(p,f){let v=+p+f/2;return v-v%+f}function He(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Pt(p){let f=He(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>Ee(y,v.increment)*f:y=>y*f}function De(p){let f=He(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 Me(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:I,sign:N,unit:F,unitPer:J,unitWidth:ue}=p,ke=(Ue,lt)=>{},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:Ue,maxFraction:lt,minSignificant:Et,maxSignificant:qt,source:kn}=k;typeof Ue=="number"&&(W.minimumFractionDigits=Ue,typeof Et=="number"&&ke()),typeof lt=="number"&&(W.maximumFractionDigits=lt),typeof Et=="number"&&(W.minimumSignificantDigits=Et),typeof qt=="number"&&(W.maximumSignificantDigits=qt);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":ke(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:Ue,expSign:lt,source:Et,style:qt}=E;W.notation=qt;break}}if(_){let{min:Ue,max:lt,source:Et}=_;if(Ue>0&&(W.minimumIntegerDigits=Ue),Number(lt)>0){let qt=W.notation==="engineering"||W.notation==="scientific";lt===3&&qt?W.notation="engineering":ke()}}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 Je(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 Ge(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 Lt(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=Je(p,f,v);if(J)N&&(_.push({char:"'",str:N,width:N.length}),N=""),_.push(J),f+=J.width;else{let ue=Ge(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=Ge(p,f);J?(E.push(J),f+=J.width):I=y.Suffix;break}case y.Suffix:{let J=Je(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 xt(p,f){let{pattern:v,pos:y}=Lt(p,0,f);if(y<p.length){let{pattern:_}=Lt(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 ke=p[ue];switch(ke.char){case"#":{if(I===-1){if(k){let W="Pattern has # after integer digits";f(new L("#",W))}E+=ke.width}else F+=ke.width;break}case"0":{if(I===-1)k+=ke.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new L("0",W))}N+=ke.digits}break}case"@":{v.precision&&f(new H("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:ke.min,maxSignificant:ke.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"},ke.expDigits>1&&(v.notation.expDigits=ke.expDigits),ke.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 Ia(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 $o(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:_}=xt(p,v),E=jn(y.number,v),k=Ia(y.prefix,E,f,v,!0),I=Ia(y.suffix,E,f,v,!1);if(_){let N=$o(_.prefix,!0),F=$o(_.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 _9(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 ep(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 tp={"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},np={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function w9(p){return p in tp}function x9(p){return p in np}function E9(p,f,v){if(w9(p)){let y=tp[p];if(f.length>y){if(y===0)for(let _ of f)v(new pt(p,_));else v(new j(p,f,y));return!1}else if(x9(p)&&f.length<np[p])return v(new ge(p)),!1}return!0}function Wl(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 S9(p,f,v){let y=Wl(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=Wl(k,"significant");return I?(E.source=`${p}/${k}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):k&&v(new pt(p,k)),E}let _=Wl(p,"significant");if(_){for(let k of f)v(new pt(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class k9{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new pt(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new H(f,v))}parseToken(f,v){if(!E9(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":{ep(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{ep(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":{_9(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=S9(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Y(f))}}}}function ap(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 k9(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function C9(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?ap(f.slice(2),y):Go(f,v,y));let _=U(p,f),E=Me(f),k=Pt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[N,F]=f.affix.pos,[J,ue]=f.affix.neg||["",""];return ke=>{let W=I.format(k(ke));return ke<0?`${J}${W}${ue}`:`${N}${W}${F}`}}return N=>I.format(k(N))}function I9(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?ap(f.slice(2),y):Go(f,v,y));let _=U(p,f),E=Me(f),k=De(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,ke]=f.affix.neg.map(W=>JSON.stringify(W));N=`value < 0 ? ${ue} + ${N} + ${ke} : ${F} + ${N} + ${J}`}else N=`${F} + ${N} + ${J}`}return I.push(`return function(value) { return ${N}; }`),I.join(`
|
|
4
4
|
`)+`
|
|
5
5
|
})()`}var Yl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function D9(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var xi={},rp={},ip={exports:{}};(function(p){(function(f,v){p.exports?p.exports=v():f.moo=v()})(Yl,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(Q){return"(?:"+Q+")"}).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 ke(M,B){for(var Q=M.length,ee=0;;){var fe=M.lastIndexOf(`
|
|
6
6
|
`,Q-1);if(fe===-1||(ee++,Q=fe,ee===B)||Q===0)break}var le=ee<B?0:Q+1;return M.substring(le).split(`
|
|
7
|
-
`)}function W(M){for(var B=Object.getOwnPropertyNames(M),Q=[],ee=0;ee<B.length;ee++){var fe=B[ee],le=M[fe],Te=[].concat(le);if(fe==="include"){for(var Ke=0;Ke<Te.length;Ke++)Q.push({include:Te[Ke]});continue}var Ve=[];Te.forEach(function(de){E(de)?(Ve.length&&Q.push(lt(fe,Ve)),Q.push(lt(fe,de)),Ve=[]):Ve.push(de)}),Ve.length&&Q.push(lt(fe,Ve))}return Q}function Ue(M){for(var B=[],Q=0;Q<M.length;Q++){var ee=M[Q];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(lt(ee.type,ee))}return B}function lt(M,B){if(E(B)||(B={match:B}),B.include)throw new Error("Matching rules cannot also include states");var Q={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)&&(Q[ee]=B[ee]);if(typeof Q.type=="string"&&M!==Q.type)throw new Error("Type transform cannot be a string (type '"+Q.type+"' for token '"+M+"')");var fe=Q.match;return Q.match=Array.isArray(fe)?fe:fe?[fe]:[],Q.match.sort(function(le,Te){return _(le)&&_(Te)?0:_(Te)?-1:_(le)?1:Te.length-le.length}),Q}function
|
|
7
|
+
`)}function W(M){for(var B=Object.getOwnPropertyNames(M),Q=[],ee=0;ee<B.length;ee++){var fe=B[ee],le=M[fe],Te=[].concat(le);if(fe==="include"){for(var Ke=0;Ke<Te.length;Ke++)Q.push({include:Te[Ke]});continue}var Ve=[];Te.forEach(function(de){E(de)?(Ve.length&&Q.push(lt(fe,Ve)),Q.push(lt(fe,de)),Ve=[]):Ve.push(de)}),Ve.length&&Q.push(lt(fe,Ve))}return Q}function Ue(M){for(var B=[],Q=0;Q<M.length;Q++){var ee=M[Q];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(lt(ee.type,ee))}return B}function lt(M,B){if(E(B)||(B={match:B}),B.include)throw new Error("Matching rules cannot also include states");var Q={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)&&(Q[ee]=B[ee]);if(typeof Q.type=="string"&&M!==Q.type)throw new Error("Type transform cannot be a string (type '"+Q.type+"' for token '"+M+"')");var fe=Q.match;return Q.match=Array.isArray(fe)?fe:fe?[fe]:[],Q.match.sort(function(le,Te){return _(le)&&_(Te)?0:_(Te)?-1:_(le)?1:Te.length-le.length}),Q}function Et(M){return Array.isArray(M)?Ue(M):W(M)}var qt=lt("error",{lineBreaks:!0,shouldThrow:!0});function kn(M,B){for(var Q=null,ee=Object.create(null),fe=!0,le=null,Te=[],Ke=[],Ve=0;Ve<M.length;Ve++)M[Ve].fallback&&(fe=!1);for(var Ve=0;Ve<M.length;Ve++){var de=M[Ve];if(de.include)throw new Error("Inheritance is not allowed in stateless lexers");if(de.error||de.fallback){if(Q)throw!de.fallback==!Q.fallback?new Error("Multiple "+(de.fallback?"fallback":"error")+" rules not allowed (for token '"+de.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+de.defaultType+"')");Q=de}var mt=de.match.slice();if(fe)for(;mt.length&&typeof mt[0]=="string"&&mt[0].length===1;){var kr=mt.shift();ee[kr.charCodeAt(0)]=de}if(de.pop||de.push||de.next){if(!B)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+de.defaultType+"')");if(de.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+de.defaultType+"')")}if(mt.length!==0){fe=!1,Te.push(de);for(var Bn=0;Bn<mt.length;Bn++){var Wa=mt[Bn];if(_(Wa)){if(le===null)le=Wa.unicode;else if(le!==Wa.unicode&&de.fallback===!1)throw new Error("If one rule is /u then all must be")}}var Cr=F(mt.map(J)),Cn=new RegExp(Cr);if(Cn.test(""))throw new Error("RegExp matches empty string: "+Cn);var Si=I(Cr);if(Si>0)throw new Error("RegExp has capture groups: "+Cn+`
|
|
8
8
|
Use (?: … ) instead`);if(!de.lineBreaks&&Cn.test(`
|
|
9
|
-
`))throw new Error("Rule should declare lineBreaks: "+Cn);Ke.push(N(Cr))}}var Ir=Q&&Q.fallback,ki=y&&!Ir?"ym":"gm",Xo=y||Ir?"":"|";le===!0&&(ki+="u");var s7=new RegExp(F(Ke)+Xo,ki);return{regexp:s7,groups:Te,fast:ee,error:Q||qt}}function Ta(M){var B=kn(
|
|
9
|
+
`))throw new Error("Rule should declare lineBreaks: "+Cn);Ke.push(N(Cr))}}var Ir=Q&&Q.fallback,ki=y&&!Ir?"ym":"gm",Xo=y||Ir?"":"|";le===!0&&(ki+="u");var s7=new RegExp(F(Ke)+Xo,ki);return{regexp:s7,groups:Te,fast:ee,error:Q||qt}}function Ta(M){var B=kn(Et(M));return new nt({start:B},"start")}function sa(M,B,Q){var ee=M&&(M.push||M.next);if(ee&&!Q[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 la(M,B){var Q=M.$all?Et(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 Te=ee[le];fe[Te]=Et(M[Te]).concat(Q)}for(var le=0;le<ee.length;le++)for(var Te=ee[le],Ke=fe[Te],Ve=Object.create(null),de=0;de<Ke.length;de++){var mt=Ke[de];if(mt.include){var kr=[de,1];if(mt.include!==Te&&!Ve[mt.include]){Ve[mt.include]=!0;var Bn=fe[mt.include];if(!Bn)throw new Error("Cannot include nonexistent state '"+mt.include+"' (in state '"+Te+"')");for(var Wa=0;Wa<Bn.length;Wa++){var Cr=Bn[Wa];Ke.indexOf(Cr)===-1&&kr.push(Cr)}}Ke.splice.apply(Ke,kr),de--}}for(var Cn=Object.create(null),le=0;le<ee.length;le++){var Te=ee[le];Cn[Te]=kn(fe[Te],!0)}for(var le=0;le<ee.length;le++){for(var Si=ee[le],Ir=Cn[Si],ki=Ir.groups,de=0;de<ki.length;de++)sa(ki[de],Si,Cn);for(var Xo=Object.getOwnPropertyNames(Ir.fast),de=0;de<Xo.length;de++)sa(Ir.fast[Xo[de]],Si,Cn)}return new nt(Cn,B)}function ua(M){for(var B=typeof Map<"u",Q=B?new Map:Object.create(null),ee=Object.getOwnPropertyNames(M),fe=0;fe<ee.length;fe++){var le=ee[fe],Te=M[le],Ke=Array.isArray(Te)?Te:[Te];Ke.forEach(function(Ve){if(typeof Ve!="string")throw new Error("keyword must be string (in keyword '"+le+"')");B?Q.set(Ve,le):Q[Ve]=le})}return function(Ve){return B?Q.get(Ve):Q[Ve]}}var nt=function(M,B){this.startState=B,this.states=M,this.buffer="",this.stack=[],this.reset()};nt.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},nt.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}},nt.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}},nt.prototype.popState=function(){this.setState(this.stack.pop())},nt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Ko=y?function(M,B){return M.exec(B)}:function(M,B){var Q=M.exec(B);return Q[0].length===0?null:Q};nt.prototype._getGroup=function(M){for(var B=this.groups.length,Q=0;Q<B;Q++)if(M[Q+1]!==void 0)return this.groups[Q];throw new Error("Cannot find token type for matched text")};function Qo(){return this.value}if(nt.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 Q=this.buffer;if(M!==Q.length){var Te=this.fast[Q.charCodeAt(M)];if(Te)return this._token(Te,Q.charAt(M),M);var ee=this.re;ee.lastIndex=M;var fe=Ko(ee,Q),le=this.error;if(fe==null)return this._token(le,Q.slice(M,Q.length),M);var Te=this._getGroup(fe),Ke=fe[0];return le.fallback&&fe.index!==M?(this.queuedGroup=Te,this.queuedText=Ke,this._token(le,Q.slice(M,fe.index),M)):this._token(Te,Ke,M)}},nt.prototype._token=function(M,B,Q){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 Te={type:typeof M.type=="function"&&M.type(B)||M.defaultType,value:typeof M.value=="function"?M.value(B):B,text:B,toString:Qo,offset:Q,lineBreaks:ee,line:this.line,col:this.col},Ke=B.length;if(this.index+=Ke,this.line+=ee,ee!==0?this.col=Ke-le+1:this.col+=Ke,M.shouldThrow){var Ve=new Error(this.formatError(Te,"invalid syntax"));throw Ve}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Te},typeof Symbol<"u"&&Symbol.iterator){var ca=function(M){this.lexer=M};ca.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},ca.prototype[Symbol.iterator]=function(){return this},nt.prototype[Symbol.iterator]=function(){return new ca(this)}}return nt.prototype.formatError=function(ee,B){if(ee==null)var Q=this.buffer.slice(this.index),ee={text:Q,offset:this.index,lineBreaks:Q.indexOf(`
|
|
11
11
|
`)===-1?0:1,line:this.line,col:this.col};var fe=2,le=Math.max(ee.line-fe,1),Te=ee.line+fe,Ke=String(Te).length,Ve=ke(this.buffer,this.line-ee.line+fe+1).slice(0,5),de=[];de.push(B+" at line "+ee.line+" col "+ee.col+":"),de.push("");for(var mt=0;mt<Ve.length;mt++){var kr=Ve[mt],Bn=le+mt;de.push(ue(String(Bn),Ke)+" "+kr),Bn===ee.line&&de.push(ue("",Ke+ee.col+1)+"^")}return de.join(`
|
|
12
|
-
`)},nt.prototype.clone=function(){return new nt(this.states,this.state)},nt.prototype.has=function(M){return!0},{compile:Ta,states:la,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:ua}})})(ip);var T9=ip.exports;(function(p){var f=Yl&&Yl.__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(T9);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)})(rp),Object.defineProperty(xi,"__esModule",{value:!0});var op=xi.parse=xi.ParseError=void 0;let sp=rp,Uo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Zl=p=>p==="plural"||p==="select"||p==="selectordinal";function N9(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 Ct(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 O9=["number","date","time","spellout","ordinal","duration"],lp=["zero","one","two","few","many","other"];class Ct extends Error{constructor(f,v){super(sp.lexer.formatError(f,v))}}xi.ParseError=Ct;class M9{constructor(f,v){var y,_,E,k;this.lexer=sp.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:lp,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:lp,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 Ct(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 Ct(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 Ct(I,"Unexpected plural offset for select");if(k.cases.length>0)throw new Ct(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:Uo(I)});break}case"end":return k;default:throw new Ct(I,`Unexpected lexer token: ${I.type}`)}throw new Ct(null,"Unexpected message end")}parseArgToken(f,v){let y=Uo(f),_=this.lexer.next();if(!_)throw new Ct(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!O9.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Ct(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 Ct(null,"Unexpected message end");if(E.type!=="end")throw new Ct(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,Zl(_.value.toLowerCase()))throw new Ct(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(Zl(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Ct(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=N9(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(Zl(_.value))return this.parseSelect(f,v,y,_.value);throw new Ct(_,`Unexpected select type ${_.value}`);default:throw new Ct(_,`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:Uo(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 Ct(E,I)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Uo(E)},y.push(_))}}if(v)return y;throw new Ct(null,"Unexpected message end")}}function R9(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new M9(p,f).parse()}op=xi.parse=R9;function Ei(p){return Ei[p]||(Ei[p]=new Intl.NumberFormat(p))}function A9(p,f,v){return Ei(p).format(f-v)}function P9(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Ei(p).format(_)}function L9(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 F9(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function j9(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 V9=Object.freeze({__proto__:null,_nf:Ei,number:A9,plural:L9,reqArgs:j9,select:F9,strictNumber:P9});function z9(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 B9(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 Kl={};function Wo(p,f){var v=String(p)+JSON.stringify(f);return Kl[v]||(Kl[v]=new Intl.NumberFormat(p,f)),Kl[v]}function H9(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 Wo(f,I[E]||{}).format(p)}var q9=function(p,f,v){return Wo(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},$9=function(p,f){return Wo(f,{maximumFractionDigits:0}).format(p)},G9=function(p,f){return Wo(f,{style:"percent"}).format(p)};function U9(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 Ql=Object.freeze({__proto__:null,date:z9,duration:B9,numberCurrency:q9,numberFmt:H9,numberInteger:$9,numberPercent:G9,time:U9}),W9={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}},Xl=D9(W9);function Y9(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 Da(p,f){f&&(p+=" "+Y9(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return Xl.ES3[v]||Xl.ESnext[v]||/^\d/.test(v)?"_"+v:v}function Jl(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Xl.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var Z9=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],K9=new RegExp("^"+Z9.join("|^"));function Q9(p,f){var v=K9.test(f),y=JSON.stringify(v?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var X9="@messageformat/runtime",J9="@messageformat/runtime/lib/cardinals",up="@messageformat/runtime/lib/plurals",e7="@messageformat/runtime/lib/formatters",t7=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 ke={};try{for(var W=n(Object.keys(f)),Ue=W.next();!Ue.done;Ue=W.next()){var lt=Ue.value,xt=N?N(lt):lt,qt=y&&xt&&y[xt]||v;ke[lt]=this.compile(f[lt],qt,y)}}catch(nt){_={error:nt}}finally{try{Ue&&!Ue.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return ke}this.plural=v;var kn={cardinal:v.cardinals,ordinal:v.ordinals,strict:J,strictPluralKeys:ue};this.arguments=[];var Ta=op(f,kn).map(function(nt){return k.token(nt,null)}),sa=this.arguments.length>0,la=this.concatenate(Ta,!0);if(F&&sa){this.setRuntimeFn("reqArgs");var ua=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(ua,", d); return ").concat(la,"; }")}return"(".concat(sa?"d":"",") => ").concat(la)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(J){var ue=J.key,ke=J.tokens;ue==="other"&&(_=!1);var W=ke.map(function(Ue){return y.token(Ue,v)});return"".concat(Jl(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=[Jl("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?Q9(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?Da("".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),Jl("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(Da(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=J9,J=function(){return String(E)}}else{if(y&&(!I||y.module===up))return;N=function(ue,ke){return k(ue,ke)},F=I?up: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(V9[f],{id:f,module:X9,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]||cp(N)&&Ql[N];if(!J||!F)return null;var ue="arg"in J&&J.arg||"string";if(ue==="options"){var ke="";try{for(var W=n(F),Ue=W.next();!Ue.done;Ue=W.next()){var lt=Ue.value;if(lt.type==="content")ke+=lt.value;else throw new SyntaxError("Expected literal options for ".concat(N," formatter"))}}catch(ca){y={error:ca}}finally{try{Ue&&!Ue.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var xt={};try{for(var qt=n(ke.split(",")),kn=qt.next();!kn.done;kn=qt.next()){var Ta=kn.value,sa=Ta.indexOf(":");if(sa===-1)xt[Ta.trim()]=null;else{var la=Ta.substring(0,sa).trim(),ua=Ta.substring(sa+1).trim();if(ua==="true")xt[la]=!0;else if(ua==="false")xt[la]=!1;else if(ua==="null")xt[la]=null;else{var nt=Number(ua);xt[la]=Number.isFinite(nt)?nt:ua}}}}catch(ca){E={error:ca}}finally{try{kn&&!kn.done&&(k=qt.return)&&k.call(qt)}finally{if(E)throw E.error}}return JSON.stringify(xt)}else{var Ko=F.map(function(ca){return I.token(ca,v)});if(ue==="raw")return"[".concat(Ko.join(", "),"]");var Qo=Ko.join(" + ");return Qo?"(".concat(Qo,").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({}),a(a({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Da(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(cp(f))this.runtime[f]=Object.assign(Ql[f],{type:"formatter"},{id:f,module:e7});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=Da("date_".concat(k,"_").concat(N),!0);if(!this.runtimeIncludes(F,"formatter")){var J=_t(k,N,this.options.timeZone);this.runtime[F]=Object.assign(J,{id:F,module:null,toString:function(){return st(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(ke){return _.token(ke,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=Da("number_".concat(k,"_").concat(I),!0);if(!this.runtimeIncludes(F,"formatter")){var J=this.options.currency,ue=C9(k,I,J);this.runtime[F]=Object.assign(ue,{id:null,module:null,toString:function(){return I9(k,I,J)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var ke=E.map(function(W){return _.token(W,y)});return v.push("("+(ke.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function cp(p){return p in Ql}let z=p=>p==1?"one":"other",na=p=>p==0||p==1?"one":"other",Vn=p=>p>=0&&p<=1?"one":"other",Nt=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Ne=p=>"other",aa=p=>p==1?"one":p==2?"two":"other";var n7=Object.freeze({__proto__:null,af:z,ak:na,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:Nt,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:na,bm:Ne,bn:Vn,bo:Ne,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:Nt,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:Ne,ee:z,el:z,en:Nt,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:Nt,eu:z,fa:Vn,ff:p=>p>=0&&p<2?"one":"other",fi:Nt,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:Nt,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:Nt,gsw:z,gu:Vn,guw:na,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:Ne,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:Nt,id:Ne,ig:Ne,ii:Ne,io:Nt,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:aa,ja:Ne,jbo:Ne,jgo:z,jmc:z,jv:Ne,jw:Ne,ka:z,kab:p=>p>=0&&p<2?"one":"other",kaj:z,kcg:z,kde:Ne,kea:Ne,kk:z,kkj:z,kl:z,km:Ne,kn:Vn,ko:Ne,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:Nt,lkt:Ne,ln:na,lo:Ne,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:na,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:Ne,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:Ne,nah:z,naq:aa,nb:z,nd:z,ne:z,nl:Nt,nn:z,nnh:z,no:z,nqo:Ne,nr:z,nso:na,ny:z,nyn:z,om:z,or:z,os:z,osa:Ne,pa:na,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:Ne,saq:z,sat:aa,sc:Nt,scn:Nt,sd:z,sdh:z,se:aa,seh:z,ses:Ne,sg:Ne,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:aa,smi:aa,smj:aa,smn:aa,sms:aa,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:Ne,sv:Nt,sw:Nt,syr:z,ta:z,te:z,teo:z,th:Ne,ti:na,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:Ne,tpi:Ne,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:Ne,ur:Nt,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:Ne,vo:z,vun:z,wa:na,wae:z,wo:Ne,xh:z,xog:z,yi:Nt,yo:Ne,yue:Ne,zh:Ne,zu:Vn});let ra="zero",q="one",Ze="two",ve="few",ye="many",R="other",P={cardinal:[q,R],ordinal:[R]},Ua={cardinal:[q,R],ordinal:[q,R]},Ae={cardinal:[R],ordinal:[R]},zn={cardinal:[q,Ze,R],ordinal:[R]};var dp=Object.freeze({__proto__:null,af:P,ak:P,am:P,an:P,ar:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[R]},ars:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[R]},as:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},asa:P,ast:P,az:{cardinal:[q,R],ordinal:[q,ve,ye,R]},bal:Ua,be:{cardinal:[q,ve,ye,R],ordinal:[ve,R]},bem:P,bez:P,bg:P,bho:P,bm:Ae,bn:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},bo:Ae,br:{cardinal:[q,Ze,ve,ye,R],ordinal:[R]},brx:P,bs:{cardinal:[q,ve,R],ordinal:[R]},ca:{cardinal:[q,ye,R],ordinal:[q,Ze,ve,R]},ce:P,ceb:P,cgg:P,chr:P,ckb:P,cs:{cardinal:[q,ve,ye,R],ordinal:[R]},cy:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[ra,q,Ze,ve,ye,R]},da:P,de:P,doi:P,dsb:{cardinal:[q,Ze,ve,R],ordinal:[R]},dv:P,dz:Ae,ee:P,el:P,en:{cardinal:[q,R],ordinal:[q,Ze,ve,R]},eo:P,es:{cardinal:[q,ye,R],ordinal:[R]},et:P,eu:P,fa:P,ff:P,fi:P,fil:Ua,fo:P,fr:{cardinal:[q,ye,R],ordinal:[q,R]},fur:P,fy:P,ga:{cardinal:[q,Ze,ve,ye,R],ordinal:[q,R]},gd:{cardinal:[q,Ze,ve,R],ordinal:[q,Ze,ve,R]},gl:P,gsw:P,gu:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},guw:P,gv:{cardinal:[q,Ze,ve,ye,R],ordinal:[R]},ha:P,haw:P,he:zn,hi:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},hnj:Ae,hr:{cardinal:[q,ve,R],ordinal:[R]},hsb:{cardinal:[q,Ze,ve,R],ordinal:[R]},hu:Ua,hy:Ua,ia:P,id:Ae,ig:Ae,ii:Ae,io:P,is:P,it:{cardinal:[q,ye,R],ordinal:[ye,R]},iu:zn,ja:Ae,jbo:Ae,jgo:P,jmc:P,jv:Ae,jw:Ae,ka:{cardinal:[q,R],ordinal:[q,ye,R]},kab:P,kaj:P,kcg:P,kde:Ae,kea:Ae,kk:{cardinal:[q,R],ordinal:[ye,R]},kkj:P,kl:P,km:Ae,kn:P,ko:Ae,ks:P,ksb:P,ksh:{cardinal:[ra,q,R],ordinal:[R]},ku:P,kw:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[q,ye,R]},ky:P,lag:{cardinal:[ra,q,R],ordinal:[R]},lb:P,lg:P,lij:{cardinal:[q,R],ordinal:[ye,R]},lkt:Ae,ln:P,lo:{cardinal:[R],ordinal:[q,R]},lt:{cardinal:[q,ve,ye,R],ordinal:[R]},lv:{cardinal:[ra,q,R],ordinal:[R]},mas:P,mg:P,mgo:P,mk:{cardinal:[q,R],ordinal:[q,Ze,ye,R]},ml:P,mn:P,mo:{cardinal:[q,ve,R],ordinal:[q,R]},mr:{cardinal:[q,R],ordinal:[q,Ze,ve,R]},ms:{cardinal:[R],ordinal:[q,R]},mt:{cardinal:[q,Ze,ve,ye,R],ordinal:[R]},my:Ae,nah:P,naq:zn,nb:P,nd:P,ne:Ua,nl:P,nn:P,nnh:P,no:P,nqo:Ae,nr:P,nso:P,ny:P,nyn:P,om:P,or:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},os:P,osa:Ae,pa:P,pap:P,pcm:P,pl:{cardinal:[q,ve,ye,R],ordinal:[R]},prg:{cardinal:[ra,q,R],ordinal:[R]},ps:P,pt:{cardinal:[q,ye,R],ordinal:[R]},pt_PT:{cardinal:[q,ye,R],ordinal:[R]},rm:P,ro:{cardinal:[q,ve,R],ordinal:[q,R]},rof:P,ru:{cardinal:[q,ve,ye,R],ordinal:[R]},rwk:P,sah:Ae,saq:P,sat:zn,sc:{cardinal:[q,R],ordinal:[ye,R]},scn:{cardinal:[q,R],ordinal:[ye,R]},sd:P,sdh:P,se:zn,seh:P,ses:Ae,sg:Ae,sh:{cardinal:[q,ve,R],ordinal:[R]},shi:{cardinal:[q,ve,R],ordinal:[R]},si:P,sk:{cardinal:[q,ve,ye,R],ordinal:[R]},sl:{cardinal:[q,Ze,ve,R],ordinal:[R]},sma:zn,smi:zn,smj:zn,smn:zn,sms:zn,sn:P,so:P,sq:{cardinal:[q,R],ordinal:[q,ye,R]},sr:{cardinal:[q,ve,R],ordinal:[R]},ss:P,ssy:P,st:P,su:Ae,sv:Ua,sw:P,syr:P,ta:P,te:P,teo:P,th:Ae,ti:P,tig:P,tk:{cardinal:[q,R],ordinal:[ve,R]},tl:Ua,tn:P,to:Ae,tpi:Ae,tr:P,ts:P,tzm:P,ug:P,uk:{cardinal:[q,ve,ye,R],ordinal:[ve,R]},und:Ae,ur:P,uz:P,ve:P,vec:{cardinal:[q,ye,R],ordinal:[ye,R]},vi:{cardinal:[R],ordinal:[q,R]},vo:P,vun:P,wa:P,wae:P,wo:Ae,xh:P,xog:P,yi:P,yo:Ae,yue:Ae,zh:Ae,zu:P});let $=(p,f)=>f?"other":p==1?"one":"other",ia=(p,f)=>f?"other":p==0||p==1?"one":"other",Sr=(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"},Pe=(p,f)=>"other",oa=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Yo=Object.freeze({__proto__:null,af:$,ak:ia,am:Sr,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:ia,bm:Pe,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:Pe,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:Sr,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:Pe,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:Sr,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:ia,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:Pe,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:Pe,ig:Pe,ii:Pe,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:oa,ja:Pe,jbo:Pe,jgo:$,jmc:$,jv:Pe,jw:Pe,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:Pe,kea:Pe,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:Pe,kn:Sr,ko:Pe,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:Pe,ln:ia,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:ia,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:Pe,nah:$,naq:oa,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:Pe,nr:$,nso:ia,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:Pe,pa:ia,pap:$,pcm:Sr,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:Pe,saq:$,sat:oa,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:oa,seh:$,ses:Pe,sg:Pe,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:oa,smi:oa,smj:oa,smn:oa,sms:oa,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:Pe,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:Pe,ti:ia,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:Pe,tpi:Pe,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:Pe,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:ia,wae:$,wo:Pe,xh:$,xog:$,yi:mn,yo:Pe,yue:Pe,zh:Pe,zu:Sr});function eu(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 Zo(p){if(typeof p=="function"){var f=eu(p.name);return{isDefault:!1,id:Da(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=eu(p),y=Da(v);return i7(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:n7[y],getPlural:Yo[y],cardinals:dp[y].cardinal,ordinals:dp[y].ordinal}:null}function a7(p){var f=Object.keys(Yo).filter(function(v){return v!==p});return f.unshift(p),f.map(Zo)}function r7(p){var f=eu(p);return Da(f)in Yo}function i7(p){return p in Yo}var o7=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=a7(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Zo).filter(Boolean);else if(f){var y=Zo(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=Zo(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(r7)},p.prototype.resolvedOptions=function(){return a(a({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new t7(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=r(F.value,2),ue=J[0],ke=J[1];k.push(ue),I.push(ke)}}catch(Ue){v={error:Ue}}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],r(k),!1),[E],!1)));return W.apply(void 0,i([],r(I),!1))},p.defaultLocale="en",p}();return o7})}),cn=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function n(r,i){t(this,n),this.data=r,this.text=i.text||r,this.options=i};e.default=a}),y7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,A){for(var O=0;O<A.length;O++){var Z=A[O];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(T,Z.key,Z)}}return function(T,A,O){return A&&S(T.prototype,A),O&&S(T,O),T}}(),a=cn(),n=r(a);function r(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(A,O){return i(this,T),A=A.toUpperCase(),O.mod43&&(A+=g(x(A))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,A,O))}return t(T,[{key:"encode",value:function(){for(var A=m("*"),O=0;O<this.data.length;O++)A+=m(this.data[O])+"0";return A+=m("*"),{data:A,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,A=0;A<S.length;A++)T+=w(S[A]);return T=T%43,T}e.CODE39=c}),po=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function a(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,r=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={},a(t,o,n),a(t,l,r),a(t,c,i),t),e.SWAP={101:n,100:r,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=ne(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}}(),a=cn(),n=i(a),r=po();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=r.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(r.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)%r.MODULO)+m.getBar(r.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 r.BARS[b]?r.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===r.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===r.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=r.SWAP[S];T!==void 0?x=m.next(b,g+1,T):((w===r.SET_A||w===r.SET_B)&&S===r.SHIFT&&(b[0]=w===r.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 A=m.getBar(S),O=S*g;return{result:A+x.result,checksum:O+x.checksum}}}]),m}(n.default);e.default=u}),_7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=po(),a=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},r=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=r(l),u=c.length;if(u===l.length)return l;l=l.substring(u);var d=a(l)>=n(l);return c+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var c=void 0,u=r(l).length;if(u>=2)c=t.C_START_CHAR+o(l);else{var d=a(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})}}),w7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Sl(),a=i(t),n=_7(),r=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,r.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(a.default);e.default=u}),x7=ne(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}}(),a=Sl(),n=i(a),r=po();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,r.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),E7=ne(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}}(),a=Sl(),n=i(a),r=po();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,r.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),S7=ne(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}}(),a=Sl(),n=i(a),r=po();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,r.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),k7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=w7(),a=u(t),n=x7(),r=u(n),i=E7(),o=u(i),l=S7(),c=u(l);function u(d){return d&&d.__esModule?d:{default:d}}e.CODE128=a.default,e.CODE128A=r.default,e.CODE128B=o.default,e.CODE128C=c.default}),mo=ne(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"]}),fo=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=mo(),a=function(n,r,i){var o=n.split("").map(function(c,u){return t.BINARIES[r[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=a}),Qf=ne(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}}(),a=mo(),n=fo(),r=l(n),i=cn(),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,r.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:a.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:a.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:a.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[a.SIDE_BIN,this.leftEncode(),a.MIDDLE_BIN,this.rightEncode(),a.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),C7=ne(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}}(),a=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 A=S.get;return A===void 0?void 0:A.call(x)}},n=mo(),r=Qf(),i=o(r);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 a(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 a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return a(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 a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=a(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}),I7=ne(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}}(),a=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=Qf(),r=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 a(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 a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return a(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 a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(r.default);e.default=d}),D7=ne(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}}(),a=mo(),n=fo(),r=l(n),i=cn(),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=a.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,r.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),T7=ne(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}}(),a=mo(),n=fo(),r=l(n),i=cn(),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=a.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,r.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),Xf=ne(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 a=fo(),n=o(a),r=cn(),i=o(r);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}),N7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,T){for(var A=0;A<T.length;A++){var O=T[A];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}return function(S,T,A){return T&&x(S.prototype,T),A&&x(S,A),S}}(),a=fo(),n=l(a),r=cn(),i=l(r),o=Xf();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,A){c(this,S);var O=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,A));if(O.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)O.middleDigits=T,O.upcA=w(T,"0"),O.text=A.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=A.displayValue,A.fontSize>A.width*10?O.fontSize=A.width*10:O.fontSize=A.fontSize,O.guardHeight=A.height+O.fontSize/2+A.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],A=this.upcA[this.upcA.length-1],O=b[parseInt(A)][parseInt(T)];return(0,n.default)(this.middleDigits,O)}}]),S}(i.default);function w(x,S){for(var T=parseInt(x[x.length-1]),A=m[T],O="",Z=0,ie=0;ie<A.length;ie++){var me=A[ie];me==="X"?O+=x[Z++]:O+=me}return O=""+S+O,""+O+(0,o.checksum)(O)}e.default=g}),O7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=C7(),a=g(t),n=I7(),r=g(n),i=D7(),o=g(i),l=T7(),c=g(l),u=Xf(),d=g(u),m=N7(),b=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=a.default,e.EAN8=r.default,e.EAN5=o.default,e.EAN2=c.default,e.UPC=d.default,e.UPCE=b.default}),M7=ne(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"]}),Jf=ne(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}}(),a=M7(),n=cn(),r=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:a.START_BIN+g+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=a.BINARIES[b[1]];return a.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(r.default);e.default=u}),R7=ne(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}}(),a=Jf(),n=r(a);function r(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}),A7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Jf(),a=i(t),n=R7(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=a.default,e.ITF14=r.default}),go=ne(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}}(),a=cn(),n=r(a);function r(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=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=a;function t(n){for(var r=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?r+=o:r+=o*2%10+Math.floor(o*2/10)}return(10-r%10)%10}function a(n){for(var r=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);r+=i[o%i.length]*l}return(11-r%11)%11}}),P7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),L7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),F7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),j7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),V7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=go(),a=m(t),n=P7(),r=m(n),i=L7(),o=m(i),l=F7(),c=m(l),u=j7(),d=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=a.default,e.MSI10=r.default,e.MSI11=o.default,e.MSI1010=c.default,e.MSI1110=d.default}),z7=ne(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}}(),a=cn(),n=r(a);function r(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}),B7=ne(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}}(),a=cn(),n=r(a);function r(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}),H7=ne(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"]}}),eg=ne(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}}(),a=H7(),n=cn(),r=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 a.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 a.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return a.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return a.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,T){var A=T%g+1;return x+m.symbolValue(S)*A},0);return m.getSymbol(w%47)}}]),m}(r.default);e.default=u}),q7=ne(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}}(),a=eg(),n=r(a);function r(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}),$7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=eg(),a=i(t),n=q7(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=a.default,e.CODE93FullASCII=r.default}),G7=ne(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}}(),a=cn(),n=r(a);function r(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}),U7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=y7(),a=k7(),n=O7(),r=A7(),i=V7(),o=z7(),l=B7(),c=$7(),u=G7();e.default={CODE39:t.CODE39,CODE128:a.CODE128,CODE128A:a.CODE128A,CODE128B:a.CODE128B,CODE128C:a.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:r.ITF14,ITF:r.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=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(a){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a};e.default=function(a,n){return t({},a,n)}}),W7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=[];function r(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)r(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return r(a),n}}),Y7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){return a.marginTop=a.marginTop||a.margin,a.marginBottom=a.marginBottom||a.margin,a.marginRight=a.marginRight||a.margin,a.marginLeft=a.marginLeft||a.margin,a}}),tg=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in n)n.hasOwnProperty(r)&&(r=n[r],typeof a[r]=="string"&&(a[r]=parseInt(a[r],10)));return typeof a.displayValue=="string"&&(a.displayValue=a.displayValue!="false"),a}}),ng=ne(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}),Z7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=tg(),a=i(t),n=ng(),r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var c={};for(var u in r.default)r.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,a.default)(c),c}e.default=o}),ag=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Cl(),a=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function r(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,a.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=r(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=r,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),K7=ne(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}}(),a=Cl(),n=i(a),r=ag();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,r.calculateEncodingAttributes)(this.encodings,this.options,u);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.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=ne(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}}(),a=Cl(),n=i(a),r=ag();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,r.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.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}),X7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(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&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i,o,l){a(this,r),this.object=i,this.encodings=o,this.options=l}return t(r,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),r}();e.default=n}),J7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=K7(),a=l(t),n=Q7(),r=l(n),i=X7(),o=l(i);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:a.default,SVGRenderer:r.default,ObjectRenderer:o.default}}),rg=ne(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 a(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 r=function(l){n(c,l);function c(u,d){t(this,c);var m=a(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=a(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=a(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=r,e.InvalidElementException=i,e.NoElementException=o}),eH=ne(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},a=Z7(),n=l(a),r=J7(),i=l(r),o=rg();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}),tH=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(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&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i){a(this,r),this.api=i}return t(r,[{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}}}]),r}();e.default=n}),nH=ne((e,t)=>{var a=U7(),n=O(a),r=Cl(),i=O(r),o=W7(),l=O(o),c=Y7(),u=O(c),d=eH(),m=O(d),b=tg(),g=O(b),w=tH(),x=O(w),S=rg(),T=ng(),A=O(T);function O(Y){return Y&&Y.__esModule?Y:{default:Y}}var Z=function(){},ie=function(Y,H,ge){var L=new Z;if(typeof Y>"u")throw Error("No element to render on was provided.");return L._renderProperties=(0,m.default)(Y),L._encodings=[],L._options=A.default,L._errorHandler=new x.default(L),typeof H<"u"&&(ge=ge||{},ge.format||(ge.format=$e()),L.options(ge)[ge.format](H,ge).render()),L};ie.getModule=function(Y){return n.default[Y]};for(me in n.default)n.default.hasOwnProperty(me)&&_t(n.default,me);var me;function _t(Y,H){Z.prototype[H]=Z.prototype[H.toUpperCase()]=Z.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 U=(0,i.default)(j._options,L);U=(0,g.default)(U);var Ee=Y[H],He=st(ge,Ee,U);return j._encodings.push(He),j})}}function st(Y,H,ge){Y=""+Y;var L=new H(Y,ge);if(!L.valid())throw new S.InvalidInputException(L.constructor.name,Y);var j=L.encode();j=(0,l.default)(j);for(var U=0;U<j.length;U++)j[U].options=(0,i.default)(ge,j[U].options);return j}function $e(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Z.prototype.options=function(Y){return this._options=(0,i.default)(this._options,Y),this},Z.prototype.blank=function(Y){var H=new Array(Y+1).join("0");return this._encodings.push({data:H}),this},Z.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Y;for(var H in this._renderProperties){Y=this._renderProperties[H];var ge=(0,i.default)(this._options,Y.options);ge.format=="auto"&&(ge.format=$e()),this._errorHandler.wrapBarcodeCall(function(){var L=ge.value,j=n.default[ge.format.toUpperCase()],U=st(L,j,ge);pt(Y,U,ge)})}}},Z.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Y=0;Y<this._renderProperties.length;Y++)pt(this._renderProperties[Y],this._encodings,this._options);else pt(this._renderProperties,this._encodings,this._options);return this},Z.prototype._defaults=A.default;function pt(Y,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=Y.renderer,U=new j(Y.element,H,ge);U.render(),Y.afterRender&&Y.afterRender()}typeof window<"u"&&(window.JsBarcode=ie),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Y,H){var ge=[];return jQuery(this).each(function(){ge.push(this)}),ie(ge,Y,H)}),t.exports=ie});function cd(e,t){return Object.is(e,t)}var ut=null,xs=!1,dd=1,cr=Symbol("SIGNAL");function we(e){let t=ut;return ut=e,t}function aH(){return ut}var vo={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 hd(e){if(xs)throw new Error("");if(ut===null)return;ut.consumerOnSignalRead(e);let t=ut.nextProducerIndex++;if(Dl(ut),t<ut.producerNode.length&&ut.producerNode[t]!==e&&Wi(ut)){let a=ut.producerNode[t];Il(a,ut.producerIndexOfThis[t])}ut.producerNode[t]!==e&&(ut.producerNode[t]=e,ut.producerIndexOfThis[t]=Wi(ut)?ug(e,ut,t):0),ut.producerLastReadVersion[t]=e.version}function rH(){dd++}function bo(e){if(!(Wi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===dd)){if(!e.producerMustRecompute(e)&&!sg(e)){Vs(e);return}e.producerRecomputeValue(e),Vs(e)}}function ig(e){if(e.liveConsumerNode===void 0)return;let t=xs;xs=!0;try{for(let a of e.liveConsumerNode)a.dirty||iH(a)}finally{xs=t}}function og(){return(ut==null?void 0:ut.consumerAllowSignalWrites)!==!1}function iH(e){var t;e.dirty=!0,ig(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Vs(e){e.dirty=!1,e.lastCleanEpoch=dd}function zs(e){return e&&(e.nextProducerIndex=0),we(e)}function pd(e,t){if(we(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Wi(e))for(let a=e.nextProducerIndex;a<e.producerNode.length;a++)Il(e.producerNode[a],e.producerIndexOfThis[a]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function sg(e){Dl(e);for(let t=0;t<e.producerNode.length;t++){let a=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==a.version||(bo(a),n!==a.version))return!0}return!1}function lg(e){if(Dl(e),Wi(e))for(let t=0;t<e.producerNode.length;t++)Il(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 ug(e,t,a){if(cg(e),e.liveConsumerNode.length===0&&dg(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=ug(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(a),e.liveConsumerNode.push(t)-1}function Il(e,t){if(cg(e),e.liveConsumerNode.length===1&&dg(e))for(let n=0;n<e.producerNode.length;n++)Il(e.producerNode[n],e.producerIndexOfThis[n]);let a=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[a],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[a],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];Dl(r),r.producerIndexOfThis[n]=t}}function Wi(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Dl(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function cg(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function dg(e){return e.producerNode!==void 0}function oH(e,t){let a=Object.create(sH);a.computation=e;let n=()=>{if(bo(a),hd(a),a.value===ja)throw a.error;return a.value};return n[cr]=a,n}var ir=Symbol("UNSET"),Br=Symbol("COMPUTING"),ja=Symbol("ERRORED"),sH=Wt(se({},vo),{value:ir,dirty:!0,error:null,equal:cd,kind:"computed",producerMustRecompute(e){return e.value===ir||e.value===Br},producerRecomputeValue(e){if(e.value===Br)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Br;let a=zs(e),n,r=!1;try{n=e.computation(),we(null),r=t!==ir&&t!==ja&&n!==ja&&e.equal(t,n)}catch(i){n=ja,e.error=i}finally{pd(e,a)}if(r){e.value=t;return}e.value=n,e.version++}});function lH(){throw new Error}var hg=lH;function pg(e){hg(e)}function uH(e){hg=e}function md(e,t){og()||pg(e),e.equal(e.value,t)||(e.value=t,hH(e))}function cH(e,t){og()||pg(e),md(e,t(e.value))}var dH=Wt(se({},vo),{equal:cd,value:void 0,kind:"signal"});function hH(e){e.version++,rH(),ig(e)}function vp(e,t,a){let n=Object.create(fH);n.source=e,n.computation=t,a!=null&&(n.equal=a);let r=()=>{if(bo(n),hd(n),n.value===ja)throw n.error;return n.value};return r[cr]=n,r}function pH(e,t){bo(e),md(e,t),Vs(e)}function mH(e,t){bo(e),cH(e,t),Vs(e)}var fH=Wt(se({},vo),{value:ir,dirty:!0,error:null,equal:cd,kind:"linkedSignal",producerMustRecompute(e){return e.value===ir||e.value===Br},producerRecomputeValue(e){if(e.value===Br)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Br;let a=zs(e),n;try{let r=e.source(),i=t===ir||t===ja?void 0:{source:e.sourceValue,value:t};n=e.computation(r,i),e.sourceValue=r}catch(r){n=ja,e.error=r}finally{pd(e,a)}if(t!==ir&&n!==ja&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function gH(e){let t=we(null);try{return e()}finally{we(t)}}var ec;function Es(){return ec}function Oa(e){let t=ec;return ec=e,t}var mg=Symbol("NotFound");function We(e){return typeof e=="function"}function fd(e){let t=e(a=>{Error.call(a),a.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var tu=fd(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
12
|
+
`)},nt.prototype.clone=function(){return new nt(this.states,this.state)},nt.prototype.has=function(M){return!0},{compile:Ta,states:la,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:ua}})})(ip);var T9=ip.exports;(function(p){var f=Yl&&Yl.__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(T9);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)})(rp),Object.defineProperty(xi,"__esModule",{value:!0});var op=xi.parse=xi.ParseError=void 0;let sp=rp,Uo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Zl=p=>p==="plural"||p==="select"||p==="selectordinal";function N9(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 Ct(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 O9=["number","date","time","spellout","ordinal","duration"],lp=["zero","one","two","few","many","other"];class Ct extends Error{constructor(f,v){super(sp.lexer.formatError(f,v))}}xi.ParseError=Ct;class M9{constructor(f,v){var y,_,E,k;this.lexer=sp.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:lp,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:lp,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 Ct(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 Ct(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 Ct(I,"Unexpected plural offset for select");if(k.cases.length>0)throw new Ct(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:Uo(I)});break}case"end":return k;default:throw new Ct(I,`Unexpected lexer token: ${I.type}`)}throw new Ct(null,"Unexpected message end")}parseArgToken(f,v){let y=Uo(f),_=this.lexer.next();if(!_)throw new Ct(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!O9.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Ct(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 Ct(null,"Unexpected message end");if(E.type!=="end")throw new Ct(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,Zl(_.value.toLowerCase()))throw new Ct(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(Zl(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new Ct(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=N9(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(Zl(_.value))return this.parseSelect(f,v,y,_.value);throw new Ct(_,`Unexpected select type ${_.value}`);default:throw new Ct(_,`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:Uo(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 Ct(E,I)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:Uo(E)},y.push(_))}}if(v)return y;throw new Ct(null,"Unexpected message end")}}function R9(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new M9(p,f).parse()}op=xi.parse=R9;function Ei(p){return Ei[p]||(Ei[p]=new Intl.NumberFormat(p))}function A9(p,f,v){return Ei(p).format(f-v)}function P9(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Ei(p).format(_)}function L9(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 F9(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function j9(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 V9=Object.freeze({__proto__:null,_nf:Ei,number:A9,plural:L9,reqArgs:j9,select:F9,strictNumber:P9});function z9(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 B9(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 Kl={};function Wo(p,f){var v=String(p)+JSON.stringify(f);return Kl[v]||(Kl[v]=new Intl.NumberFormat(p,f)),Kl[v]}function H9(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 Wo(f,I[E]||{}).format(p)}var q9=function(p,f,v){return Wo(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},$9=function(p,f){return Wo(f,{maximumFractionDigits:0}).format(p)},G9=function(p,f){return Wo(f,{style:"percent"}).format(p)};function U9(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 Ql=Object.freeze({__proto__:null,date:z9,duration:B9,numberCurrency:q9,numberFmt:H9,numberInteger:$9,numberPercent:G9,time:U9}),W9={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}},Xl=D9(W9);function Y9(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 Da(p,f){f&&(p+=" "+Y9(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return Xl.ES3[v]||Xl.ESnext[v]||/^\d/.test(v)?"_"+v:v}function Jl(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Xl.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var Z9=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],K9=new RegExp("^"+Z9.join("|^"));function Q9(p,f){var v=K9.test(f),y=JSON.stringify(v?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var X9="@messageformat/runtime",J9="@messageformat/runtime/lib/cardinals",up="@messageformat/runtime/lib/plurals",e7="@messageformat/runtime/lib/formatters",t7=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 ke={};try{for(var W=n(Object.keys(f)),Ue=W.next();!Ue.done;Ue=W.next()){var lt=Ue.value,Et=N?N(lt):lt,qt=y&&Et&&y[Et]||v;ke[lt]=this.compile(f[lt],qt,y)}}catch(nt){_={error:nt}}finally{try{Ue&&!Ue.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return ke}this.plural=v;var kn={cardinal:v.cardinals,ordinal:v.ordinals,strict:J,strictPluralKeys:ue};this.arguments=[];var Ta=op(f,kn).map(function(nt){return k.token(nt,null)}),sa=this.arguments.length>0,la=this.concatenate(Ta,!0);if(F&&sa){this.setRuntimeFn("reqArgs");var ua=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(ua,", d); return ").concat(la,"; }")}return"(".concat(sa?"d":"",") => ").concat(la)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(J){var ue=J.key,ke=J.tokens;ue==="other"&&(_=!1);var W=ke.map(function(Ue){return y.token(Ue,v)});return"".concat(Jl(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=[Jl("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?Q9(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?Da("".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),Jl("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(Da(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=J9,J=function(){return String(E)}}else{if(y&&(!I||y.module===up))return;N=function(ue,ke){return k(ue,ke)},F=I?up: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(V9[f],{id:f,module:X9,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]||cp(N)&&Ql[N];if(!J||!F)return null;var ue="arg"in J&&J.arg||"string";if(ue==="options"){var ke="";try{for(var W=n(F),Ue=W.next();!Ue.done;Ue=W.next()){var lt=Ue.value;if(lt.type==="content")ke+=lt.value;else throw new SyntaxError("Expected literal options for ".concat(N," formatter"))}}catch(ca){y={error:ca}}finally{try{Ue&&!Ue.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var Et={};try{for(var qt=n(ke.split(",")),kn=qt.next();!kn.done;kn=qt.next()){var Ta=kn.value,sa=Ta.indexOf(":");if(sa===-1)Et[Ta.trim()]=null;else{var la=Ta.substring(0,sa).trim(),ua=Ta.substring(sa+1).trim();if(ua==="true")Et[la]=!0;else if(ua==="false")Et[la]=!1;else if(ua==="null")Et[la]=null;else{var nt=Number(ua);Et[la]=Number.isFinite(nt)?nt:ua}}}}catch(ca){E={error:ca}}finally{try{kn&&!kn.done&&(k=qt.return)&&k.call(qt)}finally{if(E)throw E.error}}return JSON.stringify(Et)}else{var Ko=F.map(function(ca){return I.token(ca,v)});if(ue==="raw")return"[".concat(Ko.join(", "),"]");var Qo=Ko.join(" + ");return Qo?"(".concat(Qo,").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({}),a(a({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Da(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(cp(f))this.runtime[f]=Object.assign(Ql[f],{type:"formatter"},{id:f,module:e7});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=Da("date_".concat(k,"_").concat(N),!0);if(!this.runtimeIncludes(F,"formatter")){var J=wt(k,N,this.options.timeZone);this.runtime[F]=Object.assign(J,{id:F,module:null,toString:function(){return st(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(ke){return _.token(ke,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=Da("number_".concat(k,"_").concat(I),!0);if(!this.runtimeIncludes(F,"formatter")){var J=this.options.currency,ue=C9(k,I,J);this.runtime[F]=Object.assign(ue,{id:null,module:null,toString:function(){return I9(k,I,J)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var ke=E.map(function(W){return _.token(W,y)});return v.push("("+(ke.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function cp(p){return p in Ql}let z=p=>p==1?"one":"other",na=p=>p==0||p==1?"one":"other",Vn=p=>p>=0&&p<=1?"one":"other",Nt=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Ne=p=>"other",aa=p=>p==1?"one":p==2?"two":"other";var n7=Object.freeze({__proto__:null,af:z,ak:na,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:Nt,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:na,bm:Ne,bn:Vn,bo:Ne,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:Nt,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:Ne,ee:z,el:z,en:Nt,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:Nt,eu:z,fa:Vn,ff:p=>p>=0&&p<2?"one":"other",fi:Nt,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:Nt,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:Nt,gsw:z,gu:Vn,guw:na,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:Ne,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:Nt,id:Ne,ig:Ne,ii:Ne,io:Nt,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:aa,ja:Ne,jbo:Ne,jgo:z,jmc:z,jv:Ne,jw:Ne,ka:z,kab:p=>p>=0&&p<2?"one":"other",kaj:z,kcg:z,kde:Ne,kea:Ne,kk:z,kkj:z,kl:z,km:Ne,kn:Vn,ko:Ne,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:Nt,lkt:Ne,ln:na,lo:Ne,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:na,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:Ne,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:Ne,nah:z,naq:aa,nb:z,nd:z,ne:z,nl:Nt,nn:z,nnh:z,no:z,nqo:Ne,nr:z,nso:na,ny:z,nyn:z,om:z,or:z,os:z,osa:Ne,pa:na,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:Ne,saq:z,sat:aa,sc:Nt,scn:Nt,sd:z,sdh:z,se:aa,seh:z,ses:Ne,sg:Ne,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:aa,smi:aa,smj:aa,smn:aa,sms:aa,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:Ne,sv:Nt,sw:Nt,syr:z,ta:z,te:z,teo:z,th:Ne,ti:na,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:Ne,tpi:Ne,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:Ne,ur:Nt,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:Ne,vo:z,vun:z,wa:na,wae:z,wo:Ne,xh:z,xog:z,yi:Nt,yo:Ne,yue:Ne,zh:Ne,zu:Vn});let ra="zero",q="one",Ze="two",ve="few",ye="many",R="other",P={cardinal:[q,R],ordinal:[R]},Ua={cardinal:[q,R],ordinal:[q,R]},Ae={cardinal:[R],ordinal:[R]},zn={cardinal:[q,Ze,R],ordinal:[R]};var dp=Object.freeze({__proto__:null,af:P,ak:P,am:P,an:P,ar:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[R]},ars:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[R]},as:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},asa:P,ast:P,az:{cardinal:[q,R],ordinal:[q,ve,ye,R]},bal:Ua,be:{cardinal:[q,ve,ye,R],ordinal:[ve,R]},bem:P,bez:P,bg:P,bho:P,bm:Ae,bn:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},bo:Ae,br:{cardinal:[q,Ze,ve,ye,R],ordinal:[R]},brx:P,bs:{cardinal:[q,ve,R],ordinal:[R]},ca:{cardinal:[q,ye,R],ordinal:[q,Ze,ve,R]},ce:P,ceb:P,cgg:P,chr:P,ckb:P,cs:{cardinal:[q,ve,ye,R],ordinal:[R]},cy:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[ra,q,Ze,ve,ye,R]},da:P,de:P,doi:P,dsb:{cardinal:[q,Ze,ve,R],ordinal:[R]},dv:P,dz:Ae,ee:P,el:P,en:{cardinal:[q,R],ordinal:[q,Ze,ve,R]},eo:P,es:{cardinal:[q,ye,R],ordinal:[R]},et:P,eu:P,fa:P,ff:P,fi:P,fil:Ua,fo:P,fr:{cardinal:[q,ye,R],ordinal:[q,R]},fur:P,fy:P,ga:{cardinal:[q,Ze,ve,ye,R],ordinal:[q,R]},gd:{cardinal:[q,Ze,ve,R],ordinal:[q,Ze,ve,R]},gl:P,gsw:P,gu:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},guw:P,gv:{cardinal:[q,Ze,ve,ye,R],ordinal:[R]},ha:P,haw:P,he:zn,hi:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},hnj:Ae,hr:{cardinal:[q,ve,R],ordinal:[R]},hsb:{cardinal:[q,Ze,ve,R],ordinal:[R]},hu:Ua,hy:Ua,ia:P,id:Ae,ig:Ae,ii:Ae,io:P,is:P,it:{cardinal:[q,ye,R],ordinal:[ye,R]},iu:zn,ja:Ae,jbo:Ae,jgo:P,jmc:P,jv:Ae,jw:Ae,ka:{cardinal:[q,R],ordinal:[q,ye,R]},kab:P,kaj:P,kcg:P,kde:Ae,kea:Ae,kk:{cardinal:[q,R],ordinal:[ye,R]},kkj:P,kl:P,km:Ae,kn:P,ko:Ae,ks:P,ksb:P,ksh:{cardinal:[ra,q,R],ordinal:[R]},ku:P,kw:{cardinal:[ra,q,Ze,ve,ye,R],ordinal:[q,ye,R]},ky:P,lag:{cardinal:[ra,q,R],ordinal:[R]},lb:P,lg:P,lij:{cardinal:[q,R],ordinal:[ye,R]},lkt:Ae,ln:P,lo:{cardinal:[R],ordinal:[q,R]},lt:{cardinal:[q,ve,ye,R],ordinal:[R]},lv:{cardinal:[ra,q,R],ordinal:[R]},mas:P,mg:P,mgo:P,mk:{cardinal:[q,R],ordinal:[q,Ze,ye,R]},ml:P,mn:P,mo:{cardinal:[q,ve,R],ordinal:[q,R]},mr:{cardinal:[q,R],ordinal:[q,Ze,ve,R]},ms:{cardinal:[R],ordinal:[q,R]},mt:{cardinal:[q,Ze,ve,ye,R],ordinal:[R]},my:Ae,nah:P,naq:zn,nb:P,nd:P,ne:Ua,nl:P,nn:P,nnh:P,no:P,nqo:Ae,nr:P,nso:P,ny:P,nyn:P,om:P,or:{cardinal:[q,R],ordinal:[q,Ze,ve,ye,R]},os:P,osa:Ae,pa:P,pap:P,pcm:P,pl:{cardinal:[q,ve,ye,R],ordinal:[R]},prg:{cardinal:[ra,q,R],ordinal:[R]},ps:P,pt:{cardinal:[q,ye,R],ordinal:[R]},pt_PT:{cardinal:[q,ye,R],ordinal:[R]},rm:P,ro:{cardinal:[q,ve,R],ordinal:[q,R]},rof:P,ru:{cardinal:[q,ve,ye,R],ordinal:[R]},rwk:P,sah:Ae,saq:P,sat:zn,sc:{cardinal:[q,R],ordinal:[ye,R]},scn:{cardinal:[q,R],ordinal:[ye,R]},sd:P,sdh:P,se:zn,seh:P,ses:Ae,sg:Ae,sh:{cardinal:[q,ve,R],ordinal:[R]},shi:{cardinal:[q,ve,R],ordinal:[R]},si:P,sk:{cardinal:[q,ve,ye,R],ordinal:[R]},sl:{cardinal:[q,Ze,ve,R],ordinal:[R]},sma:zn,smi:zn,smj:zn,smn:zn,sms:zn,sn:P,so:P,sq:{cardinal:[q,R],ordinal:[q,ye,R]},sr:{cardinal:[q,ve,R],ordinal:[R]},ss:P,ssy:P,st:P,su:Ae,sv:Ua,sw:P,syr:P,ta:P,te:P,teo:P,th:Ae,ti:P,tig:P,tk:{cardinal:[q,R],ordinal:[ve,R]},tl:Ua,tn:P,to:Ae,tpi:Ae,tr:P,ts:P,tzm:P,ug:P,uk:{cardinal:[q,ve,ye,R],ordinal:[ve,R]},und:Ae,ur:P,uz:P,ve:P,vec:{cardinal:[q,ye,R],ordinal:[ye,R]},vi:{cardinal:[R],ordinal:[q,R]},vo:P,vun:P,wa:P,wae:P,wo:Ae,xh:P,xog:P,yi:P,yo:Ae,yue:Ae,zh:Ae,zu:P});let $=(p,f)=>f?"other":p==1?"one":"other",ia=(p,f)=>f?"other":p==0||p==1?"one":"other",Sr=(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"},Pe=(p,f)=>"other",oa=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Yo=Object.freeze({__proto__:null,af:$,ak:ia,am:Sr,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:ia,bm:Pe,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:Pe,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:Sr,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:Pe,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:Sr,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:ia,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:Pe,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:Pe,ig:Pe,ii:Pe,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:oa,ja:Pe,jbo:Pe,jgo:$,jmc:$,jv:Pe,jw:Pe,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:Pe,kea:Pe,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:Pe,kn:Sr,ko:Pe,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:Pe,ln:ia,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:ia,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:Pe,nah:$,naq:oa,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:Pe,nr:$,nso:ia,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:Pe,pa:ia,pap:$,pcm:Sr,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:Pe,saq:$,sat:oa,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:oa,seh:$,ses:Pe,sg:Pe,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:oa,smi:oa,smj:oa,smn:oa,sms:oa,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:Pe,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:Pe,ti:ia,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:Pe,tpi:Pe,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:Pe,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:ia,wae:$,wo:Pe,xh:$,xog:$,yi:mn,yo:Pe,yue:Pe,zh:Pe,zu:Sr});function eu(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 Zo(p){if(typeof p=="function"){var f=eu(p.name);return{isDefault:!1,id:Da(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=eu(p),y=Da(v);return i7(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:n7[y],getPlural:Yo[y],cardinals:dp[y].cardinal,ordinals:dp[y].ordinal}:null}function a7(p){var f=Object.keys(Yo).filter(function(v){return v!==p});return f.unshift(p),f.map(Zo)}function r7(p){var f=eu(p);return Da(f)in Yo}function i7(p){return p in Yo}var o7=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=a7(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Zo).filter(Boolean);else if(f){var y=Zo(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=Zo(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(r7)},p.prototype.resolvedOptions=function(){return a(a({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new t7(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=r(F.value,2),ue=J[0],ke=J[1];k.push(ue),I.push(ke)}}catch(Ue){v={error:Ue}}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],r(k),!1),[E],!1)));return W.apply(void 0,i([],r(I),!1))},p.defaultLocale="en",p}();return o7})}),cn=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function n(r,i){t(this,n),this.data=r,this.text=i.text||r,this.options=i};e.default=a}),y7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(T,A){for(var O=0;O<A.length;O++){var Z=A[O];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(T,Z.key,Z)}}return function(T,A,O){return A&&S(T.prototype,A),O&&S(T,O),T}}(),a=cn(),n=r(a);function r(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(A,O){return i(this,T),A=A.toUpperCase(),O.mod43&&(A+=g(x(A))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,A,O))}return t(T,[{key:"encode",value:function(){for(var A=m("*"),O=0;O<this.data.length;O++)A+=m(this.data[O])+"0";return A+=m("*"),{data:A,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,A=0;A<S.length;A++)T+=w(S[A]);return T=T%43,T}e.CODE39=c}),po=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function a(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,r=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={},a(t,o,n),a(t,l,r),a(t,c,i),t),e.SWAP={101:n,100:r,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=ne(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}}(),a=cn(),n=i(a),r=po();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=r.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(r.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)%r.MODULO)+m.getBar(r.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 r.BARS[b]?r.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===r.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===r.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=r.SWAP[S];T!==void 0?x=m.next(b,g+1,T):((w===r.SET_A||w===r.SET_B)&&S===r.SHIFT&&(b[0]=w===r.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 A=m.getBar(S),O=S*g;return{result:A+x.result,checksum:O+x.checksum}}}]),m}(n.default);e.default=u}),_7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=po(),a=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},r=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=r(l),u=c.length;if(u===l.length)return l;l=l.substring(u);var d=a(l)>=n(l);return c+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var c=void 0,u=r(l).length;if(u>=2)c=t.C_START_CHAR+o(l);else{var d=a(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})}}),w7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Sl(),a=i(t),n=_7(),r=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,r.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(a.default);e.default=u}),x7=ne(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}}(),a=Sl(),n=i(a),r=po();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,r.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),E7=ne(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}}(),a=Sl(),n=i(a),r=po();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,r.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),S7=ne(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}}(),a=Sl(),n=i(a),r=po();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,r.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),k7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=w7(),a=u(t),n=x7(),r=u(n),i=E7(),o=u(i),l=S7(),c=u(l);function u(d){return d&&d.__esModule?d:{default:d}}e.CODE128=a.default,e.CODE128A=r.default,e.CODE128B=o.default,e.CODE128C=c.default}),mo=ne(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"]}),fo=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=mo(),a=function(n,r,i){var o=n.split("").map(function(c,u){return t.BINARIES[r[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=a}),Qf=ne(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}}(),a=mo(),n=fo(),r=l(n),i=cn(),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,r.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:a.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:a.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:a.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[a.SIDE_BIN,this.leftEncode(),a.MIDDLE_BIN,this.rightEncode(),a.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),C7=ne(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}}(),a=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 A=S.get;return A===void 0?void 0:A.call(x)}},n=mo(),r=Qf(),i=o(r);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 a(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 a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return a(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 a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=a(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}),I7=ne(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}}(),a=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=Qf(),r=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 a(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 a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return a(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 a(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(r.default);e.default=d}),D7=ne(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}}(),a=mo(),n=fo(),r=l(n),i=cn(),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=a.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,r.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),T7=ne(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}}(),a=mo(),n=fo(),r=l(n),i=cn(),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=a.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,r.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),Xf=ne(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 a=fo(),n=o(a),r=cn(),i=o(r);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}),N7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,T){for(var A=0;A<T.length;A++){var O=T[A];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}return function(S,T,A){return T&&x(S.prototype,T),A&&x(S,A),S}}(),a=fo(),n=l(a),r=cn(),i=l(r),o=Xf();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,A){c(this,S);var O=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,T,A));if(O.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)O.middleDigits=T,O.upcA=w(T,"0"),O.text=A.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=A.displayValue,A.fontSize>A.width*10?O.fontSize=A.width*10:O.fontSize=A.fontSize,O.guardHeight=A.height+O.fontSize/2+A.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],A=this.upcA[this.upcA.length-1],O=b[parseInt(A)][parseInt(T)];return(0,n.default)(this.middleDigits,O)}}]),S}(i.default);function w(x,S){for(var T=parseInt(x[x.length-1]),A=m[T],O="",Z=0,ie=0;ie<A.length;ie++){var me=A[ie];me==="X"?O+=x[Z++]:O+=me}return O=""+S+O,""+O+(0,o.checksum)(O)}e.default=g}),O7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=C7(),a=g(t),n=I7(),r=g(n),i=D7(),o=g(i),l=T7(),c=g(l),u=Xf(),d=g(u),m=N7(),b=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=a.default,e.EAN8=r.default,e.EAN5=o.default,e.EAN2=c.default,e.UPC=d.default,e.UPCE=b.default}),M7=ne(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"]}),Jf=ne(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}}(),a=M7(),n=cn(),r=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:a.START_BIN+g+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=a.BINARIES[b[1]];return a.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(r.default);e.default=u}),R7=ne(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}}(),a=Jf(),n=r(a);function r(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}),A7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Jf(),a=i(t),n=R7(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=a.default,e.ITF14=r.default}),go=ne(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}}(),a=cn(),n=r(a);function r(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=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=a;function t(n){for(var r=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?r+=o:r+=o*2%10+Math.floor(o*2/10)}return(10-r%10)%10}function a(n){for(var r=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);r+=i[o%i.length]*l}return(11-r%11)%11}}),P7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),L7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),F7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),j7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=go(),a=r(t),n=kl();function r(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}(a.default);e.default=c}),V7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=go(),a=m(t),n=P7(),r=m(n),i=L7(),o=m(i),l=F7(),c=m(l),u=j7(),d=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=a.default,e.MSI10=r.default,e.MSI11=o.default,e.MSI1010=c.default,e.MSI1110=d.default}),z7=ne(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}}(),a=cn(),n=r(a);function r(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}),B7=ne(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}}(),a=cn(),n=r(a);function r(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}),H7=ne(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"]}}),eg=ne(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}}(),a=H7(),n=cn(),r=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 a.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 a.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return a.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return a.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,T){var A=T%g+1;return x+m.symbolValue(S)*A},0);return m.getSymbol(w%47)}}]),m}(r.default);e.default=u}),q7=ne(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}}(),a=eg(),n=r(a);function r(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}),$7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=eg(),a=i(t),n=q7(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=a.default,e.CODE93FullASCII=r.default}),G7=ne(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}}(),a=cn(),n=r(a);function r(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}),U7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=y7(),a=k7(),n=O7(),r=A7(),i=V7(),o=z7(),l=B7(),c=$7(),u=G7();e.default={CODE39:t.CODE39,CODE128:a.CODE128,CODE128A:a.CODE128A,CODE128B:a.CODE128B,CODE128C:a.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:r.ITF14,ITF:r.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=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(a){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a};e.default=function(a,n){return t({},a,n)}}),W7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=[];function r(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)r(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return r(a),n}}),Y7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){return a.marginTop=a.marginTop||a.margin,a.marginBottom=a.marginBottom||a.margin,a.marginRight=a.marginRight||a.margin,a.marginLeft=a.marginLeft||a.margin,a}}),tg=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in n)n.hasOwnProperty(r)&&(r=n[r],typeof a[r]=="string"&&(a[r]=parseInt(a[r],10)));return typeof a.displayValue=="string"&&(a.displayValue=a.displayValue!="false"),a}}),ng=ne(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}),Z7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=tg(),a=i(t),n=ng(),r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var c={};for(var u in r.default)r.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,a.default)(c),c}e.default=o}),ag=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Cl(),a=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function r(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,a.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=r(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=r,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),K7=ne(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}}(),a=Cl(),n=i(a),r=ag();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,r.calculateEncodingAttributes)(this.encodings,this.options,u);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.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=ne(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}}(),a=Cl(),n=i(a),r=ag();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,r.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.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}),X7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(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&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i,o,l){a(this,r),this.object=i,this.encodings=o,this.options=l}return t(r,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),r}();e.default=n}),J7=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=K7(),a=l(t),n=Q7(),r=l(n),i=X7(),o=l(i);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:a.default,SVGRenderer:r.default,ObjectRenderer:o.default}}),rg=ne(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 a(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 r=function(l){n(c,l);function c(u,d){t(this,c);var m=a(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=a(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=a(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=r,e.InvalidElementException=i,e.NoElementException=o}),eH=ne(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},a=Z7(),n=l(a),r=J7(),i=l(r),o=rg();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}),tH=ne(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(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&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i){a(this,r),this.api=i}return t(r,[{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}}}]),r}();e.default=n}),nH=ne((e,t)=>{var a=U7(),n=O(a),r=Cl(),i=O(r),o=W7(),l=O(o),c=Y7(),u=O(c),d=eH(),m=O(d),b=tg(),g=O(b),w=tH(),x=O(w),S=rg(),T=ng(),A=O(T);function O(Y){return Y&&Y.__esModule?Y:{default:Y}}var Z=function(){},ie=function(Y,H,ge){var L=new Z;if(typeof Y>"u")throw Error("No element to render on was provided.");return L._renderProperties=(0,m.default)(Y),L._encodings=[],L._options=A.default,L._errorHandler=new x.default(L),typeof H<"u"&&(ge=ge||{},ge.format||(ge.format=$e()),L.options(ge)[ge.format](H,ge).render()),L};ie.getModule=function(Y){return n.default[Y]};for(me in n.default)n.default.hasOwnProperty(me)&&wt(n.default,me);var me;function wt(Y,H){Z.prototype[H]=Z.prototype[H.toUpperCase()]=Z.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 U=(0,i.default)(j._options,L);U=(0,g.default)(U);var Ee=Y[H],He=st(ge,Ee,U);return j._encodings.push(He),j})}}function st(Y,H,ge){Y=""+Y;var L=new H(Y,ge);if(!L.valid())throw new S.InvalidInputException(L.constructor.name,Y);var j=L.encode();j=(0,l.default)(j);for(var U=0;U<j.length;U++)j[U].options=(0,i.default)(ge,j[U].options);return j}function $e(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Z.prototype.options=function(Y){return this._options=(0,i.default)(this._options,Y),this},Z.prototype.blank=function(Y){var H=new Array(Y+1).join("0");return this._encodings.push({data:H}),this},Z.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Y;for(var H in this._renderProperties){Y=this._renderProperties[H];var ge=(0,i.default)(this._options,Y.options);ge.format=="auto"&&(ge.format=$e()),this._errorHandler.wrapBarcodeCall(function(){var L=ge.value,j=n.default[ge.format.toUpperCase()],U=st(L,j,ge);pt(Y,U,ge)})}}},Z.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Y=0;Y<this._renderProperties.length;Y++)pt(this._renderProperties[Y],this._encodings,this._options);else pt(this._renderProperties,this._encodings,this._options);return this},Z.prototype._defaults=A.default;function pt(Y,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=Y.renderer,U=new j(Y.element,H,ge);U.render(),Y.afterRender&&Y.afterRender()}typeof window<"u"&&(window.JsBarcode=ie),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Y,H){var ge=[];return jQuery(this).each(function(){ge.push(this)}),ie(ge,Y,H)}),t.exports=ie});function cd(e,t){return Object.is(e,t)}var ut=null,xs=!1,dd=1,cr=Symbol("SIGNAL");function we(e){let t=ut;return ut=e,t}function aH(){return ut}var vo={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 hd(e){if(xs)throw new Error("");if(ut===null)return;ut.consumerOnSignalRead(e);let t=ut.nextProducerIndex++;if(Dl(ut),t<ut.producerNode.length&&ut.producerNode[t]!==e&&Wi(ut)){let a=ut.producerNode[t];Il(a,ut.producerIndexOfThis[t])}ut.producerNode[t]!==e&&(ut.producerNode[t]=e,ut.producerIndexOfThis[t]=Wi(ut)?ug(e,ut,t):0),ut.producerLastReadVersion[t]=e.version}function rH(){dd++}function bo(e){if(!(Wi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===dd)){if(!e.producerMustRecompute(e)&&!sg(e)){Vs(e);return}e.producerRecomputeValue(e),Vs(e)}}function ig(e){if(e.liveConsumerNode===void 0)return;let t=xs;xs=!0;try{for(let a of e.liveConsumerNode)a.dirty||iH(a)}finally{xs=t}}function og(){return(ut==null?void 0:ut.consumerAllowSignalWrites)!==!1}function iH(e){var t;e.dirty=!0,ig(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function Vs(e){e.dirty=!1,e.lastCleanEpoch=dd}function zs(e){return e&&(e.nextProducerIndex=0),we(e)}function pd(e,t){if(we(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Wi(e))for(let a=e.nextProducerIndex;a<e.producerNode.length;a++)Il(e.producerNode[a],e.producerIndexOfThis[a]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function sg(e){Dl(e);for(let t=0;t<e.producerNode.length;t++){let a=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==a.version||(bo(a),n!==a.version))return!0}return!1}function lg(e){if(Dl(e),Wi(e))for(let t=0;t<e.producerNode.length;t++)Il(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 ug(e,t,a){if(cg(e),e.liveConsumerNode.length===0&&dg(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=ug(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(a),e.liveConsumerNode.push(t)-1}function Il(e,t){if(cg(e),e.liveConsumerNode.length===1&&dg(e))for(let n=0;n<e.producerNode.length;n++)Il(e.producerNode[n],e.producerIndexOfThis[n]);let a=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[a],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[a],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];Dl(r),r.producerIndexOfThis[n]=t}}function Wi(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Dl(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function cg(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function dg(e){return e.producerNode!==void 0}function oH(e,t){let a=Object.create(sH);a.computation=e;let n=()=>{if(bo(a),hd(a),a.value===ja)throw a.error;return a.value};return n[cr]=a,n}var ir=Symbol("UNSET"),Br=Symbol("COMPUTING"),ja=Symbol("ERRORED"),sH=Wt(se({},vo),{value:ir,dirty:!0,error:null,equal:cd,kind:"computed",producerMustRecompute(e){return e.value===ir||e.value===Br},producerRecomputeValue(e){if(e.value===Br)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Br;let a=zs(e),n,r=!1;try{n=e.computation(),we(null),r=t!==ir&&t!==ja&&n!==ja&&e.equal(t,n)}catch(i){n=ja,e.error=i}finally{pd(e,a)}if(r){e.value=t;return}e.value=n,e.version++}});function lH(){throw new Error}var hg=lH;function pg(e){hg(e)}function uH(e){hg=e}function md(e,t){og()||pg(e),e.equal(e.value,t)||(e.value=t,hH(e))}function cH(e,t){og()||pg(e),md(e,t(e.value))}var dH=Wt(se({},vo),{equal:cd,value:void 0,kind:"signal"});function hH(e){e.version++,rH(),ig(e)}function vp(e,t,a){let n=Object.create(fH);n.source=e,n.computation=t,a!=null&&(n.equal=a);let r=()=>{if(bo(n),hd(n),n.value===ja)throw n.error;return n.value};return r[cr]=n,r}function pH(e,t){bo(e),md(e,t),Vs(e)}function mH(e,t){bo(e),cH(e,t),Vs(e)}var fH=Wt(se({},vo),{value:ir,dirty:!0,error:null,equal:cd,kind:"linkedSignal",producerMustRecompute(e){return e.value===ir||e.value===Br},producerRecomputeValue(e){if(e.value===Br)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Br;let a=zs(e),n;try{let r=e.source(),i=t===ir||t===ja?void 0:{source:e.sourceValue,value:t};n=e.computation(r,i),e.sourceValue=r}catch(r){n=ja,e.error=r}finally{pd(e,a)}if(t!==ir&&n!==ja&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function gH(e){let t=we(null);try{return e()}finally{we(t)}}var ec;function Es(){return ec}function Oa(e){let t=ec;return ec=e,t}var mg=Symbol("NotFound");function We(e){return typeof e=="function"}function fd(e){let t=e(a=>{Error.call(a),a.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var tu=fd(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
13
13
|
${t.map((a,n)=>`${n+1}) ${a.toString()}`).join(`
|
|
14
14
|
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Bs(e,t){if(e){let a=e.indexOf(t);0<=a&&e.splice(a,1)}}var ln=class tc{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:a}=this;if(a)if(this._parentage=null,Array.isArray(a))for(let i of a)i.remove(this);else a.remove(this);let{initialTeardown:n}=this;if(We(n))try{n()}catch(i){t=i instanceof tu?i.errors:[i]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let i of r)try{bp(i)}catch(o){t=t??[],o instanceof tu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new tu(t)}}add(t){var a;if(t&&t!==this)if(this.closed)bp(t);else{if(t instanceof tc){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(a=this._finalizers)!==null&&a!==void 0?a:[]).push(t)}}_hasParent(t){let{_parentage:a}=this;return a===t||Array.isArray(a)&&a.includes(t)}_addParent(t){let{_parentage:a}=this;this._parentage=Array.isArray(a)?(a.push(t),a):a?[a,t]:t}_removeParent(t){let{_parentage:a}=this;a===t?this._parentage=null:Array.isArray(a)&&Bs(a,t)}remove(t){let{_finalizers:a}=this;a&&Bs(a,t),t instanceof tc&&t._removeParent(this)}};ln.EMPTY=(()=>{let e=new ln;return e.closed=!0,e})();var fg=ln.EMPTY;function gg(e){return e instanceof ln||e&&"closed"in e&&We(e.remove)&&We(e.add)&&We(e.unsubscribe)}function bp(e){We(e)?e():e.unsubscribe()}var vH={Promise:void 0},bH={setTimeout(e,t,...a){return setTimeout(e,t,...a)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function vg(e){bH.setTimeout(()=>{throw e})}function nc(){}function Ss(e){e()}var gd=class extends ln{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,gg(e)&&e.add(this)):this.destination=wH}static create(e,t,a){return new Yi(e,t,a)}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()}}},yH=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(a){Jo(a)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(a){Jo(a)}else Jo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Jo(t)}}},Yi=class extends gd{constructor(e,t,a){super();let n;We(e)||!e?n={next:e??void 0,error:t??void 0,complete:a??void 0}:n=e,this.destination=new yH(n)}};function Jo(e){vg(e)}function _H(e){throw e}var wH={closed:!0,next:nc,error:_H,complete:nc},vd=typeof Symbol=="function"&&Symbol.observable||"@@observable";function li(e){return e}function xH(e){return e.length===0?li:e.length===1?e[0]:function(t){return e.reduce((a,n)=>n(a),t)}}var tt=(()=>{class e{constructor(a){a&&(this._subscribe=a)}lift(a){let n=new e;return n.source=this,n.operator=a,n}subscribe(a,n,r){let i=SH(a)?a:new Yi(a,n,r);return Ss(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(a){try{return this._subscribe(a)}catch(n){a.error(n)}}forEach(a,n){return n=yp(n),new n((r,i)=>{let o=new Yi({next:l=>{try{a(l)}catch(c){i(c),o.unsubscribe()}},error:i,complete:r});this.subscribe(o)})}_subscribe(a){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(a)}[vd](){return this}pipe(...a){return xH(a)(this)}toPromise(a){return a=yp(a),new a((n,r)=>{let i;this.subscribe(o=>i=o,o=>r(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function yp(e){var t;return(t=e??vH.Promise)!==null&&t!==void 0?t:Promise}function EH(e){return e&&We(e.next)&&We(e.error)&&We(e.complete)}function SH(e){return e&&e instanceof gd||EH(e)&&gg(e)}function kH(e){return We(e==null?void 0:e.lift)}function zt(e){return t=>{if(kH(t))return t.lift(function(a){try{return e(a,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(e,t,a,n,r){return new CH(e,t,a,n,r)}var CH=class extends gd{constructor(e,t,a,n,r,i){super(e),this.onFinalize=r,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=a?function(){try{a()}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))}}},IH=fd(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),xe=(()=>{class e extends tt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(a){let n=new _p(this,this);return n.operator=a,n}_throwIfClosed(){if(this.closed)throw new IH}next(a){Ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(a)}})}error(a){Ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=a;let{observers:n}=this;for(;n.length;)n.shift().error(a)}})}complete(){Ss(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:a}=this;for(;a.length;)a.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var a;return((a=this.observers)===null||a===void 0?void 0:a.length)>0}_trySubscribe(a){return this._throwIfClosed(),super._trySubscribe(a)}_subscribe(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}_innerSubscribe(a){let{hasError:n,isStopped:r,observers:i}=this;return n||r?fg:(this.currentObservers=null,i.push(a),new ln(()=>{this.currentObservers=null,Bs(i,a)}))}_checkFinalizedStatuses(a){let{hasError:n,thrownError:r,isStopped:i}=this;n?a.error(r):i&&a.complete()}asObservable(){let a=new tt;return a.source=this,a}}return e.create=(t,a)=>new _p(t,a),e})(),_p=class extends xe{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.next)===null||a===void 0||a.call(t,e)}error(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.error)===null||a===void 0||a.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,a;return(a=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&a!==void 0?a:fg}},bd=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:a}=this;if(e)throw t;return this._throwIfClosed(),a}next(e){super.next(this._value=e)}},yd={now(){return(yd.delegate||Date).now()},delegate:void 0},bg=class extends xe{constructor(e=1/0,t=1/0,a=yd){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=a,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:a,_infiniteTimeWindow:n,_timestampProvider:r,_windowTime:i}=this;t||(a.push(e),!n&&a.push(r.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:a,_buffer:n}=this,r=n.slice();for(let i=0;i<r.length&&!e.closed;i+=a?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:a,_infiniteTimeWindow:n}=this,r=(n?1:2)*e;if(e<1/0&&r<a.length&&a.splice(0,a.length-r),!n){let i=t.now(),o=0;for(let l=1;l<a.length&&a[l]<=i;l+=2)o=l;o&&a.splice(0,o+1)}}},DH=class extends ln{constructor(e,t){super()}schedule(e,t=0){return this}},ac={setInterval(e,t,...a){let{delegate:n}=ac;return n!=null&&n.setInterval?n.setInterval(e,t,...a):setInterval(e,t,...a)},clearInterval(e){return clearInterval(e)},delegate:void 0},TH=class extends DH{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var a;if(this.closed)return this;this.state=e;let n=this.id,r=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=(a=this.id)!==null&&a!==void 0?a:this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,a=0){return ac.setInterval(e.flush.bind(e,this),a)}recycleAsyncId(e,t,a=0){if(a!=null&&this.delay===a&&this.pending===!1)return t;t!=null&&ac.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let a=this._execute(e,t);if(a)return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let a=!1,n;try{this.work(e)}catch(r){a=!0,n=r||new Error("Scheduled action threw falsy error")}if(a)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:a}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Bs(a,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},rc=class yg{constructor(t,a=yg.now){this.schedulerActionCtor=t,this.now=a}schedule(t,a=0,n){return new this.schedulerActionCtor(this,t).schedule(n,a)}};rc.now=yd.now;var NH=class extends rc{constructor(e,t=rc.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let a;this._active=!0;do if(a=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,a){for(;e=t.shift();)e.unsubscribe();throw a}}},_d=new NH(TH),OH=_d,_g=new tt(e=>e.complete());function wg(e){return e&&We(e.schedule)}function wd(e){return e[e.length-1]}function xg(e){return We(wd(e))?e.pop():void 0}function yo(e){return wg(wd(e))?e.pop():void 0}function MH(e,t){return typeof wd(e)=="number"?e.pop():t}function RH(e,t,a,n){function r(i){return i instanceof a?i:new a(function(o){o(i)})}return new(a||(a=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):r(d.value).then(l,c)}u((n=n.apply(e,[])).next())})}function wp(e){var t=typeof Symbol=="function"&&Symbol.iterator,a=t&&e[t],n=0;if(a)return a.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 Hr(e){return this instanceof Hr?(this.v=e,this):new Hr(e)}function AH(e,t,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a.apply(e,t||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),r[Symbol.asyncIterator]=function(){return this},r;function o(g){return function(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(r[g]=function(x){return new Promise(function(S,T){i.push([g,x,S,T])>1||c(g,x)})},w&&(r[g]=w(r[g])))}function c(g,w){try{u(n[g](w))}catch(x){b(i[0][3],x)}}function u(g){g.value instanceof Hr?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 PH(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],a;return t?t.call(e):(e=typeof wp=="function"?wp(e):e[Symbol.iterator](),a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a);function n(i){a[i]=e[i]&&function(o){return new Promise(function(l,c){o=e[i](o),r(l,c,o.done,o.value)})}}function r(i,o,l,c){Promise.resolve(c).then(function(u){i({value:u,done:l})},o)}}var Eg=e=>e&&typeof e.length=="number"&&typeof e!="function";function Sg(e){return We(e==null?void 0:e.then)}function kg(e){return We(e[vd])}function Cg(e){return Symbol.asyncIterator&&We(e==null?void 0:e[Symbol.asyncIterator])}function Ig(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 LH(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Dg=LH();function Tg(e){return We(e==null?void 0:e[Dg])}function Ng(e){return AH(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:a,done:n}=yield Hr(t.read());if(n)return yield Hr(void 0);yield yield Hr(a)}}finally{t.releaseLock()}})}function Og(e){return We(e==null?void 0:e.getReader)}function Xt(e){if(e instanceof tt)return e;if(e!=null){if(kg(e))return FH(e);if(Eg(e))return jH(e);if(Sg(e))return VH(e);if(Cg(e))return Mg(e);if(Tg(e))return zH(e);if(Og(e))return BH(e)}throw Ig(e)}function FH(e){return new tt(t=>{let a=e[vd]();if(We(a.subscribe))return a.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jH(e){return new tt(t=>{for(let a=0;a<e.length&&!t.closed;a++)t.next(e[a]);t.complete()})}function VH(e){return new tt(t=>{e.then(a=>{t.closed||(t.next(a),t.complete())},a=>t.error(a)).then(null,vg)})}function zH(e){return new tt(t=>{for(let a of e)if(t.next(a),t.closed)return;t.complete()})}function Mg(e){return new tt(t=>{HH(e,t).catch(a=>t.error(a))})}function BH(e){return Mg(Ng(e))}function HH(e,t){var a,n,r,i;return RH(this,void 0,void 0,function*(){try{for(a=PH(e);n=yield a.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){r={error:o}}finally{try{n&&!n.done&&(i=a.return)&&(yield i.call(a))}finally{if(r)throw r.error}}t.complete()})}function ba(e,t,a,n=0,r=!1){let i=t.schedule(function(){a(),r?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!r)return i}function Rg(e,t=0){return zt((a,n)=>{a.subscribe(Rt(n,r=>ba(n,e,()=>n.next(r),t),()=>ba(n,e,()=>n.complete(),t),r=>ba(n,e,()=>n.error(r),t)))})}function Ag(e,t=0){return zt((a,n)=>{n.add(e.schedule(()=>a.subscribe(n),t))})}function qH(e,t){return Xt(e).pipe(Ag(t),Rg(t))}function $H(e,t){return Xt(e).pipe(Ag(t),Rg(t))}function GH(e,t){return new tt(a=>{let n=0;return t.schedule(function(){n===e.length?a.complete():(a.next(e[n++]),a.closed||this.schedule())})})}function UH(e,t){return new tt(a=>{let n;return ba(a,t,()=>{n=e[Dg](),ba(a,t,()=>{let r,i;try{({value:r,done:i}=n.next())}catch(o){a.error(o);return}i?a.complete():a.next(r)},0,!0)}),()=>We(n==null?void 0:n.return)&&n.return()})}function Pg(e,t){if(!e)throw new Error("Iterable cannot be null");return new tt(a=>{ba(a,t,()=>{let n=e[Symbol.asyncIterator]();ba(a,t,()=>{n.next().then(r=>{r.done?a.complete():a.next(r.value)})},0,!0)})})}function WH(e,t){return Pg(Ng(e),t)}function YH(e,t){if(e!=null){if(kg(e))return qH(e,t);if(Eg(e))return GH(e,t);if(Sg(e))return $H(e,t);if(Cg(e))return Pg(e,t);if(Tg(e))return UH(e,t);if(Og(e))return WH(e,t)}throw Ig(e)}function yr(e,t){return t?YH(e,t):Xt(e)}function at(...e){let t=yo(e);return yr(e,t)}function Lg(e,t){let a=We(e)?e:()=>e,n=r=>r.error(a());return new tt(n)}function zi(e){return!!e&&(e instanceof tt||We(e.lift)&&We(e.subscribe))}var ZH=fd(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function KH(e,t){return new Promise((a,n)=>{let r=!1,i;e.subscribe({next:o=>{i=o,r=!0},error:n,complete:()=>{r?a(i):n(new ZH)}})})}function QH(e){return e instanceof Date&&!isNaN(e)}function Ot(e,t){return zt((a,n)=>{let r=0;a.subscribe(Rt(n,i=>{n.next(e.call(t,i,r++))}))})}var{isArray:XH}=Array;function JH(e,t){return XH(t)?e(...t):e(t)}function Fg(e){return Ot(t=>JH(e,t))}var{isArray:eq}=Array,{getPrototypeOf:tq,prototype:nq,keys:aq}=Object;function jg(e){if(e.length===1){let t=e[0];if(eq(t))return{args:t,keys:null};if(rq(t)){let a=aq(t);return{args:a.map(n=>t[n]),keys:a}}}return{args:e,keys:null}}function rq(e){return e&&typeof e=="object"&&tq(e)===nq}function Vg(e,t){return e.reduce((a,n,r)=>(a[n]=t[r],a),{})}function iq(...e){let t=yo(e),a=xg(e),{args:n,keys:r}=jg(e);if(n.length===0)return yr([],t);let i=new tt(oq(n,t,r?o=>Vg(r,o):li));return a?i.pipe(Fg(a)):i}function oq(e,t,a=li){return n=>{xp(t,()=>{let{length:r}=e,i=new Array(r),o=r,l=r;for(let c=0;c<r;c++)xp(t,()=>{let u=yr(e[c],t),d=!1;u.subscribe(Rt(n,m=>{i[c]=m,d||(d=!0,l--),l||n.next(a(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function xp(e,t,a){e?ba(a,e,t):t()}function sq(e,t,a,n,r,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;Xt(a(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?ba(t,o,()=>w(T)):w(T)}b()}catch(T){t.error(T)}}))};return e.subscribe(Rt(t,g,()=>{m=!0,b()})),()=>{}}function Zi(e,t,a=1/0){return We(t)?Zi((n,r)=>Ot((i,o)=>t(n,i,r,o))(Xt(e(n,r))),a):(typeof t=="number"&&(a=t),zt((n,r)=>sq(n,r,e,a)))}function zg(e=1/0){return Zi(li,e)}function lq(){return zg(1)}function Ki(...e){return lq()(yr(e,yo(e)))}function Hs(e){return new tt(t=>{Xt(e()).subscribe(t)})}function Bg(...e){let t=xg(e),{args:a,keys:n}=jg(e),r=new tt(i=>{let{length:o}=a;if(!o){i.complete();return}let l=new Array(o),c=o,u=o;for(let d=0;d<o;d++){let m=!1;Xt(a[d]).subscribe(Rt(i,b=>{m||(m=!0,u--),l[d]=b},()=>c--,void 0,()=>{(!c||!m)&&(u||i.next(n?Vg(n,l):l),i.complete())}))}});return t?r.pipe(Fg(t)):r}function uq(e=0,t,a=OH){let n=-1;return t!=null&&(wg(t)?a=t:n=t),new tt(r=>{let i=QH(e)?+e-a.now():e;i<0&&(i=0);let o=0;return a.schedule(function(){r.closed||(r.next(o++),0<=n?this.schedule(void 0,n):r.complete())},i)})}function xd(...e){let t=yo(e),a=MH(e,1/0),n=e;return n.length?n.length===1?Xt(n[0]):zg(a)(yr(n,t)):_g}function ma(e,t){return zt((a,n)=>{let r=0;a.subscribe(Rt(n,i=>e.call(t,i,r++)&&n.next(i)))})}function cq(e){return zt((t,a)=>{let n=!1,r=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let u=r;r=null,a.next(u)}o&&a.complete()},c=()=>{i=null,o&&a.complete()};t.subscribe(Rt(a,u=>{n=!0,r=u,i||Xt(e(u)).subscribe(i=Rt(a,l,c))},()=>{o=!0,(!n||!i||i.closed)&&a.complete()}))})}function Hg(e,t=_d){return cq(()=>uq(e,t))}function Ed(e){return zt((t,a)=>{let n=null,r=!1,i;n=t.subscribe(Rt(a,void 0,void 0,o=>{i=Xt(e(o,Ed(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(a)):r=!0})),r&&(n.unsubscribe(),n=null,i.subscribe(a))})}function qg(e,t){return We(t)?Zi(e,t,1):Zi(e,1)}function dq(e,t=_d){return zt((a,n)=>{let r=null,i=null,o=null,l=()=>{if(r){r.unsubscribe(),r=null;let u=i;i=null,n.next(u)}};function c(){let u=o+e,d=t.now();if(d<u){r=this.schedule(void 0,u-d),n.add(r);return}l()}a.subscribe(Rt(n,u=>{i=u,o=t.now(),r||(r=t.schedule(c,e),n.add(r))},()=>{l(),n.complete()},void 0,()=>{i=r=null}))})}function sn(e){return e<=0?()=>_g:zt((t,a)=>{let n=0;t.subscribe(Rt(a,r=>{++n<=e&&(a.next(r),e<=n&&a.complete())}))})}function hq(e,t=li){return e=e??pq,zt((a,n)=>{let r,i=!0;a.subscribe(Rt(n,o=>{let l=t(o);(i||!e(r,l))&&(i=!1,r=l,n.next(o))}))})}function pq(e,t){return e===t}function $g(e){return zt((t,a)=>{try{t.subscribe(a)}finally{a.add(e)}})}function Gg(e={}){let{connector:t=()=>new xe,resetOnError:a=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!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 zt((x,S)=>{u++,!m&&!d&&b();let T=c=c??t();S.add(()=>{u--,u===0&&!m&&!d&&(l=nu(w,r))}),T.subscribe(S),!o&&u>0&&(o=new Yi({next:A=>T.next(A),error:A=>{m=!0,b(),l=nu(g,a,A),T.error(A)},complete:()=>{d=!0,b(),l=nu(g,n),T.complete()}}),Xt(x).subscribe(o))})(i)}}function nu(e,t,...a){if(t===!0){e();return}if(t===!1)return;let n=new Yi({next:()=>{n.unsubscribe(),e()}});return Xt(t(...a)).subscribe(n)}function Ep(e,t,a){let n;return n=e,Gg({connector:()=>new bg(n,t,a),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function Ug(e){return ma((t,a)=>e<=a)}function Sd(...e){let t=yo(e);return zt((a,n)=>{(t?Ki(e,a,t):Ki(e,a)).subscribe(n)})}function qs(e,t){return zt((a,n)=>{let r=null,i=0,o=!1,l=()=>o&&!r&&n.complete();a.subscribe(Rt(n,c=>{r==null||r.unsubscribe();let u=0,d=i++;Xt(e(c,d)).subscribe(r=Rt(n,m=>n.next(t?t(c,m,d,u++):m),()=>{r=null,l()}))},()=>{o=!0,l()}))})}function _o(e){return zt((t,a)=>{Xt(e).subscribe(Rt(a,()=>a.complete(),nc)),!a.closed&&t.subscribe(a)})}function au(e,t,a){let n=We(e)||t||a?{next:e,error:t,complete:a}:e;return n?zt((r,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;r.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)}))}):li}var Wg="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",G=class extends Error{constructor(t,a){super(Yg(t,a));s(this,"code");this.code=t}};function mq(e){return`NG0${Math.abs(e)}`}function Yg(e,t){return`${mq(e)}${t?": "+t:""}`}var Zg=Symbol("InputSignalNode#UNSET"),fq=Wt(se({},dH),{transformFn:void 0,applyValueToInputSignal(e,t){md(e,t)}});function Kg(e,t){let a=Object.create(fq);a.value=e,a.transformFn=t==null?void 0:t.transform;function n(){if(hd(a),a.value===Zg){let r=null;throw new G(-950,r)}return a.value}return n[cr]=a,n}function wo(e){return{toString:e}.toString()}var es="__parameters__";function gq(e){return function(...t){}}function Qg(e,t,a){return wo(()=>{let n=gq();function r(...i){if(this instanceof r)return n.apply(this,i),this;let o=new r(...i);return l.annotation=o,l;function l(c,u,d){let m=c.hasOwnProperty(es)?c[es]:Object.defineProperty(c,es,{value:[]})[es];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(o),c}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var Pr=globalThis;function Ye(e){for(let t in e)if(e[t]===Ye)return t;throw Error("Could not find renamed property on target object.")}function vq(e,t){for(let a in t)t.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=t[a])}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 a=e.toString();if(a==null)return""+a;let n=a.indexOf(`
|
|
15
15
|
`);return n>=0?a.slice(0,n):a}function ic(e,t){return e?t?`${e} ${t}`:e:t||""}var bq=Ye({__forward_ref__:Ye});function Xg(e){return e.__forward_ref__=Xg,e.toString=function(){return bn(this())},e}function Mt(e){return Jg(e)?e():e}function Jg(e){return typeof e=="function"&&e.hasOwnProperty(bq)&&e.__forward_ref__===Xg}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Jt(e){return{providers:e.providers||[],imports:e.imports||[]}}function kd(e){return Sp(e,ev)||Sp(e,tv)}function Sp(e,t){return e.hasOwnProperty(t)?e[t]:null}function yq(e){return e&&(e[ev]||e[tv])||null}function kp(e){return e&&(e.hasOwnProperty(Cp)||e.hasOwnProperty(_q))?e[Cp]:null}var ev=Ye({ɵprov:Ye}),Cp=Ye({ɵinj:Ye}),tv=Ye({ngInjectableDef:Ye}),_q=Ye({ngInjectorDef:Ye}),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 nv(e){return e&&!!e.ɵproviders}var wq=Ye({ɵcmp:Ye}),xq=Ye({ɵdir:Ye}),Eq=Ye({ɵpipe:Ye}),$s=Ye({ɵfac:Ye}),Bi=Ye({__NG_ELEMENT_ID__:Ye}),Ip=Ye({__NG_ENV_ID__:Ye});function Zr(e){return typeof e=="string"?e:e==null?"":String(e)}function Sq(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Zr(e)}function av(e,t){throw new G(-200,e)}function Cd(e,t){throw new G(-201,!1)}var Se=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}(Se||{}),oc;function rv(){return oc}function Yt(e){let t=oc;return oc=e,t}function iv(e,t,a){let n=kd(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(a&Se.Optional)return null;if(t!==void 0)return t;Cd()}var kq={},ur=kq,sc="__NG_DI_FLAG__",ov=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let a=t;return this.injector.get(e,a.optional?mg:ur,a)}},Gs="ngTempTokenPath",Cq="ngTokenPath",Iq=/\n/gm,Dq="ɵ",Dp="__source";function Tq(e,t=Se.Default){if(Es()===void 0)throw new G(-203,!1);if(Es()===null)return iv(e,void 0,t);{let a=Es(),n;return a instanceof ov?n=a.injector:n=a,n.get(e,t&Se.Optional?null:void 0,t)}}function te(e,t=Se.Default){return(rv()||Tq)(Mt(e),t)}function C(e,t=Se.Default){return te(e,Tl(t))}function Tl(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function lc(e){let t=[];for(let a=0;a<e.length;a++){let n=Mt(e[a]);if(Array.isArray(n)){if(n.length===0)throw new G(900,!1);let r,i=Se.Default;for(let o=0;o<n.length;o++){let l=n[o],c=Nq(l);typeof c=="number"?c===-1?r=l.token:i|=c:r=l}t.push(te(r,i))}else t.push(te(n))}return t}function sv(e,t){return e[sc]=t,e.prototype[sc]=t,e}function Nq(e){return e[sc]}function Oq(e,t,a,n){let r=e[Gs];throw t[Dp]&&r.unshift(t[Dp]),e.message=Mq(`
|
|
16
16
|
`+e.message,r,a,n),e[Cq]=r,e[Gs]=null,e}function Mq(e,t,a,n=null){e=e&&e.charAt(0)===`
|
|
17
17
|
`&&e.charAt(1)==Dq?e.slice(2):e;let r=bn(t);if(Array.isArray(t))r=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)))}r=`{${i.join(", ")}}`}return`${a}${n?"("+n+")":""}[${r}]: ${e.replace(Iq,`
|
|
18
|
-
`)}`}var Rq=sv(Qg("Optional"),8),Aq=sv(Qg("SkipSelf"),4);function dr(e,t){return e.hasOwnProperty($s)?e[$s]:null}function Pq(e,t,a){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(a&&(r=a(r),i=a(i)),i!==r)return!1}return!0}function Lq(e){return e.flat(Number.POSITIVE_INFINITY)}function Id(e,t){e.forEach(a=>Array.isArray(a)?Id(a,t):t(a))}function lv(e,t,a){t>=e.length?e.push(a):e.splice(t,0,a)}function Us(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fq(e,t){let a=[];for(let n=0;n<e;n++)a.push(t);return a}function jq(e,t,a,n){let r=e.length;if(r==t)e.push(a,n);else if(r===1)e.push(n,e[0]),e[0]=a;else{for(r--,e.push(e[r-1],e[r]);r>t;){let i=r-2;e[r]=e[i],r--}e[t]=a,e[t+1]=n}}function Dd(e,t,a){let n=xo(e,t);return n>=0?e[n|1]=a:(n=~n,jq(e,n,t,a)),n}function ru(e,t){let a=xo(e,t);if(a>=0)return e[a|1]}function xo(e,t){return Vq(e,t,1)}function Vq(e,t,a){let n=0,r=e.length>>a;for(;r!==n;){let i=n+(r-n>>1),o=e[i<<a];if(t===o)return i<<a;o>t?r=i:n=i+1}return~(r<<a)}var Zn={},Zt=[],Ws=new K(""),uv=new K("",-1),cv=new K(""),dv=class{get(e,t=ur){if(t===ur){let a=new Error(`NullInjectorError: No provider for ${bn(e)}!`);throw a.name="NullInjectorError",a}return t}};function Kr(e){return e[wq]||null}function hv(e){return e[xq]||null}function zq(e){return e[Eq]||null}function Td(e){return{ɵproviders:e}}function Bq(...e){return{ɵproviders:pv(!0,e),ɵfromNgModule:!0}}function pv(e,...t){let a=[],n=new Set,r,i=o=>{a.push(o)};return Id(t,o=>{let l=o;uc(l,i,[],n)&&(r||(r=[]),r.push(l))}),r!==void 0&&mv(r,i),a}function mv(e,t){for(let a=0;a<e.length;a++){let{ngModule:n,providers:r}=e[a];Nd(r,i=>{t(i,n)})}}function uc(e,t,a,n){if(e=Mt(e),!e)return!1;let r=null,i=kp(e),o=!i&&Kr(e);if(!i&&!o){let c=e.ngModule;if(i=kp(c),i)r=c;else return!1}else{if(o&&!o.standalone)return!1;r=e}let l=n.has(r);if(o){if(l)return!1;if(n.add(r),o.dependencies){let c=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of c)uc(u,t,a,n)}}else if(i){if(i.imports!=null&&!l){n.add(r);let u;try{Id(i.imports,d=>{uc(d,t,a,n)&&(u||(u=[]),u.push(d))})}finally{}u!==void 0&&mv(u,t)}if(!l){let u=dr(r)||(()=>new r);t({provide:r,useFactory:u,deps:Zt},r),t({provide:cv,useValue:r,multi:!0},r),t({provide:Ws,useValue:()=>te(r),multi:!0},r)}let c=i.providers;if(c!=null&&!l){let u=e;Nd(c,d=>{t(d,u)})}}else return!1;return r!==e&&e.providers!==void 0}function Nd(e,t){for(let a of e)nv(a)&&(a=a.ɵproviders),Array.isArray(a)?Nd(a,t):t(a)}var Hq=Ye({provide:String,useValue:Ye});function fv(e){return e!==null&&typeof e=="object"&&Hq in e}function qq(e){return!!(e&&e.useExisting)}function $q(e){return!!(e&&e.useFactory)}function Qr(e){return typeof e=="function"}function Gq(e){return!!e.useClass}var Od=new K(""),ks={},Tp={},iu;function Nl(){return iu===void 0&&(iu=new dv),iu}var Kn=class{},Md=class extends Kn{constructor(t,a,n,r){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=a,this.source=n,this.scopes=r,dc(t,o=>this.processProvider(o)),this.records.set(uv,Lr(void 0,this)),r.has("environment")&&this.records.set(Kn,Lr(void 0,this));let i=this.records.get(Od);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cv,Zt,Se.Self))}get destroyed(){return this._destroyed}retrieve(t,a){let n=a;return this.get(t,n.optional?mg:ur,n)}destroy(){Ai(this),this._destroyed=!0;let t=we(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let a=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of a)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),we(t)}}onDestroy(t){return Ai(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ai(this);let a=Oa(this),n=Yt(void 0);try{return t()}finally{Oa(a),Yt(n)}}get(t,a=ur,n=Se.Default){if(Ai(this),t.hasOwnProperty(Ip))return t[Ip](this);n=Tl(n);let r=Oa(this),i=Yt(void 0);try{if(!(n&Se.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Kq(t)&&kd(t);c&&this.injectableDefInScope(c)?l=Lr(cc(t),ks):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Se.Self?Nl():this.parent;return a=n&Se.Optional&&a===ur?null:a,o.get(t,a)}catch(o){if(o.name==="NullInjectorError"){if((o[Gs]=o[Gs]||[]).unshift(bn(t)),r)throw o;return Oq(o,t,"R3InjectorError",this.source)}else throw o}finally{Yt(i),Oa(r)}}resolveInjectorInitializers(){let t=we(null),a=Oa(this),n=Yt(void 0);try{let r=this.get(Ws,Zt,Se.Self);for(let i of r)i()}finally{Oa(a),Yt(n),we(t)}}toString(){let t=[],a=this.records;for(let n of a.keys())t.push(bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Mt(t);let a=Qr(t)?t:Mt(t&&t.provide),n=Wq(t);if(!Qr(t)&&t.multi===!0){let r=this.records.get(a);r||(r=Lr(void 0,ks,!0),r.factory=()=>lc(r.multi),this.records.set(a,r)),a=t,r.multi.push(t)}this.records.set(a,n)}hydrate(t,a,n){let r=we(null);try{return a.value===Tp?av(bn(t)):a.value===ks&&(a.value=Tp,a.value=a.factory(void 0,n)),typeof a.value=="object"&&a.value&&Zq(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{we(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let a=Mt(t.providedIn);return typeof a=="string"?a==="any"||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(t){let a=this._onDestroyHooks.indexOf(t);a!==-1&&this._onDestroyHooks.splice(a,1)}};function cc(e){let t=kd(e),a=t!==null?t.factory:dr(e);if(a!==null)return a;if(e instanceof K)throw new G(204,!1);if(e instanceof Function)return Uq(e);throw new G(204,!1)}function Uq(e){if(e.length>0)throw new G(204,!1);let t=yq(e);return t!==null?()=>t.factory(e):()=>new e}function Wq(e){if(fv(e))return Lr(void 0,e.useValue);{let t=gv(e);return Lr(t,ks)}}function gv(e,t,a){let n;if(Qr(e)){let r=Mt(e);return dr(r)||cc(r)}else if(fv(e))n=()=>Mt(e.useValue);else if($q(e))n=()=>e.useFactory(...lc(e.deps||[]));else if(qq(e))n=(r,i)=>te(Mt(e.useExisting),i!==void 0&&i&Se.Optional?Se.Optional:void 0);else{let r=Mt(e&&(e.useClass||e.provide));if(Yq(e))n=()=>new r(...lc(e.deps));else return dr(r)||cc(r)}return n}function Ai(e){if(e.destroyed)throw new G(205,!1)}function Lr(e,t,a=!1){return{factory:e,value:t,multi:a?[]:void 0}}function Yq(e){return!!e.deps}function Zq(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Kq(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function dc(e,t){for(let a of e)Array.isArray(a)?dc(a,t):a&&nv(a)?dc(a.ɵproviders,t):t(a)}function Rd(e,t){let a;e instanceof Md?(Ai(e),a=e):a=new ov(e);let n=Oa(a),r=Yt(void 0);try{return t()}finally{Oa(n),Yt(r)}}function vv(){return rv()!==void 0||Es()!=null}function Ad(e){if(!vv())throw new G(-203,!1)}function Qq(e){return typeof e=="function"}var Ea=0,he=1,ce=2,Vt=3,On=4,en=5,Xr=6,qr=7,Dt=8,Jr=9,xa=10,vt=11,Qi=12,Np=13,ui=14,_n=15,hr=16,Fr=17,Mn=18,Ol=19,bv=20,Va=21,ou=22,Ys=23,yn=24,za=25,St=26,yv=1,pr=7,Zs=8,ei=9,jt=10;function Ba(e){return Array.isArray(e)&&typeof e[yv]=="object"}function Sa(e){return Array.isArray(e)&&e[yv]===!0}function _v(e){return(e.flags&4)!==0}function ci(e){return e.componentOffset>-1}function Pd(e){return(e.flags&1)===1}function Qn(e){return!!e.template}function Ks(e){return(e[ce]&512)!==0}function di(e){return(e[ce]&256)===256}var Xq=class{constructor(e,t,a){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=a}isFirstChange(){return this.firstChange}};function wv(e,t,a,n){t!==null?t.applyValueToInputSignal(t,n):e[a]=n}var xv=(()=>{let e=()=>Ev;return e.ngInherit=!0,e})();function Ev(e){return e.type.prototype.ngOnChanges&&(e.setInput=e$),Jq}function Jq(){let e=kv(this),t=e==null?void 0:e.current;if(t){let a=e.previous;if(a===Zn)e.previous=t;else for(let n in t)a[n]=t[n];e.current=null,this.ngOnChanges(t)}}function e$(e,t,a,n,r){let i=this.declaredInputs[n],o=kv(e)||t$(e,{previous:Zn,current:null}),l=o.current||(o.current={}),c=o.previous,u=c[i];l[i]=new Xq(u&&u.currentValue,a,c===Zn),wv(e,t,r,a)}var Sv="__ngSimpleChanges__";function kv(e){return e[Sv]||null}function t$(e,t){return e[Sv]=t}var mr=function(e,t=null,a){},n$="svg",a$="math";function Xn(e){for(;Array.isArray(e);)e=e[Ea];return e}function Cv(e,t){return Xn(t[e])}function ea(e,t){return Xn(t[e.index])}function Ld(e,t){return e.data[t]}function Fd(e,t){return e[t]}function jd(e,t,a,n){a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=n}function Jn(e,t){let a=t[e];return Ba(a)?a:a[Ea]}function r$(e){return(e[ce]&4)===4}function Vd(e){return(e[ce]&128)===128}function i$(e){return Sa(e[Vt])}function Xi(e,t){return t==null?null:e[t]}function Iv(e){e[Fr]=0}function zd(e){e[ce]&1024||(e[ce]|=1024,Vd(e)&&So(e))}function o$(e,t){for(;e>0;)t=t[ui],e--;return t}function Eo(e){var t;return!!(e[ce]&9216||(t=e[yn])!=null&&t.dirty)}function hc(e){var t;(t=e[xa].changeDetectionScheduler)==null||t.notify(8),e[ce]&64&&(e[ce]|=1024),Eo(e)&&So(e)}function So(e){var a;(a=e[xa].changeDetectionScheduler)==null||a.notify(0);let t=fr(e);for(;t!==null&&!(t[ce]&8192||(t[ce]|=8192,!Vd(t)));)t=fr(t)}function Dv(e,t){if(di(e))throw new G(911,!1);e[Va]===null&&(e[Va]=[]),e[Va].push(t)}function s$(e,t){if(e[Va]===null)return;let a=e[Va].indexOf(t);a!==-1&&e[Va].splice(a,1)}function fr(e){let t=e[Vt];return Sa(t)?t[Vt]:t}function Bd(e){return e[qr]??(e[qr]=[])}function Hd(e){return e.cleanup??(e.cleanup=[])}function l$(e,t,a,n){let r=Bd(t);r.push(a),e.firstCreatePass&&Hd(e).push(n,r.length-1)}var be={lFrame:Fv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pc=!1;function u$(){return be.lFrame.elementDepthCount}function c$(){be.lFrame.elementDepthCount++}function d$(){be.lFrame.elementDepthCount--}function h$(){return be.bindingsEnabled}function Tv(){return be.skipHydrationRootTNode!==null}function p$(e){return be.skipHydrationRootTNode===e}function m$(){be.skipHydrationRootTNode=null}function pe(){return be.lFrame.lView}function yt(){return be.lFrame.tView}function ya(e){return be.lFrame.contextLView=e,e[Dt]}function _a(e){return be.lFrame.contextLView=null,e}function dn(){let e=Nv();for(;e!==null&&e.type===64;)e=e.parent;return e}function Nv(){return be.lFrame.currentTNode}function f$(){let e=be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hi(e,t){let a=be.lFrame;a.currentTNode=e,a.isParent=t}function Ov(){return be.lFrame.isParent}function Mv(){be.lFrame.isParent=!1}function g$(){return be.lFrame.contextLView}function Rv(){return pc}function Op(e){let t=pc;return pc=e,t}function ko(){let e=be.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function v$(){return be.lFrame.bindingIndex}function b$(e){return be.lFrame.bindingIndex=e}function pi(){return be.lFrame.bindingIndex++}function qd(e){let t=be.lFrame,a=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,a}function y$(){return be.lFrame.inI18n}function _$(e,t){let a=be.lFrame;a.bindingIndex=a.bindingRootIndex=e,mc(t)}function w$(){return be.lFrame.currentDirectiveIndex}function mc(e){be.lFrame.currentDirectiveIndex=e}function x$(e){let t=be.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Av(){return be.lFrame.currentQueryIndex}function $d(e){be.lFrame.currentQueryIndex=e}function E$(e){let t=e[he];return t.type===2?t.declTNode:t.type===1?e[en]:null}function Pv(e,t,a){if(a&Se.SkipSelf){let r=t,i=e;for(;(r=r.parent,r===null&&!(a&Se.Host))&&(r=E$(i),!(r===null||(i=i[ui],r.type&10))););if(r===null)return!1;t=r,e=i}let n=be.lFrame=Lv();return n.currentTNode=t,n.lView=e,!0}function Gd(e){let t=Lv(),a=e[he];be.lFrame=t,t.currentTNode=a.firstChild,t.lView=e,t.tView=a,t.contextLView=e,t.bindingIndex=a.bindingStartIndex,t.inI18n=!1}function Lv(){let e=be.lFrame,t=e===null?null:e.child;return t===null?Fv(e):t}function Fv(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 jv(){let e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Vv=jv;function Ud(){let e=jv();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 S$(e){return(be.lFrame.contextLView=o$(e,be.lFrame.contextLView))[Dt]}function ta(){return be.lFrame.selectedIndex}function gr(e){be.lFrame.selectedIndex=e}function Wd(){let e=be.lFrame;return Ld(e.tView,e.selectedIndex)}function k$(){return be.lFrame.currentNamespace}var zv=!0;function Yd(){return zv}function Zd(e){zv=e}function C$(e,t,a){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(n){let o=Ev(t);(a.preOrderHooks??(a.preOrderHooks=[])).push(e,o),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,o)}r&&(a.preOrderHooks??(a.preOrderHooks=[])).push(0-e,r),i&&((a.preOrderHooks??(a.preOrderHooks=[])).push(e,i),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,i))}function Bv(e,t){for(let a=t.directiveStart,n=t.directiveEnd;a<n;a++){let r=e.data[a].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;i&&(e.contentHooks??(e.contentHooks=[])).push(-a,i),o&&((e.contentHooks??(e.contentHooks=[])).push(a,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(a,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-a,l),c&&((e.viewHooks??(e.viewHooks=[])).push(a,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(a,c)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(a,u)}}function Cs(e,t,a){Hv(e,t,3,a)}function Is(e,t,a,n){(e[ce]&3)===a&&Hv(e,t,a,n)}function su(e,t){let a=e[ce];(a&3)===t&&(a&=16383,a+=1,e[ce]=a)}function Hv(e,t,a,n){let r=n!==void 0?e[Fr]&65535:0,i=n??-1,o=t.length-1,l=0;for(let c=r;c<o;c++)if(typeof t[c+1]=="number"){if(l=t[c],n!=null&&l>=n)break}else t[c]<0&&(e[Fr]+=65536),(l<i||i==-1)&&(I$(e,a,t,c),e[Fr]=(e[Fr]&4294901760)+c+2),c++}function Mp(e,t){let a=we(null);try{t.call(e)}finally{we(a)}}function I$(e,t,a,n){let r=a[n]<0,i=a[n+1],o=r?-a[n]:a[n],l=e[o];r?e[ce]>>14<e[Fr]>>16&&(e[ce]&3)===t&&(e[ce]+=16384,Mp(l,i)):Mp(l,i)}var $r=-1,Co=class{constructor(e,t,a){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=a}};function D$(e){return(e.flags&8)!==0}function T$(e){return(e.flags&16)!==0}function N$(e,t,a){let n=0;for(;n<a.length;){let r=a[n];if(typeof r=="number"){if(r!==0)break;n++;let i=a[n++],o=a[n++],l=a[n++];e.setAttribute(t,o,l,i)}else{let i=r,o=a[++n];O$(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function qv(e){return e===3||e===4||e===6}function O$(e){return e.charCodeAt(0)===64}function Ji(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let a=-1;for(let n=0;n<t.length;n++){let r=t[n];typeof r=="number"?a=r:a===0||(a===-1||a===2?Rp(e,a,r,null,t[++n]):Rp(e,a,r,null,null))}}return e}function Rp(e,t,a,n,r){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===a){r!==null&&(e[i+1]=r);return}i++,r!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,a),r!==null&&e.splice(i++,0,r)}function $v(e){return e!==$r}function Qs(e){return e&32767}function M$(e){return e>>16}function Xs(e,t){let a=M$(e),n=t;for(;a>0;)n=n[ui],a--;return n}var fc=!0;function Js(e){let t=fc;return fc=e,t}var R$=256,Gv=R$-1,Uv=5,A$=0,Wn={};function P$(e,t,a){let n;typeof a=="string"?n=a.charCodeAt(0)||0:a.hasOwnProperty(Bi)&&(n=a[Bi]),n==null&&(n=a[Bi]=A$++);let r=n&Gv,i=1<<r;t.data[e+(r>>Uv)]|=i}function el(e,t){let a=Wv(e,t);if(a!==-1)return a;let n=t[he];n.firstCreatePass&&(e.injectorIndex=t.length,lu(n.data,e),lu(t,null),lu(n.blueprint,null));let r=Kd(e,t),i=e.injectorIndex;if($v(r)){let o=Qs(r),l=Xs(r,t),c=l[he].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|c[o+u]}return t[i+8]=r,i}function lu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wv(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Kd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let a=0,n=null,r=t;for(;r!==null;){if(n=Xv(r),n===null)return $r;if(a++,r=r[ui],n.injectorIndex!==-1)return n.injectorIndex|a<<16}return $r}function gc(e,t,a){P$(e,t,a)}function L$(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let a=e.attrs;if(a){let n=a.length,r=0;for(;r<n;){let i=a[r];if(qv(i))break;if(i===0)r=r+2;else if(typeof i=="number")for(r++;r<n&&typeof a[r]=="string";)r++;else{if(i===t)return a[r+1];r=r+2}}}return null}function Yv(e,t,a){if(a&Se.Optional||e!==void 0)return e;Cd()}function Zv(e,t,a,n){if(a&Se.Optional&&n===void 0&&(n=null),(a&(Se.Self|Se.Host))===0){let r=e[Jr],i=Yt(void 0);try{return r?r.get(t,n,a&Se.Optional):iv(t,n,a&Se.Optional)}finally{Yt(i)}}return Yv(n,t,a)}function Kv(e,t,a,n=Se.Default,r){if(e!==null){if(t[ce]&2048&&!(n&Se.Self)){let o=z$(e,t,a,n,Wn);if(o!==Wn)return o}let i=Qv(e,t,a,n,Wn);if(i!==Wn)return i}return Zv(t,a,n,r)}function Qv(e,t,a,n,r){let i=j$(a);if(typeof i=="function"){if(!Pv(t,e,n))return n&Se.Host?Yv(r,a,n):Zv(t,a,n,r);try{let o;if(o=i(n),o==null&&!(n&Se.Optional))Cd(a);else return o}finally{Vv()}}else if(typeof i=="number"){let o=null,l=Wv(e,t),c=$r,u=n&Se.Host?t[_n][en]:null;for((l===-1||n&Se.SkipSelf)&&(c=l===-1?Kd(e,t):t[l+8],c===$r||!Pp(n,!1)?l=-1:(o=t[he],l=Qs(c),t=Xs(c,t)));l!==-1;){let d=t[he];if(Ap(i,l,d.data)){let m=F$(l,t,a,o,n,u);if(m!==Wn)return m}c=t[l+8],c!==$r&&Pp(n,t[he].data[l+8]===u)&&Ap(i,l,t)?(o=d,l=Qs(c),t=Xs(c,t)):l=-1}}return r}function F$(e,t,a,n,r,i){let o=t[he],l=o.data[e+8],c=n==null?ci(l)&&fc:n!=o&&(l.type&3)!==0,u=r&Se.Host&&i===l,d=Ds(l,o,a,c,u);return d!==null?eo(t,o,d,l,r):Wn}function Ds(e,t,a,n,r){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=r?l+d:u;for(let g=m;g<b;g++){let w=o[g];if(g<c&&a===w||g>=c&&w.type===a)return g}if(r){let g=o[c];if(g&&Qn(g)&&g.type===a)return c}return null}function eo(e,t,a,n,r){let i=e[a],o=t.data;if(i instanceof Co){let l=i;l.resolving&&av(Sq(o[a]));let c=Js(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?Yt(l.injectImpl):null;Pv(e,n,Se.Default);try{i=e[a]=l.factory(void 0,r,o,e,n),t.firstCreatePass&&a>=n.directiveStart&&C$(a,o[a],t)}finally{u!==null&&Yt(u),Js(c),l.resolving=!1,Vv()}}return i}function j$(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bi)?e[Bi]:void 0;return typeof t=="number"?t>=0?t&Gv:V$:t}function Ap(e,t,a){let n=1<<e;return!!(a[t+(e>>Uv)]&n)}function Pp(e,t){return!(e&Se.Self)&&!(e&Se.Host&&t)}var Hi=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,a){return Kv(this._tNode,this._lView,e,Tl(a),t)}};function V$(){return new Hi(dn(),pe())}function Bt(e){return wo(()=>{let t=e.prototype.constructor,a=t[$s]||vc(t),n=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==n;){let i=r[$s]||vc(r);if(i&&i!==a)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function vc(e){return Jg(e)?()=>{let t=vc(Mt(e));return t&&t()}:dr(e)}function z$(e,t,a,n,r){let i=e,o=t;for(;i!==null&&o!==null&&o[ce]&2048&&!Ks(o);){let l=Qv(i,o,a,n|Se.Self,Wn);if(l!==Wn)return l;let c=i.parent;if(!c){let u=o[bv];if(u){let d=u.get(a,Wn,n);if(d!==Wn)return d}c=Xv(o),o=o[ui]}i=c}return r}function Xv(e){let t=e[he],a=t.type;return a===2?t.declTNode:a===1?e[en]:null}function B$(e){return L$(dn(),e)}function Lp(e,t=null,a=null,n){let r=H$(e,t,a,n);return r.resolveInjectorInitializers(),r}function H$(e,t=null,a=null,n,r=new Set){let i=[a||Zt,Bq(e)];return n=n||(typeof e=="object"?void 0:bn(e)),new Md(i,t||Nl(),n||null,r)}var Hn,rt=(Hn=class{static create(t,a){if(Array.isArray(t))return Lp({name:""},a,t,"");{let n=t.name??"";return Lp({name:n},t.parent,t.providers,n)}}},s(Hn,"THROW_IF_NOT_FOUND",ur),s(Hn,"NULL",new dv),s(Hn,"ɵprov",V({token:Hn,providedIn:"any",factory:()=>te(uv)})),s(Hn,"__NG_ELEMENT_ID__",-1),Hn),q$=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>B$(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},$$=new K("");$$.__NG_ELEMENT_ID__=e=>{let t=dn();if(t===null)throw new G(204,!1);if(t.type&2)return t.value;if(e&Se.Optional)return null;throw new G(204,!1)};var Jv=!1,_r=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",U$),s(e,"__NG_ENV_ID__",a=>a),e})(),G$=class extends _r{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let a=this._lView;return di(a)?(t(),()=>{}):(Dv(a,t),()=>s$(a,t))}};function U$(){return new G$(pe())}var Io=class{},e0=new K("",{providedIn:"root",factory:()=>!1}),t0=new K(""),n0=new K(""),Do=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new bd(!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})(),W$=class extends xe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,vv()&&(this.destroyRef=C(_r,{optional:!0})??void 0,this.pendingTasks=C(Do,{optional:!0})??void 0)}emit(t){let a=we(null);try{super.next(t)}finally{we(a)}}subscribe(t,a,n){var c,u,d;let r=t,i=a||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;r=(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),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:r,error:i,complete:o});return t instanceof ln&&t.add(l),l}wrapInTimeout(t){return a=>{var r;let n=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var i;try{t(a)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},Ft=W$;function tl(...e){}function a0(e){let t,a;function n(){e=tl;try{a!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Fp(e){return queueMicrotask(()=>e()),()=>{e=tl}}var Qd="isAngularZone",nl=Qd+"_ID",Y$=0,je=class bc{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft(!1));s(this,"onMicrotaskEmpty",new Ft(!1));s(this,"onStable",new Ft(!1));s(this,"onError",new Ft(!1));let{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=Jv}=t;if(typeof Zone>"u")throw new G(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)),a&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=i,Q$(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qd)===!0}static assertInAngularZone(){if(!bc.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(bc.isInAngularZone())throw new G(909,!1)}run(t,a,n){return this._inner.run(t,a,n)}runTask(t,a,n,r){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Z$,tl,tl);try{return i.runTask(o,a,n)}finally{i.cancelTask(o)}}runGuarded(t,a,n){return this._inner.runGuarded(t,a,n)}runOutsideAngular(t){return this._outer.run(t)}},Z$={};function Xd(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 K$(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){a0(()=>{e.callbackScheduled=!1,yc(e),e.isCheckStableRunning=!0,Xd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),yc(e)}function Q$(e){let t=()=>{K$(e)},a=Y$++;e._inner=e._inner.fork({name:"angular",properties:{[Qd]:!0,[nl]:a,[nl+a]:!0},onInvokeTask:(n,r,i,o,l,c)=>{if(J$(c))return n.invokeTask(i,o,l,c);try{return jp(e),n.invokeTask(i,o,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Vp(e)}},onInvoke:(n,r,i,o,l,c,u)=>{try{return jp(e),n.invoke(i,o,l,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!eG(c)&&t(),Vp(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,yc(e),Xd(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function yc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function jp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vp(e){e._nesting--,Xd(e)}var X$=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft);s(this,"onMicrotaskEmpty",new Ft);s(this,"onStable",new Ft);s(this,"onError",new Ft)}run(e,t,a){return e.apply(t,a)}runGuarded(e,t,a){return e.apply(t,a)}runOutsideAngular(e){return e()}runTask(e,t,a,n){return e.apply(t,a)}};function J$(e){return r0(e,"__ignore_ng_zone__")}function eG(e){return r0(e,"__scheduler_tick__")}function r0(e,t){var a,n;return!Array.isArray(e)||e.length!==1?!1:((n=(a=e[0])==null?void 0:a.data)==null?void 0:n[t])===!0}var An=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},tG=new K("",{providedIn:"root",factory:()=>{let e=C(je),t=C(An);return a=>e.runOutsideAngular(()=>t.handleError(a))}}),nG=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(An,{optional:!0}));s(this,"destroyRef",C(_r));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new G(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var a,n;let t=(a=this.listeners)==null?void 0:a.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var a;if(this.destroyed){console.warn(Yg(953,!1));return}if(this.listeners===null)return;let t=we(null);try{for(let n of this.listeners)try{n(e)}catch(r){(a=this.errorHandler)==null||a.handleError(r)}}finally{we(t)}}};function zp(e){return new nG}function Bp(e,t){return Kg(e,t)}function aG(e){return Kg(Zg,e)}var Qe=(Bp.required=aG,Bp);function rG(){return mi(dn(),pe())}function mi(e,t){return new At(ea(e,t))}var At=(()=>{class e{constructor(a){s(this,"nativeElement");this.nativeElement=a}}return s(e,"__NG_ELEMENT_ID__",rG),e})();function iG(e){return e instanceof At?e.nativeElement:e}function oG(){let e=this[cr];if(e.readonlyFn===void 0){let t=()=>this();t[cr]=e,e.readonlyFn=t}return e.readonlyFn}function sG(){return this._results[Symbol.iterator]()}var Yf,lG=(Yf=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,Yf,sG);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 a=Lq(e);(this._changesDetected=!Pq(this._results,a,t))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[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 i0(e){return(e.flags&128)===128}var o0=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(o0||{}),s0=new Map,uG=0;function cG(){return uG++}function dG(e){s0.set(e[Ol],e)}function _c(e){s0.delete(e[Ol])}var Hp="__ngContext__";function To(e,t){Ba(t)?(e[Hp]=t[Ol],dG(t)):e[Hp]=t}function l0(e){return c0(e[Qi])}function u0(e){return c0(e[On])}function c0(e){for(;e!==null&&!Sa(e);)e=e[On];return e}var wc;function hG(e){wc=e}function pG(){if(wc!==void 0)return wc;if(typeof document<"u")return document;throw new G(210,!1)}var Jd=new K("",{providedIn:"root",factory:()=>mG}),mG="ng",d0=new K(""),Ml=new K("",{providedIn:"platform",factory:()=>"unknown"}),fi=new K(""),eh=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=pG().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),h0=!1,fG=new K("",{providedIn:"root",factory:()=>h0}),th=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(th||{}),No=new K(""),qp=new Set;function wr(e){var t;qp.has(e)||(qp.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var p0=(()=>{class e{constructor(a,n){s(this,"view");s(this,"node");this.view=a,this.node=n}}return s(e,"__NG_ELEMENT_ID__",gG),e})();function gG(){return new p0(pe(),dn())}var jr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(jr||{}),m0=(()=>{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})(),vG=[jr.EarlyRead,jr.Write,jr.MixedReadWrite,jr.Read],bG=(()=>{const t=class t{constructor(){s(this,"ngZone",C(je));s(this,"scheduler",C(Io));s(this,"errorHandler",C(An,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(No,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let r of vG)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:r}=n;r!==void 0?((r[za]??(r[za]=[])).push(n),So(r),r[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,r){return r?r.run(th.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),yG=class{constructor(e,t,a,n,r,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=a,this.once=n,this.snapshot=i,this.unregisterOnDestroy=r==null?void 0:r.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,a;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(a=this.view)==null?void 0:a[za];e&&(this.view[za]=e.filter(n=>n!==this))}};function f0(e,t){!(t!=null&&t.injector)&&Ad();let a=(t==null?void 0:t.injector)??C(rt);return wr("NgAfterRender"),g0(e,a,t,!1)}function nh(e,t){!(t!=null&&t.injector)&&Ad();let a=(t==null?void 0:t.injector)??C(rt);return wr("NgAfterNextRender"),g0(e,a,t,!0)}function _G(e,t){if(e instanceof Function){let a=[void 0,void 0,void 0,void 0];return a[t]=e,a}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function g0(e,t,a,n){let r=t.get(m0);r.impl??(r.impl=t.get(bG));let i=t.get(No,null,{optional:!0}),o=(a==null?void 0:a.phase)??jr.MixedReadWrite,l=(a==null?void 0:a.manualCleanup)!==!0?t.get(_r):null,c=t.get(p0,null,{optional:!0}),u=new yG(r.impl,_G(e,o),c==null?void 0:c.view,n,l,i==null?void 0:i.snapshot(null));return r.impl.register(u),u}var wG=()=>null;function v0(e,t,a=!1){return wG()}function b0(e,t){let a=e.contentQueries;if(a!==null){let n=we(null);try{for(let r=0;r<a.length;r+=2){let i=a[r],o=a[r+1];if(o!==-1){let l=e.data[o];$d(i),l.contentQueries(2,t[o],o)}}}finally{we(n)}}}function xc(e,t,a){$d(0);let n=we(null);try{t(e,a)}finally{we(n)}}function y0(e,t,a){if(_v(t)){let n=we(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let o=r;o<i;o++){let l=e.data[o];if(l.contentQueries){let c=a[o];l.contentQueries(1,c,o)}}}finally{we(n)}}}var fa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(fa||{}),ts;function xG(){if(ts===void 0&&(ts=null,Pr.trustedTypes))try{ts=Pr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ts}function Rl(e){var t;return((t=xG())==null?void 0:t.createHTML(e))||e}var xr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wg})`}},EG=class extends xr{getTypeName(){return"HTML"}},SG=class extends xr{getTypeName(){return"Style"}},kG=class extends xr{getTypeName(){return"Script"}},CG=class extends xr{getTypeName(){return"URL"}},IG=class extends xr{getTypeName(){return"ResourceURL"}};function Ma(e){return e instanceof xr?e.changingThisBreaksApplicationSecurity:e}function Or(e,t){let a=DG(e);if(a!=null&&a!==t){if(a==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${a} (see ${Wg})`)}return a===t}function DG(e){return e instanceof xr&&e.getTypeName()||null}function TG(e){return new EG(e)}function NG(e){return new SG(e)}function OG(e){return new kG(e)}function MG(e){return new CG(e)}function RG(e){return new IG(e)}function AG(e){let t=new LG(e);return FG()?new PG(t):t}var PG=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let a=new window.DOMParser().parseFromString(Rl(e),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(e):((t=a.firstChild)==null||t.remove(),a)}catch{return null}}},LG=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=Rl(e),t}};function FG(){try{return!!new window.DOMParser().parseFromString(Rl(""),"text/html")}catch{return!1}}var jG=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ah(e){return e=String(e),e.match(jG)?e:"unsafe:"+e}function ka(e){let t={};for(let a of e.split(","))t[a]=!0;return t}function Oo(...e){let t={};for(let a of e)for(let n in a)a.hasOwnProperty(n)&&(t[n]=!0);return t}var _0=ka("area,br,col,hr,img,wbr"),w0=ka("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),x0=ka("rp,rt"),VG=Oo(x0,w0),zG=Oo(w0,ka("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")),BG=Oo(x0,ka("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")),$p=Oo(_0,zG,BG,VG),E0=ka("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),HG=ka("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"),qG=ka("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"),$G=Oo(E0,HG,qG),GG=ka("script,style,template"),UG=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,a=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?a=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,a&&t.firstChild){n.push(t),t=ZG(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=YG(t);if(r){t=r;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Gp(e).toLowerCase();if(!$p.hasOwnProperty(t))return this.sanitizedSomething=!0,!GG.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let a=e.attributes;for(let n=0;n<a.length;n++){let r=a.item(n),i=r.name,o=i.toLowerCase();if(!$G.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=r.value;E0[o]&&(l=ah(l)),this.buf.push(" ",i,'="',Up(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Gp(e).toLowerCase();$p.hasOwnProperty(t)&&!_0.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Up(e))}};function WG(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function YG(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw S0(t);return t}function ZG(e){let t=e.firstChild;if(t&&WG(e,t))throw S0(t);return t}function Gp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function S0(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var KG=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QG=/([^\#-~ |!])/g;function Up(e){return e.replace(/&/g,"&").replace(KG,function(t){let a=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((a-55296)*1024+(n-56320)+65536)+";"}).replace(QG,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ns;function XG(e,t){let a=null;try{ns=ns||AG(e);let n=t?String(t):"";a=ns.getInertBodyElement(n);let r=5,i=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=i,i=a.innerHTML,a=ns.getInertBodyElement(n)}while(n!==i);let o=new UG().sanitizeChildren(Wp(a)||a);return Rl(o)}finally{if(a){let n=Wp(a)||a;for(;n.firstChild;)n.firstChild.remove()}}}function Wp(e){return"content"in e&&JG(e)?e.content:null}function JG(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var rn=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}(rn||{});function e6(e){let t=t6();return t?t.sanitize(rn.URL,e)||"":Or(e,"URL")?Ma(e):ah(Zr(e))}function t6(){let e=pe();return e&&e[xa].sanitizer}function n6(e,t,a){let n=e.length;for(;;){let r=e.indexOf(t,a);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let i=t.length;if(r+i===n||e.charCodeAt(r+i)<=32)return r}a=r+1}}var k0="ng-template";function a6(e,t,a,n){let r=0;if(n){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&n6(t[r+1].toLowerCase(),a,0)!==-1)return!0}else if(rh(e))return!1;if(r=t.indexOf(1,r),r>-1){let i;for(;++r<t.length&&typeof(i=t[r])=="string";)if(i.toLowerCase()===a)return!0}return!1}function rh(e){return e.type===4&&e.value!==k0}function r6(e,t,a){let n=e.type===4&&!a?k0:e.value;return t===n}function i6(e,t,a){let n=4,r=e.attrs,i=r!==null?l6(r):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,a)||c===""&&t.length===1){if(In(n))return!1;o=!0}}else if(n&8){if(r===null||!a6(e,r,c,a)){if(In(n))return!1;o=!0}}else{let u=t[++l],d=o6(c,r,rh(e),a);if(d===-1){if(In(n))return!1;o=!0;continue}if(u!==""){let m;if(d>i?m="":m=r[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 o6(e,t,a,n){if(t===null)return-1;let r=0;if(n||!a){let i=!1;for(;r<t.length;){let o=t[r];if(o===e)return r;if(o===3||o===6)i=!0;else if(o===1||o===2){let l=t[++r];for(;typeof l=="string";)l=t[++r];continue}else{if(o===4)break;if(o===0){r+=4;continue}}r+=i?1:2}return-1}else return u6(t,e)}function C0(e,t,a=!1){for(let n=0;n<t.length;n++)if(i6(e,t[n],a))return!0;return!1}function s6(e){let t=e.attrs;if(t!=null){let a=t.indexOf(5);if(!(a&1))return t[a+1]}return null}function l6(e){for(let t=0;t<e.length;t++){let a=e[t];if(qv(a))return t}return e.length}function u6(e,t){let a=e.indexOf(4);if(a>-1)for(a++;a<e.length;){let n=e[a];if(typeof n=="number")return-1;if(n===t)return a;a++}return-1}function c6(e,t){e:for(let a=0;a<t.length;a++){let n=t[a];if(e.length===n.length){for(let r=0;r<e.length;r++)if(e[r]!==n[r])continue e;return!0}}return!1}function Yp(e,t){return e?":not("+t.trim()+")":t}function d6(e){let t=e[0],a=1,n=2,r="",i=!1;for(;a<e.length;){let o=e[a];if(typeof o=="string")if(n&2){let l=e[++a];r+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!In(o)&&(t+=Yp(i,r),r=""),n=o,i=i||!In(n);a++}return r!==""&&(t+=Yp(i,r)),t}function h6(e){return e.map(d6).join(",")}function p6(e){let t=[],a=[],n=1,r=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")r===2?i!==""&&t.push(i,e[++n]):r===8&&a.push(i);else{if(!In(r))break;r=i}n++}return a.length&&t.push(1,...a),t}var hn={};function m6(e,t){return e.createText(t)}function f6(e,t,a){e.setValue(t,a)}function I0(e,t,a){return e.createElement(t,a)}function al(e,t,a,n,r){e.insertBefore(t,a,n,r)}function D0(e,t,a){e.appendChild(t,a)}function Zp(e,t,a,n,r){n!==null?al(e,t,a,n,r):D0(e,t,a)}function g6(e,t,a){e.removeChild(null,t,a)}function v6(e,t,a){e.setAttribute(t,"style",a)}function b6(e,t,a){a===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",a)}function T0(e,t,a){let{mergedAttrs:n,classes:r,styles:i}=a;n!==null&&N$(e,t,n),r!==null&&b6(e,t,r),i!==null&&v6(e,t,i)}function ih(e,t,a,n,r,i,o,l,c,u,d){let m=St+n,b=m+r,g=y6(m,b),w=typeof u=="function"?u():u;return g[he]={type:e,blueprint:g,template:a,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 y6(e,t){let a=[];for(let n=0;n<t;n++)a.push(n<e?null:hn);return a}function _6(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ih(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function oh(e,t,a,n,r,i,o,l,c,u,d){let m=t.blueprint.slice();return m[Ea]=r,m[ce]=n|4|128|8|64|1024,(u!==null||e&&e[ce]&2048)&&(m[ce]|=2048),Iv(m),m[Vt]=m[ui]=e,m[Dt]=a,m[xa]=o||e&&e[xa],m[vt]=l||e&&e[vt],m[Jr]=c||e&&e[Jr]||null,m[en]=i,m[Ol]=cG(),m[Xr]=d,m[bv]=u,m[_n]=t.type==2?e[_n]:m,m}function w6(e,t,a){let n=ea(t,e),r=_6(a),i=e[xa].rendererFactory,o=sh(e,oh(e,r,null,N0(a),n,t,null,i.createRenderer(n,a),null,null,null));return e[t.index]=o}function N0(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function O0(e,t,a,n){if(a===0)return-1;let r=t.length;for(let i=0;i<a;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return r}function sh(e,t){return e[Qi]?e[Np][On]=t:e[Qi]=t,e[Np]=t,t}function X(e=1){M0(yt(),pe(),ta()+e)}function M0(e,t,a,n){if((t[ce]&3)===3){let r=e.preOrderCheckHooks;r!==null&&Cs(t,r,a)}else{let r=e.preOrderHooks;r!==null&&Is(t,r,0,a)}gr(a)}var Al=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Al||{});function Ec(e,t,a,n){let r=we(null);try{let[i,o,l]=e.inputs[a],c=null;o&Al.SignalBased&&(c=t[i][cr]),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,a,i):wv(t,c,i,n)}finally{we(r)}}function R0(e,t,a,n,r){let i=ta(),o=n&2;try{gr(-1),o&&t.length>St&&M0(e,t,St,!1),mr(o?2:0,r),a(n,r)}finally{gr(i)}}function lh(e,t,a){k6(e,t,a),(a.flags&64)===64&&C6(e,t,a)}function A0(e,t,a=ea){let n=t.localNames;if(n!==null){let r=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?a(t,e):e[o];e[r++]=l}}}function x6(e,t,a,n){let r=n.get(fG,h0)||a===fa.ShadowDom;return e.selectRootElement(t,r)}function E6(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function P0(e,t,a,n,r,i,o,l){if(!l&&uh(t,e,a,n,r)){ci(t)&&S6(a,t.index);return}if(t.type&3){let c=ea(t,a);n=E6(n),r=o!=null?o(r,t.value||"",n):r,i.setProperty(c,n,r)}else t.type&12}function S6(e,t){let a=Jn(t,e);a[ce]&16||(a[ce]|=64)}function k6(e,t,a){let n=a.directiveStart,r=a.directiveEnd;ci(a)&&w6(t,a,e.data[n+a.componentOffset]),e.firstCreatePass||el(a,t);let i=a.initialInputs;for(let o=n;o<r;o++){let l=e.data[o],c=eo(t,e,o,a);if(To(c,t),i!==null&&N6(t,o-n,c,l,a,i),Qn(l)){let u=Jn(a.index,t);u[Dt]=eo(t,e,o,a)}}}function C6(e,t,a){let n=a.directiveStart,r=a.directiveEnd,i=a.index,o=w$();try{gr(i);for(let l=n;l<r;l++){let c=e.data[l],u=t[l];mc(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&I6(c,u)}}finally{gr(-1),mc(o)}}function I6(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function L0(e,t){let a=e.directiveRegistry,n=null;if(a)for(let r=0;r<a.length;r++){let i=a[r];C0(t,i.selectors,!1)&&(n??(n=[]),Qn(i)?n.unshift(i):n.push(i))}return n}function D6(e,t,a,n,r,i){let o=ea(e,t);T6(t[vt],o,i,e.value,a,n,r)}function T6(e,t,a,n,r,i,o){if(i==null)e.removeAttribute(t,r,a);else{let l=o==null?Zr(i):o(i,n||"",r);e.setAttribute(t,r,l,a)}}function N6(e,t,a,n,r,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];Ec(n,a,c,u)}}function O6(e,t){let a=e[Jr],n=a?a.get(An,null):null;n&&n.handleError(t)}function uh(e,t,a,n,r){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];Ec(g,a[m],b,r),l=!0}if(i)for(let d of i){let m=a[d],b=t.data[d];Ec(b,m,n,r),l=!0}return l}function M6(e,t){let a=Jn(t,e),n=a[he];R6(n,a);let r=a[Ea];r!==null&&a[Xr]===null&&(a[Xr]=v0(r,a[Jr])),ch(n,a,a[Dt]),mr(19,a[Dt])}function R6(e,t){for(let a=t.length;a<e.blueprint.length;a++)t.push(e.blueprint[a])}function ch(e,t,a){var n;Gd(t);try{let r=e.viewQuery;r!==null&&xc(1,r,a);let i=e.template;i!==null&&R0(e,t,i,1,a),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Mn])==null||n.finishViewCreation(e),e.staticContentQueries&&b0(e,t),e.staticViewQueries&&xc(2,e.viewQuery,a);let o=e.components;o!==null&&A6(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ce]&=-5,Ud()}}function A6(e,t){for(let a=0;a<t.length;a++)M6(e,t[a])}function Mo(e,t,a,n){let r=we(null);try{let i=t.tView,o=e[ce]&4096?4096:16,l=oh(e,i,a,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[hr]=c;let u=e[Mn];return u!==null&&(l[Mn]=u.createEmbeddedView(i)),ch(i,l,a),l}finally{we(r)}}function ti(e,t){return!t||t.firstChild===null||i0(e)}var P6;function dh(e,t){return P6(e,t)}var Vr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Vr||{});function hh(e){return(e.flags&32)===32}function zr(e,t,a,n,r){if(n!=null){let i,o=!1;Sa(n)?i=n:Ba(n)&&(o=!0,n=n[Ea]);let l=Xn(n);e===0&&a!==null?r==null?D0(t,a,l):al(t,a,l,r||null,!0):e===1&&a!==null?al(t,a,l,r||null,!0):e===2?g6(t,l,o):e===3&&t.destroyNode(l),i!=null&&G6(t,e,i,a,r)}}function L6(e,t){F0(e,t),t[Ea]=null,t[en]=null}function F6(e,t,a,n,r,i){n[Ea]=r,n[en]=t,Ll(e,n,a,1,r,i)}function F0(e,t){var a;(a=t[xa].changeDetectionScheduler)==null||a.notify(9),Ll(e,t,t[vt],2,null,null)}function j6(e){let t=e[Qi];if(!t)return uu(e[he],e);for(;t;){let a=null;if(Ba(t))a=t[Qi];else{let n=t[jt];n&&(a=n)}if(!a){for(;t&&!t[On]&&t!==e;)Ba(t)&&uu(t[he],t),t=t[Vt];t===null&&(t=e),Ba(t)&&uu(t[he],t),a=t&&t[On]}t=a}}function ph(e,t){let a=e[ei],n=a.indexOf(t);a.splice(n,1)}function Pl(e,t){if(di(t))return;let a=t[vt];a.destroyNode&&Ll(e,t,a,3,null,null),j6(t)}function uu(e,t){if(di(t))return;let a=we(null);try{t[ce]&=-129,t[ce]|=256,t[yn]&&lg(t[yn]),z6(e,t),V6(e,t),t[he].type===1&&t[vt].destroy();let n=t[hr];if(n!==null&&Sa(t[Vt])){n!==t[Vt]&&ph(n,t);let r=t[Mn];r!==null&&r.detachView(e)}_c(t)}finally{we(a)}}function V6(e,t){let a=e.cleanup,n=t[qr];if(a!==null)for(let o=0;o<a.length-1;o+=2)if(typeof a[o]=="string"){let l=a[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[a[o+1]];a[o].call(l)}n!==null&&(t[qr]=null);let r=t[Va];if(r!==null){t[Va]=null;for(let o=0;o<r.length;o++){let l=r[o];l()}}let i=t[Ys];if(i!==null){t[Ys]=null;for(let o of i)o.destroy()}}function z6(e,t){let a;if(e!=null&&(a=e.destroyHooks)!=null)for(let n=0;n<a.length;n+=2){let r=t[a[n]];if(!(r instanceof Co)){let i=a[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=r[i[o]],c=i[o+1];try{c.call(l)}finally{}}else try{i.call(r)}finally{}}}}function j0(e,t,a){return B6(e,t.parent,a)}function B6(e,t,a){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return a[Ea];if(ci(n)){let{encapsulation:r}=e.data[n.directiveStart+n.componentOffset];if(r===fa.None||r===fa.Emulated)return null}return ea(n,a)}function V0(e,t,a){return q6(e,t,a)}function H6(e,t,a){return e.type&40?ea(e,a):null}var q6=H6;function mh(e,t,a,n){let r=j0(e,n,t),i=t[vt],o=n.parent||t[en],l=V0(o,n,t);if(r!=null)if(Array.isArray(a))for(let c=0;c<a.length;c++)Zp(i,r,a[c],l,!1);else Zp(i,r,a,l,!1)}function Pi(e,t){if(t!==null){let a=t.type;if(a&3)return ea(t,e);if(a&4)return Sc(-1,e[t.index]);if(a&8){let n=t.child;if(n!==null)return Pi(e,n);{let r=e[t.index];return Sa(r)?Sc(-1,r):Xn(r)}}else{if(a&128)return Pi(e,t.next);if(a&32)return dh(t,e)()||Xn(e[t.index]);{let n=z0(e,t);if(n!==null){if(Array.isArray(n))return n[0];let r=fr(e[_n]);return Pi(r,n)}else return Pi(e,t.next)}}}return null}function z0(e,t){if(t!==null){let a=e[_n][en],n=t.projection;return a.projection[n]}return null}function Sc(e,t){let a=jt+e+1;if(a<t.length){let n=t[a],r=n[he].firstChild;if(r!==null)return Pi(n,r)}return t[pr]}function fh(e,t,a,n,r,i,o){for(;a!=null;){if(a.type===128){a=a.next;continue}let l=n[a.index],c=a.type;if(o&&t===0&&(l&&To(Xn(l),n),a.flags|=2),!hh(a))if(c&8)fh(e,t,a.child,n,r,i,!1),zr(t,e,r,l,i);else if(c&32){let u=dh(a,n),d;for(;d=u();)zr(t,e,r,d,i);zr(t,e,r,l,i)}else c&16?B0(e,t,n,a,r,i):zr(t,e,r,l,i);a=o?a.projectionNext:a.next}}function Ll(e,t,a,n,r,i){fh(a,n,e.firstChild,t,r,i,!1)}function $6(e,t,a){let n=t[vt],r=j0(e,a,t),i=a.parent||t[en],o=V0(i,a,t);B0(n,0,t,a,r,o)}function B0(e,t,a,n,r,i){let o=a[_n],l=o[en].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];zr(t,e,r,u,i)}else{let c=l,u=o[Vt];i0(n)&&(c.flags|=128),fh(e,t,c,u,r,i,!0)}}function G6(e,t,a,n,r){let i=a[pr],o=Xn(a);i!==o&&zr(t,e,n,i,r);for(let l=jt;l<a.length;l++){let c=a[l];Ll(c[he],c,e,t,n,i)}}function U6(e,t,a,n,r){r?e.addClass(a,n):e.removeClass(a,n)}function rl(e,t,a,n,r=!1){for(;a!==null;){if(a.type===128){a=r?a.projectionNext:a.next;continue}let i=t[a.index];i!==null&&n.push(Xn(i)),Sa(i)&&W6(i,n);let o=a.type;if(o&8)rl(e,t,a.child,n);else if(o&32){let l=dh(a,t),c;for(;c=l();)n.push(c)}else if(o&16){let l=z0(t,a);if(Array.isArray(l))n.push(...l);else{let c=fr(t[_n]);rl(c[he],c,l,n,!0)}}a=r?a.projectionNext:a.next}return n}function W6(e,t){for(let a=jt;a<e.length;a++){let n=e[a],r=n[he].firstChild;r!==null&&rl(n[he],n,r,t)}e[pr]!==e[Ea]&&t.push(e[pr])}function H0(e){if(e[za]!==null){for(let t of e[za])t.impl.addSequence(t);e[za].length=0}}var q0=[];function Y6(e){return e[yn]??Z6(e)}function Z6(e){let t=q0.pop()??Object.create(Q6);return t.lView=e,t}function K6(e){e.lView[yn]!==e&&(e.lView=null,q0.push(e))}var Q6=Wt(se({},vo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{So(e.lView)},consumerOnSignalRead(){this.lView[yn]=this}});function X6(e){let t=e[yn]??Object.create(J6);return t.lView=e,t}var J6=Wt(se({},vo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=fr(e.lView);for(;t&&!$0(t[he]);)t=fr(t);t&&zd(t)},consumerOnSignalRead(){this.lView[yn]=this}});function $0(e){return e.type!==2}function G0(e){if(e[Ys]===null)return;let t=!0;for(;t;){let a=!1;for(let n of e[Ys])n.dirty&&(a=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=a&&!!(e[ce]&8192)}}var eU=100;function U0(e,t=!0,a=0){var r,i;let n=e[xa].rendererFactory;(r=n.begin)==null||r.call(n);try{tU(e,a)}catch(o){throw t&&O6(e,o),o}finally{(i=n.end)==null||i.call(n)}}function tU(e,t){let a=Rv();try{Op(!0),kc(e,t);let n=0;for(;Eo(e);){if(n===eU)throw new G(103,!1);n++,kc(e,1)}}finally{Op(a)}}function nU(e,t,a,n){if(di(t))return;let r=t[ce],i=!1,o=!1;Gd(t);let l=!0,c=null,u=null;$0(e)?(u=Y6(t),c=zs(u)):aH()===null?(l=!1,u=X6(t),c=zs(u)):t[yn]&&(lg(t[yn]),t[yn]=null);try{Iv(t),b$(e.bindingStartIndex),a!==null&&R0(e,t,a,2,n);let d=(r&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&Cs(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Is(t,g,0,null),su(t,0)}if(o||aU(t),G0(t),W0(t,0),e.contentQueries!==null&&b0(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&Cs(t,g)}else{let g=e.contentHooks;g!==null&&Is(t,g,1),su(t,1)}iU(e,t);let m=e.components;m!==null&&Z0(t,m,0);let b=e.viewQuery;if(b!==null&&xc(2,b,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&Cs(t,g)}else{let g=e.viewHooks;g!==null&&Is(t,g,2),su(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ou]){for(let g of t[ou])g();t[ou]=null}i||(H0(t),t[ce]&=-73)}catch(d){throw So(t),d}finally{u!==null&&(pd(u,c),l&&K6(u)),Ud()}}function W0(e,t){for(let a=l0(e);a!==null;a=u0(a))for(let n=jt;n<a.length;n++){let r=a[n];Y0(r,t)}}function aU(e){for(let t=l0(e);t!==null;t=u0(t)){if(!(t[ce]&2))continue;let a=t[ei];for(let n=0;n<a.length;n++){let r=a[n];zd(r)}}}function rU(e,t,a){let n=Jn(t,e);Y0(n,a),mr(19,n[Dt])}function Y0(e,t){Vd(e)&&kc(e,t)}function kc(e,t){let a=e[he],n=e[ce],r=e[yn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(r!=null&&r.dirty&&sg(r))),i||(i=!1),r&&(r.dirty=!1),e[ce]&=-9217,i)nU(a,e,a.template,e[Dt]);else if(n&8192){G0(e),W0(e,1);let o=a.components;o!==null&&Z0(e,o,1),H0(e)}}function Z0(e,t,a){for(let n=0;n<t.length;n++)rU(e,t[n],a)}function iU(e,t){let a=e.hostBindingOpCodes;if(a!==null)try{for(let n=0;n<a.length;n++){let r=a[n];if(r<0)gr(~r);else{let i=r,o=a[++n],l=a[++n];_$(o,i);let c=t[i];mr(24,c),l(2,c),mr(25,c)}}}finally{gr(-1)}}function gh(e,t){var n;let a=Rv()?64:1088;for((n=e[xa].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[ce]|=a;let r=fr(e);if(Ks(e)&&!r)return e;e=r}return null}function K0(e,t,a,n){return[e,!0,0,t,null,n,null,a,null,null]}function Q0(e,t){let a=jt+t;if(a<e.length)return e[a]}function Ro(e,t,a,n=!0){let r=t[he];if(oU(r,t,e,a),n){let o=Sc(a,e),l=t[vt],c=l.parentNode(e[pr]);c!==null&&F6(r,e[en],l,t,c,o)}let i=t[Xr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function X0(e,t){let a=to(e,t);return a!==void 0&&Pl(a[he],a),a}function to(e,t){if(e.length<=jt)return;let a=jt+t,n=e[a];if(n){let r=n[hr];r!==null&&r!==e&&ph(r,n),t>0&&(e[a-1][On]=n[On]);let i=Us(e,jt+t);L6(n[he],n);let o=i[Mn];o!==null&&o.detachView(i[he]),n[Vt]=null,n[On]=null,n[ce]&=-129}return n}function oU(e,t,a,n){let r=jt+n,i=a.length;n>0&&(a[r-1][On]=t),n<i-jt?(t[On]=a[r],lv(a,jt+n,t)):(a.push(t),t[On]=null),t[Vt]=a;let o=t[hr];o!==null&&a!==o&&J0(o,t);let l=t[Mn];l!==null&&l.insertView(e),hc(t),t[ce]|=128}function J0(e,t){let a=e[ei],n=t[Vt];if(Ba(n))e[ce]|=2;else{let r=n[Vt][_n];t[_n]!==r&&(e[ce]|=2)}a===null?e[ei]=[t]:a.push(t)}var no=class{constructor(e,t,a=!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=a}get rootNodes(){let e=this._lView,t=e[he];return rl(t,e,t.firstChild,[])}get context(){return this._lView[Dt]}set context(e){this._lView[Dt]=e}get destroyed(){return di(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Vt];if(Sa(e)){let t=e[Zs],a=t?t.indexOf(this):-1;a>-1&&(to(e,a),Us(t,a))}this._attachedToViewContainer=!1}Pl(this._lView[he],this._lView)}onDestroy(e){Dv(this._lView,e)}markForCheck(){gh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ce]&=-129}reattach(){hc(this._lView),this._lView[ce]|=128}detectChanges(){this._lView[ce]|=1024,U0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ks(this._lView),t=this._lView[hr];t!==null&&!e&&ph(t,this._lView),F0(this._lView[he],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=e;let t=Ks(this._lView),a=this._lView[hr];a!==null&&!t&&J0(a,this._lView),hc(this._lView)}};function sU(e){return Eo(e._lView)||!!(e._lView[ce]&64)}function lU(e){zd(e._cdRefInjectingView||e._lView)}var vr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",dU),e})(),uU=vr,cU=class extends uU{constructor(t,a,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=a,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,a){return this.createEmbeddedViewImpl(t,a)}createEmbeddedViewImpl(t,a,n){let r=Mo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:a,dehydratedView:n});return new no(r)}};function dU(){return vh(dn(),pe())}function vh(e,t){return e.type&4?new cU(t,e,mi(e,t)):null}function Ao(e,t,a,n,r){let i=e.data[t];if(i===null)i=hU(e,t,a,n,r),y$()&&(i.flags|=32);else if(i.type&64){i.type=a,i.value=n,i.attrs=r;let o=f$();i.injectorIndex=o===null?-1:o.injectorIndex}return hi(i,!0),i}function hU(e,t,a,n,r){let i=Nv(),o=Ov(),l=o?i:i&&i.parent,c=e.data[t]=mU(e,l,a,t,n,r);return pU(e,c,i,o),c}function pU(e,t,a,n){e.firstChild===null&&(e.firstChild=t),a!==null&&(n?a.child==null&&t.parent!==null&&(a.child=t):a.next===null&&(a.next=t,t.prev=a))}function mU(e,t,a,n,r,i){let o=t?t.injectorIndex:-1,l=0;return Tv()&&(l|=128),{type:a,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:r,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 fU=()=>null;function ni(e,t){return fU()}var gU=class{},eb=class{},vU=class{resolveComponentFactory(e){throw Error(`No component factory found for ${bn(e)}.`)}},Xu,Po=(Xu=class{},s(Xu,"NULL",new vU),Xu),Pn=class{},gi=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>bU()),e})();function bU(){let e=pe(),t=dn(),a=Jn(t.index,e);return(Ba(a)?a:e)[vt]}var yU=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),cu={},_U=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,a){a=Tl(a);let n=this.injector.get(e,cu,a);return n!==cu||t===cu?n:this.parentInjector.get(e,t,a)}};function Kp(e,t,a){let n=a?e.styles:null,r=a?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)r=ic(r,l);else if(i==2){let c=l,u=t[++o];n=ic(n,c+": "+u+";")}}a?e.styles=n:e.stylesWithoutHost=n,a?e.classes=r:e.classesWithoutHost=r}function Ut(e,t=Se.Default){let a=pe();if(a===null)return te(e,t);let n=dn();return Kv(n,a,Mt(e),t)}function tb(e,t,a,n,r){let i=n===null?null:{"":-1},o=r(e,a);if(o!==null){let l,c=null,u=null,d=xU(o);d===null?l=o:[l,c,u]=d,kU(e,t,a,l,i,c,u)}i!==null&&n!==null&&wU(a,n,i)}function wU(e,t,a){let n=e.localNames=[];for(let r=0;r<t.length;r+=2){let i=a[t[r+1]];if(i==null)throw new G(-301,!1);n.push(t[r],i)}}function xU(e){let t=null,a=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Qn(l)&&(t=l),l.findHostDirectiveDefs!==null){a=!0;break}}if(!a)return null;let n=null,r=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),r??(r=new Map),i??(i=new Map),EU(o,n,i,r)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,r,i]):null}function EU(e,t,a,n){let r=t.length;e.findHostDirectiveDefs(e,t,n),a.set(e,[r,t.length-1])}function SU(e,t,a){t.componentOffset=a,(e.components??(e.components=[])).push(t.index)}function kU(e,t,a,n,r,i,o){let l=n.length,c=!1;for(let b=0;b<l;b++){let g=n[b];!c&&Qn(g)&&(c=!0,SU(e,a,b)),gc(el(a,t),e,g.type)}OU(a,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=O0(e,t,l,null);l>0&&(a.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(a.mergedAttrs=Ji(a.mergedAttrs,g.hostAttrs),IU(e,a,t,m,g),NU(m,g,r),o!==null&&o.has(g)){let[x,S]=o.get(g);a.directiveToIndex.set(g.type,[m,x+a.directiveStart,S+a.directiveStart])}else(i===null||!i.has(g))&&a.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(a.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(a.flags|=64);let w=g.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(a.index),u=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(a.index),d=!0),m++}CU(e,a,i)}function CU(e,t,a){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(a===null||!a.has(r))Qp(0,t,r,n),Qp(1,t,r,n),Jp(t,n,!1);else{let i=a.get(r);Xp(0,t,i,n),Xp(1,t,i,n),Jp(t,n,!0)}}}function Qp(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),nb(t,i)}}function Xp(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o=r[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),nb(t,o)}}function nb(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Jp(e,t,a){let{attrs:n,inputs:r,hostDirectiveInputs:i}=e;if(n===null||!a&&r===null||a&&i===null||rh(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(!a&&r.hasOwnProperty(c)){let u=r[c];for(let d of u)if(d===t){o??(o=[]),o.push(c,n[l+1]);break}}else if(a&&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 IU(e,t,a,n,r){e.data[n]=r;let i=r.factory||(r.factory=dr(r.type)),o=new Co(i,Qn(r),Ut);e.blueprint[n]=o,a[n]=o,DU(e,t,n,O0(e,a,r.hostVars,hn),r)}function DU(e,t,a,n,r){let i=r.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;TU(o)!=l&&o.push(l),o.push(a,n,i)}}function TU(e){let t=e.length;for(;t>0;){let a=e[--t];if(typeof a=="number"&&a<0)return a}return 0}function NU(e,t,a){if(a){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)a[t.exportAs[n]]=e;Qn(t)&&(a[""]=e)}}function OU(e,t,a){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+a,e.providerIndexes=t}function ab(e,t,a,n,r,i,o,l){let c=t.consts,u=Xi(c,o),d=Ao(t,e,2,n,u);return tb(t,a,d,Xi(c,l),r),d.mergedAttrs=Ji(d.mergedAttrs,d.attrs),d.attrs!==null&&Kp(d,d.attrs,!1),d.mergedAttrs!==null&&Kp(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function rb(e,t){Bv(e,t),_v(t)&&e.queries.elementEnd(t)}var MU=class extends Po{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let a=Kr(t);return new bh(a,this.ngModule)}};function RU(e){return Object.keys(e).map(t=>{let[a,n,r]=e[t],i={propName:a,templateName:t,isSignal:(n&Al.SignalBased)!==0};return r&&(i.transform=r),i})}function AU(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function PU(e,t,a){let n=t instanceof Kn?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new _U(a,n):a}function LU(e){let t=e.get(Pn,null);if(t===null)throw new G(407,!1);let a=e.get(yU,null),n=e.get(Io,null);return{rendererFactory:t,sanitizer:a,changeDetectionScheduler:n}}function FU(e,t){let a=(e.selectors[0][0]||"div").toLowerCase();return I0(t,a,a==="svg"?n$:a==="math"?a$:null)}var bh=class extends eb{constructor(t,a){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=a,this.componentType=t.type,this.selector=h6(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!a}get inputs(){return this.cachedInputs??(this.cachedInputs=RU(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=AU(this.componentDef.outputs)),this.cachedOutputs}create(t,a,n,r){let i=we(null);try{let o=this.componentDef,l=n?["ng-version","19.2.15"]:p6(this.componentDef.selectors[0]),c=ih(0,null,null,1,0,null,null,null,null,[l],null),u=PU(o,r||this.ngModule,t),d=LU(u),m=d.rendererFactory.createRenderer(null,o),b=n?x6(m,n,o.encapsulation,u):FU(o,m),g=oh(null,c,null,512|N0(o),null,null,d,m,u,null,v0(b,u,!0));g[St]=b,Gd(g);let w=null;try{let x=ab(St,c,g,"#host",()=>[this.componentDef],!0,0);b&&(T0(m,b,x),To(b,g)),lh(c,g,x),y0(c,x,g),rb(c,x),a!==void 0&&VU(x,this.ngContentSelectors,a),w=Jn(x.index,g),g[Dt]=w[Dt],ch(c,g,null)}catch(x){throw w!==null&&_c(w),_c(g),x}finally{mr(23),Ud()}return new jU(this.componentType,g)}finally{we(i)}}},jU=class extends gU{constructor(t,a){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=a,this._tNode=Ld(a[he],St),this.location=mi(this._tNode,a),this.instance=Jn(this._tNode.index,a)[Dt],this.hostView=this.changeDetectorRef=new no(a,void 0,!1),this.componentType=t}setInput(t,a){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),a))return;let r=this._rootLView;uh(n,r[he],r,t,a),this.previousInputValues.set(t,a);let i=Jn(n.index,r);gh(i,1)}get injector(){return new Hi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function VU(e,t,a){let n=e.projection=[];for(let r=0;r<t.length;r++){let i=a[r];n.push(i!=null&&i.length?Array.from(i):null)}}var Lo=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",zU),e})();function zU(){let e=dn();return ob(e,pe())}var BU=Lo,ib=class extends BU{constructor(t,a,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=a,this._hostLView=n}get element(){return mi(this._hostTNode,this._hostLView)}get injector(){return new Hi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Kd(this._hostTNode,this._hostLView);if($v(t)){let a=Xs(t,this._hostLView),n=Qs(t),r=a[he].data[n+8];return new Hi(r,a)}else return new Hi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let a=em(this._lContainer);return a!==null&&a[t]||null}get length(){return this._lContainer.length-jt}createEmbeddedView(t,a,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=ni(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(a||{},i,o);return this.insertImpl(l,r,ti(this._hostTNode,o)),l}createComponent(t,a,n,r,i){let o=t&&!Qq(t),l;if(o)l=a;else{let w=a||{};l=w.index,n=w.injector,r=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let c=o?t:new bh(Kr(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let w=(o?u:this.parentInjector).get(Kn,null);w&&(i=w)}let d=Kr(c.componentType??{}),m=ni(this._lContainer,(d==null?void 0:d.id)??null),b=null,g=c.create(u,r,b,i);return this.insertImpl(g.hostView,l,ti(this._hostTNode,m)),g}insert(t,a){return this.insertImpl(t,a,!0)}insertImpl(t,a,n){let r=t._lView;if(i$(r)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=r[Vt],u=new ib(c,c[en],c[Vt]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(a),o=this._lContainer;return Ro(o,r,i,n),t.attachToViewContainerRef(),lv(du(o),i,t),t}move(t,a){return this.insert(t,a)}indexOf(t){let a=em(this._lContainer);return a!==null?a.indexOf(t):-1}remove(t){let a=this._adjustIndex(t,-1),n=to(this._lContainer,a);n&&(Us(du(this._lContainer),a),Pl(n[he],n))}detach(t){let a=this._adjustIndex(t,-1),n=to(this._lContainer,a);return n&&Us(du(this._lContainer),a)!=null?new no(n):null}_adjustIndex(t,a=0){return t??this.length+a}};function em(e){return e[Zs]}function du(e){return e[Zs]||(e[Zs]=[])}function ob(e,t){let a,n=t[e.index];return Sa(n)?a=n:(a=K0(n,t,null,e),t[e.index]=a,sh(t,a)),qU(a,t,e,n),new ib(a,e,t)}function HU(e,t){let a=e[vt],n=a.createComment(""),r=ea(t,e),i=a.parentNode(r);return al(a,i,n,a.nextSibling(r),!1),n}var qU=$U;function $U(e,t,a,n){if(e[pr])return;let r;a.type&8?r=Xn(n):r=HU(t,a),e[pr]=r}var GU=class sb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new sb(this.queryList)}setDirty(){this.queryList.setDirty()}},UU=class lb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let a=t.queries;if(a!==null){let n=t.contentQueries!==null?t.contentQueries[0]:a.length,r=[];for(let i=0;i<n;i++){let o=a.getByIndex(i),l=this.queries[o.indexInDeclarationView];r.push(l.clone())}return new lb(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let a=0;a<this.queries.length;a++)yh(t,a).matches!==null&&this.queries[a].setDirty()}},WU=class{constructor(e,t,a=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=a,typeof e=="string"?this.predicate=a8(e):this.predicate=e}},YU=class ub{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,a)}elementEnd(t){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(t)}embeddedTView(t){let a=null;for(let n=0;n<this.length;n++){let r=a!==null?a.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,a!==null?a.push(i):a=[i])}return a!==null?new ub(a):null}template(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,a)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ZU=class cb{constructor(t,a=-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=a}elementStart(t,a){this.isApplyingToNode(a)&&this.matchTNode(t,a)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,a){this.elementStart(t,a)}embeddedTView(t,a){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,a),new cb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let a=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==a;)n=n.parent;return a===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,a){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let i=n[r];this.matchTNodeWithReadOption(t,a,KU(a,i)),this.matchTNodeWithReadOption(t,a,Ds(a,t,i,!1,!1))}else n===vr?a.type&4&&this.matchTNodeWithReadOption(t,a,-1):this.matchTNodeWithReadOption(t,a,Ds(a,t,n,!1,!1))}matchTNodeWithReadOption(t,a,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===At||r===Lo||r===vr&&a.type&4)this.addMatch(a.index,-2);else{let i=Ds(a,t,r,!1,!1);i!==null&&this.addMatch(a.index,i)}else this.addMatch(a.index,n)}}addMatch(t,a){this.matches===null?this.matches=[t,a]:this.matches.push(t,a)}};function KU(e,t){let a=e.localNames;if(a!==null){for(let n=0;n<a.length;n+=2)if(a[n]===t)return a[n+1]}return null}function QU(e,t){return e.type&11?mi(e,t):e.type&4?vh(e,t):null}function XU(e,t,a,n){return a===-1?QU(t,e):a===-2?JU(e,t,n):eo(e,e[he],a,t)}function JU(e,t,a){if(a===At)return mi(t,e);if(a===vr)return vh(t,e);if(a===Lo)return ob(t,e)}function db(e,t,a,n){let r=t[Mn].queries[n];if(r.matches===null){let i=e.data,o=a.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(XU(t,d,o[c+1],a.metadata.read))}}r.matches=l}return r.matches}function Cc(e,t,a,n){let r=e.queries.getByIndex(a),i=r.matches;if(i!==null){let o=db(e,t,r,a);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=jt;m<d.length;m++){let b=d[m];b[hr]===b[Vt]&&Cc(b[he],b,u,n)}if(d[ei]!==null){let m=d[ei];for(let b=0;b<m.length;b++){let g=m[b];Cc(g[he],g,u,n)}}}}}return n}function e8(e,t){return e[Mn].queries[t].queryList}function t8(e,t,a){let n=new lG((a&4)===4);return l$(e,t,n,n.destroy),(t[Mn]??(t[Mn]=new UU)).queries.push(new GU(n))-1}function n8(e,t,a){let n=yt();return n.firstCreatePass&&(r8(n,new WU(e,t,a),-1),n.staticViewQueries=!0),t8(n,pe(),t)}function a8(e){return e.split(",").map(t=>t.trim())}function r8(e,t,a){e.queries===null&&(e.queries=new YU),e.queries.track(new ZU(t,a))}function yh(e,t){return e.queries.getByIndex(t)}function i8(e,t){let a=e[he],n=yh(a,t);return n.crossesNgTemplate?Cc(a,e,t,[]):db(a,e,n,t)}var ao=class{},hb=class extends ao{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new MU(this));s(this,"instance",null);let a=new Md([...t.providers,{provide:ao,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],t.parent||Nl(),t.debugName,new Set(["environment"]));this.injector=a,t.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function o8(e,t,a=null){return new hb({providers:e,parent:t,debugName:a,runEnvironmentInitializers:!0}).injector}var s8=(()=>{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 r=pv(!1,n.type),i=r.length>0?o8([r],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 ot(e){return wo(()=>{let t=pb(e),a=Wt(se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===o0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(s8).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fa.Emulated,styles:e.styles||Zt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wr("NgStandalone"),mb(a);let n=e.dependencies;return a.directiveDefs=tm(n,!1),a.pipeDefs=tm(n,!0),a.id=h8(a),a})}function l8(e){return Kr(e)||hv(e)}function u8(e){return e!==null}function tn(e){return wo(()=>({type:e.type,bootstrap:e.bootstrap||Zt,declarations:e.declarations||Zt,imports:e.imports||Zt,exports:e.exports||Zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function c8(e,t){if(e==null)return Zn;let a={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n],i,o,l,c;Array.isArray(r)?(l=r[0],i=r[1],o=r[2]??i,c=r[3]||null):(i=r,o=r,l=Al.None,c=null),a[i]=[n,l,c],t[i]=o}return a}function d8(e){if(e==null)return Zn;let t={};for(let a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}function Ht(e){return wo(()=>{let t=pb(e);return mb(t),t})}function Er(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 pb(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||Zn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:c8(e.inputs,t),outputs:d8(e.outputs),debugInfo:null}}function mb(e){var t;(t=e.features)==null||t.forEach(a=>a(e))}function tm(e,t){if(!e)return null;let a=t?zq:l8;return()=>(typeof e=="function"?e():e).map(n=>a(n)).filter(u8)}function h8(e){let t=0,a=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,a,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 r of n.join("|"))t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function p8(e){return Object.getPrototypeOf(e.prototype).constructor}function En(e){let t=p8(e.type),a=!0,n=[e];for(;t;){let r;if(Qn(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new G(903,!1);r=t.ɵdir}if(r){if(a){n.push(r);let o=e;o.inputs=hu(e.inputs),o.declaredInputs=hu(e.declaredInputs),o.outputs=hu(e.outputs);let l=r.hostBindings;l&&b8(e,l);let c=r.viewQuery,u=r.contentQueries;if(c&&g8(e,c),u&&v8(e,u),m8(e,r),vq(e.outputs,r.outputs),Qn(r)&&r.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let i=r.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===En&&(a=!1)}}t=Object.getPrototypeOf(t)}f8(n)}function m8(e,t){for(let a in t.inputs){if(!t.inputs.hasOwnProperty(a)||e.inputs.hasOwnProperty(a))continue;let n=t.inputs[a];n!==void 0&&(e.inputs[a]=n,e.declaredInputs[a]=t.declaredInputs[a])}}function f8(e){let t=0,a=null;for(let n=e.length-1;n>=0;n--){let r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Ji(r.hostAttrs,a=Ji(a,r.hostAttrs))}}function hu(e){return e===Zn?{}:e===Zt?[]:e}function g8(e,t){let a=e.viewQuery;a?e.viewQuery=(n,r)=>{t(n,r),a(n,r)}:e.viewQuery=t}function v8(e,t){let a=e.contentQueries;a?e.contentQueries=(n,r,i)=>{t(n,r,i),a(n,r,i)}:e.contentQueries=t}function b8(e,t){let a=e.hostBindings;a?e.hostBindings=(n,r)=>{t(n,r),a(n,r)}:e.hostBindings=t}function y8(e){let t=a=>{let n=Array.isArray(e);a.hostDirectives===null?(a.findHostDirectiveDefs=fb,a.hostDirectives=n?e.map(Ic):[e]):n?a.hostDirectives.unshift(...e.map(Ic)):a.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function fb(e,t,a){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let r=n();for(let i of r)nm(Ic(i),t,a)}else nm(n,t,a)}function nm(e,t,a){let n=hv(e.directive);_8(n.declaredInputs,e.inputs),fb(n,t,a),a.set(n,e),t.push(n)}function Ic(e){return typeof e=="function"?{directive:Mt(e),inputs:Zn,outputs:Zn}:{directive:Mt(e.directive),inputs:am(e.inputs),outputs:am(e.outputs)}}function am(e){if(e===void 0||e.length===0)return Zn;let t={};for(let a=0;a<e.length;a+=2)t[e[a]]=e[a+1];return t}function _8(e,t){for(let a in t)if(t.hasOwnProperty(a)){let n=t[a],r=e[a];e[n]=r}}function gb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Fl(e,t,a){return e[t]=a}function vb(e,t){return e[t]}function wn(e,t,a){let n=e[t];return Object.is(n,a)?!1:(e[t]=a,!0)}function il(e,t,a,n){let r=wn(e,t,a);return wn(e,t+1,n)||r}function w8(e,t,a,n,r,i){let o=il(e,t,a,n);return il(e,t+2,r,i)||o}function x8(e,t,a,n,r,i,o,l,c){let u=t.consts,d=Ao(t,e,4,o||null,l||null);tb(t,a,d,Xi(u,c),L0),d.mergedAttrs=Ji(d.mergedAttrs,d.attrs),Bv(t,d);let m=d.tView=ih(2,d,n,r,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 bb(e,t,a,n,r,i,o,l,c,u){let d=a+St,m=t.firstCreatePass?x8(d,t,e,n,r,i,o,l,c):t.data[d];hi(m,!1);let b=E8(t,e);Yd()&&mh(t,e,b,m),To(b,e);let g=K0(b,e,b,m);return e[d]=g,sh(e,g),Pd(m)&&lh(t,e,m),c!=null&&A0(e,m,u),m}function ct(e,t,a,n,r,i,o,l){let c=pe(),u=yt(),d=Xi(u.consts,i);return bb(c,u,e,t,a,n,r,d,o,l),ct}var E8=S8;function S8(e,t,a,n){return Zd(!0),t[vt].createComment("")}var k8=new K(""),C8=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new I8}));let e=t;return e})(),I8=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,a=this.queues.get(t);a.has(e)&&(a.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let a=this.queues.get(t);a.has(e)||(this.queuedEffectCount++,a.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 _h(e){return!!e&&typeof e.then=="function"}function yb(e){return!!e&&typeof e.subscribe=="function"}var D8=new K(""),_b=(()=>{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,r)=>{this.resolve=n,this.reject=r}));s(this,"appInits",C(D8,{optional:!0})??[]);s(this,"injector",C(rt))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Rd(this.injector,i);if(_h(o))n.push(o);else if(yb(o)){let l=new Promise((c,u)=>{o.subscribe({complete:c,error:u})});n.push(l)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),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})(),T8=new K("");function N8(){uH(()=>{throw new G(600,!1)})}function O8(e){return e.isBoundToModule}var M8=10,Ha=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(tG));s(this,"afterRenderManager",C(m0));s(this,"zonelessEnabled",C(e0));s(this,"rootEffectScheduler",C(C8));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(Do).hasPendingTasks.pipe(Ot(n=>!n)));s(this,"_injector",C(Kn));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var r;if(this._runningTick)throw new G(101,!1);let n=we(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(r=this.tracingSnapshot)==null||r.dispose(),this.tracingSnapshot=null,we(n),this.afterTick.next()}});C(No,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=rt.NULL){let o=n instanceof eb;if(!this._injector.get(_b).done){let g="";throw new G(405,g)}let l;o?l=n:l=this._injector.get(Po).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let c=O8(l)?void 0:this._injector.get(ao),u=r||l.selector,d=l.create(i,[],u,c),m=d.location.nativeElement,b=d.injector.get(k8,null);return b==null||b.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),Ts(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(th.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Pn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<M8;)this.synchronizeOnce()}synchronizeOnce(){var n,r,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)R8(c,u,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(r=(n=this._rendererFactory)==null?void 0:n.begin)==null||r.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})=>Eo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ts(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(T8,[]).forEach(r=>r(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),()=>Ts(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new G(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 Ts(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}function R8(e,t,a,n){!a&&!Eo(e)||U0(e,t,a&&!n?0:1)}function Ln(e,t,a,n){let r=pe(),i=pi();if(wn(r,i,t)){yt();let o=Wd();D6(o,r,e,t,a,n)}return Ln}function A8(e,t,a,n){return wn(e,pi(),a)?t+Zr(a)+n:hn}function P8(e,t,a,n,r,i){let o=v$(),l=il(e,o,a,r);return qd(2),l?t+Zr(a)+n+Zr(r)+i:hn}function as(e,t){return e<<17|t<<2}function br(e){return e>>17&32767}function L8(e){return(e&2)==2}function F8(e,t){return e&131071|t<<17}function Dc(e){return e|2}function ai(e){return(e&131068)>>2}function pu(e,t){return e&-131069|t<<2}function j8(e){return(e&1)===1}function Tc(e){return e|1}function V8(e,t,a,n,r,i){let o=t.classBindings,l=br(o),c=ai(o);e[n]=a;let u=!1,d;if(Array.isArray(a)){let m=a;d=m[1],(d===null||xo(m,d)>0)&&(u=!0)}else d=a;if(r)if(c!==0){let m=br(e[l+1]);e[n+1]=as(m,l),m!==0&&(e[m+1]=pu(e[m+1],n)),e[l+1]=F8(e[l+1],n)}else e[n+1]=as(l,0),l!==0&&(e[l+1]=pu(e[l+1],n)),l=n;else e[n+1]=as(c,0),l===0?l=n:e[c+1]=pu(e[c+1],n),c=n;u&&(e[n+1]=Dc(e[n+1])),rm(e,d,n,!0),rm(e,d,n,!1),z8(t,d,e,n),o=as(l,c),t.classBindings=o}function z8(e,t,a,n,r){let i=e.residualClasses;i!=null&&typeof t=="string"&&xo(i,t)>=0&&(a[n+1]=Tc(a[n+1]))}function rm(e,t,a,n){let r=e[a+1],i=t===null,o=n?br(r):ai(r),l=!1;for(;o!==0&&(l===!1||i);){let c=e[o],u=e[o+1];B8(c,t)&&(l=!0,e[o+1]=n?Tc(u):Dc(u)),o=n?br(u):ai(u)}l&&(e[a+1]=n?Dc(r):Tc(r))}function B8(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xo(e,t)>=0:!1}var Nn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function H8(e){return e.substring(Nn.key,Nn.keyEnd)}function q8(e){return $8(e),wb(e,xb(e,0,Nn.textEnd))}function wb(e,t){let a=Nn.textEnd;return a===t?-1:(t=Nn.keyEnd=G8(e,Nn.key=t,a),xb(e,t,a))}function $8(e){Nn.key=0,Nn.keyEnd=0,Nn.value=0,Nn.valueEnd=0,Nn.textEnd=e.length}function xb(e,t,a){for(;t<a&&e.charCodeAt(t)<=32;)t++;return t}function G8(e,t,a){for(;t<a&&e.charCodeAt(t)>32;)t++;return t}function Kt(e,t,a){let n=pe(),r=pi();if(wn(n,r,t)){let i=yt(),o=Wd();P0(i,o,n,e,t,n[vt],a,!1)}return Kt}function Nc(e,t,a,n,r){uh(t,e,a,r?"class":"style",n)}function Rn(e,t){return W8(e,t,null,!0),Rn}function jl(e){Y8(eW,U8,e,!0)}function U8(e,t){for(let a=q8(t);a>=0;a=wb(t,a))Dd(e,H8(t),!0)}function W8(e,t,a,n){let r=pe(),i=yt(),o=qd(2);if(i.firstUpdatePass&&Sb(i,e,o,n),t!==hn&&wn(r,o,t)){let l=i.data[ta()];kb(i,l,r,r[vt],e,r[o+1]=nW(t),n,o)}}function Y8(e,t,a,n){let r=yt(),i=qd(2);r.firstUpdatePass&&Sb(r,null,i,n);let o=pe();if(a!==hn&&wn(o,i,a)){let l=r.data[ta()];if(Cb(l)&&!Eb(r,i)){let c=l.classesWithoutHost;c!==null&&(a=ic(c,a||"")),Nc(r,l,o,a,n)}else tW(r,l,o,o[vt],o[i+1],o[i+1]=J8(e,t,a),n,i)}}function Eb(e,t){return t>=e.expandoStartIndex}function Sb(e,t,a,n){let r=e.data;if(r[a+1]===null){let i=r[ta()],o=Eb(e,a);Cb(i)&&t===null&&!o&&(t=!1),t=Z8(r,i,t,n),V8(r,i,t,a,o)}}function Z8(e,t,a,n){let r=x$(e),i=t.residualClasses;if(r===null)t.classBindings===0&&(a=mu(null,e,t,a),a=ro(a,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==r)if(a=mu(r,e,t,a),i===null){let l=K8(e,t);l!==void 0&&Array.isArray(l)&&(l=mu(null,e,t,l[1]),l=ro(l,t.attrs),Q8(e,t,n,l))}else i=X8(e,t)}return i!==void 0&&(t.residualClasses=i),a}function K8(e,t,a){let n=t.classBindings;if(ai(n)!==0)return e[br(n)]}function Q8(e,t,a,n){let r=t.classBindings;e[br(r)]=n}function X8(e,t,a){let n,r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<r;i++){let o=e[i].hostAttrs;n=ro(n,o)}return ro(n,t.attrs)}function mu(e,t,a,n,r){let i=null,o=a.directiveEnd,l=a.directiveStylingLast;for(l===-1?l=a.directiveStart:l++;l<o&&(i=t[l],n=ro(n,i.hostAttrs),i!==e);)l++;return e!==null&&(a.directiveStylingLast=l),n}function ro(e,t,a){let n=1,r=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?r=o:r===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Dd(e,o,!0))}return e===void 0?null:e}function J8(e,t,a){if(a==null||a==="")return Zt;let n=[],r=Ma(a);if(Array.isArray(r))for(let i=0;i<r.length;i++)e(n,r[i],!0);else if(typeof r=="object")for(let i in r)r.hasOwnProperty(i)&&e(n,i,r[i]);else typeof r=="string"&&t(n,r);return n}function eW(e,t,a){let n=String(t);n!==""&&!n.includes(" ")&&Dd(e,n,a)}function tW(e,t,a,n,r,i,o,l){r===hn&&(r=Zt);let c=0,u=0,d=0<r.length?r[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let b=c<r.length?r[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&&kb(e,t,a,n,w,x,o,l),d=c<r.length?r[c]:null,m=u<i.length?i[u]:null}}function kb(e,t,a,n,r,i,o,l){if(!(t.type&3))return;let c=e.data,u=c[l+1],d=j8(u)?im(c,t,a,r,ai(u)):void 0;if(!ol(d)){ol(i)||L8(u)&&(i=im(c,null,a,r,l));let m=Cv(ta(),a);U6(n,o,m,r,i)}}function im(e,t,a,n,r,i){let o=t===null,l;for(;r>0;){let c=e[r],u=Array.isArray(c),d=u?c[1]:c,m=d===null,b=a[r+1];b===hn&&(b=m?Zt:void 0);let g=m?ru(b,n):d===n?b:void 0;if(u&&!ol(g)&&(g=ru(c,n)),ol(g)&&(l=g,o))return l;let w=e[r+1];r=o?br(w):ai(w)}if(t!==null){let c=t.residualClasses;c!=null&&(l=ru(c,n))}return l}function ol(e){return e!==void 0}function nW(e,t){return e==null||e===""||typeof e=="object"&&(e=bn(Ma(e))),e}function Cb(e,t){return(e.flags&8)!==0}var aW=class{destroy(e){}updateValue(e,t){}swap(e,t){let a=Math.min(e,t),n=Math.max(e,t),r=this.detach(n);if(n-a>1){let i=this.detach(a);this.attach(a,r),this.attach(n,i)}else this.attach(a,r)}move(e,t){this.attach(t,this.detach(e))}};function fu(e,t,a,n,r){return e===a&&Object.is(t,n)?1:Object.is(r(e,t),r(a,n))?-1:0}function rW(e,t,a){let n,r,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=fu(i,c,i,u,a);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=fu(o,m,l,b,a);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=a(i,c),x=a(o,m),S=a(i,u);if(Object.is(S,x)){let T=a(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 lm),r??(r=sm(e,i,o,a)),Oc(e,n,i,S))e.updateValue(i,u),i++,o++;else if(r.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;)om(e,n,a,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=fu(i,u,i,d,a);if(m!==0)m<0&&e.updateValue(i,d),i++,c=l.next();else{n??(n=new lm),r??(r=sm(e,i,o,a));let b=a(i,d);if(Oc(e,n,i,b))e.updateValue(i,d),i++,o++,c=l.next();else if(!r.has(b))e.attach(i,e.create(i,d)),i++,o++,c=l.next();else{let g=a(i,u);n.set(g,e.detach(i)),o--}}}for(;!c.done;)om(e,n,a,e.length,c.value),c=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Oc(e,t,a,n){return t!==void 0&&t.has(n)?(e.attach(a,t.get(n)),t.delete(n),!0):!1}function om(e,t,a,n,r){if(Oc(e,t,n,a(n,r)))e.updateValue(n,r);else{let i=e.create(n,r);e.attach(n,i)}}function sm(e,t,a,n){let r=new Set;for(let i=t;i<=a;i++)r.add(n(i,e.at(i)));return r}var lm=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 a=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(a);)a=n.get(a);n.set(a,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,a]of this.kvMap)if(e(a,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(a);)a=n.get(a),e(a,t)}}};function It(e,t){wr("NgControlFlow");let a=pe(),n=pi(),r=a[n]!==hn?a[n]:-1,i=r!==-1?sl(a,St+r):void 0,o=0;if(wn(a,n,e)){let l=we(null);try{if(i!==void 0&&X0(i,o),e!==-1){let c=St+e,u=sl(a,c),d=Mc(a[he],c),m=ni(u,d.tView.ssrId),b=Mo(a,d,t,{dehydratedView:m});Ro(u,b,o,ti(d,m))}}finally{we(l)}}else if(i!==void 0){let l=Q0(i,o);l!==void 0&&(l[Dt]=t)}}var iW=class{constructor(e,t,a){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=a}get $count(){return this.lContainer.length-jt}};function Ib(e){return e}function oW(e,t){return t}var sW=class{constructor(e,t,a){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=a}};function wh(e,t,a,n,r,i,o,l,c,u,d,m,b){wr("NgControlFlow");let g=pe(),w=yt(),x=c!==void 0,S=pe(),T=o,A=new sW(x,T);S[St+e]=A,bb(g,w,e+1,t,a,n,r,Xi(w.consts,i))}var lW=class extends aW{constructor(t,a,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=a,this.templateTNode=n}get length(){return this.lContainer.length-jt}at(t){return this.getLView(t)[Dt].$implicit}attach(t,a){let n=a[Xr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Ro(this.lContainer,a,t,ti(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),uW(this.lContainer,t)}create(t,a){var i;let n=ni(this.lContainer,this.templateTNode.tView.ssrId),r=Mo(this.hostLView,this.templateTNode,new iW(this.lContainer,a,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),r}destroy(t){var a;Pl(t[he],t),(a=this.operationsCounter)==null||a.recordDestroy()}updateValue(t,a){this.getLView(t)[Dt].$implicit=a}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)[Dt].$index=t}getLView(t){return cW(this.lContainer,t)}};function xh(e){let t=we(null),a=ta();try{let n=pe(),r=n[he],i=n[a],o=a+1,l=sl(n,o);if(i.liveCollection===void 0){let u=Mc(r,o);i.liveCollection=new lW(l,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(rW(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=pi(),d=c.length===0;if(wn(n,u,d)){let m=a+2,b=sl(n,m);if(d){let g=Mc(r,m),w=ni(b,g.tView.ssrId),x=Mo(n,g,void 0,{dehydratedView:w});Ro(b,x,0,ti(g,w))}else X0(b,0)}}}finally{we(t)}}function sl(e,t){return e[t]}function uW(e,t){return to(e,t)}function cW(e,t){return Q0(e,t)}function Mc(e,t){return Ld(e,t)}function re(e,t,a,n){let r=pe(),i=yt(),o=St+e,l=r[vt],c=i.firstCreatePass?ab(o,i,r,t,L0,h$(),a,n):i.data[o],u=dW(i,r,c,l,t);r[o]=u;let d=Pd(c);return hi(c,!0),T0(l,u,c),!hh(c)&&Yd()&&mh(i,r,u,c),(u$()===0||d)&&To(u,r),c$(),d&&(lh(i,r,c),y0(i,c,r)),n!==null&&A0(r,c),re}function ae(){let e=dn();Ov()?Mv():(e=e.parent,hi(e,!1));let t=e;p$(t)&&m$(),d$();let a=yt();return a.firstCreatePass&&rb(a,t),t.classesWithoutHost!=null&&D$(t)&&Nc(a,t,pe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&T$(t)&&Nc(a,t,pe(),t.stylesWithoutHost,!1),ae}function un(e,t,a,n){return re(e,t,a,n),ae(),un}var dW=(e,t,a,n,r,i)=>(Zd(!0),I0(n,r,k$()));function Fo(){return pe()}function Eh(e,t,a){let n=pe(),r=pi();if(wn(n,r,t)){let i=yt(),o=Wd();P0(i,o,n,e,t,n[vt],a,!0)}return Eh}var Ya=void 0;function hW(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var pW=["en",[["a","p"],["AM","PM"],Ya],[["AM","PM"],Ya,Ya],[["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"]],Ya,[["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"]],Ya,[["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}",Ya,"{1} 'at' {0}",Ya],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",hW],qi={};function mW(e,t,a){typeof t!="string"&&(a=t,t=e[bt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),qi[t]=e,a&&(qi[t][bt.ExtraData]=a)}function Fn(e){let t=fW(e),a=um(t);if(a)return a;let n=t.split("-")[0];if(a=um(n),a)return a;if(n==="en")return pW;throw new G(701,!1)}function um(e){return e in qi||(qi[e]=Pr.ng&&Pr.ng.common&&Pr.ng.common.locales&&Pr.ng.common.locales[e]),qi[e]}var bt=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}(bt||{});function fW(e){return e.toLowerCase().replace(/_/g,"-")}var Rc="en-US";function gW(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function cm(e,t,a){return function n(r){if(r===Function)return a;let i=ci(e)?Jn(e.index,t):t;gh(i,5);let o=t[Dt],l=dm(t,o,a,r),c=n.__ngNextListenerFn__;for(;c;)l=dm(t,o,c,r)&&l,c=c.__ngNextListenerFn__;return l}}function dm(e,t,a,n){let r=we(null);try{return mr(6,t,a),a(n)!==!1}catch(i){return vW(e,i),!1}finally{we(r)}}function vW(e,t){let a=e[Jr],n=a?a.get(An,null):null;n&&n.handleError(t)}function hm(e,t,a,n,r,i){let o=t[a],l=t[he],c=l.data[a].outputs[n],u=o[c],d=l.firstCreatePass?Hd(l):null,m=Bd(t),b=u.subscribe(i),g=m.length;m.push(i,b),d&&d.push(r,e.index,g,-(g+1))}function $a(e,t,a,n){let r=pe(),i=yt(),o=dn();return yW(i,r,r[vt],o,e,t,n),$a}function bW(e,t,a,n){let r=e.cleanup;if(r!=null)for(let i=0;i<r.length-1;i+=2){let o=r[i];if(o===a&&r[i+1]===n){let l=t[qr],c=r[i+2];return l.length>c?l[c]:null}typeof o=="string"&&(i+=2)}return null}function yW(e,t,a,n,r,i,o){var m,b;let l=Pd(n),c=e.firstCreatePass?Hd(e):null,u=Bd(t),d=!0;if(n.type&3||o){let g=ea(n,t),w=o?o(g):g,x=u.length,S=o?A=>o(Xn(A[n.index])):n.index,T=null;if(!o&&l&&(T=bW(e,t,r,n.index)),T!==null){let A=T.__ngLastListenerFn__||T;A.__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,d=!1}else{i=cm(n,t,i);let A=a.listen(w,r,i);u.push(i,A),c&&c.push(r,S,x,x+1)}}else i=cm(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[r],w=(b=n.hostDirectiveOutputs)==null?void 0:b[r];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],T=w[x+1];hm(n,t,S,T,r,i)}if(g&&g.length)for(let x of g)hm(n,t,x,r,r,i)}}function Re(e=1){return S$(e)}function _W(e,t){let a=null,n=s6(e);for(let r=0;r<t.length;r++){let i=t[r];if(i==="*"){a=r;continue}if(n===null?C0(e,i,!0):c6(n,i))return r}return a}function vi(e){let t=pe()[_n][en];if(!t.projection){let a=e?e.length:1,n=t.projection=Fq(a,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?_W(i,e):0;o!==null&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i)}i=i.next}}}function Yn(e,t=0,a,n,r,i){let o=pe(),l=yt(),c=null,u=Ao(l,St+e,16,null,null);u.projection===null&&(u.projection=t),Mv();let d=!o[Xr]||Tv();o[_n][en].projection[u.projection]===null&&c!==null?wW(o,l,c):d&&!hh(u)&&$6(l,o,u)}function wW(e,t,a){let n=St+a,r=t.data[n],i=e[n],o=ni(i,r.tView.ssrId),l=Mo(e,r,void 0,{dehydratedView:o});Ro(i,l,0,ti(r,o))}function Ac(e,t,a){n8(e,t,a)}function Pc(e){let t=pe(),a=yt(),n=Av();$d(n+1);let r=yh(a,n);if(e.dirty&&r$(t)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let i=i8(t,n);e.reset(i,iG),e.notifyOnChanges()}return!0}return!1}function Lc(){return e8(pe(),Av())}function _e(e,t=""){let a=pe(),n=yt(),r=e+St,i=n.firstCreatePass?Ao(n,r,1,t,null):n.data[r],o=xW(n,a,i,t);a[r]=o,Yd()&&mh(n,a,o,i),hi(i,!1)}var xW=(e,t,a,n,r)=>(Zd(!0),m6(t[vt],n));function Xe(e){return Qt("",e,""),Xe}function Qt(e,t,a){let n=pe(),r=A8(n,e,t,a);return r!==hn&&Db(n,ta(),r),Qt}function Sh(e,t,a,n,r){let i=pe(),o=P8(i,e,t,a,n,r);return o!==hn&&Db(i,ta(),o),Sh}function Db(e,t,a){let n=Cv(t,e);f6(e[vt],n,a)}var Tb={};function Nb(e){let t=yt(),a=pe(),n=e+St,r=Ao(t,n,128,null,null);return hi(r,!1),jd(t,a,n,Tb),Nb}function pm(e){wr("NgLet");let t=yt(),a=pe(),n=ta();return jd(t,a,n,e),e}function mm(e){let t=g$(),a=Fd(t,St+e);if(a===Tb)throw new G(314,!1);return a}function EW(e,t,a){let n=yt();if(n.firstCreatePass){let r=Qn(e);Fc(a,n.data,n.blueprint,r,!0),Fc(t,n.data,n.blueprint,r,!1)}}function Fc(e,t,a,n,r){if(e=Mt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fc(e[i],t,a,n,r);else{let i=yt(),o=pe(),l=dn(),c=Qr(e)?e:Mt(e.provide),u=gv(e),d=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Qr(e)||!e.multi){let g=new Co(u,r,Ut),w=vu(c,t,r?d:d+b,m);w===-1?(gc(el(l,o),i,c),gu(i,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(g),o.push(g)):(a[w]=g,o[w]=g)}else{let g=vu(c,t,d+b,m),w=vu(c,t,d,d+b),x=g>=0&&a[g],S=w>=0&&a[w];if(r&&!S||!r&&!x){gc(el(l,o),i,c);let T=CW(r?kW:SW,a.length,r,n,u);!r&&S&&(a[w].providerFactory=T),gu(i,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(T),o.push(T)}else{let T=Ob(a[r?w:g],u,!r&&n);gu(i,e,g>-1?g:w,T)}!r&&n&&S&&a[w].componentProviders++}}}function gu(e,t,a,n){let r=Qr(t),i=Gq(t);if(r||i){let o=(i?Mt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let c=l.indexOf(a);c===-1?l.push(a,[n,o]):l[c+1].push(n,o)}else l.push(a,o)}}}function Ob(e,t,a){return a&&e.componentProviders++,e.multi.push(t)-1}function vu(e,t,a,n){for(let r=a;r<n;r++)if(t[r]===e)return r;return-1}function SW(e,t,a,n,r){return jc(this.multi,[])}function kW(e,t,a,n,r){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=eo(n,n[he],this.providerFactory.index,r);o=c.slice(0,l),jc(i,o);for(let u=l;u<c.length;u++)o.push(c[u])}else o=[],jc(i,o);return o}function jc(e,t){for(let a=0;a<e.length;a++){let n=e[a];t.push(n())}return t}function CW(e,t,a,n,r){let i=new Co(e,a,Ut);return i.multi=[],i.index=t,i.componentProviders=0,Ob(i,r,n&&!a),i}function IW(e,t=[]){return a=>{a.providersResolver=(n,r)=>EW(n,r?r(e):e,t)}}function DW(e,t,a){let n=ko()+e,r=pe();return r[n]===hn?Fl(r,n,t()):vb(r,n)}function TW(e,t,a,n){return Rb(pe(),ko(),e,t,a,n)}function NW(e,t,a,n,r,i,o,l){let c=ko()+e,u=pe(),d=w8(u,c,a,n,r,i);return wn(u,c+4,o)||d?Fl(u,c+5,t(a,n,r,i,o)):vb(u,c+5)}function Mb(e,t){let a=e[t];return a===hn?void 0:a}function Rb(e,t,a,n,r,i){let o=t+a;return wn(e,o,r)?Fl(e,o+1,i?n.call(i,r):n(r)):Mb(e,o+1)}function OW(e,t,a,n,r,i,o){let l=t+a;return il(e,l,r,i)?Fl(e,l+2,o?n.call(o,r,i):n(r,i)):Mb(e,l+2)}function Ie(e,t){let a=yt(),n,r=e+St;a.firstCreatePass?(n=MW(t,a.pipeRegistry),a.data[r]=n,n.onDestroy&&(a.destroyHooks??(a.destroyHooks=[])).push(r,n.onDestroy)):n=a.data[r];let i=n.factory||(n.factory=dr(n.type)),o=Yt(Ut);try{let l=Js(!1),c=i();return Js(l),jd(a,pe(),r,c),c}finally{Yt(o)}}function MW(e,t){if(t)for(let a=t.length-1;a>=0;a--){let n=t[a];if(e===n.name)return n}}function Oe(e,t,a){let n=e+St,r=pe(),i=Fd(r,n);return Pb(r,n)?Rb(r,ko(),t,i.transform,a,i):i.transform(a)}function Ab(e,t,a,n){let r=e+St,i=pe(),o=Fd(i,r);return Pb(i,r)?OW(i,ko(),t,o.transform,a,n,o):o.transform(a,n)}function Pb(e,t){return e[he].data[t].pure}var RW=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(".")}},fm=new RW("19.2.15"),AW=(()=>{const t=class t{constructor(){s(this,"zone",C(je));s(this,"changeDetectionScheduler",C(Io));s(this,"applicationRef",C(Ha));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 PW({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:a}){return e??(e=()=>new je(Wt(se({},LW()),{scheduleInRootZone:a}))),[{provide:je,useFactory:e},{provide:Ws,multi:!0,useFactory:()=>{let n=C(AW,{optional:!0});return()=>n.initialize()}},{provide:Ws,multi:!0,useFactory:()=>{let n=C(FW);return()=>{n.initialize()}}},t===!0?{provide:t0,useValue:!0}:[],{provide:n0,useValue:a??Jv}]}function LW(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var FW=(()=>{const t=class t{constructor(){s(this,"subscription",new ln);s(this,"initialized",!1);s(this,"zone",C(je));s(this,"pendingTasks",C(Do))}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})(),jW=(()=>{var t;const a=class a{constructor(){s(this,"appRef",C(Ha));s(this,"taskService",C(Do));s(this,"ngZone",C(je));s(this,"zonelessEnabled",C(e0));s(this,"tracing",C(No,{optional:!0}));s(this,"disableScheduling",C(t0,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new ln);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(nl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(n0,{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 X$||!this.zoneIsDefined))}notify(r){var l;if(!this.zonelessEnabled&&r===5)return;let i=!1;switch(r){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?Fp:a0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(nl+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 r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Fp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var r;if(this.runningTick=!1,(r=this.cancelScheduledCallback)==null||r.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(a,"ɵfac",function(r){return new(r||a)}),s(a,"ɵprov",V({token:a,factory:a.ɵfac,providedIn:"root"}));let e=a;return e})();function VW(){return typeof $localize<"u"&&$localize.locale||Rc}var Vl=new K("",{providedIn:"root",factory:()=>C(Vl,Se.Optional|Se.SkipSelf)||VW()}),Vc=new K(""),zW=new K("");function Ci(e){return!e.moduleRef}function BW(e){let t=Ci(e)?e.r3Injector:e.moduleRef.injector,a=t.get(je);return a.run(()=>{Ci(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(An,null),r;if(a.runOutsideAngular(()=>{r=a.onError.subscribe({next:i=>{n.handleError(i)}})}),Ci(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Vc);o.add(i),t.onDestroy(()=>{r.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Vc);o.add(i),e.moduleRef.onDestroy(()=>{Ts(e.allPlatformModules,e.moduleRef),r.unsubscribe(),o.delete(i)})}return qW(n,a,()=>{let i=t.get(_b);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Vl,Rc);if(gW(o||Rc),!t.get(zW,!0))return Ci(e)?t.get(Ha):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ci(e)){let l=t.get(Ha);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return HW(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function HW(e,t){let a=e.injector.get(Ha);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>a.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(a);else throw new G(-403,!1);t.push(e)}function qW(e,t,a){try{let n=a();return _h(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Ns=null;function $W(e=[],t){return rt.create({name:t,providers:[{provide:Od,useValue:"platform"},{provide:Vc,useValue:new Set([()=>Ns=null])},...e]})}function GW(e=[]){if(Ns)return Ns;let t=$W(e);return Ns=t,N8(),UW(t),t}function UW(e){let t=e.get(d0,null);Rd(e,()=>{t==null||t.forEach(a=>a())})}function WW(){return!1}var bi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",YW),e})();function YW(e){return ZW(dn(),pe(),(e&16)===16)}function ZW(e,t,a){if(ci(e)&&!a){let n=Jn(e.index,t);return new no(n,n)}else if(e.type&175){let n=t[_n];return new no(n,t)}return null}var KW=class{constructor(){}supports(e){return e instanceof Map||gb(e)}create(){return new QW}},QW=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||gb(e)))throw new G(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(a,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,a),this._appendAfter=t,t=t._next;else{let r=this._getOrCreateRecordForKey(n,a);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let a=t;a!==null;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let a=e._prev;return t._next=e,t._prev=a,e._prev=t,a&&(a._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 r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}let a=new XW(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}_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(a=>t(e[a],a))}},XW=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 gm(){return new Lb([new KW])}var Lb=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||gm()),deps:[[t,new Aq,new Rq]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new G(901,!1)}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:gm}));let e=t;return e})();function JW(e){let{rootComponent:t,appProviders:a,platformProviders:n,platformRef:r}=e;try{let i=(r==null?void 0:r.injector)??GW(n),o=[PW({}),{provide:Io,useExisting:jW},...a||[]],l=new hb({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return BW({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Li(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Fb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function zc(e){return gH(e)}function ll(e,t){return oH(e)}var eY=e=>e;function tY(e,t){if(typeof e=="function"){let a=vp(e,eY,t==null?void 0:t.equal);return vm(a)}else{let a=vp(e.source,e.computation,e.equal);return vm(a)}}function vm(e){let t=e[cr],a=e;return a.set=n=>pH(t,n),a.update=n=>mH(t,n),a.asReadonly=oG.bind(e),a}function jb(e,t){let a=Kr(e),n=t.elementInjector||Nl();return new bh(a).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var nY={schedule(e,t){let a=setTimeout(e,t);return()=>clearTimeout(a)}};function aY(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function rY(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var bu;function iY(e,t){if(!bu){let a=Element.prototype;bu=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?bu.call(e,t):!1}function oY(e){let t={};return e.forEach(({propName:a,templateName:n,transform:r})=>{t[aY(n)]=[a,r]}),t}function sY(e,t){return t.get(Po).resolveComponentFactory(e).inputs}function lY(e,t){let a=e.childNodes,n=t.map(()=>[]),r=-1;t.some((i,o)=>i==="*"?(r=o,!0):!1);for(let i=0,o=a.length;i<o;++i){let l=a[i],c=uY(l,t,r);c!==-1&&n[c].push(l)}return n}function uY(e,t,a){let n=a;return rY(e)&&t.some((r,i)=>r!=="*"&&iY(e,r)?(n=i,!0):!1),n}var cY=10,dY=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(Po).resolveComponentFactory(e);for(let a of this.componentFactory.inputs)this.inputMap.set(a.propName,a.templateName)}create(e){return new hY(this.componentFactory,e,this.inputMap)}},hY=class{constructor(e,t,a){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new bg(1));s(this,"events",this.eventEmitters.pipe(qs(e=>xd(...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=a,this.ngZone=this.injector.get(je),this.appRef=this.injector.get(Ha),this.cdScheduler=t.get(Io),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=nY.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},cY))})}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),sU(this.componentRef.hostView)&&(lU(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=rt.create({providers:[],parent:this.injector}),a=lY(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,a,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:a,templateName:n})=>{let r=e.instance[a];return new tt(i=>{let o=r.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()}},pY=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function mY(e,t){let a=sY(e,t.injector),n=t.strategyFactory||new dY(e,t.injector),r=oY(a);class i extends pY{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);a.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]=r[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(r)),a.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(""),Vb=null;function $i(){return Vb}function fY(e){Vb??(Vb=e)}var gY=class{},zb=(()=>{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(vY),providedIn:"platform"}));let e=t;return e})(),vY=(()=>{const t=class t extends zb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $i().getBaseHref(this._doc)}onPopState(r){let i=$i().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=$i().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵprov",V({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Bb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function bm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function or(e){return e&&e[0]!=="?"?`?${e}`:e}var kh=(()=>{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(yY),providedIn:"root"}));let e=t;return e})(),bY=new K(""),yY=(()=>{const t=class t extends kh{constructor(r,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=r,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=C(Le).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Bb(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+or(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,l){let c=this.prepareExternalUrl(o+or(l));this._platformLocation.pushState(r,i,c)}replaceState(r,i,o,l){let c=this.prepareExternalUrl(o+or(l));this._platformLocation.replaceState(r,i,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,r)}};s(t,"ɵfac",function(r){return new(r||t)(te(zb),te(bY,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Hb=(()=>{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 r=this._locationStrategy.getBaseHref();this._basePath=xY(bm(ym(r))),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,r=""){return this.path()==this.normalize(n+or(r))}normalize(n){return t.stripTrailingSlash(wY(this._basePath,ym(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+or(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+or(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,i;(i=(r=this._locationStrategy).historyGo)==null||i.call(r,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{var i;let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",or),s(t,"joinWithSlash",Bb),s(t,"stripTrailingSlash",bm),s(t,"ɵfac",function(n){return new(n||t)(te(kh))}),s(t,"ɵprov",V({token:t,factory:()=>_Y(),providedIn:"root"}));let e=t;return e})();function _Y(){return new Hb(te(kh))}function wY(e,t){if(!e||!t.startsWith(e))return t;let a=t.substring(e.length);return a===""||["/",";","?","#"].includes(a[0])?a:t}function ym(e){return e.replace(/\/index.html$/,"")}function xY(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var $t=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}($t||{}),Be=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Be||{}),nn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(nn||{}),zl={MinusSign:5};function EY(e){return Fn(e)[bt.LocaleId]}function SY(e,t,a){let n=Fn(e),r=[n[bt.DayPeriodsFormat],n[bt.DayPeriodsStandalone]],i=xn(r,t);return xn(i,a)}function kY(e,t,a){let n=Fn(e),r=[n[bt.DaysFormat],n[bt.DaysStandalone]],i=xn(r,t);return xn(i,a)}function CY(e,t,a){let n=Fn(e),r=[n[bt.MonthsFormat],n[bt.MonthsStandalone]],i=xn(r,t);return xn(i,a)}function IY(e,t){let a=Fn(e)[bt.Eras];return xn(a,t)}function rs(e,t){let a=Fn(e);return xn(a[bt.DateFormat],t)}function is(e,t){let a=Fn(e);return xn(a[bt.TimeFormat],t)}function os(e,t){let a=Fn(e)[bt.DateTimeFormat];return xn(a,t)}function Bl(e,t){return Fn(e)[bt.NumberSymbols][t]}function qb(e){if(!e[bt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[bt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function DY(e){let t=Fn(e);return qb(t),(t[bt.ExtraData][2]||[]).map(a=>typeof a=="string"?yu(a):[yu(a[0]),yu(a[1])])}function TY(e,t,a){let n=Fn(e);qb(n);let r=[n[bt.ExtraData][0],n[bt.ExtraData][1]],i=xn(r,t)||[];return xn(i,a)||[]}function xn(e,t){for(let a=t;a>-1;a--)if(typeof e[a]<"u")return e[a];throw new Error("Locale data API: locale data undefined")}function yu(e){let[t,a]=e.split(":");return{hours:+t,minutes:+a}}var NY=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Dr={},OY=/((?:[^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 MY(e,t,a,n){let r=BY(e);t=ha(a,t)||t;let i=[],o;for(;t;)if(o=OY.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=r.getTimezoneOffset();n&&(l=Gb(n,l),r=zY(r,n));let c="";return i.forEach(u=>{let d=jY(u);c+=d?d(r,a,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ul(e,t,a){let n=new Date(0);return n.setFullYear(e,t,a),n.setHours(0,0,0),n}function ha(e,t){let a=EY(e);if(Dr[a]??(Dr[a]={}),Dr[a][t])return Dr[a][t];let n="";switch(t){case"shortDate":n=rs(e,nn.Short);break;case"mediumDate":n=rs(e,nn.Medium);break;case"longDate":n=rs(e,nn.Long);break;case"fullDate":n=rs(e,nn.Full);break;case"shortTime":n=is(e,nn.Short);break;case"mediumTime":n=is(e,nn.Medium);break;case"longTime":n=is(e,nn.Long);break;case"fullTime":n=is(e,nn.Full);break;case"short":let r=ha(e,"shortTime"),i=ha(e,"shortDate");n=ss(os(e,nn.Short),[r,i]);break;case"medium":let o=ha(e,"mediumTime"),l=ha(e,"mediumDate");n=ss(os(e,nn.Medium),[o,l]);break;case"long":let c=ha(e,"longTime"),u=ha(e,"longDate");n=ss(os(e,nn.Long),[c,u]);break;case"full":let d=ha(e,"fullTime"),m=ha(e,"fullDate");n=ss(os(e,nn.Full),[d,m]);break}return n&&(Dr[a][t]=n),n}function ss(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(a,n){return t!=null&&n in t?t[n]:a})),e}function Tn(e,t,a="-",n,r){let i="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i=a));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function RY(e,t){return Tn(e,3).substring(0,t)}function ft(e,t,a=0,n=!1,r=!1){return function(i,o){let l=AY(e,i);if((a>0||l>-a)&&(l+=a),e===3)l===0&&a===-12&&(l=12);else if(e===6)return RY(l,t);let c=Bl(o,zl.MinusSign);return Tn(l,t,c,n,r)}}function AY(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 qe(e,t,a=$t.Format,n=!1){return function(r,i){return PY(r,i,e,t,a,n)}}function PY(e,t,a,n,r,i){switch(a){case 2:return CY(t,r,n)[e.getMonth()];case 1:return kY(t,r,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=DY(t),d=TY(t,r,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 SY(t,r,n)[o<12?0:1];case 3:return IY(t,n)[e.getFullYear()<=0?0:1];default:let c=a;throw new Error(`unexpected translation type ${c}`)}}function ls(e){return function(t,a,n){let r=-1*n,i=Bl(a,zl.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+Tn(o,2,i)+Tn(Math.abs(r%60),2,i);case 1:return"GMT"+(r>=0?"+":"")+Tn(o,1,i);case 2:return"GMT"+(r>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(r%60),2,i);case 3:return n===0?"Z":(r>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var LY=0,Os=4;function FY(e){let t=ul(e,LY,1).getDay();return ul(e,0,1+(t<=Os?Os:Os+7)-t)}function $b(e){let t=e.getDay(),a=t===0?-3:Os-t;return ul(e.getFullYear(),e.getMonth(),e.getDate()+a)}function _u(e,t=!1){return function(a,n){let r;if(t){let i=new Date(a.getFullYear(),a.getMonth(),1).getDay()-1,o=a.getDate();r=1+Math.floor((o+i)/7)}else{let i=$b(a),o=FY(i.getFullYear()),l=i.getTime()-o.getTime();r=1+Math.round(l/6048e5)}return Tn(r,e,Bl(n,zl.MinusSign))}}function us(e,t=!1){return function(a,n){let r=$b(a).getFullYear();return Tn(r,e,Bl(n,zl.MinusSign),t)}}var wu={};function jY(e){if(wu[e])return wu[e];let t;switch(e){case"G":case"GG":case"GGG":t=qe(3,Be.Abbreviated);break;case"GGGG":t=qe(3,Be.Wide);break;case"GGGGG":t=qe(3,Be.Narrow);break;case"y":t=ft(0,1,0,!1,!0);break;case"yy":t=ft(0,2,0,!0,!0);break;case"yyy":t=ft(0,3,0,!1,!0);break;case"yyyy":t=ft(0,4,0,!1,!0);break;case"Y":t=us(1);break;case"YY":t=us(2,!0);break;case"YYY":t=us(3);break;case"YYYY":t=us(4);break;case"M":case"L":t=ft(1,1,1);break;case"MM":case"LL":t=ft(1,2,1);break;case"MMM":t=qe(2,Be.Abbreviated);break;case"MMMM":t=qe(2,Be.Wide);break;case"MMMMM":t=qe(2,Be.Narrow);break;case"LLL":t=qe(2,Be.Abbreviated,$t.Standalone);break;case"LLLL":t=qe(2,Be.Wide,$t.Standalone);break;case"LLLLL":t=qe(2,Be.Narrow,$t.Standalone);break;case"w":t=_u(1);break;case"ww":t=_u(2);break;case"W":t=_u(1,!0);break;case"d":t=ft(2,1);break;case"dd":t=ft(2,2);break;case"c":case"cc":t=ft(7,1);break;case"ccc":t=qe(1,Be.Abbreviated,$t.Standalone);break;case"cccc":t=qe(1,Be.Wide,$t.Standalone);break;case"ccccc":t=qe(1,Be.Narrow,$t.Standalone);break;case"cccccc":t=qe(1,Be.Short,$t.Standalone);break;case"E":case"EE":case"EEE":t=qe(1,Be.Abbreviated);break;case"EEEE":t=qe(1,Be.Wide);break;case"EEEEE":t=qe(1,Be.Narrow);break;case"EEEEEE":t=qe(1,Be.Short);break;case"a":case"aa":case"aaa":t=qe(0,Be.Abbreviated);break;case"aaaa":t=qe(0,Be.Wide);break;case"aaaaa":t=qe(0,Be.Narrow);break;case"b":case"bb":case"bbb":t=qe(0,Be.Abbreviated,$t.Standalone,!0);break;case"bbbb":t=qe(0,Be.Wide,$t.Standalone,!0);break;case"bbbbb":t=qe(0,Be.Narrow,$t.Standalone,!0);break;case"B":case"BB":case"BBB":t=qe(0,Be.Abbreviated,$t.Format,!0);break;case"BBBB":t=qe(0,Be.Wide,$t.Format,!0);break;case"BBBBB":t=qe(0,Be.Narrow,$t.Format,!0);break;case"h":t=ft(3,1,-12);break;case"hh":t=ft(3,2,-12);break;case"H":t=ft(3,1);break;case"HH":t=ft(3,2);break;case"m":t=ft(4,1);break;case"mm":t=ft(4,2);break;case"s":t=ft(5,1);break;case"ss":t=ft(5,2);break;case"S":t=ft(6,1);break;case"SS":t=ft(6,2);break;case"SSS":t=ft(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ls(0);break;case"ZZZZZ":t=ls(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ls(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ls(2);break;default:return null}return wu[e]=t,t}function Gb(e,t){e=e.replace(/:/g,"");let a=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(a)?t:a}function VY(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function zY(e,t,a){let n=e.getTimezoneOffset(),r=Gb(t,n);return VY(e,-1*(r-n))}function BY(e){if(_m(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[r,i=1,o=1]=e.split("-").map(l=>+l);return ul(r,i-1,o)}let a=parseFloat(e);if(!isNaN(e-a))return new Date(a);let n;if(n=e.match(NY))return HY(n)}let t=new Date(e);if(!_m(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function HY(e){let t=new Date(0),a=0,n=0,r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(a=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-a,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 _m(e){return e instanceof Date&&!isNaN(e.valueOf())}var xu=/\s+/,wm=[],qY=(()=>{const t=class t{constructor(n,r){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",wm);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(xu):wm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(xu):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(xu).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(Ut(At),Ut(gi))}),s(t,"ɵdir",Ht({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),$Y=(()=>{const t=class t{constructor(n,r,i){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=r,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,r){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:Vr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,l)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Ut(At),Ut(Lb),Ut(gi))}),s(t,"ɵdir",Ht({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function Ub(e,t){return new G(2100,!1)}var GY=class{createSubscription(e,t){return zc(()=>e.subscribe({next:t,error:a=>{throw a}}))}dispose(e){zc(()=>e.unsubscribe())}},UY=class{createSubscription(e,t){return e.then(a=>t==null?void 0:t(a),a=>{throw a}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},WY=new UY,YY=new GY,ZY=(()=>{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,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(_h(n))return WY;if(yb(n))return YY;throw Ub()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){var i;n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(Ut(bi,16))}),s(t,"ɵpipe",Er({name:"async",type:t,pure:!1}));let e=t;return e})(),KY="mediumDate",QY=new K(""),XY=new K(""),JY=(()=>{const t=class t{constructor(n,r,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=r,this.defaultOptions=i}transform(n,r,i,o){var l,c;if(n==null||n===""||n!==n)return null;try{let u=r??((l=this.defaultOptions)==null?void 0:l.dateFormat)??KY,d=i??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return MY(n,u,o||this.locale,d)}catch(u){throw Ub(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Ut(Vl,16),Ut(QY,24),Ut(XY,24))}),s(t,"ɵpipe",Er({name:"date",type:t,pure:!0}));let e=t;return e})(),Wb=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({}));let e=t;return e})();function Yb(e,t){t=encodeURIComponent(t);for(let a of e.split(";")){let n=a.indexOf("="),[r,i]=n==-1?[a,""]:[a.slice(0,n),a.slice(n+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}var Zb="browser",eZ="server";function tZ(e){return e===Zb}function Kb(e){return e===eZ}var Qb=class{};function Hl(e,t,a){return mW(e,t,a)}var Bc=new K(""),Xb=(()=>{const t=class t{constructor(n,r){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new G(5101,!1);return this._eventNameToPlugin.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)(te(Bc),te(je))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Jb=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ms="ng-app-id";function xm(e){for(let t of e)t.remove()}function Em(e,t){let a=t.createElement("style");return a.textContent=e,a}function nZ(e,t,a,n){var i;let r=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ms}="${t}"],link[${Ms}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Ms),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&a.set(o.textContent,{usage:0,elements:[o]})}function Hc(e,t){let a=t.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),a}var ey=(()=>{const t=class t{constructor(n,r,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=r,this.nonce=i,this.isServer=Kb(o),nZ(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Em);r==null||r.forEach(i=>this.addUsage(i,this.external,Hc))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r==null||r.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(xm(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])xm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Em(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Hc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ms,this.appId),n.appendChild(r)}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(Jd),te(eh,8),te(Ml))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Eu={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"},Ch=/%COMP%/g,ty="%COMP%",aZ=`_nghost-${ty}`,rZ=`_ngcontent-${ty}`,iZ=!0,oZ=new K("",{providedIn:"root",factory:()=>iZ});function sZ(e){return rZ.replace(Ch,e)}function lZ(e){return aZ.replace(Ch,e)}function ny(e,t){return t.map(a=>a.replace(Ch,e))}var qc=(()=>{const t=class t{constructor(n,r,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=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=c,this.ngZone=u,this.nonce=d,this.tracingService=m,this.platformIsServer=Kb(c),this.defaultRenderer=new Ih(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===fa.ShadowDom&&(r=Wt(se({},r),{encapsulation:fa.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof km?i.applyToHost(n):i instanceof $c&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.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(r.encapsulation){case fa.Emulated:o=new km(u,d,r,this.appId,m,l,c,b,g);break;case fa.ShadowDom:return new uZ(u,d,n,r,l,c,this.nonce,b,g);default:o=new $c(u,d,r,m,l,c,b,g);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(te(Xb),te(ey),te(Jd),te(oZ),te(Le),te(Ml),te(je),te(eh),te(No,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Ih=class{constructor(e,t,a,n,r){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=a,this.platformIsServer=n,this.tracingService=r}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Eu[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Sm(e)?e.content:e).appendChild(t)}insertBefore(e,t,a){e&&(Sm(e)?e.content:e).insertBefore(t,a)}removeChild(e,t){t.remove()}selectRootElement(e,t){let a=typeof e=="string"?this.doc.querySelector(e):e;if(!a)throw new G(-5104,!1);return t||(a.textContent=""),a}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,a,n){if(n){t=n+":"+t;let r=Eu[n];r?e.setAttributeNS(r,t,a):e.setAttribute(t,a)}else e.setAttribute(t,a)}removeAttribute(e,t,a){if(a){let n=Eu[a];n?e.removeAttributeNS(n,t):e.removeAttribute(`${a}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,a,n){n&(Vr.DashCase|Vr.Important)?e.style.setProperty(t,a,n&Vr.Important?"important":""):e.style[t]=a}removeStyle(e,t,a){a&Vr.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,a){e!=null&&(e[t]=a)}setValue(e,t){e.nodeValue=t}listen(e,t,a,n){var i;if(typeof e=="string"&&(e=$i().getGlobalEventTarget(this.doc,e),!e))throw new G(5102,!1);let r=this.decoratePreventDefault(a);return(i=this.tracingService)!=null&&i.wrapEventListener&&(r=this.tracingService.wrapEventListener(e,t,r)),this.eventManager.addEventListener(e,t,r,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Sm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var uZ=class extends Ih{constructor(t,a,n,r,i,o,l,c,u){var b;super(t,i,o,c,u);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=a,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=ny(r.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=r.getExternalStyles)==null?void 0:b.call(r);if(m)for(let g of m){let w=Hc(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,a){return super.appendChild(this.nodeOrShadowRoot(t),a)}insertBefore(t,a,n){return super.insertBefore(this.nodeOrShadowRoot(t),a,n)}removeChild(t,a){return super.removeChild(null,a)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$c=class extends Ih{constructor(t,a,n,r,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=a,this.removeStylesOnCompDestroy=r;let d=n.styles;this.styles=u?ny(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)}},km=class extends $c{constructor(t,a,n,r,i,o,l,c,u){let d=r+"-"+n.id;super(t,a,n,i,o,l,c,u,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=sZ(d),this.hostAttr=lZ(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,a){let n=super.createElement(t,a);return super.setAttribute(n,this.contentAttr,""),n}},cZ=class ay extends gY{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){fY(new ay)}onAndCancel(a,n,r,i){return a.addEventListener(n,r,i),()=>{a.removeEventListener(n,r,i)}}dispatchEvent(a,n){a.dispatchEvent(n)}remove(a){a.remove()}createElement(a,n){return n=n||this.getDefaultDocument(),n.createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,n){return n==="window"?window:n==="document"?a:n==="body"?a.body:null}getBaseHref(a){let n=dZ();return n==null?null:hZ(n)}resetBaseElement(){Fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return Yb(document.cookie,a)}},Fi=null;function dZ(){return Fi=Fi||document.head.querySelector("base"),Fi?Fi.getAttribute("href"):null}function hZ(e){return new URL(e,document.baseURI).pathname}var pZ=(()=>{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})(),mZ=(()=>{const t=class t extends Jb{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,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})(),Cm=["alt","control","meta","shift"],fZ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gZ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vZ=(()=>{const t=class t extends Jb{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let l=t.parseEventName(r),c=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$i().onAndCancel(n,l.domEventName,c,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),l="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),l="code."),Cm.forEach(d=>{let m=r.indexOf(d);m>-1&&(r.splice(m,1),l+=d+".")}),l+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,r){let i=fZ[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Cm.forEach(l=>{if(l!==i){let c=gZ[l];c(n)&&(o+=l+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(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 bZ(e){return JW(yZ(e))}function yZ(e){return{appProviders:[...SZ,...(e==null?void 0:e.providers)??[]],platformProviders:EZ}}function _Z(){cZ.makeCurrent()}function wZ(){return new An}function xZ(){return hG(document),document}var EZ=[{provide:Ml,useValue:Zb},{provide:d0,useValue:_Z,multi:!0},{provide:Le,useFactory:xZ}],SZ=[{provide:Od,useValue:"root"},{provide:An,useFactory:wZ},{provide:Bc,useClass:mZ,multi:!0,deps:[Le]},{provide:Bc,useClass:vZ,multi:!0,deps:[Le]},qc,ey,Xb,{provide:Pn,useExisting:qc},{provide:Qb,useClass:pZ},[]],Dh=class{},ry=class{},ri=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 Rq=sv(Qg("Optional"),8),Aq=sv(Qg("SkipSelf"),4);function dr(e,t){return e.hasOwnProperty($s)?e[$s]:null}function Pq(e,t,a){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(a&&(r=a(r),i=a(i)),i!==r)return!1}return!0}function Lq(e){return e.flat(Number.POSITIVE_INFINITY)}function Id(e,t){e.forEach(a=>Array.isArray(a)?Id(a,t):t(a))}function lv(e,t,a){t>=e.length?e.push(a):e.splice(t,0,a)}function Us(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fq(e,t){let a=[];for(let n=0;n<e;n++)a.push(t);return a}function jq(e,t,a,n){let r=e.length;if(r==t)e.push(a,n);else if(r===1)e.push(n,e[0]),e[0]=a;else{for(r--,e.push(e[r-1],e[r]);r>t;){let i=r-2;e[r]=e[i],r--}e[t]=a,e[t+1]=n}}function Dd(e,t,a){let n=xo(e,t);return n>=0?e[n|1]=a:(n=~n,jq(e,n,t,a)),n}function ru(e,t){let a=xo(e,t);if(a>=0)return e[a|1]}function xo(e,t){return Vq(e,t,1)}function Vq(e,t,a){let n=0,r=e.length>>a;for(;r!==n;){let i=n+(r-n>>1),o=e[i<<a];if(t===o)return i<<a;o>t?r=i:n=i+1}return~(r<<a)}var Zn={},Zt=[],Ws=new K(""),uv=new K("",-1),cv=new K(""),dv=class{get(e,t=ur){if(t===ur){let a=new Error(`NullInjectorError: No provider for ${bn(e)}!`);throw a.name="NullInjectorError",a}return t}};function Kr(e){return e[wq]||null}function hv(e){return e[xq]||null}function zq(e){return e[Eq]||null}function Td(e){return{ɵproviders:e}}function Bq(...e){return{ɵproviders:pv(!0,e),ɵfromNgModule:!0}}function pv(e,...t){let a=[],n=new Set,r,i=o=>{a.push(o)};return Id(t,o=>{let l=o;uc(l,i,[],n)&&(r||(r=[]),r.push(l))}),r!==void 0&&mv(r,i),a}function mv(e,t){for(let a=0;a<e.length;a++){let{ngModule:n,providers:r}=e[a];Nd(r,i=>{t(i,n)})}}function uc(e,t,a,n){if(e=Mt(e),!e)return!1;let r=null,i=kp(e),o=!i&&Kr(e);if(!i&&!o){let c=e.ngModule;if(i=kp(c),i)r=c;else return!1}else{if(o&&!o.standalone)return!1;r=e}let l=n.has(r);if(o){if(l)return!1;if(n.add(r),o.dependencies){let c=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of c)uc(u,t,a,n)}}else if(i){if(i.imports!=null&&!l){n.add(r);let u;try{Id(i.imports,d=>{uc(d,t,a,n)&&(u||(u=[]),u.push(d))})}finally{}u!==void 0&&mv(u,t)}if(!l){let u=dr(r)||(()=>new r);t({provide:r,useFactory:u,deps:Zt},r),t({provide:cv,useValue:r,multi:!0},r),t({provide:Ws,useValue:()=>te(r),multi:!0},r)}let c=i.providers;if(c!=null&&!l){let u=e;Nd(c,d=>{t(d,u)})}}else return!1;return r!==e&&e.providers!==void 0}function Nd(e,t){for(let a of e)nv(a)&&(a=a.ɵproviders),Array.isArray(a)?Nd(a,t):t(a)}var Hq=Ye({provide:String,useValue:Ye});function fv(e){return e!==null&&typeof e=="object"&&Hq in e}function qq(e){return!!(e&&e.useExisting)}function $q(e){return!!(e&&e.useFactory)}function Qr(e){return typeof e=="function"}function Gq(e){return!!e.useClass}var Od=new K(""),ks={},Tp={},iu;function Nl(){return iu===void 0&&(iu=new dv),iu}var Kn=class{},Md=class extends Kn{constructor(t,a,n,r){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=a,this.source=n,this.scopes=r,dc(t,o=>this.processProvider(o)),this.records.set(uv,Lr(void 0,this)),r.has("environment")&&this.records.set(Kn,Lr(void 0,this));let i=this.records.get(Od);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cv,Zt,Se.Self))}get destroyed(){return this._destroyed}retrieve(t,a){let n=a;return this.get(t,n.optional?mg:ur,n)}destroy(){Ai(this),this._destroyed=!0;let t=we(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let a=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of a)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),we(t)}}onDestroy(t){return Ai(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ai(this);let a=Oa(this),n=Yt(void 0);try{return t()}finally{Oa(a),Yt(n)}}get(t,a=ur,n=Se.Default){if(Ai(this),t.hasOwnProperty(Ip))return t[Ip](this);n=Tl(n);let r=Oa(this),i=Yt(void 0);try{if(!(n&Se.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=Kq(t)&&kd(t);c&&this.injectableDefInScope(c)?l=Lr(cc(t),ks):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Se.Self?Nl():this.parent;return a=n&Se.Optional&&a===ur?null:a,o.get(t,a)}catch(o){if(o.name==="NullInjectorError"){if((o[Gs]=o[Gs]||[]).unshift(bn(t)),r)throw o;return Oq(o,t,"R3InjectorError",this.source)}else throw o}finally{Yt(i),Oa(r)}}resolveInjectorInitializers(){let t=we(null),a=Oa(this),n=Yt(void 0);try{let r=this.get(Ws,Zt,Se.Self);for(let i of r)i()}finally{Oa(a),Yt(n),we(t)}}toString(){let t=[],a=this.records;for(let n of a.keys())t.push(bn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Mt(t);let a=Qr(t)?t:Mt(t&&t.provide),n=Wq(t);if(!Qr(t)&&t.multi===!0){let r=this.records.get(a);r||(r=Lr(void 0,ks,!0),r.factory=()=>lc(r.multi),this.records.set(a,r)),a=t,r.multi.push(t)}this.records.set(a,n)}hydrate(t,a,n){let r=we(null);try{return a.value===Tp?av(bn(t)):a.value===ks&&(a.value=Tp,a.value=a.factory(void 0,n)),typeof a.value=="object"&&a.value&&Zq(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{we(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let a=Mt(t.providedIn);return typeof a=="string"?a==="any"||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(t){let a=this._onDestroyHooks.indexOf(t);a!==-1&&this._onDestroyHooks.splice(a,1)}};function cc(e){let t=kd(e),a=t!==null?t.factory:dr(e);if(a!==null)return a;if(e instanceof K)throw new G(204,!1);if(e instanceof Function)return Uq(e);throw new G(204,!1)}function Uq(e){if(e.length>0)throw new G(204,!1);let t=yq(e);return t!==null?()=>t.factory(e):()=>new e}function Wq(e){if(fv(e))return Lr(void 0,e.useValue);{let t=gv(e);return Lr(t,ks)}}function gv(e,t,a){let n;if(Qr(e)){let r=Mt(e);return dr(r)||cc(r)}else if(fv(e))n=()=>Mt(e.useValue);else if($q(e))n=()=>e.useFactory(...lc(e.deps||[]));else if(qq(e))n=(r,i)=>te(Mt(e.useExisting),i!==void 0&&i&Se.Optional?Se.Optional:void 0);else{let r=Mt(e&&(e.useClass||e.provide));if(Yq(e))n=()=>new r(...lc(e.deps));else return dr(r)||cc(r)}return n}function Ai(e){if(e.destroyed)throw new G(205,!1)}function Lr(e,t,a=!1){return{factory:e,value:t,multi:a?[]:void 0}}function Yq(e){return!!e.deps}function Zq(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Kq(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function dc(e,t){for(let a of e)Array.isArray(a)?dc(a,t):a&&nv(a)?dc(a.ɵproviders,t):t(a)}function Rd(e,t){let a;e instanceof Md?(Ai(e),a=e):a=new ov(e);let n=Oa(a),r=Yt(void 0);try{return t()}finally{Oa(n),Yt(r)}}function vv(){return rv()!==void 0||Es()!=null}function Ad(e){if(!vv())throw new G(-203,!1)}function Qq(e){return typeof e=="function"}var Ea=0,he=1,ce=2,Vt=3,On=4,en=5,Xr=6,qr=7,Dt=8,Jr=9,xa=10,bt=11,Qi=12,Np=13,ui=14,_n=15,hr=16,Fr=17,Mn=18,Ol=19,bv=20,Va=21,ou=22,Ys=23,yn=24,za=25,St=26,yv=1,pr=7,Zs=8,ei=9,jt=10;function Ba(e){return Array.isArray(e)&&typeof e[yv]=="object"}function Sa(e){return Array.isArray(e)&&e[yv]===!0}function _v(e){return(e.flags&4)!==0}function ci(e){return e.componentOffset>-1}function Pd(e){return(e.flags&1)===1}function Qn(e){return!!e.template}function Ks(e){return(e[ce]&512)!==0}function di(e){return(e[ce]&256)===256}var Xq=class{constructor(e,t,a){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=a}isFirstChange(){return this.firstChange}};function wv(e,t,a,n){t!==null?t.applyValueToInputSignal(t,n):e[a]=n}var xv=(()=>{let e=()=>Ev;return e.ngInherit=!0,e})();function Ev(e){return e.type.prototype.ngOnChanges&&(e.setInput=e$),Jq}function Jq(){let e=kv(this),t=e==null?void 0:e.current;if(t){let a=e.previous;if(a===Zn)e.previous=t;else for(let n in t)a[n]=t[n];e.current=null,this.ngOnChanges(t)}}function e$(e,t,a,n,r){let i=this.declaredInputs[n],o=kv(e)||t$(e,{previous:Zn,current:null}),l=o.current||(o.current={}),c=o.previous,u=c[i];l[i]=new Xq(u&&u.currentValue,a,c===Zn),wv(e,t,r,a)}var Sv="__ngSimpleChanges__";function kv(e){return e[Sv]||null}function t$(e,t){return e[Sv]=t}var mr=function(e,t=null,a){},n$="svg",a$="math";function Xn(e){for(;Array.isArray(e);)e=e[Ea];return e}function Cv(e,t){return Xn(t[e])}function ea(e,t){return Xn(t[e.index])}function Ld(e,t){return e.data[t]}function Fd(e,t){return e[t]}function jd(e,t,a,n){a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=n}function Jn(e,t){let a=t[e];return Ba(a)?a:a[Ea]}function r$(e){return(e[ce]&4)===4}function Vd(e){return(e[ce]&128)===128}function i$(e){return Sa(e[Vt])}function Xi(e,t){return t==null?null:e[t]}function Iv(e){e[Fr]=0}function zd(e){e[ce]&1024||(e[ce]|=1024,Vd(e)&&So(e))}function o$(e,t){for(;e>0;)t=t[ui],e--;return t}function Eo(e){var t;return!!(e[ce]&9216||(t=e[yn])!=null&&t.dirty)}function hc(e){var t;(t=e[xa].changeDetectionScheduler)==null||t.notify(8),e[ce]&64&&(e[ce]|=1024),Eo(e)&&So(e)}function So(e){var a;(a=e[xa].changeDetectionScheduler)==null||a.notify(0);let t=fr(e);for(;t!==null&&!(t[ce]&8192||(t[ce]|=8192,!Vd(t)));)t=fr(t)}function Dv(e,t){if(di(e))throw new G(911,!1);e[Va]===null&&(e[Va]=[]),e[Va].push(t)}function s$(e,t){if(e[Va]===null)return;let a=e[Va].indexOf(t);a!==-1&&e[Va].splice(a,1)}function fr(e){let t=e[Vt];return Sa(t)?t[Vt]:t}function Bd(e){return e[qr]??(e[qr]=[])}function Hd(e){return e.cleanup??(e.cleanup=[])}function l$(e,t,a,n){let r=Bd(t);r.push(a),e.firstCreatePass&&Hd(e).push(n,r.length-1)}var be={lFrame:Fv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pc=!1;function u$(){return be.lFrame.elementDepthCount}function c$(){be.lFrame.elementDepthCount++}function d$(){be.lFrame.elementDepthCount--}function h$(){return be.bindingsEnabled}function Tv(){return be.skipHydrationRootTNode!==null}function p$(e){return be.skipHydrationRootTNode===e}function m$(){be.skipHydrationRootTNode=null}function pe(){return be.lFrame.lView}function _t(){return be.lFrame.tView}function ya(e){return be.lFrame.contextLView=e,e[Dt]}function _a(e){return be.lFrame.contextLView=null,e}function dn(){let e=Nv();for(;e!==null&&e.type===64;)e=e.parent;return e}function Nv(){return be.lFrame.currentTNode}function f$(){let e=be.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hi(e,t){let a=be.lFrame;a.currentTNode=e,a.isParent=t}function Ov(){return be.lFrame.isParent}function Mv(){be.lFrame.isParent=!1}function g$(){return be.lFrame.contextLView}function Rv(){return pc}function Op(e){let t=pc;return pc=e,t}function ko(){let e=be.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function v$(){return be.lFrame.bindingIndex}function b$(e){return be.lFrame.bindingIndex=e}function pi(){return be.lFrame.bindingIndex++}function qd(e){let t=be.lFrame,a=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,a}function y$(){return be.lFrame.inI18n}function _$(e,t){let a=be.lFrame;a.bindingIndex=a.bindingRootIndex=e,mc(t)}function w$(){return be.lFrame.currentDirectiveIndex}function mc(e){be.lFrame.currentDirectiveIndex=e}function x$(e){let t=be.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Av(){return be.lFrame.currentQueryIndex}function $d(e){be.lFrame.currentQueryIndex=e}function E$(e){let t=e[he];return t.type===2?t.declTNode:t.type===1?e[en]:null}function Pv(e,t,a){if(a&Se.SkipSelf){let r=t,i=e;for(;(r=r.parent,r===null&&!(a&Se.Host))&&(r=E$(i),!(r===null||(i=i[ui],r.type&10))););if(r===null)return!1;t=r,e=i}let n=be.lFrame=Lv();return n.currentTNode=t,n.lView=e,!0}function Gd(e){let t=Lv(),a=e[he];be.lFrame=t,t.currentTNode=a.firstChild,t.lView=e,t.tView=a,t.contextLView=e,t.bindingIndex=a.bindingStartIndex,t.inI18n=!1}function Lv(){let e=be.lFrame,t=e===null?null:e.child;return t===null?Fv(e):t}function Fv(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 jv(){let e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Vv=jv;function Ud(){let e=jv();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 S$(e){return(be.lFrame.contextLView=o$(e,be.lFrame.contextLView))[Dt]}function ta(){return be.lFrame.selectedIndex}function gr(e){be.lFrame.selectedIndex=e}function Wd(){let e=be.lFrame;return Ld(e.tView,e.selectedIndex)}function k$(){return be.lFrame.currentNamespace}var zv=!0;function Yd(){return zv}function Zd(e){zv=e}function C$(e,t,a){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(n){let o=Ev(t);(a.preOrderHooks??(a.preOrderHooks=[])).push(e,o),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,o)}r&&(a.preOrderHooks??(a.preOrderHooks=[])).push(0-e,r),i&&((a.preOrderHooks??(a.preOrderHooks=[])).push(e,i),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,i))}function Bv(e,t){for(let a=t.directiveStart,n=t.directiveEnd;a<n;a++){let r=e.data[a].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;i&&(e.contentHooks??(e.contentHooks=[])).push(-a,i),o&&((e.contentHooks??(e.contentHooks=[])).push(a,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(a,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-a,l),c&&((e.viewHooks??(e.viewHooks=[])).push(a,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(a,c)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(a,u)}}function Cs(e,t,a){Hv(e,t,3,a)}function Is(e,t,a,n){(e[ce]&3)===a&&Hv(e,t,a,n)}function su(e,t){let a=e[ce];(a&3)===t&&(a&=16383,a+=1,e[ce]=a)}function Hv(e,t,a,n){let r=n!==void 0?e[Fr]&65535:0,i=n??-1,o=t.length-1,l=0;for(let c=r;c<o;c++)if(typeof t[c+1]=="number"){if(l=t[c],n!=null&&l>=n)break}else t[c]<0&&(e[Fr]+=65536),(l<i||i==-1)&&(I$(e,a,t,c),e[Fr]=(e[Fr]&4294901760)+c+2),c++}function Mp(e,t){let a=we(null);try{t.call(e)}finally{we(a)}}function I$(e,t,a,n){let r=a[n]<0,i=a[n+1],o=r?-a[n]:a[n],l=e[o];r?e[ce]>>14<e[Fr]>>16&&(e[ce]&3)===t&&(e[ce]+=16384,Mp(l,i)):Mp(l,i)}var $r=-1,Co=class{constructor(e,t,a){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=a}};function D$(e){return(e.flags&8)!==0}function T$(e){return(e.flags&16)!==0}function N$(e,t,a){let n=0;for(;n<a.length;){let r=a[n];if(typeof r=="number"){if(r!==0)break;n++;let i=a[n++],o=a[n++],l=a[n++];e.setAttribute(t,o,l,i)}else{let i=r,o=a[++n];O$(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function qv(e){return e===3||e===4||e===6}function O$(e){return e.charCodeAt(0)===64}function Ji(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let a=-1;for(let n=0;n<t.length;n++){let r=t[n];typeof r=="number"?a=r:a===0||(a===-1||a===2?Rp(e,a,r,null,t[++n]):Rp(e,a,r,null,null))}}return e}function Rp(e,t,a,n,r){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===a){r!==null&&(e[i+1]=r);return}i++,r!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,a),r!==null&&e.splice(i++,0,r)}function $v(e){return e!==$r}function Qs(e){return e&32767}function M$(e){return e>>16}function Xs(e,t){let a=M$(e),n=t;for(;a>0;)n=n[ui],a--;return n}var fc=!0;function Js(e){let t=fc;return fc=e,t}var R$=256,Gv=R$-1,Uv=5,A$=0,Wn={};function P$(e,t,a){let n;typeof a=="string"?n=a.charCodeAt(0)||0:a.hasOwnProperty(Bi)&&(n=a[Bi]),n==null&&(n=a[Bi]=A$++);let r=n&Gv,i=1<<r;t.data[e+(r>>Uv)]|=i}function el(e,t){let a=Wv(e,t);if(a!==-1)return a;let n=t[he];n.firstCreatePass&&(e.injectorIndex=t.length,lu(n.data,e),lu(t,null),lu(n.blueprint,null));let r=Kd(e,t),i=e.injectorIndex;if($v(r)){let o=Qs(r),l=Xs(r,t),c=l[he].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|c[o+u]}return t[i+8]=r,i}function lu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wv(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Kd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let a=0,n=null,r=t;for(;r!==null;){if(n=Xv(r),n===null)return $r;if(a++,r=r[ui],n.injectorIndex!==-1)return n.injectorIndex|a<<16}return $r}function gc(e,t,a){P$(e,t,a)}function L$(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let a=e.attrs;if(a){let n=a.length,r=0;for(;r<n;){let i=a[r];if(qv(i))break;if(i===0)r=r+2;else if(typeof i=="number")for(r++;r<n&&typeof a[r]=="string";)r++;else{if(i===t)return a[r+1];r=r+2}}}return null}function Yv(e,t,a){if(a&Se.Optional||e!==void 0)return e;Cd()}function Zv(e,t,a,n){if(a&Se.Optional&&n===void 0&&(n=null),(a&(Se.Self|Se.Host))===0){let r=e[Jr],i=Yt(void 0);try{return r?r.get(t,n,a&Se.Optional):iv(t,n,a&Se.Optional)}finally{Yt(i)}}return Yv(n,t,a)}function Kv(e,t,a,n=Se.Default,r){if(e!==null){if(t[ce]&2048&&!(n&Se.Self)){let o=z$(e,t,a,n,Wn);if(o!==Wn)return o}let i=Qv(e,t,a,n,Wn);if(i!==Wn)return i}return Zv(t,a,n,r)}function Qv(e,t,a,n,r){let i=j$(a);if(typeof i=="function"){if(!Pv(t,e,n))return n&Se.Host?Yv(r,a,n):Zv(t,a,n,r);try{let o;if(o=i(n),o==null&&!(n&Se.Optional))Cd(a);else return o}finally{Vv()}}else if(typeof i=="number"){let o=null,l=Wv(e,t),c=$r,u=n&Se.Host?t[_n][en]:null;for((l===-1||n&Se.SkipSelf)&&(c=l===-1?Kd(e,t):t[l+8],c===$r||!Pp(n,!1)?l=-1:(o=t[he],l=Qs(c),t=Xs(c,t)));l!==-1;){let d=t[he];if(Ap(i,l,d.data)){let m=F$(l,t,a,o,n,u);if(m!==Wn)return m}c=t[l+8],c!==$r&&Pp(n,t[he].data[l+8]===u)&&Ap(i,l,t)?(o=d,l=Qs(c),t=Xs(c,t)):l=-1}}return r}function F$(e,t,a,n,r,i){let o=t[he],l=o.data[e+8],c=n==null?ci(l)&&fc:n!=o&&(l.type&3)!==0,u=r&Se.Host&&i===l,d=Ds(l,o,a,c,u);return d!==null?eo(t,o,d,l,r):Wn}function Ds(e,t,a,n,r){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=r?l+d:u;for(let g=m;g<b;g++){let w=o[g];if(g<c&&a===w||g>=c&&w.type===a)return g}if(r){let g=o[c];if(g&&Qn(g)&&g.type===a)return c}return null}function eo(e,t,a,n,r){let i=e[a],o=t.data;if(i instanceof Co){let l=i;l.resolving&&av(Sq(o[a]));let c=Js(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?Yt(l.injectImpl):null;Pv(e,n,Se.Default);try{i=e[a]=l.factory(void 0,r,o,e,n),t.firstCreatePass&&a>=n.directiveStart&&C$(a,o[a],t)}finally{u!==null&&Yt(u),Js(c),l.resolving=!1,Vv()}}return i}function j$(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bi)?e[Bi]:void 0;return typeof t=="number"?t>=0?t&Gv:V$:t}function Ap(e,t,a){let n=1<<e;return!!(a[t+(e>>Uv)]&n)}function Pp(e,t){return!(e&Se.Self)&&!(e&Se.Host&&t)}var Hi=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,a){return Kv(this._tNode,this._lView,e,Tl(a),t)}};function V$(){return new Hi(dn(),pe())}function Bt(e){return wo(()=>{let t=e.prototype.constructor,a=t[$s]||vc(t),n=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==n;){let i=r[$s]||vc(r);if(i&&i!==a)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function vc(e){return Jg(e)?()=>{let t=vc(Mt(e));return t&&t()}:dr(e)}function z$(e,t,a,n,r){let i=e,o=t;for(;i!==null&&o!==null&&o[ce]&2048&&!Ks(o);){let l=Qv(i,o,a,n|Se.Self,Wn);if(l!==Wn)return l;let c=i.parent;if(!c){let u=o[bv];if(u){let d=u.get(a,Wn,n);if(d!==Wn)return d}c=Xv(o),o=o[ui]}i=c}return r}function Xv(e){let t=e[he],a=t.type;return a===2?t.declTNode:a===1?e[en]:null}function B$(e){return L$(dn(),e)}function Lp(e,t=null,a=null,n){let r=H$(e,t,a,n);return r.resolveInjectorInitializers(),r}function H$(e,t=null,a=null,n,r=new Set){let i=[a||Zt,Bq(e)];return n=n||(typeof e=="object"?void 0:bn(e)),new Md(i,t||Nl(),n||null,r)}var Hn,rt=(Hn=class{static create(t,a){if(Array.isArray(t))return Lp({name:""},a,t,"");{let n=t.name??"";return Lp({name:n},t.parent,t.providers,n)}}},s(Hn,"THROW_IF_NOT_FOUND",ur),s(Hn,"NULL",new dv),s(Hn,"ɵprov",V({token:Hn,providedIn:"any",factory:()=>te(uv)})),s(Hn,"__NG_ELEMENT_ID__",-1),Hn),q$=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>B$(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},$$=new K("");$$.__NG_ELEMENT_ID__=e=>{let t=dn();if(t===null)throw new G(204,!1);if(t.type&2)return t.value;if(e&Se.Optional)return null;throw new G(204,!1)};var Jv=!1,_r=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",U$),s(e,"__NG_ENV_ID__",a=>a),e})(),G$=class extends _r{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let a=this._lView;return di(a)?(t(),()=>{}):(Dv(a,t),()=>s$(a,t))}};function U$(){return new G$(pe())}var Io=class{},e0=new K("",{providedIn:"root",factory:()=>!1}),t0=new K(""),n0=new K(""),Do=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new bd(!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})(),W$=class extends xe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,vv()&&(this.destroyRef=C(_r,{optional:!0})??void 0,this.pendingTasks=C(Do,{optional:!0})??void 0)}emit(t){let a=we(null);try{super.next(t)}finally{we(a)}}subscribe(t,a,n){var c,u,d;let r=t,i=a||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;r=(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),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:r,error:i,complete:o});return t instanceof ln&&t.add(l),l}wrapInTimeout(t){return a=>{var r;let n=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var i;try{t(a)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},Ft=W$;function tl(...e){}function a0(e){let t,a;function n(){e=tl;try{a!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Fp(e){return queueMicrotask(()=>e()),()=>{e=tl}}var Qd="isAngularZone",nl=Qd+"_ID",Y$=0,je=class bc{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft(!1));s(this,"onMicrotaskEmpty",new Ft(!1));s(this,"onStable",new Ft(!1));s(this,"onError",new Ft(!1));let{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=Jv}=t;if(typeof Zone>"u")throw new G(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)),a&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=i,Q$(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qd)===!0}static assertInAngularZone(){if(!bc.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(bc.isInAngularZone())throw new G(909,!1)}run(t,a,n){return this._inner.run(t,a,n)}runTask(t,a,n,r){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Z$,tl,tl);try{return i.runTask(o,a,n)}finally{i.cancelTask(o)}}runGuarded(t,a,n){return this._inner.runGuarded(t,a,n)}runOutsideAngular(t){return this._outer.run(t)}},Z$={};function Xd(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 K$(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){a0(()=>{e.callbackScheduled=!1,yc(e),e.isCheckStableRunning=!0,Xd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),yc(e)}function Q$(e){let t=()=>{K$(e)},a=Y$++;e._inner=e._inner.fork({name:"angular",properties:{[Qd]:!0,[nl]:a,[nl+a]:!0},onInvokeTask:(n,r,i,o,l,c)=>{if(J$(c))return n.invokeTask(i,o,l,c);try{return jp(e),n.invokeTask(i,o,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Vp(e)}},onInvoke:(n,r,i,o,l,c,u)=>{try{return jp(e),n.invoke(i,o,l,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!eG(c)&&t(),Vp(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,yc(e),Xd(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function yc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function jp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vp(e){e._nesting--,Xd(e)}var X$=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft);s(this,"onMicrotaskEmpty",new Ft);s(this,"onStable",new Ft);s(this,"onError",new Ft)}run(e,t,a){return e.apply(t,a)}runGuarded(e,t,a){return e.apply(t,a)}runOutsideAngular(e){return e()}runTask(e,t,a,n){return e.apply(t,a)}};function J$(e){return r0(e,"__ignore_ng_zone__")}function eG(e){return r0(e,"__scheduler_tick__")}function r0(e,t){var a,n;return!Array.isArray(e)||e.length!==1?!1:((n=(a=e[0])==null?void 0:a.data)==null?void 0:n[t])===!0}var An=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},tG=new K("",{providedIn:"root",factory:()=>{let e=C(je),t=C(An);return a=>e.runOutsideAngular(()=>t.handleError(a))}}),nG=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",C(An,{optional:!0}));s(this,"destroyRef",C(_r));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new G(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var a,n;let t=(a=this.listeners)==null?void 0:a.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var a;if(this.destroyed){console.warn(Yg(953,!1));return}if(this.listeners===null)return;let t=we(null);try{for(let n of this.listeners)try{n(e)}catch(r){(a=this.errorHandler)==null||a.handleError(r)}}finally{we(t)}}};function zp(e){return new nG}function Bp(e,t){return Kg(e,t)}function aG(e){return Kg(Zg,e)}var Qe=(Bp.required=aG,Bp);function rG(){return mi(dn(),pe())}function mi(e,t){return new At(ea(e,t))}var At=(()=>{class e{constructor(a){s(this,"nativeElement");this.nativeElement=a}}return s(e,"__NG_ELEMENT_ID__",rG),e})();function iG(e){return e instanceof At?e.nativeElement:e}function oG(){let e=this[cr];if(e.readonlyFn===void 0){let t=()=>this();t[cr]=e,e.readonlyFn=t}return e.readonlyFn}function sG(){return this._results[Symbol.iterator]()}var Yf,lG=(Yf=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,Yf,sG);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 a=Lq(e);(this._changesDetected=!Pq(this._results,a,t))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[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 i0(e){return(e.flags&128)===128}var o0=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(o0||{}),s0=new Map,uG=0;function cG(){return uG++}function dG(e){s0.set(e[Ol],e)}function _c(e){s0.delete(e[Ol])}var Hp="__ngContext__";function To(e,t){Ba(t)?(e[Hp]=t[Ol],dG(t)):e[Hp]=t}function l0(e){return c0(e[Qi])}function u0(e){return c0(e[On])}function c0(e){for(;e!==null&&!Sa(e);)e=e[On];return e}var wc;function hG(e){wc=e}function pG(){if(wc!==void 0)return wc;if(typeof document<"u")return document;throw new G(210,!1)}var Jd=new K("",{providedIn:"root",factory:()=>mG}),mG="ng",d0=new K(""),Ml=new K("",{providedIn:"platform",factory:()=>"unknown"}),fi=new K(""),eh=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=pG().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),h0=!1,fG=new K("",{providedIn:"root",factory:()=>h0}),th=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(th||{}),No=new K(""),qp=new Set;function wr(e){var t;qp.has(e)||(qp.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var p0=(()=>{class e{constructor(a,n){s(this,"view");s(this,"node");this.view=a,this.node=n}}return s(e,"__NG_ELEMENT_ID__",gG),e})();function gG(){return new p0(pe(),dn())}var jr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(jr||{}),m0=(()=>{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})(),vG=[jr.EarlyRead,jr.Write,jr.MixedReadWrite,jr.Read],bG=(()=>{const t=class t{constructor(){s(this,"ngZone",C(je));s(this,"scheduler",C(Io));s(this,"errorHandler",C(An,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);C(No,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let r of vG)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:r}=n;r!==void 0?((r[za]??(r[za]=[])).push(n),So(r),r[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,r){return r?r.run(th.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),yG=class{constructor(e,t,a,n,r,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=a,this.once=n,this.snapshot=i,this.unregisterOnDestroy=r==null?void 0:r.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,a;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(a=this.view)==null?void 0:a[za];e&&(this.view[za]=e.filter(n=>n!==this))}};function f0(e,t){!(t!=null&&t.injector)&&Ad();let a=(t==null?void 0:t.injector)??C(rt);return wr("NgAfterRender"),g0(e,a,t,!1)}function nh(e,t){!(t!=null&&t.injector)&&Ad();let a=(t==null?void 0:t.injector)??C(rt);return wr("NgAfterNextRender"),g0(e,a,t,!0)}function _G(e,t){if(e instanceof Function){let a=[void 0,void 0,void 0,void 0];return a[t]=e,a}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function g0(e,t,a,n){let r=t.get(m0);r.impl??(r.impl=t.get(bG));let i=t.get(No,null,{optional:!0}),o=(a==null?void 0:a.phase)??jr.MixedReadWrite,l=(a==null?void 0:a.manualCleanup)!==!0?t.get(_r):null,c=t.get(p0,null,{optional:!0}),u=new yG(r.impl,_G(e,o),c==null?void 0:c.view,n,l,i==null?void 0:i.snapshot(null));return r.impl.register(u),u}var wG=()=>null;function v0(e,t,a=!1){return wG()}function b0(e,t){let a=e.contentQueries;if(a!==null){let n=we(null);try{for(let r=0;r<a.length;r+=2){let i=a[r],o=a[r+1];if(o!==-1){let l=e.data[o];$d(i),l.contentQueries(2,t[o],o)}}}finally{we(n)}}}function xc(e,t,a){$d(0);let n=we(null);try{t(e,a)}finally{we(n)}}function y0(e,t,a){if(_v(t)){let n=we(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let o=r;o<i;o++){let l=e.data[o];if(l.contentQueries){let c=a[o];l.contentQueries(1,c,o)}}}finally{we(n)}}}var fa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(fa||{}),ts;function xG(){if(ts===void 0&&(ts=null,Pr.trustedTypes))try{ts=Pr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ts}function Rl(e){var t;return((t=xG())==null?void 0:t.createHTML(e))||e}var xr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wg})`}},EG=class extends xr{getTypeName(){return"HTML"}},SG=class extends xr{getTypeName(){return"Style"}},kG=class extends xr{getTypeName(){return"Script"}},CG=class extends xr{getTypeName(){return"URL"}},IG=class extends xr{getTypeName(){return"ResourceURL"}};function Ma(e){return e instanceof xr?e.changingThisBreaksApplicationSecurity:e}function Or(e,t){let a=DG(e);if(a!=null&&a!==t){if(a==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${a} (see ${Wg})`)}return a===t}function DG(e){return e instanceof xr&&e.getTypeName()||null}function TG(e){return new EG(e)}function NG(e){return new SG(e)}function OG(e){return new kG(e)}function MG(e){return new CG(e)}function RG(e){return new IG(e)}function AG(e){let t=new LG(e);return FG()?new PG(t):t}var PG=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let a=new window.DOMParser().parseFromString(Rl(e),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(e):((t=a.firstChild)==null||t.remove(),a)}catch{return null}}},LG=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=Rl(e),t}};function FG(){try{return!!new window.DOMParser().parseFromString(Rl(""),"text/html")}catch{return!1}}var jG=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ah(e){return e=String(e),e.match(jG)?e:"unsafe:"+e}function ka(e){let t={};for(let a of e.split(","))t[a]=!0;return t}function Oo(...e){let t={};for(let a of e)for(let n in a)a.hasOwnProperty(n)&&(t[n]=!0);return t}var _0=ka("area,br,col,hr,img,wbr"),w0=ka("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),x0=ka("rp,rt"),VG=Oo(x0,w0),zG=Oo(w0,ka("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")),BG=Oo(x0,ka("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")),$p=Oo(_0,zG,BG,VG),E0=ka("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),HG=ka("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"),qG=ka("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"),$G=Oo(E0,HG,qG),GG=ka("script,style,template"),UG=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,a=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?a=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,a&&t.firstChild){n.push(t),t=ZG(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=YG(t);if(r){t=r;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Gp(e).toLowerCase();if(!$p.hasOwnProperty(t))return this.sanitizedSomething=!0,!GG.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let a=e.attributes;for(let n=0;n<a.length;n++){let r=a.item(n),i=r.name,o=i.toLowerCase();if(!$G.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=r.value;E0[o]&&(l=ah(l)),this.buf.push(" ",i,'="',Up(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Gp(e).toLowerCase();$p.hasOwnProperty(t)&&!_0.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Up(e))}};function WG(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function YG(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw S0(t);return t}function ZG(e){let t=e.firstChild;if(t&&WG(e,t))throw S0(t);return t}function Gp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function S0(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var KG=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QG=/([^\#-~ |!])/g;function Up(e){return e.replace(/&/g,"&").replace(KG,function(t){let a=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((a-55296)*1024+(n-56320)+65536)+";"}).replace(QG,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ns;function XG(e,t){let a=null;try{ns=ns||AG(e);let n=t?String(t):"";a=ns.getInertBodyElement(n);let r=5,i=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=i,i=a.innerHTML,a=ns.getInertBodyElement(n)}while(n!==i);let o=new UG().sanitizeChildren(Wp(a)||a);return Rl(o)}finally{if(a){let n=Wp(a)||a;for(;n.firstChild;)n.firstChild.remove()}}}function Wp(e){return"content"in e&&JG(e)?e.content:null}function JG(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var rn=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}(rn||{});function e6(e){let t=t6();return t?t.sanitize(rn.URL,e)||"":Or(e,"URL")?Ma(e):ah(Zr(e))}function t6(){let e=pe();return e&&e[xa].sanitizer}function n6(e,t,a){let n=e.length;for(;;){let r=e.indexOf(t,a);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let i=t.length;if(r+i===n||e.charCodeAt(r+i)<=32)return r}a=r+1}}var k0="ng-template";function a6(e,t,a,n){let r=0;if(n){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&n6(t[r+1].toLowerCase(),a,0)!==-1)return!0}else if(rh(e))return!1;if(r=t.indexOf(1,r),r>-1){let i;for(;++r<t.length&&typeof(i=t[r])=="string";)if(i.toLowerCase()===a)return!0}return!1}function rh(e){return e.type===4&&e.value!==k0}function r6(e,t,a){let n=e.type===4&&!a?k0:e.value;return t===n}function i6(e,t,a){let n=4,r=e.attrs,i=r!==null?l6(r):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,a)||c===""&&t.length===1){if(In(n))return!1;o=!0}}else if(n&8){if(r===null||!a6(e,r,c,a)){if(In(n))return!1;o=!0}}else{let u=t[++l],d=o6(c,r,rh(e),a);if(d===-1){if(In(n))return!1;o=!0;continue}if(u!==""){let m;if(d>i?m="":m=r[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 o6(e,t,a,n){if(t===null)return-1;let r=0;if(n||!a){let i=!1;for(;r<t.length;){let o=t[r];if(o===e)return r;if(o===3||o===6)i=!0;else if(o===1||o===2){let l=t[++r];for(;typeof l=="string";)l=t[++r];continue}else{if(o===4)break;if(o===0){r+=4;continue}}r+=i?1:2}return-1}else return u6(t,e)}function C0(e,t,a=!1){for(let n=0;n<t.length;n++)if(i6(e,t[n],a))return!0;return!1}function s6(e){let t=e.attrs;if(t!=null){let a=t.indexOf(5);if(!(a&1))return t[a+1]}return null}function l6(e){for(let t=0;t<e.length;t++){let a=e[t];if(qv(a))return t}return e.length}function u6(e,t){let a=e.indexOf(4);if(a>-1)for(a++;a<e.length;){let n=e[a];if(typeof n=="number")return-1;if(n===t)return a;a++}return-1}function c6(e,t){e:for(let a=0;a<t.length;a++){let n=t[a];if(e.length===n.length){for(let r=0;r<e.length;r++)if(e[r]!==n[r])continue e;return!0}}return!1}function Yp(e,t){return e?":not("+t.trim()+")":t}function d6(e){let t=e[0],a=1,n=2,r="",i=!1;for(;a<e.length;){let o=e[a];if(typeof o=="string")if(n&2){let l=e[++a];r+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!In(o)&&(t+=Yp(i,r),r=""),n=o,i=i||!In(n);a++}return r!==""&&(t+=Yp(i,r)),t}function h6(e){return e.map(d6).join(",")}function p6(e){let t=[],a=[],n=1,r=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")r===2?i!==""&&t.push(i,e[++n]):r===8&&a.push(i);else{if(!In(r))break;r=i}n++}return a.length&&t.push(1,...a),t}var hn={};function m6(e,t){return e.createText(t)}function f6(e,t,a){e.setValue(t,a)}function I0(e,t,a){return e.createElement(t,a)}function al(e,t,a,n,r){e.insertBefore(t,a,n,r)}function D0(e,t,a){e.appendChild(t,a)}function Zp(e,t,a,n,r){n!==null?al(e,t,a,n,r):D0(e,t,a)}function g6(e,t,a){e.removeChild(null,t,a)}function v6(e,t,a){e.setAttribute(t,"style",a)}function b6(e,t,a){a===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",a)}function T0(e,t,a){let{mergedAttrs:n,classes:r,styles:i}=a;n!==null&&N$(e,t,n),r!==null&&b6(e,t,r),i!==null&&v6(e,t,i)}function ih(e,t,a,n,r,i,o,l,c,u,d){let m=St+n,b=m+r,g=y6(m,b),w=typeof u=="function"?u():u;return g[he]={type:e,blueprint:g,template:a,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 y6(e,t){let a=[];for(let n=0;n<t;n++)a.push(n<e?null:hn);return a}function _6(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ih(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function oh(e,t,a,n,r,i,o,l,c,u,d){let m=t.blueprint.slice();return m[Ea]=r,m[ce]=n|4|128|8|64|1024,(u!==null||e&&e[ce]&2048)&&(m[ce]|=2048),Iv(m),m[Vt]=m[ui]=e,m[Dt]=a,m[xa]=o||e&&e[xa],m[bt]=l||e&&e[bt],m[Jr]=c||e&&e[Jr]||null,m[en]=i,m[Ol]=cG(),m[Xr]=d,m[bv]=u,m[_n]=t.type==2?e[_n]:m,m}function w6(e,t,a){let n=ea(t,e),r=_6(a),i=e[xa].rendererFactory,o=sh(e,oh(e,r,null,N0(a),n,t,null,i.createRenderer(n,a),null,null,null));return e[t.index]=o}function N0(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function O0(e,t,a,n){if(a===0)return-1;let r=t.length;for(let i=0;i<a;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return r}function sh(e,t){return e[Qi]?e[Np][On]=t:e[Qi]=t,e[Np]=t,t}function X(e=1){M0(_t(),pe(),ta()+e)}function M0(e,t,a,n){if((t[ce]&3)===3){let r=e.preOrderCheckHooks;r!==null&&Cs(t,r,a)}else{let r=e.preOrderHooks;r!==null&&Is(t,r,0,a)}gr(a)}var Al=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Al||{});function Ec(e,t,a,n){let r=we(null);try{let[i,o,l]=e.inputs[a],c=null;o&Al.SignalBased&&(c=t[i][cr]),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,a,i):wv(t,c,i,n)}finally{we(r)}}function R0(e,t,a,n,r){let i=ta(),o=n&2;try{gr(-1),o&&t.length>St&&M0(e,t,St,!1),mr(o?2:0,r),a(n,r)}finally{gr(i)}}function lh(e,t,a){k6(e,t,a),(a.flags&64)===64&&C6(e,t,a)}function A0(e,t,a=ea){let n=t.localNames;if(n!==null){let r=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?a(t,e):e[o];e[r++]=l}}}function x6(e,t,a,n){let r=n.get(fG,h0)||a===fa.ShadowDom;return e.selectRootElement(t,r)}function E6(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function P0(e,t,a,n,r,i,o,l){if(!l&&uh(t,e,a,n,r)){ci(t)&&S6(a,t.index);return}if(t.type&3){let c=ea(t,a);n=E6(n),r=o!=null?o(r,t.value||"",n):r,i.setProperty(c,n,r)}else t.type&12}function S6(e,t){let a=Jn(t,e);a[ce]&16||(a[ce]|=64)}function k6(e,t,a){let n=a.directiveStart,r=a.directiveEnd;ci(a)&&w6(t,a,e.data[n+a.componentOffset]),e.firstCreatePass||el(a,t);let i=a.initialInputs;for(let o=n;o<r;o++){let l=e.data[o],c=eo(t,e,o,a);if(To(c,t),i!==null&&N6(t,o-n,c,l,a,i),Qn(l)){let u=Jn(a.index,t);u[Dt]=eo(t,e,o,a)}}}function C6(e,t,a){let n=a.directiveStart,r=a.directiveEnd,i=a.index,o=w$();try{gr(i);for(let l=n;l<r;l++){let c=e.data[l],u=t[l];mc(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&I6(c,u)}}finally{gr(-1),mc(o)}}function I6(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function L0(e,t){let a=e.directiveRegistry,n=null;if(a)for(let r=0;r<a.length;r++){let i=a[r];C0(t,i.selectors,!1)&&(n??(n=[]),Qn(i)?n.unshift(i):n.push(i))}return n}function D6(e,t,a,n,r,i){let o=ea(e,t);T6(t[bt],o,i,e.value,a,n,r)}function T6(e,t,a,n,r,i,o){if(i==null)e.removeAttribute(t,r,a);else{let l=o==null?Zr(i):o(i,n||"",r);e.setAttribute(t,r,l,a)}}function N6(e,t,a,n,r,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];Ec(n,a,c,u)}}function O6(e,t){let a=e[Jr],n=a?a.get(An,null):null;n&&n.handleError(t)}function uh(e,t,a,n,r){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];Ec(g,a[m],b,r),l=!0}if(i)for(let d of i){let m=a[d],b=t.data[d];Ec(b,m,n,r),l=!0}return l}function M6(e,t){let a=Jn(t,e),n=a[he];R6(n,a);let r=a[Ea];r!==null&&a[Xr]===null&&(a[Xr]=v0(r,a[Jr])),ch(n,a,a[Dt]),mr(19,a[Dt])}function R6(e,t){for(let a=t.length;a<e.blueprint.length;a++)t.push(e.blueprint[a])}function ch(e,t,a){var n;Gd(t);try{let r=e.viewQuery;r!==null&&xc(1,r,a);let i=e.template;i!==null&&R0(e,t,i,1,a),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Mn])==null||n.finishViewCreation(e),e.staticContentQueries&&b0(e,t),e.staticViewQueries&&xc(2,e.viewQuery,a);let o=e.components;o!==null&&A6(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ce]&=-5,Ud()}}function A6(e,t){for(let a=0;a<t.length;a++)M6(e,t[a])}function Mo(e,t,a,n){let r=we(null);try{let i=t.tView,o=e[ce]&4096?4096:16,l=oh(e,i,a,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[hr]=c;let u=e[Mn];return u!==null&&(l[Mn]=u.createEmbeddedView(i)),ch(i,l,a),l}finally{we(r)}}function ti(e,t){return!t||t.firstChild===null||i0(e)}var P6;function dh(e,t){return P6(e,t)}var Vr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Vr||{});function hh(e){return(e.flags&32)===32}function zr(e,t,a,n,r){if(n!=null){let i,o=!1;Sa(n)?i=n:Ba(n)&&(o=!0,n=n[Ea]);let l=Xn(n);e===0&&a!==null?r==null?D0(t,a,l):al(t,a,l,r||null,!0):e===1&&a!==null?al(t,a,l,r||null,!0):e===2?g6(t,l,o):e===3&&t.destroyNode(l),i!=null&&G6(t,e,i,a,r)}}function L6(e,t){F0(e,t),t[Ea]=null,t[en]=null}function F6(e,t,a,n,r,i){n[Ea]=r,n[en]=t,Ll(e,n,a,1,r,i)}function F0(e,t){var a;(a=t[xa].changeDetectionScheduler)==null||a.notify(9),Ll(e,t,t[bt],2,null,null)}function j6(e){let t=e[Qi];if(!t)return uu(e[he],e);for(;t;){let a=null;if(Ba(t))a=t[Qi];else{let n=t[jt];n&&(a=n)}if(!a){for(;t&&!t[On]&&t!==e;)Ba(t)&&uu(t[he],t),t=t[Vt];t===null&&(t=e),Ba(t)&&uu(t[he],t),a=t&&t[On]}t=a}}function ph(e,t){let a=e[ei],n=a.indexOf(t);a.splice(n,1)}function Pl(e,t){if(di(t))return;let a=t[bt];a.destroyNode&&Ll(e,t,a,3,null,null),j6(t)}function uu(e,t){if(di(t))return;let a=we(null);try{t[ce]&=-129,t[ce]|=256,t[yn]&&lg(t[yn]),z6(e,t),V6(e,t),t[he].type===1&&t[bt].destroy();let n=t[hr];if(n!==null&&Sa(t[Vt])){n!==t[Vt]&&ph(n,t);let r=t[Mn];r!==null&&r.detachView(e)}_c(t)}finally{we(a)}}function V6(e,t){let a=e.cleanup,n=t[qr];if(a!==null)for(let o=0;o<a.length-1;o+=2)if(typeof a[o]=="string"){let l=a[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[a[o+1]];a[o].call(l)}n!==null&&(t[qr]=null);let r=t[Va];if(r!==null){t[Va]=null;for(let o=0;o<r.length;o++){let l=r[o];l()}}let i=t[Ys];if(i!==null){t[Ys]=null;for(let o of i)o.destroy()}}function z6(e,t){let a;if(e!=null&&(a=e.destroyHooks)!=null)for(let n=0;n<a.length;n+=2){let r=t[a[n]];if(!(r instanceof Co)){let i=a[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=r[i[o]],c=i[o+1];try{c.call(l)}finally{}}else try{i.call(r)}finally{}}}}function j0(e,t,a){return B6(e,t.parent,a)}function B6(e,t,a){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return a[Ea];if(ci(n)){let{encapsulation:r}=e.data[n.directiveStart+n.componentOffset];if(r===fa.None||r===fa.Emulated)return null}return ea(n,a)}function V0(e,t,a){return q6(e,t,a)}function H6(e,t,a){return e.type&40?ea(e,a):null}var q6=H6;function mh(e,t,a,n){let r=j0(e,n,t),i=t[bt],o=n.parent||t[en],l=V0(o,n,t);if(r!=null)if(Array.isArray(a))for(let c=0;c<a.length;c++)Zp(i,r,a[c],l,!1);else Zp(i,r,a,l,!1)}function Pi(e,t){if(t!==null){let a=t.type;if(a&3)return ea(t,e);if(a&4)return Sc(-1,e[t.index]);if(a&8){let n=t.child;if(n!==null)return Pi(e,n);{let r=e[t.index];return Sa(r)?Sc(-1,r):Xn(r)}}else{if(a&128)return Pi(e,t.next);if(a&32)return dh(t,e)()||Xn(e[t.index]);{let n=z0(e,t);if(n!==null){if(Array.isArray(n))return n[0];let r=fr(e[_n]);return Pi(r,n)}else return Pi(e,t.next)}}}return null}function z0(e,t){if(t!==null){let a=e[_n][en],n=t.projection;return a.projection[n]}return null}function Sc(e,t){let a=jt+e+1;if(a<t.length){let n=t[a],r=n[he].firstChild;if(r!==null)return Pi(n,r)}return t[pr]}function fh(e,t,a,n,r,i,o){for(;a!=null;){if(a.type===128){a=a.next;continue}let l=n[a.index],c=a.type;if(o&&t===0&&(l&&To(Xn(l),n),a.flags|=2),!hh(a))if(c&8)fh(e,t,a.child,n,r,i,!1),zr(t,e,r,l,i);else if(c&32){let u=dh(a,n),d;for(;d=u();)zr(t,e,r,d,i);zr(t,e,r,l,i)}else c&16?B0(e,t,n,a,r,i):zr(t,e,r,l,i);a=o?a.projectionNext:a.next}}function Ll(e,t,a,n,r,i){fh(a,n,e.firstChild,t,r,i,!1)}function $6(e,t,a){let n=t[bt],r=j0(e,a,t),i=a.parent||t[en],o=V0(i,a,t);B0(n,0,t,a,r,o)}function B0(e,t,a,n,r,i){let o=a[_n],l=o[en].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];zr(t,e,r,u,i)}else{let c=l,u=o[Vt];i0(n)&&(c.flags|=128),fh(e,t,c,u,r,i,!0)}}function G6(e,t,a,n,r){let i=a[pr],o=Xn(a);i!==o&&zr(t,e,n,i,r);for(let l=jt;l<a.length;l++){let c=a[l];Ll(c[he],c,e,t,n,i)}}function U6(e,t,a,n,r){r?e.addClass(a,n):e.removeClass(a,n)}function rl(e,t,a,n,r=!1){for(;a!==null;){if(a.type===128){a=r?a.projectionNext:a.next;continue}let i=t[a.index];i!==null&&n.push(Xn(i)),Sa(i)&&W6(i,n);let o=a.type;if(o&8)rl(e,t,a.child,n);else if(o&32){let l=dh(a,t),c;for(;c=l();)n.push(c)}else if(o&16){let l=z0(t,a);if(Array.isArray(l))n.push(...l);else{let c=fr(t[_n]);rl(c[he],c,l,n,!0)}}a=r?a.projectionNext:a.next}return n}function W6(e,t){for(let a=jt;a<e.length;a++){let n=e[a],r=n[he].firstChild;r!==null&&rl(n[he],n,r,t)}e[pr]!==e[Ea]&&t.push(e[pr])}function H0(e){if(e[za]!==null){for(let t of e[za])t.impl.addSequence(t);e[za].length=0}}var q0=[];function Y6(e){return e[yn]??Z6(e)}function Z6(e){let t=q0.pop()??Object.create(Q6);return t.lView=e,t}function K6(e){e.lView[yn]!==e&&(e.lView=null,q0.push(e))}var Q6=Wt(se({},vo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{So(e.lView)},consumerOnSignalRead(){this.lView[yn]=this}});function X6(e){let t=e[yn]??Object.create(J6);return t.lView=e,t}var J6=Wt(se({},vo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=fr(e.lView);for(;t&&!$0(t[he]);)t=fr(t);t&&zd(t)},consumerOnSignalRead(){this.lView[yn]=this}});function $0(e){return e.type!==2}function G0(e){if(e[Ys]===null)return;let t=!0;for(;t;){let a=!1;for(let n of e[Ys])n.dirty&&(a=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=a&&!!(e[ce]&8192)}}var eU=100;function U0(e,t=!0,a=0){var r,i;let n=e[xa].rendererFactory;(r=n.begin)==null||r.call(n);try{tU(e,a)}catch(o){throw t&&O6(e,o),o}finally{(i=n.end)==null||i.call(n)}}function tU(e,t){let a=Rv();try{Op(!0),kc(e,t);let n=0;for(;Eo(e);){if(n===eU)throw new G(103,!1);n++,kc(e,1)}}finally{Op(a)}}function nU(e,t,a,n){if(di(t))return;let r=t[ce],i=!1,o=!1;Gd(t);let l=!0,c=null,u=null;$0(e)?(u=Y6(t),c=zs(u)):aH()===null?(l=!1,u=X6(t),c=zs(u)):t[yn]&&(lg(t[yn]),t[yn]=null);try{Iv(t),b$(e.bindingStartIndex),a!==null&&R0(e,t,a,2,n);let d=(r&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&Cs(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Is(t,g,0,null),su(t,0)}if(o||aU(t),G0(t),W0(t,0),e.contentQueries!==null&&b0(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&Cs(t,g)}else{let g=e.contentHooks;g!==null&&Is(t,g,1),su(t,1)}iU(e,t);let m=e.components;m!==null&&Z0(t,m,0);let b=e.viewQuery;if(b!==null&&xc(2,b,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&Cs(t,g)}else{let g=e.viewHooks;g!==null&&Is(t,g,2),su(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ou]){for(let g of t[ou])g();t[ou]=null}i||(H0(t),t[ce]&=-73)}catch(d){throw So(t),d}finally{u!==null&&(pd(u,c),l&&K6(u)),Ud()}}function W0(e,t){for(let a=l0(e);a!==null;a=u0(a))for(let n=jt;n<a.length;n++){let r=a[n];Y0(r,t)}}function aU(e){for(let t=l0(e);t!==null;t=u0(t)){if(!(t[ce]&2))continue;let a=t[ei];for(let n=0;n<a.length;n++){let r=a[n];zd(r)}}}function rU(e,t,a){let n=Jn(t,e);Y0(n,a),mr(19,n[Dt])}function Y0(e,t){Vd(e)&&kc(e,t)}function kc(e,t){let a=e[he],n=e[ce],r=e[yn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(r!=null&&r.dirty&&sg(r))),i||(i=!1),r&&(r.dirty=!1),e[ce]&=-9217,i)nU(a,e,a.template,e[Dt]);else if(n&8192){G0(e),W0(e,1);let o=a.components;o!==null&&Z0(e,o,1),H0(e)}}function Z0(e,t,a){for(let n=0;n<t.length;n++)rU(e,t[n],a)}function iU(e,t){let a=e.hostBindingOpCodes;if(a!==null)try{for(let n=0;n<a.length;n++){let r=a[n];if(r<0)gr(~r);else{let i=r,o=a[++n],l=a[++n];_$(o,i);let c=t[i];mr(24,c),l(2,c),mr(25,c)}}}finally{gr(-1)}}function gh(e,t){var n;let a=Rv()?64:1088;for((n=e[xa].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[ce]|=a;let r=fr(e);if(Ks(e)&&!r)return e;e=r}return null}function K0(e,t,a,n){return[e,!0,0,t,null,n,null,a,null,null]}function Q0(e,t){let a=jt+t;if(a<e.length)return e[a]}function Ro(e,t,a,n=!0){let r=t[he];if(oU(r,t,e,a),n){let o=Sc(a,e),l=t[bt],c=l.parentNode(e[pr]);c!==null&&F6(r,e[en],l,t,c,o)}let i=t[Xr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function X0(e,t){let a=to(e,t);return a!==void 0&&Pl(a[he],a),a}function to(e,t){if(e.length<=jt)return;let a=jt+t,n=e[a];if(n){let r=n[hr];r!==null&&r!==e&&ph(r,n),t>0&&(e[a-1][On]=n[On]);let i=Us(e,jt+t);L6(n[he],n);let o=i[Mn];o!==null&&o.detachView(i[he]),n[Vt]=null,n[On]=null,n[ce]&=-129}return n}function oU(e,t,a,n){let r=jt+n,i=a.length;n>0&&(a[r-1][On]=t),n<i-jt?(t[On]=a[r],lv(a,jt+n,t)):(a.push(t),t[On]=null),t[Vt]=a;let o=t[hr];o!==null&&a!==o&&J0(o,t);let l=t[Mn];l!==null&&l.insertView(e),hc(t),t[ce]|=128}function J0(e,t){let a=e[ei],n=t[Vt];if(Ba(n))e[ce]|=2;else{let r=n[Vt][_n];t[_n]!==r&&(e[ce]|=2)}a===null?e[ei]=[t]:a.push(t)}var no=class{constructor(e,t,a=!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=a}get rootNodes(){let e=this._lView,t=e[he];return rl(t,e,t.firstChild,[])}get context(){return this._lView[Dt]}set context(e){this._lView[Dt]=e}get destroyed(){return di(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Vt];if(Sa(e)){let t=e[Zs],a=t?t.indexOf(this):-1;a>-1&&(to(e,a),Us(t,a))}this._attachedToViewContainer=!1}Pl(this._lView[he],this._lView)}onDestroy(e){Dv(this._lView,e)}markForCheck(){gh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ce]&=-129}reattach(){hc(this._lView),this._lView[ce]|=128}detectChanges(){this._lView[ce]|=1024,U0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new G(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ks(this._lView),t=this._lView[hr];t!==null&&!e&&ph(t,this._lView),F0(this._lView[he],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new G(902,!1);this._appRef=e;let t=Ks(this._lView),a=this._lView[hr];a!==null&&!t&&J0(a,this._lView),hc(this._lView)}};function sU(e){return Eo(e._lView)||!!(e._lView[ce]&64)}function lU(e){zd(e._cdRefInjectingView||e._lView)}var vr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",dU),e})(),uU=vr,cU=class extends uU{constructor(t,a,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=a,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,a){return this.createEmbeddedViewImpl(t,a)}createEmbeddedViewImpl(t,a,n){let r=Mo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:a,dehydratedView:n});return new no(r)}};function dU(){return vh(dn(),pe())}function vh(e,t){return e.type&4?new cU(t,e,mi(e,t)):null}function Ao(e,t,a,n,r){let i=e.data[t];if(i===null)i=hU(e,t,a,n,r),y$()&&(i.flags|=32);else if(i.type&64){i.type=a,i.value=n,i.attrs=r;let o=f$();i.injectorIndex=o===null?-1:o.injectorIndex}return hi(i,!0),i}function hU(e,t,a,n,r){let i=Nv(),o=Ov(),l=o?i:i&&i.parent,c=e.data[t]=mU(e,l,a,t,n,r);return pU(e,c,i,o),c}function pU(e,t,a,n){e.firstChild===null&&(e.firstChild=t),a!==null&&(n?a.child==null&&t.parent!==null&&(a.child=t):a.next===null&&(a.next=t,t.prev=a))}function mU(e,t,a,n,r,i){let o=t?t.injectorIndex:-1,l=0;return Tv()&&(l|=128),{type:a,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:r,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 fU=()=>null;function ni(e,t){return fU()}var gU=class{},eb=class{},vU=class{resolveComponentFactory(e){throw Error(`No component factory found for ${bn(e)}.`)}},Xu,Po=(Xu=class{},s(Xu,"NULL",new vU),Xu),Pn=class{},gi=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>bU()),e})();function bU(){let e=pe(),t=dn(),a=Jn(t.index,e);return(Ba(a)?a:e)[bt]}var yU=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),cu={},_U=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,a){a=Tl(a);let n=this.injector.get(e,cu,a);return n!==cu||t===cu?n:this.parentInjector.get(e,t,a)}};function Kp(e,t,a){let n=a?e.styles:null,r=a?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)r=ic(r,l);else if(i==2){let c=l,u=t[++o];n=ic(n,c+": "+u+";")}}a?e.styles=n:e.stylesWithoutHost=n,a?e.classes=r:e.classesWithoutHost=r}function Ut(e,t=Se.Default){let a=pe();if(a===null)return te(e,t);let n=dn();return Kv(n,a,Mt(e),t)}function tb(e,t,a,n,r){let i=n===null?null:{"":-1},o=r(e,a);if(o!==null){let l,c=null,u=null,d=xU(o);d===null?l=o:[l,c,u]=d,kU(e,t,a,l,i,c,u)}i!==null&&n!==null&&wU(a,n,i)}function wU(e,t,a){let n=e.localNames=[];for(let r=0;r<t.length;r+=2){let i=a[t[r+1]];if(i==null)throw new G(-301,!1);n.push(t[r],i)}}function xU(e){let t=null,a=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Qn(l)&&(t=l),l.findHostDirectiveDefs!==null){a=!0;break}}if(!a)return null;let n=null,r=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),r??(r=new Map),i??(i=new Map),EU(o,n,i,r)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,r,i]):null}function EU(e,t,a,n){let r=t.length;e.findHostDirectiveDefs(e,t,n),a.set(e,[r,t.length-1])}function SU(e,t,a){t.componentOffset=a,(e.components??(e.components=[])).push(t.index)}function kU(e,t,a,n,r,i,o){let l=n.length,c=!1;for(let b=0;b<l;b++){let g=n[b];!c&&Qn(g)&&(c=!0,SU(e,a,b)),gc(el(a,t),e,g.type)}OU(a,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=O0(e,t,l,null);l>0&&(a.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(a.mergedAttrs=Ji(a.mergedAttrs,g.hostAttrs),IU(e,a,t,m,g),NU(m,g,r),o!==null&&o.has(g)){let[x,S]=o.get(g);a.directiveToIndex.set(g.type,[m,x+a.directiveStart,S+a.directiveStart])}else(i===null||!i.has(g))&&a.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(a.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(a.flags|=64);let w=g.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(a.index),u=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(a.index),d=!0),m++}CU(e,a,i)}function CU(e,t,a){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(a===null||!a.has(r))Qp(0,t,r,n),Qp(1,t,r,n),Jp(t,n,!1);else{let i=a.get(r);Xp(0,t,i,n),Xp(1,t,i,n),Jp(t,n,!0)}}}function Qp(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),nb(t,i)}}function Xp(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o=r[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),nb(t,o)}}function nb(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Jp(e,t,a){let{attrs:n,inputs:r,hostDirectiveInputs:i}=e;if(n===null||!a&&r===null||a&&i===null||rh(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(!a&&r.hasOwnProperty(c)){let u=r[c];for(let d of u)if(d===t){o??(o=[]),o.push(c,n[l+1]);break}}else if(a&&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 IU(e,t,a,n,r){e.data[n]=r;let i=r.factory||(r.factory=dr(r.type)),o=new Co(i,Qn(r),Ut);e.blueprint[n]=o,a[n]=o,DU(e,t,n,O0(e,a,r.hostVars,hn),r)}function DU(e,t,a,n,r){let i=r.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;TU(o)!=l&&o.push(l),o.push(a,n,i)}}function TU(e){let t=e.length;for(;t>0;){let a=e[--t];if(typeof a=="number"&&a<0)return a}return 0}function NU(e,t,a){if(a){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)a[t.exportAs[n]]=e;Qn(t)&&(a[""]=e)}}function OU(e,t,a){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+a,e.providerIndexes=t}function ab(e,t,a,n,r,i,o,l){let c=t.consts,u=Xi(c,o),d=Ao(t,e,2,n,u);return tb(t,a,d,Xi(c,l),r),d.mergedAttrs=Ji(d.mergedAttrs,d.attrs),d.attrs!==null&&Kp(d,d.attrs,!1),d.mergedAttrs!==null&&Kp(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function rb(e,t){Bv(e,t),_v(t)&&e.queries.elementEnd(t)}var MU=class extends Po{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let a=Kr(t);return new bh(a,this.ngModule)}};function RU(e){return Object.keys(e).map(t=>{let[a,n,r]=e[t],i={propName:a,templateName:t,isSignal:(n&Al.SignalBased)!==0};return r&&(i.transform=r),i})}function AU(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function PU(e,t,a){let n=t instanceof Kn?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new _U(a,n):a}function LU(e){let t=e.get(Pn,null);if(t===null)throw new G(407,!1);let a=e.get(yU,null),n=e.get(Io,null);return{rendererFactory:t,sanitizer:a,changeDetectionScheduler:n}}function FU(e,t){let a=(e.selectors[0][0]||"div").toLowerCase();return I0(t,a,a==="svg"?n$:a==="math"?a$:null)}var bh=class extends eb{constructor(t,a){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=a,this.componentType=t.type,this.selector=h6(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!a}get inputs(){return this.cachedInputs??(this.cachedInputs=RU(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=AU(this.componentDef.outputs)),this.cachedOutputs}create(t,a,n,r){let i=we(null);try{let o=this.componentDef,l=n?["ng-version","19.2.15"]:p6(this.componentDef.selectors[0]),c=ih(0,null,null,1,0,null,null,null,null,[l],null),u=PU(o,r||this.ngModule,t),d=LU(u),m=d.rendererFactory.createRenderer(null,o),b=n?x6(m,n,o.encapsulation,u):FU(o,m),g=oh(null,c,null,512|N0(o),null,null,d,m,u,null,v0(b,u,!0));g[St]=b,Gd(g);let w=null;try{let x=ab(St,c,g,"#host",()=>[this.componentDef],!0,0);b&&(T0(m,b,x),To(b,g)),lh(c,g,x),y0(c,x,g),rb(c,x),a!==void 0&&VU(x,this.ngContentSelectors,a),w=Jn(x.index,g),g[Dt]=w[Dt],ch(c,g,null)}catch(x){throw w!==null&&_c(w),_c(g),x}finally{mr(23),Ud()}return new jU(this.componentType,g)}finally{we(i)}}},jU=class extends gU{constructor(t,a){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=a,this._tNode=Ld(a[he],St),this.location=mi(this._tNode,a),this.instance=Jn(this._tNode.index,a)[Dt],this.hostView=this.changeDetectorRef=new no(a,void 0,!1),this.componentType=t}setInput(t,a){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),a))return;let r=this._rootLView;uh(n,r[he],r,t,a),this.previousInputValues.set(t,a);let i=Jn(n.index,r);gh(i,1)}get injector(){return new Hi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function VU(e,t,a){let n=e.projection=[];for(let r=0;r<t.length;r++){let i=a[r];n.push(i!=null&&i.length?Array.from(i):null)}}var Lo=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",zU),e})();function zU(){let e=dn();return ob(e,pe())}var BU=Lo,ib=class extends BU{constructor(t,a,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=a,this._hostLView=n}get element(){return mi(this._hostTNode,this._hostLView)}get injector(){return new Hi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Kd(this._hostTNode,this._hostLView);if($v(t)){let a=Xs(t,this._hostLView),n=Qs(t),r=a[he].data[n+8];return new Hi(r,a)}else return new Hi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let a=em(this._lContainer);return a!==null&&a[t]||null}get length(){return this._lContainer.length-jt}createEmbeddedView(t,a,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=ni(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(a||{},i,o);return this.insertImpl(l,r,ti(this._hostTNode,o)),l}createComponent(t,a,n,r,i){let o=t&&!Qq(t),l;if(o)l=a;else{let w=a||{};l=w.index,n=w.injector,r=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let c=o?t:new bh(Kr(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let w=(o?u:this.parentInjector).get(Kn,null);w&&(i=w)}let d=Kr(c.componentType??{}),m=ni(this._lContainer,(d==null?void 0:d.id)??null),b=null,g=c.create(u,r,b,i);return this.insertImpl(g.hostView,l,ti(this._hostTNode,m)),g}insert(t,a){return this.insertImpl(t,a,!0)}insertImpl(t,a,n){let r=t._lView;if(i$(r)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=r[Vt],u=new ib(c,c[en],c[Vt]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(a),o=this._lContainer;return Ro(o,r,i,n),t.attachToViewContainerRef(),lv(du(o),i,t),t}move(t,a){return this.insert(t,a)}indexOf(t){let a=em(this._lContainer);return a!==null?a.indexOf(t):-1}remove(t){let a=this._adjustIndex(t,-1),n=to(this._lContainer,a);n&&(Us(du(this._lContainer),a),Pl(n[he],n))}detach(t){let a=this._adjustIndex(t,-1),n=to(this._lContainer,a);return n&&Us(du(this._lContainer),a)!=null?new no(n):null}_adjustIndex(t,a=0){return t??this.length+a}};function em(e){return e[Zs]}function du(e){return e[Zs]||(e[Zs]=[])}function ob(e,t){let a,n=t[e.index];return Sa(n)?a=n:(a=K0(n,t,null,e),t[e.index]=a,sh(t,a)),qU(a,t,e,n),new ib(a,e,t)}function HU(e,t){let a=e[bt],n=a.createComment(""),r=ea(t,e),i=a.parentNode(r);return al(a,i,n,a.nextSibling(r),!1),n}var qU=$U;function $U(e,t,a,n){if(e[pr])return;let r;a.type&8?r=Xn(n):r=HU(t,a),e[pr]=r}var GU=class sb{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new sb(this.queryList)}setDirty(){this.queryList.setDirty()}},UU=class lb{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let a=t.queries;if(a!==null){let n=t.contentQueries!==null?t.contentQueries[0]:a.length,r=[];for(let i=0;i<n;i++){let o=a.getByIndex(i),l=this.queries[o.indexInDeclarationView];r.push(l.clone())}return new lb(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let a=0;a<this.queries.length;a++)yh(t,a).matches!==null&&this.queries[a].setDirty()}},WU=class{constructor(e,t,a=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=a,typeof e=="string"?this.predicate=a8(e):this.predicate=e}},YU=class ub{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,a)}elementEnd(t){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(t)}embeddedTView(t){let a=null;for(let n=0;n<this.length;n++){let r=a!==null?a.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,a!==null?a.push(i):a=[i])}return a!==null?new ub(a):null}template(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,a)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ZU=class cb{constructor(t,a=-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=a}elementStart(t,a){this.isApplyingToNode(a)&&this.matchTNode(t,a)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,a){this.elementStart(t,a)}embeddedTView(t,a){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,a),new cb(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let a=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==a;)n=n.parent;return a===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,a){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let i=n[r];this.matchTNodeWithReadOption(t,a,KU(a,i)),this.matchTNodeWithReadOption(t,a,Ds(a,t,i,!1,!1))}else n===vr?a.type&4&&this.matchTNodeWithReadOption(t,a,-1):this.matchTNodeWithReadOption(t,a,Ds(a,t,n,!1,!1))}matchTNodeWithReadOption(t,a,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===At||r===Lo||r===vr&&a.type&4)this.addMatch(a.index,-2);else{let i=Ds(a,t,r,!1,!1);i!==null&&this.addMatch(a.index,i)}else this.addMatch(a.index,n)}}addMatch(t,a){this.matches===null?this.matches=[t,a]:this.matches.push(t,a)}};function KU(e,t){let a=e.localNames;if(a!==null){for(let n=0;n<a.length;n+=2)if(a[n]===t)return a[n+1]}return null}function QU(e,t){return e.type&11?mi(e,t):e.type&4?vh(e,t):null}function XU(e,t,a,n){return a===-1?QU(t,e):a===-2?JU(e,t,n):eo(e,e[he],a,t)}function JU(e,t,a){if(a===At)return mi(t,e);if(a===vr)return vh(t,e);if(a===Lo)return ob(t,e)}function db(e,t,a,n){let r=t[Mn].queries[n];if(r.matches===null){let i=e.data,o=a.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(XU(t,d,o[c+1],a.metadata.read))}}r.matches=l}return r.matches}function Cc(e,t,a,n){let r=e.queries.getByIndex(a),i=r.matches;if(i!==null){let o=db(e,t,r,a);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=jt;m<d.length;m++){let b=d[m];b[hr]===b[Vt]&&Cc(b[he],b,u,n)}if(d[ei]!==null){let m=d[ei];for(let b=0;b<m.length;b++){let g=m[b];Cc(g[he],g,u,n)}}}}}return n}function e8(e,t){return e[Mn].queries[t].queryList}function t8(e,t,a){let n=new lG((a&4)===4);return l$(e,t,n,n.destroy),(t[Mn]??(t[Mn]=new UU)).queries.push(new GU(n))-1}function n8(e,t,a){let n=_t();return n.firstCreatePass&&(r8(n,new WU(e,t,a),-1),n.staticViewQueries=!0),t8(n,pe(),t)}function a8(e){return e.split(",").map(t=>t.trim())}function r8(e,t,a){e.queries===null&&(e.queries=new YU),e.queries.track(new ZU(t,a))}function yh(e,t){return e.queries.getByIndex(t)}function i8(e,t){let a=e[he],n=yh(a,t);return n.crossesNgTemplate?Cc(a,e,t,[]):db(a,e,n,t)}var ao=class{},hb=class extends ao{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new MU(this));s(this,"instance",null);let a=new Md([...t.providers,{provide:ao,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],t.parent||Nl(),t.debugName,new Set(["environment"]));this.injector=a,t.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function o8(e,t,a=null){return new hb({providers:e,parent:t,debugName:a,runEnvironmentInitializers:!0}).injector}var s8=(()=>{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 r=pv(!1,n.type),i=r.length>0?o8([r],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 ot(e){return wo(()=>{let t=pb(e),a=Wt(se({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===o0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(s8).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fa.Emulated,styles:e.styles||Zt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&wr("NgStandalone"),mb(a);let n=e.dependencies;return a.directiveDefs=tm(n,!1),a.pipeDefs=tm(n,!0),a.id=h8(a),a})}function l8(e){return Kr(e)||hv(e)}function u8(e){return e!==null}function tn(e){return wo(()=>({type:e.type,bootstrap:e.bootstrap||Zt,declarations:e.declarations||Zt,imports:e.imports||Zt,exports:e.exports||Zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function c8(e,t){if(e==null)return Zn;let a={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n],i,o,l,c;Array.isArray(r)?(l=r[0],i=r[1],o=r[2]??i,c=r[3]||null):(i=r,o=r,l=Al.None,c=null),a[i]=[n,l,c],t[i]=o}return a}function d8(e){if(e==null)return Zn;let t={};for(let a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}function Ht(e){return wo(()=>{let t=pb(e);return mb(t),t})}function Er(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 pb(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||Zn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:c8(e.inputs,t),outputs:d8(e.outputs),debugInfo:null}}function mb(e){var t;(t=e.features)==null||t.forEach(a=>a(e))}function tm(e,t){if(!e)return null;let a=t?zq:l8;return()=>(typeof e=="function"?e():e).map(n=>a(n)).filter(u8)}function h8(e){let t=0,a=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,a,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 r of n.join("|"))t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function p8(e){return Object.getPrototypeOf(e.prototype).constructor}function En(e){let t=p8(e.type),a=!0,n=[e];for(;t;){let r;if(Qn(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new G(903,!1);r=t.ɵdir}if(r){if(a){n.push(r);let o=e;o.inputs=hu(e.inputs),o.declaredInputs=hu(e.declaredInputs),o.outputs=hu(e.outputs);let l=r.hostBindings;l&&b8(e,l);let c=r.viewQuery,u=r.contentQueries;if(c&&g8(e,c),u&&v8(e,u),m8(e,r),vq(e.outputs,r.outputs),Qn(r)&&r.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let i=r.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===En&&(a=!1)}}t=Object.getPrototypeOf(t)}f8(n)}function m8(e,t){for(let a in t.inputs){if(!t.inputs.hasOwnProperty(a)||e.inputs.hasOwnProperty(a))continue;let n=t.inputs[a];n!==void 0&&(e.inputs[a]=n,e.declaredInputs[a]=t.declaredInputs[a])}}function f8(e){let t=0,a=null;for(let n=e.length-1;n>=0;n--){let r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Ji(r.hostAttrs,a=Ji(a,r.hostAttrs))}}function hu(e){return e===Zn?{}:e===Zt?[]:e}function g8(e,t){let a=e.viewQuery;a?e.viewQuery=(n,r)=>{t(n,r),a(n,r)}:e.viewQuery=t}function v8(e,t){let a=e.contentQueries;a?e.contentQueries=(n,r,i)=>{t(n,r,i),a(n,r,i)}:e.contentQueries=t}function b8(e,t){let a=e.hostBindings;a?e.hostBindings=(n,r)=>{t(n,r),a(n,r)}:e.hostBindings=t}function y8(e){let t=a=>{let n=Array.isArray(e);a.hostDirectives===null?(a.findHostDirectiveDefs=fb,a.hostDirectives=n?e.map(Ic):[e]):n?a.hostDirectives.unshift(...e.map(Ic)):a.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function fb(e,t,a){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let r=n();for(let i of r)nm(Ic(i),t,a)}else nm(n,t,a)}function nm(e,t,a){let n=hv(e.directive);_8(n.declaredInputs,e.inputs),fb(n,t,a),a.set(n,e),t.push(n)}function Ic(e){return typeof e=="function"?{directive:Mt(e),inputs:Zn,outputs:Zn}:{directive:Mt(e.directive),inputs:am(e.inputs),outputs:am(e.outputs)}}function am(e){if(e===void 0||e.length===0)return Zn;let t={};for(let a=0;a<e.length;a+=2)t[e[a]]=e[a+1];return t}function _8(e,t){for(let a in t)if(t.hasOwnProperty(a)){let n=t[a],r=e[a];e[n]=r}}function gb(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Fl(e,t,a){return e[t]=a}function vb(e,t){return e[t]}function wn(e,t,a){let n=e[t];return Object.is(n,a)?!1:(e[t]=a,!0)}function il(e,t,a,n){let r=wn(e,t,a);return wn(e,t+1,n)||r}function w8(e,t,a,n,r,i){let o=il(e,t,a,n);return il(e,t+2,r,i)||o}function x8(e,t,a,n,r,i,o,l,c){let u=t.consts,d=Ao(t,e,4,o||null,l||null);tb(t,a,d,Xi(u,c),L0),d.mergedAttrs=Ji(d.mergedAttrs,d.attrs),Bv(t,d);let m=d.tView=ih(2,d,n,r,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 bb(e,t,a,n,r,i,o,l,c,u){let d=a+St,m=t.firstCreatePass?x8(d,t,e,n,r,i,o,l,c):t.data[d];hi(m,!1);let b=E8(t,e);Yd()&&mh(t,e,b,m),To(b,e);let g=K0(b,e,b,m);return e[d]=g,sh(e,g),Pd(m)&&lh(t,e,m),c!=null&&A0(e,m,u),m}function ct(e,t,a,n,r,i,o,l){let c=pe(),u=_t(),d=Xi(u.consts,i);return bb(c,u,e,t,a,n,r,d,o,l),ct}var E8=S8;function S8(e,t,a,n){return Zd(!0),t[bt].createComment("")}var k8=new K(""),C8=(()=>{const t=class t{};s(t,"ɵprov",V({token:t,providedIn:"root",factory:()=>new I8}));let e=t;return e})(),I8=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,a=this.queues.get(t);a.has(e)&&(a.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let a=this.queues.get(t);a.has(e)||(this.queuedEffectCount++,a.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 _h(e){return!!e&&typeof e.then=="function"}function yb(e){return!!e&&typeof e.subscribe=="function"}var D8=new K(""),_b=(()=>{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,r)=>{this.resolve=n,this.reject=r}));s(this,"appInits",C(D8,{optional:!0})??[]);s(this,"injector",C(rt))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Rd(this.injector,i);if(_h(o))n.push(o);else if(yb(o)){let l=new Promise((c,u)=>{o.subscribe({complete:c,error:u})});n.push(l)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),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})(),T8=new K("");function N8(){uH(()=>{throw new G(600,!1)})}function O8(e){return e.isBoundToModule}var M8=10,Ha=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",C(tG));s(this,"afterRenderManager",C(m0));s(this,"zonelessEnabled",C(e0));s(this,"rootEffectScheduler",C(C8));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(Do).hasPendingTasks.pipe(Ot(n=>!n)));s(this,"_injector",C(Kn));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var r;if(this._runningTick)throw new G(101,!1);let n=we(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(r=this.tracingSnapshot)==null||r.dispose(),this.tracingSnapshot=null,we(n),this.afterTick.next()}});C(No,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=rt.NULL){let o=n instanceof eb;if(!this._injector.get(_b).done){let g="";throw new G(405,g)}let l;o?l=n:l=this._injector.get(Po).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let c=O8(l)?void 0:this._injector.get(ao),u=r||l.selector,d=l.create(i,[],u,c),m=d.location.nativeElement,b=d.injector.get(k8,null);return b==null||b.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),Ts(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(th.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Pn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<M8;)this.synchronizeOnce()}synchronizeOnce(){var n,r,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)R8(c,u,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(r=(n=this._rendererFactory)==null?void 0:n.begin)==null||r.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})=>Eo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ts(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(T8,[]).forEach(r=>r(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),()=>Ts(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new G(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 Ts(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}function R8(e,t,a,n){!a&&!Eo(e)||U0(e,t,a&&!n?0:1)}function Ln(e,t,a,n){let r=pe(),i=pi();if(wn(r,i,t)){_t();let o=Wd();D6(o,r,e,t,a,n)}return Ln}function A8(e,t,a,n){return wn(e,pi(),a)?t+Zr(a)+n:hn}function P8(e,t,a,n,r,i){let o=v$(),l=il(e,o,a,r);return qd(2),l?t+Zr(a)+n+Zr(r)+i:hn}function as(e,t){return e<<17|t<<2}function br(e){return e>>17&32767}function L8(e){return(e&2)==2}function F8(e,t){return e&131071|t<<17}function Dc(e){return e|2}function ai(e){return(e&131068)>>2}function pu(e,t){return e&-131069|t<<2}function j8(e){return(e&1)===1}function Tc(e){return e|1}function V8(e,t,a,n,r,i){let o=t.classBindings,l=br(o),c=ai(o);e[n]=a;let u=!1,d;if(Array.isArray(a)){let m=a;d=m[1],(d===null||xo(m,d)>0)&&(u=!0)}else d=a;if(r)if(c!==0){let m=br(e[l+1]);e[n+1]=as(m,l),m!==0&&(e[m+1]=pu(e[m+1],n)),e[l+1]=F8(e[l+1],n)}else e[n+1]=as(l,0),l!==0&&(e[l+1]=pu(e[l+1],n)),l=n;else e[n+1]=as(c,0),l===0?l=n:e[c+1]=pu(e[c+1],n),c=n;u&&(e[n+1]=Dc(e[n+1])),rm(e,d,n,!0),rm(e,d,n,!1),z8(t,d,e,n),o=as(l,c),t.classBindings=o}function z8(e,t,a,n,r){let i=e.residualClasses;i!=null&&typeof t=="string"&&xo(i,t)>=0&&(a[n+1]=Tc(a[n+1]))}function rm(e,t,a,n){let r=e[a+1],i=t===null,o=n?br(r):ai(r),l=!1;for(;o!==0&&(l===!1||i);){let c=e[o],u=e[o+1];B8(c,t)&&(l=!0,e[o+1]=n?Tc(u):Dc(u)),o=n?br(u):ai(u)}l&&(e[a+1]=n?Dc(r):Tc(r))}function B8(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xo(e,t)>=0:!1}var Nn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function H8(e){return e.substring(Nn.key,Nn.keyEnd)}function q8(e){return $8(e),wb(e,xb(e,0,Nn.textEnd))}function wb(e,t){let a=Nn.textEnd;return a===t?-1:(t=Nn.keyEnd=G8(e,Nn.key=t,a),xb(e,t,a))}function $8(e){Nn.key=0,Nn.keyEnd=0,Nn.value=0,Nn.valueEnd=0,Nn.textEnd=e.length}function xb(e,t,a){for(;t<a&&e.charCodeAt(t)<=32;)t++;return t}function G8(e,t,a){for(;t<a&&e.charCodeAt(t)>32;)t++;return t}function Kt(e,t,a){let n=pe(),r=pi();if(wn(n,r,t)){let i=_t(),o=Wd();P0(i,o,n,e,t,n[bt],a,!1)}return Kt}function Nc(e,t,a,n,r){uh(t,e,a,r?"class":"style",n)}function Rn(e,t){return W8(e,t,null,!0),Rn}function jl(e){Y8(eW,U8,e,!0)}function U8(e,t){for(let a=q8(t);a>=0;a=wb(t,a))Dd(e,H8(t),!0)}function W8(e,t,a,n){let r=pe(),i=_t(),o=qd(2);if(i.firstUpdatePass&&Sb(i,e,o,n),t!==hn&&wn(r,o,t)){let l=i.data[ta()];kb(i,l,r,r[bt],e,r[o+1]=nW(t),n,o)}}function Y8(e,t,a,n){let r=_t(),i=qd(2);r.firstUpdatePass&&Sb(r,null,i,n);let o=pe();if(a!==hn&&wn(o,i,a)){let l=r.data[ta()];if(Cb(l)&&!Eb(r,i)){let c=l.classesWithoutHost;c!==null&&(a=ic(c,a||"")),Nc(r,l,o,a,n)}else tW(r,l,o,o[bt],o[i+1],o[i+1]=J8(e,t,a),n,i)}}function Eb(e,t){return t>=e.expandoStartIndex}function Sb(e,t,a,n){let r=e.data;if(r[a+1]===null){let i=r[ta()],o=Eb(e,a);Cb(i)&&t===null&&!o&&(t=!1),t=Z8(r,i,t,n),V8(r,i,t,a,o)}}function Z8(e,t,a,n){let r=x$(e),i=t.residualClasses;if(r===null)t.classBindings===0&&(a=mu(null,e,t,a),a=ro(a,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==r)if(a=mu(r,e,t,a),i===null){let l=K8(e,t);l!==void 0&&Array.isArray(l)&&(l=mu(null,e,t,l[1]),l=ro(l,t.attrs),Q8(e,t,n,l))}else i=X8(e,t)}return i!==void 0&&(t.residualClasses=i),a}function K8(e,t,a){let n=t.classBindings;if(ai(n)!==0)return e[br(n)]}function Q8(e,t,a,n){let r=t.classBindings;e[br(r)]=n}function X8(e,t,a){let n,r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<r;i++){let o=e[i].hostAttrs;n=ro(n,o)}return ro(n,t.attrs)}function mu(e,t,a,n,r){let i=null,o=a.directiveEnd,l=a.directiveStylingLast;for(l===-1?l=a.directiveStart:l++;l<o&&(i=t[l],n=ro(n,i.hostAttrs),i!==e);)l++;return e!==null&&(a.directiveStylingLast=l),n}function ro(e,t,a){let n=1,r=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?r=o:r===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Dd(e,o,!0))}return e===void 0?null:e}function J8(e,t,a){if(a==null||a==="")return Zt;let n=[],r=Ma(a);if(Array.isArray(r))for(let i=0;i<r.length;i++)e(n,r[i],!0);else if(typeof r=="object")for(let i in r)r.hasOwnProperty(i)&&e(n,i,r[i]);else typeof r=="string"&&t(n,r);return n}function eW(e,t,a){let n=String(t);n!==""&&!n.includes(" ")&&Dd(e,n,a)}function tW(e,t,a,n,r,i,o,l){r===hn&&(r=Zt);let c=0,u=0,d=0<r.length?r[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let b=c<r.length?r[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&&kb(e,t,a,n,w,x,o,l),d=c<r.length?r[c]:null,m=u<i.length?i[u]:null}}function kb(e,t,a,n,r,i,o,l){if(!(t.type&3))return;let c=e.data,u=c[l+1],d=j8(u)?im(c,t,a,r,ai(u)):void 0;if(!ol(d)){ol(i)||L8(u)&&(i=im(c,null,a,r,l));let m=Cv(ta(),a);U6(n,o,m,r,i)}}function im(e,t,a,n,r,i){let o=t===null,l;for(;r>0;){let c=e[r],u=Array.isArray(c),d=u?c[1]:c,m=d===null,b=a[r+1];b===hn&&(b=m?Zt:void 0);let g=m?ru(b,n):d===n?b:void 0;if(u&&!ol(g)&&(g=ru(c,n)),ol(g)&&(l=g,o))return l;let w=e[r+1];r=o?br(w):ai(w)}if(t!==null){let c=t.residualClasses;c!=null&&(l=ru(c,n))}return l}function ol(e){return e!==void 0}function nW(e,t){return e==null||e===""||typeof e=="object"&&(e=bn(Ma(e))),e}function Cb(e,t){return(e.flags&8)!==0}var aW=class{destroy(e){}updateValue(e,t){}swap(e,t){let a=Math.min(e,t),n=Math.max(e,t),r=this.detach(n);if(n-a>1){let i=this.detach(a);this.attach(a,r),this.attach(n,i)}else this.attach(a,r)}move(e,t){this.attach(t,this.detach(e))}};function fu(e,t,a,n,r){return e===a&&Object.is(t,n)?1:Object.is(r(e,t),r(a,n))?-1:0}function rW(e,t,a){let n,r,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=fu(i,c,i,u,a);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=fu(o,m,l,b,a);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=a(i,c),x=a(o,m),S=a(i,u);if(Object.is(S,x)){let T=a(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 lm),r??(r=sm(e,i,o,a)),Oc(e,n,i,S))e.updateValue(i,u),i++,o++;else if(r.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;)om(e,n,a,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=fu(i,u,i,d,a);if(m!==0)m<0&&e.updateValue(i,d),i++,c=l.next();else{n??(n=new lm),r??(r=sm(e,i,o,a));let b=a(i,d);if(Oc(e,n,i,b))e.updateValue(i,d),i++,o++,c=l.next();else if(!r.has(b))e.attach(i,e.create(i,d)),i++,o++,c=l.next();else{let g=a(i,u);n.set(g,e.detach(i)),o--}}}for(;!c.done;)om(e,n,a,e.length,c.value),c=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Oc(e,t,a,n){return t!==void 0&&t.has(n)?(e.attach(a,t.get(n)),t.delete(n),!0):!1}function om(e,t,a,n,r){if(Oc(e,t,n,a(n,r)))e.updateValue(n,r);else{let i=e.create(n,r);e.attach(n,i)}}function sm(e,t,a,n){let r=new Set;for(let i=t;i<=a;i++)r.add(n(i,e.at(i)));return r}var lm=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 a=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(a);)a=n.get(a);n.set(a,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,a]of this.kvMap)if(e(a,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(a);)a=n.get(a),e(a,t)}}};function It(e,t){wr("NgControlFlow");let a=pe(),n=pi(),r=a[n]!==hn?a[n]:-1,i=r!==-1?sl(a,St+r):void 0,o=0;if(wn(a,n,e)){let l=we(null);try{if(i!==void 0&&X0(i,o),e!==-1){let c=St+e,u=sl(a,c),d=Mc(a[he],c),m=ni(u,d.tView.ssrId),b=Mo(a,d,t,{dehydratedView:m});Ro(u,b,o,ti(d,m))}}finally{we(l)}}else if(i!==void 0){let l=Q0(i,o);l!==void 0&&(l[Dt]=t)}}var iW=class{constructor(e,t,a){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=a}get $count(){return this.lContainer.length-jt}};function Ib(e){return e}function oW(e,t){return t}var sW=class{constructor(e,t,a){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=a}};function wh(e,t,a,n,r,i,o,l,c,u,d,m,b){wr("NgControlFlow");let g=pe(),w=_t(),x=c!==void 0,S=pe(),T=o,A=new sW(x,T);S[St+e]=A,bb(g,w,e+1,t,a,n,r,Xi(w.consts,i))}var lW=class extends aW{constructor(t,a,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=a,this.templateTNode=n}get length(){return this.lContainer.length-jt}at(t){return this.getLView(t)[Dt].$implicit}attach(t,a){let n=a[Xr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Ro(this.lContainer,a,t,ti(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),uW(this.lContainer,t)}create(t,a){var i;let n=ni(this.lContainer,this.templateTNode.tView.ssrId),r=Mo(this.hostLView,this.templateTNode,new iW(this.lContainer,a,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),r}destroy(t){var a;Pl(t[he],t),(a=this.operationsCounter)==null||a.recordDestroy()}updateValue(t,a){this.getLView(t)[Dt].$implicit=a}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)[Dt].$index=t}getLView(t){return cW(this.lContainer,t)}};function xh(e){let t=we(null),a=ta();try{let n=pe(),r=n[he],i=n[a],o=a+1,l=sl(n,o);if(i.liveCollection===void 0){let u=Mc(r,o);i.liveCollection=new lW(l,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(rW(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=pi(),d=c.length===0;if(wn(n,u,d)){let m=a+2,b=sl(n,m);if(d){let g=Mc(r,m),w=ni(b,g.tView.ssrId),x=Mo(n,g,void 0,{dehydratedView:w});Ro(b,x,0,ti(g,w))}else X0(b,0)}}}finally{we(t)}}function sl(e,t){return e[t]}function uW(e,t){return to(e,t)}function cW(e,t){return Q0(e,t)}function Mc(e,t){return Ld(e,t)}function re(e,t,a,n){let r=pe(),i=_t(),o=St+e,l=r[bt],c=i.firstCreatePass?ab(o,i,r,t,L0,h$(),a,n):i.data[o],u=dW(i,r,c,l,t);r[o]=u;let d=Pd(c);return hi(c,!0),T0(l,u,c),!hh(c)&&Yd()&&mh(i,r,u,c),(u$()===0||d)&&To(u,r),c$(),d&&(lh(i,r,c),y0(i,c,r)),n!==null&&A0(r,c),re}function ae(){let e=dn();Ov()?Mv():(e=e.parent,hi(e,!1));let t=e;p$(t)&&m$(),d$();let a=_t();return a.firstCreatePass&&rb(a,t),t.classesWithoutHost!=null&&D$(t)&&Nc(a,t,pe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&T$(t)&&Nc(a,t,pe(),t.stylesWithoutHost,!1),ae}function un(e,t,a,n){return re(e,t,a,n),ae(),un}var dW=(e,t,a,n,r,i)=>(Zd(!0),I0(n,r,k$()));function Fo(){return pe()}function Eh(e,t,a){let n=pe(),r=pi();if(wn(n,r,t)){let i=_t(),o=Wd();P0(i,o,n,e,t,n[bt],a,!0)}return Eh}var Ya=void 0;function hW(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var pW=["en",[["a","p"],["AM","PM"],Ya],[["AM","PM"],Ya,Ya],[["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"]],Ya,[["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"]],Ya,[["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}",Ya,"{1} 'at' {0}",Ya],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",hW],qi={};function mW(e,t,a){typeof t!="string"&&(a=t,t=e[yt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),qi[t]=e,a&&(qi[t][yt.ExtraData]=a)}function Fn(e){let t=fW(e),a=um(t);if(a)return a;let n=t.split("-")[0];if(a=um(n),a)return a;if(n==="en")return pW;throw new G(701,!1)}function um(e){return e in qi||(qi[e]=Pr.ng&&Pr.ng.common&&Pr.ng.common.locales&&Pr.ng.common.locales[e]),qi[e]}var yt=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}(yt||{});function fW(e){return e.toLowerCase().replace(/_/g,"-")}var Rc="en-US";function gW(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function cm(e,t,a){return function n(r){if(r===Function)return a;let i=ci(e)?Jn(e.index,t):t;gh(i,5);let o=t[Dt],l=dm(t,o,a,r),c=n.__ngNextListenerFn__;for(;c;)l=dm(t,o,c,r)&&l,c=c.__ngNextListenerFn__;return l}}function dm(e,t,a,n){let r=we(null);try{return mr(6,t,a),a(n)!==!1}catch(i){return vW(e,i),!1}finally{we(r)}}function vW(e,t){let a=e[Jr],n=a?a.get(An,null):null;n&&n.handleError(t)}function hm(e,t,a,n,r,i){let o=t[a],l=t[he],c=l.data[a].outputs[n],u=o[c],d=l.firstCreatePass?Hd(l):null,m=Bd(t),b=u.subscribe(i),g=m.length;m.push(i,b),d&&d.push(r,e.index,g,-(g+1))}function $a(e,t,a,n){let r=pe(),i=_t(),o=dn();return yW(i,r,r[bt],o,e,t,n),$a}function bW(e,t,a,n){let r=e.cleanup;if(r!=null)for(let i=0;i<r.length-1;i+=2){let o=r[i];if(o===a&&r[i+1]===n){let l=t[qr],c=r[i+2];return l.length>c?l[c]:null}typeof o=="string"&&(i+=2)}return null}function yW(e,t,a,n,r,i,o){var m,b;let l=Pd(n),c=e.firstCreatePass?Hd(e):null,u=Bd(t),d=!0;if(n.type&3||o){let g=ea(n,t),w=o?o(g):g,x=u.length,S=o?A=>o(Xn(A[n.index])):n.index,T=null;if(!o&&l&&(T=bW(e,t,r,n.index)),T!==null){let A=T.__ngLastListenerFn__||T;A.__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,d=!1}else{i=cm(n,t,i);let A=a.listen(w,r,i);u.push(i,A),c&&c.push(r,S,x,x+1)}}else i=cm(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[r],w=(b=n.hostDirectiveOutputs)==null?void 0:b[r];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],T=w[x+1];hm(n,t,S,T,r,i)}if(g&&g.length)for(let x of g)hm(n,t,x,r,r,i)}}function Re(e=1){return S$(e)}function _W(e,t){let a=null,n=s6(e);for(let r=0;r<t.length;r++){let i=t[r];if(i==="*"){a=r;continue}if(n===null?C0(e,i,!0):c6(n,i))return r}return a}function vi(e){let t=pe()[_n][en];if(!t.projection){let a=e?e.length:1,n=t.projection=Fq(a,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?_W(i,e):0;o!==null&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i)}i=i.next}}}function Yn(e,t=0,a,n,r,i){let o=pe(),l=_t(),c=null,u=Ao(l,St+e,16,null,null);u.projection===null&&(u.projection=t),Mv();let d=!o[Xr]||Tv();o[_n][en].projection[u.projection]===null&&c!==null?wW(o,l,c):d&&!hh(u)&&$6(l,o,u)}function wW(e,t,a){let n=St+a,r=t.data[n],i=e[n],o=ni(i,r.tView.ssrId),l=Mo(e,r,void 0,{dehydratedView:o});Ro(i,l,0,ti(r,o))}function Ac(e,t,a){n8(e,t,a)}function Pc(e){let t=pe(),a=_t(),n=Av();$d(n+1);let r=yh(a,n);if(e.dirty&&r$(t)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let i=i8(t,n);e.reset(i,iG),e.notifyOnChanges()}return!0}return!1}function Lc(){return e8(pe(),Av())}function _e(e,t=""){let a=pe(),n=_t(),r=e+St,i=n.firstCreatePass?Ao(n,r,1,t,null):n.data[r],o=xW(n,a,i,t);a[r]=o,Yd()&&mh(n,a,o,i),hi(i,!1)}var xW=(e,t,a,n,r)=>(Zd(!0),m6(t[bt],n));function Xe(e){return Qt("",e,""),Xe}function Qt(e,t,a){let n=pe(),r=A8(n,e,t,a);return r!==hn&&Db(n,ta(),r),Qt}function Sh(e,t,a,n,r){let i=pe(),o=P8(i,e,t,a,n,r);return o!==hn&&Db(i,ta(),o),Sh}function Db(e,t,a){let n=Cv(t,e);f6(e[bt],n,a)}var Tb={};function Nb(e){let t=_t(),a=pe(),n=e+St,r=Ao(t,n,128,null,null);return hi(r,!1),jd(t,a,n,Tb),Nb}function pm(e){wr("NgLet");let t=_t(),a=pe(),n=ta();return jd(t,a,n,e),e}function mm(e){let t=g$(),a=Fd(t,St+e);if(a===Tb)throw new G(314,!1);return a}function EW(e,t,a){let n=_t();if(n.firstCreatePass){let r=Qn(e);Fc(a,n.data,n.blueprint,r,!0),Fc(t,n.data,n.blueprint,r,!1)}}function Fc(e,t,a,n,r){if(e=Mt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fc(e[i],t,a,n,r);else{let i=_t(),o=pe(),l=dn(),c=Qr(e)?e:Mt(e.provide),u=gv(e),d=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Qr(e)||!e.multi){let g=new Co(u,r,Ut),w=vu(c,t,r?d:d+b,m);w===-1?(gc(el(l,o),i,c),gu(i,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(g),o.push(g)):(a[w]=g,o[w]=g)}else{let g=vu(c,t,d+b,m),w=vu(c,t,d,d+b),x=g>=0&&a[g],S=w>=0&&a[w];if(r&&!S||!r&&!x){gc(el(l,o),i,c);let T=CW(r?kW:SW,a.length,r,n,u);!r&&S&&(a[w].providerFactory=T),gu(i,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(T),o.push(T)}else{let T=Ob(a[r?w:g],u,!r&&n);gu(i,e,g>-1?g:w,T)}!r&&n&&S&&a[w].componentProviders++}}}function gu(e,t,a,n){let r=Qr(t),i=Gq(t);if(r||i){let o=(i?Mt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let c=l.indexOf(a);c===-1?l.push(a,[n,o]):l[c+1].push(n,o)}else l.push(a,o)}}}function Ob(e,t,a){return a&&e.componentProviders++,e.multi.push(t)-1}function vu(e,t,a,n){for(let r=a;r<n;r++)if(t[r]===e)return r;return-1}function SW(e,t,a,n,r){return jc(this.multi,[])}function kW(e,t,a,n,r){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=eo(n,n[he],this.providerFactory.index,r);o=c.slice(0,l),jc(i,o);for(let u=l;u<c.length;u++)o.push(c[u])}else o=[],jc(i,o);return o}function jc(e,t){for(let a=0;a<e.length;a++){let n=e[a];t.push(n())}return t}function CW(e,t,a,n,r){let i=new Co(e,a,Ut);return i.multi=[],i.index=t,i.componentProviders=0,Ob(i,r,n&&!a),i}function IW(e,t=[]){return a=>{a.providersResolver=(n,r)=>EW(n,r?r(e):e,t)}}function DW(e,t,a){let n=ko()+e,r=pe();return r[n]===hn?Fl(r,n,t()):vb(r,n)}function TW(e,t,a,n){return Rb(pe(),ko(),e,t,a,n)}function NW(e,t,a,n,r,i,o,l){let c=ko()+e,u=pe(),d=w8(u,c,a,n,r,i);return wn(u,c+4,o)||d?Fl(u,c+5,t(a,n,r,i,o)):vb(u,c+5)}function Mb(e,t){let a=e[t];return a===hn?void 0:a}function Rb(e,t,a,n,r,i){let o=t+a;return wn(e,o,r)?Fl(e,o+1,i?n.call(i,r):n(r)):Mb(e,o+1)}function OW(e,t,a,n,r,i,o){let l=t+a;return il(e,l,r,i)?Fl(e,l+2,o?n.call(o,r,i):n(r,i)):Mb(e,l+2)}function Ie(e,t){let a=_t(),n,r=e+St;a.firstCreatePass?(n=MW(t,a.pipeRegistry),a.data[r]=n,n.onDestroy&&(a.destroyHooks??(a.destroyHooks=[])).push(r,n.onDestroy)):n=a.data[r];let i=n.factory||(n.factory=dr(n.type)),o=Yt(Ut);try{let l=Js(!1),c=i();return Js(l),jd(a,pe(),r,c),c}finally{Yt(o)}}function MW(e,t){if(t)for(let a=t.length-1;a>=0;a--){let n=t[a];if(e===n.name)return n}}function Oe(e,t,a){let n=e+St,r=pe(),i=Fd(r,n);return Pb(r,n)?Rb(r,ko(),t,i.transform,a,i):i.transform(a)}function Ab(e,t,a,n){let r=e+St,i=pe(),o=Fd(i,r);return Pb(i,r)?OW(i,ko(),t,o.transform,a,n,o):o.transform(a,n)}function Pb(e,t){return e[he].data[t].pure}var RW=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(".")}},fm=new RW("19.2.15"),AW=(()=>{const t=class t{constructor(){s(this,"zone",C(je));s(this,"changeDetectionScheduler",C(Io));s(this,"applicationRef",C(Ha));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 PW({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:a}){return e??(e=()=>new je(Wt(se({},LW()),{scheduleInRootZone:a}))),[{provide:je,useFactory:e},{provide:Ws,multi:!0,useFactory:()=>{let n=C(AW,{optional:!0});return()=>n.initialize()}},{provide:Ws,multi:!0,useFactory:()=>{let n=C(FW);return()=>{n.initialize()}}},t===!0?{provide:t0,useValue:!0}:[],{provide:n0,useValue:a??Jv}]}function LW(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var FW=(()=>{const t=class t{constructor(){s(this,"subscription",new ln);s(this,"initialized",!1);s(this,"zone",C(je));s(this,"pendingTasks",C(Do))}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})(),jW=(()=>{var t;const a=class a{constructor(){s(this,"appRef",C(Ha));s(this,"taskService",C(Do));s(this,"ngZone",C(je));s(this,"zonelessEnabled",C(e0));s(this,"tracing",C(No,{optional:!0}));s(this,"disableScheduling",C(t0,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new ln);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(nl):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(C(n0,{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 X$||!this.zoneIsDefined))}notify(r){var l;if(!this.zonelessEnabled&&r===5)return;let i=!1;switch(r){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?Fp:a0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(nl+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 r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Fp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var r;if(this.runningTick=!1,(r=this.cancelScheduledCallback)==null||r.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(a,"ɵfac",function(r){return new(r||a)}),s(a,"ɵprov",V({token:a,factory:a.ɵfac,providedIn:"root"}));let e=a;return e})();function VW(){return typeof $localize<"u"&&$localize.locale||Rc}var Vl=new K("",{providedIn:"root",factory:()=>C(Vl,Se.Optional|Se.SkipSelf)||VW()}),Vc=new K(""),zW=new K("");function Ci(e){return!e.moduleRef}function BW(e){let t=Ci(e)?e.r3Injector:e.moduleRef.injector,a=t.get(je);return a.run(()=>{Ci(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(An,null),r;if(a.runOutsideAngular(()=>{r=a.onError.subscribe({next:i=>{n.handleError(i)}})}),Ci(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Vc);o.add(i),t.onDestroy(()=>{r.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Vc);o.add(i),e.moduleRef.onDestroy(()=>{Ts(e.allPlatformModules,e.moduleRef),r.unsubscribe(),o.delete(i)})}return qW(n,a,()=>{let i=t.get(_b);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Vl,Rc);if(gW(o||Rc),!t.get(zW,!0))return Ci(e)?t.get(Ha):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ci(e)){let l=t.get(Ha);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return HW(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function HW(e,t){let a=e.injector.get(Ha);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>a.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(a);else throw new G(-403,!1);t.push(e)}function qW(e,t,a){try{let n=a();return _h(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Ns=null;function $W(e=[],t){return rt.create({name:t,providers:[{provide:Od,useValue:"platform"},{provide:Vc,useValue:new Set([()=>Ns=null])},...e]})}function GW(e=[]){if(Ns)return Ns;let t=$W(e);return Ns=t,N8(),UW(t),t}function UW(e){let t=e.get(d0,null);Rd(e,()=>{t==null||t.forEach(a=>a())})}function WW(){return!1}var bi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",YW),e})();function YW(e){return ZW(dn(),pe(),(e&16)===16)}function ZW(e,t,a){if(ci(e)&&!a){let n=Jn(e.index,t);return new no(n,n)}else if(e.type&175){let n=t[_n];return new no(n,t)}return null}var KW=class{constructor(){}supports(e){return e instanceof Map||gb(e)}create(){return new QW}},QW=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||gb(e)))throw new G(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(a,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,a),this._appendAfter=t,t=t._next;else{let r=this._getOrCreateRecordForKey(n,a);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let a=t;a!==null;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let a=e._prev;return t._next=e,t._prev=a,e._prev=t,a&&(a._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 r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}let a=new XW(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}_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(a=>t(e[a],a))}},XW=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 gm(){return new Lb([new KW])}var Lb=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||gm()),deps:[[t,new Aq,new Rq]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new G(901,!1)}};s(t,"ɵprov",V({token:t,providedIn:"root",factory:gm}));let e=t;return e})();function JW(e){let{rootComponent:t,appProviders:a,platformProviders:n,platformRef:r}=e;try{let i=(r==null?void 0:r.injector)??GW(n),o=[PW({}),{provide:Io,useExisting:jW},...a||[]],l=new hb({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return BW({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Li(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Fb(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function zc(e){return gH(e)}function ll(e,t){return oH(e)}var eY=e=>e;function tY(e,t){if(typeof e=="function"){let a=vp(e,eY,t==null?void 0:t.equal);return vm(a)}else{let a=vp(e.source,e.computation,e.equal);return vm(a)}}function vm(e){let t=e[cr],a=e;return a.set=n=>pH(t,n),a.update=n=>mH(t,n),a.asReadonly=oG.bind(e),a}function jb(e,t){let a=Kr(e),n=t.elementInjector||Nl();return new bh(a).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var nY={schedule(e,t){let a=setTimeout(e,t);return()=>clearTimeout(a)}};function aY(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function rY(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var bu;function iY(e,t){if(!bu){let a=Element.prototype;bu=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?bu.call(e,t):!1}function oY(e){let t={};return e.forEach(({propName:a,templateName:n,transform:r})=>{t[aY(n)]=[a,r]}),t}function sY(e,t){return t.get(Po).resolveComponentFactory(e).inputs}function lY(e,t){let a=e.childNodes,n=t.map(()=>[]),r=-1;t.some((i,o)=>i==="*"?(r=o,!0):!1);for(let i=0,o=a.length;i<o;++i){let l=a[i],c=uY(l,t,r);c!==-1&&n[c].push(l)}return n}function uY(e,t,a){let n=a;return rY(e)&&t.some((r,i)=>r!=="*"&&iY(e,r)?(n=i,!0):!1),n}var cY=10,dY=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(Po).resolveComponentFactory(e);for(let a of this.componentFactory.inputs)this.inputMap.set(a.propName,a.templateName)}create(e){return new hY(this.componentFactory,e,this.inputMap)}},hY=class{constructor(e,t,a){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new bg(1));s(this,"events",this.eventEmitters.pipe(qs(e=>xd(...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=a,this.ngZone=this.injector.get(je),this.appRef=this.injector.get(Ha),this.cdScheduler=t.get(Io),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=nY.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},cY))})}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),sU(this.componentRef.hostView)&&(lU(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=rt.create({providers:[],parent:this.injector}),a=lY(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,a,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:a,templateName:n})=>{let r=e.instance[a];return new tt(i=>{let o=r.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()}},pY=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function mY(e,t){let a=sY(e,t.injector),n=t.strategyFactory||new dY(e,t.injector),r=oY(a);class i extends pY{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);a.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]=r[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(r)),a.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(""),Vb=null;function $i(){return Vb}function fY(e){Vb??(Vb=e)}var gY=class{},zb=(()=>{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(vY),providedIn:"platform"}));let e=t;return e})(),vY=(()=>{const t=class t extends zb{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",C(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $i().getBaseHref(this._doc)}onPopState(r){let i=$i().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=$i().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵprov",V({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function Bb(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function bm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function or(e){return e&&e[0]!=="?"?`?${e}`:e}var kh=(()=>{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(yY),providedIn:"root"}));let e=t;return e})(),bY=new K(""),yY=(()=>{const t=class t extends kh{constructor(r,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=r,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=C(Le).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Bb(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+or(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,l){let c=this.prepareExternalUrl(o+or(l));this._platformLocation.pushState(r,i,c)}replaceState(r,i,o,l){let c=this.prepareExternalUrl(o+or(l));this._platformLocation.replaceState(r,i,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,r)}};s(t,"ɵfac",function(r){return new(r||t)(te(zb),te(bY,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Hb=(()=>{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 r=this._locationStrategy.getBaseHref();this._basePath=xY(bm(ym(r))),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,r=""){return this.path()==this.normalize(n+or(r))}normalize(n){return t.stripTrailingSlash(wY(this._basePath,ym(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+or(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+or(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,i;(i=(r=this._locationStrategy).historyGo)==null||i.call(r,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{var i;let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",or),s(t,"joinWithSlash",Bb),s(t,"stripTrailingSlash",bm),s(t,"ɵfac",function(n){return new(n||t)(te(kh))}),s(t,"ɵprov",V({token:t,factory:()=>_Y(),providedIn:"root"}));let e=t;return e})();function _Y(){return new Hb(te(kh))}function wY(e,t){if(!e||!t.startsWith(e))return t;let a=t.substring(e.length);return a===""||["/",";","?","#"].includes(a[0])?a:t}function ym(e){return e.replace(/\/index.html$/,"")}function xY(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var $t=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}($t||{}),Be=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Be||{}),nn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(nn||{}),zl={MinusSign:5};function EY(e){return Fn(e)[yt.LocaleId]}function SY(e,t,a){let n=Fn(e),r=[n[yt.DayPeriodsFormat],n[yt.DayPeriodsStandalone]],i=xn(r,t);return xn(i,a)}function kY(e,t,a){let n=Fn(e),r=[n[yt.DaysFormat],n[yt.DaysStandalone]],i=xn(r,t);return xn(i,a)}function CY(e,t,a){let n=Fn(e),r=[n[yt.MonthsFormat],n[yt.MonthsStandalone]],i=xn(r,t);return xn(i,a)}function IY(e,t){let a=Fn(e)[yt.Eras];return xn(a,t)}function rs(e,t){let a=Fn(e);return xn(a[yt.DateFormat],t)}function is(e,t){let a=Fn(e);return xn(a[yt.TimeFormat],t)}function os(e,t){let a=Fn(e)[yt.DateTimeFormat];return xn(a,t)}function Bl(e,t){return Fn(e)[yt.NumberSymbols][t]}function qb(e){if(!e[yt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[yt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function DY(e){let t=Fn(e);return qb(t),(t[yt.ExtraData][2]||[]).map(a=>typeof a=="string"?yu(a):[yu(a[0]),yu(a[1])])}function TY(e,t,a){let n=Fn(e);qb(n);let r=[n[yt.ExtraData][0],n[yt.ExtraData][1]],i=xn(r,t)||[];return xn(i,a)||[]}function xn(e,t){for(let a=t;a>-1;a--)if(typeof e[a]<"u")return e[a];throw new Error("Locale data API: locale data undefined")}function yu(e){let[t,a]=e.split(":");return{hours:+t,minutes:+a}}var NY=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Dr={},OY=/((?:[^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 MY(e,t,a,n){let r=BY(e);t=ha(a,t)||t;let i=[],o;for(;t;)if(o=OY.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=r.getTimezoneOffset();n&&(l=Gb(n,l),r=zY(r,n));let c="";return i.forEach(u=>{let d=jY(u);c+=d?d(r,a,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ul(e,t,a){let n=new Date(0);return n.setFullYear(e,t,a),n.setHours(0,0,0),n}function ha(e,t){let a=EY(e);if(Dr[a]??(Dr[a]={}),Dr[a][t])return Dr[a][t];let n="";switch(t){case"shortDate":n=rs(e,nn.Short);break;case"mediumDate":n=rs(e,nn.Medium);break;case"longDate":n=rs(e,nn.Long);break;case"fullDate":n=rs(e,nn.Full);break;case"shortTime":n=is(e,nn.Short);break;case"mediumTime":n=is(e,nn.Medium);break;case"longTime":n=is(e,nn.Long);break;case"fullTime":n=is(e,nn.Full);break;case"short":let r=ha(e,"shortTime"),i=ha(e,"shortDate");n=ss(os(e,nn.Short),[r,i]);break;case"medium":let o=ha(e,"mediumTime"),l=ha(e,"mediumDate");n=ss(os(e,nn.Medium),[o,l]);break;case"long":let c=ha(e,"longTime"),u=ha(e,"longDate");n=ss(os(e,nn.Long),[c,u]);break;case"full":let d=ha(e,"fullTime"),m=ha(e,"fullDate");n=ss(os(e,nn.Full),[d,m]);break}return n&&(Dr[a][t]=n),n}function ss(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(a,n){return t!=null&&n in t?t[n]:a})),e}function Tn(e,t,a="-",n,r){let i="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i=a));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function RY(e,t){return Tn(e,3).substring(0,t)}function ft(e,t,a=0,n=!1,r=!1){return function(i,o){let l=AY(e,i);if((a>0||l>-a)&&(l+=a),e===3)l===0&&a===-12&&(l=12);else if(e===6)return RY(l,t);let c=Bl(o,zl.MinusSign);return Tn(l,t,c,n,r)}}function AY(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 qe(e,t,a=$t.Format,n=!1){return function(r,i){return PY(r,i,e,t,a,n)}}function PY(e,t,a,n,r,i){switch(a){case 2:return CY(t,r,n)[e.getMonth()];case 1:return kY(t,r,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=DY(t),d=TY(t,r,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 SY(t,r,n)[o<12?0:1];case 3:return IY(t,n)[e.getFullYear()<=0?0:1];default:let c=a;throw new Error(`unexpected translation type ${c}`)}}function ls(e){return function(t,a,n){let r=-1*n,i=Bl(a,zl.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+Tn(o,2,i)+Tn(Math.abs(r%60),2,i);case 1:return"GMT"+(r>=0?"+":"")+Tn(o,1,i);case 2:return"GMT"+(r>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(r%60),2,i);case 3:return n===0?"Z":(r>=0?"+":"")+Tn(o,2,i)+":"+Tn(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var LY=0,Os=4;function FY(e){let t=ul(e,LY,1).getDay();return ul(e,0,1+(t<=Os?Os:Os+7)-t)}function $b(e){let t=e.getDay(),a=t===0?-3:Os-t;return ul(e.getFullYear(),e.getMonth(),e.getDate()+a)}function _u(e,t=!1){return function(a,n){let r;if(t){let i=new Date(a.getFullYear(),a.getMonth(),1).getDay()-1,o=a.getDate();r=1+Math.floor((o+i)/7)}else{let i=$b(a),o=FY(i.getFullYear()),l=i.getTime()-o.getTime();r=1+Math.round(l/6048e5)}return Tn(r,e,Bl(n,zl.MinusSign))}}function us(e,t=!1){return function(a,n){let r=$b(a).getFullYear();return Tn(r,e,Bl(n,zl.MinusSign),t)}}var wu={};function jY(e){if(wu[e])return wu[e];let t;switch(e){case"G":case"GG":case"GGG":t=qe(3,Be.Abbreviated);break;case"GGGG":t=qe(3,Be.Wide);break;case"GGGGG":t=qe(3,Be.Narrow);break;case"y":t=ft(0,1,0,!1,!0);break;case"yy":t=ft(0,2,0,!0,!0);break;case"yyy":t=ft(0,3,0,!1,!0);break;case"yyyy":t=ft(0,4,0,!1,!0);break;case"Y":t=us(1);break;case"YY":t=us(2,!0);break;case"YYY":t=us(3);break;case"YYYY":t=us(4);break;case"M":case"L":t=ft(1,1,1);break;case"MM":case"LL":t=ft(1,2,1);break;case"MMM":t=qe(2,Be.Abbreviated);break;case"MMMM":t=qe(2,Be.Wide);break;case"MMMMM":t=qe(2,Be.Narrow);break;case"LLL":t=qe(2,Be.Abbreviated,$t.Standalone);break;case"LLLL":t=qe(2,Be.Wide,$t.Standalone);break;case"LLLLL":t=qe(2,Be.Narrow,$t.Standalone);break;case"w":t=_u(1);break;case"ww":t=_u(2);break;case"W":t=_u(1,!0);break;case"d":t=ft(2,1);break;case"dd":t=ft(2,2);break;case"c":case"cc":t=ft(7,1);break;case"ccc":t=qe(1,Be.Abbreviated,$t.Standalone);break;case"cccc":t=qe(1,Be.Wide,$t.Standalone);break;case"ccccc":t=qe(1,Be.Narrow,$t.Standalone);break;case"cccccc":t=qe(1,Be.Short,$t.Standalone);break;case"E":case"EE":case"EEE":t=qe(1,Be.Abbreviated);break;case"EEEE":t=qe(1,Be.Wide);break;case"EEEEE":t=qe(1,Be.Narrow);break;case"EEEEEE":t=qe(1,Be.Short);break;case"a":case"aa":case"aaa":t=qe(0,Be.Abbreviated);break;case"aaaa":t=qe(0,Be.Wide);break;case"aaaaa":t=qe(0,Be.Narrow);break;case"b":case"bb":case"bbb":t=qe(0,Be.Abbreviated,$t.Standalone,!0);break;case"bbbb":t=qe(0,Be.Wide,$t.Standalone,!0);break;case"bbbbb":t=qe(0,Be.Narrow,$t.Standalone,!0);break;case"B":case"BB":case"BBB":t=qe(0,Be.Abbreviated,$t.Format,!0);break;case"BBBB":t=qe(0,Be.Wide,$t.Format,!0);break;case"BBBBB":t=qe(0,Be.Narrow,$t.Format,!0);break;case"h":t=ft(3,1,-12);break;case"hh":t=ft(3,2,-12);break;case"H":t=ft(3,1);break;case"HH":t=ft(3,2);break;case"m":t=ft(4,1);break;case"mm":t=ft(4,2);break;case"s":t=ft(5,1);break;case"ss":t=ft(5,2);break;case"S":t=ft(6,1);break;case"SS":t=ft(6,2);break;case"SSS":t=ft(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ls(0);break;case"ZZZZZ":t=ls(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ls(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ls(2);break;default:return null}return wu[e]=t,t}function Gb(e,t){e=e.replace(/:/g,"");let a=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(a)?t:a}function VY(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function zY(e,t,a){let n=e.getTimezoneOffset(),r=Gb(t,n);return VY(e,-1*(r-n))}function BY(e){if(_m(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[r,i=1,o=1]=e.split("-").map(l=>+l);return ul(r,i-1,o)}let a=parseFloat(e);if(!isNaN(e-a))return new Date(a);let n;if(n=e.match(NY))return HY(n)}let t=new Date(e);if(!_m(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function HY(e){let t=new Date(0),a=0,n=0,r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(a=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-a,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 _m(e){return e instanceof Date&&!isNaN(e.valueOf())}var xu=/\s+/,wm=[],qY=(()=>{const t=class t{constructor(n,r){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",wm);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(xu):wm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(xu):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(xu).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(Ut(At),Ut(gi))}),s(t,"ɵdir",Ht({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),$Y=(()=>{const t=class t{constructor(n,r,i){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=r,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,r){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:Vr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,l)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(Ut(At),Ut(Lb),Ut(gi))}),s(t,"ɵdir",Ht({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function Ub(e,t){return new G(2100,!1)}var GY=class{createSubscription(e,t){return zc(()=>e.subscribe({next:t,error:a=>{throw a}}))}dispose(e){zc(()=>e.unsubscribe())}},UY=class{createSubscription(e,t){return e.then(a=>t==null?void 0:t(a),a=>{throw a}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},WY=new UY,YY=new GY,ZY=(()=>{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,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(_h(n))return WY;if(yb(n))return YY;throw Ub()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){var i;n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(Ut(bi,16))}),s(t,"ɵpipe",Er({name:"async",type:t,pure:!1}));let e=t;return e})(),KY="mediumDate",QY=new K(""),XY=new K(""),JY=(()=>{const t=class t{constructor(n,r,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=r,this.defaultOptions=i}transform(n,r,i,o){var l,c;if(n==null||n===""||n!==n)return null;try{let u=r??((l=this.defaultOptions)==null?void 0:l.dateFormat)??KY,d=i??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return MY(n,u,o||this.locale,d)}catch(u){throw Ub(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Ut(Vl,16),Ut(QY,24),Ut(XY,24))}),s(t,"ɵpipe",Er({name:"date",type:t,pure:!0}));let e=t;return e})(),Wb=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({}));let e=t;return e})();function Yb(e,t){t=encodeURIComponent(t);for(let a of e.split(";")){let n=a.indexOf("="),[r,i]=n==-1?[a,""]:[a.slice(0,n),a.slice(n+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}var Zb="browser",eZ="server";function tZ(e){return e===Zb}function Kb(e){return e===eZ}var Qb=class{};function Hl(e,t,a){return mW(e,t,a)}var Bc=new K(""),Xb=(()=>{const t=class t{constructor(n,r){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new G(5101,!1);return this._eventNameToPlugin.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)(te(Bc),te(je))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Jb=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ms="ng-app-id";function xm(e){for(let t of e)t.remove()}function Em(e,t){let a=t.createElement("style");return a.textContent=e,a}function nZ(e,t,a,n){var i;let r=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ms}="${t}"],link[${Ms}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Ms),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&a.set(o.textContent,{usage:0,elements:[o]})}function Hc(e,t){let a=t.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),a}var ey=(()=>{const t=class t{constructor(n,r,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=r,this.nonce=i,this.isServer=Kb(o),nZ(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Em);r==null||r.forEach(i=>this.addUsage(i,this.external,Hc))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r==null||r.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(xm(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])xm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Em(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Hc(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ms,this.appId),n.appendChild(r)}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(Jd),te(eh,8),te(Ml))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Eu={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"},Ch=/%COMP%/g,ty="%COMP%",aZ=`_nghost-${ty}`,rZ=`_ngcontent-${ty}`,iZ=!0,oZ=new K("",{providedIn:"root",factory:()=>iZ});function sZ(e){return rZ.replace(Ch,e)}function lZ(e){return aZ.replace(Ch,e)}function ny(e,t){return t.map(a=>a.replace(Ch,e))}var qc=(()=>{const t=class t{constructor(n,r,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=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=c,this.ngZone=u,this.nonce=d,this.tracingService=m,this.platformIsServer=Kb(c),this.defaultRenderer=new Ih(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===fa.ShadowDom&&(r=Wt(se({},r),{encapsulation:fa.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof km?i.applyToHost(n):i instanceof $c&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.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(r.encapsulation){case fa.Emulated:o=new km(u,d,r,this.appId,m,l,c,b,g);break;case fa.ShadowDom:return new uZ(u,d,n,r,l,c,this.nonce,b,g);default:o=new $c(u,d,r,m,l,c,b,g);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(te(Xb),te(ey),te(Jd),te(oZ),te(Le),te(Ml),te(je),te(eh),te(No,8))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Ih=class{constructor(e,t,a,n,r){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=a,this.platformIsServer=n,this.tracingService=r}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Eu[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Sm(e)?e.content:e).appendChild(t)}insertBefore(e,t,a){e&&(Sm(e)?e.content:e).insertBefore(t,a)}removeChild(e,t){t.remove()}selectRootElement(e,t){let a=typeof e=="string"?this.doc.querySelector(e):e;if(!a)throw new G(-5104,!1);return t||(a.textContent=""),a}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,a,n){if(n){t=n+":"+t;let r=Eu[n];r?e.setAttributeNS(r,t,a):e.setAttribute(t,a)}else e.setAttribute(t,a)}removeAttribute(e,t,a){if(a){let n=Eu[a];n?e.removeAttributeNS(n,t):e.removeAttribute(`${a}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,a,n){n&(Vr.DashCase|Vr.Important)?e.style.setProperty(t,a,n&Vr.Important?"important":""):e.style[t]=a}removeStyle(e,t,a){a&Vr.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,a){e!=null&&(e[t]=a)}setValue(e,t){e.nodeValue=t}listen(e,t,a,n){var i;if(typeof e=="string"&&(e=$i().getGlobalEventTarget(this.doc,e),!e))throw new G(5102,!1);let r=this.decoratePreventDefault(a);return(i=this.tracingService)!=null&&i.wrapEventListener&&(r=this.tracingService.wrapEventListener(e,t,r)),this.eventManager.addEventListener(e,t,r,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Sm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var uZ=class extends Ih{constructor(t,a,n,r,i,o,l,c,u){var b;super(t,i,o,c,u);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=a,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=ny(r.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=r.getExternalStyles)==null?void 0:b.call(r);if(m)for(let g of m){let w=Hc(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,a){return super.appendChild(this.nodeOrShadowRoot(t),a)}insertBefore(t,a,n){return super.insertBefore(this.nodeOrShadowRoot(t),a,n)}removeChild(t,a){return super.removeChild(null,a)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$c=class extends Ih{constructor(t,a,n,r,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=a,this.removeStylesOnCompDestroy=r;let d=n.styles;this.styles=u?ny(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)}},km=class extends $c{constructor(t,a,n,r,i,o,l,c,u){let d=r+"-"+n.id;super(t,a,n,i,o,l,c,u,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=sZ(d),this.hostAttr=lZ(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,a){let n=super.createElement(t,a);return super.setAttribute(n,this.contentAttr,""),n}},cZ=class ay extends gY{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){fY(new ay)}onAndCancel(a,n,r,i){return a.addEventListener(n,r,i),()=>{a.removeEventListener(n,r,i)}}dispatchEvent(a,n){a.dispatchEvent(n)}remove(a){a.remove()}createElement(a,n){return n=n||this.getDefaultDocument(),n.createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,n){return n==="window"?window:n==="document"?a:n==="body"?a.body:null}getBaseHref(a){let n=dZ();return n==null?null:hZ(n)}resetBaseElement(){Fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return Yb(document.cookie,a)}},Fi=null;function dZ(){return Fi=Fi||document.head.querySelector("base"),Fi?Fi.getAttribute("href"):null}function hZ(e){return new URL(e,document.baseURI).pathname}var pZ=(()=>{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})(),mZ=(()=>{const t=class t extends Jb{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,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})(),Cm=["alt","control","meta","shift"],fZ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gZ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vZ=(()=>{const t=class t extends Jb{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let l=t.parseEventName(r),c=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$i().onAndCancel(n,l.domEventName,c,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),l="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),l="code."),Cm.forEach(d=>{let m=r.indexOf(d);m>-1&&(r.splice(m,1),l+=d+".")}),l+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,r){let i=fZ[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Cm.forEach(l=>{if(l!==i){let c=gZ[l];c(n)&&(o+=l+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(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 bZ(e){return JW(yZ(e))}function yZ(e){return{appProviders:[...SZ,...(e==null?void 0:e.providers)??[]],platformProviders:EZ}}function _Z(){cZ.makeCurrent()}function wZ(){return new An}function xZ(){return hG(document),document}var EZ=[{provide:Ml,useValue:Zb},{provide:d0,useValue:_Z,multi:!0},{provide:Le,useFactory:xZ}],SZ=[{provide:Od,useValue:"root"},{provide:An,useFactory:wZ},{provide:Bc,useClass:mZ,multi:!0,deps:[Le]},{provide:Bc,useClass:vZ,multi:!0,deps:[Le]},qc,ey,Xb,{provide:Pn,useExisting:qc},{provide:Qb,useClass:pZ},[]],Dh=class{},ry=class{},ri=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(a=>{let n=a.indexOf(":");if(n>0){let r=a.slice(0,n),i=a.slice(n+1).trim();this.addHeaderEntry(r,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((a,n)=>{this.addHeaderEntry(n,a)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([a,n])=>{this.setHeaderEntries(a,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let a=this.headers.get(t.toLowerCase());return a&&a.length>0?a[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,a){return this.clone({name:t,value:a,op:"a"})}set(t,a){return this.clone({name:t,value:a,op:"s"})}delete(t,a){return this.clone({name:t,value:a,op:"d"})}maybeSetNormalizedName(t,a){this.normalizedNames.has(a)||this.normalizedNames.set(a,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(a=>{this.headers.set(a,t.headers.get(a)),this.normalizedNames.set(a,t.normalizedNames.get(a))})}clone(t){let a=new Rs;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof Rs?this.lazyInit:this,a.lazyUpdate=(this.lazyUpdate||[]).concat([t]),a}applyUpdate(t){let a=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,a);let r=(t.op==="a"?this.headers.get(a):void 0)||[];r.push(...n),this.headers.set(a,r);break;case"d":let i=t.value;if(!i)this.headers.delete(a),this.normalizedNames.delete(a);else{let o=this.headers.get(a);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(a),this.normalizedNames.delete(a)):this.headers.set(a,o)}break}}addHeaderEntry(t,a){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(a):this.headers.set(n,[a])}setHeaderEntries(t,a){let n=(Array.isArray(a)?a:[a]).map(i=>i.toString()),r=t.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(a=>t(this.normalizedNames.get(a),this.headers.get(a)))}},kZ=class{encodeKey(e){return Im(e)}encodeValue(e){return Im(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function CZ(e,t){let a=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let r=n.indexOf("="),[i,o]=r==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,r)),t.decodeValue(n.slice(r+1))],l=a.get(i)||[];l.push(o),a.set(i,l)}),a}var IZ=/%(\d[a-f0-9])/gi,DZ={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Im(e){return encodeURIComponent(e).replace(IZ,(t,a)=>DZ[a]??t)}function cs(e){return`${e}`}var Gr=class iy{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new kZ,t.fromString){if(t.fromObject)throw new G(2805,!1);this.map=CZ(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(a=>{let n=t.fromObject[a],r=Array.isArray(n)?n.map(cs):[cs(n)];this.map.set(a,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let a=this.map.get(t);return a?a[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,a){return this.clone({param:t,value:a,op:"a"})}appendAll(t){let a=[];return Object.keys(t).forEach(n=>{let r=t[n];Array.isArray(r)?r.forEach(i=>{a.push({param:n,value:i,op:"a"})}):a.push({param:n,value:r,op:"a"})}),this.clone(a)}set(t,a){return this.clone({param:t,value:a,op:"s"})}delete(t,a){return this.clone({param:t,value:a,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let a=this.encoder.encodeKey(t);return this.map.get(t).map(n=>a+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let a=new iy({encoder:this.encoder});return a.cloneFrom=this.cloneFrom||this,a.updates=(this.updates||[]).concat(t),a}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 a=(t.op==="a"?this.map.get(t.param):void 0)||[];a.push(cs(t.value)),this.map.set(t.param,a);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],r=n.indexOf(cs(t.value));r!==-1&&n.splice(r,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)}},TZ=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 NZ(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Dm(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Tm(e){return typeof Blob<"u"&&e instanceof Blob}function Nm(e){return typeof FormData<"u"&&e instanceof FormData}function OZ(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Om="Content-Type",Mm="Accept",oy="X-Request-URL",sy="text/plain",ly="application/json",MZ=`${ly}, ${sy}, */*`,Su=class uy{constructor(t,a,n,r){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=a,this.method=t.toUpperCase();let i;if(NZ(this.method)||r?(this.body=n!==void 0?n:null,i=r):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 ri),this.context??(this.context=new TZ),!this.params)this.params=new Gr,this.urlWithParams=a;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=a;else{let l=a.indexOf("?"),c=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+c+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Dm(this.body)||Tm(this.body)||Nm(this.body)||OZ(this.body)?this.body:this.body instanceof Gr?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||Nm(this.body)?null:Tm(this.body)?this.body.type||null:Dm(this.body)?null:typeof this.body=="string"?sy:this.body instanceof Gr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?ly:null}clone(t={}){let a=t.method||this.method,n=t.url||this.url,r=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 uy(a,n,o,{params:d,headers:u,context:m,reportProgress:c,responseType:r,withCredentials:l,transferCache:i})}},Ur=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}(Ur||{}),Th=class{constructor(e,t=200,a="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new ri,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||a,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},RZ=class cy extends Th{constructor(a={}){super(a);s(this,"type",Ur.ResponseHeader)}clone(a={}){return new cy({headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},dy=class hy extends Th{constructor(a={}){super(a);s(this,"body");s(this,"type",Ur.Response);this.body=a.body!==void 0?a.body:null}clone(a={}){return new hy({body:a.body!==void 0?a.body:this.body,headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},Rm=class extends Th{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}},AZ=200,PZ=204;function ku(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 yi=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,r,i={}){let o;if(n instanceof Su)o=n;else{let u;i.headers instanceof ri?u=i.headers:u=new ri(i.headers);let d;i.params&&(i.params instanceof Gr?d=i.params:d=new Gr({fromObject:i.params})),o=new Su(n,r,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=at(o).pipe(qg(u=>this.handler.handle(u)));if(n instanceof Su||i.observe==="events")return l;let c=l.pipe(ma(u=>u instanceof dy));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(Ot(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new G(2806,!1);return u.body}));case"blob":return c.pipe(Ot(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new G(2807,!1);return u.body}));case"text":return c.pipe(Ot(u=>{if(u.body!==null&&typeof u.body!="string")throw new G(2808,!1);return u.body}));case"json":default:return c.pipe(Ot(u=>u.body))}case"response":return c;default:throw new G(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Gr().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,ku(i,r))}post(n,r,i={}){return this.request("POST",n,ku(i,r))}put(n,r,i={}){return this.request("PUT",n,ku(i,r))}};s(t,"ɵfac",function(n){return new(n||t)(te(Dh))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),LZ=new K("");function FZ(e,t){return t(e)}function jZ(e,t,a){return(n,r)=>Rd(a,()=>t(n,i=>e(i,r)))}var Nh=new K(""),VZ=new K(""),zZ=new K("",{providedIn:"root",factory:()=>!0}),Am=(()=>{const t=class t extends Dh{constructor(r,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",C(Do));s(this,"contributeToStability",C(zZ));this.backend=r,this.injector=i}handle(r){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Nh),...this.injector.get(VZ,[])]));this.chain=i.reduceRight((o,l)=>jZ(o,l,this.injector),FZ)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe($g(()=>this.pendingTasks.remove(i)))}else return this.chain(r,i=>this.backend.handle(i))}};s(t,"ɵfac",function(r){return new(r||t)(te(ry),te(Kn))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),BZ=/^\)\]\}',?\n/,HZ=RegExp(`^${oy}:`,"m");function qZ(e){return"responseURL"in e&&e.responseURL?e.responseURL:HZ.test(e.getAllResponseHeaders())?e.getResponseHeader(oy):null}var Pm=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new G(-2800,!1);let r=this.xhrFactory;return(r.ɵloadImpl?yr(r.ɵloadImpl()):at(null)).pipe(qs(()=>new tt(i=>{let o=r.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(Mm)||o.setRequestHeader(Mm,MZ),!n.headers.has(Om)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(Om,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 ri(o.getAllResponseHeaders()),T=qZ(o)||n.url;return c=new RZ({headers:S,status:o.status,statusText:x,url:T}),c},d=()=>{let{headers:x,status:S,statusText:T,url:A}=u(),O=null;S!==PZ&&(O=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=O?AZ:0);let Z=S>=200&&S<300;if(n.responseType==="json"&&typeof O=="string"){let ie=O;O=O.replace(BZ,"");try{O=O!==""?JSON.parse(O):null}catch(me){O=ie,Z&&(Z=!1,O={error:me,text:O})}}Z?(i.next(new dy({body:O,headers:x,status:S,statusText:T,url:A||void 0})),i.complete()):i.error(new Rm({error:O,headers:x,status:S,statusText:T,url:A||void 0}))},m=x=>{let{url:S}=u(),T=new Rm({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:Ur.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:Ur.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:Ur.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(Qb))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),py=new K(""),$Z="XSRF-TOKEN",GZ=new K("",{providedIn:"root",factory:()=>$Z}),UZ="X-XSRF-TOKEN",WZ=new K("",{providedIn:"root",factory:()=>UZ}),my=class{},YZ=(()=>{const t=class t{constructor(n,r){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Yb(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(GZ))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function ZZ(e,t){let a=e.url.toLowerCase();if(!C(py)||e.method==="GET"||e.method==="HEAD"||a.startsWith("http://")||a.startsWith("https://"))return t(e);let n=C(my).getToken(),r=C(WZ);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var fy=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}(fy||{});function KZ(e,t){return{ɵkind:e,ɵproviders:t}}function QZ(...e){let t=[yi,Pm,Am,{provide:Dh,useExisting:Am},{provide:ry,useFactory:()=>C(LZ,{optional:!0})??C(Pm)},{provide:Nh,useValue:ZZ,multi:!0},{provide:py,useValue:!0},{provide:my,useClass:YZ}];for(let a of e)t.push(...a.ɵproviders);return Td(t)}function XZ(e){return KZ(fy.Interceptors,e.map(t=>({provide:Nh,useValue:t,multi:!0})))}var gy=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",V({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=te(JZ),r},providedIn:"root"}));let e=t;return e})(),JZ=(()=>{const t=class t extends gy{constructor(r){super();s(this,"_doc");this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case rn.NONE:return i;case rn.HTML:return Or(i,"HTML")?Ma(i):XG(this._doc,String(i)).toString();case rn.STYLE:return Or(i,"Style")?Ma(i):i;case rn.SCRIPT:if(Or(i,"Script"))return Ma(i);throw new G(5200,!1);case rn.URL:return Or(i,"URL")?Ma(i):ah(String(i));case rn.RESOURCE_URL:if(Or(i,"ResourceURL"))return Ma(i);throw new G(5201,!1);default:throw new G(5202,!1)}}bypassSecurityTrustHtml(r){return TG(r)}bypassSecurityTrustStyle(r){return NG(r)}bypassSecurityTrustScript(r){return OG(r)}bypassSecurityTrustUrl(r){return MG(r)}bypassSecurityTrustResourceUrl(r){return RG(r)}};s(t,"ɵfac",function(r){return new(r||t)(te(Le))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),jo=class{},eK=(()=>{const t=class t extends jo{getTranslation(n){return at({})}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),vy=class{},tK=(()=>{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 a=typeof e,n=typeof t,r,i,o;if(a==n&&a=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(i=0;i<r;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 Pa(e){return typeof e<"u"&&e!==null}function Vo(e){return As(e)&&!Oh(e)&&e!==null}function As(e){return typeof e=="object"}function Oh(e){return Array.isArray(e)}function Mh(e){return typeof e=="string"}function nK(e){return typeof e=="function"}function Gc(e,t){let a=Object.assign({},e);return As(e)?(As(e)&&As(t)&&Object.keys(t).forEach(n=>{Vo(t[n])?n in e?a[n]=Gc(e[n],t[n]):Object.assign(a,{[n]:t[n]}):Object.assign(a,{[n]:t[n]})}),a):Gc({},t)}function Uc(e,t){let a=t.split(".");t="";do t+=a.shift(),Pa(e)&&Pa(e[t])&&(Vo(e[t])||Oh(e[t])||!a.length)?(e=e[t],t=""):a.length?t+=".":e=void 0;while(a.length);return e}function aK(e,t,a){let n=t.split("."),r=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?r[o]=a:((!r[o]||!Vo(r[o]))&&(r[o]={}),r=r[o])}}var Rh=class{},rK=(()=>{const t=class t extends Rh{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(r,i){if(Mh(r))return this.interpolateString(r,i);if(nK(r))return this.interpolateFunction(r,i)}interpolateFunction(r,i){return r(i)}interpolateString(r,i){return i?r.replace(this.templateMatcher,(o,l)=>{let c=Uc(i,l);return Pa(c)?c:o}):r}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=Bt(t)))(i||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),zo=class{},iK=(()=>{const t=class t extends zo{compile(n,r){return n}compileTranslations(n,r){return n}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),Wc=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Ft);s(this,"onLangChange",new Ft);s(this,"onDefaultLangChange",new Ft)}},by=new K("ISOLATE_TRANSLATE_SERVICE"),yy=new K("USE_DEFAULT_LANG"),_y=new K("DEFAULT_LANGUAGE"),wy=new K("USE_EXTEND"),Ii=e=>zi(e)?e:at(e),Ca=(()=>{const t=class t{constructor(n,r,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=r,this.compiler=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=c,this.extend=d,u&&(this.store=new Wc),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 r=this.retrieveTranslations(n);typeof r<"u"?(this.defaultLang==null&&(this.defaultLang=n),r.pipe(sn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return at(this.translations[n]);this.currentLang||(this.currentLang=n);let r=this.retrieveTranslations(n);return zi(r)?(r.pipe(sn(1)).subscribe(()=>{this.changeLang(n)}),r):(this.changeLang(n),at(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 r=this.currentLoader.getTranslation(n).pipe(Ep(1),sn(1));return this.loadingTranslations=r.pipe(Ot(i=>this.compiler.compileTranslations(i,n)),Ep(1),sn(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}}),r}setTranslation(n,r,i=!1){let o=this.compiler.compileTranslations(r,n);(i||this.extend)&&this.translations[n]?this.translations[n]=Gc(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 r=n.filter(i=>!this.langs.includes(i));r.length>0&&(this.langs=[...this.langs,...r])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,r,i){let o;if(n&&(o=this.runInterpolation(Uc(n,r),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Uc(this.translations[this.defaultLang],r),i)),o===void 0){let l={key:r,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:r}runInterpolation(n,r){if(Oh(n))return n.map(i=>this.runInterpolation(i,r));if(Vo(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],r);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,r)}getParsedResult(n,r,i){if(r instanceof Array){let o={},l=!1;for(let u of r)o[u]=this.getParsedResultForKey(n,u,i),l=l||zi(o[u]);if(!l)return o;let c=r.map(u=>Ii(o[u]));return Bg(c).pipe(Ot(u=>{let d={};return u.forEach((m,b)=>{d[r[b]]=m}),d}))}return this.getParsedResultForKey(n,r,i)}get(n,r){if(!Pa(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(qg(i=>Ii(this.getParsedResult(i,n,r)))):Ii(this.getParsedResult(this.translations[this.currentLang],n,r))}getStreamOnTranslationChange(n,r){if(!Pa(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return Ki(Hs(()=>this.get(n,r)),this.onTranslationChange.pipe(qs(i=>{let o=this.getParsedResult(i.translations,n,r);return Ii(o)})))}stream(n,r){if(!Pa(n)||!n.length)throw new Error('Parameter "key" required');return Ki(Hs(()=>this.get(n,r)),this.onLangChange.pipe(qs(i=>{let o=this.getParsedResult(i.translations,n,r);return Ii(o)})))}instant(n,r){if(!Pa(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,r);return zi(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,r,i=this.currentLang){aK(this.translations[i],n,Mh(r)?this.compiler.compile(r,i):this.compiler.compileTranslations(r,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(Wc),te(jo),te(zo),te(Rh),te(vy),te(yy),te(by),te(wy),te(_y))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Bo=(()=>{const t=class t{constructor(n,r){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=r}updateValue(n,r,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,r);zi(l)?l.subscribe(o):o(l)}this.translate.get(n,r).subscribe(o)}transform(n,...r){if(!n||!n.length)return n;if(cl(n,this.lastKey)&&cl(r,this.lastParams))return this.value;let i;if(Pa(r[0])&&r.length)if(Mh(r[0])&&r[0].length){let o=r[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: ${r[0]}`)}}else Vo(r[0])&&(i=r[0]);return this.lastKey=n,this.lastParams=r,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)(Ut(Ca,16),Ut(bi,16))}),s(t,"ɵpipe",Er({name:"translate",type:t,pure:!1})),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})(),oK=(e={})=>Td([e.loader||{provide:jo,useClass:eK},e.compiler||{provide:zo,useClass:iK},e.parser||{provide:Rh,useClass:rK},e.missingTranslationHandler||{provide:vy,useClass:tK},Wc,{provide:by,useValue:e.isolate},{provide:yy,useValue:e.useDefaultLang},{provide:wy,useValue:e.extend},{provide:_y,useValue:e.defaultLanguage},Ca]);function xy(e){return e.buttons===0||e.detail===0}function Ey(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 Cu;function sK(){if(Cu==null){let e=typeof document<"u"?document.head:null;Cu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Cu}function lK(e){if(sK()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Iu(){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 wa(e){return e.composedPath?e.composedPath()[0]:e.target}function La(e,t,a,n,r){let i=parseInt(fm.major),o=parseInt(fm.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,a,n,r):(t.addEventListener(a,n,r),()=>{t.removeEventListener(a,n,r)})}var Yc;try{Yc=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Yc=!1}var pn=(()=>{const t=class t{constructor(){s(this,"_platformId",C(Ml));s(this,"isBrowser",this._platformId?tZ(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||Yc)&&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})(),Di;function uK(){if(Di==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Di=!0}))}finally{Di=Di||!1}return Di}function Ah(e){return uK()?e:!!e.capture}function Lm(e,t=0){return cK(e)?Number(e):arguments.length===2?t:0}function cK(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Wr(e){return e instanceof At?e.nativeElement:e}var dK=new K("cdk-input-modality-detector-options"),hK={ignoreKeys:[18,17,224,91,16]},Sy=650,Du={passive:!0,capture:!0},pK=(()=>{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 bd(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var r,i;(i=(r=this._options)==null?void 0:r.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=wa(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<Sy||(this._modality.next(xy(n)?"keyboard":"mouse"),this._mostRecentTarget=wa(n))});s(this,"_onTouchstart",n=>{if(Ey(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=wa(n)});let n=C(je),r=C(Le),i=C(dK,{optional:!0});if(this._options=se(se({},hK),i),this.modalityDetected=this._modality.pipe(Ug(1)),this.modalityChanged=this.modalityDetected.pipe(hq()),this._platform.isBrowser){let o=C(Pn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[La(o,r,"keydown",this._onKeydown,Du),La(o,r,"mousedown",this._onMousedown,Du),La(o,r,"touchstart",this._onTouchstart,Du)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(r=>r())}};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=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Ps||{}),mK=new K("cdk-focus-monitor-default-options"),ds=Ah({passive:!0,capture:!0}),ky=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(je));s(this,"_platform",C(pn));s(this,"_inputModalityDetector",C(pK));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 r=wa(n);for(let i=r;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=C(mK,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Ps.IMMEDIATE}monitor(n,r=!1){let i=Wr(n);if(!this._platform.isBrowser||i.nodeType!==1)return at();let o=lK(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return r&&(l.checkChildren=!0),l.subject;let c={checkChildren:r,subject:new xe,rootNode:o};return this._elementInfo.set(i,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let r=Wr(n),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(n,r,i){let o=Wr(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([c,u])=>this._originChanged(c,r,u)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_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===Ps.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===Ps.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Sy:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,r){let i=this._elementInfo.get(r),o=wa(n);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(n,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,ds),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,ds)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(_o(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ds),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ds),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,i){this._setClasses(n,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===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(r))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})(),hs=new WeakMap,Ho=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",C(rt));s(this,"_environmentInjector",C(Kn))}load(n){let r=this._appRef=this._appRef||this._injector.get(Ha),i=hs.get(r);i||(i={loaders:new Set,refs:[]},hs.set(r,i),r.onDestroy(()=>{var o;(o=hs.get(r))==null||o.refs.forEach(l=>l.destroy()),hs.delete(r)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(jb(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})(),fK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},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 Fm=new Set,Za,gK=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_nonce",C(eh,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):bK}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&vK(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 vK(e,t){if(!Fm.has(e))try{Za||(Za=document.createElement("style"),t&&Za.setAttribute("nonce",t),Za.setAttribute("type","text/css"),document.head.appendChild(Za)),Za.sheet&&(Za.sheet.insertRule(`@media ${e} {body{ }}`,0),Fm.add(e))}catch(a){console.error(a)}}function bK(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Cy=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",C(gK));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 jm(dl(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let r=jm(dl(n)).map(o=>this._registerQuery(o).observable),i=iq(r);return i=Ki(i.pipe(sn(1)),i.pipe(Ug(1),dq(0))),i.pipe(Ot(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 r=this._mediaMatcher.matchMedia(n),i={observable:new tt(o=>{let l=c=>this._zone.run(()=>o.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(Sd(r),Ot(({matches:o})=>({query:n,matches:o})),_o(this._destroySubject)),mql:r};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 jm(e){return e.map(t=>t.split(",")).reduce((t,a)=>t.concat(a)).map(t=>t.trim())}var yK=(()=>{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})(),_K=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({providers:[yK]}));let e=t;return e})(),Iy=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return xK(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=wK(NK(n));if(r&&(Vm(r)===-1||!this.isVisible(r)))return!1;let i=n.nodeName.toLowerCase(),o=Vm(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!DK(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,r){return TK(n)&&!this.isDisabled(n)&&((r==null?void 0:r.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 wK(e){try{return e.frameElement}catch{return null}}function xK(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function EK(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function SK(e){return CK(e)&&e.type=="hidden"}function kK(e){return IK(e)&&e.hasAttribute("href")}function CK(e){return e.nodeName.toLowerCase()=="input"}function IK(e){return e.nodeName.toLowerCase()=="a"}function Dy(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Vm(e){if(!Dy(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function DK(e){let t=e.nodeName.toLowerCase(),a=t==="input"&&e.type;return a==="text"||a==="password"||t==="select"||t==="textarea"}function TK(e){return SK(e)?!1:EK(e)||kK(e)||e.hasAttribute("contenteditable")||Dy(e)}function NK(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var OK=class{constructor(e,t,a,n,r=!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=a,this._document=n,this._injector=i,r||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 a=this._getFirstTabbableElement(t);return a==null||a.focus(e),!!a}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 a=0;a<t.length;a++){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[a]):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 a=t.length-1;a>=0;a--){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[a]):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?nh(e,{injector:this._injector}):setTimeout(e)}},MK=(()=>{const t=class t{constructor(){s(this,"_checker",C(Iy));s(this,"_ngZone",C(je));s(this,"_document",C(Le));s(this,"_injector",C(rt));C(Ho).load(fK)}create(n,r=!1){return new OK(n,this._checker,this._ngZone,this._document,r,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})(),RK=new K("liveAnnouncerElement",{providedIn:"root",factory:AK});function AK(){return null}var PK=new K("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),LK=0,FK=(()=>{const t=class t{constructor(){s(this,"_ngZone",C(je));s(this,"_defaultOptions",C(PK,{optional:!0}));s(this,"_liveElement");s(this,"_document",C(Le));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=C(RK,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...r){let i=this._defaultOptions,o,l;return r.length===1&&typeof r[0]=="number"?l=r[0]:[o,l]=r,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,r;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(r=this._currentResolve)==null||r.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[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-${LK++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<r.length;i++){let o=r[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})(),tr=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}(tr||{}),zm="cdk-high-contrast-black-on-white",Bm="cdk-high-contrast-white-on-black",Tu="cdk-high-contrast-active",Ty=(()=>{const t=class t{constructor(){s(this,"_platform",C(pn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",C(Le));s(this,"_breakpointSubscription");this._breakpointSubscription=C(Cy).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return tr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.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 tr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return tr.BLACK_ON_WHITE}return tr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Tu,zm,Bm),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===tr.BLACK_ON_WHITE?n.add(Tu,zm):r===tr.WHITE_ON_BLACK&&n.add(Tu,Bm)}}};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})(),jK=(()=>{const t=class t{constructor(){C(Ty)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({imports:[_K]}));let e=t;return e})(),Nu={},qo=(()=>{const t=class t{constructor(){s(this,"_appId",C(Jd))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Nu.hasOwnProperty(n)||(Nu[n]=0),`${n}${Nu[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 Ny(e,...t){return t.length?t.some(a=>e[a]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var VK=new K("cdk-dir-doc",{providedIn:"root",factory:zK});function zK(){return C(Le)}var BK=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function HK(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?BK.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var hl=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Ft);let n=C(VK,{optional:!0});if(n){let r=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=HK(r||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})(),io=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({}));let e=t;return e})(),ii=(()=>{const t=class t{constructor(){C(Ty)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({imports:[io,io]}));let e=t;return e})(),Zc=new K("MAT_DATE_LOCALE",{providedIn:"root",factory:qK});function qK(){return C(Vl)}var Tr="Method not implemented",Oy=class{constructor(){s(this,"locale");s(this,"_localeChanges",new xe);s(this,"localeChanges",this._localeChanges)}setTime(e,t,a,n){throw new Error(Tr)}getHours(e){throw new Error(Tr)}getMinutes(e){throw new Error(Tr)}getSeconds(e){throw new Error(Tr)}parseTime(e,t){throw new Error(Tr)}addSeconds(e,t){throw new Error(Tr)}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 a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareDate(e,t):a==n}return e==t}sameTime(e,t){if(e&&t){let a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareTime(e,t):a==n}return e==t}clampDate(e,t,a){return t&&this.compareDate(e,t)<0?t:a&&this.compareDate(e,a)>0?a:e}},$K=new K("mat-date-formats"),GK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},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||{}),ps,Ka;function My(){if(Ka==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ka=!1,Ka;if("scrollBehavior"in document.documentElement.style)Ka=!0;else{let e=Element.prototype.scrollTo;e?Ka=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ka=!1}}return Ka}function Ti(){if(typeof document!="object"||!document)return qn.NORMAL;if(ps==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 a=document.createElement("div"),n=a.style;n.width="2px",n.height="1px",e.appendChild(a),document.body.appendChild(e),ps=qn.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,ps=e.scrollLeft===0?qn.NEGATED:qn.INVERTED),e.remove()}return ps}function Hm(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function gt(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||{}),UK=class{constructor(e,t,a,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=a,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},qm=Ah({passive:!0,capture:!0}),WK=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var a;let t=wa(e);t&&((a=this._events.get(e.type))==null||a.forEach((n,r)=>{(r===t||r.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,a,n){let r=this._events.get(t);if(r){let i=r.get(a);i?i.add(n):r.set(a,new Set([n]))}else this._events.set(t,new Map([[a,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,qm)})}removeHandler(e,t,a){let n=this._events.get(e);if(!n)return;let r=n.get(t);r&&(r.delete(a),r.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,qm)))}},pl={enterDuration:225,exitDuration:150},YK=800,$m=Ah({passive:!0,capture:!0}),Gm=["mousedown","touchstart"],Um=["mouseup","mouseleave","touchend","touchcancel"],ZK=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},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((a,n)=>`${n+1}) ${a.toString()}`).join(`
|
|
|
26
26
|
`,BQ=`@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
|
`,Gl=(()=>{const t=class t extends Qy{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})()),s(t,"ɵcmp",ot({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,r){n&2&&(Ln("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),jl(r.color?"mat-"+r.color:""),Rn("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[En],ngContentSelectors:Jy,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,r){n&1&&(vi(Xy),un(0,"span",0),Yn(1),re(2,"span",1),Yn(3,1),ae(),Yn(4,2),un(5,"span",2)(6,"span",3)),n&2&&Rn("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._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})(),HQ=(()=>{const t=class t extends VQ{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})()),s(t,"ɵcmp",ot({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,r){n&2&&(Ln("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),jl(r.color?"mat-"+r.color:""),Rn("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[En],ngContentSelectors:Jy,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,r){n&1&&(vi(Xy),un(0,"span",0),Yn(1),re(2,"span",1),Yn(3,1),ae(),Yn(4,2),un(5,"span",2)(6,"span",3)),n&2&&Rn("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[zQ,BQ],encapsulation:2,changeDetection:0}));let e=t;return e})(),e1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({imports:[ii,JK,ii]}));let e=t;return e})(),t1=(()=>{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,r,i)=>{if(i==0||r==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*r,l=o<i?Math.min(o+r,i):o+r;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})(),Ce=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}(Ce||{}),ga="*";function qQ(e,t=null){return{type:Ce.Sequence,steps:e,options:t}}function uf(e){return{type:Ce.Style,styles:e,offset:null}}var uo=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(a=>a()),t.length=0}},n1=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,a=0,n=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==r&&this._onFinish()}),i.onDestroy(()=>{++a==r&&this._onDestroy()}),i.onStart(()=>{++n==r&&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(a=>{let n=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(n)})}getPosition(){let e=this.players.reduce((t,a)=>t===null||a.totalTime>t.totalTime?a: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(a=>a()),t.length=0}},Bh="!";function cf(e){return new G(3e3,!1)}function $Q(){return new G(3100,!1)}function GQ(){return new G(3101,!1)}function UQ(e){return new G(3001,!1)}function WQ(e){return new G(3003,!1)}function YQ(e){return new G(3004,!1)}function ZQ(e,t){return new G(3005,!1)}function KQ(){return new G(3006,!1)}function QQ(){return new G(3007,!1)}function XQ(e,t){return new G(3008,!1)}function JQ(e){return new G(3002,!1)}function eX(e,t,a,n,r){return new G(3010,!1)}function tX(){return new G(3011,!1)}function nX(){return new G(3012,!1)}function aX(){return new G(3200,!1)}function rX(){return new G(3202,!1)}function iX(){return new G(3013,!1)}function oX(e){return new G(3014,!1)}function sX(e){return new G(3015,!1)}function lX(e){return new G(3016,!1)}function uX(e,t){return new G(3404,!1)}function cX(e){return new G(3502,!1)}function dX(e){return new G(3503,!1)}function hX(){return new G(3300,!1)}function pX(e){return new G(3504,!1)}function mX(e){return new G(3301,!1)}function fX(e,t){return new G(3302,!1)}function gX(e){return new G(3303,!1)}function vX(e,t){return new G(3400,!1)}function bX(e){return new G(3401,!1)}function yX(e){return new G(3402,!1)}function _X(e,t){return new G(3505,!1)}function Ra(e){switch(e.length){case 0:return new uo;case 1:return e[0];default:return new n1(e)}}function a1(e,t,a=new Map,n=new Map){let r=[],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,r),x){case Bh:x=a.get(g);break;case ga:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,r);break}m.set(w,x)}),d||i.push(m),l=m,o=u}),r.length)throw cX();return i}function Hh(e,t,a,n){switch(t){case"start":e.onStart(()=>n(a&&ju(a,"start",e)));break;case"done":e.onDone(()=>n(a&&ju(a,"done",e)));break;case"destroy":e.onDestroy(()=>n(a&&ju(a,"destroy",e)));break}}function ju(e,t,a){let n=a.totalTime,r=!!a.disabled,i=qh(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,r),o=e._data;return o!=null&&(i._data=o),i}function qh(e,t,a,n,r="",i=0,o){return{element:e,triggerName:t,fromState:a,toState:n,phaseName:r,totalTime:i,disabled:!!o}}function on(e,t,a){let n=e.get(t);return n||e.set(t,n=a),n}function df(e){let t=e.indexOf(":"),a=e.substring(1,t),n=e.slice(t+1);return[a,n]}var wX=typeof document>"u"?null:document.documentElement;function $h(e){let t=e.parentNode||e.host||null;return t===wX?null:t}function xX(e){return e.substring(1,6)=="ebkit"}var Xa=null,hf=!1;function EX(e){Xa||(Xa=SX()||{},hf=Xa.style?"WebkitAppearance"in Xa.style:!1);let t=!0;return Xa.style&&!xX(e)&&(t=e in Xa.style,!t&&hf&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Xa.style)),t}function SX(){return typeof document<"u"?document.body:null}function r1(e,t){for(;t;){if(t===e)return!0;t=$h(t)}return!1}function i1(e,t,a){if(a)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var kX=1e3,o1="{{",CX="}}",s1="ng-enter",Qc="ng-leave",fs="ng-trigger",fl=".ng-trigger",pf="ng-animating",Xc=".ng-animating";function pa(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Jc(parseFloat(t[1]),t[2])}function Jc(e,t){switch(t){case"s":return e*kX;default:return e}}function gl(e,t,a){return e.hasOwnProperty("duration")?e:IX(e,t,a)}function IX(e,t,a){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(cf()),{duration:0,delay:0,easing:""};r=Jc(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(i=Jc(parseFloat(c),l[4]));let u=l[5];u&&(o=u)}else r=e;if(!a){let l=!1,c=t.length;r<0&&(t.push($Q()),l=!0),i<0&&(t.push(GQ()),l=!0),l&&t.splice(c,0,cf())}return{duration:r,delay:i,easing:o}}function DX(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function $n(e,t,a){t.forEach((n,r)=>{let i=Gh(r);a&&!a.has(r)&&a.set(r,e.style[i]),e.style[i]=n})}function sr(e,t){t.forEach((a,n)=>{let r=Gh(n);e.style[r]=""})}function Ni(e){return Array.isArray(e)?e.length==1?e[0]:qQ(e):e}function TX(e,t,a){let n=t.params||{},r=l1(e);r.length&&r.forEach(i=>{n.hasOwnProperty(i)||a.push(UQ())})}var ed=new RegExp(`${o1}\\s*(.+?)\\s*${CX}`,"g");function l1(e){let t=[];if(typeof e=="string"){let a;for(;a=ed.exec(e);)t.push(a[1]);ed.lastIndex=0}return t}function co(e,t,a){let n=`${e}`,r=n.replace(ed,(i,o)=>{let l=t[o];return l==null&&(a.push(WQ()),l=""),l.toString()});return r==n?e:r}var NX=/-+([a-z0-9])/g;function Gh(e){return e.replace(NX,(...t)=>t[1].toUpperCase())}function OX(e,t){return e===0||t===0}function MX(e,t,a){if(a.size&&t.length){let n=t[0],r=[];if(a.forEach((i,o)=>{n.has(o)||r.push(o),n.set(o,i)}),r.length)for(let i=1;i<t.length;i++){let o=t[i];r.forEach(l=>o.set(l,Uh(e,l)))}}return t}function an(e,t,a){switch(t.type){case Ce.Trigger:return e.visitTrigger(t,a);case Ce.State:return e.visitState(t,a);case Ce.Transition:return e.visitTransition(t,a);case Ce.Sequence:return e.visitSequence(t,a);case Ce.Group:return e.visitGroup(t,a);case Ce.Animate:return e.visitAnimate(t,a);case Ce.Keyframes:return e.visitKeyframes(t,a);case Ce.Style:return e.visitStyle(t,a);case Ce.Reference:return e.visitReference(t,a);case Ce.AnimateChild:return e.visitAnimateChild(t,a);case Ce.AnimateRef:return e.visitAnimateRef(t,a);case Ce.Query:return e.visitQuery(t,a);case Ce.Stagger:return e.visitStagger(t,a);default:throw YQ(t.type)}}function Uh(e,t){return window.getComputedStyle(e)[t]}var RX=(()=>{const t=class t{validateStyleProperty(n){return EX(n)}containsElement(n,r){return r1(n,r)}getParentElement(n){return $h(n)}query(n,r,i){return i1(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,l,c=[],u){return new uo(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})(),Ju,u1=(Ju=class{},s(Ju,"NOOP",new RX),Ju),Wh=class{},AX=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"]),PX=class extends Wh{normalizePropertyName(e,t){return Gh(e)}normalizeStyleValue(e,t,a,n){let r="",i=a.toString().trim();if(AX.has(t)&&a!==0&&a!=="0")if(typeof a=="number")r="px";else{let o=a.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(ZQ())}return i+r}},vl="*";function LX(e,t){let a=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>FX(n,a,t)):a.push(e),a}function FX(e,t,a){if(e[0]==":"){let c=jX(e,a);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 a.push(sX()),t;let r=n[1],i=n[2],o=n[3];t.push(mf(r,o));let l=r==vl&&o==vl;i[0]=="<"&&!l&&t.push(mf(o,r))}function jX(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,n)=>parseFloat(n)>parseFloat(a);case":decrement":return(a,n)=>parseFloat(n)<parseFloat(a);default:return t.push(lX()),"* => *"}}var gs=new Set(["true","1"]),vs=new Set(["false","0"]);function mf(e,t){let a=gs.has(e)||vs.has(e),n=gs.has(t)||vs.has(t);return(r,i)=>{let o=e==vl||e==r,l=t==vl||t==i;return!o&&a&&typeof r=="boolean"&&(o=r?gs.has(e):vs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?gs.has(t):vs.has(t)),o&&l}}var c1=":self",VX=new RegExp(`s*${c1}s*,?`,"g");function d1(e,t,a,n){return new zX(e).build(t,a,n)}var ff="",zX=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,a){let n=new qX(t);return this._resetContextStyleTimingState(n),an(this,Ni(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=ff,e.collectedStyles=new Map,e.collectedStyles.set(ff,new Map),e.currentTime=0}visitTrigger(e,t){let a=t.queryCount=0,n=t.depCount=0,r=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(KQ()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ce.State){let l=o,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,r.push(this.visitState(l,t))}),l.name=c}else if(o.type==Ce.Transition){let l=this.visitTransition(o,t);a+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(QQ())}),{type:Ce.Trigger,name:e.name,states:r,transitions:i,queryCount:a,depCount:n,options:null}}visitState(e,t){let a=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(a.containsDynamicStyles){let r=new Set,i=n||{};a.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{l1(l).forEach(c=>{i.hasOwnProperty(c)||r.add(c)})})}),r.size&&t.errors.push(XQ(e.name,[...r.values()]))}return{type:Ce.State,name:e.name,style:a,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let a=an(this,Ni(e.animation),t),n=LX(e.expr,t.errors);return{type:Ce.Transition,matchers:n,animation:a,queryCount:t.queryCount,depCount:t.depCount,options:Ja(e.options)}}visitSequence(e,t){return{type:Ce.Sequence,steps:e.steps.map(a=>an(this,a,t)),options:Ja(e.options)}}visitGroup(e,t){let a=t.currentTime,n=0,r=e.steps.map(i=>{t.currentTime=a;let o=an(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ce.Group,steps:r,options:Ja(e.options)}}visitAnimate(e,t){let a=GX(e.timings,t.errors);t.currentAnimateTimings=a;let n,r=e.styles?e.styles:uf({});if(r.type==Ce.Keyframes)n=this.visitKeyframes(r,t);else{let i=e.styles,o=!1;if(!i){o=!0;let c={};a.easing&&(c.easing=a.easing),i=uf(c)}t.currentTime+=a.duration+a.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ce.Animate,timings:a,style:n,options:null}}visitStyle(e,t){let a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}_makeStyleAst(e,t){let a=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===ga?a.push(o):t.errors.push(JQ()):a.push(new Map(Object.entries(o)));let r=!1,i=null;return a.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(o1)>=0){r=!0;break}}}),{type:Ce.Style,styles:a,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let a=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;a&&r>0&&(r-=a.duration+a.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&&(r!=n&&r>=u.startTime&&n<=u.endTime&&(t.errors.push(eX(l,u.startTime,u.endTime)),d=!1),r=u.startTime),d&&c.set(l,{startTime:r,endTime:n}),t.options&&TX(o,t.options,t.errors)})})}visitKeyframes(e,t){let a={type:Ce.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(tX()),a;let n=1,r=0,i=[],o=!1,l=!1,c=0,u=e.steps.map(S=>{let T=this._makeStyleAst(S,t),A=T.offset!=null?T.offset:$X(T.styles),O=0;return A!=null&&(r++,O=T.offset=A),l=l||O<0||O>1,o=o||O<c,c=O,i.push(O),T});l&&t.errors.push(nX()),o&&t.errors.push(aX());let d=e.steps.length,m=0;r>0&&r<d?t.errors.push(rX()):r==0&&(m=n/(d-1));let b=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,T)=>{let A=m>0?T==b?1:m*T:i[T],O=A*x;t.currentTime=g+w.delay+O,w.duration=O,this._validateStyleAst(S,t),S.offset=A,a.styles.push(S)}),a}visitReference(e,t){return{type:Ce.Reference,animation:an(this,Ni(e.animation),t),options:Ja(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ce.AnimateChild,options:Ja(e.options)}}visitAnimateRef(e,t){return{type:Ce.AnimateRef,animation:this.visitReference(e.animation,t),options:Ja(e.options)}}visitQuery(e,t){let a=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,i]=BX(e.selector);t.currentQuerySelector=a.length?a+" "+r:r,on(t.collectedStyles,t.currentQuerySelector,new Map);let o=an(this,Ni(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:Ce.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:Ja(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(iX());let a=e.timings==="full"?{duration:0,delay:0,easing:"full"}:gl(e.timings,t.errors,!0);return{type:Ce.Stagger,animation:an(this,Ni(e.animation),t),timings:a,options:null}}};function BX(e){let t=!!e.split(/\s*,\s*/).find(a=>a==c1);return t&&(e=e.replace(VX,"")),e=e.replace(/@\*/g,fl).replace(/@\w+/g,a=>fl+"-"+a.slice(1)).replace(/:animating/g,Xc),[e,t]}function HX(e){return e?se({},e):null}var qX=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 $X(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(a=>{if(a instanceof Map&&a.has("offset")){let n=a;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let a=e;t=parseFloat(a.get("offset")),a.delete("offset")}return t}function GX(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=gl(e,t).duration;return Vu(r,0,"")}let a=e;if(a.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Vu(0,0,"");return r.dynamic=!0,r.strValue=a,r}let n=gl(a,t);return Vu(n.duration,n.delay,n.easing)}function Ja(e){return e?(e=se({},e),e.params&&(e.params=HX(e.params))):e={},e}function Vu(e,t,a){return{duration:e,delay:t,easing:a}}function Yh(e,t,a,n,r,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:a,postStyleProps:n,duration:r,delay:i,totalTime:r+i,easing:o,subTimeline:l}}var Zh=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let a=this._map.get(e);a||this._map.set(e,a=[]),a.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},UX=1,WX=":enter",YX=new RegExp(WX,"g"),ZX=":leave",KX=new RegExp(ZX,"g");function h1(e,t,a,n,r,i=new Map,o=new Map,l,c,u=[]){return new QX().buildKeyframes(e,t,a,n,r,i,o,l,c,u)}var QX=class{buildKeyframes(e,t,a,n,r,i,o,l,c,u=[]){c=c||new Zh;let d=new XX(e,t,c,n,r,u,[]);d.options=l;let m=l.delay?pa(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),an(this,a,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()):[Yh(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let a=t.subInstructions.get(t.element);if(a){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,i=this._visitSubInstructions(a,n,n.options);r!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,a),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,a){for(let n of e){let r=n==null?void 0:n.delay;if(r){let i=typeof r=="number"?r:pa(co(r,(n==null?void 0:n.params)??{},t.errors));a.delayNextStep(i)}}}_visitSubInstructions(e,t,a){let n=t.currentTimeline.currentTime,r=a.duration!=null?pa(a.duration):null,i=a.delay!=null?pa(a.delay):null;return r!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,r,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),an(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let a=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==Ce.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bl);let i=pa(r.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>an(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>a&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let a=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?pa(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),an(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),a.push(o.currentTimeline)}),a.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let a=e.strValue,n=t.params?co(a,t.params,t.errors):a;return gl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let a=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),n.snapshotCurrentStyles());let r=e.style;r.type==Ce.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(a.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let a=t.currentTimeline,n=t.currentAnimateTimings;!n&&a.hasCurrentStyleProperties()&&a.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(r):a.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let a=t.currentAnimateTimings,n=t.currentTimeline.duration,r=a.duration,i=t.createSubContext().currentTimeline;i.easing=a.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*r),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let a=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?pa(n.delay):0;r&&(t.previousNode.type===Ce.Style||a==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bl);let i=a,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);r&&d.delayNextStep(r),c===t.element&&(l=d.currentTimeline),an(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 a=t.parentContext,n=t.currentTimeline,r=e.timings,i=Math.abs(r.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=a.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;an(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=n.currentTime-u+(n.startTime-a.currentTimeline.startTime)}},bl={},XX=class p1{constructor(t,a,n,r,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=a,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=c||new m1(this._driver,a,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,a){if(!t)return;let n=t,r=this.options;n.duration!=null&&(r.duration=pa(n.duration)),n.delay!=null&&(r.delay=pa(n.delay));let i=n.params;if(i){let o=r.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!a||!o.hasOwnProperty(l))&&(o[l]=co(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let a=this.options.params;if(a){let n=t.params={};Object.keys(a).forEach(r=>{n[r]=a[r]})}}return t}createSubContext(t=null,a,n){let r=a||this.element,i=new p1(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,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,a,n){let r={duration:a??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new JX(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,a,n,r,i,o){let l=[];if(r&&l.push(this.element),t.length>0){t=t.replace(YX,"."+this._enterClassName),t=t.replace(KX,"."+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(oX()),l}},m1=class f1{constructor(t,a,n,r){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=a,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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 a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+t),a&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,a){return this.applyStylesToKeyframe(),new f1(this._driver,t,a||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+=UX,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,a){this._localTimelineStyles.set(t,a),this._globalTimelineStyles.set(t,a),this._styleSummary.set(t,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[a,n]of this._globalTimelineStyles)this._backFill.set(a,n||ga),this._currentKeyframe.set(a,ga);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,a,n,r){a&&this._previousKeyframe.set("easing",a);let i=r&&r.params||{},o=eJ(t,this._globalTimelineStyles);for(let[l,c]of o){let u=co(c,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ga),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,a)=>{this._currentKeyframe.set(a,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,t)}))}snapshotCurrentStyles(){for(let[t,a]of this._localTimelineStyles)this._pendingStyles.set(t,a),this._updateStyle(t,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let a in this._currentKeyframe)t.push(a);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((a,n)=>{let r=this._styleSummary.get(n);(!r||a.time>r.time)&&this._updateStyle(n,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,a=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((l,c)=>{let u=new Map([...this._backFill,...l]);u.forEach((d,m)=>{d===Bh?t.add(m):d===ga&&a.add(m)}),n||u.set("offset",c/this.duration),r.push(u)});let i=[...t.values()],o=[...a.values()];if(n){let l=r[0],c=new Map(l);l.set("offset",0),c.set("offset",1),r=[l,c]}return Yh(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}},JX=class extends m1{constructor(t,a,n,r,i,o,l=!1){super(t,a,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=r,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:a,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&a){let i=[],o=n+a,l=a/o,c=new Map(t[0]);c.set("offset",0),i.push(c);let u=new Map(t[0]);u.set("offset",gf(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=a+g*n;b.set("offset",gf(w/o)),i.push(b)}n=o,a=0,r="",t=i}return Yh(this.element,t,this.preStyleProps,this.postStyleProps,n,a,r,!0)}};function gf(e,t=3){let a=Math.pow(10,t-1);return Math.round(e*a)/a}function eJ(e,t){let a=new Map,n;return e.forEach(r=>{if(r==="*"){n??(n=t.keys());for(let i of n)a.set(i,ga)}else for(let[i,o]of r)a.set(i,o)}),a}function vf(e,t,a,n,r,i,o,l,c,u,d,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:a,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:c,preStyleProps:u,postStyleProps:d,totalTime:m,errors:b}}var zu={},g1=class{constructor(e,t,a){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=a}match(e,t,a,n){return tJ(this.ast.matchers,e,t,a,n)}buildStyles(e,t,a){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,a):new Map}build(e,t,a,n,r,i,o,l,c,u){var _t;let d=[],m=this.ast.options&&this.ast.options.params||zu,b=o&&o.params||zu,g=this.buildStyles(a,b,d),w=l&&l.params||zu,x=this.buildStyles(n,w,d),S=new Set,T=new Map,A=new Map,O=n==="void",Z={params:v1(w,m),delay:(_t=this.ast.options)==null?void 0:_t.delay},ie=u?[]:h1(e,t,this.ast.animation,r,i,g,x,Z,c,d),me=0;return ie.forEach(st=>{me=Math.max(st.duration+st.delay,me)}),d.length?vf(t,this._triggerName,a,n,O,g,x,[],[],T,A,me,d):(ie.forEach(st=>{let $e=st.element,pt=on(T,$e,new Set);st.preStyleProps.forEach(H=>pt.add(H));let Y=on(A,$e,new Set);st.postStyleProps.forEach(H=>Y.add(H)),$e!==t&&S.add($e)}),vf(t,this._triggerName,a,n,O,g,x,ie,[...S.values()],T,A,me))}};function tJ(e,t,a,n,r){return e.some(i=>i(t,a,n,r))}function v1(e,t){let a=se({},t);return Object.entries(e).forEach(([n,r])=>{r!=null&&(a[n]=r)}),a}var nJ=class{constructor(e,t,a){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=a}buildStyles(e,t){let a=new Map,n=v1(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((i,o)=>{i&&(i=co(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),a.set(o,i)})}),a}};function aJ(e,t,a){return new rJ(e,t,a)}var rJ=class{constructor(e,t,a){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=a,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new nJ(n.style,r,a))}),bf(this.states,"true","1"),bf(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new g1(e,n,this.states))}),this.fallbackTransition=iJ(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,a,n){return this.transitionFactories.find(r=>r.match(e,t,a,n))||null}matchStyles(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}};function iJ(e,t,a){let n=[(o,l)=>!0],r={type:Ce.Sequence,steps:[],options:null},i={type:Ce.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new g1(e,i,t)}function bf(e,t,a){e.has(t)?e.has(a)||e.set(a,e.get(t)):e.has(a)&&e.set(t,e.get(a))}var oJ=new Zh,sJ=class{constructor(e,t,a){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=a}register(e,t){let a=[],n=[],r=d1(this._driver,t,a,n);if(a.length)throw dX();this._animations.set(e,r)}_buildPlayer(e,t,a){let n=e.element,r=a1(this._normalizer,e.keyframes,t,a);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,a={}){let n=[],r=this._animations.get(e),i,o=new Map;if(r?(i=h1(this._driver,t,r,s1,Qc,new Map,new Map,a,oJ,n),i.forEach(u=>{let d=on(o,u.element,new Map);u.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(hX()),i=[]),n.length)throw pX();o.forEach((u,d)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(d,b,ga))})});let l=i.map(u=>{let d=o.get(u.element);return this._buildPlayer(u,new Map,d)}),c=Ra(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 a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw mX();return t}listen(e,t,a,n){let r=qh(t,"","","");return Hh(this._getPlayer(e),a,r,n),()=>{}}command(e,t,a,n){if(a=="register"){this.register(e,n[0]);return}if(a=="create"){let i=n[0]||{};this.create(e,t,i);return}let r=this._getPlayer(e);switch(a){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},yf="ng-animate-queued",lJ=".ng-animate-queued",Bu="ng-animate-disabled",uJ=".ng-animate-disabled",cJ="ng-star-inserted",dJ=".ng-star-inserted",hJ=[],b1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pJ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed",td=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let a=e&&e.hasOwnProperty("value"),n=a?e.value:e;if(this.value=vJ(n),a){let r=e,{value:i}=r,o=g7(r,["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 a=this.options.params;Object.keys(t).forEach(n=>{a[n]==null&&(a[n]=t[n])})}}},Gi="void",Hu=new td(Gi),mJ=class{constructor(e,t,a){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=a,this._hostClassName="ng-tns-"+e,vn(t,this._hostClassName)}listen(e,t,a,n){if(!this._triggers.has(t))throw fX();if(a==null||a.length==0)throw gX();if(!bJ(a))throw vX();let r=on(this._elementListeners,e,[]),i={name:t,phase:a,callback:n};r.push(i);let o=on(this._engine.statesByElement,e,new Map);return o.has(t)||(vn(e,fs),vn(e,fs+"-"+t),o.set(t,Hu)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(i);l>=0&&r.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 bX();return t}trigger(e,t,a,n=!0){let r=this._getTrigger(t),i=new nd(this.id,t,e),o=this._engine.statesByElement.get(e);o||(vn(e,fs),vn(e,fs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),c=new td(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),o.set(t,c),l||(l=Hu),c.value!==Gi&&l.value===c.value){if(!wJ(l.params,c.params)){let b=[],g=r.matchStyles(l.value,l.params,b),w=r.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{sr(e,g),$n(e,w)})}return}let u=on(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let d=r.matchTransition(l.value,c.value,e,c.params),m=!1;if(!d){if(!n)return;d=r.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,yf),i.onStart(()=>{Mr(e,yf)})),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,a)=>{this._elementListeners.set(a,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(a=>a.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let a=this._engine.driver.query(e,fl,!0);a.forEach(n=>{if(n[Dn])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,a,n){let r=this._engine.statesByElement.get(e),i=new Map;if(r){let o=[];if(r.forEach((l,c)=>{if(i.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Gi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),a&&Ra(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(t&&a){let n=new Set;t.forEach(r=>{let i=r.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=a.get(i)||Hu,c=new td(Gi),u=new nd(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 a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(a.totalAnimations){let r=a.players.length?a.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(a.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)a.markElementAsRemoved(this.id,e,!1,t);else{let r=e[Dn];(!r||r===b1)&&(a.afterFlush(()=>this.clearElementCache(e)),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}insertNode(e,t){vn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(a=>{let n=a.player;if(n.destroyed)return;let r=a.element,i=this._elementListeners.get(r);i&&i.forEach(o=>{if(o.name==a.triggerName){let l=qh(r,a.triggerName,a.fromState.value,a.toState.value);l._data=e,Hh(a.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(a)}),this._queue=[],t.sort((a,n)=>{let r=a.transition.ast.depCount,i=n.transition.ast.depCount;return r==0||i==0?r-i:this._engine.driver.containsElement(a.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},fJ=class{constructor(e,t,a){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=a}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(a=>{a.queued&&e.push(a)})}),e}createNamespace(e,t){let a=new mJ(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}_balanceNamespaceList(e,t){let a=this._namespaceList,n=this.namespacesByHostElement;if(a.length-1>=0){let r=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=a.indexOf(o);a.splice(l+1,0,e),r=!0;break}i=this.driver.getParentElement(i)}r||a.unshift(e)}else a.push(e);return n.set(t,e),e}register(e,t){let a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}registerTrigger(e,t,a){let n=this._namespaceLookup[e];n&&n.register(t,a)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let a=this._fetchNamespace(e);this.namespacesByHostElement.delete(a.hostElement);let n=this._namespaceList.indexOf(a);n>=0&&this._namespaceList.splice(n,1),a.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,a=this.statesByElement.get(e);if(a){for(let n of a.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,a,n){if(bs(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,a,n),!0}return!1}insertNode(e,t,a,n){if(!bs(t))return;let r=t[Dn];if(r&&r.setForRemoval){r.setForRemoval=!1,r.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,a)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),vn(e,Bu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Mr(e,Bu))}removeNode(e,t,a){if(bs(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,a)}else this._onRemovalComplete(t,a)}markElementAsRemoved(e,t,a,n,r){this.collectedLeaveElements.push(t),t[Dn]={namespaceId:e,setForRemoval:n,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,a,n,r){return bs(t)?this._fetchNamespace(e).listen(t,a,n,r):()=>{}}_buildInstruction(e,t,a,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,fl,!0);t.forEach(a=>this.destroyActiveAnimationsForElement(a)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Xc,!0),t.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ra(this.players).onDone(()=>e());e()})}processLeaveNode(e){var a;let t=e[Dn];if(t&&t.setForRemoval){if(e[Dn]=b1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(a=e.classList)!=null&&a.contains(Bu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,uJ,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,n)=>this._balanceNamespaceList(a,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++){let n=this.collectedEnterElements[a];vn(n,cJ)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let a=[];try{t=this._flushAnimations(a,e)}finally{for(let n=0;n<a.length;n++)a[n]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++){let n=this.collectedLeaveElements[a];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){let a=this._whenQuietFns;this._whenQuietFns=[],t.length?Ra(t).onDone(()=>{a.forEach(n=>n())}):a.forEach(n=>n())}}reportError(e){throw yX()}_flushAnimations(e,t){let a=new Zh,n=[],r=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,lJ,!0);for(let U=0;U<j.length;U++)u.add(j[U])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=xf(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((L,j)=>{let U=s1+w++;g.set(j,U),L.forEach(Ee=>vn(Ee,U))});let x=[],S=new Set,T=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let j=this.collectedLeaveElements[L],U=j[Dn];U&&U.setForRemoval&&(x.push(j),S.add(j),U.hasAnimation?this.driver.query(j,dJ,!0).forEach(Ee=>S.add(Ee)):T.add(j))}let A=new Map,O=xf(m,Array.from(S));O.forEach((L,j)=>{let U=Qc+w++;A.set(j,U),L.forEach(Ee=>vn(Ee,U))}),e.push(()=>{b.forEach((L,j)=>{let U=g.get(j);L.forEach(Ee=>Mr(Ee,U))}),O.forEach((L,j)=>{let U=A.get(j);L.forEach(Ee=>Mr(Ee,U))}),x.forEach(L=>{this.processLeaveNode(L)})});let Z=[],ie=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(j=>{let U=j.player,Ee=j.element;if(Z.push(U),this.collectedEnterElements.length){let Ge=Ee[Dn];if(Ge&&Ge.setForMove){if(Ge.previousTriggersValues&&Ge.previousTriggersValues.has(j.triggerName)){let Lt=Ge.previousTriggersValues.get(j.triggerName),wt=this.statesByElement.get(j.element);if(wt&&wt.has(j.triggerName)){let jn=wt.get(j.triggerName);jn.value=Lt,wt.set(j.triggerName,jn)}}U.destroy();return}}let He=!d||!this.driver.containsElement(d,Ee),Pt=A.get(Ee),De=g.get(Ee),Me=this._buildInstruction(j,a,De,Pt,He);if(Me.errors&&Me.errors.length){ie.push(Me);return}if(He){U.onStart(()=>sr(Ee,Me.fromStyles)),U.onDestroy(()=>$n(Ee,Me.toStyles)),n.push(U);return}if(j.isFallbackTransition){U.onStart(()=>sr(Ee,Me.fromStyles)),U.onDestroy(()=>$n(Ee,Me.toStyles)),n.push(U);return}let Je=[];Me.timelines.forEach(Ge=>{Ge.stretchStartingKeyframe=!0,this.disabledNodes.has(Ge.element)||Je.push(Ge)}),Me.timelines=Je,a.append(Ee,Me.timelines);let Sn={instruction:Me,player:U,element:Ee};i.push(Sn),Me.queriedElements.forEach(Ge=>on(o,Ge,[]).push(U)),Me.preStyleProps.forEach((Ge,Lt)=>{if(Ge.size){let wt=l.get(Lt);wt||l.set(Lt,wt=new Set),Ge.forEach((jn,Ia)=>wt.add(Ia))}}),Me.postStyleProps.forEach((Ge,Lt)=>{let wt=c.get(Lt);wt||c.set(Lt,wt=new Set),Ge.forEach((jn,Ia)=>wt.add(Ia))})});if(ie.length){let L=[];ie.forEach(j=>{L.push(_X(j.triggerName,j.errors))}),Z.forEach(j=>j.destroy()),this.reportError(L)}let me=new Map,_t=new Map;i.forEach(L=>{let j=L.element;a.has(j)&&(_t.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(U=>{on(me,j,[]).push(U),U.destroy()})});let st=x.filter(L=>Ef(L,l,c)),$e=new Map;wf($e,this.driver,T,c,ga).forEach(L=>{Ef(L,l,c)&&st.push(L)});let pt=new Map;b.forEach((L,j)=>{wf(pt,this.driver,new Set(L),l,Bh)}),st.forEach(L=>{let j=$e.get(L),U=pt.get(L);$e.set(L,new Map([...(j==null?void 0:j.entries())??[],...(U==null?void 0:U.entries())??[]]))});let Y=[],H=[],ge={};i.forEach(L=>{let{element:j,player:U,instruction:Ee}=L;if(a.has(j)){if(u.has(j)){U.onDestroy(()=>$n(j,Ee.toStyles)),U.disabled=!0,U.overrideTotalTime(Ee.totalTime),n.push(U);return}let He=ge;if(_t.size>1){let De=j,Me=[];for(;De=De.parentNode;){let Je=_t.get(De);if(Je){He=Je;break}Me.push(De)}Me.forEach(Je=>_t.set(Je,He))}let Pt=this._buildAnimation(U.namespaceId,Ee,me,r,pt,$e);if(U.setRealPlayer(Pt),He===ge)Y.push(U);else{let De=this.playersByElement.get(He);De&&De.length&&(U.parentPlayer=Ra(De)),n.push(U)}}else sr(j,Ee.fromStyles),U.onDestroy(()=>$n(j,Ee.toStyles)),H.push(U),u.has(j)&&n.push(U)}),H.forEach(L=>{let j=r.get(L.element);if(j&&j.length){let U=Ra(j);L.setRealPlayer(U)}}),n.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<x.length;L++){let j=x[L],U=j[Dn];if(Mr(j,Qc),U&&U.hasAnimation)continue;let Ee=[];if(o.size){let Pt=o.get(j);Pt&&Pt.length&&Ee.push(...Pt);let De=this.driver.query(j,Xc,!0);for(let Me=0;Me<De.length;Me++){let Je=o.get(De[Me]);Je&&Je.length&&Ee.push(...Je)}}let He=Ee.filter(Pt=>!Pt.destroyed);He.length?yJ(this,j,He):this.processLeaveNode(j)}return x.length=0,Y.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let j=this.players.indexOf(L);this.players.splice(j,1)}),L.play()}),Y}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,a,n,r){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==Gi;o.forEach(c=>{c.queued||!l&&c.triggerName!=n||i.push(c)})}}return(a||n)&&(i=i.filter(o=>!(a&&a!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,a){let n=t.triggerName,r=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!==r,d=on(a,c,[]);this._getPreviousPlayers(c,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),d.push(m)})}sr(r,t.fromStyles)}_buildAnimation(e,t,a,n,r,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 uo(g.duration,g.delay);let S=w!==l,T=_J((a.get(w)||hJ).map(me=>me.getRealPlayer())).filter(me=>{let _t=me;return _t.element?_t.element===w:!1}),A=r.get(w),O=i.get(w),Z=a1(this._normalizer,g.keyframes,A,O),ie=this._buildPlayer(g,Z,T);if(g.subTimeline&&n&&d.add(w),S){let me=new nd(e,o,w);me.setRealPlayer(ie),c.push(me)}return ie});c.forEach(g=>{on(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>gJ(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>vn(g,pf));let b=Ra(m);return b.onDestroy(()=>{u.forEach(g=>Mr(g,pf)),$n(l,t.toStyles)}),d.forEach(g=>{on(n,g,[]).push(b)}),b}_buildPlayer(e,t,a){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new uo(e.duration,e.delay)}},nd=class{constructor(e,t,a){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new uo);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=a}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,a)=>{t.forEach(n=>Hh(e,a,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){on(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 gJ(e,t,a){let n=e.get(t);if(n){if(n.length){let r=n.indexOf(a);n.splice(r,1)}n.length==0&&e.delete(t)}return n}function vJ(e){return e??null}function bs(e){return e&&e.nodeType===1}function bJ(e){return e=="start"||e=="done"}function _f(e,t){let a=e.style.display;return e.style.display=t??"none",a}function wf(e,t,a,n,r){let i=[];a.forEach(c=>i.push(_f(c)));let o=[];n.forEach((c,u)=>{let d=new Map;c.forEach(m=>{let b=t.computeStyle(u,m,r);d.set(m,b),(!b||b.length==0)&&(u[Dn]=pJ,o.push(u))}),e.set(u,d)});let l=0;return a.forEach(c=>_f(c,i[l++])),o}function xf(e,t){let a=new Map;if(e.forEach(l=>a.set(l,[])),t.length==0)return a;let n=1,r=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 a.has(u)?c=u:r.has(u)?c=n:c=o(u),i.set(l,c),c}return t.forEach(l=>{let c=o(l);c!==n&&a.get(c).push(l)}),a}function vn(e,t){var a;(a=e.classList)==null||a.add(t)}function Mr(e,t){var a;(a=e.classList)==null||a.remove(t)}function yJ(e,t,a){Ra(a).onDone(()=>e.processLeaveNode(t))}function _J(e){let t=[];return y1(e,t),t}function y1(e,t){for(let a=0;a<e.length;a++){let n=e[a];n instanceof n1?y1(n.players,t):t.push(n)}}function wJ(e,t){let a=Object.keys(e),n=Object.keys(t);if(a.length!=n.length)return!1;for(let r=0;r<a.length;r++){let i=a[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function Ef(e,t,a){let n=a.get(e);if(!n)return!1;let r=t.get(e);return r?n.forEach(i=>r.add(i)):t.set(e,n),a.delete(e),!0}var ad=class{constructor(e,t,a){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=a,this._transitionEngine=new fJ(e.body,t,a),this._timelineEngine=new sJ(e.body,t,a),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,a,n,r){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],c=[],u=d1(this._driver,r,l,c);if(l.length)throw uX();o=aJ(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,a,n){this._transitionEngine.insertNode(e,t,a,n)}onRemove(e,t,a){this._transitionEngine.removeNode(e,t,a)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,a,n){if(a.charAt(0)=="@"){let[r,i]=df(a),o=n;this._timelineEngine.command(r,t,i,o)}else this._transitionEngine.trigger(e,t,a,n)}listen(e,t,a,n,r){if(a.charAt(0)=="@"){let[i,o]=df(a);return this._timelineEngine.listen(i,t,o,r)}return this._transitionEngine.listen(e,t,a,n,r)}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 xJ(e,t){let a=null,n=null;return Array.isArray(t)&&t.length?(a=qu(t[0]),t.length>1&&(n=qu(t[t.length-1]))):t instanceof Map&&(a=qu(t)),a||n?new EJ(e,a,n):null}var EJ=(()=>{const t=class t{constructor(n,r,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=r,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&&(sr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sr(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 qu(e){let t=null;return e.forEach((a,n)=>{SJ(n)&&(t=t||new Map,t.set(n,a))}),t}function SJ(e){return e==="display"||e==="position"}var Sf=class{constructor(e,t,a,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=a,this._specialStyles=n,this._duration=a.duration,this._delay=a.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(a=>{t.push(Object.fromEntries(a))}),t}_triggerWebAnimation(e,t,a){return e.animate(this._convertKeyframesToObject(t),a)}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,a)=>{a!=="offset"&&e.set(a,this._finished?t:Uh(this.element,a))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},kJ=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return r1(e,t)}getParentElement(e){return $h(e)}query(e,t,a){return i1(e,t,a)}computeStyle(e,t,a){return Uh(e,t)}animate(e,t,a,n,r,i=[]){let o=n==0?"both":"forwards",l={duration:a,delay:n,fill:o};r&&(l.easing=r);let c=new Map,u=i.filter(b=>b instanceof Sf);OX(a,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>c.set(w,g))});let d=DX(t).map(b=>new Map(b));d=MX(e,d,c);let m=xJ(e,d);return new Sf(e,d,l,m)}},Fs="@",_1="@.disabled",w1=class{constructor(e,t,a,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=a,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,a;(a=(t=this.delegate).destroyNode)==null||a.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,a,n=!0){this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,a){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,a,n){this.delegate.setAttribute(e,t,a,n)}removeAttribute(e,t,a){this.delegate.removeAttribute(e,t,a)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,a,n){this.delegate.setStyle(e,t,a,n)}removeStyle(e,t,a){this.delegate.removeStyle(e,t,a)}setProperty(e,t,a){t.charAt(0)==Fs&&t==_1?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,a,n){return this.delegate.listen(e,t,a,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},CJ=class extends w1{constructor(t,a,n,r,i){super(a,n,r,i);s(this,"factory");this.factory=t,this.namespaceId=a}setProperty(t,a,n){a.charAt(0)==Fs?a.charAt(1)=="."&&a==_1?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,a.slice(1),n):this.delegate.setProperty(t,a,n)}listen(t,a,n,r){if(a.charAt(0)==Fs){let i=IJ(t),o=a.slice(1),l="";return o.charAt(0)!=Fs&&([o,l]=DJ(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,a,n,r)}};function IJ(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function DJ(e){let t=e.indexOf("."),a=e.substring(0,t),n=e.slice(t+1);return[a,n]}var TJ=class{constructor(e,t,a){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=a,t.onRemovalComplete=(n,r)=>{r==null||r.removeChild(null,n)}}createRenderer(e,t){var l;let a="",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 w1(a,n,this.engine,d),c.set(n,u)}return u}let r=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(r,i,e,c.name,c)};return t.data.animation.forEach(o),new CJ(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(a));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[i,o]=r;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,a])}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,a;this.engine.flush(),(a=(t=this.delegate).componentReplaced)==null||a.call(t,e)}},NJ=(()=>{const t=class t extends ad{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(u1),te(Wh))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function OJ(){return new PX}function MJ(e,t,a){return new TJ(e,t,a)}var RJ=[{provide:Wh,useFactory:OJ},{provide:ad,useClass:NJ},{provide:Pn,useFactory:MJ,deps:[qc,ad,je]}],AJ=[{provide:u1,useFactory:()=>new kJ},{provide:fi,useFactory:()=>"BrowserAnimations"},...RJ];function PJ(){return wr("NgEagerAnimations"),[...AJ]}var LJ=(()=>{const t=class t extends t1{constructor(n){super(),this.translate=n,this.getRangeLabel=(r,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=r*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(Ca))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),x1=6048e5,FJ=864e5,jJ=6e4,VJ=36e5,zJ=1e3,kf=Symbol.for("constructDateFrom");function Tt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&kf in e?e[kf](t):e instanceof Date?new e.constructor(t):new Date(t)}function kt(e,t){return Tt(t||e,e)}function E1(e,t,a){let n=kt(e,a==null?void 0:a.in);return isNaN(t)?Tt((a==null?void 0:a.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var BJ={};function _i(){return BJ}function qa(e,t){var l,c,u,d;let a=_i(),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)??a.weekStartsOn??((d=(u=a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,r=kt(e,t==null?void 0:t.in),i=r.getDay(),o=(i<n?7:0)+i-n;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function oi(e,t){return qa(e,Wt(se({},t),{weekStartsOn:1}))}function S1(e,t){let a=kt(e,t==null?void 0:t.in),n=a.getFullYear(),r=Tt(a,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let i=oi(r),o=Tt(a,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=oi(o);return a.getTime()>=i.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function yl(e){let t=kt(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function HJ(e,...t){let a=Tt.bind(null,t.find(n=>typeof n=="object"));return t.map(a)}function Cf(e,t){let a=kt(e,t==null?void 0:t.in);return a.setHours(0,0,0,0),a}function qJ(e,t,a){let[n,r]=HJ(a==null?void 0:a.in,e,t),i=Cf(n),o=Cf(r),l=+i-yl(i),c=+o-yl(o);return Math.round((l-c)/FJ)}function $J(e,t){let a=S1(e,t),n=Tt(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),oi(n)}function GJ(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function UJ(e){return!(!GJ(e)&&typeof e!="number"||isNaN(+kt(e)))}function WJ(e,t){let a=kt(e,t==null?void 0:t.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}var YJ={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"}},ZJ=(e,t,a)=>{let n,r=YJ[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};function $u(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var KJ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},QJ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},XJ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},JJ={date:$u({formats:KJ,defaultWidth:"full"}),time:$u({formats:QJ,defaultWidth:"full"}),dateTime:$u({formats:XJ,defaultWidth:"full"})},eee={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tee=(e,t,a,n)=>eee[e];function Oi(e){return(t,a)=>{let n=a!=null&&a.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=a!=null&&a.width?String(a.width):o;r=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}var nee={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},aee={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ree={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"]},iee={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"]},oee={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"}},see={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"}},lee=(e,t)=>{let a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},uee={ordinalNumber:lee,era:Oi({values:nee,defaultWidth:"wide"}),quarter:Oi({values:aee,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Oi({values:ree,defaultWidth:"wide"}),day:Oi({values:iee,defaultWidth:"wide"}),dayPeriod:Oi({values:oee,defaultWidth:"wide",formattingValues:see,defaultFormattingWidth:"wide"})};function Mi(e){return(t,a={})=>{let n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?dee(l,m=>m.test(o)):cee(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(c):c,u=a.valueCallback?a.valueCallback(u):u;let d=t.slice(o.length);return{value:u,rest:d}}}function cee(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function dee(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function hee(e){return(t,a={})=>{let n=t.match(e.matchPattern);if(!n)return null;let r=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;let l=t.slice(r.length);return{value:o,rest:l}}}var pee=/^(\d+)(th|st|nd|rd)?/i,mee=/\d+/i,fee={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},gee={any:[/^b/i,/^(a|c)/i]},vee={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bee={any:[/1/i,/2/i,/3/i,/4/i]},yee={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},_ee={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]},wee={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},xee={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]},Eee={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},See={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}},kee={ordinalNumber:hee({matchPattern:pee,parsePattern:mee,valueCallback:e=>parseInt(e,10)}),era:Mi({matchPatterns:fee,defaultMatchWidth:"wide",parsePatterns:gee,defaultParseWidth:"any"}),quarter:Mi({matchPatterns:vee,defaultMatchWidth:"wide",parsePatterns:bee,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Mi({matchPatterns:yee,defaultMatchWidth:"wide",parsePatterns:_ee,defaultParseWidth:"any"}),day:Mi({matchPatterns:wee,defaultMatchWidth:"wide",parsePatterns:xee,defaultParseWidth:"any"}),dayPeriod:Mi({matchPatterns:Eee,defaultMatchWidth:"any",parsePatterns:See,defaultParseWidth:"any"})},k1={code:"en-US",formatDistance:ZJ,formatLong:JJ,formatRelative:tee,localize:uee,match:kee,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Cee(e,t){let a=kt(e,t==null?void 0:t.in);return qJ(a,WJ(a))+1}function C1(e,t){let a=kt(e,t==null?void 0:t.in),n=+oi(a)-+$J(a);return Math.round(n/x1)+1}function Kh(e,t){var d,m,b,g;let a=kt(e,t==null?void 0:t.in),n=a.getFullYear(),r=_i(),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)??r.firstWeekContainsDate??((g=(b=r.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=Tt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=qa(o,t),c=Tt((t==null?void 0:t.in)||e,0);c.setFullYear(n,0,i),c.setHours(0,0,0,0);let u=qa(c,t);return+a>=+l?n+1:+a>=+u?n:n-1}function Iee(e,t){var o,l,c,u;let a=_i(),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)??a.firstWeekContainsDate??((u=(c=a.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,r=Kh(e,t),i=Tt((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,n),i.setHours(0,0,0,0),qa(i,t)}function I1(e,t){let a=kt(e,t==null?void 0:t.in),n=+qa(a,t)-+Iee(a,t);return Math.round(n/x1)+1}function ze(e,t){let a=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return a+n}var Na={y(e,t){let a=e.getFullYear(),n=a>0?a:1-a;return ze(t==="yy"?n%100:n,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):ze(a+1,2)},d(e,t){return ze(e.getDate(),t.length)},a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="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 a=t.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,a-3));return ze(r,t.length)}},Nr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},If={G:function(e,t,a){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){let n=e.getFullYear(),r=n>0?n:1-n;return a.ordinalNumber(r,{unit:"year"})}return Na.y(e,t)},Y:function(e,t,a,n){let r=Kh(e,n),i=r>0?r:1-r;if(t==="YY"){let o=i%100;return ze(o,2)}return t==="Yo"?a.ordinalNumber(i,{unit:"year"}):ze(i,t.length)},R:function(e,t){let a=S1(e);return ze(a,t.length)},u:function(e,t){let a=e.getFullYear();return ze(a,t.length)},Q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ze(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ze(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){let n=e.getMonth();switch(t){case"M":case"MM":return Na.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return ze(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){let r=I1(e,n);return t==="wo"?a.ordinalNumber(r,{unit:"week"}):ze(r,t.length)},I:function(e,t,a){let n=C1(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):ze(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):Na.d(e,t)},D:function(e,t,a){let n=Cee(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):ze(n,t.length)},E:function(e,t,a){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ze(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ze(i,t.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,a){let n=e.getDay(),r=n===0?7:n;switch(t){case"i":return String(r);case"ii":return ze(r,t.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){let n=e.getHours(),r;switch(n===12?r=Nr.noon:n===0?r=Nr.midnight:r=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,a){let n=e.getHours(),r;switch(n>=17?r=Nr.evening:n>=12?r=Nr.afternoon:n>=4?r=Nr.morning:r=Nr.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return Na.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):Na.H(e,t)},K:function(e,t,a){let n=e.getHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},k:function(e,t,a){let n=e.getHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):Na.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):Na.s(e,t)},S:function(e,t){return Na.S(e,t)},X:function(e,t,a){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Tf(n);case"XXXX":case"XX":return nr(n);case"XXXXX":case"XXX":default:return nr(n,":")}},x:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"x":return Tf(n);case"xxxx":case"xx":return nr(n);case"xxxxx":case"xxx":default:return nr(n,":")}},O:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Df(n,":");case"OOOO":default:return"GMT"+nr(n,":")}},z:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Df(n,":");case"zzzz":default:return"GMT"+nr(n,":")}},t:function(e,t,a){let n=Math.trunc(+e/1e3);return ze(n,t.length)},T:function(e,t,a){return ze(+e,t.length)}};function Df(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.trunc(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+ze(i,2)}function Tf(e,t){return e%60===0?(e>0?"-":"+")+ze(Math.abs(e)/60,2):nr(e,t)}function nr(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=ze(Math.trunc(n/60),2),i=ze(n%60,2);return a+r+t+i}var Nf=(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"})}},D1=(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"})}},Dee=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],n=a[1],r=a[2];if(!r)return Nf(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}}",Nf(n,t)).replace("{{time}}",D1(r,t))},rd={p:D1,P:Dee},Tee=/^D+$/,Nee=/^Y+$/,Oee=["D","DD","YY","YYYY"];function T1(e){return Tee.test(e)}function N1(e){return Nee.test(e)}function id(e,t,a){let n=Mee(e,t,a);if(console.warn(n),Oee.includes(e))throw new RangeError(n)}function Mee(e,t,a){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 \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Ree=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Aee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pee=/^'([^]*?)'?$/,Lee=/''/g,Fee=/[a-zA-Z]/;function O1(e,t,a){var d,m,b,g,w,x,S,T;let n=_i(),r=(a==null?void 0:a.locale)??n.locale??k1,i=(a==null?void 0:a.firstWeekContainsDate)??((m=(d=a==null?void 0:a.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=(a==null?void 0:a.weekStartsOn)??((x=(w=a==null?void 0:a.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=kt(e,a==null?void 0:a.in);if(!UJ(l))throw new RangeError("Invalid time value");let c=t.match(Aee).map(A=>{let O=A[0];if(O==="p"||O==="P"){let Z=rd[O];return Z(A,r.formatLong)}return A}).join("").match(Ree).map(A=>{if(A==="''")return{isToken:!1,value:"'"};let O=A[0];if(O==="'")return{isToken:!1,value:jee(A)};if(If[O])return{isToken:!0,value:A};if(O.match(Fee))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:A}});r.localize.preprocessor&&(c=r.localize.preprocessor(l,c));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return c.map(A=>{if(!A.isToken)return A.value;let O=A.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&N1(O)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&T1(O))&&id(O,t,String(e));let Z=If[O[0]];return Z(l,O,r.localize,u)}).join("")}function jee(e){let t=e.match(Pee);return t?t[1].replace(Lee,"'"):e}function M1(){return Object.assign({},_i())}function Vee(e,t){let a=kt(e,t==null?void 0:t.in).getDay();return a===0?7:a}function zee(e,t){let a=Bee(t)?new t(0):Tt(t,0);return a.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),a.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),a}function Bee(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Hee=10,R1=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},qee=class extends R1{constructor(e,t,a,n,r){super(),this.value=e,this.validateValue=t,this.setValue=a,this.priority=n,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,a){return this.setValue(e,t,this.value,a)}},$ee=class extends R1{constructor(t,a){super();s(this,"priority",Hee);s(this,"subPriority",-1);this.context=t||(n=>Tt(a,n))}set(t,a){return a.timestampIsSet?t:Tt(t,zee(t,this.context))}},Fe=class{run(e,t,a,n){let r=this.parse(e,t,a,n);return r?{setter:new qee(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,a){return!0}},Gee=class extends Fe{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,n){switch(a){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,a,n){return a.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},dt={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}/},Gn={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 ht(e,t){return e&&{value:t(e.value),rest:e.rest}}function et(e,t){let a=t.match(e);return a?{value:parseInt(a[0],10),rest:t.slice(a[0].length)}:null}function Un(e,t){let a=t.match(e);if(!a)return null;if(a[0]==="Z")return{value:0,rest:t.slice(1)};let n=a[1]==="+"?1:-1,r=a[2]?parseInt(a[2],10):0,i=a[3]?parseInt(a[3],10):0,o=a[5]?parseInt(a[5],10):0;return{value:n*(r*VJ+i*jJ+o*zJ),rest:t.slice(a[0].length)}}function A1(e){return et(dt.anyDigitsSigned,e)}function it(e,t){switch(e){case 1:return et(dt.singleDigit,t);case 2:return et(dt.twoDigits,t);case 3:return et(dt.threeDigits,t);case 4:return et(dt.fourDigits,t);default:return et(new RegExp("^\\d{1,"+e+"}"),t)}}function _l(e,t){switch(e){case 1:return et(dt.singleDigitSigned,t);case 2:return et(dt.twoDigitsSigned,t);case 3:return et(dt.threeDigitsSigned,t);case 4:return et(dt.fourDigitsSigned,t);default:return et(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Qh(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 P1(e,t){let a=t>0,n=a?t:1-t,r;if(n<=50)r=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;r=e+o-(l?100:0)}return a?r:1-r}function L1(e){return e%400===0||e%4===0&&e%100!==0}var Uee=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,a,n){let r=i=>({year:i,isTwoDigitYear:a==="yy"});switch(a){case"y":return ht(it(4,t),r);case"yo":return ht(n.ordinalNumber(t,{unit:"year"}),r);default:return ht(it(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n){let r=t.getFullYear();if(n.isTwoDigitYear){let o=P1(n.year,r);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Wee=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,a,n){let r=i=>({year:i,isTwoDigitYear:a==="YY"});switch(a){case"Y":return ht(it(4,t),r);case"Yo":return ht(n.ordinalNumber(t,{unit:"year"}),r);default:return ht(it(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n,r){let i=Kh(t,r);if(n.isTwoDigitYear){let l=P1(n.year,i);return t.setFullYear(l,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),qa(t,r)}let o=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(o,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),qa(t,r)}},Yee=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,a){return _l(a==="R"?4:a.length,t)}set(t,a,n){let r=Tt(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),oi(r)}},Zee=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,a){return _l(a==="u"?4:a.length,t)}set(t,a,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Kee=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,a,n){switch(a){case"Q":case"QQ":return it(a.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,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Qee=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,a,n){switch(a){case"q":case"qq":return it(a.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,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Xee=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,a,n){let r=i=>i-1;switch(a){case"M":return ht(et(dt.month,t),r);case"MM":return ht(it(2,t),r);case"Mo":return ht(n.ordinalNumber(t,{unit:"month"}),r);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,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},Jee=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,a,n){let r=i=>i-1;switch(a){case"L":return ht(et(dt.month,t),r);case"LL":return ht(it(2,t),r);case"Lo":return ht(n.ordinalNumber(t,{unit:"month"}),r);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,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function ete(e,t,a){let n=kt(e,a==null?void 0:a.in),r=I1(n,a)-t;return n.setDate(n.getDate()-r*7),kt(n,a==null?void 0:a.in)}var tte=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,a,n){switch(a){case"w":return et(dt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n,r){return qa(ete(t,n,r),r)}};function nte(e,t,a){let n=kt(e,a==null?void 0:a.in),r=C1(n,a)-t;return n.setDate(n.getDate()-r*7),n}var ate=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,a,n){switch(a){case"I":return et(dt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n){return oi(nte(t,n))}},rte=[31,28,31,30,31,30,31,31,30,31,30,31],ite=[31,29,31,30,31,30,31,31,30,31,30,31],ote=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,a,n){switch(a){case"d":return et(dt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return it(a.length,t)}}validate(t,a){let n=t.getFullYear(),r=L1(n),i=t.getMonth();return r?a>=1&&a<=ite[i]:a>=1&&a<=rte[i]}set(t,a,n){return t.setDate(n),t.setHours(0,0,0,0),t}},ste=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,a,n){switch(a){case"D":case"DD":return et(dt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return it(a.length,t)}}validate(t,a){let n=t.getFullYear();return L1(n)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function Xh(e,t,a){var d,m,b,g;let n=_i(),r=(a==null?void 0:a.weekStartsOn)??((m=(d=a==null?void 0:a.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=kt(e,a==null?void 0:a.in),o=i.getDay(),l=(t%7+7)%7,c=7-r,u=t<0||t>6?t-(o+c)%7:(l+c)%7-(o+c)%7;return E1(i,u,a)}var lte=class extends Fe{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,n){switch(a){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,a){return a>=0&&a<=6}set(t,a,n,r){return t=Xh(t,n,r),t.setHours(0,0,0,0),t}},ute=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,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return ht(it(a.length,t),i);case"eo":return ht(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,a){return a>=0&&a<=6}set(t,a,n,r){return t=Xh(t,n,r),t.setHours(0,0,0,0),t}},cte=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,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return ht(it(a.length,t),i);case"co":return ht(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,a){return a>=0&&a<=6}set(t,a,n,r){return t=Xh(t,n,r),t.setHours(0,0,0,0),t}};function dte(e,t,a){let n=kt(e,a==null?void 0:a.in),r=Vee(n,a),i=t-r;return E1(n,i,a)}var hte=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,a,n){let r=i=>i===0?7:i;switch(a){case"i":case"ii":return it(a.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return ht(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return ht(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return ht(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return ht(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"}),r)}}validate(t,a){return a>=1&&a<=7}set(t,a,n){return t=dte(t,n),t.setHours(0,0,0,0),t}},pte=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(Qh(n),0,0,0),t}},mte=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(Qh(n),0,0,0),t}},fte=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(Qh(n),0,0,0),t}},gte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,n){switch(a){case"h":return et(dt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,n){let r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):!r&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},vte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,n){switch(a){case"H":return et(dt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,n){return t.setHours(n,0,0,0),t}},bte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,n){switch(a){case"K":return et(dt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},yte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,n){switch(a){case"k":return et(dt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,n){let r=n<=24?n%24:n;return t.setHours(r,0,0,0),t}},_te=class extends Fe{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"m":return et(dt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setMinutes(n,0,0),t}},wte=class extends Fe{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"s":return et(dt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setSeconds(n,0),t}},xte=class extends Fe{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,a){let n=r=>Math.trunc(r*Math.pow(10,-a.length+3));return ht(it(a.length,t),n)}set(t,a,n){return t.setMilliseconds(n),t}},Ete=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return Un(Gn.basicOptionalMinutes,t);case"XX":return Un(Gn.basic,t);case"XXXX":return Un(Gn.basicOptionalSeconds,t);case"XXXXX":return Un(Gn.extendedOptionalSeconds,t);case"XXX":default:return Un(Gn.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Tt(t,t.getTime()-yl(t)-n)}},Ste=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return Un(Gn.basicOptionalMinutes,t);case"xx":return Un(Gn.basic,t);case"xxxx":return Un(Gn.basicOptionalSeconds,t);case"xxxxx":return Un(Gn.extendedOptionalSeconds,t);case"xxx":default:return Un(Gn.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Tt(t,t.getTime()-yl(t)-n)}},kte=class extends Fe{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return A1(t)}set(t,a,n){return[Tt(t,n*1e3),{timestampIsSet:!0}]}},Cte=class extends Fe{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return A1(t)}set(t,a,n){return[Tt(t,n),{timestampIsSet:!0}]}},Ite={G:new Gee,y:new Uee,Y:new Wee,R:new Yee,u:new Zee,Q:new Kee,q:new Qee,M:new Xee,L:new Jee,w:new tte,I:new ate,d:new ote,D:new ste,E:new lte,e:new ute,c:new cte,i:new hte,a:new pte,b:new mte,B:new fte,h:new gte,H:new vte,K:new bte,k:new yte,m:new _te,s:new wte,S:new xte,X:new Ete,x:new Ste,t:new kte,T:new Cte},Dte=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tte=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Nte=/^'([^]*?)'?$/,Ote=/''/g,Mte=/\S/,Rte=/[a-zA-Z]/;function Ate(e,t,a,n){var S,T,A,O;let r=()=>Tt(a,NaN),i=M1(),o=i.locale??k1,l=i.firstWeekContainsDate??((T=(S=i.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,c=i.weekStartsOn??((O=(A=i.locale)==null?void 0:A.options)==null?void 0:O.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:c,locale:o},d=[new $ee(n==null?void 0:n.in,a)],m=t.match(Tte).map(Z=>{let ie=Z[0];if(ie in rd){let me=rd[ie];return me(Z,o.formatLong)}return Z}).join("").match(Dte),b=[];for(let Z of m){N1(Z)&&id(Z,t,e),T1(Z)&&id(Z,t,e);let ie=Z[0],me=Ite[ie];if(me){let{incompatibleTokens:_t}=me;if(Array.isArray(_t)){let $e=b.find(pt=>_t.includes(pt.token)||pt.token===ie);if($e)throw new RangeError(`The format string mustn't contain \`${$e.fullToken}\` and \`${Z}\` at the same time`)}else if(me.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Z}\` and any other token at the same time`);b.push({token:ie,fullToken:Z});let st=me.run(e,Z,o.match,u);if(!st)return r();d.push(st.setter),e=st.rest}else{if(ie.match(Rte))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ie+"`");if(Z==="''"?Z="'":ie==="'"&&(Z=Pte(Z)),e.indexOf(Z)===0)e=e.slice(Z.length);else return r()}}if(e.length>0&&Mte.test(e))return r();let g=d.map(Z=>Z.priority).sort((Z,ie)=>ie-Z).filter((Z,ie,me)=>me.indexOf(Z)===ie).map(Z=>d.filter(ie=>ie.priority===Z).sort((ie,me)=>me.subPriority-ie.subPriority)).map(Z=>Z[0]),w=kt(a,n==null?void 0:n.in);if(isNaN(+w))return r();let x={};for(let Z of g){if(!Z.validate(w,u))return r();let ie=Z.set(w,x,u);Array.isArray(ie)?(w=ie[0],Object.assign(x,ie[1])):w=ie}return w}function Pte(e){return e.match(Nte)[1].replace(Ote,"'")}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||{}),Jh=new K("ngx-mask config"),F1=new K("new ngx-mask config"),j1=new K("initial ngx-mask config"),Lte={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 Ft,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 Fte=(()=>{const t=class t{constructor(){s(this,"_config",C(Jh));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,r,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(;r&&b.test(d);)d=d.replace(b,"$1"+r+"$2");return typeof o>"u"?d+u:o===0?d:d+u.substring(0,o+1)});s(this,"percentage",n=>{let r=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(D.MINUS)?r.slice(1,n.length):r);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let r=n.split(D.DOT);return r.length>1?Number(r[r.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var r,i,o,l;for(let c=((r=this.suffix)==null?void 0:r.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,r,i)=>{var c;let o=n,l=i;if(r<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${r}}.*$`),d=o.match(u),m=(d&&((c=d[0])==null?void 0:c.length))??0;if(m-1>r){let b=m-1-r;o=o.substring(0,o.length-b)}r===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,r){let[i,o]=r;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,r,i=0,o=!1,l=!1,c=()=>{}){var st,$e,pt;if(!r||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)),r===D.IP){let Y=x.split(D.DOT);this.ipError=this._validIP(Y),r="099.099.099.099"}let A=[];for(let Y=0;Y<x.length;Y++)(st=x[Y])!=null&&st.match("\\d")&&A.push(x[Y]??D.EMPTY_STRING);if(r===D.CPF_CNPJ&&(this.cpfCnpjError=A.length!==11&&A.length!==14,A.length>11?r="00.000.000/0000-00":r="000.000.000-00"),r.startsWith(D.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let ge=this.getPrecision(r);x=this.checkInputPrecision(x,ge,this.decimalMarker)}let Y=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;if(x.indexOf(Y)>0&&!this.percentage(x.substring(0,x.indexOf(Y)))){let ge=x.substring(0,x.indexOf(Y)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&!l&&(ge=x.substring(0,x.indexOf(Y))),x=`${ge}${x.substring(x.indexOf(Y),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(r.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 Y=this.getPrecision(r),H=Array.isArray(this.decimalMarker)?this.thousandSeparator===D.DOT?D.COMMA:D.DOT:this.decimalMarker;if(Y===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 De=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Me=x[S]===D.NUMBER_ZERO||x[S]===H,Je=x[0]===D.NUMBER_ZERO,Sn=x[0]===D.MINUS,Ge=x[0]===this.thousandSeparator,Lt=x[1]===H,wt=x[1]===D.NUMBER_ZERO,jn=x[2]===H;Je&&Lt&&Me&&S<2&&(x=De),Sn&&wt&&jn&&Me&&S<3&&(x=D.MINUS+De),De!==D.MINUS&&(S===0&&(Je||Ge)||this.allowNegativeNumbers&&S===1&&Sn&&!wt)&&(x=Sn?D.MINUS+De:De)}let ge=this._charToRegExpExpression(this.thousandSeparator),L='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(ge,"");if(Array.isArray(this.decimalMarker))for(let De of this.decimalMarker)L=L.replace(this._charToRegExpExpression(De),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,Y,this.decimalMarker);let U=x.replace(new RegExp(ge,"g"),"");d=this._formatWithSeparators(U,this.thousandSeparator,this.decimalMarker,Y);let Ee=d.indexOf(D.COMMA)-x.indexOf(D.COMMA),He=d.length-x.length,Pt=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(He>0&&d[S]!==this.thousandSeparator||Pt){b=!0;let De=0;do this._shift.add(S+De),De++;while(De<He)}else d[S-1]===this.thousandSeparator||He===-4||He===-3||d[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Ee!==0&&S>0&&!(d.indexOf(D.COMMA)>=S&&S>3)||!(d.indexOf(D.DOT)>=S&&S>3)&&He<=0?(this._shift.clear(),b=!0,g=He,S+=He,this._shift.add(S)):this._shift.clear()}else for(let Y=0,H=T[0];Y<T.length&&u!==r.length;Y++,H=T[Y]??D.EMPTY_STRING){let ge=D.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)&&r[u+1]===D.SYMBOL_QUESTION)d+=H,u+=2;else if(r[u+1]===D.SYMBOL_STAR&&m&&this._checkSymbolMask(H,r[u+2]??D.EMPTY_STRING))d+=H,u+=3,m=!1;else if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)&&r[u+1]===D.SYMBOL_STAR&&!ge)d+=H,m=!0;else if(r[u+1]===D.SYMBOL_QUESTION&&this._checkSymbolMask(H,r[u+2]??D.EMPTY_STRING))d+=H,u+=3;else if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)){if(r[u]===D.HOURS&&(this.apm?Number(H)>9:Number(H)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}if(r[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,Y--;continue}if((r[u]===D.MINUTE||r[u]===D.SECOND)&&Number(H)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}let L=31,j=x[u],U=x[u+1],Ee=x[u+2],He=x[u-1],Pt=x[u-2],De=x.slice(u-3,u-1),Me=x.slice(u-1,u+1),Je=x.slice(u,u+2),Sn=x.slice(u-2,u);if(r[u]===D.DAY){let Ge=r.slice(0,2)===D.MONTHS,Lt=r.slice(0,2)===D.MONTHS&&this.specialCharacters.includes(Pt);if(Number(H)>3&&this.leadZeroDateTime||!Ge&&(Number(Je)>L||Number(Me)>L||this.specialCharacters.includes(U))||(Lt?Number(Me)>L||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(Ee)||this.specialCharacters.includes(j):Number(Je)>L||this.specialCharacters.includes(U)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}}if(r[u]===D.MONTH){let Ge=u===0&&(Number(H)>2||Number(Je)>12||this.specialCharacters.includes(U)&&!l),Lt=r.slice(u+2,u+3),wt=De.includes(Lt)&&r.includes("d0")&&(this.specialCharacters.includes(Pt)&&Number(Me)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),jn=Number(De)<=L&&!this.specialCharacters.includes(De)&&this.specialCharacters.includes(He)&&(Number(Je)>12||this.specialCharacters.includes(U)),Ia=Number(Je)>12&&u===5||this.specialCharacters.includes(U)&&u===5,$o=Number(De)>L&&!this.specialCharacters.includes(De)&&!this.specialCharacters.includes(Sn)&&Number(Sn)>12&&r.includes("d0"),Go=Number(De)<=L&&!this.specialCharacters.includes(De)&&!this.specialCharacters.includes(He)&&Number(Me)>12;if(Number(H)>1&&this.leadZeroDateTime||Ge||wt||Go||$o||jn||Ia&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}}d+=H,u++}else this.specialCharacters.includes(H)&&r[u]===H?(d+=H,u++):this.specialCharacters.indexOf(r[u]??D.EMPTY_STRING)!==-1?(d+=r[u],u++,this._shiftStep(r,u,T.length),Y--):r[u]===D.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(r,u,T.length):this.patterns[r[u]??D.EMPTY_STRING]&&(($e=this.patterns[r[u]??D.EMPTY_STRING])!=null&&$e.optional)?(T[u]&&r!=="099.099.099.099"&&r!=="000.000.000-00"&&r!=="00.000.000/0000-00"&&!r.match(/^9+\.0+$/)&&!((pt=this.patterns[r[u]??D.EMPTY_STRING])!=null&&pt.optional)&&(d+=T[u]),r.includes(D.NUMBER_NINE+D.SYMBOL_STAR)&&r.includes(D.NUMBER_ZERO+D.SYMBOL_STAR)&&u++,u++,Y--):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===r.length&&this.specialCharacters.indexOf(r[r.length-1]??D.EMPTY_STRING)!==-1&&(d+=r[r.length-1]);let O=S+1;for(;this._shift.has(O);)g++,O++;let Z=o&&!r.startsWith(D.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Z--,c(Z,b),g<0&&this._shift.clear();let ie=!1;l&&(ie=T.every(Y=>this.specialCharacters.includes(Y)));let me=`${this.prefix}${ie?D.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(me=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let _t=x.length===1&&this.specialCharacters.includes(r[0])&&x!==r[0];if(!this._checkSymbolMask(x,r[1])&&_t)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(r=>r===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(r=>r===n)}_checkSymbolMask(n,r){var i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[r])==null?void 0:i.pattern)&&((o=this.patterns[r])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(D.EMPTY_STRING).filter((r,i)=>{let o=typeof this.decimalMarker=="string"?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||r===D.MINUS&&i===0&&this.allowNegativeNumbers}).join(D.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,r,i){let o=/[*?]/g.test(n.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(n):n===r}_validIP(n){return!(n.length===4&&!n.some((r,i)=>n.length!==i+1?r===D.EMPTY_STRING||Number(r)>255:r===D.EMPTY_STRING||Number(r.substring(0,3))>255))}_splitPercentZero(n){if(n===D.MINUS&&this.allowNegativeNumbers)return n;let r=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(D.DOT),i=this.allowNegativeNumbers&&n.includes(D.MINUS)?"-":"";if(r===-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,r),10),l=n.substring(r+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 r=0;r<n.length;r++){let i=n[r];if(i&&i>="1"&&i<="9")return r}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})(),jte=(()=>{const t=class t extends Fte{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",r=>{});s(this,"_elementRef",C(At,{optional:!0}));s(this,"document",C(Le));s(this,"_config",C(Jh));s(this,"_renderer",C(gi,{optional:!0}))}applyMask(r,i,o=0,l=!1,c=!1,u=()=>{}){if(!i)return r!==this.actualValue?this.actualValue:r;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():D.EMPTY_STRING,this.maskExpression===D.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||D.HASH)),this.maskExpression===D.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||D.HASH)),!r&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=r&&typeof this.selStart=="number"?r[this.selStart]??D.EMPTY_STRING:D.EMPTY_STRING,m="",b=o;if(this.hiddenInput!==null&&!this.writingValue){let S=r&&r.length===1?r.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)):r!==D.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(r.length>S.length?S.splice(this.selStart,0,d):r.length<S.length&&(S.length-r.length===1?c?S.splice(this.selStart-1,1):S.splice(r.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(r)),m=this.actualValue.length&&S.length<=r.length?this.shiftTypedSymbols(S.join(D.EMPTY_STRING)):r}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=r),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(r)),this.maskChanged?m=r:m=m&&m.length?m:r,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(r){let i=/(^|\D)(\d\D)/g,o=i.exec(r),l=0;for(;o!=null;)l+=1,o=i.exec(r);return l}applyValueChanges(r,i,o,l=()=>{}){var u;let c=(u=this._elementRef)==null?void 0:u.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,r,i,o,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(r,i){return r.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(r){let i=r.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)===r?i.join(D.EMPTY_STRING):r}shiftTypedSymbols(r){let i="";return(r&&r.split(D.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(r[l+1]??D.EMPTY_STRING)&&r[l+1]!==this.maskExpression[l+1])return i=o,r[l+1];if(i.length){let c=i;return i=D.EMPTY_STRING,c}return o})||[]).join(D.EMPTY_STRING)}numberToString(r){return!r&&r!==0||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(D.SEPARATOR)&&this.separatorLimit.length>14&&String(r).length>14?String(r):Number(r).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${D.MINUS}/`,D.MINUS)}showMaskInInput(r){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(r){if(this.maskExpression===D.IP)return this._checkForIp(r);if(this.maskExpression===D.CPF_CNPJ)return this._checkForCpfCnpj(r)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;let r=(i=this._elementRef)==null?void 0:i.nativeElement;r&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==r.value.replace(this.placeHolderCharacter,D.EMPTY_STRING).length&&(this.formElementProperty=["value",D.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([r,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,r,i)})}checkDropSpecialCharAmount(r){return r.split(D.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(r){return this._removeMask(this._removeSuffix(this._removePrefix(r)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(r){if(r===D.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<r.length;o++){let l=r[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(r){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(r===D.HASH)return i;let l=[];for(let c=0;c<r.length;c++){let u=r[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?r.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(r=this.document){var o;let i=(o=r==null?void 0:r.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):r.activeElement}formControlResult(r){if(this.writingValue&&!r){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(r)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(r)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===r?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(r)))))):this.onChange(this.outputTransformFn(this._toNumber(r)))}_toNumber(r){if(!this.isNumberValue||r===D.EMPTY_STRING||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return r;if(String(r).length>14&&this.maskExpression.startsWith(D.SEPARATOR))return String(r);let i=Number(r);if(this.maskExpression.startsWith(D.SEPARATOR)&&Number.isNaN(i)){let o=String(r).replace(",",".");return Number(o)}return Number.isNaN(i)?r:i}_removeMask(r,i){return this.maskExpression.startsWith(D.PERCENT)&&r.includes(D.DOT)?r:r&&r.replace(this._regExpForRemove(i),D.EMPTY_STRING)}_removePrefix(r){return this.prefix?r&&r.replace(this.prefix,D.EMPTY_STRING):r}_removeSuffix(r){return this.suffix?r&&r.replace(this.suffix,D.EMPTY_STRING):r}_retrieveSeparatorValue(r){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&r.includes(D.WHITE_SPACE)&&this.maskExpression.includes(D.SYMBOL_STAR)&&(i=i.filter(o=>o!==D.WHITE_SPACE)),this._removeMask(r,i)}_regExpForRemove(r){return new RegExp(r.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(r){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return r.replace(this._regExpForRemove(i),D.DOT)}_checkSymbols(r){let i=r;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 r,i,o;for(let l in this.patterns)if(this.patterns[l]&&((r=this.patterns[l])!=null&&r.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(r){let i=r.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(r,i){let o=this.getPrecision(r),l=i;return r.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(r){return r.match(/{[0-9]+}/)&&r.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(r.slice(this._start+1,this._end)),u=new Array(c+1).join(r[this._start-1]);if(r.slice(0,this._start).length>1&&r.includes(D.LETTER_S)){let d=r.slice(0,this._start-1);return d.includes(D.CURLY_BRACKETS_LEFT)?i+u:d+i+u}else return i+u},"")||r}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=Bt(t)))(i||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function Vte(){let e=C(j1),t=C(F1);return t instanceof Function?se(se({},e),t()):se(se({},e),t)}function zte(e){return[{provide:F1,useValue:e},{provide:j1,useValue:Lte},{provide:Jh,useFactory:Vte},jte]}function Bte(e){return Td(zte(e))}var Ul=(()=>{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})(),Hte="4.0",od=Hte,Aa=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Aa||{}),qte=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Ft);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=od.split(".").map(i=>parseInt(i)),r=(this.version||"").split(".").map(i=>parseInt(i));return r.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):r[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${od})!`),!1):!0}validateInputs(){let n=this,r=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=r.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",ot({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[xv],decls:0,vars:0,template:function(n,r){},encapsulation:2}));let e=t;return e})(),V1=class{constructor(e,t,a,n,r){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=r,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=a}fetchBackendData(){return Et(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Et(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 Et(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 Et(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 Et(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 Et(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},z1=()=>{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)},ho=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}(ho||{}),rr=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(rr||{}),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 lr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Ui={authorization:"Authorization",userType:"user-type",clientType:"client-type"},ji=class extends Error{};ji.prototype.name="InvalidTokenError";function $te(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,a)=>{let n=a.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Gte(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 $te(t)}catch{return atob(t)}}function Ute(e,t){if(typeof e!="string")throw new ji("Invalid token specified: must be a string");t||(t={});let a=t.header===!0?0:1,n=e.split(".")[a];if(typeof n!="string")throw new ji(`Invalid token specified: missing part #${a+1}`);let r;try{r=Gte(n)}catch(i){throw new ji(`Invalid token specified: invalid base64 for part #${a+1} (${i.message})`)}try{return JSON.parse(r)}catch(i){throw new ji(`Invalid token specified: invalid json for part #${a+1} (${i.message})`)}}var Wte=class extends V1{constructor(e,t,a){super(e,ho.USER_INFOS,t,a,ho.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Et(this,null,function*(){return Ute(yield this.getLocalAccessToken("")).userProfile})}},B1=(()=>{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 Yte(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0].ssin:e.ssin}function Zte(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Kte=(()=>{const t=class t extends B1{constructor(){super(...arguments),this.servicesStore=C(Ul)}resolveSsin(){return Et(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Yte(n)})}resolvePatientInfo(){return Et(this,null,function*(){let n=yield this.fetchUserProfileToken();return Zte(n)})}resolveUserInfo(){return Et(this,null,function*(){var d,m,b,g;let n=yield this.fetchUserProfileToken(),r=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:r,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 Et(this,null,function*(){var n,r;return((r=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:r.length)>0})}resolveProfessional(n,r){return r?n[r]:void 0}extractProfessionalRole(n){let r=["physician","nurse","midwife","dentist"],i="patient";return r.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r,this.accessTokenService=new Wte(this.servicesStore.getServices(),n,r)}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qte=(()=>{const t=class t extends B1{resolveSsin(){return Et(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 Et(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Xte=(()=>{const t=class t{constructor(){this.http=C(yi)}get(n,r,i){return ys()?this.http.get(n,{headers:i}):at(r)}patch(n,r,i){return ys()?this.http.patch(n,{},{headers:i}):at(r)}post(n,r,i){return ys()?this.http.post(n,{},{headers:i}):at(r)}delete(n,r,i){return ys()?this.http.delete(n,{headers:i}):at(r)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ys=()=>window.Cypress;function Jte(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var ene={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function H1(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let a of ene[t]){let n=e.find(r=>r.lang===a);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Yr=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Yr||{}),va=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(va||{});function tne(e,t){return Et(this,null,function*(){t.next({status:Yr.LOADING});try{let a=yield e,n={status:Yr.SUCCESS,data:a};return t.next(n),n}catch(a){let n={status:Yr.ERROR,error:rne(a)};return t.next(n),n}})}var Of={[va.NO_DATA]:["VIDIS_0140"],[va.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"],[va.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"],[va.OTHER]:[]};function nne(e){for(let t of Object.keys(Of))if(Of[t].includes(e))return t;return va.OTHER}function ane(e,t,a){let n=e||"UNKNOWN",r=nne(n);return{code:n,message:a??"An unexpected error occurred",group:r,traceId:t}}function rne(e){var r,i,o;let t=((r=e.error)==null?void 0:r.code)??void 0,a=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return ane(t,n,a)}var ine=(()=>{const t=class t{constructor(){this.translate=C(Ca)}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 H1(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})(),one=(()=>{const t=class t{constructor(){this.http=C(yi),this.snackbarService=C($1)}getLeaflet(n,r){this.http.get(`/v2/leaflet/${n}/${r}`,{responseType:"text"}).pipe(sn(1),Ed(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),Lg(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),si=(()=>{const t=class t{constructor(){this.config=C(wi),this.injector=C(rt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Qte):this.injector.get(Kte)}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})(),sne={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function lne(e,t){if(e&1){let a=Fo();re(0,"div",1)(1,"button",2),$a("click",function(){ya(a);let n=Re();return _a(n.action())}),_e(2),ae()()}if(e&2){let a=Re();X(2),Qt(" ",a.data.action," ")}}var une=["label"];function cne(e,t){}var dne=Math.pow(2,31)-1,sd=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,dne))}_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}},q1=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")}},hne=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),pne=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),mne=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),fne=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(sd));s(this,"data",C(q1))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({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,r){n&1&&(re(0,"div",0),_e(1),ae(),ct(2,lne,3,1,"div",1)),n&2&&(X(),Qt(" ",r.data.message,`
|
|
29
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),HQ=(()=>{const t=class t extends VQ{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})()),s(t,"ɵcmp",ot({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,r){n&2&&(Ln("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),jl(r.color?"mat-"+r.color:""),Rn("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[En],ngContentSelectors:Jy,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,r){n&1&&(vi(Xy),un(0,"span",0),Yn(1),re(2,"span",1),Yn(3,1),ae(),Yn(4,2),un(5,"span",2)(6,"span",3)),n&2&&Rn("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[zQ,BQ],encapsulation:2,changeDetection:0}));let e=t;return e})(),e1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",tn({type:t})),s(t,"ɵinj",Jt({imports:[ii,JK,ii]}));let e=t;return e})(),t1=(()=>{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,r,i)=>{if(i==0||r==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*r,l=o<i?Math.min(o+r,i):o+r;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})(),Ce=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}(Ce||{}),ga="*";function qQ(e,t=null){return{type:Ce.Sequence,steps:e,options:t}}function uf(e){return{type:Ce.Style,styles:e,offset:null}}var uo=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(a=>a()),t.length=0}},n1=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,a=0,n=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==r&&this._onFinish()}),i.onDestroy(()=>{++a==r&&this._onDestroy()}),i.onStart(()=>{++n==r&&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(a=>{let n=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(n)})}getPosition(){let e=this.players.reduce((t,a)=>t===null||a.totalTime>t.totalTime?a: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(a=>a()),t.length=0}},Bh="!";function cf(e){return new G(3e3,!1)}function $Q(){return new G(3100,!1)}function GQ(){return new G(3101,!1)}function UQ(e){return new G(3001,!1)}function WQ(e){return new G(3003,!1)}function YQ(e){return new G(3004,!1)}function ZQ(e,t){return new G(3005,!1)}function KQ(){return new G(3006,!1)}function QQ(){return new G(3007,!1)}function XQ(e,t){return new G(3008,!1)}function JQ(e){return new G(3002,!1)}function eX(e,t,a,n,r){return new G(3010,!1)}function tX(){return new G(3011,!1)}function nX(){return new G(3012,!1)}function aX(){return new G(3200,!1)}function rX(){return new G(3202,!1)}function iX(){return new G(3013,!1)}function oX(e){return new G(3014,!1)}function sX(e){return new G(3015,!1)}function lX(e){return new G(3016,!1)}function uX(e,t){return new G(3404,!1)}function cX(e){return new G(3502,!1)}function dX(e){return new G(3503,!1)}function hX(){return new G(3300,!1)}function pX(e){return new G(3504,!1)}function mX(e){return new G(3301,!1)}function fX(e,t){return new G(3302,!1)}function gX(e){return new G(3303,!1)}function vX(e,t){return new G(3400,!1)}function bX(e){return new G(3401,!1)}function yX(e){return new G(3402,!1)}function _X(e,t){return new G(3505,!1)}function Ra(e){switch(e.length){case 0:return new uo;case 1:return e[0];default:return new n1(e)}}function a1(e,t,a=new Map,n=new Map){let r=[],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,r),x){case Bh:x=a.get(g);break;case ga:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,r);break}m.set(w,x)}),d||i.push(m),l=m,o=u}),r.length)throw cX();return i}function Hh(e,t,a,n){switch(t){case"start":e.onStart(()=>n(a&&ju(a,"start",e)));break;case"done":e.onDone(()=>n(a&&ju(a,"done",e)));break;case"destroy":e.onDestroy(()=>n(a&&ju(a,"destroy",e)));break}}function ju(e,t,a){let n=a.totalTime,r=!!a.disabled,i=qh(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,r),o=e._data;return o!=null&&(i._data=o),i}function qh(e,t,a,n,r="",i=0,o){return{element:e,triggerName:t,fromState:a,toState:n,phaseName:r,totalTime:i,disabled:!!o}}function on(e,t,a){let n=e.get(t);return n||e.set(t,n=a),n}function df(e){let t=e.indexOf(":"),a=e.substring(1,t),n=e.slice(t+1);return[a,n]}var wX=typeof document>"u"?null:document.documentElement;function $h(e){let t=e.parentNode||e.host||null;return t===wX?null:t}function xX(e){return e.substring(1,6)=="ebkit"}var Xa=null,hf=!1;function EX(e){Xa||(Xa=SX()||{},hf=Xa.style?"WebkitAppearance"in Xa.style:!1);let t=!0;return Xa.style&&!xX(e)&&(t=e in Xa.style,!t&&hf&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Xa.style)),t}function SX(){return typeof document<"u"?document.body:null}function r1(e,t){for(;t;){if(t===e)return!0;t=$h(t)}return!1}function i1(e,t,a){if(a)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var kX=1e3,o1="{{",CX="}}",s1="ng-enter",Qc="ng-leave",fs="ng-trigger",fl=".ng-trigger",pf="ng-animating",Xc=".ng-animating";function pa(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Jc(parseFloat(t[1]),t[2])}function Jc(e,t){switch(t){case"s":return e*kX;default:return e}}function gl(e,t,a){return e.hasOwnProperty("duration")?e:IX(e,t,a)}function IX(e,t,a){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(cf()),{duration:0,delay:0,easing:""};r=Jc(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(i=Jc(parseFloat(c),l[4]));let u=l[5];u&&(o=u)}else r=e;if(!a){let l=!1,c=t.length;r<0&&(t.push($Q()),l=!0),i<0&&(t.push(GQ()),l=!0),l&&t.splice(c,0,cf())}return{duration:r,delay:i,easing:o}}function DX(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function $n(e,t,a){t.forEach((n,r)=>{let i=Gh(r);a&&!a.has(r)&&a.set(r,e.style[i]),e.style[i]=n})}function sr(e,t){t.forEach((a,n)=>{let r=Gh(n);e.style[r]=""})}function Ni(e){return Array.isArray(e)?e.length==1?e[0]:qQ(e):e}function TX(e,t,a){let n=t.params||{},r=l1(e);r.length&&r.forEach(i=>{n.hasOwnProperty(i)||a.push(UQ())})}var ed=new RegExp(`${o1}\\s*(.+?)\\s*${CX}`,"g");function l1(e){let t=[];if(typeof e=="string"){let a;for(;a=ed.exec(e);)t.push(a[1]);ed.lastIndex=0}return t}function co(e,t,a){let n=`${e}`,r=n.replace(ed,(i,o)=>{let l=t[o];return l==null&&(a.push(WQ()),l=""),l.toString()});return r==n?e:r}var NX=/-+([a-z0-9])/g;function Gh(e){return e.replace(NX,(...t)=>t[1].toUpperCase())}function OX(e,t){return e===0||t===0}function MX(e,t,a){if(a.size&&t.length){let n=t[0],r=[];if(a.forEach((i,o)=>{n.has(o)||r.push(o),n.set(o,i)}),r.length)for(let i=1;i<t.length;i++){let o=t[i];r.forEach(l=>o.set(l,Uh(e,l)))}}return t}function an(e,t,a){switch(t.type){case Ce.Trigger:return e.visitTrigger(t,a);case Ce.State:return e.visitState(t,a);case Ce.Transition:return e.visitTransition(t,a);case Ce.Sequence:return e.visitSequence(t,a);case Ce.Group:return e.visitGroup(t,a);case Ce.Animate:return e.visitAnimate(t,a);case Ce.Keyframes:return e.visitKeyframes(t,a);case Ce.Style:return e.visitStyle(t,a);case Ce.Reference:return e.visitReference(t,a);case Ce.AnimateChild:return e.visitAnimateChild(t,a);case Ce.AnimateRef:return e.visitAnimateRef(t,a);case Ce.Query:return e.visitQuery(t,a);case Ce.Stagger:return e.visitStagger(t,a);default:throw YQ(t.type)}}function Uh(e,t){return window.getComputedStyle(e)[t]}var RX=(()=>{const t=class t{validateStyleProperty(n){return EX(n)}containsElement(n,r){return r1(n,r)}getParentElement(n){return $h(n)}query(n,r,i){return i1(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,l,c=[],u){return new uo(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})(),Ju,u1=(Ju=class{},s(Ju,"NOOP",new RX),Ju),Wh=class{},AX=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"]),PX=class extends Wh{normalizePropertyName(e,t){return Gh(e)}normalizeStyleValue(e,t,a,n){let r="",i=a.toString().trim();if(AX.has(t)&&a!==0&&a!=="0")if(typeof a=="number")r="px";else{let o=a.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(ZQ())}return i+r}},vl="*";function LX(e,t){let a=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>FX(n,a,t)):a.push(e),a}function FX(e,t,a){if(e[0]==":"){let c=jX(e,a);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 a.push(sX()),t;let r=n[1],i=n[2],o=n[3];t.push(mf(r,o));let l=r==vl&&o==vl;i[0]=="<"&&!l&&t.push(mf(o,r))}function jX(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,n)=>parseFloat(n)>parseFloat(a);case":decrement":return(a,n)=>parseFloat(n)<parseFloat(a);default:return t.push(lX()),"* => *"}}var gs=new Set(["true","1"]),vs=new Set(["false","0"]);function mf(e,t){let a=gs.has(e)||vs.has(e),n=gs.has(t)||vs.has(t);return(r,i)=>{let o=e==vl||e==r,l=t==vl||t==i;return!o&&a&&typeof r=="boolean"&&(o=r?gs.has(e):vs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?gs.has(t):vs.has(t)),o&&l}}var c1=":self",VX=new RegExp(`s*${c1}s*,?`,"g");function d1(e,t,a,n){return new zX(e).build(t,a,n)}var ff="",zX=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,a){let n=new qX(t);return this._resetContextStyleTimingState(n),an(this,Ni(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=ff,e.collectedStyles=new Map,e.collectedStyles.set(ff,new Map),e.currentTime=0}visitTrigger(e,t){let a=t.queryCount=0,n=t.depCount=0,r=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(KQ()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ce.State){let l=o,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,r.push(this.visitState(l,t))}),l.name=c}else if(o.type==Ce.Transition){let l=this.visitTransition(o,t);a+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(QQ())}),{type:Ce.Trigger,name:e.name,states:r,transitions:i,queryCount:a,depCount:n,options:null}}visitState(e,t){let a=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(a.containsDynamicStyles){let r=new Set,i=n||{};a.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{l1(l).forEach(c=>{i.hasOwnProperty(c)||r.add(c)})})}),r.size&&t.errors.push(XQ(e.name,[...r.values()]))}return{type:Ce.State,name:e.name,style:a,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let a=an(this,Ni(e.animation),t),n=LX(e.expr,t.errors);return{type:Ce.Transition,matchers:n,animation:a,queryCount:t.queryCount,depCount:t.depCount,options:Ja(e.options)}}visitSequence(e,t){return{type:Ce.Sequence,steps:e.steps.map(a=>an(this,a,t)),options:Ja(e.options)}}visitGroup(e,t){let a=t.currentTime,n=0,r=e.steps.map(i=>{t.currentTime=a;let o=an(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ce.Group,steps:r,options:Ja(e.options)}}visitAnimate(e,t){let a=GX(e.timings,t.errors);t.currentAnimateTimings=a;let n,r=e.styles?e.styles:uf({});if(r.type==Ce.Keyframes)n=this.visitKeyframes(r,t);else{let i=e.styles,o=!1;if(!i){o=!0;let c={};a.easing&&(c.easing=a.easing),i=uf(c)}t.currentTime+=a.duration+a.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ce.Animate,timings:a,style:n,options:null}}visitStyle(e,t){let a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}_makeStyleAst(e,t){let a=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===ga?a.push(o):t.errors.push(JQ()):a.push(new Map(Object.entries(o)));let r=!1,i=null;return a.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(o1)>=0){r=!0;break}}}),{type:Ce.Style,styles:a,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let a=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;a&&r>0&&(r-=a.duration+a.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&&(r!=n&&r>=u.startTime&&n<=u.endTime&&(t.errors.push(eX(l,u.startTime,u.endTime)),d=!1),r=u.startTime),d&&c.set(l,{startTime:r,endTime:n}),t.options&&TX(o,t.options,t.errors)})})}visitKeyframes(e,t){let a={type:Ce.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(tX()),a;let n=1,r=0,i=[],o=!1,l=!1,c=0,u=e.steps.map(S=>{let T=this._makeStyleAst(S,t),A=T.offset!=null?T.offset:$X(T.styles),O=0;return A!=null&&(r++,O=T.offset=A),l=l||O<0||O>1,o=o||O<c,c=O,i.push(O),T});l&&t.errors.push(nX()),o&&t.errors.push(aX());let d=e.steps.length,m=0;r>0&&r<d?t.errors.push(rX()):r==0&&(m=n/(d-1));let b=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,T)=>{let A=m>0?T==b?1:m*T:i[T],O=A*x;t.currentTime=g+w.delay+O,w.duration=O,this._validateStyleAst(S,t),S.offset=A,a.styles.push(S)}),a}visitReference(e,t){return{type:Ce.Reference,animation:an(this,Ni(e.animation),t),options:Ja(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ce.AnimateChild,options:Ja(e.options)}}visitAnimateRef(e,t){return{type:Ce.AnimateRef,animation:this.visitReference(e.animation,t),options:Ja(e.options)}}visitQuery(e,t){let a=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,i]=BX(e.selector);t.currentQuerySelector=a.length?a+" "+r:r,on(t.collectedStyles,t.currentQuerySelector,new Map);let o=an(this,Ni(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:Ce.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:Ja(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(iX());let a=e.timings==="full"?{duration:0,delay:0,easing:"full"}:gl(e.timings,t.errors,!0);return{type:Ce.Stagger,animation:an(this,Ni(e.animation),t),timings:a,options:null}}};function BX(e){let t=!!e.split(/\s*,\s*/).find(a=>a==c1);return t&&(e=e.replace(VX,"")),e=e.replace(/@\*/g,fl).replace(/@\w+/g,a=>fl+"-"+a.slice(1)).replace(/:animating/g,Xc),[e,t]}function HX(e){return e?se({},e):null}var qX=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 $X(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(a=>{if(a instanceof Map&&a.has("offset")){let n=a;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let a=e;t=parseFloat(a.get("offset")),a.delete("offset")}return t}function GX(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=gl(e,t).duration;return Vu(r,0,"")}let a=e;if(a.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Vu(0,0,"");return r.dynamic=!0,r.strValue=a,r}let n=gl(a,t);return Vu(n.duration,n.delay,n.easing)}function Ja(e){return e?(e=se({},e),e.params&&(e.params=HX(e.params))):e={},e}function Vu(e,t,a){return{duration:e,delay:t,easing:a}}function Yh(e,t,a,n,r,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:a,postStyleProps:n,duration:r,delay:i,totalTime:r+i,easing:o,subTimeline:l}}var Zh=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let a=this._map.get(e);a||this._map.set(e,a=[]),a.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},UX=1,WX=":enter",YX=new RegExp(WX,"g"),ZX=":leave",KX=new RegExp(ZX,"g");function h1(e,t,a,n,r,i=new Map,o=new Map,l,c,u=[]){return new QX().buildKeyframes(e,t,a,n,r,i,o,l,c,u)}var QX=class{buildKeyframes(e,t,a,n,r,i,o,l,c,u=[]){c=c||new Zh;let d=new XX(e,t,c,n,r,u,[]);d.options=l;let m=l.delay?pa(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),an(this,a,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()):[Yh(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let a=t.subInstructions.get(t.element);if(a){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,i=this._visitSubInstructions(a,n,n.options);r!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,a),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,a){for(let n of e){let r=n==null?void 0:n.delay;if(r){let i=typeof r=="number"?r:pa(co(r,(n==null?void 0:n.params)??{},t.errors));a.delayNextStep(i)}}}_visitSubInstructions(e,t,a){let n=t.currentTimeline.currentTime,r=a.duration!=null?pa(a.duration):null,i=a.delay!=null?pa(a.delay):null;return r!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,r,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),an(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let a=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==Ce.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bl);let i=pa(r.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>an(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>a&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let a=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?pa(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),an(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),a.push(o.currentTimeline)}),a.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let a=e.strValue,n=t.params?co(a,t.params,t.errors):a;return gl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let a=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),n.snapshotCurrentStyles());let r=e.style;r.type==Ce.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(a.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let a=t.currentTimeline,n=t.currentAnimateTimings;!n&&a.hasCurrentStyleProperties()&&a.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(r):a.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let a=t.currentAnimateTimings,n=t.currentTimeline.duration,r=a.duration,i=t.createSubContext().currentTimeline;i.easing=a.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*r),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let a=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?pa(n.delay):0;r&&(t.previousNode.type===Ce.Style||a==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bl);let i=a,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);r&&d.delayNextStep(r),c===t.element&&(l=d.currentTimeline),an(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 a=t.parentContext,n=t.currentTimeline,r=e.timings,i=Math.abs(r.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=a.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;an(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=n.currentTime-u+(n.startTime-a.currentTimeline.startTime)}},bl={},XX=class p1{constructor(t,a,n,r,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=a,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=c||new m1(this._driver,a,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,a){if(!t)return;let n=t,r=this.options;n.duration!=null&&(r.duration=pa(n.duration)),n.delay!=null&&(r.delay=pa(n.delay));let i=n.params;if(i){let o=r.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!a||!o.hasOwnProperty(l))&&(o[l]=co(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let a=this.options.params;if(a){let n=t.params={};Object.keys(a).forEach(r=>{n[r]=a[r]})}}return t}createSubContext(t=null,a,n){let r=a||this.element,i=new p1(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,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,a,n){let r={duration:a??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new JX(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,a,n,r,i,o){let l=[];if(r&&l.push(this.element),t.length>0){t=t.replace(YX,"."+this._enterClassName),t=t.replace(KX,"."+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(oX()),l}},m1=class f1{constructor(t,a,n,r){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=a,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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 a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+t),a&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,a){return this.applyStylesToKeyframe(),new f1(this._driver,t,a||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+=UX,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,a){this._localTimelineStyles.set(t,a),this._globalTimelineStyles.set(t,a),this._styleSummary.set(t,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[a,n]of this._globalTimelineStyles)this._backFill.set(a,n||ga),this._currentKeyframe.set(a,ga);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,a,n,r){a&&this._previousKeyframe.set("easing",a);let i=r&&r.params||{},o=eJ(t,this._globalTimelineStyles);for(let[l,c]of o){let u=co(c,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ga),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,a)=>{this._currentKeyframe.set(a,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,t)}))}snapshotCurrentStyles(){for(let[t,a]of this._localTimelineStyles)this._pendingStyles.set(t,a),this._updateStyle(t,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let a in this._currentKeyframe)t.push(a);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((a,n)=>{let r=this._styleSummary.get(n);(!r||a.time>r.time)&&this._updateStyle(n,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,a=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((l,c)=>{let u=new Map([...this._backFill,...l]);u.forEach((d,m)=>{d===Bh?t.add(m):d===ga&&a.add(m)}),n||u.set("offset",c/this.duration),r.push(u)});let i=[...t.values()],o=[...a.values()];if(n){let l=r[0],c=new Map(l);l.set("offset",0),c.set("offset",1),r=[l,c]}return Yh(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}},JX=class extends m1{constructor(t,a,n,r,i,o,l=!1){super(t,a,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=r,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:a,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&a){let i=[],o=n+a,l=a/o,c=new Map(t[0]);c.set("offset",0),i.push(c);let u=new Map(t[0]);u.set("offset",gf(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=a+g*n;b.set("offset",gf(w/o)),i.push(b)}n=o,a=0,r="",t=i}return Yh(this.element,t,this.preStyleProps,this.postStyleProps,n,a,r,!0)}};function gf(e,t=3){let a=Math.pow(10,t-1);return Math.round(e*a)/a}function eJ(e,t){let a=new Map,n;return e.forEach(r=>{if(r==="*"){n??(n=t.keys());for(let i of n)a.set(i,ga)}else for(let[i,o]of r)a.set(i,o)}),a}function vf(e,t,a,n,r,i,o,l,c,u,d,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:a,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:c,preStyleProps:u,postStyleProps:d,totalTime:m,errors:b}}var zu={},g1=class{constructor(e,t,a){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=a}match(e,t,a,n){return tJ(this.ast.matchers,e,t,a,n)}buildStyles(e,t,a){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,a):new Map}build(e,t,a,n,r,i,o,l,c,u){var wt;let d=[],m=this.ast.options&&this.ast.options.params||zu,b=o&&o.params||zu,g=this.buildStyles(a,b,d),w=l&&l.params||zu,x=this.buildStyles(n,w,d),S=new Set,T=new Map,A=new Map,O=n==="void",Z={params:v1(w,m),delay:(wt=this.ast.options)==null?void 0:wt.delay},ie=u?[]:h1(e,t,this.ast.animation,r,i,g,x,Z,c,d),me=0;return ie.forEach(st=>{me=Math.max(st.duration+st.delay,me)}),d.length?vf(t,this._triggerName,a,n,O,g,x,[],[],T,A,me,d):(ie.forEach(st=>{let $e=st.element,pt=on(T,$e,new Set);st.preStyleProps.forEach(H=>pt.add(H));let Y=on(A,$e,new Set);st.postStyleProps.forEach(H=>Y.add(H)),$e!==t&&S.add($e)}),vf(t,this._triggerName,a,n,O,g,x,ie,[...S.values()],T,A,me))}};function tJ(e,t,a,n,r){return e.some(i=>i(t,a,n,r))}function v1(e,t){let a=se({},t);return Object.entries(e).forEach(([n,r])=>{r!=null&&(a[n]=r)}),a}var nJ=class{constructor(e,t,a){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=a}buildStyles(e,t){let a=new Map,n=v1(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((i,o)=>{i&&(i=co(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),a.set(o,i)})}),a}};function aJ(e,t,a){return new rJ(e,t,a)}var rJ=class{constructor(e,t,a){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=a,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new nJ(n.style,r,a))}),bf(this.states,"true","1"),bf(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new g1(e,n,this.states))}),this.fallbackTransition=iJ(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,a,n){return this.transitionFactories.find(r=>r.match(e,t,a,n))||null}matchStyles(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}};function iJ(e,t,a){let n=[(o,l)=>!0],r={type:Ce.Sequence,steps:[],options:null},i={type:Ce.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new g1(e,i,t)}function bf(e,t,a){e.has(t)?e.has(a)||e.set(a,e.get(t)):e.has(a)&&e.set(t,e.get(a))}var oJ=new Zh,sJ=class{constructor(e,t,a){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=a}register(e,t){let a=[],n=[],r=d1(this._driver,t,a,n);if(a.length)throw dX();this._animations.set(e,r)}_buildPlayer(e,t,a){let n=e.element,r=a1(this._normalizer,e.keyframes,t,a);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,a={}){let n=[],r=this._animations.get(e),i,o=new Map;if(r?(i=h1(this._driver,t,r,s1,Qc,new Map,new Map,a,oJ,n),i.forEach(u=>{let d=on(o,u.element,new Map);u.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(hX()),i=[]),n.length)throw pX();o.forEach((u,d)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(d,b,ga))})});let l=i.map(u=>{let d=o.get(u.element);return this._buildPlayer(u,new Map,d)}),c=Ra(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 a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw mX();return t}listen(e,t,a,n){let r=qh(t,"","","");return Hh(this._getPlayer(e),a,r,n),()=>{}}command(e,t,a,n){if(a=="register"){this.register(e,n[0]);return}if(a=="create"){let i=n[0]||{};this.create(e,t,i);return}let r=this._getPlayer(e);switch(a){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},yf="ng-animate-queued",lJ=".ng-animate-queued",Bu="ng-animate-disabled",uJ=".ng-animate-disabled",cJ="ng-star-inserted",dJ=".ng-star-inserted",hJ=[],b1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pJ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed",td=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let a=e&&e.hasOwnProperty("value"),n=a?e.value:e;if(this.value=vJ(n),a){let r=e,{value:i}=r,o=g7(r,["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 a=this.options.params;Object.keys(t).forEach(n=>{a[n]==null&&(a[n]=t[n])})}}},Gi="void",Hu=new td(Gi),mJ=class{constructor(e,t,a){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=a,this._hostClassName="ng-tns-"+e,vn(t,this._hostClassName)}listen(e,t,a,n){if(!this._triggers.has(t))throw fX();if(a==null||a.length==0)throw gX();if(!bJ(a))throw vX();let r=on(this._elementListeners,e,[]),i={name:t,phase:a,callback:n};r.push(i);let o=on(this._engine.statesByElement,e,new Map);return o.has(t)||(vn(e,fs),vn(e,fs+"-"+t),o.set(t,Hu)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(i);l>=0&&r.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 bX();return t}trigger(e,t,a,n=!0){let r=this._getTrigger(t),i=new nd(this.id,t,e),o=this._engine.statesByElement.get(e);o||(vn(e,fs),vn(e,fs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),c=new td(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),o.set(t,c),l||(l=Hu),c.value!==Gi&&l.value===c.value){if(!wJ(l.params,c.params)){let b=[],g=r.matchStyles(l.value,l.params,b),w=r.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{sr(e,g),$n(e,w)})}return}let u=on(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let d=r.matchTransition(l.value,c.value,e,c.params),m=!1;if(!d){if(!n)return;d=r.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,yf),i.onStart(()=>{Mr(e,yf)})),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,a)=>{this._elementListeners.set(a,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(a=>a.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let a=this._engine.driver.query(e,fl,!0);a.forEach(n=>{if(n[Dn])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,a,n){let r=this._engine.statesByElement.get(e),i=new Map;if(r){let o=[];if(r.forEach((l,c)=>{if(i.set(c,l.value),this._triggers.has(c)){let u=this.trigger(e,c,Gi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),a&&Ra(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(t&&a){let n=new Set;t.forEach(r=>{let i=r.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=a.get(i)||Hu,c=new td(Gi),u=new nd(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 a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(a.totalAnimations){let r=a.players.length?a.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(a.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)a.markElementAsRemoved(this.id,e,!1,t);else{let r=e[Dn];(!r||r===b1)&&(a.afterFlush(()=>this.clearElementCache(e)),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}insertNode(e,t){vn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(a=>{let n=a.player;if(n.destroyed)return;let r=a.element,i=this._elementListeners.get(r);i&&i.forEach(o=>{if(o.name==a.triggerName){let l=qh(r,a.triggerName,a.fromState.value,a.toState.value);l._data=e,Hh(a.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(a)}),this._queue=[],t.sort((a,n)=>{let r=a.transition.ast.depCount,i=n.transition.ast.depCount;return r==0||i==0?r-i:this._engine.driver.containsElement(a.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},fJ=class{constructor(e,t,a){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=a}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(a=>{a.queued&&e.push(a)})}),e}createNamespace(e,t){let a=new mJ(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}_balanceNamespaceList(e,t){let a=this._namespaceList,n=this.namespacesByHostElement;if(a.length-1>=0){let r=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=a.indexOf(o);a.splice(l+1,0,e),r=!0;break}i=this.driver.getParentElement(i)}r||a.unshift(e)}else a.push(e);return n.set(t,e),e}register(e,t){let a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}registerTrigger(e,t,a){let n=this._namespaceLookup[e];n&&n.register(t,a)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let a=this._fetchNamespace(e);this.namespacesByHostElement.delete(a.hostElement);let n=this._namespaceList.indexOf(a);n>=0&&this._namespaceList.splice(n,1),a.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,a=this.statesByElement.get(e);if(a){for(let n of a.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,a,n){if(bs(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,a,n),!0}return!1}insertNode(e,t,a,n){if(!bs(t))return;let r=t[Dn];if(r&&r.setForRemoval){r.setForRemoval=!1,r.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,a)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),vn(e,Bu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Mr(e,Bu))}removeNode(e,t,a){if(bs(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,a)}else this._onRemovalComplete(t,a)}markElementAsRemoved(e,t,a,n,r){this.collectedLeaveElements.push(t),t[Dn]={namespaceId:e,setForRemoval:n,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,a,n,r){return bs(t)?this._fetchNamespace(e).listen(t,a,n,r):()=>{}}_buildInstruction(e,t,a,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,fl,!0);t.forEach(a=>this.destroyActiveAnimationsForElement(a)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Xc,!0),t.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ra(this.players).onDone(()=>e());e()})}processLeaveNode(e){var a;let t=e[Dn];if(t&&t.setForRemoval){if(e[Dn]=b1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(a=e.classList)!=null&&a.contains(Bu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,uJ,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,n)=>this._balanceNamespaceList(a,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++){let n=this.collectedEnterElements[a];vn(n,cJ)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let a=[];try{t=this._flushAnimations(a,e)}finally{for(let n=0;n<a.length;n++)a[n]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++){let n=this.collectedLeaveElements[a];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){let a=this._whenQuietFns;this._whenQuietFns=[],t.length?Ra(t).onDone(()=>{a.forEach(n=>n())}):a.forEach(n=>n())}}reportError(e){throw yX()}_flushAnimations(e,t){let a=new Zh,n=[],r=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,lJ,!0);for(let U=0;U<j.length;U++)u.add(j[U])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=xf(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((L,j)=>{let U=s1+w++;g.set(j,U),L.forEach(Ee=>vn(Ee,U))});let x=[],S=new Set,T=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let j=this.collectedLeaveElements[L],U=j[Dn];U&&U.setForRemoval&&(x.push(j),S.add(j),U.hasAnimation?this.driver.query(j,dJ,!0).forEach(Ee=>S.add(Ee)):T.add(j))}let A=new Map,O=xf(m,Array.from(S));O.forEach((L,j)=>{let U=Qc+w++;A.set(j,U),L.forEach(Ee=>vn(Ee,U))}),e.push(()=>{b.forEach((L,j)=>{let U=g.get(j);L.forEach(Ee=>Mr(Ee,U))}),O.forEach((L,j)=>{let U=A.get(j);L.forEach(Ee=>Mr(Ee,U))}),x.forEach(L=>{this.processLeaveNode(L)})});let Z=[],ie=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(j=>{let U=j.player,Ee=j.element;if(Z.push(U),this.collectedEnterElements.length){let Ge=Ee[Dn];if(Ge&&Ge.setForMove){if(Ge.previousTriggersValues&&Ge.previousTriggersValues.has(j.triggerName)){let Lt=Ge.previousTriggersValues.get(j.triggerName),xt=this.statesByElement.get(j.element);if(xt&&xt.has(j.triggerName)){let jn=xt.get(j.triggerName);jn.value=Lt,xt.set(j.triggerName,jn)}}U.destroy();return}}let He=!d||!this.driver.containsElement(d,Ee),Pt=A.get(Ee),De=g.get(Ee),Me=this._buildInstruction(j,a,De,Pt,He);if(Me.errors&&Me.errors.length){ie.push(Me);return}if(He){U.onStart(()=>sr(Ee,Me.fromStyles)),U.onDestroy(()=>$n(Ee,Me.toStyles)),n.push(U);return}if(j.isFallbackTransition){U.onStart(()=>sr(Ee,Me.fromStyles)),U.onDestroy(()=>$n(Ee,Me.toStyles)),n.push(U);return}let Je=[];Me.timelines.forEach(Ge=>{Ge.stretchStartingKeyframe=!0,this.disabledNodes.has(Ge.element)||Je.push(Ge)}),Me.timelines=Je,a.append(Ee,Me.timelines);let Sn={instruction:Me,player:U,element:Ee};i.push(Sn),Me.queriedElements.forEach(Ge=>on(o,Ge,[]).push(U)),Me.preStyleProps.forEach((Ge,Lt)=>{if(Ge.size){let xt=l.get(Lt);xt||l.set(Lt,xt=new Set),Ge.forEach((jn,Ia)=>xt.add(Ia))}}),Me.postStyleProps.forEach((Ge,Lt)=>{let xt=c.get(Lt);xt||c.set(Lt,xt=new Set),Ge.forEach((jn,Ia)=>xt.add(Ia))})});if(ie.length){let L=[];ie.forEach(j=>{L.push(_X(j.triggerName,j.errors))}),Z.forEach(j=>j.destroy()),this.reportError(L)}let me=new Map,wt=new Map;i.forEach(L=>{let j=L.element;a.has(j)&&(wt.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(U=>{on(me,j,[]).push(U),U.destroy()})});let st=x.filter(L=>Ef(L,l,c)),$e=new Map;wf($e,this.driver,T,c,ga).forEach(L=>{Ef(L,l,c)&&st.push(L)});let pt=new Map;b.forEach((L,j)=>{wf(pt,this.driver,new Set(L),l,Bh)}),st.forEach(L=>{let j=$e.get(L),U=pt.get(L);$e.set(L,new Map([...(j==null?void 0:j.entries())??[],...(U==null?void 0:U.entries())??[]]))});let Y=[],H=[],ge={};i.forEach(L=>{let{element:j,player:U,instruction:Ee}=L;if(a.has(j)){if(u.has(j)){U.onDestroy(()=>$n(j,Ee.toStyles)),U.disabled=!0,U.overrideTotalTime(Ee.totalTime),n.push(U);return}let He=ge;if(wt.size>1){let De=j,Me=[];for(;De=De.parentNode;){let Je=wt.get(De);if(Je){He=Je;break}Me.push(De)}Me.forEach(Je=>wt.set(Je,He))}let Pt=this._buildAnimation(U.namespaceId,Ee,me,r,pt,$e);if(U.setRealPlayer(Pt),He===ge)Y.push(U);else{let De=this.playersByElement.get(He);De&&De.length&&(U.parentPlayer=Ra(De)),n.push(U)}}else sr(j,Ee.fromStyles),U.onDestroy(()=>$n(j,Ee.toStyles)),H.push(U),u.has(j)&&n.push(U)}),H.forEach(L=>{let j=r.get(L.element);if(j&&j.length){let U=Ra(j);L.setRealPlayer(U)}}),n.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<x.length;L++){let j=x[L],U=j[Dn];if(Mr(j,Qc),U&&U.hasAnimation)continue;let Ee=[];if(o.size){let Pt=o.get(j);Pt&&Pt.length&&Ee.push(...Pt);let De=this.driver.query(j,Xc,!0);for(let Me=0;Me<De.length;Me++){let Je=o.get(De[Me]);Je&&Je.length&&Ee.push(...Je)}}let He=Ee.filter(Pt=>!Pt.destroyed);He.length?yJ(this,j,He):this.processLeaveNode(j)}return x.length=0,Y.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let j=this.players.indexOf(L);this.players.splice(j,1)}),L.play()}),Y}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,a,n,r){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==Gi;o.forEach(c=>{c.queued||!l&&c.triggerName!=n||i.push(c)})}}return(a||n)&&(i=i.filter(o=>!(a&&a!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,a){let n=t.triggerName,r=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!==r,d=on(a,c,[]);this._getPreviousPlayers(c,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),d.push(m)})}sr(r,t.fromStyles)}_buildAnimation(e,t,a,n,r,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 uo(g.duration,g.delay);let S=w!==l,T=_J((a.get(w)||hJ).map(me=>me.getRealPlayer())).filter(me=>{let wt=me;return wt.element?wt.element===w:!1}),A=r.get(w),O=i.get(w),Z=a1(this._normalizer,g.keyframes,A,O),ie=this._buildPlayer(g,Z,T);if(g.subTimeline&&n&&d.add(w),S){let me=new nd(e,o,w);me.setRealPlayer(ie),c.push(me)}return ie});c.forEach(g=>{on(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>gJ(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>vn(g,pf));let b=Ra(m);return b.onDestroy(()=>{u.forEach(g=>Mr(g,pf)),$n(l,t.toStyles)}),d.forEach(g=>{on(n,g,[]).push(b)}),b}_buildPlayer(e,t,a){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new uo(e.duration,e.delay)}},nd=class{constructor(e,t,a){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new uo);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=a}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,a)=>{t.forEach(n=>Hh(e,a,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){on(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 gJ(e,t,a){let n=e.get(t);if(n){if(n.length){let r=n.indexOf(a);n.splice(r,1)}n.length==0&&e.delete(t)}return n}function vJ(e){return e??null}function bs(e){return e&&e.nodeType===1}function bJ(e){return e=="start"||e=="done"}function _f(e,t){let a=e.style.display;return e.style.display=t??"none",a}function wf(e,t,a,n,r){let i=[];a.forEach(c=>i.push(_f(c)));let o=[];n.forEach((c,u)=>{let d=new Map;c.forEach(m=>{let b=t.computeStyle(u,m,r);d.set(m,b),(!b||b.length==0)&&(u[Dn]=pJ,o.push(u))}),e.set(u,d)});let l=0;return a.forEach(c=>_f(c,i[l++])),o}function xf(e,t){let a=new Map;if(e.forEach(l=>a.set(l,[])),t.length==0)return a;let n=1,r=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 a.has(u)?c=u:r.has(u)?c=n:c=o(u),i.set(l,c),c}return t.forEach(l=>{let c=o(l);c!==n&&a.get(c).push(l)}),a}function vn(e,t){var a;(a=e.classList)==null||a.add(t)}function Mr(e,t){var a;(a=e.classList)==null||a.remove(t)}function yJ(e,t,a){Ra(a).onDone(()=>e.processLeaveNode(t))}function _J(e){let t=[];return y1(e,t),t}function y1(e,t){for(let a=0;a<e.length;a++){let n=e[a];n instanceof n1?y1(n.players,t):t.push(n)}}function wJ(e,t){let a=Object.keys(e),n=Object.keys(t);if(a.length!=n.length)return!1;for(let r=0;r<a.length;r++){let i=a[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function Ef(e,t,a){let n=a.get(e);if(!n)return!1;let r=t.get(e);return r?n.forEach(i=>r.add(i)):t.set(e,n),a.delete(e),!0}var ad=class{constructor(e,t,a){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=a,this._transitionEngine=new fJ(e.body,t,a),this._timelineEngine=new sJ(e.body,t,a),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,a,n,r){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],c=[],u=d1(this._driver,r,l,c);if(l.length)throw uX();o=aJ(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,a,n){this._transitionEngine.insertNode(e,t,a,n)}onRemove(e,t,a){this._transitionEngine.removeNode(e,t,a)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,a,n){if(a.charAt(0)=="@"){let[r,i]=df(a),o=n;this._timelineEngine.command(r,t,i,o)}else this._transitionEngine.trigger(e,t,a,n)}listen(e,t,a,n,r){if(a.charAt(0)=="@"){let[i,o]=df(a);return this._timelineEngine.listen(i,t,o,r)}return this._transitionEngine.listen(e,t,a,n,r)}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 xJ(e,t){let a=null,n=null;return Array.isArray(t)&&t.length?(a=qu(t[0]),t.length>1&&(n=qu(t[t.length-1]))):t instanceof Map&&(a=qu(t)),a||n?new EJ(e,a,n):null}var EJ=(()=>{const t=class t{constructor(n,r,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=r,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&&(sr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sr(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 qu(e){let t=null;return e.forEach((a,n)=>{SJ(n)&&(t=t||new Map,t.set(n,a))}),t}function SJ(e){return e==="display"||e==="position"}var Sf=class{constructor(e,t,a,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=a,this._specialStyles=n,this._duration=a.duration,this._delay=a.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(a=>{t.push(Object.fromEntries(a))}),t}_triggerWebAnimation(e,t,a){return e.animate(this._convertKeyframesToObject(t),a)}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,a)=>{a!=="offset"&&e.set(a,this._finished?t:Uh(this.element,a))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},kJ=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return r1(e,t)}getParentElement(e){return $h(e)}query(e,t,a){return i1(e,t,a)}computeStyle(e,t,a){return Uh(e,t)}animate(e,t,a,n,r,i=[]){let o=n==0?"both":"forwards",l={duration:a,delay:n,fill:o};r&&(l.easing=r);let c=new Map,u=i.filter(b=>b instanceof Sf);OX(a,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>c.set(w,g))});let d=DX(t).map(b=>new Map(b));d=MX(e,d,c);let m=xJ(e,d);return new Sf(e,d,l,m)}},Fs="@",_1="@.disabled",w1=class{constructor(e,t,a,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=a,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,a;(a=(t=this.delegate).destroyNode)==null||a.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,a,n=!0){this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,a){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,a,n){this.delegate.setAttribute(e,t,a,n)}removeAttribute(e,t,a){this.delegate.removeAttribute(e,t,a)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,a,n){this.delegate.setStyle(e,t,a,n)}removeStyle(e,t,a){this.delegate.removeStyle(e,t,a)}setProperty(e,t,a){t.charAt(0)==Fs&&t==_1?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,a,n){return this.delegate.listen(e,t,a,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},CJ=class extends w1{constructor(t,a,n,r,i){super(a,n,r,i);s(this,"factory");this.factory=t,this.namespaceId=a}setProperty(t,a,n){a.charAt(0)==Fs?a.charAt(1)=="."&&a==_1?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,a.slice(1),n):this.delegate.setProperty(t,a,n)}listen(t,a,n,r){if(a.charAt(0)==Fs){let i=IJ(t),o=a.slice(1),l="";return o.charAt(0)!=Fs&&([o,l]=DJ(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,a,n,r)}};function IJ(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function DJ(e){let t=e.indexOf("."),a=e.substring(0,t),n=e.slice(t+1);return[a,n]}var TJ=class{constructor(e,t,a){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=a,t.onRemovalComplete=(n,r)=>{r==null||r.removeChild(null,n)}}createRenderer(e,t){var l;let a="",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 w1(a,n,this.engine,d),c.set(n,u)}return u}let r=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(r,i,e,c.name,c)};return t.data.animation.forEach(o),new CJ(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(a));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[i,o]=r;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,a])}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,a;this.engine.flush(),(a=(t=this.delegate).componentReplaced)==null||a.call(t,e)}},NJ=(()=>{const t=class t extends ad{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(te(Le),te(u1),te(Wh))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function OJ(){return new PX}function MJ(e,t,a){return new TJ(e,t,a)}var RJ=[{provide:Wh,useFactory:OJ},{provide:ad,useClass:NJ},{provide:Pn,useFactory:MJ,deps:[qc,ad,je]}],AJ=[{provide:u1,useFactory:()=>new kJ},{provide:fi,useFactory:()=>"BrowserAnimations"},...RJ];function PJ(){return wr("NgEagerAnimations"),[...AJ]}var LJ=(()=>{const t=class t extends t1{constructor(n){super(),this.translate=n,this.getRangeLabel=(r,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=r*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(Ca))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),x1=6048e5,FJ=864e5,jJ=6e4,VJ=36e5,zJ=1e3,kf=Symbol.for("constructDateFrom");function Tt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&kf in e?e[kf](t):e instanceof Date?new e.constructor(t):new Date(t)}function kt(e,t){return Tt(t||e,e)}function E1(e,t,a){let n=kt(e,a==null?void 0:a.in);return isNaN(t)?Tt((a==null?void 0:a.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var BJ={};function _i(){return BJ}function qa(e,t){var l,c,u,d;let a=_i(),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)??a.weekStartsOn??((d=(u=a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??0,r=kt(e,t==null?void 0:t.in),i=r.getDay(),o=(i<n?7:0)+i-n;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function oi(e,t){return qa(e,Wt(se({},t),{weekStartsOn:1}))}function S1(e,t){let a=kt(e,t==null?void 0:t.in),n=a.getFullYear(),r=Tt(a,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let i=oi(r),o=Tt(a,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=oi(o);return a.getTime()>=i.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function yl(e){let t=kt(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function HJ(e,...t){let a=Tt.bind(null,t.find(n=>typeof n=="object"));return t.map(a)}function Cf(e,t){let a=kt(e,t==null?void 0:t.in);return a.setHours(0,0,0,0),a}function qJ(e,t,a){let[n,r]=HJ(a==null?void 0:a.in,e,t),i=Cf(n),o=Cf(r),l=+i-yl(i),c=+o-yl(o);return Math.round((l-c)/FJ)}function $J(e,t){let a=S1(e,t),n=Tt(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),oi(n)}function GJ(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function UJ(e){return!(!GJ(e)&&typeof e!="number"||isNaN(+kt(e)))}function WJ(e,t){let a=kt(e,t==null?void 0:t.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}var YJ={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"}},ZJ=(e,t,a)=>{let n,r=YJ[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};function $u(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var KJ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},QJ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},XJ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},JJ={date:$u({formats:KJ,defaultWidth:"full"}),time:$u({formats:QJ,defaultWidth:"full"}),dateTime:$u({formats:XJ,defaultWidth:"full"})},eee={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tee=(e,t,a,n)=>eee[e];function Oi(e){return(t,a)=>{let n=a!=null&&a.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=a!=null&&a.width?String(a.width):o;r=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}var nee={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},aee={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ree={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"]},iee={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"]},oee={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"}},see={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"}},lee=(e,t)=>{let a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},uee={ordinalNumber:lee,era:Oi({values:nee,defaultWidth:"wide"}),quarter:Oi({values:aee,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Oi({values:ree,defaultWidth:"wide"}),day:Oi({values:iee,defaultWidth:"wide"}),dayPeriod:Oi({values:oee,defaultWidth:"wide",formattingValues:see,defaultFormattingWidth:"wide"})};function Mi(e){return(t,a={})=>{let n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?dee(l,m=>m.test(o)):cee(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(c):c,u=a.valueCallback?a.valueCallback(u):u;let d=t.slice(o.length);return{value:u,rest:d}}}function cee(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function dee(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function hee(e){return(t,a={})=>{let n=t.match(e.matchPattern);if(!n)return null;let r=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;let l=t.slice(r.length);return{value:o,rest:l}}}var pee=/^(\d+)(th|st|nd|rd)?/i,mee=/\d+/i,fee={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},gee={any:[/^b/i,/^(a|c)/i]},vee={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bee={any:[/1/i,/2/i,/3/i,/4/i]},yee={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},_ee={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]},wee={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},xee={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]},Eee={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},See={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}},kee={ordinalNumber:hee({matchPattern:pee,parsePattern:mee,valueCallback:e=>parseInt(e,10)}),era:Mi({matchPatterns:fee,defaultMatchWidth:"wide",parsePatterns:gee,defaultParseWidth:"any"}),quarter:Mi({matchPatterns:vee,defaultMatchWidth:"wide",parsePatterns:bee,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Mi({matchPatterns:yee,defaultMatchWidth:"wide",parsePatterns:_ee,defaultParseWidth:"any"}),day:Mi({matchPatterns:wee,defaultMatchWidth:"wide",parsePatterns:xee,defaultParseWidth:"any"}),dayPeriod:Mi({matchPatterns:Eee,defaultMatchWidth:"any",parsePatterns:See,defaultParseWidth:"any"})},k1={code:"en-US",formatDistance:ZJ,formatLong:JJ,formatRelative:tee,localize:uee,match:kee,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Cee(e,t){let a=kt(e,t==null?void 0:t.in);return qJ(a,WJ(a))+1}function C1(e,t){let a=kt(e,t==null?void 0:t.in),n=+oi(a)-+$J(a);return Math.round(n/x1)+1}function Kh(e,t){var d,m,b,g;let a=kt(e,t==null?void 0:t.in),n=a.getFullYear(),r=_i(),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)??r.firstWeekContainsDate??((g=(b=r.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=Tt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=qa(o,t),c=Tt((t==null?void 0:t.in)||e,0);c.setFullYear(n,0,i),c.setHours(0,0,0,0);let u=qa(c,t);return+a>=+l?n+1:+a>=+u?n:n-1}function Iee(e,t){var o,l,c,u;let a=_i(),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)??a.firstWeekContainsDate??((u=(c=a.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,r=Kh(e,t),i=Tt((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,n),i.setHours(0,0,0,0),qa(i,t)}function I1(e,t){let a=kt(e,t==null?void 0:t.in),n=+qa(a,t)-+Iee(a,t);return Math.round(n/x1)+1}function ze(e,t){let a=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return a+n}var Na={y(e,t){let a=e.getFullYear(),n=a>0?a:1-a;return ze(t==="yy"?n%100:n,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):ze(a+1,2)},d(e,t){return ze(e.getDate(),t.length)},a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="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 a=t.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,a-3));return ze(r,t.length)}},Nr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},If={G:function(e,t,a){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){let n=e.getFullYear(),r=n>0?n:1-n;return a.ordinalNumber(r,{unit:"year"})}return Na.y(e,t)},Y:function(e,t,a,n){let r=Kh(e,n),i=r>0?r:1-r;if(t==="YY"){let o=i%100;return ze(o,2)}return t==="Yo"?a.ordinalNumber(i,{unit:"year"}):ze(i,t.length)},R:function(e,t){let a=S1(e);return ze(a,t.length)},u:function(e,t){let a=e.getFullYear();return ze(a,t.length)},Q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ze(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ze(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){let n=e.getMonth();switch(t){case"M":case"MM":return Na.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return ze(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){let r=I1(e,n);return t==="wo"?a.ordinalNumber(r,{unit:"week"}):ze(r,t.length)},I:function(e,t,a){let n=C1(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):ze(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):Na.d(e,t)},D:function(e,t,a){let n=Cee(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):ze(n,t.length)},E:function(e,t,a){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ze(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ze(i,t.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,a){let n=e.getDay(),r=n===0?7:n;switch(t){case"i":return String(r);case"ii":return ze(r,t.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){let n=e.getHours(),r;switch(n===12?r=Nr.noon:n===0?r=Nr.midnight:r=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,a){let n=e.getHours(),r;switch(n>=17?r=Nr.evening:n>=12?r=Nr.afternoon:n>=4?r=Nr.morning:r=Nr.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return Na.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):Na.H(e,t)},K:function(e,t,a){let n=e.getHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},k:function(e,t,a){let n=e.getHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):ze(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):Na.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):Na.s(e,t)},S:function(e,t){return Na.S(e,t)},X:function(e,t,a){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Tf(n);case"XXXX":case"XX":return nr(n);case"XXXXX":case"XXX":default:return nr(n,":")}},x:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"x":return Tf(n);case"xxxx":case"xx":return nr(n);case"xxxxx":case"xxx":default:return nr(n,":")}},O:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Df(n,":");case"OOOO":default:return"GMT"+nr(n,":")}},z:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Df(n,":");case"zzzz":default:return"GMT"+nr(n,":")}},t:function(e,t,a){let n=Math.trunc(+e/1e3);return ze(n,t.length)},T:function(e,t,a){return ze(+e,t.length)}};function Df(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.trunc(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+ze(i,2)}function Tf(e,t){return e%60===0?(e>0?"-":"+")+ze(Math.abs(e)/60,2):nr(e,t)}function nr(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=ze(Math.trunc(n/60),2),i=ze(n%60,2);return a+r+t+i}var Nf=(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"})}},D1=(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"})}},Dee=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],n=a[1],r=a[2];if(!r)return Nf(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}}",Nf(n,t)).replace("{{time}}",D1(r,t))},rd={p:D1,P:Dee},Tee=/^D+$/,Nee=/^Y+$/,Oee=["D","DD","YY","YYYY"];function T1(e){return Tee.test(e)}function N1(e){return Nee.test(e)}function id(e,t,a){let n=Mee(e,t,a);if(console.warn(n),Oee.includes(e))throw new RangeError(n)}function Mee(e,t,a){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 \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Ree=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Aee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pee=/^'([^]*?)'?$/,Lee=/''/g,Fee=/[a-zA-Z]/;function O1(e,t,a){var d,m,b,g,w,x,S,T;let n=_i(),r=(a==null?void 0:a.locale)??n.locale??k1,i=(a==null?void 0:a.firstWeekContainsDate)??((m=(d=a==null?void 0:a.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=(a==null?void 0:a.weekStartsOn)??((x=(w=a==null?void 0:a.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=kt(e,a==null?void 0:a.in);if(!UJ(l))throw new RangeError("Invalid time value");let c=t.match(Aee).map(A=>{let O=A[0];if(O==="p"||O==="P"){let Z=rd[O];return Z(A,r.formatLong)}return A}).join("").match(Ree).map(A=>{if(A==="''")return{isToken:!1,value:"'"};let O=A[0];if(O==="'")return{isToken:!1,value:jee(A)};if(If[O])return{isToken:!0,value:A};if(O.match(Fee))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:A}});r.localize.preprocessor&&(c=r.localize.preprocessor(l,c));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return c.map(A=>{if(!A.isToken)return A.value;let O=A.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&N1(O)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&T1(O))&&id(O,t,String(e));let Z=If[O[0]];return Z(l,O,r.localize,u)}).join("")}function jee(e){let t=e.match(Pee);return t?t[1].replace(Lee,"'"):e}function M1(){return Object.assign({},_i())}function Vee(e,t){let a=kt(e,t==null?void 0:t.in).getDay();return a===0?7:a}function zee(e,t){let a=Bee(t)?new t(0):Tt(t,0);return a.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),a.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),a}function Bee(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Hee=10,R1=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},qee=class extends R1{constructor(e,t,a,n,r){super(),this.value=e,this.validateValue=t,this.setValue=a,this.priority=n,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,a){return this.setValue(e,t,this.value,a)}},$ee=class extends R1{constructor(t,a){super();s(this,"priority",Hee);s(this,"subPriority",-1);this.context=t||(n=>Tt(a,n))}set(t,a){return a.timestampIsSet?t:Tt(t,zee(t,this.context))}},Fe=class{run(e,t,a,n){let r=this.parse(e,t,a,n);return r?{setter:new qee(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,a){return!0}},Gee=class extends Fe{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,n){switch(a){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,a,n){return a.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},dt={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}/},Gn={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 ht(e,t){return e&&{value:t(e.value),rest:e.rest}}function et(e,t){let a=t.match(e);return a?{value:parseInt(a[0],10),rest:t.slice(a[0].length)}:null}function Un(e,t){let a=t.match(e);if(!a)return null;if(a[0]==="Z")return{value:0,rest:t.slice(1)};let n=a[1]==="+"?1:-1,r=a[2]?parseInt(a[2],10):0,i=a[3]?parseInt(a[3],10):0,o=a[5]?parseInt(a[5],10):0;return{value:n*(r*VJ+i*jJ+o*zJ),rest:t.slice(a[0].length)}}function A1(e){return et(dt.anyDigitsSigned,e)}function it(e,t){switch(e){case 1:return et(dt.singleDigit,t);case 2:return et(dt.twoDigits,t);case 3:return et(dt.threeDigits,t);case 4:return et(dt.fourDigits,t);default:return et(new RegExp("^\\d{1,"+e+"}"),t)}}function _l(e,t){switch(e){case 1:return et(dt.singleDigitSigned,t);case 2:return et(dt.twoDigitsSigned,t);case 3:return et(dt.threeDigitsSigned,t);case 4:return et(dt.fourDigitsSigned,t);default:return et(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Qh(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 P1(e,t){let a=t>0,n=a?t:1-t,r;if(n<=50)r=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;r=e+o-(l?100:0)}return a?r:1-r}function L1(e){return e%400===0||e%4===0&&e%100!==0}var Uee=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,a,n){let r=i=>({year:i,isTwoDigitYear:a==="yy"});switch(a){case"y":return ht(it(4,t),r);case"yo":return ht(n.ordinalNumber(t,{unit:"year"}),r);default:return ht(it(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n){let r=t.getFullYear();if(n.isTwoDigitYear){let o=P1(n.year,r);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Wee=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,a,n){let r=i=>({year:i,isTwoDigitYear:a==="YY"});switch(a){case"Y":return ht(it(4,t),r);case"Yo":return ht(n.ordinalNumber(t,{unit:"year"}),r);default:return ht(it(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n,r){let i=Kh(t,r);if(n.isTwoDigitYear){let l=P1(n.year,i);return t.setFullYear(l,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),qa(t,r)}let o=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(o,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),qa(t,r)}},Yee=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,a){return _l(a==="R"?4:a.length,t)}set(t,a,n){let r=Tt(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),oi(r)}},Zee=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,a){return _l(a==="u"?4:a.length,t)}set(t,a,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Kee=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,a,n){switch(a){case"Q":case"QQ":return it(a.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,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Qee=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,a,n){switch(a){case"q":case"qq":return it(a.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,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Xee=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,a,n){let r=i=>i-1;switch(a){case"M":return ht(et(dt.month,t),r);case"MM":return ht(it(2,t),r);case"Mo":return ht(n.ordinalNumber(t,{unit:"month"}),r);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,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},Jee=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,a,n){let r=i=>i-1;switch(a){case"L":return ht(et(dt.month,t),r);case"LL":return ht(it(2,t),r);case"Lo":return ht(n.ordinalNumber(t,{unit:"month"}),r);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,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function ete(e,t,a){let n=kt(e,a==null?void 0:a.in),r=I1(n,a)-t;return n.setDate(n.getDate()-r*7),kt(n,a==null?void 0:a.in)}var tte=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,a,n){switch(a){case"w":return et(dt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n,r){return qa(ete(t,n,r),r)}};function nte(e,t,a){let n=kt(e,a==null?void 0:a.in),r=C1(n,a)-t;return n.setDate(n.getDate()-r*7),n}var ate=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,a,n){switch(a){case"I":return et(dt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n){return oi(nte(t,n))}},rte=[31,28,31,30,31,30,31,31,30,31,30,31],ite=[31,29,31,30,31,30,31,31,30,31,30,31],ote=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,a,n){switch(a){case"d":return et(dt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return it(a.length,t)}}validate(t,a){let n=t.getFullYear(),r=L1(n),i=t.getMonth();return r?a>=1&&a<=ite[i]:a>=1&&a<=rte[i]}set(t,a,n){return t.setDate(n),t.setHours(0,0,0,0),t}},ste=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,a,n){switch(a){case"D":case"DD":return et(dt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return it(a.length,t)}}validate(t,a){let n=t.getFullYear();return L1(n)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function Xh(e,t,a){var d,m,b,g;let n=_i(),r=(a==null?void 0:a.weekStartsOn)??((m=(d=a==null?void 0:a.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=kt(e,a==null?void 0:a.in),o=i.getDay(),l=(t%7+7)%7,c=7-r,u=t<0||t>6?t-(o+c)%7:(l+c)%7-(o+c)%7;return E1(i,u,a)}var lte=class extends Fe{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,n){switch(a){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,a){return a>=0&&a<=6}set(t,a,n,r){return t=Xh(t,n,r),t.setHours(0,0,0,0),t}},ute=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,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return ht(it(a.length,t),i);case"eo":return ht(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,a){return a>=0&&a<=6}set(t,a,n,r){return t=Xh(t,n,r),t.setHours(0,0,0,0),t}},cte=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,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return ht(it(a.length,t),i);case"co":return ht(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,a){return a>=0&&a<=6}set(t,a,n,r){return t=Xh(t,n,r),t.setHours(0,0,0,0),t}};function dte(e,t,a){let n=kt(e,a==null?void 0:a.in),r=Vee(n,a),i=t-r;return E1(n,i,a)}var hte=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,a,n){let r=i=>i===0?7:i;switch(a){case"i":case"ii":return it(a.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return ht(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return ht(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return ht(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return ht(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"}),r)}}validate(t,a){return a>=1&&a<=7}set(t,a,n){return t=dte(t,n),t.setHours(0,0,0,0),t}},pte=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(Qh(n),0,0,0),t}},mte=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(Qh(n),0,0,0),t}},fte=class extends Fe{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,n){switch(a){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,a,n){return t.setHours(Qh(n),0,0,0),t}},gte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,n){switch(a){case"h":return et(dt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,n){let r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):!r&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},vte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,n){switch(a){case"H":return et(dt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,n){return t.setHours(n,0,0,0),t}},bte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,n){switch(a){case"K":return et(dt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},yte=class extends Fe{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,n){switch(a){case"k":return et(dt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return it(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,n){let r=n<=24?n%24:n;return t.setHours(r,0,0,0),t}},_te=class extends Fe{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"m":return et(dt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setMinutes(n,0,0),t}},wte=class extends Fe{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"s":return et(dt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return it(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setSeconds(n,0),t}},xte=class extends Fe{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,a){let n=r=>Math.trunc(r*Math.pow(10,-a.length+3));return ht(it(a.length,t),n)}set(t,a,n){return t.setMilliseconds(n),t}},Ete=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return Un(Gn.basicOptionalMinutes,t);case"XX":return Un(Gn.basic,t);case"XXXX":return Un(Gn.basicOptionalSeconds,t);case"XXXXX":return Un(Gn.extendedOptionalSeconds,t);case"XXX":default:return Un(Gn.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Tt(t,t.getTime()-yl(t)-n)}},Ste=class extends Fe{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return Un(Gn.basicOptionalMinutes,t);case"xx":return Un(Gn.basic,t);case"xxxx":return Un(Gn.basicOptionalSeconds,t);case"xxxxx":return Un(Gn.extendedOptionalSeconds,t);case"xxx":default:return Un(Gn.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Tt(t,t.getTime()-yl(t)-n)}},kte=class extends Fe{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return A1(t)}set(t,a,n){return[Tt(t,n*1e3),{timestampIsSet:!0}]}},Cte=class extends Fe{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return A1(t)}set(t,a,n){return[Tt(t,n),{timestampIsSet:!0}]}},Ite={G:new Gee,y:new Uee,Y:new Wee,R:new Yee,u:new Zee,Q:new Kee,q:new Qee,M:new Xee,L:new Jee,w:new tte,I:new ate,d:new ote,D:new ste,E:new lte,e:new ute,c:new cte,i:new hte,a:new pte,b:new mte,B:new fte,h:new gte,H:new vte,K:new bte,k:new yte,m:new _te,s:new wte,S:new xte,X:new Ete,x:new Ste,t:new kte,T:new Cte},Dte=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tte=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Nte=/^'([^]*?)'?$/,Ote=/''/g,Mte=/\S/,Rte=/[a-zA-Z]/;function Ate(e,t,a,n){var S,T,A,O;let r=()=>Tt(a,NaN),i=M1(),o=i.locale??k1,l=i.firstWeekContainsDate??((T=(S=i.locale)==null?void 0:S.options)==null?void 0:T.firstWeekContainsDate)??1,c=i.weekStartsOn??((O=(A=i.locale)==null?void 0:A.options)==null?void 0:O.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:c,locale:o},d=[new $ee(n==null?void 0:n.in,a)],m=t.match(Tte).map(Z=>{let ie=Z[0];if(ie in rd){let me=rd[ie];return me(Z,o.formatLong)}return Z}).join("").match(Dte),b=[];for(let Z of m){N1(Z)&&id(Z,t,e),T1(Z)&&id(Z,t,e);let ie=Z[0],me=Ite[ie];if(me){let{incompatibleTokens:wt}=me;if(Array.isArray(wt)){let $e=b.find(pt=>wt.includes(pt.token)||pt.token===ie);if($e)throw new RangeError(`The format string mustn't contain \`${$e.fullToken}\` and \`${Z}\` at the same time`)}else if(me.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Z}\` and any other token at the same time`);b.push({token:ie,fullToken:Z});let st=me.run(e,Z,o.match,u);if(!st)return r();d.push(st.setter),e=st.rest}else{if(ie.match(Rte))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ie+"`");if(Z==="''"?Z="'":ie==="'"&&(Z=Pte(Z)),e.indexOf(Z)===0)e=e.slice(Z.length);else return r()}}if(e.length>0&&Mte.test(e))return r();let g=d.map(Z=>Z.priority).sort((Z,ie)=>ie-Z).filter((Z,ie,me)=>me.indexOf(Z)===ie).map(Z=>d.filter(ie=>ie.priority===Z).sort((ie,me)=>me.subPriority-ie.subPriority)).map(Z=>Z[0]),w=kt(a,n==null?void 0:n.in);if(isNaN(+w))return r();let x={};for(let Z of g){if(!Z.validate(w,u))return r();let ie=Z.set(w,x,u);Array.isArray(ie)?(w=ie[0],Object.assign(x,ie[1])):w=ie}return w}function Pte(e){return e.match(Nte)[1].replace(Ote,"'")}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||{}),Jh=new K("ngx-mask config"),F1=new K("new ngx-mask config"),j1=new K("initial ngx-mask config"),Lte={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 Ft,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 Fte=(()=>{const t=class t{constructor(){s(this,"_config",C(Jh));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,r,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(;r&&b.test(d);)d=d.replace(b,"$1"+r+"$2");return typeof o>"u"?d+u:o===0?d:d+u.substring(0,o+1)});s(this,"percentage",n=>{let r=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(D.MINUS)?r.slice(1,n.length):r);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let r=n.split(D.DOT);return r.length>1?Number(r[r.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var r,i,o,l;for(let c=((r=this.suffix)==null?void 0:r.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,r,i)=>{var c;let o=n,l=i;if(r<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${r}}.*$`),d=o.match(u),m=(d&&((c=d[0])==null?void 0:c.length))??0;if(m-1>r){let b=m-1-r;o=o.substring(0,o.length-b)}r===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,r){let[i,o]=r;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,r,i=0,o=!1,l=!1,c=()=>{}){var st,$e,pt;if(!r||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)),r===D.IP){let Y=x.split(D.DOT);this.ipError=this._validIP(Y),r="099.099.099.099"}let A=[];for(let Y=0;Y<x.length;Y++)(st=x[Y])!=null&&st.match("\\d")&&A.push(x[Y]??D.EMPTY_STRING);if(r===D.CPF_CNPJ&&(this.cpfCnpjError=A.length!==11&&A.length!==14,A.length>11?r="00.000.000/0000-00":r="000.000.000-00"),r.startsWith(D.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let ge=this.getPrecision(r);x=this.checkInputPrecision(x,ge,this.decimalMarker)}let Y=typeof this.decimalMarker=="string"?this.decimalMarker:D.DOT;if(x.indexOf(Y)>0&&!this.percentage(x.substring(0,x.indexOf(Y)))){let ge=x.substring(0,x.indexOf(Y)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===D.MINUS&&!l&&(ge=x.substring(0,x.indexOf(Y))),x=`${ge}${x.substring(x.indexOf(Y),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(r.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 Y=this.getPrecision(r),H=Array.isArray(this.decimalMarker)?this.thousandSeparator===D.DOT?D.COMMA:D.DOT:this.decimalMarker;if(Y===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 De=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Me=x[S]===D.NUMBER_ZERO||x[S]===H,Je=x[0]===D.NUMBER_ZERO,Sn=x[0]===D.MINUS,Ge=x[0]===this.thousandSeparator,Lt=x[1]===H,xt=x[1]===D.NUMBER_ZERO,jn=x[2]===H;Je&&Lt&&Me&&S<2&&(x=De),Sn&&xt&&jn&&Me&&S<3&&(x=D.MINUS+De),De!==D.MINUS&&(S===0&&(Je||Ge)||this.allowNegativeNumbers&&S===1&&Sn&&!xt)&&(x=Sn?D.MINUS+De:De)}let ge=this._charToRegExpExpression(this.thousandSeparator),L='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(ge,"");if(Array.isArray(this.decimalMarker))for(let De of this.decimalMarker)L=L.replace(this._charToRegExpExpression(De),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,Y,this.decimalMarker);let U=x.replace(new RegExp(ge,"g"),"");d=this._formatWithSeparators(U,this.thousandSeparator,this.decimalMarker,Y);let Ee=d.indexOf(D.COMMA)-x.indexOf(D.COMMA),He=d.length-x.length,Pt=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(He>0&&d[S]!==this.thousandSeparator||Pt){b=!0;let De=0;do this._shift.add(S+De),De++;while(De<He)}else d[S-1]===this.thousandSeparator||He===-4||He===-3||d[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):Ee!==0&&S>0&&!(d.indexOf(D.COMMA)>=S&&S>3)||!(d.indexOf(D.DOT)>=S&&S>3)&&He<=0?(this._shift.clear(),b=!0,g=He,S+=He,this._shift.add(S)):this._shift.clear()}else for(let Y=0,H=T[0];Y<T.length&&u!==r.length;Y++,H=T[Y]??D.EMPTY_STRING){let ge=D.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)&&r[u+1]===D.SYMBOL_QUESTION)d+=H,u+=2;else if(r[u+1]===D.SYMBOL_STAR&&m&&this._checkSymbolMask(H,r[u+2]??D.EMPTY_STRING))d+=H,u+=3,m=!1;else if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)&&r[u+1]===D.SYMBOL_STAR&&!ge)d+=H,m=!0;else if(r[u+1]===D.SYMBOL_QUESTION&&this._checkSymbolMask(H,r[u+2]??D.EMPTY_STRING))d+=H,u+=3;else if(this._checkSymbolMask(H,r[u]??D.EMPTY_STRING)){if(r[u]===D.HOURS&&(this.apm?Number(H)>9:Number(H)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}if(r[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,Y--;continue}if((r[u]===D.MINUTE||r[u]===D.SECOND)&&Number(H)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}let L=31,j=x[u],U=x[u+1],Ee=x[u+2],He=x[u-1],Pt=x[u-2],De=x.slice(u-3,u-1),Me=x.slice(u-1,u+1),Je=x.slice(u,u+2),Sn=x.slice(u-2,u);if(r[u]===D.DAY){let Ge=r.slice(0,2)===D.MONTHS,Lt=r.slice(0,2)===D.MONTHS&&this.specialCharacters.includes(Pt);if(Number(H)>3&&this.leadZeroDateTime||!Ge&&(Number(Je)>L||Number(Me)>L||this.specialCharacters.includes(U))||(Lt?Number(Me)>L||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(Ee)||this.specialCharacters.includes(j):Number(Je)>L||this.specialCharacters.includes(U)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}}if(r[u]===D.MONTH){let Ge=u===0&&(Number(H)>2||Number(Je)>12||this.specialCharacters.includes(U)&&!l),Lt=r.slice(u+2,u+3),xt=De.includes(Lt)&&r.includes("d0")&&(this.specialCharacters.includes(Pt)&&Number(Me)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),jn=Number(De)<=L&&!this.specialCharacters.includes(De)&&this.specialCharacters.includes(He)&&(Number(Je)>12||this.specialCharacters.includes(U)),Ia=Number(Je)>12&&u===5||this.specialCharacters.includes(U)&&u===5,$o=Number(De)>L&&!this.specialCharacters.includes(De)&&!this.specialCharacters.includes(Sn)&&Number(Sn)>12&&r.includes("d0"),Go=Number(De)<=L&&!this.specialCharacters.includes(De)&&!this.specialCharacters.includes(He)&&Number(Me)>12;if(Number(H)>1&&this.leadZeroDateTime||Ge||xt||Go||$o||jn||Ia&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(r,u,T.length),Y--,this.leadZeroDateTime&&(d+="0");continue}}d+=H,u++}else this.specialCharacters.includes(H)&&r[u]===H?(d+=H,u++):this.specialCharacters.indexOf(r[u]??D.EMPTY_STRING)!==-1?(d+=r[u],u++,this._shiftStep(r,u,T.length),Y--):r[u]===D.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(r,u,T.length):this.patterns[r[u]??D.EMPTY_STRING]&&(($e=this.patterns[r[u]??D.EMPTY_STRING])!=null&&$e.optional)?(T[u]&&r!=="099.099.099.099"&&r!=="000.000.000-00"&&r!=="00.000.000/0000-00"&&!r.match(/^9+\.0+$/)&&!((pt=this.patterns[r[u]??D.EMPTY_STRING])!=null&&pt.optional)&&(d+=T[u]),r.includes(D.NUMBER_NINE+D.SYMBOL_STAR)&&r.includes(D.NUMBER_ZERO+D.SYMBOL_STAR)&&u++,u++,Y--):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===r.length&&this.specialCharacters.indexOf(r[r.length-1]??D.EMPTY_STRING)!==-1&&(d+=r[r.length-1]);let O=S+1;for(;this._shift.has(O);)g++,O++;let Z=o&&!r.startsWith(D.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Z--,c(Z,b),g<0&&this._shift.clear();let ie=!1;l&&(ie=T.every(Y=>this.specialCharacters.includes(Y)));let me=`${this.prefix}${ie?D.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(me=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let wt=x.length===1&&this.specialCharacters.includes(r[0])&&x!==r[0];if(!this._checkSymbolMask(x,r[1])&&wt)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(r=>r===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(r=>r===n)}_checkSymbolMask(n,r){var i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[r])==null?void 0:i.pattern)&&((o=this.patterns[r])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(D.EMPTY_STRING).filter((r,i)=>{let o=typeof this.decimalMarker=="string"?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||r===D.MINUS&&i===0&&this.allowNegativeNumbers}).join(D.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,r,i){let o=/[*?]/g.test(n.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(n):n===r}_validIP(n){return!(n.length===4&&!n.some((r,i)=>n.length!==i+1?r===D.EMPTY_STRING||Number(r)>255:r===D.EMPTY_STRING||Number(r.substring(0,3))>255))}_splitPercentZero(n){if(n===D.MINUS&&this.allowNegativeNumbers)return n;let r=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(D.DOT),i=this.allowNegativeNumbers&&n.includes(D.MINUS)?"-":"";if(r===-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,r),10),l=n.substring(r+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 r=0;r<n.length;r++){let i=n[r];if(i&&i>="1"&&i<="9")return r}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})(),jte=(()=>{const t=class t extends Fte{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",r=>{});s(this,"_elementRef",C(At,{optional:!0}));s(this,"document",C(Le));s(this,"_config",C(Jh));s(this,"_renderer",C(gi,{optional:!0}))}applyMask(r,i,o=0,l=!1,c=!1,u=()=>{}){if(!i)return r!==this.actualValue?this.actualValue:r;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():D.EMPTY_STRING,this.maskExpression===D.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||D.HASH)),this.maskExpression===D.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||D.HASH)),!r&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=r&&typeof this.selStart=="number"?r[this.selStart]??D.EMPTY_STRING:D.EMPTY_STRING,m="",b=o;if(this.hiddenInput!==null&&!this.writingValue){let S=r&&r.length===1?r.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)):r!==D.EMPTY_STRING&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(r.length>S.length?S.splice(this.selStart,0,d):r.length<S.length&&(S.length-r.length===1?c?S.splice(this.selStart-1,1):S.splice(r.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(r)),m=this.actualValue.length&&S.length<=r.length?this.shiftTypedSymbols(S.join(D.EMPTY_STRING)):r}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=r),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(r)),this.maskChanged?m=r:m=m&&m.length?m:r,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(r){let i=/(^|\D)(\d\D)/g,o=i.exec(r),l=0;for(;o!=null;)l+=1,o=i.exec(r);return l}applyValueChanges(r,i,o,l=()=>{}){var u;let c=(u=this._elementRef)==null?void 0:u.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,r,i,o,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(r,i){return r.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(r){let i=r.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)===r?i.join(D.EMPTY_STRING):r}shiftTypedSymbols(r){let i="";return(r&&r.split(D.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(r[l+1]??D.EMPTY_STRING)&&r[l+1]!==this.maskExpression[l+1])return i=o,r[l+1];if(i.length){let c=i;return i=D.EMPTY_STRING,c}return o})||[]).join(D.EMPTY_STRING)}numberToString(r){return!r&&r!==0||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(D.SEPARATOR)&&this.separatorLimit.length>14&&String(r).length>14?String(r):Number(r).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${D.MINUS}/`,D.MINUS)}showMaskInInput(r){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(r){if(this.maskExpression===D.IP)return this._checkForIp(r);if(this.maskExpression===D.CPF_CNPJ)return this._checkForCpfCnpj(r)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;let r=(i=this._elementRef)==null?void 0:i.nativeElement;r&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==r.value.replace(this.placeHolderCharacter,D.EMPTY_STRING).length&&(this.formElementProperty=["value",D.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([r,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,r,i)})}checkDropSpecialCharAmount(r){return r.split(D.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(r){return this._removeMask(this._removeSuffix(this._removePrefix(r)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(r){if(r===D.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<r.length;o++){let l=r[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(r){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(r===D.HASH)return i;let l=[];for(let c=0;c<r.length;c++){let u=r[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?r.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(r=this.document){var o;let i=(o=r==null?void 0:r.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):r.activeElement}formControlResult(r){if(this.writingValue&&!r){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(r)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(r)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===r?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(r)))))):this.onChange(this.outputTransformFn(this._toNumber(r)))}_toNumber(r){if(!this.isNumberValue||r===D.EMPTY_STRING||this.maskExpression.startsWith(D.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return r;if(String(r).length>14&&this.maskExpression.startsWith(D.SEPARATOR))return String(r);let i=Number(r);if(this.maskExpression.startsWith(D.SEPARATOR)&&Number.isNaN(i)){let o=String(r).replace(",",".");return Number(o)}return Number.isNaN(i)?r:i}_removeMask(r,i){return this.maskExpression.startsWith(D.PERCENT)&&r.includes(D.DOT)?r:r&&r.replace(this._regExpForRemove(i),D.EMPTY_STRING)}_removePrefix(r){return this.prefix?r&&r.replace(this.prefix,D.EMPTY_STRING):r}_removeSuffix(r){return this.suffix?r&&r.replace(this.suffix,D.EMPTY_STRING):r}_retrieveSeparatorValue(r){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&r.includes(D.WHITE_SPACE)&&this.maskExpression.includes(D.SYMBOL_STAR)&&(i=i.filter(o=>o!==D.WHITE_SPACE)),this._removeMask(r,i)}_regExpForRemove(r){return new RegExp(r.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(r){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return r.replace(this._regExpForRemove(i),D.DOT)}_checkSymbols(r){let i=r;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 r,i,o;for(let l in this.patterns)if(this.patterns[l]&&((r=this.patterns[l])!=null&&r.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(r){let i=r.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(r,i){let o=this.getPrecision(r),l=i;return r.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(r){return r.match(/{[0-9]+}/)&&r.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(r.slice(this._start+1,this._end)),u=new Array(c+1).join(r[this._start-1]);if(r.slice(0,this._start).length>1&&r.includes(D.LETTER_S)){let d=r.slice(0,this._start-1);return d.includes(D.CURLY_BRACKETS_LEFT)?i+u:d+i+u}else return i+u},"")||r}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=Bt(t)))(i||t)}})()),s(t,"ɵprov",V({token:t,factory:t.ɵfac}));let e=t;return e})();function Vte(){let e=C(j1),t=C(F1);return t instanceof Function?se(se({},e),t()):se(se({},e),t)}function zte(e){return[{provide:F1,useValue:e},{provide:j1,useValue:Lte},{provide:Jh,useFactory:Vte},jte]}function Bte(e){return Td(zte(e))}var Ul=(()=>{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})(),Hte="4.0",od=Hte,Aa=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Aa||{}),qte=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Ft);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=od.split(".").map(i=>parseInt(i)),r=(this.version||"").split(".").map(i=>parseInt(i));return r.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):r[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${od})!`),!1):!0}validateInputs(){let n=this,r=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=r.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",ot({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[xv],decls:0,vars:0,template:function(n,r){},encapsulation:2}));let e=t;return e})(),V1=class{constructor(e,t,a,n,r){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=r,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=a}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return vt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return vt(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 vt(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 vt(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 vt(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 vt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return vt(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`))})}},z1=()=>{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)},ho=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}(ho||{}),rr=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(rr||{}),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 lr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Ui={authorization:"Authorization",userType:"user-type",clientType:"client-type"},ji=class extends Error{};ji.prototype.name="InvalidTokenError";function $te(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,a)=>{let n=a.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Gte(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 $te(t)}catch{return atob(t)}}function Ute(e,t){if(typeof e!="string")throw new ji("Invalid token specified: must be a string");t||(t={});let a=t.header===!0?0:1,n=e.split(".")[a];if(typeof n!="string")throw new ji(`Invalid token specified: missing part #${a+1}`);let r;try{r=Gte(n)}catch(i){throw new ji(`Invalid token specified: invalid base64 for part #${a+1} (${i.message})`)}try{return JSON.parse(r)}catch(i){throw new ji(`Invalid token specified: invalid json for part #${a+1} (${i.message})`)}}var Wte=class extends V1{constructor(e,t,a){super(e,ho.USER_INFOS,t,a,ho.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return vt(this,null,function*(){return Ute(yield this.getLocalAccessToken("")).userProfile})}},B1=(()=>{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 Yte(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0].ssin:e.ssin}function Zte(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Kte=(()=>{const t=class t extends B1{constructor(){super(...arguments),this.servicesStore=C(Ul)}resolveSsin(){return vt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Yte(n)})}resolvePatientInfo(){return vt(this,null,function*(){let n=yield this.fetchUserProfileToken();return Zte(n)})}resolveUserInfo(){return vt(this,null,function*(){var d,m,b,g;let n=yield this.fetchUserProfileToken(),r=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:r,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 vt(this,null,function*(){var n,r;return((r=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:r.length)>0})}resolveProfessional(n,r){return r?n[r]:void 0}extractProfessionalRole(n){let r=["physician","nurse","midwife","dentist"],i="patient";return r.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r,this.accessTokenService=new Wte(this.servicesStore.getServices(),n,r)}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qte=(()=>{const t=class t extends B1{resolveSsin(){return vt(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 vt(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})(),t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Xte=(()=>{const t=class t{constructor(){this.http=C(yi)}get(n,r,i){return ys()?this.http.get(n,{headers:i}):at(r)}patch(n,r,i){return ys()?this.http.patch(n,{},{headers:i}):at(r)}post(n,r,i){return ys()?this.http.post(n,{},{headers:i}):at(r)}delete(n,r,i){return ys()?this.http.delete(n,{headers:i}):at(r)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ys=()=>window.Cypress;function Jte(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var ene={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function H1(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let a of ene[t]){let n=e.find(r=>r.lang===a);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Yr=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Yr||{}),va=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(va||{});function tne(e,t){return vt(this,null,function*(){t.next({status:Yr.LOADING});try{let a=yield e,n={status:Yr.SUCCESS,data:a};return t.next(n),n}catch(a){let n={status:Yr.ERROR,error:rne(a)};return t.next(n),n}})}var Of={[va.NO_DATA]:["VIDIS_0140"],[va.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"],[va.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"],[va.OTHER]:[]};function nne(e){for(let t of Object.keys(Of))if(Of[t].includes(e))return t;return va.OTHER}function ane(e,t,a){let n=e||"UNKNOWN",r=nne(n);return{code:n,message:a??"An unexpected error occurred",group:r,traceId:t}}function rne(e){var r,i,o;let t=((r=e.error)==null?void 0:r.code)??void 0,a=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return ane(t,n,a)}var ine=(()=>{const t=class t{constructor(){this.translate=C(Ca)}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 H1(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})(),one=(()=>{const t=class t{constructor(){this.http=C(yi),this.snackbarService=C($1)}getLeaflet(n,r){this.http.get(`/v2/leaflet/${n}/${r}`,{responseType:"text"}).pipe(sn(1),Ed(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),Lg(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),si=(()=>{const t=class t{constructor(){this.config=C(wi),this.injector=C(rt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Qte):this.injector.get(Kte)}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})(),sne={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function lne(e,t){if(e&1){let a=Fo();re(0,"div",1)(1,"button",2),$a("click",function(){ya(a);let n=Re();return _a(n.action())}),_e(2),ae()()}if(e&2){let a=Re();X(2),Qt(" ",a.data.action," ")}}var une=["label"];function cne(e,t){}var dne=Math.pow(2,31)-1,sd=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,dne))}_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}},q1=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")}},hne=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),pne=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),mne=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),fne=(()=>{const t=class t{constructor(){s(this,"snackBarRef",C(sd));s(this,"data",C(q1))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({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,r){n&1&&(re(0,"div",0),_e(1),ae(),ct(2,lne,3,1,"div",1)),n&2&&(X(),Qt(" ",r.data.message,`
|
|
30
30
|
`),X(),It(r.hasAction?2:-1))},dependencies:[Gl,hne,pne,mne],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
31
31
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Gu="_mat-snack-bar-enter",Uu="_mat-snack-bar-exit",gne=(()=>{const t=class t extends ql{constructor(){super();s(this,"_ngZone",C(je));s(this,"_elementRef",C(At));s(this,"_changeDetectorRef",C(bi));s(this,"_platform",C(pn));s(this,"_rendersRef");s(this,"_animationsDisabled",C(fi,{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(qo).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",r=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(r);return this._afterPortalAttached(),i});let r=this.snackBarConfig;r.politeness==="assertive"&&!r.announcementMessage?this._live="assertive":r.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=f0(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(r){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(r);return this._afterPortalAttached(),i}attachTemplatePortal(r){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(r);return this._afterPortalAttached(),i}onAnimationEnd(r){r===Uu?this._completeExit():r===Gu&&(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(sn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Gu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Gu)},200)))}exit(){return this._destroyed?at(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(sn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Uu)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Uu),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 r=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(c=>r.classList.add(c)):r.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let r=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(r)===-1&&l.setAttribute("aria-owns",c+" "+r):l.setAttribute("aria-owns",r)}}_clearFromModals(){this._trackedModals.forEach(r=>{let i=r.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?r.setAttribute("aria-owns",o):r.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let r=this._elementRef.nativeElement,i=r.querySelector("[aria-hidden]"),o=r.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(r){return new(r||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,i){if(r&1&&(Ac(so,7),Ac(une,7)),r&2){let o;Pc(o=Lc())&&(i._portalOutlet=o.first),Pc(o=Lc())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(r,i){r&1&&$a("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),r&2&&Rn("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(r,i){r&1&&(re(0,"div",1)(1,"div",2,0)(3,"div",3),ct(4,cne,0,0,"ng-template",4),ae(),un(5,"div"),ae()()),r&2&&(X(5),Ln("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[so],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
32
|
`],encapsulation:2}));let e=t;return e})();function vne(){return new wl}var bne=new K("mat-snack-bar-default-options",{providedIn:"root",factory:vne}),yne=(()=>{const t=class t{constructor(){s(this,"_overlay",C(Ga));s(this,"_live",C(FK));s(this,"_injector",C(rt));s(this,"_breakpointObserver",C(Cy));s(this,"_parentSnackBar",C(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",C(bne));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",fne);s(this,"snackBarContainerComponent",gne);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,r){return this._attach(n,r)}openFromTemplate(n,r){return this._attach(n,r)}open(n,r="",i){let o=se(se({},this._defaultConfig),i);return o.data={message:n,action:r},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,r){let i=r&&r.viewContainerRef&&r.viewContainerRef.injector,o=rt.create({parent:i||this._injector,providers:[{provide:wl,useValue:r}]}),l=new oo(this.snackBarContainerComponent,r.viewContainerRef,o),c=n.attach(l);return c.instance.snackBarConfig=r,c.instance}_attach(n,r){let i=se(se(se({},new wl),this._defaultConfig),r),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),c=new sd(l,o);if(n instanceof vr){let u=new Lh(n,null,{$implicit:i.data,snackBarRef:c});c.instance=l.attachTemplatePortal(u)}else{let u=this._createInjector(i,c),d=new oo(n,void 0,u),m=l.attachComponentPortal(d);c.instance=m.instance}return this._breakpointObserver.observe(sne.HandsetPortrait).pipe(_o(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,r){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),r.duration&&r.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(r.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let r=new Fh;r.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"),r.positionStrategy=i,this._overlay.create(r)}_createInjector(n,r){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return rt.create({parent:i||this._injector,providers:[{provide:sd,useValue:r},{provide:q1,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})(),$1=(()=>{const t=class t{constructor(){this.snackbar=C(yne),this.translate=C(Ca)}showSuccess(n,r="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(r),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,r="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(r),{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})(),_ne={demo:{env:Aa.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Aa.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Aa.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Aa.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Aa.PROD}},wi=(()=>{const t=class t{setEnvironment(n){this.configVariables=_ne[Aa[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})(),wne=(e,t)=>{let a=C(si).getInstance(),n=C(Ul),r=C(wi).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!r)return t(e);if(a.isOfflineAuthenticated)return at();let i=e.headers||new ri,o=a.isProfessional;return yr(n.getServices().getAccessToken("")).pipe(Zi(l=>t(e.clone({url:`${r}${e.url}`,headers:i.set(Ui.authorization,lr.getAuthorizationHeader(l)).set(Ui.userType,lr.getUserType({isProfessional:o})).set(Ui.clientType,z1()?lr.clientType.mobileApp:lr.clientType.webApp)}))))};function xne(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Ene=["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",xne];function Sne(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var kne=["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",Sne];function Cne(e){let t=Math.floor(Math.abs(e)),a=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&&a===0||!(n>=0&&n<=5)?4:5}var Ine=["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",Cne];function Dne(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Tne=["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",Dne];Hl(Ene,"de");Hl(Tne,"nl");Hl(Ine,"fr");Hl(kne,"en");var Nne=class{handleError(e){throw new Error(e)}},One=class extends iQ{getFirstDayOfWeek(){return 1}format(e){return O1(e,"dd/MM/yyyy")}parse(e){return Ate(e,"dd/MM/yyyy",new Date)}},Mne={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"}}},Rne=[PJ(),QZ(XZ([wne])),Bte(),{provide:An,useClass:Nne},{provide:Oy,useClass:One,deps:[Zc]},{provide:$K,useValue:Mne},{provide:t1,useClass:LJ},{provide:qy,useValue:{panelClass:"mh-dialog-container"}}],Ane=Kf(b7(),1),Pne=new K("MESSAGE_FORMAT_CONFIG"),Lne={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Fne=(()=>{const t=class t extends zo{constructor(n){super(),this.mfCache=new Map;let{formatters:r,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:c,throwOnError:u,fallbackPrefix:d}=se(se({},Lne),n);this.messageFormatOptions={customFormatters:r,biDiSupport:i,strict:o,currency:l,strictPluralKeys:c},this.throwOnError=!!u,this.fallbackPrefix=d}compile(n,r){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=this.getMessageFormatInstance(r).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${r}': '${n}'`),i=Vne(n,r)}return this.throwOnError||(i=jne(i,n)),i}compileTranslations(n,r){return typeof n=="string"?this.compile(n,r):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,r),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new Ane.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(te(Pne,8))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})();function jne(e,t){return a=>{let n=t;try{n=e(a)}catch(r){console.error(r),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${a}'`)}return n}}function Vne(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var G1={};oe(G1,{"00001":()=>U1,"00002":()=>W1,"00003":()=>Y1,"00004":()=>Z1,"00005":()=>K1,"00006":()=>Q1,"00007":()=>X1,"00008":()=>J1,"00009":()=>e_,"00010":()=>t_,"00011":()=>n_,"00012":()=>a_,"00013":()=>r_,"00014":()=>i_,"00015":()=>o_,"00016":()=>s_,"00017":()=>l_,"00018":()=>u_,"00019":()=>c_,"00020":()=>d_,"00021":()=>h_,"00022":()=>p_,"00023":()=>m_,"00024":()=>f_,"00025":()=>g_,"00026":()=>v_,"00027":()=>b_,"00028":()=>y_,"00029":()=>__,"00030":()=>w_,ampoule:()=>W_,bandage:()=>H_,bottle:()=>Y_,box:()=>$_,cm:()=>x_,default:()=>zne,dropsperminute:()=>E_,"effervescent-tablet":()=>z_,gm:()=>S_,internationalunits:()=>k_,iu:()=>j_,liter:()=>G_,"mck/h":()=>C_,"mck/kg/minute":()=>I_,measure:()=>D_,meq:()=>L_,mg:()=>A_,"mg/h":()=>T_,"mg/ml":()=>P_,micrograms:()=>B_,miu:()=>F_,"ml/h":()=>N_,mmol:()=>V_,piece:()=>q_,syringe:()=>U_,"syringe-ampoule":()=>Z_,tbl:()=>O_,tsp:()=>M_,"unt/h":()=>R_});var U1="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",W1="{count, plural, one{Ampulle} other{Ampullen}}",Y1="anwenden",Z1="{count, plural, one{Kapsel} other{Kapseln}}",K1="{count, plural, one{Tablette} other{Tabletten}}",Q1="Dosis",X1="{count, plural, one{Tropf} other{Tropfen}}",J1="{count, plural, one{Fläsche} other{Fläschchen}}",e_="{count, plural, one{Implantat} other{Implantate}}",t_="{count, plural, one{Infusion} other{Infusionen}}",n_="{count, plural, one{Inhalation} other{Inhalationen}}",a_="Einstechen",r_="Kaugummi",i_="{count, plural, one{Kompresse} other{Kompressen}}",o_="{count, plural, one{Einlauf} other{Einläufe}}",s_="ml",l_="Ov.",u_="{count, plural, one{Perle} other{Perlen}}",c_="{count, plural, one{Pastille} other{Pastillen}}",d_="Pflaster",h_="cart",p_="Pen",m_="{count, plural, one{Puff} other{Puffs}}",f_="{count, plural, one{Schwamm} other{Schwämme}}",g_="{count, plural, one{Stift} other{Stifte}}",v_="Suppo",b_="Tube",y_="{count, plural, one{Docht} other{Dochte}}",__="Beutel",w_="Beutel",x_="Zentimeter",E_="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",S_="Gramm",k_="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",C_="Mikrogramm pro Stunde",I_="Mikrogramm pro Kilogramm pro Minute",D_="Maß",T_="Miligramm pro Stunde",N_="Milliliter pro Stunde",O_="Esslöffel",M_="Kaffeelöffel",R_="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",A_="Milligramm",P_="Milligramm pro Millimeter",L_="meq",F_="miu",j_="iu",V_="mmol",z_="effervescent-tablet",B_="micrograms",H_="{count, plural, one{bandage} other{bandagen}}",q_="{count, plural, one{stück} other{stücke}}",$_="schachteln",G_="liter",U_="{count, plural, one{spritze} other{spritzen}}",W_="{count, plural, one{glühbirn} other{glühbirnen}}",Y_="{count, plural, one{Fläsche} other{Fläschchen}}",Z_="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",zne={"00001":U1,"00002":W1,"00003":Y1,"00004":Z1,"00005":K1,"00006":Q1,"00007":X1,"00008":J1,"00009":e_,"00010":t_,"00011":n_,"00012":a_,"00013":r_,"00014":i_,"00015":o_,"00016":s_,"00017":l_,"00018":u_,"00019":c_,"00020":d_,"00021":h_,"00022":p_,"00023":m_,"00024":f_,"00025":g_,"00026":v_,"00027":b_,"00028":y_,"00029":__,"00030":w_,cm:x_,dropsperminute:E_,gm:S_,internationalunits:k_,"mck/h":C_,"mck/kg/minute":I_,measure:D_,"mg/h":T_,"ml/h":N_,tbl:O_,tsp:M_,"unt/h":R_,mg:A_,"mg/ml":P_,meq:L_,miu:F_,iu:j_,mmol:V_,"effervescent-tablet":z_,micrograms:B_,bandage:H_,piece:q_,box:$_,liter:G_,syringe:U_,ampoule:W_,bottle:Y_,"syringe-ampoule":Z_},K_={};oe(K_,{"00001":()=>Q_,"00002":()=>X_,"00003":()=>J_,"00004":()=>ew,"00005":()=>tw,"00006":()=>nw,"00007":()=>aw,"00008":()=>rw,"00009":()=>iw,"00010":()=>ow,"00011":()=>sw,"00012":()=>lw,"00013":()=>uw,"00014":()=>cw,"00015":()=>dw,"00016":()=>hw,"00017":()=>pw,"00018":()=>mw,"00019":()=>fw,"00020":()=>gw,"00021":()=>vw,"00022":()=>bw,"00023":()=>yw,"00024":()=>_w,"00025":()=>ww,"00026":()=>xw,"00027":()=>Ew,"00028":()=>Sw,"00029":()=>kw,"00030":()=>Cw,ampoule:()=>Xw,bandage:()=>Ww,bottle:()=>Jw,box:()=>Zw,cm:()=>Iw,default:()=>Bne,dropsperminute:()=>Dw,"effervescent-tablet":()=>Gw,gm:()=>Tw,internationalunits:()=>Nw,iu:()=>qw,liter:()=>Kw,"mck/h":()=>Ow,"mck/kg/minute":()=>Mw,measure:()=>Rw,meq:()=>Bw,mg:()=>Vw,"mg/h":()=>Aw,"mg/ml":()=>zw,micrograms:()=>Uw,miu:()=>Hw,"ml/h":()=>Pw,mmol:()=>$w,piece:()=>Yw,syringe:()=>Qw,"syringe-ampoule":()=>ex,tbl:()=>Lw,tsp:()=>Fw,"unt/h":()=>jw});var Q_="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",X_="{count, plural, one{ampoule} other{ampoules}}",J_="applic.",ew="{count, plural, one{capsule} other{capsules}}",tw="{count, plural, one{tablet} other{tablets}}",nw="{count, plural, one{dose} other{doses}}",aw="{count, plural, one{drop} other{drops}}",rw="{count, plural, one{bottle} other{bottles}}",iw="{count, plural, one{implant} other{implants}}",ow="{count, plural, one{perfusion} other{perfusions}}",sw="{count, plural, one{inhalation} other{inhalations}}",lw="insert",uw="{count, plural, one{chewing gum} other{chewing gums}}",cw="{count, plural, one{compress} other{compresses}}",dw="enema",hw="ml",pw="{count, plural, one{ovule} other{ovules}}",mw="{count, plural, one{pearl} other{pearls}}",fw="{count, plural, one{pastille} other{pastilles}}",gw="{count, plural, one{patch} other{patches}}",vw="{count, plural, one{cartridge} other{cartridges}}",bw="{count, plural, one{pen} other{pens}}",yw="{count, plural, one{puff} other{puffs}}",_w="{count, plural, one{sponge} other{sponges}}",ww="{count, plural, one{stylo} other{stylos}}",xw="{count, plural, one{supository} other{supositories}}",Ew="{count, plural, one{tube} other{tubes}}",Sw="{count, plural, one{wick} other{wicks}}",kw="{count, plural, one{bag} other{bags}}",Cw="{count, plural, one{small bag} other{small bags}}",Iw="centimeter",Dw="{count, plural, one{drop per minute} other{drops per minute}}",Tw="gram",Nw="international units",Ow="microgram per hour",Mw="microgram per kilogram per minute",Rw="{count, plural, one{measure} other{measures}}",Aw="milligram per hour",Pw="milliliter per hour",Lw="{count, plural, one{tablespoon} other{tablespoons}}",Fw="{count, plural, one{teaspoon} other{teaspoons}}",jw="{count, plural, one{unit per hour} other{units per hour}}",Vw="milligram",zw="milligram per milliliter",Bw="milli-equivalent",Hw="miu",qw="international units",$w="millimole",Gw="{count, plural, one{effervescent tablet} other{effervescent tablets}}",Uw="microgram",Ww="{count, plural, one{bandage} other{bandages}}",Yw="{count, plural, one{piece} other{pieces}}",Zw="{count, plural, one{spray} other{sprays}}",Kw="liter",Qw="{count, plural, one{syringe} other{syringes}}",Xw="{count, plural, one{ampoule} other{ampoules}}",Jw="{count, plural, one{bottle} other{bottles}}",ex="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Bne={"00001":Q_,"00002":X_,"00003":J_,"00004":ew,"00005":tw,"00006":nw,"00007":aw,"00008":rw,"00009":iw,"00010":ow,"00011":sw,"00012":lw,"00013":uw,"00014":cw,"00015":dw,"00016":hw,"00017":pw,"00018":mw,"00019":fw,"00020":gw,"00021":vw,"00022":bw,"00023":yw,"00024":_w,"00025":ww,"00026":xw,"00027":Ew,"00028":Sw,"00029":kw,"00030":Cw,cm:Iw,dropsperminute:Dw,gm:Tw,internationalunits:Nw,"mck/h":Ow,"mck/kg/minute":Mw,measure:Rw,"mg/h":Aw,"ml/h":Pw,tbl:Lw,tsp:Fw,"unt/h":jw,mg:Vw,"mg/ml":zw,meq:Bw,miu:Hw,iu:qw,mmol:$w,"effervescent-tablet":Gw,micrograms:Uw,bandage:Ww,piece:Yw,box:Zw,liter:Kw,syringe:Qw,ampoule:Xw,bottle:Jw,"syringe-ampoule":ex},tx={};oe(tx,{"00001":()=>nx,"00002":()=>ax,"00003":()=>rx,"00004":()=>ix,"00005":()=>ox,"00006":()=>sx,"00007":()=>lx,"00008":()=>ux,"00009":()=>cx,"00010":()=>dx,"00011":()=>hx,"00012":()=>px,"00013":()=>mx,"00014":()=>fx,"00015":()=>gx,"00016":()=>vx,"00017":()=>bx,"00018":()=>yx,"00019":()=>_x,"00020":()=>wx,"00021":()=>xx,"00022":()=>Ex,"00023":()=>Sx,"00024":()=>kx,"00025":()=>Cx,"00026":()=>Ix,"00027":()=>Dx,"00028":()=>Tx,"00029":()=>Nx,"00030":()=>Ox,ampoule:()=>aE,bandage:()=>Xx,bottle:()=>rE,box:()=>eE,cm:()=>Mx,default:()=>Hne,dropsperminute:()=>Rx,"effervescent-tablet":()=>Kx,gm:()=>Ax,internationalunits:()=>Px,iu:()=>Yx,liter:()=>tE,"mck/h":()=>Lx,"mck/kg/minute":()=>Fx,measure:()=>jx,meq:()=>Ux,mg:()=>$x,"mg/h":()=>Vx,"mg/ml":()=>Gx,micrograms:()=>Qx,miu:()=>Wx,"ml/h":()=>zx,mmol:()=>Zx,piece:()=>Jx,syringe:()=>nE,"syringe-ampoule":()=>iE,tbl:()=>Bx,tsp:()=>Hx,"unt/h":()=>qx});var nx="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",ax="amp.",rx="applic.",ix="caps.",ox="compr.",sx="{count, plural, one{dose} other{doses}}",lx="{count, plural, one{goutte} other{gouttes}}",ux="flac.",cx="{count, plural, one{implant} other{implants}}",dx="{count, plural, one{perfusion} other{perfusions}}",hx="{count, plural, one{inhalation} other{inhalations}}",px="insert",mx="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",fx="{count, plural, one{compres(se)} other{compres(ses)}}",gx="{count, plural, one{lavement} other{lavements}}",vx="ml",bx="ov.",yx="{count, plural, one{perle} other{perles}}",_x="{count, plural, one{pastille} other{pastilles}}",wx="{count, plural, one{patch} other{patchs}}",xx="patr.",Ex="{count, plural, one{stylo} other{stylos}}",Sx="{count, plural, one{puff} other{puffs}}",kx="{count, plural, one{éponge} other{éponges}}",Cx="{count, plural, one{stylo} other{stylos}}",Ix="suppo",Dx="{count, plural, one{tube} other{tubes}}",Tx="{count, plural, one{mèche} other{mèches}}",Nx="{count, plural, one{sac} other{sacs}}",Ox="{count, plural, one{sachet} other{sachets}}",Mx="{count, plural, one{centimètre} other{centimètres}}",Rx="{count, plural, one{goute par minute} other{goutes par minute}}",Ax="{count, plural, one{gramme} other{grammes}}",Px="{count, plural, one{unité internationales} other{unités internationales}}",Lx="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",Fx="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",jx="{count, plural, one{mesure} other{mesures}}",Vx="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",zx="{count, plural, one{millilitre par heure} other{millilitres par heure}}",Bx="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Hx="{count, plural, one{cuillère à café} other{cuillères à café}}",qx="{count, plural, one{unité par heure} other{unités par heure}}",$x="{count, plural, one{miligramme} other{miligrammes}}",Gx="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",Ux="milli-équivalent",Wx="miu",Yx="{count, plural, one{unité internationales} other{unités internationales}}",Zx="millimol",Kx="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",Qx="{count, plural, one{microgramme} other{microgrammes}}",Xx="{count, plural, one{bandage} other{bandages}}",Jx="{count, plural, one{pièce} other{pièces}}",eE="{count, plural, one{vaporisateur} other{vaporisateurs}}",tE="{count, plural, one{litre} other{litres}}",nE="{count, plural, one{seringue} other{seringues}}",aE="{count, plural, one{ampoule} other{ampoules}}",rE="{count, plural, one{fiole} other{fioles}}",iE="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",Hne={"00001":nx,"00002":ax,"00003":rx,"00004":ix,"00005":ox,"00006":sx,"00007":lx,"00008":ux,"00009":cx,"00010":dx,"00011":hx,"00012":px,"00013":mx,"00014":fx,"00015":gx,"00016":vx,"00017":bx,"00018":yx,"00019":_x,"00020":wx,"00021":xx,"00022":Ex,"00023":Sx,"00024":kx,"00025":Cx,"00026":Ix,"00027":Dx,"00028":Tx,"00029":Nx,"00030":Ox,cm:Mx,dropsperminute:Rx,gm:Ax,internationalunits:Px,"mck/h":Lx,"mck/kg/minute":Fx,measure:jx,"mg/h":Vx,"ml/h":zx,tbl:Bx,tsp:Hx,"unt/h":qx,mg:$x,"mg/ml":Gx,meq:Ux,miu:Wx,iu:Yx,mmol:Zx,"effervescent-tablet":Kx,micrograms:Qx,bandage:Xx,piece:Jx,box:eE,liter:tE,syringe:nE,ampoule:aE,bottle:rE,"syringe-ampoule":iE},oE={};oe(oE,{"00001":()=>sE,"00002":()=>lE,"00003":()=>uE,"00004":()=>cE,"00005":()=>dE,"00006":()=>hE,"00007":()=>pE,"00008":()=>mE,"00009":()=>fE,"00010":()=>gE,"00011":()=>vE,"00012":()=>bE,"00013":()=>yE,"00014":()=>_E,"00015":()=>wE,"00016":()=>xE,"00017":()=>EE,"00018":()=>SE,"00019":()=>kE,"00020":()=>CE,"00021":()=>IE,"00022":()=>DE,"00023":()=>TE,"00024":()=>NE,"00025":()=>OE,"00026":()=>ME,"00027":()=>RE,"00028":()=>AE,"00029":()=>PE,"00030":()=>LE,ampoule:()=>lS,bandage:()=>aS,bottle:()=>uS,box:()=>iS,cm:()=>FE,default:()=>qne,dropsperminute:()=>jE,"effervescent-tablet":()=>tS,gm:()=>VE,internationalunits:()=>zE,iu:()=>JE,liter:()=>oS,"mck/h":()=>BE,"mck/kg/minute":()=>HE,measure:()=>qE,meq:()=>QE,mg:()=>ZE,"mg/h":()=>$E,"mg/ml":()=>KE,micrograms:()=>nS,miu:()=>XE,"ml/h":()=>GE,mmol:()=>eS,piece:()=>rS,syringe:()=>sS,"syringe-ampoule":()=>cS,tbl:()=>UE,tsp:()=>WE,"unt/h":()=>YE});var sE="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",lE="{count, plural, one{ampule} other{ampullen}}",uE="aanbrengen",cE="{count, plural, one{capsule} other{capsules}}",dE="{count, plural, one{tablet} other{tabletten}}",hE="{count, plural, one{dose} other{dosissen}}",pE="{count, plural, one{druppel} other{druppels}}",mE="{count, plural, one{flesje} other{flesjes}}",fE="{count, plural, one{implantaat} other{implantaten}}",gE="{count, plural, one{infuus} other{infusen}}",vE="{count, plural, one{inhalatie} other{inhalaties}}",bE="inbrengen",yE="{count, plural, one{kauwgom} other{kauwgommen}}",_E="{count, plural, one{kompres} other{kompressen}}",wE="lavement",xE="ml",EE="{count, plural, one{ovule} other{ovules}}",SE="{count, plural, one{parel} other{parels}}",kE="{count, plural, one{pastille} other{pastilles}}",CE="{count, plural, one{pleister} other{pleisters}}",IE="{count, plural, one{patroon} other{patronen}}",DE="{count, plural, one{pen} other{pennen}}",TE="{count, plural, one{puff} other{puffs}}",NE="{count, plural, one{spons} other{sponsen}}",OE="{count, plural, one{stylo} other{stylos}}",ME="{count, plural, one{zetpil} other{zetpillen}}",RE="{count, plural, one{tube} other{tubes}}",AE="{count, plural, one{wiek} other{wieken}}",PE="{count, plural, one{zak} other{zakken}}",LE="{count, plural, one{zakje} other{zakjes}}",FE="centimeter",jE="{count, plural, one{druppel per minuut} other{druppels per minuut}}",VE="gram",zE="internationale eenheden",BE="microgram per uur",HE="microgram per kilogram per minuut",qE="{count, plural, one{maat} other{maten}}",$E="milligram per uur",GE="milliliter per uur",UE="{count, plural, one{eetlepel} other{eetlepels}}",WE="{count, plural, one{koffielepel} other{koffielepels}}",YE="{count, plural, one{eenheid per uur} other{eenheden per uur}}",ZE="miligram",KE="miligram per milimeter",QE="milli-equivalent",XE="miu",JE="internationale eenheden",eS="millimol",tS="{count, plural, one{bruistablet} other{bruistabletten}}",nS="microgram",aS="{count, plural, one{verband} other{verbanden}}",rS="{count, plural, one{stuk} other{stuks}}",iS="{count, plural, one{verstuiving} other{verstuivingen}}",oS="liter",sS="{count, plural, one{spuit} other{spuiten}}",lS="{count, plural, one{ampul} other{ampullen}}",uS="{count, plural, one{fles} other{flessen}}",cS="{count, plural, one{spuitampul} other{spuitampullen}}",qne={"00001":sE,"00002":lE,"00003":uE,"00004":cE,"00005":dE,"00006":hE,"00007":pE,"00008":mE,"00009":fE,"00010":gE,"00011":vE,"00012":bE,"00013":yE,"00014":_E,"00015":wE,"00016":xE,"00017":EE,"00018":SE,"00019":kE,"00020":CE,"00021":IE,"00022":DE,"00023":TE,"00024":NE,"00025":OE,"00026":ME,"00027":RE,"00028":AE,"00029":PE,"00030":LE,cm:FE,dropsperminute:jE,gm:VE,internationalunits:zE,"mck/h":BE,"mck/kg/minute":HE,measure:qE,"mg/h":$E,"ml/h":GE,tbl:UE,tsp:WE,"unt/h":YE,mg:ZE,"mg/ml":KE,meq:QE,miu:XE,iu:JE,mmol:eS,"effervescent-tablet":tS,micrograms:nS,bandage:aS,piece:rS,box:iS,liter:oS,syringe:sS,ampoule:lS,bottle:uS,"syringe-ampoule":cS},$ne={nl:oE,fr:tx,de:G1,en:K_},dS={};oe(dS,{default:()=>Gne,friday:()=>gS,monday:()=>hS,saturday:()=>vS,sunday:()=>bS,thursday:()=>fS,tuesday:()=>pS,wednesday:()=>mS});var hS="Montag",pS="Dienstag",mS="Mittwoch",fS="Donnerstag",gS="Freitag",vS="Samstag",bS="Sonntag",Gne={monday:hS,tuesday:pS,wednesday:mS,thursday:fS,friday:gS,saturday:vS,sunday:bS},yS={};oe(yS,{default:()=>Une,friday:()=>SS,monday:()=>_S,saturday:()=>kS,sunday:()=>CS,thursday:()=>ES,tuesday:()=>wS,wednesday:()=>xS});var _S="Monday",wS="Tuesday",xS="Wednesday",ES="Thursday",SS="Friday",kS="Saturday",CS="Sunday",Une={monday:_S,tuesday:wS,wednesday:xS,thursday:ES,friday:SS,saturday:kS,sunday:CS},IS={};oe(IS,{default:()=>Wne,friday:()=>MS,monday:()=>DS,saturday:()=>RS,sunday:()=>AS,thursday:()=>OS,tuesday:()=>TS,wednesday:()=>NS});var DS="Lundi",TS="Mardi",NS="Mercredi",OS="Jeudi",MS="Vendredi",RS="Samedi",AS="Dimanche",Wne={monday:DS,tuesday:TS,wednesday:NS,thursday:OS,friday:MS,saturday:RS,sunday:AS},PS={};oe(PS,{default:()=>Yne,friday:()=>zS,monday:()=>LS,saturday:()=>BS,sunday:()=>HS,thursday:()=>VS,tuesday:()=>FS,wednesday:()=>jS});var LS="Maandag",FS="Dinsdag",jS="Woensdag",VS="Donderdag",zS="Vrijdag",BS="Zaterdag",HS="Zondag",Yne={monday:LS,tuesday:FS,wednesday:jS,thursday:VS,friday:zS,saturday:BS,sunday:HS},Zne={nl:PS,fr:IS,de:dS,en:yS},qS={};oe(qS,{VIDIS_0035:()=>$S,VIDIS_0050:()=>GS,VIDIS_0090:()=>US,VIDIS_0100:()=>xk,VIDIS_0110:()=>Sk,VIDIS_0120:()=>Ek,VIDIS_0121:()=>WS,VIDIS_0122:()=>YS,VIDIS_0123:()=>ZS,VIDIS_0124:()=>KS,VIDIS_0125:()=>QS,VIDIS_0126:()=>XS,VIDIS_0131:()=>JS,VIDIS_0132:()=>ek,VIDIS_0133:()=>tk,VIDIS_0134:()=>nk,VIDIS_0135:()=>ak,VIDIS_0136:()=>rk,VIDIS_0190:()=>ik,VIDIS_0200:()=>kk,VIDIS_0210:()=>ok,VIDIS_0211:()=>sk,VIDIS_0230:()=>lk,VIDIS_0290:()=>uk,VIDIS_0330:()=>ck,VIDIS_0340:()=>Ck,VIDIS_0341:()=>Ik,VIDIS_0400:()=>_k,VIDIS_04001:()=>Dk,VIDIS_0435:()=>dk,VIDIS_0440:()=>hk,VIDIS_3030:()=>wk,VIDIS_3090:()=>gk,VIDIS_3100:()=>bk,VIDIS_3120:()=>yk,VIDIS_3140:()=>vk,VIDIS_3150:()=>fk,VIDIS_5000:()=>pk,VIDIS_7000:()=>mk,"action-not-authorized-close-button":()=>Zk,"action-not-authorized-title":()=>Yk,"data-not-available-title":()=>Wk,default:()=>Kne,general:()=>Nk,"has-hidden-prescriptions":()=>jk,invalid_date_format:()=>Pk,myHealth:()=>Mk,myHealthUrl:()=>Rk,network_error:()=>Ak,"no-access":()=>Ok,prescriptionList:()=>Tk,"report-message-confirm-toast":()=>Uk,"report-message-content":()=>Bk,"report-message-explanation":()=>zk,"report-message-ignore-button":()=>Gk,"report-message-link":()=>qk,"report-message-report-button":()=>$k,"report-message-term-use":()=>Hk,"report-message-title":()=>Vk,"status-message-content":()=>Fk,"status-message-title":()=>Lk});var $S="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",GS="Die Patienten-INSS fehlt. (VIDIS_0050)",US="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",WS="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",YS="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ZS="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",KS="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",QS="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",XS="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",JS="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",ek="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",tk="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",nk="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",ak="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",rk="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ik="Ungültige INSS-Patientennummer. (VIDIS_0190)",ok="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",sk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",lk="Der Vorgang ist ungültig (VIDIS_0230)",uk='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',ck="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)",dk="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",hk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",pk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",mk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",fk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",gk="Das Rezept ist abgelaufen.",vk="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.",bk="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",yk="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",_k="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",wk="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",xk="Vorgang nicht erlaubt.",Ek="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",Sk="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",kk="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",Ck="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.",Ik="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.",Dk="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",Tk="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",Nk="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Ok="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",Mk="Zurück zum Portal Meine Gesundheit",Rk="https://wwwint.meinegesundheit.belgien.be/#/",Ak="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",Pk="Ungültiges Datumsformat.",Lk="Dienst vorübergehend nicht verfügbar",Fk=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
33
33
|
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,jk="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",Vk="Technisches Problem",zk="Bitte versuchen Sie es später noch einmal.",Bk="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",Hk="unsere Nutzungsbedingungen",qk="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",$k="Problem melden",Gk="Nicht melden",Uk="Das Problem wurde gemeldet",Wk="Daten nicht verfügbar",Yk="Aktion nicht erlaubt",Zk="Schließen",Kne={VIDIS_0035:$S,VIDIS_0050:GS,VIDIS_0090:US,VIDIS_0121:WS,VIDIS_0122:YS,VIDIS_0123:ZS,VIDIS_0124:KS,VIDIS_0125:QS,VIDIS_0126:XS,VIDIS_0131:JS,VIDIS_0132:ek,VIDIS_0133:tk,VIDIS_0134:nk,VIDIS_0135:ak,VIDIS_0136:rk,VIDIS_0190:ik,VIDIS_0210:ok,VIDIS_0211:sk,VIDIS_0230:lk,VIDIS_0290:uk,VIDIS_0330:ck,VIDIS_0435:dk,VIDIS_0440:hk,VIDIS_5000:pk,VIDIS_7000:mk,VIDIS_3150:fk,VIDIS_3090:gk,VIDIS_3140:vk,VIDIS_3100:bk,VIDIS_3120:yk,VIDIS_0400:_k,VIDIS_3030:wk,VIDIS_0100:xk,VIDIS_0120:Ek,VIDIS_0110:Sk,VIDIS_0200:kk,VIDIS_0340:Ck,VIDIS_0341:Ik,VIDIS_04001:Dk,prescriptionList:Tk,general:Nk,"no-access":Ok,myHealth:Mk,myHealthUrl:Rk,network_error:Ak,invalid_date_format:Pk,"status-message-title":Lk,"status-message-content":Fk,"has-hidden-prescriptions":jk,"report-message-title":Vk,"report-message-explanation":zk,"report-message-content":Bk,"report-message-term-use":Hk,"report-message-link":qk,"report-message-report-button":$k,"report-message-ignore-button":Gk,"report-message-confirm-toast":Uk,"data-not-available-title":Wk,"action-not-authorized-title":Yk,"action-not-authorized-close-button":Zk},Kk={};oe(Kk,{VIDIS_0035:()=>Qk,VIDIS_0050:()=>Xk,VIDIS_0090:()=>Jk,VIDIS_0100:()=>TC,VIDIS_0110:()=>OC,VIDIS_0120:()=>NC,VIDIS_0121:()=>eC,VIDIS_0122:()=>tC,VIDIS_0123:()=>nC,VIDIS_0124:()=>aC,VIDIS_0125:()=>rC,VIDIS_0126:()=>iC,VIDIS_0131:()=>oC,VIDIS_0132:()=>sC,VIDIS_0133:()=>lC,VIDIS_0134:()=>uC,VIDIS_0135:()=>cC,VIDIS_0136:()=>dC,VIDIS_0190:()=>hC,VIDIS_0200:()=>MC,VIDIS_0210:()=>pC,VIDIS_0211:()=>mC,VIDIS_0230:()=>fC,VIDIS_0290:()=>gC,VIDIS_0330:()=>vC,VIDIS_0340:()=>RC,VIDIS_0341:()=>AC,VIDIS_0400:()=>IC,VIDIS_04001:()=>PC,VIDIS_0435:()=>bC,VIDIS_0440:()=>yC,VIDIS_3030:()=>DC,VIDIS_3090:()=>EC,VIDIS_3100:()=>kC,VIDIS_3120:()=>CC,VIDIS_3140:()=>SC,VIDIS_3150:()=>xC,VIDIS_5000:()=>_C,VIDIS_7000:()=>wC,"action-not-authorized-close-button":()=>nI,"action-not-authorized-title":()=>tI,"data-not-available-title":()=>eI,default:()=>Qne,general:()=>FC,"has-hidden-prescriptions":()=>GC,invalid_date_format:()=>HC,myHealth:()=>VC,myHealthUrl:()=>zC,network_error:()=>BC,"no-access":()=>jC,prescriptionList:()=>LC,"report-message-confirm-toast":()=>JC,"report-message-content":()=>YC,"report-message-explanation":()=>WC,"report-message-ignore-button":()=>XC,"report-message-link":()=>KC,"report-message-report-button":()=>QC,"report-message-term-use":()=>ZC,"report-message-title":()=>UC,"status-message-content":()=>$C,"status-message-title":()=>qC});var Qk="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",Xk="The patient's NISS number is missing (VIDIS_0050)",Jk="The personal information provided was not recognised. (VIDIS_0090)",eC="Consulting data of a Brussels patient is currently not authorised.",tC="Consulting data of a Walloon patient is currently not authorised.",nC="Consulting data of a Brussels child by a parent is currently not authorised.",aC="Consulting data of a Walloon child by a parent is currently not authorised.",rC="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",iC="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",oC="Access to the data of a Brussels patient is currently not permitted.",sC="Access to the data of a Walloon patient is currently not permitted.",lC="A parent’s access to the data of a Brussels child is currently not permitted.",uC="A parent’s access to the data of a Walloon child is currently not permitted.",cC="A representative’s access to the data of a Brussels patient is currently not permitted.",dC="A representative’s access to the data of a Walloon patient is currently not permitted.",hC="The patient's NISS number is invalid. (VIDIS_0190)",pC="The login was unsuccessful. Please try again. (VIDIS_0210)",mC="The login was unsuccessful. Please try again. (VIDIS_0211)",fC="The request is invalid. (VIDIS_0230)",gC="User role must be citizen. (VIDIS_0290)",vC="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)",bC="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",yC="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",_C="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",wC="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",xC="No mandate found between patient and mandateholder.",EC="Prescription has expired.",SC="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.",kC="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",CC="The patient in the session is different from the patient in the request.",IC="User is not authorized to make the request.",DC="No mandate found between patient and mandateholder.",TC="Operation is not allowed.",NC="A therapeutic relation between the requester and the patient is not available.",OC="There is no consent to share personal health information.",MC="User is not allowed to perform the operation due to an exclusion between requester and patient.",RC="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",AC="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",PC="Your request is invalid. Please try again later.",LC="Unfortunately the details of the prescription could not be retrieved. Please try again.",FC="An internal technical error has occured. Please try again later.",jC="An internal technical error has occured. Please try again later.",VC="Back to the MyHealth portal.",zC="https://www.myhealth.belgium.be/",BC="A network error unfortunately has occured. Please contact your network manager if the problem persists.",HC="Invalid date format.",qC="Service temporarily unavailable",$C=`We are currently having a problem connecting to the server.
|
|
34
34
|
Please try again later.`,GC="The patient has hidden one or more prescriptions.",UC="Technical problem",WC="Please try again later.",YC="Help us identify and resolve the issue. By reporting it, you accept ",ZC="our terms of use",KC="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",QC="Report the problem",XC="Don't report",JC="The problem has been reported",eI="Data not available",tI="Action not authorized",nI="Close",Qne={VIDIS_0035:Qk,VIDIS_0050:Xk,VIDIS_0090:Jk,VIDIS_0121:eC,VIDIS_0122:tC,VIDIS_0123:nC,VIDIS_0124:aC,VIDIS_0125:rC,VIDIS_0126:iC,VIDIS_0131:oC,VIDIS_0132:sC,VIDIS_0133:lC,VIDIS_0134:uC,VIDIS_0135:cC,VIDIS_0136:dC,VIDIS_0190:hC,VIDIS_0210:pC,VIDIS_0211:mC,VIDIS_0230:fC,VIDIS_0290:gC,VIDIS_0330:vC,VIDIS_0435:bC,VIDIS_0440:yC,VIDIS_5000:_C,VIDIS_7000:wC,VIDIS_3150:xC,VIDIS_3090:EC,VIDIS_3140:SC,VIDIS_3100:kC,VIDIS_3120:CC,VIDIS_0400:IC,VIDIS_3030:DC,VIDIS_0100:TC,VIDIS_0120:NC,VIDIS_0110:OC,VIDIS_0200:MC,VIDIS_0340:RC,VIDIS_0341:AC,VIDIS_04001:PC,prescriptionList:LC,general:FC,"no-access":jC,myHealth:VC,myHealthUrl:zC,network_error:BC,invalid_date_format:HC,"status-message-title":qC,"status-message-content":$C,"has-hidden-prescriptions":GC,"report-message-title":UC,"report-message-explanation":WC,"report-message-content":YC,"report-message-term-use":ZC,"report-message-link":KC,"report-message-report-button":QC,"report-message-ignore-button":XC,"report-message-confirm-toast":JC,"data-not-available-title":eI,"action-not-authorized-title":tI,"action-not-authorized-close-button":nI},aI={};oe(aI,{VIDIS_0035:()=>rI,VIDIS_0050:()=>iI,VIDIS_0090:()=>oI,VIDIS_0100:()=>LI,VIDIS_0110:()=>jI,VIDIS_0120:()=>FI,VIDIS_0121:()=>sI,VIDIS_0122:()=>lI,VIDIS_0123:()=>uI,VIDIS_0124:()=>cI,VIDIS_0125:()=>dI,VIDIS_0126:()=>hI,VIDIS_0131:()=>pI,VIDIS_0132:()=>mI,VIDIS_0133:()=>fI,VIDIS_0134:()=>gI,VIDIS_0135:()=>vI,VIDIS_0136:()=>bI,VIDIS_0190:()=>yI,VIDIS_0200:()=>VI,VIDIS_0210:()=>_I,VIDIS_0211:()=>wI,VIDIS_0230:()=>xI,VIDIS_0290:()=>EI,VIDIS_0330:()=>SI,VIDIS_0340:()=>zI,VIDIS_0341:()=>BI,VIDIS_0400:()=>AI,VIDIS_04001:()=>HI,VIDIS_0435:()=>kI,VIDIS_0440:()=>CI,VIDIS_3030:()=>PI,VIDIS_3090:()=>NI,VIDIS_3100:()=>MI,VIDIS_3120:()=>RI,VIDIS_3140:()=>OI,VIDIS_3150:()=>TI,VIDIS_5000:()=>II,VIDIS_7000:()=>DI,"action-not-authorized-close-button":()=>uD,"action-not-authorized-title":()=>lD,"data-not-available-title":()=>sD,default:()=>Xne,general:()=>$I,"has-hidden-prescriptions":()=>XI,invalid_date_format:()=>ZI,myHealth:()=>UI,myHealthUrl:()=>WI,network_error:()=>YI,"no-access":()=>GI,prescriptionList:()=>qI,"report-message-confirm-toast":()=>oD,"report-message-content":()=>tD,"report-message-explanation":()=>eD,"report-message-ignore-button":()=>iD,"report-message-link":()=>aD,"report-message-report-button":()=>rD,"report-message-term-use":()=>nD,"report-message-title":()=>JI,"status-message-content":()=>QI,"status-message-title":()=>KI});var rI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",iI="Le NISS du patient est manquant. (VIDIS_0050)",oI="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",sI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",lI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",uI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",cI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",dI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",hI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",pI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",mI="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",fI="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",gI="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",vI="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",bI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",yI="Le NISS du patient n’est pas valide. (VIDIS_0190)",_I="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",wI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",xI="L’opération n’est pas valide. (VIDIS_0230)",EI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",SI="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)",kI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",CI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",II="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",DI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",TI="Aucun mandat trouvé entre le patient et le mandataire.",NI="L’ordonnance est expirée.",OI="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.",MI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",RI="Le patient dans la session est différent de celui dans la demande.",AI="L’utilisateur n’est pas autorisé à effectuer la requête.",PI="Aucun mandat trouvé entre le patient et le mandataire.",LI="Opération non autorisée.",FI="Aucune relation thérapeutique entre le demandeur et le patient.",jI="Aucun consentement au partage des données de santé.",VI="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",zI="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",BI="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",HI="Votre requête est invalide. Veuillez réessayer plus tard.",qI="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",$I="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",GI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",UI="Revenir au portail MaSanté",WI="https://wwwint.masante.belgique.be/#/",YI="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",ZI="Le format de date est invalide.",KI="Service temporairement indisponible",QI=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
35
35
|
Veuillez réessayer plus tard.`,XI="Le patient a masqué une ou plusieurs prescriptions.",JI="Problème technique",eD="Veuillez réessayer plus tard.",tD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",nD="conditions d'utilisation",aD="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",rD="Signaler le problème",iD="Ignorer",oD="Le problème a été signalé",sD="Données non disponibles",lD="Action non autorisée",uD="Fermer",Xne={VIDIS_0035:rI,VIDIS_0050:iI,VIDIS_0090:oI,VIDIS_0121:sI,VIDIS_0122:lI,VIDIS_0123:uI,VIDIS_0124:cI,VIDIS_0125:dI,VIDIS_0126:hI,VIDIS_0131:pI,VIDIS_0132:mI,VIDIS_0133:fI,VIDIS_0134:gI,VIDIS_0135:vI,VIDIS_0136:bI,VIDIS_0190:yI,VIDIS_0210:_I,VIDIS_0211:wI,VIDIS_0230:xI,VIDIS_0290:EI,VIDIS_0330:SI,VIDIS_0435:kI,VIDIS_0440:CI,VIDIS_5000:II,VIDIS_7000:DI,VIDIS_3150:TI,VIDIS_3090:NI,VIDIS_3140:OI,VIDIS_3100:MI,VIDIS_3120:RI,VIDIS_0400:AI,VIDIS_3030:PI,VIDIS_0100:LI,VIDIS_0120:FI,VIDIS_0110:jI,VIDIS_0200:VI,VIDIS_0340:zI,VIDIS_0341:BI,VIDIS_04001:HI,prescriptionList:qI,general:$I,"no-access":GI,myHealth:UI,myHealthUrl:WI,network_error:YI,invalid_date_format:ZI,"status-message-title":KI,"status-message-content":QI,"has-hidden-prescriptions":XI,"report-message-title":JI,"report-message-explanation":eD,"report-message-content":tD,"report-message-term-use":nD,"report-message-link":aD,"report-message-report-button":rD,"report-message-ignore-button":iD,"report-message-confirm-toast":oD,"data-not-available-title":sD,"action-not-authorized-title":lD,"action-not-authorized-close-button":uD},cD={};oe(cD,{VIDIS_0035:()=>dD,VIDIS_0050:()=>hD,VIDIS_0090:()=>pD,VIDIS_0100:()=>qD,VIDIS_0110:()=>GD,VIDIS_0120:()=>$D,VIDIS_0121:()=>mD,VIDIS_0122:()=>fD,VIDIS_0123:()=>gD,VIDIS_0124:()=>vD,VIDIS_0125:()=>bD,VIDIS_0126:()=>yD,VIDIS_0131:()=>_D,VIDIS_0132:()=>wD,VIDIS_0133:()=>xD,VIDIS_0134:()=>ED,VIDIS_0135:()=>SD,VIDIS_0136:()=>kD,VIDIS_0190:()=>CD,VIDIS_0200:()=>UD,VIDIS_0210:()=>ID,VIDIS_0211:()=>DD,VIDIS_0230:()=>TD,VIDIS_0290:()=>ND,VIDIS_0330:()=>OD,VIDIS_0340:()=>WD,VIDIS_0341:()=>YD,VIDIS_0400:()=>BD,VIDIS_04001:()=>ZD,VIDIS_0435:()=>MD,VIDIS_0440:()=>RD,VIDIS_3030:()=>HD,VIDIS_3090:()=>FD,VIDIS_3100:()=>VD,VIDIS_3120:()=>zD,VIDIS_3140:()=>jD,VIDIS_3150:()=>LD,VIDIS_5000:()=>AD,VIDIS_7000:()=>PD,"action-not-authorized-close-button":()=>g2,"action-not-authorized-title":()=>f2,"data-not-available-title":()=>m2,default:()=>Jne,general:()=>QD,"has-hidden-prescriptions":()=>i2,invalid_date_format:()=>n2,myHealth:()=>JD,myHealthUrl:()=>e2,network_error:()=>t2,"no-access":()=>XD,prescriptionList:()=>KD,"report-message-confirm-toast":()=>p2,"report-message-content":()=>l2,"report-message-explanation":()=>s2,"report-message-ignore-button":()=>h2,"report-message-link":()=>c2,"report-message-report-button":()=>d2,"report-message-term-use":()=>u2,"report-message-title":()=>o2,"status-message-content":()=>r2,"status-message-title":()=>a2});var dD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",hD="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",pD="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",mD="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",fD="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",gD="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",vD="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",bD="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",yD="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",_D="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",wD="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",xD="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",ED="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",SD="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",kD="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",CD="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",ID="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",DD="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",TD="Het verzoek is ongeldig. (VIDIS_0230)",ND="Gebruikersrol moet burger zijn. (VIDIS_0290)",OD="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)",MD="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",RD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",AD="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",PD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",LD="Geen mandaat gevonden tussen patiënt en mandataris.",FD="Voorschrift is verlopen.",jD="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.",VD="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",zD="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",BD="De gebruiker is niet gemachtigd om de aanvraag te doen.",HD="Geen mandaat gevonden tussen patiënt en mandataris.",qD="Bewerking is niet toegestaan.",$D="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",GD="Er is geen toestemming om gezondheidsgegevens te delen.",UD="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",WD="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",YD="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",ZD="Uw verzoek is ongeldig. Probeer later opnieuw.",KD="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",QD="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",XD="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",JD="Terug naar het MijnGezondheid portaal",e2="http://wwwint.mijngezondheid.belgie.be/",t2="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",n2="Ongeldig datumformaat.",a2="Service tijdelijk niet beschikbaar",r2=`Er is momenteel een probleem met de verbinding met de server.
|
|
36
|
-
Probeer het later nog eens.`,i2="De patiënt heeft 1 of meerdere voorschriften verborgen.",o2="Technisch probleem",s2="Probeer het later opnieuw.",l2="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",u2="gebruiksvoorwaarden",c2="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",d2="Probleem melden",h2="Niet melden",p2="Het probleem is gemeld",m2="Gegevens niet beschikbaar",f2="Actie niet toegestaan",g2="Sluiten",Jne={VIDIS_0035:dD,VIDIS_0050:hD,VIDIS_0090:pD,VIDIS_0121:mD,VIDIS_0122:fD,VIDIS_0123:gD,VIDIS_0124:vD,VIDIS_0125:bD,VIDIS_0126:yD,VIDIS_0131:_D,VIDIS_0132:wD,VIDIS_0133:xD,VIDIS_0134:ED,VIDIS_0135:SD,VIDIS_0136:kD,VIDIS_0190:CD,VIDIS_0210:ID,VIDIS_0211:DD,VIDIS_0230:TD,VIDIS_0290:ND,VIDIS_0330:OD,VIDIS_0435:MD,VIDIS_0440:RD,VIDIS_5000:AD,VIDIS_7000:PD,VIDIS_3150:LD,VIDIS_3090:FD,VIDIS_3140:jD,VIDIS_3100:VD,VIDIS_3120:zD,VIDIS_0400:BD,VIDIS_3030:HD,VIDIS_0100:qD,VIDIS_0120:$D,VIDIS_0110:GD,VIDIS_0200:UD,VIDIS_0340:WD,VIDIS_0341:YD,VIDIS_04001:ZD,prescriptionList:KD,general:QD,"no-access":XD,myHealth:JD,myHealthUrl:e2,network_error:t2,invalid_date_format:n2,"status-message-title":a2,"status-message-content":r2,"has-hidden-prescriptions":i2,"report-message-title":o2,"report-message-explanation":s2,"report-message-content":l2,"report-message-term-use":u2,"report-message-link":c2,"report-message-report-button":d2,"report-message-ignore-button":h2,"report-message-confirm-toast":p2,"data-not-available-title":m2,"action-not-authorized-title":f2,"action-not-authorized-close-button":g2},eae={nl:cD,fr:aI,de:qS,en:Kk},v2={};oe(v2,{1:()=>b2,10:()=>I2,11:()=>D2,12:()=>T2,13:()=>N2,14:()=>O2,15:()=>M2,16:()=>R2,17:()=>A2,18:()=>P2,19:()=>L2,2:()=>y2,20:()=>F2,21:()=>j2,22:()=>V2,23:()=>z2,24:()=>B2,25:()=>H2,26:()=>q2,27:()=>$2,28:()=>G2,29:()=>U2,3:()=>_2,30:()=>W2,31:()=>Y2,32:()=>Z2,33:()=>K2,34:()=>Q2,4:()=>w2,40:()=>X2,41:()=>J2,5:()=>x2,6:()=>E2,7:()=>S2,71:()=>eT,8:()=>k2,9:()=>C2,90:()=>tT,91:()=>nT,92:()=>aT,93:()=>rT,default:()=>tae});var b2="Gelatinekapseln",y2="Tabletten",_2="Creme",w2="Gel",x2="Paste",E2="Fette Salbe",S2="Granulat",k2="Zäpfchen für Erwachsene",C2="Zäpfchen für Kinder",I2="Vaginalzäpfchen",D2="Rektiole",T2="nicht gespaltenes Pulver innerliche Anwendung",N2="nicht gespaltenes Pulver äußerliche Anwendung",O2="Inhalation",M2="Pulver Zum Spalten innerliche Anwendung",R2="Pulver Zum Spalten äußerliche Anwendung",A2="Nasentropfen",P2="Nasensalbe",L2="Sirup",F2="Lösung innerliche Anwendung",j2="Lösung äußerliche Anwendung",V2="Tropfen innerliche Anwendung",z2="Tropfen äußerliche Anwendung",B2="Emulsion innerliche Anwendung",H2="Emulsion äußerliche Anwendung",q2="Shampoo",$2="Augentropfen",G2="Augenlotion",U2="Augenbad",W2="Salbe",Y2="Augensalbe ",Z2="Ohrentropfen",K2="Suspension innerliche Anwendung",Q2="Suspension äußerliche Anwendung",X2="Kräutermischung",J2="Tee",eT="enterische Kapseln",tT="derartig",nT="Dermatologie (fest) derartig",aT="Pulver derartig",rT="Lösung derartig",tae={1:b2,2:y2,3:_2,4:w2,5:x2,6:E2,7:S2,8:k2,9:C2,10:I2,11:D2,12:T2,13:N2,14:O2,15:M2,16:R2,17:A2,18:P2,19:L2,20:F2,21:j2,22:V2,23:z2,24:B2,25:H2,26:q2,27:$2,28:G2,29:U2,30:W2,31:Y2,32:Z2,33:K2,34:Q2,40:X2,41:J2,71:eT,90:tT,91:nT,92:aT,93:rT},iT={};oe(iT,{1:()=>oT,10:()=>fT,11:()=>gT,12:()=>vT,13:()=>bT,14:()=>yT,15:()=>_T,16:()=>wT,17:()=>xT,18:()=>ET,19:()=>ST,2:()=>sT,20:()=>kT,21:()=>CT,22:()=>IT,23:()=>DT,24:()=>TT,25:()=>NT,26:()=>OT,27:()=>MT,28:()=>RT,29:()=>AT,3:()=>lT,30:()=>PT,31:()=>LT,32:()=>FT,33:()=>jT,34:()=>VT,4:()=>uT,40:()=>zT,41:()=>BT,5:()=>cT,6:()=>dT,7:()=>hT,71:()=>HT,8:()=>pT,9:()=>mT,90:()=>qT,91:()=>$T,92:()=>GT,93:()=>UT,default:()=>nae});var oT="Capsules",sT="Tablets",lT="Cream",uT="Gel",cT="Paste",dT="Fatty ointment",hT="Granulate",pT="Adult suppository",mT="Child suppository",fT="Vaginal ovules",gT="Rectiole",vT="Undivided powder for internal use",bT="Undivided powder for external use",yT="Inhalation",_T="Divided powders for internal use",wT="Divided powders for external use",xT="Nasal drops",ET="Nasal ointment",ST="Syrup",kT="Solution for internal use",CT="Solution for external use",IT="Drops for internal use",DT="Drops for external use",TT="Emulsion for internal use",NT="Emulsion for external use",OT="Shampoo",MT="Eye drops",RT="Eye lotion",AT="Eye bath",PT="Ointment",LT="Eye ointment",FT="Ear drops",jT="Suspension for internal use",VT="Suspension for external use",zT="Herbal mixture",BT="Tea",HT="Enteric-coated capsules",qT="As is",$T="Dermatology (solid) as is",GT="Powder as is",UT="Liquid as is",nae={1:oT,2:sT,3:lT,4:uT,5:cT,6:dT,7:hT,8:pT,9:mT,10:fT,11:gT,12:vT,13:bT,14:yT,15:_T,16:wT,17:xT,18:ET,19:ST,20:kT,21:CT,22:IT,23:DT,24:TT,25:NT,26:OT,27:MT,28:RT,29:AT,30:PT,31:LT,32:FT,33:jT,34:VT,40:zT,41:BT,71:HT,90:qT,91:$T,92:GT,93:UT},WT={};oe(WT,{1:()=>YT,10:()=>aN,11:()=>rN,12:()=>iN,13:()=>oN,14:()=>sN,15:()=>lN,16:()=>uN,17:()=>cN,18:()=>dN,19:()=>hN,2:()=>ZT,20:()=>pN,21:()=>mN,22:()=>fN,23:()=>gN,24:()=>vN,25:()=>bN,26:()=>yN,27:()=>_N,28:()=>wN,29:()=>xN,3:()=>KT,30:()=>EN,31:()=>SN,32:()=>kN,33:()=>CN,34:()=>IN,4:()=>QT,40:()=>DN,41:()=>TN,5:()=>XT,6:()=>JT,7:()=>eN,71:()=>NN,8:()=>tN,9:()=>nN,90:()=>ON,91:()=>MN,92:()=>RN,93:()=>AN,default:()=>aae});var YT="Gélules",ZT="Cachets / comprimés",KT="Crème",QT="Gel",XT="Pâte",JT="Pommade grasse",eN="Granulé",tN="Suppo adulte",nN="Suppo enfant",aN="Ovules vaginales",rN="Rectiole",iN="Poudre non-divisée usage interne",oN="Poudre non-divisée usage externe",sN="Inhalation",lN="Poudres à diviser usage interne",uN="Poudres à diviser usage externe",cN="Gouttes nasales",dN="Pommade nasale",hN="Sirop",pN="Solution usage interne",mN="Solution usage externe",fN="Gouttes usage interne",gN="Gouttes usage externe",vN="Emulsion usage interne",bN="Emulsion usage externe",yN="Shampooing",_N="Gouttes ophtalmiques",wN="Lotion ophtalmique",xN="Bain ophtalmique",EN="Pommade",SN="Pommade ophtalmique",kN="Gouttes auriculaires",CN="Suspension usage interne",IN="Suspension usage externe",DN="Mélange de plantes",TN="Thé",NN="Gélules à enrobage entérique / Gélules entériques",ON="en tant que tel/telle",MN="Dermatologie (solide) en tant que telle",RN="Poudre en tant que telle ",AN="Solution en tant que telle ",aae={1:YT,2:ZT,3:KT,4:QT,5:XT,6:JT,7:eN,8:tN,9:nN,10:aN,11:rN,12:iN,13:oN,14:sN,15:lN,16:uN,17:cN,18:dN,19:hN,20:pN,21:mN,22:fN,23:gN,24:vN,25:bN,26:yN,27:_N,28:wN,29:xN,30:EN,31:SN,32:kN,33:CN,34:IN,40:DN,41:TN,71:NN,90:ON,91:MN,92:RN,93:AN},PN={};oe(PN,{1:()=>LN,10:()=>GN,11:()=>UN,12:()=>WN,13:()=>YN,14:()=>ZN,15:()=>KN,16:()=>QN,17:()=>XN,18:()=>JN,19:()=>eO,2:()=>FN,20:()=>tO,21:()=>nO,22:()=>aO,23:()=>rO,24:()=>iO,25:()=>oO,26:()=>sO,27:()=>lO,28:()=>uO,29:()=>cO,3:()=>jN,30:()=>dO,31:()=>hO,32:()=>pO,33:()=>mO,34:()=>fO,4:()=>VN,40:()=>gO,41:()=>vO,5:()=>zN,6:()=>BN,7:()=>HN,71:()=>bO,8:()=>qN,9:()=>$N,90:()=>yO,91:()=>_O,92:()=>wO,93:()=>xO,default:()=>rae});var LN="Capsules",FN="Tabletten",jN="Creme",VN="Gel",zN="Pasta",BN="Vette zalf",HN="Granulaat",qN="Suppo volwassene",$N="Suppo kind",GN="Vaginale zetpillen / vaginale ovules",UN="Rektiool",WN="Niet-verdeeld poeder inwendig gebruik",YN="Niet-verdeeld poeder uitwendig gebruik",ZN="Inhalatie",KN="Te verdelen poeders inwendig gebruik",QN="Te verdelen poeders uitwendig gebruik",XN="Neusdruppels",JN="Neuszalf",eO="Siroop",tO="Oplossing inwendig gebruik",nO="Oplossing uitwendig gebruik",aO="Druppels inwendig gebruik",rO="Druppels uitwendig gebruik",iO="Emulsie inwendig gebruik",oO="Emulsie uitwendig gebruik",sO="Shampoo",lO="Oogdruppels",uO="Ooglotion",cO="Oogbad",dO="Zalf",hO="Oogzalf",pO="Oordruppels",mO="Suspensie inwendig gebruik",fO="Suspensie uitwendig gebruik",gO="Kruidenmengsel",vO="Thee",bO="enterisch omhulde capsules",yO="Als dusdanig",_O="Als dusdanig dermatologie (vast)",wO="Als dusdanig poeder",xO="Als dusdanig vloeistof",rae={1:LN,2:FN,3:jN,4:VN,5:zN,6:BN,7:HN,8:qN,9:$N,10:GN,11:UN,12:WN,13:YN,14:ZN,15:KN,16:QN,17:XN,18:JN,19:eO,20:tO,21:nO,22:aO,23:rO,24:iO,25:oO,26:sO,27:lO,28:uO,29:cO,30:dO,31:hO,32:pO,33:mO,34:fO,40:gO,41:vO,71:bO,90:yO,91:_O,92:wO,93:xO},iae={nl:PN,fr:WT,de:v2,en:iT},EO={};oe(EO,{close:()=>SO,default:()=>oae,downloadLeaflet:()=>kO,file:()=>CO});var SO="Schließen",kO="Download Packungsbeilage (pdf)",CO="feile",oae={close:SO,downloadLeaflet:kO,file:CO},IO={};oe(IO,{close:()=>DO,default:()=>sae,downloadLeaflet:()=>TO,file:()=>NO});var DO="Close",TO="Download leaflet (pdf)",NO="file",sae={close:DO,downloadLeaflet:TO,file:NO},OO={};oe(OO,{close:()=>MO,default:()=>lae,downloadLeaflet:()=>RO,file:()=>AO});var MO="Fermer",RO="Télécharger la notice (pdf)",AO="fichier",lae={close:MO,downloadLeaflet:RO,file:AO},PO={};oe(PO,{close:()=>LO,default:()=>uae,downloadLeaflet:()=>FO,file:()=>jO});var LO="Sluiten",FO="Download bijsluiter (pdf)",jO="bestand",uae={close:LO,downloadLeaflet:FO,file:jO},cae={nl:PO,fr:OO,de:EO,en:IO},VO={};oe(VO,{afterbreakfast:()=>zO,afterdinner:()=>BO,afterlunch:()=>HO,aftermeal:()=>qO,afternoon:()=>$O,beforebreakfast:()=>GO,beforedinner:()=>UO,beforelunch:()=>WO,betweenbreakfastandlunch:()=>YO,betweendinnerandsleep:()=>ZO,betweenlunchanddinner:()=>KO,betweenmeals:()=>QO,breakfast:()=>XO,default:()=>dae,dinner:()=>JO,duringbreakfast:()=>eM,duringdinner:()=>tM,duringlunch:()=>nM,evening:()=>aM,lunch:()=>rM,morning:()=>iM,night:()=>oM,thehourofsleep:()=>sM});var zO="nach dem Frühstück",BO="nach dem Abendessen",HO="nach dem Mittagessen",qO="nach dem Essen",$O="Nachmittag",GO="vor dem Frühstück",UO="vor dem Abendessen",WO="vor dem Mittagessen",YO="zwischen Frühstück und Mittagessen",ZO="zwischen Abendessen und Nachtruhe",KO="zwischen Mittagessen und Abendessen",QO="zwischen den Mahlzeiten",XO="Frühstück",JO="Abendessen",eM="zum Frühstück",tM="zum Abendessen",nM="zum Mittagessen",aM="Abend",rM="Mittagessen",iM="Vormittag",oM="Nacht",sM="Nachtruhe",dae={afterbreakfast:zO,afterdinner:BO,afterlunch:HO,aftermeal:qO,afternoon:$O,beforebreakfast:GO,beforedinner:UO,beforelunch:WO,betweenbreakfastandlunch:YO,betweendinnerandsleep:ZO,betweenlunchanddinner:KO,betweenmeals:QO,breakfast:XO,dinner:JO,duringbreakfast:eM,duringdinner:tM,duringlunch:nM,evening:aM,lunch:rM,morning:iM,night:oM,thehourofsleep:sM},lM={};oe(lM,{afterbreakfast:()=>uM,afterdinner:()=>cM,afterlunch:()=>dM,aftermeal:()=>hM,afternoon:()=>pM,beforebreakfast:()=>mM,beforedinner:()=>fM,beforelunch:()=>gM,betweenbreakfastandlunch:()=>vM,betweendinnerandsleep:()=>bM,betweenlunchanddinner:()=>yM,betweenmeals:()=>_M,breakfast:()=>wM,default:()=>hae,dinner:()=>xM,duringbreakfast:()=>EM,duringdinner:()=>SM,duringlunch:()=>kM,evening:()=>CM,lunch:()=>IM,morning:()=>DM,night:()=>TM,thehourofsleep:()=>NM});var uM="after breakfast",cM="after dinner",dM="after lunch",hM="after meal",pM="afternoon",mM="before breakfast",fM="before dinner",gM="before lunch",vM="between breakfast and lunch",bM="between dinner and the hour of sleep",yM="between lunch and dinner",_M="between meals",wM="breakfast",xM="dinner",EM="during breakfast",SM="during dinner",kM="during lunch",CM="evening",IM="lunch",DM="morning",TM="night",NM="the hour of sleep",hae={afterbreakfast:uM,afterdinner:cM,afterlunch:dM,aftermeal:hM,afternoon:pM,beforebreakfast:mM,beforedinner:fM,beforelunch:gM,betweenbreakfastandlunch:vM,betweendinnerandsleep:bM,betweenlunchanddinner:yM,betweenmeals:_M,breakfast:wM,dinner:xM,duringbreakfast:EM,duringdinner:SM,duringlunch:kM,evening:CM,lunch:IM,morning:DM,night:TM,thehourofsleep:NM},OM={};oe(OM,{afterbreakfast:()=>MM,afterdinner:()=>RM,afterlunch:()=>AM,aftermeal:()=>PM,afternoon:()=>LM,beforebreakfast:()=>FM,beforedinner:()=>jM,beforelunch:()=>VM,betweenbreakfastandlunch:()=>zM,betweendinnerandsleep:()=>BM,betweenlunchanddinner:()=>HM,betweenmeals:()=>qM,breakfast:()=>$M,default:()=>pae,dinner:()=>GM,duringbreakfast:()=>UM,duringdinner:()=>WM,duringlunch:()=>YM,evening:()=>ZM,lunch:()=>KM,morning:()=>QM,night:()=>XM,thehourofsleep:()=>JM});var MM="après le petit-déjeuner",RM="après le repas du soir",AM="après le repas du midi",PM="après le repas",LM="après-midi",FM="avant le petit-déjeuner",jM="avant le repas du soir",VM="avant le repas du midi",zM="entre le petit-déjeuner et le repas du midi",BM="entre le repas du soir et l’heure du coucher",HM="entre le repas du midi et le repas du soir",qM="entre les repas",$M="petit-déjeuner",GM="repas du soir",UM="pendant le petit-déjeuner",WM="pendant le repas du soir",YM="pendant le repas du midi",ZM="soir",KM="repas du midi",QM="matin",XM="nuit",JM="heure du coucher",pae={afterbreakfast:MM,afterdinner:RM,afterlunch:AM,aftermeal:PM,afternoon:LM,beforebreakfast:FM,beforedinner:jM,beforelunch:VM,betweenbreakfastandlunch:zM,betweendinnerandsleep:BM,betweenlunchanddinner:HM,betweenmeals:qM,breakfast:$M,dinner:GM,duringbreakfast:UM,duringdinner:WM,duringlunch:YM,evening:ZM,lunch:KM,morning:QM,night:XM,thehourofsleep:JM},eR={};oe(eR,{afterbreakfast:()=>tR,afterdinner:()=>nR,afterlunch:()=>aR,aftermeal:()=>rR,afternoon:()=>iR,beforebreakfast:()=>oR,beforedinner:()=>sR,beforelunch:()=>lR,betweenbreakfastandlunch:()=>uR,betweendinnerandsleep:()=>cR,betweenlunchanddinner:()=>dR,betweenmeals:()=>hR,breakfast:()=>pR,default:()=>mae,dinner:()=>mR,duringbreakfast:()=>fR,duringdinner:()=>gR,duringlunch:()=>vR,evening:()=>bR,lunch:()=>yR,morning:()=>_R,night:()=>wR,thehourofsleep:()=>xR});var tR="na het ontbijt",nR="na het avondmaal",aR="na het middagmaal",rR="na de maaltijd",iR="namiddag",oR="voor het ontbijt",sR="voor het avondmaal",lR="voor het middagmaal",uR="tussen het ontbijt en het middagmaal",cR="tussen het avondmaal en het slapen gaan",dR="tussen het middagmaal en het avondmaal",hR="tussen de maaltijden",pR="ontbijt",mR="avondmaal",fR="tijdens het ontbijt",gR="tijdens het avondmaal",vR="tijdens het middagmaal",bR="'s avonds",yR="middagmaal",_R="'s ochtends",wR="'s nachts",xR="voor het slapen gaan",mae={afterbreakfast:tR,afterdinner:nR,afterlunch:aR,aftermeal:rR,afternoon:iR,beforebreakfast:oR,beforedinner:sR,beforelunch:lR,betweenbreakfastandlunch:uR,betweendinnerandsleep:cR,betweenlunchanddinner:dR,betweenmeals:hR,breakfast:pR,dinner:mR,duringbreakfast:fR,duringdinner:gR,duringlunch:vR,evening:bR,lunch:yR,morning:_R,night:wR,thehourofsleep:xR},fae={nl:eR,fr:OM,de:VO,en:lM},ER={};oe(ER,{day:()=>SR,default:()=>gae,during:()=>IR,on:()=>CR,week:()=>kR});var SR="Tag",kR="Woche",CR="am",IR="für",gae={day:SR,week:kR,on:CR,during:IR},DR={};oe(DR,{day:()=>TR,default:()=>vae,during:()=>MR,on:()=>OR,week:()=>NR});var TR="day",NR="week",OR="on",MR="during",vae={day:TR,week:NR,on:OR,during:MR},RR={};oe(RR,{day:()=>AR,default:()=>bae,during:()=>FR,on:()=>LR,week:()=>PR});var AR="jour",PR="semaine",LR="le",FR="durant",bae={day:AR,week:PR,on:LR,during:FR},jR={};oe(jR,{day:()=>VR,default:()=>yae,during:()=>HR,on:()=>BR,week:()=>zR});var VR="dag",zR="week",BR="op",HR="gedurende",yae={day:VR,week:zR,on:BR,during:HR},_ae={nl:jR,fr:RR,de:ER,en:DR},qR={};oe(qR,{a:()=>$R,d:()=>WR,default:()=>wae,hr:()=>YR,min:()=>ZR,mo:()=>GR,ms:()=>QR,ns:()=>JR,s:()=>KR,us:()=>XR,wk:()=>UR});var $R="{count} {count, plural, one{Jahr} other{Jahre}}",GR="{count} {count, plural, one{Monat} other{Monate}}",UR="{count} {count, plural, one{Woche} other{Wochen}}",WR="{count} {count, plural, one{Tag} other{Tage}}",YR="{count} {count, plural, one{Stunde} other{Stunden}}",ZR="{count} {count, plural, one{Minute} other{Minuten}}",KR="{count} {count, plural, one{Sekunde} other{Sekunden}} ",QR="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",XR="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",JR="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",wae={a:$R,mo:GR,wk:UR,d:WR,hr:YR,min:ZR,s:KR,ms:QR,us:XR,ns:JR},eA={};oe(eA,{a:()=>tA,d:()=>rA,default:()=>xae,hr:()=>iA,min:()=>oA,mo:()=>nA,ms:()=>lA,ns:()=>cA,s:()=>sA,us:()=>uA,wk:()=>aA});var tA="{count} {count, plural, one{year} other{years}}",nA="{count} {count, plural, one{month} other{months}}",aA="{count} {count, plural, one{week} other{weeks}}",rA="{count} {count, plural, one{day} other{days}}",iA="{count} {count, plural, one{hour} other{hours}}",oA="{count} {count, plural, one{minute} other{minutes}}",sA="{count} {count, plural, one{second} other{seconds}}",lA="{count} {count, plural, one{millisecond} other{millisecondes}}",uA="{count} {count, plural, one{microsecond} other{microsecondes}}",cA="{count} {count, plural, one{nanosecond} other{nanosecondes}}",xae={a:tA,mo:nA,wk:aA,d:rA,hr:iA,min:oA,s:sA,ms:lA,us:uA,ns:cA},dA={};oe(dA,{a:()=>hA,d:()=>fA,default:()=>Eae,hr:()=>gA,min:()=>vA,mo:()=>pA,ms:()=>yA,ns:()=>wA,s:()=>bA,us:()=>_A,wk:()=>mA});var hA="{count} {count, plural, one{année} other{années}}",pA="{count} {count, plural, one{mois} other{mois}}",mA="{count} {count, plural, one{semaine} other{semaines}}",fA="{count} {count, plural, one{jour} other{jours}}",gA="{count} {count, plural, one{heure} other{heures}}",vA="{count} {count, plural, one{minute} other{minutes}}",bA="{count} {count, plural, one{seconde} other{secondes}}",yA="{count} {count, plural, one{milliseconde} other{millisecondes}}",_A="{count} {count, plural, one{microseconde} other{microsecondes}}",wA="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",Eae={a:hA,mo:pA,wk:mA,d:fA,hr:gA,min:vA,s:bA,ms:yA,us:_A,ns:wA},xA={};oe(xA,{a:()=>EA,d:()=>CA,default:()=>Sae,hr:()=>IA,min:()=>DA,mo:()=>SA,ms:()=>NA,ns:()=>MA,s:()=>TA,us:()=>OA,wk:()=>kA});var EA="{count} {count, plural, one{jaar} other{jaren}}",SA="{count} {count, plural, one{maand} other{maanden}}",kA="{count} {count, plural, one{week} other{weken}}",CA="{count} {count, plural, one{dag} other{dagen}}",IA="{count} {count, plural, one{uur} other{uren}}",DA="{count} {count, plural, one{minuut} other{minuten}}",TA="{count} {count, plural, one{seconde} other{seconden}}",NA="{count} {count, plural, one{milliseconde} other{milliseconden}}",OA="{count} {count, plural, one{microseconde} other{microseconden}}",MA="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",Sae={a:EA,mo:SA,wk:kA,d:CA,hr:IA,min:DA,s:TA,ms:NA,us:OA,ns:MA},kae={nl:xA,fr:dA,de:qR,en:eA},RA={};oe(RA,{"%":()=>AA,"%vv":()=>qP,"%wv":()=>$P,"%ww":()=>GP,"1000/mm3":()=>iP,amp:()=>PA,atptreatment:()=>VL,bag:()=>LA,bitperminute:()=>UP,bol:()=>WP,bot:()=>YP,box:()=>FA,c:()=>kL,can:()=>ZP,cap:()=>KP,cc:()=>QP,cm:()=>XP,cmm:()=>oP,cnt:()=>CL,ctg:()=>SP,ctr:()=>JP,daily:()=>SL,day:()=>sP,default:()=>Cae,degree:()=>rP,dis:()=>dP,drm:()=>IL,fl:()=>jA,fld:()=>hP,flo:()=>pP,ftc:()=>mP,fts:()=>fP,"g/dl":()=>VA,gal:()=>kP,gm:()=>zA,goutte:()=>EP,gr:()=>eL,hour:()=>xP,in:()=>tL,inc:()=>nL,jar:()=>aL,kg:()=>BA,"kg/m2":()=>HA,kit:()=>rL,l:()=>qA,lb:()=>$A,lm:()=>DL,loz:()=>xL,mcg:()=>GA,mcl:()=>UA,mcm:()=>CP,mcn:()=>iL,meq:()=>WA,mg:()=>YA,"mg/dl":()=>ZA,"mg/l":()=>KA,"mg/m2":()=>QA,"mg/ml":()=>XA,mgper100ml:()=>DP,mic:()=>oL,mil:()=>sL,millisecond:()=>wP,min:()=>lL,minute:()=>gP,mis:()=>TL,ml:()=>JA,"ml/min":()=>eP,"ml/min/1.73m2":()=>_L,mm:()=>vP,"mm/h":()=>bP,mmhg:()=>yP,mmo:()=>uL,mol:()=>tP,month:()=>cP,nl:()=>cL,nmg:()=>NL,nmo:()=>OL,ns:()=>PP,ondemand:()=>IP,oz:()=>nP,pel:()=>dL,pg:()=>AP,pkg:()=>hL,pnu:()=>ML,ppm:()=>aP,pt:()=>pL,qs:()=>mL,qt:()=>fL,sap:()=>zL,sat:()=>RL,second:()=>_P,shock:()=>wL,spoon:()=>lP,spr:()=>TP,sqc:()=>gL,stp:()=>AL,sup:()=>LP,syr:()=>OP,tab:()=>FP,tbl:()=>jP,tes:()=>VP,ton:()=>HP,tpn:()=>MP,trc:()=>PL,tro:()=>EL,tsp:()=>BP,tub:()=>RP,umg:()=>vL,unt:()=>zP,vil:()=>NP,vpr:()=>LL,waf:()=>FL,week:()=>uP,x:()=>jL,ydl:()=>bL,yds:()=>yL});var AA="%",PA="{count, plural, one{Glühbirn} other{Glühbirnen}}",LA="Beutel",FA="schachteln",jA="fl",VA="g/dl",zA="g",BA="kg",HA="kg/m²",qA="l",$A="lb",GA="µg",UA="µl",WA="meq",YA="mg",ZA="mg/dl",KA="mg/l",QA="mg/m²",XA="mg/ml",JA="ml",eP="ml/min",tP="mol",nP="oz",aP="ppm",rP="°",iP="1000/mm³",oP="mm³",sP="{count, plural, one{Tag} other{Tage}}",lP="Löffel",uP="{count, plural, one{Woche} other{Wochen}}",cP="{count, plural, one{Monat} other{Monate}}",dP="{count, plural, one{Platte} other{Platten}}",hP="fl dr",pP="fl oz",mP="cu ft",fP="sq ft",gP="{count, plural, one{Minute} other{Minuten}}",vP="mm",bP="mm/h",yP="mmHg",_P="{count, plural, one{Sekunde} other{Sekunden}}",wP="{count, plural, one{Millisekunde} other{Millisekunden}}",xP="{count, plural, one{Stunde} other{Stunden}}",EP="{count, plural, one{Tropf} other{Tropfen}}",SP="{count, plural, one{Kartusche} other{Kartuschen}}",kP="gal",CP="mmol",IP="auf Antrag",DP="mg/100mL",TP="{count, plural, one{Sprühe} other{Sprühen}}",NP="{count, plural, one{Phiole} other{Phiolen}}",OP="{count, plural, one{Spritze} other{Spritzen}}",MP="Tampon",RP="{count, plural, one{Rohr} other{Rohre}}",AP="pg",PP="nicht spezifiziert",LP="{count, plural, one{Zäpfch} other{Zäpfchen}}",FP="{count, plural, one{Tablette} other{Tabletten}}",jP="Esslöffel",VP="Test",zP="{count, plural, one{Einheit} other{Einheiten}}",BP="teelöffel",HP="ton",qP="% v/v",$P="% w/v",GP="% w/w",UP="Schläge pro Minute",WP="Bolus",YP="{count, plural, one{Flasche} other{Fläschchen}}",ZP="Dose",KP="{count, plural, one{Kapsel} other{Kapseln}}",QP="cm3",XP="cm",JP="Halter",eL="Körnchen",tL="in",nL="in²",aL="Glas",rL="Kitt",iL="Micron",oL="µCi",sL="mCi",lL="minim",uL="μmol",cL="normal",dL="{count, plural, one{Pille} other{Pillen}}",hL="{count, plural, one{Paket} other{Pakete}}",pL="Pinte",mL="ausreichende Menge",fL="qt",gL="cm²",vL="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",bL="yd",yL="yd²",_L="mL/min/1.73m²",wL="{count, plural, one{Schock} other{Schocks}}",xL="{count, plural, one{Pastille} other{Pastillen}}",EL="{count, plural, one{Pastille} other{Pastillen}}",SL="täglich",kL="homöopathische Verdünnung (Centesimal 1/100)",CL="cnt",IL="Fass",DL="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",TL="verschiedene",NL="ng",OL="nmol",ML="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",RL="gesättigt",AL="Strip",PL="Spur",LL="Therapieschema abhängig",FL="{count, plural, one{Oblate} other{Oblaten}}",jL="homöopathische Verdünnung (dezimal 1/10)",VL="anzahl der antitachykardie-stimulationsbehandlungen",zL="Kumulativer sap wert",Cae={"%":AA,amp:PA,bag:LA,box:FA,fl:jA,"g/dl":VA,gm:zA,kg:BA,"kg/m2":HA,l:qA,lb:$A,mcg:GA,mcl:UA,meq:WA,mg:YA,"mg/dl":ZA,"mg/l":KA,"mg/m2":QA,"mg/ml":XA,ml:JA,"ml/min":eP,mol:tP,oz:nP,ppm:aP,degree:rP,"1000/mm3":iP,cmm:oP,day:sP,spoon:lP,week:uP,month:cP,dis:dP,fld:hP,flo:pP,ftc:mP,fts:fP,minute:gP,mm:vP,"mm/h":bP,mmhg:yP,second:_P,millisecond:wP,hour:xP,goutte:EP,ctg:SP,gal:kP,mcm:CP,ondemand:IP,mgper100ml:DP,spr:TP,vil:NP,syr:OP,tpn:MP,tub:RP,pg:AP,ns:PP,sup:LP,tab:FP,tbl:jP,tes:VP,unt:zP,tsp:BP,ton:HP,"%vv":qP,"%wv":$P,"%ww":GP,bitperminute:UP,bol:WP,bot:YP,can:ZP,cap:KP,cc:QP,cm:XP,ctr:JP,gr:eL,in:tL,inc:nL,jar:aL,kit:rL,mcn:iL,mic:oL,mil:sL,min:lL,mmo:uL,nl:cL,pel:dL,pkg:hL,pt:pL,qs:mL,qt:fL,sqc:gL,umg:vL,ydl:bL,yds:yL,"ml/min/1.73m2":_L,shock:wL,loz:xL,tro:EL,daily:SL,c:kL,cnt:CL,drm:IL,lm:DL,mis:TL,nmg:NL,nmo:OL,pnu:ML,sat:RL,stp:AL,trc:PL,vpr:LL,waf:FL,x:jL,atptreatment:VL,sap:zL},BL={};oe(BL,{"%":()=>HL,"%vv":()=>qL,"%wv":()=>$L,"%ww":()=>GL,"1000/mm3":()=>UL,amp:()=>WL,atptreatment:()=>YL,bag:()=>ZL,bitperminute:()=>KL,bol:()=>QL,bot:()=>XL,box:()=>JL,c:()=>eF,can:()=>tF,cap:()=>nF,cc:()=>aF,cm:()=>rF,cmm:()=>iF,cnt:()=>oF,ctg:()=>sF,ctr:()=>lF,daily:()=>uF,day:()=>cF,default:()=>Iae,degree:()=>dF,dis:()=>hF,drm:()=>pF,fl:()=>mF,fld:()=>fF,flo:()=>gF,ftc:()=>vF,fts:()=>bF,"g/dl":()=>yF,gal:()=>_F,gm:()=>wF,goutte:()=>xF,gr:()=>EF,hour:()=>SF,in:()=>kF,inc:()=>CF,jar:()=>IF,kg:()=>DF,"kg/m2":()=>TF,kit:()=>NF,l:()=>OF,lb:()=>MF,lm:()=>RF,loz:()=>AF,mcg:()=>PF,mcl:()=>LF,mcm:()=>FF,mcn:()=>jF,meq:()=>VF,mg:()=>zF,"mg/dl":()=>BF,"mg/l":()=>HF,"mg/m2":()=>qF,"mg/ml":()=>$F,mgper100ml:()=>GF,mic:()=>UF,mil:()=>WF,millisecond:()=>YF,min:()=>ZF,minute:()=>KF,mis:()=>QF,ml:()=>XF,"ml/min":()=>JF,"ml/min/1.73m2":()=>ej,mm:()=>tj,"mm/h":()=>nj,mmhg:()=>aj,mmo:()=>rj,mol:()=>ij,month:()=>oj,nl:()=>sj,nmg:()=>lj,nmo:()=>uj,ns:()=>cj,ondemand:()=>dj,oz:()=>hj,pel:()=>pj,pg:()=>mj,pkg:()=>fj,pnu:()=>gj,ppm:()=>vj,pt:()=>bj,qs:()=>yj,qt:()=>Yj,sap:()=>_j,sat:()=>wj,second:()=>xj,shock:()=>Ej,spoon:()=>Sj,spr:()=>kj,sqc:()=>Cj,stp:()=>Ij,sup:()=>Dj,syr:()=>Tj,tab:()=>Nj,tbl:()=>Oj,tes:()=>Mj,ton:()=>Rj,tpn:()=>Aj,trc:()=>Pj,tro:()=>Lj,tsp:()=>Fj,tub:()=>jj,umg:()=>Vj,unt:()=>zj,vil:()=>Bj,vpr:()=>Hj,waf:()=>qj,week:()=>$j,x:()=>Gj,ydl:()=>Uj,yds:()=>Wj});var HL="%",qL="% v/v",$L="% w/v",GL="% w/w",UL="1000/mm³",WL="{count, plural, one{ampule} other{ampules}}",YL="Number of treatments by anti-tachycardia pacing",ZL="{count, plural, one{bag} other{bags}}",KL="{count, plural, one{bit per minute} other{bits per minute}}",QL="bolus",XL="{count, plural, one{bottle} other{bottles}}",JL="{count, plural, one{box} other{boxes}}",eF="homeopathic dilution (centesimal 1/100)",tF="{count, plural, one{can} other{cans}}",nF="{count, plural, one{capsule} other{capsules}}",aF="cm³",rF="cm",iF="mm³",oF="cnt",sF="{count, plural, one{cartridge} other{cartridges}}",lF="{count, plural, one{container} other{containers}}",uF="daily",cF="{count, plural, one{day} other{days}}",dF="°",hF="{count, plural, one{disk} other{disks}}",pF="drum",mF="{count, plural, one{fluid} other{fluids}}",fF="fl dr",gF="{count, plural, one{fluid ounce} other{fluid ounces}}",vF="cu ft",bF="sq ft",yF="g/dl",_F="{count, plural, one{gallon} other{gallons}}",wF="g",xF="{count, plural, one{drop} other{drops}}",EF="{count, plural, one{grain} other{grains}}",SF="{count, plural, one{hour} other{hours}}",kF="{count, plural, one{inch} other{inches}}",CF="in²",IF="{count, plural, one{jar} other{jars}}",DF="kg",TF="kg/m²",NF="kit",OF="{count, plural, one{liter} other{liters}}",MF="{count, plural, one{pound} other{pounds}}",RF="homeopathic dilution (fifty millesimal 1/50,000)",AF="{count, plural, one{lozenge} other{lozenges}}",PF="µg",LF="µl",FF="mmol",jF="micron",VF="milliequivalent",zF="mg",BF="mg/dl",HF="mg/l",qF="mg/m²",$F="mg/ml",GF="mg/100mL",UF="µCi",WF="mCi",YF="{count, plural, one{millisecond} other{milliseconds}}",ZF="minim",KF="{count, plural, one{minute} other{minutes}}",QF="miscellaneous",XF="{count, plural, one{milliliter} other{milliliters}}",JF="ml/min",ej="mL/min/1.73m²",tj="mm",nj="mm/h",aj="mmHg",rj="μmol",ij="mol",oj="{count, plural, one{month} other{months}}",sj="normal",lj="ng",uj="nmol",cj="not stated",dj="on demand",hj="{count, plural, one{ounce} other{ounces}}",pj="{count, plural, one{pellet} other{pellets}}",mj="pg",fj="{count, plural, one{package} other{packages}}",gj="{count, plural, one{protein unit} other{protein unit}}",vj="ppm",bj="{count, plural, one{pint} other{pints}}",yj="quantity sufficient",_j="Cumulative sap value",wj="saturated",xj="{count, plural, one{second} other{seconds}}",Ej="shock",Sj="{count, plural, one{spoon} other{spoons}}",kj="{count, plural, one{spray} other{sprays}}",Cj="cm²",Ij="{count, plural, one{strip} other{strips}}",Dj="{count, plural, one{suppository} other{suppositories}}",Tj="{count, plural, one{syrynge} other{syrynges}}",Nj="{count, plural, one{tablet} other{tablets}}",Oj="{count, plural, one{tablespoon} other{tablespoons}}",Mj="{count, plural, one{test} other{tests}}",Rj="{count, plural, one{ton} other{tons}}",Aj="{count, plural, one{tampon} other{tampons}}",Pj="{count, plural, one{trace} other{traces}}",Lj="{count, plural, one{troche} other{troches}}",Fj="{count, plural, one{teaspoon} other{teaspoons}}",jj="{count, plural, one{tube} other{tubes}}",Vj="UNITS PER MILLIGRAM",zj="{count, plural, one{unit} other{units}}",Bj="{count, plural, one{vial} other{vials}}",Hj="varies per regimen",qj="{count, plural, one{wafer} other{wafers}}",$j="{count, plural, one{week} other{weeks}}",Gj="homeopathic dilution (decimal 1/10)",Uj="yd",Wj="yd²",Yj="qt",Iae={"%":HL,"%vv":qL,"%wv":$L,"%ww":GL,"1000/mm3":UL,amp:WL,atptreatment:YL,bag:ZL,bitperminute:KL,bol:QL,bot:XL,box:JL,c:eF,can:tF,cap:nF,cc:aF,cm:rF,cmm:iF,cnt:oF,ctg:sF,ctr:lF,daily:uF,day:cF,degree:dF,dis:hF,drm:pF,fl:mF,fld:fF,flo:gF,ftc:vF,fts:bF,"g/dl":yF,gal:_F,gm:wF,goutte:xF,gr:EF,hour:SF,in:kF,inc:CF,jar:IF,kg:DF,"kg/m2":TF,kit:NF,l:OF,lb:MF,lm:RF,loz:AF,mcg:PF,mcl:LF,mcm:FF,mcn:jF,meq:VF,mg:zF,"mg/dl":BF,"mg/l":HF,"mg/m2":qF,"mg/ml":$F,mgper100ml:GF,mic:UF,mil:WF,millisecond:YF,min:ZF,minute:KF,mis:QF,ml:XF,"ml/min":JF,"ml/min/1.73m2":ej,mm:tj,"mm/h":nj,mmhg:aj,mmo:rj,mol:ij,month:oj,nl:sj,nmg:lj,nmo:uj,ns:cj,ondemand:dj,oz:hj,pel:pj,pg:mj,pkg:fj,pnu:gj,ppm:vj,pt:bj,qs:yj,sap:_j,sat:wj,second:xj,shock:Ej,spoon:Sj,spr:kj,sqc:Cj,stp:Ij,sup:Dj,syr:Tj,tab:Nj,tbl:Oj,tes:Mj,ton:Rj,tpn:Aj,trc:Pj,tro:Lj,tsp:Fj,tub:jj,umg:Vj,unt:zj,vil:Bj,vpr:Hj,waf:qj,week:$j,x:Gj,ydl:Uj,yds:Wj,qt:Yj},Zj={};oe(Zj,{"%":()=>Kj,"%vv":()=>iV,"%wv":()=>oV,"%ww":()=>sV,"1000/mm3":()=>w3,amp:()=>Qj,atptreatment:()=>tz,bag:()=>Xj,bitperminute:()=>lV,bol:()=>uV,bot:()=>cV,box:()=>Jj,c:()=>BV,can:()=>dV,cap:()=>hV,cc:()=>pV,cm:()=>mV,cmm:()=>x3,cnt:()=>HV,ctg:()=>z3,ctr:()=>fV,daily:()=>zV,day:()=>E3,default:()=>Dae,degree:()=>_3,dis:()=>I3,drm:()=>qV,fl:()=>e3,fld:()=>D3,flo:()=>T3,ftc:()=>N3,fts:()=>O3,"g/dl":()=>t3,gal:()=>B3,gm:()=>n3,goutte:()=>V3,gr:()=>gV,hour:()=>j3,in:()=>vV,inc:()=>bV,jar:()=>yV,kg:()=>a3,"kg/m2":()=>r3,kit:()=>_V,l:()=>i3,lb:()=>o3,lm:()=>$V,loz:()=>jV,mcg:()=>s3,mcl:()=>l3,mcm:()=>H3,mcn:()=>wV,meq:()=>u3,mg:()=>c3,"mg/dl":()=>d3,"mg/l":()=>h3,"mg/m2":()=>p3,"mg/ml":()=>m3,mgper100ml:()=>$3,mic:()=>xV,mil:()=>EV,millisecond:()=>F3,min:()=>SV,minute:()=>M3,mis:()=>GV,ml:()=>f3,"ml/min":()=>g3,"ml/min/1.73m2":()=>LV,mm:()=>R3,"mm/h":()=>A3,mmhg:()=>P3,mmo:()=>kV,mol:()=>v3,month:()=>C3,nl:()=>CV,nmg:()=>UV,nmo:()=>WV,ns:()=>Q3,ondemand:()=>q3,oz:()=>b3,pel:()=>IV,pg:()=>K3,pkg:()=>DV,pnu:()=>YV,ppm:()=>y3,pt:()=>TV,qs:()=>NV,qt:()=>OV,sap:()=>nz,sat:()=>ZV,second:()=>L3,shock:()=>FV,spoon:()=>S3,spr:()=>G3,sqc:()=>MV,stp:()=>KV,sup:()=>X3,syr:()=>W3,tab:()=>J3,tbl:()=>eV,tes:()=>tV,ton:()=>rV,tpn:()=>Y3,trc:()=>QV,tro:()=>VV,tsp:()=>aV,tub:()=>Z3,umg:()=>RV,unt:()=>nV,vil:()=>U3,vpr:()=>XV,waf:()=>JV,week:()=>k3,x:()=>ez,ydl:()=>AV,yds:()=>PV});var Kj="%",Qj="{count, plural, one{ampoule} other{ampoules}}",Xj="{count, plural, one{sac} other{sacs}}",Jj="{count, plural, one{vaporisateur} other{vaporisateurs}}",e3="fl",t3="g/dl",n3="g",a3="kg",r3="kg/m²",i3="l",o3="lb",s3="µg",l3="µl",u3="milli-equivalent",c3="mg",d3="mg/dl",h3="mg/l",p3="mg/m²",m3="mg/ml",f3="ml",g3="ml/min",v3="mol",b3="oz",y3="ppm",_3="°",w3="1000/mm³",x3="mm³",E3="{count, plural, one{jour(s)} other{jours}}",S3="{count, plural, one{cuillère} other{cuillères}}",k3="{count, plural, one{semaine} other{semaines}}",C3="mois",I3="{count, plural, one{disque} other{disques}}",D3="fl dr",T3="fl oz",N3="cu ft",O3="sq ft",M3="{count, plural, one{minute} other{minutes}}",R3="mm",A3="mm/h",P3="mmHg",L3="{count, plural, one{seconde} other{secondes}}",F3="{count, plural, one{milliseconde} other{millisecondes}}",j3="{count, plural, one{heure} other{heures}}",V3="{count, plural, one{goutte} other{gouttes}}",z3="{count, plural, one{cartouche} other{cartouches}}",B3="gal",H3="mmol",q3="sur demande",$3="mg/100mL",G3="spray",U3="{count, plural, one{fiole} other{fioles}}",W3="{count, plural, one{seringue} other{seringues}}",Y3="{count, plural, one{tampon} other{tampons}}",Z3="{count, plural, one{tube} other{tubes}}",K3="pg",Q3="non spécifié",X3="{count, plural, one{suppositoire} other{suppositoires}}",J3="{count, plural, one{tablette} other{tablettes}}",eV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",tV="{count, plural, one{test} other{tests}}",nV="{count, plural, one{unité} other{unités}}",aV="{count, plural, one{cuillère à café} other{cuillères à café}}",rV="{count, plural, one{ton} other{tons}}",iV="% v/v",oV="% w/v",sV="% w/w",lV="{count, plural, one{battement par minute} other{battements par minute}}",uV="{count, plural, one{bolus} other{bolus}}",cV="{count, plural, one{bouteille} other{bouteilles}}",dV="{count, plural, one{canette} other{canettes}}",hV="{count, plural, one{capsule} other{capsules}}",pV="cm3",mV="cm",fV="{count, plural, one{conteneur} other{conteneurs}}",gV="{count, plural, one{granule} other{granules}}",vV="in",bV="in²",yV="pot",_V="{count, plural, one{kit} other{kits}}",wV="micron",xV="µCi",EV="mCi",SV="minim",kV="μmol",CV="normal",IV="{count, plural, one{pilule} other{pilules}}",DV="{count, plural, one{paquet} other{paquets}}",TV="pinte",NV="quantité suffisante",OV="qt",MV="cm²",RV="{count, plural, one{unité / mg} other{unités / mg}}",AV="yd",PV="yd²",LV="mL/min/1.73m²",FV="choc",jV="{count, plural, one{pastille} other{pastilles}}",VV="{count, plural, one{pastille} other{pastilles}}",zV="journalier",BV="dilution homéopathique (centésimal 1/100)",HV="cnt",qV="fût",$V="dilution homéopathique (50 millisimaux au ratio 1:50,000)",GV="divers",UV="ng",WV="nmol",YV="{count, plural, one{unité protéique} other{unités protéiques}}",ZV="saturé",KV="strip",QV="trace",XV="dépendant du schéma thérapeutique",JV="{count, plural, one{hostie} other{hosties}}",ez="dilution homéopathique (décimal 1/10)",tz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",nz="Valeur sap cumulative",Dae={"%":Kj,amp:Qj,bag:Xj,box:Jj,fl:e3,"g/dl":t3,gm:n3,kg:a3,"kg/m2":r3,l:i3,lb:o3,mcg:s3,mcl:l3,meq:u3,mg:c3,"mg/dl":d3,"mg/l":h3,"mg/m2":p3,"mg/ml":m3,ml:f3,"ml/min":g3,mol:v3,oz:b3,ppm:y3,degree:_3,"1000/mm3":w3,cmm:x3,day:E3,spoon:S3,week:k3,month:C3,dis:I3,fld:D3,flo:T3,ftc:N3,fts:O3,minute:M3,mm:R3,"mm/h":A3,mmhg:P3,second:L3,millisecond:F3,hour:j3,goutte:V3,ctg:z3,gal:B3,mcm:H3,ondemand:q3,mgper100ml:$3,spr:G3,vil:U3,syr:W3,tpn:Y3,tub:Z3,pg:K3,ns:Q3,sup:X3,tab:J3,tbl:eV,tes:tV,unt:nV,tsp:aV,ton:rV,"%vv":iV,"%wv":oV,"%ww":sV,bitperminute:lV,bol:uV,bot:cV,can:dV,cap:hV,cc:pV,cm:mV,ctr:fV,gr:gV,in:vV,inc:bV,jar:yV,kit:_V,mcn:wV,mic:xV,mil:EV,min:SV,mmo:kV,nl:CV,pel:IV,pkg:DV,pt:TV,qs:NV,qt:OV,sqc:MV,umg:RV,ydl:AV,yds:PV,"ml/min/1.73m2":LV,shock:FV,loz:jV,tro:VV,daily:zV,c:BV,cnt:HV,drm:qV,lm:$V,mis:GV,nmg:UV,nmo:WV,pnu:YV,sat:ZV,stp:KV,trc:QV,vpr:XV,waf:JV,x:ez,atptreatment:tz,sap:nz},az={};oe(az,{"%":()=>rz,"%vv":()=>pB,"%wv":()=>mB,"%ww":()=>fB,"1000/mm3":()=>Tz,amp:()=>iz,atptreatment:()=>u5,bag:()=>oz,bitperminute:()=>gB,bol:()=>vB,bot:()=>bB,box:()=>sz,c:()=>ZB,can:()=>yB,cap:()=>_B,cc:()=>wB,cm:()=>xB,cmm:()=>Nz,cnt:()=>KB,ctg:()=>Yz,ctr:()=>EB,daily:()=>YB,day:()=>Oz,default:()=>Tae,degree:()=>Dz,dis:()=>Pz,drm:()=>QB,fl:()=>lz,fld:()=>Lz,flo:()=>Fz,ftc:()=>jz,fts:()=>Vz,"g/dl":()=>uz,gal:()=>Zz,gm:()=>cz,goutte:()=>Wz,gr:()=>SB,hour:()=>Uz,in:()=>kB,inc:()=>CB,jar:()=>IB,kg:()=>dz,"kg/m2":()=>hz,kit:()=>DB,l:()=>pz,lb:()=>mz,lm:()=>XB,loz:()=>UB,mcg:()=>fz,mcl:()=>gz,mcm:()=>Kz,mcn:()=>TB,meq:()=>vz,mg:()=>bz,"mg/dl":()=>yz,"mg/l":()=>_z,"mg/m2":()=>wz,"mg/ml":()=>xz,mgper100ml:()=>Xz,mic:()=>NB,mil:()=>OB,millisecond:()=>Gz,min:()=>MB,minute:()=>zz,mis:()=>JB,ml:()=>Ez,"ml/min":()=>Sz,"ml/min/1.73m2":()=>$B,mm:()=>Bz,"mm/h":()=>Hz,mmhg:()=>qz,mmo:()=>RB,mol:()=>kz,month:()=>Az,nl:()=>AB,nmg:()=>e5,nmo:()=>t5,ns:()=>iB,ondemand:()=>Qz,oz:()=>Cz,pel:()=>PB,pg:()=>rB,pkg:()=>LB,pnu:()=>n5,ppm:()=>Iz,pt:()=>FB,qs:()=>jB,qt:()=>VB,sap:()=>c5,sat:()=>a5,second:()=>$z,shock:()=>GB,spoon:()=>Mz,spr:()=>Jz,sqc:()=>zB,stp:()=>r5,sup:()=>oB,syr:()=>tB,tab:()=>sB,tbl:()=>lB,tes:()=>uB,ton:()=>hB,tpn:()=>nB,trc:()=>i5,tro:()=>WB,tsp:()=>dB,tub:()=>aB,umg:()=>BB,unt:()=>cB,vil:()=>eB,vpr:()=>o5,waf:()=>s5,week:()=>Rz,x:()=>l5,ydl:()=>HB,yds:()=>qB});var rz="%",iz="{count, plural, one{ampule} other{ampullen}}",oz="{count, plural, one{zak} other{zakken}}",sz="{count, plural, one{verstuiver} other{verstuivers}}",lz="fl",uz="g/dl",cz="g",dz="kg",hz="kg/m²",pz="l",mz="lb",fz="µg",gz="µl",vz="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",bz="mg",yz="mg/dl",_z="mg/l",wz="mg/m²",xz="mg/ml",Ez="ml",Sz="ml/min",kz="mol",Cz="oz",Iz="ppm",Dz="°",Tz="1000/mm³",Nz="mm³",Oz="{count, plural, one{dag} other{dagen}}",Mz="{count, plural, one{lepel} other{lepels}}",Rz="{count, plural, one{week} other{weken}}",Az="{count, plural, one{maand} other{maanden}}",Pz="{count, plural, one{schijf} other{schijven}}",Lz="fl dr",Fz="fl oz",jz="cu ft",Vz="sq ft",zz="{count, plural, one{minuut} other{minuten}}",Bz="mm",Hz="mm/h",qz="mmHg",$z="{count, plural, one{seconde} other{seconden}}",Gz="{count, plural, one{milliseconde} other{milliseconden}}",Uz="{count, plural, one{uur} other{uren}}",Wz="{count, plural, one{druppel} other{druppels}}",Yz="{count, plural, one{patroon} other{patronen}}",Zz="gal",Kz="mmol",Qz="op aanvraag",Xz="mg/100mL",Jz="{count, plural, one{spray} other{sprays}}",eB="{count, plural, one{flesje} other{flesjes}}",tB="{count, plural, one{spuit} other{spuiten}}",nB="{count, plural, one{tampon} other{tampons}}",aB="{count, plural, one{buis} other{buizen}}",rB="pg",iB="niet gespecificeerd",oB="{count, plural, one{zetpil} other{zetpillen}}",sB="{count, plural, one{tablet} other{tabletten}}",lB="{count, plural, one{eetlepel} other{eetlepels}}",uB="{count, plural, one{test} other{tests}}",cB="{count, plural, one{eenheid} other{eenheden}}",dB="{count, plural, one{theelepel} other{theelepels}}",hB="{count, plural, one{ton} other{tonnen}}",pB="% v/v",mB="% w/v",fB="% w/w",gB="{count, plural, one{slag per minuut} other{slagen per minuut}}",vB="bolus",bB="{count, plural, one{fles} other{flessen}}",yB="{count, plural, one{blikje} other{blikjes}}",_B="{count, plural, one{capsule} other{capsules}}",wB="cm3",xB="cm",EB="{count, plural, one{houder} other{houders}}",SB="{count, plural, one{korrel} other{korrels}}",kB="in",CB="in²",IB="{count, plural, one{pot} other{potten}}",DB="{count, plural, one{kit} other{kits}}",TB="micron",NB="µCi",OB="mCi",MB="minim",RB="μmol",AB="normaal",PB="{count, plural, one{pil} other{pillen}}",LB="{count, plural, one{pakket} other{pakketten}}",FB="{count, plural, one{pint} other{pinten}}",jB="voldoende hoeveelheid",VB="qt",zB="cm²",BB="{count, plural, one{eenheid / mg} other{eenheden / mg}}",HB="yd",qB="yd²",$B="mL/min/1.73m²",GB="{count, plural, one{schok} other{schokken}}",UB="{count, plural, one{zuigtablet} other{zuigtabletten}}",WB="{count, plural, one{zuigtablet} other{zuigtabletten}}",YB="dagelijks",ZB="homeopathische verdunning (centesimal 1/100)",KB="cnt",QB="vat",XB="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",JB="diverse",e5="ng",t5="nmol",n5="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",a5="verzadigd",r5="{count, plural, one{strip} other{strips}}",i5="{count, plural, one{spoor} other{sporen}}",o5="behandelingsschema-afhankelijk",s5="{count, plural, one{ouwel} other{ouwels}}",l5="homeopathische verdunning (decimaal 1/10)",u5="aantal anti-tachycardie-stimulatiebehandelingen",c5="Cumulatieve sap waarde",Tae={"%":rz,amp:iz,bag:oz,box:sz,fl:lz,"g/dl":uz,gm:cz,kg:dz,"kg/m2":hz,l:pz,lb:mz,mcg:fz,mcl:gz,meq:vz,mg:bz,"mg/dl":yz,"mg/l":_z,"mg/m2":wz,"mg/ml":xz,ml:Ez,"ml/min":Sz,mol:kz,oz:Cz,ppm:Iz,degree:Dz,"1000/mm3":Tz,cmm:Nz,day:Oz,spoon:Mz,week:Rz,month:Az,dis:Pz,fld:Lz,flo:Fz,ftc:jz,fts:Vz,minute:zz,mm:Bz,"mm/h":Hz,mmhg:qz,second:$z,millisecond:Gz,hour:Uz,goutte:Wz,ctg:Yz,gal:Zz,mcm:Kz,ondemand:Qz,mgper100ml:Xz,spr:Jz,vil:eB,syr:tB,tpn:nB,tub:aB,pg:rB,ns:iB,sup:oB,tab:sB,tbl:lB,tes:uB,unt:cB,tsp:dB,ton:hB,"%vv":pB,"%wv":mB,"%ww":fB,bitperminute:gB,bol:vB,bot:bB,can:yB,cap:_B,cc:wB,cm:xB,ctr:EB,gr:SB,in:kB,inc:CB,jar:IB,kit:DB,mcn:TB,mic:NB,mil:OB,min:MB,mmo:RB,nl:AB,pel:PB,pkg:LB,pt:FB,qs:jB,qt:VB,sqc:zB,umg:BB,ydl:HB,yds:qB,"ml/min/1.73m2":$B,shock:GB,loz:UB,tro:WB,daily:YB,c:ZB,cnt:KB,drm:QB,lm:XB,mis:JB,nmg:e5,nmo:t5,pnu:n5,sat:a5,stp:r5,trc:i5,vpr:o5,waf:s5,x:l5,atptreatment:u5,sap:c5},Nae={nl:az,fr:Zj,de:RA,en:BL},d5={};oe(d5,{default:()=>Oae,header:()=>h5,patient:()=>p5,professional:()=>m5});var h5="Ausgegebene Medikamente?",p5={part1:{1:"Die Liste kann",2:" unvollständig ",3:"sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für Sie bestimmt ",3:"sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen."},part3:{1:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu",2:" Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung."}},m5={part1:{1:"Die Liste kann",2:" unvollständig ",3:": , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für diesen Patienten bestimmt ",3:"sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."}},Oae={header:h5,patient:p5,professional:m5},f5={};oe(f5,{default:()=>Mae,header:()=>g5,patient:()=>v5,professional:()=>b5});var g5="How to interpret the list?",v5={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."},part3:{1:"If in doubt, always consult your doctor or pharmacist. This information is provided",2:"for informational purposes and is not a substitute for professional medical advice."}},b5={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."}},Mae={header:g5,patient:v5,professional:b5},y5={};oe(y5,{default:()=>Rae,header:()=>_5,patient:()=>w5,professional:()=>x5});var _5="Comment interpréter la liste?",w5={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne vous concernent pas. ",3:"Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres."},part3:{1:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes",2:" à titre informatif et ne remplacent pas un avis médical professionnel."}},x5={part1:{1:"Cette liste",2:" peut être incomplète ",3:": 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:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},Rae={header:_5,patient:w5,professional:x5},E5={};oe(E5,{default:()=>Aae,header:()=>S5,patient:()=>k5,professional:()=>C5});var S5="Hoe de lijst interpreteren?",k5={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},C5={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:": is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor deze patiënt bestemd ",3:"zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."}},Aae={header:S5,patient:k5,professional:C5},Pae={nl:E5,fr:y5,de:d5,en:f5},I5={};oe(I5,{default:()=>Lae,headers:()=>D5,magisterialPreparation:()=>T5,noContent:()=>N5});var D5={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},T5="Verschreibungurarzneimittel",N5="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Lae={headers:D5,magisterialPreparation:T5,noContent:N5},O5={};oe(O5,{default:()=>Fae,headers:()=>M5,magisterialPreparation:()=>R5,noContent:()=>A5});var M5={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},R5="Magistral preparation",A5="There is no delivered medication found for this patient.",Fae={headers:M5,magisterialPreparation:R5,noContent:A5},P5={};oe(P5,{default:()=>jae,headers:()=>L5,magisterialPreparation:()=>F5,noContent:()=>j5});var L5={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},F5="Préparation magistrale",j5="Aucun médicament délivré n'a été retrouvé pour ce patient.",jae={headers:L5,magisterialPreparation:F5,noContent:j5},V5={};oe(V5,{default:()=>Vae,headers:()=>z5,magisterialPreparation:()=>B5,noContent:()=>H5});var z5={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},B5="Magistrale bereiding",H5="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Vae={headers:z5,magisterialPreparation:B5,noContent:H5},zae={nl:V5,fr:P5,de:I5,en:O5},q5={};oe(q5,{composition:()=>$5,default:()=>Bae,"delivered-by":()=>K5,"delivery-date":()=>Z5,dguid:()=>U5,"is-prescribed":()=>W5,leaflet:()=>a4,"magisterial-preparation":()=>n4,medication:()=>i4,"no-pharmacy":()=>e4,noDetails:()=>o4,package:()=>r4,patient:()=>t4,posologie:()=>G5,quantity:()=>Y5,"return-delivery-date":()=>X5,"returned-by":()=>J5,"returned-quantity":()=>Q5});var $5="Zusammensetzung",G5="Dosierung",U5="ID Ausgabe",W5={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},Y5="Gelieferte Menge",Z5="Lieferdatum",K5="Geliefert von",Q5="Zurückgenommene Menge",X5="Rücknahme am",J5="Rücknahme durch",e4="Apotheke mit LIKIV-Erkennungsnummer",t4="Patient",n4="Verschreibungurarzneimittel",a4="Packungsbeilage",r4="{count, plural, one{Verpackung} other{Verpackungen}}",i4="Arzneimittel",o4="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Bae={composition:$5,posologie:G5,dguid:U5,"is-prescribed":W5,quantity:Y5,"delivery-date":Z5,"delivered-by":K5,"returned-quantity":Q5,"return-delivery-date":X5,"returned-by":J5,"no-pharmacy":e4,patient:t4,"magisterial-preparation":n4,leaflet:a4,package:r4,medication:i4,noDetails:o4},s4={};oe(s4,{composition:()=>l4,default:()=>Hae,"delivered-by":()=>u4,"delivery-date":()=>c4,dguid:()=>d4,"is-prescribed":()=>h4,leaflet:()=>p4,"magisterial-preparation":()=>m4,medication:()=>f4,"no-pharmacy":()=>g4,noDetails:()=>v4,package:()=>b4,patient:()=>y4,posologie:()=>_4,quantity:()=>w4,"return-delivery-date":()=>S4,"returned-by":()=>k4,"returned-quantity":()=>E4,title:()=>x4});var l4="Composition",u4="Dispensed by",c4="Date dispensed",d4="Dispensing ID",h4={no:"No",title:"Was prescribed",yes:"Yes"},p4="Package leaflet",m4="Compounded preparation",f4="Medication",g4="Pharmacy with NIHDI number",v4="The requested information has been deleted or doesn't exist.",b4="{count, plural, one{package} other{packages}}",y4="Patient",_4="Dosage",w4="Dispensed quality",x4="Detail of the dispensed medication",E4="Returned quantity",S4="Return on",k4="Return by",Hae={composition:l4,"delivered-by":u4,"delivery-date":c4,dguid:d4,"is-prescribed":h4,leaflet:p4,"magisterial-preparation":m4,medication:f4,"no-pharmacy":g4,noDetails:v4,package:b4,patient:y4,posologie:_4,quantity:w4,title:x4,"returned-quantity":E4,"return-delivery-date":S4,"returned-by":k4},C4={};oe(C4,{composition:()=>I4,default:()=>qae,"delivered-by":()=>R4,"delivery-date":()=>M4,dguid:()=>T4,"is-prescribed":()=>N4,leaflet:()=>z4,"magisterial-preparation":()=>V4,medication:()=>H4,"no-pharmacy":()=>F4,noDetails:()=>q4,package:()=>B4,patient:()=>j4,posologie:()=>D4,quantity:()=>O4,"return-delivery-date":()=>P4,"returned-by":()=>L4,"returned-quantity":()=>A4});var I4="Composition",D4="Posologie",T4="ID délivrance",N4={title:"A été prescrit",yes:"Oui",no:"Non"},O4="Quantité délivrée",M4="Date de délivrance",R4="Délivré par",A4="Quantité retournée",P4="Retour le",L4="Retour par",F4="Pharmacie avec numéro INAMI",j4="Patient",V4="Préparation magistrale",z4="Notice d'information",B4="{count, plural, one{emballage} other{emballages}}",H4="Médicament",q4="La prescription demandée a été supprimée ou n'existe pas.",qae={composition:I4,posologie:D4,dguid:T4,"is-prescribed":N4,quantity:O4,"delivery-date":M4,"delivered-by":R4,"returned-quantity":A4,"return-delivery-date":P4,"returned-by":L4,"no-pharmacy":F4,patient:j4,"magisterial-preparation":V4,leaflet:z4,package:B4,medication:H4,noDetails:q4},$4={};oe($4,{composition:()=>G4,default:()=>$ae,"delivered-by":()=>Q4,"delivery-date":()=>K4,dguid:()=>W4,"is-prescribed":()=>Y4,leaflet:()=>r9,"magisterial-preparation":()=>a9,medication:()=>o9,"no-pharmacy":()=>t9,noDetails:()=>s9,package:()=>i9,patient:()=>n9,posologie:()=>U4,quantity:()=>Z4,"return-delivery-date":()=>J4,"returned-by":()=>e9,"returned-quantity":()=>X4});var G4="Samenstelling",U4="Posologie",W4="ID aflevering",Y4={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},Z4="Afgeleverde hoeveelheid",K4="Datum afgeleverd",Q4="Afgeleverd door",X4="Teruggenomen hoeveelheid",J4="Terugname op",e9="Terugname door",t9="Apotheek met RIZIV-nummer",n9="Patiënt",a9="Magistrale bereiding",r9="Bijsluiter",i9="{count, plural, one{verpakking} other{verpakkingen}}",o9="Geneesmiddel(en)",s9="Het gevraagde voorschrift is verwijderd of bestaat niet.",$ae={composition:G4,posologie:U4,dguid:W4,"is-prescribed":Y4,quantity:Z4,"delivery-date":K4,"delivered-by":Q4,"returned-quantity":X4,"return-delivery-date":J4,"returned-by":e9,"no-pharmacy":t9,patient:n9,"magisterial-preparation":a9,leaflet:r9,package:i9,medication:o9,noDetails:s9},Gae={nl:$4,fr:C4,de:q5,en:s4},Uae=class extends jo{getTranslation(e){return at({commons:Wt(se({},cae[e]),{units:Nae[e],galenicFormCodes:iae[e],timeUnits:kae[e],administrationUnits:$ne[e],periods:fae[e],days:Zne[e],posology:_ae[e],errors:eae[e]}),deliveredMedicationsList:zae[e],deliveredMedicationsDisclaimer:Pae[e],deliveredMedicationDetails:Gae[e]})}},Wae=[Rne,oK({defaultLanguage:"fr",loader:{provide:jo,useClass:Uae},compiler:{provide:zo,useClass:Fne}})],l9=(()=>{const t=class t{constructor(){this.http=C(yi)}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})(),Yae={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{identifier:{value:"0589028",type:rr.COMPOUND},name:[{value:"ERYTHROMYCINE SOL. HYDRO-ALC. 4% FTM2"}],quantity:{value:1},instructions:[{lang:h.FR,value:"magistralPreparation - formularyReference"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5d5b8138-4941-8359-de2f-77d560f6f0ef",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.EN,value:"Posology free text"},{lang:h.EN,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{quantity:{value:1},ingredients:[{identifier:{value:"1543305",type:rr.CNK},name:[{value:"ATROVENT MONODOSE 0,25MG/2ML VIALS 20"}],prefix:"ad",value:10,unit:"ml"},{identifier:{value:"1484229",type:rr.CNK},name:[{value:"Panadol 1 g comp. 50"}]},{identifier:{value:"0525337",type:rr.CNK},name:[{value:"GLYCEROL"}],value:.2,unit:"gm"}],instructions:[{lang:h.FR,value:"magistralPreparation - compound (all cases)"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5715ad8c-d6ab-27b4-83f5-44ca67d5d00a",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:rr.CNK},name:[{lang:h.NL,value:"SINUTAB FORTE 500/60 MG COMP 20"},{lang:h.FR,value:"SINUTAB FORTE 500/60 MG COMP 20"},{value:"SINUTAB FORTE 500/60 MG COMP 20"}],quantity:{value:2},instructions:[{lang:h.FR,value:"productCode"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{name:[{value:"unregisteredProduct"}],quantity:{value:1},instructions:[{lang:h.FR,value:"unregisteredProduct"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"28a8545b-7e79-4669-1956-67266e46b225",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!1}]},u9=(()=>{const t=class t{constructor(){this.demoService=C(Xte)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Yae)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),c9=(()=>{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})(),Zae=(e,t)=>e.getEnvironmentVariable("env")===Aa.DEMO?t.get(u9):t.get(l9),Kae={provide:c9,useFactory:Zae,deps:[wi,rt]},Mf=(()=>{const t=class t extends V1{constructor(n,r){super(n.getServices(),ho.DELIVERED_MEDICATIONS,r.getInstance().isOfflineAuthenticated,r.getInstance().isOfflineDataStorageEnabled,ho.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=C(c9),this.authServiceSelector=C(si),this.deliveredMedicationsStateSubject$=new bd({status:Yr.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return Et(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),r=this.deliveredMedicationsApiService.get(n);return KH(r)})}getDeliveredMedications(n=!0){return Et(this,null,function*(){return tne(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(te(Ul),te(si))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),_s;function Qae(){if(_s===void 0&&(_s=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(_s=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return _s}function Ri(e){var t;return((t=Qae())==null?void 0:t.createHTML(e))||e}function Rf(e){return Error(`Unable to find icon with the name "${e}"`)}function Xae(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Af(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Pf(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var er=class{constructor(e,t,a){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=a}},Jae=(()=>{const t=class t{constructor(n,r,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=r,this._errorHandler=o,this._document=i}addSvgIcon(n,r,i){return this.addSvgIconInNamespace("",n,r,i)}addSvgIconLiteral(n,r,i){return this.addSvgIconLiteralInNamespace("",n,r,i)}addSvgIconInNamespace(n,r,i,o){return this._addSvgIconConfig(n,r,new er(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){let l=this._sanitizer.sanitize(rn.HTML,i);if(!l)throw Pf(i);let c=Ri(l);return this._addSvgIconConfig(n,r,new er("",c,o))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,i){return this._addSvgIconSetConfig(n,new er(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){let o=this._sanitizer.sanitize(rn.HTML,r);if(!o)throw Pf(r);let l=Ri(o);return this._addSvgIconSetConfig(n,new er("",l,i))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(rn.RESOURCE_URL,n);if(!r)throw Af(n);let i=this._cachedIconsByUrl.get(r);return i?at(ws(i)):this._loadSvgIconFromConfig(new er(n,null)).pipe(au(o=>this._cachedIconsByUrl.set(r,o)),Ot(o=>ws(o)))}getNamedSvgIcon(n,r=""){let i=Lf(r,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(r);return l?this._getSvgFromIconSetConfigs(n,l):Lg(Rf(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?at(ws(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Ot(r=>ws(r)))}_getSvgFromIconSetConfigs(n,r){let i=this._extractIconWithNameFromAnySet(n,r);if(i)return at(i);let o=r.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Ed(c=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(rn.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(u)),at(null)})));return Bg(o).pipe(Ot(()=>{let l=this._extractIconWithNameFromAnySet(n,r);if(!l)throw Rf(n);return l}))}_extractIconWithNameFromAnySet(n,r){for(let i=r.length-1;i>=0;i--){let o=r[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(au(r=>n.svgText=r),Ot(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?at(null):this._fetchIcon(n).pipe(au(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,i){let o=n.querySelector(`[id="${r}"]`);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(Ri("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,i)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let r=this._svgElementFromString(Ri("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:c}=i[o];l!=="id"&&r.setAttribute(l,c)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw Xae();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let l=this._sanitizer.sanitize(rn.RESOURCE_URL,r);if(!l)throw Af(r);let c=this._inProgressUrlFetches.get(l);if(c)return c;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Ot(d=>Ri(d)),$g(()=>this._inProgressUrlFetches.delete(l)),Gg());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(Lf(n,r),i),this}_addSvgIconSetConfig(n,r){let i=this._iconSetConfigs.get(n);return i?i.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](r,n);if(o)return ere(o)?new er(o.url,null,o.options):new er(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(te(yi,8),te(gy),te(Le,8),te(An))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ws(e){return e.cloneNode(!0)}function Lf(e,t){return e+":"+t}function ere(e){return!!(e.url&&e.options)}var tre=["*"],nre=new K("MAT_ICON_DEFAULT_OPTIONS"),are=new K("mat-icon-location",{providedIn:"root",factory:rre});function rre(){let e=C(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var d9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ire=d9.map(e=>`[${e}]`).join(", "),ore=/^url\(['"]?#(.*?)['"]?\)$/,h9=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_iconRegistry",C(Jae));s(this,"_location",C(are));s(this,"_errorHandler",C(An));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",ln.EMPTY);let n=C(new q$("aria-hidden"),{optional:!0}),r=C(nre,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.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 r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let i=n.childNodes[r];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),r.forEach(i=>n.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.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 r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(ire),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)d9.forEach(l=>{let c=r[o],u=c.getAttribute(l),d=u?u.match(ore):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[r,i]=this._splitIconName(n);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(sn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${r}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(Ln("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),jl(r.color?"mat-"+r.color:""),Rn("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Li],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:tre,decls:1,vars:0,template:function(n,r){n&1&&(vi(),Yn(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})(),sre=(()=>{const t=class t{constructor(){this.authService=C(si).getInstance(),this.templateRef=C(vr),this.viewContainer=C(Lo),this.cdRef=C(bi)}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=Ht({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})();function p9(e){e||(Ad(),e=C(_r));let t=new tt(a=>e.onDestroy(a.next.bind(a)));return a=>a.pipe(_o(t))}var m9={"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(m9);var lre=m9,f9={"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(f9);var ure=f9,fn=function(e,t,a,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 a==="m"?n:a==="a"?n.call(e):n?n.value:t.get(e)},Rr,Vi,ar,cre=class{constructor(...e){Rr.set(this,new Map),Vi.set(this,new Map),ar.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[a,n]of Object.entries(e)){a=a.toLowerCase(),n=n.map(o=>o.toLowerCase()),fn(this,ar,"f").has(a)||fn(this,ar,"f").set(a,new Set);let r=fn(this,ar,"f").get(a),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,r==null||r.add(o),i&&fn(this,Vi,"f").set(a,o),i=!1,l)continue;let c=fn(this,Rr,"f").get(o);if(c&&c!=a&&!t)throw new Error(`"${a} -> ${o}" conflicts with "${c} -> ${o}". Pass \`force=true\` to override this definition.`);fn(this,Rr,"f").set(o,a)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),a=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(a.length<t.length-1)&&n?null:fn(this,Rr,"f").get(a)??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,Vi,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:fn(this,ar,"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,ar,"f").values())Object.freeze(e);return this}_getTestState(){return{types:fn(this,Rr,"f"),extensions:fn(this,Vi,"f")}}};Rr=new WeakMap,Vi=new WeakMap,ar=new WeakMap;var dre=cre;new dre(ure,lre)._freeze();var hre=(()=>{const t=class t{transform(n){return Jte(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Er({name:"fullname",type:t,pure:!0});let e=t;return e})(),pre=(()=>{const t=class t{constructor(){this.ingredientLabelService=C(ine),this.translate=C(Ca),this.destroyRef=C(_r),this.cd=C(bi),this.translate.onLangChange.pipe(p9(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=Er({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),mre=(()=>{const t=class t{constructor(){this.translate=C(Ca)}transform(n){return H1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Er({name:"translateValue",type:t,pure:!0});let e=t;return e})(),fre=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Er({name:"absolute",type:t,pure:!0});let e=t;return e})(),gre=e=>({count:e});function vre(e,t){e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae()),e&2&&(X(),Xe(Oe(2,1,"deliveredMedicationDetails.leaflet")))}function bre(e,t){if(e&1){let a=Fo();re(0,"span",2)(1,"a",5),$a("click",function(n){ya(a);let r=Re(3);return _a(r.onDownloadClick(n))}),un(2,"mat-icon",6),_e(3),Ie(4,"translate"),ae()()}e&2&&(X(3),Qt(" ",Oe(4,1,"commons.downloadLeaflet")," "))}function yre(e,t){e&1&&ct(0,vre,3,3,"span",3)(1,bre,5,3,"span",4)}function _re(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"translateValue"),ae(),ct(6,yre,2,0)),e&2){let a=Re();X(),Xe(Oe(2,3,"deliveredMedicationDetails.medication")),X(3),Xe(Oe(5,5,a.item().medication.name)),X(2),It(a.displayAllDetails()&&a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?6:-1)}}function wre(e,t){if(e&1&&(_e(0),Ie(1,"ingredientLabel")),e&2){let a=t.$implicit;Qt(" ",Oe(1,1,a)," ")}}function xre(e,t){if(e&1&&(re(0,"span",1)(1,"strong"),_e(2),Ie(3,"translate"),ae()(),re(4,"span",2),wh(5,wre,2,3,null,null,Ib),ae()),e&2){let a=Re();X(2),Xe(Oe(3,1,"deliveredMedicationsList.magisterialPreparation")),X(3),xh(a.item().medication.ingredients)}}function Ere(e,t){if(e&1&&(re(0,"li"),_e(1),Ie(2,"translateValue"),ae()),e&2){let a=t.$implicit;X(),Qt(" ",Oe(2,1,a.texts)," ")}}function Sre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2)(4,"ul"),wh(5,Ere,3,3,"li",null,Ib),ae()()),e&2){let a=Re();X(),Xe(Oe(2,1,"deliveredMedicationDetails.posologie")),X(4),xh(a.item().dosageInstructions)}}function kre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"date"),ae()),e&2){let a=Re(),n=Re();X(),Xe(Oe(2,2,a<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),X(3),Xe(Ab(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function Cre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"absolute"),Ie(6,"absolute"),Ie(7,"translate"),ae(),ct(8,kre,6,7),re(9,"span",1),_e(10),Ie(11,"translate"),ae()),e&2){let a=t,n=Re();X(),Xe(Oe(2,5,a<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),X(3),Sh("",Oe(5,7,a)," ",Ab(7,11,"deliveredMedicationDetails.package",TW(16,gre,Oe(6,9,a))),""),X(4),It(n.displayAllDetails()?8:-1),X(2),Xe(Oe(11,14,a<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function Ire(e,t){if(e&1&&(_e(0),Ie(1,"translateValue"),un(2,"br"),_e(3)),e&2){let a=Re();Qt(" ",Oe(1,2,t)," "),X(3),Qt(" ",a.item().pharmacy.nihdi," ")}}function Dre(e,t){if(e&1&&(_e(0),Ie(1,"translate")),e&2){let a=Re();Sh(" ",Oe(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",a.item().pharmacy.nihdi," ")}}function Tre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"fullname"),ae()),e&2){let a=Re();X(),Xe(Oe(2,2,"deliveredMedicationDetails.patient")),X(3),Xe(Oe(5,4,a.item().person))}}var Nre=(()=>{const t=class t{constructor(){this.translate=C(Ca),this.leafletService=C(one),this.item=Qe.required(),this.displayAllDetails=Qe(!1),this.isProfessional=Qe.required(),this.identifierType=rr}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,r){if(n&1&&(re(0,"span",0),ct(1,_re,7,7)(2,xre,7,3)(3,Sre,7,3),re(4,"span",1),_e(5),Ie(6,"translate"),ae(),re(7,"span",2),_e(8),Ie(9,"translate"),ae(),ct(10,Cre,12,18),re(11,"span",2),ct(12,Ire,4,4)(13,Dre,2,4),ae(),ct(14,Tre,6,6),re(15,"span",1),_e(16),Ie(17,"translate"),ae(),re(18,"span",2),_e(19),ae()()),n&2){let i,o,l;X(),It(r.item().medication.name?1:2),X(2),It((i=r.item().dosageInstructions)!=null&&i.length?3:-1),X(2),Xe(Oe(6,9,"deliveredMedicationDetails.is-prescribed.title")),X(3),Xe(Oe(9,11,"deliveredMedicationDetails.is-prescribed."+(r.item().isPrescribed?"yes":"no"))),X(2),It((o=(o=r.item().medication.quantity)==null?null:o.value)?10:-1,o),X(2),It((l=(l=r.item().pharmacy)==null?null:l.name)?12:13,l),X(2),It(r.displayAllDetails()&&!r.isProfessional()?14:-1),X(2),Xe(Oe(17,13,"deliveredMedicationDetails.dguid")),X(3),Xe(r.item().dguid)}},dependencies:[Bo,mre,pre,HQ,h9,JY,hre,fre,sre],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})();Kf(nH());var Ore=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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,r){n&1&&(re(0,"h2",0),_e(1),Ie(2,"translate"),ae(),re(3,"mat-dialog-content")(4,"p")(5,"span"),_e(6),Ie(7,"translate"),ae()(),re(8,"p")(9,"span"),_e(10),Ie(11,"translate"),ae(),re(12,"a",1),Ie(13,"translate"),_e(14),Ie(15,"translate"),ae(),_e(16,"."),ae()(),re(17,"mat-dialog-actions")(18,"button",2),_e(19),Ie(20,"translate"),ae(),re(21,"button",3),_e(22),Ie(23,"translate"),ae()()),n&2&&(X(),Xe(Oe(2,9,"commons.errors.report-message-title")),X(5),Xe(Oe(7,11,"commons.errors.report-message-explanation")),X(4),Xe(Oe(11,13,"commons.errors.report-message-content")),X(2),Kt("href",Oe(13,15,"commons.errors.report-message-link"),e6),X(2),Xe(Oe(15,17,"commons.errors.report-message-term-use")),X(4),Kt("mat-dialog-close",!0),X(),Qt(" ",Oe(20,19,"commons.errors.report-message-report-button")," "),X(2),Kt("mat-dialog-close",!1),X(),Qt(" ",Oe(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[Ky,$y,Uy,Yy,Wy,e1,Gl,Bo],encapsulation:2});let e=t;return e})(),Mre=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(Hy)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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,r){n&1&&(re(0,"h2",0),_e(1),Ie(2,"translate"),ae(),re(3,"mat-dialog-content")(4,"p")(5,"span"),_e(6),Ie(7,"translate"),ae()()(),re(8,"mat-dialog-actions")(9,"button",1),_e(10),Ie(11,"translate"),ae()()),n&2&&(X(),Xe(Oe(2,4,"commons.errors.action-not-authorized-title")),X(5),Xe(Oe(7,6,"commons.errors."+r.vidisErrorCode)),X(3),Kt("mat-dialog-close",!1),X(),Qt(" ",Oe(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[Ky,$y,Uy,Yy,Wy,e1,Gl,Bo],encapsulation:2});let e=t;return e})();function Ff(e,t,a){let n=M1(),r=Pre(e,a.timeZone,a.locale??n.locale);return"formatToParts"in r?Rre(r,t):Are(r,t)}function Rre(e,t){let a=e.formatToParts(t);for(let n=a.length-1;n>=0;--n)if(a[n].type==="timeZoneName")return a[n].value}function Are(e,t){let a=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function Pre(e,t,a){return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Lre(e,t){let a=Bre(t);return"formatToParts"in a?jre(a,e):Vre(a,e)}var Fre={year:0,month:1,day:2,hour:3,minute:4,second:5};function jre(e,t){try{let a=e.formatToParts(t),n=[];for(let r=0;r<a.length;r++){let i=Fre[a[r].type];i!==void 0&&(n[i]=parseInt(a[r].value,10))}return n}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function Vre(e,t){let a=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);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 Wu={},jf=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")),zre=jf==="06/25/2014, 00:00:00"||jf==="06/25/2014 00:00:00";function Bre(e){return Wu[e]||(Wu[e]=zre?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"})),Wu[e]}function g9(e,t,a,n,r,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,a),l.setUTCHours(n,r,i,o),l}var Vf=36e5,Hre=6e4,Yu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function v9(e,t,a){if(!e)return 0;let n=Yu.timezoneZ.exec(e);if(n)return 0;let r,i;if(n=Yu.timezoneHH.exec(e),n)return r=parseInt(n[1],10),zf(r)?-(r*Vf):NaN;if(n=Yu.timezoneHHMM.exec(e),n){r=parseInt(n[2],10);let o=parseInt(n[3],10);return zf(r,o)?(i=Math.abs(r)*Vf+o*Hre,n[1]==="+"?-i:i):NaN}if(Gre(e)){t=new Date(t||Date.now());let o=a?t:qre(t),l=ld(o,e);return-(a?l:$re(t,l,e))}return NaN}function qre(e){return g9(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ld(e,t){let a=Lre(e,t),n=g9(a[0],a[1]-1,a[2],a[3]%24,a[4],a[5],0).getTime(),r=e.getTime(),i=r%1e3;return r-=i>=0?i:1e3+i,n-r}function $re(e,t,a){let n=e.getTime()-t,r=ld(new Date(n),a);if(t===r)return t;n-=r-t;let i=ld(new Date(n),a);return r===i?r:Math.max(r,i)}function zf(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Bf={};function Gre(e){if(Bf[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Bf[e]=!0,!0}catch{return!1}}var Ure=60*1e3,Wre={X:function(e,t,a){let n=Zu(a.timeZone,e);if(n===0)return"Z";switch(t){case"X":return Hf(n);case"XXXX":case"XX":return Ar(n);case"XXXXX":case"XXX":default:return Ar(n,":")}},x:function(e,t,a){let n=Zu(a.timeZone,e);switch(t){case"x":return Hf(n);case"xxxx":case"xx":return Ar(n);case"xxxxx":case"xxx":default:return Ar(n,":")}},O:function(e,t,a){let n=Zu(a.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Yre(n,":");case"OOOO":default:return"GMT"+Ar(n,":")}},z:function(e,t,a){switch(t){case"z":case"zz":case"zzz":return Ff("short",e,a);case"zzzz":default:return Ff("long",e,a)}}};function Zu(e,t){let a=e?v9(e,t,!0)/Ure:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(a))throw new RangeError("Invalid time zone specified: "+e);return a}function xl(e,t){let a=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return a+n}function Ar(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=xl(Math.floor(n/60),2),i=xl(Math.floor(n%60),2);return a+r+t+i}function Hf(e,t){return e%60===0?(e>0?"-":"+")+xl(Math.abs(e)/60,2):Ar(e,t)}function Yre(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+xl(i,2)}function qf(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 Zre=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Ku=36e5,$f=6e4,Kre=2,Gt={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:Zre};function Qre(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 a=t.additionalDigits==null?Kre:Number(t.additionalDigits);if(a!==2&&a!==1&&a!==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=Xre(e),{year:r,restDateString:i}=Jre(n.date,a),o=eie(i,r);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),c=0,u;if(n.time&&(c=tie(n.time),c===null||isNaN(c)))return new Date(NaN);if(n.timeZone||t.timeZone){if(u=v9(n.timeZone||t.timeZone,new Date(l+c)),isNaN(u))return new Date(NaN)}else u=qf(new Date(l+c)),u=qf(new Date(l+c+u));return new Date(l+c+u)}else return new Date(NaN)}function Xre(e){let t={},a=Gt.dateTimePattern.exec(e),n;if(a?(t.date=a[1],n=a[3]):(a=Gt.datePattern.exec(e),a?(t.date=a[1],n=a[2]):(t.date=null,n=e)),n){let r=Gt.timeZone.exec(n);r?(t.time=n.replace(r[1],""),t.timeZone=r[1].trim()):t.time=n}return t}function Jre(e,t){if(e){let a=Gt.YYY[t],n=Gt.YYYYY[t],r=Gt.YYYY.exec(e)||n.exec(e);if(r){let i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=Gt.YY.exec(e)||a.exec(e),r){let i=r[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function eie(e,t){if(t===null)return null;let a,n,r;if(!e||!e.length)return a=new Date(0),a.setUTCFullYear(t),a;let i=Gt.MM.exec(e);if(i)return a=new Date(0),n=parseInt(i[1],10)-1,Uf(t,n)?(a.setUTCFullYear(t,n),a):new Date(NaN);if(i=Gt.DDD.exec(e),i){a=new Date(0);let o=parseInt(i[1],10);return rie(t,o)?(a.setUTCFullYear(t,0,o),a):new Date(NaN)}if(i=Gt.MMDD.exec(e),i){a=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return Uf(t,n,o)?(a.setUTCFullYear(t,n,o),a):new Date(NaN)}if(i=Gt.Www.exec(e),i)return r=parseInt(i[1],10)-1,Wf(r)?Gf(t,r):new Date(NaN);if(i=Gt.WwwD.exec(e),i){r=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return Wf(r,o)?Gf(t,r,o):new Date(NaN)}return null}function tie(e){let t,a,n=Gt.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Qu(t)?t%24*Ku:NaN;if(n=Gt.HHMM.exec(e),n)return t=parseInt(n[1],10),a=parseFloat(n[2].replace(",",".")),Qu(t,a)?t%24*Ku+a*$f:NaN;if(n=Gt.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);let r=parseFloat(n[3].replace(",","."));return Qu(t,a,r)?t%24*Ku+a*$f+r*1e3:NaN}return null}function Gf(e,t,a){t=t||0,a=a||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let r=n.getUTCDay()||7,i=t*7+a+1-r;return n.setUTCDate(n.getUTCDate()+i),n}var nie=[31,28,31,30,31,30,31,31,30,31,30,31],aie=[31,29,31,30,31,30,31,31,30,31,30,31];function b9(e){return e%400===0||e%4===0&&e%100!==0}function Uf(e,t,a){if(t<0||t>11)return!1;if(a!=null){if(a<1)return!1;let n=b9(e);if(n&&a>aie[t]||!n&&a>nie[t])return!1}return!0}function rie(e,t){if(t<1)return!1;let a=b9(e);return!(a&&t>366||!a&&t>365)}function Wf(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Qu(e,t,a){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||a!=null&&(a<0||a>=60))}var iie=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function oie(e,t,a={}){t=String(t);let n=t.match(iie);if(n){let r=Qre(a.originalDate||e,a);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),c=i[l-1]==="'",u=i.replace(o,"'"+Wre[o[0]](r,o,a)+"'");return c?u.substring(0,l-1)+u.substring(l+1):u},t)}return O1(e,t,a)}var sie=(()=>{const t=class t{reportError(n){return at({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})(),lie=(()=>{const t=class t{constructor(){this.http=C(yi),this.authService=C(si).getInstance(),this.apiUrl=C(wi).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Ui.userType]:lr.getUserType({isProfessional:this.authService.isProfessional}),[Ui.clientType]:z1()?lr.clientType.mobileApp:lr.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})(),uie=(()=>{const t=class t{constructor(){this.config=C(wi),this.injector=C(rt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(sie):this.injector.get(lie)}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})(),cie=(()=>{const t=class t extends qte{constructor(){super(...arguments),this.version=od,this.authServiceSelector=C(si),this.translateService=C(Ca),this.webComponentConfig=C(wi),this.injector=C(rt),this.servicesStore=C(Ul),this.matDialog=C($l),this.destroyRef=C(_r),this.errorServiceSelector=C(uie),this.snackbarService=C($1),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Et(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=>Et(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)===va.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===va.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(Ore,{data:{error:n}}).beforeClosed().pipe(ma(r=>r),p9(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let r={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(r).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(Mre,{data:n})}formatDateWithZone(){return oie(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})(),t.ɵcmp=ot({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[En],decls:0,vars:0,template:function(n,r){},encapsulation:2});let e=t;return e})(),die=[[["","alert-details",""]]],hie=["[alert-details]"];function pie(e,t){if(e&1&&(re(0,"h2"),_e(1),ae()),e&2){let a=Re();X(),Qt(" ",a.alertTitle()," ")}}function mie(e,t){if(e&1){let a=Fo();re(0,"button",7),$a("click",function(){ya(a);let n=Re(2);return _a(n.onActionButtonClicked())}),_e(1),ae()}if(e&2){let a=Re(2);Kt("disabled",a.buttonDisabled()),X(),Qt(" ",a.buttonLabel()," ")}}function fie(e,t){if(e&1&&(re(0,"span",5),Yn(1),ae(),ct(2,mie,2,2,"button",6)),e&2){let a=Re();X(2),It(a.actionButton()?2:-1)}}function gie(e,t){if(e&1){let a=Fo();re(0,"mat-icon",8),$a("click",function(){ya(a);let n=Re();return _a(n.onCloseButtonClick())})("keydown.enter",function(){ya(a);let n=Re();return _a(n.onCloseButtonClick())})("keydown.space",function(){ya(a);let n=Re();return _a(n.onCloseButtonClick())}),ae()}if(e&2){let a=Re();Ln("aria-label",a.closeButtonAriaLabel())}}function vie(e,t){if(e&1){let a=Fo();re(0,"mat-icon",9),$a("click",function(){ya(a);let n=Re();return _a(n.toggleExpanded())})("keydown.enter",function(){ya(a);let n=Re();return _a(n.toggleExpanded())})("keydown.space",function(){ya(a);let n=Re();return _a(n.toggleExpanded())}),ae()}if(e&2){let a=Re();Kt("fontIcon",a.expanded()?"keyboard_arrow_up":"keyboard_arrow_down"),Ln("aria-label",a.currentExpandIconAriaLabel)}}var bie=(()=>{const t=class t{constructor(){s(this,"usage",Qe("info"));s(this,"backgroundColor",Qe("color"));s(this,"alertTitle",Qe());s(this,"actionButton",Qe(!1));s(this,"buttonDisabled",Qe(!1));s(this,"buttonLabel",Qe());s(this,"dismissMode",Qe("pinned"));s(this,"closeButtonAriaLabel",Qe(""));s(this,"startExpanded",Qe(!1));s(this,"expandedButtonAriaLabel",Qe(""));s(this,"collapsedButtonAriaLabel",Qe(""));s(this,"closeButtonClicked",zp());s(this,"actionButtonClicked",zp());s(this,"expanded",tY(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",ll(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",ll(()=>({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",ot({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],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:hie,decls:7,vars:8,consts:[["role","alert","aria-live","assertive"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],["type","button","tabindex","0",1,"top-right-icon",3,"fontIcon"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],["type","button","tabindex","0",1,"top-right-icon",3,"click","keydown.enter","keydown.space","fontIcon"]],template:function(n,r){n&1&&(vi(die),re(0,"div",0),un(1,"mat-icon",1),re(2,"div",2),ct(3,pie,2,1,"h2")(4,fie,3,1),ae(),ct(5,gie,1,1,"mat-icon",3)(6,vie,1,2,"mat-icon",4),ae()),n&2&&(jl(r.usage()),Rn("white",r.backgroundColor()==="white"),X(),Kt("fontIcon",r.fontIcon()),X(2),It(r.alertTitle()?3:-1),X(),It(r.dismissMode()!=="expandable"||r.expanded()?4:-1),X(),It(r.dismissMode()==="closable"?5:r.dismissMode()==="expandable"?6:-1))},dependencies:[Wb,h9,Gl],styles:[".info[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2f7fd}.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;color:#1d5caf;margin:0}.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;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf;flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2fcf8}.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;color:#1d8657;margin:0}.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;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d8657;flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#ffeee0}.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;color:#662e00;margin:0}.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;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#662e00;flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#fff6f5}.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;color:#c41c0d;margin:0}.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;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f5f5f5}.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;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%] mat-icon.close[_ngcontent-%COMP%]{color:#0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function yie(e,t){if(e&1&&(re(0,"mh-alert",0),Ie(1,"translate"),re(2,"div",1),_e(3),Ie(4,"translate"),ae()()),e&2){let a=Re();Kt("alertTitle",Oe(1,2,"commons.errors.data-not-available-title")),X(3),Xe(Oe(4,4,"commons.errors."+a.error().code))}}var _ie=(()=>{const t=class t{constructor(){this.error=Qe.required(),this.vidisErrorGroup=va}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,r){n&1&&ct(0,yie,5,6,"mh-alert",0),n&2&&It(r.error().group===r.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[Bo,bie],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})(),wie=["*"],xie=new K("MAT_CARD_CONFIG"),Eie=(()=>{const t=class t{constructor(){s(this,"appearance");let n=C(xie,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,r){n&2&&Rn("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:wie,decls:1,vars:0,template:function(n,r){n&1&&(vi(),Yn(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})(),Sie=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),kie=["*"],Cie=(e,t,a,n,r)=>({"custom-content":e,circle:t,progress:a,"progress-dark":n,pulse:r});function Iie(e,t){e&1&&Yn(0)}function Die(e,t){if(e&1&&(re(0,"div",0),ct(1,Iie,1,0),ae()),e&2){let a=Re(),n=mm(0),r=mm(1);Kt("ngClass",NW(5,Cie,n==="custom-content",n==="circle",r==="progress",r==="progress-dark",r==="pulse"))("ngStyle",a.styles()),Ln("aria-label",a.ariaLabel())("aria-valuetext",a.loadingText()),X(),It(n==="custom-content"?1:-1)}}var y9=new K("ngx-skeleton-loader.config"),Tie=(()=>{var t;const a=class a{constructor(){mp(this,t);var r,i,o,l,c,u;fp(this,t,C(y9,{optional:!0})),this.count=Qe(((r=da(this,t))==null?void 0:r.count)||1,{transform:Fb}),this.loadingText=Qe(((i=da(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Qe(((o=da(this,t))==null?void 0:o.appearance)||"line"),this.animation=Qe(((l=da(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Qe(((c=da(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Qe(((u=da(this,t))==null?void 0:u.theme)||null),this.items=ll(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&WW(),[...Array(d)].map((m,b)=>b)}),this.styles=ll(()=>{var m,b,g;let d=this.theme();return(b=(m=da(this,t))==null?void 0:m.theme)!=null&&b.extendsFromRoot?se(se({},(g=da(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,a.ɵfac=function(r){return new(r||a)},a.ɵcmp=ot({type:a,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:kie,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(r,i){r&1&&(vi(),Nb(0)(1),wh(2,Die,2,11,"div",0,oW)),r&2&&(pm(i.appearance()),X(),pm(i.animation()),X(),xh(i.items()))},dependencies:[qY,$Y],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=a;return e})(),Nie=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:y9,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=tn({type:t}),t.ɵinj=Jt({imports:[Wb]});let e=t;return e})(),Oie=()=>({width:"40%",height:"20px"});function Mie(e,t){e&1&&un(0,"ngx-skeleton-loader",0),e&2&&Kt("theme",DW(1,Oie))}function Rie(e,t){if(e&1&&un(0,"vidis-delivered-medication-details-row",1),e&2){let a=Re();Kt("item",a.item())("displayAllDetails",!0)("isProfessional",a.isProfessional())}}function Aie(e,t){e&1&&(re(0,"div",2)(1,"h3"),_e(2),Ie(3,"translate"),ae()()),e&2&&(X(2),Xe(Oe(3,1,"deliveredMedicationDetails.noDetails")))}var Pie=(()=>{const t=class t{constructor(){this.item=Qe.required(),this.isLoading=Qe.required(),this.isProfessional=Qe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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,r){n&1&&(re(0,"mat-card")(1,"mat-card-content"),ct(2,Mie,1,2,"ngx-skeleton-loader",0)(3,Rie,1,3,"vidis-delivered-medication-details-row",1)(4,Aie,4,3,"div",2),ae()()),n&2&&(X(2),It(r.isLoading()?2:r.item()?3:4))},dependencies:[Eie,Sie,Bo,Nie,Tie,Nre],encapsulation:2});let e=t;return e})();function Lie(e,t){e&1&&(re(0,"div"),_e(1,"Component not properly initialized!"),ae())}function Fie(e,t){if(e&1&&un(0,"vidis-status-message",0),e&2){let a=Re();Kt("error",a.error)}}function jie(e,t){if(e&1&&un(0,"vidis-delivered-medication-details-card",1),e&2){let a=Re(),n=Re(2);Kt("item",a.data)("isLoading",a.status===n.loadingStatus.LOADING)("isProfessional",n.professional)}}function Vie(e,t){if(e&1&&ct(0,Fie,1,1,"vidis-status-message",0)(1,jie,1,3,"vidis-delivered-medication-details-card",1),e&2){let a=Re(2);It(t.status===a.loadingStatus.ERROR?0:1)}}function zie(e,t){if(e&1&&(ct(0,Vie,2,1),Ie(1,"async")),e&2){let a,n=Re();It((a=Oe(1,1,n.deliveredMedicationsState$))?0:-1,a)}}var Bie=(()=>{const t=class t extends cie{constructor(){super(...arguments),this.extraRequiredFields=["dguid","professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated"],this.loadingStatus=Yr}fetchData(n){return
|
|
36
|
+
Probeer het later nog eens.`,i2="De patiënt heeft 1 of meerdere voorschriften verborgen.",o2="Technisch probleem",s2="Probeer het later opnieuw.",l2="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",u2="gebruiksvoorwaarden",c2="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",d2="Probleem melden",h2="Niet melden",p2="Het probleem is gemeld",m2="Gegevens niet beschikbaar",f2="Actie niet toegestaan",g2="Sluiten",Jne={VIDIS_0035:dD,VIDIS_0050:hD,VIDIS_0090:pD,VIDIS_0121:mD,VIDIS_0122:fD,VIDIS_0123:gD,VIDIS_0124:vD,VIDIS_0125:bD,VIDIS_0126:yD,VIDIS_0131:_D,VIDIS_0132:wD,VIDIS_0133:xD,VIDIS_0134:ED,VIDIS_0135:SD,VIDIS_0136:kD,VIDIS_0190:CD,VIDIS_0210:ID,VIDIS_0211:DD,VIDIS_0230:TD,VIDIS_0290:ND,VIDIS_0330:OD,VIDIS_0435:MD,VIDIS_0440:RD,VIDIS_5000:AD,VIDIS_7000:PD,VIDIS_3150:LD,VIDIS_3090:FD,VIDIS_3140:jD,VIDIS_3100:VD,VIDIS_3120:zD,VIDIS_0400:BD,VIDIS_3030:HD,VIDIS_0100:qD,VIDIS_0120:$D,VIDIS_0110:GD,VIDIS_0200:UD,VIDIS_0340:WD,VIDIS_0341:YD,VIDIS_04001:ZD,prescriptionList:KD,general:QD,"no-access":XD,myHealth:JD,myHealthUrl:e2,network_error:t2,invalid_date_format:n2,"status-message-title":a2,"status-message-content":r2,"has-hidden-prescriptions":i2,"report-message-title":o2,"report-message-explanation":s2,"report-message-content":l2,"report-message-term-use":u2,"report-message-link":c2,"report-message-report-button":d2,"report-message-ignore-button":h2,"report-message-confirm-toast":p2,"data-not-available-title":m2,"action-not-authorized-title":f2,"action-not-authorized-close-button":g2},eae={nl:cD,fr:aI,de:qS,en:Kk},v2={};oe(v2,{1:()=>b2,10:()=>I2,11:()=>D2,12:()=>T2,13:()=>N2,14:()=>O2,15:()=>M2,16:()=>R2,17:()=>A2,18:()=>P2,19:()=>L2,2:()=>y2,20:()=>F2,21:()=>j2,22:()=>V2,23:()=>z2,24:()=>B2,25:()=>H2,26:()=>q2,27:()=>$2,28:()=>G2,29:()=>U2,3:()=>_2,30:()=>W2,31:()=>Y2,32:()=>Z2,33:()=>K2,34:()=>Q2,4:()=>w2,40:()=>X2,41:()=>J2,5:()=>x2,6:()=>E2,7:()=>S2,71:()=>eT,8:()=>k2,9:()=>C2,90:()=>tT,91:()=>nT,92:()=>aT,93:()=>rT,default:()=>tae});var b2="Gelatinekapseln",y2="Tabletten",_2="Creme",w2="Gel",x2="Paste",E2="Fette Salbe",S2="Granulat",k2="Zäpfchen für Erwachsene",C2="Zäpfchen für Kinder",I2="Vaginalzäpfchen",D2="Rektiole",T2="nicht gespaltenes Pulver innerliche Anwendung",N2="nicht gespaltenes Pulver äußerliche Anwendung",O2="Inhalation",M2="Pulver Zum Spalten innerliche Anwendung",R2="Pulver Zum Spalten äußerliche Anwendung",A2="Nasentropfen",P2="Nasensalbe",L2="Sirup",F2="Lösung innerliche Anwendung",j2="Lösung äußerliche Anwendung",V2="Tropfen innerliche Anwendung",z2="Tropfen äußerliche Anwendung",B2="Emulsion innerliche Anwendung",H2="Emulsion äußerliche Anwendung",q2="Shampoo",$2="Augentropfen",G2="Augenlotion",U2="Augenbad",W2="Salbe",Y2="Augensalbe ",Z2="Ohrentropfen",K2="Suspension innerliche Anwendung",Q2="Suspension äußerliche Anwendung",X2="Kräutermischung",J2="Tee",eT="enterische Kapseln",tT="derartig",nT="Dermatologie (fest) derartig",aT="Pulver derartig",rT="Lösung derartig",tae={1:b2,2:y2,3:_2,4:w2,5:x2,6:E2,7:S2,8:k2,9:C2,10:I2,11:D2,12:T2,13:N2,14:O2,15:M2,16:R2,17:A2,18:P2,19:L2,20:F2,21:j2,22:V2,23:z2,24:B2,25:H2,26:q2,27:$2,28:G2,29:U2,30:W2,31:Y2,32:Z2,33:K2,34:Q2,40:X2,41:J2,71:eT,90:tT,91:nT,92:aT,93:rT},iT={};oe(iT,{1:()=>oT,10:()=>fT,11:()=>gT,12:()=>vT,13:()=>bT,14:()=>yT,15:()=>_T,16:()=>wT,17:()=>xT,18:()=>ET,19:()=>ST,2:()=>sT,20:()=>kT,21:()=>CT,22:()=>IT,23:()=>DT,24:()=>TT,25:()=>NT,26:()=>OT,27:()=>MT,28:()=>RT,29:()=>AT,3:()=>lT,30:()=>PT,31:()=>LT,32:()=>FT,33:()=>jT,34:()=>VT,4:()=>uT,40:()=>zT,41:()=>BT,5:()=>cT,6:()=>dT,7:()=>hT,71:()=>HT,8:()=>pT,9:()=>mT,90:()=>qT,91:()=>$T,92:()=>GT,93:()=>UT,default:()=>nae});var oT="Capsules",sT="Tablets",lT="Cream",uT="Gel",cT="Paste",dT="Fatty ointment",hT="Granulate",pT="Adult suppository",mT="Child suppository",fT="Vaginal ovules",gT="Rectiole",vT="Undivided powder for internal use",bT="Undivided powder for external use",yT="Inhalation",_T="Divided powders for internal use",wT="Divided powders for external use",xT="Nasal drops",ET="Nasal ointment",ST="Syrup",kT="Solution for internal use",CT="Solution for external use",IT="Drops for internal use",DT="Drops for external use",TT="Emulsion for internal use",NT="Emulsion for external use",OT="Shampoo",MT="Eye drops",RT="Eye lotion",AT="Eye bath",PT="Ointment",LT="Eye ointment",FT="Ear drops",jT="Suspension for internal use",VT="Suspension for external use",zT="Herbal mixture",BT="Tea",HT="Enteric-coated capsules",qT="As is",$T="Dermatology (solid) as is",GT="Powder as is",UT="Liquid as is",nae={1:oT,2:sT,3:lT,4:uT,5:cT,6:dT,7:hT,8:pT,9:mT,10:fT,11:gT,12:vT,13:bT,14:yT,15:_T,16:wT,17:xT,18:ET,19:ST,20:kT,21:CT,22:IT,23:DT,24:TT,25:NT,26:OT,27:MT,28:RT,29:AT,30:PT,31:LT,32:FT,33:jT,34:VT,40:zT,41:BT,71:HT,90:qT,91:$T,92:GT,93:UT},WT={};oe(WT,{1:()=>YT,10:()=>aN,11:()=>rN,12:()=>iN,13:()=>oN,14:()=>sN,15:()=>lN,16:()=>uN,17:()=>cN,18:()=>dN,19:()=>hN,2:()=>ZT,20:()=>pN,21:()=>mN,22:()=>fN,23:()=>gN,24:()=>vN,25:()=>bN,26:()=>yN,27:()=>_N,28:()=>wN,29:()=>xN,3:()=>KT,30:()=>EN,31:()=>SN,32:()=>kN,33:()=>CN,34:()=>IN,4:()=>QT,40:()=>DN,41:()=>TN,5:()=>XT,6:()=>JT,7:()=>eN,71:()=>NN,8:()=>tN,9:()=>nN,90:()=>ON,91:()=>MN,92:()=>RN,93:()=>AN,default:()=>aae});var YT="Gélules",ZT="Cachets / comprimés",KT="Crème",QT="Gel",XT="Pâte",JT="Pommade grasse",eN="Granulé",tN="Suppo adulte",nN="Suppo enfant",aN="Ovules vaginales",rN="Rectiole",iN="Poudre non-divisée usage interne",oN="Poudre non-divisée usage externe",sN="Inhalation",lN="Poudres à diviser usage interne",uN="Poudres à diviser usage externe",cN="Gouttes nasales",dN="Pommade nasale",hN="Sirop",pN="Solution usage interne",mN="Solution usage externe",fN="Gouttes usage interne",gN="Gouttes usage externe",vN="Emulsion usage interne",bN="Emulsion usage externe",yN="Shampooing",_N="Gouttes ophtalmiques",wN="Lotion ophtalmique",xN="Bain ophtalmique",EN="Pommade",SN="Pommade ophtalmique",kN="Gouttes auriculaires",CN="Suspension usage interne",IN="Suspension usage externe",DN="Mélange de plantes",TN="Thé",NN="Gélules à enrobage entérique / Gélules entériques",ON="en tant que tel/telle",MN="Dermatologie (solide) en tant que telle",RN="Poudre en tant que telle ",AN="Solution en tant que telle ",aae={1:YT,2:ZT,3:KT,4:QT,5:XT,6:JT,7:eN,8:tN,9:nN,10:aN,11:rN,12:iN,13:oN,14:sN,15:lN,16:uN,17:cN,18:dN,19:hN,20:pN,21:mN,22:fN,23:gN,24:vN,25:bN,26:yN,27:_N,28:wN,29:xN,30:EN,31:SN,32:kN,33:CN,34:IN,40:DN,41:TN,71:NN,90:ON,91:MN,92:RN,93:AN},PN={};oe(PN,{1:()=>LN,10:()=>GN,11:()=>UN,12:()=>WN,13:()=>YN,14:()=>ZN,15:()=>KN,16:()=>QN,17:()=>XN,18:()=>JN,19:()=>eO,2:()=>FN,20:()=>tO,21:()=>nO,22:()=>aO,23:()=>rO,24:()=>iO,25:()=>oO,26:()=>sO,27:()=>lO,28:()=>uO,29:()=>cO,3:()=>jN,30:()=>dO,31:()=>hO,32:()=>pO,33:()=>mO,34:()=>fO,4:()=>VN,40:()=>gO,41:()=>vO,5:()=>zN,6:()=>BN,7:()=>HN,71:()=>bO,8:()=>qN,9:()=>$N,90:()=>yO,91:()=>_O,92:()=>wO,93:()=>xO,default:()=>rae});var LN="Capsules",FN="Tabletten",jN="Creme",VN="Gel",zN="Pasta",BN="Vette zalf",HN="Granulaat",qN="Suppo volwassene",$N="Suppo kind",GN="Vaginale zetpillen / vaginale ovules",UN="Rektiool",WN="Niet-verdeeld poeder inwendig gebruik",YN="Niet-verdeeld poeder uitwendig gebruik",ZN="Inhalatie",KN="Te verdelen poeders inwendig gebruik",QN="Te verdelen poeders uitwendig gebruik",XN="Neusdruppels",JN="Neuszalf",eO="Siroop",tO="Oplossing inwendig gebruik",nO="Oplossing uitwendig gebruik",aO="Druppels inwendig gebruik",rO="Druppels uitwendig gebruik",iO="Emulsie inwendig gebruik",oO="Emulsie uitwendig gebruik",sO="Shampoo",lO="Oogdruppels",uO="Ooglotion",cO="Oogbad",dO="Zalf",hO="Oogzalf",pO="Oordruppels",mO="Suspensie inwendig gebruik",fO="Suspensie uitwendig gebruik",gO="Kruidenmengsel",vO="Thee",bO="enterisch omhulde capsules",yO="Als dusdanig",_O="Als dusdanig dermatologie (vast)",wO="Als dusdanig poeder",xO="Als dusdanig vloeistof",rae={1:LN,2:FN,3:jN,4:VN,5:zN,6:BN,7:HN,8:qN,9:$N,10:GN,11:UN,12:WN,13:YN,14:ZN,15:KN,16:QN,17:XN,18:JN,19:eO,20:tO,21:nO,22:aO,23:rO,24:iO,25:oO,26:sO,27:lO,28:uO,29:cO,30:dO,31:hO,32:pO,33:mO,34:fO,40:gO,41:vO,71:bO,90:yO,91:_O,92:wO,93:xO},iae={nl:PN,fr:WT,de:v2,en:iT},EO={};oe(EO,{close:()=>SO,default:()=>oae,downloadLeaflet:()=>kO,file:()=>CO});var SO="Schließen",kO="Download Packungsbeilage (pdf)",CO="feile",oae={close:SO,downloadLeaflet:kO,file:CO},IO={};oe(IO,{close:()=>DO,default:()=>sae,downloadLeaflet:()=>TO,file:()=>NO});var DO="Close",TO="Download leaflet (pdf)",NO="file",sae={close:DO,downloadLeaflet:TO,file:NO},OO={};oe(OO,{close:()=>MO,default:()=>lae,downloadLeaflet:()=>RO,file:()=>AO});var MO="Fermer",RO="Télécharger la notice (pdf)",AO="fichier",lae={close:MO,downloadLeaflet:RO,file:AO},PO={};oe(PO,{close:()=>LO,default:()=>uae,downloadLeaflet:()=>FO,file:()=>jO});var LO="Sluiten",FO="Download bijsluiter (pdf)",jO="bestand",uae={close:LO,downloadLeaflet:FO,file:jO},cae={nl:PO,fr:OO,de:EO,en:IO},VO={};oe(VO,{afterbreakfast:()=>zO,afterdinner:()=>BO,afterlunch:()=>HO,aftermeal:()=>qO,afternoon:()=>$O,beforebreakfast:()=>GO,beforedinner:()=>UO,beforelunch:()=>WO,betweenbreakfastandlunch:()=>YO,betweendinnerandsleep:()=>ZO,betweenlunchanddinner:()=>KO,betweenmeals:()=>QO,breakfast:()=>XO,default:()=>dae,dinner:()=>JO,duringbreakfast:()=>eM,duringdinner:()=>tM,duringlunch:()=>nM,evening:()=>aM,lunch:()=>rM,morning:()=>iM,night:()=>oM,thehourofsleep:()=>sM});var zO="nach dem Frühstück",BO="nach dem Abendessen",HO="nach dem Mittagessen",qO="nach dem Essen",$O="Nachmittag",GO="vor dem Frühstück",UO="vor dem Abendessen",WO="vor dem Mittagessen",YO="zwischen Frühstück und Mittagessen",ZO="zwischen Abendessen und Nachtruhe",KO="zwischen Mittagessen und Abendessen",QO="zwischen den Mahlzeiten",XO="Frühstück",JO="Abendessen",eM="zum Frühstück",tM="zum Abendessen",nM="zum Mittagessen",aM="Abend",rM="Mittagessen",iM="Vormittag",oM="Nacht",sM="Nachtruhe",dae={afterbreakfast:zO,afterdinner:BO,afterlunch:HO,aftermeal:qO,afternoon:$O,beforebreakfast:GO,beforedinner:UO,beforelunch:WO,betweenbreakfastandlunch:YO,betweendinnerandsleep:ZO,betweenlunchanddinner:KO,betweenmeals:QO,breakfast:XO,dinner:JO,duringbreakfast:eM,duringdinner:tM,duringlunch:nM,evening:aM,lunch:rM,morning:iM,night:oM,thehourofsleep:sM},lM={};oe(lM,{afterbreakfast:()=>uM,afterdinner:()=>cM,afterlunch:()=>dM,aftermeal:()=>hM,afternoon:()=>pM,beforebreakfast:()=>mM,beforedinner:()=>fM,beforelunch:()=>gM,betweenbreakfastandlunch:()=>vM,betweendinnerandsleep:()=>bM,betweenlunchanddinner:()=>yM,betweenmeals:()=>_M,breakfast:()=>wM,default:()=>hae,dinner:()=>xM,duringbreakfast:()=>EM,duringdinner:()=>SM,duringlunch:()=>kM,evening:()=>CM,lunch:()=>IM,morning:()=>DM,night:()=>TM,thehourofsleep:()=>NM});var uM="after breakfast",cM="after dinner",dM="after lunch",hM="after meal",pM="afternoon",mM="before breakfast",fM="before dinner",gM="before lunch",vM="between breakfast and lunch",bM="between dinner and the hour of sleep",yM="between lunch and dinner",_M="between meals",wM="breakfast",xM="dinner",EM="during breakfast",SM="during dinner",kM="during lunch",CM="evening",IM="lunch",DM="morning",TM="night",NM="the hour of sleep",hae={afterbreakfast:uM,afterdinner:cM,afterlunch:dM,aftermeal:hM,afternoon:pM,beforebreakfast:mM,beforedinner:fM,beforelunch:gM,betweenbreakfastandlunch:vM,betweendinnerandsleep:bM,betweenlunchanddinner:yM,betweenmeals:_M,breakfast:wM,dinner:xM,duringbreakfast:EM,duringdinner:SM,duringlunch:kM,evening:CM,lunch:IM,morning:DM,night:TM,thehourofsleep:NM},OM={};oe(OM,{afterbreakfast:()=>MM,afterdinner:()=>RM,afterlunch:()=>AM,aftermeal:()=>PM,afternoon:()=>LM,beforebreakfast:()=>FM,beforedinner:()=>jM,beforelunch:()=>VM,betweenbreakfastandlunch:()=>zM,betweendinnerandsleep:()=>BM,betweenlunchanddinner:()=>HM,betweenmeals:()=>qM,breakfast:()=>$M,default:()=>pae,dinner:()=>GM,duringbreakfast:()=>UM,duringdinner:()=>WM,duringlunch:()=>YM,evening:()=>ZM,lunch:()=>KM,morning:()=>QM,night:()=>XM,thehourofsleep:()=>JM});var MM="après le petit-déjeuner",RM="après le repas du soir",AM="après le repas du midi",PM="après le repas",LM="après-midi",FM="avant le petit-déjeuner",jM="avant le repas du soir",VM="avant le repas du midi",zM="entre le petit-déjeuner et le repas du midi",BM="entre le repas du soir et l’heure du coucher",HM="entre le repas du midi et le repas du soir",qM="entre les repas",$M="petit-déjeuner",GM="repas du soir",UM="pendant le petit-déjeuner",WM="pendant le repas du soir",YM="pendant le repas du midi",ZM="soir",KM="repas du midi",QM="matin",XM="nuit",JM="heure du coucher",pae={afterbreakfast:MM,afterdinner:RM,afterlunch:AM,aftermeal:PM,afternoon:LM,beforebreakfast:FM,beforedinner:jM,beforelunch:VM,betweenbreakfastandlunch:zM,betweendinnerandsleep:BM,betweenlunchanddinner:HM,betweenmeals:qM,breakfast:$M,dinner:GM,duringbreakfast:UM,duringdinner:WM,duringlunch:YM,evening:ZM,lunch:KM,morning:QM,night:XM,thehourofsleep:JM},eR={};oe(eR,{afterbreakfast:()=>tR,afterdinner:()=>nR,afterlunch:()=>aR,aftermeal:()=>rR,afternoon:()=>iR,beforebreakfast:()=>oR,beforedinner:()=>sR,beforelunch:()=>lR,betweenbreakfastandlunch:()=>uR,betweendinnerandsleep:()=>cR,betweenlunchanddinner:()=>dR,betweenmeals:()=>hR,breakfast:()=>pR,default:()=>mae,dinner:()=>mR,duringbreakfast:()=>fR,duringdinner:()=>gR,duringlunch:()=>vR,evening:()=>bR,lunch:()=>yR,morning:()=>_R,night:()=>wR,thehourofsleep:()=>xR});var tR="na het ontbijt",nR="na het avondmaal",aR="na het middagmaal",rR="na de maaltijd",iR="namiddag",oR="voor het ontbijt",sR="voor het avondmaal",lR="voor het middagmaal",uR="tussen het ontbijt en het middagmaal",cR="tussen het avondmaal en het slapen gaan",dR="tussen het middagmaal en het avondmaal",hR="tussen de maaltijden",pR="ontbijt",mR="avondmaal",fR="tijdens het ontbijt",gR="tijdens het avondmaal",vR="tijdens het middagmaal",bR="'s avonds",yR="middagmaal",_R="'s ochtends",wR="'s nachts",xR="voor het slapen gaan",mae={afterbreakfast:tR,afterdinner:nR,afterlunch:aR,aftermeal:rR,afternoon:iR,beforebreakfast:oR,beforedinner:sR,beforelunch:lR,betweenbreakfastandlunch:uR,betweendinnerandsleep:cR,betweenlunchanddinner:dR,betweenmeals:hR,breakfast:pR,dinner:mR,duringbreakfast:fR,duringdinner:gR,duringlunch:vR,evening:bR,lunch:yR,morning:_R,night:wR,thehourofsleep:xR},fae={nl:eR,fr:OM,de:VO,en:lM},ER={};oe(ER,{day:()=>SR,default:()=>gae,during:()=>IR,on:()=>CR,week:()=>kR});var SR="Tag",kR="Woche",CR="am",IR="für",gae={day:SR,week:kR,on:CR,during:IR},DR={};oe(DR,{day:()=>TR,default:()=>vae,during:()=>MR,on:()=>OR,week:()=>NR});var TR="day",NR="week",OR="on",MR="during",vae={day:TR,week:NR,on:OR,during:MR},RR={};oe(RR,{day:()=>AR,default:()=>bae,during:()=>FR,on:()=>LR,week:()=>PR});var AR="jour",PR="semaine",LR="le",FR="durant",bae={day:AR,week:PR,on:LR,during:FR},jR={};oe(jR,{day:()=>VR,default:()=>yae,during:()=>HR,on:()=>BR,week:()=>zR});var VR="dag",zR="week",BR="op",HR="gedurende",yae={day:VR,week:zR,on:BR,during:HR},_ae={nl:jR,fr:RR,de:ER,en:DR},qR={};oe(qR,{a:()=>$R,d:()=>WR,default:()=>wae,hr:()=>YR,min:()=>ZR,mo:()=>GR,ms:()=>QR,ns:()=>JR,s:()=>KR,us:()=>XR,wk:()=>UR});var $R="{count} {count, plural, one{Jahr} other{Jahre}}",GR="{count} {count, plural, one{Monat} other{Monate}}",UR="{count} {count, plural, one{Woche} other{Wochen}}",WR="{count} {count, plural, one{Tag} other{Tage}}",YR="{count} {count, plural, one{Stunde} other{Stunden}}",ZR="{count} {count, plural, one{Minute} other{Minuten}}",KR="{count} {count, plural, one{Sekunde} other{Sekunden}} ",QR="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",XR="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",JR="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",wae={a:$R,mo:GR,wk:UR,d:WR,hr:YR,min:ZR,s:KR,ms:QR,us:XR,ns:JR},eA={};oe(eA,{a:()=>tA,d:()=>rA,default:()=>xae,hr:()=>iA,min:()=>oA,mo:()=>nA,ms:()=>lA,ns:()=>cA,s:()=>sA,us:()=>uA,wk:()=>aA});var tA="{count} {count, plural, one{year} other{years}}",nA="{count} {count, plural, one{month} other{months}}",aA="{count} {count, plural, one{week} other{weeks}}",rA="{count} {count, plural, one{day} other{days}}",iA="{count} {count, plural, one{hour} other{hours}}",oA="{count} {count, plural, one{minute} other{minutes}}",sA="{count} {count, plural, one{second} other{seconds}}",lA="{count} {count, plural, one{millisecond} other{millisecondes}}",uA="{count} {count, plural, one{microsecond} other{microsecondes}}",cA="{count} {count, plural, one{nanosecond} other{nanosecondes}}",xae={a:tA,mo:nA,wk:aA,d:rA,hr:iA,min:oA,s:sA,ms:lA,us:uA,ns:cA},dA={};oe(dA,{a:()=>hA,d:()=>fA,default:()=>Eae,hr:()=>gA,min:()=>vA,mo:()=>pA,ms:()=>yA,ns:()=>wA,s:()=>bA,us:()=>_A,wk:()=>mA});var hA="{count} {count, plural, one{année} other{années}}",pA="{count} {count, plural, one{mois} other{mois}}",mA="{count} {count, plural, one{semaine} other{semaines}}",fA="{count} {count, plural, one{jour} other{jours}}",gA="{count} {count, plural, one{heure} other{heures}}",vA="{count} {count, plural, one{minute} other{minutes}}",bA="{count} {count, plural, one{seconde} other{secondes}}",yA="{count} {count, plural, one{milliseconde} other{millisecondes}}",_A="{count} {count, plural, one{microseconde} other{microsecondes}}",wA="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",Eae={a:hA,mo:pA,wk:mA,d:fA,hr:gA,min:vA,s:bA,ms:yA,us:_A,ns:wA},xA={};oe(xA,{a:()=>EA,d:()=>CA,default:()=>Sae,hr:()=>IA,min:()=>DA,mo:()=>SA,ms:()=>NA,ns:()=>MA,s:()=>TA,us:()=>OA,wk:()=>kA});var EA="{count} {count, plural, one{jaar} other{jaren}}",SA="{count} {count, plural, one{maand} other{maanden}}",kA="{count} {count, plural, one{week} other{weken}}",CA="{count} {count, plural, one{dag} other{dagen}}",IA="{count} {count, plural, one{uur} other{uren}}",DA="{count} {count, plural, one{minuut} other{minuten}}",TA="{count} {count, plural, one{seconde} other{seconden}}",NA="{count} {count, plural, one{milliseconde} other{milliseconden}}",OA="{count} {count, plural, one{microseconde} other{microseconden}}",MA="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",Sae={a:EA,mo:SA,wk:kA,d:CA,hr:IA,min:DA,s:TA,ms:NA,us:OA,ns:MA},kae={nl:xA,fr:dA,de:qR,en:eA},RA={};oe(RA,{"%":()=>AA,"%vv":()=>qP,"%wv":()=>$P,"%ww":()=>GP,"1000/mm3":()=>iP,amp:()=>PA,atptreatment:()=>VL,bag:()=>LA,bitperminute:()=>UP,bol:()=>WP,bot:()=>YP,box:()=>FA,c:()=>kL,can:()=>ZP,cap:()=>KP,cc:()=>QP,cm:()=>XP,cmm:()=>oP,cnt:()=>CL,ctg:()=>SP,ctr:()=>JP,daily:()=>SL,day:()=>sP,default:()=>Cae,degree:()=>rP,dis:()=>dP,drm:()=>IL,fl:()=>jA,fld:()=>hP,flo:()=>pP,ftc:()=>mP,fts:()=>fP,"g/dl":()=>VA,gal:()=>kP,gm:()=>zA,goutte:()=>EP,gr:()=>eL,hour:()=>xP,in:()=>tL,inc:()=>nL,jar:()=>aL,kg:()=>BA,"kg/m2":()=>HA,kit:()=>rL,l:()=>qA,lb:()=>$A,lm:()=>DL,loz:()=>xL,mcg:()=>GA,mcl:()=>UA,mcm:()=>CP,mcn:()=>iL,meq:()=>WA,mg:()=>YA,"mg/dl":()=>ZA,"mg/l":()=>KA,"mg/m2":()=>QA,"mg/ml":()=>XA,mgper100ml:()=>DP,mic:()=>oL,mil:()=>sL,millisecond:()=>wP,min:()=>lL,minute:()=>gP,mis:()=>TL,ml:()=>JA,"ml/min":()=>eP,"ml/min/1.73m2":()=>_L,mm:()=>vP,"mm/h":()=>bP,mmhg:()=>yP,mmo:()=>uL,mol:()=>tP,month:()=>cP,nl:()=>cL,nmg:()=>NL,nmo:()=>OL,ns:()=>PP,ondemand:()=>IP,oz:()=>nP,pel:()=>dL,pg:()=>AP,pkg:()=>hL,pnu:()=>ML,ppm:()=>aP,pt:()=>pL,qs:()=>mL,qt:()=>fL,sap:()=>zL,sat:()=>RL,second:()=>_P,shock:()=>wL,spoon:()=>lP,spr:()=>TP,sqc:()=>gL,stp:()=>AL,sup:()=>LP,syr:()=>OP,tab:()=>FP,tbl:()=>jP,tes:()=>VP,ton:()=>HP,tpn:()=>MP,trc:()=>PL,tro:()=>EL,tsp:()=>BP,tub:()=>RP,umg:()=>vL,unt:()=>zP,vil:()=>NP,vpr:()=>LL,waf:()=>FL,week:()=>uP,x:()=>jL,ydl:()=>bL,yds:()=>yL});var AA="%",PA="{count, plural, one{Glühbirn} other{Glühbirnen}}",LA="Beutel",FA="schachteln",jA="fl",VA="g/dl",zA="g",BA="kg",HA="kg/m²",qA="l",$A="lb",GA="µg",UA="µl",WA="meq",YA="mg",ZA="mg/dl",KA="mg/l",QA="mg/m²",XA="mg/ml",JA="ml",eP="ml/min",tP="mol",nP="oz",aP="ppm",rP="°",iP="1000/mm³",oP="mm³",sP="{count, plural, one{Tag} other{Tage}}",lP="Löffel",uP="{count, plural, one{Woche} other{Wochen}}",cP="{count, plural, one{Monat} other{Monate}}",dP="{count, plural, one{Platte} other{Platten}}",hP="fl dr",pP="fl oz",mP="cu ft",fP="sq ft",gP="{count, plural, one{Minute} other{Minuten}}",vP="mm",bP="mm/h",yP="mmHg",_P="{count, plural, one{Sekunde} other{Sekunden}}",wP="{count, plural, one{Millisekunde} other{Millisekunden}}",xP="{count, plural, one{Stunde} other{Stunden}}",EP="{count, plural, one{Tropf} other{Tropfen}}",SP="{count, plural, one{Kartusche} other{Kartuschen}}",kP="gal",CP="mmol",IP="auf Antrag",DP="mg/100mL",TP="{count, plural, one{Sprühe} other{Sprühen}}",NP="{count, plural, one{Phiole} other{Phiolen}}",OP="{count, plural, one{Spritze} other{Spritzen}}",MP="Tampon",RP="{count, plural, one{Rohr} other{Rohre}}",AP="pg",PP="nicht spezifiziert",LP="{count, plural, one{Zäpfch} other{Zäpfchen}}",FP="{count, plural, one{Tablette} other{Tabletten}}",jP="Esslöffel",VP="Test",zP="{count, plural, one{Einheit} other{Einheiten}}",BP="teelöffel",HP="ton",qP="% v/v",$P="% w/v",GP="% w/w",UP="Schläge pro Minute",WP="Bolus",YP="{count, plural, one{Flasche} other{Fläschchen}}",ZP="Dose",KP="{count, plural, one{Kapsel} other{Kapseln}}",QP="cm3",XP="cm",JP="Halter",eL="Körnchen",tL="in",nL="in²",aL="Glas",rL="Kitt",iL="Micron",oL="µCi",sL="mCi",lL="minim",uL="μmol",cL="normal",dL="{count, plural, one{Pille} other{Pillen}}",hL="{count, plural, one{Paket} other{Pakete}}",pL="Pinte",mL="ausreichende Menge",fL="qt",gL="cm²",vL="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",bL="yd",yL="yd²",_L="mL/min/1.73m²",wL="{count, plural, one{Schock} other{Schocks}}",xL="{count, plural, one{Pastille} other{Pastillen}}",EL="{count, plural, one{Pastille} other{Pastillen}}",SL="täglich",kL="homöopathische Verdünnung (Centesimal 1/100)",CL="cnt",IL="Fass",DL="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",TL="verschiedene",NL="ng",OL="nmol",ML="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",RL="gesättigt",AL="Strip",PL="Spur",LL="Therapieschema abhängig",FL="{count, plural, one{Oblate} other{Oblaten}}",jL="homöopathische Verdünnung (dezimal 1/10)",VL="anzahl der antitachykardie-stimulationsbehandlungen",zL="Kumulativer sap wert",Cae={"%":AA,amp:PA,bag:LA,box:FA,fl:jA,"g/dl":VA,gm:zA,kg:BA,"kg/m2":HA,l:qA,lb:$A,mcg:GA,mcl:UA,meq:WA,mg:YA,"mg/dl":ZA,"mg/l":KA,"mg/m2":QA,"mg/ml":XA,ml:JA,"ml/min":eP,mol:tP,oz:nP,ppm:aP,degree:rP,"1000/mm3":iP,cmm:oP,day:sP,spoon:lP,week:uP,month:cP,dis:dP,fld:hP,flo:pP,ftc:mP,fts:fP,minute:gP,mm:vP,"mm/h":bP,mmhg:yP,second:_P,millisecond:wP,hour:xP,goutte:EP,ctg:SP,gal:kP,mcm:CP,ondemand:IP,mgper100ml:DP,spr:TP,vil:NP,syr:OP,tpn:MP,tub:RP,pg:AP,ns:PP,sup:LP,tab:FP,tbl:jP,tes:VP,unt:zP,tsp:BP,ton:HP,"%vv":qP,"%wv":$P,"%ww":GP,bitperminute:UP,bol:WP,bot:YP,can:ZP,cap:KP,cc:QP,cm:XP,ctr:JP,gr:eL,in:tL,inc:nL,jar:aL,kit:rL,mcn:iL,mic:oL,mil:sL,min:lL,mmo:uL,nl:cL,pel:dL,pkg:hL,pt:pL,qs:mL,qt:fL,sqc:gL,umg:vL,ydl:bL,yds:yL,"ml/min/1.73m2":_L,shock:wL,loz:xL,tro:EL,daily:SL,c:kL,cnt:CL,drm:IL,lm:DL,mis:TL,nmg:NL,nmo:OL,pnu:ML,sat:RL,stp:AL,trc:PL,vpr:LL,waf:FL,x:jL,atptreatment:VL,sap:zL},BL={};oe(BL,{"%":()=>HL,"%vv":()=>qL,"%wv":()=>$L,"%ww":()=>GL,"1000/mm3":()=>UL,amp:()=>WL,atptreatment:()=>YL,bag:()=>ZL,bitperminute:()=>KL,bol:()=>QL,bot:()=>XL,box:()=>JL,c:()=>eF,can:()=>tF,cap:()=>nF,cc:()=>aF,cm:()=>rF,cmm:()=>iF,cnt:()=>oF,ctg:()=>sF,ctr:()=>lF,daily:()=>uF,day:()=>cF,default:()=>Iae,degree:()=>dF,dis:()=>hF,drm:()=>pF,fl:()=>mF,fld:()=>fF,flo:()=>gF,ftc:()=>vF,fts:()=>bF,"g/dl":()=>yF,gal:()=>_F,gm:()=>wF,goutte:()=>xF,gr:()=>EF,hour:()=>SF,in:()=>kF,inc:()=>CF,jar:()=>IF,kg:()=>DF,"kg/m2":()=>TF,kit:()=>NF,l:()=>OF,lb:()=>MF,lm:()=>RF,loz:()=>AF,mcg:()=>PF,mcl:()=>LF,mcm:()=>FF,mcn:()=>jF,meq:()=>VF,mg:()=>zF,"mg/dl":()=>BF,"mg/l":()=>HF,"mg/m2":()=>qF,"mg/ml":()=>$F,mgper100ml:()=>GF,mic:()=>UF,mil:()=>WF,millisecond:()=>YF,min:()=>ZF,minute:()=>KF,mis:()=>QF,ml:()=>XF,"ml/min":()=>JF,"ml/min/1.73m2":()=>ej,mm:()=>tj,"mm/h":()=>nj,mmhg:()=>aj,mmo:()=>rj,mol:()=>ij,month:()=>oj,nl:()=>sj,nmg:()=>lj,nmo:()=>uj,ns:()=>cj,ondemand:()=>dj,oz:()=>hj,pel:()=>pj,pg:()=>mj,pkg:()=>fj,pnu:()=>gj,ppm:()=>vj,pt:()=>bj,qs:()=>yj,qt:()=>Yj,sap:()=>_j,sat:()=>wj,second:()=>xj,shock:()=>Ej,spoon:()=>Sj,spr:()=>kj,sqc:()=>Cj,stp:()=>Ij,sup:()=>Dj,syr:()=>Tj,tab:()=>Nj,tbl:()=>Oj,tes:()=>Mj,ton:()=>Rj,tpn:()=>Aj,trc:()=>Pj,tro:()=>Lj,tsp:()=>Fj,tub:()=>jj,umg:()=>Vj,unt:()=>zj,vil:()=>Bj,vpr:()=>Hj,waf:()=>qj,week:()=>$j,x:()=>Gj,ydl:()=>Uj,yds:()=>Wj});var HL="%",qL="% v/v",$L="% w/v",GL="% w/w",UL="1000/mm³",WL="{count, plural, one{ampule} other{ampules}}",YL="Number of treatments by anti-tachycardia pacing",ZL="{count, plural, one{bag} other{bags}}",KL="{count, plural, one{bit per minute} other{bits per minute}}",QL="bolus",XL="{count, plural, one{bottle} other{bottles}}",JL="{count, plural, one{box} other{boxes}}",eF="homeopathic dilution (centesimal 1/100)",tF="{count, plural, one{can} other{cans}}",nF="{count, plural, one{capsule} other{capsules}}",aF="cm³",rF="cm",iF="mm³",oF="cnt",sF="{count, plural, one{cartridge} other{cartridges}}",lF="{count, plural, one{container} other{containers}}",uF="daily",cF="{count, plural, one{day} other{days}}",dF="°",hF="{count, plural, one{disk} other{disks}}",pF="drum",mF="{count, plural, one{fluid} other{fluids}}",fF="fl dr",gF="{count, plural, one{fluid ounce} other{fluid ounces}}",vF="cu ft",bF="sq ft",yF="g/dl",_F="{count, plural, one{gallon} other{gallons}}",wF="g",xF="{count, plural, one{drop} other{drops}}",EF="{count, plural, one{grain} other{grains}}",SF="{count, plural, one{hour} other{hours}}",kF="{count, plural, one{inch} other{inches}}",CF="in²",IF="{count, plural, one{jar} other{jars}}",DF="kg",TF="kg/m²",NF="kit",OF="{count, plural, one{liter} other{liters}}",MF="{count, plural, one{pound} other{pounds}}",RF="homeopathic dilution (fifty millesimal 1/50,000)",AF="{count, plural, one{lozenge} other{lozenges}}",PF="µg",LF="µl",FF="mmol",jF="micron",VF="milliequivalent",zF="mg",BF="mg/dl",HF="mg/l",qF="mg/m²",$F="mg/ml",GF="mg/100mL",UF="µCi",WF="mCi",YF="{count, plural, one{millisecond} other{milliseconds}}",ZF="minim",KF="{count, plural, one{minute} other{minutes}}",QF="miscellaneous",XF="{count, plural, one{milliliter} other{milliliters}}",JF="ml/min",ej="mL/min/1.73m²",tj="mm",nj="mm/h",aj="mmHg",rj="μmol",ij="mol",oj="{count, plural, one{month} other{months}}",sj="normal",lj="ng",uj="nmol",cj="not stated",dj="on demand",hj="{count, plural, one{ounce} other{ounces}}",pj="{count, plural, one{pellet} other{pellets}}",mj="pg",fj="{count, plural, one{package} other{packages}}",gj="{count, plural, one{protein unit} other{protein unit}}",vj="ppm",bj="{count, plural, one{pint} other{pints}}",yj="quantity sufficient",_j="Cumulative sap value",wj="saturated",xj="{count, plural, one{second} other{seconds}}",Ej="shock",Sj="{count, plural, one{spoon} other{spoons}}",kj="{count, plural, one{spray} other{sprays}}",Cj="cm²",Ij="{count, plural, one{strip} other{strips}}",Dj="{count, plural, one{suppository} other{suppositories}}",Tj="{count, plural, one{syrynge} other{syrynges}}",Nj="{count, plural, one{tablet} other{tablets}}",Oj="{count, plural, one{tablespoon} other{tablespoons}}",Mj="{count, plural, one{test} other{tests}}",Rj="{count, plural, one{ton} other{tons}}",Aj="{count, plural, one{tampon} other{tampons}}",Pj="{count, plural, one{trace} other{traces}}",Lj="{count, plural, one{troche} other{troches}}",Fj="{count, plural, one{teaspoon} other{teaspoons}}",jj="{count, plural, one{tube} other{tubes}}",Vj="UNITS PER MILLIGRAM",zj="{count, plural, one{unit} other{units}}",Bj="{count, plural, one{vial} other{vials}}",Hj="varies per regimen",qj="{count, plural, one{wafer} other{wafers}}",$j="{count, plural, one{week} other{weeks}}",Gj="homeopathic dilution (decimal 1/10)",Uj="yd",Wj="yd²",Yj="qt",Iae={"%":HL,"%vv":qL,"%wv":$L,"%ww":GL,"1000/mm3":UL,amp:WL,atptreatment:YL,bag:ZL,bitperminute:KL,bol:QL,bot:XL,box:JL,c:eF,can:tF,cap:nF,cc:aF,cm:rF,cmm:iF,cnt:oF,ctg:sF,ctr:lF,daily:uF,day:cF,degree:dF,dis:hF,drm:pF,fl:mF,fld:fF,flo:gF,ftc:vF,fts:bF,"g/dl":yF,gal:_F,gm:wF,goutte:xF,gr:EF,hour:SF,in:kF,inc:CF,jar:IF,kg:DF,"kg/m2":TF,kit:NF,l:OF,lb:MF,lm:RF,loz:AF,mcg:PF,mcl:LF,mcm:FF,mcn:jF,meq:VF,mg:zF,"mg/dl":BF,"mg/l":HF,"mg/m2":qF,"mg/ml":$F,mgper100ml:GF,mic:UF,mil:WF,millisecond:YF,min:ZF,minute:KF,mis:QF,ml:XF,"ml/min":JF,"ml/min/1.73m2":ej,mm:tj,"mm/h":nj,mmhg:aj,mmo:rj,mol:ij,month:oj,nl:sj,nmg:lj,nmo:uj,ns:cj,ondemand:dj,oz:hj,pel:pj,pg:mj,pkg:fj,pnu:gj,ppm:vj,pt:bj,qs:yj,sap:_j,sat:wj,second:xj,shock:Ej,spoon:Sj,spr:kj,sqc:Cj,stp:Ij,sup:Dj,syr:Tj,tab:Nj,tbl:Oj,tes:Mj,ton:Rj,tpn:Aj,trc:Pj,tro:Lj,tsp:Fj,tub:jj,umg:Vj,unt:zj,vil:Bj,vpr:Hj,waf:qj,week:$j,x:Gj,ydl:Uj,yds:Wj,qt:Yj},Zj={};oe(Zj,{"%":()=>Kj,"%vv":()=>iV,"%wv":()=>oV,"%ww":()=>sV,"1000/mm3":()=>w3,amp:()=>Qj,atptreatment:()=>tz,bag:()=>Xj,bitperminute:()=>lV,bol:()=>uV,bot:()=>cV,box:()=>Jj,c:()=>BV,can:()=>dV,cap:()=>hV,cc:()=>pV,cm:()=>mV,cmm:()=>x3,cnt:()=>HV,ctg:()=>z3,ctr:()=>fV,daily:()=>zV,day:()=>E3,default:()=>Dae,degree:()=>_3,dis:()=>I3,drm:()=>qV,fl:()=>e3,fld:()=>D3,flo:()=>T3,ftc:()=>N3,fts:()=>O3,"g/dl":()=>t3,gal:()=>B3,gm:()=>n3,goutte:()=>V3,gr:()=>gV,hour:()=>j3,in:()=>vV,inc:()=>bV,jar:()=>yV,kg:()=>a3,"kg/m2":()=>r3,kit:()=>_V,l:()=>i3,lb:()=>o3,lm:()=>$V,loz:()=>jV,mcg:()=>s3,mcl:()=>l3,mcm:()=>H3,mcn:()=>wV,meq:()=>u3,mg:()=>c3,"mg/dl":()=>d3,"mg/l":()=>h3,"mg/m2":()=>p3,"mg/ml":()=>m3,mgper100ml:()=>$3,mic:()=>xV,mil:()=>EV,millisecond:()=>F3,min:()=>SV,minute:()=>M3,mis:()=>GV,ml:()=>f3,"ml/min":()=>g3,"ml/min/1.73m2":()=>LV,mm:()=>R3,"mm/h":()=>A3,mmhg:()=>P3,mmo:()=>kV,mol:()=>v3,month:()=>C3,nl:()=>CV,nmg:()=>UV,nmo:()=>WV,ns:()=>Q3,ondemand:()=>q3,oz:()=>b3,pel:()=>IV,pg:()=>K3,pkg:()=>DV,pnu:()=>YV,ppm:()=>y3,pt:()=>TV,qs:()=>NV,qt:()=>OV,sap:()=>nz,sat:()=>ZV,second:()=>L3,shock:()=>FV,spoon:()=>S3,spr:()=>G3,sqc:()=>MV,stp:()=>KV,sup:()=>X3,syr:()=>W3,tab:()=>J3,tbl:()=>eV,tes:()=>tV,ton:()=>rV,tpn:()=>Y3,trc:()=>QV,tro:()=>VV,tsp:()=>aV,tub:()=>Z3,umg:()=>RV,unt:()=>nV,vil:()=>U3,vpr:()=>XV,waf:()=>JV,week:()=>k3,x:()=>ez,ydl:()=>AV,yds:()=>PV});var Kj="%",Qj="{count, plural, one{ampoule} other{ampoules}}",Xj="{count, plural, one{sac} other{sacs}}",Jj="{count, plural, one{vaporisateur} other{vaporisateurs}}",e3="fl",t3="g/dl",n3="g",a3="kg",r3="kg/m²",i3="l",o3="lb",s3="µg",l3="µl",u3="milli-equivalent",c3="mg",d3="mg/dl",h3="mg/l",p3="mg/m²",m3="mg/ml",f3="ml",g3="ml/min",v3="mol",b3="oz",y3="ppm",_3="°",w3="1000/mm³",x3="mm³",E3="{count, plural, one{jour(s)} other{jours}}",S3="{count, plural, one{cuillère} other{cuillères}}",k3="{count, plural, one{semaine} other{semaines}}",C3="mois",I3="{count, plural, one{disque} other{disques}}",D3="fl dr",T3="fl oz",N3="cu ft",O3="sq ft",M3="{count, plural, one{minute} other{minutes}}",R3="mm",A3="mm/h",P3="mmHg",L3="{count, plural, one{seconde} other{secondes}}",F3="{count, plural, one{milliseconde} other{millisecondes}}",j3="{count, plural, one{heure} other{heures}}",V3="{count, plural, one{goutte} other{gouttes}}",z3="{count, plural, one{cartouche} other{cartouches}}",B3="gal",H3="mmol",q3="sur demande",$3="mg/100mL",G3="spray",U3="{count, plural, one{fiole} other{fioles}}",W3="{count, plural, one{seringue} other{seringues}}",Y3="{count, plural, one{tampon} other{tampons}}",Z3="{count, plural, one{tube} other{tubes}}",K3="pg",Q3="non spécifié",X3="{count, plural, one{suppositoire} other{suppositoires}}",J3="{count, plural, one{tablette} other{tablettes}}",eV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",tV="{count, plural, one{test} other{tests}}",nV="{count, plural, one{unité} other{unités}}",aV="{count, plural, one{cuillère à café} other{cuillères à café}}",rV="{count, plural, one{ton} other{tons}}",iV="% v/v",oV="% w/v",sV="% w/w",lV="{count, plural, one{battement par minute} other{battements par minute}}",uV="{count, plural, one{bolus} other{bolus}}",cV="{count, plural, one{bouteille} other{bouteilles}}",dV="{count, plural, one{canette} other{canettes}}",hV="{count, plural, one{capsule} other{capsules}}",pV="cm3",mV="cm",fV="{count, plural, one{conteneur} other{conteneurs}}",gV="{count, plural, one{granule} other{granules}}",vV="in",bV="in²",yV="pot",_V="{count, plural, one{kit} other{kits}}",wV="micron",xV="µCi",EV="mCi",SV="minim",kV="μmol",CV="normal",IV="{count, plural, one{pilule} other{pilules}}",DV="{count, plural, one{paquet} other{paquets}}",TV="pinte",NV="quantité suffisante",OV="qt",MV="cm²",RV="{count, plural, one{unité / mg} other{unités / mg}}",AV="yd",PV="yd²",LV="mL/min/1.73m²",FV="choc",jV="{count, plural, one{pastille} other{pastilles}}",VV="{count, plural, one{pastille} other{pastilles}}",zV="journalier",BV="dilution homéopathique (centésimal 1/100)",HV="cnt",qV="fût",$V="dilution homéopathique (50 millisimaux au ratio 1:50,000)",GV="divers",UV="ng",WV="nmol",YV="{count, plural, one{unité protéique} other{unités protéiques}}",ZV="saturé",KV="strip",QV="trace",XV="dépendant du schéma thérapeutique",JV="{count, plural, one{hostie} other{hosties}}",ez="dilution homéopathique (décimal 1/10)",tz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",nz="Valeur sap cumulative",Dae={"%":Kj,amp:Qj,bag:Xj,box:Jj,fl:e3,"g/dl":t3,gm:n3,kg:a3,"kg/m2":r3,l:i3,lb:o3,mcg:s3,mcl:l3,meq:u3,mg:c3,"mg/dl":d3,"mg/l":h3,"mg/m2":p3,"mg/ml":m3,ml:f3,"ml/min":g3,mol:v3,oz:b3,ppm:y3,degree:_3,"1000/mm3":w3,cmm:x3,day:E3,spoon:S3,week:k3,month:C3,dis:I3,fld:D3,flo:T3,ftc:N3,fts:O3,minute:M3,mm:R3,"mm/h":A3,mmhg:P3,second:L3,millisecond:F3,hour:j3,goutte:V3,ctg:z3,gal:B3,mcm:H3,ondemand:q3,mgper100ml:$3,spr:G3,vil:U3,syr:W3,tpn:Y3,tub:Z3,pg:K3,ns:Q3,sup:X3,tab:J3,tbl:eV,tes:tV,unt:nV,tsp:aV,ton:rV,"%vv":iV,"%wv":oV,"%ww":sV,bitperminute:lV,bol:uV,bot:cV,can:dV,cap:hV,cc:pV,cm:mV,ctr:fV,gr:gV,in:vV,inc:bV,jar:yV,kit:_V,mcn:wV,mic:xV,mil:EV,min:SV,mmo:kV,nl:CV,pel:IV,pkg:DV,pt:TV,qs:NV,qt:OV,sqc:MV,umg:RV,ydl:AV,yds:PV,"ml/min/1.73m2":LV,shock:FV,loz:jV,tro:VV,daily:zV,c:BV,cnt:HV,drm:qV,lm:$V,mis:GV,nmg:UV,nmo:WV,pnu:YV,sat:ZV,stp:KV,trc:QV,vpr:XV,waf:JV,x:ez,atptreatment:tz,sap:nz},az={};oe(az,{"%":()=>rz,"%vv":()=>pB,"%wv":()=>mB,"%ww":()=>fB,"1000/mm3":()=>Tz,amp:()=>iz,atptreatment:()=>u5,bag:()=>oz,bitperminute:()=>gB,bol:()=>vB,bot:()=>bB,box:()=>sz,c:()=>ZB,can:()=>yB,cap:()=>_B,cc:()=>wB,cm:()=>xB,cmm:()=>Nz,cnt:()=>KB,ctg:()=>Yz,ctr:()=>EB,daily:()=>YB,day:()=>Oz,default:()=>Tae,degree:()=>Dz,dis:()=>Pz,drm:()=>QB,fl:()=>lz,fld:()=>Lz,flo:()=>Fz,ftc:()=>jz,fts:()=>Vz,"g/dl":()=>uz,gal:()=>Zz,gm:()=>cz,goutte:()=>Wz,gr:()=>SB,hour:()=>Uz,in:()=>kB,inc:()=>CB,jar:()=>IB,kg:()=>dz,"kg/m2":()=>hz,kit:()=>DB,l:()=>pz,lb:()=>mz,lm:()=>XB,loz:()=>UB,mcg:()=>fz,mcl:()=>gz,mcm:()=>Kz,mcn:()=>TB,meq:()=>vz,mg:()=>bz,"mg/dl":()=>yz,"mg/l":()=>_z,"mg/m2":()=>wz,"mg/ml":()=>xz,mgper100ml:()=>Xz,mic:()=>NB,mil:()=>OB,millisecond:()=>Gz,min:()=>MB,minute:()=>zz,mis:()=>JB,ml:()=>Ez,"ml/min":()=>Sz,"ml/min/1.73m2":()=>$B,mm:()=>Bz,"mm/h":()=>Hz,mmhg:()=>qz,mmo:()=>RB,mol:()=>kz,month:()=>Az,nl:()=>AB,nmg:()=>e5,nmo:()=>t5,ns:()=>iB,ondemand:()=>Qz,oz:()=>Cz,pel:()=>PB,pg:()=>rB,pkg:()=>LB,pnu:()=>n5,ppm:()=>Iz,pt:()=>FB,qs:()=>jB,qt:()=>VB,sap:()=>c5,sat:()=>a5,second:()=>$z,shock:()=>GB,spoon:()=>Mz,spr:()=>Jz,sqc:()=>zB,stp:()=>r5,sup:()=>oB,syr:()=>tB,tab:()=>sB,tbl:()=>lB,tes:()=>uB,ton:()=>hB,tpn:()=>nB,trc:()=>i5,tro:()=>WB,tsp:()=>dB,tub:()=>aB,umg:()=>BB,unt:()=>cB,vil:()=>eB,vpr:()=>o5,waf:()=>s5,week:()=>Rz,x:()=>l5,ydl:()=>HB,yds:()=>qB});var rz="%",iz="{count, plural, one{ampule} other{ampullen}}",oz="{count, plural, one{zak} other{zakken}}",sz="{count, plural, one{verstuiver} other{verstuivers}}",lz="fl",uz="g/dl",cz="g",dz="kg",hz="kg/m²",pz="l",mz="lb",fz="µg",gz="µl",vz="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",bz="mg",yz="mg/dl",_z="mg/l",wz="mg/m²",xz="mg/ml",Ez="ml",Sz="ml/min",kz="mol",Cz="oz",Iz="ppm",Dz="°",Tz="1000/mm³",Nz="mm³",Oz="{count, plural, one{dag} other{dagen}}",Mz="{count, plural, one{lepel} other{lepels}}",Rz="{count, plural, one{week} other{weken}}",Az="{count, plural, one{maand} other{maanden}}",Pz="{count, plural, one{schijf} other{schijven}}",Lz="fl dr",Fz="fl oz",jz="cu ft",Vz="sq ft",zz="{count, plural, one{minuut} other{minuten}}",Bz="mm",Hz="mm/h",qz="mmHg",$z="{count, plural, one{seconde} other{seconden}}",Gz="{count, plural, one{milliseconde} other{milliseconden}}",Uz="{count, plural, one{uur} other{uren}}",Wz="{count, plural, one{druppel} other{druppels}}",Yz="{count, plural, one{patroon} other{patronen}}",Zz="gal",Kz="mmol",Qz="op aanvraag",Xz="mg/100mL",Jz="{count, plural, one{spray} other{sprays}}",eB="{count, plural, one{flesje} other{flesjes}}",tB="{count, plural, one{spuit} other{spuiten}}",nB="{count, plural, one{tampon} other{tampons}}",aB="{count, plural, one{buis} other{buizen}}",rB="pg",iB="niet gespecificeerd",oB="{count, plural, one{zetpil} other{zetpillen}}",sB="{count, plural, one{tablet} other{tabletten}}",lB="{count, plural, one{eetlepel} other{eetlepels}}",uB="{count, plural, one{test} other{tests}}",cB="{count, plural, one{eenheid} other{eenheden}}",dB="{count, plural, one{theelepel} other{theelepels}}",hB="{count, plural, one{ton} other{tonnen}}",pB="% v/v",mB="% w/v",fB="% w/w",gB="{count, plural, one{slag per minuut} other{slagen per minuut}}",vB="bolus",bB="{count, plural, one{fles} other{flessen}}",yB="{count, plural, one{blikje} other{blikjes}}",_B="{count, plural, one{capsule} other{capsules}}",wB="cm3",xB="cm",EB="{count, plural, one{houder} other{houders}}",SB="{count, plural, one{korrel} other{korrels}}",kB="in",CB="in²",IB="{count, plural, one{pot} other{potten}}",DB="{count, plural, one{kit} other{kits}}",TB="micron",NB="µCi",OB="mCi",MB="minim",RB="μmol",AB="normaal",PB="{count, plural, one{pil} other{pillen}}",LB="{count, plural, one{pakket} other{pakketten}}",FB="{count, plural, one{pint} other{pinten}}",jB="voldoende hoeveelheid",VB="qt",zB="cm²",BB="{count, plural, one{eenheid / mg} other{eenheden / mg}}",HB="yd",qB="yd²",$B="mL/min/1.73m²",GB="{count, plural, one{schok} other{schokken}}",UB="{count, plural, one{zuigtablet} other{zuigtabletten}}",WB="{count, plural, one{zuigtablet} other{zuigtabletten}}",YB="dagelijks",ZB="homeopathische verdunning (centesimal 1/100)",KB="cnt",QB="vat",XB="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",JB="diverse",e5="ng",t5="nmol",n5="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",a5="verzadigd",r5="{count, plural, one{strip} other{strips}}",i5="{count, plural, one{spoor} other{sporen}}",o5="behandelingsschema-afhankelijk",s5="{count, plural, one{ouwel} other{ouwels}}",l5="homeopathische verdunning (decimaal 1/10)",u5="aantal anti-tachycardie-stimulatiebehandelingen",c5="Cumulatieve sap waarde",Tae={"%":rz,amp:iz,bag:oz,box:sz,fl:lz,"g/dl":uz,gm:cz,kg:dz,"kg/m2":hz,l:pz,lb:mz,mcg:fz,mcl:gz,meq:vz,mg:bz,"mg/dl":yz,"mg/l":_z,"mg/m2":wz,"mg/ml":xz,ml:Ez,"ml/min":Sz,mol:kz,oz:Cz,ppm:Iz,degree:Dz,"1000/mm3":Tz,cmm:Nz,day:Oz,spoon:Mz,week:Rz,month:Az,dis:Pz,fld:Lz,flo:Fz,ftc:jz,fts:Vz,minute:zz,mm:Bz,"mm/h":Hz,mmhg:qz,second:$z,millisecond:Gz,hour:Uz,goutte:Wz,ctg:Yz,gal:Zz,mcm:Kz,ondemand:Qz,mgper100ml:Xz,spr:Jz,vil:eB,syr:tB,tpn:nB,tub:aB,pg:rB,ns:iB,sup:oB,tab:sB,tbl:lB,tes:uB,unt:cB,tsp:dB,ton:hB,"%vv":pB,"%wv":mB,"%ww":fB,bitperminute:gB,bol:vB,bot:bB,can:yB,cap:_B,cc:wB,cm:xB,ctr:EB,gr:SB,in:kB,inc:CB,jar:IB,kit:DB,mcn:TB,mic:NB,mil:OB,min:MB,mmo:RB,nl:AB,pel:PB,pkg:LB,pt:FB,qs:jB,qt:VB,sqc:zB,umg:BB,ydl:HB,yds:qB,"ml/min/1.73m2":$B,shock:GB,loz:UB,tro:WB,daily:YB,c:ZB,cnt:KB,drm:QB,lm:XB,mis:JB,nmg:e5,nmo:t5,pnu:n5,sat:a5,stp:r5,trc:i5,vpr:o5,waf:s5,x:l5,atptreatment:u5,sap:c5},Nae={nl:az,fr:Zj,de:RA,en:BL},d5={};oe(d5,{default:()=>Oae,header:()=>h5,patient:()=>p5,professional:()=>m5});var h5="Ausgegebene Medikamente?",p5={part1:{1:"Die Liste kann",2:" unvollständig ",3:"sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für Sie bestimmt ",3:"sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen."},part3:{1:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu",2:" Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung."}},m5={part1:{1:"Die Liste kann",2:" unvollständig ",3:": , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für diesen Patienten bestimmt ",3:"sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."}},Oae={header:h5,patient:p5,professional:m5},f5={};oe(f5,{default:()=>Mae,header:()=>g5,patient:()=>v5,professional:()=>b5});var g5="How to interpret the list?",v5={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."},part3:{1:"If in doubt, always consult your doctor or pharmacist. This information is provided",2:"for informational purposes and is not a substitute for professional medical advice."}},b5={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."}},Mae={header:g5,patient:v5,professional:b5},y5={};oe(y5,{default:()=>Rae,header:()=>_5,patient:()=>w5,professional:()=>x5});var _5="Comment interpréter la liste?",w5={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne vous concernent pas. ",3:"Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres."},part3:{1:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes",2:" à titre informatif et ne remplacent pas un avis médical professionnel."}},x5={part1:{1:"Cette liste",2:" peut être incomplète ",3:": 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:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},Rae={header:_5,patient:w5,professional:x5},E5={};oe(E5,{default:()=>Aae,header:()=>S5,patient:()=>k5,professional:()=>C5});var S5="Hoe de lijst interpreteren?",k5={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},C5={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:": is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor deze patiënt bestemd ",3:"zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."}},Aae={header:S5,patient:k5,professional:C5},Pae={nl:E5,fr:y5,de:d5,en:f5},I5={};oe(I5,{default:()=>Lae,headers:()=>D5,magisterialPreparation:()=>T5,noContent:()=>N5});var D5={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},T5="Verschreibungurarzneimittel",N5="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Lae={headers:D5,magisterialPreparation:T5,noContent:N5},O5={};oe(O5,{default:()=>Fae,headers:()=>M5,magisterialPreparation:()=>R5,noContent:()=>A5});var M5={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},R5="Magistral preparation",A5="There is no delivered medication found for this patient.",Fae={headers:M5,magisterialPreparation:R5,noContent:A5},P5={};oe(P5,{default:()=>jae,headers:()=>L5,magisterialPreparation:()=>F5,noContent:()=>j5});var L5={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},F5="Préparation magistrale",j5="Aucun médicament délivré n'a été retrouvé pour ce patient.",jae={headers:L5,magisterialPreparation:F5,noContent:j5},V5={};oe(V5,{default:()=>Vae,headers:()=>z5,magisterialPreparation:()=>B5,noContent:()=>H5});var z5={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},B5="Magistrale bereiding",H5="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Vae={headers:z5,magisterialPreparation:B5,noContent:H5},zae={nl:V5,fr:P5,de:I5,en:O5},q5={};oe(q5,{composition:()=>$5,default:()=>Bae,"delivered-by":()=>K5,"delivery-date":()=>Z5,dguid:()=>U5,"is-prescribed":()=>W5,leaflet:()=>a4,"magisterial-preparation":()=>n4,medication:()=>i4,"no-pharmacy":()=>e4,noDetails:()=>o4,package:()=>r4,patient:()=>t4,posologie:()=>G5,quantity:()=>Y5,"return-delivery-date":()=>X5,"returned-by":()=>J5,"returned-quantity":()=>Q5});var $5="Zusammensetzung",G5="Dosierung",U5="ID Ausgabe",W5={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},Y5="Gelieferte Menge",Z5="Lieferdatum",K5="Geliefert von",Q5="Zurückgenommene Menge",X5="Rücknahme am",J5="Rücknahme durch",e4="Apotheke mit LIKIV-Erkennungsnummer",t4="Patient",n4="Verschreibungurarzneimittel",a4="Packungsbeilage",r4="{count, plural, one{Verpackung} other{Verpackungen}}",i4="Arzneimittel",o4="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Bae={composition:$5,posologie:G5,dguid:U5,"is-prescribed":W5,quantity:Y5,"delivery-date":Z5,"delivered-by":K5,"returned-quantity":Q5,"return-delivery-date":X5,"returned-by":J5,"no-pharmacy":e4,patient:t4,"magisterial-preparation":n4,leaflet:a4,package:r4,medication:i4,noDetails:o4},s4={};oe(s4,{composition:()=>l4,default:()=>Hae,"delivered-by":()=>u4,"delivery-date":()=>c4,dguid:()=>d4,"is-prescribed":()=>h4,leaflet:()=>p4,"magisterial-preparation":()=>m4,medication:()=>f4,"no-pharmacy":()=>g4,noDetails:()=>v4,package:()=>b4,patient:()=>y4,posologie:()=>_4,quantity:()=>w4,"return-delivery-date":()=>S4,"returned-by":()=>k4,"returned-quantity":()=>E4,title:()=>x4});var l4="Composition",u4="Dispensed by",c4="Date dispensed",d4="Dispensing ID",h4={no:"No",title:"Was prescribed",yes:"Yes"},p4="Package leaflet",m4="Compounded preparation",f4="Medication",g4="Pharmacy with NIHDI number",v4="The requested information has been deleted or doesn't exist.",b4="{count, plural, one{package} other{packages}}",y4="Patient",_4="Dosage",w4="Dispensed quality",x4="Detail of the dispensed medication",E4="Returned quantity",S4="Return on",k4="Return by",Hae={composition:l4,"delivered-by":u4,"delivery-date":c4,dguid:d4,"is-prescribed":h4,leaflet:p4,"magisterial-preparation":m4,medication:f4,"no-pharmacy":g4,noDetails:v4,package:b4,patient:y4,posologie:_4,quantity:w4,title:x4,"returned-quantity":E4,"return-delivery-date":S4,"returned-by":k4},C4={};oe(C4,{composition:()=>I4,default:()=>qae,"delivered-by":()=>R4,"delivery-date":()=>M4,dguid:()=>T4,"is-prescribed":()=>N4,leaflet:()=>z4,"magisterial-preparation":()=>V4,medication:()=>H4,"no-pharmacy":()=>F4,noDetails:()=>q4,package:()=>B4,patient:()=>j4,posologie:()=>D4,quantity:()=>O4,"return-delivery-date":()=>P4,"returned-by":()=>L4,"returned-quantity":()=>A4});var I4="Composition",D4="Posologie",T4="ID délivrance",N4={title:"A été prescrit",yes:"Oui",no:"Non"},O4="Quantité délivrée",M4="Date de délivrance",R4="Délivré par",A4="Quantité retournée",P4="Retour le",L4="Retour par",F4="Pharmacie avec numéro INAMI",j4="Patient",V4="Préparation magistrale",z4="Notice d'information",B4="{count, plural, one{emballage} other{emballages}}",H4="Médicament",q4="La prescription demandée a été supprimée ou n'existe pas.",qae={composition:I4,posologie:D4,dguid:T4,"is-prescribed":N4,quantity:O4,"delivery-date":M4,"delivered-by":R4,"returned-quantity":A4,"return-delivery-date":P4,"returned-by":L4,"no-pharmacy":F4,patient:j4,"magisterial-preparation":V4,leaflet:z4,package:B4,medication:H4,noDetails:q4},$4={};oe($4,{composition:()=>G4,default:()=>$ae,"delivered-by":()=>Q4,"delivery-date":()=>K4,dguid:()=>W4,"is-prescribed":()=>Y4,leaflet:()=>r9,"magisterial-preparation":()=>a9,medication:()=>o9,"no-pharmacy":()=>t9,noDetails:()=>s9,package:()=>i9,patient:()=>n9,posologie:()=>U4,quantity:()=>Z4,"return-delivery-date":()=>J4,"returned-by":()=>e9,"returned-quantity":()=>X4});var G4="Samenstelling",U4="Posologie",W4="ID aflevering",Y4={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},Z4="Afgeleverde hoeveelheid",K4="Datum afgeleverd",Q4="Afgeleverd door",X4="Teruggenomen hoeveelheid",J4="Terugname op",e9="Terugname door",t9="Apotheek met RIZIV-nummer",n9="Patiënt",a9="Magistrale bereiding",r9="Bijsluiter",i9="{count, plural, one{verpakking} other{verpakkingen}}",o9="Geneesmiddel(en)",s9="Het gevraagde voorschrift is verwijderd of bestaat niet.",$ae={composition:G4,posologie:U4,dguid:W4,"is-prescribed":Y4,quantity:Z4,"delivery-date":K4,"delivered-by":Q4,"returned-quantity":X4,"return-delivery-date":J4,"returned-by":e9,"no-pharmacy":t9,patient:n9,"magisterial-preparation":a9,leaflet:r9,package:i9,medication:o9,noDetails:s9},Gae={nl:$4,fr:C4,de:q5,en:s4},Uae=class extends jo{getTranslation(e){return at({commons:Wt(se({},cae[e]),{units:Nae[e],galenicFormCodes:iae[e],timeUnits:kae[e],administrationUnits:$ne[e],periods:fae[e],days:Zne[e],posology:_ae[e],errors:eae[e]}),deliveredMedicationsList:zae[e],deliveredMedicationsDisclaimer:Pae[e],deliveredMedicationDetails:Gae[e]})}},Wae=[Rne,oK({defaultLanguage:"fr",loader:{provide:jo,useClass:Uae},compiler:{provide:zo,useClass:Fne}})],l9=(()=>{const t=class t{constructor(){this.http=C(yi)}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})(),Yae={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{identifier:{value:"0589028",type:rr.COMPOUND},name:[{value:"ERYTHROMYCINE SOL. HYDRO-ALC. 4% FTM2"}],quantity:{value:1},instructions:[{lang:h.FR,value:"magistralPreparation - formularyReference"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5d5b8138-4941-8359-de2f-77d560f6f0ef",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.EN,value:"Posology free text"},{lang:h.EN,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{quantity:{value:1},ingredients:[{identifier:{value:"1543305",type:rr.CNK},name:[{value:"ATROVENT MONODOSE 0,25MG/2ML VIALS 20"}],prefix:"ad",value:10,unit:"ml"},{identifier:{value:"1484229",type:rr.CNK},name:[{value:"Panadol 1 g comp. 50"}]},{identifier:{value:"0525337",type:rr.CNK},name:[{value:"GLYCEROL"}],value:.2,unit:"gm"}],instructions:[{lang:h.FR,value:"magistralPreparation - compound (all cases)"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5715ad8c-d6ab-27b4-83f5-44ca67d5d00a",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:rr.CNK},name:[{lang:h.NL,value:"SINUTAB FORTE 500/60 MG COMP 20"},{lang:h.FR,value:"SINUTAB FORTE 500/60 MG COMP 20"},{value:"SINUTAB FORTE 500/60 MG COMP 20"}],quantity:{value:2},instructions:[{lang:h.FR,value:"productCode"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{name:[{value:"unregisteredProduct"}],quantity:{value:1},instructions:[{lang:h.FR,value:"unregisteredProduct"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"28a8545b-7e79-4669-1956-67266e46b225",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!1}]},u9=(()=>{const t=class t{constructor(){this.demoService=C(Xte)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Yae)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=V({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),c9=(()=>{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})(),Zae=(e,t)=>e.getEnvironmentVariable("env")===Aa.DEMO?t.get(u9):t.get(l9),Kae={provide:c9,useFactory:Zae,deps:[wi,rt]},Mf=(()=>{const t=class t extends V1{constructor(n,r){super(n.getServices(),ho.DELIVERED_MEDICATIONS,r.getInstance().isOfflineAuthenticated,r.getInstance().isOfflineDataStorageEnabled,ho.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=C(c9),this.authServiceSelector=C(si),this.deliveredMedicationsStateSubject$=new bd({status:Yr.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return vt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),r=this.deliveredMedicationsApiService.get(n);return KH(r)})}getDeliveredMedications(n=!0){return vt(this,null,function*(){return tne(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(te(Ul),te(si))},t.ɵprov=V({token:t,factory:t.ɵfac});let e=t;return e})(),_s;function Qae(){if(_s===void 0&&(_s=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(_s=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return _s}function Ri(e){var t;return((t=Qae())==null?void 0:t.createHTML(e))||e}function Rf(e){return Error(`Unable to find icon with the name "${e}"`)}function Xae(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Af(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Pf(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var er=class{constructor(e,t,a){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=a}},Jae=(()=>{const t=class t{constructor(n,r,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=r,this._errorHandler=o,this._document=i}addSvgIcon(n,r,i){return this.addSvgIconInNamespace("",n,r,i)}addSvgIconLiteral(n,r,i){return this.addSvgIconLiteralInNamespace("",n,r,i)}addSvgIconInNamespace(n,r,i,o){return this._addSvgIconConfig(n,r,new er(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){let l=this._sanitizer.sanitize(rn.HTML,i);if(!l)throw Pf(i);let c=Ri(l);return this._addSvgIconConfig(n,r,new er("",c,o))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,i){return this._addSvgIconSetConfig(n,new er(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){let o=this._sanitizer.sanitize(rn.HTML,r);if(!o)throw Pf(r);let l=Ri(o);return this._addSvgIconSetConfig(n,new er("",l,i))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(rn.RESOURCE_URL,n);if(!r)throw Af(n);let i=this._cachedIconsByUrl.get(r);return i?at(ws(i)):this._loadSvgIconFromConfig(new er(n,null)).pipe(au(o=>this._cachedIconsByUrl.set(r,o)),Ot(o=>ws(o)))}getNamedSvgIcon(n,r=""){let i=Lf(r,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(r);return l?this._getSvgFromIconSetConfigs(n,l):Lg(Rf(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?at(ws(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Ot(r=>ws(r)))}_getSvgFromIconSetConfigs(n,r){let i=this._extractIconWithNameFromAnySet(n,r);if(i)return at(i);let o=r.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Ed(c=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(rn.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(u)),at(null)})));return Bg(o).pipe(Ot(()=>{let l=this._extractIconWithNameFromAnySet(n,r);if(!l)throw Rf(n);return l}))}_extractIconWithNameFromAnySet(n,r){for(let i=r.length-1;i>=0;i--){let o=r[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(au(r=>n.svgText=r),Ot(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?at(null):this._fetchIcon(n).pipe(au(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,i){let o=n.querySelector(`[id="${r}"]`);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(Ri("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,i)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let r=this._svgElementFromString(Ri("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:c}=i[o];l!=="id"&&r.setAttribute(l,c)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw Xae();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let l=this._sanitizer.sanitize(rn.RESOURCE_URL,r);if(!l)throw Af(r);let c=this._inProgressUrlFetches.get(l);if(c)return c;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Ot(d=>Ri(d)),$g(()=>this._inProgressUrlFetches.delete(l)),Gg());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(Lf(n,r),i),this}_addSvgIconSetConfig(n,r){let i=this._iconSetConfigs.get(n);return i?i.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](r,n);if(o)return ere(o)?new er(o.url,null,o.options):new er(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(te(yi,8),te(gy),te(Le,8),te(An))}),s(t,"ɵprov",V({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ws(e){return e.cloneNode(!0)}function Lf(e,t){return e+":"+t}function ere(e){return!!(e.url&&e.options)}var tre=["*"],nre=new K("MAT_ICON_DEFAULT_OPTIONS"),are=new K("mat-icon-location",{providedIn:"root",factory:rre});function rre(){let e=C(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var d9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ire=d9.map(e=>`[${e}]`).join(", "),ore=/^url\(['"]?#(.*?)['"]?\)$/,h9=(()=>{const t=class t{constructor(){s(this,"_elementRef",C(At));s(this,"_iconRegistry",C(Jae));s(this,"_location",C(are));s(this,"_errorHandler",C(An));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",ln.EMPTY);let n=C(new q$("aria-hidden"),{optional:!0}),r=C(nre,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.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 r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let i=n.childNodes[r];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),r.forEach(i=>n.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.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 r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(ire),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)d9.forEach(l=>{let c=r[o],u=c.getAttribute(l),d=u?u.match(ore):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[r,i]=this._splitIconName(n);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(sn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${r}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&(Ln("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),jl(r.color?"mat-"+r.color:""),Rn("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Li],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:tre,decls:1,vars:0,template:function(n,r){n&1&&(vi(),Yn(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})(),sre=(()=>{const t=class t{constructor(){this.authService=C(si).getInstance(),this.templateRef=C(vr),this.viewContainer=C(Lo),this.cdRef=C(bi)}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=Ht({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})();function p9(e){e||(Ad(),e=C(_r));let t=new tt(a=>e.onDestroy(a.next.bind(a)));return a=>a.pipe(_o(t))}var m9={"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(m9);var lre=m9,f9={"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(f9);var ure=f9,fn=function(e,t,a,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 a==="m"?n:a==="a"?n.call(e):n?n.value:t.get(e)},Rr,Vi,ar,cre=class{constructor(...e){Rr.set(this,new Map),Vi.set(this,new Map),ar.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[a,n]of Object.entries(e)){a=a.toLowerCase(),n=n.map(o=>o.toLowerCase()),fn(this,ar,"f").has(a)||fn(this,ar,"f").set(a,new Set);let r=fn(this,ar,"f").get(a),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,r==null||r.add(o),i&&fn(this,Vi,"f").set(a,o),i=!1,l)continue;let c=fn(this,Rr,"f").get(o);if(c&&c!=a&&!t)throw new Error(`"${a} -> ${o}" conflicts with "${c} -> ${o}". Pass \`force=true\` to override this definition.`);fn(this,Rr,"f").set(o,a)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),a=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(a.length<t.length-1)&&n?null:fn(this,Rr,"f").get(a)??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,Vi,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:fn(this,ar,"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,ar,"f").values())Object.freeze(e);return this}_getTestState(){return{types:fn(this,Rr,"f"),extensions:fn(this,Vi,"f")}}};Rr=new WeakMap,Vi=new WeakMap,ar=new WeakMap;var dre=cre;new dre(ure,lre)._freeze();var hre=(()=>{const t=class t{transform(n){return Jte(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Er({name:"fullname",type:t,pure:!0});let e=t;return e})(),pre=(()=>{const t=class t{constructor(){this.ingredientLabelService=C(ine),this.translate=C(Ca),this.destroyRef=C(_r),this.cd=C(bi),this.translate.onLangChange.pipe(p9(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=Er({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),mre=(()=>{const t=class t{constructor(){this.translate=C(Ca)}transform(n){return H1(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Er({name:"translateValue",type:t,pure:!0});let e=t;return e})(),fre=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Er({name:"absolute",type:t,pure:!0});let e=t;return e})(),gre=e=>({count:e});function vre(e,t){e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae()),e&2&&(X(),Xe(Oe(2,1,"deliveredMedicationDetails.leaflet")))}function bre(e,t){if(e&1){let a=Fo();re(0,"span",2)(1,"a",5),$a("click",function(n){ya(a);let r=Re(3);return _a(r.onDownloadClick(n))}),un(2,"mat-icon",6),_e(3),Ie(4,"translate"),ae()()}e&2&&(X(3),Qt(" ",Oe(4,1,"commons.downloadLeaflet")," "))}function yre(e,t){e&1&&ct(0,vre,3,3,"span",3)(1,bre,5,3,"span",4)}function _re(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"translateValue"),ae(),ct(6,yre,2,0)),e&2){let a=Re();X(),Xe(Oe(2,3,"deliveredMedicationDetails.medication")),X(3),Xe(Oe(5,5,a.item().medication.name)),X(2),It(a.displayAllDetails()&&a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?6:-1)}}function wre(e,t){if(e&1&&(_e(0),Ie(1,"ingredientLabel")),e&2){let a=t.$implicit;Qt(" ",Oe(1,1,a)," ")}}function xre(e,t){if(e&1&&(re(0,"span",1)(1,"strong"),_e(2),Ie(3,"translate"),ae()(),re(4,"span",2),wh(5,wre,2,3,null,null,Ib),ae()),e&2){let a=Re();X(2),Xe(Oe(3,1,"deliveredMedicationsList.magisterialPreparation")),X(3),xh(a.item().medication.ingredients)}}function Ere(e,t){if(e&1&&(re(0,"li"),_e(1),Ie(2,"translateValue"),ae()),e&2){let a=t.$implicit;X(),Qt(" ",Oe(2,1,a.texts)," ")}}function Sre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2)(4,"ul"),wh(5,Ere,3,3,"li",null,Ib),ae()()),e&2){let a=Re();X(),Xe(Oe(2,1,"deliveredMedicationDetails.posologie")),X(4),xh(a.item().dosageInstructions)}}function kre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"date"),ae()),e&2){let a=Re(),n=Re();X(),Xe(Oe(2,2,a<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),X(3),Xe(Ab(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function Cre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"absolute"),Ie(6,"absolute"),Ie(7,"translate"),ae(),ct(8,kre,6,7),re(9,"span",1),_e(10),Ie(11,"translate"),ae()),e&2){let a=t,n=Re();X(),Xe(Oe(2,5,a<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),X(3),Sh("",Oe(5,7,a)," ",Ab(7,11,"deliveredMedicationDetails.package",TW(16,gre,Oe(6,9,a))),""),X(4),It(n.displayAllDetails()?8:-1),X(2),Xe(Oe(11,14,a<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function Ire(e,t){if(e&1&&(_e(0),Ie(1,"translateValue"),un(2,"br"),_e(3)),e&2){let a=Re();Qt(" ",Oe(1,2,t)," "),X(3),Qt(" ",a.item().pharmacy.nihdi," ")}}function Dre(e,t){if(e&1&&(_e(0),Ie(1,"translate")),e&2){let a=Re();Sh(" ",Oe(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",a.item().pharmacy.nihdi," ")}}function Tre(e,t){if(e&1&&(re(0,"span",1),_e(1),Ie(2,"translate"),ae(),re(3,"span",2),_e(4),Ie(5,"fullname"),ae()),e&2){let a=Re();X(),Xe(Oe(2,2,"deliveredMedicationDetails.patient")),X(3),Xe(Oe(5,4,a.item().person))}}var Nre=(()=>{const t=class t{constructor(){this.translate=C(Ca),this.leafletService=C(one),this.item=Qe.required(),this.displayAllDetails=Qe(!1),this.isProfessional=Qe.required(),this.identifierType=rr}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,r){if(n&1&&(re(0,"span",0),ct(1,_re,7,7)(2,xre,7,3)(3,Sre,7,3),re(4,"span",1),_e(5),Ie(6,"translate"),ae(),re(7,"span",2),_e(8),Ie(9,"translate"),ae(),ct(10,Cre,12,18),re(11,"span",2),ct(12,Ire,4,4)(13,Dre,2,4),ae(),ct(14,Tre,6,6),re(15,"span",1),_e(16),Ie(17,"translate"),ae(),re(18,"span",2),_e(19),ae()()),n&2){let i,o,l;X(),It(r.item().medication.name?1:2),X(2),It((i=r.item().dosageInstructions)!=null&&i.length?3:-1),X(2),Xe(Oe(6,9,"deliveredMedicationDetails.is-prescribed.title")),X(3),Xe(Oe(9,11,"deliveredMedicationDetails.is-prescribed."+(r.item().isPrescribed?"yes":"no"))),X(2),It((o=(o=r.item().medication.quantity)==null?null:o.value)?10:-1,o),X(2),It((l=(l=r.item().pharmacy)==null?null:l.name)?12:13,l),X(2),It(r.displayAllDetails()&&!r.isProfessional()?14:-1),X(2),Xe(Oe(17,13,"deliveredMedicationDetails.dguid")),X(3),Xe(r.item().dguid)}},dependencies:[Bo,mre,pre,HQ,h9,JY,hre,fre,sre],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})();Kf(nH());var Ore=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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,r){n&1&&(re(0,"h2",0),_e(1),Ie(2,"translate"),ae(),re(3,"mat-dialog-content")(4,"p")(5,"span"),_e(6),Ie(7,"translate"),ae()(),re(8,"p")(9,"span"),_e(10),Ie(11,"translate"),ae(),re(12,"a",1),Ie(13,"translate"),_e(14),Ie(15,"translate"),ae(),_e(16,"."),ae()(),re(17,"mat-dialog-actions")(18,"button",2),_e(19),Ie(20,"translate"),ae(),re(21,"button",3),_e(22),Ie(23,"translate"),ae()()),n&2&&(X(),Xe(Oe(2,9,"commons.errors.report-message-title")),X(5),Xe(Oe(7,11,"commons.errors.report-message-explanation")),X(4),Xe(Oe(11,13,"commons.errors.report-message-content")),X(2),Kt("href",Oe(13,15,"commons.errors.report-message-link"),e6),X(2),Xe(Oe(15,17,"commons.errors.report-message-term-use")),X(4),Kt("mat-dialog-close",!0),X(),Qt(" ",Oe(20,19,"commons.errors.report-message-report-button")," "),X(2),Kt("mat-dialog-close",!1),X(),Qt(" ",Oe(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[Ky,$y,Uy,Yy,Wy,e1,Gl,Bo],encapsulation:2});let e=t;return e})(),Mre=(()=>{const t=class t{constructor(){this.vidisErrorCode=C(Hy)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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,r){n&1&&(re(0,"h2",0),_e(1),Ie(2,"translate"),ae(),re(3,"mat-dialog-content")(4,"p")(5,"span"),_e(6),Ie(7,"translate"),ae()()(),re(8,"mat-dialog-actions")(9,"button",1),_e(10),Ie(11,"translate"),ae()()),n&2&&(X(),Xe(Oe(2,4,"commons.errors.action-not-authorized-title")),X(5),Xe(Oe(7,6,"commons.errors."+r.vidisErrorCode)),X(3),Kt("mat-dialog-close",!1),X(),Qt(" ",Oe(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[Ky,$y,Uy,Yy,Wy,e1,Gl,Bo],encapsulation:2});let e=t;return e})();function Ff(e,t,a){let n=M1(),r=Pre(e,a.timeZone,a.locale??n.locale);return"formatToParts"in r?Rre(r,t):Are(r,t)}function Rre(e,t){let a=e.formatToParts(t);for(let n=a.length-1;n>=0;--n)if(a[n].type==="timeZoneName")return a[n].value}function Are(e,t){let a=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function Pre(e,t,a){return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Lre(e,t){let a=Bre(t);return"formatToParts"in a?jre(a,e):Vre(a,e)}var Fre={year:0,month:1,day:2,hour:3,minute:4,second:5};function jre(e,t){try{let a=e.formatToParts(t),n=[];for(let r=0;r<a.length;r++){let i=Fre[a[r].type];i!==void 0&&(n[i]=parseInt(a[r].value,10))}return n}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function Vre(e,t){let a=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);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 Wu={},jf=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")),zre=jf==="06/25/2014, 00:00:00"||jf==="06/25/2014 00:00:00";function Bre(e){return Wu[e]||(Wu[e]=zre?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"})),Wu[e]}function g9(e,t,a,n,r,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,a),l.setUTCHours(n,r,i,o),l}var Vf=36e5,Hre=6e4,Yu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function v9(e,t,a){if(!e)return 0;let n=Yu.timezoneZ.exec(e);if(n)return 0;let r,i;if(n=Yu.timezoneHH.exec(e),n)return r=parseInt(n[1],10),zf(r)?-(r*Vf):NaN;if(n=Yu.timezoneHHMM.exec(e),n){r=parseInt(n[2],10);let o=parseInt(n[3],10);return zf(r,o)?(i=Math.abs(r)*Vf+o*Hre,n[1]==="+"?-i:i):NaN}if(Gre(e)){t=new Date(t||Date.now());let o=a?t:qre(t),l=ld(o,e);return-(a?l:$re(t,l,e))}return NaN}function qre(e){return g9(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function ld(e,t){let a=Lre(e,t),n=g9(a[0],a[1]-1,a[2],a[3]%24,a[4],a[5],0).getTime(),r=e.getTime(),i=r%1e3;return r-=i>=0?i:1e3+i,n-r}function $re(e,t,a){let n=e.getTime()-t,r=ld(new Date(n),a);if(t===r)return t;n-=r-t;let i=ld(new Date(n),a);return r===i?r:Math.max(r,i)}function zf(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Bf={};function Gre(e){if(Bf[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Bf[e]=!0,!0}catch{return!1}}var Ure=60*1e3,Wre={X:function(e,t,a){let n=Zu(a.timeZone,e);if(n===0)return"Z";switch(t){case"X":return Hf(n);case"XXXX":case"XX":return Ar(n);case"XXXXX":case"XXX":default:return Ar(n,":")}},x:function(e,t,a){let n=Zu(a.timeZone,e);switch(t){case"x":return Hf(n);case"xxxx":case"xx":return Ar(n);case"xxxxx":case"xxx":default:return Ar(n,":")}},O:function(e,t,a){let n=Zu(a.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Yre(n,":");case"OOOO":default:return"GMT"+Ar(n,":")}},z:function(e,t,a){switch(t){case"z":case"zz":case"zzz":return Ff("short",e,a);case"zzzz":default:return Ff("long",e,a)}}};function Zu(e,t){let a=e?v9(e,t,!0)/Ure:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(a))throw new RangeError("Invalid time zone specified: "+e);return a}function xl(e,t){let a=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return a+n}function Ar(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=xl(Math.floor(n/60),2),i=xl(Math.floor(n%60),2);return a+r+t+i}function Hf(e,t){return e%60===0?(e>0?"-":"+")+xl(Math.abs(e)/60,2):Ar(e,t)}function Yre(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+xl(i,2)}function qf(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 Zre=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Ku=36e5,$f=6e4,Kre=2,Gt={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:Zre};function Qre(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 a=t.additionalDigits==null?Kre:Number(t.additionalDigits);if(a!==2&&a!==1&&a!==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=Xre(e),{year:r,restDateString:i}=Jre(n.date,a),o=eie(i,r);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),c=0,u;if(n.time&&(c=tie(n.time),c===null||isNaN(c)))return new Date(NaN);if(n.timeZone||t.timeZone){if(u=v9(n.timeZone||t.timeZone,new Date(l+c)),isNaN(u))return new Date(NaN)}else u=qf(new Date(l+c)),u=qf(new Date(l+c+u));return new Date(l+c+u)}else return new Date(NaN)}function Xre(e){let t={},a=Gt.dateTimePattern.exec(e),n;if(a?(t.date=a[1],n=a[3]):(a=Gt.datePattern.exec(e),a?(t.date=a[1],n=a[2]):(t.date=null,n=e)),n){let r=Gt.timeZone.exec(n);r?(t.time=n.replace(r[1],""),t.timeZone=r[1].trim()):t.time=n}return t}function Jre(e,t){if(e){let a=Gt.YYY[t],n=Gt.YYYYY[t],r=Gt.YYYY.exec(e)||n.exec(e);if(r){let i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=Gt.YY.exec(e)||a.exec(e),r){let i=r[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function eie(e,t){if(t===null)return null;let a,n,r;if(!e||!e.length)return a=new Date(0),a.setUTCFullYear(t),a;let i=Gt.MM.exec(e);if(i)return a=new Date(0),n=parseInt(i[1],10)-1,Uf(t,n)?(a.setUTCFullYear(t,n),a):new Date(NaN);if(i=Gt.DDD.exec(e),i){a=new Date(0);let o=parseInt(i[1],10);return rie(t,o)?(a.setUTCFullYear(t,0,o),a):new Date(NaN)}if(i=Gt.MMDD.exec(e),i){a=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return Uf(t,n,o)?(a.setUTCFullYear(t,n,o),a):new Date(NaN)}if(i=Gt.Www.exec(e),i)return r=parseInt(i[1],10)-1,Wf(r)?Gf(t,r):new Date(NaN);if(i=Gt.WwwD.exec(e),i){r=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return Wf(r,o)?Gf(t,r,o):new Date(NaN)}return null}function tie(e){let t,a,n=Gt.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Qu(t)?t%24*Ku:NaN;if(n=Gt.HHMM.exec(e),n)return t=parseInt(n[1],10),a=parseFloat(n[2].replace(",",".")),Qu(t,a)?t%24*Ku+a*$f:NaN;if(n=Gt.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);let r=parseFloat(n[3].replace(",","."));return Qu(t,a,r)?t%24*Ku+a*$f+r*1e3:NaN}return null}function Gf(e,t,a){t=t||0,a=a||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let r=n.getUTCDay()||7,i=t*7+a+1-r;return n.setUTCDate(n.getUTCDate()+i),n}var nie=[31,28,31,30,31,30,31,31,30,31,30,31],aie=[31,29,31,30,31,30,31,31,30,31,30,31];function b9(e){return e%400===0||e%4===0&&e%100!==0}function Uf(e,t,a){if(t<0||t>11)return!1;if(a!=null){if(a<1)return!1;let n=b9(e);if(n&&a>aie[t]||!n&&a>nie[t])return!1}return!0}function rie(e,t){if(t<1)return!1;let a=b9(e);return!(a&&t>366||!a&&t>365)}function Wf(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Qu(e,t,a){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||a!=null&&(a<0||a>=60))}var iie=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function oie(e,t,a={}){t=String(t);let n=t.match(iie);if(n){let r=Qre(a.originalDate||e,a);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),c=i[l-1]==="'",u=i.replace(o,"'"+Wre[o[0]](r,o,a)+"'");return c?u.substring(0,l-1)+u.substring(l+1):u},t)}return O1(e,t,a)}var sie=(()=>{const t=class t{reportError(n){return at({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})(),lie=(()=>{const t=class t{constructor(){this.http=C(yi),this.authService=C(si).getInstance(),this.apiUrl=C(wi).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Ui.userType]:lr.getUserType({isProfessional:this.authService.isProfessional}),[Ui.clientType]:z1()?lr.clientType.mobileApp:lr.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})(),uie=(()=>{const t=class t{constructor(){this.config=C(wi),this.injector=C(rt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(sie):this.injector.get(lie)}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})(),cie=(()=>{const t=class t extends qte{constructor(){super(...arguments),this.version=od,this.authServiceSelector=C(si),this.translateService=C(Ca),this.webComponentConfig=C(wi),this.injector=C(rt),this.servicesStore=C(Ul),this.matDialog=C($l),this.destroyRef=C(_r),this.errorServiceSelector=C(uie),this.snackbarService=C($1),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return vt(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=>vt(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)===va.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===va.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(Ore,{data:{error:n}}).beforeClosed().pipe(ma(r=>r),p9(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let r={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(r).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(Mre,{data:n})}formatDateWithZone(){return oie(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})(),t.ɵcmp=ot({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[En],decls:0,vars:0,template:function(n,r){},encapsulation:2});let e=t;return e})(),die=[[["","alert-details",""]]],hie=["[alert-details]"];function pie(e,t){if(e&1&&(re(0,"h2"),_e(1),ae()),e&2){let a=Re();X(),Qt(" ",a.alertTitle()," ")}}function mie(e,t){if(e&1){let a=Fo();re(0,"button",7),$a("click",function(){ya(a);let n=Re(2);return _a(n.onActionButtonClicked())}),_e(1),ae()}if(e&2){let a=Re(2);Kt("disabled",a.buttonDisabled()),X(),Qt(" ",a.buttonLabel()," ")}}function fie(e,t){if(e&1&&(re(0,"span",5),Yn(1),ae(),ct(2,mie,2,2,"button",6)),e&2){let a=Re();X(2),It(a.actionButton()?2:-1)}}function gie(e,t){if(e&1){let a=Fo();re(0,"mat-icon",8),$a("click",function(){ya(a);let n=Re();return _a(n.onCloseButtonClick())})("keydown.enter",function(){ya(a);let n=Re();return _a(n.onCloseButtonClick())})("keydown.space",function(){ya(a);let n=Re();return _a(n.onCloseButtonClick())}),ae()}if(e&2){let a=Re();Ln("aria-label",a.closeButtonAriaLabel())}}function vie(e,t){if(e&1){let a=Fo();re(0,"mat-icon",9),$a("click",function(){ya(a);let n=Re();return _a(n.toggleExpanded())})("keydown.enter",function(){ya(a);let n=Re();return _a(n.toggleExpanded())})("keydown.space",function(){ya(a);let n=Re();return _a(n.toggleExpanded())}),ae()}if(e&2){let a=Re();Kt("fontIcon",a.expanded()?"keyboard_arrow_up":"keyboard_arrow_down"),Ln("aria-label",a.currentExpandIconAriaLabel)}}var bie=(()=>{const t=class t{constructor(){s(this,"usage",Qe("info"));s(this,"backgroundColor",Qe("color"));s(this,"alertTitle",Qe());s(this,"actionButton",Qe(!1));s(this,"buttonDisabled",Qe(!1));s(this,"buttonLabel",Qe());s(this,"dismissMode",Qe("pinned"));s(this,"closeButtonAriaLabel",Qe(""));s(this,"startExpanded",Qe(!1));s(this,"expandedButtonAriaLabel",Qe(""));s(this,"collapsedButtonAriaLabel",Qe(""));s(this,"closeButtonClicked",zp());s(this,"actionButtonClicked",zp());s(this,"expanded",tY(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",ll(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",ll(()=>({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",ot({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],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:hie,decls:7,vars:8,consts:[["role","alert","aria-live","assertive"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],["type","button","tabindex","0",1,"top-right-icon",3,"fontIcon"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],["type","button","tabindex","0",1,"top-right-icon",3,"click","keydown.enter","keydown.space","fontIcon"]],template:function(n,r){n&1&&(vi(die),re(0,"div",0),un(1,"mat-icon",1),re(2,"div",2),ct(3,pie,2,1,"h2")(4,fie,3,1),ae(),ct(5,gie,1,1,"mat-icon",3)(6,vie,1,2,"mat-icon",4),ae()),n&2&&(jl(r.usage()),Rn("white",r.backgroundColor()==="white"),X(),Kt("fontIcon",r.fontIcon()),X(2),It(r.alertTitle()?3:-1),X(),It(r.dismissMode()!=="expandable"||r.expanded()?4:-1),X(),It(r.dismissMode()==="closable"?5:r.dismissMode()==="expandable"?6:-1))},dependencies:[Wb,h9,Gl],styles:[".info[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2f7fd}.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;color:#1d5caf;margin:0}.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;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf;flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2fcf8}.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;color:#1d8657;margin:0}.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;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d8657;flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#ffeee0}.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;color:#662e00;margin:0}.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;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#662e00;flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#fff6f5}.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;color:#c41c0d;margin:0}.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;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f5f5f5}.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;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_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%] mat-icon.close[_ngcontent-%COMP%]{color:#0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function yie(e,t){if(e&1&&(re(0,"mh-alert",0),Ie(1,"translate"),re(2,"div",1),_e(3),Ie(4,"translate"),ae()()),e&2){let a=Re();Kt("alertTitle",Oe(1,2,"commons.errors.data-not-available-title")),X(3),Xe(Oe(4,4,"commons.errors."+a.error().code))}}var _ie=(()=>{const t=class t{constructor(){this.error=Qe.required(),this.vidisErrorGroup=va}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,r){n&1&&ct(0,yie,5,6,"mh-alert",0),n&2&&It(r.error().group===r.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[Bo,bie],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})(),wie=["*"],xie=new K("MAT_CARD_CONFIG"),Eie=(()=>{const t=class t{constructor(){s(this,"appearance");let n=C(xie,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",ot({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,r){n&2&&Rn("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:wie,decls:1,vars:0,template:function(n,r){n&1&&(vi(),Yn(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})(),Sie=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Ht({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),kie=["*"],Cie=(e,t,a,n,r)=>({"custom-content":e,circle:t,progress:a,"progress-dark":n,pulse:r});function Iie(e,t){e&1&&Yn(0)}function Die(e,t){if(e&1&&(re(0,"div",0),ct(1,Iie,1,0),ae()),e&2){let a=Re(),n=mm(0),r=mm(1);Kt("ngClass",NW(5,Cie,n==="custom-content",n==="circle",r==="progress",r==="progress-dark",r==="pulse"))("ngStyle",a.styles()),Ln("aria-label",a.ariaLabel())("aria-valuetext",a.loadingText()),X(),It(n==="custom-content"?1:-1)}}var y9=new K("ngx-skeleton-loader.config"),Tie=(()=>{var t;const a=class a{constructor(){mp(this,t);var r,i,o,l,c,u;fp(this,t,C(y9,{optional:!0})),this.count=Qe(((r=da(this,t))==null?void 0:r.count)||1,{transform:Fb}),this.loadingText=Qe(((i=da(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Qe(((o=da(this,t))==null?void 0:o.appearance)||"line"),this.animation=Qe(((l=da(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Qe(((c=da(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Qe(((u=da(this,t))==null?void 0:u.theme)||null),this.items=ll(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&WW(),[...Array(d)].map((m,b)=>b)}),this.styles=ll(()=>{var m,b,g;let d=this.theme();return(b=(m=da(this,t))==null?void 0:m.theme)!=null&&b.extendsFromRoot?se(se({},(g=da(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,a.ɵfac=function(r){return new(r||a)},a.ɵcmp=ot({type:a,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:kie,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(r,i){r&1&&(vi(),Nb(0)(1),wh(2,Die,2,11,"div",0,oW)),r&2&&(pm(i.appearance()),X(),pm(i.animation()),X(),xh(i.items()))},dependencies:[qY,$Y],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=a;return e})(),Nie=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:y9,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=tn({type:t}),t.ɵinj=Jt({imports:[Wb]});let e=t;return e})(),Oie=()=>({width:"40%",height:"20px"});function Mie(e,t){e&1&&un(0,"ngx-skeleton-loader",0),e&2&&Kt("theme",DW(1,Oie))}function Rie(e,t){if(e&1&&un(0,"vidis-delivered-medication-details-row",1),e&2){let a=Re();Kt("item",a.item())("displayAllDetails",!0)("isProfessional",a.isProfessional())}}function Aie(e,t){e&1&&(re(0,"div",2)(1,"h3"),_e(2),Ie(3,"translate"),ae()()),e&2&&(X(2),Xe(Oe(3,1,"deliveredMedicationDetails.noDetails")))}var Pie=(()=>{const t=class t{constructor(){this.item=Qe.required(),this.isLoading=Qe.required(),this.isProfessional=Qe.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=ot({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,r){n&1&&(re(0,"mat-card")(1,"mat-card-content"),ct(2,Mie,1,2,"ngx-skeleton-loader",0)(3,Rie,1,3,"vidis-delivered-medication-details-row",1)(4,Aie,4,3,"div",2),ae()()),n&2&&(X(2),It(r.isLoading()?2:r.item()?3:4))},dependencies:[Eie,Sie,Bo,Nie,Tie,Nre],encapsulation:2});let e=t;return e})();function Lie(e,t){e&1&&(re(0,"div"),_e(1,"Component not properly initialized!"),ae())}function Fie(e,t){if(e&1&&un(0,"vidis-status-message",0),e&2){let a=Re();Kt("error",a.error)}}function jie(e,t){if(e&1&&un(0,"vidis-delivered-medication-details-card",1),e&2){let a=Re(),n=Re(2);Kt("item",a.data)("isLoading",a.status===n.loadingStatus.LOADING)("isProfessional",n.professional)}}function Vie(e,t){if(e&1&&ct(0,Fie,1,1,"vidis-status-message",0)(1,jie,1,3,"vidis-delivered-medication-details-card",1),e&2){let a=Re(2);It(t.status===a.loadingStatus.ERROR?0:1)}}function zie(e,t){if(e&1&&(ct(0,Vie,2,1),Ie(1,"async")),e&2){let a,n=Re();It((a=Oe(1,1,n.deliveredMedicationsState$))?0:-1,a)}}var Bie=(()=>{const t=class t extends cie{constructor(){super(...arguments),this.extraRequiredFields=["dguid","professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated"],this.loadingStatus=Yr}fetchData(n){return vt(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(!1)})}injectService(){this.deliveredMedicationsService=this.injector.get(Mf),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$.pipe(Ot(n=>{var r;return Wt(se({},n),{data:(r=n.data)==null?void 0:r.items.find(i=>i.dguid===this.dguid)})})),this.deliveredMedicationsState$.subscribe(n=>{this.checkError(n.error)})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=Bt(t)))(r||t)}})(),t.ɵcmp=ot({type:t,selectors:[["ng-component"]],inputs:{dguid:"dguid"},features:[IW([Mf,l9,u9,Kae]),En],decls:2,vars:1,consts:[[3,"error"],[3,"item","isLoading","isProfessional"]],template:function(n,r){n&1&&ct(0,Lie,2,0,"div")(1,zie,2,3),n&2&&It(r.isCorrectlySetup()?1:0)},dependencies:[ZY,Pie,_ie],encapsulation:2,changeDetection:0});let e=t;return e})();bZ({providers:[Wae]}).then(e=>{let t=mY(Bie,{injector:e.injector});customElements.define("vidis-delivered-medication-detail",t)}).catch(e=>console.error(e));
|