@smals-belgium-shared/vidis-delivered-medication-list 3.4.4-snapshot.16 → 3.4.4-snapshot.17

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,41 +0,0 @@
1
- var r$=Object.defineProperty;var Mm=e=>{throw TypeError(e)};var i$=(e,t,r)=>t in e?r$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>i$(e,typeof t!="symbol"?t+"":t,r),Am=(e,t,r)=>t.has(e)||Mm("Cannot "+r);var Dr=(e,t,r)=>(Am(e,t,"read from private field"),r?r.call(e):t.get(e)),Pm=(e,t,r)=>t.has(e)?Mm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Lm=(e,t,r,n)=>(Am(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var a$=Object.create,su=Object.defineProperty,o$=Object.defineProperties,s$=Object.getOwnPropertyDescriptor,l$=Object.getOwnPropertyDescriptors,u$=Object.getOwnPropertyNames,_l=Object.getOwnPropertySymbols,c$=Object.getPrototypeOf,bh=Object.prototype.hasOwnProperty,Dv=Object.prototype.propertyIsEnumerable,Fm=(e,t,r)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ce=(e,t)=>{for(var r in t||(t={}))bh.call(t,r)&&Fm(e,r,t[r]);if(_l)for(var r of _l(t))Dv.call(t,r)&&Fm(e,r,t[r]);return e},Ut=(e,t)=>o$(e,l$(t)),d$=(e,t)=>{var r={};for(var n in e)bh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_l)for(var n of _l(e))t.indexOf(n)<0&&Dv.call(e,n)&&(r[n]=e[n]);return r},se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),he=(e,t)=>{for(var r in t)su(e,r,{get:t[r],enumerable:!0})},h$=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of u$(t))!bh.call(e,i)&&i!==r&&su(e,i,{get:()=>t[i],enumerable:!(n=s$(t,i))||n.enumerable});return e},Iv=(e,t,r)=>(r=e!=null?a$(c$(e)):{},h$(t||!e||!e.__esModule?su(r,"default",{value:e,enumerable:!0}):r,e)),It=(e,t,r)=>new Promise((n,i)=>{var a=u=>{try{l(r.next(u))}catch(c){i(c)}},o=u=>{try{l(r.throw(u))}catch(c){i(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(a,o);l((r=r.apply(e,t)).next())}),p$=se((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self,r.MessageFormat=n())})(e,function(){var r=function(){return r=Object.assign||function(m){for(var f,b=1,y=arguments.length;b<y;b++){f=arguments[b];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(m[_]=f[_])}return m},r.apply(this,arguments)};function n(m){var f=typeof Symbol=="function"&&Symbol.iterator,b=f&&m[f],y=0;if(b)return b.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&y>=m.length&&(m=void 0),{value:m&&m[y++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(m,f){var b=typeof Symbol=="function"&&m[Symbol.iterator];if(!b)return m;var y=b.call(m),_,E=[],C;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(I){C={error:I}}finally{try{_&&!_.done&&(b=y.return)&&b.call(y)}finally{if(C)throw C.error}}return E}function a(m,f,b){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 m.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,b,y){super(f),this.token=b,this.type=y||"error"}}let l=m=>m<4?"short":m===4?"long":"narrow",u=m=>m%2===0?"2-digit":"numeric";function c(m,f){switch(m.char){case"y":return{year:u(m.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${m.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function d(m,f){switch(m.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${m.desc} is not supported with width ${m.width}`);return}}function p(m,f){let{char:b,desc:y,width:_}=m;if(b==="d")return u(_);f(`${y} is not supported`)}function v(m,f){let{char:b,desc:y,width:_}=m;if((b==="c"||b==="e")&&_<3){let E=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(m){let f=u(m.width),b;switch(m.char){case"h":b="h12";break;case"H":b="h23";break;case"k":b="h24";break;case"K":b="h11";break}return b?{hour:f,hourCycle:b}:{hour:f}}function w(m,f){let{char:b,desc:y,width:_}=m;switch(b){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(m,f){switch(m.field){case"era":return{era:l(m.width)};case"year":return c(m,f);case"month":return{month:d(m,f)};case"day":return{day:p(m,f)};case"weekday":return{weekday:v(m,f)};case"period":return;case"hour":return g(m);case"min":return{minute:u(m.width)};case"sec":return{second:u(m.width)};case"tz":return{timeZoneName:w(m,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${m.desc} is not supported`)}}function k(m,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of m){let{error:C,field:I,str:R}=E;if(C){let ie=new o(C.message,E);ie.stack=C.stack,b(ie)}if(R){let ie=`Ignoring string part: ${R}`;b(new o(ie,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):b(new o(`Duplicate ${I} token`,E)));let j=x(E,(ie,ge)=>b(new o(ie,E,ge)));j&&Object.assign(y,j)}return y}let D={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"}},O=m=>m>="A"&&m<="Z"||m>="a"&&m<="z";function N(m,f){let b=m[f],y=1;for(;m[++f]===b;)++y;let _=D[b];if(!_){let E=`The letter ${b} is not a valid field identifier`;return{char:b,error:new Error(E),width:y}}return{char:b,field:_.field,desc:_.desc,width:y}}function X(m,f){let b=m[++f],y=2;if(b==="'")return{char:"'",str:b,width:y};for(;;){let _=m[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${b||m}`;return{char:"'",error:new Error(E),str:b,width:y}}else if(_==="'"){if(m[++f]!=="'")return{char:"'",str:b,width:y};++y}b+=_}}function ue(m,f){let b=m[f];if(!b)return null;if(O(b))return N(m,f);if(b==="'")return X(m,f);let y=b,_=1;for(;;){let E=m[++f];if(!E||O(E)||E==="'")return{char:b,str:y,width:_};y+=E,_+=1}}function _e(m){let f=[],b=0;for(;;){let y=ue(m,b);if(!y)return f;f.push(y),b+=y.width}}function Nt(m,f,b,y){typeof f=="string"&&(f=_e(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,y),E=new Intl.DateTimeFormat(m,_);return C=>E.format(C)}function yt(m,f,b,y){typeof f=="string"&&(f=_e(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,y);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(m)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
2
- `)+`
3
- })()`}class tt extends Error{constructor(f,b){super(b),this.code=f}}class St extends tt{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class Q extends tt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class U extends tt{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class xe extends tt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class L extends tt{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class H extends tt{constructor(f,b,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${b.length})`),this.stem=f,this.options=b}}function Y(m,f){let{numberingSystem:b}=f;return Array.isArray(m)||(m=[m]),b?m.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${b}`}).concat(m):m}function Te(m,f){let b=+m+f/2;return b-b%+f}function Qe(m){let{scale:f,unit:b}=m,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function Kt(m){let f=Qe(m),{precision:b}=m;return b&&b.style==="precision-increment"?y=>Te(y,b.increment)*f:y=>y*f}function Me(m){let f=Qe(m),{precision:b}=m;if(b&&b.style==="precision-increment"){let y=`+n + ${b.increment/2}`,_=`x - (x % +${b.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function ze(m,f){let{decimal:b,group:y,integerWidth:_,notation:E,precision:C,roundingMode:I,sign:R,unit:j,unitPer:ie,unitWidth:ge}=m,Oe=(rt,_t)=>{},K={};if(j)switch(j.style){case"base-unit":K.style="decimal";break;case"currency":K.style="currency",K.currency=j.currency;break;case"measure-unit":K.style="unit",K.unit=j.unit.replace(/.*-/,""),ie&&(K.unit+="-per-"+ie.replace(/.*-/,""));break;case"percent":K.style="percent";break}switch(ge){case"unit-width-full-name":K.currencyDisplay="name",K.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":K.currencyDisplay="code";break;case"unit-width-narrow":K.currencyDisplay="narrowSymbol",K.unitDisplay="narrow";break;case"unit-width-short":K.currencyDisplay="symbol",K.unitDisplay="short";break}switch(y){case"group-off":K.useGrouping=!1;break;case"group-auto":K.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":K.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:rt,maxFraction:_t,minSignificant:At,maxSignificant:rn,source:Fn}=C;typeof rt=="number"&&(K.minimumFractionDigits=rt,typeof At=="number"&&Oe()),typeof _t=="number"&&(K.maximumFractionDigits=_t),typeof At=="number"&&(K.minimumSignificantDigits=At),typeof rn=="number"&&(K.maximumSignificantDigits=rn);break}case"precision-integer":K.maximumFractionDigits=0;break;case"precision-unlimited":K.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":K.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":Oe(C.style);break}if(E)switch(E.style){case"compact-short":K.notation="compact",K.compactDisplay="short";break;case"compact-long":K.notation="compact",K.compactDisplay="long";break;case"notation-simple":K.notation="standard";break;case"scientific":case"engineering":{let{expDigits:rt,expSign:_t,source:At,style:rn}=E;K.notation=rn;break}}if(_){let{min:rt,max:_t,source:At}=_;if(rt>0&&(K.minimumIntegerDigits=rt),Number(_t)>0){let rn=K.notation==="engineering"||K.notation==="scientific";_t===3&&rn?K.notation="engineering":Oe()}}switch(R){case"sign-auto":K.signDisplay="auto";break;case"sign-always":K.signDisplay="always";break;case"sign-except-zero":K.signDisplay="exceptZero";break;case"sign-never":K.signDisplay="never";break;case"sign-accounting":K.currencySign="accounting";break;case"sign-accounting-always":K.currencySign="accounting",K.signDisplay="always";break;case"sign-accounting-except-zero":K.currencySign="accounting",K.signDisplay="exceptZero";break}return K}function pt(m,f,b){let y=m[f];switch(y){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;m[++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 b(new L("¤",E)),null}}}case"*":{let _=m[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=m[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let C=m[++f];if(++E,C===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return b(new L("'",I)),{char:y,str:_,width:E}}else if(C==="'"){if(m[++f]!=="'")return{char:y,str:_,width:E};++E}_+=C}}}return null}let Ln=m=>m>="0"&&m<="9";function nt(m,f){let b=m[f];if(Ln(b)){let y=b;for(;;){let _=m[++f];if(Ln(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(b){case"#":{let y=1;for(;m[++f]==="#";)++y;return{char:b,width:y}}case"@":{let y=1;for(;m[++f]==="@";)++y;let _=y;for(f-=1;m[++f]==="#";)++_;return{char:b,min:y,width:_}}case"E":{let y=m[f+1]==="+";y&&++f;let _=0;for(;m[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:b,expDigits:_,plus:y,width:E};break}case".":case",":return{char:b,width:1}}return null}function Qt(m,f,b){let y;(function(j){j[j.Prefix=0]="Prefix",j[j.Number=1]="Number",j[j.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],C=[],I=y.Prefix,R="";for(;f<m.length;){let j=m[f];if(j===";"){f+=1;break}switch(I){case y.Prefix:{let ie=pt(m,f,b);if(ie)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(ie),f+=ie.width;else{let ge=nt(m,f);ge?(R&&(_.push({char:"'",str:R,width:R.length}),R=""),I=y.Number,E.push(ge),f+=ge.width):(R+=j,f+=1)}break}case y.Number:{let ie=nt(m,f);ie?(E.push(ie),f+=ie.width):I=y.Suffix;break}case y.Suffix:{let ie=pt(m,f,b);ie?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(ie),f+=ie.width):(R+=j,f+=1);break}}}return R&&C.push({char:"'",str:R,width:R.length}),{pattern:{prefix:_,number:E,suffix:C},pos:f}}function Mt(m,f){let{pattern:b,pos:y}=Qt(m,0,f);if(y<m.length){let{pattern:_}=Qt(m,y,f);return{tokens:b,negative:_}}return{tokens:b}}function Xn(m,f){let b={},y=!1,_=!1,E=0,C="",I=-1,R="",j=0;for(let ge=0;ge<m.length;++ge){let Oe=m[ge];switch(Oe.char){case"#":{if(I===-1){if(C){let K="Pattern has # after integer digits";f(new L("#",K))}E+=Oe.width}else j+=Oe.width;break}case"0":{if(I===-1)C+=Oe.digits;else{if(j){let K="Pattern has digits after # in fraction";f(new L("0",K))}R+=Oe.digits}break}case"@":{b.precision&&f(new U("precision",b.precision)),b.precision={style:"precision-fraction",minSignificant:Oe.min,maxSignificant:Oe.width};break}case",":y=!0;break;case".":if(I===1){let K="Pattern has more than one decimal separator";f(new L(".",K))}I=ge;break;case"E":{if(_&&f(new U("exponent",b.notation)),y){let K="Exponential patterns may not contain grouping separators";f(new L("E",K))}b.notation={style:"scientific"},Oe.expDigits>1&&(b.notation.expDigits=Oe.expDigits),Oe.plus&&(b.notation.expSign="sign-always"),_=!0}}}y?b.group="group-auto":E+C.length>3&&(b.group="group-off");let ie=+`${C||"0"}.${R}`;if(ie&&(b.precision={style:"precision-increment",increment:ie}),!_)C.length>1&&(b.integerWidth={min:C.length}),!b.precision&&(R.length||j)&&(b.precision={style:"precision-fraction",minFraction:R.length,maxFraction:R.length+j});else if((!b.precision||ie)&&(b.integerWidth=E?{min:1,max:E+C.length}:{min:Math.max(1,C.length)}),b.precision)ie||(b.integerWidth={min:1,max:1});else{let ge=C.length+R.length;I===-1?ge>0&&(b.precision={style:"precision-fraction",maxSignificant:ge}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,ge)+j},ge>1&&(b.precision.minSignificant=ge))}return b}function $r(m,f,b,y,_){let E=!1,C="";for(let I of m)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:C="";break;case"¤":if(!b){let R="The ¤ pattern requires a currency";y(new L("¤",R));break}switch(f.unit={style:"currency",currency:b},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:C="";break;case"*":break;case"+":E||(C+="+");break;case"'":E||(C+=I.str);break}return C}function xs(m,f){let b=!1,y="";for(let _ of m)switch(_.char){case"%":case"¤":f?b=!0:y="";break;case"-":b||(y+="-");break;case"'":b||(y+=_.str);break}return y}function Es(m,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R=>{throw R},{tokens:y,negative:_}=Mt(m,b),E=Xn(y.number,b),C=$r(y.prefix,E,f,b,!0),I=$r(y.suffix,E,f,b,!1);if(_){let R=xs(_.prefix,!0),j=xs(_.suffix,!1);E.affix={pos:[C,I],neg:[R,j]},E.sign="sign-never"}else(C||I)&&(E.affix={pos:[C,I]});return E}function fq(m){return["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(m)!==-1}function wm(m){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[b]=m.split("-",1);return f.indexOf(b)!==-1}let xm={"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},Em={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function gq(m){return m in xm}function vq(m){return m in Em}function bq(m,f,b){if(gq(m)){let y=xm[m];if(f.length>y){if(y===0)for(let _ of f)b(new St(m,_));else b(new H(m,f,y));return!1}else if(vq(m)&&f.length<Em[m])return b(new xe(m)),!1}return!0}function $u(m,f){let b=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=m&&m.match(b);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 yq(m,f,b){let y=$u(m,"fraction");if(y){f.length>1&&b(new H(m,f,1));let E={style:"precision-fraction",source:m,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let C=f[0],I=$u(C,"significant");return I?(E.source=`${m}/${C}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):C&&b(new St(m,C)),E}let _=$u(m,"significant");if(_){for(let C of f)b(new St(m,C));let E={style:"precision-fraction",source:m,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class _q{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new St(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new U(f,b))}parseToken(f,b){if(!bq(f,b,this.onError))return;let y=b[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,C;for(let R of b)switch(R){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":C=R;break;default:/^\+e+$/.test(R)?E=R.length-1:this.badOption(f,R)}this.assertEmpty("notation");let I=b.join("/");_.notation=E&&C?{style:f,source:I,expDigits:E,expSign:C}:E?{style:f,source:I,expDigits:E}:C?{style:f,source:I,expSign:C}:{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":{wm(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{wm(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":{fq(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=yq(f,b,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Q(f))}}}}function Sm(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},b=[];for(let _ of m.split(" "))if(_){let E=_.split("/"),C=E.shift()||"";b.push({stem:C,options:E})}let y=new _q(f);for(let{stem:_,options:E}of b)y.parseToken(_,E);return y.skeleton}function wq(m,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?Sm(f.slice(2),y):Es(f,b,y));let _=Y(m,f),E=ze(f),C=Kt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[R,j]=f.affix.pos,[ie,ge]=f.affix.neg||["",""];return Oe=>{let K=I.format(C(Oe));return Oe<0?`${ie}${K}${ge}`:`${R}${K}${j}`}}return R=>I.format(C(R))}function xq(m,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?Sm(f.slice(2),y):Es(f,b,y));let _=Y(m,f),E=ze(f),C=Me(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],R="nf.format(value)";if(C&&(I.push(`var mod = ${C};`),R="nf.format(mod(value))"),f.affix){let[j,ie]=f.affix.pos.map(ge=>JSON.stringify(ge));if(f.affix.neg){let[ge,Oe]=f.affix.neg.map(K=>JSON.stringify(K));R=`value < 0 ? ${ge} + ${R} + ${Oe} : ${j} + ${R} + ${ie}`}else R=`${j} + ${R} + ${ie}`}return I.push(`return function(value) { return ${R}; }`),I.join(`
4
- `)+`
5
- })()`}var Gu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Eq(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var eo={},km={},Cm={exports:{}};(function(m){(function(f,b){m.exports?m.exports=b():f.moo=b()})(Gu,function(){var f=Object.prototype.hasOwnProperty,b=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&b.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function C(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(M){var G=new RegExp("|"+M);return G.exec("").length-1}function R(M){return"("+M+")"}function j(M){if(!M.length)return"(?!)";var G=M.map(function(te){return"(?:"+te+")"}).join("|");return"(?:"+G+")"}function ie(M){if(typeof M=="string")return"(?:"+C(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 ge(M,G){return M.length>G?M:Array(G-M.length+1).join(" ")+M}function Oe(M,G){for(var te=M.length,ae=0;;){var we=M.lastIndexOf(`
6
- `,te-1);if(we===-1||(ae++,te=we,ae===G)||te===0)break}var pe=ae<G?0:te+1;return M.substring(pe).split(`
7
- `)}function K(M){for(var G=Object.getOwnPropertyNames(M),te=[],ae=0;ae<G.length;ae++){var we=G[ae],pe=M[we],Ae=[].concat(pe);if(we==="include"){for(var ct=0;ct<Ae.length;ct++)te.push({include:Ae[ct]});continue}var Ue=[];Ae.forEach(function(ve){E(ve)?(Ue.length&&te.push(_t(we,Ue)),te.push(_t(we,ve)),Ue=[]):Ue.push(ve)}),Ue.length&&te.push(_t(we,Ue))}return te}function rt(M){for(var G=[],te=0;te<M.length;te++){var ae=M[te];if(ae.include){for(var we=[].concat(ae.include),pe=0;pe<we.length;pe++)G.push({include:we[pe]});continue}if(!ae.type)throw new Error("Rule has no type: "+JSON.stringify(ae));G.push(_t(ae.type,ae))}return G}function _t(M,G){if(E(G)||(G={match:G}),G.include)throw new Error("Matching rules cannot also include states");var te={defaultType:M,lineBreaks:!!G.error||!!G.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ae in G)f.call(G,ae)&&(te[ae]=G[ae]);if(typeof te.type=="string"&&M!==te.type)throw new Error("Type transform cannot be a string (type '"+te.type+"' for token '"+M+"')");var we=te.match;return te.match=Array.isArray(we)?we:we?[we]:[],te.match.sort(function(pe,Ae){return _(pe)&&_(Ae)?0:_(Ae)?-1:_(pe)?1:Ae.length-pe.length}),te}function At(M){return Array.isArray(M)?rt(M):K(M)}var rn=_t("error",{lineBreaks:!0,shouldThrow:!0});function Fn(M,G){for(var te=null,ae=Object.create(null),we=!0,pe=null,Ae=[],ct=[],Ue=0;Ue<M.length;Ue++)M[Ue].fallback&&(we=!1);for(var Ue=0;Ue<M.length;Ue++){var ve=M[Ue];if(ve.include)throw new Error("Inheritance is not allowed in stateless lexers");if(ve.error||ve.fallback){if(te)throw!ve.fallback==!te.fallback?new Error("Multiple "+(ve.fallback?"fallback":"error")+" rules not allowed (for token '"+ve.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+ve.defaultType+"')");te=ve}var kt=ve.match.slice();if(we)for(;kt.length&&typeof kt[0]=="string"&&kt[0].length===1;){var Ji=kt.shift();ae[Ji.charCodeAt(0)]=ve}if(ve.pop||ve.push||ve.next){if(!G)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+ve.defaultType+"')");if(ve.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+ve.defaultType+"')")}if(kt.length!==0){we=!1,Ae.push(ve);for(var tr=0;tr<kt.length;tr++){var gi=kt[tr];if(_(gi)){if(pe===null)pe=gi.unicode;else if(pe!==gi.unicode&&ve.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ea=j(kt.map(ie)),jn=new RegExp(ea);if(jn.test(""))throw new Error("RegExp matches empty string: "+jn);var no=I(ea);if(no>0)throw new Error("RegExp has capture groups: "+jn+`
8
- Use (?: … ) instead`);if(!ve.lineBreaks&&jn.test(`
9
- `))throw new Error("Rule should declare lineBreaks: "+jn);ct.push(R(ea))}}var ta=te&&te.fallback,ro=y&&!ta?"ym":"gm",Rs=y||ta?"":"|";pe===!0&&(ro+="u");var n$=new RegExp(j(ct)+Rs,ro);return{regexp:n$,groups:Ae,fast:ae,error:te||rn}}function Ur(M){var G=Fn(At(M));return new gt({start:G},"start")}function Er(M,G,te){var ae=M&&(M.push||M.next);if(ae&&!te[ae])throw new Error("Missing state '"+ae+"' (in token '"+M.defaultType+"' of state '"+G+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+G+"')")}function Sr(M,G){var te=M.$all?At(M.$all):[];delete M.$all;var ae=Object.getOwnPropertyNames(M);G||(G=ae[0]);for(var we=Object.create(null),pe=0;pe<ae.length;pe++){var Ae=ae[pe];we[Ae]=At(M[Ae]).concat(te)}for(var pe=0;pe<ae.length;pe++)for(var Ae=ae[pe],ct=we[Ae],Ue=Object.create(null),ve=0;ve<ct.length;ve++){var kt=ct[ve];if(kt.include){var Ji=[ve,1];if(kt.include!==Ae&&!Ue[kt.include]){Ue[kt.include]=!0;var tr=we[kt.include];if(!tr)throw new Error("Cannot include nonexistent state '"+kt.include+"' (in state '"+Ae+"')");for(var gi=0;gi<tr.length;gi++){var ea=tr[gi];ct.indexOf(ea)===-1&&Ji.push(ea)}}ct.splice.apply(ct,Ji),ve--}}for(var jn=Object.create(null),pe=0;pe<ae.length;pe++){var Ae=ae[pe];jn[Ae]=Fn(we[Ae],!0)}for(var pe=0;pe<ae.length;pe++){for(var no=ae[pe],ta=jn[no],ro=ta.groups,ve=0;ve<ro.length;ve++)Er(ro[ve],no,jn);for(var Rs=Object.getOwnPropertyNames(ta.fast),ve=0;ve<Rs.length;ve++)Er(ta.fast[Rs[ve]],no,jn)}return new gt(jn,G)}function kr(M){for(var G=typeof Map<"u",te=G?new Map:Object.create(null),ae=Object.getOwnPropertyNames(M),we=0;we<ae.length;we++){var pe=ae[we],Ae=M[pe],ct=Array.isArray(Ae)?Ae:[Ae];ct.forEach(function(Ue){if(typeof Ue!="string")throw new Error("keyword must be string (in keyword '"+pe+"')");G?te.set(Ue,pe):te[Ue]=pe})}return function(Ue){return G?te.get(Ue):te[Ue]}}var gt=function(M,G){this.startState=G,this.states=M,this.buffer="",this.stack=[],this.reset()};gt.prototype.reset=function(M,G){return this.buffer=M||"",this.index=0,this.line=G?G.line:1,this.col=G?G.col:1,this.queuedToken=G?G.queuedToken:null,this.queuedText=G?G.queuedText:"",this.queuedThrow=G?G.queuedThrow:null,this.setState(G?G.state:this.startState),this.stack=G&&G.stack?G.stack.slice():[],this},gt.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}},gt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var G=this.states[M];this.groups=G.groups,this.error=G.error,this.re=G.regexp,this.fast=G.fast}},gt.prototype.popState=function(){this.setState(this.stack.pop())},gt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Is=y?function(M,G){return M.exec(G)}:function(M,G){var te=M.exec(G);return te[0].length===0?null:te};gt.prototype._getGroup=function(M){for(var G=this.groups.length,te=0;te<G;te++)if(M[te+1]!==void 0)return this.groups[te];throw new Error("Cannot find token type for matched text")};function Ts(){return this.value}if(gt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var G=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",G}var te=this.buffer;if(M!==te.length){var Ae=this.fast[te.charCodeAt(M)];if(Ae)return this._token(Ae,te.charAt(M),M);var ae=this.re;ae.lastIndex=M;var we=Is(ae,te),pe=this.error;if(we==null)return this._token(pe,te.slice(M,te.length),M);var Ae=this._getGroup(we),ct=we[0];return pe.fallback&&we.index!==M?(this.queuedGroup=Ae,this.queuedText=ct,this._token(pe,te.slice(M,we.index),M)):this._token(Ae,ct,M)}},gt.prototype._token=function(M,G,te){var ae=0;if(M.lineBreaks){var we=/\n/g,pe=1;if(G===`
10
- `)ae=1;else for(;we.exec(G);)ae++,pe=we.lastIndex}var Ae={type:typeof M.type=="function"&&M.type(G)||M.defaultType,value:typeof M.value=="function"?M.value(G):G,text:G,toString:Ts,offset:te,lineBreaks:ae,line:this.line,col:this.col},ct=G.length;if(this.index+=ct,this.line+=ae,ae!==0?this.col=ct-pe+1:this.col+=ct,M.shouldThrow){var Ue=new Error(this.formatError(Ae,"invalid syntax"));throw Ue}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ae},typeof Symbol<"u"&&Symbol.iterator){var Cr=function(M){this.lexer=M};Cr.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Cr.prototype[Symbol.iterator]=function(){return this},gt.prototype[Symbol.iterator]=function(){return new Cr(this)}}return gt.prototype.formatError=function(ae,G){if(ae==null)var te=this.buffer.slice(this.index),ae={text:te,offset:this.index,lineBreaks:te.indexOf(`
11
- `)===-1?0:1,line:this.line,col:this.col};var we=2,pe=Math.max(ae.line-we,1),Ae=ae.line+we,ct=String(Ae).length,Ue=Oe(this.buffer,this.line-ae.line+we+1).slice(0,5),ve=[];ve.push(G+" at line "+ae.line+" col "+ae.col+":"),ve.push("");for(var kt=0;kt<Ue.length;kt++){var Ji=Ue[kt],tr=pe+kt;ve.push(ge(String(tr),ct)+" "+Ji),tr===ae.line&&ve.push(ge("",ct+ae.col+1)+"^")}return ve.join(`
12
- `)},gt.prototype.clone=function(){return new gt(this.states,this.state)},gt.prototype.has=function(M){return!0},{compile:Ur,states:Sr,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:kr}})})(Cm);var Sq=Cm.exports;(function(m){var f=Gu&&Gu.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(m,"__esModule",{value:!0}),m.lexer=m.states=void 0;let b=f(Sq);m.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}}},m.lexer=b.default.states(m.states)})(km),Object.defineProperty(eo,"__esModule",{value:!0});var Dm=eo.parse=eo.ParseError=void 0;let Im=km,Ss=m=>({offset:m.offset,line:m.line,col:m.col,text:m.text,lineBreaks:m.lineBreaks}),Uu=m=>m==="plural"||m==="select"||m==="selectordinal";function kq(m,f){let b="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=E;break;default:throw new jt(m,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let Cq=["number","date","time","spellout","ordinal","duration"],Tm=["zero","one","two","few","many","other"];class jt extends Error{constructor(f,b){super(Im.lexer.formatError(f,b))}}eo.ParseError=jt;class Dq{constructor(f,b){var y,_,E,C;this.lexer=Im.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:Tm,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:Tm,this.strict=(E=b==null?void 0:b.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(C=b==null?void 0:b.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new jt(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let _=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${b} case ${y} is not valid in this locale`;throw new jt(f,E)}}}parseSelect(f,b,y,_){let{value:E}=f,C={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new jt(I,"Unexpected plural offset for select");if(C.cases.length>0)throw new jt(I,"Plural offset must be set before cases");C.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),C.cases.push({key:I.value,tokens:this.parseBody(b),ctx:Ss(I)});break}case"end":return C;default:throw new jt(I,`Unexpected lexer token: ${I.type}`)}throw new jt(null,"Unexpected message end")}parseArgToken(f,b){let y=Ss(f),_=this.lexer.next();if(!_)throw new jt(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!Cq.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new jt(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 jt(null,"Unexpected message end");if(E.type!=="end")throw new jt(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,Uu(_.value.toLowerCase()))throw new jt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(Uu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new jt(_,C)}let E=this.parseBody(this.strict?!1:b);return this.strict&&E.length>0&&(E=kq(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(Uu(_.value))return this.parseSelect(f,b,y,_.value);throw new jt(_,`Unexpected select type ${_.value}`);default:throw new jt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){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:Ss(E)});else{if(E.type==="end"&&!b)return y;{let C=E.value;if(!f&&E.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let I=`Unsupported escape pattern: ${C}`;throw new jt(E,I)}C=E.text}_?(_.value+=C,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:C,ctx:Ss(E)},y.push(_))}}if(b)return y;throw new jt(null,"Unexpected message end")}}function Iq(m){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Dq(m,f).parse()}Dm=eo.parse=Iq;function to(m){return to[m]||(to[m]=new Intl.NumberFormat(m))}function Tq(m,f,b){return to(m).format(f-b)}function Rq(m,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return to(m).format(_)}function Oq(m,f,b,y,_){if({}.hasOwnProperty.call(y,m))return y[m];f&&(m-=f);var E=b(m,_);return E in y?y[E]:y.other}function Nq(m,f){return{}.hasOwnProperty.call(f,m)?f[m]:f.other}function Mq(m,f){for(var b=0;b<m.length;++b)if(!f||f[m[b]]===void 0)throw new Error("Message requires argument '".concat(m[b],"'"))}var Aq=Object.freeze({__proto__:null,_nf:to,number:Tq,plural:Oq,reqArgs:Mq,select:Nq,strictNumber:Rq});function Pq(m,f,b){var y={day:"numeric",month:"short",year:"numeric"};switch(b){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(m).toLocaleDateString(f,y)}function Lq(m){if(typeof m!="number"&&(m=Number(m)),!isFinite(m))return String(m);var f="";m<0?(f="-",m=Math.abs(m)):m=Number(m);var b=m%60,y=[Math.round(b)===b?b:b.toFixed(3)];m<60?y.unshift(0):(m=Math.round((m-Number(y[0]))/60),y.unshift(m%60),m>=60&&(m=Math.round((m-Number(y[0]))/60),y.unshift(m)));var _=y.shift();return f+_+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var Zu={};function ks(m,f){var b=String(m)+JSON.stringify(f);return Zu[b]||(Zu[b]=new Intl.NumberFormat(m,f)),Zu[b]}function Fq(m,f,b,y){var _=b&&b.split(":")||[],E=_[0],C=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return ks(f,I[E]||{}).format(m)}var jq=function(m,f,b){return ks(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(m)},Vq=function(m,f){return ks(f,{maximumFractionDigits:0}).format(m)},zq=function(m,f){return ks(f,{style:"percent"}).format(m)};function Bq(m,f,b){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(b){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(m).toLocaleTimeString(f,y)}var Wu=Object.freeze({__proto__:null,date:Pq,duration:Lq,numberCurrency:jq,numberFmt:Fq,numberInteger:Vq,numberPercent:zq,time:Bq}),Hq={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}},Yu=Eq(Hq);function qq(m){let f=0;for(let b=0;b<m.length;++b){let y=m.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function Gr(m,f){f&&(m+=" "+qq(m).toString(36));let b=m.trim().replace(/\W+/g,"_");return Yu.ES3[b]||Yu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function Ku(m,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Yu.ES3[f])return m?m+"."+f:f;{let b=JSON.stringify(f);return m?m+"["+b+"]":b}}var $q=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Gq=new RegExp("^"+$q.join("|^"));function Uq(m,f){var b=Gq.test(f),y=JSON.stringify(b?"‏":"‎");return"".concat(y," + ").concat(m," + ").concat(y)}var Zq="@messageformat/runtime",Wq="@messageformat/runtime/lib/cardinals",Rm="@messageformat/runtime/lib/plurals",Yq="@messageformat/runtime/lib/formatters",Kq=function(){function m(f){this.arguments=[],this.runtime={},this.options=f}return m.prototype.compile=function(f,b,y){var _,E,C=this,I=this.options,R=I.localeCodeFromKey,j=I.requireAllArguments,ie=I.strict,ge=I.strictPluralKeys;if(typeof f=="object"){var Oe={};try{for(var K=n(Object.keys(f)),rt=K.next();!rt.done;rt=K.next()){var _t=rt.value,At=R?R(_t):_t,rn=y&&At&&y[At]||b;Oe[_t]=this.compile(f[_t],rn,y)}}catch(gt){_={error:gt}}finally{try{rt&&!rt.done&&(E=K.return)&&E.call(K)}finally{if(_)throw _.error}}return Oe}this.plural=b;var Fn={cardinal:b.cardinals,ordinal:b.ordinals,strict:ie,strictPluralKeys:ge};this.arguments=[];var Ur=Dm(f,Fn).map(function(gt){return C.token(gt,null)}),Er=this.arguments.length>0,Sr=this.concatenate(Ur,!0);if(j&&Er){this.setRuntimeFn("reqArgs");var kr=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(kr,", d); return ").concat(Sr,"; }")}return"(".concat(Er?"d":"",") => ").concat(Sr)},m.prototype.cases=function(f,b){var y=this,_=!0,E=f.cases.map(function(ie){var ge=ie.key,Oe=ie.tokens;ge==="other"&&(_=!1);var K=Oe.map(function(rt){return y.token(rt,b)});return"".concat(Ku(null,ge.replace(/^=/,"")),": ").concat(y.concatenate(K,!1))});if(_){var C=f.type,I=this.plural,R=I.cardinals,j=I.ordinals;if(C==="select"||C==="plural"&&R.includes("other")||C==="selectordinal"&&j.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},m.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},m.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,C,I;switch("arg"in f?(this.arguments.push(f.arg),C=[Ku("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?Uq(String(C[0]),E):String(C[0]);case"select":I="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var R=this.options.customFormatters[f.key],j=R&&"module"in R&&typeof R.module=="function";if(!R){if(f.key==="date"){I=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){I=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var ie=this.getFormatterArg(f,b);ie&&C.push(ie)}I=j?Gr("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),Ku("d",b.arg),b.pluralOffset||0],this.options.strict?(I="strictNumber",C.push(JSON.stringify(b.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(C.join(", "),")")},m.prototype.runtimeIncludes=function(f,b){if(Gr(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},m.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,C=_.getPlural,I=_.isDefault,R,j,ie;if(!b&&I&&E){if(y)return;R=function(ge){return E(ge)},j=Wq,ie=function(){return String(E)}}else{if(y&&(!I||y.module===Rm))return;R=function(ge,Oe){return C(ge,Oe)},j=I?Rm:C.module||null,ie=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:j,toString:ie,type:"locale"})},m.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(Aq[f],{id:f,module:Zq,type:"runtime"}))},m.prototype.getFormatterArg=function(f,b){var y,_,E,C,I=this,R=f.key,j=f.param,ie=this.options.customFormatters[R]||Om(R)&&Wu[R];if(!ie||!j)return null;var ge="arg"in ie&&ie.arg||"string";if(ge==="options"){var Oe="";try{for(var K=n(j),rt=K.next();!rt.done;rt=K.next()){var _t=rt.value;if(_t.type==="content")Oe+=_t.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Cr){y={error:Cr}}finally{try{rt&&!rt.done&&(_=K.return)&&_.call(K)}finally{if(y)throw y.error}}var At={};try{for(var rn=n(Oe.split(",")),Fn=rn.next();!Fn.done;Fn=rn.next()){var Ur=Fn.value,Er=Ur.indexOf(":");if(Er===-1)At[Ur.trim()]=null;else{var Sr=Ur.substring(0,Er).trim(),kr=Ur.substring(Er+1).trim();if(kr==="true")At[Sr]=!0;else if(kr==="false")At[Sr]=!1;else if(kr==="null")At[Sr]=null;else{var gt=Number(kr);At[Sr]=Number.isFinite(gt)?gt:kr}}}}catch(Cr){E={error:Cr}}finally{try{Fn&&!Fn.done&&(C=rn.return)&&C.call(rn)}finally{if(E)throw E.error}}return JSON.stringify(At)}else{var Is=j.map(function(Cr){return I.token(Cr,b)});if(ge==="raw")return"[".concat(Is.join(", "),"]");var Ts=Is.join(" + ");return Ts?"(".concat(Ts,").trim()"):'""'}},m.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),r(r({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Gr(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(Om(f))this.runtime[f]=Object.assign(Wu[f],{type:"formatter"},{id:f,module:Yq});else throw new Error("Formatting function not found: ".concat(f))}},m.prototype.setDateFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var R=I.value.trim().substr(2),j=Gr("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(j,"formatter")){var ie=Nt(C,R,this.options.timeZone);this.runtime[j]=Object.assign(ie,{id:j,module:null,toString:function(){return yt(C,R,_.options.timeZone)},type:"formatter"})}return j}if(b.push(JSON.stringify(C)),E&&E.length>0){y&&this.options.strict&&(y=null);var ge=E.map(function(Oe){return _.token(Oe,y)});b.push("("+(ge.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},m.prototype.setNumberFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale;if(!E||E.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return b.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 R=I.match(/^currency:([A-Z]+)$/);if(R)return b.push(JSON.stringify(R[1])),this.setFormatter("numberCurrency"),"numberCurrency";var j=Gr("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(j,"formatter")){var ie=this.options.currency,ge=wq(C,I,ie);this.runtime[j]=Object.assign(ge,{id:null,module:null,toString:function(){return xq(C,I,ie)},type:"formatter"})}return j}y&&this.options.strict&&(y=null);var Oe=E.map(function(K){return _.token(K,y)});return b.push("("+(Oe.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},m}();function Om(m){return m in Wu}let q=m=>m==1?"one":"other",br=m=>m==0||m==1?"one":"other",Jn=m=>m>=0&&m<=1?"one":"other",Ht=m=>{let f=String(m).split("."),b=!f[1];return m==1&&b?"one":"other"},Pe=m=>"other",yr=m=>m==1?"one":m==2?"two":"other";var Qq=Object.freeze({__proto__:null,af:q,ak:br,am:Jn,an:q,ar:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-2);return m==0?"zero":m==1?"one":m==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Jn,asa:q,ast:Ht,az:q,bal:q,be:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":b&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:q,bez:q,bg:q,bho:br,bm:Pe,bn:Jn,bo:Pe,br:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),E=b&&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":m!=0&&b&&E==0?"many":"other"},brx:q,bs:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ca:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-6);return m==1&&y?"one":b!=0&&_==0&&y?"many":"other"},ce:q,ceb:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:m=>{let f=String(m).split("."),b=f[0],y=!f[1];return m==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},cy:m=>m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:m=>{let f=String(m).split("."),b=f[0],y=Number(f[0])==m;return m==1||!y&&(b==0||b==1)?"one":"other"},de:Ht,doi:Jn,dsb:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},dv:q,dz:Pe,ee:q,el:q,en:Ht,eo:q,es:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-6);return m==1?"one":b!=0&&_==0&&y?"many":"other"},et:Ht,eu:q,fa:Jn,ff:m=>m>=0&&m<2?"one":"other",fi:Ht,fil:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-6);return m>=0&&m<2?"one":b!=0&&_==0&&y?"many":"other"},fur:q,fy:Ht,ga:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m==1?"one":m==2?"two":b&&m>=3&&m<=6?"few":b&&m>=7&&m<=10?"many":"other"},gd:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m==1||m==11?"one":m==2||m==12?"two":b&&m>=3&&m<=10||b&&m>=13&&m<=19?"few":"other"},gl:Ht,gsw:q,gu:Jn,guw:br,gv:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,haw:q,he:m=>{let f=String(m).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:Jn,hnj:Pe,hr:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},hsb:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},hu:q,hy:m=>m>=0&&m<2?"one":"other",ia:Ht,id:Pe,ig:Pe,ii:Pe,io:Ht,is:m=>{let f=String(m).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==m,E=b.slice(-1),C=b.slice(-2);return _&&E==1&&C!=11||y%10==1&&y%100!=11?"one":"other"},it:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-6);return m==1&&y?"one":b!=0&&_==0&&y?"many":"other"},iu:yr,ja:Pe,jbo:Pe,jgo:q,jmc:q,jv:Pe,jw:Pe,ka:q,kab:m=>m>=0&&m<2?"one":"other",kaj:q,kcg:q,kde:Pe,kea:Pe,kk:q,kkj:q,kl:q,km:Pe,kn:Jn,ko:Pe,ks:q,ksb:q,ksh:m=>m==0?"zero":m==1?"one":"other",ku:q,kw:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),E=b&&f[0].slice(-5),C=b&&f[0].slice(-6);return m==0?"zero":m==1?"one":y==2||y==22||y==42||y==62||y==82||b&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||m!=0&&C==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":m!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:q,lag:m=>{let f=String(m).split("."),b=f[0];return m==0?"zero":(b==0||b==1)&&m!=0?"one":"other"},lb:q,lg:q,lij:Ht,lkt:Pe,ln:br,lo:Pe,lt:m=>{let f=String(m).split("."),b=f[1]||"",y=Number(f[0])==m,_=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":b!=0?"many":"other"},lv:m=>{let f=String(m).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==m,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},mas:q,mg:br,mgo:q,mk:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":"other"},ml:q,mn:q,mo:m=>{let f=String(m).split("."),b=!f[1],y=Number(f[0])==m,_=y&&f[0].slice(-2);return m==1&&b?"one":!b||m==0||m!=1&&_>=1&&_<=19?"few":"other"},mr:q,ms:Pe,mt:m=>{let f=String(m).split("."),b=Number(f[0])==m,y=b&&f[0].slice(-2);return m==1?"one":m==2?"two":m==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Pe,nah:q,naq:yr,nb:q,nd:q,ne:q,nl:Ht,nn:q,nnh:q,no:q,nqo:Pe,nr:q,nso:br,ny:q,nyn:q,om:q,or:q,os:q,osa:Pe,pa:br,pap:q,pcm:Jn,pl:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return m==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:m=>{let f=String(m).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==m,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},ps:q,pt:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-6);return b==0||b==1?"one":b!=0&&_==0&&y?"many":"other"},pt_PT:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-6);return m==1&&y?"one":b!=0&&_==0&&y?"many":"other"},rm:q,ro:m=>{let f=String(m).split("."),b=!f[1],y=Number(f[0])==m,_=y&&f[0].slice(-2);return m==1&&b?"one":!b||m==0||m!=1&&_>=1&&_<=19?"few":"other"},rof:q,ru:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,sah:Pe,saq:q,sat:yr,sc:Ht,scn:Ht,sd:q,sdh:q,se:yr,seh:q,ses:Pe,sg:Pe,sh:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},shi:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m>=0&&m<=1?"one":b&&m>=2&&m<=10?"few":"other"},si:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"";return m==0||m==1||b==0&&y==1?"one":"other"},sk:m=>{let f=String(m).split("."),b=f[0],y=!f[1];return m==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:yr,smi:yr,smj:yr,smn:yr,sms:yr,sn:q,so:q,sq:q,sr:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ss:q,ssy:q,st:q,su:Pe,sv:Ht,sw:Ht,syr:q,ta:q,te:q,teo:q,th:Pe,ti:br,tig:q,tk:q,tl:m=>{let f=String(m).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Pe,tpi:Pe,tr:q,ts:q,tzm:m=>{let f=String(m).split("."),b=Number(f[0])==m;return m==0||m==1||b&&m>=11&&m<=99?"one":"other"},ug:q,uk:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:Pe,ur:Ht,uz:q,ve:q,vec:m=>{let f=String(m).split("."),b=f[0],y=!f[1],_=b.slice(-6);return m==1&&y?"one":b!=0&&_==0&&y?"many":"other"},vi:Pe,vo:q,vun:q,wa:br,wae:q,wo:Pe,xh:q,xog:q,yi:Ht,yo:Pe,yue:Pe,zh:Pe,zu:Jn});let _r="zero",Z="one",ut="two",ke="few",De="many",A="other",P={cardinal:[Z,A],ordinal:[A]},fi={cardinal:[Z,A],ordinal:[Z,A]},He={cardinal:[A],ordinal:[A]},er={cardinal:[Z,ut,A],ordinal:[A]};var Nm=Object.freeze({__proto__:null,af:P,ak:P,am:P,an:P,ar:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[A]},ars:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[A]},as:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},asa:P,ast:P,az:{cardinal:[Z,A],ordinal:[Z,ke,De,A]},bal:fi,be:{cardinal:[Z,ke,De,A],ordinal:[ke,A]},bem:P,bez:P,bg:P,bho:P,bm:He,bn:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},bo:He,br:{cardinal:[Z,ut,ke,De,A],ordinal:[A]},brx:P,bs:{cardinal:[Z,ke,A],ordinal:[A]},ca:{cardinal:[Z,De,A],ordinal:[Z,ut,ke,A]},ce:P,ceb:P,cgg:P,chr:P,ckb:P,cs:{cardinal:[Z,ke,De,A],ordinal:[A]},cy:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[_r,Z,ut,ke,De,A]},da:P,de:P,doi:P,dsb:{cardinal:[Z,ut,ke,A],ordinal:[A]},dv:P,dz:He,ee:P,el:P,en:{cardinal:[Z,A],ordinal:[Z,ut,ke,A]},eo:P,es:{cardinal:[Z,De,A],ordinal:[A]},et:P,eu:P,fa:P,ff:P,fi:P,fil:fi,fo:P,fr:{cardinal:[Z,De,A],ordinal:[Z,A]},fur:P,fy:P,ga:{cardinal:[Z,ut,ke,De,A],ordinal:[Z,A]},gd:{cardinal:[Z,ut,ke,A],ordinal:[Z,ut,ke,A]},gl:P,gsw:P,gu:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},guw:P,gv:{cardinal:[Z,ut,ke,De,A],ordinal:[A]},ha:P,haw:P,he:er,hi:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},hnj:He,hr:{cardinal:[Z,ke,A],ordinal:[A]},hsb:{cardinal:[Z,ut,ke,A],ordinal:[A]},hu:fi,hy:fi,ia:P,id:He,ig:He,ii:He,io:P,is:P,it:{cardinal:[Z,De,A],ordinal:[De,A]},iu:er,ja:He,jbo:He,jgo:P,jmc:P,jv:He,jw:He,ka:{cardinal:[Z,A],ordinal:[Z,De,A]},kab:P,kaj:P,kcg:P,kde:He,kea:He,kk:{cardinal:[Z,A],ordinal:[De,A]},kkj:P,kl:P,km:He,kn:P,ko:He,ks:P,ksb:P,ksh:{cardinal:[_r,Z,A],ordinal:[A]},ku:P,kw:{cardinal:[_r,Z,ut,ke,De,A],ordinal:[Z,De,A]},ky:P,lag:{cardinal:[_r,Z,A],ordinal:[A]},lb:P,lg:P,lij:{cardinal:[Z,A],ordinal:[De,A]},lkt:He,ln:P,lo:{cardinal:[A],ordinal:[Z,A]},lt:{cardinal:[Z,ke,De,A],ordinal:[A]},lv:{cardinal:[_r,Z,A],ordinal:[A]},mas:P,mg:P,mgo:P,mk:{cardinal:[Z,A],ordinal:[Z,ut,De,A]},ml:P,mn:P,mo:{cardinal:[Z,ke,A],ordinal:[Z,A]},mr:{cardinal:[Z,A],ordinal:[Z,ut,ke,A]},ms:{cardinal:[A],ordinal:[Z,A]},mt:{cardinal:[Z,ut,ke,De,A],ordinal:[A]},my:He,nah:P,naq:er,nb:P,nd:P,ne:fi,nl:P,nn:P,nnh:P,no:P,nqo:He,nr:P,nso:P,ny:P,nyn:P,om:P,or:{cardinal:[Z,A],ordinal:[Z,ut,ke,De,A]},os:P,osa:He,pa:P,pap:P,pcm:P,pl:{cardinal:[Z,ke,De,A],ordinal:[A]},prg:{cardinal:[_r,Z,A],ordinal:[A]},ps:P,pt:{cardinal:[Z,De,A],ordinal:[A]},pt_PT:{cardinal:[Z,De,A],ordinal:[A]},rm:P,ro:{cardinal:[Z,ke,A],ordinal:[Z,A]},rof:P,ru:{cardinal:[Z,ke,De,A],ordinal:[A]},rwk:P,sah:He,saq:P,sat:er,sc:{cardinal:[Z,A],ordinal:[De,A]},scn:{cardinal:[Z,A],ordinal:[De,A]},sd:P,sdh:P,se:er,seh:P,ses:He,sg:He,sh:{cardinal:[Z,ke,A],ordinal:[A]},shi:{cardinal:[Z,ke,A],ordinal:[A]},si:P,sk:{cardinal:[Z,ke,De,A],ordinal:[A]},sl:{cardinal:[Z,ut,ke,A],ordinal:[A]},sma:er,smi:er,smj:er,smn:er,sms:er,sn:P,so:P,sq:{cardinal:[Z,A],ordinal:[Z,De,A]},sr:{cardinal:[Z,ke,A],ordinal:[A]},ss:P,ssy:P,st:P,su:He,sv:fi,sw:P,syr:P,ta:P,te:P,teo:P,th:He,ti:P,tig:P,tk:{cardinal:[Z,A],ordinal:[ke,A]},tl:fi,tn:P,to:He,tpi:He,tr:P,ts:P,tzm:P,ug:P,uk:{cardinal:[Z,ke,De,A],ordinal:[ke,A]},und:He,ur:P,uz:P,ve:P,vec:{cardinal:[Z,De,A],ordinal:[De,A]},vi:{cardinal:[A],ordinal:[Z,A]},vo:P,vun:P,wa:P,wae:P,wo:He,xh:P,xog:P,yi:P,yo:He,yue:He,zh:He,zu:P});let W=(m,f)=>f?"other":m==1?"one":"other",wr=(m,f)=>f?"other":m==0||m==1?"one":"other",Xi=(m,f)=>f?"other":m>=0&&m<=1?"one":"other",Cn=(m,f)=>{let b=String(m).split("."),y=!b[1];return f?"other":m==1&&y?"one":"other"},qe=(m,f)=>"other",xr=(m,f)=>f?"other":m==1?"one":m==2?"two":"other";var Cs=Object.freeze({__proto__:null,af:W,ak:wr,am:Xi,an:W,ar:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-2);return f?"other":m==0?"zero":m==1?"one":m==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",asa:W,ast:Cn,az:(m,f)=>{let b=String(m).split("."),y=b[0],_=y.slice(-1),E=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==900?"few":y==0||_==6||E==40||E==60||E==90?"many":"other":m==1?"one":"other"},bal:(m,f)=>m==1?"one":"other",be:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-1),E=y&&b[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:W,bez:W,bg:W,bho:wr,bm:qe,bn:(m,f)=>f?m==1||m==5||m==7||m==8||m==9||m==10?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",bo:qe,br:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2),C=y&&b[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":m!=0&&y&&C==0?"many":"other"},brx:W,bs:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>14)?"few":"other"},ca:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?m==1||m==3?"one":m==2?"two":m==4?"few":"other":m==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:W,ceb:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:W,chr:W,ckb:W,cs:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1];return f?"other":m==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(m,f)=>f?m==0||m==7||m==8||m==9?"zero":m==1?"one":m==2?"two":m==3||m==4?"few":m==5||m==6?"many":"other":m==0?"zero":m==1?"one":m==2?"two":m==3?"few":m==6?"many":"other",da:(m,f)=>{let b=String(m).split("."),y=b[0],_=Number(b[0])==m;return f?"other":m==1||!_&&(y==0||y==1)?"one":"other"},de:Cn,doi:Xi,dsb:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},dv:W,dz:qe,ee:W,el:W,en:(m,f)=>{let b=String(m).split("."),y=!b[1],_=Number(b[0])==m,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?E==1&&C!=11?"one":E==2&&C!=12?"two":E==3&&C!=13?"few":"other":m==1&&y?"one":"other"},eo:W,es:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":m==1?"one":y!=0&&E==0&&_?"many":"other"},et:Cn,eu:W,fa:Xi,ff:(m,f)=>f?"other":m>=0&&m<2?"one":"other",fi:Cn,fil:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?m==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:W,fr:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?m==1?"one":"other":m>=0&&m<2?"one":y!=0&&E==0&&_?"many":"other"},fur:W,fy:Cn,ga:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?m==1?"one":"other":m==1?"one":m==2?"two":y&&m>=3&&m<=6?"few":y&&m>=7&&m<=10?"many":"other"},gd:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?m==1||m==11?"one":m==2||m==12?"two":m==3||m==13?"few":"other":m==1||m==11?"one":m==2||m==12?"two":y&&m>=3&&m<=10||y&&m>=13&&m<=19?"few":"other"},gl:Cn,gsw:W,gu:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",guw:wr,gv:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:W,haw:W,he:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m>=0&&m<=1?"one":"other",hnj:qe,hr:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>14)?"few":"other"},hsb:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},hu:(m,f)=>f?m==1||m==5?"one":"other":m==1?"one":"other",hy:(m,f)=>f?m==1?"one":"other":m>=0&&m<2?"one":"other",ia:Cn,id:qe,ig:qe,ii:qe,io:Cn,is:(m,f)=>{let b=String(m).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),E=Number(b[0])==m,C=y.slice(-1),I=y.slice(-2);return f?"other":E&&C==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:xr,ja:qe,jbo:qe,jgo:W,jmc:W,jv:qe,jw:qe,ka:(m,f)=>{let b=String(m).split("."),y=b[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":m==1?"one":"other"},kab:(m,f)=>f?"other":m>=0&&m<2?"one":"other",kaj:W,kcg:W,kde:qe,kea:qe,kk:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-1);return f?_==6||_==9||y&&_==0&&m!=0?"many":"other":m==1?"one":"other"},kkj:W,kl:W,km:qe,kn:Xi,ko:qe,ks:W,ksb:W,ksh:(m,f)=>f?"other":m==0?"zero":m==1?"one":"other",ku:W,kw:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-2),E=y&&b[0].slice(-3),C=y&&b[0].slice(-5),I=y&&b[0].slice(-6);return f?y&&m>=1&&m<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":m==5||_==5?"many":"other":m==0?"zero":m==1?"one":_==2||_==22||_==42||_==62||_==82||y&&E==0&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||m!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":m!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:W,lag:(m,f)=>{let b=String(m).split("."),y=b[0];return f?"other":m==0?"zero":(y==0||y==1)&&m!=0?"one":"other"},lb:W,lg:W,lij:(m,f)=>{let b=String(m).split("."),y=!b[1],_=Number(b[0])==m;return f?m==11||m==8||_&&m>=80&&m<=89||_&&m>=800&&m<=899?"many":"other":m==1&&y?"one":"other"},lkt:qe,ln:wr,lo:(m,f)=>f&&m==1?"one":"other",lt:(m,f)=>{let b=String(m).split("."),y=b[1]||"",_=Number(b[0])==m,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":E==1&&(C<11||C>19)?"one":E>=2&&E<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(m,f)=>{let b=String(m).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==m,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),j=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&j==1&&R!=11||_!=2&&j==1?"one":"other"},mas:W,mg:wr,mgo:W,mk:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),j=_.slice(-2);return f?C==1&&I!=11?"one":C==2&&I!=12?"two":(C==7||C==8)&&I!=17&&I!=18?"many":"other":E&&C==1&&I!=11||R==1&&j!=11?"one":"other"},ml:W,mn:W,mo:(m,f)=>{let b=String(m).split("."),y=!b[1],_=Number(b[0])==m,E=_&&b[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&E>=1&&E<=19?"few":"other"},mr:(m,f)=>f?m==1?"one":m==2||m==3?"two":m==4?"few":"other":m==1?"one":"other",ms:(m,f)=>f&&m==1?"one":"other",mt:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-2);return f?"other":m==1?"one":m==2?"two":m==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:qe,nah:W,naq:xr,nb:W,nd:W,ne:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?y&&m>=1&&m<=4?"one":"other":m==1?"one":"other"},nl:Cn,nn:W,nnh:W,no:W,nqo:qe,nr:W,nso:wr,ny:W,nyn:W,om:W,or:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?m==1||m==5||y&&m>=7&&m<=9?"one":m==2||m==3?"two":m==4?"few":m==6?"many":"other":m==1?"one":"other"},os:W,osa:qe,pa:wr,pap:W,pcm:Xi,pl:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":m==1&&_?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&C>=12&&C<=14?"many":"other"},prg:(m,f)=>{let b=String(m).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==m,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),j=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&j==1&&R!=11||_!=2&&j==1?"one":"other"},ps:W,pt:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":m==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:W,ro:(m,f)=>{let b=String(m).split("."),y=!b[1],_=Number(b[0])==m,E=_&&b[0].slice(-2);return f?m==1?"one":"other":m==1&&y?"one":!y||m==0||m!=1&&E>=1&&E<=19?"few":"other"},rof:W,ru:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1&&C!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&C>=11&&C<=14?"many":"other"},rwk:W,sah:qe,saq:W,sat:xr,sc:(m,f)=>{let b=String(m).split("."),y=!b[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},scn:(m,f)=>{let b=String(m).split("."),y=!b[1];return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&y?"one":"other"},sd:W,sdh:W,se:xr,seh:W,ses:qe,sg:qe,sh:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>14)?"few":"other"},shi:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?"other":m>=0&&m<=1?"one":y&&m>=2&&m<=10?"few":"other"},si:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"";return f?"other":m==0||m==1||y==0&&_==1?"one":"other"},sk:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1];return f?"other":m==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:xr,smi:xr,smj:xr,smn:xr,sms:xr,sn:W,so:W,sq:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2);return f?m==1?"one":_==4&&E!=14?"many":"other":m==1?"one":"other"},sr:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),j=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&j!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(j<12||j>14)?"few":"other"},ss:W,ssy:W,st:W,su:qe,sv:(m,f)=>{let b=String(m).split("."),y=!b[1],_=Number(b[0])==m,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(E==1||E==2)&&C!=11&&C!=12?"one":"other":m==1&&y?"one":"other"},sw:Cn,syr:W,ta:W,te:W,teo:W,th:qe,ti:wr,tig:W,tk:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m,_=y&&b[0].slice(-1);return f?_==6||_==9||m==10?"few":"other":m==1?"one":"other"},tl:(m,f)=>{let b=String(m).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?m==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:W,to:qe,tpi:qe,tr:W,ts:W,tzm:(m,f)=>{let b=String(m).split("."),y=Number(b[0])==m;return f?"other":m==0||m==1||y&&m>=11&&m<=99?"one":"other"},ug:W,uk:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=Number(b[0])==m,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-1),j=y.slice(-2);return f?C==3&&I!=13?"few":"other":_&&R==1&&j!=11?"one":_&&R>=2&&R<=4&&(j<12||j>14)?"few":_&&R==0||_&&R>=5&&R<=9||_&&j>=11&&j<=14?"many":"other"},und:qe,ur:Cn,uz:W,ve:W,vec:(m,f)=>{let b=String(m).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?m==11||m==8||m==80||m==800?"many":"other":m==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(m,f)=>f&&m==1?"one":"other",vo:W,vun:W,wa:wr,wae:W,wo:qe,xh:W,xog:W,yi:Cn,yo:qe,yue:qe,zh:qe,zu:Xi});function Qu(m){if(typeof m!="string"||m.length<2)throw new RangeError("Invalid language tag: ".concat(m));if(m.startsWith("pt-PT"))return"pt-PT";var f=m.match(/.+?(?=[-_])/);return f?f[0]:m}function Ds(m){if(typeof m=="function"){var f=Qu(m.name);return{isDefault:!1,id:Gr(f),lc:f,locale:m.name,getPlural:m,cardinals:m.cardinals||[],ordinals:m.ordinals||[]}}var b=Qu(m),y=Gr(b);return e$(y)?{isDefault:!0,id:y,lc:b,locale:m,getCardinal:Qq[y],getPlural:Cs[y],cardinals:Nm[y].cardinal,ordinals:Nm[y].ordinal}:null}function Xq(m){var f=Object.keys(Cs).filter(function(b){return b!==m});return f.unshift(m),f.map(Ds)}function Jq(m){var f=Qu(m);return Gr(f)in Cs}function e$(m){return m in Cs}var t$=function(){function m(f,b){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:b&&b.strictNumberSign||!1,strictPluralKeys:!0},b),f==="*")this.plurals=Xq(m.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Ds).filter(Boolean);else if(f){var y=Ds(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=Ds(m.defaultLocale);this.plurals=[y]}}return m.escape=function(f,b){var y=b?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},m.supportedLocalesOf=function(f){var b=Array.isArray(f)?f:[f];return b.filter(Jq)},m.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},m.prototype.compile=function(f){var b,y,_=new Kq(this.options),E="return "+_.compile(f,this.plurals[0]),C=[],I=[];try{for(var R=n(Object.entries(_.runtime)),j=R.next();!j.done;j=R.next()){var ie=i(j.value,2),ge=ie[0],Oe=ie[1];C.push(ge),I.push(Oe)}}catch(rt){b={error:rt}}finally{try{j&&!j.done&&(y=R.return)&&y.call(R)}finally{if(b)throw b.error}}var K=new(Function.bind.apply(Function,a(a([void 0],i(C),!1),[E],!1)));return K.apply(void 0,a([],i(I),!1))},m.defaultLocale="en",m}();return t$})}),En=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}var r=function n(i,a){t(this,n),this.data=i,this.text=a.text||i,this.options=a};e.default=r}),m$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function k(D,O){for(var N=0;N<O.length;N++){var X=O[N];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(D,X.key,X)}}return function(D,O,N){return O&&k(D.prototype,O),N&&k(D,N),D}}(),r=En(),n=i(r);function i(k){return k&&k.__esModule?k:{default:k}}function a(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function o(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function l(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var u=function(k){l(D,k);function D(O,N){return a(this,D),O=O.toUpperCase(),N.mod43&&(O+=g(x(O))),o(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,O,N))}return t(D,[{key:"encode",value:function(){for(var O=p("*"),N=0;N<this.data.length;N++)O+=p(this.data[N])+"0";return O+=p("*"),{data:O,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),D}(n.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],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 p(k){return v(w(k))}function v(k){return d[k].toString(2)}function g(k){return c[k]}function w(k){return c.indexOf(k)}function x(k){for(var D=0,O=0;O<k.length;O++)D+=w(k[O]);return D=D%43,D}e.CODE39=u}),Yo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(c,d,p){return d in c?Object.defineProperty(c,d,{value:p,enumerable:!0,configurable:!0,writable:!0}):c[d]=p,c}var n=e.SET_A=0,i=e.SET_B=1,a=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},r(t,o,n),r(t,l,i),r(t,u,a),t),e.SWAP={101:n,100:i,99:a},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]}),lu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=En(),n=a(r),i=Yo();function a(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function l(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function u(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var c=function(d){u(p,d);function p(v,g){o(this,p);var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v.substring(1),g));return w.bytes=v.split("").map(function(x){return x.charCodeAt(0)}),w}return t(p,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,w=i.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(i.FNC1);var x=p.next(v,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:p.getBar(g)+x.result+p.getBar((x.checksum+g)%i.MODULO)+p.getBar(i.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return i.BARS[v]?i.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===i.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===i.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,w){if(!v.length)return{result:"",checksum:0};var x=void 0,k=void 0;if(v[0]>=200){k=v.shift()-105;var D=i.SWAP[k];D!==void 0?x=p.next(v,g+1,D):((w===i.SET_A||w===i.SET_B)&&k===i.SHIFT&&(v[0]=w===i.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),x=p.next(v,g+1,w))}else k=p.correctIndex(v,w),x=p.next(v,g+1,w);var O=p.getBar(k),N=k*g;return{result:O+x.result,checksum:N+x.checksum}}}]),p}(n.default);e.default=c}),f$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Yo(),r=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},i=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function a(l,u){var c=u?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var p=l.match(new RegExp("^"+c+"+"))[0];return p.length===l.length?l:p+String.fromCharCode(u?205:206)+a(l.substring(p.length),!u)}function o(l){var u=i(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var d=r(l)>=n(l);return u+String.fromCharCode(d?206:205)+a(l,d)}e.default=function(l){var u=void 0,c=i(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var d=r(l)>n(l);u=(d?t.A_START_CHAR:t.B_START_CHAR)+a(l,d)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(p,v){return"Ë"+v})}}),g$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=lu(),r=a(t),n=f$(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function l(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function u(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var c=function(d){u(p,d);function p(v,g){if(o(this,p),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,(0,i.default)(v),g));else var w=l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,g));return l(w)}return p}(r.default);e.default=c}),v$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=lu(),n=a(r),i=Yo();function a(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function l(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function u(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var c=function(d){u(p,d);function p(v,g){return o(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.A_START_CHAR+v,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),p}(n.default);e.default=c}),b$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=lu(),n=a(r),i=Yo();function a(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function l(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function u(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var c=function(d){u(p,d);function p(v,g){return o(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.B_START_CHAR+v,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),p}(n.default);e.default=c}),y$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=lu(),n=a(r),i=Yo();function a(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function l(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function u(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var c=function(d){u(p,d);function p(v,g){return o(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,i.C_START_CHAR+v,g))}return t(p,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),p}(n.default);e.default=c}),_$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=g$(),r=c(t),n=v$(),i=c(n),a=b$(),o=c(a),l=y$(),u=c(l);function c(d){return d&&d.__esModule?d:{default:d}}e.CODE128=r.default,e.CODE128A=i.default,e.CODE128B=o.default,e.CODE128C=u.default}),Ko=se(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"]}),Qo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ko(),r=function(n,i,a){var o=n.split("").map(function(u,c){return t.BINARIES[i[c]]}).map(function(u,c){return u?u[n[c]]:""});if(a){var l=n.length-1;o=o.map(function(u,c){return c<l?u+a:u})}return o.join("")};e.default=r}),Tv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=Ko(),n=Qo(),i=l(n),a=En(),o=l(a);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var p=function(v){d(g,v);function g(w,x){u(this,g);var k=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}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,i.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,i.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:r.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:r.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:r.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=p}),w$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=function v(g,w,x){g===null&&(g=Function.prototype);var k=Object.getOwnPropertyDescriptor(g,w);if(k===void 0){var D=Object.getPrototypeOf(g);return D===null?void 0:v(D,w,x)}else{if("value"in k)return k.value;var O=k.get;return O===void 0?void 0:O.call(x)}},n=Ko(),i=Tv(),a=o(i);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){var g=v.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,k){return k%2?w+x*3:w+x},0);return(10-g%10)%10},p=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.lastChar=x.lastChar,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(a.default);e.default=p}),x$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function p(v,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(v,x.key,x)}}return function(v,g,w){return g&&p(v.prototype,g),w&&p(v,w),v}}(),r=function p(v,g,w){v===null&&(v=Function.prototype);var x=Object.getOwnPropertyDescriptor(v,g);if(x===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:p(k,g,w)}else{if("value"in x)return x.value;var D=x.get;return D===void 0?void 0:D.call(w)}},n=Tv(),i=a(n);function a(p){return p&&p.__esModule?p:{default:p}}function o(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function l(p,v){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:p}function u(p,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);p.prototype=Object.create(v&&v.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(p,v):p.__proto__=v)}var c=function(p){var v=p.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-v%10)%10},d=function(p){u(v,p);function v(g,w){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,w))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(i.default);e.default=d}),E$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var k=0;k<x.length;k++){var D=x[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,x,k){return x&&g(w.prototype,x),k&&g(w,k),w}}(),r=Ko(),n=Qo(),i=l(n),a=En(),o=l(a);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function c(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 p=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,k,D){return D%2?x+k*9:x+k*3},0);return w%10},v=function(g){d(w,g);function w(x,k){return u(this,w),c(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,k))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=r.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,i.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=v}),S$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),r=Ko(),n=Qo(),i=l(n),a=En(),o=l(a);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var p=function(v){d(g,v);function g(w,x){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=p}),Rv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}();e.checksum=p;var r=Qo(),n=o(r),i=En(),a=o(i);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=p(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.displayValue=x.displayValue,x.fontSize>x.width*10?k.fontSize=x.width*10:k.fontSize=x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==p(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var 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}(a.default);function p(v){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(v[w]);for(w=0;w<11;w+=2)g+=parseInt(v[w])*3;return(10-g%10)%10}e.default=d}),k$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(k,D){for(var O=0;O<D.length;O++){var N=D[O];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,N.key,N)}}return function(k,D,O){return D&&x(k.prototype,D),O&&x(k,O),k}}(),r=Qo(),n=l(r),i=En(),a=l(i),o=Rv();function l(x){return x&&x.__esModule?x:{default:x}}function u(x,k){if(!(x instanceof k))throw new TypeError("Cannot call a class as a function")}function c(x,k){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:x}function d(x,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);x.prototype=Object.create(k&&k.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(x,k):x.__proto__=k)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(k,x);function k(D,O){u(this,k);var N=c(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D,O));if(N.isValid=!1,D.search(/^[0-9]{6}$/)!==-1)N.middleDigits=D,N.upcA=w(D,"0"),N.text=O.text||""+N.upcA[0]+D+N.upcA[N.upcA.length-1],N.isValid=!0;else if(D.search(/^[01][0-9]{7}$/)!==-1)if(N.middleDigits=D.substring(1,D.length-1),N.upcA=w(N.middleDigits,D[0]),N.upcA[N.upcA.length-1]===D[D.length-1])N.isValid=!0;else return c(N);else return c(N);return N.displayValue=O.displayValue,O.fontSize>O.width*10?N.fontSize=O.width*10:N.fontSize=O.fontSize,N.guardHeight=O.height+N.fontSize/2+O.textMargin,N}return t(k,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var D="";return D+="101",D+=this.encodeMiddleDigits(),D+="010101",{data:D,text:this.text}}},{key:"guardedEncoding",value:function(){var D=[];return this.displayValue&&D.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),D.push({data:"101",options:{height:this.guardHeight}}),D.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),D.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&D.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),D}},{key:"encodeMiddleDigits",value:function(){var D=this.upcA[0],O=this.upcA[this.upcA.length-1],N=v[parseInt(O)][parseInt(D)];return(0,n.default)(this.middleDigits,N)}}]),k}(a.default);function w(x,k){for(var D=parseInt(x[x.length-1]),O=p[D],N="",X=0,ue=0;ue<O.length;ue++){var _e=O[ue];_e==="X"?N+=x[X++]:N+=_e}return N=""+k+N,""+N+(0,o.checksum)(N)}e.default=g}),C$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=w$(),r=g(t),n=x$(),i=g(n),a=E$(),o=g(a),l=S$(),u=g(l),c=Rv(),d=g(c),p=k$(),v=g(p);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=r.default,e.EAN8=i.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=d.default,e.UPCE=v.default}),D$=se(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"]}),Ov=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=D$(),n=En(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function l(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function u(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var c=function(d){u(p,d);function p(){return o(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return t(p,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(w){return v.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=r.BINARIES[v[1]];return r.BINARIES[v[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),p}(i.default);e.default=c}),I$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=Ov(),n=i(r);function i(d){return d&&d.__esModule?d:{default:d}}function a(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function o(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function l(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var u=function(d){var p=d.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,w){return v+g*(3-w%2*2)},0);return Math.ceil(p/10)*10-p},c=function(d){l(p,d);function p(v,g){return a(this,p),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,g))}return t(p,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),p}(n.default);e.default=c}),T$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Ov(),r=a(t),n=I$(),i=a(n);function a(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=i.default}),Xo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=En(),n=i(r);function i(d){return d&&d.__esModule?d:{default:d}}function a(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function o(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function l(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var u=function(d){l(p,d);function p(v,g){return a(this,p),o(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,g))}return t(p,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=c(x,4-x.length);for(var k=0;k<x.length;k++)v+=x[k]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),p}(n.default);function c(d,p){for(var v=0;v<p;v++)d="0"+d;return d}e.default=u}),uu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=r;function t(n){for(var i=0,a=0;a<n.length;a++){var o=parseInt(n[a]);(a+n.length)%2===0?i+=o:i+=o*2%10+Math.floor(o*2/10)}return(10-i%10)%10}function r(n){for(var i=0,a=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);i+=a[o%a.length]*l}return(11-i%11)%11}}),R$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=i(t),n=uu();function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){return a(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p+(0,n.mod10)(p),v))}return d}(r.default);e.default=u}),O$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=i(t),n=uu();function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){return a(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p+(0,n.mod11)(p),v))}return d}(r.default);e.default=u}),N$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=i(t),n=uu();function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){return a(this,d),p+=(0,n.mod10)(p),p+=(0,n.mod10)(p),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p,v))}return d}(r.default);e.default=u}),M$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Xo(),r=i(t),n=uu();function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){return a(this,d),p+=(0,n.mod11)(p),p+=(0,n.mod10)(p),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p,v))}return d}(r.default);e.default=u}),A$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Xo(),r=p(t),n=R$(),i=p(n),a=O$(),o=p(a),l=N$(),u=p(l),c=M$(),d=p(c);function p(v){return v&&v.__esModule?v:{default:v}}e.MSI=r.default,e.MSI10=i.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=d.default}),P$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(d,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,p,v){return p&&c(d.prototype,p),v&&c(d,v),d}}(),r=En(),n=i(r);function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){a(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p,v));return g.number=parseInt(p,10),g}return t(d,[{key:"encode",value:function(){for(var p=this.number,v="";!isNaN(p)&&p!=0;)p%2===0?(v="11100"+v,p=(p-2)/2):(v="100"+v,p=(p-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=u}),L$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(d,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,p,v){return p&&c(d.prototype,p),v&&c(d,v),d}}(),r=En(),n=i(r);function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){a(this,d),p.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(p="A"+p+"A");var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p.toUpperCase(),v));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 p=[],v=this.getEncodings(),g=0;g<this.data.length;g++)p.push(v[this.data.charAt(g)]),g!==this.data.length-1&&p.push("0");return{text:this.text,data:p.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),d}(n.default);e.codabar=u}),F$=se(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"]}}),Nv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(p,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,g){return v&&d(p.prototype,v),g&&d(p,g),p}}(),r=F$(),n=En(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function l(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function u(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var c=function(d){u(p,d);function p(v,g){return o(this,p),l(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v,g))}return t(p,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(k){return r.MULTI_SYMBOLS[k]||k}),g=v.map(function(k){return p.getEncoding(k)}).join(""),w=p.checksum(v,20),x=p.checksum(v.concat(w),15);return{text:this.text,data:p.getEncoding("ÿ")+g+p.getEncoding(w)+p.getEncoding(x)+p.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return r.BINARIES[p.symbolValue(v)]}},{key:"getSymbol",value:function(v){return r.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return r.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var w=v.slice().reverse().reduce(function(x,k,D){var O=D%g+1;return x+p.symbolValue(k)*O},0);return p.getSymbol(w%47)}}]),p}(i.default);e.default=c}),j$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,p,v){return p&&c(d.prototype,p),v&&c(d,v),d}}(),r=Nv(),n=i(r);function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){return a(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p,v))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=u}),V$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Nv(),r=a(t),n=j$(),i=a(n);function a(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=i.default}),z$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(d,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,p,v){return p&&c(d.prototype,p),v&&c(d,v),d}}(),r=En(),n=i(r);function i(c){return c&&c.__esModule?c:{default:c}}function a(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(p,v){return a(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p,v))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=u}),B$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=m$(),r=_$(),n=C$(),i=T$(),a=A$(),o=P$(),l=L$(),u=V$(),c=z$();e.default={CODE39:t.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:a.MSI,MSI10:a.MSI10,MSI11:a.MSI11,MSI1010:a.MSI1010,MSI1110:a.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),cu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])}return r};e.default=function(r,n){return t({},r,n)}}),H$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=[];function i(a){if(Array.isArray(a))for(var o=0;o<a.length;o++)i(a[o]);else a.text=a.text||"",a.data=a.data||"",n.push(a)}return i(r),n}}),q$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.marginTop=r.marginTop||r.margin,r.marginBottom=r.marginBottom||r.margin,r.marginRight=r.marginRight||r.margin,r.marginLeft=r.marginLeft||r.margin,r}}),Mv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in n)n.hasOwnProperty(i)&&(i=n[i],typeof r[i]=="string"&&(r[i]=parseInt(r[i],10)));return typeof r.displayValue=="string"&&(r.displayValue=r.displayValue!="false"),r}}),Av=se(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}),$$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Mv(),r=a(t),n=Av(),i=a(n);function a(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in i.default)i.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,r.default)(u),u}e.default=o}),Pv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=cu(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function i(d,p){return p.height+(p.displayValue&&d.text.length>0?p.fontSize+p.textMargin:0)+p.marginTop+p.marginBottom}function a(d,p,v){if(v.displayValue&&p<d){if(v.textAlign=="center")return Math.floor((d-p)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(d-p)}return 0}function o(d,p,v){for(var g=0;g<d.length;g++){var w=d[g],x=(0,r.default)(p,w.options),k;x.displayValue?k=c(w.text,x,v):k=0;var D=w.data.length*x.width;w.width=Math.ceil(Math.max(k,D)),w.height=i(w,x),w.barcodePadding=a(k,D,x)}}function l(d){for(var p=0,v=0;v<d.length;v++)p+=d[v].width;return p}function u(d){for(var p=0,v=0;v<d.length;v++)d[v].height>p&&(p=d[v].height);return p}function c(d,p,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=p.fontOptions+" "+p.fontSize+"px "+p.font;var w=g.measureText(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=i,e.getBarcodePadding=a,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),G$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,d){for(var p=0;p<d.length;p++){var v=d[p];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,d,p){return d&&u(c.prototype,d),p&&u(c,p),c}}(),r=cu(),n=a(r),i=Pv();function a(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l=function(){function u(c,d,p){o(this,u),this.canvas=c,this.encodings=d,this.options=p}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var d=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(d,this.encodings[c]),this.drawCanvasText(d,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,i.calculateEncodingAttributes)(this.encodings,this.options,c);var d=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=d+this.options.marginLeft+this.options.marginRight,this.canvas.height=p,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,d){var p=this.canvas.getContext("2d"),v=d.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,p.fillStyle=c.lineColor;for(var w=0;w<v.length;w++){var x=w*c.width+d.barcodePadding;v[w]==="1"?p.fillRect(x,g,c.width,c.height):v[w]&&p.fillRect(x,g,c.width,c.height*v[w])}}},{key:"drawCanvasText",value:function(c,d){var p=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,w;c.textPosition=="top"?w=c.marginTop+c.fontSize-c.textMargin:w=c.height+c.textMargin+c.marginTop+c.fontSize,p.font=v,c.textAlign=="left"||d.barcodePadding>0?(g=0,p.textAlign="left"):c.textAlign=="right"?(g=d.width-1,p.textAlign="right"):(g=d.width/2,p.textAlign="center"),p.fillText(d.text,g,w)}}},{key:"moveCanvasDrawing",value:function(c){var d=this.canvas.getContext("2d");d.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),U$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,p){for(var v=0;v<p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,p,v){return p&&c(d.prototype,p),v&&c(d,v),d}}(),r=cu(),n=a(r),i=Pv();function a(c){return c&&c.__esModule?c:{default:c}}function o(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(d,p,v){o(this,c),this.svg=d,this.encodings=p,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var p=0;p<this.encodings.length;p++){var v=this.encodings[p],g=(0,n.default)(this.options,v.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,v),this.drawSVGText(w,g,v),d+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,i.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,i.getTotalWidthOfEncodings)(this.encodings),p=(0,i.getMaximumHeightOfEncodings)(this.encodings),v=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,p),this.options.background&&this.drawRect(0,0,v,p,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(d,p,v){var g=v.data,w;p.textPosition=="top"?w=p.fontSize+p.textMargin:w=0;for(var x=0,k=0,D=0;D<g.length;D++)k=D*p.width+v.barcodePadding,g[D]==="1"?x++:x>0&&(this.drawRect(k-p.width*x,w,p.width*x,p.height,d),x=0);x>0&&this.drawRect(k-p.width*(x-1),w,p.width*x,p.height,d)}},{key:"drawSVGText",value:function(d,p,v){var g=this.document.createElementNS(l,"text");if(p.displayValue){var w,x;g.setAttribute("font-family",p.font),g.setAttribute("font-size",p.fontSize),p.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),p.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),p.textPosition=="top"?x=p.fontSize-p.textMargin:x=p.height+p.textMargin+p.fontSize,p.textAlign=="left"||v.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):p.textAlign=="right"?(w=v.width-1,g.setAttribute("text-anchor","end")):(w=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(v.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,p){var v=this.svg;v.setAttribute("width",d+"px"),v.setAttribute("height",p+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+d+" "+p),v.setAttribute("xmlns",l),v.setAttribute("version","1.1")}},{key:"createGroup",value:function(d,p,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+p+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(d,p){d.setAttribute("fill",p.lineColor)}},{key:"drawRect",value:function(d,p,v,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",p),x.setAttribute("width",v),x.setAttribute("height",g),w.appendChild(x),x}}]),c}();e.default=u}),Z$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(a,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(a,u.key,u)}}return function(a,o,l){return o&&i(a.prototype,o),l&&i(a,l),a}}();function r(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}var n=function(){function i(a,o,l){r(this,i),this.object=a,this.encodings=o,this.options=l}return t(i,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),i}();e.default=n}),W$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=G$(),r=l(t),n=U$(),i=l(n),a=Z$(),o=l(a);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:r.default,SVGRenderer:i.default,ObjectRenderer:o.default}}),Lv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function r(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var i=function(l){n(u,l);function u(c,d){t(this,u);var p=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return p.name="InvalidInputException",p.symbology=c,p.input=d,p.message='"'+p.input+'" is not a valid input for '+p.symbology,p}return u}(Error),a=function(l){n(u,l);function u(){t(this,u);var c=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=r(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=i,e.InvalidElementException=a,e.NoElementException=o}),Y$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},r=$$(),n=l(r),i=W$(),a=l(i),o=Lv();function l(p){return p&&p.__esModule?p:{default:p}}function u(p){if(typeof p=="string")return c(p);if(Array.isArray(p)){for(var v=[],g=0;g<p.length;g++)v.push(u(p[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLImageElement)return d(p);if(p&&p.nodeName&&p.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&p instanceof SVGElement)return{element:p,options:(0,n.default)(p),renderer:a.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&p instanceof HTMLCanvasElement)return{element:p,options:(0,n.default)(p),renderer:a.default.CanvasRenderer};if(p&&p.getContext)return{element:p,renderer:a.default.CanvasRenderer};if(p&&(typeof p>"u"?"undefined":t(p))==="object"&&!p.nodeName)return{element:p,renderer:a.default.ObjectRenderer};throw new o.InvalidElementException}}function c(p){var v=document.querySelectorAll(p);if(v.length!==0){for(var g=[],w=0;w<v.length;w++)g.push(u(v[w]));return g}}function d(p){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(p),renderer:a.default.CanvasRenderer,afterRender:function(){p.setAttribute("src",v.toDataURL())}}}e.default=u}),K$=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(a,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(a,u.key,u)}}return function(a,o,l){return o&&i(a.prototype,o),l&&i(a,l),a}}();function r(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}var n=function(){function i(a){r(this,i),this.api=a}return t(i,[{key:"handleCatch",value:function(a){if(a.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw a.message;else throw a;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(a){try{var o=a.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),i}();e.default=n}),Q$=se((e,t)=>{var r=B$(),n=N(r),i=cu(),a=N(i),o=H$(),l=N(o),u=q$(),c=N(u),d=Y$(),p=N(d),v=Mv(),g=N(v),w=K$(),x=N(w),k=Lv(),D=Av(),O=N(D);function N(Q){return Q&&Q.__esModule?Q:{default:Q}}var X=function(){},ue=function(Q,U,xe){var L=new X;if(typeof Q>"u")throw Error("No element to render on was provided.");return L._renderProperties=(0,p.default)(Q),L._encodings=[],L._options=O.default,L._errorHandler=new x.default(L),typeof U<"u"&&(xe=xe||{},xe.format||(xe.format=tt()),L.options(xe)[xe.format](U,xe).render()),L};ue.getModule=function(Q){return n.default[Q]};for(_e in n.default)n.default.hasOwnProperty(_e)&&Nt(n.default,_e);var _e;function Nt(Q,U){X.prototype[U]=X.prototype[U.toUpperCase()]=X.prototype[U.toLowerCase()]=function(xe,L){var H=this;return H._errorHandler.wrapBarcodeCall(function(){L.text=typeof L.text>"u"?void 0:""+L.text;var Y=(0,a.default)(H._options,L);Y=(0,g.default)(Y);var Te=Q[U],Qe=yt(xe,Te,Y);return H._encodings.push(Qe),H})}}function yt(Q,U,xe){Q=""+Q;var L=new U(Q,xe);if(!L.valid())throw new k.InvalidInputException(L.constructor.name,Q);var H=L.encode();H=(0,l.default)(H);for(var Y=0;Y<H.length;Y++)H[Y].options=(0,a.default)(xe,H[Y].options);return H}function tt(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}X.prototype.options=function(Q){return this._options=(0,a.default)(this._options,Q),this},X.prototype.blank=function(Q){var U=new Array(Q+1).join("0");return this._encodings.push({data:U}),this},X.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Q;for(var U in this._renderProperties){Q=this._renderProperties[U];var xe=(0,a.default)(this._options,Q.options);xe.format=="auto"&&(xe.format=tt()),this._errorHandler.wrapBarcodeCall(function(){var L=xe.value,H=n.default[xe.format.toUpperCase()],Y=yt(L,H,xe);St(Q,Y,xe)})}}},X.prototype.render=function(){if(!this._renderProperties)throw new k.NoElementException;if(Array.isArray(this._renderProperties))for(var Q=0;Q<this._renderProperties.length;Q++)St(this._renderProperties[Q],this._encodings,this._options);else St(this._renderProperties,this._encodings,this._options);return this},X.prototype._defaults=O.default;function St(Q,U,xe){U=(0,l.default)(U);for(var L=0;L<U.length;L++)U[L].options=(0,a.default)(xe,U[L].options),(0,c.default)(U[L].options);(0,c.default)(xe);var H=Q.renderer,Y=new H(Q.element,U,xe);Y.render(),Q.afterRender&&Q.afterRender()}typeof window<"u"&&(window.JsBarcode=ue),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Q,U){var xe=[];return jQuery(this).each(function(){xe.push(this)}),ue(xe,Q,U)}),t.exports=ue});function yh(e,t){return Object.is(e,t)}var wt=null,rl=!1,_h=1,mn=Symbol("SIGNAL");function Ie(e){let t=wt;return wt=e,t}function X$(){return wt}var Fa={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 Jo(e){if(rl)throw new Error("");if(wt===null)return;wt.consumerOnSignalRead(e);let t=wt.nextProducerIndex++;if(mu(wt),t<wt.producerNode.length&&wt.producerNode[t]!==e&&Co(wt)){let r=wt.producerNode[t];pu(r,wt.producerIndexOfThis[t])}wt.producerNode[t]!==e&&(wt.producerNode[t]=e,wt.producerIndexOfThis[t]=Co(wt)?Vv(e,wt,t):0),wt.producerLastReadVersion[t]=e.version}function J$(){_h++}function es(e){if(!(Co(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===_h)){if(!e.producerMustRecompute(e)&&!wh(e)){wl(e);return}e.producerRecomputeValue(e),wl(e)}}function Fv(e){if(e.liveConsumerNode===void 0)return;let t=rl;rl=!0;try{for(let r of e.liveConsumerNode)r.dirty||e6(r)}finally{rl=t}}function jv(){return(wt==null?void 0:wt.consumerAllowSignalWrites)!==!1}function e6(e){var t;e.dirty=!0,Fv(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function wl(e){e.dirty=!1,e.lastCleanEpoch=_h}function ko(e){return e&&(e.nextProducerIndex=0),Ie(e)}function du(e,t){if(Ie(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Co(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)pu(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function wh(e){mu(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(es(r),n!==r.version))return!0}return!1}function hu(e){if(mu(e),Co(e))for(let t=0;t<e.producerNode.length;t++)pu(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 Vv(e,t,r){if(zv(e),e.liveConsumerNode.length===0&&Bv(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Vv(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function pu(e,t){if(zv(e),e.liveConsumerNode.length===1&&Bv(e))for(let n=0;n<e.producerNode.length;n++)pu(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];mu(i),i.producerIndexOfThis[n]=t}}function Co(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function mu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function zv(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Bv(e){return e.producerNode!==void 0}function t6(e,t){let r=Object.create(n6);r.computation=e,t!==void 0&&(r.equal=t);let n=()=>{if(es(r),Jo(r),r.value===ai)throw r.error;return r.value};return n[mn]=r,n}var Ii=Symbol("UNSET"),pa=Symbol("COMPUTING"),ai=Symbol("ERRORED"),n6=Ut(ce({},Fa),{value:Ii,dirty:!0,error:null,equal:yh,kind:"computed",producerMustRecompute(e){return e.value===Ii||e.value===pa},producerRecomputeValue(e){if(e.value===pa)throw new Error("Detected cycle in computations.");let t=e.value;e.value=pa;let r=ko(e),n,i=!1;try{n=e.computation(),Ie(null),i=t!==Ii&&t!==ai&&n!==ai&&e.equal(t,n)}catch(a){n=ai,e.error=a}finally{du(e,r)}if(i){e.value=t;return}e.value=n,e.version++}});function r6(){throw new Error}var Hv=r6;function qv(e){Hv(e)}function i6(e){Hv=e}function a6(e,t){let r=Object.create(Gv);r.value=e,t!==void 0&&(r.equal=t);let n=()=>(Jo(r),r.value);return n[mn]=r,n}function ts(e,t){jv()||qv(e),e.equal(e.value,t)||(e.value=t,o6(e))}function $v(e,t){jv()||qv(e),ts(e,t(e.value))}var Gv=Ut(ce({},Fa),{equal:yh,value:void 0,kind:"signal"});function o6(e){e.version++,J$(),Fv(e)}function jm(e,t,r){let n=Object.create(u6);n.source=e,n.computation=t,r!=null&&(n.equal=r);let i=()=>{if(es(n),Jo(n),n.value===ai)throw n.error;return n.value};return i[mn]=n,i}function s6(e,t){es(e),ts(e,t),wl(e)}function l6(e,t){es(e),$v(e,t),wl(e)}var u6=Ut(ce({},Fa),{value:Ii,dirty:!0,error:null,equal:yh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Ii||e.value===pa},producerRecomputeValue(e){if(e.value===pa)throw new Error("Detected cycle in computations.");let t=e.value;e.value=pa;let r=ko(e),n;try{let i=e.source(),a=t===Ii||t===ai?void 0:{source:e.sourceValue,value:t};n=e.computation(i,a),e.sourceValue=i}catch(i){n=ai,e.error=i}finally{du(e,r)}if(t!==Ii&&n!==ai&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function c6(e){let t=Ie(null);try{return e()}finally{Ie(t)}}var Jc;function il(){return Jc}function Wr(e){let t=Jc;return Jc=e,t}var Uv=Symbol("NotFound");function it(e){return typeof e=="function"}function xh(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Xu=xh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
- ${t.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
14
- `)}`:"",this.name="UnsubscriptionError",this.errors=t});function xl(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ln=class ed{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let a of r)a.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(it(n))try{n()}catch(a){t=a instanceof Xu?a.errors:[a]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let a of i)try{Vm(a)}catch(o){t=t??[],o instanceof Xu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Xu(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Vm(t);else{if(t instanceof ed){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&xl(r,t)}remove(t){let{_finalizers:r}=this;r&&xl(r,t),t instanceof ed&&t._removeParent(this)}};ln.EMPTY=(()=>{let e=new ln;return e.closed=!0,e})();var Zv=ln.EMPTY;function Wv(e){return e instanceof ln||e&&"closed"in e&&it(e.remove)&&it(e.add)&&it(e.unsubscribe)}function Vm(e){it(e)?e():e.unsubscribe()}var d6={Promise:void 0},h6={setTimeout(e,t,...r){return setTimeout(e,t,...r)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Yv(e){h6.setTimeout(()=>{throw e})}function td(){}function al(e){e()}var Eh=class extends ln{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Wv(e)&&e.add(this)):this.destination=f6}static create(e,t,r){return new Do(e,t,r)}next(e){this.isStopped?void 0:this._next(e)}error(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))}complete(){this.isStopped?void 0:(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},p6=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){Os(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){Os(r)}else Os(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Os(t)}}},Do=class extends Eh{constructor(e,t,r){super();let n;it(e)||!e?n={next:e??void 0,error:t??void 0,complete:r??void 0}:n=e,this.destination=new p6(n)}};function Os(e){Yv(e)}function m6(e){throw e}var f6={closed:!0,next:td,error:m6,complete:td},Sh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ja(e){return e}function g6(e){return e.length===0?ja:e.length===1?e[0]:function(t){return e.reduce((r,n)=>n(r),t)}}var ht=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,i){let a=b6(r)?r:new Do(r,n,i);return al(()=>{let{operator:o,source:l}=this;a.add(o?o.call(a,l):l?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=zm(n),new n((i,a)=>{let o=new Do({next:l=>{try{r(l)}catch(u){a(u),o.unsubscribe()}},error:a,complete:i});this.subscribe(o)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Sh](){return this}pipe(...r){return g6(r)(this)}toPromise(r){return r=zm(r),new r((n,i)=>{let a;this.subscribe(o=>a=o,o=>i(o),()=>n(a))})}}return e.create=t=>new e(t),e})();function zm(e){var t;return(t=e??d6.Promise)!==null&&t!==void 0?t:Promise}function v6(e){return e&&it(e.next)&&it(e.error)&&it(e.complete)}function b6(e){return e&&e instanceof Eh||v6(e)&&Wv(e)}function Kv(e){return it(e==null?void 0:e.lift)}function Zt(e){return t=>{if(Kv(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Lt(e,t,r,n,i){return new y6(e,t,r,n,i)}var y6=class extends Eh{constructor(e,t,r,n,i,a){super(e),this.onFinalize=i,this.shouldUnsubscribe=a,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(o){e.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function _6(){return Zt((e,t)=>{let r=null;e._refCount++;let n=Lt(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){r=null;return}let i=e._connection,a=r;r=null,i&&(!a||i===a)&&i.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}var w6=class extends ht{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Kv(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ln;let t=this.getSubject();e.add(this.source.subscribe(Lt(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ln.EMPTY)}return e}refCount(){return _6()(this)}},x6=xh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),be=(()=>{class e extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Bm(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new x6}next(r){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){al(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:a}=this;return n||i?Zv:(this.currentObservers=null,a.push(r),new ln(()=>{this.currentObservers=null,xl(a,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:a}=this;n?r.error(i):a&&r.complete()}asObservable(){let r=new ht;return r.source=this,r}}return e.create=(t,r)=>new Bm(t,r),e})(),Bm=class extends be{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:Zv}},Mi=class extends be{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},kh={now(){return(kh.delegate||Date).now()},delegate:void 0},Ch=class extends be{constructor(e=1/0,t=1/0,r=kh){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:r,_infiniteTimeWindow:n,_timestampProvider:i,_windowTime:a}=this;t||(r.push(e),!n&&r.push(i.now()+a)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:n}=this,i=n.slice();for(let a=0;a<i.length&&!e.closed;a+=r?1:2)e.next(i[a]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:n}=this,i=(n?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!n){let a=t.now(),o=0;for(let l=1;l<r.length&&r[l]<=a;l+=2)o=l;o&&r.splice(0,o+1)}}},E6=class extends ln{constructor(e,t){super()}schedule(e,t=0){return this}},nd={setInterval(e,t,...r){let{delegate:n}=nd;return n!=null&&n.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){return clearInterval(e)},delegate:void 0},S6=class extends E6{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;let n=this.id,i=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,r=0){return nd.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&nd.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n;try{this.work(e)}catch(i){r=!0,n=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,xl(r,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},rd=class Qv{constructor(t,r=Qv.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};rd.now=kh.now;var k6=class extends rd{constructor(e,t=rd.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},Dh=new k6(S6),C6=Dh,Xv=new ht(e=>e.complete());function Jv(e){return e&&it(e.schedule)}function Ih(e){return e[e.length-1]}function e0(e){return it(Ih(e))?e.pop():void 0}function ns(e){return Jv(Ih(e))?e.pop():void 0}function D6(e,t){return typeof Ih(e)=="number"?e.pop():t}function I6(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function l(d){try{c(n.next(d))}catch(p){o(p)}}function u(d){try{c(n.throw(d))}catch(p){o(p)}}function c(d){d.done?a(d.value):i(d.value).then(l,u)}c((n=n.apply(e,[])).next())})}function Hm(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ma(e){return this instanceof ma?(this.v=e,this):new ma(e)}function T6(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(g){return function(w){return Promise.resolve(w).then(g,p)}}function l(g,w){n[g]&&(i[g]=function(x){return new Promise(function(k,D){a.push([g,x,k,D])>1||u(g,x)})},w&&(i[g]=w(i[g])))}function u(g,w){try{c(n[g](w))}catch(x){v(a[0][3],x)}}function c(g){g.value instanceof ma?Promise.resolve(g.value.v).then(d,p):v(a[0][2],g)}function d(g){u("next",g)}function p(g){u("throw",g)}function v(g,w){g(w),a.shift(),a.length&&u(a[0][0],a[0][1])}}function R6(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Hm=="function"?Hm(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(o){return new Promise(function(l,u){o=e[a](o),i(l,u,o.done,o.value)})}}function i(a,o,l,u){Promise.resolve(u).then(function(c){a({value:c,done:l})},o)}}var t0=e=>e&&typeof e.length=="number"&&typeof e!="function";function n0(e){return it(e==null?void 0:e.then)}function r0(e){return it(e[Sh])}function i0(e){return Symbol.asyncIterator&&it(e==null?void 0:e[Symbol.asyncIterator])}function a0(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 O6(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var o0=O6();function s0(e){return it(e==null?void 0:e[o0])}function l0(e){return T6(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:n}=yield ma(t.read());if(n)return yield ma(void 0);yield yield ma(r)}}finally{t.releaseLock()}})}function u0(e){return it(e==null?void 0:e.getReader)}function gn(e){if(e instanceof ht)return e;if(e!=null){if(r0(e))return N6(e);if(t0(e))return M6(e);if(n0(e))return A6(e);if(i0(e))return c0(e);if(s0(e))return P6(e);if(u0(e))return L6(e)}throw a0(e)}function N6(e){return new ht(t=>{let r=e[Sh]();if(it(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function M6(e){return new ht(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function A6(e){return new ht(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Yv)})}function P6(e){return new ht(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function c0(e){return new ht(t=>{F6(e,t).catch(r=>t.error(r))})}function L6(e){return c0(l0(e))}function F6(e,t){var r,n,i,a;return I6(this,void 0,void 0,function*(){try{for(r=R6(e);n=yield r.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){i={error:o}}finally{try{n&&!n.done&&(a=r.return)&&(yield a.call(r))}finally{if(i)throw i.error}}t.complete()})}function Pr(e,t,r,n=0,i=!1){let a=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(a),!i)return a}function d0(e,t=0){return Zt((r,n)=>{r.subscribe(Lt(n,i=>Pr(n,e,()=>n.next(i),t),()=>Pr(n,e,()=>n.complete(),t),i=>Pr(n,e,()=>n.error(i),t)))})}function h0(e,t=0){return Zt((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function j6(e,t){return gn(e).pipe(h0(t),d0(t))}function V6(e,t){return gn(e).pipe(h0(t),d0(t))}function z6(e,t){return new ht(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function B6(e,t){return new ht(r=>{let n;return Pr(r,t,()=>{n=e[o0](),Pr(r,t,()=>{let i,a;try{({value:i,done:a}=n.next())}catch(o){r.error(o);return}a?r.complete():r.next(i)},0,!0)}),()=>it(n==null?void 0:n.return)&&n.return()})}function p0(e,t){if(!e)throw new Error("Iterable cannot be null");return new ht(r=>{Pr(r,t,()=>{let n=e[Symbol.asyncIterator]();Pr(r,t,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function H6(e,t){return p0(l0(e),t)}function q6(e,t){if(e!=null){if(r0(e))return j6(e,t);if(t0(e))return z6(e,t);if(n0(e))return V6(e,t);if(i0(e))return p0(e,t);if(s0(e))return B6(e,t);if(u0(e))return H6(e,t)}throw a0(e)}function $i(e,t){return t?q6(e,t):gn(e)}function Je(...e){let t=ns(e);return $i(e,t)}function m0(e,t){let r=it(e)?e:()=>e,n=i=>i.error(r());return new ht(n)}function fa(e){return!!e&&(e instanceof ht||it(e.lift)&&it(e.subscribe))}var $6=xh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function G6(e,t){return new Promise((r,n)=>{let i=!1,a;e.subscribe({next:o=>{a=o,i=!0},error:n,complete:()=>{i?r(a):n(new $6)}})})}function U6(e){return e instanceof Date&&!isNaN(e)}function Tt(e,t){return Zt((r,n)=>{let i=0;r.subscribe(Lt(n,a=>{n.next(e.call(t,a,i++))}))})}var{isArray:Z6}=Array;function W6(e,t){return Z6(t)?e(...t):e(t)}function f0(e){return Tt(t=>W6(e,t))}var{isArray:Y6}=Array,{getPrototypeOf:K6,prototype:Q6,keys:X6}=Object;function g0(e){if(e.length===1){let t=e[0];if(Y6(t))return{args:t,keys:null};if(J6(t)){let r=X6(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function J6(e){return e&&typeof e=="object"&&K6(e)===Q6}function v0(e,t){return e.reduce((r,n,i)=>(r[n]=t[i],r),{})}function ol(...e){let t=ns(e),r=e0(e),{args:n,keys:i}=g0(e);if(n.length===0)return $i([],t);let a=new ht(eG(n,t,i?o=>v0(i,o):ja));return r?a.pipe(f0(r)):a}function eG(e,t,r=ja){return n=>{qm(t,()=>{let{length:i}=e,a=new Array(i),o=i,l=i;for(let u=0;u<i;u++)qm(t,()=>{let c=$i(e[u],t),d=!1;c.subscribe(Lt(n,p=>{a[u]=p,d||(d=!0,l--),l||n.next(r(a.slice()))},()=>{--o||n.complete()}))},n)},n)}}function qm(e,t,r){e?Pr(r,e,t):t()}function tG(e,t,r,n,i,a,o,l){let u=[],c=0,d=0,p=!1,v=()=>{p&&!u.length&&!c&&t.complete()},g=x=>c<n?w(x):u.push(x),w=x=>{c++;let k=!1;gn(r(x,d++)).subscribe(Lt(t,D=>{t.next(D)},()=>{k=!0},void 0,()=>{if(k)try{for(c--;u.length&&c<n;){let D=u.shift();o?Pr(t,o,()=>w(D)):w(D)}v()}catch(D){t.error(D)}}))};return e.subscribe(Lt(t,g,()=>{p=!0,v()})),()=>{}}function Io(e,t,r=1/0){return it(t)?Io((n,i)=>Tt((a,o)=>t(n,a,i,o))(gn(e(n,i))),r):(typeof t=="number"&&(r=t),Zt((n,i)=>tG(n,i,e,r)))}function b0(e=1/0){return Io(ja,e)}function nG(){return b0(1)}function To(...e){return nG()($i(e,ns(e)))}function El(e){return new ht(t=>{gn(e()).subscribe(t)})}function y0(...e){let t=e0(e),{args:r,keys:n}=g0(e),i=new ht(a=>{let{length:o}=r;if(!o){a.complete();return}let l=new Array(o),u=o,c=o;for(let d=0;d<o;d++){let p=!1;gn(r[d]).subscribe(Lt(a,v=>{p||(p=!0,c--),l[d]=v},()=>u--,void 0,()=>{(!u||!p)&&(c||a.next(n?v0(n,l):l),a.complete())}))}});return t?i.pipe(f0(t)):i}function rG(e=0,t,r=C6){let n=-1;return t!=null&&(Jv(t)?r=t:n=t),new ht(i=>{let a=U6(e)?+e-r.now():e;a<0&&(a=0);let o=0;return r.schedule(function(){i.closed||(i.next(o++),0<=n?this.schedule(void 0,n):i.complete())},a)})}function Ea(...e){let t=ns(e),r=D6(e,1/0),n=e;return n.length?n.length===1?gn(n[0]):b0(r)($i(n,t)):Xv}function ei(e,t){return Zt((r,n)=>{let i=0;r.subscribe(Lt(n,a=>e.call(t,a,i++)&&n.next(a)))})}function iG(e){return Zt((t,r)=>{let n=!1,i=null,a=null,o=!1,l=()=>{if(a==null||a.unsubscribe(),a=null,n){n=!1;let c=i;i=null,r.next(c)}o&&r.complete()},u=()=>{a=null,o&&r.complete()};t.subscribe(Lt(r,c=>{n=!0,i=c,a||gn(e(c)).subscribe(a=Lt(r,l,u))},()=>{o=!0,(!n||!a||a.closed)&&r.complete()}))})}function _0(e,t=Dh){return iG(()=>rG(e,t))}function Th(e){return Zt((t,r)=>{let n=null,i=!1,a;n=t.subscribe(Lt(r,void 0,void 0,o=>{a=gn(e(o,Th(e)(t))),n?(n.unsubscribe(),n=null,a.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,a.subscribe(r))})}function w0(e,t){return it(t)?Io(e,t,1):Io(e,1)}function aG(e,t=Dh){return Zt((r,n)=>{let i=null,a=null,o=null,l=()=>{if(i){i.unsubscribe(),i=null;let c=a;a=null,n.next(c)}};function u(){let c=o+e,d=t.now();if(d<c){i=this.schedule(void 0,c-d),n.add(i);return}l()}r.subscribe(Lt(n,c=>{a=c,o=t.now(),i||(i=t.schedule(u,e),n.add(i))},()=>{l(),n.complete()},void 0,()=>{a=i=null}))})}function sn(e){return e<=0?()=>Xv:Zt((t,r)=>{let n=0;t.subscribe(Lt(r,i=>{++n<=e&&(r.next(i),e<=n&&r.complete())}))})}function oG(e,t=ja){return e=e??sG,Zt((r,n)=>{let i,a=!0;r.subscribe(Lt(n,o=>{let l=t(o);(a||!e(i,l))&&(a=!1,i=l,n.next(o))}))})}function sG(e,t){return e===t}function x0(e){return Zt((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function E0(e={}){let{connector:t=()=>new be,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=e;return a=>{let o,l,u,c=0,d=!1,p=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=u=void 0,d=p=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Zt((x,k)=>{c++,!p&&!d&&v();let D=u=u??t();k.add(()=>{c--,c===0&&!p&&!d&&(l=Ju(w,i))}),D.subscribe(k),!o&&c>0&&(o=new Do({next:O=>D.next(O),error:O=>{p=!0,v(),l=Ju(g,r,O),D.error(O)},complete:()=>{d=!0,v(),l=Ju(g,n),D.complete()}}),gn(x).subscribe(o))})(a)}}function Ju(e,t,...r){if(t===!0){e();return}if(t===!1)return;let n=new Do({next:()=>{n.unsubscribe(),e()}});return gn(t(...r)).subscribe(n)}function $m(e,t,r){let n;return n=e,E0({connector:()=>new Ch(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function S0(e){return ei((t,r)=>e<=r)}function Rh(...e){let t=ns(e);return Zt((r,n)=>{(t?To(e,r,t):To(e,r)).subscribe(n)})}function Sl(e,t){return Zt((r,n)=>{let i=null,a=0,o=!1,l=()=>o&&!i&&n.complete();r.subscribe(Lt(n,u=>{i==null||i.unsubscribe();let c=0,d=a++;gn(e(u,d)).subscribe(i=Lt(n,p=>n.next(t?t(u,p,d,c++):p),()=>{i=null,l()}))},()=>{o=!0,l()}))})}function oi(e){return Zt((t,r)=>{gn(e).subscribe(Lt(r,()=>r.complete(),td)),!r.closed&&t.subscribe(r)})}function ec(e,t,r){let n=it(e)||t||r?{next:e,error:t,complete:r}:e;return n?Zt((i,a)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;i.subscribe(Lt(a,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),a.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),a.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),a.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):ja}var k0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",$=class extends Error{constructor(t,r){super(C0(t,r));s(this,"code");this.code=t}};function lG(e){return`NG0${Math.abs(e)}`}function C0(e,t){return`${lG(e)}${t?": "+t:""}`}var fu=Symbol("InputSignalNode#UNSET"),D0=Ut(ce({},Gv),{transformFn:void 0,applyValueToInputSignal(e,t){ts(e,t)}});function I0(e,t){let r=Object.create(D0);r.value=e,r.transformFn=t==null?void 0:t.transform;function n(){if(Jo(r),r.value===fu){let i=null;throw new $(-950,i)}return r.value}return n[mn]=r,n}function rs(e){return{toString:e}.toString()}var Ns="__parameters__";function uG(e){return function(...t){}}function T0(e,t,r){return rs(()=>{let n=uG();function i(...a){if(this instanceof i)return n.apply(this,a),this;let o=new i(...a);return l.annotation=o,l;function l(u,c,d){let p=u.hasOwnProperty(Ns)?u[Ns]:Object.defineProperty(u,Ns,{value:[]})[Ns];for(;p.length<=d;)p.push(null);return(p[d]=p[d]||[]).push(o),u}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var ti=globalThis;function at(e){for(let t in e)if(e[t]===at)return t;throw Error("Could not find renamed property on target object.")}function cG(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function Nn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Nn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(r==null)return""+r;let n=r.indexOf(`
15
- `);return n>=0?r.slice(0,n):r}function id(e,t){return e?t?`${e} ${t}`:e:t||""}var dG=at({__forward_ref__:at});function R0(e){return e.__forward_ref__=R0,e.toString=function(){return Nn(this())},e}function qt(e){return O0(e)?e():e}function O0(e){return typeof e=="function"&&e.hasOwnProperty(dG)&&e.__forward_ref__===R0}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Wt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Oh(e){return Gm(e,N0)||Gm(e,M0)}function Gm(e,t){return e.hasOwnProperty(t)?e[t]:null}function hG(e){return e&&(e[N0]||e[M0])||null}function Um(e){return e&&(e.hasOwnProperty(Zm)||e.hasOwnProperty(pG))?e[Zm]:null}var N0=at({ɵprov:at}),Zm=at({ɵinj:at}),M0=at({ngInjectableDef:at}),pG=at({ngInjectorDef:at}),J=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=z({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function A0(e){return e&&!!e.ɵproviders}var mG=at({ɵcmp:at}),fG=at({ɵdir:at}),gG=at({ɵpipe:at}),kl=at({ɵfac:at}),bo=at({__NG_ELEMENT_ID__:at}),Wm=at({__NG_ENV_ID__:at});function Pi(e){return typeof e=="string"?e:e==null?"":String(e)}function vG(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Pi(e)}function P0(e,t){throw new $(-200,e)}function Nh(e,t){throw new $(-201,!1)}var Re=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}(Re||{}),ad;function L0(){return ad}function hn(e){let t=ad;return ad=e,t}function F0(e,t,r){let n=Oh(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&Re.Optional)return null;if(t!==void 0)return t;Nh()}var bG={},Ai=bG,od="__NG_DI_FLAG__",j0=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?Uv:Ai,r)}},Cl="ngTempTokenPath",yG="ngTokenPath",_G=/\n/gm,wG="ɵ",Ym="__source";function xG(e,t=Re.Default){if(il()===void 0)throw new $(-203,!1);if(il()===null)return F0(e,void 0,t);{let r=il(),n;return r instanceof j0?n=r.injector:n=r,n.get(e,t&Re.Optional?null:void 0,t)}}function oe(e,t=Re.Default){return(L0()||xG)(qt(e),t)}function S(e,t=Re.Default){return oe(e,gu(t))}function gu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sd(e){let t=[];for(let r=0;r<e.length;r++){let n=qt(e[r]);if(Array.isArray(n)){if(n.length===0)throw new $(900,!1);let i,a=Re.Default;for(let o=0;o<n.length;o++){let l=n[o],u=EG(l);typeof u=="number"?u===-1?i=l.token:a|=u:i=l}t.push(oe(i,a))}else t.push(oe(n))}return t}function V0(e,t){return e[od]=t,e.prototype[od]=t,e}function EG(e){return e[od]}function SG(e,t,r,n){let i=e[Cl];throw t[Ym]&&i.unshift(t[Ym]),e.message=kG(`
16
- `+e.message,i,r,n),e[yG]=i,e[Cl]=null,e}function kG(e,t,r,n=null){e=e&&e.charAt(0)===`
17
- `&&e.charAt(1)==wG?e.slice(2):e;let i=Nn(t);if(Array.isArray(t))i=t.map(Nn).join(" -> ");else if(typeof t=="object"){let a=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];a.push(o+":"+(typeof l=="string"?JSON.stringify(l):Nn(l)))}i=`{${a.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${e.replace(_G,`
18
- `)}`}var Mh=V0(T0("Optional"),8),Ah=V0(T0("SkipSelf"),4);function Li(e,t){return e.hasOwnProperty(kl)?e[kl]:null}function CG(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],a=t[n];if(r&&(i=r(i),a=r(a)),a!==i)return!1}return!0}function DG(e){return e.flat(Number.POSITIVE_INFINITY)}function Ph(e,t){e.forEach(r=>Array.isArray(r)?Ph(r,t):t(r))}function z0(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Dl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function IG(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function TG(e,t,r,n){let i=e.length;if(i==t)e.push(r,n);else if(i===1)e.push(n,e[0]),e[0]=r;else{for(i--,e.push(e[i-1],e[i]);i>t;){let a=i-2;e[i]=e[a],i--}e[t]=r,e[t+1]=n}}function Lh(e,t,r){let n=is(e,t);return n>=0?e[n|1]=r:(n=~n,TG(e,n,t,r)),n}function tc(e,t){let r=is(e,t);if(r>=0)return e[r|1]}function is(e,t){return RG(e,t,1)}function RG(e,t,r){let n=0,i=e.length>>r;for(;i!==n;){let a=n+(i-n>>1),o=e[a<<r];if(t===o)return a<<r;o>t?i=a:n=a+1}return~(i<<r)}var lr={},pn=[],Il=new J(""),B0=new J("",-1),H0=new J(""),q0=class{get(e,t=Ai){if(t===Ai){let r=new Error(`NullInjectorError: No provider for ${Nn(e)}!`);throw r.name="NullInjectorError",r}return t}};function Sa(e){return e[mG]||null}function $0(e){return e[fG]||null}function OG(e){return e[gG]||null}function Fh(e){return{ɵproviders:e}}function NG(...e){return{ɵproviders:G0(!0,e),ɵfromNgModule:!0}}function G0(e,...t){let r=[],n=new Set,i,a=o=>{r.push(o)};return Ph(t,o=>{let l=o;ld(l,a,[],n)&&(i||(i=[]),i.push(l))}),i!==void 0&&U0(i,a),r}function U0(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:i}=e[r];jh(i,a=>{t(a,n)})}}function ld(e,t,r,n){if(e=qt(e),!e)return!1;let i=null,a=Um(e),o=!a&&Sa(e);if(!a&&!o){let u=e.ngModule;if(a=Um(u),a)i=u;else return!1}else{if(o&&!o.standalone)return!1;i=e}let l=n.has(i);if(o){if(l)return!1;if(n.add(i),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)ld(c,t,r,n)}}else if(a){if(a.imports!=null&&!l){n.add(i);let c;try{Ph(a.imports,d=>{ld(d,t,r,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&U0(c,t)}if(!l){let c=Li(i)||(()=>new i);t({provide:i,useFactory:c,deps:pn},i),t({provide:H0,useValue:i,multi:!0},i),t({provide:Il,useValue:()=>oe(i),multi:!0},i)}let u=a.providers;if(u!=null&&!l){let c=e;jh(u,d=>{t(d,c)})}}else return!1;return i!==e&&e.providers!==void 0}function jh(e,t){for(let r of e)A0(r)&&(r=r.ɵproviders),Array.isArray(r)?jh(r,t):t(r)}var MG=at({provide:String,useValue:at});function Z0(e){return e!==null&&typeof e=="object"&&MG in e}function AG(e){return!!(e&&e.useExisting)}function PG(e){return!!(e&&e.useFactory)}function ka(e){return typeof e=="function"}function LG(e){return!!e.useClass}var Vh=new J(""),sl={},Km={},nc;function vu(){return nc===void 0&&(nc=new q0),nc}var ur=class{},zh=class extends ur{constructor(t,r,n,i){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=r,this.source=n,this.scopes=i,cd(t,o=>this.processProvider(o)),this.records.set(B0,la(void 0,this)),i.has("environment")&&this.records.set(ur,la(void 0,this));let a=this.records.get(Vh);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(H0,pn,Re.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?Uv:Ai,n)}destroy(){po(this),this._destroyed=!0;let t=Ie(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ie(t)}}onDestroy(t){return po(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){po(this);let r=Wr(this),n=hn(void 0);try{return t()}finally{Wr(r),hn(n)}}get(t,r=Ai,n=Re.Default){if(po(this),t.hasOwnProperty(Wm))return t[Wm](this);n=gu(n);let i=Wr(this),a=hn(void 0);try{if(!(n&Re.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=BG(t)&&Oh(t);u&&this.injectableDefInScope(u)?l=la(ud(t),sl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Re.Self?vu():this.parent;return r=n&Re.Optional&&r===Ai?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[Cl]=o[Cl]||[]).unshift(Nn(t)),i)throw o;return SG(o,t,"R3InjectorError",this.source)}else throw o}finally{hn(a),Wr(i)}}resolveInjectorInitializers(){let t=Ie(null),r=Wr(this),n=hn(void 0);try{let i=this.get(Il,pn,Re.Self);for(let a of i)a()}finally{Wr(r),hn(n),Ie(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(Nn(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=qt(t);let r=ka(t)?t:qt(t&&t.provide),n=jG(t);if(!ka(t)&&t.multi===!0){let i=this.records.get(r);i||(i=la(void 0,sl,!0),i.factory=()=>sd(i.multi),this.records.set(r,i)),r=t,i.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let i=Ie(null);try{return r.value===Km?P0(Nn(t)):r.value===sl&&(r.value=Km,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&zG(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Ie(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=qt(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function ud(e){let t=Oh(e),r=t!==null?t.factory:Li(e);if(r!==null)return r;if(e instanceof J)throw new $(204,!1);if(e instanceof Function)return FG(e);throw new $(204,!1)}function FG(e){if(e.length>0)throw new $(204,!1);let t=hG(e);return t!==null?()=>t.factory(e):()=>new e}function jG(e){if(Z0(e))return la(void 0,e.useValue);{let t=W0(e);return la(t,sl)}}function W0(e,t,r){let n;if(ka(e)){let i=qt(e);return Li(i)||ud(i)}else if(Z0(e))n=()=>qt(e.useValue);else if(PG(e))n=()=>e.useFactory(...sd(e.deps||[]));else if(AG(e))n=(i,a)=>oe(qt(e.useExisting),a!==void 0&&a&Re.Optional?Re.Optional:void 0);else{let i=qt(e&&(e.useClass||e.provide));if(VG(e))n=()=>new i(...sd(e.deps));else return Li(i)||ud(i)}return n}function po(e){if(e.destroyed)throw new $(205,!1)}function la(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function VG(e){return!!e.deps}function zG(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function BG(e){return typeof e=="function"||typeof e=="object"&&e instanceof J}function cd(e,t){for(let r of e)Array.isArray(r)?cd(r,t):r&&A0(r)?cd(r.ɵproviders,t):t(r)}function Bh(e,t){let r;e instanceof zh?(po(e),r=e):r=new j0(e);let n=Wr(r),i=hn(void 0);try{return t()}finally{Wr(n),hn(i)}}function Y0(){return L0()!==void 0||il()!=null}function as(e){if(!Y0())throw new $(-203,!1)}function HG(e){return typeof e=="function"}var Vr=0,ye=1,fe=2,en=3,qn=4,vn=5,Ca=6,ga=7,Vt=8,Da=9,Fr=10,ft=11,Ro=12,Qm=13,Va=14,An=15,Fi=16,ua=17,$n=18,bu=19,K0=20,si=21,rc=22,Or=23,Mn=24,li=25,vt=26,Q0=1,ji=7,Tl=8,Ia=9,Jt=10;function ui(e){return Array.isArray(e)&&typeof e[Q0]=="object"}function zr(e){return Array.isArray(e)&&e[Q0]===!0}function Hh(e){return(e.flags&4)!==0}function za(e){return e.componentOffset>-1}function yu(e){return(e.flags&1)===1}function cr(e){return!!e.template}function Rl(e){return(e[fe]&512)!==0}function Ba(e){return(e[fe]&256)===256}var qG=class{constructor(e,t,r){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function X0(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var Gi=(()=>{let e=()=>J0;return e.ngInherit=!0,e})();function J0(e){return e.type.prototype.ngOnChanges&&(e.setInput=GG),$G}function $G(){let e=tb(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===lr)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function GG(e,t,r,n,i){let a=this.declaredInputs[n],o=tb(e)||UG(e,{previous:lr,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[a];l[a]=new qG(c&&c.currentValue,r,u===lr),X0(e,t,i,r)}var eb="__ngSimpleChanges__";function tb(e){return e[eb]||null}function UG(e,t){return e[eb]=t}var Vi=function(e,t=null,r){},nb="svg",ZG="math";function dr(e){for(;Array.isArray(e);)e=e[Vr];return e}function rb(e,t){return dr(t[e])}function mr(e,t){return dr(t[e.index])}function qh(e,t){return e.data[t]}function os(e,t){return e[t]}function $h(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function hr(e,t){let r=t[e];return ui(r)?r:r[Vr]}function WG(e){return(e[fe]&4)===4}function Gh(e){return(e[fe]&128)===128}function YG(e){return zr(e[en])}function zi(e,t){return t==null?null:e[t]}function ib(e){e[ua]=0}function Uh(e){e[fe]&1024||(e[fe]|=1024,Gh(e)&&Ha(e))}function KG(e,t){for(;e>0;)t=t[Va],e--;return t}function ss(e){var t;return!!(e[fe]&9216||(t=e[Mn])!=null&&t.dirty)}function dd(e){var t;(t=e[Fr].changeDetectionScheduler)==null||t.notify(8),e[fe]&64&&(e[fe]|=1024),ss(e)&&Ha(e)}function Ha(e){var r;(r=e[Fr].changeDetectionScheduler)==null||r.notify(0);let t=Bi(e);for(;t!==null&&!(t[fe]&8192||(t[fe]|=8192,!Gh(t)));)t=Bi(t)}function ab(e,t){if(Ba(e))throw new $(911,!1);e[si]===null&&(e[si]=[]),e[si].push(t)}function QG(e,t){if(e[si]===null)return;let r=e[si].indexOf(t);r!==-1&&e[si].splice(r,1)}function Bi(e){let t=e[en];return zr(t)?t[en]:t}function Zh(e){return e[ga]??(e[ga]=[])}function Wh(e){return e.cleanup??(e.cleanup=[])}function XG(e,t,r,n){let i=Zh(t);i.push(r),e.firstCreatePass&&Wh(e).push(n,i.length-1)}var Ee={lFrame:pb(null),bindingsEnabled:!0,skipHydrationRootTNode:null},hd=!1;function JG(){return Ee.lFrame.elementDepthCount}function eU(){Ee.lFrame.elementDepthCount++}function tU(){Ee.lFrame.elementDepthCount--}function nU(){return Ee.bindingsEnabled}function ob(){return Ee.skipHydrationRootTNode!==null}function rU(e){return Ee.skipHydrationRootTNode===e}function iU(){Ee.skipHydrationRootTNode=null}function de(){return Ee.lFrame.lView}function st(){return Ee.lFrame.tView}function wn(e){return Ee.lFrame.contextLView=e,e[Vt]}function xn(e){return Ee.lFrame.contextLView=null,e}function nn(){let e=sb();for(;e!==null&&e.type===64;)e=e.parent;return e}function sb(){return Ee.lFrame.currentTNode}function aU(){let e=Ee.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hi(e,t){let r=Ee.lFrame;r.currentTNode=e,r.isParent=t}function Yh(){return Ee.lFrame.isParent}function Kh(){Ee.lFrame.isParent=!1}function lb(){return Ee.lFrame.contextLView}function ub(){return hd}function Ol(e){let t=hd;return hd=e,t}function Ui(){let e=Ee.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oU(){return Ee.lFrame.bindingIndex}function sU(e){return Ee.lFrame.bindingIndex=e}function Zi(){return Ee.lFrame.bindingIndex++}function Qh(e){let t=Ee.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function lU(){return Ee.lFrame.inI18n}function uU(e,t){let r=Ee.lFrame;r.bindingIndex=r.bindingRootIndex=e,pd(t)}function cU(){return Ee.lFrame.currentDirectiveIndex}function pd(e){Ee.lFrame.currentDirectiveIndex=e}function dU(e){let t=Ee.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function cb(){return Ee.lFrame.currentQueryIndex}function Xh(e){Ee.lFrame.currentQueryIndex=e}function hU(e){let t=e[ye];return t.type===2?t.declTNode:t.type===1?e[vn]:null}function db(e,t,r){if(r&Re.SkipSelf){let i=t,a=e;for(;(i=i.parent,i===null&&!(r&Re.Host))&&(i=hU(a),!(i===null||(a=a[Va],i.type&10))););if(i===null)return!1;t=i,e=a}let n=Ee.lFrame=hb();return n.currentTNode=t,n.lView=e,!0}function Jh(e){let t=hb(),r=e[ye];Ee.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function hb(){let e=Ee.lFrame,t=e===null?null:e.child;return t===null?pb(e):t}function pb(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 mb(){let e=Ee.lFrame;return Ee.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var fb=mb;function ep(){let e=mb();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 pU(e){return(Ee.lFrame.contextLView=KG(e,Ee.lFrame.contextLView))[Vt]}function fr(){return Ee.lFrame.selectedIndex}function Hi(e){Ee.lFrame.selectedIndex=e}function _u(){let e=Ee.lFrame;return qh(e.tView,e.selectedIndex)}function mU(){Ee.lFrame.currentNamespace=nb}function fU(){return Ee.lFrame.currentNamespace}var gb=!0;function wu(){return gb}function xu(e){gb=e}function gU(e,t,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(n){let o=J0(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o)}i&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,i),a&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,a),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,a))}function tp(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let i=e.data[r].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=i;a&&(e.contentHooks??(e.contentHooks=[])).push(-r,a),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-r,l),u&&((e.viewHooks??(e.viewHooks=[])).push(r,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,c)}}function ll(e,t,r){vb(e,t,3,r)}function ul(e,t,r,n){(e[fe]&3)===r&&vb(e,t,r,n)}function ic(e,t){let r=e[fe];(r&3)===t&&(r&=16383,r+=1,e[fe]=r)}function vb(e,t,r,n){let i=n!==void 0?e[ua]&65535:0,a=n??-1,o=t.length-1,l=0;for(let u=i;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[ua]+=65536),(l<a||a==-1)&&(vU(e,r,t,u),e[ua]=(e[ua]&4294901760)+u+2),u++}function Xm(e,t){let r=Ie(null);try{t.call(e)}finally{Ie(r)}}function vU(e,t,r,n){let i=r[n]<0,a=r[n+1],o=i?-r[n]:r[n],l=e[o];i?e[fe]>>14<e[ua]>>16&&(e[fe]&3)===t&&(e[fe]+=16384,Xm(l,a)):Xm(l,a)}var va=-1,ls=class{constructor(e,t,r){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=r}};function bU(e){return(e.flags&8)!==0}function yU(e){return(e.flags&16)!==0}function _U(e,t,r){let n=0;for(;n<r.length;){let i=r[n];if(typeof i=="number"){if(i!==0)break;n++;let a=r[n++],o=r[n++],l=r[n++];e.setAttribute(t,o,l,a)}else{let a=i,o=r[++n];wU(a)?e.setProperty(t,a,o):e.setAttribute(t,a,o),n++}}return n}function bb(e){return e===3||e===4||e===6}function wU(e){return e.charCodeAt(0)===64}function Ta(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let i=t[n];typeof i=="number"?r=i:r===0||(r===-1||r===2?Jm(e,r,i,null,t[++n]):Jm(e,r,i,null,null))}}return e}function Jm(e,t,r,n,i){let a=0,o=e.length;if(t===-1)o=-1;else for(;a<e.length;){let l=e[a++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=a-1;break}}}for(;a<e.length;){let l=e[a];if(typeof l=="number")break;if(l===r){i!==null&&(e[a+1]=i);return}a++,i!==null&&a++}o!==-1&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,r),i!==null&&e.splice(a++,0,i)}function yb(e){return e!==va}function Nl(e){return e&32767}function xU(e){return e>>16}function Ml(e,t){let r=xU(e),n=t;for(;r>0;)n=n[Va],r--;return n}var md=!0;function Al(e){let t=md;return md=e,t}var EU=256,_b=EU-1,wb=5,SU=0,sr={};function kU(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(bo)&&(n=r[bo]),n==null&&(n=r[bo]=SU++);let i=n&_b,a=1<<i;t.data[e+(i>>wb)]|=a}function Pl(e,t){let r=xb(e,t);if(r!==-1)return r;let n=t[ye];n.firstCreatePass&&(e.injectorIndex=t.length,ac(n.data,e),ac(t,null),ac(n.blueprint,null));let i=np(e,t),a=e.injectorIndex;if(yb(i)){let o=Nl(i),l=Ml(i,t),u=l[ye].data;for(let c=0;c<8;c++)t[a+c]=l[o+c]|u[o+c]}return t[a+8]=i,a}function ac(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xb(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function np(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;i!==null;){if(n=Db(i),n===null)return va;if(r++,i=i[Va],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return va}function fd(e,t,r){kU(e,t,r)}function CU(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,i=0;for(;i<n;){let a=r[i];if(bb(a))break;if(a===0)i=i+2;else if(typeof a=="number")for(i++;i<n&&typeof r[i]=="string";)i++;else{if(a===t)return r[i+1];i=i+2}}}return null}function Eb(e,t,r){if(r&Re.Optional||e!==void 0)return e;Nh()}function Sb(e,t,r,n){if(r&Re.Optional&&n===void 0&&(n=null),(r&(Re.Self|Re.Host))===0){let i=e[Da],a=hn(void 0);try{return i?i.get(t,n,r&Re.Optional):F0(t,n,r&Re.Optional)}finally{hn(a)}}return Eb(n,t,r)}function kb(e,t,r,n=Re.Default,i){if(e!==null){if(t[fe]&2048&&!(n&Re.Self)){let o=RU(e,t,r,n,sr);if(o!==sr)return o}let a=Cb(e,t,r,n,sr);if(a!==sr)return a}return Sb(t,r,n,i)}function Cb(e,t,r,n,i){let a=IU(r);if(typeof a=="function"){if(!db(t,e,n))return n&Re.Host?Eb(i,r,n):Sb(t,r,n,i);try{let o;if(o=a(n),o==null&&!(n&Re.Optional))Nh(r);else return o}finally{fb()}}else if(typeof a=="number"){let o=null,l=xb(e,t),u=va,c=n&Re.Host?t[An][vn]:null;for((l===-1||n&Re.SkipSelf)&&(u=l===-1?np(e,t):t[l+8],u===va||!tf(n,!1)?l=-1:(o=t[ye],l=Nl(u),t=Ml(u,t)));l!==-1;){let d=t[ye];if(ef(a,l,d.data)){let p=DU(l,t,r,o,n,c);if(p!==sr)return p}u=t[l+8],u!==va&&tf(n,t[ye].data[l+8]===c)&&ef(a,l,t)?(o=d,l=Nl(u),t=Ml(u,t)):l=-1}}return i}function DU(e,t,r,n,i,a){let o=t[ye],l=o.data[e+8],u=n==null?za(l)&&md:n!=o&&(l.type&3)!==0,c=i&Re.Host&&a===l,d=cl(l,o,r,u,c);return d!==null?Oo(t,o,d,l,i):sr}function cl(e,t,r,n,i){let a=e.providerIndexes,o=t.data,l=a&1048575,u=e.directiveStart,c=e.directiveEnd,d=a>>20,p=n?l:l+d,v=i?l+d:c;for(let g=p;g<v;g++){let w=o[g];if(g<u&&r===w||g>=u&&w.type===r)return g}if(i){let g=o[u];if(g&&cr(g)&&g.type===r)return u}return null}function Oo(e,t,r,n,i){let a=e[r],o=t.data;if(a instanceof ls){let l=a;l.resolving&&P0(vG(o[r]));let u=Al(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?hn(l.injectImpl):null;db(e,n,Re.Default);try{a=e[r]=l.factory(void 0,i,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&gU(r,o[r],t)}finally{c!==null&&hn(c),Al(u),l.resolving=!1,fb()}}return a}function IU(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(bo)?e[bo]:void 0;return typeof t=="number"?t>=0?t&_b:TU:t}function ef(e,t,r){let n=1<<e;return!!(r[t+(e>>wb)]&n)}function tf(e,t){return!(e&Re.Self)&&!(e&Re.Host&&t)}var yo=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return kb(this._tNode,this._lView,e,gu(r),t)}};function TU(){return new yo(nn(),de())}function et(e){return rs(()=>{let t=e.prototype.constructor,r=t[kl]||gd(t),n=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;){let a=i[kl]||gd(i);if(a&&a!==r)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function gd(e){return O0(e)?()=>{let t=gd(qt(e));return t&&t()}:Li(e)}function RU(e,t,r,n,i){let a=e,o=t;for(;a!==null&&o!==null&&o[fe]&2048&&!Rl(o);){let l=Cb(a,o,r,n|Re.Self,sr);if(l!==sr)return l;let u=a.parent;if(!u){let c=o[K0];if(c){let d=c.get(r,sr,n);if(d!==sr)return d}u=Db(o),o=o[Va]}a=u}return i}function Db(e){let t=e[ye],r=t.type;return r===2?t.declTNode:r===1?e[vn]:null}function OU(e){return CU(nn(),e)}function nf(e,t=null,r=null,n){let i=NU(e,t,r,n);return i.resolveInjectorInitializers(),i}function NU(e,t=null,r=null,n,i=new Set){let a=[r||pn,NG(e)];return n=n||(typeof e=="object"?void 0:Nn(e)),new zh(a,t||vu(),n||null,i)}var nr,dt=(nr=class{static create(t,r){if(Array.isArray(t))return nf({name:""},r,t,"");{let n=t.name??"";return nf({name:n},t.parent,t.providers,n)}}},s(nr,"THROW_IF_NOT_FOUND",Ai),s(nr,"NULL",new q0),s(nr,"ɵprov",z({token:nr,providedIn:"any",factory:()=>oe(B0)})),s(nr,"__NG_ELEMENT_ID__",-1),nr),Ib=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>OU(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},MU=new J("");MU.__NG_ELEMENT_ID__=e=>{let t=nn();if(t===null)throw new $(204,!1);if(t.type&2)return t.value;if(e&Re.Optional)return null;throw new $(204,!1)};var Tb=!1,pr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",AU),s(e,"__NG_ENV_ID__",r=>r),e})(),Rb=class extends pr{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return Ba(r)?(t(),()=>{}):(ab(r,t),()=>QG(r,t))}};function AU(){return new Rb(de())}var qa=class{},Ob=new J("",{providedIn:"root",factory:()=>!1}),Nb=new J(""),Mb=new J(""),us=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Mi(!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",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),PU=class extends be{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Y0()&&(this.destroyRef=S(pr,{optional:!0})??void 0,this.pendingTasks=S(us,{optional:!0})??void 0)}emit(t){let r=Ie(null);try{super.next(t)}finally{Ie(r)}}subscribe(t,r,n){var u,c,d;let i=t,a=r||(()=>null),o=n;if(t&&typeof t=="object"){let p=t;i=(u=p.next)==null?void 0:u.bind(p),a=(c=p.error)==null?void 0:c.bind(p),o=(d=p.complete)==null?void 0:d.bind(p)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:i,error:a,complete:o});return t instanceof ln&&t.add(l),l}wrapInTimeout(t){return r=>{var i;let n=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var a;try{t(r)}finally{n!==void 0&&((a=this.pendingTasks)==null||a.remove(n))}})}}},Rt=PU;function No(...e){}function Ab(e){let t,r;function n(){e=No;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function rf(e){return queueMicrotask(()=>e()),()=>{e=No}}var rp="isAngularZone",Ll=rp+"_ID",LU=0,$e=class vd{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Rt(!1));s(this,"onMicrotaskEmpty",new Rt(!1));s(this,"onStable",new Rt(!1));s(this,"onError",new Rt(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:a=Tb}=t;if(typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.callbackScheduled=!1,o.scheduleInRootZone=a,VU(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(rp)===!0}static assertInAngularZone(){if(!vd.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(vd.isInAngularZone())throw new $(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,i){let a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+i,t,FU,No,No);try{return a.runTask(o,r,n)}finally{a.cancelTask(o)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},FU={};function ip(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 jU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ab(()=>{e.callbackScheduled=!1,bd(e),e.isCheckStableRunning=!0,ip(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),bd(e)}function VU(e){let t=()=>{jU(e)},r=LU++;e._inner=e._inner.fork({name:"angular",properties:{[rp]:!0,[Ll]:r,[Ll+r]:!0},onInvokeTask:(n,i,a,o,l,u)=>{if(BU(u))return n.invokeTask(a,o,l,u);try{return af(e),n.invokeTask(a,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),of(e)}},onInvoke:(n,i,a,o,l,u,c)=>{try{return af(e),n.invoke(a,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!HU(u)&&t(),of(e)}},onHasTask:(n,i,a,o)=>{n.hasTask(a,o),i===a&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,bd(e),ip(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,a,o)=>(n.handleError(a,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function bd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function af(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function of(e){e._nesting--,ip(e)}var zU=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Rt);s(this,"onMicrotaskEmpty",new Rt);s(this,"onStable",new Rt);s(this,"onError",new Rt)}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}};function BU(e){return Pb(e,"__ignore_ng_zone__")}function HU(e){return Pb(e,"__scheduler_tick__")}function Pb(e,t){var r,n;return!Array.isArray(e)||e.length!==1?!1:((n=(r=e[0])==null?void 0:r.data)==null?void 0:n[t])===!0}var Gn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},qU=new J("",{providedIn:"root",factory:()=>{let e=S($e),t=S(Gn);return r=>e.runOutsideAngular(()=>t.handleError(r))}}),Lb=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",S(Gn,{optional:!0}));s(this,"destroyRef",S(pr));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new $(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var r,n;let t=(r=this.listeners)==null?void 0:r.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var r;if(this.destroyed){console.warn(C0(953,!1));return}if(this.listeners===null)return;let t=Ie(null);try{for(let n of this.listeners)try{n(e)}catch(i){(r=this.errorHandler)==null||r.handleError(i)}}finally{Ie(t)}}};function Fl(e){return new Lb}function sf(e,t){return I0(e,t)}function $U(e){return I0(fu,e)}var Be=(sf.required=$U,sf);function GU(){return $a(nn(),de())}function $a(e,t){return new lt(mr(e,t))}var lt=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",GU),e})();function UU(e){return e instanceof lt?e.nativeElement:e}function ZU(e){return typeof e=="function"&&e[mn]!==void 0}function Mo(e,t){let r=a6(e,t==null?void 0:t.equal),n=r[mn];return r.set=i=>ts(n,i),r.update=i=>$v(n,i),r.asReadonly=ap.bind(r),r}function ap(){let e=this[mn];if(e.readonlyFn===void 0){let t=()=>this();t[mn]=e,e.readonlyFn=t}return e.readonlyFn}function Fb(e){return ZU(e)&&typeof e.set=="function"}function WU(){return this._results[Symbol.iterator]()}var kv,YU=(kv=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,kv,WU);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new be)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let r=DG(e);(this._changesDetected=!CG(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function jb(e){return(e.flags&128)===128}var Vb=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Vb||{}),zb=new Map,KU=0;function QU(){return KU++}function XU(e){zb.set(e[bu],e)}function yd(e){zb.delete(e[bu])}var lf="__ngContext__";function Ga(e,t){ui(t)?(e[lf]=t[bu],XU(t)):e[lf]=t}function Bb(e){return qb(e[Ro])}function Hb(e){return qb(e[qn])}function qb(e){for(;e!==null&&!zr(e);)e=e[qn];return e}var _d;function JU(e){_d=e}function $b(){if(_d!==void 0)return _d;if(typeof document<"u")return document;throw new $(210,!1)}var Eu=new J("",{providedIn:"root",factory:()=>e8}),e8="ng",Gb=new J(""),Su=new J("",{providedIn:"platform",factory:()=>"unknown"}),Wi=new J(""),op=new J("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=$b().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Ub=!1,t8=new J("",{providedIn:"root",factory:()=>Ub}),sp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(sp||{}),cs=new J(""),uf=new Set;function Yi(e){var t;uf.has(e)||(uf.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var lp=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",n8),e})();function n8(){return new lp(de(),nn())}var ca=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ca||{}),Zb=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),r8=[ca.EarlyRead,ca.Write,ca.MixedReadWrite,ca.Read],i8=(()=>{const t=class t{constructor(){s(this,"ngZone",S($e));s(this,"scheduler",S(qa));s(this,"errorHandler",S(Gn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);S(cs,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let i of r8)for(let a of this.sequences)if(!(a.erroredOrDestroyed||!a.hooks[i]))try{a.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=a.hooks[i];return o(a.pipelinedValue)},a.snapshot))}catch(o){a.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:i}=n;i!==void 0?((i[li]??(i[li]=[])).push(n),Ha(i),i[fe]|=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,i){return i?i.run(sp.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),a8=class{constructor(e,t,r,n,i,a=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=r,this.once=n,this.snapshot=a,this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,r;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(r=this.view)==null?void 0:r[li];e&&(this.view[li]=e.filter(n=>n!==this))}};function Wb(e,t){!(t!=null&&t.injector)&&as();let r=(t==null?void 0:t.injector)??S(dt);return Yi("NgAfterRender"),Yb(e,r,t,!1)}function ku(e,t){!(t!=null&&t.injector)&&as();let r=(t==null?void 0:t.injector)??S(dt);return Yi("NgAfterNextRender"),Yb(e,r,t,!0)}function o8(e,t){if(e instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[t]=e,r}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Yb(e,t,r,n){let i=t.get(Zb);i.impl??(i.impl=t.get(i8));let a=t.get(cs,null,{optional:!0}),o=(r==null?void 0:r.phase)??ca.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get(pr):null,u=t.get(lp,null,{optional:!0}),c=new a8(i.impl,o8(e,o),u==null?void 0:u.view,n,l,a==null?void 0:a.snapshot(null));return i.impl.register(c),c}var s8=()=>null;function Kb(e,t,r=!1){return s8()}function Qb(e,t){let r=e.contentQueries;if(r!==null){let n=Ie(null);try{for(let i=0;i<r.length;i+=2){let a=r[i],o=r[i+1];if(o!==-1){let l=e.data[o];Xh(a),l.contentQueries(2,t[o],o)}}}finally{Ie(n)}}}function wd(e,t,r){Xh(0);let n=Ie(null);try{t(e,r)}finally{Ie(n)}}function up(e,t,r){if(Hh(t)){let n=Ie(null);try{let i=t.directiveStart,a=t.directiveEnd;for(let o=i;o<a;o++){let l=e.data[o];if(l.contentQueries){let u=r[o];l.contentQueries(1,u,o)}}}finally{Ie(n)}}}var Nr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Nr||{}),Ms;function l8(){if(Ms===void 0&&(Ms=null,ti.trustedTypes))try{Ms=ti.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ms}function Cu(e){var t;return((t=l8())==null?void 0:t.createHTML(e))||e}var As;function u8(){if(As===void 0&&(As=null,ti.trustedTypes))try{As=ti.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return As}function cf(e){var t;return((t=u8())==null?void 0:t.createHTML(e))||e}var Ki=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${k0})`}},c8=class extends Ki{getTypeName(){return"HTML"}},d8=class extends Ki{getTypeName(){return"Style"}},h8=class extends Ki{getTypeName(){return"Script"}},p8=class extends Ki{getTypeName(){return"URL"}},m8=class extends Ki{getTypeName(){return"ResourceURL"}};function Rr(e){return e instanceof Ki?e.changingThisBreaksApplicationSecurity:e}function Di(e,t){let r=f8(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${k0})`)}return r===t}function f8(e){return e instanceof Ki&&e.getTypeName()||null}function g8(e){return new c8(e)}function v8(e){return new d8(e)}function b8(e){return new h8(e)}function y8(e){return new p8(e)}function _8(e){return new m8(e)}function w8(e){let t=new E8(e);return S8()?new x8(t):t}var x8=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Cu(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},E8=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=Cu(e),t}};function S8(){try{return!!new window.DOMParser().parseFromString(Cu(""),"text/html")}catch{return!1}}var k8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cp(e){return e=String(e),e.match(k8)?e:"unsafe:"+e}function Br(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function ds(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var Xb=Br("area,br,col,hr,img,wbr"),Jb=Br("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ey=Br("rp,rt"),C8=ds(ey,Jb),D8=ds(Jb,Br("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")),I8=ds(ey,Br("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")),df=ds(Xb,D8,I8,C8),ty=Br("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),T8=Br("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"),R8=Br("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"),O8=ds(ty,T8,R8),N8=Br("script,style,template"),M8=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,r=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){n.push(t),t=L8(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=P8(t);if(i){t=i;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=hf(e).toLowerCase();if(!df.hasOwnProperty(t))return this.sanitizedSomething=!0,!N8.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let n=0;n<r.length;n++){let i=r.item(n),a=i.name,o=a.toLowerCase();if(!O8.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=i.value;ty[o]&&(l=cp(l)),this.buf.push(" ",a,'="',pf(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=hf(e).toLowerCase();df.hasOwnProperty(t)&&!Xb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(pf(e))}};function A8(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function P8(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ny(t);return t}function L8(e){let t=e.firstChild;if(t&&A8(e,t))throw ny(t);return t}function hf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ny(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var F8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,j8=/([^\#-~ |!])/g;function pf(e){return e.replace(/&/g,"&amp;").replace(F8,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(j8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ps;function ry(e,t){let r=null;try{Ps=Ps||w8(e);let n=t?String(t):"";r=Ps.getInertBodyElement(n);let i=5,a=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=a,a=r.innerHTML,r=Ps.getInertBodyElement(n)}while(n!==a);let o=new M8().sanitizeChildren(mf(r)||r);return Cu(o)}finally{if(r){let n=mf(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function mf(e){return"content"in e&&V8(e)?e.content:null}function V8(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var z8=/^>|^->|<!--|-->|--!>|<!-$/g,B8=/(<|>)/g,H8="​$1​";function q8(e){return e.replace(z8,t=>t.replace(B8,H8))}function $8(e,t){return e.createText(t)}function G8(e,t,r){e.setValue(t,r)}function U8(e,t){return e.createComment(q8(t))}function iy(e,t,r){return e.createElement(t,r)}function jl(e,t,r,n,i){e.insertBefore(t,r,n,i)}function ay(e,t,r){e.appendChild(t,r)}function ff(e,t,r,n,i){n!==null?jl(e,t,r,n,i):ay(e,t,r)}function Z8(e,t,r){e.removeChild(null,t,r)}function W8(e,t,r){e.setAttribute(t,"style",r)}function Y8(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function oy(e,t,r){let{mergedAttrs:n,classes:i,styles:a}=r;n!==null&&_U(e,t,n),i!==null&&Y8(e,t,i),a!==null&&W8(e,t,a)}var Pt=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}(Pt||{});function Vl(e){let t=ly();return t?cf(t.sanitize(Pt.HTML,e)||""):Di(e,"HTML")?cf(Rr(e)):ry($b(),Pi(e))}function sy(e){let t=ly();return t?t.sanitize(Pt.URL,e)||"":Di(e,"URL")?Rr(e):cp(Pi(e))}function ly(){let e=de();return e&&e[Fr].sanitizer}function K8(e,t,r){let n=e.length;for(;;){let i=e.indexOf(t,r);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let a=t.length;if(i+a===n||e.charCodeAt(i+a)<=32)return i}r=i+1}}var uy="ng-template";function Q8(e,t,r,n){let i=0;if(n){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&K8(t[i+1].toLowerCase(),r,0)!==-1)return!0}else if(dp(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&typeof(a=t[i])=="string";)if(a.toLowerCase()===r)return!0}return!1}function dp(e){return e.type===4&&e.value!==uy}function X8(e,t,r){let n=e.type===4&&!r?uy:e.value;return t===n}function J8(e,t,r){let n=4,i=e.attrs,a=i!==null?nZ(i):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Vn(n)&&!Vn(u))return!1;if(o&&Vn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!X8(e,u,r)||u===""&&t.length===1){if(Vn(n))return!1;o=!0}}else if(n&8){if(i===null||!Q8(e,i,u,r)){if(Vn(n))return!1;o=!0}}else{let c=t[++l],d=eZ(u,i,dp(e),r);if(d===-1){if(Vn(n))return!1;o=!0;continue}if(c!==""){let p;if(d>a?p="":p=i[d+1].toLowerCase(),n&2&&c!==p){if(Vn(n))return!1;o=!0}}}}return Vn(n)||o}function Vn(e){return(e&1)===0}function eZ(e,t,r,n){if(t===null)return-1;let i=0;if(n||!r){let a=!1;for(;i<t.length;){let o=t[i];if(o===e)return i;if(o===3||o===6)a=!0;else if(o===1||o===2){let l=t[++i];for(;typeof l=="string";)l=t[++i];continue}else{if(o===4)break;if(o===0){i+=4;continue}}i+=a?1:2}return-1}else return rZ(t,e)}function cy(e,t,r=!1){for(let n=0;n<t.length;n++)if(J8(e,t[n],r))return!0;return!1}function tZ(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function nZ(e){for(let t=0;t<e.length;t++){let r=e[t];if(bb(r))return t}return e.length}function rZ(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function iZ(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];if(e.length===n.length){for(let i=0;i<e.length;i++)if(e[i]!==n[i])continue e;return!0}}return!1}function gf(e,t){return e?":not("+t.trim()+")":t}function aZ(e){let t=e[0],r=1,n=2,i="",a=!1;for(;r<e.length;){let o=e[r];if(typeof o=="string")if(n&2){let l=e[++r];i+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?i+="."+o:n&4&&(i+=" "+o);else i!==""&&!Vn(o)&&(t+=gf(a,i),i=""),n=o,a=a||!Vn(n);r++}return i!==""&&(t+=gf(a,i)),t}function oZ(e){return e.map(aZ).join(",")}function sZ(e){let t=[],r=[],n=1,i=2;for(;n<e.length;){let a=e[n];if(typeof a=="string")i===2?a!==""&&t.push(a,e[++n]):i===8&&r.push(a);else{if(!Vn(i))break;i=a}n++}return r.length&&t.push(1,...r),t}var Sn={};function hp(e,t,r,n,i,a,o,l,u,c,d){let p=vt+n,v=p+i,g=lZ(p,v),w=typeof c=="function"?c():c;return g[ye]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof a=="function"?a():a,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function lZ(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:Sn);return r}function uZ(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=hp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pp(e,t,r,n,i,a,o,l,u,c,d){let p=t.blueprint.slice();return p[Vr]=i,p[fe]=n|4|128|8|64|1024,(c!==null||e&&e[fe]&2048)&&(p[fe]|=2048),ib(p),p[en]=p[Va]=e,p[Vt]=r,p[Fr]=o||e&&e[Fr],p[ft]=l||e&&e[ft],p[Da]=u||e&&e[Da]||null,p[vn]=a,p[bu]=QU(),p[Ca]=d,p[K0]=c,p[An]=t.type==2?e[An]:p,p}function cZ(e,t,r){let n=mr(t,e),i=uZ(r),a=e[Fr].rendererFactory,o=mp(e,pp(e,i,null,dy(r),n,t,null,a.createRenderer(n,r),null,null,null));return e[t.index]=o}function dy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function hy(e,t,r,n){if(r===0)return-1;let i=t.length;for(let a=0;a<r;a++)t.push(n),e.blueprint.push(n),e.data.push(null);return i}function mp(e,t){return e[Ro]?e[Qm][qn]=t:e[Ro]=t,e[Qm]=t,t}function F(e=1){py(st(),de(),fr()+e)}function py(e,t,r,n){if((t[fe]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ll(t,i,r)}else{let i=e.preOrderHooks;i!==null&&ul(t,i,0,r)}Hi(r)}var Du=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Du||{});function xd(e,t,r,n){let i=Ie(null);try{let[a,o,l]=e.inputs[r],u=null;o&Du.SignalBased&&(u=t[a][mn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,r,a):X0(t,u,a,n)}finally{Ie(i)}}function my(e,t,r,n,i){let a=fr(),o=n&2;try{Hi(-1),o&&t.length>vt&&py(e,t,vt,!1),Vi(o?2:0,i),r(n,i)}finally{Hi(a)}}function Iu(e,t,r){mZ(e,t,r),(r.flags&64)===64&&fZ(e,t,r)}function fp(e,t,r=mr){let n=t.localNames;if(n!==null){let i=t.index+1;for(let a=0;a<n.length;a+=2){let o=n[a+1],l=o===-1?r(t,e):e[o];e[i++]=l}}}function dZ(e,t,r,n){let i=n.get(t8,Ub)||r===Nr.ShadowDom;return e.selectRootElement(t,i)}function hZ(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function gp(e,t,r,n,i,a,o,l){if(!l&&bp(t,e,r,n,i)){za(t)&&pZ(r,t.index);return}if(t.type&3){let u=mr(t,r);n=hZ(n),i=o!=null?o(i,t.value||"",n):i,a.setProperty(u,n,i)}else t.type&12}function pZ(e,t){let r=hr(t,e);r[fe]&16||(r[fe]|=64)}function mZ(e,t,r){let n=r.directiveStart,i=r.directiveEnd;za(r)&&cZ(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||Pl(r,t);let a=r.initialInputs;for(let o=n;o<i;o++){let l=e.data[o],u=Oo(t,e,o,r);if(Ga(u,t),a!==null&&yZ(t,o-n,u,l,r,a),cr(l)){let c=hr(r.index,t);c[Vt]=Oo(t,e,o,r)}}}function fZ(e,t,r){let n=r.directiveStart,i=r.directiveEnd,a=r.index,o=cU();try{Hi(a);for(let l=n;l<i;l++){let u=e.data[l],c=t[l];pd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&gZ(u,c)}}finally{Hi(-1),pd(o)}}function gZ(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function vp(e,t){let r=e.directiveRegistry,n=null;if(r)for(let i=0;i<r.length;i++){let a=r[i];cy(t,a.selectors,!1)&&(n??(n=[]),cr(a)?n.unshift(a):n.push(a))}return n}function vZ(e,t,r,n,i,a){let o=mr(e,t);bZ(t[ft],o,a,e.value,r,n,i)}function bZ(e,t,r,n,i,a,o){if(a==null)e.removeAttribute(t,i,r);else{let l=o==null?Pi(a):o(a,n||"",i);e.setAttribute(t,i,l,r)}}function yZ(e,t,r,n,i,a){let o=a[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];xd(n,r,u,c)}}function _Z(e,t){let r=e[Da],n=r?r.get(Gn,null):null;n&&n.handleError(t)}function bp(e,t,r,n,i){var u,c;let a=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let p=o[d],v=o[d+1],g=t.data[p];xd(g,r[p],v,i),l=!0}if(a)for(let d of a){let p=r[d],v=t.data[d];xd(v,p,n,i),l=!0}return l}function wZ(e,t){let r=hr(t,e),n=r[ye];xZ(n,r);let i=r[Vr];i!==null&&r[Ca]===null&&(r[Ca]=Kb(i,r[Da])),yp(n,r,r[Vt]),Vi(19,r[Vt])}function xZ(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function yp(e,t,r){var n;Jh(t);try{let i=e.viewQuery;i!==null&&wd(1,i,r);let a=e.template;a!==null&&my(e,t,a,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[$n])==null||n.finishViewCreation(e),e.staticContentQueries&&Qb(e,t),e.staticViewQueries&&wd(2,e.viewQuery,r);let o=e.components;o!==null&&EZ(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[fe]&=-5,ep()}}function EZ(e,t){for(let r=0;r<t.length;r++)wZ(e,t[r])}function hs(e,t,r,n){let i=Ie(null);try{let a=t.tView,o=e[fe]&4096?4096:16,l=pp(e,a,r,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[Fi]=u;let c=e[$n];return c!==null&&(l[$n]=c.createEmbeddedView(a)),yp(a,l,r),l}finally{Ie(i)}}function Ra(e,t){return!t||t.firstChild===null||jb(e)}var SZ;function _p(e,t){return SZ(e,t)}var da=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(da||{});function wp(e){return(e.flags&32)===32}function ha(e,t,r,n,i){if(n!=null){let a,o=!1;zr(n)?a=n:ui(n)&&(o=!0,n=n[Vr]);let l=dr(n);e===0&&r!==null?i==null?ay(t,r,l):jl(t,r,l,i||null,!0):e===1&&r!==null?jl(t,r,l,i||null,!0):e===2?Z8(t,l,o):e===3&&t.destroyNode(l),a!=null&&AZ(t,e,a,r,i)}}function kZ(e,t){fy(e,t),t[Vr]=null,t[vn]=null}function CZ(e,t,r,n,i,a){n[Vr]=i,n[vn]=t,Ou(e,n,r,1,i,a)}function fy(e,t){var r;(r=t[Fr].changeDetectionScheduler)==null||r.notify(9),Ou(e,t,t[ft],2,null,null)}function DZ(e){let t=e[Ro];if(!t)return oc(e[ye],e);for(;t;){let r=null;if(ui(t))r=t[Ro];else{let n=t[Jt];n&&(r=n)}if(!r){for(;t&&!t[qn]&&t!==e;)ui(t)&&oc(t[ye],t),t=t[en];t===null&&(t=e),ui(t)&&oc(t[ye],t),r=t&&t[qn]}t=r}}function xp(e,t){let r=e[Ia],n=r.indexOf(t);r.splice(n,1)}function Tu(e,t){if(Ba(t))return;let r=t[ft];r.destroyNode&&Ou(e,t,r,3,null,null),DZ(t)}function oc(e,t){if(Ba(t))return;let r=Ie(null);try{t[fe]&=-129,t[fe]|=256,t[Mn]&&hu(t[Mn]),TZ(e,t),IZ(e,t),t[ye].type===1&&t[ft].destroy();let n=t[Fi];if(n!==null&&zr(t[en])){n!==t[en]&&xp(n,t);let i=t[$n];i!==null&&i.detachView(e)}yd(t)}finally{Ie(r)}}function IZ(e,t){let r=e.cleanup,n=t[ga];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let l=r[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[r[o+1]];r[o].call(l)}n!==null&&(t[ga]=null);let i=t[si];if(i!==null){t[si]=null;for(let o=0;o<i.length;o++){let l=i[o];l()}}let a=t[Or];if(a!==null){t[Or]=null;for(let o of a)o.destroy()}}function TZ(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let i=t[r[n]];if(!(i instanceof ls)){let a=r[n+1];if(Array.isArray(a))for(let o=0;o<a.length;o+=2){let l=i[a[o]],u=a[o+1];try{u.call(l)}finally{}}else try{a.call(i)}finally{}}}}function gy(e,t,r){return RZ(e,t.parent,r)}function RZ(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[Vr];if(za(n)){let{encapsulation:i}=e.data[n.directiveStart+n.componentOffset];if(i===Nr.None||i===Nr.Emulated)return null}return mr(n,r)}function vy(e,t,r){return NZ(e,t,r)}function OZ(e,t,r){return e.type&40?mr(e,r):null}var NZ=OZ;function Ru(e,t,r,n){let i=gy(e,n,t),a=t[ft],o=n.parent||t[vn],l=vy(o,n,t);if(i!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)ff(a,i,r[u],l,!1);else ff(a,i,r,l,!1)}function mo(e,t){if(t!==null){let r=t.type;if(r&3)return mr(t,e);if(r&4)return Ed(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return mo(e,n);{let i=e[t.index];return zr(i)?Ed(-1,i):dr(i)}}else{if(r&128)return mo(e,t.next);if(r&32)return _p(t,e)()||dr(e[t.index]);{let n=by(e,t);if(n!==null){if(Array.isArray(n))return n[0];let i=Bi(e[An]);return mo(i,n)}else return mo(e,t.next)}}}return null}function by(e,t){if(t!==null){let r=e[An][vn],n=t.projection;return r.projection[n]}return null}function Ed(e,t){let r=Jt+e+1;if(r<t.length){let n=t[r],i=n[ye].firstChild;if(i!==null)return mo(n,i)}return t[ji]}function Ep(e,t,r,n,i,a,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],u=r.type;if(o&&t===0&&(l&&Ga(dr(l),n),r.flags|=2),!wp(r))if(u&8)Ep(e,t,r.child,n,i,a,!1),ha(t,e,i,l,a);else if(u&32){let c=_p(r,n),d;for(;d=c();)ha(t,e,i,d,a);ha(t,e,i,l,a)}else u&16?yy(e,t,n,r,i,a):ha(t,e,i,l,a);r=o?r.projectionNext:r.next}}function Ou(e,t,r,n,i,a){Ep(r,n,e.firstChild,t,i,a,!1)}function MZ(e,t,r){let n=t[ft],i=gy(e,r,t),a=r.parent||t[vn],o=vy(a,r,t);yy(n,0,t,r,i,o)}function yy(e,t,r,n,i,a){let o=r[An],l=o[vn].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];ha(t,e,i,c,a)}else{let u=l,c=o[en];jb(n)&&(u.flags|=128),Ep(e,t,u,c,i,a,!0)}}function AZ(e,t,r,n,i){let a=r[ji],o=dr(r);a!==o&&ha(t,e,n,a,i);for(let l=Jt;l<r.length;l++){let u=r[l];Ou(u[ye],u,e,t,n,a)}}function PZ(e,t,r,n,i){i?e.addClass(r,n):e.removeClass(r,n)}function zl(e,t,r,n,i=!1){for(;r!==null;){if(r.type===128){r=i?r.projectionNext:r.next;continue}let a=t[r.index];a!==null&&n.push(dr(a)),zr(a)&&LZ(a,n);let o=r.type;if(o&8)zl(e,t,r.child,n);else if(o&32){let l=_p(r,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=by(t,r);if(Array.isArray(l))n.push(...l);else{let u=Bi(t[An]);zl(u[ye],u,l,n,!0)}}r=i?r.projectionNext:r.next}return n}function LZ(e,t){for(let r=Jt;r<e.length;r++){let n=e[r],i=n[ye].firstChild;i!==null&&zl(n[ye],n,i,t)}e[ji]!==e[Vr]&&t.push(e[ji])}function _y(e){if(e[li]!==null){for(let t of e[li])t.impl.addSequence(t);e[li].length=0}}var wy=[];function FZ(e){return e[Mn]??jZ(e)}function jZ(e){let t=wy.pop()??Object.create(zZ);return t.lView=e,t}function VZ(e){e.lView[Mn]!==e&&(e.lView=null,wy.push(e))}var zZ=Ut(ce({},Fa),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ha(e.lView)},consumerOnSignalRead(){this.lView[Mn]=this}});function BZ(e){let t=e[Mn]??Object.create(HZ);return t.lView=e,t}var HZ=Ut(ce({},Fa),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Bi(e.lView);for(;t&&!xy(t[ye]);)t=Bi(t);t&&Uh(t)},consumerOnSignalRead(){this.lView[Mn]=this}});function xy(e){return e.type!==2}function Ey(e){if(e[Or]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[Or])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[fe]&8192)}}var qZ=100;function Sy(e,t=!0,r=0){var i,a;let n=e[Fr].rendererFactory;(i=n.begin)==null||i.call(n);try{$Z(e,r)}catch(o){throw t&&_Z(e,o),o}finally{(a=n.end)==null||a.call(n)}}function $Z(e,t){let r=ub();try{Ol(!0),Sd(e,t);let n=0;for(;ss(e);){if(n===qZ)throw new $(103,!1);n++,Sd(e,1)}}finally{Ol(r)}}function GZ(e,t,r,n){if(Ba(t))return;let i=t[fe],a=!1,o=!1;Jh(t);let l=!0,u=null,c=null;xy(e)?(c=FZ(t),u=ko(c)):X$()===null?(l=!1,c=BZ(t),u=ko(c)):t[Mn]&&(hu(t[Mn]),t[Mn]=null);try{ib(t),sU(e.bindingStartIndex),r!==null&&my(e,t,r,2,n);let d=(i&3)===3;if(!a)if(d){let g=e.preOrderCheckHooks;g!==null&&ll(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ul(t,g,0,null),ic(t,0)}if(o||UZ(t),Ey(t),ky(t,0),e.contentQueries!==null&&Qb(e,t),!a)if(d){let g=e.contentCheckHooks;g!==null&&ll(t,g)}else{let g=e.contentHooks;g!==null&&ul(t,g,1),ic(t,1)}WZ(e,t);let p=e.components;p!==null&&Dy(t,p,0);let v=e.viewQuery;if(v!==null&&wd(2,v,n),!a)if(d){let g=e.viewCheckHooks;g!==null&&ll(t,g)}else{let g=e.viewHooks;g!==null&&ul(t,g,2),ic(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[rc]){for(let g of t[rc])g();t[rc]=null}a||(_y(t),t[fe]&=-73)}catch(d){throw Ha(t),d}finally{c!==null&&(du(c,u),l&&VZ(c)),ep()}}function ky(e,t){for(let r=Bb(e);r!==null;r=Hb(r))for(let n=Jt;n<r.length;n++){let i=r[n];Cy(i,t)}}function UZ(e){for(let t=Bb(e);t!==null;t=Hb(t)){if(!(t[fe]&2))continue;let r=t[Ia];for(let n=0;n<r.length;n++){let i=r[n];Uh(i)}}}function ZZ(e,t,r){let n=hr(t,e);Cy(n,r),Vi(19,n[Vt])}function Cy(e,t){Gh(e)&&Sd(e,t)}function Sd(e,t){let r=e[ye],n=e[fe],i=e[Mn],a=!!(t===0&&n&16);if(a||(a=!!(n&64&&t===0)),a||(a=!!(n&1024)),a||(a=!!(i!=null&&i.dirty&&wh(i))),a||(a=!1),i&&(i.dirty=!1),e[fe]&=-9217,a)GZ(r,e,r.template,e[Vt]);else if(n&8192){Ey(e),ky(e,1);let o=r.components;o!==null&&Dy(e,o,1),_y(e)}}function Dy(e,t,r){for(let n=0;n<t.length;n++)ZZ(e,t[n],r)}function WZ(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let i=r[n];if(i<0)Hi(~i);else{let a=i,o=r[++n],l=r[++n];uU(o,a);let u=t[a];Vi(24,u),l(2,u),Vi(25,u)}}}finally{Hi(-1)}}function Sp(e,t){var n;let r=ub()?64:1088;for((n=e[Fr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[fe]|=r;let i=Bi(e);if(Rl(e)&&!i)return e;e=i}return null}function Iy(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function Ty(e,t){let r=Jt+t;if(r<e.length)return e[r]}function ps(e,t,r,n=!0){let i=t[ye];if(YZ(i,t,e,r),n){let o=Ed(r,e),l=t[ft],u=l.parentNode(e[ji]);u!==null&&CZ(i,e[vn],l,t,u,o)}let a=t[Ca];a!==null&&a.firstChild!==null&&(a.firstChild=null)}function Ry(e,t){let r=Ao(e,t);return r!==void 0&&Tu(r[ye],r),r}function Ao(e,t){if(e.length<=Jt)return;let r=Jt+t,n=e[r];if(n){let i=n[Fi];i!==null&&i!==e&&xp(i,n),t>0&&(e[r-1][qn]=n[qn]);let a=Dl(e,Jt+t);kZ(n[ye],n);let o=a[$n];o!==null&&o.detachView(a[ye]),n[en]=null,n[qn]=null,n[fe]&=-129}return n}function YZ(e,t,r,n){let i=Jt+n,a=r.length;n>0&&(r[i-1][qn]=t),n<a-Jt?(t[qn]=r[i],z0(r,Jt+n,t)):(r.push(t),t[qn]=null),t[en]=r;let o=t[Fi];o!==null&&r!==o&&Oy(o,t);let l=t[$n];l!==null&&l.insertView(e),dd(t),t[fe]|=128}function Oy(e,t){let r=e[Ia],n=t[en];if(ui(n))e[fe]|=2;else{let i=n[en][An];t[An]!==i&&(e[fe]|=2)}r===null?e[Ia]=[t]:r.push(t)}var Po=class{constructor(e,t,r=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=r}get rootNodes(){let e=this._lView,t=e[ye];return zl(t,e,t.firstChild,[])}get context(){return this._lView[Vt]}set context(e){this._lView[Vt]=e}get destroyed(){return Ba(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[en];if(zr(e)){let t=e[Tl],r=t?t.indexOf(this):-1;r>-1&&(Ao(e,r),Dl(t,r))}this._attachedToViewContainer=!1}Tu(this._lView[ye],this._lView)}onDestroy(e){ab(this._lView,e)}markForCheck(){Sp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[fe]&=-129}reattach(){dd(this._lView),this._lView[fe]|=128}detectChanges(){this._lView[fe]|=1024,Sy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Rl(this._lView),t=this._lView[Fi];t!==null&&!e&&xp(t,this._lView),fy(this._lView[ye],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=e;let t=Rl(this._lView),r=this._lView[Fi];r!==null&&!t&&Oy(r,this._lView),dd(this._lView)}};function KZ(e){return ss(e._lView)||!!(e._lView[fe]&64)}function QZ(e){Uh(e._cdRefInjectingView||e._lView)}var un=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",eW),e})(),XZ=un,JZ=class extends XZ{constructor(t,r,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let i=hs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Po(i)}};function eW(){return Nu(nn(),de())}function Nu(e,t){return e.type&4?new JZ(t,e,$a(e,t)):null}function Ua(e,t,r,n,i){let a=e.data[t];if(a===null)a=tW(e,t,r,n,i),lU()&&(a.flags|=32);else if(a.type&64){a.type=r,a.value=n,a.attrs=i;let o=aU();a.injectorIndex=o===null?-1:o.injectorIndex}return hi(a,!0),a}function tW(e,t,r,n,i){let a=sb(),o=Yh(),l=o?a:a&&a.parent,u=e.data[t]=rW(e,l,r,t,n,i);return nW(e,u,a,o),u}function nW(e,t,r,n){e.firstChild===null&&(e.firstChild=t),r!==null&&(n?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function rW(e,t,r,n,i,a){let o=t?t.injectorIndex:-1,l=0;return ob()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,attrs:a,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 iW=()=>null;function Oa(e,t){return iW()}var aW=class{},Ny=class{},oW=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Nn(e)}.`)}},Qc,ms=(Qc=class{},s(Qc,"NULL",new oW),Qc),Un=class{},Za=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>sW()),e})();function sW(){let e=de(),t=nn(),r=hr(t.index,e);return(ui(r)?r:e)[ft]}var lW=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),sc={},uW=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=gu(r);let n=this.injector.get(e,sc,r);return n!==sc||t===sc?n:this.parentInjector.get(e,t,r)}};function kd(e,t,r){let n=r?e.styles:null,i=r?e.classes:null,a=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")a=l;else if(a==1)i=id(i,l);else if(a==2){let u=l,c=t[++o];n=id(n,u+": "+c+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=i:e.classesWithoutHost=i}function $t(e,t=Re.Default){let r=de();if(r===null)return oe(e,t);let n=nn();return kb(n,r,qt(e),t)}function kp(e,t,r,n,i){let a=n===null?null:{"":-1},o=i(e,r);if(o!==null){let l,u=null,c=null,d=dW(o);d===null?l=o:[l,u,c]=d,mW(e,t,r,l,a,u,c)}a!==null&&n!==null&&cW(r,n,a)}function cW(e,t,r){let n=e.localNames=[];for(let i=0;i<t.length;i+=2){let a=r[t[i+1]];if(a==null)throw new $(-301,!1);n.push(t[i],a)}}function dW(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&cr(l)&&(t=l),l.findHostDirectiveDefs!==null){r=!0;break}}if(!r)return null;let n=null,i=null,a=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),i??(i=new Map),a??(a=new Map),hW(o,n,a,i)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,i,a]):null}function hW(e,t,r,n){let i=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[i,t.length-1])}function pW(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function mW(e,t,r,n,i,a,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&cr(g)&&(u=!0,pW(e,r,v)),fd(Pl(r,t),e,g.type)}_W(r,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,d=!1,p=hy(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(r.mergedAttrs=Ta(r.mergedAttrs,g.hostAttrs),gW(e,r,t,p,g),yW(p,g,i),o!==null&&o.has(g)){let[x,k]=o.get(g);r.directiveToIndex.set(g.type,[p,x+r.directiveStart,k+r.directiveStart])}else(a===null||!a.has(g))&&r.directiveToIndex.set(g.type,p);g.contentQueries!==null&&(r.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(r.flags|=64);let w=g.type.prototype;!c&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),c=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),d=!0),p++}fW(e,r,a)}function fW(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let i=e.data[n];if(r===null||!r.has(i))vf(0,t,i,n),vf(1,t,i,n),yf(t,n,!1);else{let a=r.get(i);bf(0,t,a,n),bf(1,t,a,n),yf(t,n,!0)}}}function vf(e,t,r,n){let i=e===0?r.inputs:r.outputs;for(let a in i)if(i.hasOwnProperty(a)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[a]??(o[a]=[]),o[a].push(n),My(t,a)}}function bf(e,t,r,n){let i=e===0?r.inputs:r.outputs;for(let a in i)if(i.hasOwnProperty(a)){let o=i[a],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,a),My(t,o)}}function My(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function yf(e,t,r){let{attrs:n,inputs:i,hostDirectiveInputs:a}=e;if(n===null||!r&&i===null||r&&a===null||dp(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!r&&i.hasOwnProperty(u)){let c=i[u];for(let d of c)if(d===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(r&&a.hasOwnProperty(u)){let c=a[u];for(let d=0;d<c.length;d+=2)if(c[d]===t){o??(o=[]),o.push(c[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function gW(e,t,r,n,i){e.data[n]=i;let a=i.factory||(i.factory=Li(i.type)),o=new ls(a,cr(i),$t);e.blueprint[n]=o,r[n]=o,vW(e,t,n,hy(e,r,i.hostVars,Sn),i)}function vW(e,t,r,n,i){let a=i.hostBindings;if(a){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;bW(o)!=l&&o.push(l),o.push(r,n,a)}}function bW(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function yW(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;cr(t)&&(r[""]=e)}}function _W(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function Ay(e,t,r,n,i,a,o,l){let u=t.consts,c=zi(u,o),d=Ua(t,e,2,n,c);return kp(t,r,d,zi(u,l),i),d.mergedAttrs=Ta(d.mergedAttrs,d.attrs),d.attrs!==null&&kd(d,d.attrs,!1),d.mergedAttrs!==null&&kd(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Py(e,t){tp(e,t),Hh(t)&&e.queries.elementEnd(t)}var wW=class extends ms{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=Sa(t);return new Cp(r,this.ngModule)}};function xW(e){return Object.keys(e).map(t=>{let[r,n,i]=e[t],a={propName:r,templateName:t,isSignal:(n&Du.SignalBased)!==0};return i&&(a.transform=i),a})}function EW(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function SW(e,t,r){let n=t instanceof ur?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new uW(r,n):r}function kW(e){let t=e.get(Un,null);if(t===null)throw new $(407,!1);let r=e.get(lW,null),n=e.get(qa,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function CW(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return iy(t,r,r==="svg"?nb:r==="math"?ZG:null)}var Cp=class extends Ny{constructor(t,r){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=oZ(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=xW(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=EW(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,i){let a=Ie(null);try{let o=this.componentDef,l=n?["ng-version","19.2.18"]:sZ(this.componentDef.selectors[0]),u=hp(0,null,null,1,0,null,null,null,null,[l],null),c=SW(o,i||this.ngModule,t),d=kW(c),p=d.rendererFactory.createRenderer(null,o),v=n?dZ(p,n,o.encapsulation,c):CW(o,p),g=pp(null,u,null,512|dy(o),null,null,d,p,c,null,Kb(v,c,!0));g[vt]=v,Jh(g);let w=null;try{let x=Ay(vt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(oy(p,v,x),Ga(v,g)),Iu(u,g,x),up(u,x,g),Py(u,x),r!==void 0&&IW(x,this.ngContentSelectors,r),w=hr(x.index,g),g[Vt]=w[Vt],yp(u,g,null)}catch(x){throw w!==null&&yd(w),yd(g),x}finally{Vi(23),ep()}return new DW(this.componentType,g)}finally{Ie(a)}}},DW=class extends aW{constructor(t,r){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=r,this._tNode=qh(r[ye],vt),this.location=$a(this._tNode,r),this.instance=hr(this._tNode.index,r)[Vt],this.hostView=this.changeDetectorRef=new Po(r,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let i=this._rootLView;bp(n,i[ye],i,t,r),this.previousInputValues.set(t,r);let a=hr(n.index,i);Sp(a,1)}get injector(){return new yo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function IW(e,t,r){let n=e.projection=[];for(let i=0;i<t.length;i++){let a=r[i];n.push(a!=null&&a.length?Array.from(a):null)}}var Zn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",TW),e})();function TW(){let e=nn();return Fy(e,de())}var RW=Zn,Ly=class extends RW{constructor(t,r,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return $a(this._hostTNode,this._hostLView)}get injector(){return new yo(this._hostTNode,this._hostLView)}get parentInjector(){let t=np(this._hostTNode,this._hostLView);if(yb(t)){let r=Ml(t,this._hostLView),n=Nl(t),i=r[ye].data[n+8];return new yo(i,r)}else return new yo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=_f(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-Jt}createEmbeddedView(t,r,n){let i,a;typeof n=="number"?i=n:n!=null&&(i=n.index,a=n.injector);let o=Oa(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},a,o);return this.insertImpl(l,i,Ra(this._hostTNode,o)),l}createComponent(t,r,n,i,a){let o=t&&!HG(t),l;if(o)l=r;else{let w=r||{};l=w.index,n=w.injector,i=w.projectableNodes,a=w.environmentInjector||w.ngModuleRef}let u=o?t:new Cp(Sa(t)),c=n||this.parentInjector;if(!a&&u.ngModule==null){let w=(o?c:this.parentInjector).get(ur,null);w&&(a=w)}let d=Sa(u.componentType??{}),p=Oa(this._lContainer,(d==null?void 0:d.id)??null),v=null,g=u.create(c,i,v,a);return this.insertImpl(g.hostView,l,Ra(this._hostTNode,p)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let i=t._lView;if(YG(i)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=i[en],c=new Ly(u,u[vn],u[en]);c.detach(c.indexOf(t))}}let a=this._adjustIndex(r),o=this._lContainer;return ps(o,i,a,n),t.attachToViewContainerRef(),z0(lc(o),a,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=_f(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=Ao(this._lContainer,r);n&&(Dl(lc(this._lContainer),r),Tu(n[ye],n))}detach(t){let r=this._adjustIndex(t,-1),n=Ao(this._lContainer,r);return n&&Dl(lc(this._lContainer),r)!=null?new Po(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function _f(e){return e[Tl]}function lc(e){return e[Tl]||(e[Tl]=[])}function Fy(e,t){let r,n=t[e.index];return zr(n)?r=n:(r=Iy(n,t,null,e),t[e.index]=r,mp(t,r)),NW(r,t,e,n),new Ly(r,e,t)}function OW(e,t){let r=e[ft],n=r.createComment(""),i=mr(t,e),a=r.parentNode(i);return jl(r,a,n,r.nextSibling(i),!1),n}var NW=MW;function MW(e,t,r,n){if(e[ji])return;let i;r.type&8?i=dr(n):i=OW(t,r),e[ji]=i}var AW=class jy{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new jy(this.queryList)}setDirty(){this.queryList.setDirty()}},PW=class Vy{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,i=[];for(let a=0;a<n;a++){let o=r.getByIndex(a),l=this.queries[o.indexInDeclarationView];i.push(l.clone())}return new Vy(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)Dp(t,r).matches!==null&&this.queries[r].setDirty()}},zy=class{constructor(e,t,r=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=r,typeof e=="string"?this.predicate=GW(e):this.predicate=e}},LW=class By{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let i=r!==null?r.length:0,a=this.getByIndex(n).embeddedTView(t,i);a&&(a.indexInDeclarationView=n,r!==null?r.push(a):r=[a])}return r!==null?new By(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},FW=class Hy{constructor(t,r=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new Hy(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){let a=n[i];this.matchTNodeWithReadOption(t,r,jW(r,a)),this.matchTNodeWithReadOption(t,r,cl(r,t,a,!1,!1))}else n===un?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,cl(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let i=this.metadata.read;if(i!==null)if(i===lt||i===Zn||i===un&&r.type&4)this.addMatch(r.index,-2);else{let a=cl(r,t,i,!1,!1);a!==null&&this.addMatch(r.index,a)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function jW(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function VW(e,t){return e.type&11?$a(e,t):e.type&4?Nu(e,t):null}function zW(e,t,r,n){return r===-1?VW(t,e):r===-2?BW(e,t,n):Oo(e,e[ye],r,t)}function BW(e,t,r){if(r===lt)return $a(t,e);if(r===un)return Nu(t,e);if(r===Zn)return Fy(t,e)}function qy(e,t,r,n){let i=t[$n].queries[n];if(i.matches===null){let a=e.data,o=r.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let d=a[c];l.push(zW(t,d,o[u+1],r.metadata.read))}}i.matches=l}return i.matches}function Cd(e,t,r,n){let i=e.queries.getByIndex(r),a=i.matches;if(a!==null){let o=qy(e,t,i,r);for(let l=0;l<a.length;l+=2){let u=a[l];if(u>0)n.push(o[l/2]);else{let c=a[l+1],d=t[-u];for(let p=Jt;p<d.length;p++){let v=d[p];v[Fi]===v[en]&&Cd(v[ye],v,c,n)}if(d[Ia]!==null){let p=d[Ia];for(let v=0;v<p.length;v++){let g=p[v];Cd(g[ye],g,c,n)}}}}}return n}function HW(e,t){return e[$n].queries[t].queryList}function $y(e,t,r){let n=new YU((r&4)===4);return XG(e,t,n,n.destroy),(t[$n]??(t[$n]=new PW)).queries.push(new AW(n))-1}function qW(e,t,r){let n=st();return n.firstCreatePass&&(Gy(n,new zy(e,t,r),-1),n.staticViewQueries=!0),$y(n,de(),t)}function $W(e,t,r,n){let i=st();if(i.firstCreatePass){let a=nn();Gy(i,new zy(t,r,n),a.index),UW(i,e)}return $y(i,de(),r)}function GW(e){return e.split(",").map(t=>t.trim())}function Gy(e,t,r){e.queries===null&&(e.queries=new LW),e.queries.track(new FW(t,r))}function UW(e,t){let r=e.contentQueries||(e.contentQueries=[]),n=r.length?r[r.length-1]:-1;t!==n&&r.push(e.queries.length-1,t)}function Dp(e,t){return e.queries.getByIndex(t)}function ZW(e,t){let r=e[ye],n=Dp(r,t);return n.crossesNgTemplate?Cd(r,e,t,[]):qy(r,e,n,t)}function Uy(e,t){let r=Object.create(D0),n=new Lb;r.value=e;function i(){return Jo(r),wf(r.value),r.value}return i[mn]=r,i.asReadonly=ap.bind(i),i.set=a=>{r.equal(r.value,a)||(ts(r,a),n.emit(a))},i.update=a=>{wf(r.value),i.set(a(r.value))},i.subscribe=n.subscribe.bind(n),i.destroyRef=n.destroyRef,i}function wf(e){if(e===fu)throw new $(952,!1)}function xf(e,t){return Uy(e)}function WW(e){return Uy(fu)}var YW=(xf.required=WW,xf),Lo=class{},Zy=class extends Lo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new wW(this));s(this,"instance",null);let r=new zh([...t.providers,{provide:Lo,useValue:this},{provide:ms,useValue:this.componentFactoryResolver}],t.parent||vu(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function KW(e,t,r=null){return new Zy({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var QW=(()=>{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 i=G0(!1,n.type),a=i.length>0?KW([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,a)}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",z({token:t,providedIn:"environment",factory:()=>new t(oe(ur))}));let e=t;return e})();function Le(e){return rs(()=>{let t=Wy(e),r=Ut(ce({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(QW).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Nr.Emulated,styles:e.styles||pn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Yi("NgStandalone"),Yy(r);let n=e.dependencies;return r.directiveDefs=Ef(n,!1),r.pipeDefs=Ef(n,!0),r.id=nY(r),r})}function XW(e){return Sa(e)||$0(e)}function JW(e){return e!==null}function Yt(e){return rs(()=>({type:e.type,bootstrap:e.bootstrap||pn,declarations:e.declarations||pn,imports:e.imports||pn,exports:e.exports||pn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function eY(e,t){if(e==null)return lr;let r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n],a,o,l,u;Array.isArray(i)?(l=i[0],a=i[1],o=i[2]??a,u=i[3]||null):(a=i,o=i,l=Du.None,u=null),r[a]=[n,l,u],t[a]=o}return r}function tY(e){if(e==null)return lr;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Se(e){return rs(()=>{let t=Wy(e);return Yy(t),t})}function Wn(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 Wy(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||lr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||pn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:eY(e.inputs,t),outputs:tY(e.outputs),debugInfo:null}}function Yy(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function Ef(e,t){if(!e)return null;let r=t?OG:XW;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(JW)}function nY(e){let t=0,r=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of n.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function rY(e){return Object.getPrototypeOf(e.prototype).constructor}function Ke(e){let t=rY(e.type),r=!0,n=[e];for(;t;){let i;if(cr(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new $(903,!1);i=t.ɵdir}if(i){if(r){n.push(i);let o=e;o.inputs=uc(e.inputs),o.declaredInputs=uc(e.declaredInputs),o.outputs=uc(e.outputs);let l=i.hostBindings;l&&lY(e,l);let u=i.viewQuery,c=i.contentQueries;if(u&&oY(e,u),c&&sY(e,c),iY(e,i),cG(e.outputs,i.outputs),cr(i)&&i.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let a=i.features;if(a)for(let o=0;o<a.length;o++){let l=a[o];l&&l.ngInherit&&l(e),l===Ke&&(r=!1)}}t=Object.getPrototypeOf(t)}aY(n)}function iY(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function aY(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let i=e[n];i.hostVars=t+=i.hostVars,i.hostAttrs=Ta(i.hostAttrs,r=Ta(r,i.hostAttrs))}}function uc(e){return e===lr?{}:e===pn?[]:e}function oY(e,t){let r=e.viewQuery;r?e.viewQuery=(n,i)=>{t(n,i),r(n,i)}:e.viewQuery=t}function sY(e,t){let r=e.contentQueries;r?e.contentQueries=(n,i,a)=>{t(n,i,a),r(n,i,a)}:e.contentQueries=t}function lY(e,t){let r=e.hostBindings;r?e.hostBindings=(n,i)=>{t(n,i),r(n,i)}:e.hostBindings=t}function uY(e){let t=r=>{let n=Array.isArray(e);r.hostDirectives===null?(r.findHostDirectiveDefs=Ky,r.hostDirectives=n?e.map(Dd):[e]):n?r.hostDirectives.unshift(...e.map(Dd)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Ky(e,t,r){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let i=n();for(let a of i)Sf(Dd(a),t,r)}else Sf(n,t,r)}function Sf(e,t,r){let n=$0(e.directive);cY(n.declaredInputs,e.inputs),Ky(n,t,r),r.set(n,e),t.push(n)}function Dd(e){return typeof e=="function"?{directive:qt(e),inputs:lr,outputs:lr}:{directive:qt(e.directive),inputs:kf(e.inputs),outputs:kf(e.outputs)}}function kf(e){if(e===void 0||e.length===0)return lr;let t={};for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function cY(e,t){for(let r in t)if(t.hasOwnProperty(r)){let n=t[r],i=e[r];e[n]=i}}function Qy(e){return Ip(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function dY(e,t){if(Array.isArray(e))for(let r=0;r<e.length;r++)t(e[r]);else{let r=e[Symbol.iterator](),n;for(;!(n=r.next()).done;)t(n.value)}}function Ip(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function fs(e,t,r){return e[t]=r}function Xy(e,t){return e[t]}function fn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function Fo(e,t,r,n){let i=fn(e,t,r);return fn(e,t+1,n)||i}function hY(e,t,r,n,i){let a=Fo(e,t,r,n);return fn(e,t+2,i)||a}function pY(e,t,r,n,i,a){let o=Fo(e,t,r,n);return Fo(e,t+2,i,a)||o}function mY(e,t,r,n,i,a,o,l,u){let c=t.consts,d=Ua(t,e,4,o||null,l||null);kp(t,r,d,zi(c,u),vp),d.mergedAttrs=Ta(d.mergedAttrs,d.attrs),tp(t,d);let p=d.tView=hp(2,d,n,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,d),p.queries=t.queries.embeddedTView(d)),d}function Jy(e,t,r,n,i,a,o,l,u,c){let d=r+vt,p=t.firstCreatePass?mY(d,t,e,n,i,a,o,l,u):t.data[d];hi(p,!1);let v=fY(t,e);wu()&&Ru(t,e,v,p),Ga(v,e);let g=Iy(v,e,v,p);return e[d]=g,mp(e,g),yu(p)&&Iu(t,e,p),u!=null&&fp(e,p,c),p}function me(e,t,r,n,i,a,o,l){let u=de(),c=st(),d=zi(c.consts,a);return Jy(u,c,e,t,r,n,i,d,o,l),me}var fY=gY;function gY(e,t,r,n){return xu(!0),t[ft].createComment("")}var vY=new J(""),e_=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new bY}));let e=t;return e})(),bY=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Tp(e){return!!e&&typeof e.then=="function"}function t_(e){return!!e&&typeof e.subscribe=="function"}var yY=new J(""),n_=(()=>{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,i)=>{this.resolve=n,this.reject=i}));s(this,"appInits",S(yY,{optional:!0})??[]);s(this,"injector",S(dt))}runInitializers(){if(this.initialized)return;let n=[];for(let a of this.appInits){let o=Bh(this.injector,a);if(Tp(o))n.push(o);else if(t_(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(a=>{this.reject(a)}),n.length===0&&i(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_Y=new J("");function wY(){i6(()=>{throw new $(600,!1)})}function xY(e){return e.isBoundToModule}var EY=10,ci=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",S(qU));s(this,"afterRenderManager",S(Zb));s(this,"zonelessEnabled",S(Ob));s(this,"rootEffectScheduler",S(e_));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new be);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",S(us).hasPendingTasks.pipe(Tt(n=>!n)));s(this,"_injector",S(ur));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var i;if(this._runningTick)throw new $(101,!1);let n=Ie(null);try{this._runningTick=!0,this.synchronize()}catch(a){this.internalErrorHandler(a)}finally{this._runningTick=!1,(i=this.tracingSnapshot)==null||i.dispose(),this.tracingSnapshot=null,Ie(n),this.afterTick.next()}});S(cs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:a=>{a&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){return this.bootstrapImpl(n,i)}bootstrapImpl(n,i,a=dt.NULL){let o=n instanceof Ny;if(!this._injector.get(n_).done){let g="";throw new $(405,g)}let l;o?l=n:l=this._injector.get(ms).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=xY(l)?void 0:this._injector.get(Lo),c=i||l.selector,d=l.create(a,[],c,u),p=d.location.nativeElement,v=d.injector.get(vY,null);return v==null||v.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),dl(this.components,d),v==null||v.unregisterApplication(p)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(sp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Un,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<EY;)this.synchronizeOnce()}synchronizeOnce(){var n,i,a,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)SY(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(i=(n=this._rendererFactory)==null?void 0:n.begin)==null||i.call(n),(o=(a=this._rendererFactory)==null?void 0:a.end)==null||o.call(a);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ss(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;dl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(_Y,[]).forEach(i=>i(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),()=>dl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new $(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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function dl(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function SY(e,t,r,n){!r&&!ss(e)||Sy(e,t,r&&!n?0:1)}function cn(e,t,r,n){let i=de(),a=Zi();if(fn(i,a,t)){st();let o=_u();vZ(o,i,e,t,r,n)}return cn}function kY(e,t,r,n){return fn(e,Zi(),r)?t+Pi(r)+n:Sn}function CY(e,t,r,n,i,a){let o=oU(),l=Fo(e,o,r,i);return Qh(2),l?t+Pi(r)+n+Pi(i)+a:Sn}function Ls(e,t){return e<<17|t<<2}function qi(e){return e>>17&32767}function DY(e){return(e&2)==2}function IY(e,t){return e&131071|t<<17}function Id(e){return e|2}function Na(e){return(e&131068)>>2}function cc(e,t){return e&-131069|t<<2}function TY(e){return(e&1)===1}function Td(e){return e|1}function RY(e,t,r,n,i,a){let o=t.classBindings,l=qi(o),u=Na(o);e[n]=r;let c=!1,d;if(Array.isArray(r)){let p=r;d=p[1],(d===null||is(p,d)>0)&&(c=!0)}else d=r;if(i)if(u!==0){let p=qi(e[l+1]);e[n+1]=Ls(p,l),p!==0&&(e[p+1]=cc(e[p+1],n)),e[l+1]=IY(e[l+1],n)}else e[n+1]=Ls(l,0),l!==0&&(e[l+1]=cc(e[l+1],n)),l=n;else e[n+1]=Ls(u,0),l===0?l=n:e[u+1]=cc(e[u+1],n),u=n;c&&(e[n+1]=Id(e[n+1])),Cf(e,d,n,!0),Cf(e,d,n,!1),OY(t,d,e,n),o=Ls(l,u),t.classBindings=o}function OY(e,t,r,n,i){let a=e.residualClasses;a!=null&&typeof t=="string"&&is(a,t)>=0&&(r[n+1]=Td(r[n+1]))}function Cf(e,t,r,n){let i=e[r+1],a=t===null,o=n?qi(i):Na(i),l=!1;for(;o!==0&&(l===!1||a);){let u=e[o],c=e[o+1];NY(u,t)&&(l=!0,e[o+1]=n?Td(c):Id(c)),o=n?qi(c):Na(c)}l&&(e[r+1]=n?Id(i):Td(i))}function NY(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?is(e,t)>=0:!1}var Hn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function MY(e){return e.substring(Hn.key,Hn.keyEnd)}function AY(e){return PY(e),r_(e,i_(e,0,Hn.textEnd))}function r_(e,t){let r=Hn.textEnd;return r===t?-1:(t=Hn.keyEnd=LY(e,Hn.key=t,r),i_(e,t,r))}function PY(e){Hn.key=0,Hn.keyEnd=0,Hn.value=0,Hn.valueEnd=0,Hn.textEnd=e.length}function i_(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function LY(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function Ce(e,t,r){let n=de(),i=Zi();if(fn(n,i,t)){let a=st(),o=_u();gp(a,o,n,e,t,n[ft],r,!1)}return Ce}function Rd(e,t,r,n,i){bp(t,e,r,i?"class":"style",n)}function tn(e,t){return jY(e,t,null,!0),tn}function Mu(e){VY(GY,FY,e,!0)}function FY(e,t){for(let r=AY(t);r>=0;r=r_(t,r))Lh(e,MY(t),!0)}function jY(e,t,r,n){let i=de(),a=st(),o=Qh(2);if(a.firstUpdatePass&&o_(a,e,o,n),t!==Sn&&fn(i,o,t)){let l=a.data[fr()];s_(a,l,i,i[ft],e,i[o+1]=ZY(t),n,o)}}function VY(e,t,r,n){let i=st(),a=Qh(2);i.firstUpdatePass&&o_(i,null,a,n);let o=de();if(r!==Sn&&fn(o,a,r)){let l=i.data[fr()];if(l_(l)&&!a_(i,a)){let u=l.classesWithoutHost;u!==null&&(r=id(u,r||"")),Rd(i,l,o,r,n)}else UY(i,l,o,o[ft],o[a+1],o[a+1]=$Y(e,t,r),n,a)}}function a_(e,t){return t>=e.expandoStartIndex}function o_(e,t,r,n){let i=e.data;if(i[r+1]===null){let a=i[fr()],o=a_(e,r);l_(a)&&t===null&&!o&&(t=!1),t=zY(i,a,t,n),RY(i,a,t,r,o)}}function zY(e,t,r,n){let i=dU(e),a=t.residualClasses;if(i===null)t.classBindings===0&&(r=dc(null,e,t,r),r=jo(r,t.attrs),a=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==i)if(r=dc(i,e,t,r),a===null){let l=BY(e,t);l!==void 0&&Array.isArray(l)&&(l=dc(null,e,t,l[1]),l=jo(l,t.attrs),HY(e,t,n,l))}else a=qY(e,t)}return a!==void 0&&(t.residualClasses=a),r}function BY(e,t,r){let n=t.classBindings;if(Na(n)!==0)return e[qi(n)]}function HY(e,t,r,n){let i=t.classBindings;e[qi(i)]=n}function qY(e,t,r){let n,i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++){let o=e[a].hostAttrs;n=jo(n,o)}return jo(n,t.attrs)}function dc(e,t,r,n,i){let a=null,o=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<o&&(a=t[l],n=jo(n,a.hostAttrs),a!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function jo(e,t,r){let n=1,i=-1;if(t!==null)for(let a=0;a<t.length;a++){let o=t[a];typeof o=="number"?i=o:i===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Lh(e,o,!0))}return e===void 0?null:e}function $Y(e,t,r){if(r==null||r==="")return pn;let n=[],i=Rr(r);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(n,i[a],!0);else if(typeof i=="object")for(let a in i)i.hasOwnProperty(a)&&e(n,a,i[a]);else typeof i=="string"&&t(n,i);return n}function GY(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&Lh(e,n,r)}function UY(e,t,r,n,i,a,o,l){i===Sn&&(i=pn);let u=0,c=0,d=0<i.length?i[0]:null,p=0<a.length?a[0]:null;for(;d!==null||p!==null;){let v=u<i.length?i[u+1]:void 0,g=c<a.length?a[c+1]:void 0,w=null,x;d===p?(u+=2,c+=2,v!==g&&(w=p,x=g)):p===null||d!==null&&d<p?(u+=2,w=d):(c+=2,w=p,x=g),w!==null&&s_(e,t,r,n,w,x,o,l),d=u<i.length?i[u]:null,p=c<a.length?a[c]:null}}function s_(e,t,r,n,i,a,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],d=TY(c)?Df(u,t,r,i,Na(c)):void 0;if(!Bl(d)){Bl(a)||DY(c)&&(a=Df(u,null,r,i,l));let p=rb(fr(),r);PZ(n,o,p,i,a)}}function Df(e,t,r,n,i,a){let o=t===null,l;for(;i>0;){let u=e[i],c=Array.isArray(u),d=c?u[1]:u,p=d===null,v=r[i+1];v===Sn&&(v=p?pn:void 0);let g=p?tc(v,n):d===n?v:void 0;if(c&&!Bl(g)&&(g=tc(u,n)),Bl(g)&&(l=g,o))return l;let w=e[i+1];i=o?qi(w):Na(w)}if(t!==null){let u=t.residualClasses;u!=null&&(l=tc(u,n))}return l}function Bl(e){return e!==void 0}function ZY(e,t){return e==null||e===""||typeof e=="object"&&(e=Nn(Rr(e))),e}function l_(e,t){return(e.flags&8)!==0}var WY=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),i=this.detach(n);if(n-r>1){let a=this.detach(r);this.attach(r,i),this.attach(n,a)}else this.attach(r,i)}move(e,t){this.attach(t,this.detach(e))}};function hc(e,t,r,n,i){return e===r&&Object.is(t,n)?1:Object.is(i(e,t),i(r,n))?-1:0}function YY(e,t,r){let n,i,a=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;a<=o&&a<=l;){let u=e.at(a),c=t[a],d=hc(a,u,a,c,r);if(d!==0){d<0&&e.updateValue(a,c),a++;continue}let p=e.at(o),v=t[l],g=hc(o,p,l,v,r);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let w=r(a,u),x=r(o,p),k=r(a,c);if(Object.is(k,x)){let D=r(l,v);Object.is(D,w)?(e.swap(a,o),e.updateValue(o,v),l--,o--):e.move(o,a),e.updateValue(a,c),a++;continue}if(n??(n=new Rf),i??(i=Tf(e,a,o,r)),Od(e,n,a,k))e.updateValue(a,c),a++,o++;else if(i.has(k))n.set(w,e.detach(a)),o--;else{let D=e.create(a,t[a]);e.attach(a,D),a++,o++}}for(;a<=l;)If(e,n,r,a,t[a]),a++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&a<=o;){let c=e.at(a),d=u.value,p=hc(a,c,a,d,r);if(p!==0)p<0&&e.updateValue(a,d),a++,u=l.next();else{n??(n=new Rf),i??(i=Tf(e,a,o,r));let v=r(a,d);if(Od(e,n,a,v))e.updateValue(a,d),a++,o++,u=l.next();else if(!i.has(v))e.attach(a,e.create(a,d)),a++,o++,u=l.next();else{let g=r(a,c);n.set(g,e.detach(a)),o--}}}for(;!u.done;)If(e,n,r,e.length,u.value),u=l.next()}for(;a<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Od(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function If(e,t,r,n,i){if(Od(e,t,n,r(n,i)))e.updateValue(n,i);else{let a=e.create(n,i);e.attach(n,a)}}function Tf(e,t,r,n){let i=new Set;for(let a=t;a<=r;a++)i.add(n(a,e.at(a)));return i}var Rf=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}};function Fe(e,t){Yi("NgControlFlow");let r=de(),n=Zi(),i=r[n]!==Sn?r[n]:-1,a=i!==-1?Hl(r,vt+i):void 0,o=0;if(fn(r,n,e)){let l=Ie(null);try{if(a!==void 0&&Ry(a,o),e!==-1){let u=vt+e,c=Hl(r,u),d=Nd(r[ye],u),p=Oa(c,d.tView.ssrId),v=hs(r,d,t,{dehydratedView:p});ps(c,v,o,Ra(d,p))}}finally{Ie(l)}}else if(a!==void 0){let l=Ty(a,o);l!==void 0&&(l[Vt]=t)}}var KY=class{constructor(e,t,r){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Jt}};function Rp(e){return e}function Op(e,t){return t}var QY=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function Wa(e,t,r,n,i,a,o,l,u,c,d,p,v){Yi("NgControlFlow");let g=de(),w=st(),x=u!==void 0,k=de(),D=o,O=new QY(x,D);k[vt+e]=O,Jy(g,w,e+1,t,r,n,i,zi(w.consts,a))}var XY=class extends WY{constructor(t,r,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-Jt}at(t){return this.getLView(t)[Vt].$implicit}attach(t,r){let n=r[Ca];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),ps(this.lContainer,r,t,Ra(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),JY(this.lContainer,t)}create(t,r){var a;let n=Oa(this.lContainer,this.templateTNode.tView.ssrId),i=hs(this.hostLView,this.templateTNode,new KY(this.lContainer,r,t),{dehydratedView:n});return(a=this.operationsCounter)==null||a.recordCreate(),i}destroy(t){var r;Tu(t[ye],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[Vt].$implicit=r}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Vt].$index=t}getLView(t){return eK(this.lContainer,t)}};function Ya(e){let t=Ie(null),r=fr();try{let n=de(),i=n[ye],a=n[r],o=r+1,l=Hl(n,o);if(a.liveCollection===void 0){let c=Nd(i,o);a.liveCollection=new XY(l,n,c)}else a.liveCollection.reset();let u=a.liveCollection;if(YY(u,e,a.trackByFn),u.updateIndexes(),a.hasEmptyBlock){let c=Zi(),d=u.length===0;if(fn(n,c,d)){let p=r+2,v=Hl(n,p);if(d){let g=Nd(i,p),w=Oa(v,g.tView.ssrId),x=hs(n,g,void 0,{dehydratedView:w});ps(v,x,0,Ra(g,w))}else Ry(v,0)}}}finally{Ie(t)}}function Hl(e,t){return e[t]}function JY(e,t){return Ao(e,t)}function eK(e,t){return Ty(e,t)}function Nd(e,t){return qh(e,t)}function V(e,t,r,n){let i=de(),a=st(),o=vt+e,l=i[ft],u=a.firstCreatePass?Ay(o,a,i,t,vp,nU(),r,n):a.data[o],c=tK(a,i,u,l,t);i[o]=c;let d=yu(u);return hi(u,!0),oy(l,c,u),!wp(u)&&wu()&&Ru(a,i,c,u),(JG()===0||d)&&Ga(c,i),eU(),d&&(Iu(a,i,u),up(a,u,i)),n!==null&&fp(i,u),V}function B(){let e=nn();Yh()?Kh():(e=e.parent,hi(e,!1));let t=e;rU(t)&&iU(),tU();let r=st();return r.firstCreatePass&&Py(r,t),t.classesWithoutHost!=null&&bU(t)&&Rd(r,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yU(t)&&Rd(r,t,de(),t.stylesWithoutHost,!1),B}function We(e,t,r,n){return V(e,t,r,n),B(),We}var tK=(e,t,r,n,i,a)=>(xu(!0),iy(n,i,fU()));function nK(e,t,r,n,i){let a=t.consts,o=zi(a,n),l=Ua(t,e,8,"ng-container",o);o!==null&&kd(l,o,!0);let u=zi(a,i);return kp(t,r,l,u,vp),l.mergedAttrs=Ta(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Yr(e,t,r){let n=de(),i=st(),a=e+vt,o=i.firstCreatePass?nK(a,i,n,t,r):i.data[a];hi(o,!0);let l=rK(i,n);return n[a]=l,wu()&&Ru(i,n,l,o),Ga(l,n),yu(o)&&(Iu(i,n,o),up(i,o,n)),r!=null&&fp(n,o),Yr}function Kr(){let e=nn(),t=st();return Yh()?Kh():(e=e.parent,hi(e,!1)),t.firstCreatePass&&(tp(t,e),Hh(e)&&t.queries.elementEnd(e)),Kr}function Gt(e,t,r){return Yr(e,t,r),Kr(),Gt}var rK=(e,t,r,n)=>(xu(!0),U8(t[ft],""));function Hr(){return de()}function Np(e,t,r){let n=de(),i=Zi();if(fn(n,i,t)){let a=st(),o=_u();gp(a,o,n,e,t,n[ft],r,!0)}return Np}var vi=void 0;function iK(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var aK=["en",[["a","p"],["AM","PM"],vi],[["AM","PM"],vi,vi],[["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"]],vi,[["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"]],vi,[["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}",vi,"{1} 'at' {0}",vi],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",iK],_o={};function oK(e,t,r){typeof t!="string"&&(r=t,t=e[Ot.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),_o[t]=e,r&&(_o[t][Ot.ExtraData]=r)}function Yn(e){let t=sK(e),r=Of(t);if(r)return r;let n=t.split("-")[0];if(r=Of(n),r)return r;if(n==="en")return aK;throw new $(701,!1)}function Of(e){return e in _o||(_o[e]=ti.ng&&ti.ng.common&&ti.ng.common.locales&&ti.ng.common.locales[e]),_o[e]}var Ot=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}(Ot||{});function sK(e){return e.toLowerCase().replace(/_/g,"-")}var Md="en-US";function lK(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Nf(e,t,r){return function n(i){if(i===Function)return r;let a=za(e)?hr(e.index,t):t;Sp(a,5);let o=t[Vt],l=Mf(t,o,r,i),u=n.__ngNextListenerFn__;for(;u;)l=Mf(t,o,u,i)&&l,u=u.__ngNextListenerFn__;return l}}function Mf(e,t,r,n){let i=Ie(null);try{return Vi(6,t,r),r(n)!==!1}catch(a){return uK(e,a),!1}finally{Ie(i)}}function uK(e,t){let r=e[Da],n=r?r.get(Gn,null):null;n&&n.handleError(t)}function Af(e,t,r,n,i,a){let o=t[r],l=t[ye],u=l.data[r].outputs[n],c=o[u],d=l.firstCreatePass?Wh(l):null,p=Zh(t),v=c.subscribe(a),g=p.length;p.push(a,v),d&&d.push(i,e.index,g,-(g+1))}function kn(e,t,r,n){let i=de(),a=st(),o=nn();return u_(a,i,i[ft],o,e,t,n),kn}function cK(e,t,r,n){let i=e.cleanup;if(i!=null)for(let a=0;a<i.length-1;a+=2){let o=i[a];if(o===r&&i[a+1]===n){let l=t[ga],u=i[a+2];return l.length>u?l[u]:null}typeof o=="string"&&(a+=2)}return null}function u_(e,t,r,n,i,a,o){var p,v;let l=yu(n),u=e.firstCreatePass?Wh(e):null,c=Zh(t),d=!0;if(n.type&3||o){let g=mr(n,t),w=o?o(g):g,x=c.length,k=o?O=>o(dr(O[n.index])):n.index,D=null;if(!o&&l&&(D=cK(e,t,i,n.index)),D!==null){let O=D.__ngLastListenerFn__||D;O.__ngNextListenerFn__=a,D.__ngLastListenerFn__=a,d=!1}else{a=Nf(n,t,a);let O=r.listen(w,i,a);c.push(a,O),u&&u.push(i,k,x,x+1)}}else a=Nf(n,t,a);if(d){let g=(p=n.outputs)==null?void 0:p[i],w=(v=n.hostDirectiveOutputs)==null?void 0:v[i];if(w&&w.length)for(let x=0;x<w.length;x+=2){let k=w[x],D=w[x+1];Af(n,t,k,D,i,a)}if(g&&g.length)for(let x of g)Af(n,t,x,i,i,a)}}function le(e=1){return pU(e)}function dK(e,t){let r=null,n=tZ(e);for(let i=0;i<t.length;i++){let a=t[i];if(a==="*"){r=i;continue}if(n===null?cy(e,a,!0):iZ(n,a))return i}return r}function gr(e){let t=de()[An][vn];if(!t.projection){let r=e?e.length:1,n=t.projection=IG(r,null),i=n.slice(),a=t.child;for(;a!==null;){if(a.type!==128){let o=e?dK(a,e):0;o!==null&&(i[o]?i[o].projectionNext=a:n[o]=a,i[o]=a)}a=a.next}}}function zt(e,t=0,r,n,i,a){let o=de(),l=st(),u=null,c=Ua(l,vt+e,16,null,null);c.projection===null&&(c.projection=t),Kh();let d=!o[Ca]||ob();o[An][vn].projection[c.projection]===null&&u!==null?hK(o,l,u):d&&!wp(c)&&MZ(l,o,c)}function hK(e,t,r){let n=vt+r,i=t.data[n],a=e[n],o=Oa(a,i.tView.ssrId),l=hs(e,i,void 0,{dehydratedView:o});ps(a,l,0,Ra(i,o))}function Qr(e,t,r,n){$W(e,t,r,n)}function ql(e,t,r){qW(e,t,r)}function Rn(e){let t=de(),r=st(),n=cb();Xh(n+1);let i=Dp(r,n);if(e.dirty&&WG(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else{let a=ZW(t,n);e.reset(a,UU),e.notifyOnChanges()}return!0}return!1}function On(){return HW(de(),cb())}function Au(e){let t=lb();return os(t,vt+e)}function ne(e,t=""){let r=de(),n=st(),i=e+vt,a=n.firstCreatePass?Ua(n,i,1,t,null):n.data[i],o=pK(n,r,a,t);r[i]=o,wu()&&Ru(n,r,o,a),hi(a,!1)}var pK=(e,t,r,n,i)=>(xu(!0),$8(t[ft],n));function je(e){return ot("",e,""),je}function ot(e,t,r){let n=de(),i=kY(n,e,t,r);return i!==Sn&&c_(n,fr(),i),ot}function Mp(e,t,r,n,i){let a=de(),o=CY(a,e,t,r,n,i);return o!==Sn&&c_(a,fr(),o),Mp}function c_(e,t,r){let n=rb(t,e);G8(e[ft],n,r)}function d_(e,t,r){Fb(t)&&(t=t());let n=de(),i=Zi();if(fn(n,i,t)){let a=st(),o=_u();gp(a,o,n,e,t,n[ft],r,!1)}return d_}function mK(e,t){let r=Fb(e);return r&&e.set(t),r}function h_(e,t){let r=de(),n=st(),i=nn();return u_(n,r,r[ft],i,e,t),h_}var p_={};function m_(e){let t=st(),r=de(),n=e+vt,i=Ua(t,n,128,null,null);return hi(i,!1),$h(t,r,n,p_),m_}function Pf(e){Yi("NgLet");let t=st(),r=de(),n=fr();return $h(t,r,n,e),e}function Lf(e){let t=lb(),r=os(t,vt+e);if(r===p_)throw new $(314,!1);return r}function fK(e,t,r){let n=st();if(n.firstCreatePass){let i=cr(e);Ad(r,n.data,n.blueprint,i,!0),Ad(t,n.data,n.blueprint,i,!1)}}function Ad(e,t,r,n,i){if(e=qt(e),Array.isArray(e))for(let a=0;a<e.length;a++)Ad(e[a],t,r,n,i);else{let a=st(),o=de(),l=nn(),u=ka(e)?e:qt(e.provide),c=W0(e),d=l.providerIndexes&1048575,p=l.directiveStart,v=l.providerIndexes>>20;if(ka(e)||!e.multi){let g=new ls(c,i,$t),w=mc(u,t,i?d:d+v,p);w===-1?(fd(Pl(l,o),a,u),pc(a,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=mc(u,t,d+v,p),w=mc(u,t,d,d+v),x=g>=0&&r[g],k=w>=0&&r[w];if(i&&!k||!i&&!x){fd(Pl(l,o),a,u);let D=bK(i?vK:gK,r.length,i,n,c);!i&&k&&(r[w].providerFactory=D),pc(a,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(D),o.push(D)}else{let D=f_(r[i?w:g],c,!i&&n);pc(a,e,g>-1?g:w,D)}!i&&n&&k&&r[w].componentProviders++}}}function pc(e,t,r,n){let i=ka(t),a=LG(t);if(i||a){let o=(a?qt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,o]):l[u+1].push(n,o)}else l.push(r,o)}}}function f_(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function mc(e,t,r,n){for(let i=r;i<n;i++)if(t[i]===e)return i;return-1}function gK(e,t,r,n,i){return Pd(this.multi,[])}function vK(e,t,r,n,i){let a=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Oo(n,n[ye],this.providerFactory.index,i);o=u.slice(0,l),Pd(a,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Pd(a,o);return o}function Pd(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function bK(e,t,r,n,i){let a=new ls(e,r,$t);return a.multi=[],a.index=t,a.componentProviders=0,f_(a,i,n&&!r),a}function Kn(e,t=[]){return r=>{r.providersResolver=(n,i)=>fK(n,i?i(e):e,t)}}function Vo(e,t,r){let n=Ui()+e,i=de();return i[n]===Sn?fs(i,n,t()):Xy(i,n)}function g_(e,t,r,n){return v_(de(),Ui(),e,t,r,n)}function yK(e,t,r,n,i){return b_(de(),Ui(),e,t,r,n,i)}function _K(e,t,r,n,i,a,o,l){let u=Ui()+e,c=de(),d=pY(c,u,r,n,i,a);return fn(c,u+4,o)||d?fs(c,u+5,t(r,n,i,a,o)):Xy(c,u+5)}function Ap(e,t){let r=e[t];return r===Sn?void 0:r}function v_(e,t,r,n,i,a){let o=t+r;return fn(e,o,i)?fs(e,o+1,a?n.call(a,i):n(i)):Ap(e,o+1)}function b_(e,t,r,n,i,a,o){let l=t+r;return Fo(e,l,i,a)?fs(e,l+2,o?n.call(o,i,a):n(i,a)):Ap(e,l+2)}function wK(e,t,r,n,i,a,o,l){let u=t+r;return hY(e,u,i,a,o)?fs(e,u+3,l?n.call(l,i,a,o):n(i,a,o)):Ap(e,u+3)}function ee(e,t){let r=st(),n,i=e+vt;r.firstCreatePass?(n=xK(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];let a=n.factory||(n.factory=Li(n.type)),o=hn($t);try{let l=Al(!1),u=a();return Al(l),$h(r,de(),i,u),u}finally{hn(o)}}function xK(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function re(e,t,r){let n=e+vt,i=de(),a=os(i,n);return Pp(i,n)?v_(i,Ui(),t,a.transform,r,a):a.transform(r)}function gs(e,t,r,n){let i=e+vt,a=de(),o=os(a,i);return Pp(a,i)?b_(a,Ui(),t,o.transform,r,n,o):o.transform(r,n)}function y_(e,t,r,n,i){let a=e+vt,o=de(),l=os(o,a);return Pp(o,a)?wK(o,Ui(),t,l.transform,r,n,i,l):l.transform(r,n,i)}function Pp(e,t){return e[ye].data[t].pure}function Ff(e,t){return Nu(e,t)}var EK=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(".")}},jf=new EK("19.2.18"),SK=(()=>{const t=class t{constructor(){s(this,"zone",S($e));s(this,"changeDetectionScheduler",S(qa));s(this,"applicationRef",S(ci));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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function kK({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new $e(Ut(ce({},CK()),{scheduleInRootZone:r}))),[{provide:$e,useFactory:e},{provide:Il,multi:!0,useFactory:()=>{let n=S(SK,{optional:!0});return()=>n.initialize()}},{provide:Il,multi:!0,useFactory:()=>{let n=S(DK);return()=>{n.initialize()}}},t===!0?{provide:Nb,useValue:!0}:[],{provide:Mb,useValue:r??Tb}]}function CK(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var DK=(()=>{const t=class t{constructor(){s(this,"subscription",new ln);s(this,"initialized",!1);s(this,"zone",S($e));s(this,"pendingTasks",S(us))}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(()=>{$e.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$e.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),IK=(()=>{var t;const r=class r{constructor(){s(this,"appRef",S(ci));s(this,"taskService",S(us));s(this,"ngZone",S($e));s(this,"zonelessEnabled",S(Ob));s(this,"tracing",S(cs,{optional:!0}));s(this,"disableScheduling",S(Nb,{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(Ll):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(Mb,{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 zU||!this.zoneIsDefined))}notify(i){var l;if(!this.zonelessEnabled&&i===5)return;let a=!1;switch(i){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,a=!0;break}case 12:{this.appRef.dirtyFlags|=16,a=!0;break}case 13:{this.appRef.dirtyFlags|=2,a=!0;break}case 11:{a=!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(a))return;let o=this.useMicrotaskScheduler?rf:Ab;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ll+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 i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(a){throw this.taskService.remove(i),a}finally{this.cleanup()}this.useMicrotaskScheduler=!0,rf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}};s(r,"ɵfac",function(i){return new(i||r)}),s(r,"ɵprov",z({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function TK(){return typeof $localize<"u"&&$localize.locale||Md}var Pu=new J("",{providedIn:"root",factory:()=>S(Pu,Re.Optional|Re.SkipSelf)||TK()}),Ld=new J(""),RK=new J("");function io(e){return!e.moduleRef}function OK(e){let t=io(e)?e.r3Injector:e.moduleRef.injector,r=t.get($e);return r.run(()=>{io(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Gn,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:a=>{n.handleError(a)}})}),io(e)){let a=()=>t.destroy(),o=e.platformInjector.get(Ld);o.add(a),t.onDestroy(()=>{i.unsubscribe(),o.delete(a)})}else{let a=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Ld);o.add(a),e.moduleRef.onDestroy(()=>{dl(e.allPlatformModules,e.moduleRef),i.unsubscribe(),o.delete(a)})}return MK(n,r,()=>{let a=t.get(n_);return a.runInitializers(),a.donePromise.then(()=>{let o=t.get(Pu,Md);if(lK(o||Md),!t.get(RK,!0))return io(e)?t.get(ci):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(io(e)){let l=t.get(ci);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return NK(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function NK(e,t){let r=e.injector.get(ci);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new $(-403,!1);t.push(e)}function MK(e,t,r){try{let n=r();return Tp(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var hl=null;function AK(e=[],t){return dt.create({name:t,providers:[{provide:Vh,useValue:"platform"},{provide:Ld,useValue:new Set([()=>hl=null])},...e]})}function PK(e=[]){if(hl)return hl;let t=AK(e);return hl=t,wY(),LK(t),t}function LK(e){let t=e.get(Gb,null);Bh(e,()=>{t==null||t.forEach(r=>r())})}function FK(){return!1}var pi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",jK),e})();function jK(e){return VK(nn(),de(),(e&16)===16)}function VK(e,t,r){if(za(e)&&!r){let n=hr(e.index,t);return new Po(n,n)}else if(e.type&175){let n=t[An];return new Po(n,t)}return null}var zK=class{constructor(){}supports(e){return Qy(e)}create(e){return new HK(e)}},BK=(e,t)=>t,HK=class{constructor(e){s(this,"length",0);s(this,"collection");s(this,"_linkedRecords",null);s(this,"_unlinkedRecords",null);s(this,"_previousItHead",null);s(this,"_itHead",null);s(this,"_itTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_movesHead",null);s(this,"_movesTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null);s(this,"_identityChangesHead",null);s(this,"_identityChangesTail",null);s(this,"_trackByFn");this._trackByFn=e||BK}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,n=0,i=null;for(;t||r;){let a=!r||t&&t.currentIndex<zf(r,n,i)?t:r,o=zf(a,n,i),l=a.currentIndex;if(a===r)n--,r=r._nextRemoved;else if(t=t._next,a.previousIndex==null)n++;else{i||(i=[]);let u=o-n,c=l-n;if(u!=c){for(let p=0;p<u;p++){let v=p<i.length?i[p]:i[p]=0,g=v+p;c<=g&&g<u&&(i[p]=v+1)}let d=a.previousIndex;i[d]=c-u}}o!==l&&e(a,o,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!Qy(e))throw new $(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,r=!1,n,i,a;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)i=e[o],a=this._trackByFn(o,i),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,i,a,o),r=!0):(r&&(t=this._verifyReinsertion(t,i,a,o)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else n=0,dY(e,o=>{a=this._trackByFn(n,o),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,o,a,n),r=!0):(r&&(t=this._verifyReinsertion(t,o,a,n)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next,n++}),this.length=n;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,n){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,n),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,n)):e=this._addAfter(new qK(t,r),i,n)),e}_verifyReinsertion(e,t,r,n){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,i=e._nextRemoved;return n===null?this._removalsHead=i:n._nextRemoved=i,i===null?this._removalsTail=n:i._prevRemoved=n,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){let n=t===null?this._itHead:t._next;return e._next=n,e._prev=t,n===null?this._itTail=e:n._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new Vf),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,r=e._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Vf),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},qK=class{constructor(e,t){s(this,"item");s(this,"trackById");s(this,"currentIndex",null);s(this,"previousIndex",null);s(this,"_nextPrevious",null);s(this,"_prev",null);s(this,"_next",null);s(this,"_prevDup",null);s(this,"_nextDup",null);s(this,"_prevRemoved",null);s(this,"_nextRemoved",null);s(this,"_nextAdded",null);s(this,"_nextMoved",null);s(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},$K=class{constructor(){s(this,"_head",null);s(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let t=e._prevDup,r=e._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Vf=class{constructor(){s(this,"map",new Map)}put(e){let t=e.trackById,r=this.map.get(t);r||(r=new $K,this.map.set(t,r)),r.add(e)}get(e,t){let r=e,n=this.map.get(r);return n?n.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function zf(e,t,r){let n=e.previousIndex;if(n===null)return n;let i=0;return r&&n<r.length&&(i=r[n]),n+t+i}var GK=class{constructor(){}supports(e){return e instanceof Map||Ip(e)}create(){return new UK}},UK=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||Ip(e)))throw new $(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(n,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let i=n._prev,a=n._next;return i&&(i._next=a),a&&(a._prev=i),n._next=null,n._prev=null,n}let r=new ZK(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}},ZK=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 Bf(){return new Ka([new zK])}var Ka=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,i){if(i!=null){let a=i.factories.slice();n=n.concat(a)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||Bf()),deps:[[t,new Ah,new Mh]]}}find(n){let i=this.factories.find(a=>a.supports(n));if(i!=null)return i;throw new $(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:Bf}));let e=t;return e})();function Hf(){return new __([new GK])}var __=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,i){if(i){let a=i.factories.slice();n=n.concat(a)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||Hf()),deps:[[t,new Ah,new Mh]]}}find(n){let i=this.factories.find(a=>a.supports(n));if(i)return i;throw new $(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:Hf}));let e=t;return e})();function WK(e){let{rootComponent:t,appProviders:r,platformProviders:n,platformRef:i}=e;try{let a=(i==null?void 0:i.injector)??PK(n),o=[kK({}),{provide:qa,useExisting:IK},...r||[]],l=new Zy({providers:o,parent:a,debugName:"",runEnvironmentInitializers:!1});return OK({r3Injector:l.injector,platformInjector:a,rootComponent:t})}catch(a){return Promise.reject(a)}finally{}}function Xt(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function w_(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Fd(e){return c6(e)}function Ti(e,t){return t6(e,t==null?void 0:t.equal)}var Cv,YK=(Cv=mn,class{constructor(e){s(this,Cv);this[mn]=e}destroy(){this[mn].destroy()}});function KK(e,t){!(t!=null&&t.injector)&&as();let r=(t==null?void 0:t.injector)??S(dt),n=(t==null?void 0:t.manualCleanup)!==!0?r.get(pr):null,i,a=r.get(lp,null,{optional:!0}),o=r.get(qa);return a!==null&&!(t!=null&&t.forceRoot)?(i=JK(a.view,o,e),n instanceof Rb&&n._lView===a.view&&(n=null)):i=eQ(e,r.get(e_),o),i.injector=r,n!==null&&(i.onDestroyFn=n.onDestroy(()=>i.destroy())),new YK(i)}var x_=Ut(ce({},Fa),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:No,run(){if(this.dirty=!1,this.hasRun&&!wh(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=ko(this),r=Ol(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ol(r),du(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),QK=Ut(ce({},x_),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){hu(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),XK=Ut(ce({},x_),{consumerMarkedDirty(){this.view[fe]|=8192,Ha(this.view),this.notifier.notify(13)},destroy(){var e;hu(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Or])==null||e.delete(this)}});function JK(e,t,r){let n=Object.create(XK);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=r,e[Or]??(e[Or]=new Set),e[Or].add(n),n.consumerMarkedDirty(n),n}function eQ(e,t,r){let n=Object.create(QK);return n.fn=e,n.scheduler=t,n.notifier=r,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var tQ=e=>e;function nQ(e,t){if(typeof e=="function"){let r=jm(e,tQ,t==null?void 0:t.equal);return qf(r)}else{let r=jm(e.source,e.computation,e.equal);return qf(r)}}function qf(e){let t=e[mn],r=e;return r.set=n=>s6(t,n),r.update=n=>l6(t,n),r.asReadonly=ap.bind(e),r}function E_(e,t){let r=Sa(e),n=t.elementInjector||vu();return new Cp(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var rQ={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function iQ(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function aQ(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var fc;function oQ(e,t){if(!fc){let r=Element.prototype;fc=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?fc.call(e,t):!1}function sQ(e){let t={};return e.forEach(({propName:r,templateName:n,transform:i})=>{t[iQ(n)]=[r,i]}),t}function lQ(e,t){return t.get(ms).resolveComponentFactory(e).inputs}function uQ(e,t){let r=e.childNodes,n=t.map(()=>[]),i=-1;t.some((a,o)=>a==="*"?(i=o,!0):!1);for(let a=0,o=r.length;a<o;++a){let l=r[a],u=cQ(l,t,i);u!==-1&&n[u].push(l)}return n}function cQ(e,t,r){let n=r;return aQ(e)&&t.some((i,a)=>i!=="*"&&oQ(e,i)?(n=a,!0):!1),n}var dQ=10,hQ=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(ms).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new pQ(this.componentFactory,e,this.inputMap)}},pQ=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new Ch(1));s(this,"events",this.eventEmitters.pipe(Sl(e=>Ea(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get($e),this.appRef=this.injector.get(ci),this.cdScheduler=t.get(qa),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=rQ.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},dQ))})}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),KZ(this.componentRef.hostView)&&(QZ(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=dt.create({providers:[],parent:this.injector}),r=uQ(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:r,templateName:n})=>{let i=e.instance[r];return new ht(a=>{let o=i.subscribe(l=>a.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()}},mQ=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function fQ(e,t){let r=lQ(e,t.injector),n=t.strategyFactory||new hQ(e,t.injector),i=sQ(r);class a extends mQ{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let p=this[c];delete this[c],u.setInputValue(c,p,d)})}return this._ngElementStrategy}attributeChangedCallback(u,c,d,p){let[v,g]=i[u];this.ngElementStrategy.setInputValue(v,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(a,"observedAttributes",Object.keys(i)),r.forEach(({propName:o,transform:l})=>{Object.defineProperty(a.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),a}var Ve=new J(""),S_=null;function wo(){return S_}function gQ(e){S_??(S_=e)}var vQ=class{},k_=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(bQ),providedIn:"platform"}));let e=t;return e})(),bQ=(()=>{const t=class t extends k_{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",S(Ve));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return wo().getBaseHref(this._doc)}onPopState(i){let a=wo().getGlobalEventTarget(this._doc,"window");return a.addEventListener("popstate",i,!1),()=>a.removeEventListener("popstate",i)}onHashChange(i){let a=wo().getGlobalEventTarget(this._doc,"window");return a.addEventListener("hashchange",i,!1),()=>a.removeEventListener("hashchange",i)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(i){this._location.pathname=i}pushState(i,a,o){this._history.pushState(i,a,o)}replaceState(i,a,o){this._history.replaceState(i,a,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function C_(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function $f(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Ri(e){return e&&e[0]!=="?"?`?${e}`:e}var Lp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(_Q),providedIn:"root"}));let e=t;return e})(),yQ=new J(""),_Q=(()=>{const t=class t extends Lp{constructor(i,a){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=i,this._baseHref=a??this._platformLocation.getBaseHrefFromDOM()??((o=S(Ve).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return C_(this._baseHref,i)}path(i=!1){let a=this._platformLocation.pathname+Ri(this._platformLocation.search),o=this._platformLocation.hash;return o&&i?`${a}${o}`:a}pushState(i,a,o,l){let u=this.prepareExternalUrl(o+Ri(l));this._platformLocation.pushState(i,a,u)}replaceState(i,a,o,l){let u=this.prepareExternalUrl(o+Ri(l));this._platformLocation.replaceState(i,a,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var a,o;(o=(a=this._platformLocation).historyGo)==null||o.call(a,i)}};s(t,"ɵfac",function(i){return new(i||t)(oe(k_),oe(yQ,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),D_=(()=>{const t=class t{constructor(n){s(this,"_subject",new be);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=EQ($f(Gf(i))),this._locationStrategy.onPopState(a=>{this._subject.next({url:this.path(!0),pop:!0,state:a.state,type:a.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,i=""){return this.path()==this.normalize(n+Ri(i))}normalize(n){return t.stripTrailingSlash(xQ(this._basePath,Gf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",a=null){this._locationStrategy.pushState(a,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ri(i)),a)}replaceState(n,i="",a=null){this._locationStrategy.replaceState(a,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ri(i)),a)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var i,a;(a=(i=this._locationStrategy).historyGo)==null||a.call(i,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var a;let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((a=this._urlChangeSubscription)==null||a.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(a=>a(n,i))}subscribe(n,i,a){return this._subject.subscribe({next:n,error:i??void 0,complete:a??void 0})}};s(t,"normalizeQueryParams",Ri),s(t,"joinWithSlash",C_),s(t,"stripTrailingSlash",$f),s(t,"ɵfac",function(n){return new(n||t)(oe(Lp))}),s(t,"ɵprov",z({token:t,factory:()=>wQ(),providedIn:"root"}));let e=t;return e})();function wQ(){return new D_(oe(Lp))}function xQ(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Gf(e){return e.replace(/\/index.html$/,"")}function EQ(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var an=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(an||{}),Ye=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ye||{}),bn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(bn||{}),Lu={MinusSign:5};function SQ(e){return Yn(e)[Ot.LocaleId]}function kQ(e,t,r){let n=Yn(e),i=[n[Ot.DayPeriodsFormat],n[Ot.DayPeriodsStandalone]],a=Pn(i,t);return Pn(a,r)}function CQ(e,t,r){let n=Yn(e),i=[n[Ot.DaysFormat],n[Ot.DaysStandalone]],a=Pn(i,t);return Pn(a,r)}function DQ(e,t,r){let n=Yn(e),i=[n[Ot.MonthsFormat],n[Ot.MonthsStandalone]],a=Pn(i,t);return Pn(a,r)}function IQ(e,t){let r=Yn(e)[Ot.Eras];return Pn(r,t)}function Fs(e,t){let r=Yn(e);return Pn(r[Ot.DateFormat],t)}function js(e,t){let r=Yn(e);return Pn(r[Ot.TimeFormat],t)}function Vs(e,t){let r=Yn(e)[Ot.DateTimeFormat];return Pn(r,t)}function Fu(e,t){return Yn(e)[Ot.NumberSymbols][t]}function I_(e){if(!e[Ot.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Ot.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function TQ(e){let t=Yn(e);return I_(t),(t[Ot.ExtraData][2]||[]).map(r=>typeof r=="string"?gc(r):[gc(r[0]),gc(r[1])])}function RQ(e,t,r){let n=Yn(e);I_(n);let i=[n[Ot.ExtraData][0],n[Ot.ExtraData][1]],a=Pn(i,t)||[];return Pn(a,r)||[]}function Pn(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function gc(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var OQ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,na={},NQ=/((?:[^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 MQ(e,t,r,n){let i=HQ(e);t=Ir(r,t)||t;let a=[],o;for(;t;)if(o=NQ.exec(t),o){a=a.concat(o.slice(1));let c=a.pop();if(!c)break;t=c}else{a.push(t);break}let l=i.getTimezoneOffset();n&&(l=R_(n,l),i=BQ(i,n));let u="";return a.forEach(c=>{let d=VQ(c);u+=d?d(i,r,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function $l(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function Ir(e,t){let r=SQ(e);if(na[r]??(na[r]={}),na[r][t])return na[r][t];let n="";switch(t){case"shortDate":n=Fs(e,bn.Short);break;case"mediumDate":n=Fs(e,bn.Medium);break;case"longDate":n=Fs(e,bn.Long);break;case"fullDate":n=Fs(e,bn.Full);break;case"shortTime":n=js(e,bn.Short);break;case"mediumTime":n=js(e,bn.Medium);break;case"longTime":n=js(e,bn.Long);break;case"fullTime":n=js(e,bn.Full);break;case"short":let i=Ir(e,"shortTime"),a=Ir(e,"shortDate");n=zs(Vs(e,bn.Short),[i,a]);break;case"medium":let o=Ir(e,"mediumTime"),l=Ir(e,"mediumDate");n=zs(Vs(e,bn.Medium),[o,l]);break;case"long":let u=Ir(e,"longTime"),c=Ir(e,"longDate");n=zs(Vs(e,bn.Long),[u,c]);break;case"full":let d=Ir(e,"fullTime"),p=Ir(e,"fullDate");n=zs(Vs(e,bn.Full),[d,p]);break}return n&&(na[r][t]=n),n}function zs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function Bn(e,t,r="-",n,i){let a="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,a=r));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),a+o}function AQ(e,t){return Bn(e,3).substring(0,t)}function Ct(e,t,r=0,n=!1,i=!1){return function(a,o){let l=PQ(e,a);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return AQ(l,t);let u=Fu(o,Lu.MinusSign);return Bn(l,t,u,n,i)}}function PQ(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function Xe(e,t,r=an.Format,n=!1){return function(i,a){return LQ(i,a,e,t,r,n)}}function LQ(e,t,r,n,i,a){switch(r){case 2:return DQ(t,i,n)[e.getMonth()];case 1:return CQ(t,i,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(a){let c=TQ(t),d=RQ(t,i,n),p=c.findIndex(v=>{if(Array.isArray(v)){let[g,w]=v,x=o>=g.hours&&l>=g.minutes,k=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&k)return!0}else if(x||k)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(p!==-1)return d[p]}return kQ(t,i,n)[o<12?0:1];case 3:return IQ(t,n)[e.getFullYear()<=0?0:1];default:let u=r;throw new Error(`unexpected translation type ${u}`)}}function Bs(e){return function(t,r,n){let i=-1*n,a=Fu(r,Lu.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return(i>=0?"+":"")+Bn(o,2,a)+Bn(Math.abs(i%60),2,a);case 1:return"GMT"+(i>=0?"+":"")+Bn(o,1,a);case 2:return"GMT"+(i>=0?"+":"")+Bn(o,2,a)+":"+Bn(Math.abs(i%60),2,a);case 3:return n===0?"Z":(i>=0?"+":"")+Bn(o,2,a)+":"+Bn(Math.abs(i%60),2,a);default:throw new Error(`Unknown zone width "${e}"`)}}}var FQ=0,pl=4;function jQ(e){let t=$l(e,FQ,1).getDay();return $l(e,0,1+(t<=pl?pl:pl+7)-t)}function T_(e){let t=e.getDay(),r=t===0?-3:pl-t;return $l(e.getFullYear(),e.getMonth(),e.getDate()+r)}function vc(e,t=!1){return function(r,n){let i;if(t){let a=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();i=1+Math.floor((o+a)/7)}else{let a=T_(r),o=jQ(a.getFullYear()),l=a.getTime()-o.getTime();i=1+Math.round(l/6048e5)}return Bn(i,e,Fu(n,Lu.MinusSign))}}function Hs(e,t=!1){return function(r,n){let i=T_(r).getFullYear();return Bn(i,e,Fu(n,Lu.MinusSign),t)}}var bc={};function VQ(e){if(bc[e])return bc[e];let t;switch(e){case"G":case"GG":case"GGG":t=Xe(3,Ye.Abbreviated);break;case"GGGG":t=Xe(3,Ye.Wide);break;case"GGGGG":t=Xe(3,Ye.Narrow);break;case"y":t=Ct(0,1,0,!1,!0);break;case"yy":t=Ct(0,2,0,!0,!0);break;case"yyy":t=Ct(0,3,0,!1,!0);break;case"yyyy":t=Ct(0,4,0,!1,!0);break;case"Y":t=Hs(1);break;case"YY":t=Hs(2,!0);break;case"YYY":t=Hs(3);break;case"YYYY":t=Hs(4);break;case"M":case"L":t=Ct(1,1,1);break;case"MM":case"LL":t=Ct(1,2,1);break;case"MMM":t=Xe(2,Ye.Abbreviated);break;case"MMMM":t=Xe(2,Ye.Wide);break;case"MMMMM":t=Xe(2,Ye.Narrow);break;case"LLL":t=Xe(2,Ye.Abbreviated,an.Standalone);break;case"LLLL":t=Xe(2,Ye.Wide,an.Standalone);break;case"LLLLL":t=Xe(2,Ye.Narrow,an.Standalone);break;case"w":t=vc(1);break;case"ww":t=vc(2);break;case"W":t=vc(1,!0);break;case"d":t=Ct(2,1);break;case"dd":t=Ct(2,2);break;case"c":case"cc":t=Ct(7,1);break;case"ccc":t=Xe(1,Ye.Abbreviated,an.Standalone);break;case"cccc":t=Xe(1,Ye.Wide,an.Standalone);break;case"ccccc":t=Xe(1,Ye.Narrow,an.Standalone);break;case"cccccc":t=Xe(1,Ye.Short,an.Standalone);break;case"E":case"EE":case"EEE":t=Xe(1,Ye.Abbreviated);break;case"EEEE":t=Xe(1,Ye.Wide);break;case"EEEEE":t=Xe(1,Ye.Narrow);break;case"EEEEEE":t=Xe(1,Ye.Short);break;case"a":case"aa":case"aaa":t=Xe(0,Ye.Abbreviated);break;case"aaaa":t=Xe(0,Ye.Wide);break;case"aaaaa":t=Xe(0,Ye.Narrow);break;case"b":case"bb":case"bbb":t=Xe(0,Ye.Abbreviated,an.Standalone,!0);break;case"bbbb":t=Xe(0,Ye.Wide,an.Standalone,!0);break;case"bbbbb":t=Xe(0,Ye.Narrow,an.Standalone,!0);break;case"B":case"BB":case"BBB":t=Xe(0,Ye.Abbreviated,an.Format,!0);break;case"BBBB":t=Xe(0,Ye.Wide,an.Format,!0);break;case"BBBBB":t=Xe(0,Ye.Narrow,an.Format,!0);break;case"h":t=Ct(3,1,-12);break;case"hh":t=Ct(3,2,-12);break;case"H":t=Ct(3,1);break;case"HH":t=Ct(3,2);break;case"m":t=Ct(4,1);break;case"mm":t=Ct(4,2);break;case"s":t=Ct(5,1);break;case"ss":t=Ct(5,2);break;case"S":t=Ct(6,1);break;case"SS":t=Ct(6,2);break;case"SSS":t=Ct(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Bs(0);break;case"ZZZZZ":t=Bs(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Bs(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Bs(2);break;default:return null}return bc[e]=t,t}function R_(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function zQ(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function BQ(e,t,r){let n=e.getTimezoneOffset(),i=R_(t,n);return zQ(e,-1*(i-n))}function HQ(e){if(Uf(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[i,a=1,o=1]=e.split("-").map(l=>+l);return $l(i,a-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(OQ))return qQ(n)}let t=new Date(e);if(!Uf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function qQ(e){let t=new Date(0),r=0,n=0,i=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-r,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return a.call(t,o,l,u,c),t}function Uf(e){return e instanceof Date&&!isNaN(e.valueOf())}var yc=/\s+/,Zf=[],Fp=(()=>{const t=class t{constructor(n,i){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",Zf);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(yc):Zf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(yc):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let a=this.stateMap.get(n);a!==void 0?(a.enabled!==i&&(a.changed=!0,a.enabled=i),a.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],a=n[1];a.changed?(this._toggleClass(i,a.enabled),a.changed=!1):a.touched||(a.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),a.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(yc).forEach(a=>{i?this._renderer.addClass(this._ngEl.nativeElement,a):this._renderer.removeClass(this._ngEl.nativeElement,a)})}};s(t,"ɵfac",function(n){return new(n||t)($t(lt),$t(Za))}),s(t,"ɵdir",Se({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),$Q=(()=>{const t=class t{constructor(n,i,a){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=i,this._renderer=a}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,i){let[a,o]=n.split("."),l=a.indexOf("-")===-1?void 0:da.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,a,o?`${i}${o}`:i,l):this._renderer.removeStyle(this._ngEl.nativeElement,a,l)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)($t(lt),$t(__),$t(Za))}),s(t,"ɵdir",Se({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),GQ=(()=>{const t=class t{constructor(n){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let a=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,a,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,a)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,a):!1,get:(n,i,a)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,a)}})}};s(t,"ɵfac",function(n){return new(n||t)($t(Zn))}),s(t,"ɵdir",Se({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gi]}));let e=t;return e})();function jp(e,t){return new $(2100,!1)}var UQ=class{createSubscription(e,t){return Fd(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){Fd(()=>e.unsubscribe())}},ZQ=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},WQ=new ZQ,YQ=new UQ,KQ=(()=>{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,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Tp(n))return WQ;if(t_(n))return YQ;throw jp()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){var a;n===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&((a=this._ref)==null||a.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)($t(pi,16))}),s(t,"ɵpipe",Wn({name:"async",type:t,pure:!1}));let e=t;return e})(),QQ="mediumDate",XQ=new J(""),JQ=new J(""),Vp=(()=>{const t=class t{constructor(n,i,a){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=i,this.defaultOptions=a}transform(n,i,a,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=i??((l=this.defaultOptions)==null?void 0:l.dateFormat)??QQ,d=a??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return MQ(n,c,o||this.locale,d)}catch(c){throw jp(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)($t(Pu,16),$t(XQ,24),$t(JQ,24))}),s(t,"ɵpipe",Wn({name:"date",type:t,pure:!0}));let e=t;return e})(),O_=(()=>{const t=class t{transform(n,i,a){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw jp();return n.slice(i,a)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",Wn({name:"slice",type:t,pure:!1}));let e=t;return e})(),N_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})();function M_(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[i,a]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===t)return decodeURIComponent(a)}return null}var A_="browser",eX="server";function tX(e){return e===A_}function P_(e){return e===eX}var L_=class{};function ju(e,t,r){return oK(e,t,r)}var jd=new J(""),F_=(()=>{const t=class t{constructor(n,i){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=i,n.forEach(a=>{a.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,a,o){return this._findPluginFor(i).addEventListener(n,i,a,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(a=>a.supports(n)),!i)throw new $(5101,!1);return this._eventNameToPlugin.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)(oe(jd),oe($e))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),j_=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},ml="ng-app-id";function Wf(e){for(let t of e)t.remove()}function Yf(e,t){let r=t.createElement("style");return r.textContent=e,r}function nX(e,t,r,n){var a;let i=(a=e.head)==null?void 0:a.querySelectorAll(`style[${ml}="${t}"],link[${ml}="${t}"]`);if(i)for(let o of i)o.removeAttribute(ml),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&r.set(o.textContent,{usage:0,elements:[o]})}function Vd(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var V_=(()=>{const t=class t{constructor(n,i,a,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=i,this.nonce=a,this.isServer=P_(o),nX(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let a of n)this.addUsage(a,this.inline,Yf);i==null||i.forEach(a=>this.addUsage(a,this.external,Vd))}removeStyles(n,i){for(let a of n)this.removeUsage(a,this.inline);i==null||i.forEach(a=>this.removeUsage(a,this.external))}addUsage(n,i,a){let o=i.get(n);o?o.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,a(n,this.doc)))})}removeUsage(n,i){let a=i.get(n);a&&(a.usage--,a.usage<=0&&(Wf(a.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Wf(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:a}]of this.inline)a.push(this.addElement(n,Yf(i,this.doc)));for(let[i,{elements:a}]of this.external)a.push(this.addElement(n,Vd(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(ml,this.appId),n.appendChild(i)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(Eu),oe(op,8),oe(Su))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),_c={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"},zp=/%COMP%/g,z_="%COMP%",rX=`_nghost-${z_}`,iX=`_ngcontent-${z_}`,aX=!0,oX=new J("",{providedIn:"root",factory:()=>aX});function sX(e){return iX.replace(zp,e)}function lX(e){return rX.replace(zp,e)}function B_(e,t){return t.map(r=>r.replace(zp,e))}var zd=(()=>{const t=class t{constructor(n,i,a,o,l,u,c,d=null,p=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=i,this.appId=a,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=d,this.tracingService=p,this.platformIsServer=P_(u),this.defaultRenderer=new Bp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Nr.ShadowDom&&(i=Ut(ce({},i),{encapsulation:Nr.Emulated}));let a=this.getOrCreateRenderer(n,i);return a instanceof Qf?a.applyToHost(n):a instanceof Bd&&a.applyStyles(),a}getOrCreateRenderer(n,i){let a=this.rendererByCompId,o=a.get(i.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(i.encapsulation){case Nr.Emulated:o=new Qf(c,d,i,this.appId,p,l,u,v,g);break;case Nr.ShadowDom:return new uX(c,d,n,i,l,u,this.nonce,v,g);default:o=new Bd(c,d,i,p,l,u,v,g);break}a.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(oe(F_),oe(V_),oe(Eu),oe(oX),oe(Ve),oe(Su),oe($e),oe(op),oe(cs,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Bp=class{constructor(e,t,r,n,i){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=r,this.platformIsServer=n,this.tracingService=i}destroy(){}createElement(e,t){return t?this.doc.createElementNS(_c[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Kf(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(Kf(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new $(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let i=_c[n];i?e.setAttributeNS(i,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=_c[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(da.DashCase|da.Important)?e.style.setProperty(t,r,n&da.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&da.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){var a;if(typeof e=="string"&&(e=wo().getGlobalEventTarget(this.doc,e),!e))throw new $(5102,!1);let i=this.decoratePreventDefault(r);return(a=this.tracingService)!=null&&a.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Kf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var uX=class extends Bp{constructor(t,r,n,i,a,o,l,u,c){var v;super(t,a,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=B_(i.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 p=(v=i.getExternalStyles)==null?void 0:v.call(i);if(p)for(let g of p){let w=Vd(g,a);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Bd=class extends Bp{constructor(t,r,n,i,a,o,l,u,c){var p;super(t,a,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i;let d=n.styles;this.styles=c?B_(c,d):d,this.styleUrls=(p=n.getExternalStyles)==null?void 0:p.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Qf=class extends Bd{constructor(t,r,n,i,a,o,l,u,c){let d=i+"-"+n.id;super(t,r,n,a,o,l,u,c,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=sX(d),this.hostAttr=lX(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},cX=class H_ extends vQ{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){gQ(new H_)}onAndCancel(r,n,i,a){return r.addEventListener(n,i,a),()=>{r.removeEventListener(n,i,a)}}dispatchEvent(r,n){r.dispatchEvent(n)}remove(r){r.remove()}createElement(r,n){return n=n||this.getDefaultDocument(),n.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,n){return n==="window"?window:n==="document"?r:n==="body"?r.body:null}getBaseHref(r){let n=dX();return n==null?null:hX(n)}resetBaseElement(){fo=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return M_(document.cookie,r)}},fo=null;function dX(){return fo=fo||document.head.querySelector("base"),fo?fo.getAttribute("href"):null}function hX(e){return new URL(e,document.baseURI).pathname}var pX=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),mX=(()=>{const t=class t extends j_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,a,o){return n.addEventListener(i,a,o),()=>this.removeEventListener(n,i,a,o)}removeEventListener(n,i,a,o){return n.removeEventListener(i,a,o)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Xf=["alt","control","meta","shift"],fX={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gX={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vX=(()=>{const t=class t extends j_{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,i,a,o){let l=t.parseEventName(i),u=t.eventCallback(l.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>wo().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let i=n.toLowerCase().split("."),a=i.shift();if(i.length===0||!(a==="keydown"||a==="keyup"))return null;let o=t._normalizeKey(i.pop()),l="",u=i.indexOf("code");if(u>-1&&(i.splice(u,1),l="code."),Xf.forEach(d=>{let p=i.indexOf(d);p>-1&&(i.splice(p,1),l+=d+".")}),l+=o,i.length!=0||o.length===0)return null;let c={};return c.domEventName=a,c.fullKey=l,c}static matchEventFullKeyCode(n,i){let a=fX[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(a=n.code,o="code."),a==null||!a?!1:(a=a.toLowerCase(),a===" "?a="space":a==="."&&(a="dot"),Xf.forEach(l=>{if(l!==a){let u=gX[l];u(n)&&(o+=l+".")}}),o+=a,o===i)}static eventCallback(n,i,a){return o=>{t.matchEventFullKeyCode(o,n)&&a.runGuarded(()=>i(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function bX(e){return WK(yX(e))}function yX(e){return{appProviders:[...SX,...(e==null?void 0:e.providers)??[]],platformProviders:EX}}function _X(){cX.makeCurrent()}function wX(){return new Gn}function xX(){return JU(document),document}var EX=[{provide:Su,useValue:A_},{provide:Gb,useValue:_X,multi:!0},{provide:Ve,useFactory:xX}],SX=[{provide:Vh,useValue:"root"},{provide:Gn,useFactory:wX},{provide:jd,useClass:mX,multi:!0,deps:[Ve]},{provide:jd,useClass:vX,multi:!0,deps:[Ve]},zd,V_,F_,{provide:Un,useExisting:zd},{provide:L_,useClass:pX},[]],Hp=class{},q_=class{},Ma=class fl{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
19
- `).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),a=r.slice(n+1).trim();this.addHeaderEntry(i,a)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof fl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new fl;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof fl?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let a=t.value;if(!a)this.headers.delete(r),this.normalizedNames.delete(r);else{let o=this.headers.get(r);if(!o)return;o=o.filter(l=>a.indexOf(l)===-1),o.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,o)}break}}addHeaderEntry(t,r){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(t,r){let n=(Array.isArray(r)?r:[r]).map(a=>a.toString()),i=t.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},kX=class{encodeKey(e){return Jf(e)}encodeValue(e){return Jf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function CX(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let i=n.indexOf("="),[a,o]=i==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,i)),t.decodeValue(n.slice(i+1))],l=r.get(a)||[];l.push(o),r.set(a,l)}),r}var DX=/%(\d[a-f0-9])/gi,IX={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Jf(e){return encodeURIComponent(e).replace(DX,(t,r)=>IX[r]??t)}function qs(e){return`${e}`}var ba=class $_{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new kX,t.fromString){if(t.fromObject)throw new $(2805,!1);this.map=CX(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],i=Array.isArray(n)?n.map(qs):[qs(n)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let i=t[n];Array.isArray(i)?i.forEach(a=>{r.push({param:n,value:a,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new $_({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(qs(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],i=n.indexOf(qs(t.value));i!==-1&&n.splice(i,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)}},TX=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 RX(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function eg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function tg(e){return typeof Blob<"u"&&e instanceof Blob}function ng(e){return typeof FormData<"u"&&e instanceof FormData}function OX(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var rg="Content-Type",ig="Accept",G_="X-Request-URL",U_="text/plain",Z_="application/json",NX=`${Z_}, ${U_}, */*`,wc=class W_{constructor(t,r,n,i){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=r,this.method=t.toUpperCase();let a;if(RX(this.method)||i?(this.body=n!==void 0?n:null,a=i):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??(this.headers=new Ma),this.context??(this.context=new TX),!this.params)this.params=new ba,this.urlWithParams=r;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),u=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||eg(this.body)||tg(this.body)||ng(this.body)||OX(this.body)?this.body:this.body instanceof ba?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||ng(this.body)?null:tg(this.body)?this.body.type||null:eg(this.body)?null:typeof this.body=="string"?U_:this.body instanceof ba?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Z_:null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,a=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,d=t.params||this.params,p=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),c)),t.setParams&&(d=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),d)),new W_(r,n,o,{params:d,headers:c,context:p,reportProgress:u,responseType:i,withCredentials:l,transferCache:a})}},ya=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}(ya||{}),qp=class{constructor(e,t=200,r="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Ma,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},MX=class Y_ extends qp{constructor(r={}){super(r);s(this,"type",ya.ResponseHeader)}clone(r={}){return new Y_({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},K_=class Q_ extends qp{constructor(r={}){super(r);s(this,"body");s(this,"type",ya.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new Q_({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},ag=class extends qp{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}},AX=200,PX=204;function xc(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 Qa=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,i,a={}){let o;if(n instanceof wc)o=n;else{let c;a.headers instanceof Ma?c=a.headers:c=new Ma(a.headers);let d;a.params&&(a.params instanceof ba?d=a.params:d=new ba({fromObject:a.params})),o=new wc(n,i,a.body!==void 0?a.body:null,{headers:c,context:a.context,params:d,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials,transferCache:a.transferCache})}let l=Je(o).pipe(w0(c=>this.handler.handle(c)));if(n instanceof wc||a.observe==="events")return l;let u=l.pipe(ei(c=>c instanceof K_));switch(a.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(Tt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new $(2806,!1);return c.body}));case"blob":return u.pipe(Tt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new $(2807,!1);return c.body}));case"text":return u.pipe(Tt(c=>{if(c.body!==null&&typeof c.body!="string")throw new $(2808,!1);return c.body}));case"json":default:return u.pipe(Tt(c=>c.body))}case"response":return u;default:throw new $(2809,!1)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new ba().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,a={}){return this.request("PATCH",n,xc(a,i))}post(n,i,a={}){return this.request("POST",n,xc(a,i))}put(n,i,a={}){return this.request("PUT",n,xc(a,i))}};s(t,"ɵfac",function(n){return new(n||t)(oe(Hp))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),LX=new J("");function FX(e,t){return t(e)}function jX(e,t,r){return(n,i)=>Bh(r,()=>t(n,a=>e(a,i)))}var $p=new J(""),VX=new J(""),zX=new J("",{providedIn:"root",factory:()=>!0}),og=(()=>{const t=class t extends Hp{constructor(i,a){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",S(us));s(this,"contributeToStability",S(zX));this.backend=i,this.injector=a}handle(i){if(this.chain===null){let a=Array.from(new Set([...this.injector.get($p),...this.injector.get(VX,[])]));this.chain=a.reduceRight((o,l)=>jX(o,l,this.injector),FX)}if(this.contributeToStability){let a=this.pendingTasks.add();return this.chain(i,o=>this.backend.handle(o)).pipe(x0(()=>this.pendingTasks.remove(a)))}else return this.chain(i,a=>this.backend.handle(a))}};s(t,"ɵfac",function(i){return new(i||t)(oe(q_),oe(ur))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),BX=/^\)\]\}',?\n/,HX=RegExp(`^${G_}:`,"m");function qX(e){return"responseURL"in e&&e.responseURL?e.responseURL:HX.test(e.getAllResponseHeaders())?e.getResponseHeader(G_):null}var sg=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new $(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?$i(i.ɵloadImpl()):Je(null)).pipe(Sl(()=>new ht(a=>{let o=i.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,k)=>o.setRequestHeader(x,k.join(","))),n.headers.has(ig)||o.setRequestHeader(ig,NX),!n.headers.has(rg)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(rg,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let x=o.statusText||"OK",k=new Ma(o.getAllResponseHeaders()),D=qX(o)||n.url;return u=new MX({headers:k,status:o.status,statusText:x,url:D}),u},d=()=>{let{headers:x,status:k,statusText:D,url:O}=c(),N=null;k!==PX&&(N=typeof o.response>"u"?o.responseText:o.response),k===0&&(k=N?AX:0);let X=k>=200&&k<300;if(n.responseType==="json"&&typeof N=="string"){let ue=N;N=N.replace(BX,"");try{N=N!==""?JSON.parse(N):null}catch(_e){N=ue,X&&(X=!1,N={error:_e,text:N})}}X?(a.next(new K_({body:N,headers:x,status:k,statusText:D,url:O||void 0})),a.complete()):a.error(new ag({error:N,headers:x,status:k,statusText:D,url:O||void 0}))},p=x=>{let{url:k}=c(),D=new ag({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:k||void 0});a.error(D)},v=!1,g=x=>{v||(a.next(c()),v=!0);let k={type:ya.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),n.responseType==="text"&&o.responseText&&(k.partialText=o.responseText),a.next(k)},w=x=>{let k={type:ya.UploadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),a.next(k)};return o.addEventListener("load",d),o.addEventListener("error",p),o.addEventListener("timeout",p),o.addEventListener("abort",p),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(l),a.next({type:ya.Sent}),()=>{o.removeEventListener("error",p),o.removeEventListener("abort",p),o.removeEventListener("load",d),o.removeEventListener("timeout",p),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)(oe(L_))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),X_=new J(""),$X="XSRF-TOKEN",GX=new J("",{providedIn:"root",factory:()=>$X}),UX="X-XSRF-TOKEN",ZX=new J("",{providedIn:"root",factory:()=>UX}),J_=class{},WX=(()=>{const t=class t{constructor(n,i){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=i}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=M_(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(GX))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),YX=/^(?:https?:)?\/\//i;function KX(e,t){if(!S(X_)||e.method==="GET"||e.method==="HEAD"||YX.test(e.url))return t(e);let r=S(J_).getToken(),n=S(ZX);return r!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,r)})),t(e)}var ew=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}(ew||{});function QX(e,t){return{ɵkind:e,ɵproviders:t}}function XX(...e){let t=[Qa,sg,og,{provide:Hp,useExisting:og},{provide:q_,useFactory:()=>S(LX,{optional:!0})??S(sg)},{provide:$p,useValue:KX,multi:!0},{provide:X_,useValue:!0},{provide:J_,useClass:WX}];for(let r of e)t.push(...r.ɵproviders);return Fh(t)}function JX(e){return QX(ew.Interceptors,e.map(t=>({provide:$p,useValue:t,multi:!0})))}var Gp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=oe(eJ),i},providedIn:"root"}));let e=t;return e})(),eJ=(()=>{const t=class t extends Gp{constructor(i){super();s(this,"_doc");this._doc=i}sanitize(i,a){if(a==null)return null;switch(i){case Pt.NONE:return a;case Pt.HTML:return Di(a,"HTML")?Rr(a):ry(this._doc,String(a)).toString();case Pt.STYLE:return Di(a,"Style")?Rr(a):a;case Pt.SCRIPT:if(Di(a,"Script"))return Rr(a);throw new $(5200,!1);case Pt.URL:return Di(a,"URL")?Rr(a):cp(String(a));case Pt.RESOURCE_URL:if(Di(a,"ResourceURL"))return Rr(a);throw new $(5201,!1);default:throw new $(5202,!1)}}bypassSecurityTrustHtml(i){return g8(i)}bypassSecurityTrustStyle(i){return v8(i)}bypassSecurityTrustScript(i){return b8(i)}bypassSecurityTrustUrl(i){return y8(i)}bypassSecurityTrustResourceUrl(i){return _8(i)}};s(t,"ɵfac",function(i){return new(i||t)(oe(Ve))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vs=class{},tJ=(()=>{const t=class t extends vs{getTranslation(n){return Je({})}};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),tw=class{},nJ=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Gl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,n=typeof t,i,a,o;if(r==n&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((i=e.length)==t.length){for(a=0;a<i;a++)if(!Gl(e[a],t[a]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(a in e){if(!Gl(e[a],t[a]))return!1;o[a]=!0}for(a in t)if(!(a in o)&&typeof t[a]<"u")return!1;return!0}return!1}function ni(e){return typeof e<"u"&&e!==null}function bs(e){return gl(e)&&!Up(e)&&e!==null}function gl(e){return typeof e=="object"}function Up(e){return Array.isArray(e)}function Zp(e){return typeof e=="string"}function rJ(e){return typeof e=="function"}function Hd(e,t){let r=Object.assign({},e);return gl(e)?(gl(e)&&gl(t)&&Object.keys(t).forEach(n=>{bs(t[n])?n in e?r[n]=Hd(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):Hd({},t)}function qd(e,t){let r=t.split(".");t="";do t+=r.shift(),ni(e)&&ni(e[t])&&(bs(e[t])||Up(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0;while(r.length);return e}function iJ(e,t,r){let n=t.split("."),i=e;for(let a=0;a<n.length;a++){let o=n[a];a===n.length-1?i[o]=r:((!i[o]||!bs(i[o]))&&(i[o]={}),i=i[o])}}var Wp=class{},aJ=(()=>{const t=class t extends Wp{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(i,a){if(Zp(i))return this.interpolateString(i,a);if(rJ(i))return this.interpolateFunction(i,a)}interpolateFunction(i,a){return i(a)}interpolateString(i,a){return a?i.replace(this.templateMatcher,(o,l)=>{let u=qd(a,l);return ni(u)?u:o}):i}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),ys=class{},oJ=(()=>{const t=class t extends ys{compile(n,i){return n}compileTranslations(n,i){return n}};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),$d=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Rt);s(this,"onLangChange",new Rt);s(this,"onDefaultLangChange",new Rt)}},nw=new J("ISOLATE_TRANSLATE_SERVICE"),rw=new J("USE_DEFAULT_LANG"),iw=new J("DEFAULT_LANGUAGE"),aw=new J("USE_EXTEND"),ao=e=>fa(e)?e:Je(e),Qn=(()=>{const t=class t{constructor(n,i,a,o,l,u=!0,c=!1,d=!1,p){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=i,this.compiler=a,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=u,this.extend=d,c&&(this.store=new $d),p&&this.setDefaultLang(p)}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 i=this.retrieveTranslations(n);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=n),i.pipe(sn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return Je(this.translations[n]);this.currentLang||(this.currentLang=n);let i=this.retrieveTranslations(n);return fa(i)?(i.pipe(sn(1)).subscribe(()=>{this.changeLang(n)}),i):(this.changeLang(n),Je(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 i=this.currentLoader.getTranslation(n).pipe($m(1),sn(1));return this.loadingTranslations=i.pipe(Tt(a=>this.compiler.compileTranslations(a,n)),$m(1),sn(1)),this.loadingTranslations.subscribe({next:a=>{this.translations[n]=this.extend&&this.translations[n]?ce(ce({},a),this.translations[n]):a,this.updateLangs(),this.pending=!1},error:a=>{this.pending=!1}}),i}setTranslation(n,i,a=!1){let o=this.compiler.compileTranslations(i,n);(a||this.extend)&&this.translations[n]?this.translations[n]=Hd(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 i=n.filter(a=>!this.langs.includes(a));i.length>0&&(this.langs=[...this.langs,...i])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,i,a){let o;if(n&&(o=this.runInterpolation(qd(n,i),a)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(qd(this.translations[this.defaultLang],i),a)),o===void 0){let l={key:i,translateService:this};typeof a<"u"&&(l.interpolateParams=a),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:i}runInterpolation(n,i){if(Up(n))return n.map(a=>this.runInterpolation(a,i));if(bs(n)){let a={};for(let o in n){let l=this.runInterpolation(n[o],i);l!==void 0&&(a[o]=l)}return a}else return this.parser.interpolate(n,i)}getParsedResult(n,i,a){if(i instanceof Array){let o={},l=!1;for(let c of i)o[c]=this.getParsedResultForKey(n,c,a),l=l||fa(o[c]);if(!l)return o;let u=i.map(c=>ao(o[c]));return y0(u).pipe(Tt(c=>{let d={};return c.forEach((p,v)=>{d[i[v]]=p}),d}))}return this.getParsedResultForKey(n,i,a)}get(n,i){if(!ni(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(w0(a=>ao(this.getParsedResult(a,n,i)))):ao(this.getParsedResult(this.translations[this.currentLang],n,i))}getStreamOnTranslationChange(n,i){if(!ni(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return To(El(()=>this.get(n,i)),this.onTranslationChange.pipe(Sl(a=>{let o=this.getParsedResult(a.translations,n,i);return ao(o)})))}stream(n,i){if(!ni(n)||!n.length)throw new Error('Parameter "key" required');return To(El(()=>this.get(n,i)),this.onLangChange.pipe(Sl(a=>{let o=this.getParsedResult(a.translations,n,i);return ao(o)})))}instant(n,i){if(!ni(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let a=this.getParsedResult(this.translations[this.currentLang],n,i);return fa(a)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:a}set(n,i,a=this.currentLang){iJ(this.translations[a],n,Zp(i)?this.compiler.compile(i,a):this.compiler.compileTranslations(i,a)),this.updateLangs(),this.onTranslationChange.emit({lang:a,translations:this.translations[a]})}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)(oe($d),oe(vs),oe(ys),oe(Wp),oe(tw),oe(rw),oe(nw),oe(aw),oe(iw))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qr=(()=>{const t=class t{constructor(n,i){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=i}updateValue(n,i,a){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(a){let l=this.translate.getParsedResult(a,n,i);fa(l)?l.subscribe(o):o(l)}this.translate.get(n,i).subscribe(o)}transform(n,...i){if(!n||!n.length)return n;if(Gl(n,this.lastKey)&&Gl(i,this.lastParams))return this.value;let a;if(ni(i[0])&&i.length)if(Zp(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{a=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else bs(i[0])&&(a=i[0]);return this.lastKey=n,this.lastParams=i,this.updateValue(n,a),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,a,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,a,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,a))})),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)($t(Qn,16),$t(pi,16))}),s(t,"ɵpipe",Wn({name:"translate",type:t,pure:!1})),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),sJ=(e={})=>Fh([e.loader||{provide:vs,useClass:tJ},e.compiler||{provide:ys,useClass:oJ},e.parser||{provide:Wp,useClass:aJ},e.missingTranslationHandler||{provide:tw,useClass:nJ},$d,{provide:nw,useValue:e.isolate},{provide:rw,useValue:e.useDefaultLang},{provide:aw,useValue:e.extend},{provide:iw,useValue:e.defaultLanguage},Qn]);function ow(e){return e.buttons===0||e.detail===0}function sw(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 Ec;function lJ(){if(Ec==null){let e=typeof document<"u"?document.head:null;Ec=!!(e&&(e.createShadowRoot||e.attachShadow))}return Ec}function uJ(e){if(lJ()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Sc(){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 Lr(e){return e.composedPath?e.composedPath()[0]:e.target}function ri(e,t,r,n,i){let a=parseInt(jf.major),o=parseInt(jf.minor);return a>19||a===19&&o>0||a===0&&o===0?e.listen(t,r,n,i):(t.addEventListener(r,n,i),()=>{t.removeEventListener(r,n,i)})}var Gd;try{Gd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Gd=!1}var dn=(()=>{const t=class t{constructor(){s(this,"_platformId",S(Su));s(this,"isBrowser",this._platformId?tX(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||Gd)&&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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),oo;function cJ(){if(oo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>oo=!0}))}finally{oo=oo||!1}return oo}function Yp(e){return cJ()?e:!!e.capture}function lg(e,t=0){return lw(e)?Number(e):arguments.length===2?t:0}function lw(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function _a(e){return e instanceof lt?e.nativeElement:e}var dJ=new J("cdk-input-modality-detector-options"),hJ={ignoreKeys:[18,17,224,91,16]},uw=650,kc={passive:!0,capture:!0},pJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new Mi(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var i,a;(a=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&a.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Lr(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<uw||(this._modality.next(ow(n)?"keyboard":"mouse"),this._mostRecentTarget=Lr(n))});s(this,"_onTouchstart",n=>{if(sw(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Lr(n)});let n=S($e),i=S(Ve),a=S(dJ,{optional:!0});if(this._options=ce(ce({},hJ),a),this.modalityDetected=this._modality.pipe(S0(1)),this.modalityChanged=this.modalityDetected.pipe(oG()),this._platform.isBrowser){let o=S(Un).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[ri(o,i,"keydown",this._onKeydown,kc),ri(o,i,"mousedown",this._onMousedown,kc),ri(o,i,"touchstart",this._onTouchstart,kc)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(i=>i())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vl=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(vl||{}),mJ=new J("cdk-focus-monitor-default-options"),$s=Yp({passive:!0,capture:!0}),Kp=(()=>{const t=class t{constructor(){s(this,"_ngZone",S($e));s(this,"_platform",S(dn));s(this,"_inputModalityDetector",S(pJ));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",S(Ve,{optional:!0}));s(this,"_stopInputModalityDetector",new be);s(this,"_rootNodeFocusAndBlurListener",n=>{let i=Lr(n);for(let a=i;a;a=a.parentElement)n.type==="focus"?this._onFocus(n,a):this._onBlur(n,a)});let n=S(mJ,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||vl.IMMEDIATE}monitor(n,i=!1){let a=_a(n);if(!this._platform.isBrowser||a.nodeType!==1)return Je();let o=uJ(a)||this._getDocument(),l=this._elementInfo.get(a);if(l)return i&&(l.checkChildren=!0),l.subject;let u={checkChildren:i,subject:new be,rootNode:o};return this._elementInfo.set(a,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let i=_a(n),a=this._elementInfo.get(i);a&&(a.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(a))}focusVia(n,i,a){let o=_a(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,i,c)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(a))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_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===vl.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===vl.IMMEDIATE){clearTimeout(this._originTimeoutId);let a=this._originFromTouchInteraction?uw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,a)}})}_onFocus(n,i){let a=this._elementInfo.get(i),o=Lr(n);!a||!a.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),a)}_onBlur(n,i){let a=this._elementInfo.get(i);!a||a.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(a,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,a=this._rootNodeFocusListenerCount.get(i)||0;a||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,$s),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,$s)}),this._rootNodeFocusListenerCount.set(i,a+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(oi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let a=this._rootNodeFocusListenerCount.get(i);a>1?this._rootNodeFocusListenerCount.set(i,a-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$s),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$s),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,a){this._setClasses(n,i),this._emitOrigin(a,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((a,o)=>{(o===n||a.checkChildren&&o.contains(n))&&i.push([o,a])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:a}=this._inputModalityDetector;if(a!=="mouse"||!i||i===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(i))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Gs=new WeakMap,Qi=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",S(dt));s(this,"_environmentInjector",S(ur))}load(n){let i=this._appRef=this._appRef||this._injector.get(ci),a=Gs.get(i);a||(a={loaders:new Set,refs:[]},Gs.set(i,a),i.onDestroy(()=>{var o;(o=Gs.get(i))==null||o.refs.forEach(l=>l.destroy()),Gs.delete(i)})),a.loaders.has(n)||(a.loaders.add(n),a.refs.push(E_(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,i){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
20
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Ul(e){return Array.isArray(e)?e:[e]}var ug=new Set,bi,fJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_nonce",S(op,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):vJ}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&gJ(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function gJ(e,t){if(!ug.has(e))try{bi||(bi=document.createElement("style"),t&&bi.setAttribute("nonce",t),bi.setAttribute("type","text/css"),document.head.appendChild(bi)),bi.sheet&&(bi.sheet.insertRule(`@media ${e} {body{ }}`,0),ug.add(e))}catch(r){console.error(r)}}function vJ(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Qp=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",S(fJ));s(this,"_zone",S($e));s(this,"_queries",new Map);s(this,"_destroySubject",new be)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return cg(Ul(n)).some(i=>this._registerQuery(i).mql.matches)}observe(n){let i=cg(Ul(n)).map(o=>this._registerQuery(o).observable),a=ol(i);return a=To(a.pipe(sn(1)),a.pipe(S0(1),aG(0))),a.pipe(Tt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),a={observable:new ht(o=>{let l=u=>this._zone.run(()=>o.next(u));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Rh(i),Tt(({matches:o})=>({query:n,matches:o})),oi(this._destroySubject)),mql:i};return this._queries.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function cg(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var bJ=(()=>{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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),yJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[bJ]}));let e=t;return e})(),dw=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return wJ(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=_J(TJ(n));if(i&&(dg(i)===-1||!this.isVisible(i)))return!1;let a=n.nodeName.toLowerCase(),o=dg(n);return n.hasAttribute("contenteditable")?o!==-1:a==="iframe"||a==="object"||this._platform.WEBKIT&&this._platform.IOS&&!DJ(n)?!1:a==="audio"?n.hasAttribute("controls")?o!==-1:!1:a==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return IJ(n)&&!this.isDisabled(n)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function _J(e){try{return e.frameElement}catch{return null}}function wJ(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function xJ(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function EJ(e){return kJ(e)&&e.type=="hidden"}function SJ(e){return CJ(e)&&e.hasAttribute("href")}function kJ(e){return e.nodeName.toLowerCase()=="input"}function CJ(e){return e.nodeName.toLowerCase()=="a"}function hw(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function dg(e){if(!hw(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function DJ(e){let t=e.nodeName.toLowerCase(),r=t==="input"&&e.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function IJ(e){return EJ(e)?!1:xJ(e)||SJ(e)||e.hasAttribute("contenteditable")||hw(e)}function TJ(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var RJ=class{constructor(e,t,r,n,i=!1,a){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=r,this._document=n,this._injector=a,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let r=this._getFirstTabbableElement(t);return r==null||r.focus(e),!!r}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let r=0;r<t.length;r++){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[r]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let r=t.length-1;r>=0;r--){let n=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?ku(e,{injector:this._injector}):setTimeout(e)}},OJ=(()=>{const t=class t{constructor(){s(this,"_checker",S(dw));s(this,"_ngZone",S($e));s(this,"_document",S(Ve));s(this,"_injector",S(dt));S(Qi).load(cw)}create(n,i=!1){return new RJ(n,this._checker,this._ngZone,this._document,i,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),NJ=new J("liveAnnouncerElement",{providedIn:"root",factory:MJ});function MJ(){return null}var AJ=new J("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),PJ=0,LJ=(()=>{const t=class t{constructor(){s(this,"_ngZone",S($e));s(this,"_defaultOptions",S(AJ,{optional:!0}));s(this,"_liveElement");s(this,"_document",S(Ve));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=S(NJ,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...i){let a=this._defaultOptions,o,l;return i.length===1&&typeof i[0]=="number"?l=i[0]:[o,l]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=a&&a.politeness?a.politeness:"polite"),l==null&&a&&(l=a.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,i;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),a=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return a.classList.add(n),a.classList.add("cdk-visually-hidden"),a.setAttribute("aria-atomic","true"),a.setAttribute("aria-live","polite"),a.id=`cdk-live-announcer-${PJ++}`,this._document.body.appendChild(a),a}_exposeAnnouncerToModals(n){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a<i.length;a++){let o=i[a],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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Si=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}(Si||{}),hg="cdk-high-contrast-black-on-white",pg="cdk-high-contrast-white-on-black",Cc="cdk-high-contrast-active",pw=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",S(Ve));s(this,"_breakpointSubscription");this._breakpointSubscription=S(Qp).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Si.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,a=i&&i.getComputedStyle?i.getComputedStyle(n):null,o=(a&&a.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Si.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Si.BLACK_ON_WHITE}return Si.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Cc,hg,pg),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Si.BLACK_ON_WHITE?n.add(Cc,hg):i===Si.WHITE_ON_BLACK&&n.add(Cc,pg)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),FJ=(()=>{const t=class t{constructor(){S(pw)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[yJ]}));let e=t;return e})(),Dc={},_s=(()=>{const t=class t{constructor(){s(this,"_appId",S(Eu))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Dc.hasOwnProperty(n)||(Dc[n]=0),`${n}${Dc[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function mw(e,...t){return t.length?t.some(r=>e[r]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var fw=" ";function jJ(e,t,r){let n=Zl(e,t);r=r.trim(),!n.some(i=>i.trim()===r)&&(n.push(r),e.setAttribute(t,n.join(fw)))}function VJ(e,t,r){let n=Zl(e,t);r=r.trim();let i=n.filter(a=>a!==r);i.length?e.setAttribute(t,i.join(fw)):e.removeAttribute(t)}function Zl(e,t){var r;return((r=e.getAttribute(t))==null?void 0:r.match(/\S+/g))??[]}var gw="cdk-describedby-message",Us="cdk-describedby-host",Ud=0,zJ=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_document",S(Ve));s(this,"_messageRegistry",new Map);s(this,"_messagesContainer",null);s(this,"_id",`${Ud++}`);S(Qi).load(cw),this._id=S(Eu)+"-"+Ud++}describe(n,i,a){if(!this._canBeDescribed(n,i))return;let o=Ic(i,a);typeof i!="string"?(mg(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,a),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o)}removeDescription(n,i,a){var l;if(!i||!this._isElementNode(n))return;let o=Ic(i,a);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),typeof i=="string"){let u=this._messageRegistry.get(o);u&&u.referenceCount===0&&this._deleteMessageElement(o)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let n=this._document.querySelectorAll(`[${Us}="${this._id}"]`);for(let a=0;a<n.length;a++)this._removeCdkDescribedByReferenceIds(n[a]),n[a].removeAttribute(Us);(i=this._messagesContainer)==null||i.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,i){let a=this._document.createElement("div");mg(a,this._id),a.textContent=n,i&&a.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(a),this._messageRegistry.set(Ic(n,i),{messageElement:a,referenceCount:0})}_deleteMessageElement(n){var i,a;(a=(i=this._messageRegistry.get(n))==null?void 0:i.messageElement)==null||a.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let a=this._document.createElement("div");a.style.visibility="hidden",a.classList.add(n),a.classList.add("cdk-visually-hidden"),this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._messagesContainer=a}_removeCdkDescribedByReferenceIds(n){let i=Zl(n,"aria-describedby").filter(a=>a.indexOf(gw)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let a=this._messageRegistry.get(i);jJ(n,"aria-describedby",a.messageElement.id),n.setAttribute(Us,this._id),a.referenceCount++}_removeMessageReference(n,i){let a=this._messageRegistry.get(i);a.referenceCount--,VJ(n,"aria-describedby",a.messageElement.id),n.removeAttribute(Us)}_isElementDescribedByMessage(n,i){let a=Zl(n,"aria-describedby"),o=this._messageRegistry.get(i),l=o&&o.messageElement.id;return!!l&&a.indexOf(l)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let a=i==null?"":`${i}`.trim(),o=n.getAttribute("aria-label");return a?!o||o.trim()!==a:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ic(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function mg(e,t){e.id||(e.id=`${gw}-${t}-${Ud++}`)}var BJ=new J("cdk-dir-doc",{providedIn:"root",factory:HJ});function HJ(){return S(Ve)}var qJ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function $J(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?qJ.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var zo=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Rt);let n=S(BJ,{optional:!0});if(n){let i=n.body?n.body.dir:null,a=n.documentElement?n.documentElement.dir:null;this.value=$J(i||a||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Bo=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})(),jr=(()=>{const t=class t{constructor(){S(pw)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Bo,Bo]}));let e=t;return e})(),Zd=new J("MAT_DATE_LOCALE",{providedIn:"root",factory:GJ});function GJ(){return S(Pu)}var ra="Method not implemented",vw=class{constructor(){s(this,"locale");s(this,"_localeChanges",new be);s(this,"localeChanges",this._localeChanges)}setTime(e,t,r,n){throw new Error(ra)}getHours(e){throw new Error(ra)}getMinutes(e){throw new Error(ra)}getSeconds(e){throw new Error(ra)}parseTime(e,t){throw new Error(ra)}addSeconds(e,t){throw new Error(ra)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}sameTime(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareTime(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}},UJ=new J("mat-date-formats"),bw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,i){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
21
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),rr=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(rr||{}),Zs,yi;function yw(){if(yi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return yi=!1,yi;if("scrollBehavior"in document.documentElement.style)yi=!0;else{let e=Element.prototype.scrollTo;e?yi=!/\{\s*\[native code\]\s*\}/.test(e.toString()):yi=!1}}return yi}function so(){if(typeof document!="object"||!document)return rr.NORMAL;if(Zs==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",e.appendChild(r),document.body.appendChild(e),Zs=rr.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Zs=e.scrollLeft===0?rr.NEGATED:rr.INVERTED),e.remove()}return Zs}function fg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Dt(e){return e==null?"":typeof e=="string"?e:`${e}px`}var In=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}(In||{}),ZJ=class{constructor(e,t,r,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",In.HIDDEN);this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},gg=Yp({passive:!0,capture:!0}),WJ=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var r;let t=Lr(e);t&&((r=this._events.get(e.type))==null||r.forEach((n,i)=>{(i===t||i.contains(t))&&n.forEach(a=>a.handleEvent(e))}))})}addHandler(e,t,r,n){let i=this._events.get(t);if(i){let a=i.get(r);a?a.add(n):i.set(r,new Set([n]))}else this._events.set(t,new Map([[r,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,gg)})}removeHandler(e,t,r){let n=this._events.get(e);if(!n)return;let i=n.get(t);i&&(i.delete(r),i.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,gg)))}},Wl={enterDuration:225,exitDuration:150},YJ=800,vg=Yp({passive:!0,capture:!0}),bg=["mousedown","touchstart"],yg=["mouseup","mouseleave","touchend","touchcancel"],KJ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,i){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
22
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ii,QJ=(ii=class{constructor(t,r,n,i,a){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=r,this._platform=i,i.isBrowser&&(this._containerElement=_a(n)),a&&a.get(Qi).load(KJ)}fadeInRipple(t,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=ce(ce({},Wl),n.animation);n.centered&&(t=i.left+i.width/2,r=i.top+i.height/2);let o=n.radius||XJ(t,r,i),l=t-i.left,u=r-i.top,c=a.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${l-o}px`,d.style.top=`${u-o}px`,d.style.height=`${o*2}px`,d.style.width=`${o*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let p=window.getComputedStyle(d),v=p.transitionProperty,g=p.transitionDuration,w=v==="none"||g==="0s"||g==="0s, 0s"||i.width===0&&i.height===0,x=new ZJ(this,d,n,w);d.style.transform="scale3d(1, 1, 1)",x.state=In.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let k=null;return!w&&(c||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{k&&(k.fallbackTimer=null),clearTimeout(N),this._finishRippleTransition(x)},O=()=>this._destroyRipple(x),N=setTimeout(O,c+100);d.addEventListener("transitionend",D),d.addEventListener("transitioncancel",O),k={onTransitionEnd:D,onTransitionCancel:O,fallbackTimer:N}}),this._activeRipples.set(x,k),(w||!c)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===In.FADING_OUT||t.state===In.HIDDEN)return;let r=t.element,n=ce(ce({},Wl),t.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",t.state=In.FADING_OUT,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=_a(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,bg.forEach(n=>{ii._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{yg.forEach(r=>{this._triggerElement.addEventListener(r,this,vg)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===In.FADING_IN?this._startFadeOutTransition(t):t.state===In.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=In.VISIBLE,!n&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=In.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),t.element.remove()}_onMousedown(t){let r=ow(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+YJ;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!sw(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=t.changedTouches;if(r)for(let n=0;n<r.length;n++)this.fadeInRipple(r[n].clientX,r[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let r=t.state===In.VISIBLE||t.config.terminateOnPointerUp&&t.state===In.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(bg.forEach(r=>ii._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(yg.forEach(r=>t.removeEventListener(r,this,vg)),this._pointerUpEventsRegistered=!1))}},s(ii,"_eventManager",new WJ),ii);function XJ(e,t,r){let n=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(n*n+i*i)}var JJ=new J("mat-ripple-global-options"),eee=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[jr,jr]}));let e=t;return e})(),tee={capture:!0},nee=["focus","mousedown","mouseenter","touchstart"],Tc="mat-ripple-loader-uninitialized",Rc="mat-ripple-loader-class-name",_g="mat-ripple-loader-centered",Ws="mat-ripple-loader-disabled",ree=(()=>{const t=class t{constructor(){s(this,"_document",S(Ve));s(this,"_animationMode",S(Wi,{optional:!0}));s(this,"_globalRippleOptions",S(JJ,{optional:!0}));s(this,"_platform",S(dn));s(this,"_ngZone",S($e));s(this,"_injector",S(dt));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var a;let i=Lr(n);if(i instanceof HTMLElement){let o=i.closest(`[${Tc}="${((a=this._globalRippleOptions)==null?void 0:a.namespace)??""}"]`);o&&this._createRipple(o)}});let n=S(Un).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>nee.map(i=>ri(n,this._document,i,this._onInteraction,tee)))}ngOnDestroy(){let n=this._hosts.keys();for(let i of n)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(n,i){var a;n.setAttribute(Tc,((a=this._globalRippleOptions)==null?void 0:a.namespace)??""),(i.className||!n.hasAttribute(Rc))&&n.setAttribute(Rc,i.className||""),i.centered&&n.setAttribute(_g,""),i.disabled&&n.setAttribute(Ws,"")}setDisabled(n,i){let a=this._hosts.get(n);a?(a.target.rippleDisabled=i,!i&&!a.hasSetUpEvents&&(a.hasSetUpEvents=!0,a.renderer.setupTriggerEvents(n))):i?n.setAttribute(Ws,""):n.removeAttribute(Ws)}_createRipple(n){var v,g,w;if(!this._document||this._hosts.has(n))return;(v=n.querySelector(".mat-ripple"))==null||v.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",n.getAttribute(Rc)),n.append(i);let a=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=a?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Wl.enterDuration,u=a?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??Wl.exitDuration,c={rippleDisabled:a||(o==null?void 0:o.disabled)||n.hasAttribute(Ws),rippleConfig:{centered:n.hasAttribute(_g),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:u}}},d=new QJ(c,this._ngZone,i,this._platform,this._injector),p=!c.rippleDisabled;p&&d.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:d,hasSetUpEvents:p}),n.removeAttribute(Tc)}destroyRipple(n){let i=this._hosts.get(n);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),iee=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,aee=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Oc(e,t){let r=Array(e);for(let n=0;n<e;n++)r[n]=t(n);return r}var oee=(()=>{const t=class t extends vw{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",S(Zd,{optional:!0}));let i=S(Zd,{optional:!0});i!==void 0&&(this._matDateLocale=i),super.setLocale(this._matDateLocale)}getYear(i){return i.getFullYear()}getMonth(i){return i.getMonth()}getDate(i){return i.getDate()}getDayOfWeek(i){return i.getDay()}getMonthNames(i){let a=new Intl.DateTimeFormat(this.locale,{month:i,timeZone:"utc"});return Oc(12,o=>this._format(a,new Date(2017,o,1)))}getDateNames(){let i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Oc(31,a=>this._format(i,new Date(2017,0,a+1)))}getDayOfWeekNames(i){let a=new Intl.DateTimeFormat(this.locale,{weekday:i,timeZone:"utc"});return Oc(7,o=>this._format(a,new Date(2017,0,o+1)))}getYearName(i){let a=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(a,i)}getFirstDayOfWeek(){var i,a;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((a=((i=o.getWeekInfo)==null?void 0:i.call(o))||o.weekInfo)==null?void 0:a.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(i){return this.getDate(this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+1,0))}clone(i){return new Date(i.getTime())}createDate(i,a,o){let l=this._createDateWithOverflow(i,a,o);return l.getMonth()!=a,l}today(){return new Date}parse(i,a){return typeof i=="number"?new Date(i):i?new Date(Date.parse(i)):null}format(i,a){if(!this.isValid(i))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Ut(ce({},a),{timeZone:"utc"}));return this._format(o,i)}addCalendarYears(i,a){return this.addCalendarMonths(i,a*12)}addCalendarMonths(i,a){let o=this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+a,this.getDate(i));return this.getMonth(o)!=((this.getMonth(i)+a)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(i,a){return this._createDateWithOverflow(this.getYear(i),this.getMonth(i),this.getDate(i)+a)}toIso8601(i){return[i.getUTCFullYear(),this._2digit(i.getUTCMonth()+1),this._2digit(i.getUTCDate())].join("-")}deserialize(i){if(typeof i=="string"){if(!i)return null;if(iee.test(i)){let a=new Date(i);if(this.isValid(a))return a}}return super.deserialize(i)}isDateInstance(i){return i instanceof Date}isValid(i){return!isNaN(i.getTime())}invalid(){return new Date(NaN)}setTime(i,a,o,l){let u=this.clone(i);return u.setHours(a,o,l,0),u}getHours(i){return i.getHours()}getMinutes(i){return i.getMinutes()}getSeconds(i){return i.getSeconds()}parseTime(i,a){if(typeof i!="string")return i instanceof Date?new Date(i.getTime()):null;let o=i.trim();if(o.length===0)return null;let l=this._parseTimeString(o);if(l===null){let u=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();u.length>0&&(l=this._parseTimeString(u))}return l||this.invalid()}addSeconds(i,a){return new Date(i.getTime()+a*1e3)}_createDateWithOverflow(i,a,o){let l=new Date;return l.setFullYear(i,a,o),l.setHours(0,0,0,0),l}_2digit(i){return("00"+i).slice(-2)}_format(i,a){let o=new Date;return o.setUTCFullYear(a.getFullYear(),a.getMonth(),a.getDate()),o.setUTCHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),i.format(o)}_parseTimeString(i){let a=i.toUpperCase().match(aee);if(a){let o=parseInt(a[1]),l=parseInt(a[2]),u=a[3]==null?void 0:parseInt(a[3]),c=a[4];if(o===12?o=c==="AM"?0:o:c==="PM"&&(o+=12),Nc(o,0,23)&&Nc(l,0,59)&&(u==null||Nc(u,0,59)))return this.setTime(this.today(),o,l,u||0)}return null}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Nc(e,t,r){return!isNaN(e)&&e>=t&&e<=r}var Xp=class{constructor(){s(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Ho=class extends Xp{constructor(t,r,n,i,a){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=r,this.injector=n,this.projectableNodes=a}},Jp=class extends Xp{constructor(t,r,n,i){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=r,this.context=n,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},see=class extends Xp{constructor(t){super();s(this,"element");this.element=t instanceof lt?t.nativeElement:t}},Vu=class{constructor(){s(this,"_attachedPortal");s(this,"_disposeFn");s(this,"_isDisposed",!1);s(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Ho)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Jp)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof see)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},lee=class extends Vu{constructor(t,r,n,i,a){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let r=t.element;r.parentNode;let n=this._document.createComment("dom-portal");r.parentNode.insertBefore(n,r),this.outletElement.appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(r,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=i,this._document=a}attachComponentPortal(t){let r;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,i=n.get(Lo,null,{optional:!0})||void 0;r=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>r.destroy())}else{let n=this._appRef,i=t.injector||this._defaultInjector||dt.NULL,a=i.get(ur,n.injector);r=E_(t.component,{elementInjector:i,environmentInjector:a,projectableNodes:t.projectableNodes||void 0}),n.attachView(r.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(r.hostView),r.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let r=t.viewContainerRef,n=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(i=>this.outletElement.appendChild(i)),n.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(n);i!==-1&&r.remove(i)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},qo=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_moduleRef",S(Lo,{optional:!0}));s(this,"_document",S(Ve));s(this,"_viewContainerRef",S(Zn));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new Rt);s(this,"attachDomPortal",i=>{let a=i.element;a.parentNode;let o=this._document.createComment("dom-portal");i.setAttachedHost(this),a.parentNode.insertBefore(o,a),this._getRootNode().appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(a,o)})})}get portal(){return this._attachedPortal}set portal(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&super.detach(),i&&super.attach(i),this._attachedPortal=i||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(i){i.setAttachedHost(this);let a=i.viewContainerRef!=null?i.viewContainerRef:this._viewContainerRef,o=a.createComponent(i.component,{index:a.length,injector:i.injector||a.injector,projectableNodes:i.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return a!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=i,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(i){i.setAttachedHost(this);let a=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=a,this.attached.emit(a),a}_getRootNode(){let i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ke]}));let e=t;return e})(),Yl=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})(),uee=class{};function Mc(e){return e&&typeof e.connect=="function"&&!(e instanceof w6)}var xo=function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e}(xo||{}),Wd=new J("_ViewRepeater"),cee=20,_w=(()=>{const t=class t{constructor(){s(this,"_ngZone",S($e));s(this,"_platform",S(dn));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new be);s(this,"_scrolledCount",0);s(this,"scrollContainers",new Map)}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=cee){return this._platform.isBrowser?new ht(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let a=n>0?this._scrolled.pipe(_0(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{var o;a.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):Je()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((i,a)=>this.deregister(a)),this._scrolled.complete()}ancestorScrolled(n,i){let a=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(ei(o=>!o||a.indexOf(o)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((a,o)=>{this._scrollableContainsElement(o,n)&&i.push(o)}),i}_scrollableContainsElement(n,i){let a=_a(i),o=n.getElementRef().nativeElement;do if(a==o)return!0;while(a=a.parentElement);return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dee=(()=>{const t=class t{constructor(){s(this,"elementRef",S(lt));s(this,"scrollDispatcher",S(_w));s(this,"ngZone",S($e));s(this,"dir",S(zo,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new be);s(this,"_renderer",S(Za));s(this,"_cleanupScroll");s(this,"_elementScrolled",new be)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",n=>this._elementScrolled.next(n))),this.scrollDispatcher.register(this)}ngOnDestroy(){var n;(n=this._cleanupScroll)==null||n.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let i=this.elementRef.nativeElement,a=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=a?n.end:n.start),n.right==null&&(n.right=a?n.start:n.end),n.bottom!=null&&(n.top=i.scrollHeight-i.clientHeight-n.bottom),a&&so()!=rr.NORMAL?(n.left!=null&&(n.right=i.scrollWidth-i.clientWidth-n.left),so()==rr.INVERTED?n.left=n.right:so()==rr.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=i.scrollWidth-i.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let i=this.elementRef.nativeElement;yw()?i.scrollTo(n):(n.top!=null&&(i.scrollTop=n.top),n.left!=null&&(i.scrollLeft=n.left))}measureScrollOffset(n){let i="left",a="right",o=this.elementRef.nativeElement;if(n=="top")return o.scrollTop;if(n=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let l=this.dir&&this.dir.value=="rtl";return n=="start"?n=l?a:i:n=="end"&&(n=l?i:a),l&&so()==rr.INVERTED?n==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&so()==rr.NEGATED?n==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),hee=20,em=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new be);s(this,"_document",S(Ve,{optional:!0}));let n=S($e),i=S(Un).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let a=o=>this._change.next(o);this._listeners=[i.listen("window","resize",a),i.listen("window","orientationchange",a)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var n;(n=this._listeners)==null||n.forEach(i=>i()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:a}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+a,right:n.left+i,height:a,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),a=n.documentElement,o=a.getBoundingClientRect(),l=-o.top||n.body.scrollTop||i.scrollY||a.scrollTop||0,u=-o.left||n.body.scrollLeft||i.scrollX||a.scrollLeft||0;return{top:l,left:u}}change(n=hee){return n>0?this._change.pipe(_0(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),wg=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({}));let e=t;return e})(),Yd=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Bo,wg,Bo,wg]}));let e=t;return e})(),xg=yw(),pee=class{constructor(e,t){s(this,"_viewportRuler");s(this,"_previousHTMLStyles",{top:"",left:""});s(this,"_previousScrollPosition");s(this,"_isEnabled",!1);s(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Dt(-this._previousScrollPosition.left),e.style.top=Dt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,r=e.style,n=t.style,i=r.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),xg&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xg&&(r.scrollBehavior=i,n.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},mee=class{constructor(e,t,r,n){s(this,"_scrollDispatcher");s(this,"_ngZone");s(this,"_viewportRuler");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");s(this,"_initialScrollPosition");s(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ei(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ww=class{enable(){}disable(){}attach(){}};function Kd(e,t){return t.some(r=>{let n=e.bottom<r.top,i=e.top>r.bottom,a=e.right<r.left,o=e.left>r.right;return n||i||a||o})}function Eg(e,t){return t.some(r=>{let n=e.top<r.top,i=e.bottom>r.bottom,a=e.left<r.left,o=e.right>r.right;return n||i||a||o})}var fee=class{constructor(e,t,r,n){s(this,"_scrollDispatcher");s(this,"_viewportRuler");s(this,"_ngZone");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:n}=this._viewportRuler.getViewportSize();Kd(t,[{width:r,height:n,bottom:n,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},gee=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",S(_w));s(this,"_viewportRuler",S(em));s(this,"_ngZone",S($e));s(this,"_document",S(Ve));s(this,"noop",()=>new ww);s(this,"close",n=>new mee(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new pee(this._viewportRuler,this._document));s(this,"reposition",n=>new fee(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),tm=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new ww);s(this,"panelClass","");s(this,"hasBackdrop",!1);s(this,"backdropClass","cdk-overlay-dark-backdrop");s(this,"width");s(this,"height");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"direction");s(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let r of t)e[r]!==void 0&&(this[r]=e[r])}}},vee=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},xw=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",S(Ve));s(this,"_isAttached")}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bee=(()=>{const t=class t extends xw{constructor(){super(...arguments);s(this,"_ngZone",S($e));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",i=>{let a=this._attachedOverlays;for(let o=a.length-1;o>-1;o--)if(a[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>a[o]._keydownEvents.next(i));break}})}add(i){super.add(i),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var i;this._isAttached&&((i=this._cleanupKeydown)==null||i.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),yee=(()=>{const t=class t extends xw{constructor(){super(...arguments);s(this,"_platform",S(dn));s(this,"_ngZone",S($e));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",i=>{this._pointerDownEventTarget=Lr(i)});s(this,"_clickListener",i=>{let a=Lr(i),o=i.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){let c=l[u];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(Sg(c.overlayElement,a)||Sg(c.overlayElement,o))break;let d=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(i)):d.next(i)}})}add(i){if(super.add(i),!this._isAttached){let a=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[ri(this._renderer,a,"pointerdown",this._pointerDownListener,o),ri(this._renderer,a,"click",this._clickListener,o),ri(this._renderer,a,"auxclick",this._clickListener,o),ri(this._renderer,a,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=a.style.cursor,a.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var i;this._isAttached&&((i=this._cleanups)==null||i.forEach(a=>a()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Sg(e,t){let r=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=r&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var Ew=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,i){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
23
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),nm=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_containerElement");s(this,"_document",S(Ve));s(this,"_styleLoader",S(Qi))}ngOnDestroy(){var n;(n=this._containerElement)==null||n.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||fg()){let a=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<a.length;o++)a[o].remove()}let i=this._document.createElement("div");i.classList.add(n),fg()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(Ew)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_ee=class{constructor(e,t,r,n){s(this,"_renderer");s(this,"_ngZone");s(this,"element");s(this,"_cleanupClick");s(this,"_cleanupTransitionEnd");s(this,"_fallbackTimeout");s(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=r,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",n)}detach(){this._ngZone.runOutsideAngular(()=>{var t;let e=this.element;clearTimeout(this._fallbackTimeout),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}},rm=class{constructor(e,t,r,n,i,a,o,l,u,c=!1,d,p){s(this,"_portalOutlet");s(this,"_host");s(this,"_pane");s(this,"_config");s(this,"_ngZone");s(this,"_keyboardDispatcher");s(this,"_document");s(this,"_location");s(this,"_outsideClickDispatcher");s(this,"_animationsDisabled");s(this,"_injector");s(this,"_renderer");s(this,"_backdropClick",new be);s(this,"_attachments",new be);s(this,"_detachments",new be);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",ln.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new be);s(this,"_outsidePointerEvents",new be);s(this,"_renders",new be);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=r,this._config=n,this._ngZone=i,this._keyboardDispatcher=a,this._document=o,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=c,this._injector=d,this._renderer=p,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=Fd(()=>Wb(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){var e;return((e=this._backdropRef)==null?void 0:e.element)||null}get hostElement(){return this._host}attach(e){var r;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(r=this._afterNextRenderRef)==null||r.destroy(),this._afterNextRenderRef=ku(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(t==null?void 0:t.onDestroy)=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t,r,n;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),(t=this._backdropRef)==null||t.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(r=this._host)==null||r.remove(),(n=this._afterNextRenderRef)==null||n.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=ce(ce({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Ut(ce({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Dt(this._config.width),e.height=Dt(this._config.height),e.minWidth=Dt(this._config.minWidth),e.minHeight=Dt(this._config.minHeight),e.maxWidth=Dt(this._config.maxWidth),e.maxHeight=Dt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){var t;let e="cdk-overlay-backdrop-showing";(t=this._backdropRef)==null||t.dispose(),this._backdropRef=new _ee(this._document,this._renderer,this._ngZone,r=>{this._backdropClick.next(r)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{var r;return(r=this._backdropRef)==null?void 0:r.element.classList.add(e)})}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){var e,t;this._animationsDisabled?((e=this._backdropRef)==null||e.dispose(),this._backdropRef=null):(t=this._backdropRef)==null||t.detach()}_toggleClasses(e,t,r){let n=Ul(t||[]).filter(i=>!!i);n.length&&(r?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(oi(Ea(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){var t;let e=this._scrollStrategy;e==null||e.disable(),(t=e==null?void 0:e.detach)==null||t.call(e)}},kg="cdk-overlay-connected-position-bounding-box",wee=/([A-Za-z%]+)$/,xee=class{constructor(e,t,r,n,i){s(this,"_viewportRuler");s(this,"_document");s(this,"_platform");s(this,"_overlayContainer");s(this,"_overlayRef");s(this,"_isInitialRender");s(this,"_lastBoundingBoxSize",{width:0,height:0});s(this,"_isPushed",!1);s(this,"_canPush",!0);s(this,"_growAfterOpen",!1);s(this,"_hasFlexibleDimensions",!0);s(this,"_positionLocked",!1);s(this,"_originRect");s(this,"_overlayRect");s(this,"_viewportRect");s(this,"_containerRect");s(this,"_viewportMargin",0);s(this,"_scrollables",[]);s(this,"_preferredPositions",[]);s(this,"_origin");s(this,"_pane");s(this,"_isDisposed");s(this,"_boundingBox");s(this,"_lastPosition");s(this,"_lastScrollVisibility");s(this,"_positionChanges",new be);s(this,"_resizeSubscription",ln.EMPTY);s(this,"_offsetX",0);s(this,"_offsetY",0);s(this,"_transformOriginSelector");s(this,"_appliedPanelClasses",[]);s(this,"_previousPushAmount");s(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=r,this._platform=n,this._overlayContainer=i,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(kg),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,r=this._viewportRect,n=this._containerRect,i=[],a;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),u=this._getOverlayPoint(l,t,o),c=this._getOverlayFit(u,t,r,o);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(c,u,r)){i.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!a||a.overlayFit.visibleArea<c.visibleArea)&&(a={overlayFit:c,overlayPoint:u,originPoint:l,position:o,overlayRect:t})}if(i.length){let o=null,l=-1;for(let u of i){let c=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);c>l&&(l=c,o=u)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_i(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(kg),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,r){let n;if(r.originX=="center")n=e.left+e.width/2;else{let a=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=r.originX=="start"?a:o}t.left<0&&(n-=t.left);let i;return r.originY=="center"?i=e.top+e.height/2:i=r.originY=="top"?e.top:e.bottom,t.top<0&&(i-=t.top),{x:n,y:i}}_getOverlayPoint(e,t,r){let n;r.overlayX=="center"?n=-t.width/2:r.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let i;return r.overlayY=="center"?i=-t.height/2:i=r.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+i}}_getOverlayFit(e,t,r,n){let i=Dg(t),{x:a,y:o}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(a+=l),u&&(o+=u);let c=0-a,d=a+i.width-r.width,p=0-o,v=o+i.height-r.height,g=this._subtractOverflows(i.width,c,d),w=this._subtractOverflows(i.height,p,v),x=g*w;return{visibleArea:x,isCompletelyWithinViewport:i.width*i.height===x,fitsInViewportVertically:w===i.height,fitsInViewportHorizontally:g==i.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){let n=r.bottom-t.y,i=r.right-t.x,a=Cg(this._overlayRef.getConfig().minHeight),o=Cg(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||a!=null&&a<=n,u=e.fitsInViewportHorizontally||o!=null&&o<=i;return l&&u}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Dg(t),i=this._viewportRect,a=Math.max(e.x+n.width-i.width,0),o=Math.max(e.y+n.height-i.height,0),l=Math.max(i.top-r.top-e.y,0),u=Math.max(i.left-r.left-e.x,0),c=0,d=0;return n.width<=i.width?c=u||-a:c=e.x<this._viewportMargin?i.left-r.left-e.x:0,n.height<=i.height?d=l||-o:d=e.y<this._viewportMargin?i.top-r.top-e.y:0,this._previousPushAmount={x:c,y:d},{x:e.x+c,y:e.y+d}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!Eee(this._lastScrollVisibility,r)){let n=new vee(e,r);this._positionChanges.next(n)}this._lastScrollVisibility=r}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,n=e.overlayY;e.overlayX==="center"?r="center":this._isRtl()?r=e.overlayX==="start"?"right":"left":r=e.overlayX==="start"?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${r} ${n}`}_calculateBoundingBoxRect(e,t){let r=this._viewportRect,n=this._isRtl(),i,a,o;if(t.overlayY==="top")a=e.y,i=r.height-a+this._viewportMargin;else if(t.overlayY==="bottom")o=r.height-e.y+this._viewportMargin*2,i=r.height-o+this._viewportMargin;else{let v=Math.min(r.bottom-e.y+r.top,e.y),g=this._lastBoundingBoxSize.height;i=v*2,a=e.y-v,i>g&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,u=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,c,d,p;if(u)p=r.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)d=e.x,c=r.right-e.x;else{let v=Math.min(r.right-e.x+r.left,e.x),g=this._lastBoundingBoxSize.width;c=v*2,d=e.x-v,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(d=e.x-g/2)}return{top:a,left:d,bottom:o,right:p,width:c,height:i}}_setBoundingBoxStyles(e,t){let r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;n.height=Dt(r.height),n.top=Dt(r.top),n.bottom=Dt(r.bottom),n.width=Dt(r.width),n.left=Dt(r.left),n.right=Dt(r.right),t.overlayX==="center"?n.alignItems="center":n.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?n.justifyContent="center":n.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",i&&(n.maxHeight=Dt(i)),a&&(n.maxWidth=Dt(a))}this._lastBoundingBoxSize=r,_i(this._boundingBox.style,n)}_resetBoundingBoxStyles(){_i(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_i(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let r={},n=this._hasExactPosition(),i=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();_i(r,this._getExactOverlayY(t,e,c)),_i(r,this._getExactOverlayX(t,e,c))}else r.position="static";let o="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),u&&(o+=`translateY(${u}px)`),r.transform=o.trim(),a.maxHeight&&(n?r.maxHeight=Dt(a.maxHeight):i&&(r.maxHeight="")),a.maxWidth&&(n?r.maxWidth=Dt(a.maxWidth):i&&(r.maxWidth="")),_i(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),e.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;n.bottom=`${a-(i.y+this._overlayRect.height)}px`}else n.top=Dt(i.y);return n}_getExactOverlayX(e,t,r){let n={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let a;if(this._isRtl()?a=e.overlayX==="end"?"left":"right":a=e.overlayX==="end"?"right":"left",a==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(i.x+this._overlayRect.width)}px`}else n.left=Dt(i.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Eg(e,r),isOriginOutsideView:Kd(e,r),isOverlayClipped:Eg(t,r),isOverlayOutsideView:Kd(t,r)}}_subtractOverflows(e,...t){return t.reduce((r,n)=>r-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Ul(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof lt)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}};function _i(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function Cg(e){if(typeof e!="number"&&e!=null){let[t,r]=e.split(wee);return!r||r==="px"?parseFloat(t):null}return e||null}function Dg(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function Eee(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Ig="cdk-global-overlay-wrapper",See=class{constructor(){s(this,"_overlayRef");s(this,"_cssPosition","static");s(this,"_topOffset","");s(this,"_bottomOffset","");s(this,"_alignItems","");s(this,"_xPosition","");s(this,"_xOffset","");s(this,"_width","");s(this,"_height","");s(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Ig),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:n,height:i,maxWidth:a,maxHeight:o}=r,l=(n==="100%"||n==="100vw")&&(!a||a==="100%"||a==="100vw"),u=(i==="100%"||i==="100vh")&&(!o||o==="100%"||o==="100vh"),c=this._xPosition,d=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",v="",g="",w="";l?w="flex-start":c==="center"?(w="center",p?g=d:v=d):p?c==="left"||c==="end"?(w="flex-end",v=d):(c==="right"||c==="start")&&(w="flex-start",g=d):c==="left"||c==="start"?(w="flex-start",v=d):(c==="right"||c==="end")&&(w="flex-end",g=d),e.position=this._cssPosition,e.marginLeft=l?"0":v,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(Ig),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},kee=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",S(em));s(this,"_document",S(Ve));s(this,"_platform",S(dn));s(this,"_overlayContainer",S(nm))}global(){return new See}flexibleConnectedTo(n){return new xee(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),mi=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",S(gee));s(this,"_overlayContainer",S(nm));s(this,"_positionBuilder",S(kee));s(this,"_keyboardDispatcher",S(bee));s(this,"_injector",S(dt));s(this,"_ngZone",S($e));s(this,"_document",S(Ve));s(this,"_directionality",S(zo));s(this,"_location",S(D_));s(this,"_outsideClickDispatcher",S(yee));s(this,"_animationsModuleType",S(Wi,{optional:!0}));s(this,"_idGenerator",S(_s));s(this,"_renderer",S(Un).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",S(Qi))}create(n){this._styleLoader.load(Ew);let i=this._createHostElement(),a=this._createPaneElement(i),o=this._createPortalOutlet(a),l=new tm(n);return l.direction=l.direction||this._directionality.value,new rm(o,i,a,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(ur),this._renderer)}position(){return this._positionBuilder}_createPaneElement(n){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),n.appendChild(i),i}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(ci)),new lee(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Cee=new J("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(mi);return()=>e.scrollStrategies.reposition()}});function Dee(e){return()=>e.scrollStrategies.reposition()}var Iee={provide:Cee,deps:[mi],useFactory:Dee},Sw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[mi,Iee],imports:[Bo,Yl,Yd,Yd]}));let e=t;return e})();function Tee(e,t){}var $o=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"positionStrategy");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"closeOnDestroy",!0);s(this,"closeOnOverlayDetachments",!0);s(this,"componentFactoryResolver");s(this,"providers");s(this,"container");s(this,"templateContext")}},kw=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_elementRef",S(lt));s(this,"_focusTrapFactory",S(OJ));s(this,"_config");s(this,"_interactivityChecker",S(dw));s(this,"_ngZone",S($e));s(this,"_overlayRef",S(rm));s(this,"_focusMonitor",S(Kp));s(this,"_renderer",S(Za));s(this,"_changeDetectorRef",S(pi));s(this,"_injector",S(dt));s(this,"_platform",S(dn));s(this,"_document",S(Ve,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new be);s(this,"_focusTrap",null);s(this,"_elementFocusedBeforeDialogWasOpened",null);s(this,"_closeInteractionType",null);s(this,"_ariaLabelledByQueue",[]);s(this,"_isDestroyed",!1);s(this,"attachDomPortal",i=>{this._portalOutlet.hasAttached();let a=this._portalOutlet.attachDomPortal(i);return this._contentAttached(),a});this._config=S($o,{optional:!0})||new $o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(i){this._ariaLabelledByQueue.push(i),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(i){let a=this._ariaLabelledByQueue.indexOf(i);a>-1&&(this._ariaLabelledByQueue.splice(a,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();let a=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),a}attachTemplatePortal(i){this._portalOutlet.hasAttached();let a=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),a}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,a){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),u(),i.removeAttribute("tabindex")},l=this._renderer.listen(i,"blur",o),u=this._renderer.listen(i,"mousedown",o)})),i.focus(a)}_focusByCssSelector(i,a){let o=this._elementRef.nativeElement.querySelector(i);o&&this._forceFocus(o,a)}_trapFocus(i){this._isDestroyed||ku(()=>{var o;let a=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||a.focus(i);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(i)||this._focusDialogContainer(i);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',i);break;default:this._focusByCssSelector(this._config.autoFocus,i);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let i=this._config.restoreFocus,a=null;if(typeof i=="string"?a=this._document.querySelector(i):typeof i=="boolean"?a=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(a=i),this._config.restoreFocus&&a&&typeof a.focus=="function"){let o=Sc(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(a,this._closeInteractionType),this._closeInteractionType=null):a.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(i){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(i)}_containsFocus(){let i=this._elementRef.nativeElement,a=Sc();return i===a||i.contains(a)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Sc()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,a){if(i&1&&ql(qo,7),i&2){let o;Rn(o=On())&&(a._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,a){i&2&&cn("id",a._config.id||null)("role",a._config.role)("aria-modal",a._config.ariaModal)("aria-labelledby",a._config.ariaLabel?null:a._ariaLabelledByQueue[0])("aria-label",a._config.ariaLabel)("aria-describedby",a._config.ariaDescribedBy||null)},features:[Ke],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,a){i&1&&me(0,Tee,0,0,"ng-template",0)},dependencies:[qo],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
24
- `],encapsulation:2}));let e=t;return e})(),Ac=class{constructor(e,t){s(this,"overlayRef");s(this,"config");s(this,"componentInstance");s(this,"componentRef");s(this,"containerInstance");s(this,"disableClose");s(this,"closed",new be);s(this,"backdropClick");s(this,"keydownEvents");s(this,"outsidePointerEvents");s(this,"id");s(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!mw(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let r=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(e),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},Ree=new J("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=S(mi);return()=>e.scrollStrategies.block()}}),Oee=new J("DialogData"),Nee=new J("DefaultDialogConfig"),Cw=(()=>{const t=class t{constructor(){s(this,"_overlay",S(mi));s(this,"_injector",S(dt));s(this,"_defaultOptions",S(Nee,{optional:!0}));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",S(nm));s(this,"_idGenerator",S(_s));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",S(Ree));s(this,"afterAllClosed",El(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Rh(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(n,i){let a=this._defaultOptions||new $o;i=ce(ce({},a),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),l=this._overlay.create(o),u=new Ac(l,i),c=this._attachContainer(l,u,i);if(u.containerInstance=c,!this.openDialogs.length){let d=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(sn(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(d)}):this._hideNonDialogContentFromAssistiveTechnology(d)}return this._attachDialogContent(n,u,c,i),this.openDialogs.push(u),u.closed.subscribe(()=>this._removeOpenDialog(u,!0)),this.afterOpened.next(u),u}closeAll(){Pc(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(i=>i.id===n)}ngOnDestroy(){Pc(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),Pc(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let i=new tm({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(i.backdropClass=n.backdropClass),i}_attachContainer(n,i,a){var d;let o=a.injector||((d=a.viewContainerRef)==null?void 0:d.injector),l=[{provide:$o,useValue:a},{provide:Ac,useValue:i},{provide:rm,useValue:n}],u;a.container?typeof a.container=="function"?u=a.container:(u=a.container.type,l.push(...a.container.providers(a))):u=kw;let c=new Ho(u,a.viewContainerRef,dt.create({parent:o||this._injector,providers:l}));return n.attach(c).instance}_attachDialogContent(n,i,a,o){if(n instanceof un){let l=this._createInjector(o,i,a,void 0),u={$implicit:o.data,dialogRef:i};o.templateContext&&(u=ce(ce({},u),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),a.attachTemplatePortal(new Jp(n,null,u,l))}else{let l=this._createInjector(o,i,a,this._injector),u=a.attachComponentPortal(new Ho(n,o.viewContainerRef,l));i.componentRef=u,i.componentInstance=u.instance}}_createInjector(n,i,a,o){var c;let l=n.injector||((c=n.viewContainerRef)==null?void 0:c.injector),u=[{provide:Oee,useValue:n.data},{provide:Ac,useValue:i}];return n.providers&&(typeof n.providers=="function"?u.push(...n.providers(i,n,a)):u.push(...n.providers)),n.direction&&(!l||!l.get(zo,null,{optional:!0}))&&u.push({provide:zo,useValue:{value:n.direction,change:Je()}}),dt.create({parent:l||o,providers:u})}_removeOpenDialog(n,i){let a=this.openDialogs.indexOf(n);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let i=n.parentElement.children;for(let a=i.length-1;a>-1;a--){let o=i[a];o!==n&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Pc(e,t){let r=e.length;for(;r--;)t(e[r])}var Mee=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[Cw],imports:[Sw,Yl,FJ,Yl]}));let e=t;return e})();function Aee(e,t){}var Tg=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"position");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"delayFocusTrap",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"componentFactoryResolver");s(this,"enterAnimationDuration");s(this,"exitAnimationDuration")}},Lc="mdc-dialog--open",Rg="mdc-dialog--opening",Og="mdc-dialog--closing",Pee=150,Lee=75,Fee=(()=>{const t=class t extends kw{constructor(){super(...arguments);s(this,"_animationMode",S(Wi,{optional:!0}));s(this,"_animationStateChanged",new Rt);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?Mg(this._config.enterAnimationDuration)??Pee:0);s(this,"_exitAnimationDuration",this._animationsEnabled?Mg(this._config.exitAnimationDuration)??Lee:0);s(this,"_animationTimer",null);s(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});s(this,"_finishDialogClose",()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})})}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ng,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Rg,Lc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Lc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Lc),this._animationsEnabled?(this._hostElement.style.setProperty(Ng,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Og)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(i){this._actionSectionCount+=i,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Rg,Og)}_waitForAnimationToComplete(i,a){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(a,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(i):i()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(i){let a=super.attachComponentPortal(i);return a.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),a}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,a){i&2&&(Np("id",a._config.id),cn("aria-modal",a._config.ariaModal)("role",a._config.role)("aria-labelledby",a._config.ariaLabel?null:a._ariaLabelledByQueue[0])("aria-label",a._config.ariaLabel)("aria-describedby",a._config.ariaDescribedBy||null),tn("_mat-animation-noopable",!a._animationsEnabled)("mat-mdc-dialog-container-with-actions",a._actionSectionCount>0))},features:[Ke],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,a){i&1&&(V(0,"div",0)(1,"div",1),me(2,Aee,0,0,"ng-template",2),B()())},dependencies:[qo],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
25
- `],encapsulation:2}));let e=t;return e})(),Ng="--mat-dialog-transition-duration";function Mg(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?lg(e.substring(0,e.length-2)):e.endsWith("s")?lg(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var bl=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(bl||{}),im=class{constructor(e,t,r){s(this,"_ref");s(this,"_containerInstance");s(this,"componentInstance");s(this,"componentRef");s(this,"disableClose");s(this,"id");s(this,"_afterOpened",new be);s(this,"_beforeClosed",new be);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",bl.OPEN);s(this,"_closeInteractionType");this._ref=e,this._containerInstance=r,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(ei(n=>n.state==="opened"),sn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(ei(n=>n.state==="closed"),sn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ea(this.backdropClick(),this.keydownEvents().pipe(ei(n=>n.keyCode===27&&!this.disableClose&&!mw(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),Dw(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(ei(t=>t.state==="closing"),sn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=bl.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=bl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Dw(e,t,r){return e._closeInteractionType=t,e.close(r)}var Iw=new J("MatMdcDialogData"),Tw=new J("mat-mdc-dialog-default-options"),jee=new J("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(mi);return()=>e.scrollStrategies.block()}}),zu=(()=>{const t=class t{constructor(){s(this,"_overlay",S(mi));s(this,"_defaultOptions",S(Tw,{optional:!0}));s(this,"_scrollStrategy",S(jee));s(this,"_parentDialog",S(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",S(_s));s(this,"_dialog",S(Cw));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new be);s(this,"_afterOpenedAtThisLevel",new be);s(this,"dialogConfigClass",Tg);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",El(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Rh(void 0))));this._dialogRefConstructor=im,this._dialogContainerType=Fee,this._dialogDataToken=Iw}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(n,i){let a;i=ce(ce({},this._defaultOptions||new Tg),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,Ut(ce({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:$o,useValue:i}]},templateContext:()=>({dialogRef:a}),providers:(l,u,c)=>(a=new this._dialogRefConstructor(l,i,c),a.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:u.data},{provide:this._dialogRefConstructor,useValue:a}])}));return a.componentRef=o.componentRef,a.componentInstance=o.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(a);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(i=>i.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let i=n.length;for(;i--;)n[i].close()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Rw=(()=>{const t=class t{constructor(){s(this,"dialogRef",S(im,{optional:!0}));s(this,"_elementRef",S(lt));s(this,"_dialog",S(zu));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=Pw(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let i=n._matDialogClose||n._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(n){Dw(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,i){n&1&&kn("click",function(a){return i._onButtonClick(a)}),n&2&&cn("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Gi]}));let e=t;return e})(),Ow=(()=>{const t=class t{constructor(){s(this,"_dialogRef",S(im,{optional:!0}));s(this,"_elementRef",S(lt));s(this,"_dialog",S(zu))}ngOnInit(){this._dialogRef||(this._dialogRef=Pw(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var n;(n=this._dialogRef)!=null&&n._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t}));let e=t;return e})(),Nw=(()=>{const t=class t extends Ow{constructor(){super(...arguments);s(this,"id",S(_s).getId("mat-mdc-dialog-title-"))}_onAdd(){var i,a;(a=(i=this._dialogRef._containerInstance)==null?void 0:i._addAriaLabelledBy)==null||a.call(i,this.id)}_onRemove(){var i,a,o;(o=(a=(i=this._dialogRef)==null?void 0:i._containerInstance)==null?void 0:a._removeAriaLabelledBy)==null||o.call(a,this.id)}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,a){i&2&&Np("id",a.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ke]}));let e=t;return e})(),Mw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[uY([dee])]}));let e=t;return e})(),Aw=(()=>{const t=class t extends Ow{constructor(){super(...arguments);s(this,"align")}_onAdd(){var i,a;(a=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||a.call(i,1)}_onRemove(){var i,a;(a=(i=this._dialogRef._containerInstance)==null?void 0:i._updateActionSectionCount)==null||a.call(i,-1)}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,a){i&2&&tn("mat-mdc-dialog-actions-align-start",a.align==="start")("mat-mdc-dialog-actions-align-center",a.align==="center")("mat-mdc-dialog-actions-align-end",a.align==="end")},inputs:{align:"align"},features:[Ke]}));let e=t;return e})();function Pw(e,t){let r=e.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(n=>n.id===r.id):null}var Lw=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[zu],imports:[Mee,Sw,Yl,jr,jr]}));let e=t;return e})(),Fw=class{applyChanges(e,t,r,n,i){e.forEachOperation((a,o,l)=>{let u,c;if(a.previousIndex==null){let d=r(a,o,l);u=t.createEmbeddedView(d.templateRef,d.context,d.index),c=xo.INSERTED}else l==null?(t.remove(o),c=xo.REMOVED):(u=t.get(o),t.move(u,l),c=xo.MOVED);i&&i({context:u==null?void 0:u.context,operation:c,record:a})})}detach(){}},Vee=new J("MAT_BUTTON_CONFIG"),zee=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],jw=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(lt));s(this,"_ngZone",S($e));s(this,"_animationMode",S(Wi,{optional:!0}));s(this,"_focusMonitor",S(Kp));s(this,"_rippleLoader",S(ree));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;S(Qi).load(bw);let n=S(Vee,{optional:!0}),i=this._elementRef.nativeElement,a=i.classList;this.disabledInteractive=(n==null?void 0:n.disabledInteractive)??!1,this.color=(n==null?void 0:n.color)??null,(o=this._rippleLoader)==null||o.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:u}of zee)i.hasAttribute(l)&&a.add(...u)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var n;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement)}focus(n="program",i){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Xt],disabled:[2,"disabled","disabled",Xt],ariaDisabled:[2,"aria-disabled","ariaDisabled",Xt],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Xt]}}));let e=t;return e})(),Bee=(()=>{const t=class t extends jw{constructor(){super(...arguments);s(this,"_renderer",S(Za));s(this,"_cleanupClick");s(this,"tabIndex");s(this,"_haltDisabledEvents",i=>{this.disabled&&(i.preventDefault(),i.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var i;super.ngOnDestroy(),(i=this._cleanupClick)==null||i.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵdir",Se({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:w_(i)]},features:[Ke]}));let e=t;return e})(),Vw=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],zw=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Hee=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
26
- `,qee=`@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
- `,ws=(()=>{const t=class t extends jw{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,i){n&2&&(cn("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Mu(i.color?"mat-"+i.color:""),tn("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ke],ngContentSelectors:zw,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,i){n&1&&(gr(Vw),We(0,"span",0),zt(1),V(2,"span",1),zt(3,1),B(),zt(4,2),We(5,"span",2)(6,"span",3)),n&2&&tn("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
28
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
29
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Bw=(()=>{const t=class t extends Bee{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,i){n&2&&(cn("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),Mu(i.color?"mat-"+i.color:""),tn("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ke],ngContentSelectors:zw,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,i){n&1&&(gr(Vw),We(0,"span",0),zt(1),V(2,"span",1),zt(3,1),B(),zt(4,2),We(5,"span",2)(6,"span",3)),n&2&&tn("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[Hee,qee],encapsulation:2,changeDetection:0}));let e=t;return e})(),Bu=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[jr,eee,jr]}));let e=t;return e})(),Hw=(()=>{const t=class t{constructor(){s(this,"changes",new be);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,i,a)=>{if(a==0||i==0)return`0 of ${a}`;a=Math.max(a,0);let o=n*i,l=o<a?Math.min(o+i,a):o+i;return`${o+1} – ${l} of ${a}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ne=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}(Ne||{}),Mr="*";function $ee(e,t=null){return{type:Ne.Sequence,steps:e,options:t}}function Ag(e){return{type:Ne.Style,styles:e,offset:null}}var Go=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},qw=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,r=0,n=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==i&&this._onFinish()}),a.onDestroy(()=>{++r==i&&this._onDestroy()}),a.onStart(()=>{++n==i&&this._onStart()})}),this.totalTime=this.players.reduce((a,o)=>Math.max(a,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},am="!";function Pg(e){return new $(3e3,!1)}function Gee(){return new $(3100,!1)}function Uee(){return new $(3101,!1)}function Zee(e){return new $(3001,!1)}function Wee(e){return new $(3003,!1)}function Yee(e){return new $(3004,!1)}function Kee(e,t){return new $(3005,!1)}function Qee(){return new $(3006,!1)}function Xee(){return new $(3007,!1)}function Jee(e,t){return new $(3008,!1)}function ete(e){return new $(3002,!1)}function tte(e,t,r,n,i){return new $(3010,!1)}function nte(){return new $(3011,!1)}function rte(){return new $(3012,!1)}function ite(){return new $(3200,!1)}function ate(){return new $(3202,!1)}function ote(){return new $(3013,!1)}function ste(e){return new $(3014,!1)}function lte(e){return new $(3015,!1)}function ute(e){return new $(3016,!1)}function cte(e,t){return new $(3404,!1)}function dte(e){return new $(3502,!1)}function hte(e){return new $(3503,!1)}function pte(){return new $(3300,!1)}function mte(e){return new $(3504,!1)}function fte(e){return new $(3301,!1)}function gte(e,t){return new $(3302,!1)}function vte(e){return new $(3303,!1)}function bte(e,t){return new $(3400,!1)}function yte(e){return new $(3401,!1)}function _te(e){return new $(3402,!1)}function wte(e,t){return new $(3505,!1)}function Xr(e){switch(e.length){case 0:return new Go;case 1:return e[0];default:return new qw(e)}}function $w(e,t,r=new Map,n=new Map){let i=[],a=[],o=-1,l=null;if(t.forEach(u=>{let c=u.get("offset"),d=c==o,p=d&&l||new Map;u.forEach((v,g)=>{let w=g,x=v;if(g!=="offset")switch(w=e.normalizePropertyName(w,i),x){case am:x=r.get(g);break;case Mr:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,i);break}p.set(w,x)}),d||a.push(p),l=p,o=c}),i.length)throw dte();return a}function om(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&Fc(r,"start",e)));break;case"done":e.onDone(()=>n(r&&Fc(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&Fc(r,"destroy",e)));break}}function Fc(e,t,r){let n=r.totalTime,i=!!r.disabled,a=sm(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,i),o=e._data;return o!=null&&(a._data=o),a}function sm(e,t,r,n,i="",a=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:i,totalTime:a,disabled:!!o}}function _n(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function Lg(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var xte=typeof document>"u"?null:document.documentElement;function lm(e){let t=e.parentNode||e.host||null;return t===xte?null:t}function Ete(e){return e.substring(1,6)=="ebkit"}var wi=null,Fg=!1;function Ste(e){wi||(wi=kte()||{},Fg=wi.style?"WebkitAppearance"in wi.style:!1);let t=!0;return wi.style&&!Ete(e)&&(t=e in wi.style,!t&&Fg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in wi.style)),t}function kte(){return typeof document<"u"?document.body:null}function Gw(e,t){for(;t;){if(t===e)return!0;t=lm(t)}return!1}function Uw(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var Cte=1e3,Zw="{{",Dte="}}",Ww="ng-enter",Qd="ng-leave",Ys="ng-trigger",Kl=".ng-trigger",jg="ng-animating",Xd=".ng-animating";function Tr(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Jd(parseFloat(t[1]),t[2])}function Jd(e,t){switch(t){case"s":return e*Cte;default:return e}}function Ql(e,t,r){return e.hasOwnProperty("duration")?e:Ite(e,t,r)}function Ite(e,t,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,a=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Pg()),{duration:0,delay:0,easing:""};i=Jd(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(a=Jd(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else i=e;if(!r){let l=!1,u=t.length;i<0&&(t.push(Gee()),l=!0),a<0&&(t.push(Uee()),l=!0),l&&t.splice(u,0,Pg())}return{duration:i,delay:a,easing:o}}function Tte(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ir(e,t,r){t.forEach((n,i)=>{let a=um(i);r&&!r.has(i)&&r.set(i,e.style[a]),e.style[a]=n})}function Oi(e,t){t.forEach((r,n)=>{let i=um(n);e.style[i]=""})}function lo(e){return Array.isArray(e)?e.length==1?e[0]:$ee(e):e}function Rte(e,t,r){let n=t.params||{},i=Yw(e);i.length&&i.forEach(a=>{n.hasOwnProperty(a)||r.push(Zee())})}var eh=new RegExp(`${Zw}\\s*(.+?)\\s*${Dte}`,"g");function Yw(e){let t=[];if(typeof e=="string"){let r;for(;r=eh.exec(e);)t.push(r[1]);eh.lastIndex=0}return t}function Uo(e,t,r){let n=`${e}`,i=n.replace(eh,(a,o)=>{let l=t[o];return l==null&&(r.push(Wee()),l=""),l.toString()});return i==n?e:i}var Ote=/-+([a-z0-9])/g;function um(e){return e.replace(Ote,(...t)=>t[1].toUpperCase())}function Nte(e,t){return e===0||t===0}function Mte(e,t,r){if(r.size&&t.length){let n=t[0],i=[];if(r.forEach((a,o)=>{n.has(o)||i.push(o),n.set(o,a)}),i.length)for(let a=1;a<t.length;a++){let o=t[a];i.forEach(l=>o.set(l,cm(e,l)))}}return t}function yn(e,t,r){switch(t.type){case Ne.Trigger:return e.visitTrigger(t,r);case Ne.State:return e.visitState(t,r);case Ne.Transition:return e.visitTransition(t,r);case Ne.Sequence:return e.visitSequence(t,r);case Ne.Group:return e.visitGroup(t,r);case Ne.Animate:return e.visitAnimate(t,r);case Ne.Keyframes:return e.visitKeyframes(t,r);case Ne.Style:return e.visitStyle(t,r);case Ne.Reference:return e.visitReference(t,r);case Ne.AnimateChild:return e.visitAnimateChild(t,r);case Ne.AnimateRef:return e.visitAnimateRef(t,r);case Ne.Query:return e.visitQuery(t,r);case Ne.Stagger:return e.visitStagger(t,r);default:throw Yee(t.type)}}function cm(e,t){return window.getComputedStyle(e)[t]}var Ate=(()=>{const t=class t{validateStyleProperty(n){return Ste(n)}containsElement(n,i){return Gw(n,i)}getParentElement(n){return lm(n)}query(n,i,a){return Uw(n,i,a)}computeStyle(n,i,a){return a||""}animate(n,i,a,o,l,u=[],c){return new Go(a,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Xc,Kw=(Xc=class{},s(Xc,"NOOP",new Ate),Xc),dm=class{},Pte=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"]),Lte=class extends dm{normalizePropertyName(e,t){return um(e)}normalizeStyleValue(e,t,r,n){let i="",a=r.toString().trim();if(Pte.has(t)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let o=r.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(Kee())}return a+i}},Xl="*";function Fte(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>jte(n,r,t)):r.push(e),r}function jte(e,t,r){if(e[0]==":"){let u=Vte(e,r);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(lte()),t;let i=n[1],a=n[2],o=n[3];t.push(Vg(i,o));let l=i==Xl&&o==Xl;a[0]=="<"&&!l&&t.push(Vg(o,i))}function Vte(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return t.push(ute()),"* => *"}}var Ks=new Set(["true","1"]),Qs=new Set(["false","0"]);function Vg(e,t){let r=Ks.has(e)||Qs.has(e),n=Ks.has(t)||Qs.has(t);return(i,a)=>{let o=e==Xl||e==i,l=t==Xl||t==a;return!o&&r&&typeof i=="boolean"&&(o=i?Ks.has(e):Qs.has(e)),!l&&n&&typeof a=="boolean"&&(l=a?Ks.has(t):Qs.has(t)),o&&l}}var Qw=":self",zte=new RegExp(`s*${Qw}s*,?`,"g");function Xw(e,t,r,n){return new Bte(e).build(t,r,n)}var zg="",Bte=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new $te(t);return this._resetContextStyleTimingState(n),yn(this,lo(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=zg,e.collectedStyles=new Map,e.collectedStyles.set(zg,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,i=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Qee()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ne.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,i.push(this.visitState(l,t))}),l.name=u}else if(o.type==Ne.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,a.push(l)}else t.errors.push(Xee())}),{type:Ne.Trigger,name:e.name,states:i,transitions:a,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,a=n||{};r.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Yw(l).forEach(u=>{a.hasOwnProperty(u)||i.add(u)})})}),i.size&&t.errors.push(Jee(e.name,[...i.values()]))}return{type:Ne.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=yn(this,lo(e.animation),t),n=Fte(e.expr,t.errors);return{type:Ne.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:xi(e.options)}}visitSequence(e,t){return{type:Ne.Sequence,steps:e.steps.map(r=>yn(this,r,t)),options:xi(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,i=e.steps.map(a=>{t.currentTime=r;let o=yn(this,a,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ne.Group,steps:i,options:xi(e.options)}}visitAnimate(e,t){let r=Ute(e.timings,t.errors);t.currentAnimateTimings=r;let n,i=e.styles?e.styles:Ag({});if(i.type==Ne.Keyframes)n=this.visitKeyframes(i,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};r.easing&&(u.easing=r.easing),a=Ag(u)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ne.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===Mr?r.push(o):t.errors.push(ete()):r.push(new Map(Object.entries(o)));let i=!1,a=null;return r.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!i)){for(let l of o.values())if(l.toString().indexOf(Zw)>=0){i=!0;break}}}),{type:Ne.Style,styles:r,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),d=!0;c&&(i!=n&&i>=c.startTime&&n<=c.endTime&&(t.errors.push(tte(l,c.startTime,c.endTime)),d=!1),i=c.startTime),d&&u.set(l,{startTime:i,endTime:n}),t.options&&Rte(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:Ne.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(nte()),r;let n=1,i=0,a=[],o=!1,l=!1,u=0,c=e.steps.map(k=>{let D=this._makeStyleAst(k,t),O=D.offset!=null?D.offset:Gte(D.styles),N=0;return O!=null&&(i++,N=D.offset=O),l=l||N<0||N>1,o=o||N<u,u=N,a.push(N),D});l&&t.errors.push(rte()),o&&t.errors.push(ite());let d=e.steps.length,p=0;i>0&&i<d?t.errors.push(ate()):i==0&&(p=n/(d-1));let v=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return c.forEach((k,D)=>{let O=p>0?D==v?1:p*D:a[D],N=O*x;t.currentTime=g+w.delay+N,w.duration=N,this._validateStyleAst(k,t),k.offset=O,r.styles.push(k)}),r}visitReference(e,t){return{type:Ne.Reference,animation:yn(this,lo(e.animation),t),options:xi(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ne.AnimateChild,options:xi(e.options)}}visitAnimateRef(e,t){return{type:Ne.AnimateRef,animation:this.visitReference(e.animation,t),options:xi(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[i,a]=Hte(e.selector);t.currentQuerySelector=r.length?r+" "+i:i,_n(t.collectedStyles,t.currentQuerySelector,new Map);let o=yn(this,lo(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:Ne.Query,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:xi(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(ote());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ql(e.timings,t.errors,!0);return{type:Ne.Stagger,animation:yn(this,lo(e.animation),t),timings:r,options:null}}};function Hte(e){let t=!!e.split(/\s*,\s*/).find(r=>r==Qw);return t&&(e=e.replace(zte,"")),e=e.replace(/@\*/g,Kl).replace(/@\w+/g,r=>Kl+"-"+r.slice(1)).replace(/:animating/g,Xd),[e,t]}function qte(e){return e?ce({},e):null}var $te=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 Gte(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function Ute(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let i=Ql(e,t).duration;return jc(i,0,"")}let r=e;if(r.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=jc(0,0,"");return i.dynamic=!0,i.strValue=r,i}let n=Ql(r,t);return jc(n.duration,n.delay,n.easing)}function xi(e){return e?(e=ce({},e),e.params&&(e.params=qte(e.params))):e={},e}function jc(e,t,r){return{duration:e,delay:t,easing:r}}function hm(e,t,r,n,i,a,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:i,delay:a,totalTime:i+a,easing:o,subTimeline:l}}var pm=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Zte=1,Wte=":enter",Yte=new RegExp(Wte,"g"),Kte=":leave",Qte=new RegExp(Kte,"g");function Jw(e,t,r,n,i,a=new Map,o=new Map,l,u,c=[]){return new Xte().buildKeyframes(e,t,r,n,i,a,o,l,u,c)}var Xte=class{buildKeyframes(e,t,r,n,i,a,o,l,u,c=[]){u=u||new pm;let d=new Jte(e,t,u,n,i,c,[]);d.options=l;let p=l.delay?Tr(l.delay):0;d.currentTimeline.delayNextStep(p),d.currentTimeline.setStyles([a],null,d.errors,l),yn(this,r,d);let v=d.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let w=v.length-1;w>=0;w--){let x=v[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[hm(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),i=t.currentTimeline.currentTime,a=this._visitSubInstructions(r,n,n.options);i!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let i=n==null?void 0:n.delay;if(i){let a=typeof i=="number"?i:Tr(Uo(i,(n==null?void 0:n.params)??{},t.errors));r.delayNextStep(a)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,i=r.duration!=null?Tr(r.duration):null,a=r.delay!=null?Tr(r.delay):null;return i!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,i,a);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),yn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,n=t,i=e.options;if(i&&(i.params||i.delay)&&(n=t.createSubContext(i),n.transformIntoNewTimeline(),i.delay!=null)){n.previousNode.type==Ne.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Jl);let a=Tr(i.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>yn(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,i=e.options&&e.options.delay?Tr(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);i&&o.delayNextStep(i),yn(this,a,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?Uo(r,t.params,t.errors):r;return Ql(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let i=e.style;i.type==Ne.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(r.duration),this.visitStyle(i,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,i=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(o=>{let l=o.offset||0;a.forwardTime(l*i),a.setStyles(o.styles,o.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(n+i),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},i=n.delay?Tr(n.delay):0;i&&(t.previousNode.type===Ne.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Jl);let a=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let d=t.createSubContext(e.options,u);i&&d.delayNextStep(i),u===t.element&&(l=d.currentTimeline),yn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let p=d.currentTimeline.currentTime;a=Math.max(a,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,i=e.timings,a=Math.abs(i.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":l=o-l;break;case"full":l=r.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;yn(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-c+(n.startTime-r.currentTimeline.startTime)}},Jl={},Jte=class e1{constructor(t,r,n,i,a,o,l,u){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",Jl);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=a,this.errors=o,this.timelines=l,this.currentTimeline=u||new t1(this._driver,r,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let n=t,i=this.options;n.duration!=null&&(i.duration=Tr(n.duration)),n.delay!=null&&(i.delay=Tr(n.delay));let a=n.params;if(a){let o=i.params;o||(o=this.options.params={}),Object.keys(a).forEach(l=>{(!r||!o.hasOwnProperty(l))&&(o[l]=Uo(a[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let n=t.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return t}createSubContext(t=null,r,n){let i=r||this.element,a=new e1(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=Jl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,n){let i={duration:r??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},a=new ene(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(a),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,n,i,a,o){let l=[];if(i&&l.push(this.element),t.length>0){t=t.replace(Yte,"."+this._enterClassName),t=t.replace(Qte,"."+this._leaveClassName);let u=n!=1,c=this._driver.query(this.element,t,u);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),l.push(...c)}return!a&&l.length==0&&o.push(ste()),l}},t1=class n1{constructor(t,r,n,i){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new n1(this._driver,t,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Zte,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Mr),this._currentKeyframe.set(r,Mr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,i){r&&this._previousKeyframe.set("easing",r);let a=i&&i.params||{},o=tne(t,this._globalTimelineStyles);for(let[l,u]of o){let c=Uo(u,a,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Mr),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((d,p)=>{d===am?t.add(p):d===Mr&&r.add(p)}),n||c.set("offset",u/this.duration),i.push(c)});let a=[...t.values()],o=[...r.values()];if(n){let l=i[0],u=new Map(l);l.set("offset",0),u.set("offset",1),i=[l,u]}return hm(this.element,i,a,o,this.duration,this.startTime,this.easing,!1)}},ene=class extends t1{constructor(t,r,n,i,a,o,l=!1){super(t,r,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=i,this.postStyleProps=a,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let a=[],o=n+r,l=r/o,u=new Map(t[0]);u.set("offset",0),a.push(u);let c=new Map(t[0]);c.set("offset",Bg(l)),a.push(c);let d=t.length-1;for(let p=1;p<=d;p++){let v=new Map(t[p]),g=v.get("offset"),w=r+g*n;v.set("offset",Bg(w/o)),a.push(v)}n=o,r=0,i="",t=a}return hm(this.element,t,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function Bg(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function tne(e,t){let r=new Map,n;return e.forEach(i=>{if(i==="*"){n??(n=t.keys());for(let a of n)r.set(a,Mr)}else for(let[a,o]of i)r.set(a,o)}),r}function Hg(e,t,r,n,i,a,o,l,u,c,d,p,v){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:r,fromStyles:a,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:d,totalTime:p,errors:v}}var Vc={},r1=class{constructor(e,t,r){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return nne(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,i,a,o,l,u,c){var Nt;let d=[],p=this.ast.options&&this.ast.options.params||Vc,v=o&&o.params||Vc,g=this.buildStyles(r,v,d),w=l&&l.params||Vc,x=this.buildStyles(n,w,d),k=new Set,D=new Map,O=new Map,N=n==="void",X={params:i1(w,p),delay:(Nt=this.ast.options)==null?void 0:Nt.delay},ue=c?[]:Jw(e,t,this.ast.animation,i,a,g,x,X,u,d),_e=0;return ue.forEach(yt=>{_e=Math.max(yt.duration+yt.delay,_e)}),d.length?Hg(t,this._triggerName,r,n,N,g,x,[],[],D,O,_e,d):(ue.forEach(yt=>{let tt=yt.element,St=_n(D,tt,new Set);yt.preStyleProps.forEach(U=>St.add(U));let Q=_n(O,tt,new Set);yt.postStyleProps.forEach(U=>Q.add(U)),tt!==t&&k.add(tt)}),Hg(t,this._triggerName,r,n,N,g,x,ue,[...k.values()],D,O,_e))}};function nne(e,t,r,n,i){return e.some(a=>a(t,r,n,i))}function i1(e,t){let r=ce({},t);return Object.entries(e).forEach(([n,i])=>{i!=null&&(r[n]=i)}),r}var rne=class{constructor(e,t,r){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=i1(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((a,o)=>{a&&(a=Uo(a,n,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),r.set(o,a)})}),r}};function ine(e,t,r){return new ane(e,t,r)}var ane=class{constructor(e,t,r){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=r,t.states.forEach(n=>{let i=n.options&&n.options.params||{};this.states.set(n.name,new rne(n.style,i,r))}),qg(this.states,"true","1"),qg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new r1(e,n,this.states))}),this.fallbackTransition=one(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(i=>i.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function one(e,t,r){let n=[(o,l)=>!0],i={type:Ne.Sequence,steps:[],options:null},a={type:Ne.Transition,animation:i,matchers:n,options:null,queryCount:0,depCount:0};return new r1(e,a,t)}function qg(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var sne=new pm,lne=class{constructor(e,t,r){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=r}register(e,t){let r=[],n=[],i=Xw(this._driver,t,r,n);if(r.length)throw hte();this._animations.set(e,i)}_buildPlayer(e,t,r){let n=e.element,i=$w(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],i=this._animations.get(e),a,o=new Map;if(i?(a=Jw(this._driver,t,i,Ww,Qd,new Map,new Map,r,sne,n),a.forEach(c=>{let d=_n(o,c.element,new Map);c.postStyleProps.forEach(p=>d.set(p,null))})):(n.push(pte()),a=[]),n.length)throw mte();o.forEach((c,d)=>{c.forEach((p,v)=>{c.set(v,this._driver.computeStyle(d,v,Mr))})});let l=a.map(c=>{let d=o.get(c.element);return this._buildPlayer(c,new Map,d)}),u=Xr(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw fte();return t}listen(e,t,r,n){let i=sm(t,"","","");return om(this._getPlayer(e),r,i,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let a=n[0]||{};this.create(e,t,a);return}let i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},$g="ng-animate-queued",une=".ng-animate-queued",zc="ng-animate-disabled",cne=".ng-animate-disabled",dne="ng-star-inserted",hne=".ng-star-inserted",pne=[],a1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mne={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed",th=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=bne(n),r){let i=e,{value:a}=i,o=d$(i,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},Eo="void",Bc=new th(Eo),fne=class{constructor(e,t,r){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=r,this._hostClassName="ng-tns-"+e,Tn(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw gte();if(r==null||r.length==0)throw vte();if(!yne(r))throw bte();let i=_n(this._elementListeners,e,[]),a={name:t,phase:r,callback:n};i.push(a);let o=_n(this._engine.statesByElement,e,new Map);return o.has(t)||(Tn(e,Ys),Tn(e,Ys+"-"+t),o.set(t,Bc)),()=>{this._engine.afterFlush(()=>{let l=i.indexOf(a);l>=0&&i.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 yte();return t}trigger(e,t,r,n=!0){let i=this._getTrigger(t),a=new nh(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Tn(e,Ys),Tn(e,Ys+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new th(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Bc),u.value!==Eo&&l.value===u.value){if(!xne(l.params,u.params)){let v=[],g=i.matchStyles(l.value,l.params,v),w=i.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Oi(e,g),ir(e,w)})}return}let c=_n(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let d=i.matchTransition(l.value,u.value,e,u.params),p=!1;if(!d){if(!n)return;d=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:a,isFallbackTransition:p}),p||(Tn(e,$g),a.onStart(()=>{aa(e,$g)})),a.onDone(()=>{let v=this.players.indexOf(a);v>=0&&this.players.splice(v,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(a);w>=0&&g.splice(w,1)}}),this.players.push(a),c.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Kl,!0);r.forEach(n=>{if(n[zn])return;let i=this._engine.fetchNamespacesByElement(n);i.size?i.forEach(a=>a.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let i=this._engine.statesByElement.get(e),a=new Map;if(i){let o=[];if(i.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,Eo,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),r&&Xr(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(i=>{let a=i.name;if(n.has(a))return;n.add(a);let o=this._triggers.get(a).fallbackTransition,l=r.get(a)||Bc,u=new th(Eo),c=new nh(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:o,fromState:l,toState:u,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(r.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let i=e[zn];(!i||i===a1)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){Tn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let i=r.element,a=this._elementListeners.get(i);a&&a.forEach(o=>{if(o.name==r.triggerName){let l=sm(i,r.triggerName,r.fromState.value,r.toState.value);l._data=e,om(r.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let i=r.transition.ast.depCount,a=n.transition.ast.depCount;return i==0||a==0?i-a:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},gne=class{constructor(e,t,r){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=r}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new fne(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let i=!1,a=this.driver.getParentElement(t);for(;a;){let o=n.get(a);if(o){let l=r.indexOf(o);r.splice(l+1,0,e),i=!0;break}a=this.driver.getParentElement(a)}i||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let i=this._fetchNamespace(n.namespaceId);i&&t.add(i)}}return t}trigger(e,t,r,n){if(Xs(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Xs(t))return;let i=t[zn];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Tn(e,zc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),aa(e,zc))}removeNode(e,t,r){if(Xs(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,i){this.collectedLeaveElements.push(t),t[zn]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,r,n,i){return Xs(t)?this._fetchNamespace(e).listen(t,r,n,i):()=>{}}_buildInstruction(e,t,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Kl,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Xd,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Xr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[zn];if(t&&t.setForRemoval){if(e[zn]=a1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(zc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,cne,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];Tn(n,dne)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?Xr(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw _te()}_flushAnimations(e,t){let r=new pm,n=[],i=new Map,a=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(L=>{c.add(L);let H=this.driver.query(L,une,!0);for(let Y=0;Y<H.length;Y++)c.add(H[Y])});let d=this.bodyNode,p=Array.from(this.statesByElement.keys()),v=Zg(p,this.collectedEnterElements),g=new Map,w=0;v.forEach((L,H)=>{let Y=Ww+w++;g.set(H,Y),L.forEach(Te=>Tn(Te,Y))});let x=[],k=new Set,D=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){let H=this.collectedLeaveElements[L],Y=H[zn];Y&&Y.setForRemoval&&(x.push(H),k.add(H),Y.hasAnimation?this.driver.query(H,hne,!0).forEach(Te=>k.add(Te)):D.add(H))}let O=new Map,N=Zg(p,Array.from(k));N.forEach((L,H)=>{let Y=Qd+w++;O.set(H,Y),L.forEach(Te=>Tn(Te,Y))}),e.push(()=>{v.forEach((L,H)=>{let Y=g.get(H);L.forEach(Te=>aa(Te,Y))}),N.forEach((L,H)=>{let Y=O.get(H);L.forEach(Te=>aa(Te,Y))}),x.forEach(L=>{this.processLeaveNode(L)})});let X=[],ue=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(H=>{let Y=H.player,Te=H.element;if(X.push(Y),this.collectedEnterElements.length){let nt=Te[zn];if(nt&&nt.setForMove){if(nt.previousTriggersValues&&nt.previousTriggersValues.has(H.triggerName)){let Qt=nt.previousTriggersValues.get(H.triggerName),Mt=this.statesByElement.get(H.element);if(Mt&&Mt.has(H.triggerName)){let Xn=Mt.get(H.triggerName);Xn.value=Qt,Mt.set(H.triggerName,Xn)}}Y.destroy();return}}let Qe=!d||!this.driver.containsElement(d,Te),Kt=O.get(Te),Me=g.get(Te),ze=this._buildInstruction(H,r,Me,Kt,Qe);if(ze.errors&&ze.errors.length){ue.push(ze);return}if(Qe){Y.onStart(()=>Oi(Te,ze.fromStyles)),Y.onDestroy(()=>ir(Te,ze.toStyles)),n.push(Y);return}if(H.isFallbackTransition){Y.onStart(()=>Oi(Te,ze.fromStyles)),Y.onDestroy(()=>ir(Te,ze.toStyles)),n.push(Y);return}let pt=[];ze.timelines.forEach(nt=>{nt.stretchStartingKeyframe=!0,this.disabledNodes.has(nt.element)||pt.push(nt)}),ze.timelines=pt,r.append(Te,ze.timelines);let Ln={instruction:ze,player:Y,element:Te};a.push(Ln),ze.queriedElements.forEach(nt=>_n(o,nt,[]).push(Y)),ze.preStyleProps.forEach((nt,Qt)=>{if(nt.size){let Mt=l.get(Qt);Mt||l.set(Qt,Mt=new Set),nt.forEach((Xn,$r)=>Mt.add($r))}}),ze.postStyleProps.forEach((nt,Qt)=>{let Mt=u.get(Qt);Mt||u.set(Qt,Mt=new Set),nt.forEach((Xn,$r)=>Mt.add($r))})});if(ue.length){let L=[];ue.forEach(H=>{L.push(wte(H.triggerName,H.errors))}),X.forEach(H=>H.destroy()),this.reportError(L)}let _e=new Map,Nt=new Map;a.forEach(L=>{let H=L.element;r.has(H)&&(Nt.set(H,H),this._beforeAnimationBuild(L.player.namespaceId,L.instruction,_e))}),n.forEach(L=>{let H=L.element;this._getPreviousPlayers(H,!1,L.namespaceId,L.triggerName,null).forEach(Y=>{_n(_e,H,[]).push(Y),Y.destroy()})});let yt=x.filter(L=>Wg(L,l,u)),tt=new Map;Ug(tt,this.driver,D,u,Mr).forEach(L=>{Wg(L,l,u)&&yt.push(L)});let St=new Map;v.forEach((L,H)=>{Ug(St,this.driver,new Set(L),l,am)}),yt.forEach(L=>{let H=tt.get(L),Y=St.get(L);tt.set(L,new Map([...(H==null?void 0:H.entries())??[],...(Y==null?void 0:Y.entries())??[]]))});let Q=[],U=[],xe={};a.forEach(L=>{let{element:H,player:Y,instruction:Te}=L;if(r.has(H)){if(c.has(H)){Y.onDestroy(()=>ir(H,Te.toStyles)),Y.disabled=!0,Y.overrideTotalTime(Te.totalTime),n.push(Y);return}let Qe=xe;if(Nt.size>1){let Me=H,ze=[];for(;Me=Me.parentNode;){let pt=Nt.get(Me);if(pt){Qe=pt;break}ze.push(Me)}ze.forEach(pt=>Nt.set(pt,Qe))}let Kt=this._buildAnimation(Y.namespaceId,Te,_e,i,St,tt);if(Y.setRealPlayer(Kt),Qe===xe)Q.push(Y);else{let Me=this.playersByElement.get(Qe);Me&&Me.length&&(Y.parentPlayer=Xr(Me)),n.push(Y)}}else Oi(H,Te.fromStyles),Y.onDestroy(()=>ir(H,Te.toStyles)),U.push(Y),c.has(H)&&n.push(Y)}),U.forEach(L=>{let H=i.get(L.element);if(H&&H.length){let Y=Xr(H);L.setRealPlayer(Y)}}),n.forEach(L=>{L.parentPlayer?L.syncPlayerEvents(L.parentPlayer):L.destroy()});for(let L=0;L<x.length;L++){let H=x[L],Y=H[zn];if(aa(H,Qd),Y&&Y.hasAnimation)continue;let Te=[];if(o.size){let Kt=o.get(H);Kt&&Kt.length&&Te.push(...Kt);let Me=this.driver.query(H,Xd,!0);for(let ze=0;ze<Me.length;ze++){let pt=o.get(Me[ze]);pt&&pt.length&&Te.push(...pt)}}let Qe=Te.filter(Kt=>!Kt.destroyed);Qe.length?_ne(this,H,Qe):this.processLeaveNode(H)}return x.length=0,Q.forEach(L=>{this.players.push(L),L.onDone(()=>{L.destroy();let H=this.players.indexOf(L);this.players.splice(H,1)}),L.play()}),Q}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,i){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!i||i==Eo;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(r||n)&&(a=a.filter(o=>!(r&&r!=o.namespaceId||n&&n!=o.triggerName))),a}_beforeAnimationBuild(e,t,r){let n=t.triggerName,i=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==i,d=_n(r,u,[]);this._getPreviousPlayers(u,c,a,o,t.toState).forEach(p=>{let v=p.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),p.destroy(),d.push(p)})}Oi(i,t.fromStyles)}_buildAnimation(e,t,r,n,i,a){let o=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,p=t.timelines.map(g=>{let w=g.element;c.add(w);let x=w[zn];if(x&&x.removedBeforeQueried)return new Go(g.duration,g.delay);let k=w!==l,D=wne((r.get(w)||pne).map(_e=>_e.getRealPlayer())).filter(_e=>{let Nt=_e;return Nt.element?Nt.element===w:!1}),O=i.get(w),N=a.get(w),X=$w(this._normalizer,g.keyframes,O,N),ue=this._buildPlayer(g,X,D);if(g.subTimeline&&n&&d.add(w),k){let _e=new nh(e,o,w);_e.setRealPlayer(ue),u.push(_e)}return ue});u.forEach(g=>{_n(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>vne(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Tn(g,jg));let v=Xr(p);return v.onDestroy(()=>{c.forEach(g=>aa(g,jg)),ir(l,t.toStyles)}),d.forEach(g=>{_n(n,g,[]).push(v)}),v}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Go(e.duration,e.delay)}},nh=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Go);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>om(e,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){_n(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 vne(e,t,r){let n=e.get(t);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&e.delete(t)}return n}function bne(e){return e??null}function Xs(e){return e&&e.nodeType===1}function yne(e){return e=="start"||e=="done"}function Gg(e,t){let r=e.style.display;return e.style.display=t??"none",r}function Ug(e,t,r,n,i){let a=[];r.forEach(u=>a.push(Gg(u)));let o=[];n.forEach((u,c)=>{let d=new Map;u.forEach(p=>{let v=t.computeStyle(c,p,i);d.set(p,v),(!v||v.length==0)&&(c[zn]=mne,o.push(c))}),e.set(c,d)});let l=0;return r.forEach(u=>Gg(u,a[l++])),o}function Zg(e,t){let r=new Map;if(e.forEach(l=>r.set(l,[])),t.length==0)return r;let n=1,i=new Set(t),a=new Map;function o(l){if(!l)return n;let u=a.get(l);if(u)return u;let c=l.parentNode;return r.has(c)?u=c:i.has(c)?u=n:u=o(c),a.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&r.get(u).push(l)}),r}function Tn(e,t){var r;(r=e.classList)==null||r.add(t)}function aa(e,t){var r;(r=e.classList)==null||r.remove(t)}function _ne(e,t,r){Xr(r).onDone(()=>e.processLeaveNode(t))}function wne(e){let t=[];return o1(e,t),t}function o1(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof qw?o1(n.players,t):t.push(n)}}function xne(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let i=0;i<r.length;i++){let a=r[i];if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}function Wg(e,t,r){let n=r.get(e);if(!n)return!1;let i=t.get(e);return i?n.forEach(a=>i.add(a)):t.set(e,n),r.delete(e),!0}var rh=class{constructor(e,t,r){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=r,this._transitionEngine=new gne(e.body,t,r),this._timelineEngine=new lne(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,i)=>this.onRemovalComplete(n,i)}registerTrigger(e,t,r,n,i){let a=e+"-"+n,o=this._triggerCache[a];if(!o){let l=[],u=[],c=Xw(this._driver,i,l,u);if(l.length)throw cte();o=ine(n,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[i,a]=Lg(r),o=n;this._timelineEngine.command(i,t,a,o)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,i){if(r.charAt(0)=="@"){let[a,o]=Lg(r);return this._timelineEngine.listen(a,t,o,i)}return this._transitionEngine.listen(e,t,r,n,i)}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 Ene(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=Hc(t[0]),t.length>1&&(n=Hc(t[t.length-1]))):t instanceof Map&&(r=Hc(t)),r||n?new Sne(e,r,n):null}var Sne=(()=>{const t=class t{constructor(n,i,a){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=i,this._endStyles=a;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ir(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ir(this._element,this._initialStyles),this._endStyles&&(ir(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Oi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Oi(this._element,this._endStyles),this._endStyles=null),ir(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Hc(e){let t=null;return e.forEach((r,n)=>{kne(n)&&(t=t||new Map,t.set(n,r))}),t}function kne(e){return e==="display"||e==="position"}var Yg=class{constructor(e,t,r,n){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,r)=>{r!=="offset"&&e.set(r,this._finished?t:cm(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Cne=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Gw(e,t)}getParentElement(e){return lm(e)}query(e,t,r){return Uw(e,t,r)}computeStyle(e,t,r){return cm(e,t)}animate(e,t,r,n,i,a=[]){let o=n==0?"both":"forwards",l={duration:r,delay:n,fill:o};i&&(l.easing=i);let u=new Map,c=a.filter(v=>v instanceof Yg);Nte(r,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,w)=>u.set(w,g))});let d=Tte(t).map(v=>new Map(v));d=Mte(e,d,u);let p=Ene(e,d);return new Yg(e,d,l,p)}},yl="@",s1="@.disabled",l1=class{constructor(e,t,r,n){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==yl&&t==s1?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Dne=class extends l1{constructor(t,r,n,i,a){super(r,n,i,a);s(this,"factory");this.factory=t,this.namespaceId=r}setProperty(t,r,n){r.charAt(0)==yl?r.charAt(1)=="."&&r==s1?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,r.slice(1),n):this.delegate.setProperty(t,r,n)}listen(t,r,n,i){if(r.charAt(0)==yl){let a=Ine(t),o=r.slice(1),l="";return o.charAt(0)!=yl&&([o,l]=Tne(o)),this.engine.listen(this.namespaceId,a,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,r,n,i)}};function Ine(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Tne(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var Rne=class{constructor(e,t,r){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=r,t.onRemovalComplete=(n,i)=>{i==null||i.removeChild(null,n)}}createRenderer(e,t){var l;let r="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let u=this._rendererCache,c=u.get(n);if(!c){let d=()=>u.delete(n);c=new l1(r,n,this.engine,d),u.set(n,c)}return c}let i=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(i,a,e,u.name,u)};return t.data.animation.forEach(o),new Dne(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(i=>{let[a,o]=i;a(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,r;this.engine.flush(),(r=(t=this.delegate).componentReplaced)==null||r.call(t,e)}},One=(()=>{const t=class t extends rh{constructor(n,i,a){super(n,i,a)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ve),oe(Kw),oe(dm))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Nne(){return new Lte}function Mne(e,t,r){return new Rne(e,t,r)}var Ane=[{provide:dm,useFactory:Nne},{provide:rh,useClass:One},{provide:Un,useFactory:Mne,deps:[zd,rh,$e]}],Pne=[{provide:Kw,useFactory:()=>new Cne},{provide:Wi,useFactory:()=>"BrowserAnimations"},...Ane];function Lne(){return Yi("NgEagerAnimations"),[...Pne]}var Fne=(()=>{const t=class t extends Hw{constructor(n){super(),this.translate=n,this.getRangeLabel=(i,a,o)=>{if(o===0||a===0)return`0 / ${o}`;o=Math.max(o,0);let l=i*a,u=l<o?Math.min(l+a,o):l+a;return`${l+1} - ${u} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(oe(Qn))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),u1=6048e5,jne=864e5,Vne=6e4,zne=36e5,Bne=1e3,Kg=Symbol.for("constructDateFrom");function Bt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Kg in e?e[Kg](t):e instanceof Date?new e.constructor(t):new Date(t)}function Ft(e,t){return Bt(t||e,e)}function c1(e,t,r){let n=Ft(e,r==null?void 0:r.in);return isNaN(t)?Bt((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Hne={};function Xa(){return Hne}function di(e,t){var l,u,c,d;let r=Xa(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??r.weekStartsOn??((d=(c=r.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??0,i=Ft(e,t==null?void 0:t.in),a=i.getDay(),o=(a<n?7:0)+a-n;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function Aa(e,t){return di(e,Ut(ce({},t),{weekStartsOn:1}))}function d1(e,t){let r=Ft(e,t==null?void 0:t.in),n=r.getFullYear(),i=Bt(r,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let a=Aa(i),o=Bt(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=Aa(o);return r.getTime()>=a.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function eu(e){let t=Ft(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function qne(e,...t){let r=Bt.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function Qg(e,t){let r=Ft(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function $ne(e,t,r){let[n,i]=qne(r==null?void 0:r.in,e,t),a=Qg(n),o=Qg(i),l=+a-eu(a),u=+o-eu(o);return Math.round((l-u)/jne)}function Gne(e,t){let r=d1(e,t),n=Bt(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),Aa(n)}function Une(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Zne(e){return!(!Une(e)&&typeof e!="number"||isNaN(+Ft(e)))}function Wne(e,t){let r=Ft(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var Yne={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"}},Kne=(e,t,r)=>{let n,i=Yne[e];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function qc(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Qne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Xne={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Jne={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ere={date:qc({formats:Qne,defaultWidth:"full"}),time:qc({formats:Xne,defaultWidth:"full"}),dateTime:qc({formats:Jne,defaultWidth:"full"})},tre={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},nre=(e,t,r,n)=>tre[e];function uo(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):o;i=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[o]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}var rre={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ire={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},are={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"]},ore={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"]},sre={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"}},lre={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"}},ure=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},cre={ordinalNumber:ure,era:uo({values:rre,defaultWidth:"wide"}),quarter:uo({values:ire,defaultWidth:"wide",argumentCallback:e=>e-1}),month:uo({values:are,defaultWidth:"wide"}),day:uo({values:ore,defaultWidth:"wide"}),dayPeriod:uo({values:sre,defaultWidth:"wide",formattingValues:lre,defaultFormattingWidth:"wide"})};function co(e){return(t,r={})=>{let n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let o=a[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?hre(l,p=>p.test(o)):dre(l,p=>p.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=r.valueCallback?r.valueCallback(c):c;let d=t.slice(o.length);return{value:c,rest:d}}}function dre(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function hre(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function pre(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let i=n[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;let l=t.slice(i.length);return{value:o,rest:l}}}var mre=/^(\d+)(th|st|nd|rd)?/i,fre=/\d+/i,gre={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},vre={any:[/^b/i,/^(a|c)/i]},bre={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},yre={any:[/1/i,/2/i,/3/i,/4/i]},_re={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},wre={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]},xre={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},Ere={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]},Sre={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},kre={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}},Cre={ordinalNumber:pre({matchPattern:mre,parsePattern:fre,valueCallback:e=>parseInt(e,10)}),era:co({matchPatterns:gre,defaultMatchWidth:"wide",parsePatterns:vre,defaultParseWidth:"any"}),quarter:co({matchPatterns:bre,defaultMatchWidth:"wide",parsePatterns:yre,defaultParseWidth:"any",valueCallback:e=>e+1}),month:co({matchPatterns:_re,defaultMatchWidth:"wide",parsePatterns:wre,defaultParseWidth:"any"}),day:co({matchPatterns:xre,defaultMatchWidth:"wide",parsePatterns:Ere,defaultParseWidth:"any"}),dayPeriod:co({matchPatterns:Sre,defaultMatchWidth:"any",parsePatterns:kre,defaultParseWidth:"any"})},h1={code:"en-US",formatDistance:Kne,formatLong:ere,formatRelative:nre,localize:cre,match:Cre,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Dre(e,t){let r=Ft(e,t==null?void 0:t.in);return $ne(r,Wne(r))+1}function p1(e,t){let r=Ft(e,t==null?void 0:t.in),n=+Aa(r)-+Gne(r);return Math.round(n/u1)+1}function mm(e,t){var d,p,v,g;let r=Ft(e,t==null?void 0:t.in),n=r.getFullYear(),i=Xa(),a=(t==null?void 0:t.firstWeekContainsDate)??((p=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Bt((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,a),o.setHours(0,0,0,0);let l=di(o,t),u=Bt((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,a),u.setHours(0,0,0,0);let c=di(u,t);return+r>=+l?n+1:+r>=+c?n:n-1}function Ire(e,t){var o,l,u,c;let r=Xa(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??r.firstWeekContainsDate??((c=(u=r.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,i=mm(e,t),a=Bt((t==null?void 0:t.in)||e,0);return a.setFullYear(i,0,n),a.setHours(0,0,0,0),di(a,t)}function m1(e,t){let r=Ft(e,t==null?void 0:t.in),n=+di(r,t)-+Ire(r,t);return Math.round(n/u1)+1}function Ze(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var Zr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):Ze(r+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let r=t.length,n=e.getMilliseconds(),i=Math.trunc(n*Math.pow(10,r-3));return Ze(i,t.length)}},ia={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Xg={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return Zr.y(e,t)},Y:function(e,t,r,n){let i=mm(e,n),a=i>0?i:1-i;if(t==="YY"){let o=a%100;return Ze(o,2)}return t==="Yo"?r.ordinalNumber(a,{unit:"year"}):Ze(a,t.length)},R:function(e,t){let r=d1(e);return Ze(r,t.length)},u:function(e,t){let r=e.getFullYear();return Ze(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return Zr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let i=m1(e,n);return t==="wo"?r.ordinalNumber(i,{unit:"week"}):Ze(i,t.length)},I:function(e,t,r){let n=p1(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):Zr.d(e,t)},D:function(e,t,r){let n=Dre(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Ze(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Ze(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return Ze(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),i;switch(n===12?i=ia.noon:n===0?i=ia.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),i;switch(n>=17?i=ia.evening:n>=12?i=ia.afternoon:n>=4?i=ia.morning:i=ia.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Zr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):Zr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):Zr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):Zr.s(e,t)},S:function(e,t){return Zr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return ev(n);case"XXXX":case"XX":return ki(n);case"XXXXX":case"XXX":default:return ki(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return ev(n);case"xxxx":case"xx":return ki(n);case"xxxxx":case"xxx":default:return ki(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Jg(n,":");case"OOOO":default:return"GMT"+ki(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Jg(n,":");case"zzzz":default:return"GMT"+ki(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,r){return Ze(+e,t.length)}};function Jg(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),a=n%60;return a===0?r+String(i):r+String(i)+t+Ze(a,2)}function ev(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):ki(e,t)}function ki(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),i=Ze(Math.trunc(n/60),2),a=Ze(n%60,2);return r+i+t+a}var tv=(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"})}},f1=(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"})}},Tre=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return tv(e,t);let a;switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",tv(n,t)).replace("{{time}}",f1(i,t))},ih={p:f1,P:Tre},Rre=/^D+$/,Ore=/^Y+$/,Nre=["D","DD","YY","YYYY"];function g1(e){return Rre.test(e)}function v1(e){return Ore.test(e)}function ah(e,t,r){let n=Mre(e,t,r);if(console.warn(n),Nre.includes(e))throw new RangeError(n)}function Mre(e,t,r){let n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Are=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pre=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Lre=/^'([^]*?)'?$/,Fre=/''/g,jre=/[a-zA-Z]/;function b1(e,t,r){var d,p,v,g,w,x,k,D;let n=Xa(),i=(r==null?void 0:r.locale)??n.locale??h1,a=(r==null?void 0:r.firstWeekContainsDate)??((p=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((x=(w=r==null?void 0:r.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((D=(k=n.locale)==null?void 0:k.options)==null?void 0:D.weekStartsOn)??0,l=Ft(e,r==null?void 0:r.in);if(!Zne(l))throw new RangeError("Invalid time value");let u=t.match(Pre).map(O=>{let N=O[0];if(N==="p"||N==="P"){let X=ih[N];return X(O,i.formatLong)}return O}).join("").match(Are).map(O=>{if(O==="''")return{isToken:!1,value:"'"};let N=O[0];if(N==="'")return{isToken:!1,value:Vre(O)};if(Xg[N])return{isToken:!0,value:O};if(N.match(jre))throw new RangeError("Format string contains an unescaped latin alphabet character `"+N+"`");return{isToken:!1,value:O}});i.localize.preprocessor&&(u=i.localize.preprocessor(l,u));let c={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return u.map(O=>{if(!O.isToken)return O.value;let N=O.value;(!(r!=null&&r.useAdditionalWeekYearTokens)&&v1(N)||!(r!=null&&r.useAdditionalDayOfYearTokens)&&g1(N))&&ah(N,t,String(e));let X=Xg[N[0]];return X(l,N,i.localize,c)}).join("")}function Vre(e){let t=e.match(Lre);return t?t[1].replace(Fre,"'"):e}function y1(){return Object.assign({},Xa())}function zre(e,t){let r=Ft(e,t==null?void 0:t.in).getDay();return r===0?7:r}function Bre(e,t){let r=Hre(t)?new t(0):Bt(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function Hre(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var qre=10,_1=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},$re=class extends _1{constructor(e,t,r,n,i){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}},Gre=class extends _1{constructor(t,r){super();s(this,"priority",qre);s(this,"subPriority",-1);this.context=t||(n=>Bt(r,n))}set(t,r){return r.timestampIsSet?t:Bt(t,Bre(t,this.context))}},Ge=class{run(e,t,r,n){let i=this.parse(e,t,r,n);return i?{setter:new $re(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,r){return!0}},Ure=class extends Ge{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},xt={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}/},ar={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 Et(e,t){return e&&{value:t(e.value),rest:e.rest}}function mt(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function or(e,t){let r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};let n=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,a=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(i*zne+a*Vne+o*Bne),rest:t.slice(r[0].length)}}function w1(e){return mt(xt.anyDigitsSigned,e)}function bt(e,t){switch(e){case 1:return mt(xt.singleDigit,t);case 2:return mt(xt.twoDigits,t);case 3:return mt(xt.threeDigits,t);case 4:return mt(xt.fourDigits,t);default:return mt(new RegExp("^\\d{1,"+e+"}"),t)}}function tu(e,t){switch(e){case 1:return mt(xt.singleDigitSigned,t);case 2:return mt(xt.twoDigitsSigned,t);case 3:return mt(xt.threeDigitsSigned,t);case 4:return mt(xt.fourDigitsSigned,t);default:return mt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function fm(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 x1(e,t){let r=t>0,n=r?t:1-t,i;if(n<=50)i=e||100;else{let a=n+50,o=Math.trunc(a/100)*100,l=e>=a%100;i=e+o-(l?100:0)}return r?i:1-i}function E1(e){return e%400===0||e%4===0&&e%100!==0}var Zre=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){let i=a=>({year:a,isTwoDigitYear:r==="yy"});switch(r){case"y":return Et(bt(4,t),i);case"yo":return Et(n.ordinalNumber(t,{unit:"year"}),i);default:return Et(bt(r.length,t),i)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){let i=t.getFullYear();if(n.isTwoDigitYear){let o=x1(n.year,i);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let a=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}},Wre=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,r,n){let i=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Et(bt(4,t),i);case"Yo":return Et(n.ordinalNumber(t,{unit:"year"}),i);default:return Et(bt(r.length,t),i)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,i){let a=mm(t,i);if(n.isTwoDigitYear){let l=x1(n.year,a);return t.setFullYear(l,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),di(t,i)}let o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),di(t,i)}},Yre=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,r){return tu(r==="R"?4:r.length,t)}set(t,r,n){let i=Bt(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),Aa(i)}},Kre=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return tu(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Qre=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"Q":case"QQ":return bt(r.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Xre=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"q":case"qq":return bt(r.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Jre=class extends Ge{constructor(){super(...arguments);s(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);s(this,"priority",110)}parse(t,r,n){let i=a=>a-1;switch(r){case"M":return Et(mt(xt.month,t),i);case"MM":return Et(bt(2,t),i);case"Mo":return Et(n.ordinalNumber(t,{unit:"month"}),i);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},eie=class extends Ge{constructor(){super(...arguments);s(this,"priority",110);s(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,r,n){let i=a=>a-1;switch(r){case"L":return Et(mt(xt.month,t),i);case"LL":return Et(bt(2,t),i);case"Lo":return Et(n.ordinalNumber(t,{unit:"month"}),i);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function tie(e,t,r){let n=Ft(e,r==null?void 0:r.in),i=m1(n,r)-t;return n.setDate(n.getDate()-i*7),Ft(n,r==null?void 0:r.in)}var nie=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,r,n){switch(r){case"w":return mt(xt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,i){return di(tie(t,n,i),i)}};function rie(e,t,r){let n=Ft(e,r==null?void 0:r.in),i=p1(n,r)-t;return n.setDate(n.getDate()-i*7),n}var iie=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,r,n){switch(r){case"I":return mt(xt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return Aa(rie(t,n))}},aie=[31,28,31,30,31,30,31,31,30,31,30,31],oie=[31,29,31,30,31,30,31,31,30,31,30,31],sie=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subPriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"d":return mt(xt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return bt(r.length,t)}}validate(t,r){let n=t.getFullYear(),i=E1(n),a=t.getMonth();return i?r>=1&&r<=oie[a]:r>=1&&r<=aie[a]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},lie=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subpriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,r,n){switch(r){case"D":case"DD":return mt(xt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return bt(r.length,t)}}validate(t,r){let n=t.getFullYear();return E1(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function gm(e,t,r){var d,p,v,g;let n=Xa(),i=(r==null?void 0:r.weekStartsOn)??((p=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,a=Ft(e,r==null?void 0:r.in),o=a.getDay(),l=(t%7+7)%7,u=7-i,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return c1(a,c,r)}var uie=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,i){return t=gm(t,n,i),t.setHours(0,0,0,0),t}},cie=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,r,n,i){let a=o=>{let l=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return Et(bt(r.length,t),a);case"eo":return Et(n.ordinalNumber(t,{unit:"day"}),a);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,i){return t=gm(t,n,i),t.setHours(0,0,0,0),t}},die=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,r,n,i){let a=o=>{let l=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return Et(bt(r.length,t),a);case"co":return Et(n.ordinalNumber(t,{unit:"day"}),a);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,i){return t=gm(t,n,i),t.setHours(0,0,0,0),t}};function hie(e,t,r){let n=Ft(e,r==null?void 0:r.in),i=zre(n,r),a=t-i;return c1(n,a,r)}var pie=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,r,n){let i=a=>a===0?7:a;switch(r){case"i":case"ii":return bt(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return Et(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return Et(n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Et(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Et(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"}),i)}}validate(t,r){return r>=1&&r<=7}set(t,r,n){return t=hie(t,n),t.setHours(0,0,0,0),t}},mie=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(fm(n),0,0,0),t}},fie=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(fm(n),0,0,0),t}},gie=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,n){return t.setHours(fm(n),0,0,0),t}},vie=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return mt(xt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,n){let i=t.getHours()>=12;return i&&n<12?t.setHours(n+12,0,0,0):!i&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},bie=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return mt(xt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}},yie=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return mt(xt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},_ie=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return mt(xt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return bt(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){let i=n<=24?n%24:n;return t.setHours(i,0,0,0),t}},wie=class extends Ge{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return mt(xt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},xie=class extends Ge{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return mt(xt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return bt(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},Eie=class extends Ge{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,r){let n=i=>Math.trunc(i*Math.pow(10,-r.length+3));return Et(bt(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},Sie=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return or(ar.basicOptionalMinutes,t);case"XX":return or(ar.basic,t);case"XXXX":return or(ar.basicOptionalSeconds,t);case"XXXXX":return or(ar.extendedOptionalSeconds,t);case"XXX":default:return or(ar.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Bt(t,t.getTime()-eu(t)-n)}},kie=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return or(ar.basicOptionalMinutes,t);case"xx":return or(ar.basic,t);case"xxxx":return or(ar.basicOptionalSeconds,t);case"xxxxx":return or(ar.extendedOptionalSeconds,t);case"xxx":default:return or(ar.extended,t)}}set(t,r,n){return r.timestampIsSet?t:Bt(t,t.getTime()-eu(t)-n)}},Cie=class extends Ge{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return w1(t)}set(t,r,n){return[Bt(t,n*1e3),{timestampIsSet:!0}]}},Die=class extends Ge{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return w1(t)}set(t,r,n){return[Bt(t,n),{timestampIsSet:!0}]}},Iie={G:new Ure,y:new Zre,Y:new Wre,R:new Yre,u:new Kre,Q:new Qre,q:new Xre,M:new Jre,L:new eie,w:new nie,I:new iie,d:new sie,D:new lie,E:new uie,e:new cie,c:new die,i:new pie,a:new mie,b:new fie,B:new gie,h:new vie,H:new bie,K:new yie,k:new _ie,m:new wie,s:new xie,S:new Eie,X:new Sie,x:new kie,t:new Cie,T:new Die},Tie=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Rie=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Oie=/^'([^]*?)'?$/,Nie=/''/g,Mie=/\S/,Aie=/[a-zA-Z]/;function Pie(e,t,r,n){var k,D,O,N;let i=()=>Bt(r,NaN),a=y1(),o=a.locale??h1,l=a.firstWeekContainsDate??((D=(k=a.locale)==null?void 0:k.options)==null?void 0:D.firstWeekContainsDate)??1,u=a.weekStartsOn??((N=(O=a.locale)==null?void 0:O.options)==null?void 0:N.weekStartsOn)??0,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},d=[new Gre(n==null?void 0:n.in,r)],p=t.match(Rie).map(X=>{let ue=X[0];if(ue in ih){let _e=ih[ue];return _e(X,o.formatLong)}return X}).join("").match(Tie),v=[];for(let X of p){v1(X)&&ah(X,t,e),g1(X)&&ah(X,t,e);let ue=X[0],_e=Iie[ue];if(_e){let{incompatibleTokens:Nt}=_e;if(Array.isArray(Nt)){let tt=v.find(St=>Nt.includes(St.token)||St.token===ue);if(tt)throw new RangeError(`The format string mustn't contain \`${tt.fullToken}\` and \`${X}\` at the same time`)}else if(_e.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${X}\` and any other token at the same time`);v.push({token:ue,fullToken:X});let yt=_e.run(e,X,o.match,c);if(!yt)return i();d.push(yt.setter),e=yt.rest}else{if(ue.match(Aie))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ue+"`");if(X==="''"?X="'":ue==="'"&&(X=Lie(X)),e.indexOf(X)===0)e=e.slice(X.length);else return i()}}if(e.length>0&&Mie.test(e))return i();let g=d.map(X=>X.priority).sort((X,ue)=>ue-X).filter((X,ue,_e)=>_e.indexOf(X)===ue).map(X=>d.filter(ue=>ue.priority===X).sort((ue,_e)=>_e.subPriority-ue.subPriority)).map(X=>X[0]),w=Ft(r,n==null?void 0:n.in);if(isNaN(+w))return i();let x={};for(let X of g){if(!X.validate(w,c))return i();let ue=X.set(w,x,c);Array.isArray(ue)?(w=ue[0],Object.assign(x,ue[1])):w=ue}return w}function Lie(e){return e.match(Oie)[1].replace(Nie,"'")}var T=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(T||{}),vm=new J("ngx-mask config"),S1=new J("new ngx-mask config"),k1=new J("initial ngx-mask config"),Fie={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 Rt,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var jie=(()=>{const t=class t{constructor(){s(this,"_config",S(vm));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,i,a,o)=>{var g;let l=[],u="";if(Array.isArray(a)){let w=new RegExp(a.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),u=((g=n.match(w))==null?void 0:g[0])??T.EMPTY_STRING}else l=n.split(a),u=a;let c=l.length>1?`${u}${l[1]}`:T.EMPTY_STRING,d=l[0]??T.EMPTY_STRING,p=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);p&&+p&&(d[0]===T.MINUS?d=`-${d.slice(1,d.length).slice(0,p.length)}`:d=d.slice(0,p.length));let v=/(\d+)(\d{3})/;for(;i&&v.test(d);)d=d.replace(v,"$1"+i+"$2");return typeof o>"u"?d+c:o===0?d:d+c.substring(0,o+1)});s(this,"percentage",n=>{let i=n.replace(",","."),a=Number(this.allowNegativeNumbers&&n.includes(T.MINUS)?i.slice(1,n.length):i);return!isNaN(a)&&a>=0&&a<=100});s(this,"getPrecision",n=>{let i=n.split(T.DOT);return i.length>1?Number(i[i.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var i,a,o,l;for(let u=((i=this.suffix)==null?void 0:i.length)-1;u>=0;u--){let c=this.suffix.substring(u,(a=this.suffix)==null?void 0:a.length);if(n.includes(c)&&u!==((o=this.suffix)==null?void 0:o.length)-1&&(u-1<0||!n.includes(this.suffix.substring(u-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(c,T.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,i,a)=>{var u;let o=n,l=a;if(i<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${i}}.*$`),d=o.match(c),p=(d&&((u=d[0])==null?void 0:u.length))??0;if(p-1>i){let v=p-1-i;o=o.substring(0,o.length-v)}i===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,i){let[a,o]=i;return this.customPattern=o,this.applyMask(n,a)}applyMask(n,i,a=0,o=!1,l=!1,u=()=>{}){var yt,tt,St;if(!i||typeof n!="string")return T.EMPTY_STRING;let c=0,d="",p=!1,v=!1,g=1,w=!1,x=n,k=a;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 D=x.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&(d+=x.slice(c,c+1)),i===T.IP){let Q=x.split(T.DOT);this.ipError=this._validIP(Q),i="099.099.099.099"}let O=[];for(let Q=0;Q<x.length;Q++)(yt=x[Q])!=null&&yt.match("\\d")&&O.push(x[Q]??T.EMPTY_STRING);if(i===T.CPF_CNPJ&&(this.cpfCnpjError=O.length!==11&&O.length!==14,O.length>11?i="00.000.000/0000-00":i="000.000.000-00"),i.startsWith(T.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let xe=this.getPrecision(i);x=this.checkInputPrecision(x,xe,this.decimalMarker)}let Q=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(x.indexOf(Q)>0&&!this.percentage(x.substring(0,x.indexOf(Q)))){let xe=x.substring(0,x.indexOf(Q)-1);this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&!l&&(xe=x.substring(0,x.indexOf(Q))),x=`${xe}${x.substring(x.indexOf(Q),x.length)}`}let U="";this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS?U=`${T.MINUS}${x.slice(c+1,c+x.length)}`:U=x,this.percentage(U)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(i.startsWith(T.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 Q=this.getPrecision(i),U=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(Q===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===T.MINUS&&x[1]===T.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==T.COMMA&&x[2]!==T.DOT?"-"+x.slice(2,x.length):x[0]===T.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===T.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:(x[0]===U&&x.length>1&&(x=T.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===T.NUMBER_ZERO&&x[1]!==U&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+U+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===T.MINUS&&(x[1]===U||x[1]===T.NUMBER_ZERO)&&(x=x[1]===U&&x.length>2?x.slice(0,1)+T.NUMBER_ZERO+x.slice(1,x.length):x[1]===T.NUMBER_ZERO&&x.length>2&&x[2]!==U?x.slice(0,2)+U+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Me=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),ze=x[k]===T.NUMBER_ZERO||x[k]===U,pt=x[0]===T.NUMBER_ZERO,Ln=x[0]===T.MINUS,nt=x[0]===this.thousandSeparator,Qt=x[1]===U,Mt=x[1]===T.NUMBER_ZERO,Xn=x[2]===U;pt&&Qt&&ze&&k<2&&(x=Me),Ln&&Mt&&Xn&&ze&&k<3&&(x=T.MINUS+Me),Me!==T.MINUS&&(k===0&&(pt||nt)||this.allowNegativeNumbers&&k===1&&Ln&&!Mt)&&(x=Ln?T.MINUS+Me:Me)}let xe=this._charToRegExpExpression(this.thousandSeparator),L='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(xe,"");if(Array.isArray(this.decimalMarker))for(let Me of this.decimalMarker)L=L.replace(this._charToRegExpExpression(Me),T.EMPTY_STRING);else L=L.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+L+"]");x.match(H)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Q,this.decimalMarker);let Y=x.replace(new RegExp(xe,"g"),"");d=this._formatWithSeparators(Y,this.thousandSeparator,this.decimalMarker,Q);let Te=d.indexOf(T.COMMA)-x.indexOf(T.COMMA),Qe=d.length-x.length,Kt=l&&d.length<n.length&&this.separatorLimit;if((d[k-1]===this.thousandSeparator||d[k-this.prefix.length])&&this.prefix&&l)k=k-1;else if(Qe>0&&d[k]!==this.thousandSeparator||Kt){v=!0;let Me=0;do this._shift.add(k+Me),Me++;while(Me<Qe)}else d[k-1]===this.thousandSeparator||Qe===-4||Qe===-3||d[k]===this.thousandSeparator?(this._shift.clear(),this._shift.add(k-1)):Te!==0&&k>0&&!(d.indexOf(T.COMMA)>=k&&k>3)||!(d.indexOf(T.DOT)>=k&&k>3)&&Qe<=0?(this._shift.clear(),v=!0,g=Qe,k+=Qe,this._shift.add(k)):this._shift.clear()}else for(let Q=0,U=D[0];Q<D.length&&c!==i.length;Q++,U=D[Q]??T.EMPTY_STRING){let xe=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(U,i[c]??T.EMPTY_STRING)&&i[c+1]===T.SYMBOL_QUESTION)d+=U,c+=2;else if(i[c+1]===T.SYMBOL_STAR&&p&&this._checkSymbolMask(U,i[c+2]??T.EMPTY_STRING))d+=U,c+=3,p=!1;else if(this._checkSymbolMask(U,i[c]??T.EMPTY_STRING)&&i[c+1]===T.SYMBOL_STAR&&!xe)d+=U,p=!0;else if(i[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(U,i[c+2]??T.EMPTY_STRING))d+=U,c+=3;else if(this._checkSymbolMask(U,i[c]??T.EMPTY_STRING)){if(i[c]===T.HOURS&&(this.apm?Number(U)>9:Number(U)>2)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(i,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}if(i[c]===T.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(U)>2||x.slice(c-1,c).length===1&&Number(x.slice(c-1,c))>2||x.slice(c-1,c)==="1"&&Number(U)>2:d==="2"&&Number(U)>3||(d.slice(c-2,c)==="2"||d.slice(c-3,c)==="2"||d.slice(c-4,c)==="2"||d.slice(c-1,c)==="2")&&Number(U)>3&&c>10)){k=k+1,c+=1,Q--;continue}if((i[c]===T.MINUTE||i[c]===T.SECOND)&&Number(U)>5){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(i,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}let L=31,H=x[c],Y=x[c+1],Te=x[c+2],Qe=x[c-1],Kt=x[c-2],Me=x.slice(c-3,c-1),ze=x.slice(c-1,c+1),pt=x.slice(c,c+2),Ln=x.slice(c-2,c);if(i[c]===T.DAY){let nt=i.slice(0,2)===T.MONTHS,Qt=i.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Kt);if(Number(U)>3&&this.leadZeroDateTime||!nt&&(Number(pt)>L||Number(ze)>L||this.specialCharacters.includes(Y))||(Qt?Number(ze)>L||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Te)||this.specialCharacters.includes(H):Number(pt)>L||this.specialCharacters.includes(Y)&&!l)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(i,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}}if(i[c]===T.MONTH){let nt=c===0&&(Number(U)>2||Number(pt)>12||this.specialCharacters.includes(Y)&&!l),Qt=i.slice(c+2,c+3),Mt=Me.includes(Qt)&&i.includes("d0")&&(this.specialCharacters.includes(Kt)&&Number(ze)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),Xn=Number(Me)<=L&&!this.specialCharacters.includes(Me)&&this.specialCharacters.includes(Qe)&&(Number(pt)>12||this.specialCharacters.includes(Y)),$r=Number(pt)>12&&c===5||this.specialCharacters.includes(Y)&&c===5,xs=Number(Me)>L&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Ln)&&Number(Ln)>12&&i.includes("d0"),Es=Number(Me)<=L&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Qe)&&Number(ze)>12;if(Number(U)>1&&this.leadZeroDateTime||nt||Mt||Es||xs||Xn||$r&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(i,c,D.length),Q--,this.leadZeroDateTime&&(d+="0");continue}}d+=U,c++}else this.specialCharacters.includes(U)&&i[c]===U?(d+=U,c++):this.specialCharacters.indexOf(i[c]??T.EMPTY_STRING)!==-1?(d+=i[c],c++,this._shiftStep(i,c,D.length),Q--):i[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(i,c,D.length):this.patterns[i[c]??T.EMPTY_STRING]&&((tt=this.patterns[i[c]??T.EMPTY_STRING])!=null&&tt.optional)?(D[c]&&i!=="099.099.099.099"&&i!=="000.000.000-00"&&i!=="00.000.000/0000-00"&&!i.match(/^9+\.0+$/)&&!((St=this.patterns[i[c]??T.EMPTY_STRING])!=null&&St.optional)&&(d+=D[c]),i.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&i.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&c++,c++,Q--):this.maskExpression[c+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(U)===this.maskExpression[c+2]&&p||this.maskExpression[c+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(U)===this.maskExpression[c+2]&&p?(c+=3,d+=U):this.showMaskTyped&&this.specialCharacters.indexOf(U)<0&&U!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===i.length&&this.specialCharacters.indexOf(i[i.length-1]??T.EMPTY_STRING)!==-1&&(d+=i[i.length-1]);let N=k+1;for(;this._shift.has(N);)g++,N++;let X=o&&!i.startsWith(T.SEPARATOR)?c:this._shift.has(k)?g:0;w&&X--,u(X,v),g<0&&this._shift.clear();let ue=!1;l&&(ue=D.every(Q=>this.specialCharacters.includes(Q)));let _e=`${this.prefix}${ue?T.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(_e=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let Nt=x.length===1&&this.specialCharacters.includes(i[0])&&x!==i[0];if(!this._checkSymbolMask(x,i[1])&&Nt)return"";if(d.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===T.MINUS)return"";_e=`${T.MINUS}${this.prefix}${d.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return _e}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(i=>i===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(i=>i===n)}_checkSymbolMask(n,i){var a,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((a=this.patterns[i])==null?void 0:a.pattern)&&((o=this.patterns[i])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(T.EMPTY_STRING).filter((i,a)=>{let o=typeof this.decimalMarker=="string"?i===this.decimalMarker:this.decimalMarker.includes(i);return i.match("^-?\\d")||i===this.thousandSeparator||o||i===T.MINUS&&a===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,i,a){let o=/[*?]/g.test(n.slice(0,i))?a:i;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,i,a){return Array.isArray(i)?i.filter(o=>o!==a).includes(n):n===i}_validIP(n){return!(n.length===4&&!n.some((i,a)=>n.length!==a+1?i===T.EMPTY_STRING||Number(i)>255:i===T.EMPTY_STRING||Number(i.substring(0,3))>255))}_splitPercentZero(n){if(n===T.MINUS&&this.allowNegativeNumbers)return n;let i=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(T.DOT),a=this.allowNegativeNumbers&&n.includes(T.MINUS)?"-":"";if(i===-1){let o=parseInt(a?n.slice(1,n.length):n,10);return isNaN(o)?T.EMPTY_STRING:`${a}${o}`}else{let o=parseInt(n.replace("-","").substring(0,i),10),l=n.substring(i+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return u===T.EMPTY_STRING?T.EMPTY_STRING:`${a}${u}${c}${l}`}}_findFirstNonZeroDigitIndex(n){for(let i=0;i<n.length;i++){let a=n[i];if(a&&a>="1"&&a<="9")return i}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Vie=(()=>{const t=class t extends jie{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",i=>{});s(this,"_elementRef",S(lt,{optional:!0}));s(this,"document",S(Ve));s(this,"_config",S(vm));s(this,"_renderer",S(Za,{optional:!0}))}applyMask(i,a,o=0,l=!1,u=!1,c=()=>{}){if(!a)return i!==this.actualValue?this.actualValue:i;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||T.HASH)),!i&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=i&&typeof this.selStart=="number"?i[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,p="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let k=i&&i.length===1?i.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):i!==T.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(i.length>k.length?k.splice(this.selStart,0,d):i.length<k.length&&(k.length-i.length===1?u?k.splice(this.selStart-1,1):k.splice(i.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(p=this.removeMask(i)),p=this.actualValue.length&&k.length<=i.length?this.shiftTypedSymbols(k.join(T.EMPTY_STRING)):i}if(l&&(this.hiddenInput||!this.hiddenInput)&&(p=i),u&&this.specialCharacters.indexOf(this.maskExpression[v]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(p=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:a.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(p=this.removeMask(i)),this.maskChanged?p=i:p=p&&p.length?p:i,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let k=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(k),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(p,a,v,l,u,c);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(k=>!this._compareOrIncludes(k,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?u?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let k=this._numberSkipedSymbols(g);return`${g}${x.slice(w+k)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(i){let a=/(^|\D)(\d\D)/g,o=a.exec(i),l=0;for(;o!=null;)l+=1,o=a.exec(i);return l}applyValueChanges(i,a,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,i,a,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(i,a){return i.split(T.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[a[l]??T.EMPTY_STRING]&&((u=this.patterns[a[l]??T.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[a[l]??T.EMPTY_STRING])==null?void 0:c.symbol:o}).join(T.EMPTY_STRING)}getActualValue(i){let a=i.split(T.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return a.join(T.EMPTY_STRING)===i?a.join(T.EMPTY_STRING):i}shiftTypedSymbols(i){let a="";return(i&&i.split(T.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(i[l+1]??T.EMPTY_STRING)&&i[l+1]!==this.maskExpression[l+1])return a=o,i[l+1];if(a.length){let u=a;return a=T.EMPTY_STRING,u}return o})||[]).join(T.EMPTY_STRING)}numberToString(i){return!i&&i!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(i).length>14?String(i):Number(i).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(i){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(i){if(this.maskExpression===T.IP)return this._checkForIp(i);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(i)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var a;let i=(a=this._elementRef)==null?void 0:a.nativeElement;i&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==i.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([i,a]){!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,i,a)})}checkDropSpecialCharAmount(i){return i.split(T.EMPTY_STRING).filter(a=>this._findDropSpecialChar(a)).length}removeMask(i){return this._removeMask(this._removeSuffix(this._removePrefix(i)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(i){if(i===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let a=[];for(let o=0;o<i.length;o++){let l=i[o]??T.EMPTY_STRING;l&&l.match("\\d")&&a.push(l)}return a.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:a.length>3&&a.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:a.length>6&&a.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(i){let a=`${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(i===T.HASH)return a;let l=[];for(let u=0;u<i.length;u++){let c=i[u]??T.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}return l.length<=3?a.slice(l.length,a.length):l.length>3&&l.length<=6?a.slice(l.length+1,a.length):l.length>6&&l.length<=9?a.slice(l.length+2,a.length):l.length>9&&l.length<11?a.slice(l.length+3,a.length):l.length===11?"":l.length===12?i.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(i=this.document){var o;let a=(o=i==null?void 0:i.activeElement)==null?void 0:o.shadowRoot;return a!=null&&a.activeElement?this._getActiveElement(a):i.activeElement}formControlResult(i){if(this.writingValue&&!i){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(i)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(i)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===i?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))):this.onChange(this.outputTransformFn(this._toNumber(i)))}_toNumber(i){if(!this.isNumberValue||i===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return i;if(String(i).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(i);let a=Number(i);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(a)){let o=String(i).replace(",",".");return Number(o)}return Number.isNaN(a)?i:a}_removeMask(i,a){return this.maskExpression.startsWith(T.PERCENT)&&i.includes(T.DOT)?i:i&&i.replace(this._regExpForRemove(a),T.EMPTY_STRING)}_removePrefix(i){return this.prefix?i&&i.replace(this.prefix,T.EMPTY_STRING):i}_removeSuffix(i){return this.suffix?i&&i.replace(this.suffix,T.EMPTY_STRING):i}_retrieveSeparatorValue(i){let a=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&i.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(a=a.filter(o=>o!==T.WHITE_SPACE)),this._removeMask(i,a)}_regExpForRemove(i){return new RegExp(i.map(a=>`\\${a}`).join("|"),"gi")}_replaceDecimalMarkerToDot(i){let a=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return i.replace(this._regExpForRemove(a),T.DOT)}_checkSymbols(i){let a=i;if(a===T.EMPTY_STRING)return a;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(a=a.replace(T.COMMA,T.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(a));return this.isNumberValue&&o?a===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var i,a,o;for(let l in this.patterns)if(this.patterns[l]&&((i=this.patterns[l])!=null&&i.hasOwnProperty("pattern"))){let u=(a=this.patterns[l])==null?void 0:a.pattern.toString(),c=(o=this.patterns[l])==null?void 0:o.pattern;if(u!=null&&u.includes(T.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(i){let a=i.match(new RegExp("^separator\\.([^d]*)"));return a?Number(a[1]):null}_checkPrecision(i,a){let o=this.getPrecision(i),l=a;return i.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(i){return i.match(/{[0-9]+}/)&&i.split(T.EMPTY_STRING).reduce((a,o,l)=>{if(this._start=o===T.CURLY_BRACKETS_LEFT?l:this._start,o!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?a+o:a;this._end=l;let u=Number(i.slice(this._start+1,this._end)),c=new Array(u+1).join(i[this._start-1]);if(i.slice(0,this._start).length>1&&i.includes(T.LETTER_S)){let d=i.slice(0,this._start-1);return d.includes(T.CURLY_BRACKETS_LEFT)?a+c:d+a+c}else return a+c},"")||i}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function zie(){let e=S(k1),t=S(S1);return t instanceof Function?ce(ce({},e),t()):ce(ce({},e),t)}function Bie(e){return[{provide:S1,useValue:e},{provide:k1,useValue:Fie},{provide:vm,useFactory:zie},Vie]}function Hie(e){return Fh(Bie(e))}var Hu=(()=>{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=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),qie="4.0",oh=qie,Jr=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Jr||{}),$ie=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Rt);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=oh.split(".").map(a=>parseInt(a)),i=(this.version||"").split(".").map(a=>parseInt(a));return i.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):i[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${oh})!`),!1):!0}validateInputs(){let n=this,i=["language","configName","services","version",...this.extraRequiredFields],{missingFields:a,presentFields:o}=i.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),l),{missingFields:[],presentFields:[]});return a.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${a.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",Le({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Gi],decls:0,vars:0,template:function(n,i){},encapsulation:2}));let e=t;return e})(),C1=class{constructor(e,t,r,n,i){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=i,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=r}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return It(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return It(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 It(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 It(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 It(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 It(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return It(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`))})}},D1=()=>{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)},Zo=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}(Zo||{}),wa=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(wa||{}),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 Ni={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},So={authorization:"Authorization",userType:"user-type",clientType:"client-type"},go=class extends Error{};go.prototype.name="InvalidTokenError";function Gie(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Uie(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 Gie(t)}catch{return atob(t)}}function Zie(e,t){if(typeof e!="string")throw new go("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new go(`Invalid token specified: missing part #${r+1}`);let i;try{i=Uie(n)}catch(a){throw new go(`Invalid token specified: invalid base64 for part #${r+1} (${a.message})`)}try{return JSON.parse(i)}catch(a){throw new go(`Invalid token specified: invalid json for part #${r+1} (${a.message})`)}}var Wie=class extends C1{constructor(e,t,r){super(e,Zo.USER_INFOS,t,r,Zo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return It(this,null,function*(){return Zie(yield this.getLocalAccessToken("")).userProfile})}},I1=(()=>{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=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Yie(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0].ssin:e.ssin}function Kie(e){var t,r;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((r=e==null?void 0:e.mandators)==null?void 0:r.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Qie=(()=>{const t=class t extends I1{constructor(){super(...arguments),this.servicesStore=S(Hu)}resolveSsin(){return It(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Yie(n)})}resolvePatientInfo(){return It(this,null,function*(){let n=yield this.fetchUserProfileToken();return Kie(n)})}resolveUserInfo(){return It(this,null,function*(){var d,p,v,g;let n=yield this.fetchUserProfileToken(),i=n.lastName,a=n.firstName,o=this.extractProfessionalRole(n),l=((d=n==null?void 0:n.organizations)==null?void 0:d.length)>0&&((p=n==null?void 0:n.organizations[0])!=null&&p.pharmacy)?"pharmacist":void 0,u=(v=n==null?void 0:n.organizations)!=null&&v.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,c=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:a,ssin:n.ssin,lastName:i,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return It(this,null,function*(){var n,i;return((i=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:i.length)>0})}resolveProfessional(n,i){return i?n[i]:void 0}extractProfessionalRole(n){let i=["physician","nurse","midwife","dentist"],a="patient";return i.forEach(o=>{n[o]&&(a=o)}),a}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,i){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=i,this.accessTokenService=new Wie(this.servicesStore.getServices(),n,i)}};t.ɵfac=(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Xie=(()=>{const t=class t extends I1{resolveSsin(){return It(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 It(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,i){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=i}};t.ɵfac=(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Jie=(()=>{const t=class t{constructor(){this.http=S(Qa)}get(n,i,a){return Js()?this.http.get(n,{headers:a}):Je(i)}patch(n,i,a){return Js()?this.http.patch(n,{},{headers:a}):Je(i)}post(n,i,a){return Js()?this.http.post(n,{},{headers:a}):Je(i)}delete(n,i,a){return Js()?this.http.delete(n,{headers:a}):Je(i)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Js=()=>window.Cypress,xa=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(xa||{}),Ar=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(Ar||{});function eae(e,t){return It(this,null,function*(){t.next({status:xa.LOADING});try{let r=yield e,n={status:xa.SUCCESS,data:r};return t.next(n),n}catch(r){let n={status:xa.ERROR,error:rae(r)};return t.next(n),n}})}var nv={[Ar.NO_DATA]:["VIDIS_0140"],[Ar.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"],[Ar.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"],[Ar.OTHER]:[]};function tae(e){for(let t of Object.keys(nv))if(nv[t].includes(e))return t;return Ar.OTHER}function nae(e,t,r){let n=e||"UNKNOWN",i=tae(n);return{code:n,message:r??"An unexpected error occurred",group:i,traceId:t}}function rae(e){var i,a,o;let t=((i=e.error)==null?void 0:i.code)??void 0,r=((a=e.error)==null?void 0:a.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return nae(t,n,r)}var sh={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function lh(e){e||(as(),e=S(pr));let t=new ht(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(oi(t))}function iae(e,t){var u;let r=!(t!=null&&t.manualCleanup);r&&!(t!=null&&t.injector)&&as();let n=r?((u=t==null?void 0:t.injector)==null?void 0:u.get(pr))??S(pr):null,i=aae(t==null?void 0:t.equal),a;t!=null&&t.requireSync?a=Mo({kind:0},{equal:i}):a=Mo({kind:1,value:t==null?void 0:t.initialValue},{equal:i});let o,l=e.subscribe({next:c=>a.set({kind:1,value:c}),error:c=>{if(t!=null&&t.rejectErrors)throw c;a.set({kind:2,error:c})},complete:()=>{o==null||o()}});if(t!=null&&t.requireSync&&a().kind===0)throw new $(601,!1);return o=n==null?void 0:n.onDestroy(l.unsubscribe.bind(l)),Ti(()=>{let c=a();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new $(601,!1)}},{equal:t==null?void 0:t.equal})}function aae(e=Object.is){return(t,r)=>t.kind===1&&r.kind===1&&e(t.value,r.value)}var oae=(e=S(Qp))=>iae(e.observe([sh.XSmall,sh.Small]).pipe(Tt(t=>t.matches)),{initialValue:!1});function T1(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var sae={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function nu(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of sae[t]){let n=e.find(i=>i.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var lae=(()=>{const t=class t{constructor(){this.translate=S(Qn)}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 nu(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),R1=(()=>{const t=class t{constructor(){this.http=S(Qa),this.snackbarService=S(N1)}getLeaflet(n,i){return this.http.get(`/v2/leaflet/${n}/${i}`,{responseType:"text"}).pipe(sn(1),Th(a=>(this.snackbarService.showError(a.status===404?"error.no-leaflet":"error.fetch-leaflet"),m0(()=>a))))}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Pa=(()=>{const t=class t{constructor(){this.config=S(Ja),this.injector=S(dt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Xie):this.injector.get(Qie)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function uae(e,t){if(e&1){let r=Hr();V(0,"div",1)(1,"button",2),kn("click",function(){wn(r);let n=le();return xn(n.action())}),ne(2),B()()}if(e&2){let r=le();F(2),ot(" ",r.data.action," ")}}var cae=["label"];function dae(e,t){}var hae=Math.pow(2,31)-1,uh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new be);s(this,"_afterOpened",new be);s(this,"_onAction",new be);s(this,"_durationTimeoutId");s(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,hae))}_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}},O1=new J("MatSnackBarData"),ru=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")}},pae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),mae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),fae=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),gae=(()=>{const t=class t{constructor(){s(this,"snackBarRef",S(uh));s(this,"data",S(O1))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({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,i){n&1&&(V(0,"div",0),ne(1),B(),me(2,uae,3,1,"div",1)),n&2&&(F(),ot(" ",i.data.message,`
30
- `),F(),Fe(i.hasAction?2:-1))},dependencies:[ws,pae,mae,fae],styles:[`.mat-mdc-simple-snack-bar{display:flex}
31
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),$c="_mat-snack-bar-enter",Gc="_mat-snack-bar-exit",vae=(()=>{const t=class t extends Vu{constructor(){super();s(this,"_ngZone",S($e));s(this,"_elementRef",S(lt));s(this,"_changeDetectorRef",S(pi));s(this,"_platform",S(dn));s(this,"_rendersRef");s(this,"_animationsDisabled",S(Wi,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",S(ru));s(this,"_document",S(Ve));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new be);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new be);s(this,"_onExit",new be);s(this,"_onEnter",new be);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",S(_s).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",i=>{this._assertNotAttached();let a=this._portalOutlet.attachDomPortal(i);return this._afterPortalAttached(),a});let i=this.snackBarConfig;i.politeness==="assertive"&&!i.announcementMessage?this._live="assertive":i.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=Wb(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(i){this._assertNotAttached();let a=this._portalOutlet.attachComponentPortal(i);return this._afterPortalAttached(),a}attachTemplatePortal(i){this._assertNotAttached();let a=this._portalOutlet.attachTemplatePortal(i);return this._afterPortalAttached(),a}onAnimationEnd(i){i===Gc?this._completeExit():i===$c&&(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($c)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd($c)},200)))}exit(){return this._destroyed?Je(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(Gc)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Gc),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 i=this._elementRef.nativeElement,a=this.snackBarConfig.panelClass;a&&(Array.isArray(a)?a.forEach(u=>i.classList.add(u)):i.classList.add(a)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let i=this._liveElementId,a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<a.length;o++){let l=a[o],u=l.getAttribute("aria-owns");this._trackedModals.add(l),u?u.indexOf(i)===-1&&l.setAttribute("aria-owns",u+" "+i):l.setAttribute("aria-owns",i)}}_clearFromModals(){this._trackedModals.forEach(i=>{let a=i.getAttribute("aria-owns");if(a){let o=a.replace(this._liveElementId,"").trim();o.length>0?i.setAttribute("aria-owns",o):i.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let i=this._elementRef.nativeElement,a=i.querySelector("[aria-hidden]"),o=i.querySelector("[aria-live]");if(a&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&a.contains(document.activeElement)&&(l=document.activeElement),a.removeAttribute("aria-hidden"),o.appendChild(a),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,a){if(i&1&&(ql(qo,7),ql(cae,7)),i&2){let o;Rn(o=On())&&(a._portalOutlet=o.first),Rn(o=On())&&(a._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(i,a){i&1&&kn("animationend",function(o){return a.onAnimationEnd(o.animationName)})("animationcancel",function(o){return a.onAnimationEnd(o.animationName)}),i&2&&tn("mat-snack-bar-container-enter",a._animationState==="visible")("mat-snack-bar-container-exit",a._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!a._animationsDisabled)},features:[Ke],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(i,a){i&1&&(V(0,"div",1)(1,"div",2,0)(3,"div",3),me(4,dae,0,0,"ng-template",4),B(),We(5,"div"),B()()),i&2&&(F(5),cn("aria-live",a._live)("role",a._role)("id",a._liveElementId))},dependencies:[qo],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
32
- `],encapsulation:2}));let e=t;return e})();function bae(){return new ru}var yae=new J("mat-snack-bar-default-options",{providedIn:"root",factory:bae}),_ae=(()=>{const t=class t{constructor(){s(this,"_overlay",S(mi));s(this,"_live",S(LJ));s(this,"_injector",S(dt));s(this,"_breakpointObserver",S(Qp));s(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",S(yae));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",gae);s(this,"snackBarContainerComponent",vae);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,i){return this._attach(n,i)}openFromTemplate(n,i){return this._attach(n,i)}open(n,i="",a){let o=ce(ce({},this._defaultConfig),a);return o.data={message:n,action:i},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,i){let a=i&&i.viewContainerRef&&i.viewContainerRef.injector,o=dt.create({parent:a||this._injector,providers:[{provide:ru,useValue:i}]}),l=new Ho(this.snackBarContainerComponent,i.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=i,u.instance}_attach(n,i){let a=ce(ce(ce({},new ru),this._defaultConfig),i),o=this._createOverlay(a),l=this._attachSnackBarContainer(o,a),u=new uh(l,o);if(n instanceof un){let c=new Jp(n,null,{$implicit:a.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(a,u),d=new Ho(n,void 0,c),p=l.attachComponentPortal(d);u.instance=p.instance}return this._breakpointObserver.observe(sh.HandsetPortrait).pipe(oi(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),a.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(u,a),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(n,i){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),i.duration&&i.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(i.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let i=new tm;i.direction=n.direction;let a=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,u=!l&&n.horizontalPosition!=="center";return l?a.left("0"):u?a.right("0"):a.centerHorizontally(),n.verticalPosition==="top"?a.top("0"):a.bottom("0"),i.positionStrategy=a,this._overlay.create(i)}_createInjector(n,i){let a=n&&n.viewContainerRef&&n.viewContainerRef.injector;return dt.create({parent:a||this._injector,providers:[{provide:uh,useValue:i},{provide:O1,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),N1=(()=>{const t=class t{constructor(){this.snackbar=S(_ae),this.translate=S(Qn)}showSuccess(n,i="commons.close",a=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(i),{duration:a,panelClass:"mh-snackbar--success"})}showError(n,i="commons.close",a=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(i),{duration:a,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),wae={demo:{env:Jr.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Jr.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Jr.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Jr.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Jr.PROD}},Ja=(()=>{const t=class t{setEnvironment(n){this.configVariables=wae[Jr[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),xae=(e,t)=>{let r=S(Pa).getInstance(),n=S(Hu),i=S(Ja).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!i)return t(e);if(r.isOfflineAuthenticated)return Je();let a=e.headers||new Ma,o=r.isProfessional;return $i(n.getServices().getAccessToken("")).pipe(Io(l=>t(e.clone({url:`${i}${e.url}`,headers:a.set(So.authorization,Ni.getAuthorizationHeader(l)).set(So.userType,Ni.getUserType({isProfessional:o})).set(So.clientType,D1()?Ni.clientType.mobileApp:Ni.clientType.webApp)}))))};function Eae(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Sae=["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",Eae];function kae(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Cae=["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",kae];function Dae(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&r===0||!(n>=0&&n<=5)?4:5}var Iae=["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",Dae];function Tae(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var Rae=["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",Tae];ju(Sae,"de");ju(Rae,"nl");ju(Iae,"fr");ju(Cae,"en");var Oae=class{handleError(e){throw new Error(e)}},Nae=class extends oee{getFirstDayOfWeek(){return 1}format(e){return b1(e,"dd/MM/yyyy")}parse(e){return Pie(e,"dd/MM/yyyy",new Date)}},Mae={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"}}},Aae=[Lne(),XX(JX([xae])),Hie(),{provide:Gn,useClass:Oae},{provide:vw,useClass:Nae,deps:[Zd]},{provide:UJ,useValue:Mae},{provide:Hw,useClass:Fne},{provide:Tw,useValue:{panelClass:"mh-dialog-container"}}],Pae=Iv(p$(),1),Lae=new J("MESSAGE_FORMAT_CONFIG"),Fae={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},jae=(()=>{const t=class t extends ys{constructor(n){super(),this.mfCache=new Map;let{formatters:i,biDiSupport:a,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:d}=ce(ce({},Fae),n);this.messageFormatOptions={customFormatters:i,biDiSupport:a,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=d}compile(n,i){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let a;try{a=this.getMessageFormatInstance(i).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${i}': '${n}'`),a=zae(n,i)}return this.throwOnError||(a=Vae(a,n)),a}compileTranslations(n,i){return typeof n=="string"?this.compile(n,i):Object.keys(n).reduce((a,o)=>{let l=n[o];return a[o]=this.compileTranslations(l,i),a},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new Pae.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(oe(Lae,8))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})();function Vae(e,t){return r=>{let n=t;try{n=e(r)}catch(i){console.error(i),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return n}}function zae(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var M1={};he(M1,{"00001":()=>A1,"00002":()=>P1,"00003":()=>L1,"00004":()=>F1,"00005":()=>j1,"00006":()=>V1,"00007":()=>z1,"00008":()=>B1,"00009":()=>H1,"00010":()=>q1,"00011":()=>$1,"00012":()=>G1,"00013":()=>U1,"00014":()=>Z1,"00015":()=>W1,"00016":()=>Y1,"00017":()=>K1,"00018":()=>Q1,"00019":()=>X1,"00020":()=>J1,"00021":()=>ex,"00022":()=>tx,"00023":()=>nx,"00024":()=>rx,"00025":()=>ix,"00026":()=>ax,"00027":()=>ox,"00028":()=>sx,"00029":()=>lx,"00030":()=>ux,ampoule:()=>Px,bandage:()=>Rx,bottle:()=>Lx,box:()=>Nx,cm:()=>cx,default:()=>Bae,dropsperminute:()=>dx,"effervescent-tablet":()=>Ix,gm:()=>hx,internationalunits:()=>px,iu:()=>Cx,liter:()=>Mx,"mck/h":()=>mx,"mck/kg/minute":()=>fx,measure:()=>gx,meq:()=>Sx,mg:()=>xx,"mg/h":()=>vx,"mg/ml":()=>Ex,micrograms:()=>Tx,miu:()=>kx,"ml/h":()=>bx,mmol:()=>Dx,piece:()=>Ox,syringe:()=>Ax,"syringe-ampoule":()=>Fx,tbl:()=>yx,tsp:()=>_x,"unt/h":()=>wx});var A1="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",P1="{count, plural, one{Ampulle} other{Ampullen}}",L1="anwenden",F1="{count, plural, one{Kapsel} other{Kapseln}}",j1="{count, plural, one{Tablette} other{Tabletten}}",V1="Dosis",z1="{count, plural, one{Tropf} other{Tropfen}}",B1="{count, plural, one{Fläsche} other{Fläschchen}}",H1="{count, plural, one{Implantat} other{Implantate}}",q1="{count, plural, one{Infusion} other{Infusionen}}",$1="{count, plural, one{Inhalation} other{Inhalationen}}",G1="Einstechen",U1="Kaugummi",Z1="{count, plural, one{Kompresse} other{Kompressen}}",W1="{count, plural, one{Einlauf} other{Einläufe}}",Y1="ml",K1="Ov.",Q1="{count, plural, one{Perle} other{Perlen}}",X1="{count, plural, one{Pastille} other{Pastillen}}",J1="Pflaster",ex="cart",tx="Pen",nx="{count, plural, one{Puff} other{Puffs}}",rx="{count, plural, one{Schwamm} other{Schwämme}}",ix="{count, plural, one{Stift} other{Stifte}}",ax="Suppo",ox="Tube",sx="{count, plural, one{Docht} other{Dochte}}",lx="Beutel",ux="Beutel",cx="Zentimeter",dx="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",hx="Gramm",px="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",mx="Mikrogramm pro Stunde",fx="Mikrogramm pro Kilogramm pro Minute",gx="Maß",vx="Miligramm pro Stunde",bx="Milliliter pro Stunde",yx="Esslöffel",_x="Kaffeelöffel",wx="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",xx="Milligramm",Ex="Milligramm pro Millimeter",Sx="meq",kx="miu",Cx="iu",Dx="mmol",Ix="effervescent-tablet",Tx="micrograms",Rx="{count, plural, one{bandage} other{bandagen}}",Ox="{count, plural, one{stück} other{stücke}}",Nx="schachteln",Mx="liter",Ax="{count, plural, one{spritze} other{spritzen}}",Px="{count, plural, one{glühbirn} other{glühbirnen}}",Lx="{count, plural, one{Fläsche} other{Fläschchen}}",Fx="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",Bae={"00001":A1,"00002":P1,"00003":L1,"00004":F1,"00005":j1,"00006":V1,"00007":z1,"00008":B1,"00009":H1,"00010":q1,"00011":$1,"00012":G1,"00013":U1,"00014":Z1,"00015":W1,"00016":Y1,"00017":K1,"00018":Q1,"00019":X1,"00020":J1,"00021":ex,"00022":tx,"00023":nx,"00024":rx,"00025":ix,"00026":ax,"00027":ox,"00028":sx,"00029":lx,"00030":ux,cm:cx,dropsperminute:dx,gm:hx,internationalunits:px,"mck/h":mx,"mck/kg/minute":fx,measure:gx,"mg/h":vx,"ml/h":bx,tbl:yx,tsp:_x,"unt/h":wx,mg:xx,"mg/ml":Ex,meq:Sx,miu:kx,iu:Cx,mmol:Dx,"effervescent-tablet":Ix,micrograms:Tx,bandage:Rx,piece:Ox,box:Nx,liter:Mx,syringe:Ax,ampoule:Px,bottle:Lx,"syringe-ampoule":Fx},jx={};he(jx,{"00001":()=>Vx,"00002":()=>zx,"00003":()=>Bx,"00004":()=>Hx,"00005":()=>qx,"00006":()=>$x,"00007":()=>Gx,"00008":()=>Ux,"00009":()=>Zx,"00010":()=>Wx,"00011":()=>Yx,"00012":()=>Kx,"00013":()=>Qx,"00014":()=>Xx,"00015":()=>Jx,"00016":()=>eE,"00017":()=>tE,"00018":()=>nE,"00019":()=>rE,"00020":()=>iE,"00021":()=>aE,"00022":()=>oE,"00023":()=>sE,"00024":()=>lE,"00025":()=>uE,"00026":()=>cE,"00027":()=>dE,"00028":()=>hE,"00029":()=>pE,"00030":()=>mE,ampoule:()=>zE,bandage:()=>PE,bottle:()=>BE,box:()=>FE,cm:()=>fE,default:()=>Hae,dropsperminute:()=>gE,"effervescent-tablet":()=>ME,gm:()=>vE,internationalunits:()=>bE,iu:()=>OE,liter:()=>jE,"mck/h":()=>yE,"mck/kg/minute":()=>_E,measure:()=>wE,meq:()=>TE,mg:()=>DE,"mg/h":()=>xE,"mg/ml":()=>IE,micrograms:()=>AE,miu:()=>RE,"ml/h":()=>EE,mmol:()=>NE,piece:()=>LE,syringe:()=>VE,"syringe-ampoule":()=>HE,tbl:()=>SE,tsp:()=>kE,"unt/h":()=>CE});var Vx="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",zx="{count, plural, one{ampoule} other{ampoules}}",Bx="applic.",Hx="{count, plural, one{capsule} other{capsules}}",qx="{count, plural, one{tablet} other{tablets}}",$x="{count, plural, one{dose} other{doses}}",Gx="{count, plural, one{drop} other{drops}}",Ux="{count, plural, one{bottle} other{bottles}}",Zx="{count, plural, one{implant} other{implants}}",Wx="{count, plural, one{perfusion} other{perfusions}}",Yx="{count, plural, one{inhalation} other{inhalations}}",Kx="insert",Qx="{count, plural, one{chewing gum} other{chewing gums}}",Xx="{count, plural, one{compress} other{compresses}}",Jx="enema",eE="ml",tE="{count, plural, one{ovule} other{ovules}}",nE="{count, plural, one{pearl} other{pearls}}",rE="{count, plural, one{pastille} other{pastilles}}",iE="{count, plural, one{patch} other{patches}}",aE="{count, plural, one{cartridge} other{cartridges}}",oE="{count, plural, one{pen} other{pens}}",sE="{count, plural, one{puff} other{puffs}}",lE="{count, plural, one{sponge} other{sponges}}",uE="{count, plural, one{stylo} other{stylos}}",cE="{count, plural, one{supository} other{supositories}}",dE="{count, plural, one{tube} other{tubes}}",hE="{count, plural, one{wick} other{wicks}}",pE="{count, plural, one{bag} other{bags}}",mE="{count, plural, one{small bag} other{small bags}}",fE="centimeter",gE="{count, plural, one{drop per minute} other{drops per minute}}",vE="gram",bE="international units",yE="microgram per hour",_E="microgram per kilogram per minute",wE="{count, plural, one{measure} other{measures}}",xE="milligram per hour",EE="milliliter per hour",SE="{count, plural, one{tablespoon} other{tablespoons}}",kE="{count, plural, one{teaspoon} other{teaspoons}}",CE="{count, plural, one{unit per hour} other{units per hour}}",DE="milligram",IE="milligram per milliliter",TE="milli-equivalent",RE="miu",OE="international units",NE="millimole",ME="{count, plural, one{effervescent tablet} other{effervescent tablets}}",AE="microgram",PE="{count, plural, one{bandage} other{bandages}}",LE="{count, plural, one{piece} other{pieces}}",FE="{count, plural, one{spray} other{sprays}}",jE="liter",VE="{count, plural, one{syringe} other{syringes}}",zE="{count, plural, one{ampoule} other{ampoules}}",BE="{count, plural, one{bottle} other{bottles}}",HE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Hae={"00001":Vx,"00002":zx,"00003":Bx,"00004":Hx,"00005":qx,"00006":$x,"00007":Gx,"00008":Ux,"00009":Zx,"00010":Wx,"00011":Yx,"00012":Kx,"00013":Qx,"00014":Xx,"00015":Jx,"00016":eE,"00017":tE,"00018":nE,"00019":rE,"00020":iE,"00021":aE,"00022":oE,"00023":sE,"00024":lE,"00025":uE,"00026":cE,"00027":dE,"00028":hE,"00029":pE,"00030":mE,cm:fE,dropsperminute:gE,gm:vE,internationalunits:bE,"mck/h":yE,"mck/kg/minute":_E,measure:wE,"mg/h":xE,"ml/h":EE,tbl:SE,tsp:kE,"unt/h":CE,mg:DE,"mg/ml":IE,meq:TE,miu:RE,iu:OE,mmol:NE,"effervescent-tablet":ME,micrograms:AE,bandage:PE,piece:LE,box:FE,liter:jE,syringe:VE,ampoule:zE,bottle:BE,"syringe-ampoule":HE},qE={};he(qE,{"00001":()=>$E,"00002":()=>GE,"00003":()=>UE,"00004":()=>ZE,"00005":()=>WE,"00006":()=>YE,"00007":()=>KE,"00008":()=>QE,"00009":()=>XE,"00010":()=>JE,"00011":()=>eS,"00012":()=>tS,"00013":()=>nS,"00014":()=>rS,"00015":()=>iS,"00016":()=>aS,"00017":()=>oS,"00018":()=>sS,"00019":()=>lS,"00020":()=>uS,"00021":()=>cS,"00022":()=>dS,"00023":()=>hS,"00024":()=>pS,"00025":()=>mS,"00026":()=>fS,"00027":()=>gS,"00028":()=>vS,"00029":()=>bS,"00030":()=>yS,ampoule:()=>GS,bandage:()=>zS,bottle:()=>US,box:()=>HS,cm:()=>_S,default:()=>qae,dropsperminute:()=>wS,"effervescent-tablet":()=>jS,gm:()=>xS,internationalunits:()=>ES,iu:()=>LS,liter:()=>qS,"mck/h":()=>SS,"mck/kg/minute":()=>kS,measure:()=>CS,meq:()=>AS,mg:()=>NS,"mg/h":()=>DS,"mg/ml":()=>MS,micrograms:()=>VS,miu:()=>PS,"ml/h":()=>IS,mmol:()=>FS,piece:()=>BS,syringe:()=>$S,"syringe-ampoule":()=>ZS,tbl:()=>TS,tsp:()=>RS,"unt/h":()=>OS});var $E="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",GE="amp.",UE="applic.",ZE="caps.",WE="compr.",YE="{count, plural, one{dose} other{doses}}",KE="{count, plural, one{goutte} other{gouttes}}",QE="flac.",XE="{count, plural, one{implant} other{implants}}",JE="{count, plural, one{perfusion} other{perfusions}}",eS="{count, plural, one{inhalation} other{inhalations}}",tS="insert",nS="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",rS="{count, plural, one{compres(se)} other{compres(ses)}}",iS="{count, plural, one{lavement} other{lavements}}",aS="ml",oS="ov.",sS="{count, plural, one{perle} other{perles}}",lS="{count, plural, one{pastille} other{pastilles}}",uS="{count, plural, one{patch} other{patchs}}",cS="patr.",dS="{count, plural, one{stylo} other{stylos}}",hS="{count, plural, one{puff} other{puffs}}",pS="{count, plural, one{éponge} other{éponges}}",mS="{count, plural, one{stylo} other{stylos}}",fS="suppo",gS="{count, plural, one{tube} other{tubes}}",vS="{count, plural, one{mèche} other{mèches}}",bS="{count, plural, one{sac} other{sacs}}",yS="{count, plural, one{sachet} other{sachets}}",_S="{count, plural, one{centimètre} other{centimètres}}",wS="{count, plural, one{goute par minute} other{goutes par minute}}",xS="{count, plural, one{gramme} other{grammes}}",ES="{count, plural, one{unité internationales} other{unités internationales}}",SS="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",kS="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",CS="{count, plural, one{mesure} other{mesures}}",DS="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",IS="{count, plural, one{millilitre par heure} other{millilitres par heure}}",TS="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",RS="{count, plural, one{cuillère à café} other{cuillères à café}}",OS="{count, plural, one{unité par heure} other{unités par heure}}",NS="{count, plural, one{miligramme} other{miligrammes}}",MS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",AS="milli-équivalent",PS="miu",LS="{count, plural, one{unité internationales} other{unités internationales}}",FS="millimol",jS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",VS="{count, plural, one{microgramme} other{microgrammes}}",zS="{count, plural, one{bandage} other{bandages}}",BS="{count, plural, one{pièce} other{pièces}}",HS="{count, plural, one{vaporisateur} other{vaporisateurs}}",qS="{count, plural, one{litre} other{litres}}",$S="{count, plural, one{seringue} other{seringues}}",GS="{count, plural, one{ampoule} other{ampoules}}",US="{count, plural, one{fiole} other{fioles}}",ZS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",qae={"00001":$E,"00002":GE,"00003":UE,"00004":ZE,"00005":WE,"00006":YE,"00007":KE,"00008":QE,"00009":XE,"00010":JE,"00011":eS,"00012":tS,"00013":nS,"00014":rS,"00015":iS,"00016":aS,"00017":oS,"00018":sS,"00019":lS,"00020":uS,"00021":cS,"00022":dS,"00023":hS,"00024":pS,"00025":mS,"00026":fS,"00027":gS,"00028":vS,"00029":bS,"00030":yS,cm:_S,dropsperminute:wS,gm:xS,internationalunits:ES,"mck/h":SS,"mck/kg/minute":kS,measure:CS,"mg/h":DS,"ml/h":IS,tbl:TS,tsp:RS,"unt/h":OS,mg:NS,"mg/ml":MS,meq:AS,miu:PS,iu:LS,mmol:FS,"effervescent-tablet":jS,micrograms:VS,bandage:zS,piece:BS,box:HS,liter:qS,syringe:$S,ampoule:GS,bottle:US,"syringe-ampoule":ZS},WS={};he(WS,{"00001":()=>YS,"00002":()=>KS,"00003":()=>QS,"00004":()=>XS,"00005":()=>JS,"00006":()=>ek,"00007":()=>tk,"00008":()=>nk,"00009":()=>rk,"00010":()=>ik,"00011":()=>ak,"00012":()=>ok,"00013":()=>sk,"00014":()=>lk,"00015":()=>uk,"00016":()=>ck,"00017":()=>dk,"00018":()=>hk,"00019":()=>pk,"00020":()=>mk,"00021":()=>fk,"00022":()=>gk,"00023":()=>vk,"00024":()=>bk,"00025":()=>yk,"00026":()=>_k,"00027":()=>wk,"00028":()=>xk,"00029":()=>Ek,"00030":()=>Sk,ampoule:()=>Kk,bandage:()=>Gk,bottle:()=>Qk,box:()=>Zk,cm:()=>kk,default:()=>$ae,dropsperminute:()=>Ck,"effervescent-tablet":()=>qk,gm:()=>Dk,internationalunits:()=>Ik,iu:()=>Bk,liter:()=>Wk,"mck/h":()=>Tk,"mck/kg/minute":()=>Rk,measure:()=>Ok,meq:()=>Vk,mg:()=>Fk,"mg/h":()=>Nk,"mg/ml":()=>jk,micrograms:()=>$k,miu:()=>zk,"ml/h":()=>Mk,mmol:()=>Hk,piece:()=>Uk,syringe:()=>Yk,"syringe-ampoule":()=>Xk,tbl:()=>Ak,tsp:()=>Pk,"unt/h":()=>Lk});var YS="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",KS="{count, plural, one{ampule} other{ampullen}}",QS="aanbrengen",XS="{count, plural, one{capsule} other{capsules}}",JS="{count, plural, one{tablet} other{tabletten}}",ek="{count, plural, one{dose} other{dosissen}}",tk="{count, plural, one{druppel} other{druppels}}",nk="{count, plural, one{flesje} other{flesjes}}",rk="{count, plural, one{implantaat} other{implantaten}}",ik="{count, plural, one{infuus} other{infusen}}",ak="{count, plural, one{inhalatie} other{inhalaties}}",ok="inbrengen",sk="{count, plural, one{kauwgom} other{kauwgommen}}",lk="{count, plural, one{kompres} other{kompressen}}",uk="lavement",ck="ml",dk="{count, plural, one{ovule} other{ovules}}",hk="{count, plural, one{parel} other{parels}}",pk="{count, plural, one{pastille} other{pastilles}}",mk="{count, plural, one{pleister} other{pleisters}}",fk="{count, plural, one{patroon} other{patronen}}",gk="{count, plural, one{pen} other{pennen}}",vk="{count, plural, one{puff} other{puffs}}",bk="{count, plural, one{spons} other{sponsen}}",yk="{count, plural, one{stylo} other{stylos}}",_k="{count, plural, one{zetpil} other{zetpillen}}",wk="{count, plural, one{tube} other{tubes}}",xk="{count, plural, one{wiek} other{wieken}}",Ek="{count, plural, one{zak} other{zakken}}",Sk="{count, plural, one{zakje} other{zakjes}}",kk="centimeter",Ck="{count, plural, one{druppel per minuut} other{druppels per minuut}}",Dk="gram",Ik="internationale eenheden",Tk="microgram per uur",Rk="microgram per kilogram per minuut",Ok="{count, plural, one{maat} other{maten}}",Nk="milligram per uur",Mk="milliliter per uur",Ak="{count, plural, one{eetlepel} other{eetlepels}}",Pk="{count, plural, one{koffielepel} other{koffielepels}}",Lk="{count, plural, one{eenheid per uur} other{eenheden per uur}}",Fk="miligram",jk="miligram per milimeter",Vk="milli-equivalent",zk="miu",Bk="internationale eenheden",Hk="millimol",qk="{count, plural, one{bruistablet} other{bruistabletten}}",$k="microgram",Gk="{count, plural, one{verband} other{verbanden}}",Uk="{count, plural, one{stuk} other{stuks}}",Zk="{count, plural, one{verstuiving} other{verstuivingen}}",Wk="liter",Yk="{count, plural, one{spuit} other{spuiten}}",Kk="{count, plural, one{ampul} other{ampullen}}",Qk="{count, plural, one{fles} other{flessen}}",Xk="{count, plural, one{spuitampul} other{spuitampullen}}",$ae={"00001":YS,"00002":KS,"00003":QS,"00004":XS,"00005":JS,"00006":ek,"00007":tk,"00008":nk,"00009":rk,"00010":ik,"00011":ak,"00012":ok,"00013":sk,"00014":lk,"00015":uk,"00016":ck,"00017":dk,"00018":hk,"00019":pk,"00020":mk,"00021":fk,"00022":gk,"00023":vk,"00024":bk,"00025":yk,"00026":_k,"00027":wk,"00028":xk,"00029":Ek,"00030":Sk,cm:kk,dropsperminute:Ck,gm:Dk,internationalunits:Ik,"mck/h":Tk,"mck/kg/minute":Rk,measure:Ok,"mg/h":Nk,"ml/h":Mk,tbl:Ak,tsp:Pk,"unt/h":Lk,mg:Fk,"mg/ml":jk,meq:Vk,miu:zk,iu:Bk,mmol:Hk,"effervescent-tablet":qk,micrograms:$k,bandage:Gk,piece:Uk,box:Zk,liter:Wk,syringe:Yk,ampoule:Kk,bottle:Qk,"syringe-ampoule":Xk},Gae={nl:WS,fr:qE,de:M1,en:jx},Jk={};he(Jk,{default:()=>Uae,friday:()=>iC,monday:()=>eC,saturday:()=>aC,sunday:()=>oC,thursday:()=>rC,tuesday:()=>tC,wednesday:()=>nC});var eC="Montag",tC="Dienstag",nC="Mittwoch",rC="Donnerstag",iC="Freitag",aC="Samstag",oC="Sonntag",Uae={monday:eC,tuesday:tC,wednesday:nC,thursday:rC,friday:iC,saturday:aC,sunday:oC},sC={};he(sC,{default:()=>Zae,friday:()=>hC,monday:()=>lC,saturday:()=>pC,sunday:()=>mC,thursday:()=>dC,tuesday:()=>uC,wednesday:()=>cC});var lC="Monday",uC="Tuesday",cC="Wednesday",dC="Thursday",hC="Friday",pC="Saturday",mC="Sunday",Zae={monday:lC,tuesday:uC,wednesday:cC,thursday:dC,friday:hC,saturday:pC,sunday:mC},fC={};he(fC,{default:()=>Wae,friday:()=>_C,monday:()=>gC,saturday:()=>wC,sunday:()=>xC,thursday:()=>yC,tuesday:()=>vC,wednesday:()=>bC});var gC="Lundi",vC="Mardi",bC="Mercredi",yC="Jeudi",_C="Vendredi",wC="Samedi",xC="Dimanche",Wae={monday:gC,tuesday:vC,wednesday:bC,thursday:yC,friday:_C,saturday:wC,sunday:xC},EC={};he(EC,{default:()=>Yae,friday:()=>IC,monday:()=>SC,saturday:()=>TC,sunday:()=>RC,thursday:()=>DC,tuesday:()=>kC,wednesday:()=>CC});var SC="Maandag",kC="Dinsdag",CC="Woensdag",DC="Donderdag",IC="Vrijdag",TC="Zaterdag",RC="Zondag",Yae={monday:SC,tuesday:kC,wednesday:CC,thursday:DC,friday:IC,saturday:TC,sunday:RC},Kae={nl:EC,fr:fC,de:Jk,en:sC},OC={};he(OC,{VIDIS_0035:()=>NC,VIDIS_0050:()=>MC,VIDIS_0090:()=>AC,VIDIS_0100:()=>cD,VIDIS_0110:()=>hD,VIDIS_0120:()=>dD,VIDIS_0121:()=>PC,VIDIS_0122:()=>LC,VIDIS_0123:()=>FC,VIDIS_0124:()=>jC,VIDIS_0125:()=>VC,VIDIS_0126:()=>zC,VIDIS_0131:()=>BC,VIDIS_0132:()=>HC,VIDIS_0133:()=>qC,VIDIS_0134:()=>$C,VIDIS_0135:()=>GC,VIDIS_0136:()=>UC,VIDIS_0190:()=>ZC,VIDIS_0200:()=>pD,VIDIS_0210:()=>WC,VIDIS_0211:()=>YC,VIDIS_0230:()=>KC,VIDIS_0290:()=>QC,VIDIS_0330:()=>XC,VIDIS_0340:()=>mD,VIDIS_0341:()=>fD,VIDIS_0400:()=>lD,VIDIS_04001:()=>gD,VIDIS_0435:()=>JC,VIDIS_0440:()=>eD,VIDIS_3030:()=>uD,VIDIS_3090:()=>iD,VIDIS_3100:()=>oD,VIDIS_3120:()=>sD,VIDIS_3140:()=>aD,VIDIS_3150:()=>rD,VIDIS_5000:()=>tD,VIDIS_7000:()=>nD,"action-not-authorized-close-button":()=>FD,"action-not-authorized-title":()=>LD,"data-not-available-title":()=>PD,default:()=>Qae,general:()=>bD,"has-hidden-prescriptions":()=>CD,"incorrect-elements-ms-detail":()=>VD,"incorrect-elements-ms-list":()=>jD,invalid_date_format:()=>ED,myHealth:()=>_D,myHealthUrl:()=>wD,network_error:()=>xD,"no-access":()=>yD,prescriptionList:()=>vD,"report-message-confirm-toast":()=>AD,"report-message-content":()=>TD,"report-message-explanation":()=>ID,"report-message-ignore-button":()=>MD,"report-message-link":()=>OD,"report-message-report-button":()=>ND,"report-message-term-use":()=>RD,"report-message-title":()=>DD,"status-message-content":()=>kD,"status-message-title":()=>SD});var NC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",MC="Die Patienten-INSS fehlt. (VIDIS_0050)",AC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",PC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",LC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",FC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",jC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",VC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",zC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",BC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",HC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",qC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",$C="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",GC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",UC="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",ZC="Ungültige INSS-Patientennummer. (VIDIS_0190)",WC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",YC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",KC="Der Vorgang ist ungültig (VIDIS_0230)",QC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',XC="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)",JC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",eD="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",tD="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",nD="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",rD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",iD="Das Rezept ist abgelaufen.",aD="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.",oD="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",sD="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",lD="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",uD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",cD="Vorgang nicht erlaubt.",dD="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",hD="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",pD="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",mD="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.",fD="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.",gD="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",vD="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",bD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",yD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",_D="Zurück zum Portal Meine Gesundheit",wD="https://wwwint.meinegesundheit.belgien.be/#/",xD="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",ED="Ungültiges Datumsformat.",SD="Dienst vorübergehend nicht verfügbar",kD=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
33
- Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,CD="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",DD="Technisches Problem",ID="Bitte versuchen Sie es später noch einmal.",TD="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",RD="unsere Nutzungsbedingungen",OD="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",ND="Problem melden",MD="Nicht melden",AD="Das Problem wurde gemeldet",PD="Daten nicht verfügbar",LD="Aktion nicht erlaubt",FD="Schließen",jD="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",VD="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",Qae={VIDIS_0035:NC,VIDIS_0050:MC,VIDIS_0090:AC,VIDIS_0121:PC,VIDIS_0122:LC,VIDIS_0123:FC,VIDIS_0124:jC,VIDIS_0125:VC,VIDIS_0126:zC,VIDIS_0131:BC,VIDIS_0132:HC,VIDIS_0133:qC,VIDIS_0134:$C,VIDIS_0135:GC,VIDIS_0136:UC,VIDIS_0190:ZC,VIDIS_0210:WC,VIDIS_0211:YC,VIDIS_0230:KC,VIDIS_0290:QC,VIDIS_0330:XC,VIDIS_0435:JC,VIDIS_0440:eD,VIDIS_5000:tD,VIDIS_7000:nD,VIDIS_3150:rD,VIDIS_3090:iD,VIDIS_3140:aD,VIDIS_3100:oD,VIDIS_3120:sD,VIDIS_0400:lD,VIDIS_3030:uD,VIDIS_0100:cD,VIDIS_0120:dD,VIDIS_0110:hD,VIDIS_0200:pD,VIDIS_0340:mD,VIDIS_0341:fD,VIDIS_04001:gD,prescriptionList:vD,general:bD,"no-access":yD,myHealth:_D,myHealthUrl:wD,network_error:xD,invalid_date_format:ED,"status-message-title":SD,"status-message-content":kD,"has-hidden-prescriptions":CD,"report-message-title":DD,"report-message-explanation":ID,"report-message-content":TD,"report-message-term-use":RD,"report-message-link":OD,"report-message-report-button":ND,"report-message-ignore-button":MD,"report-message-confirm-toast":AD,"data-not-available-title":PD,"action-not-authorized-title":LD,"action-not-authorized-close-button":FD,"incorrect-elements-ms-list":jD,"incorrect-elements-ms-detail":VD},zD={};he(zD,{VIDIS_0035:()=>BD,VIDIS_0050:()=>HD,VIDIS_0090:()=>qD,VIDIS_0100:()=>yI,VIDIS_0110:()=>wI,VIDIS_0120:()=>_I,VIDIS_0121:()=>$D,VIDIS_0122:()=>GD,VIDIS_0123:()=>UD,VIDIS_0124:()=>ZD,VIDIS_0125:()=>WD,VIDIS_0126:()=>YD,VIDIS_0131:()=>KD,VIDIS_0132:()=>QD,VIDIS_0133:()=>XD,VIDIS_0134:()=>JD,VIDIS_0135:()=>eI,VIDIS_0136:()=>tI,VIDIS_0190:()=>nI,VIDIS_0200:()=>xI,VIDIS_0210:()=>rI,VIDIS_0211:()=>iI,VIDIS_0230:()=>aI,VIDIS_0290:()=>oI,VIDIS_0330:()=>sI,VIDIS_0340:()=>EI,VIDIS_0341:()=>SI,VIDIS_0400:()=>vI,VIDIS_04001:()=>kI,VIDIS_0435:()=>lI,VIDIS_0440:()=>uI,VIDIS_3030:()=>bI,VIDIS_3090:()=>pI,VIDIS_3100:()=>fI,VIDIS_3120:()=>gI,VIDIS_3140:()=>mI,VIDIS_3150:()=>hI,VIDIS_5000:()=>cI,VIDIS_7000:()=>dI,"action-not-authorized-close-button":()=>UI,"action-not-authorized-title":()=>GI,"data-not-available-title":()=>$I,default:()=>Xae,general:()=>DI,"has-hidden-prescriptions":()=>PI,"incorrect-elements-ms-detail":()=>WI,"incorrect-elements-ms-list":()=>ZI,invalid_date_format:()=>NI,myHealth:()=>TI,myHealthUrl:()=>RI,network_error:()=>OI,"no-access":()=>II,prescriptionList:()=>CI,"report-message-confirm-toast":()=>qI,"report-message-content":()=>jI,"report-message-explanation":()=>FI,"report-message-ignore-button":()=>HI,"report-message-link":()=>zI,"report-message-report-button":()=>BI,"report-message-term-use":()=>VI,"report-message-title":()=>LI,"status-message-content":()=>AI,"status-message-title":()=>MI});var BD="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",HD="The patient's NISS number is missing (VIDIS_0050)",qD="The personal information provided was not recognised. (VIDIS_0090)",$D="Consulting data of a Brussels patient is currently not authorised.",GD="Consulting data of a Walloon patient is currently not authorised.",UD="Consulting data of a Brussels child by a parent is currently not authorised.",ZD="Consulting data of a Walloon child by a parent is currently not authorised.",WD="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",YD="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",KD="Access to the data of a Brussels patient is currently not permitted.",QD="Access to the data of a Walloon patient is currently not permitted.",XD="A parent’s access to the data of a Brussels child is currently not permitted.",JD="A parent’s access to the data of a Walloon child is currently not permitted.",eI="A representative’s access to the data of a Brussels patient is currently not permitted.",tI="A representative’s access to the data of a Walloon patient is currently not permitted.",nI="The patient's NISS number is invalid. (VIDIS_0190)",rI="The login was unsuccessful. Please try again. (VIDIS_0210)",iI="The login was unsuccessful. Please try again. (VIDIS_0211)",aI="The request is invalid. (VIDIS_0230)",oI="User role must be citizen. (VIDIS_0290)",sI="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)",lI="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",uI="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",cI="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",dI="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",hI="No mandate found between patient and mandateholder.",pI="Prescription has expired.",mI="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.",fI="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",gI="The patient in the session is different from the patient in the request.",vI="User is not authorized to make the request.",bI="No mandate found between patient and mandateholder.",yI="Operation is not allowed.",_I="A therapeutic relation between the requester and the patient is not available.",wI="There is no consent to share personal health information.",xI="User is not allowed to perform the operation due to an exclusion between requester and patient.",EI="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",SI="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",kI="Your request is invalid. Please try again later.",CI="Unfortunately the details of the prescription could not be retrieved. Please try again.",DI="An internal technical error has occured. Please try again later.",II="An internal technical error has occured. Please try again later.",TI="Back to the MyHealth portal.",RI="https://www.myhealth.belgium.be/",OI="A network error unfortunately has occured. Please contact your network manager if the problem persists.",NI="Invalid date format.",MI="Service temporarily unavailable",AI=`We are currently having a problem connecting to the server.
34
- Please try again later.`,PI="The patient has hidden one or more prescriptions.",LI="Technical problem",FI="Please try again later.",jI="Help us identify and resolve the issue. By reporting it, you accept ",VI="our terms of use",zI="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",BI="Report the problem",HI="Don't report",qI="The problem has been reported",$I="Data not available",GI="Action not authorized",UI="Close",ZI="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",WI="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",Xae={VIDIS_0035:BD,VIDIS_0050:HD,VIDIS_0090:qD,VIDIS_0121:$D,VIDIS_0122:GD,VIDIS_0123:UD,VIDIS_0124:ZD,VIDIS_0125:WD,VIDIS_0126:YD,VIDIS_0131:KD,VIDIS_0132:QD,VIDIS_0133:XD,VIDIS_0134:JD,VIDIS_0135:eI,VIDIS_0136:tI,VIDIS_0190:nI,VIDIS_0210:rI,VIDIS_0211:iI,VIDIS_0230:aI,VIDIS_0290:oI,VIDIS_0330:sI,VIDIS_0435:lI,VIDIS_0440:uI,VIDIS_5000:cI,VIDIS_7000:dI,VIDIS_3150:hI,VIDIS_3090:pI,VIDIS_3140:mI,VIDIS_3100:fI,VIDIS_3120:gI,VIDIS_0400:vI,VIDIS_3030:bI,VIDIS_0100:yI,VIDIS_0120:_I,VIDIS_0110:wI,VIDIS_0200:xI,VIDIS_0340:EI,VIDIS_0341:SI,VIDIS_04001:kI,prescriptionList:CI,general:DI,"no-access":II,myHealth:TI,myHealthUrl:RI,network_error:OI,invalid_date_format:NI,"status-message-title":MI,"status-message-content":AI,"has-hidden-prescriptions":PI,"report-message-title":LI,"report-message-explanation":FI,"report-message-content":jI,"report-message-term-use":VI,"report-message-link":zI,"report-message-report-button":BI,"report-message-ignore-button":HI,"report-message-confirm-toast":qI,"data-not-available-title":$I,"action-not-authorized-title":GI,"action-not-authorized-close-button":UI,"incorrect-elements-ms-list":ZI,"incorrect-elements-ms-detail":WI},YI={};he(YI,{VIDIS_0035:()=>KI,VIDIS_0050:()=>QI,VIDIS_0090:()=>XI,VIDIS_0100:()=>I2,VIDIS_0110:()=>R2,VIDIS_0120:()=>T2,VIDIS_0121:()=>JI,VIDIS_0122:()=>e2,VIDIS_0123:()=>t2,VIDIS_0124:()=>n2,VIDIS_0125:()=>r2,VIDIS_0126:()=>i2,VIDIS_0131:()=>a2,VIDIS_0132:()=>o2,VIDIS_0133:()=>s2,VIDIS_0134:()=>l2,VIDIS_0135:()=>u2,VIDIS_0136:()=>c2,VIDIS_0190:()=>d2,VIDIS_0200:()=>O2,VIDIS_0210:()=>h2,VIDIS_0211:()=>p2,VIDIS_0230:()=>m2,VIDIS_0290:()=>f2,VIDIS_0330:()=>g2,VIDIS_0340:()=>N2,VIDIS_0341:()=>M2,VIDIS_0400:()=>C2,VIDIS_04001:()=>A2,VIDIS_0435:()=>v2,VIDIS_0440:()=>b2,VIDIS_3030:()=>D2,VIDIS_3090:()=>x2,VIDIS_3100:()=>S2,VIDIS_3120:()=>k2,VIDIS_3140:()=>E2,VIDIS_3150:()=>w2,VIDIS_5000:()=>y2,VIDIS_7000:()=>_2,"action-not-authorized-close-button":()=>tT,"action-not-authorized-title":()=>eT,"data-not-available-title":()=>J2,default:()=>Jae,general:()=>L2,"has-hidden-prescriptions":()=>$2,"incorrect-elements-ms-detail":()=>rT,"incorrect-elements-ms-list":()=>nT,invalid_date_format:()=>B2,myHealth:()=>j2,myHealthUrl:()=>V2,network_error:()=>z2,"no-access":()=>F2,prescriptionList:()=>P2,"report-message-confirm-toast":()=>X2,"report-message-content":()=>Z2,"report-message-explanation":()=>U2,"report-message-ignore-button":()=>Q2,"report-message-link":()=>Y2,"report-message-report-button":()=>K2,"report-message-term-use":()=>W2,"report-message-title":()=>G2,"status-message-content":()=>q2,"status-message-title":()=>H2});var KI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",QI="Le NISS du patient est manquant. (VIDIS_0050)",XI="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",JI="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",e2="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",t2="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",n2="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",r2="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",i2="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",a2="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",o2="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",s2="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",l2="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",u2="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",c2="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",d2="Le NISS du patient n’est pas valide. (VIDIS_0190)",h2="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",p2="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",m2="L’opération n’est pas valide. (VIDIS_0230)",f2="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",g2="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)",v2="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",b2="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",y2="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",_2="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",w2="Aucun mandat trouvé entre le patient et le mandataire.",x2="L’ordonnance est expirée.",E2="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.",S2="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",k2="Le patient dans la session est différent de celui dans la demande.",C2="L’utilisateur n’est pas autorisé à effectuer la requête.",D2="Aucun mandat trouvé entre le patient et le mandataire.",I2="Opération non autorisée.",T2="Aucune relation thérapeutique entre le demandeur et le patient.",R2="Aucun consentement au partage des données de santé.",O2="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",N2="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",M2="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",A2="Votre requête est invalide. Veuillez réessayer plus tard.",P2="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",L2="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",F2="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",j2="Revenir au portail MaSanté",V2="https://wwwint.masante.belgique.be/#/",z2="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",B2="Le format de date est invalide.",H2="Service temporairement indisponible",q2=`Nous rencontrons actuellement un problème de connexion au serveur.
35
- Veuillez réessayer plus tard.`,$2="Le patient a masqué une ou plusieurs prescriptions.",G2="Problème technique",U2="Veuillez réessayer plus tard.",Z2="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",W2="conditions d'utilisation",Y2="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",K2="Signaler le problème",Q2="Ignorer",X2="Le problème a été signalé",J2="Données non disponibles",eT="Action non autorisée",tT="Fermer",nT="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",rT="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",Jae={VIDIS_0035:KI,VIDIS_0050:QI,VIDIS_0090:XI,VIDIS_0121:JI,VIDIS_0122:e2,VIDIS_0123:t2,VIDIS_0124:n2,VIDIS_0125:r2,VIDIS_0126:i2,VIDIS_0131:a2,VIDIS_0132:o2,VIDIS_0133:s2,VIDIS_0134:l2,VIDIS_0135:u2,VIDIS_0136:c2,VIDIS_0190:d2,VIDIS_0210:h2,VIDIS_0211:p2,VIDIS_0230:m2,VIDIS_0290:f2,VIDIS_0330:g2,VIDIS_0435:v2,VIDIS_0440:b2,VIDIS_5000:y2,VIDIS_7000:_2,VIDIS_3150:w2,VIDIS_3090:x2,VIDIS_3140:E2,VIDIS_3100:S2,VIDIS_3120:k2,VIDIS_0400:C2,VIDIS_3030:D2,VIDIS_0100:I2,VIDIS_0120:T2,VIDIS_0110:R2,VIDIS_0200:O2,VIDIS_0340:N2,VIDIS_0341:M2,VIDIS_04001:A2,prescriptionList:P2,general:L2,"no-access":F2,myHealth:j2,myHealthUrl:V2,network_error:z2,invalid_date_format:B2,"status-message-title":H2,"status-message-content":q2,"has-hidden-prescriptions":$2,"report-message-title":G2,"report-message-explanation":U2,"report-message-content":Z2,"report-message-term-use":W2,"report-message-link":Y2,"report-message-report-button":K2,"report-message-ignore-button":Q2,"report-message-confirm-toast":X2,"data-not-available-title":J2,"action-not-authorized-title":eT,"action-not-authorized-close-button":tT,"incorrect-elements-ms-list":nT,"incorrect-elements-ms-detail":rT},iT={};he(iT,{VIDIS_0035:()=>aT,VIDIS_0050:()=>oT,VIDIS_0090:()=>sT,VIDIS_0100:()=>FT,VIDIS_0110:()=>VT,VIDIS_0120:()=>jT,VIDIS_0121:()=>lT,VIDIS_0122:()=>uT,VIDIS_0123:()=>cT,VIDIS_0124:()=>dT,VIDIS_0125:()=>hT,VIDIS_0126:()=>pT,VIDIS_0131:()=>mT,VIDIS_0132:()=>fT,VIDIS_0133:()=>gT,VIDIS_0134:()=>vT,VIDIS_0135:()=>bT,VIDIS_0136:()=>yT,VIDIS_0190:()=>_T,VIDIS_0200:()=>zT,VIDIS_0210:()=>wT,VIDIS_0211:()=>xT,VIDIS_0230:()=>ET,VIDIS_0290:()=>ST,VIDIS_0330:()=>kT,VIDIS_0340:()=>BT,VIDIS_0341:()=>HT,VIDIS_0400:()=>PT,VIDIS_04001:()=>qT,VIDIS_0435:()=>CT,VIDIS_0440:()=>DT,VIDIS_3030:()=>LT,VIDIS_3090:()=>OT,VIDIS_3100:()=>MT,VIDIS_3120:()=>AT,VIDIS_3140:()=>NT,VIDIS_3150:()=>RT,VIDIS_5000:()=>IT,VIDIS_7000:()=>TT,"action-not-authorized-close-button":()=>cR,"action-not-authorized-title":()=>uR,"data-not-available-title":()=>lR,default:()=>eoe,general:()=>GT,"has-hidden-prescriptions":()=>JT,"incorrect-elements-ms-detail":()=>hR,"incorrect-elements-ms-list":()=>dR,invalid_date_format:()=>KT,myHealth:()=>ZT,myHealthUrl:()=>WT,network_error:()=>YT,"no-access":()=>UT,prescriptionList:()=>$T,"report-message-confirm-toast":()=>sR,"report-message-content":()=>nR,"report-message-explanation":()=>tR,"report-message-ignore-button":()=>oR,"report-message-link":()=>iR,"report-message-report-button":()=>aR,"report-message-term-use":()=>rR,"report-message-title":()=>eR,"status-message-content":()=>XT,"status-message-title":()=>QT});var aT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",oT="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",sT="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",lT="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",uT="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",cT="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",dT="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",hT="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",pT="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",mT="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",fT="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",gT="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",vT="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",bT="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",yT="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",_T="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",wT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",xT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",ET="Het verzoek is ongeldig. (VIDIS_0230)",ST="Gebruikersrol moet burger zijn. (VIDIS_0290)",kT="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)",CT="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",DT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",IT="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",TT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",RT="Geen mandaat gevonden tussen patiënt en mandataris.",OT="Voorschrift is verlopen.",NT="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.",MT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",AT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",PT="De gebruiker is niet gemachtigd om de aanvraag te doen.",LT="Geen mandaat gevonden tussen patiënt en mandataris.",FT="Bewerking is niet toegestaan.",jT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",VT="Er is geen toestemming om gezondheidsgegevens te delen.",zT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",BT="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",HT="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",qT="Uw verzoek is ongeldig. Probeer later opnieuw.",$T="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",GT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",UT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",ZT="Terug naar het MijnGezondheid portaal",WT="http://wwwint.mijngezondheid.belgie.be/",YT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",KT="Ongeldig datumformaat.",QT="Service tijdelijk niet beschikbaar",XT=`Er is momenteel een probleem met de verbinding met de server.
36
- Probeer het later nog eens.`,JT="De patiënt heeft 1 of meerdere voorschriften verborgen.",eR="Technisch probleem",tR="Probeer het later opnieuw.",nR="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",rR="gebruiksvoorwaarden",iR="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",aR="Probleem melden",oR="Niet melden",sR="Het probleem is gemeld",lR="Gegevens niet beschikbaar",uR="Actie niet toegestaan",cR="Sluiten",dR="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",hR="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",eoe={VIDIS_0035:aT,VIDIS_0050:oT,VIDIS_0090:sT,VIDIS_0121:lT,VIDIS_0122:uT,VIDIS_0123:cT,VIDIS_0124:dT,VIDIS_0125:hT,VIDIS_0126:pT,VIDIS_0131:mT,VIDIS_0132:fT,VIDIS_0133:gT,VIDIS_0134:vT,VIDIS_0135:bT,VIDIS_0136:yT,VIDIS_0190:_T,VIDIS_0210:wT,VIDIS_0211:xT,VIDIS_0230:ET,VIDIS_0290:ST,VIDIS_0330:kT,VIDIS_0435:CT,VIDIS_0440:DT,VIDIS_5000:IT,VIDIS_7000:TT,VIDIS_3150:RT,VIDIS_3090:OT,VIDIS_3140:NT,VIDIS_3100:MT,VIDIS_3120:AT,VIDIS_0400:PT,VIDIS_3030:LT,VIDIS_0100:FT,VIDIS_0120:jT,VIDIS_0110:VT,VIDIS_0200:zT,VIDIS_0340:BT,VIDIS_0341:HT,VIDIS_04001:qT,prescriptionList:$T,general:GT,"no-access":UT,myHealth:ZT,myHealthUrl:WT,network_error:YT,invalid_date_format:KT,"status-message-title":QT,"status-message-content":XT,"has-hidden-prescriptions":JT,"report-message-title":eR,"report-message-explanation":tR,"report-message-content":nR,"report-message-term-use":rR,"report-message-link":iR,"report-message-report-button":aR,"report-message-ignore-button":oR,"report-message-confirm-toast":sR,"data-not-available-title":lR,"action-not-authorized-title":uR,"action-not-authorized-close-button":cR,"incorrect-elements-ms-list":dR,"incorrect-elements-ms-detail":hR},toe={nl:iT,fr:YI,de:OC,en:zD},pR={};he(pR,{1:()=>mR,10:()=>ER,11:()=>SR,12:()=>kR,13:()=>CR,14:()=>DR,15:()=>IR,16:()=>TR,17:()=>RR,18:()=>OR,19:()=>NR,2:()=>fR,20:()=>MR,21:()=>AR,22:()=>PR,23:()=>LR,24:()=>FR,25:()=>jR,26:()=>VR,27:()=>zR,28:()=>BR,29:()=>HR,3:()=>gR,30:()=>qR,31:()=>$R,32:()=>GR,33:()=>UR,34:()=>ZR,4:()=>vR,40:()=>WR,41:()=>YR,5:()=>bR,6:()=>yR,7:()=>_R,71:()=>KR,8:()=>wR,9:()=>xR,90:()=>QR,91:()=>XR,92:()=>JR,93:()=>eO,default:()=>noe});var mR="Gelatinekapseln",fR="Tabletten",gR="Creme",vR="Gel",bR="Paste",yR="Fette Salbe",_R="Granulat",wR="Zäpfchen für Erwachsene",xR="Zäpfchen für Kinder",ER="Vaginalzäpfchen",SR="Rektiole",kR="nicht gespaltenes Pulver innerliche Anwendung",CR="nicht gespaltenes Pulver äußerliche Anwendung",DR="Inhalation",IR="Pulver Zum Spalten innerliche Anwendung",TR="Pulver Zum Spalten äußerliche Anwendung",RR="Nasentropfen",OR="Nasensalbe",NR="Sirup",MR="Lösung innerliche Anwendung",AR="Lösung äußerliche Anwendung",PR="Tropfen innerliche Anwendung",LR="Tropfen äußerliche Anwendung",FR="Emulsion innerliche Anwendung",jR="Emulsion äußerliche Anwendung",VR="Shampoo",zR="Augentropfen",BR="Augenlotion",HR="Augenbad",qR="Salbe",$R="Augensalbe ",GR="Ohrentropfen",UR="Suspension innerliche Anwendung",ZR="Suspension äußerliche Anwendung",WR="Kräutermischung",YR="Tee",KR="enterische Kapseln",QR="derartig",XR="Dermatologie (fest) derartig",JR="Pulver derartig",eO="Lösung derartig",noe={1:mR,2:fR,3:gR,4:vR,5:bR,6:yR,7:_R,8:wR,9:xR,10:ER,11:SR,12:kR,13:CR,14:DR,15:IR,16:TR,17:RR,18:OR,19:NR,20:MR,21:AR,22:PR,23:LR,24:FR,25:jR,26:VR,27:zR,28:BR,29:HR,30:qR,31:$R,32:GR,33:UR,34:ZR,40:WR,41:YR,71:KR,90:QR,91:XR,92:JR,93:eO},tO={};he(tO,{1:()=>nO,10:()=>dO,11:()=>hO,12:()=>pO,13:()=>mO,14:()=>fO,15:()=>gO,16:()=>vO,17:()=>bO,18:()=>yO,19:()=>_O,2:()=>rO,20:()=>wO,21:()=>xO,22:()=>EO,23:()=>SO,24:()=>kO,25:()=>CO,26:()=>DO,27:()=>IO,28:()=>TO,29:()=>RO,3:()=>iO,30:()=>OO,31:()=>NO,32:()=>MO,33:()=>AO,34:()=>PO,4:()=>aO,40:()=>LO,41:()=>FO,5:()=>oO,6:()=>sO,7:()=>lO,71:()=>jO,8:()=>uO,9:()=>cO,90:()=>VO,91:()=>zO,92:()=>BO,93:()=>HO,default:()=>roe});var nO="Capsules",rO="Tablets",iO="Cream",aO="Gel",oO="Paste",sO="Fatty ointment",lO="Granulate",uO="Adult suppository",cO="Child suppository",dO="Vaginal ovules",hO="Rectiole",pO="Undivided powder for internal use",mO="Undivided powder for external use",fO="Inhalation",gO="Divided powders for internal use",vO="Divided powders for external use",bO="Nasal drops",yO="Nasal ointment",_O="Syrup",wO="Solution for internal use",xO="Solution for external use",EO="Drops for internal use",SO="Drops for external use",kO="Emulsion for internal use",CO="Emulsion for external use",DO="Shampoo",IO="Eye drops",TO="Eye lotion",RO="Eye bath",OO="Ointment",NO="Eye ointment",MO="Ear drops",AO="Suspension for internal use",PO="Suspension for external use",LO="Herbal mixture",FO="Tea",jO="Enteric-coated capsules",VO="As is",zO="Dermatology (solid) as is",BO="Powder as is",HO="Liquid as is",roe={1:nO,2:rO,3:iO,4:aO,5:oO,6:sO,7:lO,8:uO,9:cO,10:dO,11:hO,12:pO,13:mO,14:fO,15:gO,16:vO,17:bO,18:yO,19:_O,20:wO,21:xO,22:EO,23:SO,24:kO,25:CO,26:DO,27:IO,28:TO,29:RO,30:OO,31:NO,32:MO,33:AO,34:PO,40:LO,41:FO,71:jO,90:VO,91:zO,92:BO,93:HO},qO={};he(qO,{1:()=>$O,10:()=>JO,11:()=>eN,12:()=>tN,13:()=>nN,14:()=>rN,15:()=>iN,16:()=>aN,17:()=>oN,18:()=>sN,19:()=>lN,2:()=>GO,20:()=>uN,21:()=>cN,22:()=>dN,23:()=>hN,24:()=>pN,25:()=>mN,26:()=>fN,27:()=>gN,28:()=>vN,29:()=>bN,3:()=>UO,30:()=>yN,31:()=>_N,32:()=>wN,33:()=>xN,34:()=>EN,4:()=>ZO,40:()=>SN,41:()=>kN,5:()=>WO,6:()=>YO,7:()=>KO,71:()=>CN,8:()=>QO,9:()=>XO,90:()=>DN,91:()=>IN,92:()=>TN,93:()=>RN,default:()=>ioe});var $O="Gélules",GO="Cachets / comprimés",UO="Crème",ZO="Gel",WO="Pâte",YO="Pommade grasse",KO="Granulé",QO="Suppo adulte",XO="Suppo enfant",JO="Ovules vaginales",eN="Rectiole",tN="Poudre non-divisée usage interne",nN="Poudre non-divisée usage externe",rN="Inhalation",iN="Poudres à diviser usage interne",aN="Poudres à diviser usage externe",oN="Gouttes nasales",sN="Pommade nasale",lN="Sirop",uN="Solution usage interne",cN="Solution usage externe",dN="Gouttes usage interne",hN="Gouttes usage externe",pN="Emulsion usage interne",mN="Emulsion usage externe",fN="Shampooing",gN="Gouttes ophtalmiques",vN="Lotion ophtalmique",bN="Bain ophtalmique",yN="Pommade",_N="Pommade ophtalmique",wN="Gouttes auriculaires",xN="Suspension usage interne",EN="Suspension usage externe",SN="Mélange de plantes",kN="Thé",CN="Gélules à enrobage entérique / Gélules entériques",DN="en tant que tel/telle",IN="Dermatologie (solide) en tant que telle",TN="Poudre en tant que telle ",RN="Solution en tant que telle ",ioe={1:$O,2:GO,3:UO,4:ZO,5:WO,6:YO,7:KO,8:QO,9:XO,10:JO,11:eN,12:tN,13:nN,14:rN,15:iN,16:aN,17:oN,18:sN,19:lN,20:uN,21:cN,22:dN,23:hN,24:pN,25:mN,26:fN,27:gN,28:vN,29:bN,30:yN,31:_N,32:wN,33:xN,34:EN,40:SN,41:kN,71:CN,90:DN,91:IN,92:TN,93:RN},ON={};he(ON,{1:()=>NN,10:()=>BN,11:()=>HN,12:()=>qN,13:()=>$N,14:()=>GN,15:()=>UN,16:()=>ZN,17:()=>WN,18:()=>YN,19:()=>KN,2:()=>MN,20:()=>QN,21:()=>XN,22:()=>JN,23:()=>eM,24:()=>tM,25:()=>nM,26:()=>rM,27:()=>iM,28:()=>aM,29:()=>oM,3:()=>AN,30:()=>sM,31:()=>lM,32:()=>uM,33:()=>cM,34:()=>dM,4:()=>PN,40:()=>hM,41:()=>pM,5:()=>LN,6:()=>FN,7:()=>jN,71:()=>mM,8:()=>VN,9:()=>zN,90:()=>fM,91:()=>gM,92:()=>vM,93:()=>bM,default:()=>aoe});var NN="Capsules",MN="Tabletten",AN="Creme",PN="Gel",LN="Pasta",FN="Vette zalf",jN="Granulaat",VN="Suppo volwassene",zN="Suppo kind",BN="Vaginale zetpillen / vaginale ovules",HN="Rektiool",qN="Niet-verdeeld poeder inwendig gebruik",$N="Niet-verdeeld poeder uitwendig gebruik",GN="Inhalatie",UN="Te verdelen poeders inwendig gebruik",ZN="Te verdelen poeders uitwendig gebruik",WN="Neusdruppels",YN="Neuszalf",KN="Siroop",QN="Oplossing inwendig gebruik",XN="Oplossing uitwendig gebruik",JN="Druppels inwendig gebruik",eM="Druppels uitwendig gebruik",tM="Emulsie inwendig gebruik",nM="Emulsie uitwendig gebruik",rM="Shampoo",iM="Oogdruppels",aM="Ooglotion",oM="Oogbad",sM="Zalf",lM="Oogzalf",uM="Oordruppels",cM="Suspensie inwendig gebruik",dM="Suspensie uitwendig gebruik",hM="Kruidenmengsel",pM="Thee",mM="enterisch omhulde capsules",fM="Als dusdanig",gM="Als dusdanig dermatologie (vast)",vM="Als dusdanig poeder",bM="Als dusdanig vloeistof",aoe={1:NN,2:MN,3:AN,4:PN,5:LN,6:FN,7:jN,8:VN,9:zN,10:BN,11:HN,12:qN,13:$N,14:GN,15:UN,16:ZN,17:WN,18:YN,19:KN,20:QN,21:XN,22:JN,23:eM,24:tM,25:nM,26:rM,27:iM,28:aM,29:oM,30:sM,31:lM,32:uM,33:cM,34:dM,40:hM,41:pM,71:mM,90:fM,91:gM,92:vM,93:bM},ooe={nl:ON,fr:qO,de:pR,en:tO},yM={};he(yM,{accessibility:()=>RM,close:()=>_M,default:()=>soe,downloadLeaflet:()=>wM,downloading:()=>OM,file:()=>xM,medicationDetails:()=>TM,notSpecified:()=>EM,patient:()=>kM,prescribedOn:()=>DM,prescriber:()=>CM,prescription:()=>SM,seeDetails:()=>IM});var _M="Schließen",wM="Download Packungsbeilage (pdf)",xM="feile",EM="Nicht angegeben",SM="Rezept",kM="Patient",CM="Verordnende Person",DM="Drucken",IM="Details anzeigen",TM="Details zum Medikament",RM={nihdiLabel:"RIZIV nummer {{value}}"},OM="Download läuft",soe={close:_M,downloadLeaflet:wM,file:xM,notSpecified:EM,prescription:SM,patient:kM,prescriber:CM,prescribedOn:DM,seeDetails:IM,medicationDetails:TM,accessibility:RM,downloading:OM},NM={};he(NM,{accessibility:()=>qM,close:()=>MM,default:()=>loe,downloadLeaflet:()=>AM,downloading:()=>$M,file:()=>PM,medicationDetails:()=>HM,notSpecified:()=>LM,patient:()=>jM,prescribedOn:()=>zM,prescriber:()=>VM,prescription:()=>FM,seeDetails:()=>BM});var MM="Close",AM="Download leaflet (pdf)",PM="file",LM="Not specified",FM="Prescription",jM="Patient",VM="Prescriber",zM="Prescribed on",BM="View details",HM="Details for the medication",qM={nihdiLabel:"RIZIV number {{value}}"},$M="Download in progress",loe={close:MM,downloadLeaflet:AM,file:PM,notSpecified:LM,prescription:FM,patient:jM,prescriber:VM,prescribedOn:zM,seeDetails:BM,medicationDetails:HM,accessibility:qM,downloading:$M},GM={};he(GM,{accessibility:()=>nA,close:()=>UM,default:()=>uoe,downloadLeaflet:()=>ZM,downloading:()=>rA,file:()=>WM,medicationDetails:()=>tA,notSpecified:()=>YM,patient:()=>QM,prescribedOn:()=>JM,prescriber:()=>XM,prescription:()=>KM,seeDetails:()=>eA});var UM="Fermer",ZM="Télécharger la notice (pdf)",WM="fichier",YM="Non spécifié",KM="Prescription",QM="Patient",XM="Prescripteur",JM="Prescrit le",eA="Voir détails",tA="Détails pour le médicament",nA={nihdiLabel:"numéro INAMI {{value}}"},rA="Téléchargement en cours",uoe={close:UM,downloadLeaflet:ZM,file:WM,notSpecified:YM,prescription:KM,patient:QM,prescriber:XM,prescribedOn:JM,seeDetails:eA,medicationDetails:tA,accessibility:nA,downloading:rA},iA={};he(iA,{accessibility:()=>fA,close:()=>aA,default:()=>coe,downloadLeaflet:()=>oA,downloading:()=>gA,file:()=>sA,medicationDetails:()=>mA,notSpecified:()=>lA,patient:()=>cA,prescribedOn:()=>hA,prescriber:()=>dA,prescription:()=>uA,seeDetails:()=>pA});var aA="Sluiten",oA="Download bijsluiter (pdf)",sA="bestand",lA="Niet gespecificeerd",uA="Voorschrift",cA="Patiënt",dA="Voorschrijver",hA="Voorgeschreven op",pA="Details bekijken",mA="Details voor het geneesmiddel",fA={nihdiLabel:"RIZIV nummer {{value}}"},gA="Download bezig",coe={close:aA,downloadLeaflet:oA,file:sA,notSpecified:lA,prescription:uA,patient:cA,prescriber:dA,prescribedOn:hA,seeDetails:pA,medicationDetails:mA,accessibility:fA,downloading:gA},doe={nl:iA,fr:GM,de:yM,en:NM},vA={};he(vA,{afterbreakfast:()=>bA,afterdinner:()=>yA,afterlunch:()=>_A,aftermeal:()=>wA,afternoon:()=>xA,beforebreakfast:()=>EA,beforedinner:()=>SA,beforelunch:()=>kA,betweenbreakfastandlunch:()=>CA,betweendinnerandsleep:()=>DA,betweenlunchanddinner:()=>IA,betweenmeals:()=>TA,breakfast:()=>RA,default:()=>hoe,dinner:()=>OA,duringbreakfast:()=>NA,duringdinner:()=>MA,duringlunch:()=>AA,evening:()=>PA,lunch:()=>LA,morning:()=>FA,night:()=>jA,thehourofsleep:()=>VA});var bA="nach dem Frühstück",yA="nach dem Abendessen",_A="nach dem Mittagessen",wA="nach dem Essen",xA="Nachmittag",EA="vor dem Frühstück",SA="vor dem Abendessen",kA="vor dem Mittagessen",CA="zwischen Frühstück und Mittagessen",DA="zwischen Abendessen und Nachtruhe",IA="zwischen Mittagessen und Abendessen",TA="zwischen den Mahlzeiten",RA="Frühstück",OA="Abendessen",NA="zum Frühstück",MA="zum Abendessen",AA="zum Mittagessen",PA="Abend",LA="Mittagessen",FA="Vormittag",jA="Nacht",VA="Nachtruhe",hoe={afterbreakfast:bA,afterdinner:yA,afterlunch:_A,aftermeal:wA,afternoon:xA,beforebreakfast:EA,beforedinner:SA,beforelunch:kA,betweenbreakfastandlunch:CA,betweendinnerandsleep:DA,betweenlunchanddinner:IA,betweenmeals:TA,breakfast:RA,dinner:OA,duringbreakfast:NA,duringdinner:MA,duringlunch:AA,evening:PA,lunch:LA,morning:FA,night:jA,thehourofsleep:VA},zA={};he(zA,{afterbreakfast:()=>BA,afterdinner:()=>HA,afterlunch:()=>qA,aftermeal:()=>$A,afternoon:()=>GA,beforebreakfast:()=>UA,beforedinner:()=>ZA,beforelunch:()=>WA,betweenbreakfastandlunch:()=>YA,betweendinnerandsleep:()=>KA,betweenlunchanddinner:()=>QA,betweenmeals:()=>XA,breakfast:()=>JA,default:()=>poe,dinner:()=>eP,duringbreakfast:()=>tP,duringdinner:()=>nP,duringlunch:()=>rP,evening:()=>iP,lunch:()=>aP,morning:()=>oP,night:()=>sP,thehourofsleep:()=>lP});var BA="after breakfast",HA="after dinner",qA="after lunch",$A="after meal",GA="afternoon",UA="before breakfast",ZA="before dinner",WA="before lunch",YA="between breakfast and lunch",KA="between dinner and the hour of sleep",QA="between lunch and dinner",XA="between meals",JA="breakfast",eP="dinner",tP="during breakfast",nP="during dinner",rP="during lunch",iP="evening",aP="lunch",oP="morning",sP="night",lP="the hour of sleep",poe={afterbreakfast:BA,afterdinner:HA,afterlunch:qA,aftermeal:$A,afternoon:GA,beforebreakfast:UA,beforedinner:ZA,beforelunch:WA,betweenbreakfastandlunch:YA,betweendinnerandsleep:KA,betweenlunchanddinner:QA,betweenmeals:XA,breakfast:JA,dinner:eP,duringbreakfast:tP,duringdinner:nP,duringlunch:rP,evening:iP,lunch:aP,morning:oP,night:sP,thehourofsleep:lP},uP={};he(uP,{afterbreakfast:()=>cP,afterdinner:()=>dP,afterlunch:()=>hP,aftermeal:()=>pP,afternoon:()=>mP,beforebreakfast:()=>fP,beforedinner:()=>gP,beforelunch:()=>vP,betweenbreakfastandlunch:()=>bP,betweendinnerandsleep:()=>yP,betweenlunchanddinner:()=>_P,betweenmeals:()=>wP,breakfast:()=>xP,default:()=>moe,dinner:()=>EP,duringbreakfast:()=>SP,duringdinner:()=>kP,duringlunch:()=>CP,evening:()=>DP,lunch:()=>IP,morning:()=>TP,night:()=>RP,thehourofsleep:()=>OP});var cP="après le petit-déjeuner",dP="après le repas du soir",hP="après le repas du midi",pP="après le repas",mP="après-midi",fP="avant le petit-déjeuner",gP="avant le repas du soir",vP="avant le repas du midi",bP="entre le petit-déjeuner et le repas du midi",yP="entre le repas du soir et l’heure du coucher",_P="entre le repas du midi et le repas du soir",wP="entre les repas",xP="petit-déjeuner",EP="repas du soir",SP="pendant le petit-déjeuner",kP="pendant le repas du soir",CP="pendant le repas du midi",DP="soir",IP="repas du midi",TP="matin",RP="nuit",OP="heure du coucher",moe={afterbreakfast:cP,afterdinner:dP,afterlunch:hP,aftermeal:pP,afternoon:mP,beforebreakfast:fP,beforedinner:gP,beforelunch:vP,betweenbreakfastandlunch:bP,betweendinnerandsleep:yP,betweenlunchanddinner:_P,betweenmeals:wP,breakfast:xP,dinner:EP,duringbreakfast:SP,duringdinner:kP,duringlunch:CP,evening:DP,lunch:IP,morning:TP,night:RP,thehourofsleep:OP},NP={};he(NP,{afterbreakfast:()=>MP,afterdinner:()=>AP,afterlunch:()=>PP,aftermeal:()=>LP,afternoon:()=>FP,beforebreakfast:()=>jP,beforedinner:()=>VP,beforelunch:()=>zP,betweenbreakfastandlunch:()=>BP,betweendinnerandsleep:()=>HP,betweenlunchanddinner:()=>qP,betweenmeals:()=>$P,breakfast:()=>GP,default:()=>foe,dinner:()=>UP,duringbreakfast:()=>ZP,duringdinner:()=>WP,duringlunch:()=>YP,evening:()=>KP,lunch:()=>QP,morning:()=>XP,night:()=>JP,thehourofsleep:()=>eL});var MP="na het ontbijt",AP="na het avondmaal",PP="na het middagmaal",LP="na de maaltijd",FP="namiddag",jP="voor het ontbijt",VP="voor het avondmaal",zP="voor het middagmaal",BP="tussen het ontbijt en het middagmaal",HP="tussen het avondmaal en het slapen gaan",qP="tussen het middagmaal en het avondmaal",$P="tussen de maaltijden",GP="ontbijt",UP="avondmaal",ZP="tijdens het ontbijt",WP="tijdens het avondmaal",YP="tijdens het middagmaal",KP="'s avonds",QP="middagmaal",XP="'s ochtends",JP="'s nachts",eL="voor het slapen gaan",foe={afterbreakfast:MP,afterdinner:AP,afterlunch:PP,aftermeal:LP,afternoon:FP,beforebreakfast:jP,beforedinner:VP,beforelunch:zP,betweenbreakfastandlunch:BP,betweendinnerandsleep:HP,betweenlunchanddinner:qP,betweenmeals:$P,breakfast:GP,dinner:UP,duringbreakfast:ZP,duringdinner:WP,duringlunch:YP,evening:KP,lunch:QP,morning:XP,night:JP,thehourofsleep:eL},goe={nl:NP,fr:uP,de:vA,en:zA},tL={};he(tL,{day:()=>nL,default:()=>voe,during:()=>aL,on:()=>iL,week:()=>rL});var nL="Tag",rL="Woche",iL="am",aL="für",voe={day:nL,week:rL,on:iL,during:aL},oL={};he(oL,{day:()=>sL,default:()=>boe,during:()=>cL,on:()=>uL,week:()=>lL});var sL="day",lL="week",uL="on",cL="during",boe={day:sL,week:lL,on:uL,during:cL},dL={};he(dL,{day:()=>hL,default:()=>yoe,during:()=>fL,on:()=>mL,week:()=>pL});var hL="jour",pL="semaine",mL="le",fL="durant",yoe={day:hL,week:pL,on:mL,during:fL},gL={};he(gL,{day:()=>vL,default:()=>_oe,during:()=>_L,on:()=>yL,week:()=>bL});var vL="dag",bL="week",yL="op",_L="gedurende",_oe={day:vL,week:bL,on:yL,during:_L},woe={nl:gL,fr:dL,de:tL,en:oL},wL={};he(wL,{a:()=>xL,d:()=>kL,default:()=>xoe,hr:()=>CL,min:()=>DL,mo:()=>EL,ms:()=>TL,ns:()=>OL,s:()=>IL,us:()=>RL,wk:()=>SL});var xL="{count} {count, plural, one{Jahr} other{Jahre}}",EL="{count} {count, plural, one{Monat} other{Monate}}",SL="{count} {count, plural, one{Woche} other{Wochen}}",kL="{count} {count, plural, one{Tag} other{Tage}}",CL="{count} {count, plural, one{Stunde} other{Stunden}}",DL="{count} {count, plural, one{Minute} other{Minuten}}",IL="{count} {count, plural, one{Sekunde} other{Sekunden}} ",TL="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",RL="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",OL="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",xoe={a:xL,mo:EL,wk:SL,d:kL,hr:CL,min:DL,s:IL,ms:TL,us:RL,ns:OL},NL={};he(NL,{a:()=>ML,d:()=>LL,default:()=>Eoe,hr:()=>FL,min:()=>jL,mo:()=>AL,ms:()=>zL,ns:()=>HL,s:()=>VL,us:()=>BL,wk:()=>PL});var ML="{count} {count, plural, one{year} other{years}}",AL="{count} {count, plural, one{month} other{months}}",PL="{count} {count, plural, one{week} other{weeks}}",LL="{count} {count, plural, one{day} other{days}}",FL="{count} {count, plural, one{hour} other{hours}}",jL="{count} {count, plural, one{minute} other{minutes}}",VL="{count} {count, plural, one{second} other{seconds}}",zL="{count} {count, plural, one{millisecond} other{millisecondes}}",BL="{count} {count, plural, one{microsecond} other{microsecondes}}",HL="{count} {count, plural, one{nanosecond} other{nanosecondes}}",Eoe={a:ML,mo:AL,wk:PL,d:LL,hr:FL,min:jL,s:VL,ms:zL,us:BL,ns:HL},qL={};he(qL,{a:()=>$L,d:()=>ZL,default:()=>Soe,hr:()=>WL,min:()=>YL,mo:()=>GL,ms:()=>QL,ns:()=>JL,s:()=>KL,us:()=>XL,wk:()=>UL});var $L="{count} {count, plural, one{année} other{années}}",GL="{count} {count, plural, one{mois} other{mois}}",UL="{count} {count, plural, one{semaine} other{semaines}}",ZL="{count} {count, plural, one{jour} other{jours}}",WL="{count} {count, plural, one{heure} other{heures}}",YL="{count} {count, plural, one{minute} other{minutes}}",KL="{count} {count, plural, one{seconde} other{secondes}}",QL="{count} {count, plural, one{milliseconde} other{millisecondes}}",XL="{count} {count, plural, one{microseconde} other{microsecondes}}",JL="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",Soe={a:$L,mo:GL,wk:UL,d:ZL,hr:WL,min:YL,s:KL,ms:QL,us:XL,ns:JL},eF={};he(eF,{a:()=>tF,d:()=>iF,default:()=>koe,hr:()=>aF,min:()=>oF,mo:()=>nF,ms:()=>lF,ns:()=>cF,s:()=>sF,us:()=>uF,wk:()=>rF});var tF="{count} {count, plural, one{jaar} other{jaren}}",nF="{count} {count, plural, one{maand} other{maanden}}",rF="{count} {count, plural, one{week} other{weken}}",iF="{count} {count, plural, one{dag} other{dagen}}",aF="{count} {count, plural, one{uur} other{uren}}",oF="{count} {count, plural, one{minuut} other{minuten}}",sF="{count} {count, plural, one{seconde} other{seconden}}",lF="{count} {count, plural, one{milliseconde} other{milliseconden}}",uF="{count} {count, plural, one{microseconde} other{microseconden}}",cF="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",koe={a:tF,mo:nF,wk:rF,d:iF,hr:aF,min:oF,s:sF,ms:lF,us:uF,ns:cF},Coe={nl:eF,fr:qL,de:wL,en:NL},dF={};he(dF,{"%":()=>hF,"%vv":()=>w3,"%wv":()=>x3,"%ww":()=>E3,"1000/mm3":()=>FF,amp:()=>pF,atptreatment:()=>vj,bag:()=>mF,bitperminute:()=>S3,bol:()=>k3,bot:()=>C3,box:()=>fF,c:()=>rj,can:()=>D3,cap:()=>I3,cc:()=>T3,cm:()=>R3,cmm:()=>jF,cnt:()=>ij,ctg:()=>n3,ctr:()=>O3,daily:()=>nj,day:()=>VF,default:()=>Doe,degree:()=>LF,dis:()=>qF,drm:()=>aj,fl:()=>gF,fld:()=>$F,flo:()=>GF,ftc:()=>UF,fts:()=>ZF,"g/dl":()=>vF,gal:()=>r3,gm:()=>bF,goutte:()=>t3,gr:()=>N3,hour:()=>e3,in:()=>M3,inc:()=>A3,jar:()=>P3,kg:()=>yF,"kg/m2":()=>_F,kit:()=>L3,l:()=>wF,lb:()=>xF,lm:()=>oj,loz:()=>ej,mcg:()=>EF,mcl:()=>SF,mcm:()=>i3,mcn:()=>F3,meq:()=>kF,mg:()=>CF,"mg/dl":()=>DF,"mg/l":()=>IF,"mg/m2":()=>TF,"mg/ml":()=>RF,mgper100ml:()=>o3,mic:()=>j3,mil:()=>V3,millisecond:()=>JF,min:()=>z3,minute:()=>WF,mis:()=>sj,ml:()=>OF,"ml/min":()=>NF,"ml/min/1.73m2":()=>X3,mm:()=>YF,"mm/h":()=>KF,mmhg:()=>QF,mmo:()=>B3,mol:()=>MF,month:()=>HF,nl:()=>H3,nmg:()=>lj,nmo:()=>uj,ns:()=>p3,ondemand:()=>a3,oz:()=>AF,pel:()=>q3,pg:()=>h3,pkg:()=>$3,pnu:()=>cj,ppm:()=>PF,pt:()=>G3,qs:()=>U3,qt:()=>Z3,sap:()=>bj,sat:()=>dj,second:()=>XF,shock:()=>J3,spoon:()=>zF,spr:()=>s3,sqc:()=>W3,stp:()=>hj,sup:()=>m3,syr:()=>u3,tab:()=>f3,tbl:()=>g3,tes:()=>v3,ton:()=>_3,tpn:()=>c3,trc:()=>pj,tro:()=>tj,tsp:()=>y3,tub:()=>d3,umg:()=>Y3,unt:()=>b3,vil:()=>l3,vpr:()=>mj,waf:()=>fj,week:()=>BF,x:()=>gj,ydl:()=>K3,yds:()=>Q3});var hF="%",pF="{count, plural, one{Glühbirn} other{Glühbirnen}}",mF="Beutel",fF="schachteln",gF="fl",vF="g/dl",bF="g",yF="kg",_F="kg/m²",wF="l",xF="lb",EF="µg",SF="µl",kF="meq",CF="mg",DF="mg/dl",IF="mg/l",TF="mg/m²",RF="mg/ml",OF="ml",NF="ml/min",MF="mol",AF="oz",PF="ppm",LF="°",FF="1000/mm³",jF="mm³",VF="{count, plural, one{Tag} other{Tage}}",zF="Löffel",BF="{count, plural, one{Woche} other{Wochen}}",HF="{count, plural, one{Monat} other{Monate}}",qF="{count, plural, one{Platte} other{Platten}}",$F="fl dr",GF="fl oz",UF="cu ft",ZF="sq ft",WF="{count, plural, one{Minute} other{Minuten}}",YF="mm",KF="mm/h",QF="mmHg",XF="{count, plural, one{Sekunde} other{Sekunden}}",JF="{count, plural, one{Millisekunde} other{Millisekunden}}",e3="{count, plural, one{Stunde} other{Stunden}}",t3="{count, plural, one{Tropf} other{Tropfen}}",n3="{count, plural, one{Kartusche} other{Kartuschen}}",r3="gal",i3="mmol",a3="auf Antrag",o3="mg/100mL",s3="{count, plural, one{Sprühe} other{Sprühen}}",l3="{count, plural, one{Phiole} other{Phiolen}}",u3="{count, plural, one{Spritze} other{Spritzen}}",c3="Tampon",d3="{count, plural, one{Rohr} other{Rohre}}",h3="pg",p3="nicht spezifiziert",m3="{count, plural, one{Zäpfch} other{Zäpfchen}}",f3="{count, plural, one{Tablette} other{Tabletten}}",g3="Esslöffel",v3="Test",b3="{count, plural, one{Einheit} other{Einheiten}}",y3="teelöffel",_3="ton",w3="% v/v",x3="% w/v",E3="% w/w",S3="Schläge pro Minute",k3="Bolus",C3="{count, plural, one{Flasche} other{Fläschchen}}",D3="Dose",I3="{count, plural, one{Kapsel} other{Kapseln}}",T3="cm3",R3="cm",O3="Halter",N3="Körnchen",M3="in",A3="in²",P3="Glas",L3="Kitt",F3="Micron",j3="µCi",V3="mCi",z3="minim",B3="μmol",H3="normal",q3="{count, plural, one{Pille} other{Pillen}}",$3="{count, plural, one{Paket} other{Pakete}}",G3="Pinte",U3="ausreichende Menge",Z3="qt",W3="cm²",Y3="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",K3="yd",Q3="yd²",X3="mL/min/1.73m²",J3="{count, plural, one{Schock} other{Schocks}}",ej="{count, plural, one{Pastille} other{Pastillen}}",tj="{count, plural, one{Pastille} other{Pastillen}}",nj="täglich",rj="homöopathische Verdünnung (Centesimal 1/100)",ij="cnt",aj="Fass",oj="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",sj="verschiedene",lj="ng",uj="nmol",cj="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",dj="gesättigt",hj="Strip",pj="Spur",mj="Therapieschema abhängig",fj="{count, plural, one{Oblate} other{Oblaten}}",gj="homöopathische Verdünnung (dezimal 1/10)",vj="anzahl der antitachykardie-stimulationsbehandlungen",bj="Kumulativer sap wert",Doe={"%":hF,amp:pF,bag:mF,box:fF,fl:gF,"g/dl":vF,gm:bF,kg:yF,"kg/m2":_F,l:wF,lb:xF,mcg:EF,mcl:SF,meq:kF,mg:CF,"mg/dl":DF,"mg/l":IF,"mg/m2":TF,"mg/ml":RF,ml:OF,"ml/min":NF,mol:MF,oz:AF,ppm:PF,degree:LF,"1000/mm3":FF,cmm:jF,day:VF,spoon:zF,week:BF,month:HF,dis:qF,fld:$F,flo:GF,ftc:UF,fts:ZF,minute:WF,mm:YF,"mm/h":KF,mmhg:QF,second:XF,millisecond:JF,hour:e3,goutte:t3,ctg:n3,gal:r3,mcm:i3,ondemand:a3,mgper100ml:o3,spr:s3,vil:l3,syr:u3,tpn:c3,tub:d3,pg:h3,ns:p3,sup:m3,tab:f3,tbl:g3,tes:v3,unt:b3,tsp:y3,ton:_3,"%vv":w3,"%wv":x3,"%ww":E3,bitperminute:S3,bol:k3,bot:C3,can:D3,cap:I3,cc:T3,cm:R3,ctr:O3,gr:N3,in:M3,inc:A3,jar:P3,kit:L3,mcn:F3,mic:j3,mil:V3,min:z3,mmo:B3,nl:H3,pel:q3,pkg:$3,pt:G3,qs:U3,qt:Z3,sqc:W3,umg:Y3,ydl:K3,yds:Q3,"ml/min/1.73m2":X3,shock:J3,loz:ej,tro:tj,daily:nj,c:rj,cnt:ij,drm:aj,lm:oj,mis:sj,nmg:lj,nmo:uj,pnu:cj,sat:dj,stp:hj,trc:pj,vpr:mj,waf:fj,x:gj,atptreatment:vj,sap:bj},yj={};he(yj,{"%":()=>_j,"%vv":()=>wj,"%wv":()=>xj,"%ww":()=>Ej,"1000/mm3":()=>Sj,amp:()=>kj,atptreatment:()=>Cj,bag:()=>Dj,bitperminute:()=>Ij,bol:()=>Tj,bot:()=>Rj,box:()=>Oj,c:()=>Nj,can:()=>Mj,cap:()=>Aj,cc:()=>Pj,cm:()=>Lj,cmm:()=>Fj,cnt:()=>jj,ctg:()=>Vj,ctr:()=>zj,daily:()=>Bj,day:()=>Hj,default:()=>Ioe,degree:()=>qj,dis:()=>$j,drm:()=>Gj,fl:()=>Uj,fld:()=>Zj,flo:()=>Wj,ftc:()=>Yj,fts:()=>Kj,"g/dl":()=>Qj,gal:()=>Xj,gm:()=>Jj,goutte:()=>eV,gr:()=>tV,hour:()=>nV,in:()=>rV,inc:()=>iV,jar:()=>aV,kg:()=>oV,"kg/m2":()=>sV,kit:()=>lV,l:()=>uV,lb:()=>cV,lm:()=>dV,loz:()=>hV,mcg:()=>pV,mcl:()=>mV,mcm:()=>fV,mcn:()=>gV,meq:()=>vV,mg:()=>bV,"mg/dl":()=>yV,"mg/l":()=>_V,"mg/m2":()=>wV,"mg/ml":()=>xV,mgper100ml:()=>EV,mic:()=>SV,mil:()=>kV,millisecond:()=>CV,min:()=>DV,minute:()=>IV,mis:()=>TV,ml:()=>RV,"ml/min":()=>OV,"ml/min/1.73m2":()=>NV,mm:()=>MV,"mm/h":()=>AV,mmhg:()=>PV,mmo:()=>LV,mol:()=>FV,month:()=>jV,nl:()=>VV,nmg:()=>zV,nmo:()=>BV,ns:()=>HV,ondemand:()=>qV,oz:()=>$V,pel:()=>GV,pg:()=>UV,pkg:()=>ZV,pnu:()=>WV,ppm:()=>YV,pt:()=>KV,qs:()=>QV,qt:()=>Cz,sap:()=>XV,sat:()=>JV,second:()=>ez,shock:()=>tz,spoon:()=>nz,spr:()=>rz,sqc:()=>iz,stp:()=>az,sup:()=>oz,syr:()=>sz,tab:()=>lz,tbl:()=>uz,tes:()=>cz,ton:()=>dz,tpn:()=>hz,trc:()=>pz,tro:()=>mz,tsp:()=>fz,tub:()=>gz,umg:()=>vz,unt:()=>bz,vil:()=>yz,vpr:()=>_z,waf:()=>wz,week:()=>xz,x:()=>Ez,ydl:()=>Sz,yds:()=>kz});var _j="%",wj="% v/v",xj="% w/v",Ej="% w/w",Sj="1000/mm³",kj="{count, plural, one{ampule} other{ampules}}",Cj="Number of treatments by anti-tachycardia pacing",Dj="{count, plural, one{bag} other{bags}}",Ij="{count, plural, one{bit per minute} other{bits per minute}}",Tj="bolus",Rj="{count, plural, one{bottle} other{bottles}}",Oj="{count, plural, one{box} other{boxes}}",Nj="homeopathic dilution (centesimal 1/100)",Mj="{count, plural, one{can} other{cans}}",Aj="{count, plural, one{capsule} other{capsules}}",Pj="cm³",Lj="cm",Fj="mm³",jj="cnt",Vj="{count, plural, one{cartridge} other{cartridges}}",zj="{count, plural, one{container} other{containers}}",Bj="daily",Hj="{count, plural, one{day} other{days}}",qj="°",$j="{count, plural, one{disk} other{disks}}",Gj="drum",Uj="{count, plural, one{fluid} other{fluids}}",Zj="fl dr",Wj="{count, plural, one{fluid ounce} other{fluid ounces}}",Yj="cu ft",Kj="sq ft",Qj="g/dl",Xj="{count, plural, one{gallon} other{gallons}}",Jj="g",eV="{count, plural, one{drop} other{drops}}",tV="{count, plural, one{grain} other{grains}}",nV="{count, plural, one{hour} other{hours}}",rV="{count, plural, one{inch} other{inches}}",iV="in²",aV="{count, plural, one{jar} other{jars}}",oV="kg",sV="kg/m²",lV="kit",uV="{count, plural, one{liter} other{liters}}",cV="{count, plural, one{pound} other{pounds}}",dV="homeopathic dilution (fifty millesimal 1/50,000)",hV="{count, plural, one{lozenge} other{lozenges}}",pV="µg",mV="µl",fV="mmol",gV="micron",vV="milliequivalent",bV="mg",yV="mg/dl",_V="mg/l",wV="mg/m²",xV="mg/ml",EV="mg/100mL",SV="µCi",kV="mCi",CV="{count, plural, one{millisecond} other{milliseconds}}",DV="minim",IV="{count, plural, one{minute} other{minutes}}",TV="miscellaneous",RV="{count, plural, one{milliliter} other{milliliters}}",OV="ml/min",NV="mL/min/1.73m²",MV="mm",AV="mm/h",PV="mmHg",LV="μmol",FV="mol",jV="{count, plural, one{month} other{months}}",VV="normal",zV="ng",BV="nmol",HV="not stated",qV="on demand",$V="{count, plural, one{ounce} other{ounces}}",GV="{count, plural, one{pellet} other{pellets}}",UV="pg",ZV="{count, plural, one{package} other{packages}}",WV="{count, plural, one{protein unit} other{protein unit}}",YV="ppm",KV="{count, plural, one{pint} other{pints}}",QV="quantity sufficient",XV="Cumulative sap value",JV="saturated",ez="{count, plural, one{second} other{seconds}}",tz="shock",nz="{count, plural, one{spoon} other{spoons}}",rz="{count, plural, one{spray} other{sprays}}",iz="cm²",az="{count, plural, one{strip} other{strips}}",oz="{count, plural, one{suppository} other{suppositories}}",sz="{count, plural, one{syrynge} other{syrynges}}",lz="{count, plural, one{tablet} other{tablets}}",uz="{count, plural, one{tablespoon} other{tablespoons}}",cz="{count, plural, one{test} other{tests}}",dz="{count, plural, one{ton} other{tons}}",hz="{count, plural, one{tampon} other{tampons}}",pz="{count, plural, one{trace} other{traces}}",mz="{count, plural, one{troche} other{troches}}",fz="{count, plural, one{teaspoon} other{teaspoons}}",gz="{count, plural, one{tube} other{tubes}}",vz="UNITS PER MILLIGRAM",bz="{count, plural, one{unit} other{units}}",yz="{count, plural, one{vial} other{vials}}",_z="varies per regimen",wz="{count, plural, one{wafer} other{wafers}}",xz="{count, plural, one{week} other{weeks}}",Ez="homeopathic dilution (decimal 1/10)",Sz="yd",kz="yd²",Cz="qt",Ioe={"%":_j,"%vv":wj,"%wv":xj,"%ww":Ej,"1000/mm3":Sj,amp:kj,atptreatment:Cj,bag:Dj,bitperminute:Ij,bol:Tj,bot:Rj,box:Oj,c:Nj,can:Mj,cap:Aj,cc:Pj,cm:Lj,cmm:Fj,cnt:jj,ctg:Vj,ctr:zj,daily:Bj,day:Hj,degree:qj,dis:$j,drm:Gj,fl:Uj,fld:Zj,flo:Wj,ftc:Yj,fts:Kj,"g/dl":Qj,gal:Xj,gm:Jj,goutte:eV,gr:tV,hour:nV,in:rV,inc:iV,jar:aV,kg:oV,"kg/m2":sV,kit:lV,l:uV,lb:cV,lm:dV,loz:hV,mcg:pV,mcl:mV,mcm:fV,mcn:gV,meq:vV,mg:bV,"mg/dl":yV,"mg/l":_V,"mg/m2":wV,"mg/ml":xV,mgper100ml:EV,mic:SV,mil:kV,millisecond:CV,min:DV,minute:IV,mis:TV,ml:RV,"ml/min":OV,"ml/min/1.73m2":NV,mm:MV,"mm/h":AV,mmhg:PV,mmo:LV,mol:FV,month:jV,nl:VV,nmg:zV,nmo:BV,ns:HV,ondemand:qV,oz:$V,pel:GV,pg:UV,pkg:ZV,pnu:WV,ppm:YV,pt:KV,qs:QV,sap:XV,sat:JV,second:ez,shock:tz,spoon:nz,spr:rz,sqc:iz,stp:az,sup:oz,syr:sz,tab:lz,tbl:uz,tes:cz,ton:dz,tpn:hz,trc:pz,tro:mz,tsp:fz,tub:gz,umg:vz,unt:bz,vil:yz,vpr:_z,waf:wz,week:xz,x:Ez,ydl:Sz,yds:kz,qt:Cz},Dz={};he(Dz,{"%":()=>Iz,"%vv":()=>F5,"%wv":()=>j5,"%ww":()=>V5,"1000/mm3":()=>Jz,amp:()=>Tz,atptreatment:()=>MB,bag:()=>Rz,bitperminute:()=>z5,bol:()=>B5,bot:()=>H5,box:()=>Oz,c:()=>yB,can:()=>q5,cap:()=>$5,cc:()=>G5,cm:()=>U5,cmm:()=>e5,cnt:()=>_B,ctg:()=>b5,ctr:()=>Z5,daily:()=>bB,day:()=>t5,default:()=>Toe,degree:()=>Xz,dis:()=>a5,drm:()=>wB,fl:()=>Nz,fld:()=>o5,flo:()=>s5,ftc:()=>l5,fts:()=>u5,"g/dl":()=>Mz,gal:()=>y5,gm:()=>Az,goutte:()=>v5,gr:()=>W5,hour:()=>g5,in:()=>Y5,inc:()=>K5,jar:()=>Q5,kg:()=>Pz,"kg/m2":()=>Lz,kit:()=>X5,l:()=>Fz,lb:()=>jz,lm:()=>xB,loz:()=>gB,mcg:()=>Vz,mcl:()=>zz,mcm:()=>_5,mcn:()=>J5,meq:()=>Bz,mg:()=>Hz,"mg/dl":()=>qz,"mg/l":()=>$z,"mg/m2":()=>Gz,"mg/ml":()=>Uz,mgper100ml:()=>x5,mic:()=>eB,mil:()=>tB,millisecond:()=>f5,min:()=>nB,minute:()=>c5,mis:()=>EB,ml:()=>Zz,"ml/min":()=>Wz,"ml/min/1.73m2":()=>mB,mm:()=>d5,"mm/h":()=>h5,mmhg:()=>p5,mmo:()=>rB,mol:()=>Yz,month:()=>i5,nl:()=>iB,nmg:()=>SB,nmo:()=>kB,ns:()=>T5,ondemand:()=>w5,oz:()=>Kz,pel:()=>aB,pg:()=>I5,pkg:()=>oB,pnu:()=>CB,ppm:()=>Qz,pt:()=>sB,qs:()=>lB,qt:()=>uB,sap:()=>AB,sat:()=>DB,second:()=>m5,shock:()=>fB,spoon:()=>n5,spr:()=>E5,sqc:()=>cB,stp:()=>IB,sup:()=>R5,syr:()=>k5,tab:()=>O5,tbl:()=>N5,tes:()=>M5,ton:()=>L5,tpn:()=>C5,trc:()=>TB,tro:()=>vB,tsp:()=>P5,tub:()=>D5,umg:()=>dB,unt:()=>A5,vil:()=>S5,vpr:()=>RB,waf:()=>OB,week:()=>r5,x:()=>NB,ydl:()=>hB,yds:()=>pB});var Iz="%",Tz="{count, plural, one{ampoule} other{ampoules}}",Rz="{count, plural, one{sac} other{sacs}}",Oz="{count, plural, one{vaporisateur} other{vaporisateurs}}",Nz="fl",Mz="g/dl",Az="g",Pz="kg",Lz="kg/m²",Fz="l",jz="lb",Vz="µg",zz="µl",Bz="milli-equivalent",Hz="mg",qz="mg/dl",$z="mg/l",Gz="mg/m²",Uz="mg/ml",Zz="ml",Wz="ml/min",Yz="mol",Kz="oz",Qz="ppm",Xz="°",Jz="1000/mm³",e5="mm³",t5="{count, plural, one{jour(s)} other{jours}}",n5="{count, plural, one{cuillère} other{cuillères}}",r5="{count, plural, one{semaine} other{semaines}}",i5="mois",a5="{count, plural, one{disque} other{disques}}",o5="fl dr",s5="fl oz",l5="cu ft",u5="sq ft",c5="{count, plural, one{minute} other{minutes}}",d5="mm",h5="mm/h",p5="mmHg",m5="{count, plural, one{seconde} other{secondes}}",f5="{count, plural, one{milliseconde} other{millisecondes}}",g5="{count, plural, one{heure} other{heures}}",v5="{count, plural, one{goutte} other{gouttes}}",b5="{count, plural, one{cartouche} other{cartouches}}",y5="gal",_5="mmol",w5="sur demande",x5="mg/100mL",E5="spray",S5="{count, plural, one{fiole} other{fioles}}",k5="{count, plural, one{seringue} other{seringues}}",C5="{count, plural, one{tampon} other{tampons}}",D5="{count, plural, one{tube} other{tubes}}",I5="pg",T5="non spécifié",R5="{count, plural, one{suppositoire} other{suppositoires}}",O5="{count, plural, one{tablette} other{tablettes}}",N5="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",M5="{count, plural, one{test} other{tests}}",A5="{count, plural, one{unité} other{unités}}",P5="{count, plural, one{cuillère à café} other{cuillères à café}}",L5="{count, plural, one{ton} other{tons}}",F5="% v/v",j5="% w/v",V5="% w/w",z5="{count, plural, one{battement par minute} other{battements par minute}}",B5="{count, plural, one{bolus} other{bolus}}",H5="{count, plural, one{bouteille} other{bouteilles}}",q5="{count, plural, one{canette} other{canettes}}",$5="{count, plural, one{capsule} other{capsules}}",G5="cm3",U5="cm",Z5="{count, plural, one{conteneur} other{conteneurs}}",W5="{count, plural, one{granule} other{granules}}",Y5="in",K5="in²",Q5="pot",X5="{count, plural, one{kit} other{kits}}",J5="micron",eB="µCi",tB="mCi",nB="minim",rB="μmol",iB="normal",aB="{count, plural, one{pilule} other{pilules}}",oB="{count, plural, one{paquet} other{paquets}}",sB="pinte",lB="quantité suffisante",uB="qt",cB="cm²",dB="{count, plural, one{unité / mg} other{unités / mg}}",hB="yd",pB="yd²",mB="mL/min/1.73m²",fB="choc",gB="{count, plural, one{pastille} other{pastilles}}",vB="{count, plural, one{pastille} other{pastilles}}",bB="journalier",yB="dilution homéopathique (centésimal 1/100)",_B="cnt",wB="fût",xB="dilution homéopathique (50 millisimaux au ratio 1:50,000)",EB="divers",SB="ng",kB="nmol",CB="{count, plural, one{unité protéique} other{unités protéiques}}",DB="saturé",IB="strip",TB="trace",RB="dépendant du schéma thérapeutique",OB="{count, plural, one{hostie} other{hosties}}",NB="dilution homéopathique (décimal 1/10)",MB="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",AB="Valeur sap cumulative",Toe={"%":Iz,amp:Tz,bag:Rz,box:Oz,fl:Nz,"g/dl":Mz,gm:Az,kg:Pz,"kg/m2":Lz,l:Fz,lb:jz,mcg:Vz,mcl:zz,meq:Bz,mg:Hz,"mg/dl":qz,"mg/l":$z,"mg/m2":Gz,"mg/ml":Uz,ml:Zz,"ml/min":Wz,mol:Yz,oz:Kz,ppm:Qz,degree:Xz,"1000/mm3":Jz,cmm:e5,day:t5,spoon:n5,week:r5,month:i5,dis:a5,fld:o5,flo:s5,ftc:l5,fts:u5,minute:c5,mm:d5,"mm/h":h5,mmhg:p5,second:m5,millisecond:f5,hour:g5,goutte:v5,ctg:b5,gal:y5,mcm:_5,ondemand:w5,mgper100ml:x5,spr:E5,vil:S5,syr:k5,tpn:C5,tub:D5,pg:I5,ns:T5,sup:R5,tab:O5,tbl:N5,tes:M5,unt:A5,tsp:P5,ton:L5,"%vv":F5,"%wv":j5,"%ww":V5,bitperminute:z5,bol:B5,bot:H5,can:q5,cap:$5,cc:G5,cm:U5,ctr:Z5,gr:W5,in:Y5,inc:K5,jar:Q5,kit:X5,mcn:J5,mic:eB,mil:tB,min:nB,mmo:rB,nl:iB,pel:aB,pkg:oB,pt:sB,qs:lB,qt:uB,sqc:cB,umg:dB,ydl:hB,yds:pB,"ml/min/1.73m2":mB,shock:fB,loz:gB,tro:vB,daily:bB,c:yB,cnt:_B,drm:wB,lm:xB,mis:EB,nmg:SB,nmo:kB,pnu:CB,sat:DB,stp:IB,trc:TB,vpr:RB,waf:OB,x:NB,atptreatment:MB,sap:AB},PB={};he(PB,{"%":()=>LB,"%vv":()=>G4,"%wv":()=>U4,"%ww":()=>Z4,"1000/mm3":()=>s4,amp:()=>FB,atptreatment:()=>BH,bag:()=>jB,bitperminute:()=>W4,bol:()=>Y4,bot:()=>K4,box:()=>VB,c:()=>DH,can:()=>Q4,cap:()=>X4,cc:()=>J4,cm:()=>eH,cmm:()=>l4,cnt:()=>IH,ctg:()=>C4,ctr:()=>tH,daily:()=>CH,day:()=>u4,default:()=>Roe,degree:()=>o4,dis:()=>p4,drm:()=>TH,fl:()=>zB,fld:()=>m4,flo:()=>f4,ftc:()=>g4,fts:()=>v4,"g/dl":()=>BB,gal:()=>D4,gm:()=>HB,goutte:()=>k4,gr:()=>nH,hour:()=>S4,in:()=>rH,inc:()=>iH,jar:()=>aH,kg:()=>qB,"kg/m2":()=>$B,kit:()=>oH,l:()=>GB,lb:()=>UB,lm:()=>RH,loz:()=>SH,mcg:()=>ZB,mcl:()=>WB,mcm:()=>I4,mcn:()=>sH,meq:()=>YB,mg:()=>KB,"mg/dl":()=>QB,"mg/l":()=>XB,"mg/m2":()=>JB,"mg/ml":()=>e4,mgper100ml:()=>R4,mic:()=>lH,mil:()=>uH,millisecond:()=>E4,min:()=>cH,minute:()=>b4,mis:()=>OH,ml:()=>t4,"ml/min":()=>n4,"ml/min/1.73m2":()=>xH,mm:()=>y4,"mm/h":()=>_4,mmhg:()=>w4,mmo:()=>dH,mol:()=>r4,month:()=>h4,nl:()=>hH,nmg:()=>NH,nmo:()=>MH,ns:()=>F4,ondemand:()=>T4,oz:()=>i4,pel:()=>pH,pg:()=>L4,pkg:()=>mH,pnu:()=>AH,ppm:()=>a4,pt:()=>fH,qs:()=>gH,qt:()=>vH,sap:()=>HH,sat:()=>PH,second:()=>x4,shock:()=>EH,spoon:()=>c4,spr:()=>O4,sqc:()=>bH,stp:()=>LH,sup:()=>j4,syr:()=>M4,tab:()=>V4,tbl:()=>z4,tes:()=>B4,ton:()=>$4,tpn:()=>A4,trc:()=>FH,tro:()=>kH,tsp:()=>q4,tub:()=>P4,umg:()=>yH,unt:()=>H4,vil:()=>N4,vpr:()=>jH,waf:()=>VH,week:()=>d4,x:()=>zH,ydl:()=>_H,yds:()=>wH});var LB="%",FB="{count, plural, one{ampule} other{ampullen}}",jB="{count, plural, one{zak} other{zakken}}",VB="{count, plural, one{verstuiver} other{verstuivers}}",zB="fl",BB="g/dl",HB="g",qB="kg",$B="kg/m²",GB="l",UB="lb",ZB="µg",WB="µl",YB="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",KB="mg",QB="mg/dl",XB="mg/l",JB="mg/m²",e4="mg/ml",t4="ml",n4="ml/min",r4="mol",i4="oz",a4="ppm",o4="°",s4="1000/mm³",l4="mm³",u4="{count, plural, one{dag} other{dagen}}",c4="{count, plural, one{lepel} other{lepels}}",d4="{count, plural, one{week} other{weken}}",h4="{count, plural, one{maand} other{maanden}}",p4="{count, plural, one{schijf} other{schijven}}",m4="fl dr",f4="fl oz",g4="cu ft",v4="sq ft",b4="{count, plural, one{minuut} other{minuten}}",y4="mm",_4="mm/h",w4="mmHg",x4="{count, plural, one{seconde} other{seconden}}",E4="{count, plural, one{milliseconde} other{milliseconden}}",S4="{count, plural, one{uur} other{uren}}",k4="{count, plural, one{druppel} other{druppels}}",C4="{count, plural, one{patroon} other{patronen}}",D4="gal",I4="mmol",T4="op aanvraag",R4="mg/100mL",O4="{count, plural, one{spray} other{sprays}}",N4="{count, plural, one{flesje} other{flesjes}}",M4="{count, plural, one{spuit} other{spuiten}}",A4="{count, plural, one{tampon} other{tampons}}",P4="{count, plural, one{buis} other{buizen}}",L4="pg",F4="niet gespecificeerd",j4="{count, plural, one{zetpil} other{zetpillen}}",V4="{count, plural, one{tablet} other{tabletten}}",z4="{count, plural, one{eetlepel} other{eetlepels}}",B4="{count, plural, one{test} other{tests}}",H4="{count, plural, one{eenheid} other{eenheden}}",q4="{count, plural, one{theelepel} other{theelepels}}",$4="{count, plural, one{ton} other{tonnen}}",G4="% v/v",U4="% w/v",Z4="% w/w",W4="{count, plural, one{slag per minuut} other{slagen per minuut}}",Y4="bolus",K4="{count, plural, one{fles} other{flessen}}",Q4="{count, plural, one{blikje} other{blikjes}}",X4="{count, plural, one{capsule} other{capsules}}",J4="cm3",eH="cm",tH="{count, plural, one{houder} other{houders}}",nH="{count, plural, one{korrel} other{korrels}}",rH="in",iH="in²",aH="{count, plural, one{pot} other{potten}}",oH="{count, plural, one{kit} other{kits}}",sH="micron",lH="µCi",uH="mCi",cH="minim",dH="μmol",hH="normaal",pH="{count, plural, one{pil} other{pillen}}",mH="{count, plural, one{pakket} other{pakketten}}",fH="{count, plural, one{pint} other{pinten}}",gH="voldoende hoeveelheid",vH="qt",bH="cm²",yH="{count, plural, one{eenheid / mg} other{eenheden / mg}}",_H="yd",wH="yd²",xH="mL/min/1.73m²",EH="{count, plural, one{schok} other{schokken}}",SH="{count, plural, one{zuigtablet} other{zuigtabletten}}",kH="{count, plural, one{zuigtablet} other{zuigtabletten}}",CH="dagelijks",DH="homeopathische verdunning (centesimal 1/100)",IH="cnt",TH="vat",RH="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",OH="diverse",NH="ng",MH="nmol",AH="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",PH="verzadigd",LH="{count, plural, one{strip} other{strips}}",FH="{count, plural, one{spoor} other{sporen}}",jH="behandelingsschema-afhankelijk",VH="{count, plural, one{ouwel} other{ouwels}}",zH="homeopathische verdunning (decimaal 1/10)",BH="aantal anti-tachycardie-stimulatiebehandelingen",HH="Cumulatieve sap waarde",Roe={"%":LB,amp:FB,bag:jB,box:VB,fl:zB,"g/dl":BB,gm:HB,kg:qB,"kg/m2":$B,l:GB,lb:UB,mcg:ZB,mcl:WB,meq:YB,mg:KB,"mg/dl":QB,"mg/l":XB,"mg/m2":JB,"mg/ml":e4,ml:t4,"ml/min":n4,mol:r4,oz:i4,ppm:a4,degree:o4,"1000/mm3":s4,cmm:l4,day:u4,spoon:c4,week:d4,month:h4,dis:p4,fld:m4,flo:f4,ftc:g4,fts:v4,minute:b4,mm:y4,"mm/h":_4,mmhg:w4,second:x4,millisecond:E4,hour:S4,goutte:k4,ctg:C4,gal:D4,mcm:I4,ondemand:T4,mgper100ml:R4,spr:O4,vil:N4,syr:M4,tpn:A4,tub:P4,pg:L4,ns:F4,sup:j4,tab:V4,tbl:z4,tes:B4,unt:H4,tsp:q4,ton:$4,"%vv":G4,"%wv":U4,"%ww":Z4,bitperminute:W4,bol:Y4,bot:K4,can:Q4,cap:X4,cc:J4,cm:eH,ctr:tH,gr:nH,in:rH,inc:iH,jar:aH,kit:oH,mcn:sH,mic:lH,mil:uH,min:cH,mmo:dH,nl:hH,pel:pH,pkg:mH,pt:fH,qs:gH,qt:vH,sqc:bH,umg:yH,ydl:_H,yds:wH,"ml/min/1.73m2":xH,shock:EH,loz:SH,tro:kH,daily:CH,c:DH,cnt:IH,drm:TH,lm:RH,mis:OH,nmg:NH,nmo:MH,pnu:AH,sat:PH,stp:LH,trc:FH,vpr:jH,waf:VH,x:zH,atptreatment:BH,sap:HH},Ooe={nl:PB,fr:Dz,de:dF,en:yj},qH={};he(qH,{collapsed:()=>WH,default:()=>Noe,expanded:()=>ZH,header:()=>$H,patient:()=>GH,professional:()=>UH});var $H="Ausgegebene Medikamente?",GH={part1:"Diese Übersicht zeigt die Arzneimittel, die Ihnen in den <strong>letzten 12 Monaten</strong> abgegeben wurden.",part2:"Die Liste kann <strong>unvollständig</strong> sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat.",part3:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für Sie bestimmt</strong> sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen.",part4:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu <strong>Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung.</strong>"},UH={part1:"Die Liste kann <strong>unvollständig</strong>: , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden.",part2:"Die Liste kann Arzneimittel enthalten, die <strong>nicht für diesen Patienten bestimmt</strong> sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."},ZH="Information erweitern",WH="Information einklappen",Noe={header:$H,patient:GH,professional:UH,expanded:ZH,collapsed:WH},YH={};he(YH,{collapsed:()=>e7,default:()=>Moe,expanded:()=>JH,header:()=>KH,patient:()=>QH,professional:()=>XH});var KH="How to interpret the list?",QH={part1:"This overview shows the medications that have been dispensed to you over the <strong>past 12 months.</strong>",part2:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part3:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time.",part4:"If in doubt, always consult your doctor or pharmacist. This information is provided <strong>for informational purposes and is not a substitute for professional medical advice.</strong>"},XH={part1:"It is possible that the list <strong>is incomplete</strong>: this may happen if the pharmacist did not register the medication in your name at the time of dispensing.",part2:"The list may contain medications <strong>not intended for you.</strong> This can occur if you collect your medication together with medication for someone else at the same time."},JH="Expand information",e7="Collapse information",Moe={header:KH,patient:QH,professional:XH,expanded:JH,collapsed:e7},t7={};he(t7,{collapsed:()=>o7,default:()=>Aoe,expanded:()=>a7,header:()=>n7,patient:()=>r7,professional:()=>i7});var n7="Comment interpréter la liste?",r7={part1:"Cette liste reprend les médicaments qui vous ont été remis au cours des <strong>12 derniers mois.</strong>",part2:"Cette liste <strong>peut être incomplète</strong>: c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien.",part3:"La liste peut contenir des médicaments <strong>qui ne vous concernent pas.</strong> Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres.",part4:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes <strong>à titre informatif et ne remplacent pas un avis médical professionnel.</strong>"},i7={part1:"Cette liste <strong>peut être incomplète</strong>: c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés.",part2:"La liste peut contenir des médicaments <strong>qui ne concernent pas ce patient.</strong> C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."},a7="Développer l’information",o7="Réduire l'information",Aoe={header:n7,patient:r7,professional:i7,expanded:a7,collapsed:o7},s7={};he(s7,{collapsed:()=>h7,default:()=>Poe,expanded:()=>d7,header:()=>l7,patient:()=>u7,professional:()=>c7});var l7="Hoe de lijst interpreteren?",u7={part1:"Dit overzicht toont de geneesmiddelen die in de <strong>afgelopen 12 maanden</strong> voor u zijn afgeleverd.",part2:"Het is mogelijk dat de lijst <strong>onvolledig</strong> is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering.",part3:"De lijst kan geneesmiddelen bevatten die <strong>niet voor u bestemd</strong> zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment.",part4:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor <strong>doeleinden en zijn geen vervanging voor professioneel medisch advies.</strong>"},c7={part1:"Het is mogelijk dat de lijst <strong>onvolledig</strong>: is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden.",part2:"De lijst kan geneesmiddelen bevatten die <strong>niet voor deze patiënt bestemd</strong> zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."},d7="Informatie uitklappen",h7="Informatie inklappen",Poe={header:l7,patient:u7,professional:c7,expanded:d7,collapsed:h7},Loe={nl:s7,fr:t7,de:qH,en:YH},p7={};he(p7,{default:()=>Foe,headers:()=>m7,magisterialPreparation:()=>f7,noContent:()=>g7});var m7={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},f7="Verschreibungurarzneimittel",g7="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Foe={headers:m7,magisterialPreparation:f7,noContent:g7},v7={};he(v7,{default:()=>joe,headers:()=>b7,magisterialPreparation:()=>y7,noContent:()=>_7});var b7={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},y7="Magistral preparation",_7="There is no delivered medication found for this patient.",joe={headers:b7,magisterialPreparation:y7,noContent:_7},w7={};he(w7,{default:()=>Voe,headers:()=>x7,magisterialPreparation:()=>E7,noContent:()=>S7});var x7={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},E7="Préparation magistrale",S7="Aucun médicament délivré n'a été retrouvé pour ce patient.",Voe={headers:x7,magisterialPreparation:E7,noContent:S7},k7={};he(k7,{default:()=>zoe,headers:()=>C7,magisterialPreparation:()=>D7,noContent:()=>I7});var C7={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},D7="Magistrale bereiding",I7="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",zoe={headers:C7,magisterialPreparation:D7,noContent:I7},Boe={nl:k7,fr:w7,de:p7,en:v7},T7={};he(T7,{composition:()=>R7,default:()=>Hoe,"delivered-by":()=>L7,"delivery-date":()=>P7,dguid:()=>N7,"is-prescribed":()=>M7,leaflet:()=>q7,"magisterial-preparation":()=>H7,medication:()=>G7,"no-pharmacy":()=>z7,noDetails:()=>U7,package:()=>$7,patient:()=>B7,posologie:()=>O7,quantity:()=>A7,"return-delivery-date":()=>j7,"returned-by":()=>V7,"returned-quantity":()=>F7});var R7="Zusammensetzung",O7="Dosierung",N7="ID Ausgabe",M7={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},A7="Gelieferte Menge",P7="Lieferdatum",L7="Geliefert von",F7="Zurückgenommene Menge",j7="Rücknahme am",V7="Rücknahme durch",z7="Apotheke mit LIKIV-Erkennungsnummer",B7="Patient",H7="Verschreibungurarzneimittel",q7="Packungsbeilage",$7="{count, plural, one{Verpackung} other{Verpackungen}}",G7="Arzneimittel",U7="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Hoe={composition:R7,posologie:O7,dguid:N7,"is-prescribed":M7,quantity:A7,"delivery-date":P7,"delivered-by":L7,"returned-quantity":F7,"return-delivery-date":j7,"returned-by":V7,"no-pharmacy":z7,patient:B7,"magisterial-preparation":H7,leaflet:q7,package:$7,medication:G7,noDetails:U7},Z7={};he(Z7,{composition:()=>W7,default:()=>qoe,"delivered-by":()=>Y7,"delivery-date":()=>K7,dguid:()=>Q7,"is-prescribed":()=>X7,leaflet:()=>J7,"magisterial-preparation":()=>e9,medication:()=>t9,"no-pharmacy":()=>n9,noDetails:()=>r9,package:()=>i9,patient:()=>a9,posologie:()=>o9,quantity:()=>s9,"return-delivery-date":()=>c9,"returned-by":()=>d9,"returned-quantity":()=>u9,title:()=>l9});var W7="Composition",Y7="Dispensed by",K7="Date dispensed",Q7="Dispensing ID",X7={no:"No",title:"Was prescribed",yes:"Yes"},J7="Package leaflet",e9="Compounded preparation",t9="Medication",n9="Pharmacy with NIHDI number",r9="The requested information has been deleted or doesn't exist.",i9="{count, plural, one{package} other{packages}}",a9="Patient",o9="Dosage",s9="Dispensed quality",l9="Detail of the dispensed medication",u9="Returned quantity",c9="Return on",d9="Return by",qoe={composition:W7,"delivered-by":Y7,"delivery-date":K7,dguid:Q7,"is-prescribed":X7,leaflet:J7,"magisterial-preparation":e9,medication:t9,"no-pharmacy":n9,noDetails:r9,package:i9,patient:a9,posologie:o9,quantity:s9,title:l9,"returned-quantity":u9,"return-delivery-date":c9,"returned-by":d9},h9={};he(h9,{composition:()=>p9,default:()=>$oe,"delivered-by":()=>y9,"delivery-date":()=>b9,dguid:()=>f9,"is-prescribed":()=>g9,leaflet:()=>C9,"magisterial-preparation":()=>k9,medication:()=>I9,"no-pharmacy":()=>E9,noDetails:()=>T9,package:()=>D9,patient:()=>S9,posologie:()=>m9,quantity:()=>v9,"return-delivery-date":()=>w9,"returned-by":()=>x9,"returned-quantity":()=>_9});var p9="Composition",m9="Posologie",f9="ID délivrance",g9={title:"A été prescrit",yes:"Oui",no:"Non"},v9="Quantité délivrée",b9="Date de délivrance",y9="Délivré par",_9="Quantité retournée",w9="Retour le",x9="Retour par",E9="Pharmacie avec numéro INAMI",S9="Patient",k9="Préparation magistrale",C9="Notice d'information",D9="{count, plural, one{emballage} other{emballages}}",I9="Médicament",T9="La prescription demandée a été supprimée ou n'existe pas.",$oe={composition:p9,posologie:m9,dguid:f9,"is-prescribed":g9,quantity:v9,"delivery-date":b9,"delivered-by":y9,"returned-quantity":_9,"return-delivery-date":w9,"returned-by":x9,"no-pharmacy":E9,patient:S9,"magisterial-preparation":k9,leaflet:C9,package:D9,medication:I9,noDetails:T9},R9={};he(R9,{composition:()=>O9,default:()=>Goe,"delivered-by":()=>F9,"delivery-date":()=>L9,dguid:()=>M9,"is-prescribed":()=>A9,leaflet:()=>$9,"magisterial-preparation":()=>q9,medication:()=>U9,"no-pharmacy":()=>B9,noDetails:()=>Z9,package:()=>G9,patient:()=>H9,posologie:()=>N9,quantity:()=>P9,"return-delivery-date":()=>V9,"returned-by":()=>z9,"returned-quantity":()=>j9});var O9="Samenstelling",N9="Posologie",M9="ID aflevering",A9={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},P9="Afgeleverde hoeveelheid",L9="Datum afgeleverd",F9="Afgeleverd door",j9="Teruggenomen hoeveelheid",V9="Terugname op",z9="Terugname door",B9="Apotheek met RIZIV-nummer",H9="Patiënt",q9="Magistrale bereiding",$9="Bijsluiter",G9="{count, plural, one{verpakking} other{verpakkingen}}",U9="Geneesmiddel(en)",Z9="Het gevraagde voorschrift is verwijderd of bestaat niet.",Goe={composition:O9,posologie:N9,dguid:M9,"is-prescribed":A9,quantity:P9,"delivery-date":L9,"delivered-by":F9,"returned-quantity":j9,"return-delivery-date":V9,"returned-by":z9,"no-pharmacy":B9,patient:H9,"magisterial-preparation":q9,leaflet:$9,package:G9,medication:U9,noDetails:Z9},Uoe={nl:R9,fr:h9,de:T7,en:Z7},Zoe=class extends vs{getTranslation(e){return Je({commons:Ut(ce({},doe[e]),{units:Ooe[e],galenicFormCodes:ooe[e],timeUnits:Coe[e],administrationUnits:Gae[e],periods:goe[e],days:Kae[e],posology:woe[e],errors:toe[e]}),deliveredMedicationsList:Boe[e],deliveredMedicationsDisclaimer:Loe[e],deliveredMedicationDetails:Uoe[e]})}},Woe=[Aae,sJ({defaultLanguage:"fr",loader:{provide:vs,useClass:Zoe},compiler:{provide:ys,useClass:jae}})],el;function Yoe(){if(el===void 0&&(el=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(el=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return el}function ho(e){var t;return((t=Yoe())==null?void 0:t.createHTML(e))||e}function rv(e){return Error(`Unable to find icon with the name "${e}"`)}function Koe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function iv(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function av(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Ei=class{constructor(e,t,r){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=r}},Qoe=(()=>{const t=class t{constructor(n,i,a,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=i,this._errorHandler=o,this._document=a}addSvgIcon(n,i,a){return this.addSvgIconInNamespace("",n,i,a)}addSvgIconLiteral(n,i,a){return this.addSvgIconLiteralInNamespace("",n,i,a)}addSvgIconInNamespace(n,i,a,o){return this._addSvgIconConfig(n,i,new Ei(a,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,a,o){let l=this._sanitizer.sanitize(Pt.HTML,a);if(!l)throw av(a);let u=ho(l);return this._addSvgIconConfig(n,i,new Ei("",u,o))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,a){return this._addSvgIconSetConfig(n,new Ei(i,null,a))}addSvgIconSetLiteralInNamespace(n,i,a){let o=this._sanitizer.sanitize(Pt.HTML,i);if(!o)throw av(i);let l=ho(o);return this._addSvgIconSetConfig(n,new Ei("",l,a))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Pt.RESOURCE_URL,n);if(!i)throw iv(n);let a=this._cachedIconsByUrl.get(i);return a?Je(tl(a)):this._loadSvgIconFromConfig(new Ei(n,null)).pipe(ec(o=>this._cachedIconsByUrl.set(i,o)),Tt(o=>tl(o)))}getNamedSvgIcon(n,i=""){let a=ov(i,n),o=this._svgIconConfigs.get(a);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,n),o)return this._svgIconConfigs.set(a,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(i);return l?this._getSvgFromIconSetConfigs(n,l):m0(rv(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Je(tl(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Tt(i=>tl(i)))}_getSvgFromIconSetConfigs(n,i){let a=this._extractIconWithNameFromAnySet(n,i);if(a)return Je(a);let o=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Th(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(Pt.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),Je(null)})));return y0(o).pipe(Tt(()=>{let l=this._extractIconWithNameFromAnySet(n,i);if(!l)throw rv(n);return l}))}_extractIconWithNameFromAnySet(n,i){for(let a=i.length-1;a>=0;a--){let o=i[a];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),u=this._extractSvgIconFromSet(l,n,o.options);if(u)return u}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ec(i=>n.svgText=i),Tt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Je(null):this._fetchIcon(n).pipe(ec(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,a){let o=n.querySelector(`[id="${i}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,a);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),a);let u=this._svgElementFromString(ho("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,a)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let a=i.querySelector("svg");if(!a)throw Error("<svg> tag not found");return a}_toSvgElement(n){let i=this._svgElementFromString(ho("<svg></svg>")),a=n.attributes;for(let o=0;o<a.length;o++){let{name:l,value:u}=a[o];l!=="id"&&i.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(n.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(n,i){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),i&&i.viewBox&&n.setAttribute("viewBox",i.viewBox),n}_fetchIcon(n){let{url:i,options:a}=n,o=(a==null?void 0:a.withCredentials)??!1;if(!this._httpClient)throw Koe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let l=this._sanitizer.sanitize(Pt.RESOURCE_URL,i);if(!l)throw iv(i);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Tt(d=>ho(d)),x0(()=>this._inProgressUrlFetches.delete(l)),E0());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,i,a){return this._svgIconConfigs.set(ov(n,i),a),this}_addSvgIconSetConfig(n,i){let a=this._iconSetConfigs.get(n);return a?a.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let a=0;a<this._resolvers.length;a++){let o=this._resolvers[a](i,n);if(o)return Xoe(o)?new Ei(o.url,null,o.options):new Ei(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(oe(Qa,8),oe(Gp),oe(Ve,8),oe(Gn))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function tl(e){return e.cloneNode(!0)}function ov(e,t){return e+":"+t}function Xoe(e){return!!(e.url&&e.options)}var Joe=["*"],ese=new J("MAT_ICON_DEFAULT_OPTIONS"),tse=new J("mat-icon-location",{providedIn:"root",factory:nse});function nse(){let e=S(Ve),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var W9=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],rse=W9.map(e=>`[${e}]`).join(", "),ise=/^url\(['"]?#(.*?)['"]?\)$/,qu=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(lt));s(this,"_iconRegistry",S(Qoe));s(this,"_location",S(tse));s(this,"_errorHandler",S(Gn));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=S(new Ib("aria-hidden"),{optional:!0}),i=S(ese,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.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 i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let a=n.childNodes[i];(a.nodeType!==1||a.nodeName.toLowerCase()==="svg")&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(a=>a.length>0);this._previousFontSetClass.forEach(a=>n.classList.remove(a)),i.forEach(a=>n.classList.add(a)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.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 i=this._elementsWithExternalReferences;i&&i.forEach((a,o)=>{a.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(rse),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)W9.forEach(l=>{let u=i[o],c=u.getAttribute(l),d=c?c.match(ise):null;if(d){let p=a.get(u);p||(p=[],a.set(u,p)),p.push({name:l,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,a]=this._splitIconName(n);i&&(this._svgNamespace=i),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,i).pipe(sn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${i}:${a}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,i){n&2&&(cn("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Mu(i.color?"mat-"+i.color:""),tn("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Xt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Joe,decls:1,vars:0,template:function(n,i){n&1&&(gr(),zt(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})(),ase=["*"];function ose(e,t){e&1&&Gt(0)}function sse(e,t){if(e&1&&(V(0,"div",3),me(1,ose,1,0,"ng-container",5),B()),e&2){le();let r=Au(5);F(),Ce("ngTemplateOutlet",r)}}function lse(e,t){e&1&&Gt(0)}function use(e,t){if(e&1){let r=Hr();V(0,"div",6),kn("click",function(){wn(r);let n=le();return xn(n.toggleExpanded())})("keydown.enter",function(){wn(r);let n=le();return xn(n.toggleExpanded())})("keydown.space",function(){wn(r);let n=le();return xn(n.toggleExpanded())}),me(1,lse,1,0,"ng-container",5),B()}if(e&2){let r=le(),n=Au(5);cn("aria-label",r.currentExpandIconAriaLabel()),F(),Ce("ngTemplateOutlet",n)}}function cse(e,t){e&1&&Gt(0)}function dse(e,t){if(e&1&&me(0,cse,1,0,"ng-container",5),e&2){le();let r=Au(7);Ce("ngTemplateOutlet",r)}}function hse(e,t){if(e&1&&(V(0,"h2"),ne(1),B()),e&2){let r=le(3);F(),je(r.alertTitle())}}function pse(e,t){if(e&1&&(V(0,"p"),ne(1),B()),e&2){let r=le(3);F(),je(r.alertSubtitle())}}function mse(e,t){if(e&1&&(V(0,"div"),me(1,hse,2,1,"h2")(2,pse,2,1,"p"),B()),e&2){let r=le(2);F(),Fe(r.alertTitle()?1:-1),F(),Fe(r.alertSubtitle()?2:-1)}}function fse(e,t){e&1&&Gt(0)}function gse(e,t){if(e&1&&me(0,fse,1,0,"ng-container",5),e&2){le(2);let r=Au(7);Ce("ngTemplateOutlet",r)}}function vse(e,t){if(e&1){let r=Hr();V(0,"mat-icon",11),kn("click",function(){wn(r);let n=le(2);return xn(n.onCloseButtonClick())})("keydown.enter",function(){wn(r);let n=le(2);return xn(n.onCloseButtonClick())})("keydown.space",function(){wn(r);let n=le(2);return xn(n.onCloseButtonClick())}),B()}if(e&2){let r=le(2);cn("aria-label",r.closeButtonAriaLabel())}}function bse(e,t){if(e&1&&We(0,"mat-icon",10),e&2){let r=le(2);Ce("fontIcon",r.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function yse(e,t){if(e&1&&(We(0,"mat-icon",7),V(1,"div",8),me(2,mse,3,2,"div")(3,gse,1,1,"ng-container"),B(),me(4,vse,1,1,"mat-icon",9)(5,bse,1,1,"mat-icon",10)),e&2){let r=le();Ce("fontIcon",r.fontIcon()),F(2),Fe(r.alertTitle()||r.alertSubtitle()?2:r.dismissMode()!=="expandable"?3:-1),F(2),Fe(r.dismissMode()==="closable"?4:r.dismissMode()==="expandable"?5:-1)}}function _se(e,t){if(e&1){let r=Hr();V(0,"button",14),kn("click",function(){wn(r);let n=le(2);return xn(n.onActionButtonClicked())}),ne(1),B()}if(e&2){let r=le(2);Ce("disabled",r.buttonDisabled()),F(),ot(" ",r.buttonLabel()," ")}}function wse(e,t){if(e&1&&(V(0,"span",12),zt(1),B(),me(2,_se,2,2,"button",13)),e&2){let r=le();F(2),Fe(r.actionButton()?2:-1)}}var Y9=(()=>{const t=class t{constructor(){s(this,"usage",Be("info"));s(this,"backgroundColor",Be("color"));s(this,"alertTitle",Be());s(this,"alertSubtitle",Be());s(this,"actionButton",Be(!1));s(this,"buttonDisabled",Be(!1));s(this,"buttonLabel",Be());s(this,"dismissMode",Be("pinned"));s(this,"closeButtonAriaLabel",Be(""));s(this,"startExpanded",Be(!1));s(this,"expandedButtonAriaLabel",Be(""));s(this,"collapsedButtonAriaLabel",Be(""));s(this,"closeButtonClicked",Fl());s(this,"actionButtonClicked",Fl());s(this,"expanded",nQ(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",Ti(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"expandableExpanded",Ti(()=>this.dismissMode()==="expandable"&&this.expanded()));s(this,"notExpandableMissingTitleAndSubtitle",Ti(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",Ti(()=>({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",Le({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:ase,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(n,i){n&1&&(gr(),V(0,"div",2),me(1,sse,2,1,"div",3)(2,use,2,2,"div",4)(3,dse,1,1,"ng-container"),B(),me(4,yse,6,3,"ng-template",null,0,Ff)(6,wse,3,1,"ng-template",null,1,Ff)),n&2&&(Mu(i.usage()),tn("white",i.backgroundColor()==="white"),F(),Fe(i.dismissMode()!=="expandable"?1:2),F(2),Fe(i.notExpandableMissingTitleAndSubtitle()||i.expandableExpanded()?3:-1))},dependencies:[N_,GQ,qu,ws],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function ch(e){return(e==null?void 0:e.medication)!=null}var xse=(()=>{const t=class t{transform(n){return ch(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"canDisplayDeliveredMedication",type:t,pure:!0});let e=t;return e})(),K9=(()=>{const t=class t{constructor(){this.http=S(Qa)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ese={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:wa.CNK},name:[{value:"Novyra 50 mg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 comprimé le matin"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:wa.CNK},name:[{value:"Meldiora 10 ml"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-06-30T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"1 goutte dans chaque narine 3x/j"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:wa.CNK},name:[{value:"Cymelune 200 µg"}],quantity:{value:1},instructions:[{lang:h.FR,value:"Exemple FICTIF - NE PAS UTILISER"}]},deliveryDate:"2025-09-02T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"2 inhalations si nécessaire (max 4/j)"}]}],isPrescribed:!0}]},Q9=(()=>{const t=class t{constructor(){this.demoService=S(Jie)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Ese)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),X9=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Sse=(e,t)=>e.getEnvironmentVariable("env")===Jr.DEMO?t.get(Q9):t.get(K9),kse={provide:X9,useFactory:Sse,deps:[Ja,dt]},sv=(()=>{const t=class t extends C1{constructor(n,i){super(n.getServices(),Zo.DELIVERED_MEDICATIONS,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,Zo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=S(X9),this.authServiceSelector=S(Pa),this.deliveredMedicationsStateSubject$=new Mi({status:xa.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return It(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),i=this.deliveredMedicationsApiService.get(n);return G6(i)})}getDeliveredMedications(n=!0){return It(this,null,function*(){return eae(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(oe(Hu),oe(Pa))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),Cse=(()=>{const t=class t{constructor(){this.authService=S(Pa).getInstance(),this.templateRef=S(un),this.viewContainer=S(Zn),this.cdRef=S(pi)}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=Se({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),J9={"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(J9);var Dse=J9,eq={"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(eq);var Ise=eq,Dn=function(e,t,r,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},oa,vo,Ci,Tse=class{constructor(...e){oa.set(this,new Map),vo.set(this,new Map),Ci.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[r,n]of Object.entries(e)){r=r.toLowerCase(),n=n.map(o=>o.toLowerCase()),Dn(this,Ci,"f").has(r)||Dn(this,Ci,"f").set(r,new Set);let i=Dn(this,Ci,"f").get(r),a=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,i==null||i.add(o),a&&Dn(this,vo,"f").set(r,o),a=!1,l)continue;let u=Dn(this,oa,"f").get(o);if(u&&u!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);Dn(this,oa,"f").set(o,r)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(r.length<t.length-1)&&n?null:Dn(this,oa,"f").get(r)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Dn(this,vo,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Dn(this,Ci,"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 Dn(this,Ci,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Dn(this,oa,"f"),extensions:Dn(this,vo,"f")}}};oa=new WeakMap,vo=new WeakMap,Ci=new WeakMap;var Rse=Tse;new Rse(Ise,Dse)._freeze();var Ose=(()=>{const t=class t{transform(n){return T1(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"fullname",type:t,pure:!0});let e=t;return e})(),bm=(()=>{const t=class t{constructor(){this.ingredientLabelService=S(lae),this.translate=S(Qn),this.destroyRef=S(pr),this.cd=S(pi),this.translate.onLangChange.pipe(lh(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=Wn({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),Nse=(()=>{const t=class t{transform(n,i){return this.sortFn([...n],i.sortProperty,i.isAscending)}sortFn(n,i,a){return[...n].sort((o,l)=>{var d,p;let u=a?o:l,c=a?l:o;if(i==="deliveryDate"){let v=u[i]?(d=new Date(u[i]))==null?void 0:d.getTime():0,g=c[i]?(p=new Date(c[i]))==null?void 0:p.getTime():0;return this.compareData(v,g,a)}return this.compareData(u[i],c[i],a)})}compareData(n,i,a){return n==null&&i==null||n===i?0:n==null?a?-1:1:i==null?a?1:-1:n>i?1:-1}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"sortOn",type:t,pure:!0});let e=t;return e})(),ym=(()=>{const t=class t{constructor(){this.translate=S(Qn)}transform(n){return nu(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"translateValue",type:t,pure:!0});let e=t;return e})(),Mse=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"absolute",type:t,pure:!0});let e=t;return e})();Iv(Q$());var Ase=(()=>{const t=class t{constructor(){this.leaflet=Be.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-download-link"]],inputs:{leaflet:[1,"leaflet"]},decls:4,vars:4,consts:[["mat-button","","target","_blank",3,"href"],["fontIcon","download"]],template:function(n,i){n&1&&(V(0,"a",0),We(1,"mat-icon",1),ne(2),ee(3,"translate"),B()),n&2&&(Ce("href",i.leaflet(),sy),F(2),ot(" ",re(3,2,"commons.downloadLeaflet")," "))},dependencies:[Bu,Bw,qu,qr],encapsulation:2});let e=t;return e})(),Pse=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(Iw)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({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,i){n&1&&(V(0,"h2",0),ne(1),ee(2,"translate"),B(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ne(6),ee(7,"translate"),B()()(),V(8,"mat-dialog-actions")(9,"button",1),ne(10),ee(11,"translate"),B()()),n&2&&(F(),je(re(2,4,"commons.errors.action-not-authorized-title")),F(5),je(re(7,6,"commons.errors."+i.vidisErrorCode)),F(3),Ce("mat-dialog-close",!1),F(),ot(" ",re(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[Lw,Rw,Nw,Aw,Mw,Bu,ws,qr],encapsulation:2});let e=t;return e})(),Lse=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({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,i){n&1&&(V(0,"h2",0),ne(1),ee(2,"translate"),B(),V(3,"mat-dialog-content")(4,"p")(5,"span"),ne(6),ee(7,"translate"),B()(),V(8,"p")(9,"span"),ne(10),ee(11,"translate"),B(),V(12,"a",1),ee(13,"translate"),ne(14),ee(15,"translate"),B(),ne(16,"."),B()(),V(17,"mat-dialog-actions")(18,"button",2),ne(19),ee(20,"translate"),B(),V(21,"button",3),ne(22),ee(23,"translate"),B()()),n&2&&(F(),je(re(2,9,"commons.errors.report-message-title")),F(5),je(re(7,11,"commons.errors.report-message-explanation")),F(4),je(re(11,13,"commons.errors.report-message-content")),F(2),Ce("href",re(13,15,"commons.errors.report-message-link"),sy),F(2),je(re(15,17,"commons.errors.report-message-term-use")),F(4),Ce("mat-dialog-close",!0),F(),ot(" ",re(20,19,"commons.errors.report-message-report-button")," "),F(2),Ce("mat-dialog-close",!1),F(),ot(" ",re(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[Lw,Rw,Nw,Aw,Mw,Bu,ws,qr],encapsulation:2});let e=t;return e})(),Fse=(()=>{const t=class t{reportError(n){return Je({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),jse=(()=>{const t=class t{constructor(){this.http=S(Qa),this.authService=S(Pa).getInstance(),this.apiUrl=S(Ja).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[So.userType]:Ni.getUserType({isProfessional:this.authService.isProfessional}),[So.clientType]:D1()?Ni.clientType.mobileApp:Ni.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Vse=(()=>{const t=class t{constructor(){this.config=S(Ja),this.injector=S(dt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Fse):this.injector.get(jse)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function lv(e,t,r){let n=y1(),i=Hse(e,r.timeZone,r.locale??n.locale);return"formatToParts"in i?zse(i,t):Bse(i,t)}function zse(e,t){let r=e.formatToParts(t);for(let n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function Bse(e,t){let r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function Hse(e,t,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function qse(e,t){let r=Wse(t);return"formatToParts"in r?Gse(r,e):Use(r,e)}var $se={year:0,month:1,day:2,hour:3,minute:4,second:5};function Gse(e,t){try{let r=e.formatToParts(t),n=[];for(let i=0;i<r.length;i++){let a=$se[r[i].type];a!==void 0&&(n[a]=parseInt(r[i].value,10))}return n}catch(r){if(r instanceof RangeError)return[NaN];throw r}}function Use(e,t){let r=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}var Uc={},uv=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")),Zse=uv==="06/25/2014, 00:00:00"||uv==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function Wse(e){return Uc[e]||(Uc[e]=Zse?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"})),Uc[e]}function tq(e,t,r,n,i,a,o){let l=new Date(0);return l.setUTCFullYear(e,t,r),l.setUTCHours(n,i,a,o),l}var cv=36e5,Yse=6e4,Zc={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function nq(e,t,r){if(!e)return 0;let n=Zc.timezoneZ.exec(e);if(n)return 0;let i,a;if(n=Zc.timezoneHH.exec(e),n)return i=parseInt(n[1],10),dv(i)?-(i*cv):NaN;if(n=Zc.timezoneHHMM.exec(e),n){i=parseInt(n[2],10);let o=parseInt(n[3],10);return dv(i,o)?(a=Math.abs(i)*cv+o*Yse,n[1]==="+"?-a:a):NaN}if(Xse(e)){t=new Date(t||Date.now());let o=r?t:Kse(t),l=dh(o,e);return-(r?l:Qse(t,l,e))}return NaN}function Kse(e){return tq(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function dh(e,t){let r=qse(e,t),n=tq(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime(),i=e.getTime(),a=i%1e3;return i-=a>=0?a:1e3+a,n-i}function Qse(e,t,r){let n=e.getTime()-t,i=dh(new Date(n),r);if(t===i)return t;n-=i-t;let a=dh(new Date(n),r);return i===a?i:Math.max(i,a)}function dv(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var hv={};function Xse(e){if(hv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),hv[e]=!0,!0}catch{return!1}}var Jse=60*1e3,ele={X:function(e,t,r){let n=Wc(r.timeZone,e);if(n===0)return"Z";switch(t){case"X":return pv(n);case"XXXX":case"XX":return sa(n);case"XXXXX":case"XXX":default:return sa(n,":")}},x:function(e,t,r){let n=Wc(r.timeZone,e);switch(t){case"x":return pv(n);case"xxxx":case"xx":return sa(n);case"xxxxx":case"xxx":default:return sa(n,":")}},O:function(e,t,r){let n=Wc(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+tle(n,":");case"OOOO":default:return"GMT"+sa(n,":")}},z:function(e,t,r){switch(t){case"z":case"zz":case"zzz":return lv("short",e,r);case"zzzz":default:return lv("long",e,r)}}};function Wc(e,t){let r=e?nq(e,t,!0)/Jse:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function iu(e,t){let r=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return r+n}function sa(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),i=iu(Math.floor(n/60),2),a=iu(Math.floor(n%60),2);return r+i+t+a}function pv(e,t){return e%60===0?(e>0?"-":"+")+iu(Math.abs(e)/60,2):sa(e,t)}function tle(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;return a===0?r+String(i):r+String(i)+t+iu(a,2)}function mv(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 nle=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Yc=36e5,fv=6e4,rle=2,on={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:nle};function ile(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let r=t.additionalDigits==null?rle:Number(t.additionalDigits);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let n=ale(e),{year:i,restDateString:a}=ole(n.date,r),o=sle(a,i);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=lle(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=nq(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=mv(new Date(l+u)),c=mv(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function ale(e){let t={},r=on.dateTimePattern.exec(e),n;if(r?(t.date=r[1],n=r[3]):(r=on.datePattern.exec(e),r?(t.date=r[1],n=r[2]):(t.date=null,n=e)),n){let i=on.timeZone.exec(n);i?(t.time=n.replace(i[1],""),t.timeZone=i[1].trim()):t.time=n}return t}function ole(e,t){if(e){let r=on.YYY[t],n=on.YYYYY[t],i=on.YYYY.exec(e)||n.exec(e);if(i){let a=i[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(i=on.YY.exec(e)||r.exec(e),i){let a=i[1];return{year:parseInt(a,10)*100,restDateString:e.slice(a.length)}}}return{year:null}}function sle(e,t){if(t===null)return null;let r,n,i;if(!e||!e.length)return r=new Date(0),r.setUTCFullYear(t),r;let a=on.MM.exec(e);if(a)return r=new Date(0),n=parseInt(a[1],10)-1,vv(t,n)?(r.setUTCFullYear(t,n),r):new Date(NaN);if(a=on.DDD.exec(e),a){r=new Date(0);let o=parseInt(a[1],10);return dle(t,o)?(r.setUTCFullYear(t,0,o),r):new Date(NaN)}if(a=on.MMDD.exec(e),a){r=new Date(0),n=parseInt(a[1],10)-1;let o=parseInt(a[2],10);return vv(t,n,o)?(r.setUTCFullYear(t,n,o),r):new Date(NaN)}if(a=on.Www.exec(e),a)return i=parseInt(a[1],10)-1,bv(i)?gv(t,i):new Date(NaN);if(a=on.WwwD.exec(e),a){i=parseInt(a[1],10)-1;let o=parseInt(a[2],10)-1;return bv(i,o)?gv(t,i,o):new Date(NaN)}return null}function lle(e){let t,r,n=on.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Kc(t)?t%24*Yc:NaN;if(n=on.HHMM.exec(e),n)return t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")),Kc(t,r)?t%24*Yc+r*fv:NaN;if(n=on.HHMMSS.exec(e),n){t=parseInt(n[1],10),r=parseInt(n[2],10);let i=parseFloat(n[3].replace(",","."));return Kc(t,r,i)?t%24*Yc+r*fv+i*1e3:NaN}return null}function gv(e,t,r){t=t||0,r=r||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let i=n.getUTCDay()||7,a=t*7+r+1-i;return n.setUTCDate(n.getUTCDate()+a),n}var ule=[31,28,31,30,31,30,31,31,30,31,30,31],cle=[31,29,31,30,31,30,31,31,30,31,30,31];function rq(e){return e%400===0||e%4===0&&e%100!==0}function vv(e,t,r){if(t<0||t>11)return!1;if(r!=null){if(r<1)return!1;let n=rq(e);if(n&&r>cle[t]||!n&&r>ule[t])return!1}return!0}function dle(e,t){if(t<1)return!1;let r=rq(e);return!(r&&t>366||!r&&t>365)}function bv(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Kc(e,t,r){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||r!=null&&(r<0||r>=60))}var hle=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function ple(e,t,r={}){t=String(t);let n=t.match(hle);if(n){let i=ile(r.originalDate||e,r);t=n.reduce(function(a,o){if(o[0]==="'")return a;let l=a.indexOf(o),u=a[l-1]==="'",c=a.replace(o,"'"+ele[o[0]](i,o,r)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return b1(e,t,r)}var mle=(()=>{const t=class t extends $ie{constructor(){super(...arguments),this.version=oh,this.defaultExtraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"],this.authServiceSelector=S(Pa),this.translateService=S(Qn),this.webComponentConfig=S(Ja),this.injector=S(dt),this.servicesStore=S(Hu),this.matDialog=S(zu),this.destroyRef=S(pr),this.errorServiceSelector=S(Vse),this.snackbarService=S(N1),this.extraRequiredFields=this.defaultExtraRequiredFields,this.onError=new Rt}onInitialized(){return It(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=>It(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)===Ar.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===Ar.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(Lse,{data:{error:n}}).beforeClosed().pipe(lh(this.destroyRef)).subscribe(i=>{i?(this.reportVidisError(n),this.onError.emit({reported:!0})):this.onError.emit({reported:!1})})}reportVidisError(n){let i={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(i).subscribe({next:a=>{a.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(Pse,{data:n}).beforeClosed().pipe(lh(this.destroyRef)).subscribe(()=>{this.onError.emit({reported:!1})})}formatDateWithZone(){return ple(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})(),t.ɵcmp=Le({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},outputs:{onError:"onError"},features:[Ke],decls:0,vars:0,template:function(n,i){},encapsulation:2});let e=t;return e})();function fle(e,t){if(e&1&&(V(0,"mh-alert",0),ee(1,"translate"),V(2,"div",1),ne(3),ee(4,"translate"),B()()),e&2){let r=le();Ce("alertTitle",re(1,2,"commons.errors.data-not-available-title")),F(3),je(re(4,4,"commons.errors."+r.error().code))}}var gle=(()=>{const t=class t{constructor(){this.error=Be.required(),this.vidisErrorGroup=Ar}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,i){n&1&&me(0,fle,5,6,"mh-alert",0),n&2&&Fe(i.error().group===i.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[qr,Y9],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})(),vle=["*"],ble=(()=>{const t=class t{constructor(){this.item=Be.required(),this.expandedElement=YW.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:vle,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(n,i){n&1&&(gr(),V(0,"button",0),kn("click",function(){return i.expandedElement.set(i.expandedElement()===i.item()?null:i.item())}),We(1,"mat-icon",1),zt(2),B()),n&2&&(F(),Ce("fontIcon",i.item()===i.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Bu,ws,qu],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})(),yle=e=>({count:e});function _le(e,t){e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B()),e&2&&(F(),je(re(2,1,"deliveredMedicationDetails.leaflet")))}function wle(e,t){if(e&1&&(V(0,"span",2),We(1,"vidis-download-link",5),B()),e&2){let r=le(3);F(),Ce("leaflet",r.leafletUrl())}}function xle(e,t){e&1&&me(0,_le,3,3,"span",3)(1,wle,2,1,"span",4)}function Ele(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"translateValue"),B(),me(6,xle,2,0)),e&2){let r=le();F(),je(re(2,3,"deliveredMedicationDetails.medication")),F(3),je(re(5,5,r.item().medication.name)),F(2),Fe(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function Sle(e,t){if(e&1&&(ne(0),ee(1,"ingredientLabel")),e&2){let r=t.$implicit;ot(" ",re(1,1,r)," ")}}function kle(e,t){if(e&1&&(V(0,"span",1)(1,"strong"),ne(2),ee(3,"translate"),B()(),V(4,"span",2),Wa(5,Sle,2,3,null,null,Rp),B()),e&2){let r=le();F(2),je(re(3,1,"deliveredMedicationsList.magisterialPreparation")),F(3),Ya(r.item().medication.ingredients)}}function Cle(e,t){if(e&1&&(V(0,"li"),ne(1),ee(2,"translateValue"),B()),e&2){let r=t.$implicit;F(),ot(" ",re(2,1,r.texts)," ")}}function Dle(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2)(4,"ul"),Wa(5,Cle,3,3,"li",null,Rp),B()()),e&2){let r=le();F(),je(re(2,1,"deliveredMedicationDetails.posologie")),F(4),Ya(r.item().dosageInstructions)}}function Ile(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"date"),B()),e&2){let r=le(),n=le();F(),je(re(2,2,r<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),F(3),je(gs(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function Tle(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"absolute"),ee(6,"absolute"),ee(7,"translate"),B(),me(8,Ile,6,7),V(9,"span",1),ne(10),ee(11,"translate"),B()),e&2){let r=t,n=le();F(),je(re(2,5,r<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),F(3),Mp("",re(5,7,r)," ",gs(7,11,"deliveredMedicationDetails.package",g_(16,yle,re(6,9,r))),""),F(4),Fe(n.displayAllDetails()?8:-1),F(2),je(re(11,14,r<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function Rle(e,t){if(e&1&&(ne(0),ee(1,"translateValue"),We(2,"br"),ne(3)),e&2){let r=le();ot(" ",re(1,2,t)," "),F(3),ot(" ",r.item().pharmacy.nihdi," ")}}function Ole(e,t){if(e&1&&(ne(0),ee(1,"translate")),e&2){let r=le();Mp(" ",re(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function Nle(e,t){if(e&1&&(V(0,"span",1),ne(1),ee(2,"translate"),B(),V(3,"span",2),ne(4),ee(5,"fullname"),B()),e&2){let r=le();F(),je(re(2,2,"deliveredMedicationDetails.patient")),F(3),je(re(5,4,r.item().person))}}var Mle=(()=>{const t=class t{constructor(){this.translate=S(Qn),this.leafletService=S(R1),this.leafletUrl=Mo(""),this.item=Be.required(),this.displayAllDetails=Be(!1),this.isProfessional=Be.required(),this.identifierType=wa}ngOnInit(){this.displayAllDetails()&&this.item().medication.identifier&&this.item().medication.identifier.type===this.identifierType.CNK&&this.updateLeafletUrl()}updateLeafletUrl(){this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value).pipe(sn(1)).subscribe({next:n=>{this.leafletUrl.set(n)},error:n=>{console.error("Error fetching leaflet URL:",n),this.leafletUrl.set("")}})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],[3,"leaflet"]],template:function(n,i){if(n&1&&(V(0,"span",0),me(1,Ele,7,7)(2,kle,7,3)(3,Dle,7,3),V(4,"span",1),ne(5),ee(6,"translate"),B(),V(7,"span",2),ne(8),ee(9,"translate"),B(),me(10,Tle,12,18),V(11,"span",2),me(12,Rle,4,4)(13,Ole,2,4),B(),me(14,Nle,6,6),V(15,"span",1),ne(16),ee(17,"translate"),B(),V(18,"span",2),ne(19),B()()),n&2){let a,o,l;F(),Fe(i.item().medication.name?1:2),F(2),Fe((a=i.item().dosageInstructions)!=null&&a.length?3:-1),F(2),je(re(6,9,"deliveredMedicationDetails.is-prescribed.title")),F(3),je(re(9,11,"deliveredMedicationDetails.is-prescribed."+(i.item().isPrescribed?"yes":"no"))),F(2),Fe((o=(o=i.item().medication.quantity)==null?null:o.value)?10:-1,o),F(2),Fe((l=(l=i.item().pharmacy)==null?null:l.name)?12:13,l),F(2),Fe(i.displayAllDetails()&&!i.isProfessional()?14:-1),F(2),je(re(17,13,"deliveredMedicationDetails.dguid")),F(3),je(i.item().dguid)}},dependencies:[qr,ym,bm,Vp,Ose,Mse,Cse,Ase],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})(),Ale=(()=>{const t=class t{constructor(){this.sanitizer=S(Gp)}transform(n,i="html"){let a={html:Pt.HTML,style:Pt.STYLE,script:Pt.SCRIPT,url:Pt.URL,resourceUrl:Pt.RESOURCE_URL}[i];return this.sanitizer.sanitize(a,n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=Wn({name:"sanitize",type:t,pure:!0});let e=t;return e})(),Ple=["*"];function Lle(e,t){e&1&&(V(0,"div",2),mU(),V(1,"svg",3),We(2,"path",4),B()())}var iq=new J("MAT_SORT_DEFAULT_OPTIONS"),hh=(()=>{const t=class t{constructor(n){s(this,"_defaultOptions");s(this,"_initializedStream",new Ch(1));s(this,"sortables",new Map);s(this,"_stateChanges",new be);s(this,"active");s(this,"start","asc");s(this,"_direction","");s(this,"disableClear");s(this,"disabled",!1);s(this,"sortChange",new Rt);s(this,"initialized",this._initializedStream);this._defaultOptions=n}get direction(){return this._direction}set direction(n){this._direction=n}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){var l;if(!n)return"";let i=(n==null?void 0:n.disableClear)??this.disableClear??!!((l=this._defaultOptions)!=null&&l.disableClear),a=Fle(n.start||this.start,i),o=a.indexOf(this.direction)+1;return o>=a.length&&(o=0),a[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};s(t,"ɵfac",function(n){return new(n||t)($t(iq,8))}),s(t,"ɵdir",Se({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Xt],disabled:[2,"matSortDisabled","disabled",Xt]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Gi]}));let e=t;return e})();function Fle(e,t){let r=["asc","desc"];return e=="desc"&&r.reverse(),t||r.push(""),r}var au=(()=>{const t=class t{constructor(){s(this,"changes",new be)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function jle(e){return e||new au}var Vle={provide:au,deps:[[new Mh,new Ah,au]],useFactory:jle},zle=(()=>{const t=class t{constructor(){s(this,"_intl",S(au));s(this,"_sort",S(hh,{optional:!0}));s(this,"_columnDef",S("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0}));s(this,"_changeDetectorRef",S(pi));s(this,"_focusMonitor",S(Kp));s(this,"_elementRef",S(lt));s(this,"_ariaDescriber",S(zJ,{optional:!0}));s(this,"_renderChanges");s(this,"_animationModule",S(Wi,{optional:!0}));s(this,"_recentlyCleared",Mo(null));s(this,"_sortButton");s(this,"id");s(this,"arrowPosition","after");s(this,"start");s(this,"disabled",!1);s(this,"_sortActionDescription","Sort");s(this,"disableClear");S(Qi).load(bw);let n=S(iq,{optional:!0});this._sort,n!=null&&n.arrowPosition&&(this.arrowPosition=n==null?void 0:n.arrowPosition)}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(n){this._updateSortActionDescription(n)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=Ea(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>this._recentlyCleared.set(null))}ngOnDestroy(){var n,i;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),(n=this._renderChanges)==null||n.unsubscribe(),this._sortButton&&((i=this._ariaDescriber)==null||i.removeDescription(this._sortButton,this._sortActionDescription))}_toggleOnInteraction(){if(!this._isDisabled()){let n=this._isSorted(),i=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(n&&!this._isSorted()?i:null)}}_handleKeydown(n){(n.keyCode===32||n.keyCode===13)&&(n.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(n){var i,a;this._sortButton&&((i=this._ariaDescriber)==null||i.removeDescription(this._sortButton,this._sortActionDescription),(a=this._ariaDescriber)==null||a.describe(this._sortButton,n)),this._sortActionDescription=n}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,i){n&1&&kn("click",function(){return i._toggleOnInteraction()})("keydown",function(a){return i._handleKeydown(a)})("mouseleave",function(){return i._recentlyCleared.set(null)}),n&2&&(cn("aria-sort",i._getAriaSortAttribute()),tn("mat-sort-header-disabled",i._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",Xt],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Xt]},exportAs:["matSortHeader"],ngContentSelectors:Ple,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,i){n&1&&(gr(),V(0,"div",0)(1,"div",1),zt(2),B(),me(3,Lle,3,0,"div",2),B()),n&2&&(tn("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before",i.arrowPosition==="before")("mat-sort-header-descending",i._sort.direction==="desc")("mat-sort-header-ascending",i._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",i._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",i._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",i._animationModule==="NoopAnimations"),cn("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),F(3),Fe(i._renderArrow()?3:-1))},styles:[`.mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}
38
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ble=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({providers:[Vle],imports:[jr]}));let e=t;return e})(),Hle=[[["caption"]],[["colgroup"],["col"]],"*"],qle=["caption","colgroup, col","*"];function $le(e,t){e&1&&zt(0,2)}function Gle(e,t){e&1&&(V(0,"thead",0),Gt(1,1),B(),V(2,"tbody",0),Gt(3,2)(4,3),B(),V(5,"tfoot",0),Gt(6,4),B())}function Ule(e,t){e&1&&Gt(0,1)(1,2)(2,3)(3,4)}var vr=new J("CDK_TABLE"),ph=(()=>{const t=class t{constructor(){s(this,"template",S(un))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),mh=(()=>{const t=class t{constructor(){s(this,"template",S(un))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),Zle=(()=>{const t=class t{constructor(){s(this,"template",S(un))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Wo=(()=>{const t=class t{constructor(){s(this,"_table",S(vr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_name");s(this,"_sticky",!1);s(this,"_stickyEnd",!1);s(this,"cell");s(this,"headerCell");s(this,"footerCell");s(this,"cssClassFriendlyName");s(this,"_columnCssClassName")}get name(){return this._name}set name(n){this._setNameInput(n)}get sticky(){return this._sticky}set sticky(n){n!==this._sticky&&(this._sticky=n,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(n){n!==this._stickyEnd&&(this._stickyEnd=n,this._hasStickyChanged=!0)}hasStickyChanged(){let n=this._hasStickyChanged;return this.resetStickyChanged(),n}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(n){n&&(this._name=n,this.cssClassFriendlyName=n.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,i,a){if(n&1&&(Qr(a,ph,5),Qr(a,mh,5),Qr(a,Zle,5)),n&2){let o;Rn(o=On())&&(i.cell=o.first),Rn(o=On())&&(i.headerCell=o.first),Rn(o=On())&&(i.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Xt],stickyEnd:[2,"stickyEnd","stickyEnd",Xt]},features:[Kn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),aq=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},Wle=(()=>{const t=class t extends aq{constructor(){super(S(Wo),S(lt))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ke]}));let e=t;return e})(),Yle=(()=>{const t=class t extends aq{constructor(){var o;let n=S(Wo),i=S(lt);super(n,i);let a=(o=n._table)==null?void 0:o._getCellRole();a&&i.nativeElement.setAttribute("role",a)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ke]}));let e=t;return e})(),yv=class{constructor(){s(this,"tasks",[]);s(this,"endTasks",[])}},fh=new J("_COALESCED_STYLE_SCHEDULER"),oq=(()=>{const t=class t{constructor(){s(this,"_currentSchedule",null);s(this,"_ngZone",S($e))}schedule(n){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(n)}scheduleEnd(n){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(n)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new yv,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let n=this._currentSchedule;this._currentSchedule=new yv;for(let i of n.tasks)i();for(let i of n.endTasks)i()}this._currentSchedule=null})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),_m=(()=>{const t=class t{constructor(){s(this,"template",S(un));s(this,"_differs",S(Ka));s(this,"columns");s(this,"_columnsDiffer")}ngOnChanges(n){if(!this._columnsDiffer){let i=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(n){return this instanceof ou?n.headerCell.template:this instanceof sq?n.footerCell.template:n.cell.template}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,features:[Gi]}));let e=t;return e})(),ou=(()=>{const t=class t extends _m{constructor(){super(S(un),S(Ka));s(this,"_table",S(vr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Xt]},features:[Ke,Gi]}));let e=t;return e})(),sq=(()=>{const t=class t extends _m{constructor(){super(S(un),S(Ka));s(this,"_table",S(vr,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Xt]},features:[Ke,Gi]}));let e=t;return e})(),gh=(()=>{const t=class t extends _m{constructor(){super(S(un),S(Ka));s(this,"_table",S(vr,{optional:!0}));s(this,"when")}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Ke]}));let e=t;return e})(),La=(()=>{const t=class t{constructor(){s(this,"_viewContainer",S(Zn));s(this,"cells");s(this,"context");t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};s(t,"mostRecentCellOutlet",null),s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),_v=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,i){n&1&&Gt(0,0)},dependencies:[La],encapsulation:2}));let e=t;return e})(),wv=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,i){n&1&&Gt(0,0)},dependencies:[La],encapsulation:2}));let e=t;return e})(),Kle=(()=>{const t=class t{constructor(){s(this,"templateRef",S(un));s(this,"_contentClassName","cdk-no-data-row")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),xv=["top","bottom","left","right"],Qle=class{constructor(e,t,r,n,i=!0,a=!0,o,l){s(this,"_isNativeHtmlTable");s(this,"_stickCellCss");s(this,"direction");s(this,"_coalescedStyleScheduler");s(this,"_isBrowser");s(this,"_needsPositionStickyOnElement");s(this,"_positionListener");s(this,"_tableInjector");s(this,"_elemSizeCache",new WeakMap);s(this,"_resizeObserver",globalThis!=null&&globalThis.ResizeObserver?new globalThis.ResizeObserver(e=>this._updateCachedSizes(e)):null);s(this,"_updatedStickyColumnsParamsToReplay",[]);s(this,"_stickyColumnsReplayTimeout",null);s(this,"_cachedCellWidths",[]);s(this,"_borderCellCss");s(this,"_destroyed",!1);this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=r,this._coalescedStyleScheduler=n,this._isBrowser=i,this._needsPositionStickyOnElement=a,this._positionListener=o,this._tableInjector=l,this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(e,t){(t.includes("left")||t.includes("right"))&&this._removeFromStickyColumnReplayQueue(e);let r=[];for(let n of e)n.nodeType===n.ELEMENT_NODE&&r.push(n,...Array.from(n.children));this._afterNextRender({write:()=>{for(let n of r)this._removeStickyStyle(n,t)}})}updateStickyColumns(e,t,r,n=!0,i=!0){var x,k;if(!e.length||!this._isBrowser||!(t.some(D=>D)||r.some(D=>D))){(x=this._positionListener)==null||x.stickyColumnsUpdated({sizes:[]}),(k=this._positionListener)==null||k.stickyEndColumnsUpdated({sizes:[]});return}let a=e[0],o=a.children.length,l=this.direction==="rtl",u=l?"right":"left",c=l?"left":"right",d=t.lastIndexOf(!0),p=r.indexOf(!0),v,g,w;i&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...r]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(a,n),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,r)},write:()=>{for(let D of e)for(let O=0;O<o;O++){let N=D.children[O];t[O]&&this._addStickyStyle(N,u,g[O],O===d),r[O]&&this._addStickyStyle(N,c,w[O],O===p)}this._positionListener&&v.some(D=>!!D)&&(this._positionListener.stickyColumnsUpdated({sizes:d===-1?[]:v.slice(0,d+1).map((D,O)=>t[O]?D:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:p===-1?[]:v.slice(p).map((D,O)=>r[O+p]?D:null).reverse()}))}})}stickRows(e,t,r){if(!this._isBrowser)return;let n=r==="bottom"?e.slice().reverse():e,i=r==="bottom"?t.slice().reverse():t,a=[],o=[],l=[];this._afterNextRender({earlyRead:()=>{for(let u=0,c=0;u<n.length;u++){if(!i[u])continue;a[u]=c;let d=n[u];l[u]=this._isNativeHtmlTable?Array.from(d.children):[d];let p=this._retrieveElementSize(d).height;c+=p,o[u]=p}},write:()=>{var c,d;let u=i.lastIndexOf(!0);for(let p=0;p<n.length;p++){if(!i[p])continue;let v=a[p],g=p===u;for(let w of l[p])this._addStickyStyle(w,r,v,g)}r==="top"?(c=this._positionListener)==null||c.stickyHeaderRowsUpdated({sizes:o,offsets:a,elements:l}):(d=this._positionListener)==null||d.stickyFooterRowsUpdated({sizes:o,offsets:a,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let r=e.querySelector("tfoot");r&&(t.some(n=>!n)?this._removeStickyStyle(r,["bottom"]):this._addStickyStyle(r,"bottom",0,!1))}})}destroy(){var e;this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),(e=this._resizeObserver)==null||e.disconnect(),this._destroyed=!0}_removeStickyStyle(e,t){if(e.classList.contains(this._stickCellCss)){for(let r of t)e.style[r]="",e.classList.remove(this._borderCellCss[r]);xv.some(r=>t.indexOf(r)===-1&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,r,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${r}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let t={top:100,bottom:10,left:1,right:1},r=0;for(let n of xv)e.style[n]&&(r+=t[n]);return r?`${r}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let r=[],n=e.children;for(let i=0;i<n.length;i++){let a=n[i];r.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=r,r}_getStickyStartColumnPositions(e,t){let r=[],n=0;for(let i=0;i<e.length;i++)t[i]&&(r[i]=n,n+=e[i]);return r}_getStickyEndColumnPositions(e,t){let r=[],n=0;for(let i=e.length;i>0;i--)t[i]&&(r[i]=n,n+=e[i]);return r}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let r=e.getBoundingClientRect(),n={width:r.width,height:r.height};return this._resizeObserver&&(this._elemSizeCache.set(e,n),this._resizeObserver.observe(e,{box:"border-box"})),n}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let t=new Set(e);for(let r of this._updatedStickyColumnsParamsToReplay)r.rows=r.rows.filter(n=>!t.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(r=>!!r.rows.length)}_updateCachedSizes(e){var r,n;let t=!1;for(let i of e){let a=(r=i.borderBoxSize)!=null&&r.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};a.width!==((n=this._elemSizeCache.get(i.target))==null?void 0:n.width)&&Xle(i.target)&&(t=!0),this._elemSizeCache.set(i.target,a)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(e){this._tableInjector?ku(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function Xle(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var vh=new J("CDK_SPL"),lq=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._rowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),uq=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._headerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),cq=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._footerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),dq=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Zn));s(this,"elementRef",S(lt));let n=S(vr);n._noDataRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),Ev=(()=>{const t=class t{constructor(){s(this,"_differs",S(Ka));s(this,"_changeDetectorRef",S(pi));s(this,"_elementRef",S(lt));s(this,"_dir",S(zo,{optional:!0}));s(this,"_platform",S(dn));s(this,"_viewRepeater",S(Wd));s(this,"_coalescedStyleScheduler",S(fh));s(this,"_viewportRuler",S(em));s(this,"_stickyPositioningListener",S(vh,{optional:!0,skipSelf:!0}));s(this,"_document",S(Ve));s(this,"_data");s(this,"_onDestroy",new be);s(this,"_renderRows");s(this,"_renderChangeSubscription");s(this,"_columnDefsByName",new Map);s(this,"_rowDefs");s(this,"_headerRowDefs");s(this,"_footerRowDefs");s(this,"_dataDiffer");s(this,"_defaultRowDef");s(this,"_customColumnDefs",new Set);s(this,"_customRowDefs",new Set);s(this,"_customHeaderRowDefs",new Set);s(this,"_customFooterRowDefs",new Set);s(this,"_customNoDataRow");s(this,"_headerRowDefChanged",!0);s(this,"_footerRowDefChanged",!0);s(this,"_stickyColumnStylesNeedReset",!0);s(this,"_forceRecalculateCellWidths",!0);s(this,"_cachedRenderRowsMap",new Map);s(this,"_isNativeHtmlTable");s(this,"_stickyStyler");s(this,"stickyCssClass","cdk-table-sticky");s(this,"needsPositionStickyOnElement",!0);s(this,"_isServer");s(this,"_isShowingNoDataRow",!1);s(this,"_hasAllOutlets",!1);s(this,"_hasInitialized",!1);s(this,"_cellRoleInternal");s(this,"_trackByFn");s(this,"_dataSource");s(this,"_multiTemplateDataRows",!1);s(this,"_fixedLayout",!1);s(this,"contentChanged",new Rt);s(this,"viewChange",new Mi({start:0,end:Number.MAX_VALUE}));s(this,"_rowOutlet");s(this,"_headerRowOutlet");s(this,"_footerRowOutlet");s(this,"_noDataRowOutlet");s(this,"_contentColumnDefs");s(this,"_contentRowDefs");s(this,"_contentHeaderRowDefs");s(this,"_contentFooterRowDefs");s(this,"_noDataRow");s(this,"_injector",S(dt));S(new Ib("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}_getCellRole(){if(this._cellRoleInternal===void 0){let n=this._elementRef.nativeElement.getAttribute("role");return n==="grid"||n==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(n){this._trackByFn=n}get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(n){this._multiTemplateDataRows=n,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(n){this._fixedLayout=n,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(oi(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var n,i,a,o;(n=this._stickyStyler)==null||n.destroy(),[(i=this._rowOutlet)==null?void 0:i.viewContainer,(a=this._headerRowOutlet)==null?void 0:a.viewContainer,(o=this._footerRowOutlet)==null?void 0:o.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l==null||l.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Mc(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let n=this._dataDiffer.diff(this._renderRows);if(!n){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(n,i,(a,o,l)=>this._getEmbeddedViewArgs(a.item,l),a=>a.item.data,a=>{a.operation===xo.INSERTED&&a.context&&this._renderCellTemplateForItem(a.record.item.rowDef,a.context)}),this._updateRowIndexContext(),n.forEachIdentityChange(a=>{let o=i.get(a.currentIndex);o.context.$implicit=a.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(n){this._customColumnDefs.add(n)}removeColumnDef(n){this._customColumnDefs.delete(n)}addRowDef(n){this._customRowDefs.add(n)}removeRowDef(n){this._customRowDefs.delete(n)}addHeaderRowDef(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0}removeHeaderRowDef(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0}addFooterRowDef(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0}removeFooterRowDef(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0}setNoDataRow(n){this._customNoDataRow=n}updateStickyHeaderRowStyles(){let n=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let a=Sv(this._headerRowOutlet,"thead");a&&(a.style.display=n.length?"":"none")}let i=this._headerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,i,"top"),this._headerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyFooterRowStyles(){let n=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let a=Sv(this._footerRowOutlet,"tfoot");a&&(a.style.display=n.length?"":"none")}let i=this._footerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyColumnStyles(){let n=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),a=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...n,...i,...a],["left","right"]),this._stickyColumnStylesNeedReset=!1),n.forEach((o,l)=>{this._addStickyColumnStyles([o],this._headerRowDefs[l])}),this._rowDefs.forEach(o=>{let l=[];for(let u=0;u<i.length;u++)this._renderRows[u].rowDef===o&&l.push(i[u]);this._addStickyColumnStyles(l,o)}),a.forEach((o,l)=>{this._addStickyColumnStyles([o],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let n=[],i=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return n;for(let a=0;a<this._data.length;a++){let o=this._data[a],l=this._getRenderRowsForData(o,a,i.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let u=0;u<l.length;u++){let c=l[u],d=this._cachedRenderRowsMap.get(c.data);d.has(c.rowDef)?d.get(c.rowDef).push(c):d.set(c.rowDef,[c]),n.push(c)}}return n}_getRenderRowsForData(n,i,a){return this._getRowDefs(n,i).map(o=>{let l=a&&a.has(o)?a.get(o):[];if(l.length){let u=l.shift();return u.dataIndex=i,u}else return{data:n,rowDef:o,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),nl(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=nl(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=nl(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=nl(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let n=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&n.length>1,this._defaultRowDef=n[0]}_renderUpdatedColumns(){let n=(l,u)=>{let c=!!u.getColumnsDiff();return l||c},i=this._rowDefs.reduce(n,!1);i&&this._forceRenderDataRows();let a=this._headerRowDefs.reduce(n,!1);a&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(n,!1);return o&&this._forceRenderFooterRows(),i||a||o}_switchDataSource(n){this._data=[],Mc(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),n||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=n}_observeRenderChanges(){if(!this.dataSource)return;let n;Mc(this.dataSource)?n=this.dataSource.connect(this):fa(this.dataSource)?n=this.dataSource:Array.isArray(this.dataSource)&&(n=Je(this.dataSource)),this._renderChangeSubscription=n.pipe(oi(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((n,i)=>this._renderRow(this._headerRowOutlet,n,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((n,i)=>this._renderRow(this._footerRowOutlet,n,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(n,i){let a=Array.from((i==null?void 0:i.columns)||[]).map(u=>this._columnDefsByName.get(u)),o=a.map(u=>u.sticky),l=a.map(u=>u.stickyEnd);this._stickyStyler.updateStickyColumns(n,o,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(n){let i=[];for(let a=0;a<n.viewContainer.length;a++){let o=n.viewContainer.get(a);i.push(o.rootNodes[0])}return i}_getRowDefs(n,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let a=[];if(this.multiTemplateDataRows)a=this._rowDefs.filter(o=>!o.when||o.when(i,n));else{let o=this._rowDefs.find(l=>l.when&&l.when(i,n))||this._defaultRowDef;o&&a.push(o)}return a.length,a}_getEmbeddedViewArgs(n,i){let a=n.rowDef,o={$implicit:n.data};return{templateRef:a.template,context:o,index:i}}_renderRow(n,i,a,o={}){let l=n.viewContainer.createEmbeddedView(i.template,o,a);return this._renderCellTemplateForItem(i,o),l}_renderCellTemplateForItem(n,i){for(let a of this._getCellTemplates(n))La.mostRecentCellOutlet&&La.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let n=this._rowOutlet.viewContainer;for(let i=0,a=n.length;i<a;i++){let o=n.get(i).context;o.count=a,o.first=i===0,o.last=i===a-1,o.even=i%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[i].dataIndex,o.renderIndex=i):o.index=this._renderRows[i].dataIndex}}_getCellTemplates(n){return!n||!n.columns?[]:Array.from(n.columns,i=>{let a=this._columnDefsByName.get(i);return n.extractCellTemplate(a)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let n=(i,a)=>i||a.hasStickyChanged();this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let n=this._dir?this._dir.value:"ltr";this._stickyStyler=new Qle(this._isNativeHtmlTable,this.stickyCssClass,n,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:Je()).pipe(oi(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(n){return n.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let n=this._customNoDataRow||this._noDataRow;if(!n)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let a=this._noDataRowOutlet.viewContainer;if(i){let o=a.createEmbeddedView(n.templateRef),l=o.rootNodes[0];o.rootNodes.length===1&&(l==null?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(n._contentClassName))}else a.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,i,a){if(n&1&&(Qr(a,Kle,5),Qr(a,Wo,5),Qr(a,gh,5),Qr(a,ou,5),Qr(a,sq,5)),n&2){let o;Rn(o=On())&&(i._noDataRow=o.first),Rn(o=On())&&(i._contentColumnDefs=o),Rn(o=On())&&(i._contentRowDefs=o),Rn(o=On())&&(i._contentHeaderRowDefs=o),Rn(o=On())&&(i._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,i){n&2&&tn("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Xt],fixedLayout:[2,"fixedLayout","fixedLayout",Xt]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Kn([{provide:vr,useExisting:t},{provide:Wd,useClass:Fw},{provide:fh,useClass:oq},{provide:vh,useValue:null}])],ngContentSelectors:qle,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,i){n&1&&(gr(Hle),zt(0),zt(1,1),me(2,$le,1,0)(3,Gle,7,0)(4,Ule,4,0)),n&2&&(F(2),Fe(i._isServer?2:-1),F(),Fe(i._isNativeHtmlTable?3:4))},dependencies:[uq,lq,dq,cq],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
39
- `],encapsulation:2}));let e=t;return e})();function nl(e,t){return e.concat(Array.from(t))}function Sv(e,t){let r=t.toUpperCase(),n=e.viewContainer.element.nativeElement;for(;n;){let i=n.nodeType===1?n.nodeName:null;if(i===r)return n;if(i==="TABLE")break;n=n.parentNode}return null}var Jle=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[Yd]}));let e=t;return e})(),eue=[[["caption"]],[["colgroup"],["col"]],"*"],tue=["caption","colgroup, col","*"];function nue(e,t){e&1&&zt(0,2)}function rue(e,t){e&1&&(V(0,"thead",0),Gt(1,1),B(),V(2,"tbody",2),Gt(3,3)(4,4),B(),V(5,"tfoot",0),Gt(6,5),B())}function iue(e,t){e&1&&Gt(0,1)(1,3)(2,4)(3,5)}var aue=(()=>{const t=class t extends Ev{constructor(){super(...arguments);s(this,"stickyCssClass","mat-mdc-table-sticky");s(this,"needsPositionStickyOnElement",!1)}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=et(t)))(a||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,a){i&2&&tn("mdc-table-fixed-layout",a.fixedLayout)},exportAs:["matTable"],features:[Kn([{provide:Ev,useExisting:t},{provide:vr,useExisting:t},{provide:fh,useClass:oq},{provide:Wd,useClass:Fw},{provide:vh,useValue:null}]),Ke],ngContentSelectors:tue,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,a){i&1&&(gr(eue),zt(0),zt(1,1),me(2,nue,1,0)(3,rue,7,0)(4,iue,4,0)),i&2&&(F(2),Fe(a._isServer?2:-1),F(),Fe(a._isNativeHtmlTable?3:4))},dependencies:[uq,lq,dq,cq],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
40
- `],encapsulation:2}));let e=t;return e})(),oue=(()=>{const t=class t extends ph{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matCellDef",""]],features:[Kn([{provide:ph,useExisting:t}]),Ke]}));let e=t;return e})(),sue=(()=>{const t=class t extends mh{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matHeaderCellDef",""]],features:[Kn([{provide:mh,useExisting:t}]),Ke]}));let e=t;return e})(),lue=(()=>{const t=class t extends Wo{get name(){return this._name}set name(n){this._setNameInput(n)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Kn([{provide:Wo,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Ke]}));let e=t;return e})(),uue=(()=>{const t=class t extends Wle{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ke]}));let e=t;return e})(),cue=(()=>{const t=class t extends Yle{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ke]}));let e=t;return e})(),due=(()=>{const t=class t extends ou{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Xt]},features:[Kn([{provide:ou,useExisting:t}]),Ke]}));let e=t;return e})(),hue=(()=>{const t=class t extends gh{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵdir",Se({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Kn([{provide:gh,useExisting:t}]),Ke]}));let e=t;return e})(),pue=(()=>{const t=class t extends _v{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Kn([{provide:_v,useExisting:t}]),Ke],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,i){n&1&&Gt(0,0)},dependencies:[La],encapsulation:2}));let e=t;return e})(),mue=(()=>{const t=class t extends wv{};s(t,"ɵfac",(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})()),s(t,"ɵcmp",Le({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Kn([{provide:wv,useExisting:t}]),Ke],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,i){n&1&&Gt(0,0)},dependencies:[La],encapsulation:2}));let e=t;return e})(),fue=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Yt({type:t})),s(t,"ɵinj",Wt({imports:[jr,Jle,jr]}));let e=t;return e})(),gue=9007199254740991,vue=class extends uee{constructor(t=[]){super();s(this,"_data");s(this,"_renderData",new Mi([]));s(this,"_filter",new Mi(""));s(this,"_internalPageChanges",new be);s(this,"_renderChangesSubscription",null);s(this,"filteredData");s(this,"_sort");s(this,"_paginator");s(this,"sortingDataAccessor",(t,r)=>{let n=t[r];if(lw(n)){let i=Number(n);return i<gue?i:n}return n});s(this,"sortData",(t,r)=>{let n=r.active,i=r.direction;return!n||i==""?t:t.sort((a,o)=>{let l=this.sortingDataAccessor(a,n),u=this.sortingDataAccessor(o,n),c=typeof l,d=typeof u;c!==d&&(c==="number"&&(l+=""),d==="number"&&(u+=""));let p=0;return l!=null&&u!=null?l>u?p=1:l<u&&(p=-1):l!=null?p=1:u!=null&&(p=-1),p*(i=="asc"?1:-1)})});s(this,"filterPredicate",(t,r)=>{let n=r.trim().toLowerCase();return Object.values(t).some(i=>`${i}`.toLowerCase().includes(n))});this._data=new Mi(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var l;let t=this._sort?Ea(this._sort.sortChange,this._sort.initialized):Je(null),r=this._paginator?Ea(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Je(null),n=this._data,i=ol([n,this._filter]).pipe(Tt(([u])=>this._filterData(u))),a=ol([i,t]).pipe(Tt(([u])=>this._orderData(u))),o=ol([a,r]).pipe(Tt(([u])=>this._pageData(u)));(l=this._renderChangesSubscription)==null||l.unsubscribe(),this._renderChangesSubscription=o.subscribe(u=>this._renderData.next(u))}_filterData(t){return this.filteredData=this.filter==null||this.filter===""?t:t.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;let r=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(r,r+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=t,r.pageIndex>0)){let n=Math.ceil(r.length/r.pageSize)-1||0,i=Math.min(r.pageIndex,n);i!==r.pageIndex&&(r.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}},bue=["*"],yue=(e,t,r,n,i)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:i});function _ue(e,t){e&1&&zt(0)}function wue(e,t){if(e&1&&(V(0,"div",0),me(1,_ue,1,0),B()),e&2){let r=le(),n=Lf(0),i=Lf(1);Ce("ngClass",_K(5,yue,n==="custom-content",n==="circle",i==="progress",i==="progress-dark",i==="pulse"))("ngStyle",r.styles()),cn("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),F(),Fe(n==="custom-content"?1:-1)}}var hq=new J("ngx-skeleton-loader.config"),pq=(()=>{var t;const r=class r{constructor(){Pm(this,t);var i,a,o,l,u,c;Lm(this,t,S(hq,{optional:!0})),this.count=Be(((i=Dr(this,t))==null?void 0:i.count)||1,{transform:w_}),this.loadingText=Be(((a=Dr(this,t))==null?void 0:a.loadingText)||"Loading..."),this.appearance=Be(((o=Dr(this,t))==null?void 0:o.appearance)||"line"),this.animation=Be(((l=Dr(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Be(((u=Dr(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=Be(((c=Dr(this,t))==null?void 0:c.theme)||null),this.items=Ti(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&FK(),[...Array(d)].map((p,v)=>v)}),this.styles=Ti(()=>{var p,v,g;let d=this.theme();return(v=(p=Dr(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?ce(ce({},(g=Dr(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,r.ɵfac=function(i){return new(i||r)},r.ɵcmp=Le({type:r,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:bue,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(i,a){i&1&&(gr(),m_(0)(1),Wa(2,wue,2,11,"div",0,Op)),i&2&&(Pf(a.appearance()),F(),Pf(a.animation()),F(),Ya(a.items()))},dependencies:[Fp,$Q],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=r;return e})(),mq=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:hq,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=Yt({type:t}),t.ɵinj=Wt({imports:[N_]});let e=t;return e})();function xue(e,t){if(e&1){let r=Hr();V(0,"a",1),kn("click",function(n){wn(r);let i=le();return xn(i.onDownloadClick(n))}),We(1,"mat-icon",2),B()}}var Eue=(()=>{const t=class t{constructor(){this.translateService=S(Qn),this.leafletService=S(R1),this.item=Be(),this.identifierType=wa}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translateService.currentLang,this.item().medication.identifier.value).pipe(sn(1)).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-leaflet-download"]],inputs:{item:[1,"item"]},decls:1,vars:1,consts:[["mat-button","","target","_blank"],["mat-button","","target","_blank",3,"click"],["fontIcon","menu_book"]],template:function(n,i){n&1&&me(0,xue,2,0,"a",0),n&2&&Fe(i.item().medication.identifier&&i.item().medication.identifier.type===i.identifierType.CNK?0:-1)},dependencies:[qu,Bw],encapsulation:2});let e=t;return e})(),Sue=()=>["error"],kue=()=>["expandDetails"],Cue=(e,t)=>({"more-than-one-quantity":e,"negative-quantity":t}),Due=()=>({height:"47px",margin:"0px"});function Iue(e,t){e&1&&(V(0,"th",23),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.medicationName")," "))}function Tue(e,t){if(e&1&&(V(0,"div",26),ne(1),ee(2,"translateValue"),B()),e&2){let r=le().$implicit;F(),je(re(2,1,r.medication.name))}}function Rue(e,t){if(e&1&&(V(0,"div",28),ne(1),ee(2,"ingredientLabel"),B()),e&2){let r=t.$implicit;F(),ot(" ",re(2,1,r)," ")}}function Oue(e,t){if(e&1&&(V(0,"div",27)(1,"strong"),ne(2),ee(3,"translate"),B()(),Wa(4,Rue,3,3,"div",28,Rp),ee(6,"slice")),e&2){let r=le().$implicit;F(2),je(re(3,1,"deliveredMedicationsList.magisterialPreparation")),F(2),Ya(y_(6,3,r.medication.ingredients,0,2))}}function Nue(e,t){if(e&1){let r=Hr();V(0,"td",24)(1,"vidis-table-detail-button",25),h_("expandedElementChange",function(n){wn(r);let i=le();return mK(i.expandedElement,n)||(i.expandedElement=n),xn(n)}),me(2,Tue,3,3,"div",26)(3,Oue,7,7),B()()}if(e&2){let r=t.$implicit,n=le();F(),Ce("item",r),d_("expandedElement",n.expandedElement),F(),Fe(r.medication.name?2:3)}}function Mue(e,t){e&1&&(V(0,"th",29),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.deliveredOn")," "))}function Aue(e,t){if(e&1&&(V(0,"td",30),ne(1),ee(2,"date"),B()),e&2){let r=t.$implicit;F(),ot(" ",gs(2,1,r.deliveryDate," dd/MM/yyy")," ")}}function Pue(e,t){e&1&&(V(0,"th",31),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.quantity")," "))}function Lue(e,t){if(e&1&&(V(0,"td",32)(1,"span",33),ne(2),B()()),e&2){let r=t.$implicit;F(),Ce("ngClass",yK(2,Cue,(r.medication.quantity==null?null:r.medication.quantity.value)>1,(r.medication.quantity==null?null:r.medication.quantity.value)<0)),F(),ot(" ",r.medication.quantity.value," ")}}function Fue(e,t){e&1&&(V(0,"th",34),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.headers.leaflet")," "))}function jue(e,t){if(e&1&&(V(0,"td",35),We(1,"vidis-leaflet-download",36),B()),e&2){let r=t.$implicit;F(),Ce("item",r)}}function Vue(e,t){if(e&1&&(V(0,"td",37),ne(1),ee(2,"translate"),We(3,"br"),ne(4),B()),e&2){let r=t.$implicit;cn("colspan",4),F(),ot(" ",re(2,3,"error.deliveredMedication")," "),F(3),ot(" ( ",r.dguid," ) ")}}function zue(e,t){if(e&1&&(V(0,"td",38)(1,"div"),We(2,"vidis-delivered-medication-details-row",36),B()()),e&2){let r=t.$implicit,n=le();tn("mh-detail-row--expanded",r===n.expandedElement()),Ce("colSpan",n.columns.length),F(2),Ce("item",r)}}function Bue(e,t){e&1&&We(0,"tr",39)}function Hue(e,t){if(e&1&&We(0,"tr",40),e&2){let r=le();Ce("hidden",r.isLoading())}}function que(e,t){e&1&&We(0,"tr",41)}function $ue(e,t){e&1&&We(0,"tr",42)}function Gue(e,t){e&1&&We(0,"ngx-skeleton-loader",21),e&2&&Ce("count",3)("theme",Vo(2,Due))}function Uue(e,t){e&1&&(V(0,"p",22),ne(1),ee(2,"translate"),B()),e&2&&(F(),je(re(2,1,"deliveredMedicationsList.noContent")))}var Zue=(()=>{const t=class t{set sort(n){this.dataSource.sort=n,this.dataSource.sortingDataAccessor=(i,a)=>this.getSortingAccessor(i,a)}constructor(){this.translateService=S(Qn),this.data=Be(),this.isLoading=Be(),this.isProfessional=Be.required(),this.expandedElement=Mo(null),this.dataSource=new vue,this.columns=["medicationName","deliveryDate","quantity","leaflet"],this.canDisplayDeliveredMedication=(n,i)=>ch(i),this.canNotDisplayDeliveredMedication=(n,i)=>!ch(i),KK(()=>{var n;return this.dataSource.data=(n=this.data())==null?void 0:n.items})}getSortingAccessor(n,i){var a;switch(i){case"medicationName":return n.medication?n.medication.name?nu(n.medication.name,this.translateService.currentLang):nu(n.medication.ingredients[0].name,this.translateService.currentLang):"";case"quantity":return((a=n.medication.quantity)==null?void 0:a.value)||0;case"patientName":return T1(n.person);default:return n[i]}}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-delivered-medications-table"]],viewQuery:function(n,i){if(n&1&&ql(hh,7),n&2){let a;Rn(a=On())&&(i.sort=a.first)}},inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:24,vars:13,consts:[["mat-table","","matSort","","matSortActive","deliveryDate","matSortDirection","desc","matSortDisableClear","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","medicationName"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name",4,"matCellDef"],["matColumnDef","deliveryDate"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on",4,"matCellDef"],["matColumnDef","quantity"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity",4,"matCellDef"],["matColumnDef","leaflet"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","error"],["mat-cell","","class","error-text",4,"matCellDef"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["class","mh-detail-row","mat-row","",4,"matRowDef","matRowDefColumns"],["appearance","line",3,"count","theme"],[1,"vidis-no-content"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name"],[3,"expandedElementChange","item","expandedElement"],[1,"vidis-textOverflow","vidis-align-left"],["data-cy","delivered-medications-overview-table-magistral-preparation-label",1,"vidis-align-left"],["data-cy","delivered-medications-overview-table-ingredient",1,"vidis-textOverflow","vidis-align-left"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity"],[3,"ngClass"],["mat-header-cell",""],["mat-cell",""],[3,"item"],["mat-cell","",1,"error-text"],["mat-cell","",3,"colSpan"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row",""],["mat-row","",1,"mh-detail-row"]],template:function(n,i){n&1&&(V(0,"table",0),ee(1,"translate"),Yr(2,1),me(3,Iue,3,3,"th",2)(4,Nue,4,3,"td",3),Kr(),Yr(5,4),me(6,Mue,3,3,"th",5)(7,Aue,3,4,"td",6),Kr(),Yr(8,7),me(9,Pue,3,3,"th",8)(10,Lue,3,5,"td",9),Kr(),Yr(11,10),me(12,Fue,3,3,"th",11)(13,jue,2,1,"td",12),Kr(),Yr(14,13),me(15,Vue,5,5,"td",14),Kr(),Yr(16,15),me(17,zue,3,4,"td",16),Kr(),me(18,Bue,1,0,"tr",17)(19,Hue,1,1,"tr",18)(20,que,1,0,"tr",19)(21,$ue,1,0,"tr",20),B(),me(22,Gue,1,3,"ngx-skeleton-loader",21)(23,Uue,3,3,"p",22)),n&2&&(Ce("dataSource",i.dataSource),cn("aria-label",re(1,9,"deliveredMedicationsList.title")),F(18),Ce("matHeaderRowDef",i.columns),F(),Ce("matRowDefColumns",i.columns)("matRowDefWhen",i.canDisplayDeliveredMedication),F(),Ce("matRowDefColumns",Vo(11,Sue))("matRowDefWhen",i.canNotDisplayDeliveredMedication),F(),Ce("matRowDefColumns",Vo(12,kue)),F(),Fe(i.isLoading()?22:i.dataSource.data.length<=0?23:-1))},dependencies:[fue,aue,sue,due,lue,oue,hue,uue,cue,pue,mue,Ble,hh,zle,ym,Vp,bm,qr,mq,pq,O_,Mle,ble,Eue,Fp],styles:["table[_ngcontent-%COMP%]{width:100%}.font[_ngcontent-%COMP%]{font-size:1rem}.negative-quantity[_ngcontent-%COMP%]{background-color:#e68619}.more-than-one-quantity[_ngcontent-%COMP%], .different-patient-name[_ngcontent-%COMP%]{font-weight:bolder}",".vidis-textOverflow[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;text-overflow:ellipsis}.vidis-align-left[_ngcontent-%COMP%]{text-align:left}.vidis-no-content[_ngcontent-%COMP%]{font-style:italic;padding:0 16px}"],changeDetection:0});let e=t;return e})(),Wue=["*"],Yue=new J("MAT_CARD_CONFIG"),Kue=(()=>{const t=class t{constructor(){s(this,"appearance");let n=S(Yue,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Le({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,i){n&2&&tn("mat-mdc-card-outlined",i.appearance==="outlined")("mdc-card--outlined",i.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Wue,decls:1,vars:0,template:function(n,i){n&1&&(gr(),zt(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}
41
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Que=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Xue=e=>({"negative-quantity":e});function Jue(e,t){e&1&&(V(0,"strong",3),ne(1),ee(2,"translateValue"),B()),e&2&&(F(),je(re(2,1,t)))}function ece(e,t){if(e&1&&(V(0,"div",3),ne(1),ee(2,"ingredientLabel"),B()),e&2){let r=t.$implicit;F(),je(re(2,1,r))}}function tce(e,t){if(e&1&&(V(0,"div")(1,"strong"),ne(2),ee(3,"translate"),B()(),Wa(4,ece,3,3,"div",3,Op),ee(6,"slice")),e&2){let r=le(2);F(2),je(re(3,1,"deliveredMedicationsList.magisterialPreparation")),F(2),Ya(y_(6,3,r.item().medication.ingredients,0,2))}}function nce(e,t){if(e&1){let r=Hr();V(0,"mat-card",1),kn("click",function(){wn(r);let n=le();return xn(n.clickDetails.emit(null))}),V(1,"mat-card-content")(2,"div",2)(3,"div"),ne(4),ee(5,"date"),B()(),V(6,"div"),me(7,Jue,3,3,"strong",3)(8,tce,7,7),B(),V(9,"div",4)(10,"span",5),ne(11),B()()()()}if(e&2){let r,n,i,a=le();F(4),je(gs(5,4,a.item().deliveryDate,"dd/MM/yyyy")),F(3),Fe((r=a.item().medication.name)?7:8,r),F(3),Ce("ngClass",g_(7,Xue,((n=a.item().medication.quantity)==null?null:n.value)<0)),F(),ot(" ",(i=a.item().medication.quantity)==null?null:i.value," ")}}function rce(e,t){if(e&1&&(V(0,"mat-card")(1,"mat-card-content",6)(2,"div"),ne(3),ee(4,"translate"),B(),V(5,"div"),ne(6),B()()()),e&2){let r,n=le();F(3),je(re(4,2,"error.deliveredMedication")),F(3),ot("( ",(r=n.item())==null?null:r.dguid," )")}}var ice=(()=>{const t=class t{constructor(){this.item=Be(),this.clickDetails=Fl()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-delivered-medications-card"]],inputs:{item:[1,"item"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[["role","button"],["role","button",3,"click"],[1,"card__top"],[1,"vidis-textOverflow"],[1,"quantity"],[3,"ngClass"],[1,"error-text"]],template:function(n,i){n&1&&(me(0,nce,12,9,"mat-card",0),ee(1,"canDisplayDeliveredMedication"),me(2,rce,7,4,"mat-card")),n&2&&Fe(re(1,1,i.item())?0:2)},dependencies:[Kue,Que,Vp,xse,bm,ym,qr,O_,Fp],styles:["mat-card[_ngcontent-%COMP%]{margin-bottom:10px}.card__top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;color:#8f8f8f}.card__top[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:700}.quantity[_ngcontent-%COMP%]{display:flex;justify-content:end}.negative-quantity[_ngcontent-%COMP%]{background-color:#e68619}.patient-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}.error-text[_ngcontent-%COMP%]{color:#c41c0d}.different-patient-name[_ngcontent-%COMP%]{border:2px solid #245bb4;padding:6px 8px;border-radius:6px;display:inline-block;font-weight:700}",".vidis-textOverflow[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;text-overflow:ellipsis}.vidis-align-left[_ngcontent-%COMP%]{text-align:left}.vidis-no-content[_ngcontent-%COMP%]{font-style:italic;padding:0 16px}"]});let e=t;return e})(),ace=()=>({sortProperty:"deliveryDate",isAscending:!1}),oce=()=>({height:"47px",margin:"0px"});function sce(e,t){if(e&1){let r=Hr();V(0,"vidis-delivered-medications-card",1),kn("clickDetails",function(){let n=wn(r).$implicit,i=le(2);return xn(i.clickDetails.emit(n.dguid))}),B()}if(e&2){let r=t.$implicit;Ce("item",r)}}function lce(e,t){if(e&1&&(Wa(0,sce,1,1,"vidis-delivered-medications-card",0,Op),ee(2,"sortOn")),e&2){let r=le();Ya(gs(2,0,r.data().items,Vo(3,ace)))}}function uce(e,t){e&1&&We(0,"ngx-skeleton-loader",2),e&2&&Ce("count",10)("theme",Vo(2,oce))}function cce(e,t){e&1&&(V(0,"div",3),ne(1),ee(2,"translate"),B()),e&2&&(F(),ot(" ",re(2,1,"deliveredMedicationsList.noContent")," "))}function dce(e,t){if(e&1&&me(0,uce,1,3,"ngx-skeleton-loader",2)(1,cce,3,3,"div",3),e&2){let r=le();Fe(r.isLoading()?0:1)}}var hce=(()=>{const t=class t{constructor(){this.data=Be(),this.isLoading=Be(),this.isProfessional=Be.required(),this.clickDetails=Fl()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Le({type:t,selectors:[["vidis-delivered-medications-mobile"]],inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},outputs:{clickDetails:"clickDetails"},decls:2,vars:1,consts:[[3,"item"],[3,"clickDetails","item"],["appearance","line",3,"count","theme"],["data-cy","no-deliverd-medications",1,"no-deliverd-medications"]],template:function(n,i){if(n&1&&me(0,lce,3,4)(1,dce,2,1),n&2){let a;Fe(((a=i.data())==null||a.items==null?null:a.items.length)>0?0:1)}},dependencies:[ice,qr,Nse,mq,pq],styles:[".delivered-medications-title[_ngcontent-%COMP%]{font-size:1.467rem;font-weight:700;margin:0!important}.no-deliverd-medications[_ngcontent-%COMP%]{font-size:1.3rem;text-align:center;padding:3rem 0}"],changeDetection:0});let e=t;return e})();function pce(e,t){e&1&&(V(0,"div"),ne(1,"Component not properly initialized!"),B())}function mce(e,t){if(e&1&&We(0,"vidis-status-message",0),e&2){let r=le();Ce("error",r.error)}}function fce(e,t){if(e&1&&(We(0,"p",7),ee(1,"translate"),ee(2,"sanitize"),We(3,"p",8),ee(4,"translate"),ee(5,"sanitize")),e&2){let r=le(4);Ce("innerHTML",re(2,4,re(1,2,r.prefix+".part3")),Vl),F(3),Ce("innerHTML",re(5,8,re(4,6,r.prefix+".part4")),Vl)}}function gce(e,t){if(e&1){let r=Hr();V(0,"div",1)(1,"mh-alert",2),ee(2,"translate"),We(3,"p",3),ee(4,"translate"),ee(5,"sanitize"),We(6,"p",4),ee(7,"translate"),ee(8,"sanitize"),me(9,fce,6,10),B()(),We(10,"vidis-delivered-medications-table",5),V(11,"vidis-delivered-medications-mobile",6),kn("clickDetails",function(n){wn(r);let i=le(3);return xn(i.onSelectMedication.emit(n))}),B()}if(e&2){let r=le(),n=le(2);F(),Ce("startExpanded",!n.isMobile())("alertTitle",re(2,11,"deliveredMedicationsDisclaimer.header")),F(2),Ce("innerHTML",re(5,15,re(4,13,n.prefix+".part1")),Vl),F(3),Ce("innerHTML",re(8,19,re(7,17,n.prefix+".part2")),Vl),F(3),Fe(n.professional?-1:9),F(),Ce("isLoading",r.status===n.loadingStatus.LOADING)("data",r==null?null:r.data)("isProfessional",n.professional),F(),Ce("isLoading",r.status===n.loadingStatus.LOADING)("data",r==null?null:r.data)("isProfessional",n.professional)}}function vce(e,t){if(e&1&&me(0,mce,1,1,"vidis-status-message",0)(1,gce,12,21),e&2){let r=le(2);Fe(t.status===r.loadingStatus.ERROR?0:1)}}function bce(e,t){if(e&1&&(me(0,vce,2,1),ee(1,"async")),e&2){let r,n=le();Fe((r=re(1,1,n.deliveredMedicationsState$))?0:-1,r)}}var yce=(()=>{const t=class t extends mle{constructor(){super(...arguments),this.onSelectMedication=new Rt,this.isMobile=oae(),this.loadingStatus=xa}fetchData(n){return It(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(n)})}injectService(){this.deliveredMedicationsService=this.injector.get(sv),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$,this.deliveredMedicationsState$.subscribe(n=>{n.status===this.loadingStatus.ERROR&&this.checkError(n.error)})}get prefix(){return"deliveredMedicationsDisclaimer."+(this.professional?"professional":"patient")}};t.ɵfac=(()=>{let n;return function(i){return(n||(n=et(t)))(i||t)}})(),t.ɵcmp=Le({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[Kn([sv,K9,Q9,kse]),Ke],decls:2,vars:1,consts:[[3,"error"],[1,"disclaimer"],["dismissMode","expandable",3,"startExpanded","alertTitle"],["data-cy","delivered-medications-disclaimer-body-patient-part1",3,"innerHTML"],["data-cy","delivered-medications-disclaimer-body-patient-part2",3,"innerHTML"],[3,"isLoading","data","isProfessional"],[3,"clickDetails","isLoading","data","isProfessional"],["data-cy","delivered-medications-disclaimer-body-patient-part3",3,"innerHTML"],["data-cy","delivered-medications-disclaimer-body-patient-part4",3,"innerHTML"]],template:function(n,i){n&1&&me(0,pce,2,0,"div")(1,bce,2,3),n&2&&Fe(i.isCorrectlySetup()?1:0)},dependencies:[Zue,hce,KQ,gle,Y9,qr,Ale],styles:[".disclaimer[_ngcontent-%COMP%]{padding-bottom:16px}@media only screen and (max-width: 960px){vidis-delivered-medications-table[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 960px){vidis-delivered-medications-mobile[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})();bX({providers:[Woe]}).then(e=>{let t=fQ(yce,{injector:e.injector});customElements.define("vidis-delivered-medication-list",t)}).catch(e=>console.error(e));