(self.webpackChunkpss_themes=self.webpackChunkpss_themes||[]).push([[179],{6290:(ie,Q,o)=>{"use strict";function c(_){return _}o.d(Q,{J:()=>c})},6156:function(ie){ie.exports=function(){"use strict";var Q=function(){return Q=Object.assign||function(I){for(var L,k=1,z=arguments.length;k<z;k++)for(var ce in L=arguments[k])Object.prototype.hasOwnProperty.call(L,ce)&&(I[ce]=L[ce]);return I},Q.apply(this,arguments)};function o(v){var I="function"==typeof Symbol&&Symbol.iterator,L=I&&v[I],k=0;if(L)return L.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&k>=v.length&&(v=void 0),{value:v&&v[k++],done:!v}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(v,I){var L="function"==typeof Symbol&&v[Symbol.iterator];if(!L)return v;var z,ke,k=L.call(v),ce=[];try{for(;(void 0===I||I-- >0)&&!(z=k.next()).done;)ce.push(z.value)}catch(qe){ke={error:qe}}finally{try{z&&!z.done&&(L=k.return)&&L.call(k)}finally{if(ke)throw ke.error}}return ce}function _(v,I,L){if(L||2===arguments.length)for(var ce,k=0,z=I.length;k<z;k++)(ce||!(k in I))&&(ce||(ce=Array.prototype.slice.call(I,0,k)),ce[k]=I[k]);return v.concat(ce||Array.prototype.slice.call(I))}"function"==typeof SuppressedError&&SuppressedError;class w extends Error{constructor(I,L,k){super(I),this.token=L,this.type=k||"error"}}const C=v=>v<4?"short":4===v?"long":"narrow",E=v=>v%2==0?"2-digit":"numeric";function p(v,I){switch(v.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void I(`${v.desc} is not supported with width ${v.width}`)}}function h(v,I){const{char:L,desc:k,width:z}=v;if("d"===L)return E(z);I(`${k} is not supported`)}function F(v,I){const{char:L,desc:k,width:z}=v;return("c"===L||"e"===L)&&z<3&&I(`Numeric value is not supported for ${k}; falling back to weekday:short`,w.WARNING),C(z)}function $(v,I){const{char:L,desc:k,width:z}=v;switch(L){case"v":case"z":return 4===z?"long":"short";case"V":return 4===z?"long":void I(`${k} is not supported with width ${z}`);case"X":return void I(`${k} is not supported`)}return"short"}function x(v,I){switch(v.field){case"era":return{era:C(v.width)};case"year":return function g(v,I){switch(v.char){case"y":return{year:E(v.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return I(`${v.desc} is not supported; falling back to year:numeric`,w.WARNING),{year:"numeric"}}}(v,I);case"month":return{month:p(v,I)};case"day":return{day:h(v,I)};case"weekday":return{weekday:F(v,I)};case"period":return;case"hour":return function T(v){const I=E(v.width);let L;switch(v.char){case"h":L="h12";break;case"H":L="h23";break;case"k":L="h24";break;case"K":L="h11"}return L?{hour:I,hourCycle:L}:{hour:I}}(v);case"min":return{minute:E(v.width)};case"sec":return{second:E(v.width)};case"tz":return{timeZoneName:$(v,I)};case"quarter":case"week":case"sec-frac":case"ms":I(`${v.desc} is not supported`)}}function J(v){let I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z=>{throw z};const L={},k=[];for(const z of v){const{error:ce,field:ke,str:qe}=z;if(ce){const Ut=new w(ce.message,z);Ut.stack=ce.stack,I(Ut)}qe&&I(new w(`Ignoring string part: ${qe}`,z,w.WARNING)),ke&&(-1===k.indexOf(ke)?k.push(ke):I(new w(`Duplicate ${ke} token`,z)));const mt=x(z,(Ut,Nn)=>I(new w(Ut,z,Nn)));mt&&Object.assign(L,mt)}return L}const te={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"}},U=v=>v>="A"&&v<="Z"||v>="a"&&v<="z";function le(v,I){const L=v[I];if(!L)return null;if(U(L))return function ee(v,I){const L=v[I];let k=1;for(;v[++I]===L;)++k;const z=te[L];return z?{char:L,field:z.field,desc:z.desc,width:k}:{char:L,error:new Error(`The letter ${L} is not a valid field identifier`),width:k}}(v,I);if("'"===L)return function de(v,I){let L=v[++I],k=2;if("'"===L)return{char:"'",str:L,width:k};for(;;){const z=v[++I];if(++k,void 0===z)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${L||v}`),str:L,width:k};if("'"===z){if("'"!==v[++I])return{char:"'",str:L,width:k};++k}L+=z}}(v,I);let k=L,z=1;for(;;){const ce=v[++I];if(!ce||U(ce)||"'"===ce)return{char:L,str:k,width:z};k+=ce,z+=1}}function we(v){const I=[];let L=0;for(;;){const k=le(v,L);if(!k)return I;I.push(k),L+=k.width}}class se extends Error{constructor(I,L){super(L),this.code=I}}class oe extends se{constructor(I,L){super("BAD_OPTION",`Unknown ${I} option: ${L}`),this.stem=I,this.option=L}}class fe extends se{constructor(I){super("BAD_STEM",`Unknown stem: ${I}`),this.stem=I}}class he extends se{constructor(I,L){super("MASKED_VALUE",`Value for ${I} is set multiple times`),this.type=I,this.prev=L}}class _e extends se{constructor(I){super("MISSING_OPTION",`Required option missing for ${I}`),this.stem=I}}class re extends se{constructor(I,L){super("BAD_PATTERN",L),this.char=I}}class ne extends se{constructor(I,L,k){super("TOO_MANY_OPTIONS",`Token ${I} only supports ${k>1?`${k} options`:"one option"} (got ${L.length})`),this.stem=I,this.options=L}}class ve extends se{constructor(I,L){super("UNSUPPORTED",`The stem ${I} is not supported`),this.stem=I,L&&(this.message+=` with value ${L}`,this.source=L)}}function je(v,I){let{numberingSystem:L}=I;return Array.isArray(v)||(v=[v]),L?v.map(k=>{const z=-1===k.indexOf("-u-")?"u-nu":"nu";return`${k}-${z}-${L}`}).concat(v):v}function Le(v){let{scale:I,unit:L}=v,k="number"==typeof I&&I>=0?I:1;return L&&"percent"===L.style&&(k*=.01),k}function Ee(v,I){const{decimal:L,group:k,integerWidth:z,notation:ce,precision:ke,roundingMode:qe,sign:mt,unit:Ut,unitPer:Nn,unitWidth:Zn}=v,rr=(Zr,gi)=>{I&&I(new ve(Zr,gi))},dn={};if(Ut)switch(Ut.style){case"base-unit":dn.style="decimal";break;case"currency":dn.style="currency",dn.currency=Ut.currency;break;case"measure-unit":dn.style="unit",dn.unit=Ut.unit.replace(/.*-/,""),Nn&&(dn.unit+="-per-"+Nn.replace(/.*-/,""));break;case"percent":dn.style="percent";break;case"permille":rr("permille")}switch(Zn){case"unit-width-full-name":dn.currencyDisplay="name",dn.unitDisplay="long";break;case"unit-width-hidden":rr(Zn);break;case"unit-width-iso-code":dn.currencyDisplay="code";break;case"unit-width-narrow":dn.currencyDisplay="narrowSymbol",dn.unitDisplay="narrow";break;case"unit-width-short":dn.currencyDisplay="symbol",dn.unitDisplay="short"}switch(k){case"group-off":dn.useGrouping=!1;break;case"group-auto":dn.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":rr(k),dn.useGrouping=!0}if(ke)switch(ke.style){case"precision-fraction":{const{minFraction:Zr,maxFraction:gi,minSignificant:Ri,maxSignificant:Es,source:yo}=ke;"number"==typeof Zr&&(dn.minimumFractionDigits=Zr,"number"==typeof Ri&&rr("precision-fraction",yo)),"number"==typeof gi&&(dn.maximumFractionDigits=gi),"number"==typeof Ri&&(dn.minimumSignificantDigits=Ri),"number"==typeof Es&&(dn.maximumSignificantDigits=Es);break}case"precision-integer":dn.maximumFractionDigits=0;break;case"precision-unlimited":dn.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":dn.trailingZeroDisplay=ke.trailingZero;break;case"precision-currency-cash":rr(ke.style)}if(ce)switch(ce.style){case"compact-short":dn.notation="compact",dn.compactDisplay="short";break;case"compact-long":dn.notation="compact",dn.compactDisplay="long";break;case"notation-simple":dn.notation="standard";break;case"scientific":case"engineering":{const{expDigits:Zr,expSign:gi,source:Ri,style:Es}=ce;dn.notation=Es,(Zr&&Zr>1||gi&&"sign-auto"!==gi)&&rr(Es,Ri);break}}if(z){const{min:Zr,max:gi,source:Ri}=z;Zr>0&&(dn.minimumIntegerDigits=Zr),Number(gi)>0&&(3!==gi||"engineering"!==dn.notation&&"scientific"!==dn.notation?rr("integer-width",Ri):dn.notation="engineering")}switch(mt){case"sign-auto":dn.signDisplay="auto";break;case"sign-always":dn.signDisplay="always";break;case"sign-except-zero":dn.signDisplay="exceptZero";break;case"sign-never":dn.signDisplay="never";break;case"sign-accounting":dn.currencySign="accounting";break;case"sign-accounting-always":dn.currencySign="accounting",dn.signDisplay="always";break;case"sign-accounting-except-zero":dn.currencySign="accounting",dn.signDisplay="exceptZero"}return"decimal-always"===L&&rr(L),qe&&rr(qe),dn}function be(v,I,L){const k=v[I];switch(k){case"%":return{char:"%",style:"percent",width:1};case"\u2030":return{char:"%",style:"permille",width:1};case"\xa4":{let z=1;for(;"\xa4"===v[++I];)++z;switch(z){case 1:return{char:k,currency:"default",width:z};case 2:return{char:k,currency:"iso-code",width:z};case 3:return{char:k,currency:"full-name",width:z};case 5:return{char:k,currency:"narrow",width:z};default:return L(new re("\xa4",`Invalid number (${z}) of \xa4 chars in pattern`)),null}}case"*":{const z=v[I+1];if(z)return{char:k,pad:z,width:2};break}case"+":case"-":return{char:k,width:1};case"'":{let z=v[++I],ce=2;if("'"===z)return{char:k,str:z,width:ce};for(;;){const ke=v[++I];if(++ce,void 0===ke)return L(new re("'",`Unterminated quoted literal in pattern: ${z}`)),{char:k,str:z,width:ce};if("'"===ke){if("'"!==v[++I])return{char:k,str:z,width:ce};++ce}z+=ke}}}return null}const xe=v=>v>="0"&&v<="9";function Ve(v,I){const L=v[I];if(xe(L)){let k=L;for(;;){const z=v[++I];if(!xe(z))return{char:"0",digits:k,width:k.length};k+=z}}switch(L){case"#":{let k=1;for(;"#"===v[++I];)++k;return{char:L,width:k}}case"@":{let k=1;for(;"@"===v[++I];)++k;let z=k;for(I-=1;"#"===v[++I];)++z;return{char:L,min:k,width:z}}case"E":{const k="+"===v[I+1];k&&++I;let z=0;for(;"0"===v[++I];)++z;if(z)return{char:L,expDigits:z,plus:k,width:(k?2:1)+z};break}case".":case",":return{char:L,width:1}}return null}function Ue(v,I,L){let k;var Ut;(Ut=k||(k={}))[Ut.Prefix=0]="Prefix",Ut[Ut.Number=1]="Number",Ut[Ut.Suffix=2]="Suffix";const z=[],ce=[],ke=[];let qe=k.Prefix,mt="";for(;I<v.length;){const Ut=v[I];if(";"===Ut){I+=1;break}switch(qe){case k.Prefix:{const Nn=be(v,I,L);if(Nn)mt&&(z.push({char:"'",str:mt,width:mt.length}),mt=""),z.push(Nn),I+=Nn.width;else{const Zn=Ve(v,I);Zn?(mt&&(z.push({char:"'",str:mt,width:mt.length}),mt=""),qe=k.Number,ce.push(Zn),I+=Zn.width):(mt+=Ut,I+=1)}break}case k.Number:{const Nn=Ve(v,I);Nn?(ce.push(Nn),I+=Nn.width):qe=k.Suffix;break}case k.Suffix:{const Nn=be(v,I,L);Nn?(mt&&(ke.push({char:"'",str:mt,width:mt.length}),mt=""),ke.push(Nn),I+=Nn.width):(mt+=Ut,I+=1);break}}}return mt&&ke.push({char:"'",str:mt,width:mt.length}),{pattern:{prefix:z,number:ce,suffix:ke},pos:I}}function dt(v,I,L,k,z){let ce=!1,ke="";for(const qe of v)switch(qe.char){case"%":I.unit={style:qe.style},z?ce=!0:ke="";break;case"\xa4":if(!L){k(new re("\xa4","The \xa4 pattern requires a currency"));break}switch(I.unit={style:"currency",currency:L},qe.currency){case"iso-code":I.unitWidth="unit-width-iso-code";break;case"full-name":I.unitWidth="unit-width-full-name";break;case"narrow":I.unitWidth="unit-width-narrow"}z?ce=!0:ke="";break;case"*":break;case"+":ce||(ke+="+");break;case"'":ce||(ke+=qe.str)}return ke}function pt(v,I){let L=!1,k="";for(const z of v)switch(z.char){case"%":case"\xa4":I?L=!0:k="";break;case"-":L||(k+="-");break;case"'":L||(k+=z.str)}return k}function ln(v,I){let L=arguments.length>2&&void 0!==arguments[2]?arguments[2]:mt=>{throw mt};const{tokens:k,negative:z}=function st(v,I){const{pattern:L,pos:k}=Ue(v,0,I);if(k<v.length){const{pattern:z}=Ue(v,k,I);return{tokens:L,negative:z}}return{tokens:L}}(v,L),ce=function Xe(v,I){const L={};let k=!1,z=!1,ce=0,ke="",qe=-1,mt="",Ut=0;for(let Zn=0;Zn<v.length;++Zn){const rr=v[Zn];switch(rr.char){case"#":-1===qe?(ke&&I(new re("#","Pattern has # after integer digits")),ce+=rr.width):Ut+=rr.width;break;case"0":-1===qe?ke+=rr.digits:(Ut&&I(new re("0","Pattern has digits after # in fraction")),mt+=rr.digits);break;case"@":L.precision&&I(new he("precision",L.precision)),L.precision={style:"precision-fraction",minSignificant:rr.min,maxSignificant:rr.width};break;case",":k=!0;break;case".":1===qe&&I(new re(".","Pattern has more than one decimal separator")),qe=Zn;break;case"E":z&&I(new he("exponent",L.notation)),k&&I(new re("E","Exponential patterns may not contain grouping separators")),L.notation={style:"scientific"},rr.expDigits>1&&(L.notation.expDigits=rr.expDigits),rr.plus&&(L.notation.expSign="sign-always"),z=!0}}k?L.group="group-auto":ce+ke.length>3&&(L.group="group-off");const Nn=+`${ke||"0"}.${mt}`;if(Nn&&(L.precision={style:"precision-increment",increment:Nn}),z)if((!L.precision||Nn)&&(L.integerWidth=ce?{min:1,max:ce+ke.length}:{min:Math.max(1,ke.length)}),L.precision)Nn||(L.integerWidth={min:1,max:1});else{const Zn=ke.length+mt.length;-1===qe?Zn>0&&(L.precision={style:"precision-fraction",maxSignificant:Zn}):(L.precision={style:"precision-fraction",maxSignificant:Math.max(1,Zn)+Ut},Zn>1&&(L.precision.minSignificant=Zn))}else ke.length>1&&(L.integerWidth={min:ke.length}),!L.precision&&(mt.length||Ut)&&(L.precision={style:"precision-fraction",minFraction:mt.length,maxFraction:mt.length+Ut});return L}(k.number,L),ke=dt(k.prefix,ce,I,L,!0),qe=dt(k.suffix,ce,I,L,!1);if(z){const mt=pt(z.prefix,!0),Ut=pt(z.suffix,!1);ce.affix={pos:[ke,qe],neg:[mt,Ut]},ce.sign="sign-never"}else(ke||qe)&&(ce.affix={pos:[ke,qe]});return ce}function bn(v){const[L]=v.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(L)}const an={"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},$n={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function Bn(v,I,L){if(function lr(v){return v in an}(v)){const k=an[v];if(I.length>k){if(0===k)for(const z of I)L(new oe(v,z));else L(new ne(v,I,k));return!1}if(function fr(v){return v in $n}(v)&&I.length<$n[v])return L(new _e(v)),!1}return!0}function Ar(v,I){const k=v&&v.match("fraction"===I?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/);if(k){const z=k[1].length;switch(k[2].charAt(0)){case"":return{min:z,max:z};case"+":return{min:z,max:null};case"#":return{min:z,max:z+k[2].length}}}return null}class ni{constructor(I){this.skeleton={},this.onError=I}badOption(I,L){this.onError(new oe(I,L))}assertEmpty(I){const L=this.skeleton[I];L&&this.onError(new he(I,L))}parseToken(I,L){if(!Bn(I,L,this.onError))return;const k=L[0],z=this.skeleton;switch(I){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),z.notation={style:I};break;case"scientific":case"engineering":{let ke,ce=null;for(const mt of L)switch(mt){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":ke=mt;break;default:/^\+e+$/.test(mt)?ce=mt.length-1:this.badOption(I,mt)}this.assertEmpty("notation");const qe=L.join("/");z.notation=ce&&ke?{style:I,source:qe,expDigits:ce,expSign:ke}:ce?{style:I,source:qe,expDigits:ce}:ke?{style:I,source:qe,expSign:ke}:{style:I,source:qe};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),z.unit={style:I};break;case"currency":/^[A-Z]{3}$/.test(k)?(this.assertEmpty("unit"),z.unit={style:I,currency:k}):this.badOption(I,k);break;case"measure-unit":bn(k)?(this.assertEmpty("unit"),z.unit={style:I,unit:k}):this.badOption(I,k);break;case"per-measure-unit":bn(k)?(this.assertEmpty("unitPer"),z.unitPer=k):this.badOption(I,k);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"),z.unitWidth=I;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),z.precision={style:I};break;case"precision-currency-standard":this.assertEmpty("precision"),z.precision="w"===k?{style:I,trailingZero:"stripIfInteger"}:{style:I};break;case"precision-increment":{const ce=Number(k);ce>0?(this.assertEmpty("precision"),z.precision={style:I,increment:ce}):this.badOption(I,k);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"),z.roundingMode=I;break;case"integer-width":if(/^\+0*$/.test(k))this.assertEmpty("integerWidth"),z.integerWidth={source:k,min:k.length-1};else{const ce=k.match(/^#*(0*)$/);ce?(this.assertEmpty("integerWidth"),z.integerWidth={source:k,min:ce[1].length,max:ce[0].length}):this.badOption(I,k)}break;case"scale":{const ce=Number(k);ce>0?(this.assertEmpty("scale"),z.scale=ce):this.badOption(I,k);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),z.group=I;break;case"latin":this.assertEmpty("numberingSystem"),z.numberingSystem="latn";break;case"numbering-system":!function rn(v){return-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(v)}(k)?this.badOption(I,k):(this.assertEmpty("numberingSystem"),z.numberingSystem=k);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"),z.sign=I;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),z.decimal=I;break;default:{const ce=function Ur(v,I,L){const k=Ar(v,"fraction");if(k){I.length>1&&L(new ne(v,I,1));const ce={style:"precision-fraction",source:v,minFraction:k.min};null!=k.max&&(ce.maxFraction=k.max);const ke=I[0],qe=Ar(ke,"significant");return qe?(ce.source=`${v}/${ke}`,ce.minSignificant=qe.min,null!=qe.max&&(ce.maxSignificant=qe.max)):ke&&L(new oe(v,ke)),ce}const z=Ar(v,"significant");if(z){for(const ke of I)L(new oe(v,ke));const ce={style:"precision-fraction",source:v,minSignificant:z.min};return null!=z.max&&(ce.maxSignificant=z.max),ce}return null}(I,L,this.onError);ce?(this.assertEmpty("precision"),z.precision=ce):this.onError(new fe(I))}}}}function Xr(v){let I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z=>{throw z};const L=[];for(const z of v.split(" "))if(z){const ce=z.split("/"),ke=ce.shift()||"";L.push({stem:ke,options:ce})}const k=new ni(I);for(const{stem:z,options:ce}of L)k.parseToken(z,ce);return k.skeleton}function lt(v,I,L,k){"string"==typeof I&&(I=0===I.indexOf("::")?Xr(I.slice(2),k):ln(I,L,k));const z=je(v,I),ce=Ee(I,k),ke=function Se(v){const I=Le(v),{precision:L}=v;return L&&"precision-increment"===L.style?k=>function Ge(v,I){const L=+v+I/2;return L-L%+I}(k,L.increment)*I:k=>k*I}(I),qe=new Intl.NumberFormat(z,ce);if(I.affix){const[mt,Ut]=I.affix.pos,[Nn,Zn]=I.affix.neg||["",""];return rr=>{const dn=qe.format(ke(rr));return rr<0?`${Nn}${dn}${Zn}`:`${mt}${dn}${Ut}`}}return mt=>qe.format(ke(mt))}function Mt(v,I,L,k){"string"==typeof I&&(I=0===I.indexOf("::")?Xr(I.slice(2),k):ln(I,L,k));const z=je(v,I),ce=Ee(I,k),ke=function ze(v){const I=Le(v),{precision:L}=v;if(L&&"precision-increment"===L.style){let z=`x - (x % +${L.increment})`;return 1!==I&&(z=`(${z}) * ${I}`),`function(n) { var x = ${"+n + "+L.increment/2}; return ${z}; }`}return 1!==I?`function(n) { return n * ${I}; }`:null}(I),qe=["(function() {",`var opt = ${JSON.stringify(ce)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(z)}, opt);`];let mt="nf.format(value)";if(ke&&(qe.push(`var mod = ${ke};`),mt="nf.format(mod(value))"),I.affix){const[Ut,Nn]=I.affix.pos.map(Zn=>JSON.stringify(Zn));if(I.affix.neg){const[Zn,rr]=I.affix.neg.map(dn=>JSON.stringify(dn));mt=`value < 0 ? ${Zn} + ${mt} + ${rr} : ${Ut} + ${mt} + ${Nn}`}else mt=`${Ut} + ${mt} + ${Nn}`}return qe.push(`return function(value) { return ${mt}; }`),qe.join("\n  ")+"\n})()"}var Nt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kt(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var v,I,L,He={},ht={},qt={exports:{}};I=Nt,L=function(){var I=Object.prototype.hasOwnProperty,L=Object.prototype.toString,k="boolean"==typeof(new RegExp).sticky;function z(_t){return _t&&"[object RegExp]"===L.call(_t)}function ce(_t){return _t&&"object"==typeof _t&&!z(_t)&&!Array.isArray(_t)}function qe(_t){return new RegExp("|"+_t).exec("").length-1}function mt(_t){return"("+_t+")"}function Ut(_t){return _t.length?"(?:"+_t.map(function(Cn){return"(?:"+Cn+")"}).join("|")+")":"(?!)"}function Nn(_t){if("string"==typeof _t)return"(?:"+function ke(_t){return _t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}(_t)+")";if(z(_t)){if(_t.ignoreCase)throw new Error("RegExp /i flag not allowed");if(_t.global)throw new Error("RegExp /g flag is implied");if(_t.sticky)throw new Error("RegExp /y flag is implied");if(_t.multiline)throw new Error("RegExp /m flag is implied");return _t.source}throw new Error("Not a pattern: "+_t)}function Zn(_t,nn){return _t.length>nn?_t:Array(nn-_t.length+1).join(" ")+_t}function gi(_t,nn){if(ce(nn)||(nn={match:nn}),nn.include)throw new Error("Matching rules cannot also include states");var Cn={defaultType:_t,lineBreaks:!!nn.error||!!nn.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var Vn in nn)I.call(nn,Vn)&&(Cn[Vn]=nn[Vn]);if("string"==typeof Cn.type&&_t!==Cn.type)throw new Error("Type transform cannot be a string (type '"+Cn.type+"' for token '"+_t+"')");var pr=Cn.match;return Cn.match=Array.isArray(pr)?pr:pr?[pr]:[],Cn.match.sort(function(Xn,cn){return z(Xn)&&z(cn)?0:z(cn)?-1:z(Xn)?1:cn.length-Xn.length}),Cn}function Ri(_t){return Array.isArray(_t)?function Zr(_t){for(var nn=[],Cn=0;Cn<_t.length;Cn++){var Vn=_t[Cn];if(Vn.include)for(var pr=[].concat(Vn.include),Xn=0;Xn<pr.length;Xn++)nn.push({include:pr[Xn]});else{if(!Vn.type)throw new Error("Rule has no type: "+JSON.stringify(Vn));nn.push(gi(Vn.type,Vn))}}return nn}(_t):function dn(_t){for(var nn=Object.getOwnPropertyNames(_t),Cn=[],Vn=0;Vn<nn.length;Vn++){var pr=nn[Vn],cn=[].concat(_t[pr]);if("include"!==pr){var Fr=[];cn.forEach(function(qn){ce(qn)?(Fr.length&&Cn.push(gi(pr,Fr)),Cn.push(gi(pr,qn)),Fr=[]):Fr.push(qn)}),Fr.length&&Cn.push(gi(pr,Fr))}else for(var li=0;li<cn.length;li++)Cn.push({include:cn[li]})}return Cn}(_t)}var Es=gi("error",{lineBreaks:!0,shouldThrow:!0});function yo(_t,nn){for(var Cn=null,Vn=Object.create(null),pr=!0,Xn=null,cn=[],li=[],Fr=0;Fr<_t.length;Fr++)_t[Fr].fallback&&(pr=!1);for(Fr=0;Fr<_t.length;Fr++){var qn=_t[Fr];if(qn.include)throw new Error("Inheritance is not allowed in stateless lexers");if(qn.error||qn.fallback){if(Cn)throw!qn.fallback==!Cn.fallback?new Error("Multiple "+(qn.fallback?"fallback":"error")+" rules not allowed (for token '"+qn.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+qn.defaultType+"')");Cn=qn}var rs=qn.match.slice();if(pr)for(;rs.length&&"string"==typeof rs[0]&&1===rs[0].length;)Vn[rs.shift().charCodeAt(0)]=qn;if(qn.pop||qn.push||qn.next){if(!nn)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+qn.defaultType+"')");if(qn.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+qn.defaultType+"')")}if(0!==rs.length){pr=!1,cn.push(qn);for(var Go=0;Go<rs.length;Go++){var _o=rs[Go];if(z(_o))if(null===Xn)Xn=_o.unicode;else if(Xn!==_o.unicode&&!1===qn.fallback)throw new Error("If one rule is /u then all must be")}var La=Ut(rs.map(Nn)),Rs=new RegExp(La);if(Rs.test(""))throw new Error("RegExp matches empty string: "+Rs);if(qe(La)>0)throw new Error("RegExp has capture groups: "+Rs+"\nUse (?: \u2026 ) instead");if(!qn.lineBreaks&&Rs.test("\n"))throw new Error("Rule should declare lineBreaks: "+Rs);li.push(mt(La))}}var Fa=Cn&&Cn.fallback,cc=k&&!Fa?"ym":"gm",$c=k||Fa?"":"|";return!0===Xn&&(cc+="u"),{regexp:new RegExp(Ut(li)+$c,cc),groups:cn,fast:Vn,error:Cn||Es}}function Ra(_t,nn,Cn){var Vn=_t&&(_t.push||_t.next);if(Vn&&!Cn[Vn])throw new Error("Missing state '"+Vn+"' (in token '"+_t.defaultType+"' of state '"+nn+"')");if(_t&&_t.pop&&1!=+_t.pop)throw new Error("pop must be 1 (in token '"+_t.defaultType+"' of state '"+nn+"')")}var xi=function(_t,nn){this.startState=nn,this.states=_t,this.buffer="",this.stack=[],this.reset()};xi.prototype.reset=function(_t,nn){return this.buffer=_t||"",this.index=0,this.line=nn?nn.line:1,this.col=nn?nn.col:1,this.queuedToken=nn?nn.queuedToken:null,this.queuedText=nn?nn.queuedText:"",this.queuedThrow=nn?nn.queuedThrow:null,this.setState(nn?nn.state:this.startState),this.stack=nn&&nn.stack?nn.stack.slice():[],this},xi.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}},xi.prototype.setState=function(_t){if(_t&&this.state!==_t){this.state=_t;var nn=this.states[_t];this.groups=nn.groups,this.error=nn.error,this.re=nn.regexp,this.fast=nn.fast}},xi.prototype.popState=function(){this.setState(this.stack.pop())},xi.prototype.pushState=function(_t){this.stack.push(this.state),this.setState(_t)};var wu=k?function(_t,nn){return _t.exec(nn)}:function(_t,nn){var Cn=_t.exec(nn);return 0===Cn[0].length?null:Cn};function Su(){return this.value}if(xi.prototype._getGroup=function(_t){for(var nn=this.groups.length,Cn=0;Cn<nn;Cn++)if(void 0!==_t[Cn+1])return this.groups[Cn];throw new Error("Cannot find token type for matched text")},xi.prototype.next=function(){var _t=this.index;if(this.queuedGroup){var nn=this._token(this.queuedGroup,this.queuedText,_t);return this.queuedGroup=null,this.queuedText="",nn}var Cn=this.buffer;if(_t!==Cn.length){if(cn=this.fast[Cn.charCodeAt(_t)])return this._token(cn,Cn.charAt(_t),_t);var Vn=this.re;Vn.lastIndex=_t;var pr=wu(Vn,Cn),Xn=this.error;if(null==pr)return this._token(Xn,Cn.slice(_t,Cn.length),_t);var cn=this._getGroup(pr),li=pr[0];return Xn.fallback&&pr.index!==_t?(this.queuedGroup=cn,this.queuedText=li,this._token(Xn,Cn.slice(_t,pr.index),_t)):this._token(cn,li,_t)}},xi.prototype._token=function(_t,nn,Cn){var Vn=0;if(_t.lineBreaks){var pr=/\n/g,Xn=1;if("\n"===nn)Vn=1;else for(;pr.exec(nn);)Vn++,Xn=pr.lastIndex}var cn={type:"function"==typeof _t.type&&_t.type(nn)||_t.defaultType,value:"function"==typeof _t.value?_t.value(nn):nn,text:nn,toString:Su,offset:Cn,lineBreaks:Vn,line:this.line,col:this.col},li=nn.length;if(this.index+=li,this.line+=Vn,0!==Vn?this.col=li-Xn+1:this.col+=li,_t.shouldThrow)throw new Error(this.formatError(cn,"invalid syntax"));return _t.pop?this.popState():_t.push?this.pushState(_t.push):_t.next&&this.setState(_t.next),cn},typeof Symbol<"u"&&Symbol.iterator){var Na=function(_t){this.lexer=_t};Na.prototype.next=function(){var _t=this.lexer.next();return{value:_t,done:!_t}},Na.prototype[Symbol.iterator]=function(){return this},xi.prototype[Symbol.iterator]=function(){return new Na(this)}}return xi.prototype.formatError=function(_t,nn){if(null==_t){var Cn=this.buffer.slice(this.index);_t={text:Cn,offset:this.index,lineBreaks:-1===Cn.indexOf("\n")?0:1,line:this.line,col:this.col}}var pr=Math.max(_t.line-2,1),cn=String(_t.line+2).length,li=function rr(_t,nn){for(var Cn=_t.length,Vn=0;;){var pr=_t.lastIndexOf("\n",Cn-1);if(-1===pr||(Cn=pr,++Vn===nn)||0===Cn)break}return _t.substring(Vn<nn?0:Cn+1).split("\n")}(this.buffer,this.line-_t.line+2+1).slice(0,5),Fr=[];Fr.push(nn+" at line "+_t.line+" col "+_t.col+":"),Fr.push("");for(var qn=0;qn<li.length;qn++){var rs=li[qn],ac=pr+qn;Fr.push(Zn(String(ac),cn)+"  "+rs),ac===_t.line&&Fr.push(Zn("",cn+_t.col+1)+"^")}return Fr.join("\n")},xi.prototype.clone=function(){return new xi(this.states,this.state)},xi.prototype.has=function(_t){return!0},{compile:function sa(_t){var nn=yo(Ri(_t));return new xi({start:nn},"start")},states:function oa(_t,nn){var Cn=_t.$all?Ri(_t.$all):[];delete _t.$all;var Vn=Object.getOwnPropertyNames(_t);nn||(nn=Vn[0]);for(var pr=Object.create(null),Xn=0;Xn<Vn.length;Xn++)pr[cn=Vn[Xn]]=Ri(_t[cn]).concat(Cn);for(Xn=0;Xn<Vn.length;Xn++)for(var li=pr[cn=Vn[Xn]],Fr=Object.create(null),qn=0;qn<li.length;qn++){var rs=li[qn];if(rs.include){var ac=[qn,1];if(rs.include!==cn&&!Fr[rs.include]){Fr[rs.include]=!0;var Go=pr[rs.include];if(!Go)throw new Error("Cannot include nonexistent state '"+rs.include+"' (in state '"+cn+"')");for(var _o=0;_o<Go.length;_o++){var La=Go[_o];-1===li.indexOf(La)&&ac.push(La)}}li.splice.apply(li,ac),qn--}}var Rs=Object.create(null);for(Xn=0;Xn<Vn.length;Xn++){var cn;Rs[cn=Vn[Xn]]=yo(pr[cn],!0)}for(Xn=0;Xn<Vn.length;Xn++){var kc=Vn[Xn],Fa=Rs[kc],cc=Fa.groups;for(qn=0;qn<cc.length;qn++)Ra(cc[qn],kc,Rs);var $c=Object.getOwnPropertyNames(Fa.fast);for(qn=0;qn<$c.length;qn++)Ra(Fa.fast[$c[qn]],kc,Rs)}return new xi(Rs,nn)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function xa(_t){for(var nn=typeof Map<"u",Cn=nn?new Map:Object.create(null),Vn=Object.getOwnPropertyNames(_t),pr=0;pr<Vn.length;pr++){var Xn=Vn[pr],cn=_t[Xn];(Array.isArray(cn)?cn:[cn]).forEach(function(Fr){if("string"!=typeof Fr)throw new Error("keyword must be string (in keyword '"+Xn+"')");nn?Cn.set(Fr,Xn):Cn[Fr]=Xn})}return function(Fr){return nn?Cn.get(Fr):Cn[Fr]}}}},(v=qt).exports?v.exports=L():I.moo=L();var Et=qt.exports;(function(v){var I=Nt&&Nt.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(v,"__esModule",{value:!0}),v.lexer=v.states=void 0;const L=I(Et);v.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:k=>k.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:k=>k.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:k=>k.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:k=>k.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:k=>k.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:k=>k.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:k=>k.substring(0,k.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},v.lexer=L.default.states(v.states)})(ht),Object.defineProperty(He,"__esModule",{value:!0});var Jt=He.parse=He.ParseError=void 0;const zt=ht,Ln=v=>({offset:v.offset,line:v.line,col:v.col,text:v.text,lineBreaks:v.lineBreaks}),Dn=v=>"plural"===v||"select"===v||"selectordinal"===v;const wr=["number","date","time","spellout","ordinal","duration"],zn=["zero","one","two","few","many","other"];class In extends Error{constructor(I,L){super(zt.lexer.formatError(I,L))}}He.ParseError=In;class mi{constructor(I,L){var k,z,ce,ke;this.lexer=zt.lexer.reset(I),this.cardinalKeys=null!==(k=L?.cardinal)&&void 0!==k?k:zn,this.ordinalKeys=null!==(z=L?.ordinal)&&void 0!==z?z:zn,this.strict=null!==(ce=L?.strict)&&void 0!==ce&&ce,this.strictPluralKeys=null===(ke=L?.strictPluralKeys)||void 0===ke||ke}parse(){return this.parseBody(!1,!0)}checkSelectKey(I,L,k){if("="===k[0]){if("select"===L)throw new In(I,`The case ${k} is not valid with select`)}else if("select"!==L){const z="plural"===L?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&z.length>0&&!z.includes(k))throw new In(I,`The ${L} case ${k} is not valid in this locale`)}}parseSelect(I,L,k,z){let{value:ce}=I;const ke={type:z,arg:ce,cases:[],ctx:k};"plural"===z||"selectordinal"===z?L=!0:this.strict&&(L=!1);for(const qe of this.lexer)switch(qe.type){case"offset":if("select"===z)throw new In(qe,"Unexpected plural offset for select");if(ke.cases.length>0)throw new In(qe,"Plural offset must be set before cases");ke.pluralOffset=Number(qe.value),k.text+=qe.text,k.lineBreaks+=qe.lineBreaks;break;case"case":this.checkSelectKey(qe,z,qe.value),ke.cases.push({key:qe.value,tokens:this.parseBody(L),ctx:Ln(qe)});break;case"end":return ke;default:throw new In(qe,`Unexpected lexer token: ${qe.type}`)}throw new In(null,"Unexpected message end")}parseArgToken(I,L){const k=Ln(I),z=this.lexer.next();if(!z)throw new In(null,"Unexpected message end");if(k.text+=z.text,k.lineBreaks+=z.lineBreaks,this.strict&&("func-simple"===z.type||"func-args"===z.type)&&!wr.includes(z.value))throw new In(I,`Invalid strict mode function arg type: ${z.value}`);switch(z.type){case"end":return{type:"argument",arg:I.value,ctx:k};case"func-simple":{const ce=this.lexer.next();if(!ce)throw new In(null,"Unexpected message end");if("end"!==ce.type)throw new In(ce,`Unexpected lexer token: ${ce.type}`);if(k.text+=ce.text,Dn(z.value.toLowerCase()))throw new In(z,`Invalid type identifier: ${z.value}`);return{type:"function",arg:I.value,key:z.value,ctx:k}}case"func-args":{if(Dn(z.value.toLowerCase()))throw new In(z,`Invalid type identifier: ${z.value}`);let ce=this.parseBody(!this.strict&&L);return this.strict&&ce.length>0&&(ce=function Zt(v,I){let L="",k="";for(const ce of I){const ke=ce.ctx.text;switch(k+=ke,ce.type){case"content":L+=ce.value;break;case"argument":case"function":case"octothorpe":L+=ke;break;default:throw new In(v,`Unsupported part in strict mode function arg style: ${ke}`)}}return[{type:"content",value:L.trim(),ctx:Object.assign({},I[0].ctx,{text:k})}]}(I,ce)),{type:"function",arg:I.value,key:z.value,param:ce,ctx:k}}case"select":if(Dn(z.value))return this.parseSelect(I,L,k,z.value);throw new In(z,`Unexpected select type ${z.value}`);default:throw new In(z,`Unexpected lexer token: ${z.type}`)}}parseBody(I,L){const k=[];let z=null;for(const ce of this.lexer)if("argument"===ce.type)z&&(z=null),k.push(this.parseArgToken(ce,I));else if("octothorpe"===ce.type&&I)z&&(z=null),k.push({type:"octothorpe",ctx:Ln(ce)});else{if("end"===ce.type&&!L)return k;{let ke=ce.value;if(!I&&"quoted"===ce.type&&"#"===ke[0]){if(ke.includes("{"))throw new In(ce,`Unsupported escape pattern: ${ke}`);ke=ce.text}z?(z.value+=ke,z.ctx.text+=ce.text,z.ctx.lineBreaks+=ce.lineBreaks):(z={type:"content",value:ke,ctx:Ln(ce)},k.push(z))}}if(L)return k;throw new In(null,"Unexpected message end")}}function Gr(v){return Gr[v]||(Gr[v]=new Intl.NumberFormat(v))}Jt=He.parse=function is(v){return new mi(v,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var ji=Object.freeze({__proto__:null,_nf:Gr,number:function Wr(v,I,L){return Gr(v).format(I-L)},plural:function di(v,I,L,k,z){if({}.hasOwnProperty.call(k,v))return k[v];I&&(v-=I);var ce=L(v,z);return ce in k?k[ce]:k.other},reqArgs:function Si(v,I){for(var L=0;L<v.length;++L)if(!I||void 0===I[v[L]])throw new Error("Message requires argument '".concat(v[L],"'"))},select:function ss(v,I){return{}.hasOwnProperty.call(I,v)?I[v]:I.other},strictNumber:function ri(v,I,L,k){var z=I-L;if(isNaN(z))throw new Error("`"+k+"` or its offset is not a number");return Gr(v).format(z)}});var Vt={};function Te(v,I){var L=String(v)+JSON.stringify(I);return Vt[L]||(Vt[L]=new Intl.NumberFormat(v,I)),Vt[L]}var Qe=Object.freeze({__proto__:null,date:function Ci(v,I,L){var k={day:"numeric",month:"short",year:"numeric"};switch(L){case"full":k.weekday="long";case"long":k.month="long";break;case"short":k.month="numeric"}return new Date(v).toLocaleDateString(I,k)},duration:function bi(v){if("number"!=typeof v&&(v=Number(v)),!isFinite(v))return String(v);var I="";v<0?(I="-",v=Math.abs(v)):v=Number(v);var L=v%60,k=[Math.round(L)===L?L:L.toFixed(3)];return v<60?k.unshift(0):(v=Math.round((v-Number(k[0]))/60),k.unshift(v%60),v>=60&&(v=Math.round((v-Number(k[0]))/60),k.unshift(v))),I+k.shift()+":"+k.map(function(ce){return Number(ce)<10?"0"+String(ce):String(ce)}).join(":")},numberCurrency:function(v,I,L){return Te(I,{style:"currency",currency:L,minimumFractionDigits:2,maximumFractionDigits:2}).format(v)},numberFmt:function ge(v,I,L,k){var z=L&&L.split(":")||[],ce=z[0],ke=z[1];return Te(I,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:ke&&ke.trim()||k,minimumFractionDigits:2,maximumFractionDigits:2}}[ce]||{}).format(v)},numberInteger:function(v,I){return Te(I,{maximumFractionDigits:0}).format(v)},numberPercent:function(v,I){return Te(I,{style:"percent"}).format(v)},time:function De(v,I,L){var k={second:"numeric",minute:"numeric",hour:"numeric"};switch(L){case"full":case"long":k.timeZoneName="short";break;case"short":delete k.second}return new Date(v).toLocaleTimeString(I,k)}}),un=kt({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}});function Ye(v,I){I&&(v+=" "+function Gn(v){let I=0;for(let L=0;L<v.length;++L)I=(I<<5)-I+v.charCodeAt(L),I|=0;return I}(v).toString(36));const L=v.trim().replace(/\W+/g,"_");return un.ES3[L]||un.ESnext[L]||/^\d/.test(L)?"_"+L:L}function Ae(v,I){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(I)&&!un.ES3[I])return v?v+"."+I:I;{const L=JSON.stringify(I);return v?v+"["+L+"]":L}}var ft=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));var hn="@messageformat/runtime/lib/plurals",Yn=function(){function v(I){this.arguments=[],this.runtime={},this.options=I}return v.prototype.compile=function(I,L,k){var z,ce,ke=this,qe=this.options,mt=qe.localeCodeFromKey,Ut=qe.requireAllArguments,Nn=qe.strict,Zn=qe.strictPluralKeys;if("object"==typeof I){var rr={};try{for(var dn=o(Object.keys(I)),Zr=dn.next();!Zr.done;Zr=dn.next()){var gi=Zr.value,Ri=mt?mt(gi):gi;rr[gi]=this.compile(I[gi],k&&Ri&&k[Ri]||L,k)}}catch(xi){z={error:xi}}finally{try{Zr&&!Zr.done&&(ce=dn.return)&&ce.call(dn)}finally{if(z)throw z.error}}return rr}this.plural=L;var yo={cardinal:L.cardinals,ordinal:L.ordinals,strict:Nn,strictPluralKeys:Zn};this.arguments=[];var sa=Jt(I,yo).map(function(xi){return ke.token(xi,null)}),Ra=this.arguments.length>0,oa=this.concatenate(sa,!0);if(Ut&&Ra){this.setRuntimeFn("reqArgs");var xa=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(xa,", d); return ").concat(oa,"; }")}return"(".concat(Ra?"d":"",") => ").concat(oa)},v.prototype.cases=function(I,L){var k=this,z=!0,ce=I.cases.map(function(Nn){var Zn=Nn.key;"other"===Zn&&(z=!1);var dn=Nn.tokens.map(function(Zr){return k.token(Zr,L)});return"".concat(Ae(null,Zn.replace(/^=/,"")),": ").concat(k.concatenate(dn,!1))});if(z){var ke=I.type,qe=this.plural,Ut=qe.ordinals;if("select"===ke||"plural"===ke&&qe.cardinals.includes("other")||"selectordinal"===ke&&Ut.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(I)))}return"{ ".concat(ce.join(", ")," }")},v.prototype.concatenate=function(I,L){return"values"===this.options.returnType&&(L||I.length>1)?"["+I.join(", ")+"]":I.join(" + ")||'""'},v.prototype.token=function(I,L){if("content"===I.type)return JSON.stringify(I.value);var ke,qe,k=this.plural,z=k.id,ce=k.lc;switch("arg"in I?(this.arguments.push(I.arg),ke=[Ae("d",I.arg)]):ke=[],I.type){case"argument":return this.options.biDiSupport?function $t(v,I){var L=ft.test(I),k=JSON.stringify(L?"\u200f":"\u200e");return"".concat(k," + ").concat(v," + ").concat(k)}(String(ke[0]),ce):String(ke[0]);case"select":qe="select",L&&this.options.strict&&(L=null),ke.push(this.cases(I,L)),this.setRuntimeFn("select");break;case"selectordinal":qe="plural",ke.push(I.pluralOffset||0,z,this.cases(I,I),1),this.setLocale(z,!0),this.setRuntimeFn("plural");break;case"plural":qe="plural",ke.push(I.pluralOffset||0,z,this.cases(I,I)),this.setLocale(z,!1),this.setRuntimeFn("plural");break;case"function":var mt=this.options.customFormatters[I.key],Ut=mt&&"module"in mt&&"function"==typeof mt.module;if(!mt){if("date"===I.key){qe=this.setDateFormatter(I,ke,L);break}if("number"===I.key){qe=this.setNumberFormatter(I,ke,L);break}}if(ke.push(JSON.stringify(this.plural.locale)),I.param){L&&this.options.strict&&(L=null);var Nn=this.getFormatterArg(I,L);Nn&&ke.push(Nn)}qe=Ut?Ye("".concat(I.key,"__").concat(this.plural.locale)):I.key,this.setFormatter(qe,I.key);break;case"octothorpe":if(!L)return'"#"';ke=[JSON.stringify(this.plural.locale),Ae("d",L.arg),L.pluralOffset||0],this.options.strict?(qe="strictNumber",ke.push(JSON.stringify(L.arg)),this.setRuntimeFn("strictNumber")):(qe="number",this.setRuntimeFn("number"))}if(!qe)throw new Error("Parser error for token "+JSON.stringify(I));return"".concat(qe,"(").concat(ke.join(", "),")")},v.prototype.runtimeIncludes=function(I,L){if(Ye(I)!==I)throw new SyntaxError("Reserved word used as ".concat(L," identifier: ").concat(I));var k=this.runtime[I];if(!k||k.type===L)return k;throw new TypeError("Cannot override ".concat(k.type," runtime function as ").concat(L,": ").concat(I))},v.prototype.setLocale=function(I,L){var mt,Ut,Nn,k=this.runtimeIncludes(I,"locale"),z=this.plural,ce=z.getCardinal,ke=z.getPlural,qe=z.isDefault;if(!L&&qe&&ce){if(k)return;mt=function(Zn){return ce(Zn)},Ut="@messageformat/runtime/lib/cardinals",Nn=function(){return String(ce)}}else{if(k&&(!qe||k.module===hn))return;mt=function(Zn,rr){return ke(Zn,rr)},Ut=qe?hn:ke.module||null,Nn=function(){return String(ke)}}this.runtime[I]=Object.assign(mt,{id:I,module:Ut,toString:Nn,type:"locale"})},v.prototype.setRuntimeFn=function(I){this.runtimeIncludes(I,"runtime")||(this.runtime[I]=Object.assign(ji[I],{id:I,module:"@messageformat/runtime",type:"runtime"}))},v.prototype.getFormatterArg=function(I,L){var k,z,ce,ke,qe=this,mt=I.key,Ut=I.param,Nn=this.options.customFormatters[mt]||Or(mt)&&Qe[mt];if(!Nn||!Ut)return null;var Zn="arg"in Nn&&Nn.arg||"string";if("options"===Zn){var rr="";try{for(var dn=o(Ut),Zr=dn.next();!Zr.done;Zr=dn.next()){var gi=Zr.value;if("content"!==gi.type)throw new SyntaxError("Expected literal options for ".concat(mt," formatter"));rr+=gi.value}}catch(Na){k={error:Na}}finally{try{Zr&&!Zr.done&&(z=dn.return)&&z.call(dn)}finally{if(k)throw k.error}}var Ri={};try{for(var Es=o(rr.split(",")),yo=Es.next();!yo.done;yo=Es.next()){var sa=yo.value,Ra=sa.indexOf(":");if(-1===Ra)Ri[sa.trim()]=null;else{var oa=sa.substring(0,Ra).trim(),xa=sa.substring(Ra+1).trim();if("true"===xa)Ri[oa]=!0;else if("false"===xa)Ri[oa]=!1;else if("null"===xa)Ri[oa]=null;else{var xi=Number(xa);Ri[oa]=Number.isFinite(xi)?xi:xa}}}}catch(Na){ce={error:Na}}finally{try{yo&&!yo.done&&(ke=Es.return)&&ke.call(Es)}finally{if(ce)throw ce.error}}return JSON.stringify(Ri)}var wu=Ut.map(function(Na){return qe.token(Na,L)});if("raw"===Zn)return"[".concat(wu.join(", "),"]");var Su=wu.join(" + ");return Su?"(".concat(Su,").trim()"):'""'},v.prototype.setFormatter=function(I,L){if(!this.runtimeIncludes(I,"formatter")){var k=this.options.customFormatters[L||I];if(k){var z="function"==typeof k?{formatter:k}:k;this.runtime[I]=Object.assign(z.formatter.bind({}),Q(Q({},z.formatter.prototype),{toString:function(){return String(z.formatter)}}),{type:"formatter"},"module"in k&&k.module&&k.id?{id:Ye(k.id),module:"function"==typeof k.module?k.module(this.plural.locale):k.module}:{id:null,module:null})}else{if(!Or(I))throw new Error("Formatting function not found: ".concat(I));this.runtime[I]=Object.assign(Qe[I],{type:"formatter"},{id:I,module:"@messageformat/runtime/lib/formatters"})}}},v.prototype.setDateFormatter=function(I,L,k){var z=this,ce=I.param,ke=this.plural.locale,qe=ce&&1===ce.length&&ce[0];if(qe&&"content"===qe.type&&/^\s*::/.test(qe.value)){var mt=qe.value.trim().substr(2),Ut=Ye("date_".concat(ke,"_").concat(mt),!0);if(!this.runtimeIncludes(Ut,"formatter")){var Nn=function Ne(v,I,L){"string"==typeof I&&(I=we(I));const k=J(I,L),z=new Intl.DateTimeFormat(v,k);return ce=>z.format(ce)}(ke,mt);this.runtime[Ut]=Object.assign(Nn,{id:Ut,module:null,toString:function(){return function q(v,I,L){"string"==typeof I&&(I=we(I));const k=J(I,L);return["(function() {",`var opt = ${JSON.stringify(k)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(v)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n  ")+"\n})()"}(ke,mt)},type:"formatter"})}return Ut}if(L.push(JSON.stringify(ke)),ce&&ce.length>0){k&&this.options.strict&&(k=null);var Zn=ce.map(function(rr){return z.token(rr,k)});L.push("("+(Zn.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},v.prototype.setNumberFormatter=function(I,L,k){var z=this,ce=I.param,ke=this.plural.locale;if(!ce||0===ce.length)return L.unshift(JSON.stringify(ke)),L.push("0"),this.setRuntimeFn("number"),"number";if(L.push(JSON.stringify(ke)),1===ce.length&&"content"===ce[0].type){var qe=ce[0].value.trim();switch(qe){case"currency":return L.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 mt=qe.match(/^currency:([A-Z]+)$/);if(mt)return L.push(JSON.stringify(mt[1])),this.setFormatter("numberCurrency"),"numberCurrency";var Ut=Ye("number_".concat(ke,"_").concat(qe),!0);if(!this.runtimeIncludes(Ut,"formatter")){var Nn=this.options.currency,Zn=lt(ke,qe,Nn);this.runtime[Ut]=Object.assign(Zn,{id:null,module:null,toString:function(){return Mt(ke,qe,Nn)},type:"formatter"})}return Ut}k&&this.options.strict&&(k=null);var rr=ce.map(function(dn){return z.token(dn,k)});return L.push("("+(rr.join(" + ")||'""')+").trim()"),L.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},v}();function Or(v){return v in Qe}const Rt=v=>1==v?"one":"other",Tr=v=>0==v||1==v?"one":"other",mr=v=>v>=0&&v<=1?"one":"other",ar=v=>{const I=String(v).split(".");return 1!=v||I[1]?"other":"one"},En=v=>"other",Jn=v=>1==v?"one":2==v?"two":"other";var yt=Object.freeze({__proto__:null,af:Rt,ak:Tr,am:mr,an:Rt,ar:v=>{const I=String(v).split("."),k=Number(I[0])==v&&I[0].slice(-2);return 0==v?"zero":1==v?"one":2==v?"two":k>=3&&k<=10?"few":k>=11&&k<=99?"many":"other"},ars:v=>{const I=String(v).split("."),k=Number(I[0])==v&&I[0].slice(-2);return 0==v?"zero":1==v?"one":2==v?"two":k>=3&&k<=10?"few":k>=11&&k<=99?"many":"other"},as:mr,asa:Rt,ast:ar,az:Rt,bal:Rt,be:v=>{const I=String(v).split("."),L=Number(I[0])==v,k=L&&I[0].slice(-1),z=L&&I[0].slice(-2);return 1==k&&11!=z?"one":k>=2&&k<=4&&(z<12||z>14)?"few":L&&0==k||k>=5&&k<=9||z>=11&&z<=14?"many":"other"},bem:Rt,bez:Rt,bg:Rt,bho:Tr,bm:En,bn:mr,bo:En,br:v=>{const I=String(v).split("."),L=Number(I[0])==v,k=L&&I[0].slice(-1),z=L&&I[0].slice(-2),ce=L&&I[0].slice(-6);return 1==k&&11!=z&&71!=z&&91!=z?"one":2==k&&12!=z&&72!=z&&92!=z?"two":(3==k||4==k||9==k)&&(z<10||z>19)&&(z<70||z>79)&&(z<90||z>99)?"few":0!=v&&L&&0==ce?"many":"other"},brx:Rt,bs:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=L.slice(-2),qe=k.slice(-1),mt=k.slice(-2);return z&&1==ce&&11!=ke||1==qe&&11!=mt?"one":z&&ce>=2&&ce<=4&&(ke<12||ke>14)||qe>=2&&qe<=4&&(mt<12||mt>14)?"few":"other"},ca:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-6);return 1==v&&k?"one":0!=L&&0==z&&k?"many":"other"},ce:Rt,ceb:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=k.slice(-1);return z&&(1==L||2==L||3==L)||z&&4!=ce&&6!=ce&&9!=ce||!z&&4!=ke&&6!=ke&&9!=ke?"one":"other"},cgg:Rt,chr:Rt,ckb:Rt,cs:v=>{const I=String(v).split("."),L=I[0],k=!I[1];return 1==v&&k?"one":L>=2&&L<=4&&k?"few":k?"other":"many"},cy:v=>0==v?"zero":1==v?"one":2==v?"two":3==v?"few":6==v?"many":"other",da:v=>{const I=String(v).split("."),L=I[0],k=Number(I[0])==v;return 1!=v&&(k||0!=L&&1!=L)?"other":"one"},de:ar,doi:mr,dsb:v=>{const I=String(v).split("."),k=I[1]||"",z=!I[1],ce=I[0].slice(-2),ke=k.slice(-2);return z&&1==ce||1==ke?"one":z&&2==ce||2==ke?"two":z&&(3==ce||4==ce)||3==ke||4==ke?"few":"other"},dv:Rt,dz:En,ee:Rt,el:Rt,en:ar,eo:Rt,es:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-6);return 1==v?"one":0!=L&&0==z&&k?"many":"other"},et:ar,eu:Rt,fa:mr,ff:v=>v>=0&&v<2?"one":"other",fi:ar,fil:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=k.slice(-1);return z&&(1==L||2==L||3==L)||z&&4!=ce&&6!=ce&&9!=ce||!z&&4!=ke&&6!=ke&&9!=ke?"one":"other"},fo:Rt,fr:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-6);return v>=0&&v<2?"one":0!=L&&0==z&&k?"many":"other"},fur:Rt,fy:ar,ga:v=>{const I=String(v).split("."),L=Number(I[0])==v;return 1==v?"one":2==v?"two":L&&v>=3&&v<=6?"few":L&&v>=7&&v<=10?"many":"other"},gd:v=>{const I=String(v).split("."),L=Number(I[0])==v;return 1==v||11==v?"one":2==v||12==v?"two":L&&v>=3&&v<=10||L&&v>=13&&v<=19?"few":"other"},gl:ar,gsw:Rt,gu:mr,guw:Tr,gv:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-1),ce=L.slice(-2);return k&&1==z?"one":k&&2==z?"two":!k||0!=ce&&20!=ce&&40!=ce&&60!=ce&&80!=ce?k?"other":"many":"few"},ha:Rt,haw:Rt,he:v=>{const I=String(v).split("."),L=I[0],k=!I[1];return 1==L&&k||0==L&&!k?"one":2==L&&k?"two":"other"},hi:mr,hnj:En,hr:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=L.slice(-2),qe=k.slice(-1),mt=k.slice(-2);return z&&1==ce&&11!=ke||1==qe&&11!=mt?"one":z&&ce>=2&&ce<=4&&(ke<12||ke>14)||qe>=2&&qe<=4&&(mt<12||mt>14)?"few":"other"},hsb:v=>{const I=String(v).split("."),k=I[1]||"",z=!I[1],ce=I[0].slice(-2),ke=k.slice(-2);return z&&1==ce||1==ke?"one":z&&2==ce||2==ke?"two":z&&(3==ce||4==ce)||3==ke||4==ke?"few":"other"},hu:Rt,hy:v=>v>=0&&v<2?"one":"other",ia:ar,id:En,ig:En,ii:En,io:ar,is:v=>{const I=String(v).split("."),L=I[0],k=(I[1]||"").replace(/0+$/,""),z=Number(I[0])==v,ce=L.slice(-1),ke=L.slice(-2);return z&&1==ce&&11!=ke||k%10==1&&k%100!=11?"one":"other"},it:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-6);return 1==v&&k?"one":0!=L&&0==z&&k?"many":"other"},iu:Jn,ja:En,jbo:En,jgo:Rt,jmc:Rt,jv:En,jw:En,ka:Rt,kab:v=>v>=0&&v<2?"one":"other",kaj:Rt,kcg:Rt,kde:En,kea:En,kk:Rt,kkj:Rt,kl:Rt,km:En,kn:mr,ko:En,ks:Rt,ksb:Rt,ksh:v=>0==v?"zero":1==v?"one":"other",ku:Rt,kw:v=>{const I=String(v).split("."),L=Number(I[0])==v,k=L&&I[0].slice(-2),z=L&&I[0].slice(-3),ce=L&&I[0].slice(-5),ke=L&&I[0].slice(-6);return 0==v?"zero":1==v?"one":2==k||22==k||42==k||62==k||82==k||L&&0==z&&(ce>=1e3&&ce<=2e4||4e4==ce||6e4==ce||8e4==ce)||0!=v&&1e5==ke?"two":3==k||23==k||43==k||63==k||83==k?"few":1==v||1!=k&&21!=k&&41!=k&&61!=k&&81!=k?"other":"many"},ky:Rt,lag:v=>{const L=String(v).split(".")[0];return 0==v?"zero":0!=L&&1!=L||0==v?"other":"one"},lb:Rt,lg:Rt,lij:ar,lkt:En,ln:Tr,lo:En,lt:v=>{const I=String(v).split("."),L=I[1]||"",k=Number(I[0])==v,z=k&&I[0].slice(-1),ce=k&&I[0].slice(-2);return 1==z&&(ce<11||ce>19)?"one":z>=2&&z<=9&&(ce<11||ce>19)?"few":0!=L?"many":"other"},lv:v=>{const I=String(v).split("."),L=I[1]||"",k=L.length,z=Number(I[0])==v,ce=z&&I[0].slice(-1),ke=z&&I[0].slice(-2),qe=L.slice(-2),mt=L.slice(-1);return z&&0==ce||ke>=11&&ke<=19||2==k&&qe>=11&&qe<=19?"zero":1==ce&&11!=ke||2==k&&1==mt&&11!=qe||2!=k&&1==mt?"one":"other"},mas:Rt,mg:Tr,mgo:Rt,mk:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=L.slice(-2),qe=k.slice(-1),mt=k.slice(-2);return z&&1==ce&&11!=ke||1==qe&&11!=mt?"one":"other"},ml:Rt,mn:Rt,mo:v=>{const I=String(v).split("."),L=!I[1],z=Number(I[0])==v&&I[0].slice(-2);return 1==v&&L?"one":!L||0==v||1!=v&&z>=1&&z<=19?"few":"other"},mr:Rt,ms:En,mt:v=>{const I=String(v).split("."),k=Number(I[0])==v&&I[0].slice(-2);return 1==v?"one":2==v?"two":0==v||k>=3&&k<=10?"few":k>=11&&k<=19?"many":"other"},my:En,nah:Rt,naq:Jn,nb:Rt,nd:Rt,ne:Rt,nl:ar,nn:Rt,nnh:Rt,no:Rt,nqo:En,nr:Rt,nso:Tr,ny:Rt,nyn:Rt,om:Rt,or:Rt,os:Rt,osa:En,pa:Tr,pap:Rt,pcm:mr,pl:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-1),ce=L.slice(-2);return 1==v&&k?"one":k&&z>=2&&z<=4&&(ce<12||ce>14)?"few":k&&1!=L&&(0==z||1==z)||k&&z>=5&&z<=9||k&&ce>=12&&ce<=14?"many":"other"},prg:v=>{const I=String(v).split("."),L=I[1]||"",k=L.length,z=Number(I[0])==v,ce=z&&I[0].slice(-1),ke=z&&I[0].slice(-2),qe=L.slice(-2),mt=L.slice(-1);return z&&0==ce||ke>=11&&ke<=19||2==k&&qe>=11&&qe<=19?"zero":1==ce&&11!=ke||2==k&&1==mt&&11!=qe||2!=k&&1==mt?"one":"other"},ps:Rt,pt:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-6);return 0==L||1==L?"one":0!=L&&0==z&&k?"many":"other"},pt_PT:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-6);return 1==v&&k?"one":0!=L&&0==z&&k?"many":"other"},rm:Rt,ro:v=>{const I=String(v).split("."),L=!I[1],z=Number(I[0])==v&&I[0].slice(-2);return 1==v&&L?"one":!L||0==v||1!=v&&z>=1&&z<=19?"few":"other"},rof:Rt,ru:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-1),ce=L.slice(-2);return k&&1==z&&11!=ce?"one":k&&z>=2&&z<=4&&(ce<12||ce>14)?"few":k&&0==z||k&&z>=5&&z<=9||k&&ce>=11&&ce<=14?"many":"other"},rwk:Rt,sah:En,saq:Rt,sat:Jn,sc:ar,scn:ar,sd:Rt,sdh:Rt,se:Jn,seh:Rt,ses:En,sg:En,sh:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=L.slice(-2),qe=k.slice(-1),mt=k.slice(-2);return z&&1==ce&&11!=ke||1==qe&&11!=mt?"one":z&&ce>=2&&ce<=4&&(ke<12||ke>14)||qe>=2&&qe<=4&&(mt<12||mt>14)?"few":"other"},shi:v=>{const I=String(v).split("."),L=Number(I[0])==v;return v>=0&&v<=1?"one":L&&v>=2&&v<=10?"few":"other"},si:v=>{const I=String(v).split(".");return 0==v||1==v||0==I[0]&&1==(I[1]||"")?"one":"other"},sk:v=>{const I=String(v).split("."),L=I[0],k=!I[1];return 1==v&&k?"one":L>=2&&L<=4&&k?"few":k?"other":"many"},sl:v=>{const I=String(v).split("."),k=!I[1],z=I[0].slice(-2);return k&&1==z?"one":k&&2==z?"two":k&&(3==z||4==z)||!k?"few":"other"},sma:Jn,smi:Jn,smj:Jn,smn:Jn,sms:Jn,sn:Rt,so:Rt,sq:Rt,sr:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=L.slice(-2),qe=k.slice(-1),mt=k.slice(-2);return z&&1==ce&&11!=ke||1==qe&&11!=mt?"one":z&&ce>=2&&ce<=4&&(ke<12||ke>14)||qe>=2&&qe<=4&&(mt<12||mt>14)?"few":"other"},ss:Rt,ssy:Rt,st:Rt,su:En,sv:ar,sw:ar,syr:Rt,ta:Rt,te:Rt,teo:Rt,th:En,ti:Tr,tig:Rt,tk:Rt,tl:v=>{const I=String(v).split("."),L=I[0],k=I[1]||"",z=!I[1],ce=L.slice(-1),ke=k.slice(-1);return z&&(1==L||2==L||3==L)||z&&4!=ce&&6!=ce&&9!=ce||!z&&4!=ke&&6!=ke&&9!=ke?"one":"other"},tn:Rt,to:En,tpi:En,tr:Rt,ts:Rt,tzm:v=>{const I=String(v).split("."),L=Number(I[0])==v;return 0==v||1==v||L&&v>=11&&v<=99?"one":"other"},ug:Rt,uk:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-1),ce=L.slice(-2);return k&&1==z&&11!=ce?"one":k&&z>=2&&z<=4&&(ce<12||ce>14)?"few":k&&0==z||k&&z>=5&&z<=9||k&&ce>=11&&ce<=14?"many":"other"},und:En,ur:ar,uz:Rt,ve:Rt,vec:v=>{const I=String(v).split("."),L=I[0],k=!I[1],z=L.slice(-6);return 1==v&&k?"one":0!=L&&0==z&&k?"many":"other"},vi:En,vo:Rt,vun:Rt,wa:Tr,wae:Rt,wo:En,xh:Rt,xog:Rt,yi:ar,yo:En,yue:En,zh:En,zu:mr});const wn="zero",Ct="one",tr="two",pn="few",Rn="many",Dt="other",Ot={cardinal:[Ct,Dt],ordinal:[Dt]},ds={cardinal:[Ct,Dt],ordinal:[Ct,Dt]},Hn={cardinal:[Dt],ordinal:[Dt]},$i={cardinal:[Ct,tr,Dt],ordinal:[Dt]};var ed=Object.freeze({__proto__:null,af:Ot,ak:Ot,am:Ot,an:Ot,ar:{cardinal:[wn,Ct,tr,pn,Rn,Dt],ordinal:[Dt]},ars:{cardinal:[wn,Ct,tr,pn,Rn,Dt],ordinal:[Dt]},as:{cardinal:[Ct,Dt],ordinal:[Ct,tr,pn,Rn,Dt]},asa:Ot,ast:Ot,az:{cardinal:[Ct,Dt],ordinal:[Ct,pn,Rn,Dt]},bal:ds,be:{cardinal:[Ct,pn,Rn,Dt],ordinal:[pn,Dt]},bem:Ot,bez:Ot,bg:Ot,bho:Ot,bm:Hn,bn:{cardinal:[Ct,Dt],ordinal:[Ct,tr,pn,Rn,Dt]},bo:Hn,br:{cardinal:[Ct,tr,pn,Rn,Dt],ordinal:[Dt]},brx:Ot,bs:{cardinal:[Ct,pn,Dt],ordinal:[Dt]},ca:{cardinal:[Ct,Rn,Dt],ordinal:[Ct,tr,pn,Dt]},ce:Ot,ceb:Ot,cgg:Ot,chr:Ot,ckb:Ot,cs:{cardinal:[Ct,pn,Rn,Dt],ordinal:[Dt]},cy:{cardinal:[wn,Ct,tr,pn,Rn,Dt],ordinal:[wn,Ct,tr,pn,Rn,Dt]},da:Ot,de:Ot,doi:Ot,dsb:{cardinal:[Ct,tr,pn,Dt],ordinal:[Dt]},dv:Ot,dz:Hn,ee:Ot,el:Ot,en:{cardinal:[Ct,Dt],ordinal:[Ct,tr,pn,Dt]},eo:Ot,es:{cardinal:[Ct,Rn,Dt],ordinal:[Dt]},et:Ot,eu:Ot,fa:Ot,ff:Ot,fi:Ot,fil:ds,fo:Ot,fr:{cardinal:[Ct,Rn,Dt],ordinal:[Ct,Dt]},fur:Ot,fy:Ot,ga:{cardinal:[Ct,tr,pn,Rn,Dt],ordinal:[Ct,Dt]},gd:{cardinal:[Ct,tr,pn,Dt],ordinal:[Ct,tr,pn,Dt]},gl:Ot,gsw:Ot,gu:{cardinal:[Ct,Dt],ordinal:[Ct,tr,pn,Rn,Dt]},guw:Ot,gv:{cardinal:[Ct,tr,pn,Rn,Dt],ordinal:[Dt]},ha:Ot,haw:Ot,he:$i,hi:{cardinal:[Ct,Dt],ordinal:[Ct,tr,pn,Rn,Dt]},hnj:Hn,hr:{cardinal:[Ct,pn,Dt],ordinal:[Dt]},hsb:{cardinal:[Ct,tr,pn,Dt],ordinal:[Dt]},hu:ds,hy:ds,ia:Ot,id:Hn,ig:Hn,ii:Hn,io:Ot,is:Ot,it:{cardinal:[Ct,Rn,Dt],ordinal:[Rn,Dt]},iu:$i,ja:Hn,jbo:Hn,jgo:Ot,jmc:Ot,jv:Hn,jw:Hn,ka:{cardinal:[Ct,Dt],ordinal:[Ct,Rn,Dt]},kab:Ot,kaj:Ot,kcg:Ot,kde:Hn,kea:Hn,kk:{cardinal:[Ct,Dt],ordinal:[Rn,Dt]},kkj:Ot,kl:Ot,km:Hn,kn:Ot,ko:Hn,ks:Ot,ksb:Ot,ksh:{cardinal:[wn,Ct,Dt],ordinal:[Dt]},ku:Ot,kw:{cardinal:[wn,Ct,tr,pn,Rn,Dt],ordinal:[Ct,Rn,Dt]},ky:Ot,lag:{cardinal:[wn,Ct,Dt],ordinal:[Dt]},lb:Ot,lg:Ot,lij:{cardinal:[Ct,Dt],ordinal:[Rn,Dt]},lkt:Hn,ln:Ot,lo:{cardinal:[Dt],ordinal:[Ct,Dt]},lt:{cardinal:[Ct,pn,Rn,Dt],ordinal:[Dt]},lv:{cardinal:[wn,Ct,Dt],ordinal:[Dt]},mas:Ot,mg:Ot,mgo:Ot,mk:{cardinal:[Ct,Dt],ordinal:[Ct,tr,Rn,Dt]},ml:Ot,mn:Ot,mo:{cardinal:[Ct,pn,Dt],ordinal:[Ct,Dt]},mr:{cardinal:[Ct,Dt],ordinal:[Ct,tr,pn,Dt]},ms:{cardinal:[Dt],ordinal:[Ct,Dt]},mt:{cardinal:[Ct,tr,pn,Rn,Dt],ordinal:[Dt]},my:Hn,nah:Ot,naq:$i,nb:Ot,nd:Ot,ne:ds,nl:Ot,nn:Ot,nnh:Ot,no:Ot,nqo:Hn,nr:Ot,nso:Ot,ny:Ot,nyn:Ot,om:Ot,or:{cardinal:[Ct,Dt],ordinal:[Ct,tr,pn,Rn,Dt]},os:Ot,osa:Hn,pa:Ot,pap:Ot,pcm:Ot,pl:{cardinal:[Ct,pn,Rn,Dt],ordinal:[Dt]},prg:{cardinal:[wn,Ct,Dt],ordinal:[Dt]},ps:Ot,pt:{cardinal:[Ct,Rn,Dt],ordinal:[Dt]},pt_PT:{cardinal:[Ct,Rn,Dt],ordinal:[Dt]},rm:Ot,ro:{cardinal:[Ct,pn,Dt],ordinal:[Ct,Dt]},rof:Ot,ru:{cardinal:[Ct,pn,Rn,Dt],ordinal:[Dt]},rwk:Ot,sah:Hn,saq:Ot,sat:$i,sc:{cardinal:[Ct,Dt],ordinal:[Rn,Dt]},scn:{cardinal:[Ct,Dt],ordinal:[Rn,Dt]},sd:Ot,sdh:Ot,se:$i,seh:Ot,ses:Hn,sg:Hn,sh:{cardinal:[Ct,pn,Dt],ordinal:[Dt]},shi:{cardinal:[Ct,pn,Dt],ordinal:[Dt]},si:Ot,sk:{cardinal:[Ct,pn,Rn,Dt],ordinal:[Dt]},sl:{cardinal:[Ct,tr,pn,Dt],ordinal:[Dt]},sma:$i,smi:$i,smj:$i,smn:$i,sms:$i,sn:Ot,so:Ot,sq:{cardinal:[Ct,Dt],ordinal:[Ct,Rn,Dt]},sr:{cardinal:[Ct,pn,Dt],ordinal:[Dt]},ss:Ot,ssy:Ot,st:Ot,su:Hn,sv:ds,sw:Ot,syr:Ot,ta:Ot,te:Ot,teo:Ot,th:Hn,ti:Ot,tig:Ot,tk:{cardinal:[Ct,Dt],ordinal:[pn,Dt]},tl:ds,tn:Ot,to:Hn,tpi:Hn,tr:Ot,ts:Ot,tzm:Ot,ug:Ot,uk:{cardinal:[Ct,pn,Rn,Dt],ordinal:[pn,Dt]},und:Hn,ur:Ot,uz:Ot,ve:Ot,vec:{cardinal:[Ct,Rn,Dt],ordinal:[Rn,Dt]},vi:{cardinal:[Dt],ordinal:[Ct,Dt]},vo:Ot,vun:Ot,wa:Ot,wae:Ot,wo:Hn,xh:Ot,xog:Ot,yi:Ot,yo:Hn,yue:Hn,zh:Hn,zu:Ot});const en=(v,I)=>I?"other":1==v?"one":"other",Vo=(v,I)=>I?"other":0==v||1==v?"one":"other",sc=(v,I)=>I?"other":v>=0&&v<=1?"one":"other",mo=(v,I)=>{const L=String(v).split(".");return I||1!=v||L[1]?"other":"one"},zr=(v,I)=>"other",vo=(v,I)=>I?"other":1==v?"one":2==v?"two":"other";var Fc=Object.freeze({__proto__:null,af:en,ak:Vo,am:sc,an:en,ar:(v,I)=>{const L=String(v).split("."),z=Number(L[0])==v&&L[0].slice(-2);return I?"other":0==v?"zero":1==v?"one":2==v?"two":z>=3&&z<=10?"few":z>=11&&z<=99?"many":"other"},ars:(v,I)=>{const L=String(v).split("."),z=Number(L[0])==v&&L[0].slice(-2);return I?"other":0==v?"zero":1==v?"one":2==v?"two":z>=3&&z<=10?"few":z>=11&&z<=99?"many":"other"},as:(v,I)=>I?1==v||5==v||7==v||8==v||9==v||10==v?"one":2==v||3==v?"two":4==v?"few":6==v?"many":"other":v>=0&&v<=1?"one":"other",asa:en,ast:mo,az:(v,I)=>{const k=String(v).split(".")[0],z=k.slice(-1),ce=k.slice(-2),ke=k.slice(-3);return I?1==z||2==z||5==z||7==z||8==z||20==ce||50==ce||70==ce||80==ce?"one":3==z||4==z||100==ke||200==ke||300==ke||400==ke||500==ke||600==ke||700==ke||800==ke||900==ke?"few":0==k||6==z||40==ce||60==ce||90==ce?"many":"other":1==v?"one":"other"},bal:(v,I)=>1==v?"one":"other",be:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v,z=k&&L[0].slice(-1),ce=k&&L[0].slice(-2);return I?2!=z&&3!=z||12==ce||13==ce?"other":"few":1==z&&11!=ce?"one":z>=2&&z<=4&&(ce<12||ce>14)?"few":k&&0==z||z>=5&&z<=9||ce>=11&&ce<=14?"many":"other"},bem:en,bez:en,bg:en,bho:Vo,bm:zr,bn:(v,I)=>I?1==v||5==v||7==v||8==v||9==v||10==v?"one":2==v||3==v?"two":4==v?"few":6==v?"many":"other":v>=0&&v<=1?"one":"other",bo:zr,br:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v,z=k&&L[0].slice(-1),ce=k&&L[0].slice(-2),ke=k&&L[0].slice(-6);return I?"other":1==z&&11!=ce&&71!=ce&&91!=ce?"one":2==z&&12!=ce&&72!=ce&&92!=ce?"two":(3==z||4==z||9==z)&&(ce<10||ce>19)&&(ce<70||ce>79)&&(ce<90||ce>99)?"few":0!=v&&k&&0==ke?"many":"other"},brx:en,bs:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=k.slice(-2),mt=z.slice(-1),Ut=z.slice(-2);return I?"other":ce&&1==ke&&11!=qe||1==mt&&11!=Ut?"one":ce&&ke>=2&&ke<=4&&(qe<12||qe>14)||mt>=2&&mt<=4&&(Ut<12||Ut>14)?"few":"other"},ca:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-6);return I?1==v||3==v?"one":2==v?"two":4==v?"few":"other":1==v&&z?"one":0!=k&&0==ce&&z?"many":"other"},ce:en,ceb:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=z.slice(-1);return I?"other":ce&&(1==k||2==k||3==k)||ce&&4!=ke&&6!=ke&&9!=ke||!ce&&4!=qe&&6!=qe&&9!=qe?"one":"other"},cgg:en,chr:en,ckb:en,cs:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1];return I?"other":1==v&&z?"one":k>=2&&k<=4&&z?"few":z?"other":"many"},cy:(v,I)=>I?0==v||7==v||8==v||9==v?"zero":1==v?"one":2==v?"two":3==v||4==v?"few":5==v||6==v?"many":"other":0==v?"zero":1==v?"one":2==v?"two":3==v?"few":6==v?"many":"other",da:(v,I)=>{const L=String(v).split("."),k=L[0],z=Number(L[0])==v;return I||1!=v&&(z||0!=k&&1!=k)?"other":"one"},de:mo,doi:sc,dsb:(v,I)=>{const L=String(v).split("."),z=L[1]||"",ce=!L[1],ke=L[0].slice(-2),qe=z.slice(-2);return I?"other":ce&&1==ke||1==qe?"one":ce&&2==ke||2==qe?"two":ce&&(3==ke||4==ke)||3==qe||4==qe?"few":"other"},dv:en,dz:zr,ee:en,el:en,en:(v,I)=>{const L=String(v).split("."),k=!L[1],z=Number(L[0])==v,ce=z&&L[0].slice(-1),ke=z&&L[0].slice(-2);return I?1==ce&&11!=ke?"one":2==ce&&12!=ke?"two":3==ce&&13!=ke?"few":"other":1==v&&k?"one":"other"},eo:en,es:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-6);return I?"other":1==v?"one":0!=k&&0==ce&&z?"many":"other"},et:mo,eu:en,fa:sc,ff:(v,I)=>I?"other":v>=0&&v<2?"one":"other",fi:mo,fil:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=z.slice(-1);return I?1==v?"one":"other":ce&&(1==k||2==k||3==k)||ce&&4!=ke&&6!=ke&&9!=ke||!ce&&4!=qe&&6!=qe&&9!=qe?"one":"other"},fo:en,fr:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-6);return I?1==v?"one":"other":v>=0&&v<2?"one":0!=k&&0==ce&&z?"many":"other"},fur:en,fy:mo,ga:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v;return I?1==v?"one":"other":1==v?"one":2==v?"two":k&&v>=3&&v<=6?"few":k&&v>=7&&v<=10?"many":"other"},gd:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v;return I?1==v||11==v?"one":2==v||12==v?"two":3==v||13==v?"few":"other":1==v||11==v?"one":2==v||12==v?"two":k&&v>=3&&v<=10||k&&v>=13&&v<=19?"few":"other"},gl:mo,gsw:en,gu:(v,I)=>I?1==v?"one":2==v||3==v?"two":4==v?"few":6==v?"many":"other":v>=0&&v<=1?"one":"other",guw:Vo,gv:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-1),ke=k.slice(-2);return I?"other":z&&1==ce?"one":z&&2==ce?"two":!z||0!=ke&&20!=ke&&40!=ke&&60!=ke&&80!=ke?z?"other":"many":"few"},ha:en,haw:en,he:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1];return I?"other":1==k&&z||0==k&&!z?"one":2==k&&z?"two":"other"},hi:(v,I)=>I?1==v?"one":2==v||3==v?"two":4==v?"few":6==v?"many":"other":v>=0&&v<=1?"one":"other",hnj:zr,hr:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=k.slice(-2),mt=z.slice(-1),Ut=z.slice(-2);return I?"other":ce&&1==ke&&11!=qe||1==mt&&11!=Ut?"one":ce&&ke>=2&&ke<=4&&(qe<12||qe>14)||mt>=2&&mt<=4&&(Ut<12||Ut>14)?"few":"other"},hsb:(v,I)=>{const L=String(v).split("."),z=L[1]||"",ce=!L[1],ke=L[0].slice(-2),qe=z.slice(-2);return I?"other":ce&&1==ke||1==qe?"one":ce&&2==ke||2==qe?"two":ce&&(3==ke||4==ke)||3==qe||4==qe?"few":"other"},hu:(v,I)=>I?1==v||5==v?"one":"other":1==v?"one":"other",hy:(v,I)=>I?1==v?"one":"other":v>=0&&v<2?"one":"other",ia:mo,id:zr,ig:zr,ii:zr,io:mo,is:(v,I)=>{const L=String(v).split("."),k=L[0],z=(L[1]||"").replace(/0+$/,""),ce=Number(L[0])==v,ke=k.slice(-1),qe=k.slice(-2);return I?"other":ce&&1==ke&&11!=qe||z%10==1&&z%100!=11?"one":"other"},it:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-6);return I?11==v||8==v||80==v||800==v?"many":"other":1==v&&z?"one":0!=k&&0==ce&&z?"many":"other"},iu:vo,ja:zr,jbo:zr,jgo:en,jmc:en,jv:zr,jw:zr,ka:(v,I)=>{const k=String(v).split(".")[0],z=k.slice(-2);return I?1==k?"one":0==k||z>=2&&z<=20||40==z||60==z||80==z?"many":"other":1==v?"one":"other"},kab:(v,I)=>I?"other":v>=0&&v<2?"one":"other",kaj:en,kcg:en,kde:zr,kea:zr,kk:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v,z=k&&L[0].slice(-1);return I?6==z||9==z||k&&0==z&&0!=v?"many":"other":1==v?"one":"other"},kkj:en,kl:en,km:zr,kn:sc,ko:zr,ks:en,ksb:en,ksh:(v,I)=>I?"other":0==v?"zero":1==v?"one":"other",ku:en,kw:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v,z=k&&L[0].slice(-2),ce=k&&L[0].slice(-3),ke=k&&L[0].slice(-5),qe=k&&L[0].slice(-6);return I?k&&v>=1&&v<=4||z>=1&&z<=4||z>=21&&z<=24||z>=41&&z<=44||z>=61&&z<=64||z>=81&&z<=84?"one":5==v||5==z?"many":"other":0==v?"zero":1==v?"one":2==z||22==z||42==z||62==z||82==z||k&&0==ce&&(ke>=1e3&&ke<=2e4||4e4==ke||6e4==ke||8e4==ke)||0!=v&&1e5==qe?"two":3==z||23==z||43==z||63==z||83==z?"few":1==v||1!=z&&21!=z&&41!=z&&61!=z&&81!=z?"other":"many"},ky:en,lag:(v,I)=>{const k=String(v).split(".")[0];return I?"other":0==v?"zero":0!=k&&1!=k||0==v?"other":"one"},lb:en,lg:en,lij:(v,I)=>{const L=String(v).split("."),k=!L[1],z=Number(L[0])==v;return I?11==v||8==v||z&&v>=80&&v<=89||z&&v>=800&&v<=899?"many":"other":1==v&&k?"one":"other"},lkt:zr,ln:Vo,lo:(v,I)=>I&&1==v?"one":"other",lt:(v,I)=>{const L=String(v).split("."),k=L[1]||"",z=Number(L[0])==v,ce=z&&L[0].slice(-1),ke=z&&L[0].slice(-2);return I?"other":1==ce&&(ke<11||ke>19)?"one":ce>=2&&ce<=9&&(ke<11||ke>19)?"few":0!=k?"many":"other"},lv:(v,I)=>{const L=String(v).split("."),k=L[1]||"",z=k.length,ce=Number(L[0])==v,ke=ce&&L[0].slice(-1),qe=ce&&L[0].slice(-2),mt=k.slice(-2),Ut=k.slice(-1);return I?"other":ce&&0==ke||qe>=11&&qe<=19||2==z&&mt>=11&&mt<=19?"zero":1==ke&&11!=qe||2==z&&1==Ut&&11!=mt||2!=z&&1==Ut?"one":"other"},mas:en,mg:Vo,mgo:en,mk:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=k.slice(-2),mt=z.slice(-1),Ut=z.slice(-2);return I?1==ke&&11!=qe?"one":2==ke&&12!=qe?"two":7!=ke&&8!=ke||17==qe||18==qe?"other":"many":ce&&1==ke&&11!=qe||1==mt&&11!=Ut?"one":"other"},ml:en,mn:en,mo:(v,I)=>{const L=String(v).split("."),k=!L[1],ce=Number(L[0])==v&&L[0].slice(-2);return I?1==v?"one":"other":1==v&&k?"one":!k||0==v||1!=v&&ce>=1&&ce<=19?"few":"other"},mr:(v,I)=>I?1==v?"one":2==v||3==v?"two":4==v?"few":"other":1==v?"one":"other",ms:(v,I)=>I&&1==v?"one":"other",mt:(v,I)=>{const L=String(v).split("."),z=Number(L[0])==v&&L[0].slice(-2);return I?"other":1==v?"one":2==v?"two":0==v||z>=3&&z<=10?"few":z>=11&&z<=19?"many":"other"},my:zr,nah:en,naq:vo,nb:en,nd:en,ne:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v;return I?k&&v>=1&&v<=4?"one":"other":1==v?"one":"other"},nl:mo,nn:en,nnh:en,no:en,nqo:zr,nr:en,nso:Vo,ny:en,nyn:en,om:en,or:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v;return I?1==v||5==v||k&&v>=7&&v<=9?"one":2==v||3==v?"two":4==v?"few":6==v?"many":"other":1==v?"one":"other"},os:en,osa:zr,pa:Vo,pap:en,pcm:sc,pl:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-1),ke=k.slice(-2);return I?"other":1==v&&z?"one":z&&ce>=2&&ce<=4&&(ke<12||ke>14)?"few":z&&1!=k&&(0==ce||1==ce)||z&&ce>=5&&ce<=9||z&&ke>=12&&ke<=14?"many":"other"},prg:(v,I)=>{const L=String(v).split("."),k=L[1]||"",z=k.length,ce=Number(L[0])==v,ke=ce&&L[0].slice(-1),qe=ce&&L[0].slice(-2),mt=k.slice(-2),Ut=k.slice(-1);return I?"other":ce&&0==ke||qe>=11&&qe<=19||2==z&&mt>=11&&mt<=19?"zero":1==ke&&11!=qe||2==z&&1==Ut&&11!=mt||2!=z&&1==Ut?"one":"other"},ps:en,pt:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-6);return I?"other":0==k||1==k?"one":0!=k&&0==ce&&z?"many":"other"},pt_PT:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-6);return I?"other":1==v&&z?"one":0!=k&&0==ce&&z?"many":"other"},rm:en,ro:(v,I)=>{const L=String(v).split("."),k=!L[1],ce=Number(L[0])==v&&L[0].slice(-2);return I?1==v?"one":"other":1==v&&k?"one":!k||0==v||1!=v&&ce>=1&&ce<=19?"few":"other"},rof:en,ru:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-1),ke=k.slice(-2);return I?"other":z&&1==ce&&11!=ke?"one":z&&ce>=2&&ce<=4&&(ke<12||ke>14)?"few":z&&0==ce||z&&ce>=5&&ce<=9||z&&ke>=11&&ke<=14?"many":"other"},rwk:en,sah:zr,saq:en,sat:vo,sc:(v,I)=>{const L=String(v).split(".");return I?11==v||8==v||80==v||800==v?"many":"other":1!=v||L[1]?"other":"one"},scn:(v,I)=>{const L=String(v).split(".");return I?11==v||8==v||80==v||800==v?"many":"other":1!=v||L[1]?"other":"one"},sd:en,sdh:en,se:vo,seh:en,ses:zr,sg:zr,sh:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=k.slice(-2),mt=z.slice(-1),Ut=z.slice(-2);return I?"other":ce&&1==ke&&11!=qe||1==mt&&11!=Ut?"one":ce&&ke>=2&&ke<=4&&(qe<12||qe>14)||mt>=2&&mt<=4&&(Ut<12||Ut>14)?"few":"other"},shi:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v;return I?"other":v>=0&&v<=1?"one":k&&v>=2&&v<=10?"few":"other"},si:(v,I)=>{const L=String(v).split(".");return I?"other":0==v||1==v||0==L[0]&&1==(L[1]||"")?"one":"other"},sk:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1];return I?"other":1==v&&z?"one":k>=2&&k<=4&&z?"few":z?"other":"many"},sl:(v,I)=>{const L=String(v).split("."),z=!L[1],ce=L[0].slice(-2);return I?"other":z&&1==ce?"one":z&&2==ce?"two":z&&(3==ce||4==ce)||!z?"few":"other"},sma:vo,smi:vo,smj:vo,smn:vo,sms:vo,sn:en,so:en,sq:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v,z=k&&L[0].slice(-1),ce=k&&L[0].slice(-2);return I?1==v?"one":4==z&&14!=ce?"many":"other":1==v?"one":"other"},sr:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=k.slice(-2),mt=z.slice(-1),Ut=z.slice(-2);return I?"other":ce&&1==ke&&11!=qe||1==mt&&11!=Ut?"one":ce&&ke>=2&&ke<=4&&(qe<12||qe>14)||mt>=2&&mt<=4&&(Ut<12||Ut>14)?"few":"other"},ss:en,ssy:en,st:en,su:zr,sv:(v,I)=>{const L=String(v).split("."),k=!L[1],z=Number(L[0])==v,ce=z&&L[0].slice(-1),ke=z&&L[0].slice(-2);return I?1!=ce&&2!=ce||11==ke||12==ke?"other":"one":1==v&&k?"one":"other"},sw:mo,syr:en,ta:en,te:en,teo:en,th:zr,ti:Vo,tig:en,tk:(v,I)=>{const L=String(v).split("."),z=Number(L[0])==v&&L[0].slice(-1);return I?6==z||9==z||10==v?"few":"other":1==v?"one":"other"},tl:(v,I)=>{const L=String(v).split("."),k=L[0],z=L[1]||"",ce=!L[1],ke=k.slice(-1),qe=z.slice(-1);return I?1==v?"one":"other":ce&&(1==k||2==k||3==k)||ce&&4!=ke&&6!=ke&&9!=ke||!ce&&4!=qe&&6!=qe&&9!=qe?"one":"other"},tn:en,to:zr,tpi:zr,tr:en,ts:en,tzm:(v,I)=>{const L=String(v).split("."),k=Number(L[0])==v;return I?"other":0==v||1==v||k&&v>=11&&v<=99?"one":"other"},ug:en,uk:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=Number(L[0])==v,ke=ce&&L[0].slice(-1),qe=ce&&L[0].slice(-2),mt=k.slice(-1),Ut=k.slice(-2);return I?3==ke&&13!=qe?"few":"other":z&&1==mt&&11!=Ut?"one":z&&mt>=2&&mt<=4&&(Ut<12||Ut>14)?"few":z&&0==mt||z&&mt>=5&&mt<=9||z&&Ut>=11&&Ut<=14?"many":"other"},und:zr,ur:mo,uz:en,ve:en,vec:(v,I)=>{const L=String(v).split("."),k=L[0],z=!L[1],ce=k.slice(-6);return I?11==v||8==v||80==v||800==v?"many":"other":1==v&&z?"one":0!=k&&0==ce&&z?"many":"other"},vi:(v,I)=>I&&1==v?"one":"other",vo:en,vun:en,wa:Vo,wae:en,wo:zr,xh:en,xog:en,yi:mo,yo:zr,yue:zr,zh:zr,zu:sc});function dl(v){if("string"!=typeof v||v.length<2)throw new RangeError("Invalid language tag: ".concat(v));if(v.startsWith("pt-PT"))return"pt-PT";var I=v.match(/.+?(?=[-_])/);return I?I[0]:v}function Du(v){if("function"==typeof v){var I=dl(v.name);return{isDefault:!1,id:Ye(I),lc:I,locale:v.name,getPlural:v,cardinals:v.cardinals||[],ordinals:v.ordinals||[]}}var L=dl(v),k=Ye(L);return function Vf(v){return v in Fc}(k)?{isDefault:!0,id:k,lc:L,locale:v,getCardinal:yt[k],getPlural:Fc[k],cardinals:ed[k].cardinal,ordinals:ed[k].ordinal}:null}function Hf(v){return Ye(dl(v))in Fc}var Op=function(){function v(I,L){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:L&&L.strictNumberSign||!1,strictPluralKeys:!0},L),"*"===I?this.plurals=function Ap(v){var I=Object.keys(Fc).filter(function(L){return L!==v});return I.unshift(v),I.map(Du)}(v.defaultLocale):Array.isArray(I)?this.plurals=I.map(Du).filter(Boolean):I&&(k=Du(I))&&(this.plurals=[k]),0===this.plurals.length){var k=Du(v.defaultLocale);this.plurals=[k]}}return v.escape=function(I,L){var k=L?/[#{}]/g:/[{}]/g;return String(I).replace(k,"'$&'")},v.supportedLocalesOf=function(I){return(Array.isArray(I)?I:[I]).filter(Hf)},v.prototype.resolvedOptions=function(){return Q(Q({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},v.prototype.compile=function(I){var L,k,z=new Yn(this.options),ce="return "+z.compile(I,this.plurals[0]),ke=[],qe=[];try{for(var mt=o(Object.entries(z.runtime)),Ut=mt.next();!Ut.done;Ut=mt.next()){var Nn=c(Ut.value,2),rr=Nn[1];ke.push(Nn[0]),qe.push(rr)}}catch(Zr){L={error:Zr}}finally{try{Ut&&!Ut.done&&(k=mt.return)&&k.call(mt)}finally{if(L)throw L.error}}return(new(Function.bind.apply(Function,_(_([void 0],c(ke),!1),[ce],!1)))).apply(void 0,_([],c(qe),!1))},v.defaultLocale="en",v}();return Op}()},812:(ie,Q,o)=>{"use strict";var c=o(5861);var w=o(9407),C=o(6821),E=o(6879),g=o(6593),p=o(7582),h=o(5879),F=o(4187),T=o(3072),$=o(1365);let x=(()=>{var d;class s{constructor(){this.translate=(0,h.f3M)($.sK),this.platform=(0,h.f3M)(w.Z)}initialize(){const l=this.platform.LANGUAGE_LIST.filter(j=>!j.disabled&&j.value!==C.lI.auto).map(j=>j.value),D=Array.from(new Set([...l,this.platform.BASE_LANG]));this.translate.addLangs(D),this.translate.setDefaultLang(this.platform.BASE_LANG)}useBrowserLang(){const l=this.translate.getLangs(),D=this.translate.getBrowserLang(),j=D&&l.includes(D)?D:this.platform.BASE_LANG;return this.translate.use(j)}changeLang(l){return this.translate.getLangs().includes(l)?this.translate.use(l):this.useBrowserLang()}}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();var J=o(1791),te=o(6814),U=o(4911),ee=o(8504),de=o(2438),le=o(2096),we=o(5211),Ne=o(8645),q=o(5592),se=o(2420);const oe=new q.y(se.Z);var he=o(3019),_e=o(7398),re=o(2181),ne=o(4664),ve=o(3168),je=o(4674),Ge=o(4829),Le=o(9360);const ze={connector:()=>new Ne.x};function Ee(d,s=ze){const{connector:u}=s;return(0,Le.e)((l,D)=>{const j=u();(0,Ge.Xf)(d(function Se(d){return new q.y(s=>d.subscribe(s))}(j))).subscribe(D),D.add(l.subscribe(j))})}var Ve=o(8180),Ue=o(9397),st=o(5177);const Xe="Service workers are disabled or not supported by this browser";class pt{constructor(s){if(this.serviceWorker=s,s){const l=(0,de.R)(s,"controllerchange").pipe((0,_e.U)(()=>s.controller)),D=(0,U.P)(()=>(0,le.of)(s.controller)),j=(0,we.z)(D,l);this.worker=j.pipe((0,re.h)(Je=>!!Je)),this.registration=this.worker.pipe((0,ne.w)(()=>s.getRegistration()));const Fe=(0,de.R)(s,"message").pipe((0,_e.U)(Je=>Je.data)).pipe((0,re.h)(Je=>Je&&Je.type)).pipe(function xe(d){return d?s=>Ee(d)(s):s=>function be(d,s){const u=(0,je.m)(d)?d:()=>d;return(0,je.m)(s)?Ee(s,{connector:u}):l=>new ve.c(l,u)}(new Ne.x)(s)}());Fe.connect(),this.events=Fe}else this.worker=this.events=this.registration=function dt(d){return(0,U.P)(()=>(0,ee._)(new Error(d)))}(Xe)}postMessage(s,u){return this.worker.pipe((0,Ve.q)(1),(0,Ue.b)(l=>{l.postMessage({action:s,...u})})).toPromise().then(()=>{})}postMessageWithOperation(s,u,l){const D=this.waitForOperationCompleted(l),j=this.postMessage(s,u);return Promise.all([j,D]).then(([,X])=>X)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(s){let u;return u="string"==typeof s?l=>l.type===s:l=>s.includes(l.type),this.events.pipe((0,re.h)(u))}nextEventOfType(s){return this.eventsOfType(s).pipe((0,Ve.q)(1))}waitForOperationCompleted(s){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,re.h)(u=>u.nonce===s),(0,Ve.q)(1),(0,_e.U)(u=>{if(void 0!==u.result)return u.result;throw new Error(u.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let ln=(()=>{var d;class s{get isEnabled(){return this.sw.isEnabled}constructor(l){if(this.sw=l,this.pushManager=null,this.subscriptionChanges=new Ne.x,!l.isEnabled)return this.messages=oe,this.notificationClicks=oe,void(this.subscription=oe);this.messages=this.sw.eventsOfType("PUSH").pipe((0,_e.U)(j=>j.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,_e.U)(j=>j.data)),this.pushManager=this.sw.registration.pipe((0,_e.U)(j=>j.pushManager));const D=this.pushManager.pipe((0,ne.w)(j=>j.getSubscription()));this.subscription=(0,he.T)(D,this.subscriptionChanges)}requestSubscription(l){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Xe));const D={userVisibleOnly:!0};let j=this.decodeBase64(l.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),X=new Uint8Array(new ArrayBuffer(j.length));for(let ae=0;ae<j.length;ae++)X[ae]=j.charCodeAt(ae);return D.applicationServerKey=X,this.pushManager.pipe((0,ne.w)(ae=>ae.subscribe(D)),(0,Ve.q)(1)).toPromise().then(ae=>(this.subscriptionChanges.next(ae),ae))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Ve.q)(1),(0,ne.w)(D=>{if(null===D)throw new Error("Not subscribed to push notifications.");return D.unsubscribe().then(j=>{if(!j)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Xe))}decodeBase64(l){return atob(l)}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(pt))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})(),rn=(()=>{var d;class s{get isEnabled(){return this.sw.isEnabled}constructor(l){if(this.sw=l,!l.isEnabled)return this.versionUpdates=oe,this.available=oe,this.activated=oe,void(this.unrecoverable=oe);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,re.h)(D=>"VERSION_READY"===D.type),(0,_e.U)(D=>({type:"UPDATE_AVAILABLE",current:D.currentVersion,available:D.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xe));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:l},l)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Xe));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:l},l)}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(pt))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();const bn=new h.OlP("NGSW_REGISTER_SCRIPT");function an(d,s,u,l){return()=>{if(!(0,te.NF)(l)||!("serviceWorker"in navigator)||!1===u.enabled)return;let D;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof u.registrationStrategy)D=u.registrationStrategy();else{const[X,...ae]=(u.registrationStrategy||"registerWhenStable:30000").split(":");switch(X){case"registerImmediately":D=(0,le.of)(null);break;case"registerWithDelay":D=$n(+ae[0]||0);break;case"registerWhenStable":D=ae[0]?(0,he.T)(lr(d),$n(+ae[0])):lr(d);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${u.registrationStrategy}`)}}d.get(h.R0b).runOutsideAngular(()=>D.pipe((0,Ve.q)(1)).subscribe(()=>navigator.serviceWorker.register(s,{scope:u.scope}).catch(X=>console.error("Service worker registration failed with:",X))))}}function $n(d){return(0,le.of)(null).pipe((0,st.g)(d))}function lr(d){return d.get(h.z2F).isStable.pipe((0,re.h)(u=>u))}function fr(d,s){return new pt((0,te.NF)(s)&&!1!==d.enabled?navigator.serviceWorker:void 0)}class Bn{}function Ar(d,s={}){return(0,h.MR2)([ln,rn,{provide:bn,useValue:d},{provide:Bn,useValue:s},{provide:pt,useFactory:fr,deps:[Bn,h.Lbi]},{provide:h.ip1,useFactory:an,deps:[h.zs3,bn,Bn,h.Lbi],multi:!0}])}let Ur=(()=>{var d;class s{static register(l,D={}){return{ngModule:s,providers:[Ar(l,D)]}}}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:[ln,rn]}),s})();var ni=o(1687),Xr=o(7921),lt=o(1374),Mt=o(2572),Nt=o(3304),kt=o.n(Nt),He=o(8033);let ht=(()=>{var d;class s{constructor(){this.window=(0,h.f3M)(He.SC),this.VERSION_IS_READY="VERSION_READY",this.updates=(0,h.f3M)(rn),this.ngZone=(0,h.f3M)(h.R0b),this.ONE_HOUR_INTERVAL=kt()().add(1,"hour").diff(kt()(),"milliseconds"),this.updateIsReady$=this.updates.versionUpdates.pipe((0,re.h)(l=>l.type===this.VERSION_IS_READY),(0,_e.U)(l=>l.latestVersion.hash!==l.currentVersion.hash),(0,re.h)(l=>l))}initializeCheck(l){var D=this;return(0,ni.F)(l??this.ONE_HOUR_INTERVAL).pipe((0,Xr.O)(null),(0,re.h)(()=>this.window.navigator.onLine),(0,ne.w)((0,c.Z)(function*(){try{return yield D.updates.checkForUpdate()}catch(X){return console.error("Failed to check for updates:",X),!1}})),(0,lt.P)(X=>X))}initializeReloadWhenHidden(){const l=(0,he.T)(this.ngZone.onStable.pipe((0,_e.U)(()=>!0)),this.ngZone.onUnstable.pipe((0,_e.U)(()=>!1))),D=(0,de.R)(this.window,"visibilitychange").pipe((0,_e.U)(()=>this.window.document.hidden));return this.updateIsReady$.pipe((0,Ve.q)(1),(0,ne.w)(()=>(0,Mt.a)([D,l])),(0,re.h)(j=>j.every(X=>X)),(0,Ue.b)(()=>{this.window.location.reload()}),(0,_e.U)(()=>{}))}}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();var Et;let Jt=((Et=class{constructor(){this.platform=(0,h.f3M)(w.Z),this.connectionStatusFacadeService=(0,h.f3M)(T.yt),this.translateManagerService=(0,h.f3M)(x),this.checkUpdatesService=(0,h.f3M)(ht)}ngOnInit(){this.connectionStatusFacadeService.initialize(),this.translateManagerService.initialize(),this.translateManagerService.useBrowserLang().pipe((0,J.t)(this)).subscribe(),this.platform.printVersion(),this.checkUpdatesService.initializeCheck().subscribe(),this.checkUpdatesService.initializeReloadWhenHidden().subscribe()}}).\u0275fac=function(s){return new(s||Et)},Et.\u0275cmp=h.Xpm({type:Et,selectors:[["pss-root"]],standalone:!0,features:[h.jDz],decls:1,vars:0,template:function(s,u){1&s&&h._UZ(0,"router-outlet")},dependencies:[F.lC],encapsulation:2,changeDetection:0}),Et);Jt=(0,p.gn)([(0,J.c)()],Jt);var zt=o(9862),Ln=o(3680),Dn=o(6825);function wr(d){return new h.vHH(3e3,!1)}function Or(d){switch(d.length){case 0:return new Dn.ZN;case 1:return d[0];default:return new Dn.ZE(d)}}function Rt(d,s,u=new Map,l=new Map){const D=[],j=[];let X=-1,ae=null;if(s.forEach(Me=>{const Fe=Me.get("offset"),Je=Fe==X,et=Je&&ae||new Map;Me.forEach((ut,at)=>{let At=at,Wt=ut;if("offset"!==at)switch(At=d.normalizePropertyName(At,D),Wt){case Dn.k1:Wt=u.get(at);break;case Dn.l3:Wt=l.get(at);break;default:Wt=d.normalizeStyleValue(at,At,Wt,D)}et.set(At,Wt)}),Je||j.push(et),ae=et,X=Fe}),D.length)throw function gt(d){return new h.vHH(3502,!1)}();return j}function Tr(d,s,u,l){switch(s){case"start":d.onStart(()=>l(u&&mr(u,"start",d)));break;case"done":d.onDone(()=>l(u&&mr(u,"done",d)));break;case"destroy":d.onDestroy(()=>l(u&&mr(u,"destroy",d)))}}function mr(d,s,u){const j=ar(d.element,d.triggerName,d.fromState,d.toState,s||d.phaseName,u.totalTime??d.totalTime,!!u.disabled),X=d._data;return null!=X&&(j._data=X),j}function ar(d,s,u,l,D="",j=0,X){return{element:d,triggerName:s,fromState:u,toState:l,phaseName:D,totalTime:j,disabled:!!X}}function En(d,s,u){let l=d.get(s);return l||d.set(s,l=u),l}function Jn(d){const s=d.indexOf(":");return[d.substring(1,s),d.slice(s+1)]}const vr=(()=>typeof document>"u"?null:document.documentElement)();function kr(d){const s=d.parentNode||d.host||null;return s===vr?null:s}let ir=null,Di=!1;function Ui(d,s){for(;s;){if(s===d)return!0;s=kr(s)}return!1}function xs(d,s,u){if(u)return Array.from(d.querySelectorAll(s));const l=d.querySelector(s);return l?[l]:[]}let to=(()=>{var d;class s{validateStyleProperty(l){return function os(d){ir||(ir=function eo(){return typeof document<"u"?document.body:null}()||{},Di=!!ir.style&&"WebkitAppearance"in ir.style);let s=!0;return ir.style&&!function Qi(d){return"ebkit"==d.substring(1,6)}(d)&&(s=d in ir.style,!s&&Di&&(s="Webkit"+d.charAt(0).toUpperCase()+d.slice(1)in ir.style)),s}(l)}matchesElement(l,D){return!1}containsElement(l,D){return Ui(l,D)}getParentElement(l){return kr(l)}query(l,D,j){return xs(l,D,j)}computeStyle(l,D,j){return j||""}animate(l,D,j,X,ae,Me=[],Fe){return new Dn.ZN(j,X)}}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})(),wo=(()=>{class s{}return s.NOOP=new to,s})();const Ua=1e3,Bo="ng-enter",Ns="ng-leave",no="ng-trigger",vi=".ng-trigger",zs="ng-animating",So=".ng-animating";function bs(d){if("number"==typeof d)return d;const s=d.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:Gs(parseFloat(s[1]),s[2])}function Gs(d,s){return"s"===s?d*Ua:d}function Hr(d,s,u){return d.hasOwnProperty("duration")?d:function Yi(d,s,u){let D,j=0,X="";if("string"==typeof d){const ae=d.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ae)return s.push(wr()),{duration:0,delay:0,easing:""};D=Gs(parseFloat(ae[1]),ae[2]);const Me=ae[3];null!=Me&&(j=Gs(parseFloat(Me),ae[4]));const Fe=ae[5];Fe&&(X=Fe)}else D=d;if(!u){let ae=!1,Me=s.length;D<0&&(s.push(function zn(){return new h.vHH(3100,!1)}()),ae=!0),j<0&&(s.push(function In(){return new h.vHH(3101,!1)}()),ae=!0),ae&&s.splice(Me,0,wr())}return{duration:D,delay:j,easing:X}}(d,s,u)}function Ds(d,s={}){return Object.keys(d).forEach(u=>{s[u]=d[u]}),s}function Zi(d){const s=new Map;return Object.keys(d).forEach(u=>{s.set(u,d[u])}),s}function Kn(d,s=new Map,u){if(u)for(let[l,D]of u)s.set(l,D);for(let[l,D]of d)s.set(l,D);return s}function xr(d,s,u){s.forEach((l,D)=>{const j=Nr(D);u&&!u.has(D)&&u.set(D,d.style[j]),d.style[j]=l})}function gr(d,s){s.forEach((u,l)=>{const D=Nr(l);d.style[D]=""})}function Mi(d){return Array.isArray(d)?1==d.length?d[0]:(0,Dn.vP)(d):d}const ws=new RegExp("{{\\s*(.+?)\\s*}}","g");function as(d){let s=[];if("string"==typeof d){let u;for(;u=ws.exec(d);)s.push(u[1]);ws.lastIndex=0}return s}function Sr(d,s,u){const l=d.toString(),D=l.replace(ws,(j,X)=>{let ae=s[X];return null==ae&&(u.push(function is(d){return new h.vHH(3003,!1)}()),ae=""),ae.toString()});return D==l?d:D}function ro(d){const s=[];let u=d.next();for(;!u.done;)s.push(u.value),u=d.next();return s}const Co=/-+([a-z0-9])/g;function Nr(d){return d.replace(Co,(...s)=>s[1].toUpperCase())}function Lr(d,s,u){switch(s.type){case 7:return d.visitTrigger(s,u);case 0:return d.visitState(s,u);case 1:return d.visitTransition(s,u);case 2:return d.visitSequence(s,u);case 3:return d.visitGroup(s,u);case 4:return d.visitAnimate(s,u);case 5:return d.visitKeyframes(s,u);case 6:return d.visitStyle(s,u);case 8:return d.visitReference(s,u);case 9:return d.visitAnimateChild(s,u);case 10:return d.visitAnimateRef(s,u);case 11:return d.visitQuery(s,u);case 12:return d.visitStagger(s,u);default:throw function Gr(d){return new h.vHH(3004,!1)}()}}function Ws(d,s){return window.getComputedStyle(d)[s]}const Cs="*";function Mo(d,s){const u=[];return"string"==typeof d?d.split(/\s*,\s*/).forEach(l=>function Ks(d,s,u){if(":"==d[0]){const Me=function qr(d,s){switch(d){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,l)=>parseFloat(l)>parseFloat(u);case":decrement":return(u,l)=>parseFloat(l)<parseFloat(u);default:return s.push(function De(d){return new h.vHH(3016,!1)}()),"* => *"}}(d,u);if("function"==typeof Me)return void s.push(Me);d=Me}const l=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return u.push(function ye(d){return new h.vHH(3015,!1)}()),s;const D=l[1],j=l[2],X=l[3];s.push(gs(D,X));"<"==j[0]&&!(D==Cs&&X==Cs)&&s.push(gs(X,D))}(l,u,s)):u.push(d),u}const so=new Set(["true","1"]),Ls=new Set(["false","0"]);function gs(d,s){const u=so.has(d)||Ls.has(d),l=so.has(s)||Ls.has(s);return(D,j)=>{let X=d==Cs||d==D,ae=s==Cs||s==j;return!X&&u&&"boolean"==typeof D&&(X=D?so.has(d):Ls.has(d)),!ae&&l&&"boolean"==typeof j&&(ae=j?so.has(s):Ls.has(s)),X&&ae}}const To=new RegExp("s*:selfs*,?","g");function cs(d,s,u,l){return new ms(d).build(s,u,l)}class ms{constructor(s){this._driver=s}build(s,u,l){const D=new ua(u);return this._resetContextStyleTimingState(D),Lr(this,Mi(s),D)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,u){let l=u.queryCount=0,D=u.depCount=0;const j=[],X=[];return"@"==s.name.charAt(0)&&u.errors.push(function ri(){return new h.vHH(3006,!1)}()),s.definitions.forEach(ae=>{if(this._resetContextStyleTimingState(u),0==ae.type){const Me=ae,Fe=Me.name;Fe.toString().split(/\s*,\s*/).forEach(Je=>{Me.name=Je,j.push(this.visitState(Me,u))}),Me.name=Fe}else if(1==ae.type){const Me=this.visitTransition(ae,u);l+=Me.queryCount,D+=Me.depCount,X.push(Me)}else u.errors.push(function di(){return new h.vHH(3007,!1)}())}),{type:7,name:s.name,states:j,transitions:X,queryCount:l,depCount:D,options:null}}visitState(s,u){const l=this.visitStyle(s.styles,u),D=s.options&&s.options.params||null;if(l.containsDynamicStyles){const j=new Set,X=D||{};l.styles.forEach(ae=>{ae instanceof Map&&ae.forEach(Me=>{as(Me).forEach(Fe=>{X.hasOwnProperty(Fe)||j.add(Fe)})})}),j.size&&(ro(j.values()),u.errors.push(function ss(d,s){return new h.vHH(3008,!1)}()))}return{type:0,name:s.name,style:l,options:D?{params:D}:null}}visitTransition(s,u){u.queryCount=0,u.depCount=0;const l=Lr(this,Mi(s.animation),u);return{type:1,matchers:Mo(s.expr,u.errors),animation:l,queryCount:u.queryCount,depCount:u.depCount,options:yi(s.options)}}visitSequence(s,u){return{type:2,steps:s.steps.map(l=>Lr(this,l,u)),options:yi(s.options)}}visitGroup(s,u){const l=u.currentTime;let D=0;const j=s.steps.map(X=>{u.currentTime=l;const ae=Lr(this,X,u);return D=Math.max(D,u.currentTime),ae});return u.currentTime=D,{type:3,steps:j,options:yi(s.options)}}visitAnimate(s,u){const l=function Io(d,s){if(d.hasOwnProperty("duration"))return d;if("number"==typeof d)return oo(Hr(d,s).duration,0,"");const u=d;if(u.split(/\s+/).some(j=>"{"==j.charAt(0)&&"{"==j.charAt(1))){const j=oo(0,0,"");return j.dynamic=!0,j.strValue=u,j}const D=Hr(u,s);return oo(D.duration,D.delay,D.easing)}(s.timings,u.errors);u.currentAnimateTimings=l;let D,j=s.styles?s.styles:(0,Dn.oB)({});if(5==j.type)D=this.visitKeyframes(j,u);else{let X=s.styles,ae=!1;if(!X){ae=!0;const Fe={};l.easing&&(Fe.easing=l.easing),X=(0,Dn.oB)(Fe)}u.currentTime+=l.duration+l.delay;const Me=this.visitStyle(X,u);Me.isEmptyStep=ae,D=Me}return u.currentAnimateTimings=null,{type:4,timings:l,style:D,options:null}}visitStyle(s,u){const l=this._makeStyleAst(s,u);return this._validateStyleAst(l,u),l}_makeStyleAst(s,u){const l=[],D=Array.isArray(s.styles)?s.styles:[s.styles];for(let ae of D)"string"==typeof ae?ae===Dn.l3?l.push(ae):u.errors.push(new h.vHH(3002,!1)):l.push(Zi(ae));let j=!1,X=null;return l.forEach(ae=>{if(ae instanceof Map&&(ae.has("easing")&&(X=ae.get("easing"),ae.delete("easing")),!j))for(let Me of ae.values())if(Me.toString().indexOf("{{")>=0){j=!0;break}}),{type:6,styles:l,easing:X,offset:s.offset,containsDynamicStyles:j,options:null}}_validateStyleAst(s,u){const l=u.currentAnimateTimings;let D=u.currentTime,j=u.currentTime;l&&j>0&&(j-=l.duration+l.delay),s.styles.forEach(X=>{"string"!=typeof X&&X.forEach((ae,Me)=>{const Fe=u.collectedStyles.get(u.currentQuerySelector),Je=Fe.get(Me);let et=!0;Je&&(j!=D&&j>=Je.startTime&&D<=Je.endTime&&(u.errors.push(function Ci(d,s,u,l,D){return new h.vHH(3010,!1)}()),et=!1),j=Je.startTime),et&&Fe.set(Me,{startTime:j,endTime:D}),u.options&&function Ti(d,s,u){const l=s.params||{},D=as(d);D.length&&D.forEach(j=>{l.hasOwnProperty(j)||u.push(function mi(d){return new h.vHH(3001,!1)}())})}(ae,u.options,u.errors)})})}visitKeyframes(s,u){const l={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function bi(){return new h.vHH(3011,!1)}()),l;let j=0;const X=[];let ae=!1,Me=!1,Fe=0;const Je=s.steps.map(hr=>{const Pn=this._makeStyleAst(hr,u);let gn=null!=Pn.offset?Pn.offset:function ks(d){if("string"==typeof d)return null;let s=null;if(Array.isArray(d))d.forEach(u=>{if(u instanceof Map&&u.has("offset")){const l=u;s=parseFloat(l.get("offset")),l.delete("offset")}});else if(d instanceof Map&&d.has("offset")){const u=d;s=parseFloat(u.get("offset")),u.delete("offset")}return s}(Pn.styles),Mn=0;return null!=gn&&(j++,Mn=Pn.offset=gn),Me=Me||Mn<0||Mn>1,ae=ae||Mn<Fe,Fe=Mn,X.push(Mn),Pn});Me&&u.errors.push(function Vt(){return new h.vHH(3012,!1)}()),ae&&u.errors.push(function Te(){return new h.vHH(3200,!1)}());const et=s.steps.length;let ut=0;j>0&&j<et?u.errors.push(function ge(){return new h.vHH(3202,!1)}()):0==j&&(ut=1/(et-1));const at=et-1,At=u.currentTime,Wt=u.currentAnimateTimings,Sn=Wt.duration;return Je.forEach((hr,Pn)=>{const gn=ut>0?Pn==at?1:ut*Pn:X[Pn],Mn=gn*Sn;u.currentTime=At+Wt.delay+Mn,Wt.duration=Mn,this._validateStyleAst(hr,u),hr.offset=gn,l.styles.push(hr)}),l}visitReference(s,u){return{type:8,animation:Lr(this,Mi(s.animation),u),options:yi(s.options)}}visitAnimateChild(s,u){return u.depCount++,{type:9,options:yi(s.options)}}visitAnimateRef(s,u){return{type:10,animation:this.visitReference(s.animation,u),options:yi(s.options)}}visitQuery(s,u){const l=u.currentQuerySelector,D=s.options||{};u.queryCount++,u.currentQuery=s;const[j,X]=function Fs(d){const s=!!d.split(/\s*,\s*/).find(u=>":self"==u);return s&&(d=d.replace(To,"")),d=d.replace(/@\*/g,vi).replace(/@\w+/g,u=>vi+"-"+u.slice(1)).replace(/:animating/g,So),[d,s]}(s.selector);u.currentQuerySelector=l.length?l+" "+j:j,En(u.collectedStyles,u.currentQuerySelector,new Map);const ae=Lr(this,Mi(s.animation),u);return u.currentQuery=null,u.currentQuerySelector=l,{type:11,selector:j,limit:D.limit||0,optional:!!D.optional,includeSelf:X,animation:ae,originalSelector:s.selector,options:yi(s.options)}}visitStagger(s,u){u.currentQuery||u.errors.push(function Pe(){return new h.vHH(3013,!1)}());const l="full"===s.timings?{duration:0,delay:0,easing:"full"}:Hr(s.timings,u.errors,!0);return{type:12,animation:Lr(this,Mi(s.animation),u),timings:l,options:null}}}class ua{constructor(s){this.errors=s,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function yi(d){return d?(d=Ds(d)).params&&(d.params=function An(d){return d?Ds(d):null}(d.params)):d={},d}function oo(d,s,u){return{duration:d,delay:s,easing:u}}function Ii(d,s,u,l,D,j,X=null,ae=!1){return{type:1,element:d,keyframes:s,preStyleProps:u,postStyleProps:l,duration:D,delay:j,totalTime:D+j,easing:X,subTimeline:ae}}class Ji{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,u){let l=this._map.get(s);l||this._map.set(s,l=[]),l.push(...u)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const ii=new RegExp(":enter","g"),Ko=new RegExp(":leave","g");function vs(d,s,u,l,D,j=new Map,X=new Map,ae,Me,Fe=[]){return(new $s).buildKeyframes(d,s,u,l,D,j,X,ae,Me,Fe)}class $s{buildKeyframes(s,u,l,D,j,X,ae,Me,Fe,Je=[]){Fe=Fe||new Ji;const et=new Qs(s,u,Fe,D,j,Je,[]);et.options=Me;const ut=Me.delay?bs(Me.delay):0;et.currentTimeline.delayNextStep(ut),et.currentTimeline.setStyles([X],null,et.errors,Me),Lr(this,l,et);const at=et.timelines.filter(At=>At.containsAnimation());if(at.length&&ae.size){let At;for(let Wt=at.length-1;Wt>=0;Wt--){const Sn=at[Wt];if(Sn.element===u){At=Sn;break}}At&&!At.allowOnlyTimelineStyles()&&At.setStyles([ae],null,et.errors,Me)}return at.length?at.map(At=>At.buildKeyframes()):[Ii(u,[],[],[],0,ut,"",!1)]}visitTrigger(s,u){}visitState(s,u){}visitTransition(s,u){}visitAnimateChild(s,u){const l=u.subInstructions.get(u.element);if(l){const D=u.createSubContext(s.options),j=u.currentTimeline.currentTime,X=this._visitSubInstructions(l,D,D.options);j!=X&&u.transformIntoNewTimeline(X)}u.previousNode=s}visitAnimateRef(s,u){const l=u.createSubContext(s.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([s.options,s.animation.options],u,l),this.visitReference(s.animation,l),u.transformIntoNewTimeline(l.currentTimeline.currentTime),u.previousNode=s}_applyAnimationRefDelays(s,u,l){for(const D of s){const j=D?.delay;if(j){const X="number"==typeof j?j:bs(Sr(j,D?.params??{},u.errors));l.delayNextStep(X)}}}_visitSubInstructions(s,u,l){let j=u.currentTimeline.currentTime;const X=null!=l.duration?bs(l.duration):null,ae=null!=l.delay?bs(l.delay):null;return 0!==X&&s.forEach(Me=>{const Fe=u.appendInstructionToTimeline(Me,X,ae);j=Math.max(j,Fe.duration+Fe.delay)}),j}visitReference(s,u){u.updateOptions(s.options,!0),Lr(this,s.animation,u),u.previousNode=s}visitSequence(s,u){const l=u.subContextCount;let D=u;const j=s.options;if(j&&(j.params||j.delay)&&(D=u.createSubContext(j),D.transformIntoNewTimeline(),null!=j.delay)){6==D.previousNode.type&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=ai);const X=bs(j.delay);D.delayNextStep(X)}s.steps.length&&(s.steps.forEach(X=>Lr(this,X,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>l&&D.transformIntoNewTimeline()),u.previousNode=s}visitGroup(s,u){const l=[];let D=u.currentTimeline.currentTime;const j=s.options&&s.options.delay?bs(s.options.delay):0;s.steps.forEach(X=>{const ae=u.createSubContext(s.options);j&&ae.delayNextStep(j),Lr(this,X,ae),D=Math.max(D,ae.currentTimeline.currentTime),l.push(ae.currentTimeline)}),l.forEach(X=>u.currentTimeline.mergeTimelineCollectedStyles(X)),u.transformIntoNewTimeline(D),u.previousNode=s}_visitTiming(s,u){if(s.dynamic){const l=s.strValue;return Hr(u.params?Sr(l,u.params,u.errors):l,u.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,u){const l=u.currentAnimateTimings=this._visitTiming(s.timings,u),D=u.currentTimeline;l.delay&&(u.incrementTime(l.delay),D.snapshotCurrentStyles());const j=s.style;5==j.type?this.visitKeyframes(j,u):(u.incrementTime(l.duration),this.visitStyle(j,u),D.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=s}visitStyle(s,u){const l=u.currentTimeline,D=u.currentAnimateTimings;!D&&l.hasCurrentStyleProperties()&&l.forwardFrame();const j=D&&D.easing||s.easing;s.isEmptyStep?l.applyEmptyStep(j):l.setStyles(s.styles,j,u.errors,u.options),u.previousNode=s}visitKeyframes(s,u){const l=u.currentAnimateTimings,D=u.currentTimeline.duration,j=l.duration,ae=u.createSubContext().currentTimeline;ae.easing=l.easing,s.styles.forEach(Me=>{ae.forwardTime((Me.offset||0)*j),ae.setStyles(Me.styles,Me.easing,u.errors,u.options),ae.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(ae),u.transformIntoNewTimeline(D+j),u.previousNode=s}visitQuery(s,u){const l=u.currentTimeline.currentTime,D=s.options||{},j=D.delay?bs(D.delay):0;j&&(6===u.previousNode.type||0==l&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=ai);let X=l;const ae=u.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!D.optional,u.errors);u.currentQueryTotal=ae.length;let Me=null;ae.forEach((Fe,Je)=>{u.currentQueryIndex=Je;const et=u.createSubContext(s.options,Fe);j&&et.delayNextStep(j),Fe===u.element&&(Me=et.currentTimeline),Lr(this,s.animation,et),et.currentTimeline.applyStylesToKeyframe(),X=Math.max(X,et.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(X),Me&&(u.currentTimeline.mergeTimelineCollectedStyles(Me),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=s}visitStagger(s,u){const l=u.parentContext,D=u.currentTimeline,j=s.timings,X=Math.abs(j.duration),ae=X*(u.currentQueryTotal-1);let Me=X*u.currentQueryIndex;switch(j.duration<0?"reverse":j.easing){case"reverse":Me=ae-Me;break;case"full":Me=l.currentStaggerTime}const Je=u.currentTimeline;Me&&Je.delayNextStep(Me);const et=Je.currentTime;Lr(this,s.animation,u),u.previousNode=s,l.currentStaggerTime=D.currentTime-et+(D.startTime-l.currentTimeline.startTime)}}const ai={};class Qs{constructor(s,u,l,D,j,X,ae,Me){this._driver=s,this.element=u,this.subInstructions=l,this._enterClassName=D,this._leaveClassName=j,this.errors=X,this.timelines=ae,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ai,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Me||new Ao(this._driver,u,0),ae.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,u){if(!s)return;const l=s;let D=this.options;null!=l.duration&&(D.duration=bs(l.duration)),null!=l.delay&&(D.delay=bs(l.delay));const j=l.params;if(j){let X=D.params;X||(X=this.options.params={}),Object.keys(j).forEach(ae=>{(!u||!X.hasOwnProperty(ae))&&(X[ae]=Sr(j[ae],X,this.errors))})}}_copyOptions(){const s={};if(this.options){const u=this.options.params;if(u){const l=s.params={};Object.keys(u).forEach(D=>{l[D]=u[D]})}}return s}createSubContext(s=null,u,l){const D=u||this.element,j=new Qs(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,l||0));return j.previousNode=this.previousNode,j.currentAnimateTimings=this.currentAnimateTimings,j.options=this._copyOptions(),j.updateOptions(s),j.currentQueryIndex=this.currentQueryIndex,j.currentQueryTotal=this.currentQueryTotal,j.parentContext=this,this.subContextCount++,j}transformIntoNewTimeline(s){return this.previousNode=ai,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,u,l){const D={duration:u??s.duration,delay:this.currentTimeline.currentTime+(l??0)+s.delay,easing:""},j=new Ha(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,D,s.stretchStartingKeyframe);return this.timelines.push(j),D}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,u,l,D,j,X){let ae=[];if(D&&ae.push(this.element),s.length>0){s=(s=s.replace(ii,"."+this._enterClassName)).replace(Ko,"."+this._leaveClassName);let Fe=this._driver.query(this.element,s,1!=l);0!==l&&(Fe=l<0?Fe.slice(Fe.length+l,Fe.length):Fe.slice(0,l)),ae.push(...Fe)}return!j&&0==ae.length&&X.push(function Oe(d){return new h.vHH(3014,!1)}()),ae}}class Ao{constructor(s,u,l,D){this._driver=s,this.element=u,this.startTime=l,this._elementTimelineStylesLookup=D,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,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(s){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+s),u&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,u){return this.applyStylesToKeyframe(),new Ao(this._driver,s,u||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+=1,this._loadKeyframe()}forwardTime(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,u){this._localTimelineStyles.set(s,u),this._globalTimelineStyles.set(s,u),this._styleSummary.set(s,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[u,l]of this._globalTimelineStyles)this._backFill.set(u,l||Dn.l3),this._currentKeyframe.set(u,Dn.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,u,l,D){u&&this._previousKeyframe.set("easing",u);const j=D&&D.params||{},X=function Qo(d,s){const u=new Map;let l;return d.forEach(D=>{if("*"===D){l=l||s.keys();for(let j of l)u.set(j,Dn.l3)}else Kn(D,u)}),u}(s,this._globalTimelineStyles);for(let[ae,Me]of X){const Fe=Sr(Me,j,l);this._pendingStyles.set(ae,Fe),this._localTimelineStyles.has(ae)||this._backFill.set(ae,this._globalTimelineStyles.get(ae)??Dn.l3),this._updateStyle(ae,Fe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((s,u)=>{this._currentKeyframe.set(u,s)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((s,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,s)}))}snapshotCurrentStyles(){for(let[s,u]of this._localTimelineStyles)this._pendingStyles.set(s,u),this._updateStyle(s,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let u in this._currentKeyframe)s.push(u);return s}mergeTimelineCollectedStyles(s){s._styleSummary.forEach((u,l)=>{const D=this._styleSummary.get(l);(!D||u.time>D.time)&&this._updateStyle(l,u.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,u=new Set,l=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((ae,Me)=>{const Fe=Kn(ae,new Map,this._backFill);Fe.forEach((Je,et)=>{Je===Dn.k1?s.add(et):Je===Dn.l3&&u.add(et)}),l||Fe.set("offset",Me/this.duration),D.push(Fe)});const j=s.size?ro(s.values()):[],X=u.size?ro(u.values()):[];if(l){const ae=D[0],Me=new Map(ae);ae.set("offset",0),Me.set("offset",1),D=[ae,Me]}return Ii(this.element,D,j,X,this.duration,this.startTime,this.easing,!1)}}class Ha extends Ao{constructor(s,u,l,D,j,X,ae=!1){super(s,u,X.delay),this.keyframes=l,this.preStyleProps=D,this.postStyleProps=j,this._stretchStartingKeyframe=ae,this.timings={duration:X.duration,delay:X.delay,easing:X.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:u,duration:l,easing:D}=this.timings;if(this._stretchStartingKeyframe&&u){const j=[],X=l+u,ae=u/X,Me=Kn(s[0]);Me.set("offset",0),j.push(Me);const Fe=Kn(s[0]);Fe.set("offset",la(ae)),j.push(Fe);const Je=s.length-1;for(let et=1;et<=Je;et++){let ut=Kn(s[et]);const at=ut.get("offset");ut.set("offset",la((u+at*l)/X)),j.push(ut)}l=X,u=0,D="",s=j}return Ii(this.element,s,this.preStyleProps,this.postStyleProps,l,u,D,!0)}}function la(d,s=3){const u=Math.pow(10,s-1);return Math.round(d*u)/u}class fa{}const Va=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"]);class $r extends fa{normalizePropertyName(s,u){return Nr(s)}normalizeStyleValue(s,u,l,D){let j="";const X=l.toString().trim();if(Va.has(u)&&0!==l&&"0"!==l)if("number"==typeof l)j="px";else{const ae=l.match(/^[+-]?[\d\.]+([a-z]*)$/);ae&&0==ae[1].length&&D.push(function Wr(d,s){return new h.vHH(3005,!1)}())}return X+j}}function ao(d,s,u,l,D,j,X,ae,Me,Fe,Je,et,ut){return{type:0,element:d,triggerName:s,isRemovalTransition:D,fromState:u,fromStyles:j,toState:l,toStyles:X,timelines:ae,queriedElements:Me,preStyleProps:Fe,postStyleProps:Je,totalTime:et,errors:ut}}const Yo={};class ha{constructor(s,u,l){this._triggerName=s,this.ast=u,this._stateStyles=l}match(s,u,l,D){return function fc(d,s,u,l,D){return d.some(j=>j(s,u,l,D))}(this.ast.matchers,s,u,l,D)}buildStyles(s,u,l){let D=this._stateStyles.get("*");return void 0!==s&&(D=this._stateStyles.get(s?.toString())||D),D?D.buildStyles(u,l):new Map}build(s,u,l,D,j,X,ae,Me,Fe,Je){const et=[],ut=this.ast.options&&this.ast.options.params||Yo,At=this.buildStyles(l,ae&&ae.params||Yo,et),Wt=Me&&Me.params||Yo,Sn=this.buildStyles(D,Wt,et),hr=new Set,Pn=new Map,gn=new Map,Mn="void"===D,Yr={params:hc(Wt,ut),delay:this.ast.options?.delay},br=Je?[]:vs(s,u,this.ast.animation,j,X,At,Sn,Yr,Fe,et);let dr=0;if(br.forEach(Ki=>{dr=Math.max(Ki.duration+Ki.delay,dr)}),et.length)return ao(u,this._triggerName,l,D,Mn,At,Sn,[],[],Pn,gn,dr,et);br.forEach(Ki=>{const Ei=Ki.element,go=En(Pn,Ei,new Set);Ki.preStyleProps.forEach(Xs=>go.add(Xs));const Js=En(gn,Ei,new Set);Ki.postStyleProps.forEach(Xs=>Js.add(Xs)),Ei!==u&&hr.add(Ei)});const ui=ro(hr.values());return ao(u,this._triggerName,l,D,Mn,At,Sn,br,ui,Pn,gn,dr)}}function hc(d,s){const u=Ds(s);for(const l in d)d.hasOwnProperty(l)&&null!=d[l]&&(u[l]=d[l]);return u}class Hc{constructor(s,u,l){this.styles=s,this.defaultParams=u,this.normalizer=l}buildStyles(s,u){const l=new Map,D=Ds(this.defaultParams);return Object.keys(s).forEach(j=>{const X=s[j];null!==X&&(D[j]=X)}),this.styles.styles.forEach(j=>{"string"!=typeof j&&j.forEach((X,ae)=>{X&&(X=Sr(X,D,u));const Me=this.normalizer.normalizePropertyName(ae,u);X=this.normalizer.normalizeStyleValue(ae,Me,X,u),l.set(ae,X)})}),l}}class Ga{constructor(s,u,l){this.name=s,this.ast=u,this._normalizer=l,this.transitionFactories=[],this.states=new Map,u.states.forEach(D=>{this.states.set(D.name,new Hc(D.style,D.options&&D.options.params||{},l))}),ga(this.states,"true","1"),ga(this.states,"false","0"),u.transitions.forEach(D=>{this.transitionFactories.push(new ha(s,D,this.states))}),this.fallbackTransition=function pa(d,s,u){return new ha(d,{type:1,animation:{type:2,steps:[],options:null},matchers:[(X,ae)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,u,l,D){return this.transitionFactories.find(X=>X.match(s,u,l,D))||null}matchStyles(s,u,l){return this.fallbackTransition.buildStyles(s,u,l)}}function ga(d,s,u){d.has(s)?d.has(u)||d.set(u,d.get(s)):d.has(u)&&d.set(s,d.get(u))}const Wa=new Ji;class N{constructor(s,u,l){this.bodyNode=s,this._driver=u,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,u){const l=[],j=cs(this._driver,u,l,[]);if(l.length)throw function un(d){return new h.vHH(3503,!1)}();this._animations.set(s,j)}_buildPlayer(s,u,l){const D=s.element,j=Rt(this._normalizer,s.keyframes,u,l);return this._driver.animate(D,j,s.duration,s.delay,s.easing,[],!0)}create(s,u,l={}){const D=[],j=this._animations.get(s);let X;const ae=new Map;if(j?(X=vs(this._driver,u,j,Bo,Ns,new Map,new Map,l,Wa,D),X.forEach(Je=>{const et=En(ae,Je.element,new Map);Je.postStyleProps.forEach(ut=>et.set(ut,null))})):(D.push(function Gn(){return new h.vHH(3300,!1)}()),X=[]),D.length)throw function Ye(d){return new h.vHH(3504,!1)}();ae.forEach((Je,et)=>{Je.forEach((ut,at)=>{Je.set(at,this._driver.computeStyle(et,at,Dn.l3))})});const Fe=Or(X.map(Je=>{const et=ae.get(Je.element);return this._buildPlayer(Je,new Map,et)}));return this._playersById.set(s,Fe),Fe.onDestroy(()=>this.destroy(s)),this.players.push(Fe),Fe}destroy(s){const u=this._getPlayer(s);u.destroy(),this._playersById.delete(s);const l=this.players.indexOf(u);l>=0&&this.players.splice(l,1)}_getPlayer(s){const u=this._playersById.get(s);if(!u)throw function Ae(d){return new h.vHH(3301,!1)}();return u}listen(s,u,l,D){const j=ar(u,"","","");return Tr(this._getPlayer(s),l,j,D),()=>{}}command(s,u,l,D){if("register"==l)return void this.register(s,D[0]);if("create"==l)return void this.create(s,u,D[0]||{});const j=this._getPlayer(s);switch(l){case"play":j.play();break;case"pause":j.pause();break;case"reset":j.reset();break;case"restart":j.restart();break;case"finish":j.finish();break;case"init":j.init();break;case"setPosition":j.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(s)}}}const m="ng-animate-queued",V="ng-animate-disabled",tt=[],ct={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},vt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},wt="__ng_removed";class Pt{get params(){return this.options.params}constructor(s,u=""){this.namespaceId=u;const l=s&&s.hasOwnProperty("value");if(this.value=function Qn(d){return d??null}(l?s.value:s),l){const j=Ds(s);delete j.value,this.options=j}else this.options={};this.options.params||(this.options.params={})}absorbOptions(s){const u=s.params;if(u){const l=this.options.params;Object.keys(u).forEach(D=>{null==l[D]&&(l[D]=u[D])})}}}const Tt="void",Lt=new Pt(Tt);class Qt{constructor(s,u,l){this.id=s,this.hostElement=u,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,er(u,this._hostClassName)}listen(s,u,l,D){if(!this._triggers.has(u))throw function ot(d,s){return new h.vHH(3302,!1)}();if(null==l||0==l.length)throw function ft(d){return new h.vHH(3303,!1)}();if(!function cr(d){return"start"==d||"done"==d}(l))throw function $t(d,s){return new h.vHH(3400,!1)}();const j=En(this._elementListeners,s,[]),X={name:u,phase:l,callback:D};j.push(X);const ae=En(this._engine.statesByElement,s,new Map);return ae.has(u)||(er(s,no),er(s,no+"-"+u),ae.set(u,Lt)),()=>{this._engine.afterFlush(()=>{const Me=j.indexOf(X);Me>=0&&j.splice(Me,1),this._triggers.has(u)||ae.delete(u)})}}register(s,u){return!this._triggers.has(s)&&(this._triggers.set(s,u),!0)}_getTrigger(s){const u=this._triggers.get(s);if(!u)throw function Bt(d){return new h.vHH(3401,!1)}();return u}trigger(s,u,l,D=!0){const j=this._getTrigger(u),X=new sn(this.id,u,s);let ae=this._engine.statesByElement.get(s);ae||(er(s,no),er(s,no+"-"+u),this._engine.statesByElement.set(s,ae=new Map));let Me=ae.get(u);const Fe=new Pt(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&Me&&Fe.absorbOptions(Me.options),ae.set(u,Fe),Me||(Me=Lt),Fe.value!==Tt&&Me.value===Fe.value){if(!function Ts(d,s){const u=Object.keys(d),l=Object.keys(s);if(u.length!=l.length)return!1;for(let D=0;D<u.length;D++){const j=u[D];if(!s.hasOwnProperty(j)||d[j]!==s[j])return!1}return!0}(Me.params,Fe.params)){const Wt=[],Sn=j.matchStyles(Me.value,Me.params,Wt),hr=j.matchStyles(Fe.value,Fe.params,Wt);Wt.length?this._engine.reportError(Wt):this._engine.afterFlush(()=>{gr(s,Sn),xr(s,hr)})}return}const ut=En(this._engine.playersByElement,s,[]);ut.forEach(Wt=>{Wt.namespaceId==this.id&&Wt.triggerName==u&&Wt.queued&&Wt.destroy()});let at=j.matchTransition(Me.value,Fe.value,s,Fe.params),At=!1;if(!at){if(!D)return;at=j.fallbackTransition,At=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:u,transition:at,fromState:Me,toState:Fe,player:X,isFallbackTransition:At}),At||(er(s,m),X.onStart(()=>{Pr(s,m)})),X.onDone(()=>{let Wt=this.players.indexOf(X);Wt>=0&&this.players.splice(Wt,1);const Sn=this._engine.playersByElement.get(s);if(Sn){let hr=Sn.indexOf(X);hr>=0&&Sn.splice(hr,1)}}),this.players.push(X),ut.push(X),X}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach(u=>u.delete(s)),this._elementListeners.forEach((u,l)=>{this._elementListeners.set(l,u.filter(D=>D.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const u=this._engine.playersByElement.get(s);u&&(u.forEach(l=>l.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,u){const l=this._engine.driver.query(s,vi,!0);l.forEach(D=>{if(D[wt])return;const j=this._engine.fetchNamespacesByElement(D);j.size?j.forEach(X=>X.triggerLeaveAnimation(D,u,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(s,u,l,D){const j=this._engine.statesByElement.get(s),X=new Map;if(j){const ae=[];if(j.forEach((Me,Fe)=>{if(X.set(Fe,Me.value),this._triggers.has(Fe)){const Je=this.trigger(s,Fe,Tt,D);Je&&ae.push(Je)}}),ae.length)return this._engine.markElementAsRemoved(this.id,s,!0,u,X),l&&Or(ae).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const u=this._elementListeners.get(s),l=this._engine.statesByElement.get(s);if(u&&l){const D=new Set;u.forEach(j=>{const X=j.name;if(D.has(X))return;D.add(X);const Me=this._triggers.get(X).fallbackTransition,Fe=l.get(X)||Lt,Je=new Pt(Tt),et=new sn(this.id,X,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:X,transition:Me,fromState:Fe,toState:Je,player:et,isFallbackTransition:!0})})}}removeNode(s,u){const l=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,u),this.triggerLeaveAnimation(s,u,!0))return;let D=!1;if(l.totalAnimations){const j=l.players.length?l.playersByQueriedElement.get(s):[];if(j&&j.length)D=!0;else{let X=s;for(;X=X.parentNode;)if(l.statesByElement.get(X)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(s),D)l.markElementAsRemoved(this.id,s,!1,u);else{const j=s[wt];(!j||j===ct)&&(l.afterFlush(()=>this.clearElementCache(s)),l.destroyInnerAnimations(s),l._onRemovalComplete(s,u))}}insertNode(s,u){er(s,this._hostClassName)}drainQueuedTransitions(s){const u=[];return this._queue.forEach(l=>{const D=l.player;if(D.destroyed)return;const j=l.element,X=this._elementListeners.get(j);X&&X.forEach(ae=>{if(ae.name==l.triggerName){const Me=ar(j,l.triggerName,l.fromState.value,l.toState.value);Me._data=s,Tr(l.player,ae.phase,Me,ae.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):u.push(l)}),this._queue=[],u.sort((l,D)=>{const j=l.transition.ast.depCount,X=D.transition.ast.depCount;return 0==j||0==X?j-X:this._engine.driver.containsElement(l.element,D.element)?1:-1})}destroy(s){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}}class Xt{_onRemovalComplete(s,u){this.onRemovalComplete(s,u)}constructor(s,u,l){this.bodyNode=s,this.driver=u,this._normalizer=l,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(D,j)=>{}}get queuedPlayers(){const s=[];return this._namespaceList.forEach(u=>{u.players.forEach(l=>{l.queued&&s.push(l)})}),s}createNamespace(s,u){const l=new Qt(s,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(l,u):(this.newHostElements.set(u,l),this.collectEnterElement(u)),this._namespaceLookup[s]=l}_balanceNamespaceList(s,u){const l=this._namespaceList,D=this.namespacesByHostElement;if(l.length-1>=0){let X=!1,ae=this.driver.getParentElement(u);for(;ae;){const Me=D.get(ae);if(Me){const Fe=l.indexOf(Me);l.splice(Fe+1,0,s),X=!0;break}ae=this.driver.getParentElement(ae)}X||l.unshift(s)}else l.push(s);return D.set(u,s),s}register(s,u){let l=this._namespaceLookup[s];return l||(l=this.createNamespace(s,u)),l}registerTrigger(s,u,l){let D=this._namespaceLookup[s];D&&D.register(u,l)&&this.totalAnimations++}destroy(s,u){s&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(s);this.namespacesByHostElement.delete(l.hostElement);const D=this._namespaceList.indexOf(l);D>=0&&this._namespaceList.splice(D,1),l.destroy(u),delete this._namespaceLookup[s]}))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const u=new Set,l=this.statesByElement.get(s);if(l)for(let D of l.values())if(D.namespaceId){const j=this._fetchNamespace(D.namespaceId);j&&u.add(j)}return u}trigger(s,u,l,D){if(Tn(u)){const j=this._fetchNamespace(s);if(j)return j.trigger(u,l,D),!0}return!1}insertNode(s,u,l,D){if(!Tn(u))return;const j=u[wt];if(j&&j.setForRemoval){j.setForRemoval=!1,j.setForMove=!0;const X=this.collectedLeaveElements.indexOf(u);X>=0&&this.collectedLeaveElements.splice(X,1)}if(s){const X=this._fetchNamespace(s);X&&X.insertNode(u,l)}D&&this.collectEnterElement(u)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,u){u?this.disabledNodes.has(s)||(this.disabledNodes.add(s),er(s,V)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),Pr(s,V))}removeNode(s,u,l){if(Tn(u)){const D=s?this._fetchNamespace(s):null;D?D.removeNode(u,l):this.markElementAsRemoved(s,u,!1,l);const j=this.namespacesByHostElement.get(u);j&&j.id!==s&&j.removeNode(u,l)}else this._onRemovalComplete(u,l)}markElementAsRemoved(s,u,l,D,j){this.collectedLeaveElements.push(u),u[wt]={namespaceId:s,setForRemoval:D,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:j}}listen(s,u,l,D,j){return Tn(u)?this._fetchNamespace(s).listen(u,l,D,j):()=>{}}_buildInstruction(s,u,l,D,j){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,l,D,s.fromState.options,s.toState.options,u,j)}destroyInnerAnimations(s){let u=this.driver.query(s,vi,!0);u.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(s,So,!0),u.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(s){const u=this.playersByElement.get(s);u&&u.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(s){const u=this.playersByQueriedElement.get(s);u&&u.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return Or(this.players).onDone(()=>s());s()})}processLeaveNode(s){const u=s[wt];if(u&&u.setForRemoval){if(s[wt]=ct,u.namespaceId){this.destroyInnerAnimations(s);const l=this._fetchNamespace(u.namespaceId);l&&l.clearElementCache(s)}this._onRemovalComplete(s,u.setForRemoval)}s.classList?.contains(V)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(s=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,D)=>this._balanceNamespaceList(l,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;l<this.collectedEnterElements.length;l++)er(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const l=[];try{u=this._flushAnimations(l,s)}finally{for(let D=0;D<l.length;D++)l[D]()}}else for(let l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(l=>l()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],u.length?Or(u).onDone(()=>{l.forEach(D=>D())}):l.forEach(D=>D())}}reportError(s){throw function mn(d){return new h.vHH(3402,!1)}()}_flushAnimations(s,u){const l=new Ji,D=[],j=new Map,X=[],ae=new Map,Me=new Map,Fe=new Map,Je=new Set;this.disabledNodes.forEach(jt=>{Je.add(jt);const on=this.driver.query(jt,".ng-animate-queued",!0);for(let Kt=0;Kt<on.length;Kt++)Je.add(on[Kt])});const et=this.bodyNode,ut=Array.from(this.statesByElement.keys()),at=jr(ut,this.collectedEnterElements),At=new Map;let Wt=0;at.forEach((jt,on)=>{const Kt=Bo+Wt++;At.set(on,Kt),jt.forEach(yn=>er(yn,Kt))});const Sn=[],hr=new Set,Pn=new Set;for(let jt=0;jt<this.collectedLeaveElements.length;jt++){const on=this.collectedLeaveElements[jt],Kt=on[wt];Kt&&Kt.setForRemoval&&(Sn.push(on),hr.add(on),Kt.hasAnimation?this.driver.query(on,".ng-star-inserted",!0).forEach(yn=>hr.add(yn)):Pn.add(on))}const gn=new Map,Mn=jr(ut,Array.from(hr));Mn.forEach((jt,on)=>{const Kt=Ns+Wt++;gn.set(on,Kt),jt.forEach(yn=>er(yn,Kt))}),s.push(()=>{at.forEach((jt,on)=>{const Kt=At.get(on);jt.forEach(yn=>Pr(yn,Kt))}),Mn.forEach((jt,on)=>{const Kt=gn.get(on);jt.forEach(yn=>Pr(yn,Kt))}),Sn.forEach(jt=>{this.processLeaveNode(jt)})});const Yr=[],br=[];for(let jt=this._namespaceList.length-1;jt>=0;jt--)this._namespaceList[jt].drainQueuedTransitions(u).forEach(Kt=>{const yn=Kt.player,kn=Kt.element;if(Yr.push(yn),this.collectedEnterElements.length){const Rr=kn[wt];if(Rr&&Rr.setForMove){if(Rr.previousTriggersValues&&Rr.previousTriggersValues.has(Kt.triggerName)){const oi=Rr.previousTriggersValues.get(Kt.triggerName),Os=this.statesByElement.get(Kt.element);if(Os&&Os.has(Kt.triggerName)){const ic=Os.get(Kt.triggerName);ic.value=oi,Os.set(Kt.triggerName,ic)}}return void yn.destroy()}}const si=!et||!this.driver.containsElement(et,kn),nr=gn.get(kn),ns=At.get(kn),Br=this._buildInstruction(Kt,l,ns,nr,si);if(Br.errors&&Br.errors.length)return void br.push(Br);if(si)return yn.onStart(()=>gr(kn,Br.fromStyles)),yn.onDestroy(()=>xr(kn,Br.toStyles)),void D.push(yn);if(Kt.isFallbackTransition)return yn.onStart(()=>gr(kn,Br.fromStyles)),yn.onDestroy(()=>xr(kn,Br.toStyles)),void D.push(yn);const Ho=[];Br.timelines.forEach(Rr=>{Rr.stretchStartingKeyframe=!0,this.disabledNodes.has(Rr.element)||Ho.push(Rr)}),Br.timelines=Ho,l.append(kn,Br.timelines),X.push({instruction:Br,player:yn,element:kn}),Br.queriedElements.forEach(Rr=>En(ae,Rr,[]).push(yn)),Br.preStyleProps.forEach((Rr,oi)=>{if(Rr.size){let Os=Me.get(oi);Os||Me.set(oi,Os=new Set),Rr.forEach((ic,qu)=>Os.add(qu))}}),Br.postStyleProps.forEach((Rr,oi)=>{let Os=Fe.get(oi);Os||Fe.set(oi,Os=new Set),Rr.forEach((ic,qu)=>Os.add(qu))})});if(br.length){const jt=[];br.forEach(on=>{jt.push(function _n(d,s){return new h.vHH(3505,!1)}())}),Yr.forEach(on=>on.destroy()),this.reportError(jt)}const dr=new Map,ui=new Map;X.forEach(jt=>{const on=jt.element;l.has(on)&&(ui.set(on,on),this._beforeAnimationBuild(jt.player.namespaceId,jt.instruction,dr))}),D.forEach(jt=>{const on=jt.element;this._getPreviousPlayers(on,!1,jt.namespaceId,jt.triggerName,null).forEach(yn=>{En(dr,on,[]).push(yn),yn.destroy()})});const Ki=Sn.filter(jt=>co(jt,Me,Fe)),Ei=new Map;jn(Ei,this.driver,Pn,Fe,Dn.l3).forEach(jt=>{co(jt,Me,Fe)&&Ki.push(jt)});const Js=new Map;at.forEach((jt,on)=>{jn(Js,this.driver,new Set(jt),Me,Dn.k1)}),Ki.forEach(jt=>{const on=Ei.get(jt),Kt=Js.get(jt);Ei.set(jt,new Map([...on?.entries()??[],...Kt?.entries()??[]]))});const Xs=[],rc=[],Fo={};X.forEach(jt=>{const{element:on,player:Kt,instruction:yn}=jt;if(l.has(on)){if(Je.has(on))return Kt.onDestroy(()=>xr(on,yn.toStyles)),Kt.disabled=!0,Kt.overrideTotalTime(yn.totalTime),void D.push(Kt);let kn=Fo;if(ui.size>1){let nr=on;const ns=[];for(;nr=nr.parentNode;){const Br=ui.get(nr);if(Br){kn=Br;break}ns.push(nr)}ns.forEach(Br=>ui.set(Br,kn))}const si=this._buildAnimation(Kt.namespaceId,yn,dr,j,Js,Ei);if(Kt.setRealPlayer(si),kn===Fo)Xs.push(Kt);else{const nr=this.playersByElement.get(kn);nr&&nr.length&&(Kt.parentPlayer=Or(nr)),D.push(Kt)}}else gr(on,yn.fromStyles),Kt.onDestroy(()=>xr(on,yn.toStyles)),rc.push(Kt),Je.has(on)&&D.push(Kt)}),rc.forEach(jt=>{const on=j.get(jt.element);if(on&&on.length){const Kt=Or(on);jt.setRealPlayer(Kt)}}),D.forEach(jt=>{jt.parentPlayer?jt.syncPlayerEvents(jt.parentPlayer):jt.destroy()});for(let jt=0;jt<Sn.length;jt++){const on=Sn[jt],Kt=on[wt];if(Pr(on,Ns),Kt&&Kt.hasAnimation)continue;let yn=[];if(ae.size){let si=ae.get(on);si&&si.length&&yn.push(...si);let nr=this.driver.query(on,So,!0);for(let ns=0;ns<nr.length;ns++){let Br=ae.get(nr[ns]);Br&&Br.length&&yn.push(...Br)}}const kn=yn.filter(si=>!si.destroyed);kn.length?Ai(this,on,kn):this.processLeaveNode(on)}return Sn.length=0,Xs.forEach(jt=>{this.players.push(jt),jt.onDone(()=>{jt.destroy();const on=this.players.indexOf(jt);this.players.splice(on,1)}),jt.play()}),Xs}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,u,l,D,j){let X=[];if(u){const ae=this.playersByQueriedElement.get(s);ae&&(X=ae)}else{const ae=this.playersByElement.get(s);if(ae){const Me=!j||j==Tt;ae.forEach(Fe=>{Fe.queued||!Me&&Fe.triggerName!=D||X.push(Fe)})}}return(l||D)&&(X=X.filter(ae=>!(l&&l!=ae.namespaceId||D&&D!=ae.triggerName))),X}_beforeAnimationBuild(s,u,l){const j=u.element,X=u.isRemovalTransition?void 0:s,ae=u.isRemovalTransition?void 0:u.triggerName;for(const Me of u.timelines){const Fe=Me.element,Je=Fe!==j,et=En(l,Fe,[]);this._getPreviousPlayers(Fe,Je,X,ae,u.toState).forEach(at=>{const At=at.getRealPlayer();At.beforeDestroy&&At.beforeDestroy(),at.destroy(),et.push(at)})}gr(j,u.fromStyles)}_buildAnimation(s,u,l,D,j,X){const ae=u.triggerName,Me=u.element,Fe=[],Je=new Set,et=new Set,ut=u.timelines.map(At=>{const Wt=At.element;Je.add(Wt);const Sn=Wt[wt];if(Sn&&Sn.removedBeforeQueried)return new Dn.ZN(At.duration,At.delay);const hr=Wt!==Me,Pn=function Zo(d){const s=[];return Li(d,s),s}((l.get(Wt)||tt).map(dr=>dr.getRealPlayer())).filter(dr=>!!dr.element&&dr.element===Wt),gn=j.get(Wt),Mn=X.get(Wt),Yr=Rt(this._normalizer,At.keyframes,gn,Mn),br=this._buildPlayer(At,Yr,Pn);if(At.subTimeline&&D&&et.add(Wt),hr){const dr=new sn(s,ae,Wt);dr.setRealPlayer(br),Fe.push(dr)}return br});Fe.forEach(At=>{En(this.playersByQueriedElement,At.element,[]).push(At),At.onDone(()=>function vn(d,s,u){let l=d.get(s);if(l){if(l.length){const D=l.indexOf(u);l.splice(D,1)}0==l.length&&d.delete(s)}return l}(this.playersByQueriedElement,At.element,At))}),Je.forEach(At=>er(At,zs));const at=Or(ut);return at.onDestroy(()=>{Je.forEach(At=>Pr(At,zs)),xr(Me,u.toStyles)}),et.forEach(At=>{En(D,At,[]).push(at)}),at}_buildPlayer(s,u,l){return u.length>0?this.driver.animate(s.element,u,s.duration,s.delay,s.easing,l):new Dn.ZN(s.duration,s.delay)}}class sn{constructor(s,u,l){this.namespaceId=s,this.triggerName=u,this.element=l,this._player=new Dn.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach((u,l)=>{u.forEach(D=>Tr(s,l,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const u=this._player;u.triggerCallback&&s.onStart(()=>u.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,u){En(this._queuedCallbacks,s,[]).push(u)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}init(){this._player.init()}hasStarted(){return!this.queued&&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(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const u=this._player;u.triggerCallback&&u.triggerCallback(s)}}function Tn(d){return d&&1===d.nodeType}function Er(d,s){const u=d.style.display;return d.style.display=s??"none",u}function jn(d,s,u,l,D){const j=[];u.forEach(Me=>j.push(Er(Me)));const X=[];l.forEach((Me,Fe)=>{const Je=new Map;Me.forEach(et=>{const ut=s.computeStyle(Fe,et,D);Je.set(et,ut),(!ut||0==ut.length)&&(Fe[wt]=vt,X.push(Fe))}),d.set(Fe,Je)});let ae=0;return u.forEach(Me=>Er(Me,j[ae++])),X}function jr(d,s){const u=new Map;if(d.forEach(ae=>u.set(ae,[])),0==s.length)return u;const D=new Set(s),j=new Map;function X(ae){if(!ae)return 1;let Me=j.get(ae);if(Me)return Me;const Fe=ae.parentNode;return Me=u.has(Fe)?Fe:D.has(Fe)?1:X(Fe),j.set(ae,Me),Me}return s.forEach(ae=>{const Me=X(ae);1!==Me&&u.get(Me).push(ae)}),u}function er(d,s){d.classList?.add(s)}function Pr(d,s){d.classList?.remove(s)}function Ai(d,s,u){Or(u).onDone(()=>d.processLeaveNode(s))}function Li(d,s){for(let u=0;u<d.length;u++){const l=d[u];l instanceof Dn.ZE?Li(l.players,s):s.push(l)}}function co(d,s,u){const l=u.get(d);if(!l)return!1;let D=s.get(d);return D?l.forEach(j=>D.add(j)):s.set(d,l),u.delete(d),!0}class uo{constructor(s,u,l){this.bodyNode=s,this._driver=u,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(D,j)=>{},this._transitionEngine=new Xt(s,u,l),this._timelineEngine=new N(s,u,l),this._transitionEngine.onRemovalComplete=(D,j)=>this.onRemovalComplete(D,j)}registerTrigger(s,u,l,D,j){const X=s+"-"+D;let ae=this._triggerCache[X];if(!ae){const Me=[],Je=cs(this._driver,j,Me,[]);if(Me.length)throw function rt(d,s){return new h.vHH(3404,!1)}();ae=function pc(d,s,u){return new Ga(d,s,u)}(D,Je,this._normalizer),this._triggerCache[X]=ae}this._transitionEngine.registerTrigger(u,D,ae)}register(s,u){this._transitionEngine.register(s,u)}destroy(s,u){this._transitionEngine.destroy(s,u)}onInsert(s,u,l,D){this._transitionEngine.insertNode(s,u,l,D)}onRemove(s,u,l){this._transitionEngine.removeNode(s,u,l)}disableAnimations(s,u){this._transitionEngine.markElementAsDisabled(s,u)}process(s,u,l,D){if("@"==l.charAt(0)){const[j,X]=Jn(l);this._timelineEngine.command(j,u,X,D)}else this._transitionEngine.trigger(s,u,l,D)}listen(s,u,l,D,j){if("@"==l.charAt(0)){const[X,ae]=Jn(l);return this._timelineEngine.listen(X,u,ae,j)}return this._transitionEngine.listen(s,u,l,D,j)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(s){this._transitionEngine.afterFlushAnimationsDone(s)}}let ma=(()=>{class s{constructor(l,D,j){this._element=l,this._startStyles=D,this._endStyles=j,this._state=0;let X=s.initialStylesByElement.get(l);X||s.initialStylesByElement.set(l,X=new Map),this._initialStyles=X}start(){this._state<1&&(this._startStyles&&xr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xr(this._element,this._initialStyles),this._endStyles&&(xr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(s.initialStylesByElement.delete(this._element),this._startStyles&&(gr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gr(this._element,this._endStyles),this._endStyles=null),xr(this._element,this._initialStyles),this._state=3)}}return s.initialStylesByElement=new WeakMap,s})();function Xi(d){let s=null;return d.forEach((u,l)=>{(function Fi(d){return"display"===d||"position"===d})(l)&&(s=s||new Map,s.set(l,u))}),s}class S{constructor(s,u,l,D){this.element=s,this.keyframes=u,this.options=l,this._specialStyles=D,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map;const u=()=>this._onFinish();this.domPlayer.addEventListener("finish",u),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",u)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const u=[];return s.forEach(l=>{u.push(Object.fromEntries(l))}),u}_triggerWebAnimation(s,u,l){return s.animate(this._convertKeyframesToObject(u),l)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),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(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,D)=>{"offset"!==D&&s.set(D,this._finished?l:Ws(this.element,D))}),this.currentSnapshot=s}triggerCallback(s){const u="start"===s?this._onStartFns:this._onDoneFns;u.forEach(l=>l()),u.length=0}}class K{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}matchesElement(s,u){return!1}containsElement(s,u){return Ui(s,u)}getParentElement(s){return kr(s)}query(s,u,l){return xs(s,u,l)}computeStyle(s,u,l){return window.getComputedStyle(s)[u]}animate(s,u,l,D,j,X=[]){const Me={duration:l,delay:D,fill:0==D?"both":"forwards"};j&&(Me.easing=j);const Fe=new Map,Je=X.filter(at=>at instanceof S);(function Wn(d,s){return 0===d||0===s})(l,D)&&Je.forEach(at=>{at.currentSnapshot.forEach((At,Wt)=>Fe.set(Wt,At))});let et=function Ni(d){return d.length?d[0]instanceof Map?d:d.map(s=>Zi(s)):[]}(u).map(at=>Kn(at));et=function Cr(d,s,u){if(u.size&&s.length){let l=s[0],D=[];if(u.forEach((j,X)=>{l.has(X)||D.push(X),l.set(X,j)}),D.length)for(let j=1;j<s.length;j++){let X=s[j];D.forEach(ae=>X.set(ae,Ws(d,ae)))}}return s}(s,et,Fe);const ut=function Oo(d,s){let u=null,l=null;return Array.isArray(s)&&s.length?(u=Xi(s[0]),s.length>1&&(l=Xi(s[s.length-1]))):s instanceof Map&&(u=Xi(s)),u||l?new ma(d,u,l):null}(s,et);return new S(s,et,Me,ut)}}let Re=(()=>{var d;class s extends Dn._j{constructor(l,D){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(D.body,{id:"0",encapsulation:h.ifc.None,styles:[],data:{animation:[]}})}build(l){const D=this._nextAnimationId.toString();this._nextAnimationId++;const j=Array.isArray(l)?(0,Dn.vP)(l):l;return Ke(this._renderer,null,D,"register",[j]),new H(D,this._renderer)}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(h.FYo),h.LFG(te.K0))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();class H extends Dn.LC{constructor(s,u){super(),this._id=s,this._renderer=u}create(s,u){return new Ce(this._id,s,u||{},this._renderer)}}class Ce{constructor(s,u,l,D){this.id=s,this.element=u,this._renderer=D,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",l)}_listen(s,u){return this._renderer.listen(this.element,`@@${this.id}:${s}`,u)}_command(s,...u){return Ke(this._renderer,this.element,this.id,s,u)}onDone(s){this._listen("done",s)}onStart(s){this._listen("start",s)}onDestroy(s){this._listen("destroy",s)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(s){this._command("setPosition",s)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ke(d,s,u,l,D){return d.setProperty(s,`@@${u}:${l}`,D)}const Gt="@.disabled";let ur=(()=>{var d;class s{constructor(l,D,j){this.delegate=l,this.engine=D,this._zone=j,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,D.onRemovalComplete=(X,ae)=>{const Me=ae?.parentNode(X);Me&&ae.removeChild(Me,X)}}createRenderer(l,D){const X=this.delegate.createRenderer(l,D);if(!(l&&D&&D.data&&D.data.animation)){let et=this._rendererCache.get(X);return et||(et=new Mr("",X,this.engine,()=>this._rendererCache.delete(X)),this._rendererCache.set(X,et)),et}const ae=D.id,Me=D.id+"-"+this._currentId;this._currentId++,this.engine.register(Me,l);const Fe=et=>{Array.isArray(et)?et.forEach(Fe):this.engine.registerTrigger(ae,Me,l,et.name,et)};return D.data.animation.forEach(Fe),new yr(this,Me,X,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(l,D,j){l>=0&&l<this._microtaskId?this._zone.run(()=>D(j)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(X=>{const[ae,Me]=X;ae(Me)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([D,j]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(h.FYo),h.LFG(uo),h.LFG(h.R0b))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();class Mr{constructor(s,u,l,D){this.namespaceId=s,this.delegate=u,this.engine=l,this._onDestroy=D}get data(){return this.delegate.data}destroyNode(s){this.delegate.destroyNode?.(s)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(s,u){return this.delegate.createElement(s,u)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,u){this.delegate.appendChild(s,u),this.engine.onInsert(this.namespaceId,u,s,!1)}insertBefore(s,u,l,D=!0){this.delegate.insertBefore(s,u,l),this.engine.onInsert(this.namespaceId,u,s,D)}removeChild(s,u,l){this.engine.onRemove(this.namespaceId,u,this.delegate)}selectRootElement(s,u){return this.delegate.selectRootElement(s,u)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,u,l,D){this.delegate.setAttribute(s,u,l,D)}removeAttribute(s,u,l){this.delegate.removeAttribute(s,u,l)}addClass(s,u){this.delegate.addClass(s,u)}removeClass(s,u){this.delegate.removeClass(s,u)}setStyle(s,u,l,D){this.delegate.setStyle(s,u,l,D)}removeStyle(s,u,l){this.delegate.removeStyle(s,u,l)}setProperty(s,u,l){"@"==u.charAt(0)&&u==Gt?this.disableAnimations(s,!!l):this.delegate.setProperty(s,u,l)}setValue(s,u){this.delegate.setValue(s,u)}listen(s,u,l){return this.delegate.listen(s,u,l)}disableAnimations(s,u){this.engine.disableAnimations(s,u)}}class yr extends Mr{constructor(s,u,l,D,j){super(u,l,D,j),this.factory=s,this.namespaceId=u}setProperty(s,u,l){"@"==u.charAt(0)?"."==u.charAt(1)&&u==Gt?this.disableAnimations(s,l=void 0===l||!!l):this.engine.process(this.namespaceId,s,u.slice(1),l):this.delegate.setProperty(s,u,l)}listen(s,u,l){if("@"==u.charAt(0)){const D=function sr(d){switch(d){case"body":return document.body;case"document":return document;case"window":return window;default:return d}}(s);let j=u.slice(1),X="";return"@"!=j.charAt(0)&&([j,X]=function ei(d){const s=d.indexOf(".");return[d.substring(0,s),d.slice(s+1)]}(j)),this.engine.listen(this.namespaceId,D,j,X,ae=>{this.factory.scheduleListenerCallback(ae._data||-1,l,ae)})}return this.delegate.listen(s,u,l)}}let Ir=(()=>{var d;class s extends uo{constructor(l,D,j,X){super(l.body,D,j)}ngOnDestroy(){this.flush()}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(te.K0),h.LFG(wo),h.LFG(fa),h.LFG(h.z2F))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();const ys=[{provide:Dn._j,useClass:Re},{provide:fa,useFactory:function fi(){return new $r}},{provide:uo,useClass:Ir},{provide:h.FYo,useFactory:function js(d,s,u){return new ur(d,s,u)},deps:[g.se,uo,h.R0b]}],Ys=[{provide:wo,useFactory:()=>new K},{provide:h.QbO,useValue:"BrowserAnimations"},...ys],Vi=[{provide:wo,useClass:to},{provide:h.QbO,useValue:"NoopAnimations"},...ys];let hi=(()=>{var d;class s{static withConfig(l){return{ngModule:s,providers:l.disableAnimations?Vi:Ys}}}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:Ys,imports:[g.b2]}),s})();var Qr=o(6156),Ka=o.n(Qr);const va=new h.OlP("MESSAGE_FORMAT_CONFIG"),us={biDiSupport:!1,formatters:void 0,locales:void 0,strictNumberSign:!1};let Al=(()=>{var d;class s extends $.k2{constructor(l){super(),this.config={...us,...l}}compileTranslationsDict(l,D){return Object.entries(D).reduce((j,[X,ae])=>{if("string"==typeof ae)try{j[X]=l.compile(ae)}catch(Me){console.error(Me)}else j[X]=this.compileTranslationsDict(l,ae);return j},{})}compile(l,D){return new(Ka())(D,{customFormatters:this.config.formatters,biDiSupport:this.config.biDiSupport,strict:this.config.strictNumberSign}).compile(l)}compileTranslations(l,D){const j=new(Ka())(D,{customFormatters:this.config.formatters,biDiSupport:this.config.biDiSupport,strict:this.config.strictNumberSign});return this.compileTranslationsDict(j,l)}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(va,8))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();class Po{constructor(s,u="/assets/i18n/",l=".json"){this.http=s,this.prefix=u,this.suffix=l}getTranslation(s){return this.http.get(`${this.prefix}${s}${this.suffix}`)}}const Pu={defaultLanguage:C.lI.en,compiler:{provide:$.k2,useClass:Al},loader:{provide:$.Zw,useFactory:(d,s)=>new Po(d,"./assets/i18n/",`.json?${s.getQueryString()}`),deps:[zt.eN,w.Z]}};let Vc=(()=>{var d;class s{}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:[x],imports:[$.aw.forRoot(Pu)]}),s})();var zi=o(7113),fo=o(34);let zc=(()=>{var d;class s{constructor(l){this.apollo=l,this.eventsCount=zi.Ps`
    query EventsCount($eventName: String!, $filter: JSON!) {
      eventsCount(eventName: $eventName, filter: $filter)
    }
  `,this.trackEventMutation=zi.Ps`
    mutation TrackEvent($event: PXEventInput!) {
      trackEvent(event: $event)
    }
  `,this.slideshowsViewsCount=zi.Ps`
    query SlideshowsViewsCount($slideshowIds: [String]!) {
      slideshowsViewsCount(slideshowIds: $slideshowIds)
    }
  `,this.trackSlideshowViewMutation=zi.Ps`
    mutation trackSlideshowView($slideshowId: String!) {
      trackSlideshowView(slideshowId: $slideshowId)
    }
  `}getEventsCount(l,D){return this.apollo.query({query:this.eventsCount,variables:{eventName:l,filter:D}}).pipe((0,re.h)(j=>!!j.data),(0,_e.U)(j=>j.data?.eventsCount))}trackEvent(l,D){return this.apollo.mutate({mutation:this.trackEventMutation,variables:{event:{eventName:l,meta:D}}}).pipe((0,_e.U)(()=>{}))}getSlideshowsViewsCount(l){return this.apollo.query({query:this.slideshowsViewsCount,variables:{slideshowIds:l}}).pipe((0,re.h)(D=>!!D.data),(0,_e.U)(D=>D.data?.slideshowsViewsCount))}trackSlideshowView(l){return this.apollo.mutate({mutation:this.trackSlideshowViewMutation,variables:{slideshowId:l}}).pipe((0,_e.U)(()=>{}))}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(zi._M))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})(),Ol=(()=>{var d;class s{}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:[zc],imports:[zi.VG]}),s})();var mc=o(2686);const ya=new h.OlP("local storage salt");let _a=(()=>{var d;class s{constructor(l){this.salt=l,this.salt||console.warn("provide storage salt")}getSaltedKey(l){return this.salt?`${this.salt}_${l}`:l}setItem(l,D){localStorage.setItem(this.getSaltedKey(l),D)}getItem(l){return localStorage.getItem(this.getSaltedKey(l))}removeItem(l){localStorage.removeItem(this.getSaltedKey(l))}getSerialized(l){const D=this.getItem(l);return D?JSON.parse(D):null}setSerialized(l,D){this.setItem(l,JSON.stringify(D))}clear(){localStorage.clear()}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(ya,8))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();const Un={provide:ya,useFactory:d=>d.APP_NAME,deps:[C.a7]};var Jo=o(4010),xd=o(8666);let vc=(()=>{var d;class s{constructor(l){this.platform=l}setup(){var l=this;return(0,c.Z)(function*(){if(l.platform.DATA_DOG_ENABLED)try{const{datadogRum:D}=yield o.e(466).then(o.bind(o,9466));l.datadogRum=D,l.datadogRum.init({site:"datadoghq.com",applicationId:l.platform.DATA_DOG_APP_ID,clientToken:l.platform.DATA_DOG_CLIENT_TOKEN,service:l.platform.DATA_DOG_SERVICE,env:l.platform.DEPLOY_ENV,version:l.platform.APP_VERSION,sessionSampleRate:l.platform.DATA_DOG_SESSION_SAMPLE_RATE,sessionReplaySampleRate:l.platform.DATA_DOG_SESSION_REPLAY_SAMPLE_RATE,trackUserInteractions:!0,trackFrustrations:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input",beforeSend:j=>{j.context={...j.context,...performance.memory??{}}}}),l.datadogRum.startSessionReplayRecording()}catch(D){console.error(D)}})()}setUser(l){this.datadogRum?.setUser(l)}clearUser(){this.datadogRum?.clearUser()}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(C.a7))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();const Wc={provide:h.ip1,useFactory:d=>()=>d.setup(),deps:[vc],multi:!0};let Ru=(()=>{var d;class s{constructor(l){this.platform=l,this.platform.SENTRY_ENABLED&&(this.deffer$=this.initSentry())}initSentry(){var l=this;return(0,c.Z)(function*(){l.sentry=yield o.e(149).then(o.bind(o,5149));const{BrowserTracing:D}=yield o.e(149).then(o.bind(o,5149));l.sentry.init({dsn:l.platform.SENTRY_DSN,tracesSampleRate:1,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,environment:l.platform.DEPLOY_ENV,release:C.a7.APP_VERSION??l.platform.GIT_COMMIT,integrations:[new D({routingInstrumentation:l.sentry.routingInstrumentation})],ignoreErrors:["Non-Error exception captured","top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage"],denyUrls:[/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i]})})()}setUser(l){var D=this;return(0,c.Z)(function*(){D.platform.SENTRY_ENABLED&&(yield D.deffer$,D.sentry?.setUser(l))})()}handleError(l){var D=this;return(0,c.Z)(function*(){if(D.platform.SENTRY_ENABLED){yield D.deffer$;const j=D.sentry?.captureException(l.originalError||l);j&&console.error("Sentry event id",j)}console.error(l.originalError||l)})()}}return(d=s).\u0275fac=function(l){return new(l||d)(h.LFG(C.a7))},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();o(8251),o(2737);var yc=o(4825);o(6306),o(4716);let _r=(()=>{var d;class s{getSessionService(){return this.service}attach(l){this.service=l}detach(){this.service=void 0}}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();new h.OlP("AUTH_HEADER_FORMAT"),(function Ya(d){this.message=d}.prototype=new Error).name="InvalidCharacterError",typeof window<"u"&&window.atob&&window.atob.bind(window),(function Zc(d){this.message=d}.prototype=new Error).name="InvalidTokenError";const B=[{path:"",pathMatch:"full",loadComponent:()=>Promise.all([o.e(805),o.e(983)]).then(o.bind(o,1983)).then(d=>d.EmptyUrlComponent)},{path:"404",loadComponent:()=>Promise.all([o.e(805),o.e(592),o.e(311)]).then(o.bind(o,311)).then(d=>d.PageNotFoundComponent)},{path:"unsupported-browser",loadComponent:()=>Promise.all([o.e(259),o.e(592),o.e(846)]).then(o.bind(o,2846)).then(d=>d.UnsupportedBrowserComponent)},{path:":slug",loadChildren:()=>Promise.all([o.e(592),o.e(364)]).then(o.bind(o,7364)).then(d=>d.SlideshowWebPageShellModule)}];var M=o(1180),G=o(86),pe=o(8632),Ie=o(7619),it=function(){function d(s){var u=s.batchDebounce,l=s.batchInterval,D=s.batchMax,j=s.batchHandler,X=s.batchKey;this.batchesByKey=new Map,this.scheduledBatchTimerByKey=new Map,this.batchDebounce=u,this.batchInterval=l,this.batchMax=D||0,this.batchHandler=j,this.batchKey=X||function(){return""}}return d.prototype.enqueueRequest=function(s){var u=this,l=(0,p.pi)((0,p.pi)({},s),{next:[],error:[],complete:[],subscribers:new Set}),D=this.batchKey(s.operation);return l.observable||(l.observable=new Ie.y(function(j){var X=u.batchesByKey.get(D);X||u.batchesByKey.set(D,X=new Set);var ae=0===X.size,Me=0===l.subscribers.size;return l.subscribers.add(j),Me&&X.add(l),j.next&&l.next.push(j.next.bind(j)),j.error&&l.error.push(j.error.bind(j)),j.complete&&l.complete.push(j.complete.bind(j)),(ae||u.batchDebounce)&&u.scheduleQueueConsumption(D),X.size===u.batchMax&&u.consumeQueue(D),function(){var Fe;l.subscribers.delete(j)&&l.subscribers.size<1&&X.delete(l)&&X.size<1&&(u.consumeQueue(D),null===(Fe=X.subscription)||void 0===Fe||Fe.unsubscribe())}})),l.observable},d.prototype.consumeQueue=function(s){void 0===s&&(s="");var u=this.batchesByKey.get(s);if(this.batchesByKey.delete(s),u&&u.size){var l=[],D=[],j=[],X=[],ae=[],Me=[];u.forEach(function(et){l.push(et.operation),D.push(et.forward),j.push(et.observable),X.push(et.next),ae.push(et.error),Me.push(et.complete)});var Fe=this.batchHandler(l,D)||Ie.y.of(),Je=function(et){ae.forEach(function(ut){ut&&ut.forEach(function(at){return at(et)})})};return u.subscription=Fe.subscribe({next:function(et){if(Array.isArray(et)||(et=[et]),X.length!==et.length){var ut=new Error("server returned results with length ".concat(et.length,", expected length of ").concat(X.length));return ut.result=et,Je(ut)}et.forEach(function(at,At){X[At]&&X[At].forEach(function(Wt){return Wt(at)})})},error:Je,complete:function(){Me.forEach(function(et){et&&et.forEach(function(ut){return ut()})})}}),j}},d.prototype.scheduleQueueConsumption=function(s){var u=this;clearTimeout(this.scheduledBatchTimerByKey.get(s)),this.scheduledBatchTimerByKey.set(s,setTimeout(function(){u.consumeQueue(s),u.scheduledBatchTimerByKey.delete(s)},this.batchInterval))},d}(),Yt=function(d){function s(u){var l=d.call(this)||this,D=u||{},X=D.batchInterval,Me=D.batchMax,Je=D.batchHandler,ut=D.batchKey;return l.batcher=new it({batchDebounce:D.batchDebounce,batchInterval:void 0===X?10:X,batchMax:void 0===Me?0:Me,batchHandler:void 0===Je?function(){return null}:Je,batchKey:void 0===ut?function(){return""}:ut}),u.batchHandler.length<=1&&(l.request=function(At){return l.batcher.enqueueRequest({operation:At})}),l}return(0,p.ZT)(s,d),s.prototype.request=function(u,l){return this.batcher.enqueueRequest({operation:u,forward:l})},s}(pe.i);const yt=(d,s,u)=>{const l=-1!==["POST","PUT","PATCH"].indexOf(d.method.toUpperCase()),j=d.body.length;let ae,X=d.options&&d.options.useMultipart;if(X){if(j)return new q.y(Fe=>Fe.error(new Error("File upload is not available when combined with Batching")));if(!l)return new q.y(Fe=>Fe.error(new Error("File upload is not available when GET is used")));if(!u)return new q.y(Fe=>Fe.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));ae=u(d.body),X=!!ae.files.size}let Me={};if(j){if(!l)return new q.y(Fe=>Fe.error(new Error("Batching is not available for GET requests")));Me={body:d.body}}else Me=l?{body:X?ae.clone:d.body}:{params:Object.keys(d.body).reduce((et,ut)=>{const at=d.body[ut];return et[ut]=-1!==["variables","extensions"].indexOf(ut.toLowerCase())?JSON.stringify(at):at,et},{})};if(X&&l){const Fe=new FormData;Fe.append("operations",JSON.stringify(Me.body));const Je={},et=ae.files;let ut=0;et.forEach(at=>{Je[++ut]=at}),Fe.append("map",JSON.stringify(Je)),ut=0,et.forEach((at,At)=>{Fe.append(++ut+"",At,At.name)}),Me.body=Fe}return s.request(d.method,d.url,{observe:"response",responseType:"json",reportProgress:!1,...Me,...d.options})},wn=(d,s)=>d&&s?s.keys().reduce((l,D)=>l.set(D,s.getAll(D)),d):s||d;function Ct(...d){const s=d.find(u=>typeof u<"u");return typeof s>"u"?d[d.length-1]:s}function tr(d){let s=d.headers&&d.headers instanceof zt.WM?d.headers:new zt.WM(d.headers);if(d.clientAwareness){const{name:u,version:l}=d.clientAwareness;u&&!s.has("apollographql-client-name")&&(s=s.set("apollographql-client-name",u)),l&&!s.has("apollographql-client-version")&&(s=s.set("apollographql-client-version",l))}return s}class pn extends pe.i{constructor(s,u){super(),(0,M.Z)(this,"httpClient",void 0),(0,M.Z)(this,"options",void 0),(0,M.Z)(this,"requester",void 0),(0,M.Z)(this,"print",G.S),this.httpClient=s,this.options=u,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=l=>new Ie.y(D=>{const j=l.getContext(),X=(Pn,gn)=>Ct(j[Pn],this.options[Pn],gn);let ae=X("method","POST");const Me=X("includeQuery",!0),Fe=X("includeExtensions",!1),Je=X("uri","graphql"),et=X("withCredentials"),ut=X("useMultipart"),at=!0===this.options.useGETForQueries,At=l.query.definitions.some(Pn=>"OperationDefinition"===Pn.kind&&"query"===Pn.operation);at&&At&&(ae="GET");const Wt={method:ae,url:"function"==typeof Je?Je(l):Je,body:{operationName:l.operationName,variables:l.variables},options:{withCredentials:et,useMultipart:ut,headers:this.options.headers}};Fe&&(Wt.body.extensions=l.extensions),Me&&(Wt.body.query=this.print(l.query));const Sn=tr(j);Wt.options.headers=wn(Wt.options.headers,Sn);const hr=yt(Wt,this.httpClient,this.options.extractFiles).subscribe({next:Pn=>{l.setContext({response:Pn}),D.next(Pn.body)},error:Pn=>D.error(Pn),complete:()=>D.complete()});return()=>{hr.closed||hr.unsubscribe()}})}request(s){return this.requester(s)}}let Rn=(()=>{var d;class s{constructor(l){(0,M.Z)(this,"httpClient",void 0),this.httpClient=l}create(l){return new pn(this.httpClient,l)}}return d=s,(0,M.Z)(s,"\u0275fac",function(l){return new(l||d)(h.LFG(zt.eN))}),(0,M.Z)(s,"\u0275prov",h.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})),s})();class Ot extends pe.i{constructor(s,u){super(),(0,M.Z)(this,"httpClient",void 0),(0,M.Z)(this,"options",void 0),(0,M.Z)(this,"batcher",void 0),(0,M.Z)(this,"batchInterval",void 0),(0,M.Z)(this,"batchMax",void 0),(0,M.Z)(this,"print",G.S),this.httpClient=s,this.options=u,this.batchInterval=u.batchInterval||10,this.batchMax=u.batchMax||10,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.batcher=new Yt({batchInterval:this.batchInterval,batchMax:this.batchMax,batchKey:u.batchKey||(j=>this.createBatchKey(j)),batchHandler:j=>new Ie.y(X=>{const ae=this.createBody(j),Me=this.createHeaders(j),{method:Fe,uri:Je,withCredentials:et}=this.createOptions(j);if("function"==typeof Je)throw new Error("Option 'uri' is a function, should be a string");const at=yt({method:Fe,url:Je,body:ae,options:{withCredentials:et,headers:Me}},this.httpClient,()=>{throw new Error("File upload is not available when combined with Batching")}).subscribe({next:At=>X.next(At.body),error:At=>X.error(At),complete:()=>X.complete()});return()=>{at.closed||at.unsubscribe()}})})}createOptions(s){const u=s[0].getContext();return{method:Ct(u.method,this.options.method,"POST"),uri:Ct(u.uri,this.options.uri,"graphql"),withCredentials:Ct(u.withCredentials,this.options.withCredentials)}}createBody(s){return s.map(u=>{const l=Ct(u.getContext().includeExtensions,this.options.includeExtensions,!1),D=Ct(u.getContext().includeQuery,this.options.includeQuery,!0),j={operationName:u.operationName,variables:u.variables};return l&&(j.extensions=u.extensions),D&&(j.query=this.print(u.query)),j})}createHeaders(s){return s.reduce((u,l)=>wn(u,l.getContext().headers),tr({headers:this.options.headers,clientAwareness:s[0]?.getContext()?.clientAwareness}))}createBatchKey(s){const u=s.getContext();if(u.skipBatching)return Math.random().toString(36).substr(2,9);const l=u.headers&&u.headers.keys().map(j=>u.headers.get(j)),D=JSON.stringify({includeQuery:u.includeQuery,includeExtensions:u.includeExtensions,headers:l});return Ct(u.uri,this.options.uri)+D}request(s){return this.batcher.request(s)}}let ds=(()=>{var d;class s{constructor(l){(0,M.Z)(this,"httpClient",void 0),this.httpClient=l}create(l){return new Ot(this.httpClient,l)}}return d=s,(0,M.Z)(s,"\u0275fac",function(l){return new(l||d)(h.LFG(zt.eN))}),(0,M.Z)(s,"\u0275prov",h.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})),s})();var Hn=o(4860),$i=o(4633),Jc=o(8871),Xc=o(7095),Wi=o(838),ba=o(552),ci=o(4286),Lu=function(){function d(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,$i.re)(Xc.Yk,{max:Wi.Q["cache.fragmentQueryDocuments"]||1e3,cache:ba.k})}return d.prototype.batch=function(s){var D,u=this;return this.performTransaction(function(){return D=s.update(u)},"string"==typeof s.optimistic?s.optimistic:!1===s.optimistic?null:void 0),D},d.prototype.recordOptimisticTransaction=function(s,u){this.performTransaction(s,u)},d.prototype.transformDocument=function(s){return s},d.prototype.transformForLink=function(s){return s},d.prototype.identify=function(s){},d.prototype.gc=function(){return[]},d.prototype.modify=function(s){return!1},d.prototype.readQuery=function(s,u){return void 0===u&&(u=!!s.optimistic),this.read((0,p.pi)((0,p.pi)({},s),{rootId:s.id||"ROOT_QUERY",optimistic:u}))},d.prototype.readFragment=function(s,u){return void 0===u&&(u=!!s.optimistic),this.read((0,p.pi)((0,p.pi)({},s),{query:this.getFragmentDoc(s.fragment,s.fragmentName),rootId:s.id,optimistic:u}))},d.prototype.writeQuery=function(s){var u=s.id,l=s.data,D=(0,p._T)(s,["id","data"]);return this.write(Object.assign(D,{dataId:u||"ROOT_QUERY",result:l}))},d.prototype.writeFragment=function(s){var u=s.id,l=s.data,D=s.fragment,j=s.fragmentName,X=(0,p._T)(s,["id","data","fragment","fragmentName"]);return this.write(Object.assign(X,{query:this.getFragmentDoc(D,j),dataId:u,result:l}))},d.prototype.updateQuery=function(s,u){return this.batch({update:function(l){var D=l.readQuery(s),j=u(D);return null==j?D:(l.writeQuery((0,p.pi)((0,p.pi)({},s),{data:j})),j)}})},d.prototype.updateFragment=function(s,u){return this.batch({update:function(l){var D=l.readFragment(s),j=u(D);return null==j?D:(l.writeFragment((0,p.pi)((0,p.pi)({},s),{data:j})),j)}})},d}();!1!==globalThis.__DEV__&&(Lu.prototype.getMemoryInternals=ci.Kb);var Ll=function(d){function s(u,l,D,j){var X,ae=d.call(this,u)||this;if(ae.message=u,ae.path=l,ae.query=D,ae.variables=j,Array.isArray(ae.path)){ae.missing=ae.message;for(var Me=ae.path.length-1;Me>=0;--Me)ae.missing=((X={})[ae.path[Me]]=ae.missing,X)}else ae.missing=ae.path;return ae.__proto__=s.prototype,ae}return(0,p.ZT)(s,d),s}(Error),Fl=o(2638),Fu=o(6140),Za=o(3703),ku=o(6709),xn=o(9173),Ro=o(5560),bc=o(2794),Dc=o(9990),xo=o(8725),Uo=o(6630),wc=o(2954),qi=o(1352);function Xo(d){return!1!==globalThis.__DEV__&&function kl(d){var s=new Set([d]);return s.forEach(function(u){(0,qi.s)(u)&&function Nd(d){if(!1!==globalThis.__DEV__&&!Object.isFrozen(d))try{Object.freeze(d)}catch(s){if(s instanceof TypeError)return null;throw s}return d}(u)===u&&Object.getOwnPropertyNames(u).forEach(function(l){(0,qi.s)(u[l])&&s.add(u[l])})}),d}(d),d}var qo=o(1823),pi=o(6001),es=Object.prototype.hasOwnProperty;function Da(d){return null==d}function Ld(d,s){var u=d.__typename,l=d.id,D=d._id;if("string"==typeof u&&(s&&(s.keyObject=Da(l)?Da(D)?void 0:{_id:D}:{id:l}),Da(l)&&!Da(D)&&(l=D),!Da(l)))return"".concat(u,":").concat("number"==typeof l||"string"==typeof l?l:JSON.stringify(l))}var $l={dataIdFromObject:Ld,addTypename:!0,resultCaching:!0,canonizeResults:!1};function kd(d){var s=d.canonizeResults;return void 0===s?$l.canonizeResults:s}var qc=/^[_a-z][_0-9a-z]*/i;function Zs(d){var s=d.match(qc);return s?s[0]:d}function $u(d,s,u){return!!(0,qi.s)(s)&&((0,pi.k)(s)?s.every(function(l){return $u(d,l,u)}):d.selections.every(function(l){if((0,xn.My)(l)&&(0,wc.LZ)(l,u)){var D=(0,xn.u2)(l);return es.call(s,D)&&(!l.selectionSet||$u(l.selectionSet,s[D],u))}return!0}))}function No(d){return(0,qi.s)(d)&&!(0,xn.Yk)(d)&&!(0,pi.k)(d)}function Sc(d,s){var u=(0,Xc.F)((0,xo.kU)(d));return{fragmentMap:u,lookupFragment:function(l){var D=u[l];return!D&&s&&(D=s.lookup(l)),D||null}}}var d,s,Bu=Object.create(null),eu=function(){return Bu},Uu=Object.create(null),Cc=function(){function d(s,u){var l=this;this.policies=s,this.group=u,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(D,j){return Xo((0,xn.Yk)(D)?l.get(D.__ref,j):D&&D[j])},this.canRead=function(D){return(0,xn.Yk)(D)?l.has(D.__ref):"object"==typeof D},this.toReference=function(D,j){if("string"==typeof D)return(0,xn.kQ)(D);if((0,xn.Yk)(D))return D;var X=l.policies.identify(D)[0];if(X){var ae=(0,xn.kQ)(X);return j&&l.merge(X,D),ae}}}return d.prototype.toObject=function(){return(0,p.pi)({},this.data)},d.prototype.has=function(s){return void 0!==this.lookup(s,!0)},d.prototype.get=function(s,u){if(this.group.depend(s,u),es.call(this.data,s)){var l=this.data[s];if(l&&es.call(l,u))return l[u]}return"__typename"===u&&es.call(this.policies.rootTypenamesById,s)?this.policies.rootTypenamesById[s]:this instanceof Lo?this.parent.get(s,u):void 0},d.prototype.lookup=function(s,u){return u&&this.group.depend(s,"__exists"),es.call(this.data,s)?this.data[s]:this instanceof Lo?this.parent.lookup(s,u):this.policies.rootTypenamesById[s]?Object.create(null):void 0},d.prototype.merge=function(s,u){var D,l=this;(0,xn.Yk)(s)&&(s=s.__ref),(0,xn.Yk)(u)&&(u=u.__ref);var j="string"==typeof s?this.lookup(D=s):s,X="string"==typeof u?this.lookup(D=u):u;if(X){(0,Hn.kG)("string"==typeof D,1);var ae=new Uo.w0(tu).merge(j,X);if(this.data[D]=ae,ae!==j&&(delete this.refs[D],this.group.caching)){var Me=Object.create(null);j||(Me.__exists=1),Object.keys(X).forEach(function(Fe){if(!j||j[Fe]!==ae[Fe]){Me[Fe]=1;var Je=Zs(Fe);Je!==Fe&&!l.policies.hasKeyArgs(ae.__typename,Je)&&(Me[Je]=1),void 0===ae[Fe]&&!(l instanceof Lo)&&delete ae[Fe]}}),Me.__typename&&!(j&&j.__typename)&&this.policies.rootTypenamesById[D]===ae.__typename&&delete Me.__typename,Object.keys(Me).forEach(function(Fe){return l.group.dirty(D,Fe)})}}},d.prototype.modify=function(s,u){var l=this,D=this.lookup(s);if(D){var j=Object.create(null),X=!1,ae=!0,Me={DELETE:Bu,INVALIDATE:Uu,isReference:xn.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(Fe,Je){return l.policies.readField("string"==typeof Fe?{fieldName:Fe,from:Je||(0,xn.kQ)(s)}:Fe,{store:l})}};if(Object.keys(D).forEach(function(Fe){var Je=Zs(Fe),et=D[Fe];if(void 0!==et){var ut="function"==typeof u?u:u[Fe]||u[Je];if(ut){var at=ut===eu?Bu:ut(Xo(et),(0,p.pi)((0,p.pi)({},Me),{fieldName:Je,storeFieldName:Fe,storage:l.getStorage(s,Fe)}));if(at===Uu)l.group.dirty(s,Fe);else if(at===Bu&&(at=void 0),at!==et&&(j[Fe]=at,X=!0,et=at,!1!==globalThis.__DEV__)){var At=function(Yr){if(void 0===l.lookup(Yr.__ref))return!1!==globalThis.__DEV__&&Hn.kG.warn(2,Yr),!0};if((0,xn.Yk)(at))At(at);else if(Array.isArray(at))for(var Wt=!1,Sn=void 0,hr=0,Pn=at;hr<Pn.length;hr++){var gn=Pn[hr];if((0,xn.Yk)(gn)){if(Wt=!0,At(gn))break}else"object"==typeof gn&&gn&&l.policies.identify(gn)[0]&&(Sn=gn);if(Wt&&void 0!==Sn){!1!==globalThis.__DEV__&&Hn.kG.warn(3,Sn);break}}}}void 0!==et&&(ae=!1)}}),X)return this.merge(s,j),ae&&(this instanceof Lo?this.data[s]=void 0:delete this.data[s],this.group.dirty(s,"__exists")),!0}return!1},d.prototype.delete=function(s,u,l){var D,j=this.lookup(s);if(j){var X=this.getFieldValue(j,"__typename"),ae=u&&l?this.policies.getStoreFieldName({typename:X,fieldName:u,args:l}):u;return this.modify(s,ae?((D={})[ae]=eu,D):eu)}return!1},d.prototype.evict=function(s,u){var l=!1;return s.id&&(es.call(this.data,s.id)&&(l=this.delete(s.id,s.fieldName,s.args)),this instanceof Lo&&this!==u&&(l=this.parent.evict(s,u)||l),(s.fieldName||l)&&this.group.dirty(s.id,s.fieldName||"__exists")),l},d.prototype.clear=function(){this.replace(null)},d.prototype.extract=function(){var s=this,u=this.toObject(),l=[];return this.getRootIdSet().forEach(function(D){es.call(s.policies.rootTypenamesById,D)||l.push(D)}),l.length&&(u.__META={extraRootIds:l.sort()}),u},d.prototype.replace=function(s){var u=this;if(Object.keys(this.data).forEach(function(j){s&&es.call(s,j)||u.delete(j)}),s){var l=s.__META,D=(0,p._T)(s,["__META"]);Object.keys(D).forEach(function(j){u.merge(j,D[j])}),l&&l.extraRootIds.forEach(this.retain,this)}},d.prototype.retain=function(s){return this.rootIds[s]=(this.rootIds[s]||0)+1},d.prototype.release=function(s){if(this.rootIds[s]>0){var u=--this.rootIds[s];return u||delete this.rootIds[s],u}return 0},d.prototype.getRootIdSet=function(s){return void 0===s&&(s=new Set),Object.keys(this.rootIds).forEach(s.add,s),this instanceof Lo?this.parent.getRootIdSet(s):Object.keys(this.policies.rootTypenamesById).forEach(s.add,s),s},d.prototype.gc=function(){var s=this,u=this.getRootIdSet(),l=this.toObject();u.forEach(function(X){es.call(l,X)&&(Object.keys(s.findChildRefIds(X)).forEach(u.add,u),delete l[X])});var D=Object.keys(l);if(D.length){for(var j=this;j instanceof Lo;)j=j.parent;D.forEach(function(X){return j.delete(X)})}return D},d.prototype.findChildRefIds=function(s){if(!es.call(this.refs,s)){var u=this.refs[s]=Object.create(null),l=this.data[s];if(!l)return u;var D=new Set([l]);D.forEach(function(j){(0,xn.Yk)(j)&&(u[j.__ref]=!0),(0,qi.s)(j)&&Object.keys(j).forEach(function(X){var ae=j[X];(0,qi.s)(ae)&&D.add(ae)})})}return this.refs[s]},d.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},d}(),po=function(){function d(s,u){void 0===u&&(u=null),this.caching=s,this.parent=u,this.d=null,this.resetCaching()}return d.prototype.resetCaching=function(){this.d=this.caching?(0,$i.dP)():null,this.keyMaker=new qo.B(bc.mr)},d.prototype.depend=function(s,u){if(this.d){this.d(Hu(s,u));var l=Zs(u);l!==u&&this.d(Hu(s,l)),this.parent&&this.parent.depend(s,u)}},d.prototype.dirty=function(s,u){this.d&&this.d.dirty(Hu(s,u),"__exists"===u?"forget":"setDirty")},d}();function Hu(d,s){return s+"#"+d}function Mc(d,s){wa(d)&&d.group.depend(s,"__exists")}s=function(u){function l(D){var X=D.resultCaching,Me=D.seed,Fe=u.call(this,D.policies,new po(void 0===X||X))||this;return Fe.stump=new jl(Fe),Fe.storageTrie=new qo.B(bc.mr),Me&&Fe.replace(Me),Fe}return(0,p.ZT)(l,u),l.prototype.addLayer=function(D,j){return this.stump.addLayer(D,j)},l.prototype.removeLayer=function(){return this},l.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},l}(d=Cc||(Cc={})),d.Root=s;var Lo=function(d){function s(u,l,D,j){var X=d.call(this,l.policies,j)||this;return X.id=u,X.parent=l,X.replay=D,X.group=j,D(X),X}return(0,p.ZT)(s,d),s.prototype.addLayer=function(u,l){return new s(u,this,l,this.group)},s.prototype.removeLayer=function(u){var l=this,D=this.parent.removeLayer(u);return u===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(j){var X=l.data[j],ae=D.lookup(j);ae?X?X!==ae&&Object.keys(X).forEach(function(Me){(0,Jc.D)(X[Me],ae[Me])||l.group.dirty(j,Me)}):(l.group.dirty(j,"__exists"),Object.keys(ae).forEach(function(Me){l.group.dirty(j,Me)})):l.delete(j)}),D):D===this.parent?this:D.addLayer(this.id,this.replay)},s.prototype.toObject=function(){return(0,p.pi)((0,p.pi)({},this.parent.toObject()),this.data)},s.prototype.findChildRefIds=function(u){var l=this.parent.findChildRefIds(u);return es.call(this.data,u)?(0,p.pi)((0,p.pi)({},l),d.prototype.findChildRefIds.call(this,u)):l},s.prototype.getStorage=function(){for(var u=this.parent;u.parent;)u=u.parent;return u.getStorage.apply(u,arguments)},s}(Cc),jl=function(d){function s(u){return d.call(this,"EntityStore.Stump",u,function(){},new po(u.group.caching,u.group))||this}return(0,p.ZT)(s,d),s.prototype.removeLayer=function(){return this},s.prototype.merge=function(u,l){return this.parent.merge(u,l)},s}(Lo);function tu(d,s,u){var l=d[u],D=s[u];return(0,Jc.D)(l,D)?l:D}function wa(d){return!!(d instanceof Cc&&d.group.caching)}var Vu=function(){function d(){this.known=new(bc.sy?WeakSet:Set),this.pool=new qo.B(bc.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return d.prototype.isKnown=function(s){return(0,qi.s)(s)&&this.known.has(s)},d.prototype.pass=function(s){if((0,qi.s)(s)){var u=function $d(d){return(0,qi.s)(d)?(0,pi.k)(d)?d.slice(0):(0,p.pi)({__proto__:Object.getPrototypeOf(d)},d):d}(s);return this.passes.set(u,s),u}return s},d.prototype.admit=function(s){var u=this;if((0,qi.s)(s)){var l=this.passes.get(s);if(l)return l;switch(Object.getPrototypeOf(s)){case Array.prototype:if(this.known.has(s))return s;var j=s.map(this.admit,this);return(X=this.pool.lookupArray(j)).array||(this.known.add(X.array=j),!1!==globalThis.__DEV__&&Object.freeze(j)),X.array;case null:case Object.prototype:if(this.known.has(s))return s;var ae=Object.getPrototypeOf(s),Me=[ae],Fe=this.sortedKeys(s);Me.push(Fe.json);var X,Je=Me.length;if(Fe.sorted.forEach(function(at){Me.push(u.admit(s[at]))}),!(X=this.pool.lookupArray(Me)).object){var et=X.object=Object.create(ae);this.known.add(et),Fe.sorted.forEach(function(at,At){et[at]=Me[Je+At]}),!1!==globalThis.__DEV__&&Object.freeze(et)}return X.object}}return s},d.prototype.sortedKeys=function(s){var u=Object.keys(s),l=this.pool.lookupArray(u);if(!l.keys){u.sort();var D=JSON.stringify(u);(l.keys=this.keysByJSON.get(D))||this.keysByJSON.set(D,l.keys={sorted:u,json:D})}return l.keys},d}();function zu(d){return[d.selectionSet,d.objectOrReference,d.context,d.context.canonizeResults]}var Bl=function(){function d(s){var u=this;this.knownResults=new(bc.mr?WeakMap:Map),this.config=(0,Dc.o)(s,{addTypename:!1!==s.addTypename,canonizeResults:kd(s)}),this.canon=s.canon||new Vu,this.executeSelectionSet=(0,$i.re)(function(l){var D,j=l.context.canonizeResults,X=zu(l);X[3]=!j;var ae=(D=u.executeSelectionSet).peek.apply(D,X);return ae?j?(0,p.pi)((0,p.pi)({},ae),{result:u.canon.admit(ae.result)}):ae:(Mc(l.context.store,l.enclosingRef.__ref),u.execSelectionSetImpl(l))},{max:this.config.resultCacheMaxSize||Wi.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:zu,makeCacheKey:function(l,D,j,X){if(wa(j.store))return j.store.makeCacheKey(l,(0,xn.Yk)(D)?D.__ref:D,j.varString,X)}}),this.executeSubSelectedArray=(0,$i.re)(function(l){return Mc(l.context.store,l.enclosingRef.__ref),u.execSubSelectedArrayImpl(l)},{max:this.config.resultCacheMaxSize||Wi.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(l){var D=l.field,j=l.array,X=l.context;if(wa(X.store))return X.store.makeCacheKey(D,j,X.varString)}})}return d.prototype.resetCanon=function(){this.canon=new Vu},d.prototype.diffQueryAgainstStore=function(s){var u=s.store,l=s.query,D=s.rootId,j=void 0===D?"ROOT_QUERY":D,X=s.variables,ae=s.returnPartialData,Me=void 0===ae||ae,Fe=s.canonizeResults,Je=void 0===Fe?this.config.canonizeResults:Fe,et=this.config.cache.policies;X=(0,p.pi)((0,p.pi)({},(0,xo.O4)((0,xo.iW)(l))),X);var At,ut=(0,xn.kQ)(j),at=this.executeSelectionSet({selectionSet:(0,xo.p$)(l).selectionSet,objectOrReference:ut,enclosingRef:ut,context:(0,p.pi)({store:u,query:l,policies:et,variables:X,varString:(0,Za.B)(X),canonizeResults:Je},Sc(l,this.config.fragments))});if(at.missing&&(At=[new Ll(Ul(at.missing),at.missing,l,X)],!Me))throw At[0];return{result:at.result,complete:!At,missing:At}},d.prototype.isFresh=function(s,u,l,D){if(wa(D.store)&&this.knownResults.get(s)===l){var j=this.executeSelectionSet.peek(l,u,D,this.canon.isKnown(s));if(j&&s===j.result)return!0}return!1},d.prototype.execSelectionSetImpl=function(s){var u=this,l=s.selectionSet,D=s.objectOrReference,j=s.enclosingRef,X=s.context;if((0,xn.Yk)(D)&&!X.policies.rootTypenamesById[D.__ref]&&!X.store.has(D.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(D.__ref," object")};var ut,ae=X.variables,Me=X.policies,Je=X.store.getFieldValue(D,"__typename"),et=[],at=new Uo.w0;function At(gn,Mn){var Yr;return gn.missing&&(ut=at.merge(ut,((Yr={})[Mn]=gn.missing,Yr))),gn.result}this.config.addTypename&&"string"==typeof Je&&!Me.rootIdsByTypename[Je]&&et.push({__typename:Je});var Wt=new Set(l.selections);Wt.forEach(function(gn){var Mn,Yr;if((0,wc.LZ)(gn,ae))if((0,xn.My)(gn)){var br=Me.readField({fieldName:gn.name.value,field:gn,variables:X.variables,from:D},X),dr=(0,xn.u2)(gn);void 0===br?Fu.Gw.added(gn)||(ut=at.merge(ut,((Mn={})[dr]="Can't find field '".concat(gn.name.value,"' on ").concat((0,xn.Yk)(D)?D.__ref+" object":"object "+JSON.stringify(D,null,2)),Mn))):(0,pi.k)(br)?br=At(u.executeSubSelectedArray({field:gn,array:br,enclosingRef:j,context:X}),dr):gn.selectionSet?null!=br&&(br=At(u.executeSelectionSet({selectionSet:gn.selectionSet,objectOrReference:br,enclosingRef:(0,xn.Yk)(br)?br:j,context:X}),dr)):X.canonizeResults&&(br=u.canon.pass(br)),void 0!==br&&et.push(((Yr={})[dr]=br,Yr))}else{var ui=(0,Xc.hi)(gn,X.lookupFragment);if(!ui&&gn.kind===Ro.h.FRAGMENT_SPREAD)throw(0,Hn._K)(9,gn.name.value);ui&&Me.fragmentMatches(ui,Je)&&ui.selectionSet.selections.forEach(Wt.add,Wt)}});var hr={result:(0,Uo.bw)(et),missing:ut},Pn=X.canonizeResults?this.canon.admit(hr):Xo(hr);return Pn.result&&this.knownResults.set(Pn.result,l),Pn},d.prototype.execSubSelectedArrayImpl=function(s){var ae,u=this,l=s.field,D=s.array,j=s.enclosingRef,X=s.context,Me=new Uo.w0;function Fe(Je,et){var ut;return Je.missing&&(ae=Me.merge(ae,((ut={})[et]=Je.missing,ut))),Je.result}return l.selectionSet&&(D=D.filter(X.store.canRead)),D=D.map(function(Je,et){return null===Je?null:(0,pi.k)(Je)?Fe(u.executeSubSelectedArray({field:l,array:Je,enclosingRef:j,context:X}),et):l.selectionSet?Fe(u.executeSelectionSet({selectionSet:l.selectionSet,objectOrReference:Je,enclosingRef:(0,xn.Yk)(Je)?Je:j,context:X}),et):(!1!==globalThis.__DEV__&&function jd(d,s,u){if(!s.selectionSet){var l=new Set([u]);l.forEach(function(D){(0,qi.s)(D)&&((0,Hn.kG)(!(0,xn.Yk)(D),10,function bh(d,s){return(0,xn.Yk)(s)?d.get(s.__ref,"__typename"):s&&s.__typename}(d,D),s.name.value),Object.values(D).forEach(l.add,l))})}}(X.store,l,Je),Je)}),{result:X.canonizeResults?this.canon.admit(D):D,missing:ae}},d}();function Ul(d){try{JSON.stringify(d,function(s,u){if("string"==typeof u)throw u;return u})}catch(s){return s}}var nu=o(5078),Sa=o(8363),Tc=o(3088),Gu=Object.create(null);function ru(d){var s=JSON.stringify(d);return Gu[s]||(Gu[s]=Object.create(null))}function Ja(d){var s=ru(d);return s.keyFieldsFn||(s.keyFieldsFn=function(u,l){var D=function(X,ae){return l.readField(ae,X)},j=l.keyObject=ts(d,function(X){var ae=ea(l.storeObject,X,D);return void 0===ae&&u!==l.storeObject&&es.call(u,X[0])&&(ae=ea(u,X,Wu)),(0,Hn.kG)(void 0!==ae,4,X.join("."),u),ae});return"".concat(l.typename,":").concat(JSON.stringify(j))})}function Hl(d){var s=ru(d);return s.keyArgsFn||(s.keyArgsFn=function(u,l){var D=l.field,j=l.variables,X=l.fieldName,ae=ts(d,function(Fe){var Je=Fe[0],et=Je.charAt(0);if("@"!==et)if("$"!==et){if(u)return ea(u,Fe)}else{var Wt=Je.slice(1);if(j&&es.call(j,Wt)){var Sn=Fe.slice(0);return Sn[0]=Wt,ea(j,Sn)}}else if(D&&(0,pi.O)(D.directives)){var ut=Je.slice(1),at=D.directives.find(function(hr){return hr.name.value===ut}),At=at&&(0,xn.NC)(at,j);return At&&ea(At,Fe.slice(1))}}),Me=JSON.stringify(ae);return(u||"{}"!==Me)&&(X+=":"+Me),X})}function ts(d,s){var u=new Uo.w0;return Vl(d).reduce(function(l,D){var j,X=s(D);if(void 0!==X){for(var ae=D.length-1;ae>=0;--ae)(j={})[D[ae]]=X,X=j;l=u.merge(l,X)}return l},Object.create(null))}function Vl(d){var s=ru(d);if(!s.paths){var u=s.paths=[],l=[];d.forEach(function(D,j){(0,pi.k)(D)?(Vl(D).forEach(function(X){return u.push(l.concat(X))}),l.length=0):(l.push(D),(0,pi.k)(d[j+1])||(u.push(l.slice(0)),l.length=0))})}return s.paths}function Wu(d,s){return d[s]}function ea(d,s,u){return u=u||Wu,zl(s.reduce(function l(D,j){return(0,pi.k)(D)?D.map(function(X){return l(X,j)}):D&&u(D,j)},d))}function zl(d){return(0,qi.s)(d)?(0,pi.k)(d)?d.map(zl):ts(Object.keys(d).sort(),function(s){return ea(d,s)}):d}function iu(d){return void 0!==d.args?d.args:d.field?(0,xn.NC)(d.field,d.variables):null}var Ku=function(){},Ca=function(d,s){return s.fieldName},Ma=function(d,s,u){return(0,u.mergeObjects)(d,s)},Ta=function(d,s){return s},Gl=function(){function d(s){this.config=s,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,p.pi)({dataIdFromObject:Ld},s),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),s.possibleTypes&&this.addPossibleTypes(s.possibleTypes),s.typePolicies&&this.addTypePolicies(s.typePolicies)}return d.prototype.identify=function(s,u){var l,D=this,j=u&&(u.typename||(null===(l=u.storeObject)||void 0===l?void 0:l.__typename))||s.__typename;if(j===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var Me,X=u&&u.storeObject||s,ae=(0,p.pi)((0,p.pi)({},u),{typename:j,storeObject:X,readField:u&&u.readField||function(){var ut=ta(arguments,X);return D.readField(ut,{store:D.cache.data,variables:ut.variables})}}),Fe=j&&this.getTypePolicy(j),Je=Fe&&Fe.keyFn||this.config.dataIdFromObject;Je;){var et=Je((0,p.pi)((0,p.pi)({},s),X),ae);if(!(0,pi.k)(et)){Me=et;break}Je=Ja(et)}return Me=Me?String(Me):void 0,ae.keyObject?[Me,ae.keyObject]:[Me]},d.prototype.addTypePolicies=function(s){var u=this;Object.keys(s).forEach(function(l){var D=s[l],j=D.queryType,X=D.mutationType,ae=D.subscriptionType,Me=(0,p._T)(D,["queryType","mutationType","subscriptionType"]);j&&u.setRootTypename("Query",l),X&&u.setRootTypename("Mutation",l),ae&&u.setRootTypename("Subscription",l),es.call(u.toBeAdded,l)?u.toBeAdded[l].push(Me):u.toBeAdded[l]=[Me]})},d.prototype.updateTypePolicy=function(s,u){var l=this,D=this.getTypePolicy(s),j=u.keyFields,X=u.fields;function ae(Me,Fe){Me.merge="function"==typeof Fe?Fe:!0===Fe?Ma:!1===Fe?Ta:Me.merge}ae(D,u.merge),D.keyFn=!1===j?Ku:(0,pi.k)(j)?Ja(j):"function"==typeof j?j:D.keyFn,X&&Object.keys(X).forEach(function(Me){var Fe=l.getFieldPolicy(s,Me,!0),Je=X[Me];if("function"==typeof Je)Fe.read=Je;else{var et=Je.keyArgs,ut=Je.read,at=Je.merge;Fe.keyFn=!1===et?Ca:(0,pi.k)(et)?Hl(et):"function"==typeof et?et:Fe.keyFn,"function"==typeof ut&&(Fe.read=ut),ae(Fe,at)}Fe.read&&Fe.merge&&(Fe.keyFn=Fe.keyFn||Ca)})},d.prototype.setRootTypename=function(s,u){void 0===u&&(u=s);var l="ROOT_"+s.toUpperCase(),D=this.rootTypenamesById[l];u!==D&&((0,Hn.kG)(!D||D===s,5,s),D&&delete this.rootIdsByTypename[D],this.rootIdsByTypename[u]=l,this.rootTypenamesById[l]=u)},d.prototype.addPossibleTypes=function(s){var u=this;this.usingPossibleTypes=!0,Object.keys(s).forEach(function(l){u.getSupertypeSet(l,!0),s[l].forEach(function(D){u.getSupertypeSet(D,!0).add(l);var j=D.match(qc);(!j||j[0]!==D)&&u.fuzzySubtypes.set(D,new RegExp(D))})})},d.prototype.getTypePolicy=function(s){var u=this;if(!es.call(this.typePolicies,s)){var l=this.typePolicies[s]=Object.create(null);l.fields=Object.create(null);var D=this.supertypeMap.get(s);!D&&this.fuzzySubtypes.size&&(D=this.getSupertypeSet(s,!0),this.fuzzySubtypes.forEach(function(X,ae){if(X.test(s)){var Me=u.supertypeMap.get(ae);Me&&Me.forEach(function(Fe){return D.add(Fe)})}})),D&&D.size&&D.forEach(function(X){var ae=u.getTypePolicy(X),Me=ae.fields,Fe=(0,p._T)(ae,["fields"]);Object.assign(l,Fe),Object.assign(l.fields,Me)})}var j=this.toBeAdded[s];return j&&j.length&&j.splice(0).forEach(function(X){u.updateTypePolicy(s,X)}),this.typePolicies[s]},d.prototype.getFieldPolicy=function(s,u,l){if(s){var D=this.getTypePolicy(s).fields;return D[u]||l&&(D[u]=Object.create(null))}},d.prototype.getSupertypeSet=function(s,u){var l=this.supertypeMap.get(s);return!l&&u&&this.supertypeMap.set(s,l=new Set),l},d.prototype.fragmentMatches=function(s,u,l,D){var j=this;if(!s.typeCondition)return!0;if(!u)return!1;var X=s.typeCondition.name.value;if(u===X)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(X))for(var ae=this.getSupertypeSet(u,!0),Me=[ae],Fe=function(At){var Wt=j.getSupertypeSet(At,!1);Wt&&Wt.size&&Me.indexOf(Wt)<0&&Me.push(Wt)},Je=!(!l||!this.fuzzySubtypes.size),et=!1,ut=0;ut<Me.length;++ut){var at=Me[ut];if(at.has(X))return ae.has(X)||(et&&!1!==globalThis.__DEV__&&Hn.kG.warn(6,u,X),ae.add(X)),!0;at.forEach(Fe),Je&&ut===Me.length-1&&$u(s.selectionSet,l,D)&&(Je=!1,et=!0,this.fuzzySubtypes.forEach(function(At,Wt){var Sn=u.match(At);Sn&&Sn[0]===u&&Fe(Wt)}))}return!1},d.prototype.hasKeyArgs=function(s,u){var l=this.getFieldPolicy(s,u,!1);return!(!l||!l.keyFn)},d.prototype.getStoreFieldName=function(s){var j,u=s.typename,l=s.fieldName,D=this.getFieldPolicy(u,l,!1),X=D&&D.keyFn;if(X&&u)for(var ae={typename:u,fieldName:l,field:s.field||null,variables:s.variables},Me=iu(s);X;){var Fe=X(Me,ae);if(!(0,pi.k)(Fe)){j=Fe||l;break}X=Hl(Fe)}return void 0===j&&(j=s.field?(0,xn.vf)(s.field,s.variables):(0,xn.PT)(l,iu(s))),!1===j?l:l===Zs(j)?j:l+":"+j},d.prototype.readField=function(s,u){var l=s.from;if(l&&(s.field||s.fieldName)){if(void 0===s.typename){var j=u.store.getFieldValue(l,"__typename");j&&(s.typename=j)}var X=this.getStoreFieldName(s),ae=Zs(X),Me=u.store.getFieldValue(l,X),Fe=this.getFieldPolicy(s.typename,ae,!1),Je=Fe&&Fe.read;if(Je){var et=su(this,l,s,u,u.store.getStorage((0,xn.Yk)(l)?l.__ref:l,X));return Tc.ab.withValue(this.cache,Je,[Me,et])}return Me}},d.prototype.getReadFunction=function(s,u){var l=this.getFieldPolicy(s,u,!1);return l&&l.read},d.prototype.getMergeFunction=function(s,u,l){var D=this.getFieldPolicy(s,u,!1),j=D&&D.merge;return!j&&l&&(j=(D=this.getTypePolicy(l))&&D.merge),j},d.prototype.runMergeFunction=function(s,u,l,D,j){var X=l.field,ae=l.typename,Me=l.merge;return Me===Ma?Bd(D.store)(s,u):Me===Ta?u:(D.overwrite&&(s=void 0),Me(s,u,su(this,void 0,{typename:ae,fieldName:X.name.value,field:X,variables:D.variables},D,j||Object.create(null))))},d}();function su(d,s,u,l,D){var j=d.getStoreFieldName(u),X=Zs(j),ae=u.variables||l.variables,Me=l.store,Fe=Me.toReference,Je=Me.canRead;return{args:iu(u),field:u.field||null,fieldName:X,storeFieldName:j,variables:ae,isReference:xn.Yk,toReference:Fe,storage:D,cache:d.cache,canRead:Je,readField:function(){return d.readField(ta(arguments,s,ae),l)},mergeObjects:Bd(l.store)}}function ta(d,s,u){var X,l=d[0];return"string"==typeof l?X={fieldName:l,from:d.length>1?d[1]:s}:(X=(0,p.pi)({},l),es.call(X,"from")||(X.from=s)),!1!==globalThis.__DEV__&&void 0===X.from&&!1!==globalThis.__DEV__&&Hn.kG.warn(7,(0,Sa.v)(Array.from(d))),void 0===X.variables&&(X.variables=u),X}function Bd(d){return function(u,l){if((0,pi.k)(u)||(0,pi.k)(l))throw(0,Hn._K)(8);if((0,qi.s)(u)&&(0,qi.s)(l)){var D=d.getFieldValue(u,"__typename"),j=d.getFieldValue(l,"__typename");if(D&&j&&D!==j)return l;if((0,xn.Yk)(u)&&No(l))return d.merge(u.__ref,l),u;if(No(u)&&(0,xn.Yk)(l))return d.merge(u,l.__ref),l;if(No(u)&&No(l))return(0,p.pi)((0,p.pi)({},u),l)}return l}}function Qu(d,s,u){var l="".concat(s).concat(u),D=d.flavors.get(l);return D||d.flavors.set(l,D=d.clientOnly===s&&d.deferred===u?d:(0,p.pi)((0,p.pi)({},d),{clientOnly:s,deferred:u})),D}var Dh=function(){function d(s,u,l){this.cache=s,this.reader=u,this.fragments=l}return d.prototype.writeToStore=function(s,u){var l=this,D=u.query,j=u.result,X=u.dataId,ae=u.variables,Me=u.overwrite,Fe=(0,xo.$H)(D),Je=function ju(){return new Uo.w0}();ae=(0,p.pi)((0,p.pi)({},(0,xo.O4)(Fe)),ae);var et=(0,p.pi)((0,p.pi)({store:s,written:Object.create(null),merge:function(at,At){return Je.merge(at,At)},variables:ae,varString:(0,Za.B)(ae)},Sc(D,this.fragments)),{overwrite:!!Me,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),ut=this.processSelectionSet({result:j||Object.create(null),dataId:X,selectionSet:Fe.selectionSet,mergeTree:{map:new Map},context:et});if(!(0,xn.Yk)(ut))throw(0,Hn._K)(11,j);return et.incomingById.forEach(function(at,At){var Wt=at.storeObject,Sn=at.mergeTree,hr=at.fieldNodeSet,Pn=(0,xn.kQ)(At);if(Sn&&Sn.map.size){var gn=l.applyMerges(Sn,Pn,Wt,et);if((0,xn.Yk)(gn))return;Wt=gn}if(!1!==globalThis.__DEV__&&!et.overwrite){var Mn=Object.create(null);hr.forEach(function(dr){dr.selectionSet&&(Mn[dr.name.value]=!0)}),Object.keys(Wt).forEach(function(dr){(function(dr){return!0===Mn[Zs(dr)]})(dr)&&!function(dr){var ui=Sn&&Sn.map.get(dr);return!!(ui&&ui.info&&ui.info.merge)}(dr)&&function zd(d,s,u,l){var D=function(et){var ut=l.getFieldValue(et,u);return"object"==typeof ut&&ut},j=D(d);if(j){var X=D(s);if(X&&!(0,xn.Yk)(j)&&!(0,Jc.D)(j,X)&&!Object.keys(j).every(function(et){return void 0!==l.getFieldValue(X,et)})){var ae=l.getFieldValue(d,"__typename")||l.getFieldValue(s,"__typename"),Me=Zs(u),Fe="".concat(ae,".").concat(Me);if(!Ia.has(Fe)){Ia.add(Fe);var Je=[];!(0,pi.k)(j)&&!(0,pi.k)(X)&&[j,X].forEach(function(et){var ut=l.getFieldValue(et,"__typename");"string"==typeof ut&&!Je.includes(ut)&&Je.push(ut)}),!1!==globalThis.__DEV__&&Hn.kG.warn(14,Me,ae,Je.length?"either ensure all objects of type "+Je.join(" and ")+" have an ID or a custom merge function, or ":"",Fe,j,X)}}}}(Pn,Wt,dr,et.store)})}s.merge(At,Wt)}),s.retain(ut.__ref),ut},d.prototype.processSelectionSet=function(s){var u=this,l=s.dataId,D=s.result,j=s.selectionSet,X=s.context,ae=s.mergeTree,Me=this.cache.policies,Fe=Object.create(null),Je=l&&Me.rootTypenamesById[l]||(0,xn.qw)(D,j,X.fragmentMap)||l&&X.store.get(l,"__typename");"string"==typeof Je&&(Fe.__typename=Je);var et=function(){var gn=ta(arguments,Fe,X.variables);if((0,xn.Yk)(gn.from)){var Mn=X.incomingById.get(gn.from.__ref);if(Mn){var Yr=Me.readField((0,p.pi)((0,p.pi)({},gn),{from:Mn.storeObject}),X);if(void 0!==Yr)return Yr}}return Me.readField(gn,X)},ut=new Set;this.flattenFields(j,D,X,Je).forEach(function(gn,Mn){var Yr,br=(0,xn.u2)(Mn),dr=D[br];if(ut.add(Mn),void 0!==dr){var ui=Me.getStoreFieldName({typename:Je,fieldName:Mn.name.value,field:Mn,variables:gn.variables}),Ki=Hd(ae,ui),Ei=u.processFieldValue(dr,Mn,Mn.selectionSet?Qu(gn,!1,!1):gn,Ki),go=void 0;Mn.selectionSet&&((0,xn.Yk)(Ei)||No(Ei))&&(go=et("__typename",Ei));var Js=Me.getMergeFunction(Je,Mn.name.value,go);Js?Ki.info={field:Mn,typename:Je,merge:Js}:Vd(ae,ui),Fe=gn.merge(Fe,((Yr={})[ui]=Ei,Yr))}else!1!==globalThis.__DEV__&&!gn.clientOnly&&!gn.deferred&&!Fu.Gw.added(Mn)&&!Me.getReadFunction(Je,Mn.name.value)&&!1!==globalThis.__DEV__&&Hn.kG.error(12,(0,xn.u2)(Mn),D)});try{var at=Me.identify(D,{typename:Je,selectionSet:j,fragmentMap:X.fragmentMap,storeObject:Fe,readField:et}),Wt=at[1];l=l||at[0],Wt&&(Fe=X.merge(Fe,Wt))}catch(gn){if(!l)throw gn}if("string"==typeof l){var Sn=(0,xn.kQ)(l),hr=X.written[l]||(X.written[l]=[]);if(hr.indexOf(j)>=0||(hr.push(j),this.reader&&this.reader.isFresh(D,Sn,j,X)))return Sn;var Pn=X.incomingById.get(l);return Pn?(Pn.storeObject=X.merge(Pn.storeObject,Fe),Pn.mergeTree=Wl(Pn.mergeTree,ae),ut.forEach(function(gn){return Pn.fieldNodeSet.add(gn)})):X.incomingById.set(l,{storeObject:Fe,mergeTree:Yu(ae)?void 0:ae,fieldNodeSet:ut}),Sn}return Fe},d.prototype.processFieldValue=function(s,u,l,D){var j=this;return u.selectionSet&&null!==s?(0,pi.k)(s)?s.map(function(X,ae){var Me=j.processFieldValue(X,u,l,Hd(D,ae));return Vd(D,ae),Me}):this.processSelectionSet({result:s,selectionSet:u.selectionSet,context:l,mergeTree:D}):!1!==globalThis.__DEV__?(0,nu.X)(s):s},d.prototype.flattenFields=function(s,u,l,D){void 0===D&&(D=(0,xn.qw)(u,s,l.fragmentMap));var j=new Map,X=this.cache.policies,ae=new qo.B(!1);return function Me(Fe,Je){var et=ae.lookup(Fe,Je.clientOnly,Je.deferred);et.visited||(et.visited=!0,Fe.selections.forEach(function(ut){if((0,wc.LZ)(ut,l.variables)){var at=Je.clientOnly,At=Je.deferred;if(!(at&&At)&&(0,pi.O)(ut.directives)&&ut.directives.forEach(function(hr){var Pn=hr.name.value;if("client"===Pn&&(at=!0),"defer"===Pn){var gn=(0,xn.NC)(hr,l.variables);(!gn||!1!==gn.if)&&(At=!0)}}),(0,xn.My)(ut)){var Wt=j.get(ut);Wt&&(at=at&&Wt.clientOnly,At=At&&Wt.deferred),j.set(ut,Qu(l,at,At))}else{var Sn=(0,Xc.hi)(ut,l.lookupFragment);if(!Sn&&ut.kind===Ro.h.FRAGMENT_SPREAD)throw(0,Hn._K)(13,ut.name.value);Sn&&X.fragmentMatches(Sn,D,u,l.variables)&&Me(Sn.selectionSet,Qu(l,at,At))}}}))}(s,l),j},d.prototype.applyMerges=function(s,u,l,D,j){var X,ae=this;if(s.map.size&&!(0,xn.Yk)(l)){var Me=(0,pi.k)(l)||!(0,xn.Yk)(u)&&!No(u)?void 0:u,Fe=l;Me&&!j&&(j=[(0,xn.Yk)(Me)?Me.__ref:Me]);var Je,et=function(ut,at){return(0,pi.k)(ut)?"number"==typeof at?ut[at]:void 0:D.store.getFieldValue(ut,String(at))};s.map.forEach(function(ut,at){var At=et(Me,at),Wt=et(Fe,at);if(void 0!==Wt){j&&j.push(at);var Sn=ae.applyMerges(ut,At,Wt,D,j);Sn!==Wt&&(Je=Je||new Map).set(at,Sn),j&&(0,Hn.kG)(j.pop()===at)}}),Je&&(l=(0,pi.k)(Fe)?Fe.slice(0):(0,p.pi)({},Fe),Je.forEach(function(ut,at){l[at]=ut}))}return s.info?this.cache.policies.runMergeFunction(u,l,s.info,D,j&&(X=D.store).getStorage.apply(X,j)):l},d}(),Ud=[];function Hd(d,s){var u=d.map;return u.has(s)||u.set(s,Ud.pop()||{map:new Map}),u.get(s)}function Wl(d,s){if(d===s||!s||Yu(s))return d;if(!d||Yu(d))return s;var u=d.info&&s.info?(0,p.pi)((0,p.pi)({},d.info),s.info):d.info||s.info,l=d.map.size&&s.map.size,j={info:u,map:l?new Map:d.map.size?d.map:s.map};if(l){var X=new Set(s.map.keys());d.map.forEach(function(ae,Me){j.map.set(Me,Wl(ae,s.map.get(Me))),X.delete(Me)}),X.forEach(function(ae){j.map.set(ae,Wl(s.map.get(ae),d.map.get(ae)))})}return j}function Yu(d){return!d||!(d.info||d.map.size)}function Vd(d,s){var u=d.map,l=u.get(s);l&&Yu(l)&&(Ud.push(l),u.delete(s))}var Ia=new Set,Zu=function(d){function s(u){void 0===u&&(u={});var l=d.call(this)||this;return l.watches=new Set,l.addTypenameTransform=new Fl.A(Fu.Gw),l.assumeImmutableResults=!0,l.makeVar=Tc.QS,l.txCount=0,l.config=function Fd(d){return(0,Dc.o)($l,d)}(u),l.addTypename=!!l.config.addTypename,l.policies=new Gl({cache:l,dataIdFromObject:l.config.dataIdFromObject,possibleTypes:l.config.possibleTypes,typePolicies:l.config.typePolicies}),l.init(),l}return(0,p.ZT)(s,d),s.prototype.init=function(){var u=this.data=new Cc.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=u.stump,this.resetResultCache()},s.prototype.resetResultCache=function(u){var l=this,D=this.storeReader,j=this.config.fragments;this.storeWriter=new Dh(this,this.storeReader=new Bl({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:kd(this.config),canon:u?void 0:D&&D.canon,fragments:j}),j),this.maybeBroadcastWatch=(0,$i.re)(function(X,ae){return l.broadcastWatch(X,ae)},{max:this.config.resultCacheMaxSize||Wi.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(X){var ae=X.optimistic?l.optimisticData:l.data;if(wa(ae))return ae.makeCacheKey(X.query,X.callback,(0,Za.B)({optimistic:X.optimistic,id:X.id,variables:X.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(X){return X.resetCaching()})},s.prototype.restore=function(u){return this.init(),u&&this.data.replace(u),this},s.prototype.extract=function(u){return void 0===u&&(u=!1),(u?this.optimisticData:this.data).extract()},s.prototype.read=function(u){var l=u.returnPartialData,D=void 0!==l&&l;try{return this.storeReader.diffQueryAgainstStore((0,p.pi)((0,p.pi)({},u),{store:u.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:D})).result||null}catch(j){if(j instanceof Ll)return null;throw j}},s.prototype.write=function(u){try{return++this.txCount,this.storeWriter.writeToStore(this.data,u)}finally{! --this.txCount&&!1!==u.broadcast&&this.broadcastWatches()}},s.prototype.modify=function(u){if(es.call(u,"id")&&!u.id)return!1;var l=u.optimistic?this.optimisticData:this.data;try{return++this.txCount,l.modify(u.id||"ROOT_QUERY",u.fields)}finally{! --this.txCount&&!1!==u.broadcast&&this.broadcastWatches()}},s.prototype.diff=function(u){return this.storeReader.diffQueryAgainstStore((0,p.pi)((0,p.pi)({},u),{store:u.optimistic?this.optimisticData:this.data,rootId:u.id||"ROOT_QUERY",config:this.config}))},s.prototype.watch=function(u){var l=this;return this.watches.size||(0,Tc._v)(this),this.watches.add(u),u.immediate&&this.maybeBroadcastWatch(u),function(){l.watches.delete(u)&&!l.watches.size&&(0,Tc.li)(l),l.maybeBroadcastWatch.forget(u)}},s.prototype.gc=function(u){var l;Za.B.reset(),ku.S.reset(),this.addTypenameTransform.resetCache(),null===(l=this.config.fragments)||void 0===l||l.resetCaches();var D=this.optimisticData.gc();return u&&!this.txCount&&(u.resetResultCache?this.resetResultCache(u.resetResultIdentities):u.resetResultIdentities&&this.storeReader.resetCanon()),D},s.prototype.retain=function(u,l){return(l?this.optimisticData:this.data).retain(u)},s.prototype.release=function(u,l){return(l?this.optimisticData:this.data).release(u)},s.prototype.identify=function(u){if((0,xn.Yk)(u))return u.__ref;try{return this.policies.identify(u)[0]}catch(l){!1!==globalThis.__DEV__&&Hn.kG.warn(l)}},s.prototype.evict=function(u){if(!u.id){if(es.call(u,"id"))return!1;u=(0,p.pi)((0,p.pi)({},u),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(u,this.data)}finally{! --this.txCount&&!1!==u.broadcast&&this.broadcastWatches()}},s.prototype.reset=function(u){var l=this;return this.init(),Za.B.reset(),u&&u.discardWatches?(this.watches.forEach(function(D){return l.maybeBroadcastWatch.forget(D)}),this.watches.clear(),(0,Tc.li)(this)):this.broadcastWatches(),Promise.resolve()},s.prototype.removeOptimistic=function(u){var l=this.optimisticData.removeLayer(u);l!==this.optimisticData&&(this.optimisticData=l,this.broadcastWatches())},s.prototype.batch=function(u){var Fe,l=this,D=u.update,j=u.optimistic,X=void 0===j||j,ae=u.removeOptimistic,Me=u.onWatchUpdated,Je=function(ut){var At=l.data,Wt=l.optimisticData;++l.txCount,ut&&(l.data=l.optimisticData=ut);try{return Fe=D(l)}finally{--l.txCount,l.data=At,l.optimisticData=Wt}},et=new Set;return Me&&!this.txCount&&this.broadcastWatches((0,p.pi)((0,p.pi)({},u),{onWatchUpdated:function(ut){return et.add(ut),!1}})),"string"==typeof X?this.optimisticData=this.optimisticData.addLayer(X,Je):!1===X?Je(this.data):Je(),"string"==typeof ae&&(this.optimisticData=this.optimisticData.removeLayer(ae)),Me&&et.size?(this.broadcastWatches((0,p.pi)((0,p.pi)({},u),{onWatchUpdated:function(ut,at){var At=Me.call(this,ut,at);return!1!==At&&et.delete(ut),At}})),et.size&&et.forEach(function(ut){return l.maybeBroadcastWatch.dirty(ut)})):this.broadcastWatches(u),Fe},s.prototype.performTransaction=function(u,l){return this.batch({update:u,optimistic:l||null!==l})},s.prototype.transformDocument=function(u){return this.addTypenameToDocument(this.addFragmentsToDocument(u))},s.prototype.broadcastWatches=function(u){var l=this;this.txCount||this.watches.forEach(function(D){return l.maybeBroadcastWatch(D,u)})},s.prototype.addFragmentsToDocument=function(u){var l=this.config.fragments;return l?l.transform(u):u},s.prototype.addTypenameToDocument=function(u){return this.addTypename?this.addTypenameTransform.transformDocument(u):u},s.prototype.broadcastWatch=function(u,l){var D=u.lastDiff,j=this.diff(u);l&&(u.optimistic&&"string"==typeof l.optimistic&&(j.fromOptimisticTransaction=!0),l.onWatchUpdated&&!1===l.onWatchUpdated.call(this,u,j,D))||(!D||!(0,Jc.D)(D.result,j.result))&&u.callback(u.lastDiff=j,D)},s}(Lu);!1!==globalThis.__DEV__&&(Zu.prototype.getMemoryInternals=ci.q4);const Oi=new h.OlP("GQL Cache");var Gd=o(2236);class Ic{constructor(){this.platform=(0,h.f3M)(C.a7),this.cache=(0,h.f3M)(Oi,{optional:!0})??new Zu,this.clientOptionsBase={name:this.platform.PX_OAUTH_CLIENT_ID,version:this.platform.APOLLO_STUDIO_VERSION},this.httpLinkOptionsBase={withCredentials:!1},this.batchOperationTest=s=>{const{canBeBatched:u}=s.getContext();return u||void 0===u},this.subscriptionOperationTest=({query:s})=>{const u=(0,xo.p$)(s);return u.kind===Ro.h.OPERATION_DEFINITION&&u.operation===Gd.ku.SUBSCRIPTION}}}let ou=(()=>{var d;class s extends Ic{constructor(){super(...arguments),this.httpLink=(0,h.f3M)(Rn)}resolve(){return{...this.clientOptionsBase,cache:this.cache,link:this.httpLink.create({...this.httpLinkOptionsBase,uri:this.platform.GRAPH_QL_ENDPOINT})}}}return(d=s).\u0275fac=function(){let u;return function(D){return(u||(u=h.n5z(d)))(D||d)}}(),d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})();var Bs=pe.i.split,Xa=o(131),Ac=function(d){function s(u){var l=d.call(this)||this;return l.client=u,l}return(0,p.ZT)(s,d),s.prototype.request=function(u){var l=this;return new Ie.y(function(D){return l.client.subscribe((0,p.pi)((0,p.pi)({},u),{query:(0,ku.S)(u.query)}),{next:D.next.bind(D),complete:D.complete.bind(D),error:function(j){if(j instanceof Error)return D.error(j);var X=function Kl(d){return(0,qi.s)(d)&&"code"in d&&"reason"in d}(j);return X||function au(d){var s;return(0,qi.s)(d)&&(null===(s=d.target)||void 0===s?void 0:s.readyState)===WebSocket.CLOSED}(j)?D.error(new Error("Socket closed".concat(X?" with event ".concat(j.code):"").concat(X?" ".concat(j.reason):""))):D.error(new Xa.cA({graphQLErrors:Array.isArray(j)?j:[j]}))}})})},s}(pe.i);function Is(d){return null===d?"null":Array.isArray(d)?"array":typeof d}function Aa(d){return"object"===Is(d)}function cu(d,s){return d.length<124?d:s}var As=function(d){return d[d.InternalServerError=4500]="InternalServerError",d[d.InternalClientError=4005]="InternalClientError",d[d.BadRequest=4400]="BadRequest",d[d.BadResponse=4004]="BadResponse",d[d.Unauthorized=4401]="Unauthorized",d[d.Forbidden=4403]="Forbidden",d[d.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",d[d.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",d[d.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",d[d.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",d[d.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",d}(As||{}),Pi=function(d){return d.ConnectionInit="connection_init",d.ConnectionAck="connection_ack",d.Ping="ping",d.Pong="pong",d.Subscribe="subscribe",d.Next="next",d.Error="error",d.Complete="complete",d}(Pi||{});function Ju(d){if(!Aa(d))throw new Error(`Message is expected to be an object, but got ${Is(d)}`);if(!d.type)throw new Error("Message is missing the 'type' property");if("string"!=typeof d.type)throw new Error(`Message is expects the 'type' property to be a string, but got ${Is(d.type)}`);switch(d.type){case Pi.ConnectionInit:case Pi.ConnectionAck:case Pi.Ping:case Pi.Pong:if(null!=d.payload&&!Aa(d.payload))throw new Error(`"${d.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${d.payload}"`);break;case Pi.Subscribe:if("string"!=typeof d.id)throw new Error(`"${d.type}" message expects the 'id' property to be a string, but got ${Is(d.id)}`);if(!d.id)throw new Error(`"${d.type}" message requires a non-empty 'id' property`);if(!Aa(d.payload))throw new Error(`"${d.type}" message expects the 'payload' property to be an object, but got ${Is(d.payload)}`);if("string"!=typeof d.payload.query)throw new Error(`"${d.type}" message payload expects the 'query' property to be a string, but got ${Is(d.payload.query)}`);if(null!=d.payload.variables&&!Aa(d.payload.variables))throw new Error(`"${d.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${Is(d.payload.variables)}`);if(null!=d.payload.operationName&&"string"!==Is(d.payload.operationName))throw new Error(`"${d.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${Is(d.payload.operationName)}`);if(null!=d.payload.extensions&&!Aa(d.payload.extensions))throw new Error(`"${d.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${Is(d.payload.extensions)}`);break;case Pi.Next:if("string"!=typeof d.id)throw new Error(`"${d.type}" message expects the 'id' property to be a string, but got ${Is(d.id)}`);if(!d.id)throw new Error(`"${d.type}" message requires a non-empty 'id' property`);if(!Aa(d.payload))throw new Error(`"${d.type}" message expects the 'payload' property to be an object, but got ${Is(d.payload)}`);break;case Pi.Error:if("string"!=typeof d.id)throw new Error(`"${d.type}" message expects the 'id' property to be a string, but got ${Is(d.id)}`);if(!d.id)throw new Error(`"${d.type}" message requires a non-empty 'id' property`);if(!function Us(d){return Array.isArray(d)&&d.length>0&&d.every(s=>"message"in s)}(d.payload))throw new Error(`"${d.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(d.payload)}`);break;case Pi.Complete:if("string"!=typeof d.id)throw new Error(`"${d.type}" message expects the 'id' property to be a string, but got ${Is(d.id)}`);if(!d.id)throw new Error(`"${d.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${d.type}"`)}return d}function Oc(d,s){return Ju(d),JSON.stringify(d,s)}var ec=function(d){return this instanceof ec?(this.v=d,this):new ec(d)};function uu(d){const{url:s,connectionParams:u,lazy:l=!0,onNonLazyError:D=console.error,lazyCloseTimeout:j=0,keepAlive:X=0,disablePong:ae,connectionAckWaitTimeout:Me=0,retryAttempts:Fe=5,retryWait:Je=function(){var jt=(0,c.Z)(function*(Kt){let yn=1e3;for(let kn=0;kn<Kt;kn++)yn*=2;yield new Promise(kn=>setTimeout(kn,yn+Math.floor(2700*Math.random()+300)))});return function on(Kt){return jt.apply(this,arguments)}}(),shouldRetry:et=tc,isFatalConnectionProblem:ut,on:at,webSocketImpl:At,generateID:Wt=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,on=>{const Kt=16*Math.random()|0;return("x"==on?Kt:3&Kt|8).toString(16)})},jsonMessageReplacer:Sn,jsonMessageReviver:hr}=d;let Pn;if(At){if(!function lu(d){return"function"==typeof d&&"constructor"in d&&"CLOSED"in d&&"CLOSING"in d&&"CONNECTING"in d&&"OPEN"in d}(At))throw new Error("Invalid WebSocket implementation provided");Pn=At}else typeof WebSocket<"u"?Pn=WebSocket:typeof global<"u"?Pn=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(Pn=window.WebSocket||window.MozWebSocket);if(!Pn)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const gn=Pn,Mn=(()=>{const jt=(()=>{const Kt={};return{on:(yn,kn)=>(Kt[yn]=kn,()=>{delete Kt[yn]}),emit(yn){var kn;"id"in yn&&(null===(kn=Kt[yn.id])||void 0===kn||kn.call(Kt,yn))}}})(),on={connecting:at?.connecting?[at.connecting]:[],opened:at?.opened?[at.opened]:[],connected:at?.connected?[at.connected]:[],ping:at?.ping?[at.ping]:[],pong:at?.pong?[at.pong]:[],message:at?.message?[jt.emit,at.message]:[jt.emit],closed:at?.closed?[at.closed]:[],error:at?.error?[at.error]:[]};return{onMessage:jt.on,on(Kt,yn){const kn=on[Kt];return kn.push(yn),()=>{kn.splice(kn.indexOf(yn),1)}},emit(Kt,...yn){for(const kn of[...on[Kt]])kn(...yn)}}})();function Yr(jt){const on=[Mn.on("error",Kt=>{on.forEach(yn=>yn()),jt(Kt)}),Mn.on("closed",Kt=>{on.forEach(yn=>yn()),jt(Kt)})]}let br,ui,dr=0,Ki=!1,Ei=0,go=!1;function Js(){return Xs.apply(this,arguments)}function Xs(){return Xs=(0,c.Z)(function*(){clearTimeout(ui);const[jt,on]=yield br??(br=new Promise((kn,si)=>(0,c.Z)(function*(){if(Ki){if(yield Je(Ei),!dr)return br=void 0,si({code:1e3,reason:"All Subscriptions Gone"});Ei++}Mn.emit("connecting",Ki);const nr=new gn("function"==typeof s?yield s():s,"graphql-transport-ws");let ns,Br;function Ho(){isFinite(X)&&X>0&&(clearTimeout(Br),Br=setTimeout(()=>{nr.readyState===gn.OPEN&&(nr.send(Oc({type:Pi.Ping})),Mn.emit("ping",!1,void 0))},X))}Yr(Rr=>{br=void 0,clearTimeout(ns),clearTimeout(Br),si(Rr),Rr instanceof Ql&&(nr.close(4499,"Terminated"),nr.onerror=null,nr.onclose=null)}),nr.onerror=Rr=>Mn.emit("error",Rr),nr.onclose=Rr=>Mn.emit("closed",Rr),nr.onopen=(0,c.Z)(function*(){try{Mn.emit("opened",nr);const Rr="function"==typeof u?yield u():u;if(nr.readyState!==gn.OPEN)return;nr.send(Oc(Rr?{type:Pi.ConnectionInit,payload:Rr}:{type:Pi.ConnectionInit},Sn)),isFinite(Me)&&Me>0&&(ns=setTimeout(()=>{nr.close(As.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},Me)),Ho()}catch(Rr){Mn.emit("error",Rr),nr.close(As.InternalClientError,cu(Rr instanceof Error?Rr.message:new Error(Rr).message,"Internal client error"))}});let na=!1;nr.onmessage=({data:Rr})=>{try{const oi=function Wd(d,s){return Ju("string"==typeof d?JSON.parse(d,s):d)}(Rr,hr);if(Mn.emit("message",oi),"ping"===oi.type||"pong"===oi.type)return Mn.emit(oi.type,!0,oi.payload),void("pong"===oi.type?Ho():ae||(nr.send(Oc(oi.payload?{type:Pi.Pong,payload:oi.payload}:{type:Pi.Pong})),Mn.emit("pong",!1,oi.payload)));if(na)return;if(oi.type!==Pi.ConnectionAck)throw new Error(`First message cannot be of type ${oi.type}`);clearTimeout(ns),na=!0,Mn.emit("connected",nr,oi.payload,Ki),Ki=!1,Ei=0,kn([nr,new Promise((Os,ic)=>Yr(ic))])}catch(oi){nr.onmessage=null,Mn.emit("error",oi),nr.close(As.BadResponse,cu(oi instanceof Error?oi.message:new Error(oi).message,"Bad response"))}}})()));jt.readyState===gn.CLOSING&&(yield on);let Kt=()=>{};const yn=new Promise(kn=>Kt=kn);return[jt,Kt,Promise.race([yn.then(()=>{if(!dr){const kn=()=>jt.close(1e3,"Normal Closure");isFinite(j)&&j>0?ui=setTimeout(()=>{jt.readyState===gn.OPEN&&kn()},j):kn()}}),on])]}),Xs.apply(this,arguments)}function rc(jt){if(tc(jt)&&(function Kd(d){return![1e3,1001,1006,1005,1012,1013,1014].includes(d)&&d>=1e3&&d<=1999}(jt.code)||[As.InternalServerError,As.InternalClientError,As.BadRequest,As.BadResponse,As.Unauthorized,As.SubprotocolNotAcceptable,As.SubscriberAlreadyExists,As.TooManyInitialisationRequests].includes(jt.code)))throw jt;if(go)return!1;if(tc(jt)&&1e3===jt.code)return dr>0;if(!Fe||Ei>=Fe||!et(jt)||ut?.(jt))throw jt;return Ki=!0}function Fo(jt,on){const Kt=Wt(jt);let yn=!1,kn=!1,si=()=>{dr--,yn=!0};return(0,c.Z)(function*(){for(dr++;;)try{const[nr,ns,Br]=yield Js();if(yn)return ns();const Ho=Mn.onMessage(Kt,na=>{switch(na.type){case Pi.Next:return void on.next(na.payload);case Pi.Error:return kn=!0,yn=!0,on.error(na.payload),void si();case Pi.Complete:return yn=!0,void si()}});return nr.send(Oc({id:Kt,type:Pi.Subscribe,payload:jt},Sn)),si=()=>{!yn&&nr.readyState===gn.OPEN&&nr.send(Oc({id:Kt,type:Pi.Complete},Sn)),dr--,yn=!0,ns()},void(yield Br.finally(Ho))}catch(nr){if(!rc(nr))return}})().then(()=>{kn||on.complete()}).catch(nr=>{on.error(nr)}),()=>{yn||si()}}return l||(0,c.Z)(function*(){for(dr++;;)try{const[,,jt]=yield Js();yield jt}catch(jt){try{if(!rc(jt))return}catch(on){return D?.(on)}}})(),{on:Mn.on,subscribe:Fo,iterate(jt){const on=[],Kt={done:!1,error:null,resolve:()=>{}},yn=Fo(jt,{next(si){on.push(si),Kt.resolve()},error(si){Kt.done=!0,Kt.error=si,Kt.resolve()},complete(){Kt.done=!0,Kt.resolve()}}),kn=function(){return function(d,s,u){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var D,l=u.apply(d,s||[]),j=[];return D={},X("next"),X("throw"),X("return"),D[Symbol.asyncIterator]=function(){return this},D;function X(ut){l[ut]&&(D[ut]=function(at){return new Promise(function(At,Wt){j.push([ut,at,At,Wt])>1||ae(ut,at)})})}function ae(ut,at){try{!function Me(ut){ut.value instanceof ec?Promise.resolve(ut.value.v).then(Fe,Je):et(j[0][2],ut)}(l[ut](at))}catch(At){et(j[0][3],At)}}function Fe(ut){ae("next",ut)}function Je(ut){ae("throw",ut)}function et(ut,at){ut(at),j.shift(),j.length&&ae(j[0][0],j[0][1])}}(this,arguments,function*(){for(;;){for(on.length||(yield ec(new Promise(ns=>Kt.resolve=ns)));on.length;)yield yield ec(on.shift());if(Kt.error)throw Kt.error;if(Kt.done)return yield ec(void 0)}})}();return kn.throw=function(){var si=(0,c.Z)(function*(nr){return Kt.done||(Kt.done=!0,Kt.error=nr,Kt.resolve()),{done:!0,value:void 0}});return function(nr){return si.apply(this,arguments)}}(),kn.return=(0,c.Z)(function*(){return yn(),{done:!0,value:void 0}}),kn},dispose:()=>(0,c.Z)(function*(){if(go=!0,br){const[jt]=yield br;jt.close(1e3,"Normal Closure")}})(),terminate(){br&&Mn.emit("closed",new Ql)}}}class Ql extends Error{constructor(){super(...arguments),this.name="TerminatedCloseEvent",this.message="4499: Terminated",this.code=4499,this.reason="Terminated",this.wasClean=!1}}function tc(d){return Aa(d)&&"code"in d&&"reason"in d}var Qd=o(4036);let du=(()=>{var d;class s extends ou{constructor(){super(...arguments),this.httpBatchLink=(0,h.f3M)(ds),this.sessionProviderFacade=(0,h.f3M)(_r),this.tokenExpirySubscription=null,this.httpLinkOptions={...this.httpLinkOptionsBase,batchMax:30,batchInterval:20}}resolve(){var l=this;const D=this.httpBatchLink.create({...this.httpLinkOptions,uri:this.platform.GRAPH_QL_ENDPOINT}),j=this.httpLink.create({...this.httpLinkOptions,uri:this.platform.GRAPH_QL_ENDPOINT}),X=new Ac(uu({lazy:!0,url:this.platform.GRAPH_QL_ENDPOINT_WS,connectionParams:(Fe=(0,c.Z)(function*(){const Je=l.sessionProviderFacade.getSessionService();return Je?.isSessionExpired()&&(yield(0,Qd.z)(Je?.session$.pipe((0,re.h)(()=>!Je?.isSessionExpired())))),{Authorization:`Bearer ${Je?.getSessionToken()}`}}),function(){return Fe.apply(this,arguments)}),on:{connected:Fe=>{const Je=this.sessionProviderFacade.getSessionService();this.tokenExpirySubscription?.unsubscribe();const et=Je?.getCurrentTokenExpiresIn()??0;this.tokenExpirySubscription=(0,yc.H)(et).subscribe(()=>{Fe.readyState===WebSocket.OPEN&&Fe.close(As.Forbidden,"Forbidden")})},error:Fe=>{console.warn(Fe)}}})),ae=Bs(this.batchOperationTest,D,j),Me=Bs(this.subscriptionOperationTest,X,ae);var Fe;return{...this.clientOptionsBase,cache:this.cache,link:Me}}}return(d=s).\u0275fac=function(){let u;return function(D){return(u||(u=h.n5z(d)))(D||d)}}(),d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})(),Pc=(()=>{var d;class s{constructor(){this.platform=(0,h.f3M)(C.a7),this.localStorage=(0,h.f3M)(_a),this.cache=new Zu}setupPersistStore(){var l=this;return(0,c.Z)(function*(){const{CachePersistor:D,LocalStorageWrapper:j}=yield o.e(503).then(o.bind(o,3503));l.cachePersistor=new D({storage:new j(l.localStorage),cache:l.cache,debug:l.platform.DEBUG,trigger:"write",key:l.platform.APP_VERSION}),yield l.cachePersistor?.restore()})()}getCache(){return this.cache}}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275prov=h.Yz7({token:d,factory:d.\u0275fac}),s})(),fu=(()=>{var d;class s{}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:[ou,du,Pc]}),s})(),Yl=(()=>{var d;class s{}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:[du,ou,{provide:Oi,useFactory:()=>(0,h.f3M)(Pc).getCache()},{provide:zi.zu,useFactory:()=>{const u=(0,h.f3M)(du),l=(0,h.f3M)(ou);return(0,h.f3M)(w.Z).GQL_BATCH?u.resolve():l.resolve()}},{provide:h.ip1,useFactory:()=>{if(!(0,h.f3M)(w.Z).GQL_PERSIST)return()=>Promise.resolve();const l=(0,h.f3M)(Pc);return()=>l.setupPersistStore()},multi:!0}],imports:[zi.VG,fu]}),s})(),Yd=(()=>{var d;class s{}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:[C.ks,{provide:zt.TP,useClass:Jo.mB,multi:!0},{provide:zt.TP,useClass:Jo.LK,multi:!0},{provide:zt.TP,useClass:Jo.Bz,multi:!0}]}),s})(),Zd=(()=>{var d;class s{}return(d=s).\u0275fac=function(l){return new(l||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({providers:[ht,{provide:Bn,useFactory:()=>({enabled:true,registrationStrategy:"registerWhenStable:30000"})}],imports:[Ur.register("ngsw-worker.js")]}),s})();var nc=o(4380),Rc=o(5549);const Zl={providers:[(0,F.bU)(B,(0,F.aF)(F.wm)),(0,h.RIp)([hi,Yl,Vc,Zd,Yd,Jo.au,Ol,mc.Xz,T.C4,fo.GM]),(0,zt.h_)((0,zt.MP)(),(0,zt.Ni)({cookieName:"csrftoken",headerName:"X-CSRFToken"})),_r,Ru,Un,{provide:_a,useFactory:()=>new _a((0,h.f3M)(ya))},He.pX,C.JK,C.rV,C.Qi,vc,Wc,{provide:Ln.RQ,useValue:!1},xd.q,{provide:fo.pv,useExisting:zc},{provide:mc.Y2,useExisting:mc.mr},{provide:nc.v,useFactory:()=>(0,h.f3M)(w.Z).hasFeature(Rc.Y.JPEG_ONLY_IN_PLAYER)}]};(0,h.G48)(),(0,c.Z)(function*(){let d;try{const s=yield fetch(`/assets/configs/environment.json?${w.Z.getQueryString()}`).then(l=>l.json()),u=yield fetch(`/assets/configs/overrides.json?${w.Z.getQueryString()}`).then(l=>l.json());d=(0,E.d8)(w.Z,Object.assign(Object.assign(s,u??{}),{production:true}))}catch(s){console.error(s),d=(0,E.yE)(w.Z,{})}d.setupHeaders(document.head),Zl.providers.push({provide:C.a7,useValue:d},{provide:w.Z,useValue:d}),(0,g.Cg)(Jt,Zl).catch(s=>console.error(s))})()},8033:(ie,Q,o)=>{"use strict";o.d(Q,{pX:()=>w,SC:()=>_});var c=o(5879);const _=new c.OlP("Window token"),w={provide:_,useValue:window};new c.OlP("An abstraction over window.navigator object",{factory:()=>(0,c.f3M)(_).navigator}),window},3072:(ie,Q,o)=>{"use strict";o.d(Q,{C4:()=>Le,yt:()=>Ge});var ve,je,c=o(7582),_=o(5879),w=o(1791),C=o(5619),E=o(3019),g=o(2438),p=o(7398),h=o(7921),F=o(7081),T=o(8645),$=o(2572),x=o(3997),J=o(4825),te=o(2181),U=o(4664),ee=o(9397),de=o(6306),le=o(6232),we=o(9360),Ne=o(8251),se=o(5592),oe=o(4829),he=o(6821),_e=o(6814),ne=o(8033);let Ge=(je=ve=class{get URL(){return`${this.platform.S3_URL}cleardot.gif?zx=${(new Date).getTime()}`}get isBrowserOnline(){return this.window.navigator.onLine}constructor(ze,Ee){this.platform=ze,this.document=Ee,this.window=(0,_.f3M)(ne.SC),this.imageDownloadStatus$=new C.X(!0),this.isTrackingInitialized=!1,this.isVisible=!0,this.online$=(0,E.T)((0,g.R)(window,"online"),(0,g.R)(window,"offline")).pipe((0,p.U)(()=>this.isBrowserOnline),(0,h.O)(this.isBrowserOnline),(0,F.d)(1)),this.visible$=(0,g.R)(this.document,"visibilitychange").pipe((0,p.U)(()=>"visible"===this.document.visibilityState),(0,F.d)(1)),this.checkImmediate$=new T.x,this.hasConnection$=(0,$.a)([this.online$,this.imageDownloadStatus$]).pipe((0,p.U)(be=>be.every(Boolean)),(0,x.x)(),(0,F.d)(1))}setImageDownloadStatus(ze){this.imageDownloadStatus$.next(ze),this.imageDownloadStatus$.getValue()&&(this.isTrackingInitialized=!1)}ping(){this.timer$?.unsubscribe(),this.timer$=(0,E.T)((0,J.H)(je.PING_TIMEOUT_MS,je.PING_TIMEOUT_MS).pipe((0,te.h)(()=>this.isVisible)),this.checkImmediate$).pipe((0,U.w)(()=>function fe(Se,ze={}){const{selector:Ee}=ze,be=(0,c._T)(ze,["selector"]);return new se.y(xe=>{const Ve=new AbortController,{signal:Ue}=Ve;let st=!0;const{signal:Xe}=be;if(Xe)if(Xe.aborted)Ve.abort();else{const ln=()=>{Ue.aborted||Ve.abort()};Xe.addEventListener("abort",ln),xe.add(()=>Xe.removeEventListener("abort",ln))}const dt=Object.assign(Object.assign({},be),{signal:Ue}),pt=ln=>{st=!1,xe.error(ln)};return fetch(Se,dt).then(ln=>{Ee?(0,oe.Xf)(Ee(ln)).subscribe((0,Ne.x)(xe,void 0,()=>{st=!1,xe.complete()},pt)):(st=!1,xe.next(ln),xe.complete())}).catch(pt),()=>{st&&Ve.abort()}})}(this.URL,{headers:{"ngsw-bypass":"on"}}).pipe((0,ee.b)(()=>{this.setImageDownloadStatus(!0)}),(0,de.K)(()=>(this.setImageDownloadStatus(!1),le.E)))),(0,w.t)(this)).subscribe()}initialize(){this.platform.hasFeature("CONNECTION_ISSUE")&&(this.ping(),this.online$.pipe(function q(){return(0,we.e)((Se,ze)=>{let Ee,be=!1;Se.subscribe((0,Ne.x)(ze,xe=>{const Ve=Ee;Ee=xe,be&&ze.next([Ve,xe]),be=!0}))})}(),(0,w.t)(this)).subscribe(([ze,Ee])=>{!1===ze&&!0===Ee&&this.checkNow()}),this.visible$.pipe((0,w.t)(this)).subscribe(ze=>{this.isVisible=ze}))}checkNow(){this.checkImmediate$.next(null)}},ve.PING_TIMEOUT_MS=1e4,ve.\u0275fac=function(ze){return new(ze||ve)(_.LFG(he.a7),_.LFG(_e.K0))},ve.\u0275prov=_.Yz7({token:ve,factory:ve.\u0275fac}),ve);Ge=je=(0,c.gn)([(0,w.c)(),(0,c.w6)("design:paramtypes",[he.a7,Document])],Ge);let Le=(()=>{var Se;class ze{}return(Se=ze).\u0275fac=function(be){return new(be||Se)},Se.\u0275mod=_.oAB({type:Se}),Se.\u0275inj=_.cJS({providers:[Ge]}),ze})()},9407:(ie,Q,o)=>{"use strict";o.d(Q,{Z:()=>C});var c=o(6821),_=o(5549),w=o(6290);class C extends c.a7{constructor(){super(...arguments),this.LANGUAGE_LIST=[{id:0,title:(0,w.J)("Automatic"),value:c.lI.auto,disabled:!1,locales:[]},{id:1,title:(0,w.J)("English"),value:c.lI.en,disabled:!1,locales:["en_US","en_GB"]},{id:2,title:(0,w.J)("Portuguese"),value:c.lI.pt,disabled:!1,locales:["pt_BR","pt_PT"]},{id:7,title:(0,w.J)("Spanish"),value:c.lI.es,disabled:!1,locales:["es_ES","es_MX"]},{id:3,title:(0,w.J)("Russian"),value:c.lI.ru,disabled:!1,locales:["ru_RU"]},{id:6,title:(0,w.J)("German"),value:c.lI.de,disabled:!1,locales:["de_DE"]},{id:4,title:(0,w.J)("Ukrainian"),value:c.lI.uk,disabled:!1,locales:["uk_UA"]},{id:5,title:(0,w.J)("Italian"),value:c.lI.it,disabled:!1,locales:["it_IT"]},{id:8,title:(0,w.J)("French"),value:c.lI.fr,disabled:!1,locales:["fr_FR"]}],this.COMMON_SETTINGS={MAX_UPLOAD_FILE_SIZE:1,SLIDESHOW_LIMITS:{MIN_SLIDE_DURATION:6},MAX_DPR:4,FRAMES_PER_SEC:60,CHANGE_SEGMENT_ANIMATION_TIME:150,AUTO_TRANSITION_DURATION:60,FADE_TRANSITION_DURATION:{START:30,END:108},LOGO:{MIN_HEIGHT:150,MIN_THUMB_HEIGHT:100,MIN_WIDTH:300,AVAILABLE_LOGO_EXTENSIONS:[".jpg",".jpeg",".png"]}},this.MUST_PLAY_BEFORE_VIEW_TRACK_S=10,this.FACEBOOK_APP_ID="",this.debugForceSlideshowURL=""}get hasPssThemesGraphqlApiFeature(){return this.hasFeature(_.Y.PSS_THEMES_GRAPHQL_API)}setupHeaders(g){const p=Array.from(new Set([this.API_URL,this.GRAPH_QL_ENDPOINT,this.IMAGES_PATH].map(h=>new URL(h).origin)));try{for(const h of p){const F=document.createElement("link");F.rel="preconnect",F.href=h,g.appendChild(F)}}catch(h){console.error("Error while setting up headers",h)}}hasCheckUpdatesFeature(){return this.hasFeature(_.Y.CHECK_UPDATES)}}},5549:(ie,Q,o)=>{"use strict";o.d(Q,{Y:()=>c});const c={CHECK_UPDATES:"CHECK_UPDATES",PSS_THEMES_GRAPHQL_API:"PSS_THEMES_GRAPHQL_API",JPEG_ONLY_IN_PLAYER:"JPEG_ONLY_IN_PLAYER"}},4380:(ie,Q,o)=>{"use strict";o.d(Q,{v:()=>_});const _=new(o(5879).OlP)("WEB_PLAYER_JPEG_ONLY")},34:(ie,Q,o)=>{"use strict";o.d(Q,{pv:()=>w,Ig:()=>g,GM:()=>p});var c=o(2686),_=o(5879);const w=new _.OlP("px events api");let C=(()=>{var h;class F{constructor($){this.backendContext=$}getEventsCount($,x){return this.backendContext.sendRequest(w,{method:"getEventsCount",params:[$,x]})}trackEvent($,x){return this.backendContext.sendRequest(w,{method:"trackEvent",params:[$,x]})}getSlideshowsViewsCount($){return this.backendContext.sendRequest(w,{method:"getSlideshowsViewsCount",params:[$]})}trackSlideshowView($){return this.backendContext.sendRequest(w,{method:"trackSlideshowView",params:[$]})}}return(h=F).\u0275fac=function($){return new($||h)(_.LFG(c.Y2))},h.\u0275prov=_.Yz7({token:h,factory:h.\u0275fac}),F})();var E=function(h){return h.SLIDESHOW_VIEW="slideshow_view",h}(E||{});let g=(()=>{var h;class F{constructor($){this.eventsDataService=$}getSlideshowViews($){return this.eventsDataService.getEventsCount(E.SLIDESHOW_VIEW.toString(),{"slideshow.unique_identifier":{operator:"=",value:$}})}trackSlideshowView($){return this.eventsDataService.trackSlideshowView($)}getSlideshowViewsCount($){return this.eventsDataService.getSlideshowsViewsCount($)}}return(h=F).\u0275fac=function($){return new($||h)(_.LFG(C))},h.\u0275prov=_.Yz7({token:h,factory:h.\u0275fac}),F})(),p=(()=>{var h;class F{}return(h=F).\u0275fac=function($){return new($||h)},h.\u0275mod=_.oAB({type:h}),h.\u0275inj=_.cJS({providers:[C,g]}),F})()},4010:(ie,Q,o)=>{"use strict";o.d(Q,{i_:()=>Xr,au:()=>U,LK:()=>J,mB:()=>$,ho:()=>kt,Bz:()=>x});var c=o(9862),_=o(6821),w=o(3072),C=o(8504),E=o(6306);class g{isAPIRequest(ht){return ht.startsWith(this.platform.API_URL)}isImageAPIRequest(ht){return ht.startsWith(this.platform.API_IMG)}isGQLRequest(ht){return ht.startsWith(this.platform.GRAPH_QL_ENDPOINT)}isGQLRefresh(ht){return ht.startsWith(`${this.platform.AUTH_API_URL}/refresh`)}isAuthRequest(ht){switch(ht){case`${this.platform.API_URL}check-login/`:case`${this.platform.AUTH_API_URL}/user`:return!0;default:return!1}}}var p=o(5879);const h=new p.OlP("Logout router path");var F=o(4187);let T=(()=>{var He;class ht extends g{constructor(Et,Jt,zt,Ln){super(),this.logoutPath=Et,this.router=Jt,this.platform=zt,this.connectionStatusFacadeService=Ln}intercept(Et,Jt){return Jt.handle(Et).pipe((0,E.K)(zt=>{if(zt instanceof c.UA)switch(zt.status){case 401:this.isAuthRequest(Et.url)||this.router.navigate([`/${this.logoutPath}`]);break;case-1:case 0:this.connectionStatusFacadeService.checkNow()}return(0,C._)(()=>zt)}))}}return(He=ht).\u0275fac=function(Et){return new(Et||He)(p.LFG(h),p.LFG(F.F0),p.LFG(_.a7),p.LFG(w.yt))},He.\u0275prov=p.Yz7({token:He,factory:He.\u0275fac}),ht})(),$=(()=>{var He;class ht extends g{constructor(Et){super(),this.platform=Et}intercept(Et,Jt){const{url:zt}=Et;return!zt.includes(".json")&&(this.isAPIRequest(zt)||this.isImageAPIRequest(zt))&&!this.isGQLRequest(zt)&&!this.isGQLRefresh(zt)&&(Et=Et.clone({withCredentials:!0})),Jt.handle(Et)}}return(He=ht).\u0275fac=function(Et){return new(Et||He)(p.LFG(_.a7))},He.\u0275prov=p.Yz7({token:He,factory:He.\u0275fac}),ht})(),x=(()=>{var He;class ht extends g{constructor(Et){super(),this.platform=Et}intercept(Et,Jt){const{url:zt}=Et;return this.platform.SCOPE&&(this.isAPIRequest(zt)||this.isImageAPIRequest(zt))&&(Et.headers.get(ht.xPxScope)||(Et=Et.clone({headers:Et.headers.append(ht.xPxScope,this.platform.SCOPE)}))),Jt.handle(Et)}}return(He=ht).xPxScope="x-px-scope",He.\u0275fac=function(Et){return new(Et||He)(p.LFG(_.a7))},He.\u0275prov=p.Yz7({token:He,factory:He.\u0275fac}),ht})(),J=(()=>{var He;class ht extends g{constructor(Et){super(),this.platform=Et}intercept(Et,Jt){const{url:zt}=Et;return(this.isAPIRequest(zt)||this.isImageAPIRequest(zt)||this.isAuthRequest(zt)||this.isGQLRequest(zt))&&(Et=Et.clone({headers:Et.headers.set("ngsw-bypass","on")})),Jt.handle(Et)}}return(He=ht).\u0275fac=function(Et){return new(Et||He)(p.LFG(_.a7))},He.\u0275prov=p.Yz7({token:He,factory:He.\u0275fac}),ht})(),te=(()=>{var He;class ht extends g{constructor(Et){super(),this.platform=Et}intercept(Et,Jt){const{url:zt}=Et;return this.isGQLRequest(zt)&&(Et=Et.clone({headers:Et.headers.set("ngsw-bypass","on")})),Jt.handle(Et)}}return(He=ht).\u0275fac=function(Et){return new(Et||He)(p.LFG(_.a7))},He.\u0275prov=p.Yz7({token:He,factory:He.\u0275fac}),ht})(),U=(()=>{var He;class ht{}return(He=ht).\u0275fac=function(Et){return new(Et||He)},He.\u0275mod=p.oAB({type:He}),He.\u0275inj=p.cJS({providers:[T,$,x,J,te]}),ht})();var q=o(7582),se=o(6879),oe=o(4577);function fe(He={}){return function(ht,qt){oe.m.addExcludeMetadata({target:ht instanceof Function?ht:ht.constructor,propertyName:qt,options:He})}}function _e(He,ht={}){return function(qt,Et){const Jt=Reflect.getMetadata("design:type",qt,Et);oe.m.addTypeMetadata({target:qt.constructor,propertyName:Et,reflectedType:Jt,typeFunction:He,options:ht})}}var re=o(3304),ne=o.n(re),ve=function(He){return He[He.SLOW=0]="SLOW",He[He.UPTEMPO=1]="UPTEMPO",He}(ve||{});class je{constructor(){this.is_custom=!1,this.name="",this.tempo_type="",this.id=-1,this.matching_images=0,this.version=1,this.configs_path="",this.tempo_id=ve.SLOW,this.transitions=[]}get isSlow(){return this.tempo_id===ve.SLOW}get isUptempo(){return this.tempo_id===ve.UPTEMPO}getPlain(){return(0,se.zb)(this)}}var Ge=function(He){return He[He.MY_UPLOADS=0]="MY_UPLOADS",He[He.PARTY_TIME=1]="PARTY_TIME",He[He.HAPPY=2]="HAPPY",He[He.CALM_MELODIES=3]="CALM_MELODIES",He[He.BEATS=4]="BEATS",He[He.EMOTIONAL=5]="EMOTIONAL",He[He.LOVE_SONGS=6]="LOVE_SONGS",He[He.EPIC_BEAT_MATCHING=7]="EPIC_BEAT_MATCHING",He}(Ge||{}),Le=function(He){return He[He.LOW=0]="LOW",He[He.LOW_MEDIUM=1]="LOW_MEDIUM",He[He.MEDIUM=2]="MEDIUM",He[He.MEDIUM_HIGH=3]="MEDIUM_HIGH",He[He.HIGH=4]="HIGH",He}(Le||{});class ze{constructor(){this.templates=[],this.up_tempo=null,this.down_tempo=null,this.lyrics=null,this.energy=null,this.is_new=!1,this.expires_at=null,this.genre=null,this.original_file_name="",this.instrumental=!1,this.is_favorite=!1,this.song_title="",this.audio_mp3="",this.audio_ogg="",this.expired=!1,this.id=-1,this.category="",this.waveform_data=[],this.artist="",this.length=0,this.provider=null,this.round_added=null,this.category_id=Ge.MY_UPLOADS,this.energy_id=Le.LOW,this.is_recently_used=null,this.duration=ne()(0)}get isCustom(){return this.category===ze.CUSTOM_CATEGORY}get durationFormat(){return this.duration||(this.duration=ne()(1e3*Math.round(1e3*this.length/60/1e3))),this.duration.format("mm:ss")}get slowInfo(){return this.slowTemplate||(this.slowTemplate=this.templates.find(ht=>ht.isSlow)),this.slowTemplate}get uptempoInfo(){return this.uptempoTemplate||(this.uptempoTemplate=this.templates.find(ht=>ht.isUptempo)),this.uptempoTemplate}markAsFavorite(){return this.is_favorite=!0,(0,se.nq)(this)}removeFromFavorites(){return this.is_favorite=!1,(0,se.nq)(this)}updateInfo(ht){return(0,se.d8)(ze,Object.assign((0,se.zb)(this),ht))}hasNoTitleOrArtist(){return!this.song_title||!this.artist}getPlain(){return(0,se.zb)(this)}}ze.CUSTOM_CATEGORY="My Uploads",(0,q.gn)([fe(),(0,q.w6)("design:type",je)],ze.prototype,"slowTemplate",void 0),(0,q.gn)([fe(),(0,q.w6)("design:type",je)],ze.prototype,"uptempoTemplate",void 0),(0,q.gn)([function he(He,ht={}){return function(qt,Et){oe.m.addTransformMetadata({target:qt.constructor,propertyName:Et,transformFn:He,options:ht})}}(({value:He})=>(0,se.zb)(He),{toPlainOnly:!0}),_e(()=>je),(0,q.w6)("design:type",Array)],ze.prototype,"templates",void 0),(0,q.gn)([fe(),(0,q.w6)("design:type",re.Dayjs)],ze.prototype,"duration",void 0),new p.OlP("IPreferencesService");class xe{}class Ve{}class Ue{}class st{}class Xe{}(0,q.gn)([_e(()=>Ve),(0,q.w6)("design:type",Ve)],Xe.prototype,"embed_config",void 0),(0,q.gn)([_e(()=>Ue),(0,q.w6)("design:type",Ue)],Xe.prototype,"featured_image",void 0),(0,q.gn)([_e(()=>xe),(0,q.w6)("design:type",xe)],Xe.prototype,"call_to_action",void 0),(0,q.gn)([_e(()=>st),(0,q.w6)("design:type",st)],Xe.prototype,"focal_point",void 0);class dt extends Ue{}class pt{}(0,q.gn)([_e(()=>je),(0,q.w6)("design:type",je)],pt.prototype,"beat_matching_template",void 0),(0,q.gn)([_e(()=>dt),(0,q.w6)("design:type",Array)],pt.prototype,"photos",void 0),(0,q.gn)([_e(()=>je),(0,q.w6)("design:type",je)],pt.prototype,"template",void 0),(0,q.gn)([_e(()=>ze),(0,q.w6)("design:type",ze)],pt.prototype,"audio",void 0);class ln{}(0,q.gn)([_e(()=>pt),(0,q.w6)("design:type",Array)],ln.prototype,"segments",void 0),(0,q.gn)([_e(()=>Xe),(0,q.w6)("design:type",Xe)],ln.prototype,"common_data",void 0);class rn{}class bn{}(0,q.gn)([_e(()=>rn),(0,q.w6)("design:type",rn)],bn.prototype,"studio_logo",void 0);class an{}class $n{}(0,q.gn)([_e(()=>pt),(0,q.w6)("design:type",Array)],$n.prototype,"segments",void 0),(0,q.gn)([_e(()=>Xe),(0,q.w6)("design:type",Xe)],$n.prototype,"common_data",void 0);var lr=o(944),fr=o.n(lr);ne().extend(fr());class Bn{static parseDate(ht){if(!ht)return null;const qt=ne().unix(ht);return qt.utc().add(-qt.utcOffset(),"minutes").toDate().getTime()}isProtected(){return this.password_protected}isNotProtected(){return!this.password_protected}getTheme(){return this.slide_show.common_data.theme}getEventDate(){return Bn.parseDate(this.slide_show.common_data.event_date)}getName(){return this.slide_show.name}getLogoUrl(){return this.user.business_logo}getStudioName(){return this.user.studio_name||this.user.full_name}getAnalyticsCode(){return this.user.ga_user_code}isNoTracking(){return this.user.no_tracking}}(0,q.gn)([_e(()=>bn),(0,q.w6)("design:type",bn)],Bn.prototype,"user",void 0),(0,q.gn)([_e(()=>an),(0,q.w6)("design:type",an)],Bn.prototype,"urls",void 0),(0,q.gn)([_e(()=>$n),(0,q.w6)("design:type",$n)],Bn.prototype,"slide_show",void 0),new p.OlP("Slideshow client service");const Xr=new p.OlP("Pic auth service");o(6530);class kt{static parseImageLinkToPicImageLinkData(ht){if(!ht)return{userId:null,active_storage_service:"aws",image_path:""};const Et=ht.match(/https:\/\/[^/]+\/(?<active_storage_service>[^/]+)\/[^/]+\/[^/]+\/(?<userId>[^/]+)\/(?<image_path>[^?]+)/);if(!Et||!Et.groups)throw new Error("Invalid link format");const{userId:Jt,active_storage_service:zt,image_path:Ln}=Et.groups;return{userId:Number.parseInt(Jt,10),active_storage_service:zt,image_path:Ln}}}},8666:(ie,Q,o)=>{"use strict";o.d(Q,{q:()=>h});var c=o(5879),_=o(1523),C=o(7005),E=o.n(C),g=o(6821),p=o(8033);let h=(()=>{var F;class T{constructor(){this.window=(0,c.f3M)(p.SC),this.platform=(0,c.f3M)(g.a7),this.mobile="mobile",this.parser=_.getParser(this.window.navigator.userAgent)}isMac(){return"macos"===this.parser.getOSName(!0)}isNotMac(){return"macos"===this.parser.getOSName(!0)}isMobile(){return this.parser.getPlatformType()===this.mobile}isBrowserSupport(){const x=new(E())(this.window.navigator.userAgent||this.window.navigator.vendor),J=x.isMobile&&x.isInApp;return!!this.parser.satisfies(this.platform.LATEST_BROWSERS_VER)||J}isFirefox(){return this.parser.is("firefox")}satisfies(x){return this.parser.satisfies(x)}}return(F=T).\u0275fac=function(x){return new(x||F)},F.\u0275prov=c.Yz7({token:F,factory:F.\u0275fac}),T})()},2686:(ie,Q,o)=>{"use strict";o.d(Q,{Y2:()=>C,mr:()=>_,Xz:()=>w});var c=o(5879);let _=(()=>{var E;class g{constructor(h){this.injector=h}sendRequest(h,F){const T=this.injector.get(h,null,c.XFs.Optional),$=T?.[F.method];if(!T)throw new Error(`${h.toString()} is not provided.`);return $||console.warn(`Called method of ${h.toString()} is not defined.`),$?.apply(T,F.params??[])}}return(E=g).\u0275fac=function(h){return new(h||E)(c.LFG(c.zs3))},E.\u0275prov=c.Yz7({token:E,factory:E.\u0275fac}),g})(),w=(()=>{var E;class g{}return(E=g).\u0275fac=function(h){return new(h||E)},E.\u0275mod=c.oAB({type:E}),E.\u0275inj=c.cJS({providers:[{provide:_,useClass:_}]}),g})();const C=new c.OlP("App backend context service")},6530:(ie,Q,o)=>{"use strict";o.d(Q,{fO:()=>c});var c=function(E){return E.PSS="PSS",E.PSF="PSF",E.SA="SA",E.CP="CP",E.BUNDLE="BUNDLE",E}(c||{});new(o(5879).OlP)("product family")},6821:(ie,Q,o)=>{"use strict";o.d(Q,{Qi:()=>ve,JK:()=>je,rV:()=>_e,lI:()=>C,a7:()=>g,ks:()=>$});var E,c=o(6290),_=o(7939),w=o.n(_),C=function(Le){return Le.en="en",Le.pt="pt",Le.ru="ru",Le.uk="uk",Le.it="it",Le.de="de",Le.auto="auto",Le.es="es",Le.fr="fr",Le}(C||{});class g{get SA_GRAPH_QL_ENDPOINT(){return this.SA_GRAPH_QL_ENDPOINT_INTERNAL}set SA_GRAPH_QL_ENDPOINT(Se){this.SA_GRAPH_QL_ENDPOINT_INTERNAL=Se}get GIT_COMMIT(){return g.GIT_COMMIT}get GIT_BRANCH(){return g.GIT_BRANCH}get DEPLOY_ENV(){return g.DEPLOY_ENV}get APP_VERSION(){return g.APP_VERSION}get APOLLO_STUDIO_VERSION(){return this.APP_VERSION||`${this.GIT_BRANCH}-${this.GIT_COMMIT}`}get APP_NAME(){return g.APP_NAME??""}get SMARTSLIDES_PRICING_URL(){return`${this.PIXELLU_URL}/smartslides/pricing`}get SMARTSLIDES_PRICING_WITH_PARAMS_URL(){return`${this.PIXELLU_URL}/smartslides/pricing?utm_medium=app&utm_source=wizard&utm_campaign=ss-cont&utm_content=share-slideshow-upgrade`}get PIXELLU_ACCOUNT_SUBSCRIPTIONS_URL(){return`${this.PIXELLU_ACCOUNT_URL}/`}get PIXELLU_ACCOUNT_PROFILE_URL(){return`${this.PIXELLU_ACCOUNT_URL}/profile/`}get IS_DEV(){return!!g.IS_DEV}constructor(){this.BASE_LANG=C.en,this.LANGUAGES=[],this.LANGUAGE_LIST=[{id:0,title:(0,c.J)("Automatic"),value:C.auto,disabled:!1},{id:1,title:(0,c.J)("English"),value:C.en,disabled:!1},{id:2,title:(0,c.J)("Portuguese"),value:C.pt,disabled:!1},{id:3,title:(0,c.J)("Russian"),value:C.ru,disabled:!1},{id:4,title:(0,c.J)("Ukrainian"),value:C.uk,disabled:!1},{id:5,title:(0,c.J)("Italian"),value:C.it,disabled:!1},{id:6,title:(0,c.J)("German"),value:C.de,disabled:!1},{id:7,title:(0,c.J)("Spanish"),value:C.es,disabled:!1},{id:8,title:(0,c.J)("French"),value:C.fr,disabled:!1}],this.GRAPH_QL_REQUESTS_WITH_AUTH_HEADER=[],this.FEATURES={},this.LATEST_BROWSERS_VER={chrome:">=100",firefox:">=100",safari:">=13.0",edge:">=100"},this.STORAGE_CLASS="STANDARD_IA",window.__PLATFORM_ENV__=this}static getQueryString(){return`${this.NO_CACHE_KEY}=${this.CACHE_OFF}`}getKey(Se){return this[Se]}getQueryString(){return g.getQueryString()}hasFeature(Se){return!!this.FEATURES[Se]}getFeatureConfig(Se){return this.FEATURE_CONFIG?.[Se]}printVersion(){console.log(`%cVersion: ${g.APP_VERSION?.trim()}`,"background: #EBF5F8; color: gray; font-size: x-medium; border-radius: 5px; padding: 10px;"),this.production||(console.log(`%cFE commit: ${g.GIT_COMMIT};\nFE branch: ${g.GIT_BRANCH};\nBE commit: ${this.healthCheck?.git_commit??"---"};\nBE env: ${this.healthCheck?.env??"---"}`,"background: #EBF5F8; color: gray; font-size: x-medium; border-radius: 5px; padding: 10px; margin: 5px 0;"),console.log(`%cName: ${g.APP_NAME?.trim()}`,"background: #EBF5F8; color: gray; font-size: x-medium; border-radius: 5px; padding: 10px;"))}setApiHealthCheck(Se){this.healthCheck=Se}isGQLOperationWithHeader(Se){return!!Se&&this.GRAPH_QL_REQUESTS_WITH_AUTH_HEADER.includes(Se)}getAuthNavigationUrl(){throw new Error("getAuthNavigationUrl is not implemented")}setFeatureState(Se,ze){this.FEATURES[Se]=ze}setFeatureConfig(Se,ze,Ee){ze.length>0&&w()(this.FEATURE_CONFIG,[Se,...ze],Ee)}updateLanguages(){this.LANGUAGE_LIST=this.LANGUAGE_LIST.map(Se=>Se.value===this.BASE_LANG?{...Se,disabled:!1}:{...Se,disabled:!this.LANGUAGES.includes(Se.value)})}}(E=g).NO_CACHE_KEY="no-cache",E.APP_VERSION="pss-1.24.1",E.CACHE_OFF="pss-1.24.1",E.GIT_COMMIT="b75d10bc",E.GIT_BRANCH="local",E.DEPLOY_ENV="prod",E.IS_DEV=!1,E.APP_NAME="pss-themes",E.CYPRESS_IS_CI=void 0;var h=o(5879);const $={provide:o(9862).TP,useClass:(()=>{var Le;class Se{constructor(){this.platform=(0,h.f3M)(g)}intercept(Ee,be){return be.handle(this.platform.DISABLE_SERVICE_WORKER?Ee.clone({headers:Ee.headers.set("ngsw-bypass","on")}):Ee)}}return(Le=Se).\u0275fac=function(Ee){return new(Ee||Le)},Le.\u0275prov=h.Yz7({token:Le,factory:Le.\u0275fac}),Se})(),multi:!0};var J=o(5861),te=o(2745),U=o(2096),ee=o(9666),de=o(4664),le=o(9397),we=o(7398),Ne=o(8959),q=o.n(Ne),se=o(3018),oe=o.n(se);let fe=(()=>{var Le;class Se{constructor(){this.platform=(0,h.f3M)(g,{optional:!0}),this.configCatAsyncProvider=(0,h.f3M)(je)}get configCat(){return this.configCatAsyncProvider.client}static propertyIsFeatureConfig(Ee){return Ee.includes(this.FEATURE_CONFIG_PATH_SEPARATOR)}configureFeaturesAndConfigs(Ee){const be=this.configCat;return be?(0,ee.D)(be.forceRefreshAsync()).pipe((0,de.w)(()=>be.getAllValuesAsync(Ee)),(0,le.b)(xe=>{for(const{settingKey:Ve,settingValue:Ue}of xe)if(Se.propertyIsFeatureConfig(Ve)&&!oe()(Ue)){const[st,...Xe]=Ve.split(Se.FEATURE_CONFIG_PATH_SEPARATOR);this.platform?.setFeatureConfig(st,Xe,Ue)}else q()(Ue)&&this.platform?.setFeatureState(Ve,Ue)}),(0,we.U)(()=>{})):(0,U.of)(void 0)}configureFeature(Ee,be){const xe=this.configCat;return xe?(0,ee.D)(xe.forceRefreshAsync()).pipe((0,de.w)(()=>xe.getValueAsync(Ee,null,be)),(0,le.b)(Ve=>{q()(Ve)&&this.platform?.setFeatureState(Ee,Ve)}),(0,we.U)(()=>{})):(0,U.of)(void 0)}configureFeatureConfig(Ee,be,xe){const Ve=this.configCat;if(!Ve)return(0,U.of)(void 0);const Ue=[Ee,...be].join(Se.FEATURE_CONFIG_PATH_SEPARATOR);return(0,ee.D)(Ve.forceRefreshAsync()).pipe((0,de.w)(()=>Ve.getValueAsync(Ue,null,xe)),(0,le.b)(st=>{oe()(st)||this.platform?.setFeatureConfig(Ee,be,st)}),(0,we.U)(()=>{}))}}return(Le=Se).FEATURE_CONFIG_PATH_SEPARATOR="__",Le.\u0275fac=function(Ee){return new(Ee||Le)},Le.\u0275prov=h.Yz7({token:Le,factory:Le.\u0275fac}),Se})();const he=new h.OlP("feature flags configurator"),_e={provide:he,useClass:fe};var re=o(4036),ne=o(5619);const ve={provide:h.ip1,useFactory:()=>{const Le=(0,h.f3M)(je),Se=(0,h.f3M)(g),ze=(0,h.f3M)(he);return(0,J.Z)(function*(){Se.CONFIG_CAT&&(yield Le.resolve(Se.CONFIG_CAT,Se.DEBUG),yield(0,re.z)(ze.configureFeaturesAndConfigs()))})},multi:!0};let je=(()=>{var Le;class Se{constructor(){this.client=null,this.clientReady$=new ne.X(!1)}resolve(Ee,be=!1){var xe=this;return(0,J.Z)(function*(){const Ve=yield Promise.all([o.e(769),o.e(30)]).then(o.bind(o,6030)),{LogLevel:Ue}=yield o.e(769).then(o.bind(o,769)),st=Ve.createConsoleLogger(be?Ue.Warn:Ue.Error);xe.client=Ve.getClient(Ee,te._e.ManualPoll,{logger:st}),xe.client.on("clientReady",()=>{xe.clientReady$.next(!0)})})()}}return(Le=Se).\u0275fac=function(Ee){return new(Ee||Le)},Le.\u0275prov=h.Yz7({token:Le,factory:Le.\u0275fac}),Se})();new h.OlP("BASIC_NAVIGATIONS_TOKEN")},1523:function(ie){ie.exports=function(Q){var o={};function c(_){if(o[_])return o[_].exports;var w=o[_]={i:_,l:!1,exports:{}};return Q[_].call(w.exports,w,w.exports,c),w.l=!0,w.exports}return c.m=Q,c.c=o,c.d=function(_,w,C){c.o(_,w)||Object.defineProperty(_,w,{enumerable:!0,get:C})},c.r=function(_){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})},c.t=function(_,w){if(1&w&&(_=c(_)),8&w||4&w&&"object"==typeof _&&_&&_.__esModule)return _;var C=Object.create(null);if(c.r(C),Object.defineProperty(C,"default",{enumerable:!0,value:_}),2&w&&"string"!=typeof _)for(var E in _)c.d(C,E,function(g){return _[g]}.bind(null,E));return C},c.n=function(_){var w=_&&_.__esModule?function(){return _.default}:function(){return _};return c.d(w,"a",w),w},c.o=function(_,w){return Object.prototype.hasOwnProperty.call(_,w)},c.p="",c(c.s=90)}({17:function(Q,o,c){"use strict";o.__esModule=!0,o.default=void 0;var _=c(18),w=function(){function C(){}return C.getFirstMatch=function(E,g){var p=g.match(E);return p&&p.length>0&&p[1]||""},C.getSecondMatch=function(E,g){var p=g.match(E);return p&&p.length>1&&p[2]||""},C.matchAndReturnConst=function(E,g,p){if(E.test(g))return p},C.getWindowsVersionName=function(E){switch(E){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},C.getMacOSVersionName=function(E){var g=E.split(".").splice(0,2).map(function(p){return parseInt(p,10)||0});if(g.push(0),10===g[0])switch(g[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},C.getAndroidVersionName=function(E){var g=E.split(".").splice(0,2).map(function(p){return parseInt(p,10)||0});if(g.push(0),!(1===g[0]&&g[1]<5))return 1===g[0]&&g[1]<6?"Cupcake":1===g[0]&&g[1]>=6?"Donut":2===g[0]&&g[1]<2?"Eclair":2===g[0]&&2===g[1]?"Froyo":2===g[0]&&g[1]>2?"Gingerbread":3===g[0]?"Honeycomb":4===g[0]&&g[1]<1?"Ice Cream Sandwich":4===g[0]&&g[1]<4?"Jelly Bean":4===g[0]&&g[1]>=4?"KitKat":5===g[0]?"Lollipop":6===g[0]?"Marshmallow":7===g[0]?"Nougat":8===g[0]?"Oreo":9===g[0]?"Pie":void 0},C.getVersionPrecision=function(E){return E.split(".").length},C.compareVersions=function(E,g,p){void 0===p&&(p=!1);var h=C.getVersionPrecision(E),F=C.getVersionPrecision(g),T=Math.max(h,F),$=0,x=C.map([E,g],function(J){var te=T-C.getVersionPrecision(J),U=J+new Array(te+1).join(".0");return C.map(U.split("."),function(ee){return new Array(20-ee.length).join("0")+ee}).reverse()});for(p&&($=T-Math.min(h,F)),T-=1;T>=$;){if(x[0][T]>x[1][T])return 1;if(x[0][T]===x[1][T]){if(T===$)return 0;T-=1}else if(x[0][T]<x[1][T])return-1}},C.map=function(E,g){var p,h=[];if(Array.prototype.map)return Array.prototype.map.call(E,g);for(p=0;p<E.length;p+=1)h.push(g(E[p]));return h},C.find=function(E,g){var p,h;if(Array.prototype.find)return Array.prototype.find.call(E,g);for(p=0,h=E.length;p<h;p+=1){var F=E[p];if(g(F,p))return F}},C.assign=function(E){for(var g,p,h=E,F=arguments.length,T=new Array(F>1?F-1:0),$=1;$<F;$++)T[$-1]=arguments[$];if(Object.assign)return Object.assign.apply(Object,[E].concat(T));var x=function(){var J=T[g];"object"==typeof J&&null!==J&&Object.keys(J).forEach(function(te){h[te]=J[te]})};for(g=0,p=T.length;g<p;g+=1)x();return E},C.getBrowserAlias=function(E){return _.BROWSER_ALIASES_MAP[E]},C.getBrowserTypeByAlias=function(E){return _.BROWSER_MAP[E]||""},C}();o.default=w,Q.exports=o.default},18:function(Q,o,c){"use strict";o.__esModule=!0,o.ENGINE_MAP=o.OS_MAP=o.PLATFORMS_MAP=o.BROWSER_MAP=o.BROWSER_ALIASES_MAP=void 0,o.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},o.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},o.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},o.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},o.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(Q,o,c){"use strict";o.__esModule=!0,o.default=void 0;var _,w=(_=c(91))&&_.__esModule?_:{default:_},C=c(18);function E(p,h){for(var F=0;F<h.length;F++){var T=h[F];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}var g=function(){function p(){}var h,T;return p.getParser=function($,x){if(void 0===x&&(x=!1),"string"!=typeof $)throw new Error("UserAgent should be a string");return new w.default($,x)},p.parse=function($){return new w.default($).getResult()},h=p,T=[{key:"BROWSER_MAP",get:function(){return C.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return C.ENGINE_MAP}},{key:"OS_MAP",get:function(){return C.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return C.PLATFORMS_MAP}}],null&&E(h.prototype,null),T&&E(h,T),p}();o.default=g,Q.exports=o.default},91:function(Q,o,c){"use strict";o.__esModule=!0,o.default=void 0;var _=p(c(92)),w=p(c(93)),C=p(c(94)),E=p(c(95)),g=p(c(17));function p(F){return F&&F.__esModule?F:{default:F}}var h=function(){function F($,x){if(void 0===x&&(x=!1),null==$||""===$)throw new Error("UserAgent parameter can't be empty");this._ua=$,this.parsedResult={},!0!==x&&this.parse()}var T=F.prototype;return T.getUA=function(){return this._ua},T.test=function($){return $.test(this._ua)},T.parseBrowser=function(){var $=this;this.parsedResult.browser={};var x=g.default.find(_.default,function(J){if("function"==typeof J.test)return J.test($);if(J.test instanceof Array)return J.test.some(function(te){return $.test(te)});throw new Error("Browser's test function is not valid")});return x&&(this.parsedResult.browser=x.describe(this.getUA())),this.parsedResult.browser},T.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},T.getBrowserName=function($){return $?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},T.getBrowserVersion=function(){return this.getBrowser().version},T.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},T.parseOS=function(){var $=this;this.parsedResult.os={};var x=g.default.find(w.default,function(J){if("function"==typeof J.test)return J.test($);if(J.test instanceof Array)return J.test.some(function(te){return $.test(te)});throw new Error("Browser's test function is not valid")});return x&&(this.parsedResult.os=x.describe(this.getUA())),this.parsedResult.os},T.getOSName=function($){var x=this.getOS().name;return $?String(x).toLowerCase()||"":x||""},T.getOSVersion=function(){return this.getOS().version},T.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},T.getPlatformType=function($){void 0===$&&($=!1);var x=this.getPlatform().type;return $?String(x).toLowerCase()||"":x||""},T.parsePlatform=function(){var $=this;this.parsedResult.platform={};var x=g.default.find(C.default,function(J){if("function"==typeof J.test)return J.test($);if(J.test instanceof Array)return J.test.some(function(te){return $.test(te)});throw new Error("Browser's test function is not valid")});return x&&(this.parsedResult.platform=x.describe(this.getUA())),this.parsedResult.platform},T.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},T.getEngineName=function($){return $?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},T.parseEngine=function(){var $=this;this.parsedResult.engine={};var x=g.default.find(E.default,function(J){if("function"==typeof J.test)return J.test($);if(J.test instanceof Array)return J.test.some(function(te){return $.test(te)});throw new Error("Browser's test function is not valid")});return x&&(this.parsedResult.engine=x.describe(this.getUA())),this.parsedResult.engine},T.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},T.getResult=function(){return g.default.assign({},this.parsedResult)},T.satisfies=function($){var x=this,J={},te=0,U={},ee=0;if(Object.keys($).forEach(function(fe){var he=$[fe];"string"==typeof he?(U[fe]=he,ee+=1):"object"==typeof he&&(J[fe]=he,te+=1)}),te>0){var de=Object.keys(J),le=g.default.find(de,function(fe){return x.isOS(fe)});if(le){var we=this.satisfies(J[le]);if(void 0!==we)return we}var Ne=g.default.find(de,function(fe){return x.isPlatform(fe)});if(Ne){var q=this.satisfies(J[Ne]);if(void 0!==q)return q}}if(ee>0){var se=Object.keys(U),oe=g.default.find(se,function(fe){return x.isBrowser(fe,!0)});if(void 0!==oe)return this.compareVersion(U[oe])}},T.isBrowser=function($,x){void 0===x&&(x=!1);var J=this.getBrowserName().toLowerCase(),te=$.toLowerCase(),U=g.default.getBrowserTypeByAlias(te);return x&&U&&(te=U.toLowerCase()),te===J},T.compareVersion=function($){var x=[0],J=$,te=!1,U=this.getBrowserVersion();if("string"==typeof U)return">"===$[0]||"<"===$[0]?(J=$.substr(1),"="===$[1]?(te=!0,J=$.substr(2)):x=[],x.push(">"===$[0]?1:-1)):"="===$[0]?J=$.substr(1):"~"===$[0]&&(te=!0,J=$.substr(1)),x.indexOf(g.default.compareVersions(U,J,te))>-1},T.isOS=function($){return this.getOSName(!0)===String($).toLowerCase()},T.isPlatform=function($){return this.getPlatformType(!0)===String($).toLowerCase()},T.isEngine=function($){return this.getEngineName(!0)===String($).toLowerCase()},T.is=function($,x){return void 0===x&&(x=!1),this.isBrowser($,x)||this.isOS($)||this.isPlatform($)},T.some=function($){var x=this;return void 0===$&&($=[]),$.some(function(J){return x.is(J)})},F}();o.default=h,Q.exports=o.default},92:function(Q,o,c){"use strict";o.__esModule=!0,o.default=void 0;var _,w=(_=c(17))&&_.__esModule?_:{default:_},C=/version\/(\d+(\.?_?\d+)+)/i;o.default=[{test:[/googlebot/i],describe:function(g){var p={name:"Googlebot"},h=w.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/opera/i],describe:function(g){var p={name:"Opera"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/opr\/|opios/i],describe:function(g){var p={name:"Opera"},h=w.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/SamsungBrowser/i],describe:function(g){var p={name:"Samsung Internet for Android"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/Whale/i],describe:function(g){var p={name:"NAVER Whale Browser"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/MZBrowser/i],describe:function(g){var p={name:"MZ Browser"},h=w.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/focus/i],describe:function(g){var p={name:"Focus"},h=w.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/swing/i],describe:function(g){var p={name:"Swing"},h=w.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/coast/i],describe:function(g){var p={name:"Opera Coast"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(g){var p={name:"Opera Touch"},h=w.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/yabrowser/i],describe:function(g){var p={name:"Yandex Browser"},h=w.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/ucbrowser/i],describe:function(g){var p={name:"UC Browser"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/Maxthon|mxios/i],describe:function(g){var p={name:"Maxthon"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/epiphany/i],describe:function(g){var p={name:"Epiphany"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/puffin/i],describe:function(g){var p={name:"Puffin"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/sleipnir/i],describe:function(g){var p={name:"Sleipnir"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/k-meleon/i],describe:function(g){var p={name:"K-Meleon"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/micromessenger/i],describe:function(g){var p={name:"WeChat"},h=w.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/qqbrowser/i],describe:function(g){var p={name:/qqbrowserlite/i.test(g)?"QQ Browser Lite":"QQ Browser"},h=w.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/msie|trident/i],describe:function(g){var p={name:"Internet Explorer"},h=w.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/\sedg\//i],describe:function(g){var p={name:"Microsoft Edge"},h=w.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/edg([ea]|ios)/i],describe:function(g){var p={name:"Microsoft Edge"},h=w.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/vivaldi/i],describe:function(g){var p={name:"Vivaldi"},h=w.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/seamonkey/i],describe:function(g){var p={name:"SeaMonkey"},h=w.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/sailfish/i],describe:function(g){var p={name:"Sailfish"},h=w.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,g);return h&&(p.version=h),p}},{test:[/silk/i],describe:function(g){var p={name:"Amazon Silk"},h=w.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/phantom/i],describe:function(g){var p={name:"PhantomJS"},h=w.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/slimerjs/i],describe:function(g){var p={name:"SlimerJS"},h=w.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(g){var p={name:"BlackBerry"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/(web|hpw)[o0]s/i],describe:function(g){var p={name:"WebOS Browser"},h=w.default.getFirstMatch(C,g)||w.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/bada/i],describe:function(g){var p={name:"Bada"},h=w.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/tizen/i],describe:function(g){var p={name:"Tizen"},h=w.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/qupzilla/i],describe:function(g){var p={name:"QupZilla"},h=w.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/firefox|iceweasel|fxios/i],describe:function(g){var p={name:"Firefox"},h=w.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/electron/i],describe:function(g){var p={name:"Electron"},h=w.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/MiuiBrowser/i],describe:function(g){var p={name:"Miui"},h=w.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/chromium/i],describe:function(g){var p={name:"Chromium"},h=w.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,g)||w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/chrome|crios|crmo/i],describe:function(g){var p={name:"Chrome"},h=w.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/GSA/i],describe:function(g){var p={name:"Google Search"},h=w.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:function(g){var p=!g.test(/like android/i),h=g.test(/android/i);return p&&h},describe:function(g){var p={name:"Android Browser"},h=w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/playstation 4/i],describe:function(g){var p={name:"PlayStation 4"},h=w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/safari|applewebkit/i],describe:function(g){var p={name:"Safari"},h=w.default.getFirstMatch(C,g);return h&&(p.version=h),p}},{test:[/.*/i],describe:function(g){var p=-1!==g.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:w.default.getFirstMatch(p,g),version:w.default.getSecondMatch(p,g)}}}],Q.exports=o.default},93:function(Q,o,c){"use strict";o.__esModule=!0,o.default=void 0;var _,w=(_=c(17))&&_.__esModule?_:{default:_},C=c(18);o.default=[{test:[/Roku\/DVP/],describe:function(g){var p=w.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,g);return{name:C.OS_MAP.Roku,version:p}}},{test:[/windows phone/i],describe:function(g){var p=w.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,g);return{name:C.OS_MAP.WindowsPhone,version:p}}},{test:[/windows /i],describe:function(g){var p=w.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,g),h=w.default.getWindowsVersionName(p);return{name:C.OS_MAP.Windows,version:p,versionName:h}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(g){var p={name:C.OS_MAP.iOS},h=w.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,g);return h&&(p.version=h),p}},{test:[/macintosh/i],describe:function(g){var p=w.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,g).replace(/[_\s]/g,"."),h=w.default.getMacOSVersionName(p),F={name:C.OS_MAP.MacOS,version:p};return h&&(F.versionName=h),F}},{test:[/(ipod|iphone|ipad)/i],describe:function(g){var p=w.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,g).replace(/[_\s]/g,".");return{name:C.OS_MAP.iOS,version:p}}},{test:function(g){var p=!g.test(/like android/i),h=g.test(/android/i);return p&&h},describe:function(g){var p=w.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,g),h=w.default.getAndroidVersionName(p),F={name:C.OS_MAP.Android,version:p};return h&&(F.versionName=h),F}},{test:[/(web|hpw)[o0]s/i],describe:function(g){var p=w.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,g),h={name:C.OS_MAP.WebOS};return p&&p.length&&(h.version=p),h}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(g){var p=w.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,g)||w.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,g)||w.default.getFirstMatch(/\bbb(\d+)/i,g);return{name:C.OS_MAP.BlackBerry,version:p}}},{test:[/bada/i],describe:function(g){var p=w.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,g);return{name:C.OS_MAP.Bada,version:p}}},{test:[/tizen/i],describe:function(g){var p=w.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,g);return{name:C.OS_MAP.Tizen,version:p}}},{test:[/linux/i],describe:function(){return{name:C.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:C.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(g){var p=w.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,g);return{name:C.OS_MAP.PlayStation4,version:p}}}],Q.exports=o.default},94:function(Q,o,c){"use strict";o.__esModule=!0,o.default=void 0;var _,w=(_=c(17))&&_.__esModule?_:{default:_},C=c(18);o.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(g){var p=w.default.getFirstMatch(/(can-l01)/i,g)&&"Nova",h={type:C.PLATFORMS_MAP.mobile,vendor:"Huawei"};return p&&(h.model=p),h}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:C.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:C.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:C.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:C.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:C.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:C.PLATFORMS_MAP.tablet}}},{test:function(g){var p=g.test(/ipod|iphone/i),h=g.test(/like (ipod|iphone)/i);return p&&!h},describe:function(g){var p=w.default.getFirstMatch(/(ipod|iphone)/i,g);return{type:C.PLATFORMS_MAP.mobile,vendor:"Apple",model:p}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:C.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:C.PLATFORMS_MAP.mobile}}},{test:function(g){return"blackberry"===g.getBrowserName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(g){return"bada"===g.getBrowserName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.mobile}}},{test:function(g){return"windows phone"===g.getBrowserName()},describe:function(){return{type:C.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(g){var p=Number(String(g.getOSVersion()).split(".")[0]);return"android"===g.getOSName(!0)&&p>=3},describe:function(){return{type:C.PLATFORMS_MAP.tablet}}},{test:function(g){return"android"===g.getOSName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.mobile}}},{test:function(g){return"macos"===g.getOSName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(g){return"windows"===g.getOSName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.desktop}}},{test:function(g){return"linux"===g.getOSName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.desktop}}},{test:function(g){return"playstation 4"===g.getOSName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.tv}}},{test:function(g){return"roku"===g.getOSName(!0)},describe:function(){return{type:C.PLATFORMS_MAP.tv}}}],Q.exports=o.default},95:function(Q,o,c){"use strict";o.__esModule=!0,o.default=void 0;var _,w=(_=c(17))&&_.__esModule?_:{default:_},C=c(18);o.default=[{test:function(g){return"microsoft edge"===g.getBrowserName(!0)},describe:function(g){if(/\sedg\//i.test(g))return{name:C.ENGINE_MAP.Blink};var p=w.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,g);return{name:C.ENGINE_MAP.EdgeHTML,version:p}}},{test:[/trident/i],describe:function(g){var p={name:C.ENGINE_MAP.Trident},h=w.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:function(g){return g.test(/presto/i)},describe:function(g){var p={name:C.ENGINE_MAP.Presto},h=w.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:function(g){var p=g.test(/gecko/i),h=g.test(/like gecko/i);return p&&!h},describe:function(g){var p={name:C.ENGINE_MAP.Gecko},h=w.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:C.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(g){var p={name:C.ENGINE_MAP.WebKit},h=w.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,g);return h&&(p.version=h),p}}],Q.exports=o.default}})},2362:(ie,Q,o)=>{"use strict";o.d(Q,{h:()=>c});var c=function(_){return _[_.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",_[_.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",_[_.CLASS_TO_CLASS=2]="CLASS_TO_CLASS",_}(c||{})},6879:(ie,Q,o)=>{"use strict";o.d(Q,{nq:()=>ee,zb:()=>$,d8:()=>J,yE:()=>te});var c=o(4577),_=o(2362);class g{constructor(se,oe){this.transformationType=se,this.options=oe,this.recursionStack=new Set}transform(se,oe,fe,he,_e,re=0){if(Array.isArray(oe)||oe instanceof Set){const ne=he&&this.transformationType===_.h.PLAIN_TO_CLASS?function E(q){const se=new q;return se instanceof Set||"push"in se?se:[]}(he):[];return oe.forEach((ve,je)=>{const Ge=se?se[je]:void 0;if(this.options.enableCircularCheck&&this.isCircular(ve))this.transformationType===_.h.CLASS_TO_CLASS&&(ne instanceof Set?ne.add(ve):ne.push(ve));else{let Le;if("function"!=typeof fe&&fe&&fe.options&&fe.options.discriminator&&fe.options.discriminator.property&&fe.options.discriminator.subTypes){if(this.transformationType===_.h.PLAIN_TO_CLASS){Le=fe.options.discriminator.subTypes.find(be=>be.name===ve[fe.options.discriminator.property]);const Ee=fe.typeFunction({newObject:ne,object:ve,property:void 0});Le=void 0===Le?Ee:Le.value,fe.options.keepDiscriminatorProperty||delete ve[fe.options.discriminator.property]}this.transformationType===_.h.CLASS_TO_CLASS&&(Le=ve.constructor),this.transformationType===_.h.CLASS_TO_PLAIN&&(ve[fe.options.discriminator.property]=fe.options.discriminator.subTypes.find(ze=>ze.value===ve.constructor).name)}else Le=fe;const Se=this.transform(Ge,ve,Le,void 0,ve instanceof Map,re+1);ne instanceof Set?ne.add(Se):ne.push(Se)}}),ne}if(fe===String&&!_e)return null==oe?oe:String(oe);if(fe===Number&&!_e)return null==oe?oe:Number(oe);if(fe===Boolean&&!_e)return null==oe?oe:!!oe;if((fe===Date||oe instanceof Date)&&!_e)return oe instanceof Date?new Date(oe.valueOf()):null==oe?oe:new Date(oe);if(function w(){return typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:void 0}().Buffer&&(fe===Buffer||oe instanceof Buffer)&&!_e)return null==oe?oe:Buffer.from(oe);if(function C(q){return null!==q&&"object"==typeof q&&"function"==typeof q.then}(oe)&&!_e)return new Promise((ne,ve)=>{oe.then(je=>ne(this.transform(void 0,je,fe,void 0,void 0,re+1)),ve)});if(!_e&&null!==oe&&"object"==typeof oe&&"function"==typeof oe.then)return oe;if("object"==typeof oe&&null!==oe){!fe&&oe.constructor!==Object&&(!Array.isArray(oe)&&oe.constructor===Array||(fe=oe.constructor)),!fe&&se&&(fe=se.constructor),this.options.enableCircularCheck&&this.recursionStack.add(oe);const ne=this.getKeys(fe,oe,_e);let ve=se||{};!se&&(this.transformationType===_.h.PLAIN_TO_CLASS||this.transformationType===_.h.CLASS_TO_CLASS)&&(ve=_e?new Map:fe?new fe:{});for(const je of ne){if("__proto__"===je||"constructor"===je)continue;const Ge=je;let ze,Le=je,Se=je;if(!this.options.ignoreDecorators&&fe)if(this.transformationType===_.h.PLAIN_TO_CLASS){const Ue=c.m.findExposeMetadataByCustomName(fe,je);Ue&&(Se=Ue.propertyName,Le=Ue.propertyName)}else if(this.transformationType===_.h.CLASS_TO_PLAIN||this.transformationType===_.h.CLASS_TO_CLASS){const Ue=c.m.findExposeMetadata(fe,je);Ue&&Ue.options&&Ue.options.name&&(Le=Ue.options.name)}ze=this.transformationType===_.h.PLAIN_TO_CLASS?oe[Ge]:oe instanceof Map?oe.get(Ge):oe[Ge]instanceof Function?oe[Ge]():oe[Ge];let Ee,be=ze instanceof Map;if(fe&&_e)Ee=fe;else if(fe){const Ue=c.m.findTypeMetadata(fe,Se);if(Ue){const Xe=Ue.typeFunction?Ue.typeFunction({newObject:ve,object:oe,property:Se}):Ue.reflectedType;Ue.options&&Ue.options.discriminator&&Ue.options.discriminator.property&&Ue.options.discriminator.subTypes?oe[Ge]instanceof Array?Ee=Ue:(this.transformationType===_.h.PLAIN_TO_CLASS&&(Ee=Ue.options.discriminator.subTypes.find(dt=>{if(ze&&ze instanceof Object&&Ue.options.discriminator.property in ze)return dt.name===ze[Ue.options.discriminator.property]}),Ee=void 0===Ee?Xe:Ee.value,Ue.options.keepDiscriminatorProperty||ze&&ze instanceof Object&&Ue.options.discriminator.property in ze&&delete ze[Ue.options.discriminator.property]),this.transformationType===_.h.CLASS_TO_CLASS&&(Ee=ze.constructor),this.transformationType===_.h.CLASS_TO_PLAIN&&ze&&(ze[Ue.options.discriminator.property]=Ue.options.discriminator.subTypes.find(dt=>dt.value===ze.constructor).name)):Ee=Xe,be=be||Ue.reflectedType===Map}else if(this.options.targetMaps)this.options.targetMaps.filter(st=>st.target===fe&&!!st.properties[Se]).forEach(st=>Ee=st.properties[Se]);else if(this.options.enableImplicitConversion&&this.transformationType===_.h.PLAIN_TO_CLASS){const st=Reflect.getMetadata("design:type",fe.prototype,Se);st&&(Ee=st)}}const xe=Array.isArray(oe[Ge])?this.getReflectedType(fe,Se):void 0,Ve=se?se[Ge]:void 0;if(ve.constructor.prototype){const Ue=Object.getOwnPropertyDescriptor(ve.constructor.prototype,Le);if((this.transformationType===_.h.PLAIN_TO_CLASS||this.transformationType===_.h.CLASS_TO_CLASS)&&(Ue&&!Ue.set||ve[Le]instanceof Function))continue}if(this.options.enableCircularCheck&&this.isCircular(ze)){if(this.transformationType===_.h.CLASS_TO_CLASS){let Ue=ze;Ue=this.applyCustomTransformations(Ue,fe,je,oe,this.transformationType),(void 0!==Ue||this.options.exposeUnsetFields)&&(ve instanceof Map?ve.set(Le,Ue):ve[Le]=Ue)}}else{const Ue=this.transformationType===_.h.PLAIN_TO_CLASS?Le:je;let st;this.transformationType===_.h.CLASS_TO_PLAIN?(st=oe[Ue],st=this.applyCustomTransformations(st,fe,Ue,oe,this.transformationType),st=oe[Ue]===st?ze:st,st=this.transform(Ve,st,Ee,xe,be,re+1)):void 0===ze&&this.options.exposeDefaultValues?st=ve[Le]:(st=this.transform(Ve,ze,Ee,xe,be,re+1),st=this.applyCustomTransformations(st,fe,Ue,oe,this.transformationType)),(void 0!==st||this.options.exposeUnsetFields)&&(ve instanceof Map?ve.set(Le,st):ve[Le]=st)}}return this.options.enableCircularCheck&&this.recursionStack.delete(oe),ve}return oe}applyCustomTransformations(se,oe,fe,he,_e){let re=c.m.findTransformMetadatas(oe,fe,this.transformationType);return void 0!==this.options.version&&(re=re.filter(ne=>!ne.options||this.checkVersion(ne.options.since,ne.options.until))),re=re.filter(this.options.groups&&this.options.groups.length?ne=>!ne.options||this.checkGroups(ne.options.groups):ne=>!ne.options||!ne.options.groups||!ne.options.groups.length),re.forEach(ne=>{se=ne.transformFn({value:se,key:fe,obj:he,type:_e,options:this.options})}),se}isCircular(se){return this.recursionStack.has(se)}getReflectedType(se,oe){if(!se)return;const fe=c.m.findTypeMetadata(se,oe);return fe?fe.reflectedType:void 0}getKeys(se,oe,fe){let he=c.m.getStrategy(se);"none"===he&&(he=this.options.strategy||"exposeAll");let _e=[];if(("exposeAll"===he||fe)&&(_e=oe instanceof Map?Array.from(oe.keys()):Object.keys(oe)),fe)return _e;if(this.options.ignoreDecorators&&this.options.excludeExtraneousValues&&se&&(_e=[...c.m.getExposedProperties(se,this.transformationType),...c.m.getExcludedProperties(se,this.transformationType)]),!this.options.ignoreDecorators&&se){let re=c.m.getExposedProperties(se,this.transformationType);this.transformationType===_.h.PLAIN_TO_CLASS&&(re=re.map(ve=>{const je=c.m.findExposeMetadata(se,ve);return je&&je.options&&je.options.name?je.options.name:ve})),_e=this.options.excludeExtraneousValues?re:_e.concat(re);const ne=c.m.getExcludedProperties(se,this.transformationType);ne.length>0&&(_e=_e.filter(ve=>!ne.includes(ve))),void 0!==this.options.version&&(_e=_e.filter(ve=>{const je=c.m.findExposeMetadata(se,ve);return!je||!je.options||this.checkVersion(je.options.since,je.options.until)})),_e=_e.filter(this.options.groups&&this.options.groups.length?ve=>{const je=c.m.findExposeMetadata(se,ve);return!je||!je.options||this.checkGroups(je.options.groups)}:ve=>{const je=c.m.findExposeMetadata(se,ve);return!(je&&je.options&&je.options.groups&&je.options.groups.length)})}return this.options.excludePrefixes&&this.options.excludePrefixes.length&&(_e=_e.filter(re=>this.options.excludePrefixes.every(ne=>re.substr(0,ne.length)!==ne))),_e=_e.filter((re,ne,ve)=>ve.indexOf(re)===ne),_e}checkVersion(se,oe){let fe=!0;return fe&&se&&(fe=this.options.version>=se),fe&&oe&&(fe=this.options.version<oe),fe}checkGroups(se){return!se||this.options.groups.some(oe=>se.includes(oe))}}const p={enableCircularCheck:!1,enableImplicitConversion:!1,excludeExtraneousValues:!1,excludePrefixes:void 0,exposeDefaultValues:!1,exposeUnsetFields:!0,groups:void 0,ignoreDecorators:!1,strategy:void 0,targetMaps:void 0,version:void 0},F=new class h{instanceToPlain(se,oe){return new g(_.h.CLASS_TO_PLAIN,{...p,...oe}).transform(void 0,se,void 0,void 0,void 0,void 0)}classToPlainFromExist(se,oe,fe){return new g(_.h.CLASS_TO_PLAIN,{...p,...fe}).transform(oe,se,void 0,void 0,void 0,void 0)}plainToInstance(se,oe,fe){return new g(_.h.PLAIN_TO_CLASS,{...p,...fe}).transform(void 0,oe,se,void 0,void 0,void 0)}plainToClassFromExist(se,oe,fe){return new g(_.h.PLAIN_TO_CLASS,{...p,...fe}).transform(se,oe,void 0,void 0,void 0,void 0)}instanceToInstance(se,oe){return new g(_.h.CLASS_TO_CLASS,{...p,...oe}).transform(void 0,se,void 0,void 0,void 0,void 0)}classToClassFromExist(se,oe,fe){return new g(_.h.CLASS_TO_CLASS,{...p,...fe}).transform(oe,se,void 0,void 0,void 0,void 0)}serialize(se,oe){return JSON.stringify(this.instanceToPlain(se,oe))}deserialize(se,oe,fe){const he=JSON.parse(oe);return this.plainToInstance(se,he,fe)}deserializeArray(se,oe,fe){const he=JSON.parse(oe);return this.plainToInstance(se,he,fe)}};function $(q,se){return F.instanceToPlain(q,se)}function J(q,se,oe){return F.plainToInstance(q,se,oe)}function te(q,se,oe){return F.plainToInstance(q,se,oe)}function ee(q,se){return F.instanceToInstance(q,se)}},4577:(ie,Q,o)=>{"use strict";o.d(Q,{m:()=>w});var c=o(2362);const w=new class _{constructor(){this._typeMetadatas=new Map,this._transformMetadatas=new Map,this._exposeMetadatas=new Map,this._excludeMetadatas=new Map,this._ancestorsMap=new Map}addTypeMetadata(E){this._typeMetadatas.has(E.target)||this._typeMetadatas.set(E.target,new Map),this._typeMetadatas.get(E.target).set(E.propertyName,E)}addTransformMetadata(E){this._transformMetadatas.has(E.target)||this._transformMetadatas.set(E.target,new Map),this._transformMetadatas.get(E.target).has(E.propertyName)||this._transformMetadatas.get(E.target).set(E.propertyName,[]),this._transformMetadatas.get(E.target).get(E.propertyName).push(E)}addExposeMetadata(E){this._exposeMetadatas.has(E.target)||this._exposeMetadatas.set(E.target,new Map),this._exposeMetadatas.get(E.target).set(E.propertyName,E)}addExcludeMetadata(E){this._excludeMetadatas.has(E.target)||this._excludeMetadatas.set(E.target,new Map),this._excludeMetadatas.get(E.target).set(E.propertyName,E)}findTransformMetadatas(E,g,p){return this.findMetadatas(this._transformMetadatas,E,g).filter(h=>!h.options||!0===h.options.toClassOnly&&!0===h.options.toPlainOnly||(!0===h.options.toClassOnly?p===c.h.CLASS_TO_CLASS||p===c.h.PLAIN_TO_CLASS:!0!==h.options.toPlainOnly||p===c.h.CLASS_TO_PLAIN))}findExcludeMetadata(E,g){return this.findMetadata(this._excludeMetadatas,E,g)}findExposeMetadata(E,g){return this.findMetadata(this._exposeMetadatas,E,g)}findExposeMetadataByCustomName(E,g){return this.getExposedMetadatas(E).find(p=>p.options&&p.options.name===g)}findTypeMetadata(E,g){return this.findMetadata(this._typeMetadatas,E,g)}getStrategy(E){const g=this._excludeMetadatas.get(E),p=g&&g.get(void 0),h=this._exposeMetadatas.get(E),F=h&&h.get(void 0);return p&&F||!p&&!F?"none":p?"excludeAll":"exposeAll"}getExposedMetadatas(E){return this.getMetadata(this._exposeMetadatas,E)}getExcludedMetadatas(E){return this.getMetadata(this._excludeMetadatas,E)}getExposedProperties(E,g){return this.getExposedMetadatas(E).filter(p=>!p.options||!0===p.options.toClassOnly&&!0===p.options.toPlainOnly||(!0===p.options.toClassOnly?g===c.h.CLASS_TO_CLASS||g===c.h.PLAIN_TO_CLASS:!0!==p.options.toPlainOnly||g===c.h.CLASS_TO_PLAIN)).map(p=>p.propertyName)}getExcludedProperties(E,g){return this.getExcludedMetadatas(E).filter(p=>!p.options||!0===p.options.toClassOnly&&!0===p.options.toPlainOnly||(!0===p.options.toClassOnly?g===c.h.CLASS_TO_CLASS||g===c.h.PLAIN_TO_CLASS:!0!==p.options.toPlainOnly||g===c.h.CLASS_TO_PLAIN)).map(p=>p.propertyName)}clear(){this._typeMetadatas.clear(),this._exposeMetadatas.clear(),this._excludeMetadatas.clear(),this._ancestorsMap.clear()}getMetadata(E,g){const p=E.get(g);let h;p&&(h=Array.from(p.values()).filter(T=>void 0!==T.propertyName));const F=[];for(const T of this.getAncestors(g)){const $=E.get(T);if($){const x=Array.from($.values()).filter(J=>void 0!==J.propertyName);F.push(...x)}}return F.concat(h||[])}findMetadata(E,g,p){const h=E.get(g);if(h){const F=h.get(p);if(F)return F}for(const F of this.getAncestors(g)){const T=E.get(F);if(T){const $=T.get(p);if($)return $}}}findMetadatas(E,g,p){const h=E.get(g);let F;h&&(F=h.get(p));const T=[];for(const $ of this.getAncestors(g)){const x=E.get($);x&&x.has(p)&&T.push(...x.get(p))}return T.slice().reverse().concat((F||[]).slice().reverse())}getAncestors(E){if(!E)return[];if(!this._ancestorsMap.has(E)){const g=[];for(let p=Object.getPrototypeOf(E.prototype.constructor);typeof p.prototype<"u";p=Object.getPrototypeOf(p.prototype.constructor))g.push(p);this._ancestorsMap.set(E,g)}return this._ancestorsMap.get(E)}}},697:(ie,Q,o)=>{"use strict";o.d(Q,{D:()=>E,a:()=>C});var c=o(7582),_=o(7624),w=o(531),C=function(){function g(){this.cachedConfig=_.sz.empty}return g.prototype.set=function(p,h){this.cachedConfig=h},g.prototype.get=function(p){return this.cachedConfig},g.prototype.getInMemory=function(){return this.cachedConfig},g}(),E=function(){function g(p,h){this.cache=p,this.logger=h,this.cachedConfig=_.sz.empty}return g.prototype.set=function(p,h){return(0,c.mG)(this,void 0,void 0,function(){var F;return(0,c.Jh)(this,function(T){switch(T.label){case 0:return T.trys.push([0,2,,3]),h.isEmpty?(this.cachedSerializedConfig=void 0,this.cachedConfig=h,[2]):(this.cachedSerializedConfig=_.sz.serialize(h),this.cachedConfig=h,[4,this.cache.set(p,this.cachedSerializedConfig)]);case 1:return T.sent(),[3,3];case 2:return F=T.sent(),this.logger.configServiceCacheWriteError(F),[3,3];case 3:return[2]}})})},g.prototype.updateCachedConfig=function(p){null==p||p===this.cachedSerializedConfig||(this.cachedConfig=_.sz.deserialize(p),this.cachedSerializedConfig=p)},g.prototype.get=function(p){var T;try{var F=this.cache.get(p);if((0,w.y8)(F))return T=F,(0,c.mG)(this,void 0,void 0,function(){var $,x;return(0,c.Jh)(this,function(J){switch(J.label){case 0:return J.trys.push([0,2,,3]),$=this.updateCachedConfig,[4,T];case 1:return $.apply(this,[J.sent()]),[3,3];case 2:return x=J.sent(),this.logger.configServiceCacheReadError(x),[3,3];case 3:return[2,this.cachedConfig]}})});this.updateCachedConfig(F)}catch(T){this.logger.configServiceCacheReadError(T)}return Promise.resolve(this.cachedConfig)},g.prototype.getInMemory=function(){return this.cachedConfig},g}()},2745:(ie,Q,o)=>{"use strict";o.d(Q,{ZT:()=>U,hA:()=>J,p7:()=>de,Nm:()=>ee,_e:()=>x});var c=o(7582),_=o(697),w=o(4190);function C(le){return!!le.fn}var E=function(){function le(){this.events={},this.eventCount=0,this.addListener=this.on,this.off=this.removeListener}return le.prototype.addListenerCore=function(we,Ne,q){if("function"!=typeof Ne)throw new TypeError("Listener must be a function");var se=this.events[we],oe={fn:Ne,once:q};return se?C(se)?this.events[we]=[se,oe]:se.push(oe):(this.events[we]=oe,this.eventCount++),this},le.prototype.removeListenerCore=function(we,Ne,q){var se=this.events[we];if(!se)return this;if(C(se))q(se,Ne)&&this.removeEvent(we);else for(var oe=se.length-1;oe>=0;oe--)if(q(se[oe],Ne)){se.splice(oe,1),se.length?1===se.length&&(this.events[we]=se[0]):this.removeEvent(we);break}return this},le.prototype.removeEvent=function(we){0==--this.eventCount?this.events={}:delete this.events[we]},le.prototype.on=function(we,Ne){return this.addListenerCore(we,Ne,!1)},le.prototype.once=function(we,Ne){return this.addListenerCore(we,Ne,!0)},le.prototype.removeListener=function(we,Ne){if("function"!=typeof Ne)throw new TypeError("Listener must be a function");return this.removeListenerCore(we,Ne,function(q,se){return q.fn===se})},le.prototype.removeAllListeners=function(we){return we?this.events[we]&&this.removeEvent(we):(this.events={},this.eventCount=0),this},le.prototype.listeners=function(we){var Ne=this.events[we];if(!Ne)return[];if(C(Ne))return[Ne.fn];for(var q=Ne.length,se=new Array(q),oe=0;oe<q;oe++)se[oe]=Ne[oe].fn;return se},le.prototype.listenerCount=function(we){var Ne=this.events[we];return Ne?C(Ne)?1:Ne.length:0},le.prototype.eventNames=function(){var we=[];if(0===this.eventCount)return we;var Ne=this.events;for(var q in Ne)Object.prototype.hasOwnProperty.call(Ne,q)&&we.push(q);return Object.getOwnPropertySymbols?we.concat(Object.getOwnPropertySymbols(Ne)):we},le.prototype.emit=function(we,Ne,q,se,oe){for(var fe,he,_e=[],re=5;re<arguments.length;re++)_e[re-5]=arguments[re];var ve,je,ne=this.events[we];if(!ne)return!1;C(ne)?(ve=(fe=[ne,1])[0],je=fe[1]):(ve=(he=[(ne=ne.slice())[0],ne.length])[0],je=he[1]);for(var Ge=arguments.length-1,Le=0;;){switch(ve.once&&this.removeListenerCore(we,ve,function(Ee,be){return Ee===be}),Ge){case 0:ve.fn.call(this);break;case 1:ve.fn.call(this,Ne);break;case 2:ve.fn.call(this,Ne,q);break;case 3:ve.fn.call(this,Ne,q,se);break;case 4:ve.fn.call(this,Ne,q,se,oe);break;default:for(var Se=new Array(Ge),ze=0;ze<Ge;ze++)Se[ze]=arguments[ze+1];ve.fn.apply(this,Se)}if(++Le>=je)break;ve=ne[Le]}return!0},le}(),g=function(){function le(){this.addListener=this.on,this.off=this.removeListener}return le.prototype.on=function(){return this},le.prototype.once=function(){return this},le.prototype.removeListener=function(){return this},le.prototype.removeAllListeners=function(){return this},le.prototype.listeners=function(){return[]},le.prototype.listenerCount=function(){return 0},le.prototype.eventNames=function(){return[]},le.prototype.emit=function(){return!1},le}(),p=o(6335),h=new g,F=function(){function le(we){this.addListener=this.on,this.off=this.removeListener,this.eventEmitter=we}return le.prototype.tryDisconnect=function(){var we=this.eventEmitter;return this.eventEmitter=h,we!==h},le.prototype.on=function(we,Ne){return this.eventEmitter.on(we,Ne),this},le.prototype.once=function(we,Ne){return this.eventEmitter.once(we,Ne),this},le.prototype.removeListener=function(we,Ne){return this.eventEmitter.removeListener(we,Ne),this},le.prototype.removeAllListeners=function(we){return this.eventEmitter.removeAllListeners(we),this},le.prototype.listeners=function(we){return this.eventEmitter.listeners(we)},le.prototype.listenerCount=function(we){return this.eventEmitter.listenerCount(we)},le.prototype.eventNames=function(){return this.eventEmitter.eventNames()},le.prototype.emit=function(we){for(var Ne,q=[],se=1;se<arguments.length;se++)q[se-1]=arguments[se];return(Ne=this.eventEmitter).emit.apply(Ne,(0,c.pr)([we],q))},le}(),T=o(846),$=o(7624),x=function(le){return le[le.AutoPoll=0]="AutoPoll",le[le.LazyLoad=1]="LazyLoad",le[le.ManualPoll=2]="ManualPoll",le}(x||{}),J=function(le){return le[le.Global=0]="Global",le[le.EuOnly=1]="EuOnly",le}(J||{}),te=function(){function le(we,Ne,q,se,oe){var fe,he,_e;if(this.requestTimeoutMs=3e4,this.baseUrlOverriden=!1,this.proxy="",this.offline=!1,!we)throw new Error("Invalid 'sdkKey' value");this.sdkKey=we,this.clientVersion=Ne,this.dataGovernance=null!==(fe=q?.dataGovernance)&&void 0!==fe?fe:J.Global,this.baseUrl=this.dataGovernance===J.EuOnly?"https://cdn-eu.configcat.com":"https://cdn-global.configcat.com";var je,Ge,re=null!==(he=oe?.())&&void 0!==he?he:new E,ne=new F(re),ve=new((0,T.UX)()?WeakRef:(0,T.Ju)())(ne);if(this.hooks={hooks:ne,hooksWeakRef:ve,emit:function(Le){for(var Se,ze,Ee=[],be=1;be<arguments.length;be++)Ee[be-1]=arguments[be];return null!==(ze=null===(Se=this.hooksWeakRef.deref())||void 0===Se?void 0:Se.emit.apply(Se,(0,c.pr)([Le],Ee)))&&void 0!==ze&&ze}},q){if(je=q.logger,Ge=q.cache,q.requestTimeoutMs){if(q.requestTimeoutMs<0)throw new Error("Invalid 'requestTimeoutMs' value");this.requestTimeoutMs=q.requestTimeoutMs}q.baseUrl&&(this.baseUrl=q.baseUrl,this.baseUrlOverriden=!0),q.proxy&&(this.proxy=q.proxy),q.flagOverrides&&(this.flagOverrides=q.flagOverrides),q.defaultUser&&(this.defaultUser=q.defaultUser),q.offline&&(this.offline=q.offline),null===(_e=q.setupHooks)||void 0===_e||_e.call(q,ne)}this.logger=new w.Gr(je??new w.nv,this.hooks),this.cache=Ge?new _.D(Ge,this.logger):se?se(this):new _.a}return le.prototype.yieldHooks=function(){var we=this.hooks,Ne=we.hooks;return delete we.hooks,Ne??new F(new g)},le.prototype.getUrl=function(){return this.baseUrl+"/configuration-files/"+this.sdkKey+"/"+le.configFileName+"?sdk="+this.clientVersion},le.prototype.getCacheKey=function(){return(0,p.q)(this.sdkKey+"_"+le.configFileName+"_"+$.sz.serializationFormatVersion)},le.configFileName="config_v6.json",le}(),U=function(le){function we(Ne,q,se,oe,fe,he){var _e=le.call(this,Ne,q+"/a-"+se,oe,fe,he)||this;if(_e.pollIntervalSeconds=60,_e.maxInitWaitTimeSeconds=5,oe&&(null!=oe.pollIntervalSeconds&&(_e.pollIntervalSeconds=oe.pollIntervalSeconds),null!=oe.maxInitWaitTimeSeconds&&(_e.maxInitWaitTimeSeconds=oe.maxInitWaitTimeSeconds)),!("number"==typeof _e.pollIntervalSeconds&&1<=_e.pollIntervalSeconds&&_e.pollIntervalSeconds<=2147483))throw new Error("Invalid 'pollIntervalSeconds' value");if(!("number"==typeof _e.maxInitWaitTimeSeconds&&_e.maxInitWaitTimeSeconds<=2147483))throw new Error("Invalid 'maxInitWaitTimeSeconds' value");return _e}return(0,c.ZT)(we,le),we}(te),ee=function(le){function we(Ne,q,se,oe,fe,he){return le.call(this,Ne,q+"/m-"+se,oe,fe,he)||this}return(0,c.ZT)(we,le),we}(te),de=function(le){function we(Ne,q,se,oe,fe,he){var _e=le.call(this,Ne,q+"/l-"+se,oe,fe,he)||this;if(_e.cacheTimeToLiveSeconds=60,oe&&null!=oe.cacheTimeToLiveSeconds&&(_e.cacheTimeToLiveSeconds=oe.cacheTimeToLiveSeconds),!("number"==typeof _e.cacheTimeToLiveSeconds&&1<=_e.cacheTimeToLiveSeconds&&_e.cacheTimeToLiveSeconds<=2147483647))throw new Error("Invalid 'cacheTimeToLiveSeconds' value");return _e}return(0,c.ZT)(we,le),we}(te)},4190:(ie,Q,o)=>{"use strict";o.d(Q,{Gr:()=>E,TL:()=>C,in:()=>w,nv:()=>g});var p,h,F,T,$,x,J,te,U,ee,de,le,we,Ne,q,se,oe,fe,he,_e,c=o(7582),_=o(531),w=function(re){return re[re.Debug=4]="Debug",re[re.Info=3]="Info",re[re.Warn=2]="Warn",re[re.Error=1]="Error",re[re.Off=-1]="Off",re}(w||{}),C=function(){function re(ne,ve,je){this.strings=ne,this.argNames=ve,this.argValues=je}return re.from=function(){for(var ne=[],ve=0;ve<arguments.length;ve++)ne[ve]=arguments[ve];return function(je){for(var Ge=[],Le=1;Le<arguments.length;Le++)Ge[Le-1]=arguments[Le];return new re(je,ne,Ge)}},Object.defineProperty(re.prototype,"defaultFormattedMessage",{get:function(){var ne=this.cachedDefaultFormattedMessage;if(void 0===ne){ne="";for(var je=this.strings,Ge=this.argValues,Le=0;Le<je.length-1;Le++)ne+=je[Le],ne+=Ge[Le];this.cachedDefaultFormattedMessage=ne+=je[Le]}return ne},enumerable:!1,configurable:!0}),re.prototype.toString=function(){return this.defaultFormattedMessage},re}(),E=function(){function re(ne,ve){this.logger=ne,this.hooks=ve}return Object.defineProperty(re.prototype,"level",{get:function(){var ne;return null!==(ne=this.logger.level)&&void 0!==ne?ne:w.Warn},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"eol",{get:function(){var ne;return null!==(ne=this.logger.eol)&&void 0!==ne?ne:"\n"},enumerable:!1,configurable:!0}),re.prototype.isEnabled=function(ne){return this.level>=ne},re.prototype.log=function(ne,ve,je,Ge){var Le;return this.isEnabled(ne)&&this.logger.log(ne,ve,je,Ge),ne===w.Error&&(null===(Le=this.hooks)||void 0===Le||Le.emit("clientError",je.toString(),Ge)),je},re.prototype.debug=function(ne){this.log(w.Debug,0,ne)},re.prototype.configJsonIsNotPresent=function(ne){return this.log(w.Error,1e3,C.from("DEFAULT_RETURN_VALUE")(p||(p=(0,c.cy)(["Config JSON is not present. Returning ","."],["Config JSON is not present. Returning ","."])),ne))},re.prototype.configJsonIsNotPresentSingle=function(ne,ve,je){return this.log(w.Error,1e3,C.from("KEY","DEFAULT_PARAM_NAME","DEFAULT_PARAM_VALUE")(h||(h=(0,c.cy)(["Config JSON is not present when evaluating setting '","'. Returning the `","` parameter that you specified in your application: '","'."],["Config JSON is not present when evaluating setting '","'. Returning the \\`","\\` parameter that you specified in your application: '","'."])),ne,ve,je))},re.prototype.settingEvaluationFailedDueToMissingKey=function(ne,ve,je,Ge){return this.log(w.Error,1001,C.from("KEY","DEFAULT_PARAM_NAME","DEFAULT_PARAM_VALUE","AVAILABLE_KEYS")(F||(F=(0,c.cy)(["Failed to evaluate setting '","' (the key was not found in config JSON). Returning the `","` parameter that you specified in your application: '","'. Available keys: [","]."],["Failed to evaluate setting '","' (the key was not found in config JSON). Returning the \\`","\\` parameter that you specified in your application: '","'. Available keys: [","]."])),ne,ve,je,Ge))},re.prototype.settingEvaluationError=function(ne,ve,je){return this.log(w.Error,1002,C.from("METHOD_NAME","DEFAULT_RETURN_VALUE")(T||(T=(0,c.cy)(["Error occurred in the `","` method. Returning ","."],["Error occurred in the \\`","\\` method. Returning ","."])),ne,ve),je)},re.prototype.settingEvaluationErrorSingle=function(ne,ve,je,Ge,Le){return this.log(w.Error,1002,C.from("METHOD_NAME","KEY","DEFAULT_PARAM_NAME","DEFAULT_PARAM_VALUE")($||($=(0,c.cy)(["Error occurred in the `","` method while evaluating setting '","'. Returning the `","` parameter that you specified in your application: '","'."],["Error occurred in the \\`","\\` method while evaluating setting '","'. Returning the \\`","\\` parameter that you specified in your application: '","'."])),ne,ve,je,Ge),Le)},re.prototype.forceRefreshError=function(ne,ve){return this.log(w.Error,1003,C.from("METHOD_NAME")(x||(x=(0,c.cy)(["Error occurred in the `","` method."],["Error occurred in the \\`","\\` method."])),ne),ve)},re.prototype.fetchFailedDueToInvalidSdkKey=function(){return this.log(w.Error,1100,"Your SDK Key seems to be wrong. You can find the valid SDK Key at https://app.configcat.com/sdkkey")},re.prototype.fetchFailedDueToUnexpectedHttpResponse=function(ne,ve){return this.log(w.Error,1101,C.from("STATUS_CODE","REASON_PHRASE")(J||(J=(0,c.cy)(["Unexpected HTTP response was received while trying to fetch config JSON: "," ",""],["Unexpected HTTP response was received while trying to fetch config JSON: "," ",""])),ne,ve))},re.prototype.fetchFailedDueToRequestTimeout=function(ne,ve){return this.log(w.Error,1102,C.from("TIMEOUT")(te||(te=(0,c.cy)(["Request timed out while trying to fetch config JSON. Timeout value: ","ms"],["Request timed out while trying to fetch config JSON. Timeout value: ","ms"])),ne),ve)},re.prototype.fetchFailedDueToUnexpectedError=function(ne){return this.log(w.Error,1103,"Unexpected error occurred while trying to fetch config JSON. It is most likely due to a local network issue. Please make sure your application can reach the ConfigCat CDN servers (or your proxy server) over HTTP.",ne)},re.prototype.fetchFailedDueToRedirectLoop=function(){return this.log(w.Error,1104,"Redirection loop encountered while trying to fetch config JSON. Please contact us at https://configcat.com/support/")},re.prototype.fetchReceived200WithInvalidBody=function(ne){return this.log(w.Error,1105,"Fetching config JSON was successful but the HTTP response content was invalid.",ne)},re.prototype.fetchReceived304WhenLocalCacheIsEmpty=function(ne,ve){return this.log(w.Error,1106,C.from("STATUS_CODE","REASON_PHRASE")(U||(U=(0,c.cy)(["Unexpected HTTP response was received when no config JSON is cached locally: "," ",""],["Unexpected HTTP response was received when no config JSON is cached locally: "," ",""])),ne,ve))},re.prototype.settingForVariationIdIsNotPresent=function(ne){return this.log(w.Error,2011,C.from("VARIATION_ID")(ee||(ee=(0,c.cy)(["Could not find the setting for the specified variation ID: '","'."],["Could not find the setting for the specified variation ID: '","'."])),ne))},re.prototype.configServiceCacheReadError=function(ne){return this.log(w.Error,2200,"Error occurred while reading the cache.",ne)},re.prototype.configServiceCacheWriteError=function(ne){return this.log(w.Error,2201,"Error occurred while writing the cache.",ne)},re.prototype.clientIsAlreadyCreated=function(ne){return this.log(w.Warn,3e3,C.from("SDK_KEY")(de||(de=(0,c.cy)(["There is an existing client instance for the specified SDK Key. No new client instance will be created and the specified options are ignored. Returning the existing client instance. SDK Key: '","'."],["There is an existing client instance for the specified SDK Key. No new client instance will be created and the specified options are ignored. Returning the existing client instance. SDK Key: '","'."])),ne))},re.prototype.userObjectIsMissing=function(ne){return this.log(w.Warn,3001,C.from("KEY")(le||(le=(0,c.cy)(["Cannot evaluate targeting rules and % options for setting '","' (User Object is missing). You should pass a User Object to the evaluation methods like `getValueAsync()` in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/"],["Cannot evaluate targeting rules and % options for setting '","' (User Object is missing). You should pass a User Object to the evaluation methods like \\`getValueAsync()\\` in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/"])),ne))},re.prototype.dataGovernanceIsOutOfSync=function(){return this.log(w.Warn,3002,"The `dataGovernance` parameter specified at the client initialization is not in sync with the preferences on the ConfigCat Dashboard. Read more: https://configcat.com/docs/advanced/data-governance/")},re.prototype.userObjectAttributeIsMissingPercentage=function(ne,ve){return this.log(w.Warn,3003,C.from("KEY","ATTRIBUTE_NAME","ATTRIBUTE_NAME")(we||(we=(0,c.cy)(["Cannot evaluate % options for setting '","' (the User."," attribute is missing). You should set the User."," attribute in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/"],["Cannot evaluate % options for setting '","' (the User."," attribute is missing). You should set the User."," attribute in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/"])),ne,ve,ve))},re.prototype.userObjectAttributeIsMissingCondition=function(ne,ve,je){return this.log(w.Warn,3003,C.from("CONDITION","KEY","ATTRIBUTE_NAME","ATTRIBUTE_NAME")(Ne||(Ne=(0,c.cy)(["Cannot evaluate condition (",") for setting '","' (the User."," attribute is missing). You should set the User."," attribute in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/"],["Cannot evaluate condition (",") for setting '","' (the User."," attribute is missing). You should set the User."," attribute in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/"])),ne,ve,je,je))},re.prototype.userObjectAttributeIsInvalid=function(ne,ve,je,Ge){return this.log(w.Warn,3004,C.from("CONDITION","KEY","REASON","ATTRIBUTE_NAME")(q||(q=(0,c.cy)(["Cannot evaluate condition (",") for setting '","' (","). Please check the User."," attribute and make sure that its value corresponds to the comparison operator."],["Cannot evaluate condition (",") for setting '","' (","). Please check the User."," attribute and make sure that its value corresponds to the comparison operator."])),ne,ve,je,Ge))},re.prototype.userObjectAttributeIsAutoConverted=function(ne,ve,je,Ge){return this.log(w.Warn,3005,C.from("CONDITION","KEY","ATTRIBUTE_NAME","ATTRIBUTE_VALUE")(se||(se=(0,c.cy)(["Evaluation of condition (",") for setting '","' may not produce the expected result (the User."," attribute is not a string value, thus it was automatically converted to the string value '","'). Please make sure that using a non-string value was intended."],["Evaluation of condition (",") for setting '","' may not produce the expected result (the User."," attribute is not a string value, thus it was automatically converted to the string value '","'). Please make sure that using a non-string value was intended."])),ne,ve,je,Ge))},re.prototype.configServiceCannotInitiateHttpCalls=function(){return this.log(w.Warn,3200,"Client is in offline mode, it cannot initiate HTTP calls.")},re.prototype.configServiceMethodHasNoEffectDueToDisposedClient=function(ne){return this.log(w.Warn,3201,C.from("METHOD_NAME")(oe||(oe=(0,c.cy)(["The client object is already disposed, thus `","()` has no effect."],["The client object is already disposed, thus \\`","()\\` has no effect."])),ne))},re.prototype.configServiceMethodHasNoEffectDueToOverrideBehavior=function(ne,ve){return this.log(w.Warn,3202,C.from("OVERRIDE_BEHAVIOR","METHOD_NAME")(fe||(fe=(0,c.cy)(["Client is configured to use the `","` override behavior, thus `","()` has no effect."],["Client is configured to use the \\`","\\` override behavior, thus \\`","()\\` has no effect."])),ne,ve))},re.prototype.settingEvaluated=function(ne){return this.log(w.Info,5e3,C.from("EVALUATE_LOG")(he||(he=(0,c.cy)(["",""],["",""])),ne))},re.prototype.configServiceStatusChanged=function(ne){return this.log(w.Info,5200,C.from("MODE")(_e||(_e=(0,c.cy)(["Switched to "," mode."],["Switched to "," mode."])),ne.toUpperCase()))},re}(),g=function(){function re(ne,ve){void 0===ne&&(ne=w.Warn),void 0===ve&&(ve="\n"),this.level=ne,this.eol=ve,this.SOURCE="ConfigCat"}return re.prototype.log=function(ne,ve,je,Ge){var Le=ne===w.Debug?[console.info,"DEBUG"]:ne===w.Info?[console.info,"INFO"]:ne===w.Warn?[console.warn,"WARN"]:ne===w.Error?[console.error,"ERROR"]:[console.log,w[ne].toUpperCase()],Se=Le[0],ze=Le[1],Ee=void 0!==Ge?this.eol+(0,_.VK)(Ge,!0):"";Se(this.SOURCE+" - "+ze+" - ["+ve+"] "+je+Ee)},re}()},6335:(ie,Q,o)=>{"use strict";o.d(Q,{J:()=>w,q:()=>_});var c=o(531);function _(E){function g(fe,he){return fe<<he|fe>>>32-he}var p,h,F,ee,de,le,we,Ne,q,T=new Array(80),$=1732584193,x=4023233417,J=2562383102,te=271733878,U=3285377520,se=(E=(0,c.Rn)(E)).length,oe=new Array;for(h=0;h<se-3;h+=4)F=E.charCodeAt(h)<<24|E.charCodeAt(h+1)<<16|E.charCodeAt(h+2)<<8|E.charCodeAt(h+3),oe.push(F);switch(se%4){case 0:h=2147483648;break;case 1:h=E.charCodeAt(se-1)<<24|8388608;break;case 2:h=E.charCodeAt(se-2)<<24|E.charCodeAt(se-1)<<16|32768;break;case 3:h=E.charCodeAt(se-3)<<24|E.charCodeAt(se-2)<<16|E.charCodeAt(se-1)<<8|128}for(oe.push(h);oe.length%16!=14;)oe.push(0);for(oe.push(se>>>29),oe.push(se<<3&4294967295),p=0;p<oe.length;p+=16){for(h=0;h<16;h++)T[h]=oe[p+h];for(h=16;h<=79;h++)T[h]=g(T[h-3]^T[h-8]^T[h-14]^T[h-16],1);for(ee=$,de=x,le=J,we=te,Ne=U,h=0;h<=19;h++)q=g(ee,5)+(de&le|~de&we)+Ne+T[h]+1518500249&4294967295,Ne=we,we=le,le=g(de,30),de=ee,ee=q;for(h=20;h<=39;h++)q=g(ee,5)+(de^le^we)+Ne+T[h]+1859775393&4294967295,Ne=we,we=le,le=g(de,30),de=ee,ee=q;for(h=40;h<=59;h++)q=g(ee,5)+(de&le|de&we|le&we)+Ne+T[h]+2400959708&4294967295,Ne=we,we=le,le=g(de,30),de=ee,ee=q;for(h=60;h<=79;h++)q=g(ee,5)+(de^le^we)+Ne+T[h]+3395469782&4294967295,Ne=we,we=le,le=g(de,30),de=ee,ee=q;$=$+ee&4294967295,x=x+de&4294967295,J=J+le&4294967295,te=te+we&4294967295,U=U+Ne&4294967295}return C([$,x,J,te,U])}function w(E){function g(ne,ve){return ne>>>ve|ne<<32-ve}var T,$,p="length",h=Math.pow,F=h(2,32),x=w,J=x.h,te=x.k;if(!te){J=[],te=[];for(var U={},ee=2,de=0;de<64;ee++)if(!U[ee]){for(T=0;T<313;T+=ee)U[T]=ee;J[de]=h(ee,.5)*F|0,te[de++]=h(ee,1/3)*F|0}x.h=J=J.slice(0,8),x.k=te}var le=8*E[p];E+="\x80";for(var we=[];E[p]%64-56;)E+="\0";for(T=0;T<E[p];T++)$=E.charCodeAt(T),we[T>>2]|=$<<(3-T)%4*8;for(we[we[p]]=le/F|0,we[we[p]]=le,$=0;$<we[p];){var Ne=we.slice($,$+=16),q=J;for(J=J.slice(0,8),T=0;T<64;T++){var se=Ne[T-15],oe=Ne[T-2],fe=J[0],he=J[4],_e=J[7]+(g(he,6)^g(he,11)^g(he,25))+(he&J[5]^~he&J[6])+te[T]+(Ne[T]=T<16?Ne[T]:Ne[T-16]+(g(se,7)^g(se,18)^se>>>3)+Ne[T-7]+(g(oe,17)^g(oe,19)^oe>>>10)|0);(J=[_e+((g(fe,2)^g(fe,13)^g(fe,22))+(fe&J[1]^fe&J[2]^J[1]&J[2]))|0].concat(J))[4]=J[4]+_e|0}for(T=0;T<8;T++)J[T]=J[T]+q[T]|0}return C(J,8)}function C(E,g){var p="0123456789abcdef",h="";g??(g=E.length);for(var F=0;F<g;F++)for(var T=3;T>=0;T--){var $=E[F]>>(T<<3)&255;h+=p[$>>4],h+=p[15&$]}return h}},846:(ie,Q,o)=>{"use strict";function c(){typeof Object.values>"u"&&(Object.values=_),typeof Object.entries>"u"&&(Object.entries=w),typeof Object.fromEntries>"u"&&(Object.fromEntries=C)}function _(p){for(var h=[],F=0,T=Object.keys(p);F<T.length;F++)h.push(p[T[F]]);return h}function w(p){for(var h=[],F=0,T=Object.keys(p);F<T.length;F++){var $=T[F];h.push([$,p[$]])}return h}function C(p){var h,F={};if(Array.isArray(p))for(var T=0,$=p;T<$.length;T++){var x=$[T];F[x[0]]=x[1]}else{if(!(typeof Symbol<"u"&&p?.[Symbol.iterator]))throw new TypeError("Object.fromEntries() requires a single iterable argument");for(var U=p[Symbol.iterator](),ee=void 0;ee=(h=U.next()).value,!h.done;)F[ee[0]]=ee[1]}return F}function E(){var p=function(h){this.target=h};return p.prototype.deref=function(){return this.target},p.isFallback=!0,p}o.d(Q,{Ju:()=>E,R4:()=>c,UX:()=>g});var g=function(){return"function"==typeof WeakRef}},7624:(ie,Q,o)=>{"use strict";o.d(Q,{De:()=>w,pE:()=>p,sz:()=>_});var c=o(7582),_=function(){function te(U,ee,de,le){this.configJson=U,this.config=ee,this.timestamp=de,this.httpETag=le}return te.equals=function(U,ee){return U.httpETag&&ee.httpETag?U.httpETag===ee.httpETag:U.configJson===ee.configJson},te.prototype.with=function(U){return new te(this.configJson,this.config,U,this.httpETag)},Object.defineProperty(te.prototype,"isEmpty",{get:function(){return!this.config},enumerable:!1,configurable:!0}),te.prototype.isExpired=function(U){return this===te.empty||this.timestamp+U<te.generateTimestamp()},te.generateTimestamp=function(){return(new Date).getTime()},te.serialize=function(U){var ee,de;return U.timestamp+"\n"+(null!==(ee=U.httpETag)&&void 0!==ee?ee:"")+"\n"+(null!==(de=U.configJson)&&void 0!==de?de:"")},te.deserialize=function(U){for(var ee=Array(2),de=0,le=0;le<ee.length;le++){if((de=U.indexOf("\n",de))<0)throw new Error("Number of values is fewer than expected.");ee[le]=de++}var we=ee[0],Ne=U.substring(0,we),q=parseInt(Ne);if(isNaN(q))throw new Error("Invalid fetch time: "+Ne);var oe,fe,se=(Ne=U.substring(de=we+1,we=ee[1])).length>0?Ne:void 0;return(Ne=U.substring(de=we+1)).length>0&&(oe=w.deserialize(Ne),fe=Ne),new te(fe,oe,q,se)},te.serializationFormatVersion="v2",te.empty=new te(void 0,void 0,0,void 0),te}(),w=function(){function te(U){var de,le,ee=this;this.preferences=null!=U.p?new C(U.p):void 0,this.segments=null!==(le=null===(de=U.s)||void 0===de?void 0:de.map(function(we){return new E(we)}))&&void 0!==le?le:[],this.settings=null!=U.f?Object.fromEntries(Object.entries(U.f).map(function(we){return[we[0],new p(we[1],ee)]})):{}}return te.deserialize=function(U){var ee=JSON.parse(U);if("object"!=typeof ee||!ee)throw new Error("Invalid config JSON content:"+U);return new te(ee)},Object.defineProperty(te.prototype,"salt",{get:function(){var U;return null===(U=this.preferences)||void 0===U?void 0:U.salt},enumerable:!1,configurable:!0}),te}(),C=function te(U){this.baseUrl=U.u,this.redirectMode=U.r,this.salt=U.s},E=function te(U){var ee,de;this.name=U.n,this.conditions=null!==(de=null===(ee=U.r)||void 0===ee?void 0:ee.map(function(le){return new T(le)}))&&void 0!==de?de:[]},g=function te(U,ee){void 0===ee&&(ee=!1),this.value=ee?U.v:J(U.v),this.variationId=U.i},p=function(te){function U(ee,de){var le,we,Ne,q,se,oe,fe=te.call(this,ee,ee.t<0)||this;return fe.type=ee.t,fe.percentageOptionsAttribute=null!==(le=ee.a)&&void 0!==le?le:"Identifier",fe.targetingRules=null!==(Ne=null===(we=ee.r)||void 0===we?void 0:we.map(function(_e){return new h(_e,de)}))&&void 0!==Ne?Ne:[],fe.percentageOptions=null!==(se=null===(q=ee.p)||void 0===q?void 0:q.map(function(_e){return new F(_e)}))&&void 0!==se?se:[],fe.configJsonSalt=null!==(oe=de?.salt)&&void 0!==oe?oe:"",fe}return(0,c.ZT)(U,te),U.fromValue=function(ee){return new U({t:-1,v:ee})},U}(g),h=function te(U,ee){var de,le;this.conditions=null!==(le=null===(de=U.c)||void 0===de?void 0:de.map(function(we){return null!=we.u?new T(we.u):null!=we.p?new $(we.p):null!=we.s?new x(we.s,ee):void 0}))&&void 0!==le?le:[],this.then=null!=U.p?U.p.map(function(we){return new F(we)}):new g(U.s)},F=function(te){function U(ee){var de=te.call(this,ee)||this;return de.percentage=ee.p,de}return(0,c.ZT)(U,te),U}(g),T=function te(U){var ee,de;this.type="UserCondition",this.comparisonAttribute=U.a,this.comparator=U.c,this.comparisonValue=null!==(de=null!==(ee=U.s)&&void 0!==ee?ee:U.d)&&void 0!==de?de:U.l},$=function te(U){this.type="PrerequisiteFlagCondition",this.prerequisiteFlagKey=U.f,this.comparator=U.c,this.comparisonValue=J(U.v)},x=function te(U,ee){this.type="SegmentCondition",this.segment=ee.segments[U.s],this.comparator=U.c};function J(te){var U,ee,de;return null!==(de=null!==(ee=null!==(U=te.b)&&void 0!==U?U:te.s)&&void 0!==ee?ee:te.i)&&void 0!==de?de:te.d}},531:(ie,Q,o)=>{"use strict";function c(T,$){var x,J=new Promise(function(te){return x=setTimeout(te,T)});return $&&($.clearTimer=function(){return clearTimeout(x)}),J}function _(T,$){return void 0===$&&($=!1),T instanceof Error?$&&T.stack?T.stack:T.toString():T+""}function w(T){throw T}function C(T){return Array.isArray(T)}function E(T){return C(T)&&!T.some(function($){return"string"!=typeof $})}function g(T,$,x,J){void 0===$&&($=0),void 0===J&&(J=", ");var te=T.length;if(!te)return"";var U="";return $>0&&te>$&&(T=T.slice(0,$),x&&(U=x(te-$))),"'"+T.join("'"+J+"'")+"'"+U}function p(T){var $;return"function"==typeof(null===($=T)||void 0===$?void 0:$.then)}function h(T){function $(de,le){var we=de.charCodeAt(le);if(55296<=we&&we<56320){var Ne=de.charCodeAt(le+1);if(56320<=Ne&&Ne<=57343)return(we<<10)+Ne-56613888}return we}var U,x="",J=0,te=String.fromCharCode;for(U=0;U<T.length;U++){var ee=$(T,U);ee<=127||(x+=T.slice(J,U),ee<=2047?(x+=te(192|ee>>6),x+=te(128|63&ee)):ee<=65535?(x+=te(224|ee>>12),x+=te(128|ee>>6&63),x+=te(128|63&ee)):(x+=te(240|ee>>18),x+=te(128|ee>>12&63),x+=te(128|ee>>6&63),x+=te(128|63&ee),++U),J=U+1)}return x+T.slice(J,U)}function F(T){return"number"==typeof T?T:"string"!=typeof T||!T.length||/^\s*$|^\s*0[^\d.e]/.test(T)?NaN:+T}o.d(Q,{EJ:()=>F,GI:()=>E,Rn:()=>h,Sp:()=>g,VK:()=>_,_y:()=>w,gw:()=>c,kJ:()=>C,y8:()=>p})},3304:function(ie){ie.exports=function(){"use strict";var o=6e4,c=36e5,_="millisecond",w="second",C="minute",E="hour",g="day",p="week",h="month",F="quarter",T="year",$="date",x="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,te=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,U={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(re){var ne=["th","st","nd","rd"],ve=re%100;return"["+re+(ne[(ve-20)%10]||ne[ve]||ne[0])+"]"}},ee=function(re,ne,ve){var je=String(re);return!je||je.length>=ne?re:""+Array(ne+1-je.length).join(ve)+re},de={s:ee,z:function(re){var ne=-re.utcOffset(),ve=Math.abs(ne),je=Math.floor(ve/60),Ge=ve%60;return(ne<=0?"+":"-")+ee(je,2,"0")+":"+ee(Ge,2,"0")},m:function re(ne,ve){if(ne.date()<ve.date())return-re(ve,ne);var je=12*(ve.year()-ne.year())+(ve.month()-ne.month()),Ge=ne.clone().add(je,h),Le=ve-Ge<0,Se=ne.clone().add(je+(Le?-1:1),h);return+(-(je+(ve-Ge)/(Le?Ge-Se:Se-Ge))||0)},a:function(re){return re<0?Math.ceil(re)||0:Math.floor(re)},p:function(re){return{M:h,y:T,w:p,d:g,D:$,h:E,m:C,s:w,ms:_,Q:F}[re]||String(re||"").toLowerCase().replace(/s$/,"")},u:function(re){return void 0===re}},le="en",we={};we[le]=U;var Ne="$isDayjsObject",q=function(re){return re instanceof he||!(!re||!re[Ne])},se=function re(ne,ve,je){var Ge;if(!ne)return le;if("string"==typeof ne){var Le=ne.toLowerCase();we[Le]&&(Ge=Le),ve&&(we[Le]=ve,Ge=Le);var Se=ne.split("-");if(!Ge&&Se.length>1)return re(Se[0])}else{var ze=ne.name;we[ze]=ne,Ge=ze}return!je&&Ge&&(le=Ge),Ge||!je&&le},oe=function(re,ne){if(q(re))return re.clone();var ve="object"==typeof ne?ne:{};return ve.date=re,ve.args=arguments,new he(ve)},fe=de;fe.l=se,fe.i=q,fe.w=function(re,ne){return oe(re,{locale:ne.$L,utc:ne.$u,x:ne.$x,$offset:ne.$offset})};var he=function(){function re(ve){this.$L=se(ve.locale,null,!0),this.parse(ve),this.$x=this.$x||ve.x||{},this[Ne]=!0}var ne=re.prototype;return ne.parse=function(ve){this.$d=function(je){var Ge=je.date,Le=je.utc;if(null===Ge)return new Date(NaN);if(fe.u(Ge))return new Date;if(Ge instanceof Date)return new Date(Ge);if("string"==typeof Ge&&!/Z$/i.test(Ge)){var Se=Ge.match(J);if(Se){var ze=Se[2]-1||0,Ee=(Se[7]||"0").substring(0,3);return Le?new Date(Date.UTC(Se[1],ze,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Ee)):new Date(Se[1],ze,Se[3]||1,Se[4]||0,Se[5]||0,Se[6]||0,Ee)}}return new Date(Ge)}(ve),this.init()},ne.init=function(){var ve=this.$d;this.$y=ve.getFullYear(),this.$M=ve.getMonth(),this.$D=ve.getDate(),this.$W=ve.getDay(),this.$H=ve.getHours(),this.$m=ve.getMinutes(),this.$s=ve.getSeconds(),this.$ms=ve.getMilliseconds()},ne.$utils=function(){return fe},ne.isValid=function(){return this.$d.toString()!==x},ne.isSame=function(ve,je){var Ge=oe(ve);return this.startOf(je)<=Ge&&Ge<=this.endOf(je)},ne.isAfter=function(ve,je){return oe(ve)<this.startOf(je)},ne.isBefore=function(ve,je){return this.endOf(je)<oe(ve)},ne.$g=function(ve,je,Ge){return fe.u(ve)?this[je]:this.set(Ge,ve)},ne.unix=function(){return Math.floor(this.valueOf()/1e3)},ne.valueOf=function(){return this.$d.getTime()},ne.startOf=function(ve,je){var Ge=this,Le=!!fe.u(je)||je,Se=fe.p(ve),ze=function(dt,pt){var ln=fe.w(Ge.$u?Date.UTC(Ge.$y,pt,dt):new Date(Ge.$y,pt,dt),Ge);return Le?ln:ln.endOf(g)},Ee=function(dt,pt){return fe.w(Ge.toDate()[dt].apply(Ge.toDate("s"),(Le?[0,0,0,0]:[23,59,59,999]).slice(pt)),Ge)},be=this.$W,xe=this.$M,Ve=this.$D,Ue="set"+(this.$u?"UTC":"");switch(Se){case T:return Le?ze(1,0):ze(31,11);case h:return Le?ze(1,xe):ze(0,xe+1);case p:var st=this.$locale().weekStart||0,Xe=(be<st?be+7:be)-st;return ze(Le?Ve-Xe:Ve+(6-Xe),xe);case g:case $:return Ee(Ue+"Hours",0);case E:return Ee(Ue+"Minutes",1);case C:return Ee(Ue+"Seconds",2);case w:return Ee(Ue+"Milliseconds",3);default:return this.clone()}},ne.endOf=function(ve){return this.startOf(ve,!1)},ne.$set=function(ve,je){var Ge,Le=fe.p(ve),Se="set"+(this.$u?"UTC":""),ze=(Ge={},Ge[g]=Se+"Date",Ge[$]=Se+"Date",Ge[h]=Se+"Month",Ge[T]=Se+"FullYear",Ge[E]=Se+"Hours",Ge[C]=Se+"Minutes",Ge[w]=Se+"Seconds",Ge[_]=Se+"Milliseconds",Ge)[Le],Ee=Le===g?this.$D+(je-this.$W):je;if(Le===h||Le===T){var be=this.clone().set($,1);be.$d[ze](Ee),be.init(),this.$d=be.set($,Math.min(this.$D,be.daysInMonth())).$d}else ze&&this.$d[ze](Ee);return this.init(),this},ne.set=function(ve,je){return this.clone().$set(ve,je)},ne.get=function(ve){return this[fe.p(ve)]()},ne.add=function(ve,je){var Ge,Le=this;ve=Number(ve);var Se=fe.p(je),ze=function(xe){var Ve=oe(Le);return fe.w(Ve.date(Ve.date()+Math.round(xe*ve)),Le)};if(Se===h)return this.set(h,this.$M+ve);if(Se===T)return this.set(T,this.$y+ve);if(Se===g)return ze(1);if(Se===p)return ze(7);var Ee=(Ge={},Ge[C]=o,Ge[E]=c,Ge[w]=1e3,Ge)[Se]||1,be=this.$d.getTime()+ve*Ee;return fe.w(be,this)},ne.subtract=function(ve,je){return this.add(-1*ve,je)},ne.format=function(ve){var je=this,Ge=this.$locale();if(!this.isValid())return Ge.invalidDate||x;var Le=ve||"YYYY-MM-DDTHH:mm:ssZ",Se=fe.z(this),ze=this.$H,Ee=this.$m,be=this.$M,xe=Ge.weekdays,Ve=Ge.months,st=function(pt,ln,rn,bn){return pt&&(pt[ln]||pt(je,Le))||rn[ln].slice(0,bn)},Xe=function(pt){return fe.s(ze%12||12,pt,"0")},dt=Ge.meridiem||function(pt,ln,rn){var bn=pt<12?"AM":"PM";return rn?bn.toLowerCase():bn};return Le.replace(te,function(pt,ln){return ln||function(rn){switch(rn){case"YY":return String(je.$y).slice(-2);case"YYYY":return fe.s(je.$y,4,"0");case"M":return be+1;case"MM":return fe.s(be+1,2,"0");case"MMM":return st(Ge.monthsShort,be,Ve,3);case"MMMM":return st(Ve,be);case"D":return je.$D;case"DD":return fe.s(je.$D,2,"0");case"d":return String(je.$W);case"dd":return st(Ge.weekdaysMin,je.$W,xe,2);case"ddd":return st(Ge.weekdaysShort,je.$W,xe,3);case"dddd":return xe[je.$W];case"H":return String(ze);case"HH":return fe.s(ze,2,"0");case"h":return Xe(1);case"hh":return Xe(2);case"a":return dt(ze,Ee,!0);case"A":return dt(ze,Ee,!1);case"m":return String(Ee);case"mm":return fe.s(Ee,2,"0");case"s":return String(je.$s);case"ss":return fe.s(je.$s,2,"0");case"SSS":return fe.s(je.$ms,3,"0");case"Z":return Se}return null}(pt)||Se.replace(":","")})},ne.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ne.diff=function(ve,je,Ge){var Le,Se=this,ze=fe.p(je),Ee=oe(ve),be=(Ee.utcOffset()-this.utcOffset())*o,xe=this-Ee,Ve=function(){return fe.m(Se,Ee)};switch(ze){case T:Le=Ve()/12;break;case h:Le=Ve();break;case F:Le=Ve()/3;break;case p:Le=(xe-be)/6048e5;break;case g:Le=(xe-be)/864e5;break;case E:Le=xe/c;break;case C:Le=xe/o;break;case w:Le=xe/1e3;break;default:Le=xe}return Ge?Le:fe.a(Le)},ne.daysInMonth=function(){return this.endOf(h).$D},ne.$locale=function(){return we[this.$L]},ne.locale=function(ve,je){if(!ve)return this.$L;var Ge=this.clone(),Le=se(ve,je,!0);return Le&&(Ge.$L=Le),Ge},ne.clone=function(){return fe.w(this.$d,this)},ne.toDate=function(){return new Date(this.valueOf())},ne.toJSON=function(){return this.isValid()?this.toISOString():null},ne.toISOString=function(){return this.$d.toISOString()},ne.toString=function(){return this.$d.toUTCString()},re}(),_e=he.prototype;return oe.prototype=_e,[["$ms",_],["$s",w],["$m",C],["$H",E],["$W",g],["$M",h],["$y",T],["$D",$]].forEach(function(re){_e[re[1]]=function(ne){return this.$g(ne,re[0],re[1])}}),oe.extend=function(re,ne){return re.$i||(re(ne,he,oe),re.$i=!0),oe},oe.locale=se,oe.isDayjs=q,oe.unix=function(re){return oe(1e3*re)},oe.en=we[le],oe.Ls=we,oe.p={},oe}()},944:function(ie){ie.exports=function(){"use strict";var Q="minute",o=/[+-]\d\d(?::?\d\d)?/g,c=/([+-]|\d\d)/g;return function(_,w,C){var E=w.prototype;C.utc=function(x){return new w({date:x,utc:!0,args:arguments})},E.utc=function(x){var J=C(this.toDate(),{locale:this.$L,utc:!0});return x?J.add(this.utcOffset(),Q):J},E.local=function(){return C(this.toDate(),{locale:this.$L,utc:!1})};var g=E.parse;E.parse=function(x){x.utc&&(this.$u=!0),this.$utils().u(x.$offset)||(this.$offset=x.$offset),g.call(this,x)};var p=E.init;E.init=function(){if(this.$u){var x=this.$d;this.$y=x.getUTCFullYear(),this.$M=x.getUTCMonth(),this.$D=x.getUTCDate(),this.$W=x.getUTCDay(),this.$H=x.getUTCHours(),this.$m=x.getUTCMinutes(),this.$s=x.getUTCSeconds(),this.$ms=x.getUTCMilliseconds()}else p.call(this)};var h=E.utcOffset;E.utcOffset=function(x,J){var te=this.$utils().u;if(te(x))return this.$u?0:te(this.$offset)?h.call(this):this.$offset;if("string"==typeof x&&null===(x=function(le){void 0===le&&(le="");var we=le.match(o);if(!we)return null;var Ne=(""+we[0]).match(c)||["-",0,0],se=60*+Ne[1]+ +Ne[2];return 0===se?0:"+"===Ne[0]?se:-se}(x)))return this;var U=Math.abs(x)<=16?60*x:x,ee=this;if(J)return ee.$offset=U,ee.$u=0===x,ee;if(0!==x){var de=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(ee=this.local().add(U+de,Q)).$offset=U,ee.$x.$localOffset=de}else ee=this.utc();return ee};var F=E.format;E.format=function(x){return F.call(this,x||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},E.valueOf=function(){var x=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*x},E.isUTC=function(){return!!this.$u},E.toISOString=function(){return this.toDate().toISOString()},E.toString=function(){return this.toDate().toUTCString()};var T=E.toDate;E.toDate=function(x){return"s"===x&&this.$offset?C(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():T.call(this)};var $=E.diff;E.diff=function(x,J,te){if(x&&this.$u===x.$u)return $.call(this,x,J,te);var U=this.local(),ee=C(x).local();return $.call(U,ee,J,te)}}}()},7005:(ie,Q,o)=>{var c=function(){function g(p,h){for(var F=0;F<h.length;F++){var T=h[F];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}return function(p,h,F){return h&&g(p.prototype,h),F&&g(p,F),p}}(),w=o(2907),C={messenger:/\bFB[\w_]+\/(Messenger|MESSENGER)/,facebook:/\bFB[\w_]+\//,twitter:/\bTwitter/i,line:/\bLine\//i,wechat:/\bMicroMessenger\//i,puffin:/\bPuffin/i,miui:/\bMiuiBrowser\//i,instagram:/\bInstagram/i,chrome:/\bCrMo\b|CriOS|Android.*Chrome\/[.0-9]* (Mobile)?/,safari:/Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari/,ie:/IEMobile|MSIEMobile/,firefox:/fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS/},E=function(){function g(p){(function _(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")})(this,g),this.ua="",this.ua=p}return c(g,[{key:"browser",get:function(){var h=this;return w(C,function(F){return F.test(h.ua)})||"other"}},{key:"isMobile",get:function(){return/(iPad|iPhone|Android|Mobile)/i.test(this.ua)||!1}},{key:"isDesktop",get:function(){return!this.isMobile}},{key:"isInApp",get:function(){var F=new RegExp("("+["WebView","(iPhone|iPod|iPad)(?!.*Safari/)","Android.*(wv|.0.0.0)"].join("|")+")","ig");return!!this.ua.match(F)}}]),g}();ie.exports=E},6506:(ie,Q,o)=>{var w=o(8745)(o(8492),"DataView");ie.exports=w},9618:(ie,Q,o)=>{var c=o(5602),_=o(1499),w=o(2990),C=o(480),E=o(4469);function g(p){var h=-1,F=null==p?0:p.length;for(this.clear();++h<F;){var T=p[h];this.set(T[0],T[1])}}g.prototype.clear=c,g.prototype.delete=_,g.prototype.get=w,g.prototype.has=C,g.prototype.set=E,ie.exports=g},3597:(ie,Q,o)=>{var c=o(9365),_=o(9343),w=o(4779),C=o(1509),E=o(7137);function g(p){var h=-1,F=null==p?0:p.length;for(this.clear();++h<F;){var T=p[h];this.set(T[0],T[1])}}g.prototype.clear=c,g.prototype.delete=_,g.prototype.get=w,g.prototype.has=C,g.prototype.set=E,ie.exports=g},1136:(ie,Q,o)=>{var w=o(8745)(o(8492),"Map");ie.exports=w},1811:(ie,Q,o)=>{var c=o(3413),_=o(5419),w=o(7253),C=o(1115),E=o(6648);function g(p){var h=-1,F=null==p?0:p.length;for(this.clear();++h<F;){var T=p[h];this.set(T[0],T[1])}}g.prototype.clear=c,g.prototype.delete=_,g.prototype.get=w,g.prototype.has=C,g.prototype.set=E,ie.exports=g},641:(ie,Q,o)=>{var w=o(8745)(o(8492),"Promise");ie.exports=w},1732:(ie,Q,o)=>{var w=o(8745)(o(8492),"Set");ie.exports=w},5960:(ie,Q,o)=>{var c=o(1811),_=o(6151),w=o(2154);function C(E){var g=-1,p=null==E?0:E.length;for(this.__data__=new c;++g<p;)this.add(E[g])}C.prototype.add=C.prototype.push=_,C.prototype.has=w,ie.exports=C},1339:(ie,Q,o)=>{var c=o(3597),_=o(9488),w=o(5943),C=o(5456),E=o(4793),g=o(8689);function p(h){var F=this.__data__=new c(h);this.size=F.size}p.prototype.clear=_,p.prototype.delete=w,p.prototype.get=C,p.prototype.has=E,p.prototype.set=g,ie.exports=p},1763:(ie,Q,o)=>{var c=o(8492);ie.exports=c.Symbol},2760:(ie,Q,o)=>{var c=o(8492);ie.exports=c.Uint8Array},6413:(ie,Q,o)=>{var w=o(8745)(o(8492),"WeakMap");ie.exports=w},2134:ie=>{ie.exports=function Q(o,c){for(var _=-1,w=null==o?0:o.length,C=0,E=[];++_<w;){var g=o[_];c(g,_,o)&&(E[C++]=g)}return E}},1384:(ie,Q,o)=>{var c=o(5025),_=o(1955),w=o(2261),C=o(7525),E=o(5188),g=o(4868),h=Object.prototype.hasOwnProperty;ie.exports=function F(T,$){var x=w(T),J=!x&&_(T),te=!x&&!J&&C(T),U=!x&&!J&&!te&&g(T),ee=x||J||te||U,de=ee?c(T.length,String):[],le=de.length;for(var we in T)($||h.call(T,we))&&(!ee||!("length"==we||te&&("offset"==we||"parent"==we)||U&&("buffer"==we||"byteLength"==we||"byteOffset"==we)||E(we,le)))&&de.push(we);return de}},3880:ie=>{ie.exports=function Q(o,c){for(var _=-1,w=null==o?0:o.length,C=Array(w);++_<w;)C[_]=c(o[_],_,o);return C}},7853:ie=>{ie.exports=function Q(o,c){for(var _=-1,w=c.length,C=o.length;++_<w;)o[C+_]=c[_];return o}},5916:ie=>{ie.exports=function Q(o,c){for(var _=-1,w=null==o?0:o.length;++_<w;)if(c(o[_],_,o))return!0;return!1}},9553:(ie,Q,o)=>{var c=o(1741),_=o(7826),C=Object.prototype.hasOwnProperty;ie.exports=function E(g,p,h){var F=g[p];(!C.call(g,p)||!_(F,h)||void 0===h&&!(p in g))&&c(g,p,h)}},4056:(ie,Q,o)=>{var c=o(7826);ie.exports=function _(w,C){for(var E=w.length;E--;)if(c(w[E][0],C))return E;return-1}},1741:(ie,Q,o)=>{var c=o(9383);ie.exports=function _(w,C,E){"__proto__"==C&&c?c(w,C,{configurable:!0,enumerable:!0,value:E,writable:!0}):w[C]=E}},7351:ie=>{ie.exports=function Q(o,c,_){var w;return _(o,function(C,E,g){if(c(C,E,g))return w=E,!1}),w}},6483:(ie,Q,o)=>{var _=o(2086)();ie.exports=_},7794:(ie,Q,o)=>{var c=o(6483),_=o(4614);ie.exports=function w(C,E){return C&&c(C,E,_)}},2202:(ie,Q,o)=>{var c=o(4826),_=o(8916);ie.exports=function w(C,E){for(var g=0,p=(E=c(E,C)).length;null!=C&&g<p;)C=C[_(E[g++])];return g&&g==p?C:void 0}},7427:(ie,Q,o)=>{var c=o(7853),_=o(2261);ie.exports=function w(C,E,g){var p=E(C);return _(C)?p:c(p,g(C))}},4590:(ie,Q,o)=>{var c=o(1763),_=o(5933),w=o(9243),g=c?c.toStringTag:void 0;ie.exports=function p(h){return null==h?void 0===h?"[object Undefined]":"[object Null]":g&&g in Object(h)?_(h):w(h)}},3274:ie=>{ie.exports=function Q(o,c){return null!=o&&c in Object(o)}},3022:(ie,Q,o)=>{var c=o(4590),_=o(3714);ie.exports=function C(E){return _(E)&&"[object Arguments]"==c(E)}},7108:(ie,Q,o)=>{var c=o(7946),_=o(3714);ie.exports=function w(C,E,g,p,h){return C===E||(null==C||null==E||!_(C)&&!_(E)?C!=C&&E!=E:c(C,E,g,p,w,h))}},7946:(ie,Q,o)=>{var c=o(1339),_=o(7469),w=o(1642),C=o(9462),E=o(2472),g=o(2261),p=o(7525),h=o(4868),T="[object Arguments]",$="[object Array]",x="[object Object]",te=Object.prototype.hasOwnProperty;ie.exports=function U(ee,de,le,we,Ne,q){var se=g(ee),oe=g(de),fe=se?$:E(ee),he=oe?$:E(de),_e=(fe=fe==T?x:fe)==x,re=(he=he==T?x:he)==x,ne=fe==he;if(ne&&p(ee)){if(!p(de))return!1;se=!0,_e=!1}if(ne&&!_e)return q||(q=new c),se||h(ee)?_(ee,de,le,we,Ne,q):w(ee,de,fe,le,we,Ne,q);if(!(1&le)){var ve=_e&&te.call(ee,"__wrapped__"),je=re&&te.call(de,"__wrapped__");if(ve||je){var Ge=ve?ee.value():ee,Le=je?de.value():de;return q||(q=new c),Ne(Ge,Le,le,we,q)}}return!!ne&&(q||(q=new c),C(ee,de,le,we,Ne,q))}},2527:(ie,Q,o)=>{var c=o(1339),_=o(7108);ie.exports=function E(g,p,h,F){var T=h.length,$=T,x=!F;if(null==g)return!$;for(g=Object(g);T--;){var J=h[T];if(x&&J[2]?J[1]!==g[J[0]]:!(J[0]in g))return!1}for(;++T<$;){var te=(J=h[T])[0],U=g[te],ee=J[1];if(x&&J[2]){if(void 0===U&&!(te in g))return!1}else{var de=new c;if(F)var le=F(U,ee,te,g,p,de);if(!(void 0===le?_(ee,U,3,F,de):le))return!1}}return!0}},1082:(ie,Q,o)=>{var c=o(6861),_=o(9950),w=o(9794),C=o(7075),g=/^\[object .+?Constructor\]$/,$=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");ie.exports=function x(J){return!(!w(J)||_(J))&&(c(J)?$:g).test(C(J))}},8902:(ie,Q,o)=>{var c=o(4590),_=o(7765),w=o(3714),ne={};ne["[object Float32Array]"]=ne["[object Float64Array]"]=ne["[object Int8Array]"]=ne["[object Int16Array]"]=ne["[object Int32Array]"]=ne["[object Uint8Array]"]=ne["[object Uint8ClampedArray]"]=ne["[object Uint16Array]"]=ne["[object Uint32Array]"]=!0,ne["[object Arguments]"]=ne["[object Array]"]=ne["[object ArrayBuffer]"]=ne["[object Boolean]"]=ne["[object DataView]"]=ne["[object Date]"]=ne["[object Error]"]=ne["[object Function]"]=ne["[object Map]"]=ne["[object Number]"]=ne["[object Object]"]=ne["[object RegExp]"]=ne["[object Set]"]=ne["[object String]"]=ne["[object WeakMap]"]=!1,ie.exports=function ve(je){return w(je)&&_(je.length)&&!!ne[c(je)]}},1627:(ie,Q,o)=>{var c=o(2924),_=o(8526),w=o(5657),C=o(2261),E=o(2692);ie.exports=function g(p){return"function"==typeof p?p:null==p?w:"object"==typeof p?C(p)?_(p[0],p[1]):c(p):E(p)}},190:(ie,Q,o)=>{var c=o(6587),_=o(366),C=Object.prototype.hasOwnProperty;ie.exports=function E(g){if(!c(g))return _(g);var p=[];for(var h in Object(g))C.call(g,h)&&"constructor"!=h&&p.push(h);return p}},2924:(ie,Q,o)=>{var c=o(2527),_=o(7895),w=o(2265);ie.exports=function C(E){var g=_(E);return 1==g.length&&g[0][2]?w(g[0][0],g[0][1]):function(p){return p===E||c(p,E,g)}}},8526:(ie,Q,o)=>{var c=o(7108),_=o(5440),w=o(2494),C=o(6300),E=o(3921),g=o(2265),p=o(8916);ie.exports=function T($,x){return C($)&&E(x)?g(p($),x):function(J){var te=_(J,$);return void 0===te&&te===x?w(J,$):c(x,te,3)}}},3400:ie=>{ie.exports=function Q(o){return function(c){return c?.[o]}}},6443:(ie,Q,o)=>{var c=o(2202);ie.exports=function _(w){return function(C){return c(C,w)}}},9478:(ie,Q,o)=>{var c=o(9553),_=o(4826),w=o(5188),C=o(9794),E=o(8916);ie.exports=function g(p,h,F,T){if(!C(p))return p;for(var $=-1,x=(h=_(h,p)).length,J=x-1,te=p;null!=te&&++$<x;){var U=E(h[$]),ee=F;if("__proto__"===U||"constructor"===U||"prototype"===U)return p;if($!=J){var de=te[U];void 0===(ee=T?T(de,U,te):void 0)&&(ee=C(de)?de:w(h[$+1])?[]:{})}c(te,U,ee),te=te[U]}return p}},5025:ie=>{ie.exports=function Q(o,c){for(var _=-1,w=Array(o);++_<o;)w[_]=c(_);return w}},7002:(ie,Q,o)=>{var c=o(1763),_=o(3880),w=o(2261),C=o(3423),g=c?c.prototype:void 0,p=g?g.toString:void 0;ie.exports=function h(F){if("string"==typeof F)return F;if(w(F))return _(F,h)+"";if(C(F))return p?p.call(F):"";var T=F+"";return"0"==T&&1/F==-1/0?"-0":T}},5249:ie=>{ie.exports=function Q(o){return function(c){return o(c)}}},4795:ie=>{ie.exports=function Q(o,c){return o.has(c)}},4826:(ie,Q,o)=>{var c=o(2261),_=o(6300),w=o(163),C=o(2674);ie.exports=function E(g,p){return c(g)?g:_(g,p)?[g]:w(C(g))}},6189:(ie,Q,o)=>{var c=o(8492);ie.exports=c["__core-js_shared__"]},2086:ie=>{ie.exports=function Q(o){return function(c,_,w){for(var C=-1,E=Object(c),g=w(c),p=g.length;p--;){var h=g[o?p:++C];if(!1===_(E[h],h,E))break}return c}}},9383:(ie,Q,o)=>{var c=o(8745),_=function(){try{var w=c(Object,"defineProperty");return w({},"",{}),w}catch{}}();ie.exports=_},7469:(ie,Q,o)=>{var c=o(5960),_=o(5916),w=o(4795);ie.exports=function g(p,h,F,T,$,x){var J=1&F,te=p.length,U=h.length;if(te!=U&&!(J&&U>te))return!1;var ee=x.get(p),de=x.get(h);if(ee&&de)return ee==h&&de==p;var le=-1,we=!0,Ne=2&F?new c:void 0;for(x.set(p,h),x.set(h,p);++le<te;){var q=p[le],se=h[le];if(T)var oe=J?T(se,q,le,h,p,x):T(q,se,le,p,h,x);if(void 0!==oe){if(oe)continue;we=!1;break}if(Ne){if(!_(h,function(fe,he){if(!w(Ne,he)&&(q===fe||$(q,fe,F,T,x)))return Ne.push(he)})){we=!1;break}}else if(q!==se&&!$(q,se,F,T,x)){we=!1;break}}return x.delete(p),x.delete(h),we}},1642:(ie,Q,o)=>{var c=o(1763),_=o(2760),w=o(7826),C=o(7469),E=o(1575),g=o(8e3),Ne=c?c.prototype:void 0,q=Ne?Ne.valueOf:void 0;ie.exports=function se(oe,fe,he,_e,re,ne,ve){switch(he){case"[object DataView]":if(oe.byteLength!=fe.byteLength||oe.byteOffset!=fe.byteOffset)return!1;oe=oe.buffer,fe=fe.buffer;case"[object ArrayBuffer]":return!(oe.byteLength!=fe.byteLength||!ne(new _(oe),new _(fe)));case"[object Boolean]":case"[object Date]":case"[object Number]":return w(+oe,+fe);case"[object Error]":return oe.name==fe.name&&oe.message==fe.message;case"[object RegExp]":case"[object String]":return oe==fe+"";case"[object Map]":var je=E;case"[object Set]":if(je||(je=g),oe.size!=fe.size&&!(1&_e))return!1;var Le=ve.get(oe);if(Le)return Le==fe;_e|=2,ve.set(oe,fe);var Se=C(je(oe),je(fe),_e,re,ne,ve);return ve.delete(oe),Se;case"[object Symbol]":if(q)return q.call(oe)==q.call(fe)}return!1}},9462:(ie,Q,o)=>{var c=o(6131),C=Object.prototype.hasOwnProperty;ie.exports=function E(g,p,h,F,T,$){var x=1&h,J=c(g),te=J.length;if(te!=c(p).length&&!x)return!1;for(var de=te;de--;){var le=J[de];if(!(x?le in p:C.call(p,le)))return!1}var we=$.get(g),Ne=$.get(p);if(we&&Ne)return we==p&&Ne==g;var q=!0;$.set(g,p),$.set(p,g);for(var se=x;++de<te;){var oe=g[le=J[de]],fe=p[le];if(F)var he=x?F(fe,oe,le,p,g,$):F(oe,fe,le,g,p,$);if(!(void 0===he?oe===fe||T(oe,fe,h,F,$):he)){q=!1;break}se||(se="constructor"==le)}if(q&&!se){var _e=g.constructor,re=p.constructor;_e!=re&&"constructor"in g&&"constructor"in p&&!("function"==typeof _e&&_e instanceof _e&&"function"==typeof re&&re instanceof re)&&(q=!1)}return $.delete(g),$.delete(p),q}},248:ie=>{var Q="object"==typeof global&&global&&global.Object===Object&&global;ie.exports=Q},6131:(ie,Q,o)=>{var c=o(7427),_=o(771),w=o(4614);ie.exports=function C(E){return c(E,w,_)}},4113:(ie,Q,o)=>{var c=o(29);ie.exports=function _(w,C){var E=w.__data__;return c(C)?E["string"==typeof C?"string":"hash"]:E.map}},7895:(ie,Q,o)=>{var c=o(3921),_=o(4614);ie.exports=function w(C){for(var E=_(C),g=E.length;g--;){var p=E[g],h=C[p];E[g]=[p,h,c(h)]}return E}},8745:(ie,Q,o)=>{var c=o(1082),_=o(1015);ie.exports=function w(C,E){var g=_(C,E);return c(g)?g:void 0}},5933:(ie,Q,o)=>{var c=o(1763),_=Object.prototype,w=_.hasOwnProperty,C=_.toString,E=c?c.toStringTag:void 0;ie.exports=function g(p){var h=w.call(p,E),F=p[E];try{p[E]=void 0;var T=!0}catch{}var $=C.call(p);return T&&(h?p[E]=F:delete p[E]),$}},771:(ie,Q,o)=>{var c=o(2134),_=o(1315),C=Object.prototype.propertyIsEnumerable,E=Object.getOwnPropertySymbols;ie.exports=E?function(p){return null==p?[]:(p=Object(p),c(E(p),function(h){return C.call(p,h)}))}:_},2472:(ie,Q,o)=>{var c=o(6506),_=o(1136),w=o(641),C=o(1732),E=o(6413),g=o(4590),p=o(7075),h="[object Map]",T="[object Promise]",$="[object Set]",x="[object WeakMap]",J="[object DataView]",te=p(c),U=p(_),ee=p(w),de=p(C),le=p(E),we=g;(c&&we(new c(new ArrayBuffer(1)))!=J||_&&we(new _)!=h||w&&we(w.resolve())!=T||C&&we(new C)!=$||E&&we(new E)!=x)&&(we=function(Ne){var q=g(Ne),se="[object Object]"==q?Ne.constructor:void 0,oe=se?p(se):"";if(oe)switch(oe){case te:return J;case U:return h;case ee:return T;case de:return $;case le:return x}return q}),ie.exports=we},1015:ie=>{ie.exports=function Q(o,c){return o?.[c]}},4583:(ie,Q,o)=>{var c=o(4826),_=o(1955),w=o(2261),C=o(5188),E=o(7765),g=o(8916);ie.exports=function p(h,F,T){for(var $=-1,x=(F=c(F,h)).length,J=!1;++$<x;){var te=g(F[$]);if(!(J=null!=h&&T(h,te)))break;h=h[te]}return J||++$!=x?J:!!(x=null==h?0:h.length)&&E(x)&&C(te,x)&&(w(h)||_(h))}},5602:(ie,Q,o)=>{var c=o(893);ie.exports=function _(){this.__data__=c?c(null):{},this.size=0}},1499:ie=>{ie.exports=function Q(o){var c=this.has(o)&&delete this.__data__[o];return this.size-=c?1:0,c}},2990:(ie,Q,o)=>{var c=o(893),C=Object.prototype.hasOwnProperty;ie.exports=function E(g){var p=this.__data__;if(c){var h=p[g];return"__lodash_hash_undefined__"===h?void 0:h}return C.call(p,g)?p[g]:void 0}},480:(ie,Q,o)=>{var c=o(893),w=Object.prototype.hasOwnProperty;ie.exports=function C(E){var g=this.__data__;return c?void 0!==g[E]:w.call(g,E)}},4469:(ie,Q,o)=>{var c=o(893);ie.exports=function w(C,E){var g=this.__data__;return this.size+=this.has(C)?0:1,g[C]=c&&void 0===E?"__lodash_hash_undefined__":E,this}},5188:ie=>{var o=/^(?:0|[1-9]\d*)$/;ie.exports=function c(_,w){var C=typeof _;return!!(w=w??9007199254740991)&&("number"==C||"symbol"!=C&&o.test(_))&&_>-1&&_%1==0&&_<w}},6300:(ie,Q,o)=>{var c=o(2261),_=o(3423),w=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,C=/^\w*$/;ie.exports=function E(g,p){if(c(g))return!1;var h=typeof g;return!("number"!=h&&"symbol"!=h&&"boolean"!=h&&null!=g&&!_(g))||C.test(g)||!w.test(g)||null!=p&&g in Object(p)}},29:ie=>{ie.exports=function Q(o){var c=typeof o;return"string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==o:null===o}},9950:(ie,Q,o)=>{var C,c=o(6189),_=(C=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+C:"";ie.exports=function w(C){return!!_&&_ in C}},6587:ie=>{var Q=Object.prototype;ie.exports=function o(c){var _=c&&c.constructor;return c===("function"==typeof _&&_.prototype||Q)}},3921:(ie,Q,o)=>{var c=o(9794);ie.exports=function _(w){return w==w&&!c(w)}},9365:ie=>{ie.exports=function Q(){this.__data__=[],this.size=0}},9343:(ie,Q,o)=>{var c=o(4056),w=Array.prototype.splice;ie.exports=function C(E){var g=this.__data__,p=c(g,E);return!(p<0||(p==g.length-1?g.pop():w.call(g,p,1),--this.size,0))}},4779:(ie,Q,o)=>{var c=o(4056);ie.exports=function _(w){var C=this.__data__,E=c(C,w);return E<0?void 0:C[E][1]}},1509:(ie,Q,o)=>{var c=o(4056);ie.exports=function _(w){return c(this.__data__,w)>-1}},7137:(ie,Q,o)=>{var c=o(4056);ie.exports=function _(w,C){var E=this.__data__,g=c(E,w);return g<0?(++this.size,E.push([w,C])):E[g][1]=C,this}},3413:(ie,Q,o)=>{var c=o(9618),_=o(3597),w=o(1136);ie.exports=function C(){this.size=0,this.__data__={hash:new c,map:new(w||_),string:new c}}},5419:(ie,Q,o)=>{var c=o(4113);ie.exports=function _(w){var C=c(this,w).delete(w);return this.size-=C?1:0,C}},7253:(ie,Q,o)=>{var c=o(4113);ie.exports=function _(w){return c(this,w).get(w)}},1115:(ie,Q,o)=>{var c=o(4113);ie.exports=function _(w){return c(this,w).has(w)}},6648:(ie,Q,o)=>{var c=o(4113);ie.exports=function _(w,C){var E=c(this,w),g=E.size;return E.set(w,C),this.size+=E.size==g?0:1,this}},1575:ie=>{ie.exports=function Q(o){var c=-1,_=Array(o.size);return o.forEach(function(w,C){_[++c]=[C,w]}),_}},2265:ie=>{ie.exports=function Q(o,c){return function(_){return null!=_&&_[o]===c&&(void 0!==c||o in Object(_))}}},7371:(ie,Q,o)=>{var c=o(7659);ie.exports=function w(C){var E=c(C,function(p){return 500===g.size&&g.clear(),p}),g=E.cache;return E}},893:(ie,Q,o)=>{var _=o(8745)(Object,"create");ie.exports=_},366:(ie,Q,o)=>{var _=o(3106)(Object.keys,Object);ie.exports=_},8849:(ie,Q,o)=>{ie=o.nmd(ie);var c=o(248),_=Q&&!Q.nodeType&&Q,w=_&&ie&&!ie.nodeType&&ie,E=w&&w.exports===_&&c.process,g=function(){try{return w&&w.require&&w.require("util").types||E&&E.binding&&E.binding("util")}catch{}}();ie.exports=g},9243:ie=>{var o=Object.prototype.toString;ie.exports=function c(_){return o.call(_)}},3106:ie=>{ie.exports=function Q(o,c){return function(_){return o(c(_))}}},8492:(ie,Q,o)=>{var c=o(248),_="object"==typeof self&&self&&self.Object===Object&&self,w=c||_||Function("return this")();ie.exports=w},6151:ie=>{ie.exports=function o(c){return this.__data__.set(c,"__lodash_hash_undefined__"),this}},2154:ie=>{ie.exports=function Q(o){return this.__data__.has(o)}},8e3:ie=>{ie.exports=function Q(o){var c=-1,_=Array(o.size);return o.forEach(function(w){_[++c]=w}),_}},9488:(ie,Q,o)=>{var c=o(3597);ie.exports=function _(){this.__data__=new c,this.size=0}},5943:ie=>{ie.exports=function Q(o){var c=this.__data__,_=c.delete(o);return this.size=c.size,_}},5456:ie=>{ie.exports=function Q(o){return this.__data__.get(o)}},4793:ie=>{ie.exports=function Q(o){return this.__data__.has(o)}},8689:(ie,Q,o)=>{var c=o(3597),_=o(1136),w=o(1811);ie.exports=function E(g,p){var h=this.__data__;if(h instanceof c){var F=h.__data__;if(!_||F.length<199)return F.push([g,p]),this.size=++h.size,this;h=this.__data__=new w(F)}return h.set(g,p),this.size=h.size,this}},163:(ie,Q,o)=>{var c=o(7371),_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,w=/\\(\\)?/g,C=c(function(E){var g=[];return 46===E.charCodeAt(0)&&g.push(""),E.replace(_,function(p,h,F,T){g.push(F?T.replace(w,"$1"):h||p)}),g});ie.exports=C},8916:(ie,Q,o)=>{var c=o(3423);ie.exports=function w(C){if("string"==typeof C||c(C))return C;var E=C+"";return"0"==E&&1/C==-1/0?"-0":E}},7075:ie=>{var o=Function.prototype.toString;ie.exports=function c(_){if(null!=_){try{return o.call(_)}catch{}try{return _+""}catch{}}return""}},7826:ie=>{ie.exports=function Q(o,c){return o===c||o!=o&&c!=c}},2907:(ie,Q,o)=>{var c=o(7351),_=o(7794),w=o(1627);ie.exports=function C(E,g){return c(E,w(g,3),_)}},5440:(ie,Q,o)=>{var c=o(2202);ie.exports=function _(w,C,E){var g=null==w?void 0:c(w,C);return void 0===g?E:g}},2494:(ie,Q,o)=>{var c=o(3274),_=o(4583);ie.exports=function w(C,E){return null!=C&&_(C,E,c)}},5657:ie=>{ie.exports=function Q(o){return o}},1955:(ie,Q,o)=>{var c=o(3022),_=o(3714),w=Object.prototype,C=w.hasOwnProperty,E=w.propertyIsEnumerable,g=c(function(){return arguments}())?c:function(p){return _(p)&&C.call(p,"callee")&&!E.call(p,"callee")};ie.exports=g},2261:ie=>{ie.exports=Array.isArray},2447:(ie,Q,o)=>{var c=o(6861),_=o(7765);ie.exports=function w(C){return null!=C&&_(C.length)&&!c(C)}},8959:(ie,Q,o)=>{var c=o(4590),_=o(3714);ie.exports=function C(E){return!0===E||!1===E||_(E)&&"[object Boolean]"==c(E)}},7525:(ie,Q,o)=>{ie=o.nmd(ie);var c=o(8492),_=o(5706),w=Q&&!Q.nodeType&&Q,C=w&&ie&&!ie.nodeType&&ie,g=C&&C.exports===w?c.Buffer:void 0;ie.exports=(g?g.isBuffer:void 0)||_},6861:(ie,Q,o)=>{var c=o(4590),_=o(9794);ie.exports=function p(h){if(!_(h))return!1;var F=c(h);return"[object Function]"==F||"[object GeneratorFunction]"==F||"[object AsyncFunction]"==F||"[object Proxy]"==F}},7765:ie=>{ie.exports=function o(c){return"number"==typeof c&&c>-1&&c%1==0&&c<=9007199254740991}},3018:ie=>{ie.exports=function Q(o){return null==o}},9794:ie=>{ie.exports=function Q(o){var c=typeof o;return null!=o&&("object"==c||"function"==c)}},3714:ie=>{ie.exports=function Q(o){return null!=o&&"object"==typeof o}},3423:(ie,Q,o)=>{var c=o(4590),_=o(3714);ie.exports=function C(E){return"symbol"==typeof E||_(E)&&"[object Symbol]"==c(E)}},4868:(ie,Q,o)=>{var c=o(8902),_=o(5249),w=o(8849),C=w&&w.isTypedArray,E=C?_(C):c;ie.exports=E},4614:(ie,Q,o)=>{var c=o(1384),_=o(190),w=o(2447);ie.exports=function C(E){return w(E)?c(E):_(E)}},7659:(ie,Q,o)=>{var c=o(1811);function w(C,E){if("function"!=typeof C||null!=E&&"function"!=typeof E)throw new TypeError("Expected a function");var g=function(){var p=arguments,h=E?E.apply(this,p):p[0],F=g.cache;if(F.has(h))return F.get(h);var T=C.apply(this,p);return g.cache=F.set(h,T)||F,T};return g.cache=new(w.Cache||c),g}w.Cache=c,ie.exports=w},2692:(ie,Q,o)=>{var c=o(3400),_=o(6443),w=o(6300),C=o(8916);ie.exports=function E(g){return w(g)?c(C(g)):_(g)}},7939:(ie,Q,o)=>{var c=o(9478);ie.exports=function _(w,C,E){return null==w?w:c(w,C,E)}},1315:ie=>{ie.exports=function Q(){return[]}},5706:ie=>{ie.exports=function Q(){return!1}},2674:(ie,Q,o)=>{var c=o(7002);ie.exports=function _(w){return null==w?"":c(w)}},5619:(ie,Q,o)=>{"use strict";o.d(Q,{X:()=>_});var c=o(8645);class _ extends c.x{constructor(C){super(),this._value=C}get value(){return this.getValue()}_subscribe(C){const E=super._subscribe(C);return!E.closed&&C.next(this._value),E}getValue(){const{hasError:C,thrownError:E,_value:g}=this;if(C)throw E;return this._throwIfClosed(),g}next(C){super.next(this._value=C)}}},5592:(ie,Q,o)=>{"use strict";o.d(Q,{y:()=>h});var c=o(305),_=o(7394),w=o(4850),C=o(8407),E=o(2653),g=o(4674),p=o(1441);let h=(()=>{class x{constructor(te){te&&(this._subscribe=te)}lift(te){const U=new x;return U.source=this,U.operator=te,U}subscribe(te,U,ee){const de=function $(x){return x&&x instanceof c.Lv||function T(x){return x&&(0,g.m)(x.next)&&(0,g.m)(x.error)&&(0,g.m)(x.complete)}(x)&&(0,_.Nn)(x)}(te)?te:new c.Hp(te,U,ee);return(0,p.x)(()=>{const{operator:le,source:we}=this;de.add(le?le.call(de,we):we?this._subscribe(de):this._trySubscribe(de))}),de}_trySubscribe(te){try{return this._subscribe(te)}catch(U){te.error(U)}}forEach(te,U){return new(U=F(U))((ee,de)=>{const le=new c.Hp({next:we=>{try{te(we)}catch(Ne){de(Ne),le.unsubscribe()}},error:de,complete:ee});this.subscribe(le)})}_subscribe(te){var U;return null===(U=this.source)||void 0===U?void 0:U.subscribe(te)}[w.L](){return this}pipe(...te){return(0,C.U)(te)(this)}toPromise(te){return new(te=F(te))((U,ee)=>{let de;this.subscribe(le=>de=le,le=>ee(le),()=>U(de))})}}return x.create=J=>new x(J),x})();function F(x){var J;return null!==(J=x??E.config.Promise)&&void 0!==J?J:Promise}},7328:(ie,Q,o)=>{"use strict";o.d(Q,{t:()=>w});var c=o(8645),_=o(4552);class w extends c.x{constructor(E=1/0,g=1/0,p=_.l){super(),this._bufferSize=E,this._windowTime=g,this._timestampProvider=p,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=g===1/0,this._bufferSize=Math.max(1,E),this._windowTime=Math.max(1,g)}next(E){const{isStopped:g,_buffer:p,_infiniteTimeWindow:h,_timestampProvider:F,_windowTime:T}=this;g||(p.push(E),!h&&p.push(F.now()+T)),this._trimBuffer(),super.next(E)}_subscribe(E){this._throwIfClosed(),this._trimBuffer();const g=this._innerSubscribe(E),{_infiniteTimeWindow:p,_buffer:h}=this,F=h.slice();for(let T=0;T<F.length&&!E.closed;T+=p?1:2)E.next(F[T]);return this._checkFinalizedStatuses(E),g}_trimBuffer(){const{_bufferSize:E,_timestampProvider:g,_buffer:p,_infiniteTimeWindow:h}=this,F=(h?1:2)*E;if(E<1/0&&F<p.length&&p.splice(0,p.length-F),!h){const T=g.now();let $=0;for(let x=1;x<p.length&&p[x]<=T;x+=2)$=x;$&&p.splice(0,$+1)}}}},8645:(ie,Q,o)=>{"use strict";o.d(Q,{x:()=>p});var c=o(5592),_=o(7394);const C=(0,o(2306).d)(F=>function(){F(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var E=o(9039),g=o(1441);let p=(()=>{class F extends c.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift($){const x=new h(this,this);return x.operator=$,x}_throwIfClosed(){if(this.closed)throw new C}next($){(0,g.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const x of this.currentObservers)x.next($)}})}error($){(0,g.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=$;const{observers:x}=this;for(;x.length;)x.shift().error($)}})}complete(){(0,g.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:$}=this;for(;$.length;)$.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var $;return(null===($=this.observers)||void 0===$?void 0:$.length)>0}_trySubscribe($){return this._throwIfClosed(),super._trySubscribe($)}_subscribe($){return this._throwIfClosed(),this._checkFinalizedStatuses($),this._innerSubscribe($)}_innerSubscribe($){const{hasError:x,isStopped:J,observers:te}=this;return x||J?_.Lc:(this.currentObservers=null,te.push($),new _.w0(()=>{this.currentObservers=null,(0,E.P)(te,$)}))}_checkFinalizedStatuses($){const{hasError:x,thrownError:J,isStopped:te}=this;x?$.error(J):te&&$.complete()}asObservable(){const $=new c.y;return $.source=this,$}}return F.create=(T,$)=>new h(T,$),F})();class h extends p{constructor(T,$){super(),this.destination=T,this.source=$}next(T){var $,x;null===(x=null===($=this.destination)||void 0===$?void 0:$.next)||void 0===x||x.call($,T)}error(T){var $,x;null===(x=null===($=this.destination)||void 0===$?void 0:$.error)||void 0===x||x.call($,T)}complete(){var T,$;null===($=null===(T=this.destination)||void 0===T?void 0:T.complete)||void 0===$||$.call(T)}_subscribe(T){var $,x;return null!==(x=null===($=this.source)||void 0===$?void 0:$.subscribe(T))&&void 0!==x?x:_.Lc}}},305:(ie,Q,o)=>{"use strict";o.d(Q,{Hp:()=>ee,Lv:()=>x});var c=o(4674),_=o(7394),w=o(2653),C=o(3894),E=o(2420);const g=F("C",void 0,void 0);function F(q,se,oe){return{kind:q,value:se,error:oe}}var T=o(7599),$=o(1441);class x extends _.w0{constructor(se){super(),this.isStopped=!1,se?(this.destination=se,(0,_.Nn)(se)&&se.add(this)):this.destination=Ne}static create(se,oe,fe){return new ee(se,oe,fe)}next(se){this.isStopped?we(function h(q){return F("N",q,void 0)}(se),this):this._next(se)}error(se){this.isStopped?we(function p(q){return F("E",void 0,q)}(se),this):(this.isStopped=!0,this._error(se))}complete(){this.isStopped?we(g,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(se){this.destination.next(se)}_error(se){try{this.destination.error(se)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const J=Function.prototype.bind;function te(q,se){return J.call(q,se)}class U{constructor(se){this.partialObserver=se}next(se){const{partialObserver:oe}=this;if(oe.next)try{oe.next(se)}catch(fe){de(fe)}}error(se){const{partialObserver:oe}=this;if(oe.error)try{oe.error(se)}catch(fe){de(fe)}else de(se)}complete(){const{partialObserver:se}=this;if(se.complete)try{se.complete()}catch(oe){de(oe)}}}class ee extends x{constructor(se,oe,fe){let he;if(super(),(0,c.m)(se)||!se)he={next:se??void 0,error:oe??void 0,complete:fe??void 0};else{let _e;this&&w.config.useDeprecatedNextContext?(_e=Object.create(se),_e.unsubscribe=()=>this.unsubscribe(),he={next:se.next&&te(se.next,_e),error:se.error&&te(se.error,_e),complete:se.complete&&te(se.complete,_e)}):he=se}this.destination=new U(he)}}function de(q){w.config.useDeprecatedSynchronousErrorHandling?(0,$.O)(q):(0,C.h)(q)}function we(q,se){const{onStoppedNotification:oe}=w.config;oe&&T.z.setTimeout(()=>oe(q,se))}const Ne={closed:!0,next:E.Z,error:function le(q){throw q},complete:E.Z}},7394:(ie,Q,o)=>{"use strict";o.d(Q,{Lc:()=>g,w0:()=>E,Nn:()=>p});var c=o(4674);const w=(0,o(2306).d)(F=>function($){F(this),this.message=$?`${$.length} errors occurred during unsubscription:\n${$.map((x,J)=>`${J+1}) ${x.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=$});var C=o(9039);class E{constructor(T){this.initialTeardown=T,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let T;if(!this.closed){this.closed=!0;const{_parentage:$}=this;if($)if(this._parentage=null,Array.isArray($))for(const te of $)te.remove(this);else $.remove(this);const{initialTeardown:x}=this;if((0,c.m)(x))try{x()}catch(te){T=te instanceof w?te.errors:[te]}const{_finalizers:J}=this;if(J){this._finalizers=null;for(const te of J)try{h(te)}catch(U){T=T??[],U instanceof w?T=[...T,...U.errors]:T.push(U)}}if(T)throw new w(T)}}add(T){var $;if(T&&T!==this)if(this.closed)h(T);else{if(T instanceof E){if(T.closed||T._hasParent(this))return;T._addParent(this)}(this._finalizers=null!==($=this._finalizers)&&void 0!==$?$:[]).push(T)}}_hasParent(T){const{_parentage:$}=this;return $===T||Array.isArray($)&&$.includes(T)}_addParent(T){const{_parentage:$}=this;this._parentage=Array.isArray($)?($.push(T),$):$?[$,T]:T}_removeParent(T){const{_parentage:$}=this;$===T?this._parentage=null:Array.isArray($)&&(0,C.P)($,T)}remove(T){const{_finalizers:$}=this;$&&(0,C.P)($,T),T instanceof E&&T._removeParent(this)}}E.EMPTY=(()=>{const F=new E;return F.closed=!0,F})();const g=E.EMPTY;function p(F){return F instanceof E||F&&"closed"in F&&(0,c.m)(F.remove)&&(0,c.m)(F.add)&&(0,c.m)(F.unsubscribe)}function h(F){(0,c.m)(F)?F():F.unsubscribe()}},2653:(ie,Q,o)=>{"use strict";o.d(Q,{config:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4036:(ie,Q,o)=>{"use strict";o.d(Q,{z:()=>w});var c=o(6973),_=o(305);function w(C,E){const g="object"==typeof E;return new Promise((p,h)=>{const F=new _.Hp({next:T=>{p(T),F.unsubscribe()},error:h,complete:()=>{g?p(E.defaultValue):h(new c.K)}});C.subscribe(F)})}},3168:(ie,Q,o)=>{"use strict";o.d(Q,{c:()=>g});var c=o(5592),_=o(7394),w=o(6196),C=o(8251),E=o(9360);class g extends c.y{constructor(h,F){super(),this.source=h,this.subjectFactory=F,this._subject=null,this._refCount=0,this._connection=null,(0,E.A)(h)&&(this.lift=h.lift)}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:h}=this;this._subject=this._connection=null,h?.unsubscribe()}connect(){let h=this._connection;if(!h){h=this._connection=new _.w0;const F=this.getSubject();h.add(this.source.subscribe((0,C.x)(F,void 0,()=>{this._teardown(),F.complete()},T=>{this._teardown(),F.error(T)},()=>this._teardown()))),h.closed&&(this._connection=null,h=_.w0.EMPTY)}return h}refCount(){return(0,w.x)()(this)}}},2572:(ie,Q,o)=>{"use strict";o.d(Q,{a:()=>T});var c=o(5592),_=o(7453),w=o(9666),C=o(2737),E=o(7400),g=o(9940),p=o(2714),h=o(8251),F=o(7103);function T(...J){const te=(0,g.yG)(J),U=(0,g.jO)(J),{args:ee,keys:de}=(0,_.D)(J);if(0===ee.length)return(0,w.D)([],te);const le=new c.y(function $(J,te,U=C.y){return ee=>{x(te,()=>{const{length:de}=J,le=new Array(de);let we=de,Ne=de;for(let q=0;q<de;q++)x(te,()=>{const se=(0,w.D)(J[q],te);let oe=!1;se.subscribe((0,h.x)(ee,fe=>{le[q]=fe,oe||(oe=!0,Ne--),Ne||ee.next(U(le.slice()))},()=>{--we||ee.complete()}))},ee)},ee)}}(ee,te,de?we=>(0,p.n)(de,we):C.y));return U?le.pipe((0,E.Z)(U)):le}function x(J,te,U){J?(0,F.f)(U,J,te):te()}},5211:(ie,Q,o)=>{"use strict";o.d(Q,{z:()=>E});var c=o(7537),w=o(9940),C=o(9666);function E(...g){return function _(){return(0,c.J)(1)}()((0,C.D)(g,(0,w.yG)(g)))}},4911:(ie,Q,o)=>{"use strict";o.d(Q,{P:()=>w});var c=o(5592),_=o(4829);function w(C){return new c.y(E=>{(0,_.Xf)(C()).subscribe(E)})}},6232:(ie,Q,o)=>{"use strict";o.d(Q,{E:()=>_});const _=new(o(5592).y)(E=>E.complete())},9315:(ie,Q,o)=>{"use strict";o.d(Q,{D:()=>h});var c=o(5592),_=o(7453),w=o(4829),C=o(9940),E=o(8251),g=o(7400),p=o(2714);function h(...F){const T=(0,C.jO)(F),{args:$,keys:x}=(0,_.D)(F),J=new c.y(te=>{const{length:U}=$;if(!U)return void te.complete();const ee=new Array(U);let de=U,le=U;for(let we=0;we<U;we++){let Ne=!1;(0,w.Xf)($[we]).subscribe((0,E.x)(te,q=>{Ne||(Ne=!0,le--),ee[we]=q},()=>de--,void 0,()=>{(!de||!Ne)&&(le||te.next(x?(0,p.n)(x,ee):ee),te.complete())}))}});return T?J.pipe((0,g.Z)(T)):J}},9666:(ie,Q,o)=>{"use strict";o.d(Q,{D:()=>oe});var c=o(4829),_=o(3093),w=o(9360);function C(fe,he=0){return(0,w.e)((_e,re)=>{re.add(fe.schedule(()=>_e.subscribe(re),he))})}var p=o(5592),F=o(4971),T=o(4674),$=o(7103);function J(fe,he){if(!fe)throw new Error("Iterable cannot be null");return new p.y(_e=>{(0,$.f)(_e,he,()=>{const re=fe[Symbol.asyncIterator]();(0,$.f)(_e,he,()=>{re.next().then(ne=>{ne.done?_e.complete():_e.next(ne.value)})},0,!0)})})}var te=o(8382),U=o(4026),ee=o(4266),de=o(3664),le=o(5726),we=o(9853),Ne=o(541);function oe(fe,he){return he?function se(fe,he){if(null!=fe){if((0,te.c)(fe))return function E(fe,he){return(0,c.Xf)(fe).pipe(C(he),(0,_.Q)(he))}(fe,he);if((0,ee.z)(fe))return function h(fe,he){return new p.y(_e=>{let re=0;return he.schedule(function(){re===fe.length?_e.complete():(_e.next(fe[re++]),_e.closed||this.schedule())})})}(fe,he);if((0,U.t)(fe))return function g(fe,he){return(0,c.Xf)(fe).pipe(C(he),(0,_.Q)(he))}(fe,he);if((0,le.D)(fe))return J(fe,he);if((0,de.T)(fe))return function x(fe,he){return new p.y(_e=>{let re;return(0,$.f)(_e,he,()=>{re=fe[F.h](),(0,$.f)(_e,he,()=>{let ne,ve;try{({value:ne,done:ve}=re.next())}catch(je){return void _e.error(je)}ve?_e.complete():_e.next(ne)},0,!0)}),()=>(0,T.m)(re?.return)&&re.return()})}(fe,he);if((0,Ne.L)(fe))return function q(fe,he){return J((0,Ne.Q)(fe),he)}(fe,he)}throw(0,we.z)(fe)}(fe,he):(0,c.Xf)(fe)}},2438:(ie,Q,o)=>{"use strict";o.d(Q,{R:()=>T});var c=o(4829),_=o(5592),w=o(1631),C=o(4266),E=o(4674),g=o(7400);const p=["addListener","removeListener"],h=["addEventListener","removeEventListener"],F=["on","off"];function T(U,ee,de,le){if((0,E.m)(de)&&(le=de,de=void 0),le)return T(U,ee,de).pipe((0,g.Z)(le));const[we,Ne]=function te(U){return(0,E.m)(U.addEventListener)&&(0,E.m)(U.removeEventListener)}(U)?h.map(q=>se=>U[q](ee,se,de)):function x(U){return(0,E.m)(U.addListener)&&(0,E.m)(U.removeListener)}(U)?p.map($(U,ee)):function J(U){return(0,E.m)(U.on)&&(0,E.m)(U.off)}(U)?F.map($(U,ee)):[];if(!we&&(0,C.z)(U))return(0,w.z)(q=>T(q,ee,de))((0,c.Xf)(U));if(!we)throw new TypeError("Invalid event target");return new _.y(q=>{const se=(...oe)=>q.next(1<oe.length?oe:oe[0]);return we(se),()=>Ne(se)})}function $(U,ee){return de=>le=>U[de](ee,le)}},4829:(ie,Q,o)=>{"use strict";o.d(Q,{Xf:()=>J});var c=o(7582),_=o(4266),w=o(4026),C=o(5592),E=o(8382),g=o(5726),p=o(9853),h=o(3664),F=o(541),T=o(4674),$=o(3894),x=o(4850);function J(q){if(q instanceof C.y)return q;if(null!=q){if((0,E.c)(q))return function te(q){return new C.y(se=>{const oe=q[x.L]();if((0,T.m)(oe.subscribe))return oe.subscribe(se);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(q);if((0,_.z)(q))return function U(q){return new C.y(se=>{for(let oe=0;oe<q.length&&!se.closed;oe++)se.next(q[oe]);se.complete()})}(q);if((0,w.t)(q))return function ee(q){return new C.y(se=>{q.then(oe=>{se.closed||(se.next(oe),se.complete())},oe=>se.error(oe)).then(null,$.h)})}(q);if((0,g.D)(q))return le(q);if((0,h.T)(q))return function de(q){return new C.y(se=>{for(const oe of q)if(se.next(oe),se.closed)return;se.complete()})}(q);if((0,F.L)(q))return function we(q){return le((0,F.Q)(q))}(q)}throw(0,p.z)(q)}function le(q){return new C.y(se=>{(function Ne(q,se){var oe,fe,he,_e;return(0,c.mG)(this,void 0,void 0,function*(){try{for(oe=(0,c.KL)(q);!(fe=yield oe.next()).done;)if(se.next(fe.value),se.closed)return}catch(re){he={error:re}}finally{try{fe&&!fe.done&&(_e=oe.return)&&(yield _e.call(oe))}finally{if(he)throw he.error}}se.complete()})})(q,se).catch(oe=>se.error(oe))})}},1687:(ie,Q,o)=>{"use strict";o.d(Q,{F:()=>w});var c=o(6321),_=o(4825);function w(C=0,E=c.z){return C<0&&(C=0),(0,_.H)(C,C,E)}},3019:(ie,Q,o)=>{"use strict";o.d(Q,{T:()=>g});var c=o(7537),_=o(4829),w=o(6232),C=o(9940),E=o(9666);function g(...p){const h=(0,C.yG)(p),F=(0,C._6)(p,1/0),T=p;return T.length?1===T.length?(0,_.Xf)(T[0]):(0,c.J)(F)((0,E.D)(T,h)):w.E}},2096:(ie,Q,o)=>{"use strict";o.d(Q,{of:()=>w});var c=o(9940),_=o(9666);function w(...C){const E=(0,c.yG)(C);return(0,_.D)(C,E)}},8504:(ie,Q,o)=>{"use strict";o.d(Q,{_:()=>w});var c=o(5592),_=o(4674);function w(C,E){const g=(0,_.m)(C)?C:()=>C,p=h=>h.error(g());return new c.y(E?h=>E.schedule(p,0,h):p)}},4825:(ie,Q,o)=>{"use strict";o.d(Q,{H:()=>E});var c=o(5592),_=o(6321),w=o(671);function E(g=0,p,h=_.P){let F=-1;return null!=p&&((0,w.K)(p)?h=p:F=p),new c.y(T=>{let $=function C(g){return g instanceof Date&&!isNaN(g)}(g)?+g-h.now():g;$<0&&($=0);let x=0;return h.schedule(function(){T.closed||(T.next(x++),0<=F?this.schedule(void 0,F):T.complete())},$)})}},8251:(ie,Q,o)=>{"use strict";o.d(Q,{x:()=>_});var c=o(305);function _(C,E,g,p,h){return new w(C,E,g,p,h)}class w extends c.Lv{constructor(E,g,p,h,F,T){super(E),this.onFinalize=F,this.shouldUnsubscribe=T,this._next=g?function($){try{g($)}catch(x){E.error(x)}}:super._next,this._error=h?function($){try{h($)}catch(x){E.error(x)}finally{this.unsubscribe()}}:super._error,this._complete=p?function(){try{p()}catch($){E.error($)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:g}=this;super.unsubscribe(),!g&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}},6306:(ie,Q,o)=>{"use strict";o.d(Q,{K:()=>C});var c=o(4829),_=o(8251),w=o(9360);function C(E){return(0,w.e)((g,p)=>{let T,h=null,F=!1;h=g.subscribe((0,_.x)(p,void 0,void 0,$=>{T=(0,c.Xf)(E($,C(E)(g))),h?(h.unsubscribe(),h=null,T.subscribe(p)):F=!0})),F&&(h.unsubscribe(),h=null,T.subscribe(p))})}},6328:(ie,Q,o)=>{"use strict";o.d(Q,{b:()=>w});var c=o(1631),_=o(4674);function w(C,E){return(0,_.m)(E)?(0,c.z)(C,E,1):(0,c.z)(C,1)}},3620:(ie,Q,o)=>{"use strict";o.d(Q,{b:()=>C});var c=o(6321),_=o(9360),w=o(8251);function C(E,g=c.z){return(0,_.e)((p,h)=>{let F=null,T=null,$=null;const x=()=>{if(F){F.unsubscribe(),F=null;const te=T;T=null,h.next(te)}};function J(){const te=$+E,U=g.now();if(U<te)return F=this.schedule(void 0,te-U),void h.add(F);x()}p.subscribe((0,w.x)(h,te=>{T=te,$=g.now(),F||(F=g.schedule(J,E),h.add(F))},()=>{x(),h.complete()},void 0,()=>{T=F=null}))})}},3572:(ie,Q,o)=>{"use strict";o.d(Q,{d:()=>w});var c=o(9360),_=o(8251);function w(C){return(0,c.e)((E,g)=>{let p=!1;E.subscribe((0,_.x)(g,h=>{p=!0,g.next(h)},()=>{p||g.next(C),g.complete()}))})}},5177:(ie,Q,o)=>{"use strict";o.d(Q,{g:()=>J});var c=o(6321),_=o(5211),w=o(8180),C=o(9360),E=o(8251),g=o(2420),h=o(975),F=o(1631),T=o(4829);function $(te,U){return U?ee=>(0,_.z)(U.pipe((0,w.q)(1),function p(){return(0,C.e)((te,U)=>{te.subscribe((0,E.x)(U,g.Z))})}()),ee.pipe($(te))):(0,F.z)((ee,de)=>(0,T.Xf)(te(ee,de)).pipe((0,w.q)(1),(0,h.h)(ee)))}var x=o(4825);function J(te,U=c.z){const ee=(0,x.H)(te,U);return $(()=>ee)}},3997:(ie,Q,o)=>{"use strict";o.d(Q,{x:()=>C});var c=o(2737),_=o(9360),w=o(8251);function C(g,p=c.y){return g=g??E,(0,_.e)((h,F)=>{let T,$=!0;h.subscribe((0,w.x)(F,x=>{const J=p(x);($||!g(T,J))&&($=!1,T=J,F.next(x))}))})}function E(g,p){return g===p}},2181:(ie,Q,o)=>{"use strict";o.d(Q,{h:()=>w});var c=o(9360),_=o(8251);function w(C,E){return(0,c.e)((g,p)=>{let h=0;g.subscribe((0,_.x)(p,F=>C.call(E,F,h++)&&p.next(F)))})}},4716:(ie,Q,o)=>{"use strict";o.d(Q,{x:()=>_});var c=o(9360);function _(w){return(0,c.e)((C,E)=>{try{C.subscribe(E)}finally{E.add(w)}})}},1374:(ie,Q,o)=>{"use strict";o.d(Q,{P:()=>p});var c=o(6973),_=o(2181),w=o(8180),C=o(3572),E=o(3026),g=o(2737);function p(h,F){const T=arguments.length>=2;return $=>$.pipe(h?(0,_.h)((x,J)=>h(x,J,$)):g.y,(0,w.q)(1),T?(0,C.d)(F):(0,E.T)(()=>new c.K))}},7398:(ie,Q,o)=>{"use strict";o.d(Q,{U:()=>w});var c=o(9360),_=o(8251);function w(C,E){return(0,c.e)((g,p)=>{let h=0;g.subscribe((0,_.x)(p,F=>{p.next(C.call(E,F,h++))}))})}},975:(ie,Q,o)=>{"use strict";o.d(Q,{h:()=>_});var c=o(7398);function _(w){return(0,c.U)(()=>w)}},7537:(ie,Q,o)=>{"use strict";o.d(Q,{J:()=>w});var c=o(1631),_=o(2737);function w(C=1/0){return(0,c.z)(_.y,C)}},1631:(ie,Q,o)=>{"use strict";o.d(Q,{z:()=>h});var c=o(7398),_=o(4829),w=o(9360),C=o(7103),E=o(8251),p=o(4674);function h(F,T,$=1/0){return(0,p.m)(T)?h((x,J)=>(0,c.U)((te,U)=>T(x,te,J,U))((0,_.Xf)(F(x,J))),$):("number"==typeof T&&($=T),(0,w.e)((x,J)=>function g(F,T,$,x,J,te,U,ee){const de=[];let le=0,we=0,Ne=!1;const q=()=>{Ne&&!de.length&&!le&&T.complete()},se=fe=>le<x?oe(fe):de.push(fe),oe=fe=>{te&&T.next(fe),le++;let he=!1;(0,_.Xf)($(fe,we++)).subscribe((0,E.x)(T,_e=>{J?.(_e),te?se(_e):T.next(_e)},()=>{he=!0},void 0,()=>{if(he)try{for(le--;de.length&&le<x;){const _e=de.shift();U?(0,C.f)(T,U,()=>oe(_e)):oe(_e)}q()}catch(_e){T.error(_e)}}))};return F.subscribe((0,E.x)(T,se,()=>{Ne=!0,q()})),()=>{ee?.()}}(x,J,F,$)))}},3093:(ie,Q,o)=>{"use strict";o.d(Q,{Q:()=>C});var c=o(7103),_=o(9360),w=o(8251);function C(E,g=0){return(0,_.e)((p,h)=>{p.subscribe((0,w.x)(h,F=>(0,c.f)(h,E,()=>h.next(F),g),()=>(0,c.f)(h,E,()=>h.complete(),g),F=>(0,c.f)(h,E,()=>h.error(F),g)))})}},6196:(ie,Q,o)=>{"use strict";o.d(Q,{x:()=>w});var c=o(9360),_=o(8251);function w(){return(0,c.e)((C,E)=>{let g=null;C._refCount++;const p=(0,_.x)(E,void 0,void 0,void 0,()=>{if(!C||C._refCount<=0||0<--C._refCount)return void(g=null);const h=C._connection,F=g;g=null,h&&(!F||h===F)&&h.unsubscribe(),E.unsubscribe()});C.subscribe(p),p.closed||(g=C.connect())})}},6699:(ie,Q,o)=>{"use strict";o.d(Q,{R:()=>C});var c=o(9360),_=o(8251);function C(E,g){return(0,c.e)(function w(E,g,p,h,F){return(T,$)=>{let x=p,J=g,te=0;T.subscribe((0,_.x)($,U=>{const ee=te++;J=x?E(J,U,ee):(x=!0,U),h&&$.next(J)},F&&(()=>{x&&$.next(J),$.complete()})))}}(E,g,arguments.length>=2,!0))}},3020:(ie,Q,o)=>{"use strict";o.d(Q,{B:()=>E});var c=o(4829),_=o(8645),w=o(305),C=o(9360);function E(p={}){const{connector:h=(()=>new _.x),resetOnError:F=!0,resetOnComplete:T=!0,resetOnRefCountZero:$=!0}=p;return x=>{let J,te,U,ee=0,de=!1,le=!1;const we=()=>{te?.unsubscribe(),te=void 0},Ne=()=>{we(),J=U=void 0,de=le=!1},q=()=>{const se=J;Ne(),se?.unsubscribe()};return(0,C.e)((se,oe)=>{ee++,!le&&!de&&we();const fe=U=U??h();oe.add(()=>{ee--,0===ee&&!le&&!de&&(te=g(q,$))}),fe.subscribe(oe),!J&&ee>0&&(J=new w.Hp({next:he=>fe.next(he),error:he=>{le=!0,we(),te=g(Ne,F,he),fe.error(he)},complete:()=>{de=!0,we(),te=g(Ne,T),fe.complete()}}),(0,c.Xf)(se).subscribe(J))})(x)}}function g(p,h,...F){if(!0===h)return void p();if(!1===h)return;const T=new w.Hp({next:()=>{T.unsubscribe(),p()}});return(0,c.Xf)(h(...F)).subscribe(T)}},7081:(ie,Q,o)=>{"use strict";o.d(Q,{d:()=>w});var c=o(7328),_=o(3020);function w(C,E,g){let p,h=!1;return C&&"object"==typeof C?({bufferSize:p=1/0,windowTime:E=1/0,refCount:h=!1,scheduler:g}=C):p=C??1/0,(0,_.B)({connector:()=>new c.t(p,E,g),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:h})}},7921:(ie,Q,o)=>{"use strict";o.d(Q,{O:()=>C});var c=o(5211),_=o(9940),w=o(9360);function C(...E){const g=(0,_.yG)(E);return(0,w.e)((p,h)=>{(g?(0,c.z)(E,p,g):(0,c.z)(E,p)).subscribe(h)})}},4664:(ie,Q,o)=>{"use strict";o.d(Q,{w:()=>C});var c=o(4829),_=o(9360),w=o(8251);function C(E,g){return(0,_.e)((p,h)=>{let F=null,T=0,$=!1;const x=()=>$&&!F&&h.complete();p.subscribe((0,w.x)(h,J=>{F?.unsubscribe();let te=0;const U=T++;(0,c.Xf)(E(J,U)).subscribe(F=(0,w.x)(h,ee=>h.next(g?g(J,ee,U,te++):ee),()=>{F=null,x()}))},()=>{$=!0,x()}))})}},8180:(ie,Q,o)=>{"use strict";o.d(Q,{q:()=>C});var c=o(6232),_=o(9360),w=o(8251);function C(E){return E<=0?()=>c.E:(0,_.e)((g,p)=>{let h=0;g.subscribe((0,w.x)(p,F=>{++h<=E&&(p.next(F),E<=h&&p.complete())}))})}},9773:(ie,Q,o)=>{"use strict";o.d(Q,{R:()=>E});var c=o(9360),_=o(8251),w=o(4829),C=o(2420);function E(g){return(0,c.e)((p,h)=>{(0,w.Xf)(g).subscribe((0,_.x)(h,()=>h.complete(),C.Z)),!h.closed&&p.subscribe(h)})}},9397:(ie,Q,o)=>{"use strict";o.d(Q,{b:()=>E});var c=o(4674),_=o(9360),w=o(8251),C=o(2737);function E(g,p,h){const F=(0,c.m)(g)||p||h?{next:g,error:p,complete:h}:g;return F?(0,_.e)((T,$)=>{var x;null===(x=F.subscribe)||void 0===x||x.call(F);let J=!0;T.subscribe((0,w.x)($,te=>{var U;null===(U=F.next)||void 0===U||U.call(F,te),$.next(te)},()=>{var te;J=!1,null===(te=F.complete)||void 0===te||te.call(F),$.complete()},te=>{var U;J=!1,null===(U=F.error)||void 0===U||U.call(F,te),$.error(te)},()=>{var te,U;J&&(null===(te=F.unsubscribe)||void 0===te||te.call(F)),null===(U=F.finalize)||void 0===U||U.call(F)}))}):C.y}},3026:(ie,Q,o)=>{"use strict";o.d(Q,{T:()=>C});var c=o(6973),_=o(9360),w=o(8251);function C(g=E){return(0,_.e)((p,h)=>{let F=!1;p.subscribe((0,w.x)(h,T=>{F=!0,h.next(T)},()=>F?h.complete():h.error(g())))})}function E(){return new c.K}},1954:(ie,Q,o)=>{"use strict";o.d(Q,{o:()=>E});var c=o(7394);class _ extends c.w0{constructor(p,h){super()}schedule(p,h=0){return this}}const w={setInterval(g,p,...h){const{delegate:F}=w;return F?.setInterval?F.setInterval(g,p,...h):setInterval(g,p,...h)},clearInterval(g){const{delegate:p}=w;return(p?.clearInterval||clearInterval)(g)},delegate:void 0};var C=o(9039);class E extends _{constructor(p,h){super(p,h),this.scheduler=p,this.work=h,this.pending=!1}schedule(p,h=0){var F;if(this.closed)return this;this.state=p;const T=this.id,$=this.scheduler;return null!=T&&(this.id=this.recycleAsyncId($,T,h)),this.pending=!0,this.delay=h,this.id=null!==(F=this.id)&&void 0!==F?F:this.requestAsyncId($,this.id,h),this}requestAsyncId(p,h,F=0){return w.setInterval(p.flush.bind(p,this),F)}recycleAsyncId(p,h,F=0){if(null!=F&&this.delay===F&&!1===this.pending)return h;null!=h&&w.clearInterval(h)}execute(p,h){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const F=this._execute(p,h);if(F)return F;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(p,h){let T,F=!1;try{this.work(p)}catch($){F=!0,T=$||new Error("Scheduled action threw falsy error")}if(F)return this.unsubscribe(),T}unsubscribe(){if(!this.closed){const{id:p,scheduler:h}=this,{actions:F}=h;this.work=this.state=this.scheduler=null,this.pending=!1,(0,C.P)(F,this),null!=p&&(this.id=this.recycleAsyncId(h,p,null)),this.delay=null,super.unsubscribe()}}}},2631:(ie,Q,o)=>{"use strict";o.d(Q,{v:()=>w});var c=o(4552);class _{constructor(E,g=_.now){this.schedulerActionCtor=E,this.now=g}schedule(E,g=0,p){return new this.schedulerActionCtor(this,E).schedule(p,g)}}_.now=c.l.now;class w extends _{constructor(E,g=_.now){super(E,g),this.actions=[],this._active=!1}flush(E){const{actions:g}=this;if(this._active)return void g.push(E);let p;this._active=!0;do{if(p=E.execute(E.state,E.delay))break}while(E=g.shift());if(this._active=!1,p){for(;E=g.shift();)E.unsubscribe();throw p}}}},6321:(ie,Q,o)=>{"use strict";o.d(Q,{P:()=>C,z:()=>w});var c=o(1954);const w=new(o(2631).v)(c.o),C=w},4552:(ie,Q,o)=>{"use strict";o.d(Q,{l:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},7599:(ie,Q,o)=>{"use strict";o.d(Q,{z:()=>c});const c={setTimeout(_,w,...C){const{delegate:E}=c;return E?.setTimeout?E.setTimeout(_,w,...C):setTimeout(_,w,...C)},clearTimeout(_){const{delegate:w}=c;return(w?.clearTimeout||clearTimeout)(_)},delegate:void 0}},4971:(ie,Q,o)=>{"use strict";o.d(Q,{h:()=>_});const _=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ie,Q,o)=>{"use strict";o.d(Q,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(ie,Q,o)=>{"use strict";o.d(Q,{K:()=>_});const _=(0,o(2306).d)(w=>function(){w(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(ie,Q,o)=>{"use strict";o.d(Q,{_6:()=>g,jO:()=>C,yG:()=>E});var c=o(4674),_=o(671);function w(p){return p[p.length-1]}function C(p){return(0,c.m)(w(p))?p.pop():void 0}function E(p){return(0,_.K)(w(p))?p.pop():void 0}function g(p,h){return"number"==typeof w(p)?p.pop():h}},7453:(ie,Q,o)=>{"use strict";o.d(Q,{D:()=>E});const{isArray:c}=Array,{getPrototypeOf:_,prototype:w,keys:C}=Object;function E(p){if(1===p.length){const h=p[0];if(c(h))return{args:h,keys:null};if(function g(p){return p&&"object"==typeof p&&_(p)===w}(h)){const F=C(h);return{args:F.map(T=>h[T]),keys:F}}}return{args:p,keys:null}}},9039:(ie,Q,o)=>{"use strict";function c(_,w){if(_){const C=_.indexOf(w);0<=C&&_.splice(C,1)}}o.d(Q,{P:()=>c})},2306:(ie,Q,o)=>{"use strict";function c(_){const C=_(E=>{Error.call(E),E.stack=(new Error).stack});return C.prototype=Object.create(Error.prototype),C.prototype.constructor=C,C}o.d(Q,{d:()=>c})},2714:(ie,Q,o)=>{"use strict";function c(_,w){return _.reduce((C,E,g)=>(C[E]=w[g],C),{})}o.d(Q,{n:()=>c})},1441:(ie,Q,o)=>{"use strict";o.d(Q,{O:()=>C,x:()=>w});var c=o(2653);let _=null;function w(E){if(c.config.useDeprecatedSynchronousErrorHandling){const g=!_;if(g&&(_={errorThrown:!1,error:null}),E(),g){const{errorThrown:p,error:h}=_;if(_=null,p)throw h}}else E()}function C(E){c.config.useDeprecatedSynchronousErrorHandling&&_&&(_.errorThrown=!0,_.error=E)}},7103:(ie,Q,o)=>{"use strict";function c(_,w,C,E=0,g=!1){const p=w.schedule(function(){C(),g?_.add(this.schedule(null,E)):this.unsubscribe()},E);if(_.add(p),!g)return p}o.d(Q,{f:()=>c})},2737:(ie,Q,o)=>{"use strict";function c(_){return _}o.d(Q,{y:()=>c})},4266:(ie,Q,o)=>{"use strict";o.d(Q,{z:()=>c});const c=_=>_&&"number"==typeof _.length&&"function"!=typeof _},5726:(ie,Q,o)=>{"use strict";o.d(Q,{D:()=>_});var c=o(4674);function _(w){return Symbol.asyncIterator&&(0,c.m)(w?.[Symbol.asyncIterator])}},4674:(ie,Q,o)=>{"use strict";function c(_){return"function"==typeof _}o.d(Q,{m:()=>c})},8382:(ie,Q,o)=>{"use strict";o.d(Q,{c:()=>w});var c=o(4850),_=o(4674);function w(C){return(0,_.m)(C[c.L])}},3664:(ie,Q,o)=>{"use strict";o.d(Q,{T:()=>w});var c=o(4971),_=o(4674);function w(C){return(0,_.m)(C?.[c.h])}},2664:(ie,Q,o)=>{"use strict";o.d(Q,{b:()=>w});var c=o(5592),_=o(4674);function w(C){return!!C&&(C instanceof c.y||(0,_.m)(C.lift)&&(0,_.m)(C.subscribe))}},4026:(ie,Q,o)=>{"use strict";o.d(Q,{t:()=>_});var c=o(4674);function _(w){return(0,c.m)(w?.then)}},541:(ie,Q,o)=>{"use strict";o.d(Q,{L:()=>C,Q:()=>w});var c=o(7582),_=o(4674);function w(E){return(0,c.FC)(this,arguments,function*(){const p=E.getReader();try{for(;;){const{value:h,done:F}=yield(0,c.qq)(p.read());if(F)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(h)}}finally{p.releaseLock()}})}function C(E){return(0,_.m)(E?.getReader)}},671:(ie,Q,o)=>{"use strict";o.d(Q,{K:()=>_});var c=o(4674);function _(w){return w&&(0,c.m)(w.schedule)}},9360:(ie,Q,o)=>{"use strict";o.d(Q,{A:()=>_,e:()=>w});var c=o(4674);function _(C){return(0,c.m)(C?.lift)}function w(C){return E=>{if(_(E))return E.lift(function(g){try{return C(g,this)}catch(p){this.error(p)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ie,Q,o)=>{"use strict";o.d(Q,{Z:()=>C});var c=o(7398);const{isArray:_}=Array;function C(E){return(0,c.U)(g=>function w(E,g){return _(g)?E(...g):E(g)}(E,g))}},2420:(ie,Q,o)=>{"use strict";function c(){}o.d(Q,{Z:()=>c})},8407:(ie,Q,o)=>{"use strict";o.d(Q,{U:()=>w,z:()=>_});var c=o(2737);function _(...C){return w(C)}function w(C){return 0===C.length?c.y:1===C.length?C[0]:function(g){return C.reduce((p,h)=>h(p),g)}}},3894:(ie,Q,o)=>{"use strict";o.d(Q,{h:()=>w});var c=o(2653),_=o(7599);function w(C){_.z.setTimeout(()=>{const{onUnhandledError:E}=c.config;if(!E)throw C;E(C)})}},9853:(ie,Q,o)=>{"use strict";function c(_){return new TypeError(`You provided ${null!==_&&"object"==typeof _?"an invalid object":`'${_}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(Q,{z:()=>c})},6825:(ie,Q,o)=>{"use strict";o.d(Q,{LC:()=>_,SB:()=>F,X$:()=>C,ZE:()=>le,ZN:()=>de,_j:()=>c,eR:()=>$,jt:()=>E,k1:()=>we,l3:()=>w,oB:()=>h,vP:()=>p});class c{}class _{}const w="*";function C(Ne,q){return{type:7,name:Ne,definitions:q,options:{}}}function E(Ne,q=null){return{type:4,styles:q,timings:Ne}}function p(Ne,q=null){return{type:2,steps:Ne,options:q}}function h(Ne){return{type:6,styles:Ne,offset:null}}function F(Ne,q,se){return{type:0,name:Ne,styles:q,options:se}}function $(Ne,q,se=null){return{type:1,expr:Ne,animation:q,options:se}}class de{constructor(q=0,se=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=q+se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(q=>q()),this._onDoneFns=[])}onStart(q){this._originalOnStartFns.push(q),this._onStartFns.push(q)}onDone(q){this._originalOnDoneFns.push(q),this._onDoneFns.push(q)}onDestroy(q){this._onDestroyFns.push(q)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(q=>q()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(q=>q()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(q){this._position=this.totalTime?q*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(q){const se="start"==q?this._onStartFns:this._onDoneFns;se.forEach(oe=>oe()),se.length=0}}class le{constructor(q){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=q;let se=0,oe=0,fe=0;const he=this.players.length;0==he?queueMicrotask(()=>this._onFinish()):this.players.forEach(_e=>{_e.onDone(()=>{++se==he&&this._onFinish()}),_e.onDestroy(()=>{++oe==he&&this._onDestroy()}),_e.onStart(()=>{++fe==he&&this._onStart()})}),this.totalTime=this.players.reduce((_e,re)=>Math.max(_e,re.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(q=>q()),this._onDoneFns=[])}init(){this.players.forEach(q=>q.init())}onStart(q){this._onStartFns.push(q)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(q=>q()),this._onStartFns=[])}onDone(q){this._onDoneFns.push(q)}onDestroy(q){this._onDestroyFns.push(q)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(q=>q.play())}pause(){this.players.forEach(q=>q.pause())}restart(){this.players.forEach(q=>q.restart())}finish(){this._onFinish(),this.players.forEach(q=>q.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(q=>q.destroy()),this._onDestroyFns.forEach(q=>q()),this._onDestroyFns=[])}reset(){this.players.forEach(q=>q.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(q){const se=q*this.totalTime;this.players.forEach(oe=>{const fe=oe.totalTime?Math.min(1,se/oe.totalTime):1;oe.setPosition(fe)})}getPosition(){const q=this.players.reduce((se,oe)=>null===se||oe.totalTime>se.totalTime?oe:se,null);return null!=q?q.getPosition():0}beforeDestroy(){this.players.forEach(q=>{q.beforeDestroy&&q.beforeDestroy()})}triggerCallback(q){const se="start"==q?this._onStartFns:this._onDoneFns;se.forEach(oe=>oe()),se.length=0}}const we="!"},4802:(ie,Q,o)=>{"use strict";o.d(Q,{rt:()=>Oe,mK:()=>He,qm:()=>Pe,X6:()=>Ln,yG:()=>Dn});var c=o(6814),_=o(5879),w=o(2831),E=(o(6028),o(8180)),g=o(2495);let p=(()=>{var ye;class De{create(Be){return typeof MutationObserver>"u"?null:new MutationObserver(Be)}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)},ye.\u0275prov=_.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),De})(),T=(()=>{var ye;class De{}return(ye=De).\u0275fac=function(Be){return new(Be||ye)},ye.\u0275mod=_.oAB({type:ye}),ye.\u0275inj=_.cJS({providers:[p]}),De})();var $=o(8645),x=o(2572),J=o(5211),te=o(5592),U=o(2181),de=o(3620),le=o(7398),we=o(7921),Ne=o(9773);const se=new Set;let oe,fe=(()=>{var ye;class De{constructor(Be,rt){this._platform=Be,this._nonce=rt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_e}matchMedia(Be){return(this._platform.WEBKIT||this._platform.BLINK)&&function he(ye,De){if(!se.has(ye))try{oe||(oe=document.createElement("style"),De&&(oe.nonce=De),oe.setAttribute("type","text/css"),document.head.appendChild(oe)),oe.sheet&&(oe.sheet.insertRule(`@media ${ye} {body{ }}`,0),se.add(ye))}catch(Qe){console.error(Qe)}}(Be,this._nonce),this._matchMedia(Be)}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)(_.LFG(w.t4),_.LFG(_.Ojb,8))},ye.\u0275prov=_.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),De})();function _e(ye){return{matches:"all"===ye||""===ye,media:ye,addListener:()=>{},removeListener:()=>{}}}let re=(()=>{var ye;class De{constructor(Be,rt){this._mediaMatcher=Be,this._zone=rt,this._queries=new Map,this._destroySubject=new $.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Be){return ne((0,g.Eq)(Be)).some(gt=>this._registerQuery(gt).mql.matches)}observe(Be){const gt=ne((0,g.Eq)(Be)).map(Gn=>this._registerQuery(Gn).observable);let un=(0,x.a)(gt);return un=(0,J.z)(un.pipe((0,E.q)(1)),un.pipe(function ee(ye){return(0,U.h)((De,Qe)=>ye<=Qe)}(1),(0,de.b)(0))),un.pipe((0,le.U)(Gn=>{const Ye={matches:!1,breakpoints:{}};return Gn.forEach(({matches:Ae,query:ot})=>{Ye.matches=Ye.matches||Ae,Ye.breakpoints[ot]=Ae}),Ye}))}_registerQuery(Be){if(this._queries.has(Be))return this._queries.get(Be);const rt=this._mediaMatcher.matchMedia(Be),un={observable:new te.y(Gn=>{const Ye=Ae=>this._zone.run(()=>Gn.next(Ae));return rt.addListener(Ye),()=>{rt.removeListener(Ye)}}).pipe((0,we.O)(rt),(0,le.U)(({matches:Gn})=>({query:Be,matches:Gn})),(0,Ne.R)(this._destroySubject)),mql:rt};return this._queries.set(Be,un),un}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)(_.LFG(fe),_.LFG(_.R0b))},ye.\u0275prov=_.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),De})();function ne(ye){return ye.map(De=>De.split(",")).reduce((De,Qe)=>De.concat(Qe)).map(De=>De.trim())}let rn=(()=>{var ye;class De{constructor(Be){this._platform=Be}isDisabled(Be){return Be.hasAttribute("disabled")}isVisible(Be){return function an(ye){return!!(ye.offsetWidth||ye.offsetHeight||"function"==typeof ye.getClientRects&&ye.getClientRects().length)}(Be)&&"visible"===getComputedStyle(Be).visibility}isTabbable(Be){if(!this._platform.isBrowser)return!1;const rt=function bn(ye){try{return ye.frameElement}catch{return null}}(function Mt(ye){return ye.ownerDocument&&ye.ownerDocument.defaultView||window}(Be));if(rt&&(-1===ni(rt)||!this.isVisible(rt)))return!1;let gt=Be.nodeName.toLowerCase(),un=ni(Be);return Be.hasAttribute("contenteditable")?-1!==un:!("iframe"===gt||"object"===gt||this._platform.WEBKIT&&this._platform.IOS&&!function Xr(ye){let De=ye.nodeName.toLowerCase(),Qe="input"===De&&ye.type;return"text"===Qe||"password"===Qe||"select"===De||"textarea"===De}(Be))&&("audio"===gt?!!Be.hasAttribute("controls")&&-1!==un:"video"===gt?-1!==un&&(null!==un||this._platform.FIREFOX||Be.hasAttribute("controls")):Be.tabIndex>=0)}isFocusable(Be,rt){return function lt(ye){return!function lr(ye){return function Bn(ye){return"input"==ye.nodeName.toLowerCase()}(ye)&&"hidden"==ye.type}(ye)&&(function $n(ye){let De=ye.nodeName.toLowerCase();return"input"===De||"select"===De||"button"===De||"textarea"===De}(ye)||function fr(ye){return function Ar(ye){return"a"==ye.nodeName.toLowerCase()}(ye)&&ye.hasAttribute("href")}(ye)||ye.hasAttribute("contenteditable")||Ur(ye))}(Be)&&!this.isDisabled(Be)&&(rt?.ignoreVisibility||this.isVisible(Be))}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)(_.LFG(w.t4))},ye.\u0275prov=_.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),De})();function Ur(ye){if(!ye.hasAttribute("tabindex")||void 0===ye.tabIndex)return!1;let De=ye.getAttribute("tabindex");return!(!De||isNaN(parseInt(De,10)))}function ni(ye){if(!Ur(ye))return null;const De=parseInt(ye.getAttribute("tabindex")||"",10);return isNaN(De)?-1:De}class Nt{get enabled(){return this._enabled}set enabled(De){this._enabled=De,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(De,this._startAnchor),this._toggleAnchorTabIndex(De,this._endAnchor))}constructor(De,Qe,Be,rt,gt=!1){this._element=De,this._checker=Qe,this._ngZone=Be,this._document=rt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,gt||this.attachAnchors()}destroy(){const De=this._startAnchor,Qe=this._endAnchor;De&&(De.removeEventListener("focus",this.startAnchorListener),De.remove()),Qe&&(Qe.removeEventListener("focus",this.endAnchorListener),Qe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(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(De){return new Promise(Qe=>{this._executeOnStable(()=>Qe(this.focusInitialElement(De)))})}focusFirstTabbableElementWhenReady(De){return new Promise(Qe=>{this._executeOnStable(()=>Qe(this.focusFirstTabbableElement(De)))})}focusLastTabbableElementWhenReady(De){return new Promise(Qe=>{this._executeOnStable(()=>Qe(this.focusLastTabbableElement(De)))})}_getRegionBoundary(De){const Qe=this._element.querySelectorAll(`[cdk-focus-region-${De}], [cdkFocusRegion${De}], [cdk-focus-${De}]`);return"start"==De?Qe.length?Qe[0]:this._getFirstTabbableElement(this._element):Qe.length?Qe[Qe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(De){const Qe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Qe){if(!this._checker.isFocusable(Qe)){const Be=this._getFirstTabbableElement(Qe);return Be?.focus(De),!!Be}return Qe.focus(De),!0}return this.focusFirstTabbableElement(De)}focusFirstTabbableElement(De){const Qe=this._getRegionBoundary("start");return Qe&&Qe.focus(De),!!Qe}focusLastTabbableElement(De){const Qe=this._getRegionBoundary("end");return Qe&&Qe.focus(De),!!Qe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(De){if(this._checker.isFocusable(De)&&this._checker.isTabbable(De))return De;const Qe=De.children;for(let Be=0;Be<Qe.length;Be++){const rt=Qe[Be].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Qe[Be]):null;if(rt)return rt}return null}_getLastTabbableElement(De){if(this._checker.isFocusable(De)&&this._checker.isTabbable(De))return De;const Qe=De.children;for(let Be=Qe.length-1;Be>=0;Be--){const rt=Qe[Be].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Qe[Be]):null;if(rt)return rt}return null}_createAnchor(){const De=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,De),De.classList.add("cdk-visually-hidden"),De.classList.add("cdk-focus-trap-anchor"),De.setAttribute("aria-hidden","true"),De}_toggleAnchorTabIndex(De,Qe){De?Qe.setAttribute("tabindex","0"):Qe.removeAttribute("tabindex")}toggleAnchors(De){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(De,this._startAnchor),this._toggleAnchorTabIndex(De,this._endAnchor))}_executeOnStable(De){this._ngZone.isStable?De():this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(De)}}let kt=(()=>{var ye;class De{constructor(Be,rt,gt){this._checker=Be,this._ngZone=rt,this._document=gt}create(Be,rt=!1){return new Nt(Be,this._checker,this._ngZone,this._document,rt)}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)(_.LFG(rn),_.LFG(_.R0b),_.LFG(c.K0))},ye.\u0275prov=_.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),De})(),He=(()=>{var ye;class De{get enabled(){return this.focusTrap.enabled}set enabled(Be){this.focusTrap.enabled=(0,g.Ig)(Be)}get autoCapture(){return this._autoCapture}set autoCapture(Be){this._autoCapture=(0,g.Ig)(Be)}constructor(Be,rt,gt){this._elementRef=Be,this._focusTrapFactory=rt,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Be){const rt=Be.autoCapture;rt&&!rt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,w.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)(_.Y36(_.SBq),_.Y36(kt),_.Y36(c.K0))},ye.\u0275dir=_.lG2({type:ye,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[_.TTD]}),De})();function Ln(ye){return 0===ye.buttons||0===ye.detail}function Dn(ye){const De=ye.touches&&ye.touches[0]||ye.changedTouches&&ye.changedTouches[0];return!(!De||-1!==De.identifier||null!=De.radiusX&&1!==De.radiusX||null!=De.radiusY&&1!==De.radiusY)}const Vt="cdk-high-contrast-black-on-white",Te="cdk-high-contrast-white-on-black",ge="cdk-high-contrast-active";let Pe=(()=>{var ye;class De{constructor(Be,rt){this._platform=Be,this._document=rt,this._breakpointSubscription=(0,_.f3M)(re).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Be=this._document.createElement("div");Be.style.backgroundColor="rgb(1,2,3)",Be.style.position="absolute",this._document.body.appendChild(Be);const rt=this._document.defaultView||window,gt=rt&&rt.getComputedStyle?rt.getComputedStyle(Be):null,un=(gt&&gt.backgroundColor||"").replace(/ /g,"");switch(Be.remove(),un){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Be=this._document.body.classList;Be.remove(ge,Vt,Te),this._hasCheckedHighContrastMode=!0;const rt=this.getHighContrastMode();1===rt?Be.add(ge,Vt):2===rt&&Be.add(ge,Te)}}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)(_.LFG(w.t4),_.LFG(c.K0))},ye.\u0275prov=_.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),De})(),Oe=(()=>{var ye;class De{constructor(Be){Be._applyBodyHighContrastModeCssClasses()}}return(ye=De).\u0275fac=function(Be){return new(Be||ye)(_.LFG(Pe))},ye.\u0275mod=_.oAB({type:ye}),ye.\u0275inj=_.cJS({imports:[T]}),De})()},9388:(ie,Q,o)=>{"use strict";o.d(Q,{Is:()=>p,vT:()=>F});var c=o(5879),_=o(6814);const w=new c.OlP("cdk-dir-doc",{providedIn:"root",factory:function C(){return(0,c.f3M)(_.K0)}}),E=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let p=(()=>{var T;class ${constructor(J){this.value="ltr",this.change=new c.vpe,J&&(this.value=function g(T){const $=T?.toLowerCase()||"";return"auto"===$&&typeof navigator<"u"&&navigator?.language?E.test(navigator.language)?"rtl":"ltr":"rtl"===$?"rtl":"ltr"}((J.body?J.body.dir:null)||(J.documentElement?J.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(T=$).\u0275fac=function(J){return new(J||T)(c.LFG(w,8))},T.\u0275prov=c.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),$})(),F=(()=>{var T;class ${}return(T=$).\u0275fac=function(J){return new(J||T)},T.\u0275mod=c.oAB({type:T}),T.\u0275inj=c.cJS({}),$})()},2495:(ie,Q,o)=>{"use strict";o.d(Q,{Eq:()=>E,HM:()=>g,Ig:()=>_,fI:()=>p,su:()=>w});var c=o(5879);function _(F){return null!=F&&"false"!=`${F}`}function w(F,T=0){return function C(F){return!isNaN(parseFloat(F))&&!isNaN(Number(F))}(F)?Number(F):T}function E(F){return Array.isArray(F)?F:[F]}function g(F){return null==F?"":"string"==typeof F?F:`${F}px`}function p(F){return F instanceof c.SBq?F.nativeElement:F}},6028:(ie,Q,o)=>{"use strict";o.d(Q,{JU:()=>g,MW:()=>zt,b2:()=>Bi,hY:()=>$,jx:()=>p,zL:()=>h});const g=16,p=17,h=18,$=27,zt=91,Bi=224},2831:(ie,Q,o)=>{"use strict";o.d(Q,{Mq:()=>te,Oy:()=>q,ht:()=>we,i$:()=>$,sA:()=>Ne,t4:()=>C});var c=o(5879),_=o(6814);let w;try{w=typeof Intl<"u"&&Intl.v8BreakIterator}catch{w=!1}let F,J,C=(()=>{var se;class oe{constructor(he){this._platformId=he,this.isBrowser=this._platformId?(0,_.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!w)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return(se=oe).\u0275fac=function(he){return new(he||se)(c.LFG(c.Lbi))},se.\u0275prov=c.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),oe})();function $(se){return function T(){if(null==F&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>F=!0}))}finally{F=F||!1}return F}()?se:!!se.capture}function te(){if(null==J){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return J=!1,J;if("scrollBehavior"in document.documentElement.style)J=!0;else{const se=Element.prototype.scrollTo;J=!!se&&!/\{\s*\[native code\]\s*\}/.test(se.toString())}}return J}function we(){let se=typeof document<"u"&&document?document.activeElement:null;for(;se&&se.shadowRoot;){const oe=se.shadowRoot.activeElement;if(oe===se)break;se=oe}return se}function Ne(se){return se.composedPath?se.composedPath()[0]:se.target}function q(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6814:(ie,Q,o)=>{"use strict";o.d(Q,{Do:()=>ee,EM:()=>Ls,HT:()=>C,JF:()=>cs,K0:()=>g,Mx:()=>mr,NF:()=>Cs,O5:()=>Bi,Ov:()=>Hr,PM:()=>Mo,S$:()=>J,V_:()=>h,Ye:()=>de,ax:()=>ir,b0:()=>U,bD:()=>Jr,ez:()=>io,mk:()=>Jn,q:()=>w,sg:()=>ir,tP:()=>Ns,uU:()=>gr,w_:()=>E});var c=o(5879);let _=null;function w(){return _}function C(S){_||(_=S)}class E{}const g=new c.OlP("DocumentToken");let p=(()=>{var S;class K{historyGo(H){throw new Error("Not implemented")}}return(S=K).\u0275fac=function(H){return new(H||S)},S.\u0275prov=c.Yz7({token:S,factory:function(){return(0,c.f3M)(F)},providedIn:"platform"}),K})();const h=new c.OlP("Location Initialized");let F=(()=>{var S;class K extends p{constructor(){super(),this._doc=(0,c.f3M)(g),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return w().getBaseHref(this._doc)}onPopState(H){const Ce=w().getGlobalEventTarget(this._doc,"window");return Ce.addEventListener("popstate",H,!1),()=>Ce.removeEventListener("popstate",H)}onHashChange(H){const Ce=w().getGlobalEventTarget(this._doc,"window");return Ce.addEventListener("hashchange",H,!1),()=>Ce.removeEventListener("hashchange",H)}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(H){this._location.pathname=H}pushState(H,Ce,Ke){this._history.pushState(H,Ce,Ke)}replaceState(H,Ce,Ke){this._history.replaceState(H,Ce,Ke)}forward(){this._history.forward()}back(){this._history.back()}historyGo(H=0){this._history.go(H)}getState(){return this._history.state}}return(S=K).\u0275fac=function(H){return new(H||S)},S.\u0275prov=c.Yz7({token:S,factory:function(){return new S},providedIn:"platform"}),K})();function T(S,K){if(0==S.length)return K;if(0==K.length)return S;let Re=0;return S.endsWith("/")&&Re++,K.startsWith("/")&&Re++,2==Re?S+K.substring(1):1==Re?S+K:S+"/"+K}function $(S){const K=S.match(/#|\?|$/),Re=K&&K.index||S.length;return S.slice(0,Re-("/"===S[Re-1]?1:0))+S.slice(Re)}function x(S){return S&&"?"!==S[0]?"?"+S:S}let J=(()=>{var S;class K{historyGo(H){throw new Error("Not implemented")}}return(S=K).\u0275fac=function(H){return new(H||S)},S.\u0275prov=c.Yz7({token:S,factory:function(){return(0,c.f3M)(U)},providedIn:"root"}),K})();const te=new c.OlP("appBaseHref");let U=(()=>{var S;class K extends J{constructor(H,Ce){super(),this._platformLocation=H,this._removeListenerFns=[],this._baseHref=Ce??this._platformLocation.getBaseHrefFromDOM()??(0,c.f3M)(g).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(H){this._removeListenerFns.push(this._platformLocation.onPopState(H),this._platformLocation.onHashChange(H))}getBaseHref(){return this._baseHref}prepareExternalUrl(H){return T(this._baseHref,H)}path(H=!1){const Ce=this._platformLocation.pathname+x(this._platformLocation.search),Ke=this._platformLocation.hash;return Ke&&H?`${Ce}${Ke}`:Ce}pushState(H,Ce,Ke,bt){const Gt=this.prepareExternalUrl(Ke+x(bt));this._platformLocation.pushState(H,Ce,Gt)}replaceState(H,Ce,Ke,bt){const Gt=this.prepareExternalUrl(Ke+x(bt));this._platformLocation.replaceState(H,Ce,Gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(H=0){this._platformLocation.historyGo?.(H)}}return(S=K).\u0275fac=function(H){return new(H||S)(c.LFG(p),c.LFG(te,8))},S.\u0275prov=c.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),K})(),ee=(()=>{var S;class K extends J{constructor(H,Ce){super(),this._platformLocation=H,this._baseHref="",this._removeListenerFns=[],null!=Ce&&(this._baseHref=Ce)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(H){this._removeListenerFns.push(this._platformLocation.onPopState(H),this._platformLocation.onHashChange(H))}getBaseHref(){return this._baseHref}path(H=!1){let Ce=this._platformLocation.hash;return null==Ce&&(Ce="#"),Ce.length>0?Ce.substring(1):Ce}prepareExternalUrl(H){const Ce=T(this._baseHref,H);return Ce.length>0?"#"+Ce:Ce}pushState(H,Ce,Ke,bt){let Gt=this.prepareExternalUrl(Ke+x(bt));0==Gt.length&&(Gt=this._platformLocation.pathname),this._platformLocation.pushState(H,Ce,Gt)}replaceState(H,Ce,Ke,bt){let Gt=this.prepareExternalUrl(Ke+x(bt));0==Gt.length&&(Gt=this._platformLocation.pathname),this._platformLocation.replaceState(H,Ce,Gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(H=0){this._platformLocation.historyGo?.(H)}}return(S=K).\u0275fac=function(H){return new(H||S)(c.LFG(p),c.LFG(te,8))},S.\u0275prov=c.Yz7({token:S,factory:S.\u0275fac}),K})(),de=(()=>{var S;class K{constructor(H){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=H;const Ce=this._locationStrategy.getBaseHref();this._basePath=function q(S){if(new RegExp("^(https?:)?//").test(S)){const[,Re]=S.split(/\/\/[^\/]+/);return Re}return S}($(Ne(Ce))),this._locationStrategy.onPopState(Ke=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ke.state,type:Ke.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(H=!1){return this.normalize(this._locationStrategy.path(H))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(H,Ce=""){return this.path()==this.normalize(H+x(Ce))}normalize(H){return K.stripTrailingSlash(function we(S,K){if(!S||!K.startsWith(S))return K;const Re=K.substring(S.length);return""===Re||["/",";","?","#"].includes(Re[0])?Re:K}(this._basePath,Ne(H)))}prepareExternalUrl(H){return H&&"/"!==H[0]&&(H="/"+H),this._locationStrategy.prepareExternalUrl(H)}go(H,Ce="",Ke=null){this._locationStrategy.pushState(Ke,"",H,Ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(H+x(Ce)),Ke)}replaceState(H,Ce="",Ke=null){this._locationStrategy.replaceState(Ke,"",H,Ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(H+x(Ce)),Ke)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(H=0){this._locationStrategy.historyGo?.(H)}onUrlChange(H){return this._urlChangeListeners.push(H),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ce=>{this._notifyUrlChangeListeners(Ce.url,Ce.state)})),()=>{const Ce=this._urlChangeListeners.indexOf(H);this._urlChangeListeners.splice(Ce,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(H="",Ce){this._urlChangeListeners.forEach(Ke=>Ke(H,Ce))}subscribe(H,Ce,Ke){return this._subject.subscribe({next:H,error:Ce,complete:Ke})}}return(S=K).normalizeQueryParams=x,S.joinWithSlash=T,S.stripTrailingSlash=$,S.\u0275fac=function(H){return new(H||S)(c.LFG(J))},S.\u0275prov=c.Yz7({token:S,factory:function(){return function le(){return new de((0,c.LFG)(J))}()},providedIn:"root"}),K})();function Ne(S){return S.replace(/\/index.html$/,"")}var he=function(S){return S[S.Format=0]="Format",S[S.Standalone=1]="Standalone",S}(he||{}),_e=function(S){return S[S.Narrow=0]="Narrow",S[S.Abbreviated=1]="Abbreviated",S[S.Wide=2]="Wide",S[S.Short=3]="Short",S}(_e||{}),re=function(S){return S[S.Short=0]="Short",S[S.Medium=1]="Medium",S[S.Long=2]="Long",S[S.Full=3]="Full",S}(re||{}),ne=function(S){return S[S.Decimal=0]="Decimal",S[S.Group=1]="Group",S[S.List=2]="List",S[S.PercentSign=3]="PercentSign",S[S.PlusSign=4]="PlusSign",S[S.MinusSign=5]="MinusSign",S[S.Exponential=6]="Exponential",S[S.SuperscriptingExponent=7]="SuperscriptingExponent",S[S.PerMille=8]="PerMille",S[S.Infinity=9]="Infinity",S[S.NaN=10]="NaN",S[S.TimeSeparator=11]="TimeSeparator",S[S.CurrencyDecimal=12]="CurrencyDecimal",S[S.CurrencyGroup=13]="CurrencyGroup",S}(ne||{});function xe(S,K){return Bn((0,c.cg1)(S)[c.wAp.DateFormat],K)}function Ve(S,K){return Bn((0,c.cg1)(S)[c.wAp.TimeFormat],K)}function Ue(S,K){return Bn((0,c.cg1)(S)[c.wAp.DateTimeFormat],K)}function st(S,K){const Re=(0,c.cg1)(S),H=Re[c.wAp.NumberSymbols][K];if(typeof H>"u"){if(K===ne.CurrencyDecimal)return Re[c.wAp.NumberSymbols][ne.Decimal];if(K===ne.CurrencyGroup)return Re[c.wAp.NumberSymbols][ne.Group]}return H}function an(S){if(!S[c.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${S[c.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bn(S,K){for(let Re=K;Re>-1;Re--)if(typeof S[Re]<"u")return S[Re];throw new Error("Locale data API: locale data undefined")}function Ar(S){const[K,Re]=S.split(":");return{hours:+K,minutes:+Re}}const lt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Mt={},Nt=/((?:[^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]*)/;var kt=function(S){return S[S.Short=0]="Short",S[S.ShortGMT=1]="ShortGMT",S[S.Long=2]="Long",S[S.Extended=3]="Extended",S}(kt||{}),He=function(S){return S[S.FullYear=0]="FullYear",S[S.Month=1]="Month",S[S.Date=2]="Date",S[S.Hours=3]="Hours",S[S.Minutes=4]="Minutes",S[S.Seconds=5]="Seconds",S[S.FractionalSeconds=6]="FractionalSeconds",S[S.Day=7]="Day",S}(He||{}),ht=function(S){return S[S.DayPeriods=0]="DayPeriods",S[S.Days=1]="Days",S[S.Months=2]="Months",S[S.Eras=3]="Eras",S}(ht||{});function qt(S,K,Re,H){let Ce=function Te(S){if(Pe(S))return S;if("number"==typeof S&&!isNaN(S))return new Date(S);if("string"==typeof S){if(S=S.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(S)){const[Ce,Ke=1,bt=1]=S.split("-").map(Gt=>+Gt);return Et(Ce,Ke-1,bt)}const Re=parseFloat(S);if(!isNaN(S-Re))return new Date(Re);let H;if(H=S.match(lt))return function ge(S){const K=new Date(0);let Re=0,H=0;const Ce=S[8]?K.setUTCFullYear:K.setFullYear,Ke=S[8]?K.setUTCHours:K.setHours;S[9]&&(Re=Number(S[9]+S[10]),H=Number(S[9]+S[11])),Ce.call(K,Number(S[1]),Number(S[2])-1,Number(S[3]));const bt=Number(S[4]||0)-Re,Gt=Number(S[5]||0)-H,ur=Number(S[6]||0),Mr=Math.floor(1e3*parseFloat("0."+(S[7]||0)));return Ke.call(K,bt,Gt,ur,Mr),K}(H)}const K=new Date(S);if(!Pe(K))throw new Error(`Unable to convert "${S}" into a date`);return K}(S);K=Jt(Re,K)||K;let Gt,bt=[];for(;K;){if(Gt=Nt.exec(K),!Gt){bt.push(K);break}{bt=bt.concat(Gt.slice(1));const yr=bt.pop();if(!yr)break;K=yr}}let ur=Ce.getTimezoneOffset();H&&(ur=Ci(H,ur),Ce=function Vt(S,K,Re){const H=Re?-1:1,Ce=S.getTimezoneOffset();return function bi(S,K){return(S=new Date(S.getTime())).setMinutes(S.getMinutes()+K),S}(S,H*(Ci(K,Ce)-Ce))}(Ce,H,!0));let Mr="";return bt.forEach(yr=>{const sr=function ji(S){if(Si[S])return Si[S];let K;switch(S){case"G":case"GG":case"GGG":K=zn(ht.Eras,_e.Abbreviated);break;case"GGGG":K=zn(ht.Eras,_e.Wide);break;case"GGGGG":K=zn(ht.Eras,_e.Narrow);break;case"y":K=Zt(He.FullYear,1,0,!1,!0);break;case"yy":K=Zt(He.FullYear,2,0,!0,!0);break;case"yyy":K=Zt(He.FullYear,3,0,!1,!0);break;case"yyyy":K=Zt(He.FullYear,4,0,!1,!0);break;case"Y":K=ss(1);break;case"YY":K=ss(2,!0);break;case"YYY":K=ss(3);break;case"YYYY":K=ss(4);break;case"M":case"L":K=Zt(He.Month,1,1);break;case"MM":case"LL":K=Zt(He.Month,2,1);break;case"MMM":K=zn(ht.Months,_e.Abbreviated);break;case"MMMM":K=zn(ht.Months,_e.Wide);break;case"MMMMM":K=zn(ht.Months,_e.Narrow);break;case"LLL":K=zn(ht.Months,_e.Abbreviated,he.Standalone);break;case"LLLL":K=zn(ht.Months,_e.Wide,he.Standalone);break;case"LLLLL":K=zn(ht.Months,_e.Narrow,he.Standalone);break;case"w":K=di(1);break;case"ww":K=di(2);break;case"W":K=di(1,!0);break;case"d":K=Zt(He.Date,1);break;case"dd":K=Zt(He.Date,2);break;case"c":case"cc":K=Zt(He.Day,1);break;case"ccc":K=zn(ht.Days,_e.Abbreviated,he.Standalone);break;case"cccc":K=zn(ht.Days,_e.Wide,he.Standalone);break;case"ccccc":K=zn(ht.Days,_e.Narrow,he.Standalone);break;case"cccccc":K=zn(ht.Days,_e.Short,he.Standalone);break;case"E":case"EE":case"EEE":K=zn(ht.Days,_e.Abbreviated);break;case"EEEE":K=zn(ht.Days,_e.Wide);break;case"EEEEE":K=zn(ht.Days,_e.Narrow);break;case"EEEEEE":K=zn(ht.Days,_e.Short);break;case"a":case"aa":case"aaa":K=zn(ht.DayPeriods,_e.Abbreviated);break;case"aaaa":K=zn(ht.DayPeriods,_e.Wide);break;case"aaaaa":K=zn(ht.DayPeriods,_e.Narrow);break;case"b":case"bb":case"bbb":K=zn(ht.DayPeriods,_e.Abbreviated,he.Standalone,!0);break;case"bbbb":K=zn(ht.DayPeriods,_e.Wide,he.Standalone,!0);break;case"bbbbb":K=zn(ht.DayPeriods,_e.Narrow,he.Standalone,!0);break;case"B":case"BB":case"BBB":K=zn(ht.DayPeriods,_e.Abbreviated,he.Format,!0);break;case"BBBB":K=zn(ht.DayPeriods,_e.Wide,he.Format,!0);break;case"BBBBB":K=zn(ht.DayPeriods,_e.Narrow,he.Format,!0);break;case"h":K=Zt(He.Hours,1,-12);break;case"hh":K=Zt(He.Hours,2,-12);break;case"H":K=Zt(He.Hours,1);break;case"HH":K=Zt(He.Hours,2);break;case"m":K=Zt(He.Minutes,1);break;case"mm":K=Zt(He.Minutes,2);break;case"s":K=Zt(He.Seconds,1);break;case"ss":K=Zt(He.Seconds,2);break;case"S":K=Zt(He.FractionalSeconds,1);break;case"SS":K=Zt(He.FractionalSeconds,2);break;case"SSS":K=Zt(He.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":K=mi(kt.Short);break;case"ZZZZZ":K=mi(kt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":K=mi(kt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":K=mi(kt.Long);break;default:return null}return Si[S]=K,K}(yr);Mr+=sr?sr(Ce,Re,ur):"''"===yr?"'":yr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Mr}function Et(S,K,Re){const H=new Date(0);return H.setFullYear(S,K,Re),H.setHours(0,0,0),H}function Jt(S,K){const Re=function je(S){return(0,c.cg1)(S)[c.wAp.LocaleId]}(S);if(Mt[Re]=Mt[Re]||{},Mt[Re][K])return Mt[Re][K];let H="";switch(K){case"shortDate":H=xe(S,re.Short);break;case"mediumDate":H=xe(S,re.Medium);break;case"longDate":H=xe(S,re.Long);break;case"fullDate":H=xe(S,re.Full);break;case"shortTime":H=Ve(S,re.Short);break;case"mediumTime":H=Ve(S,re.Medium);break;case"longTime":H=Ve(S,re.Long);break;case"fullTime":H=Ve(S,re.Full);break;case"short":const Ce=Jt(S,"shortTime"),Ke=Jt(S,"shortDate");H=zt(Ue(S,re.Short),[Ce,Ke]);break;case"medium":const bt=Jt(S,"mediumTime"),Gt=Jt(S,"mediumDate");H=zt(Ue(S,re.Medium),[bt,Gt]);break;case"long":const ur=Jt(S,"longTime"),Mr=Jt(S,"longDate");H=zt(Ue(S,re.Long),[ur,Mr]);break;case"full":const yr=Jt(S,"fullTime"),sr=Jt(S,"fullDate");H=zt(Ue(S,re.Full),[yr,sr])}return H&&(Mt[Re][K]=H),H}function zt(S,K){return K&&(S=S.replace(/\{([^}]+)}/g,function(Re,H){return null!=K&&H in K?K[H]:Re})),S}function Ln(S,K,Re="-",H,Ce){let Ke="";(S<0||Ce&&S<=0)&&(Ce?S=1-S:(S=-S,Ke=Re));let bt=String(S);for(;bt.length<K;)bt="0"+bt;return H&&(bt=bt.slice(bt.length-K)),Ke+bt}function Zt(S,K,Re=0,H=!1,Ce=!1){return function(Ke,bt){let Gt=function wr(S,K){switch(S){case He.FullYear:return K.getFullYear();case He.Month:return K.getMonth();case He.Date:return K.getDate();case He.Hours:return K.getHours();case He.Minutes:return K.getMinutes();case He.Seconds:return K.getSeconds();case He.FractionalSeconds:return K.getMilliseconds();case He.Day:return K.getDay();default:throw new Error(`Unknown DateType value "${S}".`)}}(S,Ke);if((Re>0||Gt>-Re)&&(Gt+=Re),S===He.Hours)0===Gt&&-12===Re&&(Gt=12);else if(S===He.FractionalSeconds)return function Dn(S,K){return Ln(S,3).substring(0,K)}(Gt,K);const ur=st(bt,ne.MinusSign);return Ln(Gt,K,ur,H,Ce)}}function zn(S,K,Re=he.Format,H=!1){return function(Ce,Ke){return function In(S,K,Re,H,Ce,Ke){switch(Re){case ht.Months:return function Se(S,K,Re){const H=(0,c.cg1)(S),Ke=Bn([H[c.wAp.MonthsFormat],H[c.wAp.MonthsStandalone]],K);return Bn(Ke,Re)}(K,Ce,H)[S.getMonth()];case ht.Days:return function Le(S,K,Re){const H=(0,c.cg1)(S),Ke=Bn([H[c.wAp.DaysFormat],H[c.wAp.DaysStandalone]],K);return Bn(Ke,Re)}(K,Ce,H)[S.getDay()];case ht.DayPeriods:const bt=S.getHours(),Gt=S.getMinutes();if(Ke){const Mr=function $n(S){const K=(0,c.cg1)(S);return an(K),(K[c.wAp.ExtraData][2]||[]).map(H=>"string"==typeof H?Ar(H):[Ar(H[0]),Ar(H[1])])}(K),yr=function lr(S,K,Re){const H=(0,c.cg1)(S);an(H);const Ke=Bn([H[c.wAp.ExtraData][0],H[c.wAp.ExtraData][1]],K)||[];return Bn(Ke,Re)||[]}(K,Ce,H),sr=Mr.findIndex(ei=>{if(Array.isArray(ei)){const[Ir,fi]=ei,js=bt>=Ir.hours&&Gt>=Ir.minutes,ys=bt<fi.hours||bt===fi.hours&&Gt<fi.minutes;if(Ir.hours<fi.hours){if(js&&ys)return!0}else if(js||ys)return!0}else if(ei.hours===bt&&ei.minutes===Gt)return!0;return!1});if(-1!==sr)return yr[sr]}return function Ge(S,K,Re){const H=(0,c.cg1)(S),Ke=Bn([H[c.wAp.DayPeriodsFormat],H[c.wAp.DayPeriodsStandalone]],K);return Bn(Ke,Re)}(K,Ce,H)[bt<12?0:1];case ht.Eras:return function ze(S,K){return Bn((0,c.cg1)(S)[c.wAp.Eras],K)}(K,H)[S.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Re}`)}}(Ce,Ke,S,K,Re,H)}}function mi(S){return function(K,Re,H){const Ce=-1*H,Ke=st(Re,ne.MinusSign),bt=Ce>0?Math.floor(Ce/60):Math.ceil(Ce/60);switch(S){case kt.Short:return(Ce>=0?"+":"")+Ln(bt,2,Ke)+Ln(Math.abs(Ce%60),2,Ke);case kt.ShortGMT:return"GMT"+(Ce>=0?"+":"")+Ln(bt,1,Ke);case kt.Long:return"GMT"+(Ce>=0?"+":"")+Ln(bt,2,Ke)+":"+Ln(Math.abs(Ce%60),2,Ke);case kt.Extended:return 0===H?"Z":(Ce>=0?"+":"")+Ln(bt,2,Ke)+":"+Ln(Math.abs(Ce%60),2,Ke);default:throw new Error(`Unknown zone width "${S}"`)}}}const is=0,Gr=4;function ri(S){return Et(S.getFullYear(),S.getMonth(),S.getDate()+(Gr-S.getDay()))}function di(S,K=!1){return function(Re,H){let Ce;if(K){const Ke=new Date(Re.getFullYear(),Re.getMonth(),1).getDay()-1,bt=Re.getDate();Ce=1+Math.floor((bt+Ke)/7)}else{const Ke=ri(Re),bt=function Wr(S){const K=Et(S,is,1).getDay();return Et(S,0,1+(K<=Gr?Gr:Gr+7)-K)}(Ke.getFullYear()),Gt=Ke.getTime()-bt.getTime();Ce=1+Math.round(Gt/6048e5)}return Ln(Ce,S,st(H,ne.MinusSign))}}function ss(S,K=!1){return function(Re,H){return Ln(ri(Re).getFullYear(),S,st(H,ne.MinusSign),K)}}const Si={};function Ci(S,K){S=S.replace(/:/g,"");const Re=Date.parse("Jan 01, 1970 00:00:00 "+S)/6e4;return isNaN(Re)?K:Re}function Pe(S){return S instanceof Date&&!isNaN(S.valueOf())}function mr(S,K){K=encodeURIComponent(K);for(const Re of S.split(";")){const H=Re.indexOf("="),[Ce,Ke]=-1==H?[Re,""]:[Re.slice(0,H),Re.slice(H+1)];if(Ce.trim()===K)return decodeURIComponent(Ke)}return null}const ar=/\s+/,En=[];let Jn=(()=>{var S;class K{constructor(H,Ce,Ke,bt){this._iterableDiffers=H,this._keyValueDiffers=Ce,this._ngEl=Ke,this._renderer=bt,this.initialClasses=En,this.stateMap=new Map}set klass(H){this.initialClasses=null!=H?H.trim().split(ar):En}set ngClass(H){this.rawClass="string"==typeof H?H.trim().split(ar):H}ngDoCheck(){for(const Ce of this.initialClasses)this._updateState(Ce,!0);const H=this.rawClass;if(Array.isArray(H)||H instanceof Set)for(const Ce of H)this._updateState(Ce,!0);else if(null!=H)for(const Ce of Object.keys(H))this._updateState(Ce,!!H[Ce]);this._applyStateDiff()}_updateState(H,Ce){const Ke=this.stateMap.get(H);void 0!==Ke?(Ke.enabled!==Ce&&(Ke.changed=!0,Ke.enabled=Ce),Ke.touched=!0):this.stateMap.set(H,{enabled:Ce,changed:!0,touched:!0})}_applyStateDiff(){for(const H of this.stateMap){const Ce=H[0],Ke=H[1];Ke.changed?(this._toggleClass(Ce,Ke.enabled),Ke.changed=!1):Ke.touched||(Ke.enabled&&this._toggleClass(Ce,!1),this.stateMap.delete(Ce)),Ke.touched=!1}}_toggleClass(H,Ce){(H=H.trim()).length>0&&H.split(ar).forEach(Ke=>{Ce?this._renderer.addClass(this._ngEl.nativeElement,Ke):this._renderer.removeClass(this._ngEl.nativeElement,Ke)})}}return(S=K).\u0275fac=function(H){return new(H||S)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},S.\u0275dir=c.lG2({type:S,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),K})();class Qi{constructor(K,Re,H,Ce){this.$implicit=K,this.ngForOf=Re,this.index=H,this.count=Ce}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ir=(()=>{var S;class K{set ngForOf(H){this._ngForOf=H,this._ngForOfDirty=!0}set ngForTrackBy(H){this._trackByFn=H}get ngForTrackBy(){return this._trackByFn}constructor(H,Ce,Ke){this._viewContainer=H,this._template=Ce,this._differs=Ke,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(H){H&&(this._template=H)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const H=this._ngForOf;!this._differ&&H&&(this._differ=this._differs.find(H).create(this.ngForTrackBy))}if(this._differ){const H=this._differ.diff(this._ngForOf);H&&this._applyChanges(H)}}_applyChanges(H){const Ce=this._viewContainer;H.forEachOperation((Ke,bt,Gt)=>{if(null==Ke.previousIndex)Ce.createEmbeddedView(this._template,new Qi(Ke.item,this._ngForOf,-1,-1),null===Gt?void 0:Gt);else if(null==Gt)Ce.remove(null===bt?void 0:bt);else if(null!==bt){const ur=Ce.get(bt);Ce.move(ur,Gt),Di(ur,Ke)}});for(let Ke=0,bt=Ce.length;Ke<bt;Ke++){const ur=Ce.get(Ke).context;ur.index=Ke,ur.count=bt,ur.ngForOf=this._ngForOf}H.forEachIdentityChange(Ke=>{Di(Ce.get(Ke.currentIndex),Ke)})}static ngTemplateContextGuard(H,Ce){return!0}}return(S=K).\u0275fac=function(H){return new(H||S)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},S.\u0275dir=c.lG2({type:S,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),K})();function Di(S,K){S.context.$implicit=K.item}let Bi=(()=>{var S;class K{constructor(H,Ce){this._viewContainer=H,this._context=new eo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ce}set ngIf(H){this._context.$implicit=this._context.ngIf=H,this._updateView()}set ngIfThen(H){Ui("ngIfThen",H),this._thenTemplateRef=H,this._thenViewRef=null,this._updateView()}set ngIfElse(H){Ui("ngIfElse",H),this._elseTemplateRef=H,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(H,Ce){return!0}}return(S=K).\u0275fac=function(H){return new(H||S)(c.Y36(c.s_b),c.Y36(c.Rgc))},S.\u0275dir=c.lG2({type:S,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),K})();class eo{constructor(){this.$implicit=null,this.ngIf=null}}function Ui(S,K){if(K&&!K.createEmbeddedView)throw new Error(`${S} must be a TemplateRef, but received '${(0,c.AaK)(K)}'.`)}let Ns=(()=>{var S;class K{constructor(H){this._viewContainerRef=H,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(H){if(H.ngTemplateOutlet||H.ngTemplateOutletInjector){const Ce=this._viewContainerRef;if(this._viewRef&&Ce.remove(Ce.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ke,ngTemplateOutletContext:bt,ngTemplateOutletInjector:Gt}=this;this._viewRef=Ce.createEmbeddedView(Ke,bt,Gt?{injector:Gt}:void 0)}else this._viewRef=null}else this._viewRef&&H.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(S=K).\u0275fac=function(H){return new(H||S)(c.Y36(c.s_b))},S.\u0275dir=c.lG2({type:S,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),K})();function vi(S,K){return new c.vHH(2100,!1)}class zs{createSubscription(K,Re){return(0,c.rg0)(()=>K.subscribe({next:Re,error:H=>{throw H}}))}dispose(K){(0,c.rg0)(()=>K.unsubscribe())}}class So{createSubscription(K,Re){return K.then(Re,H=>{throw H})}dispose(K){}}const bs=new So,Gs=new zs;let Hr=(()=>{var S;class K{constructor(H){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=H}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(H){return this._obj?H!==this._obj?(this._dispose(),this.transform(H)):this._latestValue:(H&&this._subscribe(H),this._latestValue)}_subscribe(H){this._obj=H,this._strategy=this._selectStrategy(H),this._subscription=this._strategy.createSubscription(H,Ce=>this._updateLatestValue(H,Ce))}_selectStrategy(H){if((0,c.QGY)(H))return bs;if((0,c.F4k)(H))return Gs;throw vi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(H,Ce){H===this._obj&&(this._latestValue=Ce,this._ref.markForCheck())}}return(S=K).\u0275fac=function(H){return new(H||S)(c.Y36(c.sBO,16))},S.\u0275pipe=c.Yjl({name:"async",type:S,pure:!1,standalone:!0}),K})();const Kn=new c.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),xr=new c.OlP("DATE_PIPE_DEFAULT_OPTIONS");let gr=(()=>{var S;class K{constructor(H,Ce,Ke){this.locale=H,this.defaultTimezone=Ce,this.defaultOptions=Ke}transform(H,Ce,Ke,bt){if(null==H||""===H||H!=H)return null;try{return qt(H,Ce??this.defaultOptions?.dateFormat??"mediumDate",bt||this.locale,Ke??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Gt){throw vi()}}}return(S=K).\u0275fac=function(H){return new(H||S)(c.Y36(c.soG,16),c.Y36(Kn,24),c.Y36(xr,24))},S.\u0275pipe=c.Yjl({name:"date",type:S,pure:!0,standalone:!0}),K})(),io=(()=>{var S;class K{}return(S=K).\u0275fac=function(H){return new(H||S)},S.\u0275mod=c.oAB({type:S}),S.\u0275inj=c.cJS({}),K})();const Jr="browser",ps="server";function Cs(S){return S===Jr}function Mo(S){return S===ps}let Ls=(()=>{var S;class K{}return(S=K).\u0275prov=(0,c.Yz7)({token:S,providedIn:"root",factory:()=>new gs((0,c.LFG)(g),window)}),K})();class gs{constructor(K,Re){this.document=K,this.window=Re,this.offset=()=>[0,0]}setOffset(K){this.offset=Array.isArray(K)?()=>K:K}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(K){this.supportsScrolling()&&this.window.scrollTo(K[0],K[1])}scrollToAnchor(K){if(!this.supportsScrolling())return;const Re=function Ms(S,K){const Re=S.getElementById(K)||S.getElementsByName(K)[0];if(Re)return Re;if("function"==typeof S.createTreeWalker&&S.body&&"function"==typeof S.body.attachShadow){const H=S.createTreeWalker(S.body,NodeFilter.SHOW_ELEMENT);let Ce=H.currentNode;for(;Ce;){const Ke=Ce.shadowRoot;if(Ke){const bt=Ke.getElementById(K)||Ke.querySelector(`[name="${K}"]`);if(bt)return bt}Ce=H.nextNode()}}return null}(this.document,K);Re&&(this.scrollToElement(Re),Re.focus())}setHistoryScrollRestoration(K){this.supportsScrolling()&&(this.window.history.scrollRestoration=K)}scrollToElement(K){const Re=K.getBoundingClientRect(),H=Re.left+this.window.pageXOffset,Ce=Re.top+this.window.pageYOffset,Ke=this.offset();this.window.scrollTo(H-Ke[0],Ce-Ke[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class cs{}},9862:(ie,Q,o)=>{"use strict";o.d(Q,{MP:()=>ji,Ni:()=>Ci,TP:()=>an,UA:()=>ze,WM:()=>J,eN:()=>be,h_:()=>di});var c=o(5879),_=o(2096),w=o(9666),C=o(5592),E=o(6328),g=o(2181),p=o(7398),h=o(4716),F=o(4664),T=o(6814);class ${}class x{}class J{constructor(Ae){this.normalizedNames=new Map,this.lazyUpdate=null,Ae?"string"==typeof Ae?this.lazyInit=()=>{this.headers=new Map,Ae.split("\n").forEach(ot=>{const ft=ot.indexOf(":");if(ft>0){const $t=ot.slice(0,ft),Bt=$t.toLowerCase(),mn=ot.slice(ft+1).trim();this.maybeSetNormalizedName($t,Bt),this.headers.has(Bt)?this.headers.get(Bt).push(mn):this.headers.set(Bt,[mn])}})}:typeof Headers<"u"&&Ae instanceof Headers?(this.headers=new Map,Ae.forEach((ot,ft)=>{this.setHeaderEntries(ft,ot)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ae).forEach(([ot,ft])=>{this.setHeaderEntries(ot,ft)})}:this.headers=new Map}has(Ae){return this.init(),this.headers.has(Ae.toLowerCase())}get(Ae){this.init();const ot=this.headers.get(Ae.toLowerCase());return ot&&ot.length>0?ot[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ae){return this.init(),this.headers.get(Ae.toLowerCase())||null}append(Ae,ot){return this.clone({name:Ae,value:ot,op:"a"})}set(Ae,ot){return this.clone({name:Ae,value:ot,op:"s"})}delete(Ae,ot){return this.clone({name:Ae,value:ot,op:"d"})}maybeSetNormalizedName(Ae,ot){this.normalizedNames.has(ot)||this.normalizedNames.set(ot,Ae)}init(){this.lazyInit&&(this.lazyInit instanceof J?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ae=>this.applyUpdate(Ae)),this.lazyUpdate=null))}copyFrom(Ae){Ae.init(),Array.from(Ae.headers.keys()).forEach(ot=>{this.headers.set(ot,Ae.headers.get(ot)),this.normalizedNames.set(ot,Ae.normalizedNames.get(ot))})}clone(Ae){const ot=new J;return ot.lazyInit=this.lazyInit&&this.lazyInit instanceof J?this.lazyInit:this,ot.lazyUpdate=(this.lazyUpdate||[]).concat([Ae]),ot}applyUpdate(Ae){const ot=Ae.name.toLowerCase();switch(Ae.op){case"a":case"s":let ft=Ae.value;if("string"==typeof ft&&(ft=[ft]),0===ft.length)return;this.maybeSetNormalizedName(Ae.name,ot);const $t=("a"===Ae.op?this.headers.get(ot):void 0)||[];$t.push(...ft),this.headers.set(ot,$t);break;case"d":const Bt=Ae.value;if(Bt){let mn=this.headers.get(ot);if(!mn)return;mn=mn.filter(hn=>-1===Bt.indexOf(hn)),0===mn.length?(this.headers.delete(ot),this.normalizedNames.delete(ot)):this.headers.set(ot,mn)}else this.headers.delete(ot),this.normalizedNames.delete(ot)}}setHeaderEntries(Ae,ot){const ft=(Array.isArray(ot)?ot:[ot]).map(Bt=>Bt.toString()),$t=Ae.toLowerCase();this.headers.set($t,ft),this.maybeSetNormalizedName(Ae,$t)}forEach(Ae){this.init(),Array.from(this.normalizedNames.keys()).forEach(ot=>Ae(this.normalizedNames.get(ot),this.headers.get(ot)))}}class U{encodeKey(Ae){return we(Ae)}encodeValue(Ae){return we(Ae)}decodeKey(Ae){return decodeURIComponent(Ae)}decodeValue(Ae){return decodeURIComponent(Ae)}}const de=/%(\d[a-f0-9])/gi,le={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function we(Ye){return encodeURIComponent(Ye).replace(de,(Ae,ot)=>le[ot]??Ae)}function Ne(Ye){return`${Ye}`}class q{constructor(Ae={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ae.encoder||new U,Ae.fromString){if(Ae.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ee(Ye,Ae){const ot=new Map;return Ye.length>0&&Ye.replace(/^\?/,"").split("&").forEach($t=>{const Bt=$t.indexOf("="),[mn,hn]=-1==Bt?[Ae.decodeKey($t),""]:[Ae.decodeKey($t.slice(0,Bt)),Ae.decodeValue($t.slice(Bt+1))],_n=ot.get(mn)||[];_n.push(hn),ot.set(mn,_n)}),ot}(Ae.fromString,this.encoder)}else Ae.fromObject?(this.map=new Map,Object.keys(Ae.fromObject).forEach(ot=>{const ft=Ae.fromObject[ot],$t=Array.isArray(ft)?ft.map(Ne):[Ne(ft)];this.map.set(ot,$t)})):this.map=null}has(Ae){return this.init(),this.map.has(Ae)}get(Ae){this.init();const ot=this.map.get(Ae);return ot?ot[0]:null}getAll(Ae){return this.init(),this.map.get(Ae)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ae,ot){return this.clone({param:Ae,value:ot,op:"a"})}appendAll(Ae){const ot=[];return Object.keys(Ae).forEach(ft=>{const $t=Ae[ft];Array.isArray($t)?$t.forEach(Bt=>{ot.push({param:ft,value:Bt,op:"a"})}):ot.push({param:ft,value:$t,op:"a"})}),this.clone(ot)}set(Ae,ot){return this.clone({param:Ae,value:ot,op:"s"})}delete(Ae,ot){return this.clone({param:Ae,value:ot,op:"d"})}toString(){return this.init(),this.keys().map(Ae=>{const ot=this.encoder.encodeKey(Ae);return this.map.get(Ae).map(ft=>ot+"="+this.encoder.encodeValue(ft)).join("&")}).filter(Ae=>""!==Ae).join("&")}clone(Ae){const ot=new q({encoder:this.encoder});return ot.cloneFrom=this.cloneFrom||this,ot.updates=(this.updates||[]).concat(Ae),ot}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ae=>this.map.set(Ae,this.cloneFrom.map.get(Ae))),this.updates.forEach(Ae=>{switch(Ae.op){case"a":case"s":const ot=("a"===Ae.op?this.map.get(Ae.param):void 0)||[];ot.push(Ne(Ae.value)),this.map.set(Ae.param,ot);break;case"d":if(void 0===Ae.value){this.map.delete(Ae.param);break}{let ft=this.map.get(Ae.param)||[];const $t=ft.indexOf(Ne(Ae.value));-1!==$t&&ft.splice($t,1),ft.length>0?this.map.set(Ae.param,ft):this.map.delete(Ae.param)}}}),this.cloneFrom=this.updates=null)}}class oe{constructor(){this.map=new Map}set(Ae,ot){return this.map.set(Ae,ot),this}get(Ae){return this.map.has(Ae)||this.map.set(Ae,Ae.defaultValue()),this.map.get(Ae)}delete(Ae){return this.map.delete(Ae),this}has(Ae){return this.map.has(Ae)}keys(){return this.map.keys()}}function he(Ye){return typeof ArrayBuffer<"u"&&Ye instanceof ArrayBuffer}function _e(Ye){return typeof Blob<"u"&&Ye instanceof Blob}function re(Ye){return typeof FormData<"u"&&Ye instanceof FormData}class ve{constructor(Ae,ot,ft,$t){let Bt;if(this.url=ot,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ae.toUpperCase(),function fe(Ye){switch(Ye){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||$t?(this.body=void 0!==ft?ft:null,Bt=$t):Bt=ft,Bt&&(this.reportProgress=!!Bt.reportProgress,this.withCredentials=!!Bt.withCredentials,Bt.responseType&&(this.responseType=Bt.responseType),Bt.headers&&(this.headers=Bt.headers),Bt.context&&(this.context=Bt.context),Bt.params&&(this.params=Bt.params)),this.headers||(this.headers=new J),this.context||(this.context=new oe),this.params){const mn=this.params.toString();if(0===mn.length)this.urlWithParams=ot;else{const hn=ot.indexOf("?");this.urlWithParams=ot+(-1===hn?"?":hn<ot.length-1?"&":"")+mn}}else this.params=new q,this.urlWithParams=ot}serializeBody(){return null===this.body?null:he(this.body)||_e(this.body)||re(this.body)||function ne(Ye){return typeof URLSearchParams<"u"&&Ye instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof q?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||re(this.body)?null:_e(this.body)?this.body.type||null:he(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof q?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ae={}){const ot=Ae.method||this.method,ft=Ae.url||this.url,$t=Ae.responseType||this.responseType,Bt=void 0!==Ae.body?Ae.body:this.body,mn=void 0!==Ae.withCredentials?Ae.withCredentials:this.withCredentials,hn=void 0!==Ae.reportProgress?Ae.reportProgress:this.reportProgress;let _n=Ae.headers||this.headers,Yn=Ae.params||this.params;const Or=Ae.context??this.context;return void 0!==Ae.setHeaders&&(_n=Object.keys(Ae.setHeaders).reduce((Rt,Tr)=>Rt.set(Tr,Ae.setHeaders[Tr]),_n)),Ae.setParams&&(Yn=Object.keys(Ae.setParams).reduce((Rt,Tr)=>Rt.set(Tr,Ae.setParams[Tr]),Yn)),new ve(ot,ft,Bt,{params:Yn,headers:_n,context:Or,reportProgress:hn,responseType:$t,withCredentials:mn})}}var je=function(Ye){return Ye[Ye.Sent=0]="Sent",Ye[Ye.UploadProgress=1]="UploadProgress",Ye[Ye.ResponseHeader=2]="ResponseHeader",Ye[Ye.DownloadProgress=3]="DownloadProgress",Ye[Ye.Response=4]="Response",Ye[Ye.User=5]="User",Ye}(je||{});class Ge{constructor(Ae,ot=200,ft="OK"){this.headers=Ae.headers||new J,this.status=void 0!==Ae.status?Ae.status:ot,this.statusText=Ae.statusText||ft,this.url=Ae.url||null,this.ok=this.status>=200&&this.status<300}}class Le extends Ge{constructor(Ae={}){super(Ae),this.type=je.ResponseHeader}clone(Ae={}){return new Le({headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class Se extends Ge{constructor(Ae={}){super(Ae),this.type=je.Response,this.body=void 0!==Ae.body?Ae.body:null}clone(Ae={}){return new Se({body:void 0!==Ae.body?Ae.body:this.body,headers:Ae.headers||this.headers,status:void 0!==Ae.status?Ae.status:this.status,statusText:Ae.statusText||this.statusText,url:Ae.url||this.url||void 0})}}class ze extends Ge{constructor(Ae){super(Ae,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ae.url||"(unknown url)"}`:`Http failure response for ${Ae.url||"(unknown url)"}: ${Ae.status} ${Ae.statusText}`,this.error=Ae.error||null}}function Ee(Ye,Ae){return{body:Ae,headers:Ye.headers,context:Ye.context,observe:Ye.observe,params:Ye.params,reportProgress:Ye.reportProgress,responseType:Ye.responseType,withCredentials:Ye.withCredentials}}let be=(()=>{var Ye;class Ae{constructor(ft){this.handler=ft}request(ft,$t,Bt={}){let mn;if(ft instanceof ve)mn=ft;else{let Yn,Or;Yn=Bt.headers instanceof J?Bt.headers:new J(Bt.headers),Bt.params&&(Or=Bt.params instanceof q?Bt.params:new q({fromObject:Bt.params})),mn=new ve(ft,$t,void 0!==Bt.body?Bt.body:null,{headers:Yn,context:Bt.context,params:Or,reportProgress:Bt.reportProgress,responseType:Bt.responseType||"json",withCredentials:Bt.withCredentials})}const hn=(0,_.of)(mn).pipe((0,E.b)(Yn=>this.handler.handle(Yn)));if(ft instanceof ve||"events"===Bt.observe)return hn;const _n=hn.pipe((0,g.h)(Yn=>Yn instanceof Se));switch(Bt.observe||"body"){case"body":switch(mn.responseType){case"arraybuffer":return _n.pipe((0,p.U)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Yn.body}));case"blob":return _n.pipe((0,p.U)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof Blob))throw new Error("Response is not a Blob.");return Yn.body}));case"text":return _n.pipe((0,p.U)(Yn=>{if(null!==Yn.body&&"string"!=typeof Yn.body)throw new Error("Response is not a string.");return Yn.body}));default:return _n.pipe((0,p.U)(Yn=>Yn.body))}case"response":return _n;default:throw new Error(`Unreachable: unhandled observe type ${Bt.observe}}`)}}delete(ft,$t={}){return this.request("DELETE",ft,$t)}get(ft,$t={}){return this.request("GET",ft,$t)}head(ft,$t={}){return this.request("HEAD",ft,$t)}jsonp(ft,$t){return this.request("JSONP",ft,{params:(new q).append($t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ft,$t={}){return this.request("OPTIONS",ft,$t)}patch(ft,$t,Bt={}){return this.request("PATCH",ft,Ee(Bt,$t))}post(ft,$t,Bt={}){return this.request("POST",ft,Ee(Bt,$t))}put(ft,$t,Bt={}){return this.request("PUT",ft,Ee(Bt,$t))}}return(Ye=Ae).\u0275fac=function(ft){return new(ft||Ye)(c.LFG($))},Ye.\u0275prov=c.Yz7({token:Ye,factory:Ye.\u0275fac}),Ae})();function ln(Ye,Ae){return Ae(Ye)}function rn(Ye,Ae){return(ot,ft)=>Ae.intercept(ot,{handle:$t=>Ye($t,ft)})}const an=new c.OlP(""),$n=new c.OlP(""),lr=new c.OlP("");function fr(){let Ye=null;return(Ae,ot)=>{null===Ye&&(Ye=((0,c.f3M)(an,{optional:!0})??[]).reduceRight(rn,ln));const ft=(0,c.f3M)(c.HDt),$t=ft.add();return Ye(Ae,ot).pipe((0,h.x)(()=>ft.remove($t)))}}let Bn=(()=>{var Ye;class Ae extends ${constructor(ft,$t){super(),this.backend=ft,this.injector=$t,this.chain=null,this.pendingTasks=(0,c.f3M)(c.HDt)}handle(ft){if(null===this.chain){const Bt=Array.from(new Set([...this.injector.get($n),...this.injector.get(lr,[])]));this.chain=Bt.reduceRight((mn,hn)=>function bn(Ye,Ae,ot){return(ft,$t)=>ot.runInContext(()=>Ae(ft,Bt=>Ye(Bt,$t)))}(mn,hn,this.injector),ln)}const $t=this.pendingTasks.add();return this.chain(ft,Bt=>this.backend.handle(Bt)).pipe((0,h.x)(()=>this.pendingTasks.remove($t)))}}return(Ye=Ae).\u0275fac=function(ft){return new(ft||Ye)(c.LFG(x),c.LFG(c.lqb))},Ye.\u0275prov=c.Yz7({token:Ye,factory:Ye.\u0275fac}),Ae})();const Et=/^\)\]\}',?\n/;let zt=(()=>{var Ye;class Ae{constructor(ft){this.xhrFactory=ft}handle(ft){if("JSONP"===ft.method)throw new c.vHH(-2800,!1);const $t=this.xhrFactory;return($t.\u0275loadImpl?(0,w.D)($t.\u0275loadImpl()):(0,_.of)(null)).pipe((0,F.w)(()=>new C.y(mn=>{const hn=$t.build();if(hn.open(ft.method,ft.urlWithParams),ft.withCredentials&&(hn.withCredentials=!0),ft.headers.forEach((Jn,vr)=>hn.setRequestHeader(Jn,vr.join(","))),ft.headers.has("Accept")||hn.setRequestHeader("Accept","application/json, text/plain, */*"),!ft.headers.has("Content-Type")){const Jn=ft.detectContentTypeHeader();null!==Jn&&hn.setRequestHeader("Content-Type",Jn)}if(ft.responseType){const Jn=ft.responseType.toLowerCase();hn.responseType="json"!==Jn?Jn:"text"}const _n=ft.serializeBody();let Yn=null;const Or=()=>{if(null!==Yn)return Yn;const Jn=hn.statusText||"OK",vr=new J(hn.getAllResponseHeaders()),kr=function Jt(Ye){return"responseURL"in Ye&&Ye.responseURL?Ye.responseURL:/^X-Request-URL:/m.test(Ye.getAllResponseHeaders())?Ye.getResponseHeader("X-Request-URL"):null}(hn)||ft.url;return Yn=new Le({headers:vr,status:hn.status,statusText:Jn,url:kr}),Yn},Rt=()=>{let{headers:Jn,status:vr,statusText:kr,url:Qi}=Or(),ir=null;204!==vr&&(ir=typeof hn.response>"u"?hn.responseText:hn.response),0===vr&&(vr=ir?200:0);let Di=vr>=200&&vr<300;if("json"===ft.responseType&&"string"==typeof ir){const os=ir;ir=ir.replace(Et,"");try{ir=""!==ir?JSON.parse(ir):null}catch(Bi){ir=os,Di&&(Di=!1,ir={error:Bi,text:ir})}}Di?(mn.next(new Se({body:ir,headers:Jn,status:vr,statusText:kr,url:Qi||void 0})),mn.complete()):mn.error(new ze({error:ir,headers:Jn,status:vr,statusText:kr,url:Qi||void 0}))},Tr=Jn=>{const{url:vr}=Or(),kr=new ze({error:Jn,status:hn.status||0,statusText:hn.statusText||"Unknown Error",url:vr||void 0});mn.error(kr)};let mr=!1;const ar=Jn=>{mr||(mn.next(Or()),mr=!0);let vr={type:je.DownloadProgress,loaded:Jn.loaded};Jn.lengthComputable&&(vr.total=Jn.total),"text"===ft.responseType&&hn.responseText&&(vr.partialText=hn.responseText),mn.next(vr)},En=Jn=>{let vr={type:je.UploadProgress,loaded:Jn.loaded};Jn.lengthComputable&&(vr.total=Jn.total),mn.next(vr)};return hn.addEventListener("load",Rt),hn.addEventListener("error",Tr),hn.addEventListener("timeout",Tr),hn.addEventListener("abort",Tr),ft.reportProgress&&(hn.addEventListener("progress",ar),null!==_n&&hn.upload&&hn.upload.addEventListener("progress",En)),hn.send(_n),mn.next({type:je.Sent}),()=>{hn.removeEventListener("error",Tr),hn.removeEventListener("abort",Tr),hn.removeEventListener("load",Rt),hn.removeEventListener("timeout",Tr),ft.reportProgress&&(hn.removeEventListener("progress",ar),null!==_n&&hn.upload&&hn.upload.removeEventListener("progress",En)),hn.readyState!==hn.DONE&&hn.abort()}})))}}return(Ye=Ae).\u0275fac=function(ft){return new(ft||Ye)(c.LFG(T.JF))},Ye.\u0275prov=c.Yz7({token:Ye,factory:Ye.\u0275fac}),Ae})();const Ln=new c.OlP("XSRF_ENABLED"),Zt=new c.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),zn=new c.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class In{}let mi=(()=>{var Ye;class Ae{constructor(ft,$t,Bt){this.doc=ft,this.platform=$t,this.cookieName=Bt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ft=this.doc.cookie||"";return ft!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,T.Mx)(ft,this.cookieName),this.lastCookieString=ft),this.lastToken}}return(Ye=Ae).\u0275fac=function(ft){return new(ft||Ye)(c.LFG(T.K0),c.LFG(c.Lbi),c.LFG(Zt))},Ye.\u0275prov=c.Yz7({token:Ye,factory:Ye.\u0275fac}),Ae})();function is(Ye,Ae){const ot=Ye.url.toLowerCase();if(!(0,c.f3M)(Ln)||"GET"===Ye.method||"HEAD"===Ye.method||ot.startsWith("http://")||ot.startsWith("https://"))return Ae(Ye);const ft=(0,c.f3M)(In).getToken(),$t=(0,c.f3M)(zn);return null!=ft&&!Ye.headers.has($t)&&(Ye=Ye.clone({headers:Ye.headers.set($t,ft)})),Ae(Ye)}var Wr=function(Ye){return Ye[Ye.Interceptors=0]="Interceptors",Ye[Ye.LegacyInterceptors=1]="LegacyInterceptors",Ye[Ye.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ye[Ye.NoXsrfProtection=3]="NoXsrfProtection",Ye[Ye.JsonpSupport=4]="JsonpSupport",Ye[Ye.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ye[Ye.Fetch=6]="Fetch",Ye}(Wr||{});function ri(Ye,Ae){return{\u0275kind:Ye,\u0275providers:Ae}}function di(...Ye){const Ae=[be,zt,Bn,{provide:$,useExisting:Bn},{provide:x,useExisting:zt},{provide:$n,useValue:is,multi:!0},{provide:Ln,useValue:!0},{provide:In,useClass:mi}];for(const ot of Ye)Ae.push(...ot.\u0275providers);return(0,c.MR2)(Ae)}const Si=new c.OlP("LEGACY_INTERCEPTOR_FN");function ji(){return ri(Wr.LegacyInterceptors,[{provide:Si,useFactory:fr},{provide:$n,useExisting:Si,multi:!0}])}function Ci({cookieName:Ye,headerName:Ae}){const ot=[];return void 0!==Ye&&ot.push({provide:Zt,useValue:Ye}),void 0!==Ae&&ot.push({provide:zn,useValue:Ae}),ri(Wr.CustomXsrfConfiguration,ot)}},5879:(ie,Q,o)=>{"use strict";o.d(Q,{$8M:()=>Ku,$WT:()=>Mi,$Z:()=>rs,AFp:()=>fp,ALo:()=>f_,AaK:()=>x,BQk:()=>rh,CHM:()=>Qc,CRH:()=>O_,DdM:()=>e_,Dn7:()=>g_,EEQ:()=>Hs,EJc:()=>bC,EiD:()=>ep,EpF:()=>my,F$t:()=>wy,F4k:()=>vy,FYo:()=>_p,FiY:()=>tc,G48:()=>oM,Gf:()=>I_,GfV:()=>Ep,GkF:()=>Yp,Gpc:()=>U,GuJ:()=>Rt,HDt:()=>q_,HTZ:()=>s_,Hsn:()=>Sy,Ikx:()=>og,JOm:()=>kn,JVY:()=>wm,JZr:()=>Ne,KtG:()=>_c,L6k:()=>Sm,LAX:()=>Mm,LFG:()=>Be,LMc:()=>LM,LSH:()=>mf,Lbi:()=>Cf,Lck:()=>gS,MAs:()=>hy,MMx:()=>W0,MR2:()=>yf,NdJ:()=>Jp,O4$:()=>Lu,Ojb:()=>Xm,OlP:()=>Zt,Oqu:()=>sg,P3R:()=>rp,PXZ:()=>ZC,Q6J:()=>Wp,QGY:()=>Zp,QbO:()=>Jm,Qsj:()=>hv,R0b:()=>fs,RDi:()=>mm,RIp:()=>op,Rgc:()=>Od,SBq:()=>ll,Sil:()=>SC,Suo:()=>A_,TTD:()=>sr,TgZ:()=>eh,Tol:()=>Uy,Udp:()=>ng,VKq:()=>t_,VuI:()=>xM,W1O:()=>N_,WD2:()=>yr,WLB:()=>n_,X6Q:()=>sM,XFs:()=>kt,Xpm:()=>So,Xq5:()=>Jv,Xts:()=>ol,Y36:()=>qn,YKP:()=>z0,YNc:()=>ly,Yjl:()=>It,Yz7:()=>an,Z0I:()=>Bn,ZZ4:()=>Bg,_Bn:()=>V0,_UZ:()=>Qp,_Vd:()=>ul,_uU:()=>Qy,aQg:()=>Ug,c2e:()=>X_,cJS:()=>lr,cg1:()=>ag,dDg:()=>WC,dqk:()=>zt,eBb:()=>Cm,eJc:()=>Sg,ekj:()=>rg,eoX:()=>sE,f3M:()=>gt,g9A:()=>hp,h0i:()=>Iu,hGG:()=>DM,hij:()=>oh,iGM:()=>T_,iPO:()=>qC,ifc:()=>mn,ip1:()=>J_,jDz:()=>K0,kEZ:()=>r_,kL8:()=>g0,kcU:()=>Fl,l5B:()=>i_,lG2:()=>Ni,lcZ:()=>h_,lqb:()=>ra,lri:()=>rE,mCW:()=>sd,n5z:()=>Wu,oAB:()=>Yi,oJD:()=>tp,oxw:()=>Dy,pB0:()=>Tm,q3G:()=>Nc,q4F:()=>bp,qFp:()=>FM,qLn:()=>oc,qOj:()=>$p,qZA:()=>th,qzn:()=>mu,rFY:()=>o_,rWj:()=>iE,rg0:()=>Ke,sBO:()=>aM,s_b:()=>hh,soG:()=>gh,tb:()=>Ng,tp0:()=>lu,uIk:()=>Bp,vHH:()=>q,vpe:()=>ia,wAp:()=>wl,xi3:()=>p_,xp6:()=>li,ynx:()=>nh,z2F:()=>Tl,z3N:()=>Oa,zSh:()=>bf,zs3:()=>zo});var c=o(8645),_=o(7394),w=o(5592),C=o(3019),E=o(5619),g=o(2096),p=o(3020),h=o(4664),F=o(3997);function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function $(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function x(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(x).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function J(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const te=T({__forward_ref__:T});function U(e){return e.__forward_ref__=U,e.toString=function(){return x(this())},e}function ee(e){return de(e)?e():e}function de(e){return"function"==typeof e&&e.hasOwnProperty(te)&&e.__forward_ref__===U}function le(e){return e&&!!e.\u0275providers}const Ne="https://g.co/ng/security#xss";class q extends Error{constructor(t,n){super(function se(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function oe(e){return"string"==typeof e?e:null==e?"":String(e)}function ne(e,t){throw new q(-201,!1)}function dt(e,t){null==e&&function pt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function an(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function lr(e){return{providers:e.providers||[],imports:e.imports||[]}}function fr(e){return Ar(e,Xr)||Ar(e,Mt)}function Bn(e){return null!==fr(e)}function Ar(e,t){return e.hasOwnProperty(t)?e[t]:null}function ni(e){return e&&(e.hasOwnProperty(lt)||e.hasOwnProperty(Nt))?e[lt]:null}const Xr=T({\u0275prov:T}),lt=T({\u0275inj:T}),Mt=T({ngInjectableDef:T}),Nt=T({ngInjectorDef:T});var kt=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}(kt||{});let He;function qt(e){const t=He;return He=e,t}function Et(e,t,n){const r=fr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&kt.Optional?null:void 0!==t?t:void ne(x(e))}const zt=globalThis;class Zt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=an({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ji={},Ci="__NG_DI_FLAG__",bi="ngTempTokenPath",Te=/\n/gm,Pe="__source";let Oe;function De(e){const t=Oe;return Oe=e,t}function Qe(e,t=kt.Default){if(void 0===Oe)throw new q(-203,!1);return null===Oe?Et(e,void 0,t):Oe.get(e,t&kt.Optional?null:void 0,t)}function Be(e,t=kt.Default){return(function ht(){return He}()||Qe)(ee(e),t)}function gt(e,t=kt.Default){return Be(e,un(t))}function un(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gn(e){const t=[];for(let n=0;n<e.length;n++){const r=ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new q(900,!1);let i,a=kt.Default;for(let f=0;f<r.length;f++){const y=r[f],R=Ae(y);"number"==typeof R?-1===R?i=y.token:a|=R:i=y}t.push(Be(i,a))}else t.push(Be(r))}return t}function Ye(e,t){return e[Ci]=t,e.prototype[Ci]=t,e}function Ae(e){return e[Ci]}function $t(e){return{toString:e}.toString()}var Bt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bt||{}),mn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(mn||{});const hn={},_n=[],Yn=T({\u0275cmp:T}),Or=T({\u0275dir:T}),Rt=T({\u0275pipe:T}),Tr=T({\u0275mod:T}),mr=T({\u0275fac:T}),ar=T({__NG_ELEMENT_ID__:T}),En=T({__NG_ENV_ID__:T});function Jn(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}function vr(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],f=n[r++],y=n[r++];e.setAttribute(t,f,y,a)}else{const a=i,f=n[++r];Qi(a)?e.setProperty(t,a,f):e.setAttribute(t,a,f),r++}}return r}function kr(e){return 3===e||4===e||6===e}function Qi(e){return 64===e.charCodeAt(0)}function ir(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Di(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Di(e,t,n,r,i){let a=0,f=e.length;if(-1===t)f=-1;else for(;a<e.length;){const y=e[a++];if("number"==typeof y){if(y===t){f=-1;break}if(y>t){f=a-1;break}}}for(;a<e.length;){const y=e[a];if("number"==typeof y)break;if(y===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==f&&(e.splice(f,0,t),a=f+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}const os="ng-template";function Bi(e,t,n){let r=0,i=!0;for(;r<e.length;){let a=e[r++];if("string"==typeof a&&i){const f=e[r++];if(n&&"class"===a&&-1!==Jn(f.toLowerCase(),t,0))return!0}else{if(1===a){for(;r<e.length&&"string"==typeof(a=e[r++]);)if(a.toLowerCase()===t)return!0;return!1}"number"==typeof a&&(i=!1)}}return!1}function eo(e){return 4===e.type&&e.value!==os}function Ui(e,t,n){return t===(4!==e.type||n?e.value:os)}function xs(e,t,n){let r=4;const i=e.attrs||[],a=function $o(e){for(let t=0;t<e.length;t++)if(kr(e[t]))return t;return e.length}(i);let f=!1;for(let y=0;y<t.length;y++){const R=t[y];if("number"!=typeof R){if(!f)if(4&r){if(r=2|1&r,""!==R&&!Ui(e,R,n)||""===R&&1===t.length){if(wi(r))return!1;f=!0}}else{const Y=8&r?R:t[++y];if(8&r&&null!==e.attrs){if(!Bi(e.attrs,Y,n)){if(wi(r))return!1;f=!0}continue}const $e=to(8&r?"class":R,i,eo(e),n);if(-1===$e){if(wi(r))return!1;f=!0;continue}if(""!==Y){let Ze;Ze=$e>a?"":i[$e+1].toLowerCase();const nt=8&r?Ze:null;if(nt&&-1!==Jn(nt,Y,0)||2&r&&Y!==Ze){if(wi(r))return!1;f=!0}}}}else{if(!f&&!wi(r)&&!wi(R))return!1;if(f&&wi(R))continue;f=!1,r=R|1&r}}return wi(r)||f}function wi(e){return 0==(1&e)}function to(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const f=t[i];if(f===e)return i;if(3===f||6===f)a=!0;else{if(1===f||2===f){let y=t[++i];for(;"string"==typeof y;)y=t[++i];continue}if(4===f)break;if(0===f){i+=4;continue}}i+=a?1:2}return-1}return function jo(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function wo(e,t,n=!1){for(let r=0;r<t.length;r++)if(xs(e,t[r],n))return!0;return!1}function Bo(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Ns(e,t){return e?":not("+t.trim()+")":t}function no(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&r){const y=e[++n];i+="["+f+(y.length>0?'="'+y+'"':"")+"]"}else 8&r?i+="."+f:4&r&&(i+=" "+f);else""!==i&&!wi(f)&&(t+=Ns(a,i),i=""),r=f,a=a||!wi(r);n++}return""!==i&&(t+=Ns(a,i)),t}function So(e){return $t(()=>{const t=ws(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||mn.Emulated,styles:e.styles||_n,_:null,schemas:e.schemas||null,tView:null,id:""};as(n);const r=e.dependencies;return n.directiveDefs=Sr(r,!1),n.pipeDefs=Sr(r,!0),n.id=function Co(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Gs(e){return Kn(e)||xr(e)}function Hr(e){return null!==e}function Yi(e){return $t(()=>({type:e.type,bootstrap:e.bootstrap||_n,declarations:e.declarations||_n,imports:e.imports||_n,exports:e.exports||_n,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Zi(e,t){if(null==e)return hn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],a=i;Array.isArray(i)&&(a=i[1],i=i[0]),n[i]=r,t&&(t[i]=a)}return n}function Ni(e){return $t(()=>{const t=ws(e);return as(t),t})}function It(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Kn(e){return e[Yn]||null}function xr(e){return e[Or]||null}function gr(e){return e[Rt]||null}function Mi(e){const t=Kn(e)||xr(e)||gr(e);return null!==t&&t.standalone}function Ti(e,t){const n=e[Tr]||null;if(!n&&!0===t)throw new Error(`Type ${x(e)} does not have '\u0275mod' property.`);return n}function ws(e){const 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,inputTransforms:null,inputConfig:e.inputs||hn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||_n,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Zi(e.inputs,t),outputs:Zi(e.outputs)}}function as(e){e.features?.forEach(t=>t(e))}function Sr(e,t){if(!e)return null;const n=t?gr:Gs;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Hr)}const Nr=0,tn=1,Wn=2,Cr=3,Lr=4,Ws=5,Kr=6,io=7,Jr=8,ps=9,Ss=10,Fn=11,Cs=12,Mo=13,Ks=14,qr=15,so=16,Ls=17,gs=18,Ms=19,To=20,cs=21,Hi=22,ms=23,Fs=24,An=25,ks=1,Io=2,yi=7,Ii=9,_i=11;function ii(e){return Array.isArray(e)&&"object"==typeof e[ks]}function Vr(e){return Array.isArray(e)&&!0===e[ks]}function Ko(e){return 0!=(4&e.flags)}function vs(e){return e.componentOffset>-1}function $s(e){return 1==(1&e.flags)}function ai(e){return!!e.template}function Qs(e){return 0!=(512&e[Wn])}function m(e,t){return e.hasOwnProperty(mr)?e[mr]:null}let me=null,We=!1;function tt(e){const t=me;return me=e,t}const ct={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function wt(e){if(!cr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!sn(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Lt(e){e.dirty=!0,function Pt(e){if(void 0===e.liveConsumerNode)return;const t=We;We=!0;try{for(const n of e.liveConsumerNode)n.dirty||Lt(n)}finally{We=t}}(e),e.consumerMarkedDirty?.(e)}function Qt(e){return e&&(e.nextProducerIndex=0),tt(e)}function Xt(e,t){if(tt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(cr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Tn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function sn(e){Er(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(wt(n),r!==n.version))return!0}return!1}function vn(e){if(Er(e),cr(e))for(let t=0;t<e.producerNode.length;t++)Tn(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 Tn(e,t){if(function jn(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Er(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Tn(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Er(i),i.producerIndexOfThis[r]=t}}function cr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Er(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ts=null;function Ke(e){const t=tt(null);try{return e()}finally{tt(t)}}const Gt=()=>{},ur=(()=>({...ct,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Gt}))();class yr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function sr(){return ei}function ei(e){return e.type.prototype.ngOnChanges&&(e.setInput=fi),Ir}function Ir(){const e=ys(this),t=e?.current;if(t){const n=e.previous;if(n===hn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fi(e,t,n,r){const i=this.declaredInputs[n],a=ys(e)||function Ys(e,t){return e[js]=t}(e,{previous:hn,current:null}),f=a.current||(a.current={}),y=a.previous,R=y[i];f[i]=new yr(R&&R.currentValue,t,y===hn),e[r]=t}sr.ngInherit=!0;const js="__ngSimpleChanges__";function ys(e){return e[js]||null}const ki=function(e,t,n){},lo="svg";function Qr(e){for(;Array.isArray(e);)e=e[Nr];return e}function va(e,t){return Qr(t[e])}function us(e,t){return Qr(t[e.index])}function Ou(e,t){return e.data[t]}function Po(e,t){return e[t]}function ls(e,t){const n=t[e];return ii(n)?n:n[Nr]}function fo(e,t){return null==t?null:e[t]}function zc(e){e[Ls]=0}function Ol(e){1024&e[Wn]||(e[Wn]|=1024,ya(e,1))}function mc(e){1024&e[Wn]&&(e[Wn]&=-1025,ya(e,-1))}function ya(e,t){let n=e[Cr];if(null===n)return;n[Ws]+=t;let r=n;for(n=n[Cr];null!==n&&(1===t&&1===r[Ws]||-1===t&&0===r[Ws]);)n[Ws]+=t,r=n,n=n[Cr]}const Un={lFrame:Ot(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Pl(){return Un.bindingsEnabled}function Qa(){return null!==Un.skipHydrationRootTNode}function xt(){return Un.lFrame.lView}function _r(){return Un.lFrame.tView}function Qc(e){return Un.lFrame.contextLView=e,e[Jr]}function _c(e){return Un.lFrame.contextLView=null,e}function Gi(){let e=Yc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yc(){return Un.lFrame.currentTNode}function ho(e,t){const n=Un.lFrame;n.currentTNode=e,n.isParent=t}function Ya(){return Un.lFrame.isParent}function Ec(){Un.lFrame.isParent=!1}function _s(){const e=Un.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function B(){return Un.lFrame.bindingIndex++}function M(e){const t=Un.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ie(e,t){const n=Un.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yt(t)}function Yt(e){Un.lFrame.currentDirectiveIndex=e}function wn(){return Un.lFrame.currentQueryIndex}function Ct(e){Un.lFrame.currentQueryIndex=e}function tr(e){const t=e[tn];return 2===t.type?t.declTNode:1===t.type?e[Kr]:null}function pn(e,t,n){if(n&kt.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&kt.Host||(i=tr(a),null===i||(a=a[Ks],10&i.type))););if(null===i)return!1;t=i,e=a}const r=Un.lFrame=Dt();return r.currentTNode=t,r.lView=e,!0}function Rn(e){const t=Dt(),n=e[tn];Un.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Dt(){const e=Un.lFrame,t=null===e?null:e.child;return null===t?Ot(e):t}function Ot(e){const 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 null!==e&&(e.child=t),t}function ds(){const e=Un.lFrame;return Un.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Hn=ds;function $i(){const e=ds();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 Wi(){return Un.lFrame.selectedIndex}function ba(e){Un.lFrame.selectedIndex=e}function ci(){const e=Un.lFrame;return Ou(e.tView,e.selectedIndex)}function Lu(){Un.lFrame.currentNamespace=lo}function Fl(){!function Fu(){Un.lFrame.currentNamespace=null}()}let ku=!0;function xn(){return ku}function Ro(e){ku=e}function Dc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:y,ngAfterViewInit:R,ngAfterViewChecked:Y,ngOnDestroy:ue}=a;f&&(e.contentHooks??=[]).push(-n,f),y&&((e.contentHooks??=[]).push(n,y),(e.contentCheckHooks??=[]).push(n,y)),R&&(e.viewHooks??=[]).push(-n,R),Y&&((e.viewHooks??=[]).push(n,Y),(e.viewCheckHooks??=[]).push(n,Y)),null!=ue&&(e.destroyHooks??=[]).push(n,ue)}}function xo(e,t,n){qi(e,t,3,n)}function Uo(e,t,n,r){(3&e[Wn])===n&&qi(e,t,n,r)}function wc(e,t){let n=e[Wn];(3&n)===t&&(n&=8191,n+=1,e[Wn]=n)}function qi(e,t,n,r){const a=r??-1,f=t.length-1;let y=0;for(let R=void 0!==r?65535&e[Ls]:0;R<f;R++)if("number"==typeof t[R+1]){if(y=t[R],null!=r&&y>=r)break}else t[R]<0&&(e[Ls]+=65536),(y<a||-1==a)&&(Nd(e,n,t,R),e[Ls]=(4294901760&e[Ls])+R+2),R++}function kl(e,t){ki(4,e,t);const n=tt(null);try{t.call(e)}finally{tt(n),ki(5,e,t)}}function Nd(e,t,n,r){const i=n[r]<0,a=n[r+1],y=e[i?-n[r]:n[r]];i?e[Wn]>>13<e[Ls]>>16&&(3&e[Wn])===t&&(e[Wn]+=8192,kl(y,a)):kl(y,a)}const Xo=-1;class qo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function qc(e){return e!==Xo}function Zs(e){return 32767&e}function No(e,t){let n=function $u(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ks],n--;return r}let ju=!0;function Sc(e){const t=ju;return ju=e,t}const eu=255,Uu=5;let Cc=0;const po={};function Mc(e,t){const n=jl(e,t);if(-1!==n)return n;const r=t[tn];r.firstCreatePass&&(e.injectorIndex=t.length,Lo(r.data,e),Lo(t,null),Lo(r.blueprint,null));const i=tu(e,t),a=e.injectorIndex;if(qc(i)){const f=Zs(i),y=No(i,t),R=y[tn].data;for(let Y=0;Y<8;Y++)t[a+Y]=y[f+Y]|R[f+Y]}return t[a+8]=i,a}function Lo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jl(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function tu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=iu(i),null===r)return Xo;if(n++,i=i[Ks],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Xo}function wa(e,t,n){!function Hu(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ar)&&(r=n[ar]),null==r&&(r=n[ar]=Cc++);const i=r&eu;t.data[e+(i>>Uu)]|=1<<i}(e,t,n)}function Vu(e,t,n){if(n&kt.Optional||void 0!==e)return e;ne()}function zu(e,t,n,r){if(n&kt.Optional&&void 0===r&&(r=null),!(n&(kt.Self|kt.Host))){const i=e[ps],a=qt(void 0);try{return i?i.get(t,r,n&kt.Optional):Et(t,r,n&kt.Optional)}finally{qt(a)}}return Vu(r,0,n)}function Bl(e,t,n,r=kt.Default,i){if(null!==e){if(2048&t[Wn]&&!(r&kt.Self)){const f=function zl(e,t,n,r,i){let a=e,f=t;for(;null!==a&&null!==f&&2048&f[Wn]&&!(512&f[Wn]);){const y=Ul(a,f,n,r|kt.Self,po);if(y!==po)return y;let R=a.parent;if(!R){const Y=f[To];if(Y){const ue=Y.get(n,po,r);if(ue!==po)return ue}R=iu(f),f=f[Ks]}a=R}return i}(e,t,n,r,po);if(f!==po)return f}const a=Ul(e,t,n,r,po);if(a!==po)return a}return zu(t,n,r,i)}function Ul(e,t,n,r,i){const a=function Tc(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ar)?e[ar]:void 0;return"number"==typeof t?t>=0?t&eu:Vl:t}(n);if("function"==typeof a){if(!pn(t,e,r))return r&kt.Host?Vu(i,0,r):zu(t,n,r,i);try{let f;if(f=a(r),null!=f||r&kt.Optional)return f;ne()}finally{Hn()}}else if("number"==typeof a){let f=null,y=jl(e,t),R=Xo,Y=r&kt.Host?t[qr][Kr]:null;for((-1===y||r&kt.SkipSelf)&&(R=-1===y?tu(e,t):t[y+8],R!==Xo&&ru(r,!1)?(f=t[tn],y=Zs(R),t=No(R,t)):y=-1);-1!==y;){const ue=t[tn];if(Gu(a,y,ue.data)){const $e=jd(y,t,n,f,r,Y);if($e!==po)return $e}R=t[y+8],R!==Xo&&ru(r,t[tn].data[y+8]===Y)&&Gu(a,y,t)?(f=ue,y=Zs(R),t=No(R,t)):y=-1}}return i}function jd(e,t,n,r,i,a){const f=t[tn],y=f.data[e+8],ue=nu(y,f,n,null==r?vs(y)&&ju:r!=f&&0!=(3&y.type),i&kt.Host&&a===y);return null!==ue?Sa(t,f,ue,y):po}function nu(e,t,n,r,i){const a=e.providerIndexes,f=t.data,y=1048575&a,R=e.directiveStart,ue=a>>20,Ze=i?y+ue:e.directiveEnd;for(let nt=r?y:y+ue;nt<Ze;nt++){const St=f[nt];if(nt<R&&n===St||nt>=R&&St.type===n)return nt}if(i){const nt=f[R];if(nt&&ai(nt)&&nt.type===n)return R}return null}function Sa(e,t,n,r){let i=e[n];const a=t.data;if(function pi(e){return e instanceof qo}(i)){const f=i;f.resolving&&function he(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new q(-200,`Circular dependency in DI detected for ${e}${n}`)}(function fe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():oe(e)}(a[n]));const y=Sc(f.canSeeViewProviders);f.resolving=!0;const Y=f.injectImpl?qt(f.injectImpl):null;pn(e,r,kt.Default);try{i=e[n]=f.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function bc(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const f=ei(t);(n.preOrderHooks??=[]).push(e,f),(n.preOrderCheckHooks??=[]).push(e,f)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,a[n],t)}finally{null!==Y&&qt(Y),Sc(y),f.resolving=!1,Hn()}}return i}function Gu(e,t,n){return!!(n[t+(e>>Uu)]&1<<e)}function ru(e,t){return!(e&kt.Self||e&kt.Host&&t)}class ts{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Bl(this._tNode,this._lView,t,un(r),n)}}function Vl(){return new ts(Gi(),xt())}function Wu(e){return $t(()=>{const t=e.prototype.constructor,n=t[mr]||ea(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[mr]||ea(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function ea(e){return de(e)?()=>{const t=ea(ee(e));return t&&t()}:m(e)}function iu(e){const t=e[tn],n=t.type;return 2===n?t.declTNode:1===n?e[Kr]:null}function Ku(e){return function $d(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const a=n[i];if(kr(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(Gi(),e)}const Ma="__parameters__";function ta(e,t,n){return $t(()=>{const r=function su(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const f=new i(...a);return y.annotation=f,y;function y(R,Y,ue){const $e=R.hasOwnProperty(Ma)?R[Ma]:Object.defineProperty(R,Ma,{value:[]})[Ma];for(;$e.length<=ue;)$e.push(null);return($e[ue]=$e[ue]||[]).push(f),R}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Xa(e,t){e.forEach(n=>Array.isArray(n)?Xa(n,t):t(n))}function Kl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function au(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ac(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Us(e,t,n){let r=qa(e,t);return r>=0?e[1|r]=n:(r=~r,function wh(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function cu(e,t){const n=qa(e,t);if(n>=0)return e[1|n]}function qa(e,t){return function As(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),f=e[a<<n];if(t===f)return a<<n;f>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const tc=Ye(ta("Optional"),8),lu=Ye(ta("SkipSelf"),4);function Kt(e){return 128==(128&e.flags)}var kn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(kn||{});const si=/^>|^->|<!--|-->|--!>|<!-$/g,nr=/(<|>)/g,ns="\u200b$1\u200b";const Ho=new Map;let na=0;function Os(e){return Ho.get(e)||null}class qu{get lView(){return Os(this.lViewId)}constructor(t,n,r){this.lViewId=t,this.nodeIndex=n,this.native=r}}function Hs(e){let t=el(e);if(t){if(ii(t)){const n=t;let r,i,a;if(Th(e)){if(r=function Ah(e,t){const n=e[tn].components;if(n)for(let r=0;r<n.length;r++){const i=n[r];if(ls(i,e)[Jr]===t)return i}else if(ls(An,e)[Jr]===t)return An;return-1}(n,e),-1==r)throw new Error("The provided component was not found in the application");i=e}else if(function Wg(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function Qg(e,t){let n=e[tn].firstChild;for(;n;){const i=n.directiveEnd;for(let a=n.directiveStart;a<i;a++)if(e[a]===t)return n.index;n=Kg(n)}return-1}(n,e),-1==r)throw new Error("The provided directive was not found in the application");a=function Oh(e,t){const n=t[tn].data[e];if(0===n.directiveStart)return _n;const r=[];for(let i=n.directiveStart;i<n.directiveEnd;i++){const a=t[i];Th(a)||r.push(a)}return r}(r,n)}else if(r=Ih(n,e),-1==r)return null;const f=Qr(n[r]),y=el(f),R=y&&!Array.isArray(y)?y:Jd(n,r,f);if(i&&void 0===R.component&&(R.component=i,Ps(R.component,R)),a&&void 0===R.directives){R.directives=a;for(let Y=0;Y<a.length;Y++)Ps(a[Y],R)}Ps(R.native,R),t=R}}else{const n=e;let r=n;for(;r=r.parentNode;){const i=el(r);if(i){const a=Array.isArray(i)?i:i.lView;if(!a)return null;const f=Ih(a,n);if(f>=0){const y=Qr(a[f]),R=Jd(a,f,y);Ps(y,R),t=R;break}}}}return t||null}function Jd(e,t,n){return new qu(e[Ms],t,n)}const Xd="__ngContext__";function Ps(e,t){ii(t)?(e[Xd]=t[Ms],function oi(e){Ho.set(e[Ms],e)}(t)):e[Xd]=t}function el(e){const t=e[Xd];return"number"==typeof t?Os(t):t||null}function Th(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Ih(e,t){const n=e[tn];for(let r=An;r<n.bindingStartIndex;r++)if(Qr(e[r])===t)return r;return-1}function Kg(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}let qd;function ef(e,t){return qd(e,t)}function tl(e){const t=e[Cr];return Vr(t)?t[Cr]:t}function Ph(e){return xh(e[Cs])}function Rh(e){return xh(e[Lr])}function xh(e){for(;null!==e&&!Vr(e);)e=e[Lr];return e}function hu(e,t,n,r,i){if(null!=r){let a,f=!1;Vr(r)?a=r:ii(r)&&(f=!0,r=r[Nr]);const y=Qr(r);0===e&&null!==n?null==i?Vo(t,n,y):en(t,n,y,i||null,!0):1===e&&null!==n?en(t,n,y,i||null,!0):2===e?function nd(e,t,n){const r=vo(e,t);r&&function mo(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,y,f):3===e&&t.destroyNode(y),null!=a&&function lm(e,t,n,r,i){const a=n[yi];a!==Qr(n)&&hu(t,e,r,a,i);for(let y=_i;y<n.length;y++){const R=n[y];rl(R[tn],R,e,t,r,a)}}(t,e,a,n,i)}}function tf(e,t){return e.createComment(function Br(e){return e.replace(si,t=>t.replace(nr,ns))}(t))}function Xl(e,t,n){return e.createElement(t,n)}function Lh(e,t){const n=e[Ii],r=n.indexOf(t);mc(t),n.splice(r,1)}function ql(e,t){if(e.length<=_i)return;const n=_i+t,r=e[n];if(r){const i=r[so];null!==i&&i!==e&&Lh(i,r),t>0&&(e[n-1][Lr]=r[Lr]);const a=au(e,_i+t);!function em(e,t){rl(e,t,t[Fn],2,null,null),t[Nr]=null,t[Kr]=null}(r[tn],r);const f=a[gs];null!==f&&f.detachView(a[tn]),r[Cr]=null,r[Lr]=null,r[Wn]&=-129}return r}function nf(e,t){if(!(256&t[Wn])){const n=t[Fn];t[ms]&&vn(t[ms]),t[Fs]&&vn(t[Fs]),n.destroyNode&&rl(e,t,n,3,null,null),function rm(e){let t=e[Cs];if(!t)return rf(e[tn],e);for(;t;){let n=null;if(ii(t))n=t[Cs];else{const r=t[_i];r&&(n=r)}if(!n){for(;t&&!t[Lr]&&t!==e;)ii(t)&&rf(t[tn],t),t=t[Cr];null===t&&(t=e),ii(t)&&rf(t[tn],t),n=t&&t[Lr]}t=n}}(t)}}function rf(e,t){if(!(256&t[Wn])){t[Wn]&=-129,t[Wn]|=256,function am(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof qo)){const a=n[r+1];if(Array.isArray(a))for(let f=0;f<a.length;f+=2){const y=i[a[f]],R=a[f+1];ki(4,y,R);try{R.call(y)}finally{ki(5,y,R)}}else{ki(4,i,a);try{a.call(i)}finally{ki(5,i,a)}}}}}(e,t),function om(e,t){const n=e.cleanup,r=t[io];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const f=n[a+3];f>=0?r[f]():r[-f].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[io]=null);const i=t[cs];if(null!==i){t[cs]=null;for(let a=0;a<i.length;a++)(0,i[a])()}}(e,t),1===t[tn].type&&t[Fn].destroy();const n=t[so];if(null!==n&&Vr(t[Cr])){n!==t[Cr]&&Lh(n,t);const r=t[gs];null!==r&&r.detachView(e)}!function ic(e){Ho.delete(e[Ms])}(t)}}function sf(e,t,n){return function ed(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Nr];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:a}=e.data[r.directiveStart+i];if(a===mn.None||a===mn.Emulated)return null}return us(r,n)}}(e,t.parent,n)}function en(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Vo(e,t,n){e.appendChild(t,n)}function sc(e,t,n,r,i){null!==r?en(e,t,n,r,i):Vo(e,t,n)}function vo(e,t){return e.parentNode(t)}function Fh(e,t,n){return $h(e,t,n)}let af,rd,df,id,$h=function kh(e,t,n){return 40&e.type?us(e,n):null};function td(e,t,n,r){const i=sf(e,r,t),a=t[Fn],y=Fh(r.parent||t[Kr],r,t);if(null!=i)if(Array.isArray(n))for(let R=0;R<n.length;R++)sc(a,i,n[R],y,!1);else sc(a,i,n,y,!1);void 0!==af&&af(a,r,t,n,i)}function nl(e,t){if(null!==t){const n=t.type;if(3&n)return us(t,e);if(4&n)return cf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return nl(e,r);{const i=e[t.index];return Vr(i)?cf(-1,i):Qr(i)}}if(32&n)return ef(t,e)()||Qr(e[t.index]);{const r=Bh(e,t);return null!==r?Array.isArray(r)?r[0]:nl(tl(e[qr]),r):nl(e,t.next)}}return null}function Bh(e,t){return null!==t?e[qr][Kr].projection[t.projection]:null}function cf(e,t){const n=_i+e+1;if(n<t.length){const r=t[n],i=r[tn].firstChild;if(null!==i)return nl(r,i)}return t[yi]}function uf(e,t,n,r,i,a,f){for(;null!=n;){const y=r[n.index],R=n.type;if(f&&0===t&&(y&&Ps(Qr(y),r),n.flags|=2),32!=(32&n.flags))if(8&R)uf(e,t,n.child,r,i,a,!1),hu(t,e,i,y,a);else if(32&R){const Y=ef(n,r);let ue;for(;ue=Y();)hu(t,e,i,ue,a);hu(t,e,i,y,a)}else 16&R?Hh(e,t,r,n,i,a):hu(t,e,i,y,a);n=f?n.projectionNext:n.next}}function rl(e,t,n,r,i,a){uf(n,r,e.firstChild,t,i,a,!1)}function Hh(e,t,n,r,i,a){const f=n[qr],R=f[Kr].projection[r.projection];if(Array.isArray(R))for(let Y=0;Y<R.length;Y++)hu(t,e,i,R[Y],a);else{let Y=R;const ue=f[Cr];Kt(r)&&(Y.flags|=128),uf(e,t,Y,ue,i,a,!0)}}function Vh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zh(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&vr(e,t,r),null!==i&&Vh(e,t,i),null!==a&&function fm(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}function pu(e){return function lf(){if(void 0===rd&&(rd=null,zt.trustedTypes))try{rd=zt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rd}()?.createHTML(e)||e}function mm(e){df=e}function gu(){if(void 0!==df)return df;if(typeof document<"u")return document;throw new q(210,!1)}function ff(){if(void 0===id&&(id=null,zt.trustedTypes))try{id=zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return id}function Gh(e){return ff()?.createHTML(e)||e}function Kh(e){return ff()?.createScriptURL(e)||e}class xc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ne})`}}class vm extends xc{getTypeName(){return"HTML"}}class ym extends xc{getTypeName(){return"Style"}}class _m extends xc{getTypeName(){return"Script"}}class Em extends xc{getTypeName(){return"URL"}}class bm extends xc{getTypeName(){return"ResourceURL"}}function Oa(e){return e instanceof xc?e.changingThisBreaksApplicationSecurity:e}function mu(e,t){const n=function Dm(e){return e instanceof xc&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ne})`)}return n===t}function wm(e){return new vm(e)}function Sm(e){return new ym(e)}function Cm(e){return new _m(e)}function Mm(e){return new Em(e)}function Tm(e){return new bm(e)}class Im{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(pu(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Am{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=pu(t),n}}const Pm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sd(e){return(e=String(e)).match(Pm)?e:"unsafe:"+e}function Pa(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function il(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Yh=Pa("area,br,col,hr,img,wbr"),Zh=Pa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jh=Pa("rp,rt"),hf=il(Yh,il(Zh,Pa("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")),il(Jh,Pa("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")),il(Jh,Zh)),pf=Pa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xh=il(pf,Pa("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"),Pa("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")),Rm=Pa("script,style,template");class xm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!hf.hasOwnProperty(n))return this.sanitizedSomething=!0,!Rm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),f=a.name,y=f.toLowerCase();if(!Xh.hasOwnProperty(y)){this.sanitizedSomething=!0;continue}let R=a.value;pf[y]&&(R=sd(R)),this.buf.push(" ",f,'="',qh(R),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();hf.hasOwnProperty(n)&&!Yh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(qh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Nm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lm=/([^\#-~ |!])/g;function qh(e){return e.replace(/&/g,"&amp;").replace(Nm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Lm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let od;function ep(e,t){let n=null;try{od=od||function Qh(e){const t=new Am(e);return function Om(){try{return!!(new window.DOMParser).parseFromString(pu(""),"text/html")}catch{return!1}}()?new Im(t):t}(e);let r=t?String(t):"";n=od.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=od.getInertBodyElement(r)}while(r!==a);return pu((new xm).sanitizeChildren(gf(n)||n))}finally{if(n){const r=gf(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function gf(e){return"content"in e&&function Fm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Nc=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}(Nc||{});function tp(e){const t=sl();return t?Gh(t.sanitize(Nc.HTML,e)||""):mu(e,"HTML")?Gh(Oa(e)):ep(gu(),oe(e))}function mf(e){const t=sl();return t?t.sanitize(Nc.URL,e)||"":mu(e,"URL")?Oa(e):sd(oe(e))}function np(e){const t=sl();if(t)return Kh(t.sanitize(Nc.RESOURCE_URL,e)||"");if(mu(e,"ResourceURL"))return Kh(Oa(e));throw new q(904,!1)}function rp(e,t,n){return function Um(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?np:mf}(t,n)(e)}function sl(){const e=xt();return e&&e[Ss].sanitizer}const ol=new Zt("ENVIRONMENT_INITIALIZER"),ip=new Zt("INJECTOR",-1),sp=new Zt("INJECTOR_DEF_TYPES");class vf{get(t,n=ji){if(n===ji){const r=new Error(`NullInjectorError: No provider for ${x(t)}!`);throw r.name="NullInjectorError",r}return n}}function yf(e){return{\u0275providers:e}}function op(...e){return{\u0275providers:ap(0,e),\u0275fromNgModule:!0}}function ap(e,...t){const n=[],r=new Set;let i;const a=f=>{n.push(f)};return Xa(t,f=>{const y=f;ad(y,a,[],r)&&(i||=[],i.push(y))}),void 0!==i&&cp(i,a),n}function cp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];_f(i,a=>{t(a,r)})}}function ad(e,t,n,r){if(!(e=ee(e)))return!1;let i=null,a=ni(e);const f=!a&&Kn(e);if(a||f){if(f&&!f.standalone)return!1;i=e}else{const R=e.ngModule;if(a=ni(R),!a)return!1;i=R}const y=r.has(i);if(f){if(y)return!1;if(r.add(i),f.dependencies){const R="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const Y of R)ad(Y,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!y){let Y;r.add(i);try{Xa(a.imports,ue=>{ad(ue,t,n,r)&&(Y||=[],Y.push(ue))})}finally{}void 0!==Y&&cp(Y,t)}if(!y){const Y=m(i)||(()=>new i);t({provide:i,useFactory:Y,deps:_n},i),t({provide:sp,useValue:i,multi:!0},i),t({provide:ol,useValue:()=>Be(i),multi:!0},i)}const R=a.providers;if(null!=R&&!y){const Y=e;_f(R,ue=>{t(ue,Y)})}}}return i!==e&&void 0!==e.providers}function _f(e,t){for(let n of e)le(n)&&(n=n.\u0275providers),Array.isArray(n)?_f(n,t):t(n)}const Hm=T({provide:String,useValue:T});function Ef(e){return null!==e&&"object"==typeof e&&Hm in e}function Lc(e){return"function"==typeof e}const bf=new Zt("Set Injector scope."),cd={},zm={};let Df;function ud(){return void 0===Df&&(Df=new vf),Df}class ra{}class vu extends ra{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sf(t,f=>this.processProvider(f)),this.records.set(ip,yu(void 0,this)),i.has("environment")&&this.records.set(ra,yu(void 0,this));const a=this.records.get(bf);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(sp.multi,_n,kt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=De(this),r=qt(void 0);try{return t()}finally{De(n),qt(r)}}get(t,n=ji,r=kt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(En))return t[En](this);r=un(r);const a=De(this),f=qt(void 0);try{if(!(r&kt.SkipSelf)){let R=this.records.get(t);if(void 0===R){const Y=function Ym(e){return"function"==typeof e||"object"==typeof e&&e instanceof Zt}(t)&&fr(t);R=Y&&this.injectableDefInScope(Y)?yu(wf(t),cd):null,this.records.set(t,R)}if(null!=R)return this.hydrate(t,R)}return(r&kt.Self?ud():this.parent).get(t,n=r&kt.Optional&&n===ji?null:n)}catch(y){if("NullInjectorError"===y.name){if((y[bi]=y[bi]||[]).unshift(x(t)),a)throw y;return function ot(e,t,n,r){const i=e[bi];throw t[Pe]&&i.unshift(t[Pe]),e.message=function ft(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=x(t);if(Array.isArray(t))i=t.map(x).join(" -> ");else if("object"==typeof t){let a=[];for(let f in t)if(t.hasOwnProperty(f)){let y=t[f];a.push(f+":"+("string"==typeof y?JSON.stringify(y):x(y)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Te,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[bi]=null,e}(y,t,"R3InjectorError",this.source)}throw y}finally{qt(f),De(a)}}resolveInjectorInitializers(){const t=De(this),n=qt(void 0);try{const i=this.get(ol.multi,_n,kt.Self);for(const a of i)a()}finally{De(t),qt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(x(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new q(205,!1)}processProvider(t){let n=Lc(t=ee(t))?t:ee(t&&t.provide);const r=function Wm(e){return Ef(e)?yu(void 0,e.useValue):yu(dp(e),cd)}(t);if(Lc(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=yu(void 0,cd,!0),i.factory=()=>Gn(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===cd&&(n.value=zm,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Qm(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ee(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function wf(e){const t=fr(e),n=null!==t?t.factory:m(e);if(null!==n)return n;if(e instanceof Zt)throw new q(204,!1);if(e instanceof Function)return function Gm(e){const t=e.length;if(t>0)throw Ac(t,"?"),new q(204,!1);const n=function Ur(e){return e&&(e[Xr]||e[Mt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new q(204,!1)}function dp(e,t,n){let r;if(Lc(e)){const i=ee(e);return m(i)||wf(i)}if(Ef(e))r=()=>ee(e.useValue);else if(function lp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gn(e.deps||[]));else if(function up(e){return!(!e||!e.useExisting)}(e))r=()=>Be(ee(e.useExisting));else{const i=ee(e&&(e.useClass||e.provide));if(!function Km(e){return!!e.deps}(e))return m(i)||wf(i);r=()=>new i(...Gn(e.deps))}return r}function yu(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Sf(e,t){for(const n of e)Array.isArray(n)?Sf(n,t):n&&le(n)?Sf(n.\u0275providers,t):t(n)}const fp=new Zt("AppId",{providedIn:"root",factory:()=>Zm}),Zm="ng",hp=new Zt("Platform Initializer"),Cf=new Zt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Jm=new Zt("AnimationModuleType"),Xm=new Zt("CSP nonce",{providedIn:"root",factory:()=>gu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let pp=(e,t,n)=>null;function xf(e,t,n=!1){return pp(e,t,n)}class cv{}class vp{}class lv{resolveComponentFactory(t){throw function uv(e){const t=Error(`No component factory found for ${x(e)}.`);return t.ngComponent=e,t}(t)}}let ul=(()=>{class t{}return t.NULL=new lv,t})();function dv(){return bu(Gi(),xt())}function bu(e,t){return new ll(us(e,t))}let ll=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=dv,t})();function fv(e){return e instanceof ll?e.nativeElement:e}class _p{}let hv=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function pv(){const e=xt(),n=ls(Gi().index,e);return(ii(n)?n:e)[Fn]}(),t})(),gv=(()=>{var e;class t{}return(e=t).\u0275prov=an({token:e,providedIn:"root",factory:()=>null}),t})();class Ep{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bp=new Ep("16.2.12"),Ff={};function Cp(e,t=null,n=null,r){const i=Mp(e,t,n,r);return i.resolveInjectorInitializers(),i}function Mp(e,t=null,n=null,r,i=new Set){const a=[n||_n,op(e)];return r=r||("object"==typeof e?void 0:x(e)),new vu(a,t||ud(),r||null,i)}let zo=(()=>{var e;class t{static create(r,i){if(Array.isArray(r))return Cp({name:""},i,r,"");{const a=r.name??"";return Cp({name:a},r.parent,r.providers,a)}}}return(e=t).THROW_IF_NOT_FOUND=ji,e.NULL=new vf,e.\u0275prov=an({token:e,providedIn:"any",factory:()=>Be(ip)}),e.__NG_ELEMENT_ID__=-1,t})();function $f(e){return e.ngOriginalError}class oc{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&$f(t);for(;n&&$f(n);)n=$f(n);return n||null}}function Bf(e){return t=>{setTimeout(e,void 0,t)}}const ia=class Dv extends c.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,a=n||(()=>null),f=r;if(t&&"object"==typeof t){const R=t;i=R.next?.bind(R),a=R.error?.bind(R),f=R.complete?.bind(R)}this.__isAsync&&(a=Bf(a),i&&(i=Bf(i)),f&&(f=Bf(f)));const y=super.subscribe({next:i,error:a,complete:f});return t instanceof _.w0&&t.add(y),y}};function Ip(...e){}class fs{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ia(!1),this.onMicrotaskEmpty=new ia(!1),this.onStable=new ia(!1),this.onError=new ia(!1),typeof Zone>"u")throw new q(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function wv(){const e="function"==typeof zt.requestAnimationFrame;let t=zt[e?"requestAnimationFrame":"setTimeout"],n=zt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Mv(e){const t=()=>{!function Cv(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(zt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Fc(e),e.isCheckStableRunning=!0,Uf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Fc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,a,f,y)=>{if(function Op(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(y))return n.invokeTask(i,a,f,y);try{return dl(e),n.invokeTask(i,a,f,y)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Du(e)}},onInvoke:(n,r,i,a,f,y,R)=>{try{return dl(e),n.invoke(i,a,f,y,R)}finally{e.shouldCoalesceRunChangeDetection&&t(),Du(e)}},onHasTask:(n,r,i,a)=>{n.hasTask(i,a),r===i&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Fc(e),Uf(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,i,a)=>(n.handleError(i,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fs.isInAngularZone())throw new q(909,!1)}static assertNotInAngularZone(){if(fs.isInAngularZone())throw new q(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,f=a.scheduleEventTask("NgZoneEvent: "+i,t,Sv,Ip,Ip);try{return a.runTask(f,n,r)}finally{a.cancelTask(f)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Sv={};function Uf(e){if(0==e._nesting&&!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 Fc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function dl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Du(e){e._nesting--,Uf(e)}const Hf=new Zt("",{providedIn:"root",factory:Vf});function Vf(){const e=gt(fs);let t=!0;const n=new w.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),r=new w.y(i=>{let a;e.runOutsideAngular(()=>{a=e.onStable.subscribe(()=>{fs.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const f=e.onUnstable.subscribe(()=>{fs.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{a.unsubscribe(),f.unsubscribe()}});return(0,C.T)(n,r.pipe((0,p.B)()))}function z(e){return e instanceof Function?e():e}let Nn=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=an({token:e,providedIn:"root",factory:()=>new e}),t})();function Zn(e){for(;e;){e[Wn]|=64;const t=tl(e);if(Qs(e)&&!t)return e;e=t}return null}const Zr=new Zt("",{providedIn:"root",factory:()=>!1});let _t=null;function nn(e,t){return e[t]??Xn()}function Cn(e,t){const n=Xn();n.producerNode?.length&&(e[t]=_t,n.lView=e,_t=pr())}const Vn={...ct,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Zn(e.lView)},lView:null};function pr(){return Object.create(Vn)}function Xn(){return _t??=pr(),_t}const cn={};function li(e){Fr(_r(),xt(),Wi()+e,!1)}function Fr(e,t,n,r){if(!r)if(3==(3&t[Wn])){const a=e.preOrderCheckHooks;null!==a&&xo(t,a,n)}else{const a=e.preOrderHooks;null!==a&&Uo(t,a,0,n)}ba(n)}function qn(e,t=kt.Default){const n=xt();return null===n?Be(e,t):Bl(Gi(),n,ee(e),t)}function rs(){throw new Error("invalid")}function Go(e,t,n,r,i,a,f,y,R,Y,ue){const $e=t.blueprint.slice();return $e[Nr]=i,$e[Wn]=140|r,(null!==Y||e&&2048&e[Wn])&&($e[Wn]|=2048),zc($e),$e[Cr]=$e[Ks]=e,$e[Jr]=n,$e[Ss]=f||e&&e[Ss],$e[Fn]=y||e&&e[Fn],$e[ps]=R||e&&e[ps]||null,$e[Kr]=a,$e[Ms]=function Rr(){return na++}(),$e[Hi]=ue,$e[To]=Y,$e[qr]=2==t.type?e[qr]:$e,$e}function _o(e,t,n,r,i){let a=e.data[t];if(null===a)a=function La(e,t,n,r,i){const a=Yc(),f=Ya(),R=e.data[t]=function ob(e,t,n,r,i,a){let f=t?t.injectorIndex:-1,y=0;return Qa()&&(y|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:y,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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}}(0,f?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=R),null!==a&&(f?null==a.child&&null!==R.parent&&(a.child=R):null===a.next&&(a.next=R,R.prev=a)),R}(e,t,n,r,i),function G(){return Un.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const f=function Ea(){const e=Un.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===f?-1:f.injectorIndex}return ho(a,!0),a}function Rs(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function kc(e,t,n,r,i){const a=nn(t,ms),f=Wi(),y=2&r;try{ba(-1),y&&t.length>An&&Fr(e,t,An,!1),ki(y?2:0,i);const Y=y?a:null,ue=Qt(Y);try{null!==Y&&(Y.dirty=!1),n(r,i)}finally{Xt(Y,ue)}}finally{y&&null===t[ms]&&Cn(t,ms),ba(f),ki(y?3:1,i)}}function Fa(e,t,n){if(Ko(t)){const r=tt(null);try{const a=t.directiveEnd;for(let f=t.directiveStart;f<a;f++){const y=e.data[f];y.contentQueries&&y.contentQueries(1,n[f],f)}}finally{tt(r)}}}function cc(e,t,n){Pl()&&(function hb(e,t,n,r){const i=n.directiveStart,a=n.directiveEnd;vs(n)&&function Eb(e,t,n){const r=us(t,e),i=zf(n);let f=16;n.signals?f=4096:n.onPush&&(f=64);const y=Gf(e,Go(e,i,null,f,r,t,null,e[Ss].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=y}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Mc(n,t),Ps(r,t);const f=n.initialInputs;for(let y=i;y<a;y++){const R=e.data[y],Y=Sa(t,e,y,n);Ps(Y,t),null!==f&&bb(0,y-i,Y,R,0,f),ai(R)&&(ls(n.index,t)[Jr]=Sa(t,e,y,n))}}(e,t,n,us(n,t)),64==(64&n.flags)&&Pv(e,t,n))}function $c(e,t,n=us){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const f=r[a+1],y=-1===f?n(t,e):e[f];e[i++]=y}}}function zf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Pp(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,n,r,i,a,f,y,R,Y,ue){const $e=An+r,Ze=$e+i,nt=function eb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:cn);return n}($e,Ze),St="function"==typeof Y?Y():Y;return nt[tn]={type:e,blueprint:nt,template:n,queries:null,viewQuery:y,declTNode:t,data:nt.slice().fill(null,$e),bindingStartIndex:$e,expandoStartIndex:Ze,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:"function"==typeof a?a():a,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:R,consts:St,incompleteFirstPass:!1,ssrId:ue}}let Tv=e=>null;function Iv(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const a=e[i];null===r?Av(n,t,i,a):r.hasOwnProperty(i)&&Av(n,t,r[i],a)}return n}function Av(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ko(e,t,n,r,i,a,f,y){const R=us(t,n);let ue,Y=t.inputs;!y&&null!=Y&&(ue=Y[r])?(Fp(e,n,ue,r,i),vs(t)&&function ub(e,t){const n=ls(t,e);16&n[Wn]||(n[Wn]|=64)}(n,t.index)):3&t.type&&(r=function cb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=f?f(i,t.value||"",r):i,a.setProperty(R,r,i))}function Rp(e,t,n,r){if(Pl()){const i=null===r?null:{"":-1},a=function gb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let a=0;a<n.length;a++){const f=n[a];if(wo(t,f.selectors,!1))if(r||(r=[]),ai(f))if(null!==f.findHostDirectiveDefs){const y=[];i=i||new Map,f.findHostDirectiveDefs(f,y,i),r.unshift(...y,f),xp(e,t,y.length)}else r.unshift(f),xp(e,t,0);else i=i||new Map,f.findHostDirectiveDefs?.(f,r,i),r.push(f)}return null===r?null:[r,i]}(e,n);let f,y;null===a?f=y=null:[f,y]=a,null!==f&&Ov(e,t,n,f,i,y),i&&function mb(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new q(-301,!1);r.push(t[i],a)}}}(n,r,i)}n.mergedAttrs=ir(n.mergedAttrs,n.attrs)}function Ov(e,t,n,r,i,a){for(let Y=0;Y<r.length;Y++)wa(Mc(n,t),e,r[Y].type);!function yb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let Y=0;Y<r.length;Y++){const ue=r[Y];ue.providersResolver&&ue.providersResolver(ue)}let f=!1,y=!1,R=Rs(e,t,r.length,null);for(let Y=0;Y<r.length;Y++){const ue=r[Y];n.mergedAttrs=ir(n.mergedAttrs,ue.hostAttrs),_b(e,n,t,R,ue),vb(R,ue,i),null!==ue.contentQueries&&(n.flags|=4),(null!==ue.hostBindings||null!==ue.hostAttrs||0!==ue.hostVars)&&(n.flags|=64);const $e=ue.type.prototype;!f&&($e.ngOnChanges||$e.ngOnInit||$e.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!y&&($e.ngOnChanges||$e.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),y=!0),R++}!function ab(e,t,n){const i=t.directiveEnd,a=e.data,f=t.attrs,y=[];let R=null,Y=null;for(let ue=t.directiveStart;ue<i;ue++){const $e=a[ue],Ze=n?n.get($e):null,St=Ze?Ze.outputs:null;R=Iv($e.inputs,ue,R,Ze?Ze.inputs:null),Y=Iv($e.outputs,ue,Y,St);const Ht=null===R||null===f||eo(t)?null:Db(R,ue,f);y.push(Ht)}null!==R&&(R.hasOwnProperty("class")&&(t.flags|=8),R.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=y,t.inputs=R,t.outputs=Y}(e,n,a)}function Pv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,f=function it(){return Un.lFrame.currentDirectiveIndex}();try{ba(a);for(let y=r;y<i;y++){const R=e.data[y],Y=t[y];Yt(y),(null!==R.hostBindings||0!==R.hostVars||null!==R.hostAttrs)&&pb(R,Y)}}finally{ba(-1),Yt(f)}}function pb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xp(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function vb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ai(t)&&(n[""]=e)}}function _b(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=m(i.type)),f=new qo(a,ai(i),qn);e.blueprint[r]=f,n[r]=f,function db(e,t,n,r,i){const a=i.hostBindings;if(a){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const y=~t.index;(function fb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=y&&f.push(y),f.push(n,r,a)}}(e,t,r,Rs(e,n,i.hostVars,cn),i)}function ka(e,t,n,r,i,a){const f=us(e,t);!function Np(e,t,n,r,i,a,f){if(null==a)e.removeAttribute(t,i,n);else{const y=null==f?oe(a):f(a,r||"",i);e.setAttribute(t,i,y,n)}}(t[Fn],f,a,e.value,n,r,i)}function bb(e,t,n,r,i,a){const f=a[t];if(null!==f)for(let y=0;y<f.length;)Rv(r,n,f[y++],f[y++],f[y++])}function Rv(e,t,n,r,i){const a=tt(null);try{const f=e.inputTransforms;null!==f&&f.hasOwnProperty(r)&&(i=f[r].call(t,i)),null!==e.setInput?e.setInput(t,i,n,r):t[r]=i}finally{tt(a)}}function Db(e,t,n){let r=null,i=0;for(;i<n.length;){const a=n[i];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===r&&(r=[]);const f=e[a];for(let y=0;y<f.length;y+=2)if(f[y]===t){r.push(a,f[y+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function xv(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Nv(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const a=n[r+1];if(-1!==a){const f=e.data[a];Ct(n[r]),f.contentQueries(2,t[a],a)}}}function Gf(e,t){return e[Cs]?e[Mo][Lr]=t:e[Cs]=t,e[Mo]=t,t}function Lp(e,t,n){Ct(0);const r=tt(null);try{t(e,n)}finally{tt(r)}}function Lv(e){return e[io]||(e[io]=[])}function Fv(e){return e.cleanup||(e.cleanup=[])}function $v(e,t){const n=e[ps],r=n?n.get(oc,null):null;r&&r.handleError(t)}function Fp(e,t,n,r,i){for(let a=0;a<n.length;){const f=n[a++],y=n[a++];Rv(e.data[f],t[f],r,y,i)}}function wb(e,t){const n=ls(t,e),r=n[tn];!function Sb(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Nr];null!==i&&null===n[Hi]&&(n[Hi]=xf(i,n[ps])),kp(r,n,n[Jr])}function kp(e,t,n){Rn(t);try{const r=e.viewQuery;null!==r&&Lp(1,r,n);const i=e.template;null!==i&&kc(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Nv(e,t),e.staticViewQueries&&Lp(2,e.viewQuery,n);const a=e.components;null!==a&&function Cb(e,t){for(let n=0;n<t.length;n++)wb(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Wn]&=-5,$i()}}let jv=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,i,a){const f=typeof Zone>"u"?null:Zone.current,y=function bt(e,t,n){const r=Object.create(ur);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=f=>{r.cleanupFn=f};return r.ref={notify:()=>Lt(r),run:()=>{if(r.dirty=!1,r.hasRun&&!sn(r))return;r.hasRun=!0;const f=Qt(r);try{r.cleanupFn(),r.cleanupFn=Gt,r.fn(i)}finally{Xt(r,f)}},cleanup:()=>r.cleanupFn()},r.ref}(r,ue=>{this.all.has(ue)&&this.queue.set(ue,f)},a);let R;this.all.add(y),y.notify();const Y=()=>{y.cleanup(),R?.(),this.all.delete(y),this.queue.delete(y)};return R=i?.onDestroy(Y),{destroy:Y}}flush(){if(0!==this.queue.size)for(const[r,i]of this.queue)this.queue.delete(r),i?i.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=an({token:e,providedIn:"root",factory:()=>new e}),t})();function Wf(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let f=0;f<t.length;f++){const y=t[f];"number"==typeof y?a=y:1==a?i=J(i,y):2==a&&(r=J(r,y+": "+t[++f]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function gd(e,t,n,r,i=!1){for(;null!==n;){const a=t[n.index];null!==a&&r.push(Qr(a)),Vr(a)&&Bv(a,r);const f=n.type;if(8&f)gd(e,t,n.child,r);else if(32&f){const y=ef(n,t);let R;for(;R=y();)r.push(R)}else if(16&f){const y=Bh(t,n);if(Array.isArray(y))r.push(...y);else{const R=tl(t[qr]);gd(R[tn],R,y,r,!0)}}n=i?n.projectionNext:n.next}return r}function Bv(e,t){for(let n=_i;n<e.length;n++){const r=e[n],i=r[tn].firstChild;null!==i&&gd(r[tn],r,i,t)}e[yi]!==e[Nr]&&t.push(e[yi])}function Kf(e,t,n,r=!0){const i=t[Ss],a=i.rendererFactory,f=i.afterRenderEventManager;a.begin?.(),f?.begin();try{Uv(e,t,e.template,n)}catch(R){throw r&&$v(t,R),R}finally{a.end?.(),i.effectManager?.flush(),f?.end()}}function Uv(e,t,n,r){const i=t[Wn];if(256!=(256&i)){t[Ss].effectManager?.flush(),Rn(t);try{zc(t),function O(e){return Un.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&kc(e,t,n,2,r);const f=3==(3&i);if(f){const Y=e.preOrderCheckHooks;null!==Y&&xo(t,Y,null)}else{const Y=e.preOrderHooks;null!==Y&&Uo(t,Y,0,null),wc(t,0)}if(function Ib(e){for(let t=Ph(e);null!==t;t=Rh(t)){if(!t[Io])continue;const n=t[Ii];for(let r=0;r<n.length;r++){Ol(n[r])}}}(t),Hv(t,2),null!==e.contentQueries&&Nv(e,t),f){const Y=e.contentCheckHooks;null!==Y&&xo(t,Y)}else{const Y=e.contentHooks;null!==Y&&Uo(t,Y,1),wc(t,1)}!function ac(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=nn(t,Fs);try{for(let i=0;i<n.length;i++){const a=n[i];if(a<0)ba(~a);else{const f=a,y=n[++i],R=n[++i];Ie(y,f),r.dirty=!1;const Y=Qt(r);try{R(2,t[f])}finally{Xt(r,Y)}}}}finally{null===t[Fs]&&Cn(t,Fs),ba(-1)}}(e,t);const y=e.components;null!==y&&zv(t,y,0);const R=e.viewQuery;if(null!==R&&Lp(2,R,r),f){const Y=e.viewCheckHooks;null!==Y&&xo(t,Y)}else{const Y=e.viewHooks;null!==Y&&Uo(t,Y,2),wc(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Wn]&=-73,mc(t)}finally{$i()}}}function Hv(e,t){for(let n=Ph(e);null!==n;n=Rh(n))for(let r=_i;r<n.length;r++)Vv(n[r],t)}function Ab(e,t,n){Vv(ls(t,e),n)}function Vv(e,t){if(!function Vc(e){return 128==(128&e[Wn])}(e))return;const n=e[tn],r=e[Wn];if(80&r&&0===t||1024&r||2===t)Uv(n,e,n.template,e[Jr]);else if(e[Ws]>0){Hv(e,1);const i=n.components;null!==i&&zv(e,i,1)}}function zv(e,t,n){for(let r=0;r<t.length;r++)Ab(e,t[r],n)}class md{get rootNodes(){const t=this._lView,n=t[tn];return gd(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Jr]}set context(t){this._lView[Jr]=t}get destroyed(){return 256==(256&this._lView[Wn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Cr];if(Vr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ql(t,r),au(n,r))}this._attachedToViewContainer=!1}nf(this._lView[tn],this._lView)}onDestroy(t){!function _a(e,t){if(256==(256&e[Wn]))throw new q(911,!1);null===e[cs]&&(e[cs]=[]),e[cs].push(t)}(this._lView,t)}markForCheck(){Zn(this._cdRefInjectingView||this._lView)}detach(){this._lView[Wn]&=-129}reattach(){this._lView[Wn]|=128}detectChanges(){Kf(this._lView[tn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new q(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nm(e,t){rl(e,t,t[Fn],2,null,null)}(this._lView[tn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new q(902,!1);this._appRef=t}}class Ob extends md{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Kf(t[tn],t,t[Jr],!1)}checkNoChanges(){}get context(){return null}}class Gv extends ul{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Kn(t);return new vd(n,this.ngModule)}}function Wv(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Rb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=un(r);const i=this.injector.get(t,Ff,r);return i!==Ff||n===Ff?i:this.parentInjector.get(t,n,r)}}class vd extends vp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Wv(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return Wv(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function vi(e){return e.map(no).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let a=(i=i||this.ngModule)instanceof ra?i:i?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const f=a?new Rb(t,a):t,y=f.get(_p,null);if(null===y)throw new q(407,!1);const $e={rendererFactory:y,sanitizer:f.get(gv,null),effectManager:f.get(jv,null),afterRenderEventManager:f.get(Nn,null)},Ze=y.createRenderer(null,this.componentDef),nt=this.componentDef.selectors[0][0]||"div",St=r?function tb(e,t,n,r){const a=r.get(Zr,!1)||n===mn.ShadowDom,f=e.selectRootElement(t,a);return function nb(e){Tv(e)}(f),f}(Ze,r,this.componentDef.encapsulation,f):Xl(Ze,nt,function Pb(e){const t=e.toLowerCase();return"svg"===t?lo:"math"===t?"math":null}(nt)),On=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ft=null;null!==St&&(Ft=xf(St,f,!0));const or=Pp(0,null,null,1,0,null,null,null,null,null,null),Dr=Go(null,or,null,On,null,null,$e,Ze,f,null,Ft);let ti,Do;Rn(Dr);try{const lc=this.componentDef;let Il,Vg=null;lc.findHostDirectiveDefs?(Il=[],Vg=new Map,lc.findHostDirectiveDefs(lc,Il,Vg),Il.push(lc)):Il=[lc];const kM=function Nb(e,t){const n=e[tn],r=An;return e[r]=t,_o(n,r,2,"#host",null)}(Dr,St),$M=function Lb(e,t,n,r,i,a,f){const y=i[tn];!function Fb(e,t,n,r){for(const i of e)t.mergedAttrs=ir(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Wf(t,t.mergedAttrs,!0),null!==n&&zh(r,n,t))}(r,e,t,f);let R=null;null!==t&&(R=xf(t,i[ps]));const Y=a.rendererFactory.createRenderer(t,n);let ue=16;n.signals?ue=4096:n.onPush&&(ue=64);const $e=Go(i,zf(n),null,ue,i[e.index],e,a,Y,null,null,R);return y.firstCreatePass&&xp(y,e,r.length-1),Gf(i,$e),i[e.index]=$e}(kM,St,lc,Il,Dr,$e,Ze);Do=Ou(or,An),St&&function $b(e,t,n,r){if(r)vr(e,n,["ng-version",bp.full]);else{const{attrs:i,classes:a}=function zs(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!wi(i))break;i=a}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&vr(e,n,i),a&&a.length>0&&Vh(e,n,a.join(" "))}}(Ze,lc,St,r),void 0!==n&&function jb(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const a=n[i];r.push(null!=a?Array.from(a):null)}}(Do,this.ngContentSelectors,n),ti=function kb(e,t,n,r,i,a){const f=Gi(),y=i[tn],R=us(f,i);Ov(y,i,f,n,null,r);for(let ue=0;ue<n.length;ue++)Ps(Sa(i,y,f.directiveStart+ue,f),i);Pv(y,i,f),R&&Ps(R,i);const Y=Sa(i,y,f.directiveStart+f.componentOffset,f);if(e[Jr]=i[Jr]=Y,null!==a)for(const ue of a)ue(Y,t);return Fa(y,f,e),Y}($M,lc,Il,Vg,Dr,[Bb]),kp(or,Dr,null)}finally{$i()}return new xb(this.componentType,ti,bu(Do,Dr),Dr,Do)}}class xb extends cv{constructor(t,n,r,i,a){super(),this.location=r,this._rootLView=i,this._tNode=a,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Ob(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const a=this._rootLView;Fp(a[tn],a,i,t,n),this.previousInputValues.set(t,n),Zn(ls(this._tNode.index,a))}}get injector(){return new ts(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Bb(){const e=Gi();Dc(xt()[tn],e)}function $p(e){let t=function Kv(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(ai(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new q(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const f=e;f.inputs=Qf(e.inputs),f.inputTransforms=Qf(e.inputTransforms),f.declaredInputs=Qf(e.declaredInputs),f.outputs=Qf(e.outputs);const y=i.hostBindings;y&&zb(e,y);const R=i.viewQuery,Y=i.contentQueries;if(R&&Hb(e,R),Y&&Vb(e,Y),$(e.inputs,i.inputs),$(e.declaredInputs,i.declaredInputs),$(e.outputs,i.outputs),null!==i.inputTransforms&&(null===f.inputTransforms&&(f.inputTransforms={}),$(f.inputTransforms,i.inputTransforms)),ai(i)&&i.data.animation){const ue=e.data;ue.animation=(ue.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let f=0;f<a.length;f++){const y=a[f];y&&y.ngInherit&&y(e),y===$p&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Ub(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=ir(i.hostAttrs,n=ir(n,i.hostAttrs))}}(r)}function Qf(e){return e===hn?{}:e===_n?[]:e}function Hb(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Vb(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function zb(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Jv(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Yf(e){return!!jp(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function jp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $a(e,t,n){return e[t]=n}function yd(e,t){return e[t]}function Vs(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Cu(e,t,n,r){const i=Vs(e,t,n);return Vs(e,t+1,r)||i}function Wo(e,t,n,r,i,a){const f=Cu(e,t,n,r);return Cu(e,t+2,i,a)||f}function Bp(e,t,n,r){const i=xt();return Vs(i,B(),t)&&(_r(),ka(ci(),i,e,t,n,r)),Bp}function ly(e,t,n,r,i,a,f,y){const R=xt(),Y=_r(),ue=e+An,$e=Y.firstCreatePass?function gD(e,t,n,r,i,a,f,y,R){const Y=t.consts,ue=_o(t,e,4,f||null,fo(Y,y));Rp(t,n,ue,fo(Y,R)),Dc(t,ue);const $e=ue.tView=Pp(2,ue,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,Y,null);return null!==t.queries&&(t.queries.template(t,ue),$e.queries=t.queries.embeddedTView(ue)),ue}(ue,Y,R,t,n,r,i,a,f):Y.data[ue];ho($e,!1);const Ze=dy(Y,R,$e,e);xn()&&td(Y,R,Ze,$e),Ps(Ze,R),Gf(R,R[ue]=xv(Ze,R,Ze,$e)),$s($e)&&cc(Y,R,$e),null!=f&&$c(R,$e,y)}let dy=function fy(e,t,n,r){return Ro(!0),t[Fn].createComment("")};function hy(e){return Po(function xl(){return Un.lFrame.contextLView}(),An+e)}function Wp(e,t,n){const r=xt();return Vs(r,B(),t)&&ko(_r(),ci(),r,e,t,r[Fn],n,!1),Wp}function Kp(e,t,n,r,i){const f=i?"class":"style";Fp(e,n,t.inputs[f],f,r)}function eh(e,t,n,r){const i=xt(),a=_r(),f=An+e,y=i[Fn],R=a.firstCreatePass?function _D(e,t,n,r,i,a){const f=t.consts,R=_o(t,e,2,r,fo(f,i));return Rp(t,n,R,fo(f,a)),null!==R.attrs&&Wf(R,R.attrs,!1),null!==R.mergedAttrs&&Wf(R,R.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,R),R}(f,a,i,t,n,r):a.data[f],Y=py(a,i,R,y,t,e);i[f]=Y;const ue=$s(R);return ho(R,!0),zh(y,Y,R),32!=(32&R.flags)&&xn()&&td(a,i,Y,R),0===function vc(){return Un.lFrame.elementDepthCount}()&&Ps(Y,i),function Wc(){Un.lFrame.elementDepthCount++}(),ue&&(cc(a,i,R),Fa(a,R,i)),null!==r&&$c(i,R),eh}function th(){let e=Gi();Ya()?Ec():(e=e.parent,ho(e,!1));const t=e;(function Kc(e){return Un.skipHydrationRootTNode===e})(t)&&function Nu(){Un.skipHydrationRootTNode=null}(),function Ru(){Un.lFrame.elementDepthCount--}();const n=_r();return n.firstCreatePass&&(Dc(n,e),Ko(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function $l(e){return 0!=(8&e.flags)}(t)&&Kp(n,t,xt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Fd(e){return 0!=(16&e.flags)}(t)&&Kp(n,t,xt(),t.stylesWithoutHost,!1),th}function Qp(e,t,n,r){return eh(e,t,n,r),th(),Qp}let py=(e,t,n,r,i,a)=>(Ro(!0),Xl(r,i,function Za(){return Un.lFrame.currentNamespace}()));function nh(e,t,n){const r=xt(),i=_r(),a=e+An,f=i.firstCreatePass?function DD(e,t,n,r,i){const a=t.consts,f=fo(a,r),y=_o(t,e,8,"ng-container",f);return null!==f&&Wf(y,f,!0),Rp(t,n,y,fo(a,i)),null!==t.queries&&t.queries.elementStart(t,y),y}(a,i,r,t,n):i.data[a];ho(f,!0);const y=gy(i,r,f,e);return r[a]=y,xn()&&td(i,r,y,f),Ps(y,r),$s(f)&&(cc(i,r,f),Fa(i,f,r)),null!=n&&$c(r,f),nh}function rh(){let e=Gi();const t=_r();return Ya()?Ec():(e=e.parent,ho(e,!1)),t.firstCreatePass&&(Dc(t,e),Ko(e)&&t.queries.elementEnd(e)),rh}function Yp(e,t,n){return nh(e,t,n),rh(),Yp}let gy=(e,t,n,r)=>(Ro(!0),tf(t[Fn],""));function my(){return xt()}function Zp(e){return!!e&&"function"==typeof e.then}function vy(e){return!!e&&"function"==typeof e.subscribe}function Jp(e,t,n,r){const i=xt(),a=_r(),f=Gi();return function _y(e,t,n,r,i,a,f){const y=$s(r),Y=e.firstCreatePass&&Fv(e),ue=t[Jr],$e=Lv(t);let Ze=!0;if(3&r.type||f){const Ht=us(r,t),fn=f?f(Ht):Ht,On=$e.length,Ft=f?Dr=>f(Qr(Dr[r.index])):r.index;let or=null;if(!f&&y&&(or=function CD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const f=i[a];if(f===n&&i[a+1]===r){const y=t[io],R=i[a+2];return y.length>R?y[R]:null}"string"==typeof f&&(a+=2)}return null}(e,t,i,r.index)),null!==or)(or.__ngLastListenerFn__||or).__ngNextListenerFn__=a,or.__ngLastListenerFn__=a,Ze=!1;else{a=by(r,t,ue,a,!1);const Dr=n.listen(fn,i,a);$e.push(a,Dr),Y&&Y.push(i,Ft,On,On+1)}}else a=by(r,t,ue,a,!1);const nt=r.outputs;let St;if(Ze&&null!==nt&&(St=nt[i])){const Ht=St.length;if(Ht)for(let fn=0;fn<Ht;fn+=2){const ti=t[St[fn]][St[fn+1]].subscribe(a),Do=$e.length;$e.push(a,ti),Y&&Y.push(i,r.index,Do,-(Do+1))}}}(a,i,i[Fn],f,e,t,r),Jp}function Ey(e,t,n,r){try{return ki(6,t,n),!1!==n(r)}catch(i){return $v(e,i),!1}finally{ki(7,t,n)}}function by(e,t,n,r,i){return function a(f){if(f===Function)return r;Zn(e.componentOffset>-1?ls(e.index,t):t);let R=Ey(t,n,r,f),Y=a.__ngNextListenerFn__;for(;Y;)R=Ey(t,n,Y,f)&&R,Y=Y.__ngNextListenerFn__;return i&&!1===R&&f.preventDefault(),R}}function Dy(e=1){return function Jc(e){return(Un.lFrame.contextLView=function Xc(e,t){for(;e>0;)t=t[Ks],e--;return t}(e,Un.lFrame.contextLView))[Jr]}(e)}function MD(e,t){let n=null;const r=function Ua(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?wo(e,a,!0):Bo(r,a))return i}else n=i}return n}function wy(e){const t=xt()[qr][Kr];if(!t.projection){const r=t.projection=Ac(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){const f=e?MD(a,e):0;null!==f&&(i[f]?i[f].projectionNext=a:r[f]=a,i[f]=a),a=a.next}}}function Sy(e,t=0,n){const r=xt(),i=_r(),a=_o(i,An+e,16,null,n||null);null===a.projection&&(a.projection=t),Ec(),(!r[Hi]||Qa())&&32!=(32&a.flags)&&function um(e,t,n){Hh(t[Fn],0,t,n,sf(e,n,t),Fh(n.parent||t[Kr],n,t))}(i,r,a)}function ih(e,t){return e<<17|t<<2}function jc(e){return e>>17&32767}function qp(e){return 2|e}function Mu(e){return(131068&e)>>2}function eg(e,t){return-131069&e|t<<2}function tg(e){return 1|e}function Ny(e,t,n,r,i){const a=e[n+1],f=null===t;let y=r?jc(a):Mu(a),R=!1;for(;0!==y&&(!1===R||f);){const ue=e[y+1];RD(e[y],t)&&(R=!0,e[y+1]=r?tg(ue):qp(ue)),y=r?jc(ue):Mu(ue)}R&&(e[n+1]=r?qp(a):tg(a))}function RD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&qa(e,t)>=0}const hs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ly(e){return e.substring(hs.key,hs.keyEnd)}function Fy(e,t){const n=hs.textEnd;return n===t?-1:(t=hs.keyEnd=function FD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,hs.key=t,n),bl(e,t,n))}function bl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ng(e,t,n){return aa(e,t,n,!1),ng}function rg(e,t){return aa(e,t,null,!0),rg}function Uy(e){!function ca(e,t,n,r){const i=_r(),a=M(2);i.firstUpdatePass&&Vy(i,null,a,r);const f=xt();if(n!==cn&&Vs(f,a,n)){const y=i.data[Wi()];if(Ky(y,r)&&!Hy(i,a)){let R=r?y.classesWithoutHost:y.stylesWithoutHost;null!==R&&(n=J(R,n||"")),Kp(i,y,f,n,r)}else!function WD(e,t,n,r,i,a,f,y){i===cn&&(i=_n);let R=0,Y=0,ue=0<i.length?i[0]:null,$e=0<a.length?a[0]:null;for(;null!==ue||null!==$e;){const Ze=R<i.length?i[R+1]:void 0,nt=Y<a.length?a[Y+1]:void 0;let Ht,St=null;ue===$e?(R+=2,Y+=2,Ze!==nt&&(St=$e,Ht=nt)):null===$e||null!==ue&&ue<$e?(R+=2,St=ue):(Y+=2,St=$e,Ht=nt),null!==St&&Gy(e,t,n,r,St,Ht,f,y),ue=R<i.length?i[R]:null,$e=Y<a.length?a[Y]:null}}(i,y,f,f[Fn],f[a+1],f[a+1]=function zD(e,t,n){if(null==n||""===n)return _n;const r=[],i=Oa(n);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(r,i[a],!0);else if("object"==typeof i)for(const a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,a)}}(GD,Ba,e,!0)}function Ba(e,t){for(let n=function ND(e){return function $y(e){hs.key=0,hs.keyEnd=0,hs.value=0,hs.valueEnd=0,hs.textEnd=e.length}(e),Fy(e,bl(e,0,hs.textEnd))}(t);n>=0;n=Fy(t,n))Us(e,Ly(t),!0)}function aa(e,t,n,r){const i=xt(),a=_r(),f=M(2);a.firstUpdatePass&&Vy(a,e,f,r),t!==cn&&Vs(i,f,t)&&Gy(a,a.data[Wi()],i,i[Fn],e,i[f+1]=function KD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=x(Oa(e)))),e}(t,n),r,f)}function Hy(e,t){return t>=e.expandoStartIndex}function Vy(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[Wi()],f=Hy(e,n);Ky(a,r)&&null===t&&!f&&(t=!1),t=function BD(e,t,n,r){const i=function yt(e){const t=Un.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Dd(n=ig(null,e,t,n,r),t.attrs,r),a=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==i)if(n=ig(i,e,t,n,r),null===a){let R=function UD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mu(r))return e[jc(r)]}(e,t,r);void 0!==R&&Array.isArray(R)&&(R=ig(null,e,t,R[1],r),R=Dd(R,t.attrs,r),function HD(e,t,n,r){e[jc(n?t.classBindings:t.styleBindings)]=r}(e,t,r,R))}else a=function VD(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=Dd(r,e[a].hostAttrs,n);return Dd(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function OD(e,t,n,r,i,a){let f=a?t.classBindings:t.styleBindings,y=jc(f),R=Mu(f);e[r]=n;let ue,Y=!1;if(Array.isArray(n)?(ue=n[1],(null===ue||qa(n,ue)>0)&&(Y=!0)):ue=n,i)if(0!==R){const Ze=jc(e[y+1]);e[r+1]=ih(Ze,y),0!==Ze&&(e[Ze+1]=eg(e[Ze+1],r)),e[y+1]=function ID(e,t){return 131071&e|t<<17}(e[y+1],r)}else e[r+1]=ih(y,0),0!==y&&(e[y+1]=eg(e[y+1],r)),y=r;else e[r+1]=ih(R,0),0===y?y=r:e[R+1]=eg(e[R+1],r),R=r;Y&&(e[r+1]=qp(e[r+1])),Ny(e,ue,r,!0),Ny(e,ue,r,!1),function PD(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&qa(a,t)>=0&&(n[r+1]=tg(n[r+1]))}(t,ue,e,r,a),f=ih(y,R),a?t.classBindings=f:t.styleBindings=f}(i,a,t,n,f,r)}}function ig(e,t,n,r,i){let a=null;const f=n.directiveEnd;let y=n.directiveStylingLast;for(-1===y?y=n.directiveStart:y++;y<f&&(a=t[y],r=Dd(r,a.hostAttrs,i),a!==e);)y++;return null!==e&&(n.directiveStylingLast=y),r}function Dd(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?i=f:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Us(e,f,!!n||t[++a]))}return void 0===e?null:e}function GD(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Us(e,r,n)}function Gy(e,t,n,r,i,a,f,y){if(!(3&t.type))return;const R=e.data,Y=R[y+1],ue=function AD(e){return 1==(1&e)}(Y)?Wy(R,t,n,i,Mu(Y),f):void 0;sh(ue)||(sh(a)||function TD(e){return 2==(2&e)}(Y)&&(a=Wy(R,null,n,i,y,f)),function dm(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:kn.DashCase;null==i?e.removeStyle(n,r,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=kn.Important),e.setStyle(n,r,i,a))}}(r,f,va(Wi(),n),i,a))}function Wy(e,t,n,r,i,a){const f=null===t;let y;for(;i>0;){const R=e[i],Y=Array.isArray(R),ue=Y?R[1]:R,$e=null===ue;let Ze=n[i+1];Ze===cn&&(Ze=$e?_n:void 0);let nt=$e?cu(Ze,r):ue===r?Ze:void 0;if(Y&&!sh(nt)&&(nt=cu(R,r)),sh(nt)&&(y=nt,f))return y;const St=e[i+1];i=f?jc(St):Mu(St)}if(null!==t){let R=a?t.residualClasses:t.residualStyles;null!=R&&(y=cu(R,r))}return y}function sh(e){return void 0!==e}function Ky(e,t){return 0!=(e.flags&(t?8:16))}function Qy(e,t=""){const n=xt(),r=_r(),i=e+An,a=r.firstCreatePass?_o(r,i,1,t,null):r.data[i],f=Yy(r,n,a,t,e);n[i]=f,xn()&&td(r,n,f,a),ho(a,!1)}let Yy=(e,t,n,r,i)=>(Ro(!0),function Jl(e,t){return e.createText(t)}(t[Fn],r));function sg(e){return oh("",e,""),sg}function oh(e,t,n){const r=xt(),i=function hl(e,t,n,r){return Vs(e,B(),n)?t+oe(n)+r:cn}(r,e,t,n);return i!==cn&&function uc(e,t,n){const r=va(t,e);!function Nh(e,t,n){e.setValue(t,n)}(e[Fn],r,n)}(r,Wi(),i),oh}function og(e,t,n){const r=xt();return Vs(r,B(),t)&&ko(_r(),ci(),r,e,t,r[Fn],n,!0),og}const Tu=void 0;var gw=["en",[["a","p"],["AM","PM"],Tu],[["AM","PM"],Tu,Tu],[["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"]],Tu,[["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"]],Tu,[["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}",Tu,"{1} 'at' {0}",Tu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function pw(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Dl={};function ag(e){const t=function mw(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=m0(t);if(n)return n;const r=t.split("-")[0];if(n=m0(r),n)return n;if("en"===r)return gw;throw new q(701,!1)}function g0(e){return ag(e)[wl.PluralCase]}function m0(e){return e in Dl||(Dl[e]=zt.ng&&zt.ng.common&&zt.ng.common.locales&&zt.ng.common.locales[e]),Dl[e]}var wl=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}(wl||{});const Sl="en-US";let v0=Sl;function lg(e,t,n,r,i){if(e=ee(e),Array.isArray(e))for(let a=0;a<e.length;a++)lg(e[a],t,n,r,i);else{const a=_r(),f=xt(),y=Gi();let R=Lc(e)?e:ee(e.provide);const Y=dp(e),ue=1048575&y.providerIndexes,$e=y.directiveStart,Ze=y.providerIndexes>>20;if(Lc(e)||!e.multi){const nt=new qo(Y,i,qn),St=fg(R,t,i?ue:ue+Ze,$e);-1===St?(wa(Mc(y,f),a,R),dg(a,e,t.length),t.push(R),y.directiveStart++,y.directiveEnd++,i&&(y.providerIndexes+=1048576),n.push(nt),f.push(nt)):(n[St]=nt,f[St]=nt)}else{const nt=fg(R,t,ue+Ze,$e),St=fg(R,t,ue,ue+Ze),fn=St>=0&&n[St];if(i&&!fn||!i&&!(nt>=0&&n[nt])){wa(Mc(y,f),a,R);const On=function pS(e,t,n,r,i){const a=new qo(e,n,qn);return a.multi=[],a.index=t,a.componentProviders=0,H0(a,i,r&&!n),a}(i?hS:fS,n.length,i,r,Y);!i&&fn&&(n[St].providerFactory=On),dg(a,e,t.length,0),t.push(R),y.directiveStart++,y.directiveEnd++,i&&(y.providerIndexes+=1048576),n.push(On),f.push(On)}else dg(a,e,nt>-1?nt:St,H0(n[i?St:nt],Y,!i&&r));!i&&r&&fn&&n[St].componentProviders++}}}function dg(e,t,n,r){const i=Lc(t),a=function Vm(e){return!!e.useClass}(t);if(i||a){const R=(a?ee(t.useClass):t).prototype.ngOnDestroy;if(R){const Y=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const ue=Y.indexOf(n);-1===ue?Y.push(n,[r,R]):Y[ue+1].push(r,R)}else Y.push(n,R)}}}function H0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fg(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function fS(e,t,n,r){return hg(this.multi,[])}function hS(e,t,n,r){const i=this.multi;let a;if(this.providerFactory){const f=this.providerFactory.componentProviders,y=Sa(n,n[tn],this.providerFactory.index,r);a=y.slice(0,f),hg(i,a);for(let R=f;R<y.length;R++)a.push(y[R])}else a=[],hg(i,a);return a}function hg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function V0(e,t=[]){return n=>{n.providersResolver=(r,i)=>function dS(e,t,n){const r=_r();if(r.firstCreatePass){const i=ai(e);lg(n,r.data,r.blueprint,i,!0),lg(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Iu{}class z0{}function gS(e,t){return new pg(e,t??null,[])}class pg extends Iu{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Gv(this);const i=Ti(t);this._bootstrapComponents=z(i.bootstrap),this._r3Injector=Mp(t,n,[{provide:Iu,useValue:this},{provide:ul,useValue:this.componentFactoryResolver},...r],x(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gg extends z0{constructor(t){super(),this.moduleType=t}create(t){return new pg(this.moduleType,t,[])}}class G0 extends Iu{constructor(t){super(),this.componentFactoryResolver=new Gv(this),this.instance=null;const n=new vu([...t.providers,{provide:Iu,useValue:this},{provide:ul,useValue:this.componentFactoryResolver}],t.parent||ud(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function W0(e,t,n=null){return new G0({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let vS=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const i=ap(0,r.type),a=i.length>0?W0([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,a)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=an({token:e,providedIn:"environment",factory:()=>new e(Be(ra))}),t})();function K0(e){e.getStandaloneInjector=t=>t.get(vS).getOrCreateStandaloneInjector(e)}function e_(e,t,n){const r=_s()+e,i=xt();return i[r]===cn?$a(i,r,n?t.call(n):t()):yd(i,r)}function t_(e,t,n,r){return a_(xt(),_s(),e,t,n,r)}function n_(e,t,n,r,i){return c_(xt(),_s(),e,t,n,r,i)}function r_(e,t,n,r,i,a){return u_(xt(),_s(),e,t,n,r,i,a)}function i_(e,t,n,r,i,a,f){return function l_(e,t,n,r,i,a,f,y,R){const Y=t+n;return Wo(e,Y,i,a,f,y)?$a(e,Y+4,R?r.call(R,i,a,f,y):r(i,a,f,y)):Id(e,Y+4)}(xt(),_s(),e,t,n,r,i,a,f)}function s_(e,t,n,r,i,a,f,y,R){const Y=_s()+e,ue=xt(),$e=Wo(ue,Y,n,r,i,a);return Cu(ue,Y+4,f,y)||$e?$a(ue,Y+6,R?t.call(R,n,r,i,a,f,y):t(n,r,i,a,f,y)):yd(ue,Y+6)}function o_(e,t,n,r){return function d_(e,t,n,r,i,a){let f=t+n,y=!1;for(let R=0;R<i.length;R++)Vs(e,f++,i[R])&&(y=!0);return y?$a(e,f,r.apply(a,i)):Id(e,f)}(xt(),_s(),e,t,n,r)}function Id(e,t){const n=e[t];return n===cn?void 0:n}function a_(e,t,n,r,i,a){const f=t+n;return Vs(e,f,i)?$a(e,f+1,a?r.call(a,i):r(i)):Id(e,f+1)}function c_(e,t,n,r,i,a,f){const y=t+n;return Cu(e,y,i,a)?$a(e,y+2,f?r.call(f,i,a):r(i,a)):Id(e,y+2)}function u_(e,t,n,r,i,a,f,y){const R=t+n;return function Zf(e,t,n,r,i){const a=Cu(e,t,n,r);return Vs(e,t+2,i)||a}(e,R,i,a,f)?$a(e,R+3,y?r.call(y,i,a,f):r(i,a,f)):Id(e,R+3)}function f_(e,t){const n=_r();let r;const i=e+An;n.firstCreatePass?(r=function AS(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const a=r.factory||(r.factory=m(r.type)),y=qt(qn);try{const R=Sc(!1),Y=a();return Sc(R),function yD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,xt(),i,Y),Y}finally{qt(y)}}function h_(e,t,n){const r=e+An,i=xt(),a=Po(i,r);return Ad(i,r)?a_(i,_s(),t,a.transform,n,a):a.transform(n)}function p_(e,t,n,r){const i=e+An,a=xt(),f=Po(a,i);return Ad(a,i)?c_(a,_s(),t,f.transform,n,r,f):f.transform(n,r)}function g_(e,t,n,r,i){const a=e+An,f=xt(),y=Po(f,a);return Ad(f,a)?u_(f,_s(),t,y.transform,n,r,i,y):y.transform(n,r,i)}function Ad(e,t){return e[tn].data[t].pure}function RS(){return this._results[Symbol.iterator]()}class vg{get changes(){return this._changes||(this._changes=new ia)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=vg.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=RS)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=function Bs(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ou(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],a=t[r];if(n&&(i=n(i),a=n(a)),a!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function NS(e,t,n,r=!0){const i=t[tn];if(function im(e,t,n,r){const i=_i+r,a=n.length;r>0&&(n[i-1][Lr]=t),r<a-_i?(t[Lr]=n[i],Kl(n,_i+r,t)):(n.push(t),t[Lr]=null),t[Cr]=n;const f=t[so];null!==f&&n!==f&&function sm(e,t){const n=e[Ii];t[qr]!==t[Cr][Cr][qr]&&(e[Io]=!0),null===n?e[Ii]=[t]:n.push(t)}(f,t);const y=t[gs];null!==y&&y.insertView(e),t[Wn]|=128}(i,t,e,n),r){const a=cf(n,e),f=t[Fn],y=vo(f,e[yi]);null!==y&&function tm(e,t,n,r,i,a){r[Nr]=i,r[Kr]=t,rl(e,r,n,1,i,a)}(i,e[Kr],f,t,y,a)}}let Od=(()=>{class t{}return t.__NG_ELEMENT_ID__=kS,t})();const LS=Od,FS=class extends LS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function xS(e,t,n,r){const i=t.tView,y=Go(e,i,n,4096&e[Wn]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);y[so]=e[t.index];const Y=e[gs];return null!==Y&&(y[gs]=Y.createEmbeddedView(i)),kp(i,y,n),y}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new md(i)}};function kS(){return dh(Gi(),xt())}function dh(e,t){return 4&e.type?new FS(t,e,bu(e,t)):null}let hh=(()=>{class t{}return t.__NG_ELEMENT_ID__=VS,t})();function VS(){return D_(Gi(),xt())}const zS=hh,E_=class extends zS{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return bu(this._hostTNode,this._hostLView)}get injector(){return new ts(this._hostTNode,this._hostLView)}get parentInjector(){const t=tu(this._hostTNode,this._hostLView);if(qc(t)){const n=No(t,this._hostLView),r=Zs(t);return new ts(n[tn].data[r+8],n)}return new ts(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=b_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-_i}createEmbeddedView(t,n,r){let i,a;"number"==typeof r?i=r:null!=r&&(i=r.index,a=r.injector);const y=t.createEmbeddedViewImpl(n||{},a,null);return this.insertImpl(y,i,false),y}createComponent(t,n,r,i,a){const f=t&&!function Ic(e){return"function"==typeof e}(t);let y;if(f)y=n;else{const Ht=n||{};y=Ht.index,r=Ht.injector,i=Ht.projectableNodes,a=Ht.environmentInjector||Ht.ngModuleRef}const R=f?t:new vd(Kn(t)),Y=r||this.parentInjector;if(!a&&null==R.ngModule){const fn=(f?Y:this.parentInjector).get(ra,null);fn&&(a=fn)}Kn(R.componentType??{});const nt=R.create(Y,i,null,a);return this.insertImpl(nt.hostView,y,false),nt}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function zi(e){return Vr(e[Cr])}(i)){const R=this.indexOf(t);if(-1!==R)this.detach(R);else{const Y=i[Cr],ue=new E_(Y,Y[Kr],Y[Cr]);ue.detach(ue.indexOf(t))}}const f=this._adjustIndex(n),y=this._lContainer;return NS(y,i,f,!r),t.attachToViewContainerRef(),Kl(yg(y),f,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=b_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ql(this._lContainer,n);r&&(au(yg(this._lContainer),n),nf(r[tn],r))}detach(t){const n=this._adjustIndex(t,-1),r=ql(this._lContainer,n);return r&&null!=au(yg(this._lContainer),n)?new md(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function b_(e){return e[8]}function yg(e){return e[8]||(e[8]=[])}function D_(e,t){let n;const r=t[e.index];return Vr(r)?n=r:(n=xv(r,t,null,e),t[e.index]=n,Gf(t,n)),w_(n,t,e,r),new E_(n,e,t)}let w_=function S_(e,t,n,r){if(e[yi])return;let i;i=8&n.type?Qr(r):function GS(e,t){const n=e[Fn],r=n.createComment(""),i=us(t,e);return en(n,vo(n,i),r,function cm(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[yi]=i};class _g{constructor(t){this.queryList=t,this.matches=null}clone(){return new _g(this.queryList)}setDirty(){this.queryList.setDirty()}}class Eg{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const f=n.getByIndex(a);i.push(this.queries[f.indexInDeclarationView].clone())}return new Eg(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==x_(t,n).matches&&this.queries[n].setDirty()}}class C_{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class bg{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new bg(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Dg{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Dg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,QS(n,a)),this.matchTNodeWithReadOption(t,n,nu(n,t,a,!1,!1))}else r===Od?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,nu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ll||i===hh||i===Od&&4&n.type)this.addMatch(n.index,-2);else{const a=nu(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function QS(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function ZS(e,t,n,r){return-1===n?function YS(e,t){return 11&e.type?bu(e,t):4&e.type?dh(e,t):null}(t,e):-2===n?function JS(e,t,n){return n===ll?bu(t,e):n===Od?dh(t,e):n===hh?D_(t,e):void 0}(e,t,r):Sa(e,e[tn],n,t)}function M_(e,t,n,r){const i=t[gs].queries[r];if(null===i.matches){const a=e.data,f=n.matches,y=[];for(let R=0;R<f.length;R+=2){const Y=f[R];y.push(Y<0?null:ZS(t,a[Y],f[R+1],n.metadata.read))}i.matches=y}return i.matches}function wg(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const f=M_(e,t,i,n);for(let y=0;y<a.length;y+=2){const R=a[y];if(R>0)r.push(f[y/2]);else{const Y=a[y+1],ue=t[-R];for(let $e=_i;$e<ue.length;$e++){const Ze=ue[$e];Ze[so]===Ze[Cr]&&wg(Ze[tn],Ze,Y,r)}if(null!==ue[Ii]){const $e=ue[Ii];for(let Ze=0;Ze<$e.length;Ze++){const nt=$e[Ze];wg(nt[tn],nt,Y,r)}}}}}return r}function T_(e){const t=xt(),n=_r(),r=wn();Ct(r+1);const i=x_(n,r);if(e.dirty&&function Pu(e){return 4==(4&e[Wn])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const a=i.crossesNgTemplate?wg(n,t,r,[]):M_(n,t,i,r);e.reset(a,fv),e.notifyOnChanges()}return!0}return!1}function I_(e,t,n){const r=_r();r.firstCreatePass&&(R_(r,new C_(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),P_(r,xt(),t)}function A_(e,t,n,r){const i=_r();if(i.firstCreatePass){const a=Gi();R_(i,new C_(t,n,r),a.index),function qS(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}P_(i,xt(),n)}function O_(){return function XS(e,t){return e[gs].queries[t].queryList}(xt(),wn())}function P_(e,t,n){const r=new vg(4==(4&n));(function sb(e,t,n,r){const i=Lv(t);i.push(n),e.firstCreatePass&&Fv(e).push(r,i.length-1)})(e,t,r,r.destroy),null===t[gs]&&(t[gs]=new Eg),t[gs].queries.push(new _g(r))}function R_(e,t,n){null===e.queries&&(e.queries=new bg),e.queries.track(new Dg(t,n))}function x_(e,t){return e.queries.getByIndex(t)}function N_(e,t){return dh(e,t)}function Sg(e){return!!Ti(e)}const J_=new Zt("Application Initializer");let Ag=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=gt(J_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const a of this.appInits){const f=a();if(Zp(f))r.push(f);else if(vy(f)){const y=new Promise((R,Y)=>{f.subscribe({complete:R,error:Y})});r.push(y)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(a=>{this.reject(a)}),0===r.length&&i(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=an({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),X_=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=an({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const gh=new Zt("LocaleId",{providedIn:"root",factory:()=>gt(gh,kt.Optional|kt.SkipSelf)||function EC(){return typeof $localize<"u"&&$localize.locale||Sl}()}),bC=new Zt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let q_=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new E.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=an({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class wC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let SC=(()=>{var e;class t{compileModuleSync(r){return new gg(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const i=this.compileModuleSync(r),f=z(Ti(r).declarations).reduce((y,R)=>{const Y=Kn(R);return Y&&y.push(new vd(Y)),y},[]);return new wC(i,f)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=an({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const rE=new Zt(""),iE=new Zt("");let Rg,WC=(()=>{var e;class t{constructor(r,i,a){this._ngZone=r,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rg||(function KC(e){Rg=e}(a),a.addToWindow(i)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{fs.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(r)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,a){let f=-1;i&&i>0&&(f=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==f),r(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:r,timeoutId:f,updateCb:a})}whenStable(r,i,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,i,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,a){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Be(fs),Be(sE),Be(iE))},e.\u0275prov=an({token:e,factory:e.\u0275fac}),t})(),sE=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Rg?.findTestabilityInTree(this,r,i)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=an({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Bc=null;const xg=new Zt("PlatformDestroyListeners"),Ng=new Zt("appBootstrapListener");class ZC{constructor(t,n){this.name=t,this.token=n}}function qC(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,i=function XC(e=[]){if(Bc)return Bc;const t=function uE(e=[],t){return zo.create({name:t,providers:[{provide:bf,useValue:"platform"},{provide:xg,useValue:new Set([()=>Bc=null])},...e]})}(e);return Bc=t,function aE(){!function uo(e){Ts=e}(()=>{throw new q(600,!1)})}(),function cE(e){e.get(hp,null)?.forEach(n=>n())}(t),t}(r),a=[iM(),...n||[]],y=new G0({providers:a,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,R=y.get(fs);return R.run(()=>{y.resolveInjectorInitializers();const Y=y.get(oc,null);let ue;R.runOutsideAngular(()=>{ue=R.onError.subscribe({next:nt=>{Y.handleError(nt)}})});const $e=()=>y.destroy(),Ze=i.get(xg);return Ze.add($e),y.onDestroy(()=>{ue.unsubscribe(),Ze.delete($e)}),function fE(e,t,n){try{const r=n();return Zp(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(Y,R,()=>{const nt=y.get(Ag);return nt.runInitializers(),nt.donePromise.then(()=>{!function y0(e){dt(e,"Expected localeId to be defined"),"string"==typeof e&&(v0=e.toLowerCase().replace(/_/g,"-"))}(y.get(gh,Sl)||Sl);const Ht=y.get(Tl);return void 0!==t&&Ht.bootstrap(t),Ht})})})}catch(t){return Promise.reject(t)}}let Tl=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gt(gE),this.zoneIsStable=gt(Hf),this.componentTypes=[],this.components=[],this.isStable=gt(q_).hasPendingTasks.pipe((0,h.w)(r=>r?(0,g.of)(!1):this.zoneIsStable),(0,F.x)(),(0,p.B)()),this._injector=gt(ra)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){const a=r instanceof vp;if(!this._injector.get(Ag).done)throw!a&&Mi(r),new q(405,!1);let y;y=a?r:this._injector.get(ul).resolveComponentFactory(r),this.componentTypes.push(y.componentType);const R=function YC(e){return e.isBoundToModule}(y)?void 0:this._injector.get(Iu),ue=y.create(zo.NULL,[],i||y.selector,R),$e=ue.location.nativeElement,Ze=ue.injector.get(rE,null);return Ze?.registerApplication($e),ue.onDestroy(()=>{this.detachView(ue.hostView),vh(this.components,ue),Ze?.unregisterApplication($e)}),this._loadComponent(ue),ue}tick(){if(this._runningTick)throw new q(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){const i=r;vh(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const i=this._injector.get(Ng,[]);i.push(...this._bootstrapListeners),i.forEach(a=>a(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>vh(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new q(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=an({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function vh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const gE=new Zt("",{providedIn:"root",factory:()=>gt(oc).handleError.bind(void 0)});function nM(){const e=gt(fs),t=gt(oc);return n=>e.runOutsideAngular(()=>t.handleError(n))}let rM=(()=>{var e;class t{constructor(){this.zone=gt(fs),this.applicationRef=gt(Tl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=an({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function mE(e){return[{provide:fs,useFactory:e},{provide:ol,multi:!0,useFactory:()=>{const t=gt(rM,{optional:!0});return()=>t.initialize()}},{provide:gE,useFactory:nM},{provide:Hf,useFactory:Vf}]}function iM(e){return yf([[],mE(()=>new fs(function dE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}function sM(){return!1}function oM(){}let aM=(()=>{class t{}return t.__NG_ELEMENT_ID__=cM,t})();function cM(e){return function uM(e,t,n){if(vs(e)&&!n){const r=ls(e.index,t);return new md(r,r)}return 47&e.type?new md(t[qr],t):null}(Gi(),xt(),16==(16&e))}class EE{constructor(){}supports(t){return Yf(t)}create(t){return new gM(t)}}const pM=(e,t)=>t;class gM{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||pM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,a=null;for(;n||r;){const f=!r||n&&n.currentIndex<DE(r,i,a)?n:r,y=DE(f,i,a),R=f.currentIndex;if(f===r)i--,r=r._nextRemoved;else if(n=n._next,null==f.previousIndex)i++;else{a||(a=[]);const Y=y-i,ue=R-i;if(Y!=ue){for(let Ze=0;Ze<Y;Ze++){const nt=Ze<a.length?a[Ze]:a[Ze]=0,St=nt+Ze;ue<=St&&St<Y&&(a[Ze]=nt+1)}a[f.previousIndex]=ue-Y}}y!==R&&t(f,y,R)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Yf(t))throw new q(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,a,f,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let y=0;y<this.length;y++)a=t[y],f=this._trackByFn(y,a),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,a,f,y)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,f,y),r=!0),n=n._next}else i=0,function Jb(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,y=>{f=this._trackByFn(i,y),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,y,f,i)),Object.is(n.item,y)||this._addIdentityChange(n,y)):(n=this._mismatch(n,y,f,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,i)):t=this._addAfter(new mM(n,r),a,i),t}_verifyReinsertion(t,n,r,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new bE),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bE),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class mM{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class vM{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class bE{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new vM,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function DE(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class wE{constructor(){}supports(t){return t instanceof Map||jp(t)}create(){return new yM}}class yM{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||jp(t)))throw new q(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;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(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const a=i._prev,f=i._next;return a&&(a._next=f),f&&(f._prev=a),i._next=null,i._prev=null,i}const r=new _M(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class _M{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function SE(){return new Bg([new EE])}let Bg=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(null!=i){const a=i.factories.slice();r=r.concat(a)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||SE()),deps:[[t,new lu,new tc]]}}find(r){const i=this.factories.find(a=>a.supports(r));if(null!=i)return i;throw new q(901,!1)}}return(e=t).\u0275prov=an({token:e,providedIn:"root",factory:SE}),t})();function CE(){return new Ug([new wE])}let Ug=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(i){const a=i.factories.slice();r=r.concat(a)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||CE()),deps:[[t,new lu,new tc]]}}find(r){const i=this.factories.find(a=>a.supports(r));if(i)return i;throw new q(901,!1)}}return(e=t).\u0275prov=an({token:e,providedIn:"root",factory:CE}),t})(),DM=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Be(Tl))},e.\u0275mod=Yi({type:e}),e.\u0275inj=lr({}),t})();function xM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function LM(e,t){const n=Kn(e),r=t.elementInjector||ud();return new vd(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function FM(e){const t=Kn(e);if(!t)return null;const n=new vd(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},3680:(ie,Q,o)=>{"use strict";o.d(Q,{RQ:()=>q,BQ:()=>se});var c=o(5879),_=o(4802),w=o(9388),E=o(6814),g=o(2831),p=o(2495);const q=new c.OlP("mat-sanity-checks",{providedIn:"root",factory:function Ne(){return!0}});let se=(()=>{var Vt;class Te{constructor(Pe,Oe,ye){this._sanityChecks=Oe,this._document=ye,this._hasDoneGlobalChecks=!1,Pe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Pe){return!(0,g.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Pe])}}return(Vt=Te).\u0275fac=function(Pe){return new(Pe||Vt)(c.LFG(_.qm),c.LFG(q,8),c.LFG(E.K0))},Vt.\u0275mod=c.oAB({type:Vt}),Vt.\u0275inj=c.cJS({imports:[w.vT,w.vT]}),Te})();class $n{constructor(Te,ge,Pe,Oe=!1){this._renderer=Te,this.element=ge,this.config=Pe,this._animationForciblyDisabledThroughCss=Oe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lr=(0,g.i$)({passive:!0,capture:!0});class fr{constructor(){this._events=new Map,this._delegateEventHandler=Te=>{const ge=(0,g.sA)(Te);ge&&this._events.get(Te.type)?.forEach((Pe,Oe)=>{(Oe===ge||Oe.contains(ge))&&Pe.forEach(ye=>ye.handleEvent(Te))})}}addHandler(Te,ge,Pe,Oe){const ye=this._events.get(ge);if(ye){const De=ye.get(Pe);De?De.add(Oe):ye.set(Pe,new Set([Oe]))}else this._events.set(ge,new Map([[Pe,new Set([Oe])]])),Te.runOutsideAngular(()=>{document.addEventListener(ge,this._delegateEventHandler,lr)})}removeHandler(Te,ge,Pe){const Oe=this._events.get(Te);if(!Oe)return;const ye=Oe.get(ge);ye&&(ye.delete(Pe),0===ye.size&&Oe.delete(ge),0===Oe.size&&(this._events.delete(Te),document.removeEventListener(Te,this._delegateEventHandler,lr)))}}const Bn={enterDuration:225,exitDuration:150},Ur=(0,g.i$)({passive:!0,capture:!0}),ni=["mousedown","touchstart"],Xr=["mouseup","mouseleave","touchend","touchcancel"];class lt{constructor(Te,ge,Pe,Oe){this._target=Te,this._ngZone=ge,this._platform=Oe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Oe.isBrowser&&(this._containerElement=(0,p.fI)(Pe))}fadeInRipple(Te,ge,Pe={}){const Oe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ye={...Bn,...Pe.animation};Pe.centered&&(Te=Oe.left+Oe.width/2,ge=Oe.top+Oe.height/2);const De=Pe.radius||function Mt(Vt,Te,ge){const Pe=Math.max(Math.abs(Vt-ge.left),Math.abs(Vt-ge.right)),Oe=Math.max(Math.abs(Te-ge.top),Math.abs(Te-ge.bottom));return Math.sqrt(Pe*Pe+Oe*Oe)}(Te,ge,Oe),Qe=Te-Oe.left,Be=ge-Oe.top,rt=ye.enterDuration,gt=document.createElement("div");gt.classList.add("mat-ripple-element"),gt.style.left=Qe-De+"px",gt.style.top=Be-De+"px",gt.style.height=2*De+"px",gt.style.width=2*De+"px",null!=Pe.color&&(gt.style.backgroundColor=Pe.color),gt.style.transitionDuration=`${rt}ms`,this._containerElement.appendChild(gt);const un=window.getComputedStyle(gt),Ye=un.transitionDuration,Ae="none"===un.transitionProperty||"0s"===Ye||"0s, 0s"===Ye||0===Oe.width&&0===Oe.height,ot=new $n(this,gt,Pe,Ae);gt.style.transform="scale3d(1, 1, 1)",ot.state=0,Pe.persistent||(this._mostRecentTransientRipple=ot);let ft=null;return!Ae&&(rt||ye.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const $t=()=>this._finishRippleTransition(ot),Bt=()=>this._destroyRipple(ot);gt.addEventListener("transitionend",$t),gt.addEventListener("transitioncancel",Bt),ft={onTransitionEnd:$t,onTransitionCancel:Bt}}),this._activeRipples.set(ot,ft),(Ae||!rt)&&this._finishRippleTransition(ot),ot}fadeOutRipple(Te){if(2===Te.state||3===Te.state)return;const ge=Te.element,Pe={...Bn,...Te.config.animation};ge.style.transitionDuration=`${Pe.exitDuration}ms`,ge.style.opacity="0",Te.state=2,(Te._animationForciblyDisabledThroughCss||!Pe.exitDuration)&&this._finishRippleTransition(Te)}fadeOutAll(){this._getActiveRipples().forEach(Te=>Te.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Te=>{Te.config.persistent||Te.fadeOut()})}setupTriggerEvents(Te){const ge=(0,p.fI)(Te);!this._platform.isBrowser||!ge||ge===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ge,ni.forEach(Pe=>{lt._eventManager.addHandler(this._ngZone,Pe,ge,this)}))}handleEvent(Te){"mousedown"===Te.type?this._onMousedown(Te):"touchstart"===Te.type?this._onTouchStart(Te):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Xr.forEach(ge=>{this._triggerElement.addEventListener(ge,this,Ur)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Te){0===Te.state?this._startFadeOutTransition(Te):2===Te.state&&this._destroyRipple(Te)}_startFadeOutTransition(Te){const ge=Te===this._mostRecentTransientRipple,{persistent:Pe}=Te.config;Te.state=1,!Pe&&(!ge||!this._isPointerDown)&&Te.fadeOut()}_destroyRipple(Te){const ge=this._activeRipples.get(Te)??null;this._activeRipples.delete(Te),this._activeRipples.size||(this._containerRect=null),Te===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Te.state=3,null!==ge&&(Te.element.removeEventListener("transitionend",ge.onTransitionEnd),Te.element.removeEventListener("transitioncancel",ge.onTransitionCancel)),Te.element.remove()}_onMousedown(Te){const ge=(0,_.X6)(Te),Pe=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ge&&!Pe&&(this._isPointerDown=!0,this.fadeInRipple(Te.clientX,Te.clientY,this._target.rippleConfig))}_onTouchStart(Te){if(!this._target.rippleDisabled&&!(0,_.yG)(Te)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ge=Te.changedTouches;if(ge)for(let Pe=0;Pe<ge.length;Pe++)this.fadeInRipple(ge[Pe].clientX,ge[Pe].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(Te=>{!Te.config.persistent&&(1===Te.state||Te.config.terminateOnPointerUp&&0===Te.state)&&Te.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Te=this._triggerElement;Te&&(ni.forEach(ge=>lt._eventManager.removeHandler(ge,Te,this)),this._pointerUpEventsRegistered&&Xr.forEach(ge=>Te.removeEventListener(ge,this,Ur)))}}lt._eventManager=new fr},6593:(ie,Q,o)=>{"use strict";o.d(Q,{Cg:()=>Ue,Dx:()=>lt,H7:()=>is,b2:()=>Bn,se:()=>_e});var c=o(5879),_=o(6814);class w extends _.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class C extends w{static makeCurrent(){(0,_.HT)(new C)}onAndCancel(ge,Pe,Oe){return ge.addEventListener(Pe,Oe),()=>{ge.removeEventListener(Pe,Oe)}}dispatchEvent(ge,Pe){ge.dispatchEvent(Pe)}remove(ge){ge.parentNode&&ge.parentNode.removeChild(ge)}createElement(ge,Pe){return(Pe=Pe||this.getDefaultDocument()).createElement(ge)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ge){return ge.nodeType===Node.ELEMENT_NODE}isShadowRoot(ge){return ge instanceof DocumentFragment}getGlobalEventTarget(ge,Pe){return"window"===Pe?window:"document"===Pe?ge:"body"===Pe?ge.body:null}getBaseHref(ge){const Pe=function g(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==Pe?null:function h(Te){p=p||document.createElement("a"),p.setAttribute("href",Te);const ge=p.pathname;return"/"===ge.charAt(0)?ge:`/${ge}`}(Pe)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(ge){return(0,_.Mx)(document.cookie,ge)}}let p,E=null,T=(()=>{var Te;class ge{build(){return new XMLHttpRequest}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac}),ge})();const $=new c.OlP("EventManagerPlugins");let x=(()=>{var Te;class ge{constructor(Oe,ye){this._zone=ye,this._eventNameToPlugin=new Map,Oe.forEach(De=>{De.manager=this}),this._plugins=Oe.slice().reverse()}addEventListener(Oe,ye,De){return this._findPluginFor(ye).addEventListener(Oe,ye,De)}getZone(){return this._zone}_findPluginFor(Oe){let ye=this._eventNameToPlugin.get(Oe);if(ye)return ye;if(ye=this._plugins.find(Qe=>Qe.supports(Oe)),!ye)throw new c.vHH(5101,!1);return this._eventNameToPlugin.set(Oe,ye),ye}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG($),c.LFG(c.R0b))},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac}),ge})();class J{constructor(ge){this._doc=ge}}const te="ng-app-id";let U=(()=>{var Te;class ge{constructor(Oe,ye,De,Qe={}){this.doc=Oe,this.appId=ye,this.nonce=De,this.platformId=Qe,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,_.PM)(Qe),this.resetHostNodes()}addStyles(Oe){for(const ye of Oe)1===this.changeUsageCount(ye,1)&&this.onStyleAdded(ye)}removeStyles(Oe){for(const ye of Oe)this.changeUsageCount(ye,-1)<=0&&this.onStyleRemoved(ye)}ngOnDestroy(){const Oe=this.styleNodesInDOM;Oe&&(Oe.forEach(ye=>ye.remove()),Oe.clear());for(const ye of this.getAllStyles())this.onStyleRemoved(ye);this.resetHostNodes()}addHost(Oe){this.hostNodes.add(Oe);for(const ye of this.getAllStyles())this.addStyleToHost(Oe,ye)}removeHost(Oe){this.hostNodes.delete(Oe)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Oe){for(const ye of this.hostNodes)this.addStyleToHost(ye,Oe)}onStyleRemoved(Oe){const ye=this.styleRef;ye.get(Oe)?.elements?.forEach(De=>De.remove()),ye.delete(Oe)}collectServerRenderedStyles(){const Oe=this.doc.head?.querySelectorAll(`style[${te}="${this.appId}"]`);if(Oe?.length){const ye=new Map;return Oe.forEach(De=>{null!=De.textContent&&ye.set(De.textContent,De)}),ye}return null}changeUsageCount(Oe,ye){const De=this.styleRef;if(De.has(Oe)){const Qe=De.get(Oe);return Qe.usage+=ye,Qe.usage}return De.set(Oe,{usage:ye,elements:[]}),ye}getStyleElement(Oe,ye){const De=this.styleNodesInDOM,Qe=De?.get(ye);if(Qe?.parentNode===Oe)return De.delete(ye),Qe.removeAttribute(te),Qe;{const Be=this.doc.createElement("style");return this.nonce&&Be.setAttribute("nonce",this.nonce),Be.textContent=ye,this.platformIsServer&&Be.setAttribute(te,this.appId),Be}}addStyleToHost(Oe,ye){const De=this.getStyleElement(Oe,ye);Oe.appendChild(De);const Qe=this.styleRef,Be=Qe.get(ye)?.elements;Be?Be.push(De):Qe.set(ye,{elements:[De],usage:1})}resetHostNodes(){const Oe=this.hostNodes;Oe.clear(),Oe.add(this.doc.head)}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG(_.K0),c.LFG(c.AFp),c.LFG(c.Ojb,8),c.LFG(c.Lbi))},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac}),ge})();const ee={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/MathML/"},de=/%COMP%/g,se=new c.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function he(Te,ge){return ge.map(Pe=>Pe.replace(de,Te))}let _e=(()=>{var Te;class ge{constructor(Oe,ye,De,Qe,Be,rt,gt,un=null){this.eventManager=Oe,this.sharedStylesHost=ye,this.appId=De,this.removeStylesOnCompDestroy=Qe,this.doc=Be,this.platformId=rt,this.ngZone=gt,this.nonce=un,this.rendererByCompId=new Map,this.platformIsServer=(0,_.PM)(rt),this.defaultRenderer=new re(Oe,Be,gt,this.platformIsServer)}createRenderer(Oe,ye){if(!Oe||!ye)return this.defaultRenderer;this.platformIsServer&&ye.encapsulation===c.ifc.ShadowDom&&(ye={...ye,encapsulation:c.ifc.Emulated});const De=this.getOrCreateRenderer(Oe,ye);return De instanceof Se?De.applyToHost(Oe):De instanceof Le&&De.applyStyles(),De}getOrCreateRenderer(Oe,ye){const De=this.rendererByCompId;let Qe=De.get(ye.id);if(!Qe){const Be=this.doc,rt=this.ngZone,gt=this.eventManager,un=this.sharedStylesHost,Gn=this.removeStylesOnCompDestroy,Ye=this.platformIsServer;switch(ye.encapsulation){case c.ifc.Emulated:Qe=new Se(gt,un,ye,this.appId,Gn,Be,rt,Ye);break;case c.ifc.ShadowDom:return new Ge(gt,un,Oe,ye,Be,rt,this.nonce,Ye);default:Qe=new Le(gt,un,ye,Gn,Be,rt,Ye)}De.set(ye.id,Qe)}return Qe}ngOnDestroy(){this.rendererByCompId.clear()}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG(x),c.LFG(U),c.LFG(c.AFp),c.LFG(se),c.LFG(_.K0),c.LFG(c.Lbi),c.LFG(c.R0b),c.LFG(c.Ojb))},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac}),ge})();class re{constructor(ge,Pe,Oe,ye){this.eventManager=ge,this.doc=Pe,this.ngZone=Oe,this.platformIsServer=ye,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ge,Pe){return Pe?this.doc.createElementNS(ee[Pe]||Pe,ge):this.doc.createElement(ge)}createComment(ge){return this.doc.createComment(ge)}createText(ge){return this.doc.createTextNode(ge)}appendChild(ge,Pe){(je(ge)?ge.content:ge).appendChild(Pe)}insertBefore(ge,Pe,Oe){ge&&(je(ge)?ge.content:ge).insertBefore(Pe,Oe)}removeChild(ge,Pe){ge&&ge.removeChild(Pe)}selectRootElement(ge,Pe){let Oe="string"==typeof ge?this.doc.querySelector(ge):ge;if(!Oe)throw new c.vHH(-5104,!1);return Pe||(Oe.textContent=""),Oe}parentNode(ge){return ge.parentNode}nextSibling(ge){return ge.nextSibling}setAttribute(ge,Pe,Oe,ye){if(ye){Pe=ye+":"+Pe;const De=ee[ye];De?ge.setAttributeNS(De,Pe,Oe):ge.setAttribute(Pe,Oe)}else ge.setAttribute(Pe,Oe)}removeAttribute(ge,Pe,Oe){if(Oe){const ye=ee[Oe];ye?ge.removeAttributeNS(ye,Pe):ge.removeAttribute(`${Oe}:${Pe}`)}else ge.removeAttribute(Pe)}addClass(ge,Pe){ge.classList.add(Pe)}removeClass(ge,Pe){ge.classList.remove(Pe)}setStyle(ge,Pe,Oe,ye){ye&(c.JOm.DashCase|c.JOm.Important)?ge.style.setProperty(Pe,Oe,ye&c.JOm.Important?"important":""):ge.style[Pe]=Oe}removeStyle(ge,Pe,Oe){Oe&c.JOm.DashCase?ge.style.removeProperty(Pe):ge.style[Pe]=""}setProperty(ge,Pe,Oe){ge[Pe]=Oe}setValue(ge,Pe){ge.nodeValue=Pe}listen(ge,Pe,Oe){if("string"==typeof ge&&!(ge=(0,_.q)().getGlobalEventTarget(this.doc,ge)))throw new Error(`Unsupported event target ${ge} for event ${Pe}`);return this.eventManager.addEventListener(ge,Pe,this.decoratePreventDefault(Oe))}decoratePreventDefault(ge){return Pe=>{if("__ngUnwrap__"===Pe)return ge;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ge(Pe)):ge(Pe))&&Pe.preventDefault()}}}function je(Te){return"TEMPLATE"===Te.tagName&&void 0!==Te.content}class Ge extends re{constructor(ge,Pe,Oe,ye,De,Qe,Be,rt){super(ge,De,Qe,rt),this.sharedStylesHost=Pe,this.hostEl=Oe,this.shadowRoot=Oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const gt=he(ye.id,ye.styles);for(const un of gt){const Gn=document.createElement("style");Be&&Gn.setAttribute("nonce",Be),Gn.textContent=un,this.shadowRoot.appendChild(Gn)}}nodeOrShadowRoot(ge){return ge===this.hostEl?this.shadowRoot:ge}appendChild(ge,Pe){return super.appendChild(this.nodeOrShadowRoot(ge),Pe)}insertBefore(ge,Pe,Oe){return super.insertBefore(this.nodeOrShadowRoot(ge),Pe,Oe)}removeChild(ge,Pe){return super.removeChild(this.nodeOrShadowRoot(ge),Pe)}parentNode(ge){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ge)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Le extends re{constructor(ge,Pe,Oe,ye,De,Qe,Be,rt){super(ge,De,Qe,Be),this.sharedStylesHost=Pe,this.removeStylesOnCompDestroy=ye,this.styles=rt?he(rt,Oe.styles):Oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Se extends Le{constructor(ge,Pe,Oe,ye,De,Qe,Be,rt){const gt=ye+"-"+Oe.id;super(ge,Pe,Oe,De,Qe,Be,rt,gt),this.contentAttr=function oe(Te){return"_ngcontent-%COMP%".replace(de,Te)}(gt),this.hostAttr=function fe(Te){return"_nghost-%COMP%".replace(de,Te)}(gt)}applyToHost(ge){this.applyStyles(),this.setAttribute(ge,this.hostAttr,"")}createElement(ge,Pe){const Oe=super.createElement(ge,Pe);return super.setAttribute(Oe,this.contentAttr,""),Oe}}let ze=(()=>{var Te;class ge extends J{constructor(Oe){super(Oe)}supports(Oe){return!0}addEventListener(Oe,ye,De){return Oe.addEventListener(ye,De,!1),()=>this.removeEventListener(Oe,ye,De)}removeEventListener(Oe,ye,De){return Oe.removeEventListener(ye,De)}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG(_.K0))},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac}),ge})();const Ee=["alt","control","meta","shift"],be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xe={alt:Te=>Te.altKey,control:Te=>Te.ctrlKey,meta:Te=>Te.metaKey,shift:Te=>Te.shiftKey};let Ve=(()=>{var Te;class ge extends J{constructor(Oe){super(Oe)}supports(Oe){return null!=ge.parseEventName(Oe)}addEventListener(Oe,ye,De){const Qe=ge.parseEventName(ye),Be=ge.eventCallback(Qe.fullKey,De,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,_.q)().onAndCancel(Oe,Qe.domEventName,Be))}static parseEventName(Oe){const ye=Oe.toLowerCase().split("."),De=ye.shift();if(0===ye.length||"keydown"!==De&&"keyup"!==De)return null;const Qe=ge._normalizeKey(ye.pop());let Be="",rt=ye.indexOf("code");if(rt>-1&&(ye.splice(rt,1),Be="code."),Ee.forEach(un=>{const Gn=ye.indexOf(un);Gn>-1&&(ye.splice(Gn,1),Be+=un+".")}),Be+=Qe,0!=ye.length||0===Qe.length)return null;const gt={};return gt.domEventName=De,gt.fullKey=Be,gt}static matchEventFullKeyCode(Oe,ye){let De=be[Oe.key]||Oe.key,Qe="";return ye.indexOf("code.")>-1&&(De=Oe.code,Qe="code."),!(null==De||!De)&&(De=De.toLowerCase()," "===De?De="space":"."===De&&(De="dot"),Ee.forEach(Be=>{Be!==De&&(0,xe[Be])(Oe)&&(Qe+=Be+".")}),Qe+=De,Qe===ye)}static eventCallback(Oe,ye,De){return Qe=>{ge.matchEventFullKeyCode(Qe,Oe)&&De.runGuarded(()=>ye(Qe))}}static _normalizeKey(Oe){return"esc"===Oe?"escape":Oe}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG(_.K0))},Te.\u0275prov=c.Yz7({token:Te,factory:Te.\u0275fac}),ge})();function Ue(Te,ge){return(0,c.iPO)({rootComponent:Te,...Xe(ge)})}function Xe(Te){return{appProviders:[...fr,...Te?.providers??[]],platformProviders:bn}}const bn=[{provide:c.Lbi,useValue:_.bD},{provide:c.g9A,useValue:function pt(){C.makeCurrent()},multi:!0},{provide:_.K0,useFactory:function rn(){return(0,c.RDi)(document),document},deps:[]}],$n=new c.OlP(""),lr=[{provide:c.rWj,useClass:class F{addToWindow(ge){c.dqk.getAngularTestability=(Oe,ye=!0)=>{const De=ge.findTestabilityInTree(Oe,ye);if(null==De)throw new c.vHH(5103,!1);return De},c.dqk.getAllAngularTestabilities=()=>ge.getAllTestabilities(),c.dqk.getAllAngularRootElements=()=>ge.getAllRootElements(),c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(Oe=>{const ye=c.dqk.getAllAngularTestabilities();let De=ye.length,Qe=!1;const Be=function(rt){Qe=Qe||rt,De--,0==De&&Oe(Qe)};ye.forEach(rt=>{rt.whenStable(Be)})})}findTestabilityInTree(ge,Pe,Oe){return null==Pe?null:ge.getTestability(Pe)??(Oe?(0,_.q)().isShadowRoot(Pe)?this.findTestabilityInTree(ge,Pe.host,!0):this.findTestabilityInTree(ge,Pe.parentElement,!0):null)}},deps:[]},{provide:c.lri,useClass:c.dDg,deps:[c.R0b,c.eoX,c.rWj]},{provide:c.dDg,useClass:c.dDg,deps:[c.R0b,c.eoX,c.rWj]}],fr=[{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function ln(){return new c.qLn},deps:[]},{provide:$,useClass:ze,multi:!0,deps:[_.K0,c.R0b,c.Lbi]},{provide:$,useClass:Ve,multi:!0,deps:[_.K0]},_e,U,x,{provide:c.FYo,useExisting:_e},{provide:_.JF,useClass:T,deps:[]},[]];let Bn=(()=>{var Te;class ge{constructor(Oe){}static withServerTransition(Oe){return{ngModule:ge,providers:[{provide:c.AFp,useValue:Oe.appId}]}}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG($n,12))},Te.\u0275mod=c.oAB({type:Te}),Te.\u0275inj=c.cJS({providers:[...fr,...lr],imports:[_.ez,c.hGG]}),ge})(),lt=(()=>{var Te;class ge{constructor(Oe){this._doc=Oe}getTitle(){return this._doc.title}setTitle(Oe){this._doc.title=Oe||""}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG(_.K0))},Te.\u0275prov=c.Yz7({token:Te,factory:function(Oe){let ye=null;return ye=Oe?new Oe:function Xr(){return new lt((0,c.LFG)(_.K0))}(),ye},providedIn:"root"}),ge})();typeof window<"u"&&window;let is=(()=>{var Te;class ge{}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)},Te.\u0275prov=c.Yz7({token:Te,factory:function(Oe){let ye=null;return ye=Oe?new(Oe||Te):c.LFG(Wr),ye},providedIn:"root"}),ge})(),Wr=(()=>{var Te;class ge extends is{constructor(Oe){super(),this._doc=Oe}sanitize(Oe,ye){if(null==ye)return null;switch(Oe){case c.q3G.NONE:return ye;case c.q3G.HTML:return(0,c.qzn)(ye,"HTML")?(0,c.z3N)(ye):(0,c.EiD)(this._doc,String(ye)).toString();case c.q3G.STYLE:return(0,c.qzn)(ye,"Style")?(0,c.z3N)(ye):ye;case c.q3G.SCRIPT:if((0,c.qzn)(ye,"Script"))return(0,c.z3N)(ye);throw new c.vHH(5200,!1);case c.q3G.URL:return(0,c.qzn)(ye,"URL")?(0,c.z3N)(ye):(0,c.mCW)(String(ye));case c.q3G.RESOURCE_URL:if((0,c.qzn)(ye,"ResourceURL"))return(0,c.z3N)(ye);throw new c.vHH(5201,!1);default:throw new c.vHH(5202,!1)}}bypassSecurityTrustHtml(Oe){return(0,c.JVY)(Oe)}bypassSecurityTrustStyle(Oe){return(0,c.L6k)(Oe)}bypassSecurityTrustScript(Oe){return(0,c.eBb)(Oe)}bypassSecurityTrustUrl(Oe){return(0,c.LAX)(Oe)}bypassSecurityTrustResourceUrl(Oe){return(0,c.pB0)(Oe)}}return(Te=ge).\u0275fac=function(Oe){return new(Oe||Te)(c.LFG(_.K0))},Te.\u0275prov=c.Yz7({token:Te,factory:function(Oe){let ye=null;return ye=Oe?new Oe:function Gr(Te){return new Wr(Te.get(_.K0))}(c.LFG(c.zs3)),ye},providedIn:"root"}),ge})()},4187:(ie,Q,o)=>{"use strict";o.d(Q,{gz:()=>gr,gk:()=>Di,m2:()=>ir,Q3:()=>Bi,OD:()=>Qi,wm:()=>us,Av:()=>to,F0:()=>hi,Bz:()=>xt,lC:()=>tn,bU:()=>Pu,aF:()=>Wc});var c=o(5879),_=o(2664),w=o(9666),C=o(2096),E=o(5619),g=o(2572),p=o(6973),h=o(5211),F=o(4911),T=o(8407),$=o(8504),x=o(6232),J=o(3168),te=o(8645),U=o(7394),ee=o(6814),de=o(7398),le=o(4664),we=o(8180),Ne=o(7921),q=o(2181),se=o(1631),oe=o(1374),fe=o(6328),he=o(9397),_e=o(6306),re=o(6699),ne=o(3572),ve=o(9360),je=o(8251);function Ge(b){return b<=0?()=>x.E:(0,ve.e)((O,B)=>{let M=[];O.subscribe((0,je.x)(B,G=>{M.push(G),b<M.length&&M.shift()},()=>{for(const G of M)B.next(G);B.complete()},void 0,()=>{M=null}))})}var Le=o(3026),Se=o(2737),Ee=o(975),be=o(4716),xe=o(6196),Ve=o(9773),Ue=o(7537),st=o(6593);const Xe="primary",dt=Symbol("RouteTitle");class pt{constructor(O){this.params=O||{}}has(O){return Object.prototype.hasOwnProperty.call(this.params,O)}get(O){if(this.has(O)){const B=this.params[O];return Array.isArray(B)?B[0]:B}return null}getAll(O){if(this.has(O)){const B=this.params[O];return Array.isArray(B)?B:[B]}return[]}get keys(){return Object.keys(this.params)}}function ln(b){return new pt(b)}function rn(b,O,B){const M=B.path.split("/");if(M.length>b.length||"full"===B.pathMatch&&(O.hasChildren()||M.length<b.length))return null;const G={};for(let pe=0;pe<M.length;pe++){const Ie=M[pe],it=b[pe];if(Ie.startsWith(":"))G[Ie.substring(1)]=it;else if(Ie!==it.path)return null}return{consumed:b.slice(0,M.length),posParams:G}}function an(b,O){const B=b?Object.keys(b):void 0,M=O?Object.keys(O):void 0;if(!B||!M||B.length!=M.length)return!1;let G;for(let pe=0;pe<B.length;pe++)if(G=B[pe],!$n(b[G],O[G]))return!1;return!0}function $n(b,O){if(Array.isArray(b)&&Array.isArray(O)){if(b.length!==O.length)return!1;const B=[...b].sort(),M=[...O].sort();return B.every((G,pe)=>M[pe]===G)}return b===O}function lr(b){return b.length>0?b[b.length-1]:null}function fr(b){return(0,_.b)(b)?b:(0,c.QGY)(b)?(0,w.D)(Promise.resolve(b)):(0,C.of)(b)}const Bn={exact:function Xr(b,O,B){if(!Jt(b.segments,O.segments)||!kt(b.segments,O.segments,B)||b.numberOfChildren!==O.numberOfChildren)return!1;for(const M in O.children)if(!b.children[M]||!Xr(b.children[M],O.children[M],B))return!1;return!0},subset:Mt},Ar={exact:function ni(b,O){return an(b,O)},subset:function lt(b,O){return Object.keys(O).length<=Object.keys(b).length&&Object.keys(O).every(B=>$n(b[B],O[B]))},ignored:()=>!0};function Ur(b,O,B){return Bn[B.paths](b.root,O.root,B.matrixParams)&&Ar[B.queryParams](b.queryParams,O.queryParams)&&!("exact"===B.fragment&&b.fragment!==O.fragment)}function Mt(b,O,B){return Nt(b,O,O.segments,B)}function Nt(b,O,B,M){if(b.segments.length>B.length){const G=b.segments.slice(0,B.length);return!(!Jt(G,B)||O.hasChildren()||!kt(G,B,M))}if(b.segments.length===B.length){if(!Jt(b.segments,B)||!kt(b.segments,B,M))return!1;for(const G in O.children)if(!b.children[G]||!Mt(b.children[G],O.children[G],M))return!1;return!0}{const G=B.slice(0,b.segments.length),pe=B.slice(b.segments.length);return!!(Jt(b.segments,G)&&kt(b.segments,G,M)&&b.children[Xe])&&Nt(b.children[Xe],O,pe,M)}}function kt(b,O,B){return O.every((M,G)=>Ar[B](b[G].parameters,M.parameters))}class He{constructor(O=new ht([],{}),B={},M=null){this.root=O,this.queryParams=B,this.fragment=M}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ln(this.queryParams)),this._queryParamMap}toString(){return Zt.serialize(this)}}class ht{constructor(O,B){this.segments=O,this.children=B,this.parent=null,Object.values(B).forEach(M=>M.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wr(this)}}class qt{constructor(O,B){this.path=O,this.parameters=B}get parameterMap(){return this._parameterMap||(this._parameterMap=ln(this.parameters)),this._parameterMap}toString(){return di(this)}}function Jt(b,O){return b.length===O.length&&b.every((B,M)=>B.path===O[M].path)}let Ln=(()=>{var b;class O{}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:function(){return new Dn},providedIn:"root"}),O})();class Dn{parse(O){const B=new ye(O);return new He(B.parseRootSegment(),B.parseQueryParams(),B.parseFragment())}serialize(O){const B=`/${zn(O.root,!0)}`,M=function Si(b){const O=Object.keys(b).map(B=>{const M=b[B];return Array.isArray(M)?M.map(G=>`${mi(B)}=${mi(G)}`).join("&"):`${mi(B)}=${mi(M)}`}).filter(B=>!!B);return O.length?`?${O.join("&")}`:""}(O.queryParams);return`${B}${M}${"string"==typeof O.fragment?`#${function is(b){return encodeURI(b)}(O.fragment)}`:""}`}}const Zt=new Dn;function wr(b){return b.segments.map(O=>di(O)).join("/")}function zn(b,O){if(!b.hasChildren())return wr(b);if(O){const B=b.children[Xe]?zn(b.children[Xe],!1):"",M=[];return Object.entries(b.children).forEach(([G,pe])=>{G!==Xe&&M.push(`${G}:${zn(pe,!1)}`)}),M.length>0?`${B}(${M.join("//")})`:B}{const B=function zt(b,O){let B=[];return Object.entries(b.children).forEach(([M,G])=>{M===Xe&&(B=B.concat(O(G,M)))}),Object.entries(b.children).forEach(([M,G])=>{M!==Xe&&(B=B.concat(O(G,M)))}),B}(b,(M,G)=>G===Xe?[zn(b.children[Xe],!1)]:[`${G}:${zn(M,!1)}`]);return 1===Object.keys(b.children).length&&null!=b.children[Xe]?`${wr(b)}/${B[0]}`:`${wr(b)}/(${B.join("//")})`}}function In(b){return encodeURIComponent(b).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mi(b){return In(b).replace(/%3B/gi,";")}function Gr(b){return In(b).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wr(b){return decodeURIComponent(b)}function ri(b){return Wr(b.replace(/\+/g,"%20"))}function di(b){return`${Gr(b.path)}${function ss(b){return Object.keys(b).map(O=>`;${Gr(O)}=${Gr(b[O])}`).join("")}(b.parameters)}`}const ji=/^[^\/()?;#]+/;function Ci(b){const O=b.match(ji);return O?O[0]:""}const bi=/^[^\/()?;=#]+/,Te=/^[^=?&#]+/,Pe=/^[^&#]+/;class ye{constructor(O){this.url=O,this.remaining=O}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ht([],{}):new ht([],this.parseChildren())}parseQueryParams(){const O={};if(this.consumeOptional("?"))do{this.parseQueryParam(O)}while(this.consumeOptional("&"));return O}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const O=[];for(this.peekStartsWith("(")||O.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),O.push(this.parseSegment());let B={};this.peekStartsWith("/(")&&(this.capture("/"),B=this.parseParens(!0));let M={};return this.peekStartsWith("(")&&(M=this.parseParens(!1)),(O.length>0||Object.keys(B).length>0)&&(M[Xe]=new ht(O,B)),M}parseSegment(){const O=Ci(this.remaining);if(""===O&&this.peekStartsWith(";"))throw new c.vHH(4009,!1);return this.capture(O),new qt(Wr(O),this.parseMatrixParams())}parseMatrixParams(){const O={};for(;this.consumeOptional(";");)this.parseParam(O);return O}parseParam(O){const B=function Vt(b){const O=b.match(bi);return O?O[0]:""}(this.remaining);if(!B)return;this.capture(B);let M="";if(this.consumeOptional("=")){const G=Ci(this.remaining);G&&(M=G,this.capture(M))}O[Wr(B)]=Wr(M)}parseQueryParam(O){const B=function ge(b){const O=b.match(Te);return O?O[0]:""}(this.remaining);if(!B)return;this.capture(B);let M="";if(this.consumeOptional("=")){const Ie=function Oe(b){const O=b.match(Pe);return O?O[0]:""}(this.remaining);Ie&&(M=Ie,this.capture(M))}const G=ri(B),pe=ri(M);if(O.hasOwnProperty(G)){let Ie=O[G];Array.isArray(Ie)||(Ie=[Ie],O[G]=Ie),Ie.push(pe)}else O[G]=pe}parseParens(O){const B={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const M=Ci(this.remaining),G=this.remaining[M.length];if("/"!==G&&")"!==G&&";"!==G)throw new c.vHH(4010,!1);let pe;M.indexOf(":")>-1?(pe=M.slice(0,M.indexOf(":")),this.capture(pe),this.capture(":")):O&&(pe=Xe);const Ie=this.parseChildren();B[pe]=1===Object.keys(Ie).length?Ie[Xe]:new ht([],Ie),this.consumeOptional("//")}return B}peekStartsWith(O){return this.remaining.startsWith(O)}consumeOptional(O){return!!this.peekStartsWith(O)&&(this.remaining=this.remaining.substring(O.length),!0)}capture(O){if(!this.consumeOptional(O))throw new c.vHH(4011,!1)}}function De(b){return b.segments.length>0?new ht([],{[Xe]:b}):b}function Qe(b){const O={};for(const M of Object.keys(b.children)){const pe=Qe(b.children[M]);if(M===Xe&&0===pe.segments.length&&pe.hasChildren())for(const[Ie,it]of Object.entries(pe.children))O[Ie]=it;else(pe.segments.length>0||pe.hasChildren())&&(O[M]=pe)}return function Be(b){if(1===b.numberOfChildren&&b.children[Xe]){const O=b.children[Xe];return new ht(b.segments.concat(O.segments),O.children)}return b}(new ht(b.segments,O))}function rt(b){return b instanceof He}function un(b){let O;const G=De(function B(pe){const Ie={};for(const Yt of pe.children){const yt=B(Yt);Ie[Yt.outlet]=yt}const it=new ht(pe.url,Ie);return pe===b&&(O=it),it}(b.root));return O??G}function Gn(b,O,B,M){let G=b;for(;G.parent;)G=G.parent;if(0===O.length)return ot(G,G,G,B,M);const pe=function Bt(b){if("string"==typeof b[0]&&1===b.length&&"/"===b[0])return new $t(!0,0,b);let O=0,B=!1;const M=b.reduce((G,pe,Ie)=>{if("object"==typeof pe&&null!=pe){if(pe.outlets){const it={};return Object.entries(pe.outlets).forEach(([Yt,yt])=>{it[Yt]="string"==typeof yt?yt.split("/"):yt}),[...G,{outlets:it}]}if(pe.segmentPath)return[...G,pe.segmentPath]}return"string"!=typeof pe?[...G,pe]:0===Ie?(pe.split("/").forEach((it,Yt)=>{0==Yt&&"."===it||(0==Yt&&""===it?B=!0:".."===it?O++:""!=it&&G.push(it))}),G):[...G,pe]},[]);return new $t(B,O,M)}(O);if(pe.toRoot())return ot(G,G,new ht([],{}),B,M);const Ie=function hn(b,O,B){if(b.isAbsolute)return new mn(O,!0,0);if(!B)return new mn(O,!1,NaN);if(null===B.parent)return new mn(B,!0,0);const M=Ye(b.commands[0])?0:1;return function _n(b,O,B){let M=b,G=O,pe=B;for(;pe>G;){if(pe-=G,M=M.parent,!M)throw new c.vHH(4005,!1);G=M.segments.length}return new mn(M,!1,G-pe)}(B,B.segments.length-1+M,b.numberOfDoubleDots)}(pe,G,b),it=Ie.processChildren?Rt(Ie.segmentGroup,Ie.index,pe.commands):Or(Ie.segmentGroup,Ie.index,pe.commands);return ot(G,Ie.segmentGroup,it,B,M)}function Ye(b){return"object"==typeof b&&null!=b&&!b.outlets&&!b.segmentPath}function Ae(b){return"object"==typeof b&&null!=b&&b.outlets}function ot(b,O,B,M,G){let Ie,pe={};M&&Object.entries(M).forEach(([Yt,yt])=>{pe[Yt]=Array.isArray(yt)?yt.map(wn=>`${wn}`):`${yt}`}),Ie=b===O?B:ft(b,O,B);const it=De(Qe(Ie));return new He(it,pe,G)}function ft(b,O,B){const M={};return Object.entries(b.children).forEach(([G,pe])=>{M[G]=pe===O?B:ft(pe,O,B)}),new ht(b.segments,M)}class $t{constructor(O,B,M){if(this.isAbsolute=O,this.numberOfDoubleDots=B,this.commands=M,O&&M.length>0&&Ye(M[0]))throw new c.vHH(4003,!1);const G=M.find(Ae);if(G&&G!==lr(M))throw new c.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class mn{constructor(O,B,M){this.segmentGroup=O,this.processChildren=B,this.index=M}}function Or(b,O,B){if(b||(b=new ht([],{})),0===b.segments.length&&b.hasChildren())return Rt(b,O,B);const M=function Tr(b,O,B){let M=0,G=O;const pe={match:!1,pathIndex:0,commandIndex:0};for(;G<b.segments.length;){if(M>=B.length)return pe;const Ie=b.segments[G],it=B[M];if(Ae(it))break;const Yt=`${it}`,yt=M<B.length-1?B[M+1]:null;if(G>0&&void 0===Yt)break;if(Yt&&yt&&"object"==typeof yt&&void 0===yt.outlets){if(!Jn(Yt,yt,Ie))return pe;M+=2}else{if(!Jn(Yt,{},Ie))return pe;M++}G++}return{match:!0,pathIndex:G,commandIndex:M}}(b,O,B),G=B.slice(M.commandIndex);if(M.match&&M.pathIndex<b.segments.length){const pe=new ht(b.segments.slice(0,M.pathIndex),{});return pe.children[Xe]=new ht(b.segments.slice(M.pathIndex),b.children),Rt(pe,0,G)}return M.match&&0===G.length?new ht(b.segments,{}):M.match&&!b.hasChildren()?mr(b,O,B):M.match?Rt(b,0,G):mr(b,O,B)}function Rt(b,O,B){if(0===B.length)return new ht(b.segments,{});{const M=function Yn(b){return Ae(b[0])?b[0].outlets:{[Xe]:b}}(B),G={};if(Object.keys(M).some(pe=>pe!==Xe)&&b.children[Xe]&&1===b.numberOfChildren&&0===b.children[Xe].segments.length){const pe=Rt(b.children[Xe],O,B);return new ht(b.segments,pe.children)}return Object.entries(M).forEach(([pe,Ie])=>{"string"==typeof Ie&&(Ie=[Ie]),null!==Ie&&(G[pe]=Or(b.children[pe],O,Ie))}),Object.entries(b.children).forEach(([pe,Ie])=>{void 0===M[pe]&&(G[pe]=Ie)}),new ht(b.segments,G)}}function mr(b,O,B){const M=b.segments.slice(0,O);let G=0;for(;G<B.length;){const pe=B[G];if(Ae(pe)){const Yt=ar(pe.outlets);return new ht(M,Yt)}if(0===G&&Ye(B[0])){M.push(new qt(b.segments[O].path,En(B[0]))),G++;continue}const Ie=Ae(pe)?pe.outlets[Xe]:`${pe}`,it=G<B.length-1?B[G+1]:null;Ie&&it&&Ye(it)?(M.push(new qt(Ie,En(it))),G+=2):(M.push(new qt(Ie,{})),G++)}return new ht(M,{})}function ar(b){const O={};return Object.entries(b).forEach(([B,M])=>{"string"==typeof M&&(M=[M]),null!==M&&(O[B]=mr(new ht([],{}),0,M))}),O}function En(b){const O={};return Object.entries(b).forEach(([B,M])=>O[B]=`${M}`),O}function Jn(b,O,B){return b==B.path&&an(O,B.parameters)}const vr="imperative";class kr{constructor(O,B){this.id=O,this.url=B}}class Qi extends kr{constructor(O,B,M="imperative",G=null){super(O,B),this.type=0,this.navigationTrigger=M,this.restoredState=G}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ir extends kr{constructor(O,B,M){super(O,B),this.urlAfterRedirects=M,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Di extends kr{constructor(O,B,M,G){super(O,B),this.reason=M,this.code=G,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class os extends kr{constructor(O,B,M,G){super(O,B),this.reason=M,this.code=G,this.type=16}}class Bi extends kr{constructor(O,B,M,G){super(O,B),this.error=M,this.target=G,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class eo extends kr{constructor(O,B,M,G){super(O,B),this.urlAfterRedirects=M,this.state=G,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ui extends kr{constructor(O,B,M,G){super(O,B),this.urlAfterRedirects=M,this.state=G,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xs extends kr{constructor(O,B,M,G,pe){super(O,B),this.urlAfterRedirects=M,this.state=G,this.shouldActivate=pe,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wi extends kr{constructor(O,B,M,G){super(O,B),this.urlAfterRedirects=M,this.state=G,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends kr{constructor(O,B,M,G){super(O,B),this.urlAfterRedirects=M,this.state=G,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wo{constructor(O){this.route=O,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ua{constructor(O){this.route=O,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class $o{constructor(O){this.snapshot=O,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jo{constructor(O){this.snapshot=O,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bo{constructor(O){this.snapshot=O,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ns{constructor(O){this.snapshot=O,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class no{constructor(O,B,M){this.routerEvent=O,this.position=B,this.anchor=M,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class vi{}class zs{constructor(O){this.url=O}}class bs{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Gs,this.attachRef=null}}let Gs=(()=>{var b;class O{constructor(){this.contexts=new Map}onChildOutletCreated(M,G){const pe=this.getOrCreateContext(M);pe.outlet=G,this.contexts.set(M,pe)}onChildOutletDestroyed(M){const G=this.getContext(M);G&&(G.outlet=null,G.attachRef=null)}onOutletDeactivated(){const M=this.contexts;return this.contexts=new Map,M}onOutletReAttached(M){this.contexts=M}getOrCreateContext(M){let G=this.getContext(M);return G||(G=new bs,this.contexts.set(M,G)),G}getContext(M){return this.contexts.get(M)||null}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})();class Hr{constructor(O){this._root=O}get root(){return this._root.value}parent(O){const B=this.pathFromRoot(O);return B.length>1?B[B.length-2]:null}children(O){const B=Yi(O,this._root);return B?B.children.map(M=>M.value):[]}firstChild(O){const B=Yi(O,this._root);return B&&B.children.length>0?B.children[0].value:null}siblings(O){const B=Ds(O,this._root);return B.length<2?[]:B[B.length-2].children.map(G=>G.value).filter(G=>G!==O)}pathFromRoot(O){return Ds(O,this._root).map(B=>B.value)}}function Yi(b,O){if(b===O.value)return O;for(const B of O.children){const M=Yi(b,B);if(M)return M}return null}function Ds(b,O){if(b===O.value)return[O];for(const B of O.children){const M=Ds(b,B);if(M.length)return M.unshift(O),M}return[]}class Zi{constructor(O,B){this.value=O,this.children=B}toString(){return`TreeNode(${this.value})`}}function Ni(b){const O={};return b&&b.children.forEach(B=>O[B.value.outlet]=B),O}class It extends Hr{constructor(O,B){super(O),this.snapshot=B,Sr(this,O)}toString(){return this.snapshot.toString()}}function Kn(b,O){const B=function xr(b,O){const Ie=new ws([],{},{},"",{},Xe,O,null,{});return new as("",new Zi(Ie,[]))}(0,O),M=new E.X([new qt("",{})]),G=new E.X({}),pe=new E.X({}),Ie=new E.X({}),it=new E.X(""),Yt=new gr(M,G,Ie,it,pe,Xe,O,B.root);return Yt.snapshot=B.root,new It(new Zi(Yt,[]),B)}class gr{constructor(O,B,M,G,pe,Ie,it,Yt){this.urlSubject=O,this.paramsSubject=B,this.queryParamsSubject=M,this.fragmentSubject=G,this.dataSubject=pe,this.outlet=Ie,this.component=it,this._futureSnapshot=Yt,this.title=this.dataSubject?.pipe((0,de.U)(yt=>yt[dt]))??(0,C.of)(void 0),this.url=O,this.params=B,this.queryParams=M,this.fragment=G,this.data=pe}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,de.U)(O=>ln(O)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,de.U)(O=>ln(O)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mi(b,O="emptyOnly"){const B=b.pathFromRoot;let M=0;if("always"!==O)for(M=B.length-1;M>=1;){const G=B[M],pe=B[M-1];if(G.routeConfig&&""===G.routeConfig.path)M--;else{if(pe.component)break;M--}}return function Ti(b){return b.reduce((O,B)=>({params:{...O.params,...B.params},data:{...O.data,...B.data},resolve:{...B.data,...O.resolve,...B.routeConfig?.data,...B._resolvedData}}),{params:{},data:{},resolve:{}})}(B.slice(M))}class ws{get title(){return this.data?.[dt]}constructor(O,B,M,G,pe,Ie,it,Yt,yt){this.url=O,this.params=B,this.queryParams=M,this.fragment=G,this.data=pe,this.outlet=Ie,this.component=it,this.routeConfig=Yt,this._resolve=yt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ln(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ln(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(M=>M.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class as extends Hr{constructor(O,B){super(B),this.url=O,Sr(this,B)}toString(){return ro(this._root)}}function Sr(b,O){O.value._routerState=b,O.children.forEach(B=>Sr(b,B))}function ro(b){const O=b.children.length>0?` { ${b.children.map(ro).join(", ")} } `:"";return`${b.value}${O}`}function Co(b){if(b.snapshot){const O=b.snapshot,B=b._futureSnapshot;b.snapshot=B,an(O.queryParams,B.queryParams)||b.queryParamsSubject.next(B.queryParams),O.fragment!==B.fragment&&b.fragmentSubject.next(B.fragment),an(O.params,B.params)||b.paramsSubject.next(B.params),function bn(b,O){if(b.length!==O.length)return!1;for(let B=0;B<b.length;++B)if(!an(b[B],O[B]))return!1;return!0}(O.url,B.url)||b.urlSubject.next(B.url),an(O.data,B.data)||b.dataSubject.next(B.data)}else b.snapshot=b._futureSnapshot,b.dataSubject.next(b._futureSnapshot.data)}function Nr(b,O){const B=an(b.params,O.params)&&function Et(b,O){return Jt(b,O)&&b.every((B,M)=>an(B.parameters,O[M].parameters))}(b.url,O.url);return B&&!(!b.parent!=!O.parent)&&(!b.parent||Nr(b.parent,O.parent))}let tn=(()=>{var b;class O{constructor(){this.activated=null,this._activatedRoute=null,this.name=Xe,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.parentContexts=(0,c.f3M)(Gs),this.location=(0,c.f3M)(c.s_b),this.changeDetector=(0,c.f3M)(c.sBO),this.environmentInjector=(0,c.f3M)(c.lqb),this.inputBinder=(0,c.f3M)(Cr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(M){if(M.name){const{firstChange:G,previousValue:pe}=M.name;if(G)return;this.isTrackedInParentContexts(pe)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(pe)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(M){return this.parentContexts.getContext(M)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const M=this.parentContexts.getContext(this.name);M?.route&&(M.attachRef?this.attach(M.attachRef,M.route):this.activateWith(M.route,M.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,!1);this.location.detach();const M=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(M.instance),M}attach(M,G){this.activated=M,this._activatedRoute=G,this.location.insert(M.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(M.instance)}deactivate(){if(this.activated){const M=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(M)}}activateWith(M,G){if(this.isActivated)throw new c.vHH(4013,!1);this._activatedRoute=M;const pe=this.location,it=M.snapshot.component,Yt=this.parentContexts.getOrCreateContext(this.name).children,yt=new Wn(M,Yt,pe.injector);this.activated=pe.createComponent(it,{index:pe.length,injector:yt,environmentInjector:G??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275dir=c.lG2({type:b,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.TTD]}),O})();class Wn{constructor(O,B,M){this.route=O,this.childContexts=B,this.parent=M}get(O,B){return O===gr?this.route:O===Gs?this.childContexts:this.parent.get(O,B)}}const Cr=new c.OlP("");let Lr=(()=>{var b;class O{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(M){this.unsubscribeFromRouteData(M),this.subscribeToRouteData(M)}unsubscribeFromRouteData(M){this.outletDataSubscriptions.get(M)?.unsubscribe(),this.outletDataSubscriptions.delete(M)}subscribeToRouteData(M){const{activatedRoute:G}=M,pe=(0,g.a)([G.queryParams,G.params,G.data]).pipe((0,le.w)(([Ie,it,Yt],yt)=>(Yt={...Ie,...it,...Yt},0===yt?(0,C.of)(Yt):Promise.resolve(Yt)))).subscribe(Ie=>{if(!M.isActivated||!M.activatedComponentRef||M.activatedRoute!==G||null===G.component)return void this.unsubscribeFromRouteData(M);const it=(0,c.qFp)(G.component);if(it)for(const{templateName:Yt}of it.inputs)M.activatedComponentRef.setInput(Yt,Ie[Yt]);else this.unsubscribeFromRouteData(M)});this.outletDataSubscriptions.set(M,pe)}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac}),O})();function Kr(b,O,B){if(B&&b.shouldReuseRoute(O.value,B.value.snapshot)){const M=B.value;M._futureSnapshot=O.value;const G=function io(b,O,B){return O.children.map(M=>{for(const G of B.children)if(b.shouldReuseRoute(M.value,G.value.snapshot))return Kr(b,M,G);return Kr(b,M)})}(b,O,B);return new Zi(M,G)}{if(b.shouldAttach(O.value)){const pe=b.retrieve(O.value);if(null!==pe){const Ie=pe.route;return Ie.value._futureSnapshot=O.value,Ie.children=O.children.map(it=>Kr(b,it)),Ie}}const M=function Jr(b){return new gr(new E.X(b.url),new E.X(b.params),new E.X(b.queryParams),new E.X(b.fragment),new E.X(b.data),b.outlet,b.component,b)}(O.value),G=O.children.map(pe=>Kr(b,pe));return new Zi(M,G)}}const ps="ngNavigationCancelingError";function Ss(b,O){const{redirectTo:B,navigationBehaviorOptions:M}=rt(O)?{redirectTo:O,navigationBehaviorOptions:void 0}:O,G=Fn(!1,0,O);return G.url=B,G.navigationBehaviorOptions=M,G}function Fn(b,O,B){const M=new Error("NavigationCancelingError: "+(b||""));return M[ps]=!0,M.cancellationCode=O,B&&(M.url=B),M}function Mo(b){return b&&b[ps]}let Ks=(()=>{var b;class O{}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275cmp=c.Xpm({type:b,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(M,G){1&M&&c._UZ(0,"router-outlet")},dependencies:[tn],encapsulation:2}),O})();function Fs(b){const O=b.children&&b.children.map(Fs),B=O?{...b,children:O}:{...b};return!B.component&&!B.loadComponent&&(O||B.loadChildren)&&B.outlet&&B.outlet!==Xe&&(B.component=Ks),B}function An(b){return b.outlet||Xe}function ks(b){if(!b)return null;if(b.routeConfig?._injector)return b.routeConfig._injector;for(let O=b.parent;O;O=O.parent){const B=O.routeConfig;if(B?._loadedInjector)return B._loadedInjector;if(B?._injector)return B._injector}return null}class oo{constructor(O,B,M,G,pe){this.routeReuseStrategy=O,this.futureState=B,this.currState=M,this.forwardEvent=G,this.inputBindingEnabled=pe}activate(O){const B=this.futureState._root,M=this.currState?this.currState._root:null;this.deactivateChildRoutes(B,M,O),Co(this.futureState.root),this.activateChildRoutes(B,M,O)}deactivateChildRoutes(O,B,M){const G=Ni(B);O.children.forEach(pe=>{const Ie=pe.value.outlet;this.deactivateRoutes(pe,G[Ie],M),delete G[Ie]}),Object.values(G).forEach(pe=>{this.deactivateRouteAndItsChildren(pe,M)})}deactivateRoutes(O,B,M){const G=O.value,pe=B?B.value:null;if(G===pe)if(G.component){const Ie=M.getContext(G.outlet);Ie&&this.deactivateChildRoutes(O,B,Ie.children)}else this.deactivateChildRoutes(O,B,M);else pe&&this.deactivateRouteAndItsChildren(B,M)}deactivateRouteAndItsChildren(O,B){O.value.component&&this.routeReuseStrategy.shouldDetach(O.value.snapshot)?this.detachAndStoreRouteSubtree(O,B):this.deactivateRouteAndOutlet(O,B)}detachAndStoreRouteSubtree(O,B){const M=B.getContext(O.value.outlet),G=M&&O.value.component?M.children:B,pe=Ni(O);for(const Ie of Object.keys(pe))this.deactivateRouteAndItsChildren(pe[Ie],G);if(M&&M.outlet){const Ie=M.outlet.detach(),it=M.children.onOutletDeactivated();this.routeReuseStrategy.store(O.value.snapshot,{componentRef:Ie,route:O,contexts:it})}}deactivateRouteAndOutlet(O,B){const M=B.getContext(O.value.outlet),G=M&&O.value.component?M.children:B,pe=Ni(O);for(const Ie of Object.keys(pe))this.deactivateRouteAndItsChildren(pe[Ie],G);M&&(M.outlet&&(M.outlet.deactivate(),M.children.onOutletDeactivated()),M.attachRef=null,M.route=null)}activateChildRoutes(O,B,M){const G=Ni(B);O.children.forEach(pe=>{this.activateRoutes(pe,G[pe.value.outlet],M),this.forwardEvent(new Ns(pe.value.snapshot))}),O.children.length&&this.forwardEvent(new jo(O.value.snapshot))}activateRoutes(O,B,M){const G=O.value,pe=B?B.value:null;if(Co(G),G===pe)if(G.component){const Ie=M.getOrCreateContext(G.outlet);this.activateChildRoutes(O,B,Ie.children)}else this.activateChildRoutes(O,B,M);else if(G.component){const Ie=M.getOrCreateContext(G.outlet);if(this.routeReuseStrategy.shouldAttach(G.snapshot)){const it=this.routeReuseStrategy.retrieve(G.snapshot);this.routeReuseStrategy.store(G.snapshot,null),Ie.children.onOutletReAttached(it.contexts),Ie.attachRef=it.componentRef,Ie.route=it.route.value,Ie.outlet&&Ie.outlet.attach(it.componentRef,it.route.value),Co(it.route.value),this.activateChildRoutes(O,null,Ie.children)}else{const it=ks(G.snapshot);Ie.attachRef=null,Ie.route=G,Ie.injector=it,Ie.outlet&&Ie.outlet.activateWith(G,Ie.injector),this.activateChildRoutes(O,null,Ie.children)}}else this.activateChildRoutes(O,null,M)}}class Ii{constructor(O){this.path=O,this.route=this.path[this.path.length-1]}}class Ji{constructor(O,B){this.component=O,this.route=B}}function _i(b,O,B){const M=b._root;return Vr(M,O?O._root:null,B,[M.value])}function ii(b,O){const B=Symbol(),M=O.get(b,B);return M===B?"function"!=typeof b||(0,c.Z0I)(b)?O.get(b):b:M}function Vr(b,O,B,M,G={canDeactivateChecks:[],canActivateChecks:[]}){const pe=Ni(O);return b.children.forEach(Ie=>{(function Ko(b,O,B,M,G={canDeactivateChecks:[],canActivateChecks:[]}){const pe=b.value,Ie=O?O.value:null,it=B?B.getContext(b.value.outlet):null;if(Ie&&pe.routeConfig===Ie.routeConfig){const Yt=function vs(b,O,B){if("function"==typeof B)return B(b,O);switch(B){case"pathParamsChange":return!Jt(b.url,O.url);case"pathParamsOrQueryParamsChange":return!Jt(b.url,O.url)||!an(b.queryParams,O.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nr(b,O)||!an(b.queryParams,O.queryParams);default:return!Nr(b,O)}}(Ie,pe,pe.routeConfig.runGuardsAndResolvers);Yt?G.canActivateChecks.push(new Ii(M)):(pe.data=Ie.data,pe._resolvedData=Ie._resolvedData),Vr(b,O,pe.component?it?it.children:null:B,M,G),Yt&&it&&it.outlet&&it.outlet.isActivated&&G.canDeactivateChecks.push(new Ji(it.outlet.component,Ie))}else Ie&&$s(O,it,G),G.canActivateChecks.push(new Ii(M)),Vr(b,null,pe.component?it?it.children:null:B,M,G)})(Ie,pe[Ie.value.outlet],B,M.concat([Ie.value]),G),delete pe[Ie.value.outlet]}),Object.entries(pe).forEach(([Ie,it])=>$s(it,B.getContext(Ie),G)),G}function $s(b,O,B){const M=Ni(b),G=b.value;Object.entries(M).forEach(([pe,Ie])=>{$s(Ie,G.component?O?O.children.getContext(pe):null:O,B)}),B.canDeactivateChecks.push(new Ji(G.component&&O&&O.outlet&&O.outlet.isActivated?O.outlet.component:null,G))}function ai(b){return"function"==typeof b}function Va(b){return b instanceof p.K||"EmptyError"===b?.name}const $r=Symbol("INITIAL_VALUE");function ao(){return(0,le.w)(b=>(0,g.a)(b.map(O=>O.pipe((0,we.q)(1),(0,Ne.O)($r)))).pipe((0,de.U)(O=>{for(const B of O)if(!0!==B){if(B===$r)return $r;if(!1===B||B instanceof He)return B}return!0}),(0,q.h)(O=>O!==$r),(0,we.q)(1)))}function ga(b){return(0,T.z)((0,he.b)(O=>{if(rt(O))throw Ss(0,O)}),(0,de.U)(O=>!0===O))}class N{constructor(O){this.segmentGroup=O||null}}class m{constructor(O){this.urlTree=O}}function P(b){return(0,$._)(new N(b))}function V(b){return(0,$._)(new m(b))}class We{constructor(O,B){this.urlSerializer=O,this.urlTree=B}noMatchError(O){return new c.vHH(4002,!1)}lineralizeSegments(O,B){let M=[],G=B.root;for(;;){if(M=M.concat(G.segments),0===G.numberOfChildren)return(0,C.of)(M);if(G.numberOfChildren>1||!G.children[Xe])return(0,$._)(new c.vHH(4e3,!1));G=G.children[Xe]}}applyRedirectCommands(O,B,M){return this.applyRedirectCreateUrlTree(B,this.urlSerializer.parse(B),O,M)}applyRedirectCreateUrlTree(O,B,M,G){const pe=this.createSegmentGroup(O,B.root,M,G);return new He(pe,this.createQueryParams(B.queryParams,this.urlTree.queryParams),B.fragment)}createQueryParams(O,B){const M={};return Object.entries(O).forEach(([G,pe])=>{if("string"==typeof pe&&pe.startsWith(":")){const it=pe.substring(1);M[G]=B[it]}else M[G]=pe}),M}createSegmentGroup(O,B,M,G){const pe=this.createSegments(O,B.segments,M,G);let Ie={};return Object.entries(B.children).forEach(([it,Yt])=>{Ie[it]=this.createSegmentGroup(O,Yt,M,G)}),new ht(pe,Ie)}createSegments(O,B,M,G){return B.map(pe=>pe.path.startsWith(":")?this.findPosParam(O,pe,G):this.findOrReturn(pe,M))}findPosParam(O,B,M){const G=M[B.path.substring(1)];if(!G)throw new c.vHH(4001,!1);return G}findOrReturn(O,B){let M=0;for(const G of B){if(G.path===O.path)return B.splice(M),G;M++}return O}}const tt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ct(b,O,B,M,G){const pe=vt(b,O,B);return pe.matched?(M=function qr(b,O){return b.providers&&!b._injector&&(b._injector=(0,c.MMx)(b.providers,O,`Route: ${b.path}`)),b._injector??O}(O,M),function Wa(b,O,B,M){const G=O.canMatch;if(!G||0===G.length)return(0,C.of)(!0);const pe=G.map(Ie=>{const it=ii(Ie,b);return fr(function da(b){return b&&ai(b.canMatch)}(it)?it.canMatch(O,B):b.runInContext(()=>it(O,B)))});return(0,C.of)(pe).pipe(ao(),ga())}(M,O,B).pipe((0,de.U)(Ie=>!0===Ie?pe:{...tt}))):(0,C.of)(pe)}function vt(b,O,B){if(""===O.path)return"full"===O.pathMatch&&(b.hasChildren()||B.length>0)?{...tt}:{matched:!0,consumedSegments:[],remainingSegments:B,parameters:{},positionalParamSegments:{}};const G=(O.matcher||rn)(B,b,O);if(!G)return{...tt};const pe={};Object.entries(G.posParams??{}).forEach(([it,Yt])=>{pe[it]=Yt.path});const Ie=G.consumed.length>0?{...pe,...G.consumed[G.consumed.length-1].parameters}:pe;return{matched:!0,consumedSegments:G.consumed,remainingSegments:B.slice(G.consumed.length),parameters:Ie,positionalParamSegments:G.posParams??{}}}function wt(b,O,B,M){return B.length>0&&function Lt(b,O,B){return B.some(M=>Xt(b,O,M)&&An(M)!==Xe)}(b,B,M)?{segmentGroup:new ht(O,Tt(M,new ht(B,b.children))),slicedSegments:[]}:0===B.length&&function Qt(b,O,B){return B.some(M=>Xt(b,O,M))}(b,B,M)?{segmentGroup:new ht(b.segments,Pt(b,0,B,M,b.children)),slicedSegments:B}:{segmentGroup:new ht(b.segments,b.children),slicedSegments:B}}function Pt(b,O,B,M,G){const pe={};for(const Ie of M)if(Xt(b,B,Ie)&&!G[An(Ie)]){const it=new ht([],{});pe[An(Ie)]=it}return{...G,...pe}}function Tt(b,O){const B={};B[Xe]=O;for(const M of b)if(""===M.path&&An(M)!==Xe){const G=new ht([],{});B[An(M)]=G}return B}function Xt(b,O,B){return(!(b.hasChildren()||O.length>0)||"full"!==B.pathMatch)&&""===B.path}class Tn{constructor(O,B,M,G,pe,Ie,it){this.injector=O,this.configLoader=B,this.rootComponentType=M,this.config=G,this.urlTree=pe,this.paramsInheritanceStrategy=Ie,this.urlSerializer=it,this.allowRedirects=!0,this.applyRedirects=new We(this.urlSerializer,this.urlTree)}noMatchError(O){return new c.vHH(4002,!1)}recognize(){const O=wt(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,O,Xe).pipe((0,_e.K)(B=>{if(B instanceof m)return this.allowRedirects=!1,this.urlTree=B.urlTree,this.match(B.urlTree);throw B instanceof N?this.noMatchError(B):B}),(0,de.U)(B=>{const M=new ws([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Xe,this.rootComponentType,null,{}),G=new Zi(M,B),pe=new as("",G),Ie=function gt(b,O,B=null,M=null){return Gn(un(b),O,B,M)}(M,[],this.urlTree.queryParams,this.urlTree.fragment);return Ie.queryParams=this.urlTree.queryParams,pe.url=this.urlSerializer.serialize(Ie),this.inheritParamsAndData(pe._root),{state:pe,tree:Ie}}))}match(O){return this.processSegmentGroup(this.injector,this.config,O.root,Xe).pipe((0,_e.K)(M=>{throw M instanceof N?this.noMatchError(M):M}))}inheritParamsAndData(O){const B=O.value,M=Mi(B,this.paramsInheritanceStrategy);B.params=Object.freeze(M.params),B.data=Object.freeze(M.data),O.children.forEach(G=>this.inheritParamsAndData(G))}processSegmentGroup(O,B,M,G){return 0===M.segments.length&&M.hasChildren()?this.processChildren(O,B,M):this.processSegment(O,B,M,M.segments,G,!0)}processChildren(O,B,M){const G=[];for(const pe of Object.keys(M.children))"primary"===pe?G.unshift(pe):G.push(pe);return(0,w.D)(G).pipe((0,fe.b)(pe=>{const Ie=M.children[pe],it=function ua(b,O){const B=b.filter(M=>An(M)===O);return B.push(...b.filter(M=>An(M)!==O)),B}(B,pe);return this.processSegmentGroup(O,it,Ie,pe)}),(0,re.R)((pe,Ie)=>(pe.push(...Ie),pe)),(0,ne.d)(null),function ze(b,O){const B=arguments.length>=2;return M=>M.pipe(b?(0,q.h)((G,pe)=>b(G,pe,M)):Se.y,Ge(1),B?(0,ne.d)(O):(0,Le.T)(()=>new p.K))}(),(0,se.z)(pe=>{if(null===pe)return P(M);const Ie=jn(pe);return function cr(b){b.sort((O,B)=>O.value.outlet===Xe?-1:B.value.outlet===Xe?1:O.value.outlet.localeCompare(B.value.outlet))}(Ie),(0,C.of)(Ie)}))}processSegment(O,B,M,G,pe,Ie){return(0,w.D)(B).pipe((0,fe.b)(it=>this.processSegmentAgainstRoute(it._injector??O,B,it,M,G,pe,Ie).pipe((0,_e.K)(Yt=>{if(Yt instanceof N)return(0,C.of)(null);throw Yt}))),(0,oe.P)(it=>!!it),(0,_e.K)(it=>{if(Va(it))return function vn(b,O,B){return 0===O.length&&!b.children[B]}(M,G,pe)?(0,C.of)([]):P(M);throw it}))}processSegmentAgainstRoute(O,B,M,G,pe,Ie,it){return function sn(b,O,B,M){return!!(An(b)===M||M!==Xe&&Xt(O,B,b))&&("**"===b.path||vt(O,b,B).matched)}(M,G,pe,Ie)?void 0===M.redirectTo?this.matchSegmentAgainstRoute(O,G,M,pe,Ie,it):it&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(O,G,B,M,pe,Ie):P(G):P(G)}expandSegmentAgainstRouteUsingRedirect(O,B,M,G,pe,Ie){return"**"===G.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(O,M,G,Ie):this.expandRegularSegmentAgainstRouteUsingRedirect(O,B,M,G,pe,Ie)}expandWildCardWithParamsAgainstRouteUsingRedirect(O,B,M,G){const pe=this.applyRedirects.applyRedirectCommands([],M.redirectTo,{});return M.redirectTo.startsWith("/")?V(pe):this.applyRedirects.lineralizeSegments(M,pe).pipe((0,se.z)(Ie=>{const it=new ht(Ie,{});return this.processSegment(O,B,it,Ie,G,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(O,B,M,G,pe,Ie){const{matched:it,consumedSegments:Yt,remainingSegments:yt,positionalParamSegments:wn}=vt(B,G,pe);if(!it)return P(B);const Ct=this.applyRedirects.applyRedirectCommands(Yt,G.redirectTo,wn);return G.redirectTo.startsWith("/")?V(Ct):this.applyRedirects.lineralizeSegments(G,Ct).pipe((0,se.z)(tr=>this.processSegment(O,M,B,tr.concat(yt),Ie,!1)))}matchSegmentAgainstRoute(O,B,M,G,pe,Ie){let it;if("**"===M.path){const Yt=G.length>0?lr(G).parameters:{},yt=new ws(G,Yt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,er(M),An(M),M.component??M._loadedComponent??null,M,Pr(M));it=(0,C.of)({snapshot:yt,consumedSegments:[],remainingSegments:[]}),B.children={}}else it=ct(B,M,G,O).pipe((0,de.U)(({matched:Yt,consumedSegments:yt,remainingSegments:wn,parameters:Ct})=>Yt?{snapshot:new ws(yt,Ct,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,er(M),An(M),M.component??M._loadedComponent??null,M,Pr(M)),consumedSegments:yt,remainingSegments:wn}:null));return it.pipe((0,le.w)(Yt=>null===Yt?P(B):this.getChildConfig(O=M._injector??O,M,G).pipe((0,le.w)(({routes:yt})=>{const wn=M._loadedInjector??O,{snapshot:Ct,consumedSegments:tr,remainingSegments:pn}=Yt,{segmentGroup:Rn,slicedSegments:Dt}=wt(B,tr,pn,yt);if(0===Dt.length&&Rn.hasChildren())return this.processChildren(wn,yt,Rn).pipe((0,de.U)(ds=>null===ds?null:[new Zi(Ct,ds)]));if(0===yt.length&&0===Dt.length)return(0,C.of)([new Zi(Ct,[])]);const Ot=An(M)===pe;return this.processSegment(wn,yt,Rn,Dt,Ot?Xe:pe,!0).pipe((0,de.U)(ds=>[new Zi(Ct,ds)]))}))))}getChildConfig(O,B,M){return B.children?(0,C.of)({routes:B.children,injector:O}):B.loadChildren?void 0!==B._loadedRoutes?(0,C.of)({routes:B._loadedRoutes,injector:B._loadedInjector}):function pa(b,O,B,M){const G=O.canLoad;if(void 0===G||0===G.length)return(0,C.of)(!0);const pe=G.map(Ie=>{const it=ii(Ie,b);return fr(function Ao(b){return b&&ai(b.canLoad)}(it)?it.canLoad(O,B):b.runInContext(()=>it(O,B)))});return(0,C.of)(pe).pipe(ao(),ga())}(O,B,M).pipe((0,se.z)(G=>G?this.configLoader.loadChildren(O,B).pipe((0,he.b)(pe=>{B._loadedRoutes=pe.routes,B._loadedInjector=pe.injector})):function me(b){return(0,$._)(Fn(!1,3))}())):(0,C.of)({routes:[],injector:O})}}function Er(b){const O=b.value.routeConfig;return O&&""===O.path}function jn(b){const O=[],B=new Set;for(const M of b){if(!Er(M)){O.push(M);continue}const G=O.find(pe=>M.value.routeConfig===pe.value.routeConfig);void 0!==G?(G.children.push(...M.children),B.add(G)):O.push(M)}for(const M of B){const G=jn(M.children);O.push(new Zi(M.value,G))}return O.filter(M=>!B.has(M))}function er(b){return b.data||{}}function Pr(b){return b.resolve||{}}function Oo(b){return"string"==typeof b.title||null===b.title}function ma(b){return(0,le.w)(O=>{const B=b(O);return B?(0,w.D)(B).pipe((0,de.U)(()=>O)):(0,C.of)(O)})}const Xi=new c.OlP("ROUTES");let Fi=(()=>{var b;class O{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,c.f3M)(c.Sil)}loadComponent(M){if(this.componentLoaders.get(M))return this.componentLoaders.get(M);if(M._loadedComponent)return(0,C.of)(M._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(M);const G=fr(M.loadComponent()).pipe((0,de.U)(Re),(0,he.b)(Ie=>{this.onLoadEndListener&&this.onLoadEndListener(M),M._loadedComponent=Ie}),(0,be.x)(()=>{this.componentLoaders.delete(M)})),pe=new J.c(G,()=>new te.x).pipe((0,xe.x)());return this.componentLoaders.set(M,pe),pe}loadChildren(M,G){if(this.childrenLoaders.get(G))return this.childrenLoaders.get(G);if(G._loadedRoutes)return(0,C.of)({routes:G._loadedRoutes,injector:G._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(G);const Ie=function S(b,O,B,M){return fr(b.loadChildren()).pipe((0,de.U)(Re),(0,se.z)(G=>G instanceof c.YKP||Array.isArray(G)?(0,C.of)(G):(0,w.D)(O.compileModuleAsync(G))),(0,de.U)(G=>{M&&M(b);let pe,Ie,it=!1;return Array.isArray(G)?(Ie=G,!0):(pe=G.create(B).injector,Ie=pe.get(Xi,[],{optional:!0,self:!0}).flat()),{routes:Ie.map(Fs),injector:pe}}))}(G,this.compiler,M,this.onLoadEndListener).pipe((0,be.x)(()=>{this.childrenLoaders.delete(G)})),it=new J.c(Ie,()=>new te.x).pipe((0,xe.x)());return this.childrenLoaders.set(G,it),it}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})();function Re(b){return function K(b){return b&&"object"==typeof b&&"default"in b}(b)?b.default:b}let H=(()=>{var b;class O{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new te.x,this.transitionAbortSubject=new te.x,this.configLoader=(0,c.f3M)(Fi),this.environmentInjector=(0,c.f3M)(c.lqb),this.urlSerializer=(0,c.f3M)(Ln),this.rootContexts=(0,c.f3M)(Gs),this.inputBindingEnabled=null!==(0,c.f3M)(Cr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,C.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=pe=>this.events.next(new Ua(pe)),this.configLoader.onLoadStartListener=pe=>this.events.next(new wo(pe))}complete(){this.transitions?.complete()}handleNavigationRequest(M){const G=++this.navigationId;this.transitions?.next({...this.transitions.value,...M,id:G})}setupNavigations(M,G,pe){return this.transitions=new E.X({id:0,currentUrlTree:G,currentRawUrl:G,currentBrowserUrl:G,extractedUrl:M.urlHandlingStrategy.extract(G),urlAfterRedirects:M.urlHandlingStrategy.extract(G),rawUrl:G,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:vr,restoredState:null,currentSnapshot:pe.snapshot,targetSnapshot:null,currentRouterState:pe,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,q.h)(Ie=>0!==Ie.id),(0,de.U)(Ie=>({...Ie,extractedUrl:M.urlHandlingStrategy.extract(Ie.rawUrl)})),(0,le.w)(Ie=>{this.currentTransition=Ie;let it=!1,Yt=!1;return(0,C.of)(Ie).pipe((0,he.b)(yt=>{this.currentNavigation={id:yt.id,initialUrl:yt.rawUrl,extractedUrl:yt.extractedUrl,trigger:yt.source,extras:yt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,le.w)(yt=>{const wn=yt.currentBrowserUrl.toString(),Ct=!M.navigated||yt.extractedUrl.toString()!==wn||wn!==yt.currentUrlTree.toString();if(!Ct&&"reload"!==(yt.extras.onSameUrlNavigation??M.onSameUrlNavigation)){const pn="";return this.events.next(new os(yt.id,this.urlSerializer.serialize(yt.rawUrl),pn,0)),yt.resolve(null),x.E}if(M.urlHandlingStrategy.shouldProcessUrl(yt.rawUrl))return(0,C.of)(yt).pipe((0,le.w)(pn=>{const Rn=this.transitions?.getValue();return this.events.next(new Qi(pn.id,this.urlSerializer.serialize(pn.extractedUrl),pn.source,pn.restoredState)),Rn!==this.transitions?.getValue()?x.E:Promise.resolve(pn)}),function Ai(b,O,B,M,G,pe){return(0,se.z)(Ie=>function Qn(b,O,B,M,G,pe,Ie="emptyOnly"){return new Tn(b,O,B,M,G,Ie,pe).recognize()}(b,O,B,M,Ie.extractedUrl,G,pe).pipe((0,de.U)(({state:it,tree:Yt})=>({...Ie,targetSnapshot:it,urlAfterRedirects:Yt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,M.config,this.urlSerializer,M.paramsInheritanceStrategy),(0,he.b)(pn=>{Ie.targetSnapshot=pn.targetSnapshot,Ie.urlAfterRedirects=pn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:pn.urlAfterRedirects};const Rn=new eo(pn.id,this.urlSerializer.serialize(pn.extractedUrl),this.urlSerializer.serialize(pn.urlAfterRedirects),pn.targetSnapshot);this.events.next(Rn)}));if(Ct&&M.urlHandlingStrategy.shouldProcessUrl(yt.currentRawUrl)){const{id:pn,extractedUrl:Rn,source:Dt,restoredState:Ot,extras:ds}=yt,Hn=new Qi(pn,this.urlSerializer.serialize(Rn),Dt,Ot);this.events.next(Hn);const $i=Kn(0,this.rootComponentType).snapshot;return this.currentTransition=Ie={...yt,targetSnapshot:$i,urlAfterRedirects:Rn,extras:{...ds,skipLocationChange:!1,replaceUrl:!1}},(0,C.of)(Ie)}{const pn="";return this.events.next(new os(yt.id,this.urlSerializer.serialize(yt.extractedUrl),pn,1)),yt.resolve(null),x.E}}),(0,he.b)(yt=>{const wn=new Ui(yt.id,this.urlSerializer.serialize(yt.extractedUrl),this.urlSerializer.serialize(yt.urlAfterRedirects),yt.targetSnapshot);this.events.next(wn)}),(0,de.U)(yt=>(this.currentTransition=Ie={...yt,guards:_i(yt.targetSnapshot,yt.currentSnapshot,this.rootContexts)},Ie)),function Yo(b,O){return(0,se.z)(B=>{const{targetSnapshot:M,currentSnapshot:G,guards:{canActivateChecks:pe,canDeactivateChecks:Ie}}=B;return 0===Ie.length&&0===pe.length?(0,C.of)({...B,guardsResult:!0}):function ha(b,O,B,M){return(0,w.D)(b).pipe((0,se.z)(G=>function Ga(b,O,B,M,G){const pe=O&&O.routeConfig?O.routeConfig.canDeactivate:null;if(!pe||0===pe.length)return(0,C.of)(!0);const Ie=pe.map(it=>{const Yt=ks(O)??G,yt=ii(it,Yt);return fr(function Qo(b){return b&&ai(b.canDeactivate)}(yt)?yt.canDeactivate(b,O,B,M):Yt.runInContext(()=>yt(b,O,B,M))).pipe((0,oe.P)())});return(0,C.of)(Ie).pipe(ao())}(G.component,G.route,B,O,M)),(0,oe.P)(G=>!0!==G,!0))}(Ie,M,G,b).pipe((0,se.z)(it=>it&&function Qs(b){return"boolean"==typeof b}(it)?function za(b,O,B,M){return(0,w.D)(O).pipe((0,fe.b)(G=>(0,h.z)(function hc(b,O){return null!==b&&O&&O(new $o(b)),(0,C.of)(!0)}(G.route.parent,M),function fc(b,O){return null!==b&&O&&O(new Bo(b)),(0,C.of)(!0)}(G.route,M),function pc(b,O,B){const M=O[O.length-1],pe=O.slice(0,O.length-1).reverse().map(Ie=>function dc(b){const O=b.routeConfig?b.routeConfig.canActivateChild:null;return O&&0!==O.length?{node:b,guards:O}:null}(Ie)).filter(Ie=>null!==Ie).map(Ie=>(0,F.P)(()=>{const it=Ie.guards.map(Yt=>{const yt=ks(Ie.node)??B,wn=ii(Yt,yt);return fr(function la(b){return b&&ai(b.canActivateChild)}(wn)?wn.canActivateChild(M,b):yt.runInContext(()=>wn(M,b))).pipe((0,oe.P)())});return(0,C.of)(it).pipe(ao())}));return(0,C.of)(pe).pipe(ao())}(b,G.path,B),function Hc(b,O,B){const M=O.routeConfig?O.routeConfig.canActivate:null;if(!M||0===M.length)return(0,C.of)(!0);const G=M.map(pe=>(0,F.P)(()=>{const Ie=ks(O)??B,it=ii(pe,Ie);return fr(function Ha(b){return b&&ai(b.canActivate)}(it)?it.canActivate(O,b):Ie.runInContext(()=>it(O,b))).pipe((0,oe.P)())}));return(0,C.of)(G).pipe(ao())}(b,G.route,B))),(0,oe.P)(G=>!0!==G,!0))}(M,pe,b,O):(0,C.of)(it)),(0,de.U)(it=>({...B,guardsResult:it})))})}(this.environmentInjector,yt=>this.events.next(yt)),(0,he.b)(yt=>{if(Ie.guardsResult=yt.guardsResult,rt(yt.guardsResult))throw Ss(0,yt.guardsResult);const wn=new xs(yt.id,this.urlSerializer.serialize(yt.extractedUrl),this.urlSerializer.serialize(yt.urlAfterRedirects),yt.targetSnapshot,!!yt.guardsResult);this.events.next(wn)}),(0,q.h)(yt=>!!yt.guardsResult||(this.cancelNavigationTransition(yt,"",3),!1)),ma(yt=>{if(yt.guards.canActivateChecks.length)return(0,C.of)(yt).pipe((0,he.b)(wn=>{const Ct=new wi(wn.id,this.urlSerializer.serialize(wn.extractedUrl),this.urlSerializer.serialize(wn.urlAfterRedirects),wn.targetSnapshot);this.events.next(Ct)}),(0,le.w)(wn=>{let Ct=!1;return(0,C.of)(wn).pipe(function Zo(b,O){return(0,se.z)(B=>{const{targetSnapshot:M,guards:{canActivateChecks:G}}=B;if(!G.length)return(0,C.of)(B);let pe=0;return(0,w.D)(G).pipe((0,fe.b)(Ie=>function Li(b,O,B,M){const G=b.routeConfig,pe=b._resolve;return void 0!==G?.title&&!Oo(G)&&(pe[dt]=G.title),function Ts(b,O,B,M){const G=function co(b){return[...Object.keys(b),...Object.getOwnPropertySymbols(b)]}(b);if(0===G.length)return(0,C.of)({});const pe={};return(0,w.D)(G).pipe((0,se.z)(Ie=>function uo(b,O,B,M){const G=ks(O)??M,pe=ii(b,G);return fr(pe.resolve?pe.resolve(O,B):G.runInContext(()=>pe(O,B)))}(b[Ie],O,B,M).pipe((0,oe.P)(),(0,he.b)(it=>{pe[Ie]=it}))),Ge(1),(0,Ee.h)(pe),(0,_e.K)(Ie=>Va(Ie)?x.E:(0,$._)(Ie)))}(pe,b,O,M).pipe((0,de.U)(Ie=>(b._resolvedData=Ie,b.data=Mi(b,B).resolve,G&&Oo(G)&&(b.data[dt]=G.title),null)))}(Ie.route,M,b,O)),(0,he.b)(()=>pe++),Ge(1),(0,se.z)(Ie=>pe===G.length?(0,C.of)(B):x.E))})}(M.paramsInheritanceStrategy,this.environmentInjector),(0,he.b)({next:()=>Ct=!0,complete:()=>{Ct||this.cancelNavigationTransition(wn,"",2)}}))}),(0,he.b)(wn=>{const Ct=new to(wn.id,this.urlSerializer.serialize(wn.extractedUrl),this.urlSerializer.serialize(wn.urlAfterRedirects),wn.targetSnapshot);this.events.next(Ct)}))}),ma(yt=>{const wn=Ct=>{const tr=[];Ct.routeConfig?.loadComponent&&!Ct.routeConfig._loadedComponent&&tr.push(this.configLoader.loadComponent(Ct.routeConfig).pipe((0,he.b)(pn=>{Ct.component=pn}),(0,de.U)(()=>{})));for(const pn of Ct.children)tr.push(...wn(pn));return tr};return(0,g.a)(wn(yt.targetSnapshot.root)).pipe((0,ne.d)(),(0,we.q)(1))}),ma(()=>this.afterPreactivation()),(0,de.U)(yt=>{const wn=function Ws(b,O,B){const M=Kr(b,O._root,B?B._root:void 0);return new It(M,O)}(M.routeReuseStrategy,yt.targetSnapshot,yt.currentRouterState);return this.currentTransition=Ie={...yt,targetRouterState:wn},Ie}),(0,he.b)(()=>{this.events.next(new vi)}),((b,O,B,M)=>(0,de.U)(G=>(new oo(O,G.targetRouterState,G.currentRouterState,B,M).activate(b),G)))(this.rootContexts,M.routeReuseStrategy,yt=>this.events.next(yt),this.inputBindingEnabled),(0,we.q)(1),(0,he.b)({next:yt=>{it=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ir(yt.id,this.urlSerializer.serialize(yt.extractedUrl),this.urlSerializer.serialize(yt.urlAfterRedirects))),M.titleStrategy?.updateTitle(yt.targetRouterState.snapshot),yt.resolve(!0)},complete:()=>{it=!0}}),(0,Ve.R)(this.transitionAbortSubject.pipe((0,he.b)(yt=>{throw yt}))),(0,be.x)(()=>{it||Yt||this.cancelNavigationTransition(Ie,"",1),this.currentNavigation?.id===Ie.id&&(this.currentNavigation=null)}),(0,_e.K)(yt=>{if(Yt=!0,Mo(yt))this.events.next(new Di(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),yt.message,yt.cancellationCode)),function Cs(b){return Mo(b)&&rt(b.url)}(yt)?this.events.next(new zs(yt.url)):Ie.resolve(!1);else{this.events.next(new Bi(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),yt,Ie.targetSnapshot??void 0));try{Ie.resolve(M.errorHandler(yt))}catch(wn){Ie.reject(wn)}}return x.E}))}))}cancelNavigationTransition(M,G,pe){const Ie=new Di(M.id,this.urlSerializer.serialize(M.extractedUrl),G,pe);this.events.next(Ie),M.resolve(!1)}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})();function Ce(b){return b!==vr}let Ke=(()=>{var b;class O{buildTitle(M){let G,pe=M.root;for(;void 0!==pe;)G=this.getResolvedTitleForRoute(pe)??G,pe=pe.children.find(Ie=>Ie.outlet===Xe);return G}getResolvedTitleForRoute(M){return M.data[dt]}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:function(){return(0,c.f3M)(bt)},providedIn:"root"}),O})(),bt=(()=>{var b;class O extends Ke{constructor(M){super(),this.title=M}updateTitle(M){const G=this.buildTitle(M);void 0!==G&&this.title.setTitle(G)}}return(b=O).\u0275fac=function(M){return new(M||b)(c.LFG(st.Dx))},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})(),Gt=(()=>{var b;class O{}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:function(){return(0,c.f3M)(Mr)},providedIn:"root"}),O})();class ur{shouldDetach(O){return!1}store(O,B){}shouldAttach(O){return!1}retrieve(O){return null}shouldReuseRoute(O,B){return O.routeConfig===B.routeConfig}}let Mr=(()=>{var b;class O extends ur{}return(b=O).\u0275fac=function(){let B;return function(G){return(B||(B=c.n5z(b)))(G||b)}}(),b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})();const yr=new c.OlP("",{providedIn:"root",factory:()=>({})});let sr=(()=>{var b;class O{}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:function(){return(0,c.f3M)(ei)},providedIn:"root"}),O})(),ei=(()=>{var b;class O{shouldProcessUrl(M){return!0}extract(M){return M}merge(M,G){return M}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})();var Ir=function(b){return b[b.COMPLETE=0]="COMPLETE",b[b.FAILED=1]="FAILED",b[b.REDIRECTING=2]="REDIRECTING",b}(Ir||{});function fi(b,O){b.events.pipe((0,q.h)(B=>B instanceof ir||B instanceof Di||B instanceof Bi||B instanceof os),(0,de.U)(B=>B instanceof ir||B instanceof os?Ir.COMPLETE:B instanceof Di&&(0===B.code||1===B.code)?Ir.REDIRECTING:Ir.FAILED),(0,q.h)(B=>B!==Ir.REDIRECTING),(0,we.q)(1)).subscribe(()=>{O()})}function js(b){throw b}function ys(b,O,B){return O.parse("/")}const Ys={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hi=(()=>{var b;class O{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,c.f3M)(c.c2e),this.isNgZoneEnabled=!1,this._events=new te.x,this.options=(0,c.f3M)(yr,{optional:!0})||{},this.pendingTasks=(0,c.f3M)(c.HDt),this.errorHandler=this.options.errorHandler||js,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ys,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,c.f3M)(sr),this.routeReuseStrategy=(0,c.f3M)(Gt),this.titleStrategy=(0,c.f3M)(Ke),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,c.f3M)(Xi,{optional:!0})?.flat()??[],this.navigationTransitions=(0,c.f3M)(H),this.urlSerializer=(0,c.f3M)(Ln),this.location=(0,c.f3M)(ee.Ye),this.componentInputBindingEnabled=!!(0,c.f3M)(Cr,{optional:!0}),this.eventsSubscription=new U.w0,this.isNgZoneEnabled=(0,c.f3M)(c.R0b)instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new He,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Kn(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(M=>{this.lastSuccessfulId=M.id,this.currentPageId=this.browserPageId},M=>{this.console.warn(`Unhandled Navigation Error: ${M}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const M=this.navigationTransitions.events.subscribe(G=>{try{const{currentTransition:pe}=this.navigationTransitions;if(null===pe)return void(lo(G)&&this._events.next(G));if(G instanceof Qi)Ce(pe.source)&&(this.browserUrlTree=pe.extractedUrl);else if(G instanceof os)this.rawUrlTree=pe.rawUrl;else if(G instanceof eo){if("eager"===this.urlUpdateStrategy){if(!pe.extras.skipLocationChange){const Ie=this.urlHandlingStrategy.merge(pe.urlAfterRedirects,pe.rawUrl);this.setBrowserUrl(Ie,pe)}this.browserUrlTree=pe.urlAfterRedirects}}else if(G instanceof vi)this.currentUrlTree=pe.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(pe.urlAfterRedirects,pe.rawUrl),this.routerState=pe.targetRouterState,"deferred"===this.urlUpdateStrategy&&(pe.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,pe),this.browserUrlTree=pe.urlAfterRedirects);else if(G instanceof Di)0!==G.code&&1!==G.code&&(this.navigated=!0),(3===G.code||2===G.code)&&this.restoreHistory(pe);else if(G instanceof zs){const Ie=this.urlHandlingStrategy.merge(G.url,pe.currentRawUrl),it={skipLocationChange:pe.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ce(pe.source)};this.scheduleNavigation(Ie,vr,null,it,{resolve:pe.resolve,reject:pe.reject,promise:pe.promise})}G instanceof Bi&&this.restoreHistory(pe,!0),G instanceof ir&&(this.navigated=!0),lo(G)&&this._events.next(G)}catch(pe){this.navigationTransitions.transitionAbortSubject.next(pe)}});this.eventsSubscription.add(M)}resetRootComponentType(M){this.routerState.root.component=M,this.navigationTransitions.rootComponentType=M}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const M=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),vr,M)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(M=>{const G="popstate"===M.type?"popstate":"hashchange";"popstate"===G&&setTimeout(()=>{this.navigateToSyncWithBrowser(M.url,G,M.state)},0)}))}navigateToSyncWithBrowser(M,G,pe){const Ie={replaceUrl:!0},it=pe?.navigationId?pe:null;if(pe){const yt={...pe};delete yt.navigationId,delete yt.\u0275routerPageId,0!==Object.keys(yt).length&&(Ie.state=yt)}const Yt=this.parseUrl(M);this.scheduleNavigation(Yt,G,it,Ie)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(M){this.config=M.map(Fs),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(M,G={}){const{relativeTo:pe,queryParams:Ie,fragment:it,queryParamsHandling:Yt,preserveFragment:yt}=G,wn=yt?this.currentUrlTree.fragment:it;let tr,Ct=null;switch(Yt){case"merge":Ct={...this.currentUrlTree.queryParams,...Ie};break;case"preserve":Ct=this.currentUrlTree.queryParams;break;default:Ct=Ie||null}null!==Ct&&(Ct=this.removeEmptyProps(Ct));try{tr=un(pe?pe.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof M[0]||!M[0].startsWith("/"))&&(M=[]),tr=this.currentUrlTree.root}return Gn(tr,M,Ct,wn??null)}navigateByUrl(M,G={skipLocationChange:!1}){const pe=rt(M)?M:this.parseUrl(M),Ie=this.urlHandlingStrategy.merge(pe,this.rawUrlTree);return this.scheduleNavigation(Ie,vr,null,G)}navigate(M,G={skipLocationChange:!1}){return function ki(b){for(let O=0;O<b.length;O++)if(null==b[O])throw new c.vHH(4008,!1)}(M),this.navigateByUrl(this.createUrlTree(M,G),G)}serializeUrl(M){return this.urlSerializer.serialize(M)}parseUrl(M){let G;try{G=this.urlSerializer.parse(M)}catch(pe){G=this.malformedUriErrorHandler(pe,this.urlSerializer,M)}return G}isActive(M,G){let pe;if(pe=!0===G?{...Ys}:!1===G?{...Vi}:G,rt(M))return Ur(this.currentUrlTree,M,pe);const Ie=this.parseUrl(M);return Ur(this.currentUrlTree,Ie,pe)}removeEmptyProps(M){return Object.keys(M).reduce((G,pe)=>{const Ie=M[pe];return null!=Ie&&(G[pe]=Ie),G},{})}scheduleNavigation(M,G,pe,Ie,it){if(this.disposed)return Promise.resolve(!1);let Yt,yt,wn;it?(Yt=it.resolve,yt=it.reject,wn=it.promise):wn=new Promise((tr,pn)=>{Yt=tr,yt=pn});const Ct=this.pendingTasks.add();return fi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ct))}),this.navigationTransitions.handleNavigationRequest({source:G,restoredState:pe,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:M,extras:Ie,resolve:Yt,reject:yt,promise:wn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),wn.catch(tr=>Promise.reject(tr))}setBrowserUrl(M,G){const pe=this.urlSerializer.serialize(M);if(this.location.isCurrentPathEqualTo(pe)||G.extras.replaceUrl){const it={...G.extras.state,...this.generateNgRouterState(G.id,this.browserPageId)};this.location.replaceState(pe,"",it)}else{const Ie={...G.extras.state,...this.generateNgRouterState(G.id,this.browserPageId+1)};this.location.go(pe,"",Ie)}}restoreHistory(M,G=!1){if("computed"===this.canceledNavigationResolution){const Ie=this.currentPageId-this.browserPageId;0!==Ie?this.location.historyGo(Ie):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===Ie&&(this.resetState(M),this.browserUrlTree=M.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(G&&this.resetState(M),this.resetUrlToCurrentUrlTree())}resetState(M){this.routerState=M.currentRouterState,this.currentUrlTree=M.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,M.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(M,G){return"computed"===this.canceledNavigationResolution?{navigationId:M,\u0275routerPageId:G}:{navigationId:M}}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})();function lo(b){return!(b instanceof vi||b instanceof zs)}class va{}let us=(()=>{var b;class O{preload(M,G){return G().pipe((0,_e.K)(()=>(0,C.of)(null)))}}return(b=O).\u0275fac=function(M){return new(M||b)},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})(),Ou=(()=>{var b;class O{constructor(M,G,pe,Ie,it){this.router=M,this.injector=pe,this.preloadingStrategy=Ie,this.loader=it}setUpPreloading(){this.subscription=this.router.events.pipe((0,q.h)(M=>M instanceof ir),(0,fe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(M,G){const pe=[];for(const Ie of G){Ie.providers&&!Ie._injector&&(Ie._injector=(0,c.MMx)(Ie.providers,M,`Route: ${Ie.path}`));const it=Ie._injector??M,Yt=Ie._loadedInjector??it;(Ie.loadChildren&&!Ie._loadedRoutes&&void 0===Ie.canLoad||Ie.loadComponent&&!Ie._loadedComponent)&&pe.push(this.preloadConfig(it,Ie)),(Ie.children||Ie._loadedRoutes)&&pe.push(this.processRoutes(Yt,Ie.children??Ie._loadedRoutes))}return(0,w.D)(pe).pipe((0,Ue.J)())}preloadConfig(M,G){return this.preloadingStrategy.preload(G,()=>{let pe;pe=G.loadChildren&&void 0===G.canLoad?this.loader.loadChildren(M,G):(0,C.of)(null);const Ie=pe.pipe((0,se.z)(it=>null===it?(0,C.of)(void 0):(G._loadedRoutes=it.routes,G._loadedInjector=it.injector,this.processRoutes(it.injector??M,it.routes))));if(G.loadComponent&&!G._loadedComponent){const it=this.loader.loadComponent(G);return(0,w.D)([Ie,it]).pipe((0,Ue.J)())}return Ie})}}return(b=O).\u0275fac=function(M){return new(M||b)(c.LFG(hi),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(va),c.LFG(Fi))},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),O})();const Po=new c.OlP("");let ls=(()=>{var b;class O{constructor(M,G,pe,Ie,it={}){this.urlSerializer=M,this.transitions=G,this.viewportScroller=pe,this.zone=Ie,this.options=it,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},it.scrollPositionRestoration=it.scrollPositionRestoration||"disabled",it.anchorScrolling=it.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof Qi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=M.navigationTrigger,this.restoredId=M.restoredState?M.restoredState.navigationId:0):M instanceof ir?(this.lastId=M.id,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.urlAfterRedirects).fragment)):M instanceof os&&0===M.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(M,this.urlSerializer.parse(M.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(M=>{M instanceof no&&(M.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(M.position):M.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(M.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(M,G){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new no(M,"popstate"===this.lastSource?this.store[this.restoredId]:null,G))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(b=O).\u0275fac=function(M){c.$Z()},b.\u0275prov=c.Yz7({token:b,factory:b.\u0275fac}),O})();function Pu(b,...O){return(0,c.MR2)([{provide:Xi,multi:!0,useValue:b},[],{provide:gr,useFactory:Vc,deps:[hi]},{provide:c.tb,multi:!0,useFactory:ya},O.map(B=>B.\u0275providers)])}function Vc(b){return b.routerState.root}function zi(b,O){return{\u0275kind:b,\u0275providers:O}}function ya(){const b=(0,c.f3M)(c.zs3);return O=>{const B=b.get(c.z2F);if(O!==B.components[0])return;const M=b.get(hi),G=b.get(_a);1===b.get(Gc)&&M.initialNavigation(),b.get(vc,null,c.XFs.Optional)?.setUpPreloading(),b.get(Po,null,c.XFs.Optional)?.init(),M.resetRootComponentType(B.componentTypes[0]),G.closed||(G.next(),G.complete(),G.unsubscribe())}}const _a=new c.OlP("",{factory:()=>new te.x}),Gc=new c.OlP("",{providedIn:"root",factory:()=>1}),vc=new c.OlP("");function Wc(b){return zi(0,[{provide:vc,useExisting:Ou},{provide:va,useExisting:b}])}const yc=new c.OlP("ROUTER_FORROOT_GUARD"),xu=[ee.Ye,{provide:Ln,useClass:Dn},hi,Gs,{provide:gr,useFactory:Vc,deps:[hi]},Fi,[]];function Nu(){return new c.PXZ("Router",hi)}let xt=(()=>{var b;class O{constructor(M){}static forRoot(M,G){return{ngModule:O,providers:[xu,[],{provide:Xi,multi:!0,useValue:M},{provide:yc,useFactory:Gi,deps:[[hi,new c.FiY,new c.tp0]]},{provide:yr,useValue:G||{}},G?.useHash?{provide:ee.S$,useClass:ee.Do}:{provide:ee.S$,useClass:ee.b0},{provide:Po,useFactory:()=>{const b=(0,c.f3M)(ee.EM),O=(0,c.f3M)(c.R0b),B=(0,c.f3M)(yr),M=(0,c.f3M)(H),G=(0,c.f3M)(Ln);return B.scrollOffset&&b.setOffset(B.scrollOffset),new ls(G,M,b,O,B)}},G?.preloadingStrategy?Wc(G.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:Nu},G?.initialNavigation?Yc(G):[],G?.bindToComponentInputs?zi(8,[Lr,{provide:Cr,useExisting:Lr}]).\u0275providers:[],[{provide:Ea,useFactory:ya},{provide:c.tb,multi:!0,useExisting:Ea}]]}}static forChild(M){return{ngModule:O,providers:[{provide:Xi,multi:!0,useValue:M}]}}}return(b=O).\u0275fac=function(M){return new(M||b)(c.LFG(yc,8))},b.\u0275mod=c.oAB({type:b}),b.\u0275inj=c.cJS({}),O})();function Gi(b){return"guarded"}function Yc(b){return["disabled"===b.initialNavigation?zi(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const O=(0,c.f3M)(hi);return()=>{O.setUpLocationChangeListener()}}},{provide:Gc,useValue:2}]).\u0275providers:[],"enabledBlocking"===b.initialNavigation?zi(2,[{provide:Gc,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:O=>{const B=O.get(ee.V_,Promise.resolve());return()=>B.then(()=>new Promise(M=>{const G=O.get(hi),pe=O.get(_a);fi(G,()=>{M(!0)}),O.get(H).afterPreactivation=()=>(M(!0),pe.closed?(0,C.of)(void 0):pe),G.initialNavigation()}))}}]).\u0275providers:[]]}const Ea=new c.OlP("")},3088:(ie,Q,o)=>{"use strict";o.d(Q,{QS:()=>p,_v:()=>g,ab:()=>_,li:()=>E});var c=o(4633),_=new c.g7,w=new WeakMap;function C(F){var T=w.get(F);return T||w.set(F,T={vars:new Set,dep:(0,c.dP)()}),T}function E(F){C(F).vars.forEach(function(T){return T.forgetCache(F)})}function g(F){C(F).vars.forEach(function(T){return T.attachCache(F)})}function p(F){var T=new Set,$=new Set,x=function(te){if(arguments.length>0){if(F!==te){F=te,T.forEach(function(de){C(de).dep.dirty(x),function h(F){F.broadcastWatches&&F.broadcastWatches()}(de)});var U=Array.from($);$.clear(),U.forEach(function(de){return de(F)})}}else{var ee=_.getValue();ee&&(J(ee),C(ee).dep(x))}return F};x.onNextChange=function(te){return $.add(te),function(){$.delete(te)}};var J=x.attachCache=function(te){return T.add(te),C(te).vars.add(x),x};return x.forgetCache=function(te){return T.delete(te)},x}},131:(ie,Q,o)=>{"use strict";o.d(Q,{MS:()=>g,YG:()=>C,cA:()=>h,ls:()=>E});var c=o(7582),w=(o(4860),o(1352)),C=Symbol();function E(F){return!!F.extensions&&Array.isArray(F.extensions[C])}function g(F){return F.hasOwnProperty("graphQLErrors")}var h=function(F){function T($){var x=$.graphQLErrors,J=$.protocolErrors,te=$.clientErrors,U=$.networkError,ee=$.errorMessage,de=$.extraInfo,le=F.call(this,ee)||this;return le.name="ApolloError",le.graphQLErrors=x||[],le.protocolErrors=J||[],le.clientErrors=te||[],le.networkError=U||null,le.message=ee||function(F){var T=(0,c.ev)((0,c.ev)((0,c.ev)([],F.graphQLErrors,!0),F.clientErrors,!0),F.protocolErrors,!0);return F.networkError&&T.push(F.networkError),T.map(function($){return(0,w.s)($)&&$.message||"Error message not found."}).join("\n")}(le),le.extraInfo=de,le.__proto__=T.prototype,le}return(0,c.ZT)(T,F),T}(Error)},8632:(ie,Q,o)=>{"use strict";o.d(Q,{i:()=>$});var c=o(4860),_=o(7619),w=o(7582),E=o(8725);function h(x,J){return J?J(x):_.y.of()}function F(x){return"function"==typeof x?new $(x):x}function T(x){return x.request.length<=1}var $=function(){function x(J){J&&(this.request=J)}return x.empty=function(){return new x(function(){return _.y.of()})},x.from=function(J){return 0===J.length?x.empty():J.map(F).reduce(function(te,U){return te.concat(U)})},x.split=function(J,te,U){var le,ee=F(te),de=F(U||new x(h));return le=T(ee)&&T(de)?new x(function(we){return J(we)?ee.request(we)||_.y.of():de.request(we)||_.y.of()}):new x(function(we,Ne){return J(we)?ee.request(we,Ne)||_.y.of():de.request(we,Ne)||_.y.of()}),Object.assign(le,{left:ee,right:de})},x.execute=function(J,te){return J.request(function C(x,J){var te=(0,w.pi)({},x);return Object.defineProperty(J,"setContext",{enumerable:!1,value:function(de){te=(0,w.pi)((0,w.pi)({},te),"function"==typeof de?de(te):de)}}),Object.defineProperty(J,"getContext",{enumerable:!1,value:function(){return(0,w.pi)({},te)}}),J}(te.context,function g(x){var J={variables:x.variables||{},extensions:x.extensions||{},operationName:x.operationName,query:x.query};return J.operationName||(J.operationName="string"!=typeof J.query?(0,E.rY)(J.query)||void 0:""),J}(function p(x){for(var J=["query","operationName","variables","extensions","context"],te=0,U=Object.keys(x);te<U.length;te++){var ee=U[te];if(J.indexOf(ee)<0)throw(0,c._K)(43,ee)}return x}(te))))||_.y.of()},x.concat=function(J,te){var U=F(J);if(T(U))return!1!==globalThis.__DEV__&&c.kG.warn(35,U),U;var de,ee=F(te);return de=T(ee)?new x(function(le){return U.request(le,function(we){return ee.request(we)||_.y.of()})||_.y.of()}):new x(function(le,we){return U.request(le,function(Ne){return ee.request(Ne,we)||_.y.of()})||_.y.of()}),Object.assign(de,{left:U,right:ee})},x.prototype.split=function(J,te,U){return this.concat(x.split(J,te,U||new x(h)))},x.prototype.concat=function(J){return x.concat(this,J)},x.prototype.request=function(J,te){throw(0,c._K)(36)},x.prototype.onError=function(J,te){if(te&&te.error)return te.error(J),!1;throw J},x.prototype.setOnError=function(J){return this.onError=J,this},x}()},2098:(ie,Q,o)=>{"use strict";o.d(Q,{L:()=>g,s:()=>E});var c=o(552),_=o(2733),w=new WeakSet;function C(p){w.has(p)||(w.add(p),setTimeout(function(){p.clean(),w.delete(p)},100))}var E=function(p,h){var F=new c.k(p,h);return F.set=function(T,$){return C(this),c.k.prototype.set.call(this,T,$)},F},g=function(p,h){var F=new _.e(p,h);return F.set=function(T,$){return C(this),_.e.prototype.set.call(this,T,$)},F}},4286:(ie,Q,o)=>{"use strict";o.d(Q,{Kb:()=>p,q4:()=>g,su:()=>E,zP:()=>C});var c=o(7582),_=o(838),w={};function C(le,we){w[le]=we}var E=!1!==globalThis.__DEV__?function F(){var le,we,Ne,q,se;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(we){var Ne=we[0];return[Ne,_.Q[Ne]||we[1]]})),sizes:(0,c.pi)({print:null===(le=w.print)||void 0===le?void 0:le.call(w),parser:null===(we=w.parser)||void 0===we?void 0:we.call(w),canonicalStringify:null===(Ne=w.canonicalStringify)||void 0===Ne?void 0:Ne.call(w),links:de(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:U(this.queryManager.documentTransform)}},null===(se=(q=this.cache).getMemoryInternals)||void 0===se?void 0:se.call(q))}}:void 0,g=!1!==globalThis.__DEV__?function $(){var le=this.config.fragments;return(0,c.pi)((0,c.pi)({},T.apply(this)),{addTypenameDocumentTransform:U(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:J(this.storeReader.executeSelectionSet),executeSubSelectedArray:J(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:J(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:J(le?.findFragmentSpreads),lookup:J(le?.lookup),transform:J(le?.transform)}})}:void 0,p=!1!==globalThis.__DEV__?T:void 0;function T(){return{cache:{fragmentQueryDocuments:J(this.getFragmentDoc)}}}function J(le){return function x(le){return!!le&&"dirtyKey"in le}(le)?le.size:void 0}function te(le){return null!=le}function U(le){return ee(le).map(function(we){return{cache:we}})}function ee(le){return le?(0,c.ev)((0,c.ev)([J(le?.performWork)],ee(le?.left),!0),ee(le?.right),!0).filter(te):[]}function de(le){var we;return le?(0,c.ev)((0,c.ev)([null===(we=le?.getMemoryInternals)||void 0===we?void 0:we.call(le)],de(le?.left),!0),de(le?.right),!0).filter(te):[]}},838:(ie,Q,o)=>{"use strict";o.d(Q,{Q:()=>C});var c=o(7582),_=o(4860),w=Symbol.for("apollo.cacheSize"),C=(0,c.pi)({},_.CO[w])},6001:(ie,Q,o)=>{"use strict";o.d(Q,{O:()=>_,k:()=>c});var c=Array.isArray;function _(w){return Array.isArray(w)&&w.length>0}},2794:(ie,Q,o)=>{"use strict";o.d(Q,{DN:()=>E,aS:()=>C,mr:()=>_,sy:()=>w});var c=o(4860),_="function"==typeof WeakMap&&!(0,c.wY)(function(){return"ReactNative"==navigator.product&&!global.HermesInternal}),w="function"==typeof WeakSet,C="function"==typeof Symbol&&"function"==typeof Symbol.for,E=C&&Symbol.asyncIterator;(0,c.wY)(function(){return window.document.createElement}),(0,c.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},3703:(ie,Q,o)=>{"use strict";o.d(Q,{B:()=>C});var E,c=o(2098),_=o(838),w=o(4286),C=Object.assign(function(F){return JSON.stringify(F,g)},{reset:function(){E=new c.L(_.Q.canonicalStringify||1e3)}});function g(h,F){if(F&&"object"==typeof F){var T=Object.getPrototypeOf(F);if(T===Object.prototype||null===T){var $=Object.keys(F);if($.every(p))return F;var x=JSON.stringify($),J=E.get(x);if(!J){$.sort();var te=JSON.stringify($);J=E.get(te)||$,E.set(x,J),E.set(te,J)}var U=Object.create(T);return J.forEach(function(ee){U[ee]=F[ee]}),U}}return F}function p(h,F,T){return 0===F||T[F-1]<=h}!1!==globalThis.__DEV__&&(0,w.zP)("canonicalStringify",function(){return E.size}),C.reset()},5078:(ie,Q,o)=>{"use strict";o.d(Q,{X:()=>_});var c=Object.prototype.toString;function _(C){return w(C)}function w(C,E){switch(c.call(C)){case"[object Array]":if((E=E||new Map).has(C))return E.get(C);var g=C.slice(0);return E.set(C,g),g.forEach(function(h,F){g[F]=w(h,E)}),g;case"[object Object]":if((E=E||new Map).has(C))return E.get(C);var p=Object.create(Object.getPrototypeOf(C));return E.set(C,p),Object.keys(C).forEach(function(h){p[h]=w(C[h],E)}),p;default:return C}}},9990:(ie,Q,o)=>{"use strict";function c(){for(var _=[],w=0;w<arguments.length;w++)_[w]=arguments[w];var C=Object.create(null);return _.forEach(function(E){E&&Object.keys(E).forEach(function(g){var p=E[g];void 0!==p&&(C[g]=p)})}),C}o.d(Q,{o:()=>c})},6726:(ie,Q,o)=>{"use strict";o.d(Q,{X:()=>_});var c=new Map;function _(w){var C=c.get(w)||1;return c.set(w,C+1),"".concat(w,":").concat(C,":").concat(Math.random().toString(36).slice(2))}},6630:(ie,Q,o)=>{"use strict";o.d(Q,{Ee:()=>C,bw:()=>E,w0:()=>p});var c=o(7582),_=o(1352),w=Object.prototype.hasOwnProperty;function C(){for(var h=[],F=0;F<arguments.length;F++)h[F]=arguments[F];return E(h)}function E(h){var F=h[0]||{},T=h.length;if(T>1)for(var $=new p,x=1;x<T;++x)F=$.merge(F,h[x]);return F}var g=function(h,F,T){return this.merge(h[T],F[T])},p=function(){function h(F){void 0===F&&(F=g),this.reconciler=F,this.isObject=_.s,this.pastCopies=new Set}return h.prototype.merge=function(F,T){for(var $=this,x=[],J=2;J<arguments.length;J++)x[J-2]=arguments[J];return(0,_.s)(T)&&(0,_.s)(F)?(Object.keys(T).forEach(function(te){if(w.call(F,te)){var U=F[te];if(T[te]!==U){var ee=$.reconciler.apply($,(0,c.ev)([F,T,te],x,!1));ee!==U&&((F=$.shallowCopyForMerge(F))[te]=ee)}}else(F=$.shallowCopyForMerge(F))[te]=T[te]}),F):T},h.prototype.shallowCopyForMerge=function(F){return(0,_.s)(F)&&(this.pastCopies.has(F)||(F=Array.isArray(F)?F.slice(0):(0,c.pi)({__proto__:Object.getPrototypeOf(F)},F),this.pastCopies.add(F))),F},h}()},1352:(ie,Q,o)=>{"use strict";function c(w){return null!==w&&"object"==typeof w}o.d(Q,{s:()=>c})},8363:(ie,Q,o)=>{"use strict";o.d(Q,{v:()=>_});var c=o(6726);function _(w,C){void 0===C&&(C=0);var E=(0,c.X)("stringifyForDisplay");return JSON.stringify(w,function(g,p){return void 0===p?E:p},C).split(JSON.stringify(E)).join("<undefined>")}},4860:(ie,Q,o)=>{"use strict";o.d(Q,{CO:()=>te,kG:()=>de,wY:()=>J,_K:()=>le});var c=o(7582),_="Invariant Violation",w=Object.setPrototypeOf,C=void 0===w?function(fe,he){return fe.__proto__=he,fe}:w,E=function(fe){function he(_e){void 0===_e&&(_e=_);var re=fe.call(this,"number"==typeof _e?_+": "+_e+" (see https://github.com/apollographql/invariant-packages)":_e)||this;return re.framesToPop=1,re.name=_,C(re,he.prototype),re}return(0,c.ZT)(he,fe),he}(Error);function g(fe,he){if(!fe)throw new E(he)}var fe,p=["debug","log","warn","error","silent"],h=p.indexOf("log");function F(fe){return function(){if(p.indexOf(fe)>=h)return(console[fe]||console.log).apply(console,arguments)}}(fe=g||(g={})).debug=F("debug"),fe.log=F("log"),fe.warn=F("warn"),fe.error=F("error");var x=o(7781);function J(fe){try{return fe()}catch{}}const te=J(function(){return globalThis})||J(function(){return window})||J(function(){return self})||J(function(){return global})||J(function(){return J.constructor("return this")()});var U=o(8363);function ee(fe){return function(he){for(var _e=[],re=1;re<arguments.length;re++)_e[re-1]=arguments[re];if("number"==typeof he){var ne=he;(he=q(ne))||(he=se(ne,_e),_e=[])}fe.apply(void 0,[he].concat(_e))}}var de=Object.assign(function(he,_e){for(var re=[],ne=2;ne<arguments.length;ne++)re[ne-2]=arguments[ne];he||g(he,q(_e,re)||se(_e,re))},{debug:ee(g.debug),log:ee(g.log),warn:ee(g.warn),error:ee(g.error)});function le(fe){for(var he=[],_e=1;_e<arguments.length;_e++)he[_e-1]=arguments[_e];return new E(q(fe,he)||se(fe,he))}var we=Symbol.for("ApolloErrorMessageHandler_"+x.i);function Ne(fe){return"string"==typeof fe?fe:(0,U.v)(fe,2).slice(0,1e3)}function q(fe,he){if(void 0===he&&(he=[]),fe)return te[we]&&te[we](fe,he.map(Ne))}function se(fe,he){if(void 0===he&&(he=[]),fe)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:x.i,message:fe,args:he.map(Ne)})))}globalThis},2638:(ie,Q,o)=>{"use strict";o.d(Q,{A:()=>F});var c=o(1823),_=o(2794),w=o(8725),C=o(4860),E=o(552),g=o(4633),p=o(838);function h(T){return T}var F=function(){function T($,x){void 0===x&&(x=Object.create(null)),this.resultCache=_.sy?new WeakSet:new Set,this.transform=$,x.getCacheKey&&(this.getCacheKey=x.getCacheKey),this.cached=!1!==x.cache,this.resetCache()}return T.prototype.getCacheKey=function($){return[$]},T.identity=function(){return new T(h,{cache:!1})},T.split=function($,x,J){return void 0===J&&(J=T.identity()),Object.assign(new T(function(te){return($(te)?x:J).transformDocument(te)},{cache:!1}),{left:x,right:J})},T.prototype.resetCache=function(){var $=this;if(this.cached){var x=new c.B(_.mr);this.performWork=(0,g.re)(T.prototype.performWork.bind(this),{makeCacheKey:function(J){var te=$.getCacheKey(J);if(te)return(0,C.kG)(Array.isArray(te),66),x.lookupArray(te)},max:p.Q["documentTransform.cache"],cache:E.k})}},T.prototype.performWork=function($){return(0,w.A$)($),this.transform($)},T.prototype.transformDocument=function($){if(this.resultCache.has($))return $;var x=this.performWork($);return this.resultCache.add(x),x},T.prototype.concat=function($){var x=this;return Object.assign(new T(function(J){return $.transformDocument(x.transformDocument(J))},{cache:!1}),{left:this,right:$})},T}()},2954:(ie,Q,o)=>{"use strict";o.d(Q,{FS:()=>p,LZ:()=>w,mj:()=>h});var c=o(4860),_=o(8016);function w($,x){var J=$.directives;return!J||!J.length||function T($){var x=[];return $&&$.length&&$.forEach(function(J){if(function F($){var x=$.name.value;return"skip"===x||"include"===x}(J)){var te=J.arguments,U=J.name.value;(0,c.kG)(te&&1===te.length,68,U);var ee=te[0];(0,c.kG)(ee.name&&"if"===ee.name.value,69,U);var de=ee.value;(0,c.kG)(de&&("Variable"===de.kind||"BooleanValue"===de.kind),70,U),x.push({directive:J,ifArgument:ee})}}),x}(J).every(function(te){var U=te.directive,ee=te.ifArgument,de=!1;return"Variable"===ee.value.kind?(0,c.kG)(void 0!==(de=x&&x[ee.value.name.value]),67,U.name.value):de=ee.value.value,"skip"===U.name.value?!de:de})}function p($,x,J){var te=new Set($),U=te.size;return(0,_.Vn)(x,{Directive:function(ee){if(te.delete(ee.name.value)&&(!J||!te.size))return _.$_}}),J?!te.size:te.size<U}function h($){return $&&p(["client","export"],$,!0)}},7095:(ie,Q,o)=>{"use strict";o.d(Q,{F:()=>C,Yk:()=>w,hi:()=>E});var c=o(7582),_=o(4860);function w(g,p){var h=p,F=[];return g.definitions.forEach(function($){if("OperationDefinition"===$.kind)throw(0,_._K)(71,$.operation,$.name?" named '".concat($.name.value,"'"):"");"FragmentDefinition"===$.kind&&F.push($)}),typeof h>"u"&&((0,_.kG)(1===F.length,72,F.length),h=F[0].name.value),(0,c.pi)((0,c.pi)({},g),{definitions:(0,c.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:h}}]}}],g.definitions,!0)})}function C(g){void 0===g&&(g=[]);var p={};return g.forEach(function(h){p[h.name.value]=h}),p}function E(g,p){switch(g.kind){case"InlineFragment":return g;case"FragmentSpread":var h=g.name.value;if("function"==typeof p)return p(h);var F=p&&p[h];return(0,_.kG)(F,73,h),F||null;default:return null}}},8725:(ie,Q,o)=>{"use strict";o.d(Q,{$H:()=>C,A$:()=>w,O4:()=>T,iW:()=>p,kU:()=>g,p$:()=>F,pD:()=>h,rY:()=>E});var c=o(4860),_=o(9173);function w($){(0,c.kG)($&&"Document"===$.kind,74);var x=$.definitions.filter(function(J){return"FragmentDefinition"!==J.kind}).map(function(J){if("OperationDefinition"!==J.kind)throw(0,c._K)(75,J.kind);return J});return(0,c.kG)(x.length<=1,76,x.length),$}function C($){return w($),$.definitions.filter(function(x){return"OperationDefinition"===x.kind})[0]}function E($){return $.definitions.filter(function(x){return"OperationDefinition"===x.kind&&!!x.name}).map(function(x){return x.name.value})[0]||null}function g($){return $.definitions.filter(function(x){return"FragmentDefinition"===x.kind})}function p($){var x=C($);return(0,c.kG)(x&&"query"===x.operation,77),x}function h($){(0,c.kG)("Document"===$.kind,78),(0,c.kG)($.definitions.length<=1,79);var x=$.definitions[0];return(0,c.kG)("FragmentDefinition"===x.kind,80),x}function F($){w($);for(var x,J=0,te=$.definitions;J<te.length;J++){var U=te[J];if("OperationDefinition"===U.kind){var ee=U.operation;if("query"===ee||"mutation"===ee||"subscription"===ee)return U}"FragmentDefinition"===U.kind&&!x&&(x=U)}if(x)return x;throw(0,c._K)(81)}function T($){var x=Object.create(null),J=$&&$.variableDefinitions;return J&&J.length&&J.forEach(function(te){te.defaultValue&&(0,_.vb)(x,te.variable.name,te.defaultValue)}),x}},6709:(ie,Q,o)=>{"use strict";o.d(Q,{S:()=>g});var E,c=o(86),_=o(2098),w=o(838),C=o(4286),g=Object.assign(function(p){var h=E.get(p);return h||(h=(0,c.S)(p),E.set(p,h)),h},{reset:function(){E=new _.s(w.Q.print||2e3)}});g.reset(),!1!==globalThis.__DEV__&&(0,C.zP)("print",function(){return E?E.size:0})},9173:(ie,Q,o)=>{"use strict";o.d(Q,{Ao:()=>_e,JW:()=>p,My:()=>he,NC:()=>se,PT:()=>q,Yk:()=>g,kQ:()=>E,qw:()=>fe,u2:()=>oe,vb:()=>de,vf:()=>le});var c=o(4860),_=o(1352),w=o(7095),C=o(3703);function E(re){return{__ref:String(re)}}function g(re){return!(!re||"object"!=typeof re||"string"!=typeof re.__ref)}function p(re){return(0,_.s)(re)&&"Document"===re.kind&&Array.isArray(re.definitions)}function de(re,ne,ve,je){if(function T(re){return"IntValue"===re.kind}(ve)||function $(re){return"FloatValue"===re.kind}(ve))re[ne.value]=Number(ve.value);else if(function F(re){return"BooleanValue"===re.kind}(ve)||function h(re){return"StringValue"===re.kind}(ve))re[ne.value]=ve.value;else if(function J(re){return"ObjectValue"===re.kind}(ve)){var Ge={};ve.fields.map(function(Se){return de(Ge,Se.name,Se.value,je)}),re[ne.value]=Ge}else if(function x(re){return"Variable"===re.kind}(ve))re[ne.value]=(je||{})[ve.name.value];else if(function te(re){return"ListValue"===re.kind}(ve))re[ne.value]=ve.values.map(function(Se){var ze={};return de(ze,ne,Se,je),ze[ne.value]});else if(function U(re){return"EnumValue"===re.kind}(ve))re[ne.value]=ve.value;else{if(!function ee(re){return"NullValue"===re.kind}(ve))throw(0,c._K)(82,ne.value,ve.kind);re[ne.value]=null}}function le(re,ne){var ve=null;re.directives&&(ve={},re.directives.forEach(function(Ge){ve[Ge.name.value]={},Ge.arguments&&Ge.arguments.forEach(function(Le){return de(ve[Ge.name.value],Le.name,Le.value,ne)})}));var je=null;return re.arguments&&re.arguments.length&&(je={},re.arguments.forEach(function(Ge){return de(je,Ge.name,Ge.value,ne)})),q(re.name.value,je,ve)}var we=["connection","include","skip","client","rest","export","nonreactive"],Ne=C.B,q=Object.assign(function(re,ne,ve){if(ne&&ve&&ve.connection&&ve.connection.key){if(ve.connection.filter&&ve.connection.filter.length>0){var je=ve.connection.filter?ve.connection.filter:[];je.sort();var Ge={};return je.forEach(function(ze){Ge[ze]=ne[ze]}),"".concat(ve.connection.key,"(").concat(Ne(Ge),")")}return ve.connection.key}var Le=re;if(ne){var Se=Ne(ne);Le+="(".concat(Se,")")}return ve&&Object.keys(ve).forEach(function(ze){-1===we.indexOf(ze)&&(ve[ze]&&Object.keys(ve[ze]).length?Le+="@".concat(ze,"(").concat(Ne(ve[ze]),")"):Le+="@".concat(ze))}),Le},{setStringify:function(re){var ne=Ne;return Ne=re,ne}});function se(re,ne){if(re.arguments&&re.arguments.length){var ve={};return re.arguments.forEach(function(je){return de(ve,je.name,je.value,ne)}),ve}return null}function oe(re){return re.alias?re.alias.value:re.name.value}function fe(re,ne,ve){for(var je,Ge=0,Le=ne.selections;Ge<Le.length;Ge++)if(he(Se=Le[Ge])){if("__typename"===Se.name.value)return re[oe(Se)]}else je?je.push(Se):je=[Se];if("string"==typeof re.__typename)return re.__typename;if(je)for(var ze=0,Ee=je;ze<Ee.length;ze++){var Se,be=fe(re,(0,w.hi)(Se=Ee[ze],ve).selectionSet,ve);if("string"==typeof be)return be}}function he(re){return"Field"===re.kind}function _e(re){return"InlineFragment"===re.kind}},6140:(ie,Q,o)=>{"use strict";o.d(Q,{Gw:()=>U,aL:()=>oe,bi:()=>te,ob:()=>fe});var c=o(7582),_=o(4860),w=o(5560),C=o(8016),E=o(8725),g=o(9173),p=o(7095),h=o(6001),F={kind:w.h.FIELD,name:{kind:w.h.NAME,value:"__typename"}};function T(he,_e){return!he||he.selectionSet.selections.every(function(re){return re.kind===w.h.FRAGMENT_SPREAD&&T(_e[re.name.value],_e)})}function $(he){return T((0,E.$H)(he)||(0,E.pD)(he),(0,p.F)((0,E.kU)(he)))?null:he}function J(he){var _e=new Map;return function(ne){void 0===ne&&(ne=he);var ve=_e.get(ne);return ve||_e.set(ne,ve={variables:new Set,fragmentSpreads:new Set}),ve}}function te(he,_e){(0,E.A$)(_e);for(var re=J(""),ne=J(""),ve=function(dt){for(var pt=0,ln=void 0;pt<dt.length&&(ln=dt[pt]);++pt)if(!(0,h.k)(ln)){if(ln.kind===w.h.OPERATION_DEFINITION)return re(ln.name&&ln.name.value);if(ln.kind===w.h.FRAGMENT_DEFINITION)return ne(ln.name.value)}return!1!==globalThis.__DEV__&&_.kG.error(83),null},je=0,Ge=_e.definitions.length-1;Ge>=0;--Ge)_e.definitions[Ge].kind===w.h.OPERATION_DEFINITION&&++je;var Le=function x(he){var _e=new Map,re=new Map;return he.forEach(function(ne){ne&&(ne.name?_e.set(ne.name,ne):ne.test&&re.set(ne.test,ne))}),function(ne){var ve=_e.get(ne.name.value);return!ve&&re.size&&re.forEach(function(je,Ge){Ge(ne)&&(ve=je)}),ve}}(he),Se=function(dt){return(0,h.O)(dt)&&dt.map(Le).some(function(pt){return pt&&pt.remove})},ze=new Map,Ee=!1,be={enter:function(dt){if(Se(dt.directives))return Ee=!0,null}},xe=(0,C.Vn)(_e,{Field:be,InlineFragment:be,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(dt,pt,ln,rn,bn){var an=ve(bn);an&&an.variables.add(dt.name.value)}},FragmentSpread:{enter:function(dt,pt,ln,rn,bn){if(Se(dt.directives))return Ee=!0,null;var an=ve(bn);an&&an.fragmentSpreads.add(dt.name.value)}},FragmentDefinition:{enter:function(dt,pt,ln,rn){ze.set(JSON.stringify(rn),dt)},leave:function(dt,pt,ln,rn){return dt===ze.get(JSON.stringify(rn))?dt:je>0&&dt.selectionSet.selections.every(function(an){return an.kind===w.h.FIELD&&"__typename"===an.name.value})?(ne(dt.name.value).removed=!0,Ee=!0,null):void 0}},Directive:{leave:function(dt){if(Le(dt))return Ee=!0,null}}});if(!Ee)return _e;var Ve=function(dt){return dt.transitiveVars||(dt.transitiveVars=new Set(dt.variables),dt.removed||dt.fragmentSpreads.forEach(function(pt){Ve(ne(pt)).transitiveVars.forEach(function(ln){dt.transitiveVars.add(ln)})})),dt},Ue=new Set;xe.definitions.forEach(function(dt){dt.kind===w.h.OPERATION_DEFINITION?Ve(re(dt.name&&dt.name.value)).fragmentSpreads.forEach(function(pt){Ue.add(pt)}):dt.kind===w.h.FRAGMENT_DEFINITION&&0===je&&!ne(dt.name.value).removed&&Ue.add(dt.name.value)}),Ue.forEach(function(dt){Ve(ne(dt)).fragmentSpreads.forEach(function(pt){Ue.add(pt)})});var Xe={enter:function(dt){if(function(dt){return!(Ue.has(dt)&&!ne(dt).removed)}(dt.name.value))return null}};return $((0,C.Vn)(xe,{FragmentSpread:Xe,FragmentDefinition:Xe,OperationDefinition:{leave:function(dt){if(dt.variableDefinitions){var pt=Ve(re(dt.name&&dt.name.value)).transitiveVars;if(pt.size<dt.variableDefinitions.length)return(0,c.pi)((0,c.pi)({},dt),{variableDefinitions:dt.variableDefinitions.filter(function(ln){return pt.has(ln.variable.name.value)})})}}}}))}var U=Object.assign(function(he){return(0,C.Vn)(he,{SelectionSet:{enter:function(_e,re,ne){if(!ne||ne.kind!==w.h.OPERATION_DEFINITION){var ve=_e.selections;if(ve&&!ve.some(function(Le){return(0,g.My)(Le)&&("__typename"===Le.name.value||0===Le.name.value.lastIndexOf("__",0))})){var Ge=ne;if(!((0,g.My)(Ge)&&Ge.directives&&Ge.directives.some(function(Le){return"export"===Le.name.value})))return(0,c.pi)((0,c.pi)({},_e),{selections:(0,c.ev)((0,c.ev)([],ve,!0),[F],!1)})}}}}})},{added:function(he){return he===F}});function oe(he){return"query"===(0,E.p$)(he).operation?he:(0,C.Vn)(he,{OperationDefinition:{enter:function(ve){return(0,c.pi)((0,c.pi)({},ve),{operation:"query"})}}})}function fe(he){return(0,E.A$)(he),te([{test:function(re){return"client"===re.name.value},remove:!0}],he)}},7781:(ie,Q,o)=>{"use strict";o.d(Q,{i:()=>c});var c="3.9.6"},1791:(ie,Q,o)=>{"use strict";o.d(Q,{c:()=>q,t:()=>je});var c=o(8645),_=o(7394),w=o(9666),C=o(6232),E=o(5879),g=o(1631),p=o(9773);const h=E.GuJ,T=Symbol("__destroy"),$=Symbol("__decoratorApplied");function x(Le){return"string"==typeof Le?Symbol(`__destroy__${Le}`):T}function te(Le,Se){Le[Se]||(Le[Se]=new c.x)}function U(Le,Se){Le[Se]&&(Le[Se].next(),Le[Se].complete(),Le[Se]=null)}function ee(Le){Le instanceof _.w0&&Le.unsubscribe()}function le(Le,Se){return function(){if(Le&&Le.call(this),U(this,x()),Se.arrayName&&function de(Le){Array.isArray(Le)&&Le.forEach(ee)}(this[Se.arrayName]),Se.checkProperties)for(const ze in this)Se.blackList?.includes(ze)||ee(this[ze])}}function q(Le={}){return Se=>{!function F(Le){return!!Le[h]}(Se)?function we(Le,Se){Le.prototype.ngOnDestroy=le(Le.prototype.ngOnDestroy,Se)}(Se,Le):function Ne(Le,Se){const ze=Le.\u0275pipe;ze.onDestroy=le(ze.onDestroy,Se)}(Se,Le),function J(Le){Le.prototype[$]=!0}(Se)}}const se=7,oe=Symbol("CheckerHasBeenSet");function _e(Le){const Se=E.dqk.Zone;return Se&&"function"==typeof Se.root?.run?Se.root.run(Le):Le()}const ne=!1;function je(Le,Se){return ze=>{const Ee=x(Se);"string"==typeof Se?function ve(Le,Se,ze){const Ee=Le[Se];if(ne&&"function"!=typeof Ee)throw new Error(`${Le.constructor.name} is using untilDestroyed but doesn't implement ${Se}`);te(Le,ze),Le[Se]=function(){Ee.apply(this,arguments),U(this,ze),Le[Se]=Ee}}(Le,Se,Ee):(ne&&function Ge(Le){const Se=Object.getPrototypeOf(Le);if(!($ in Se))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(Le),te(Le,Ee));const be=Le[Ee];return ne&&function fe(Le,Se){Le[oe]||function he(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha||typeof process<"u"&&"[object process]"===Object.prototype.toString.call(process)}()||(_e(()=>(0,w.D)(Promise.resolve()).pipe((0,g.z)(()=>{let ze;try{ze=(0,E.EEQ)(Le)}catch{ze=null}const Ee=ze?.lView;if(null==Ee)return C.E;const be=Ee[se]||(Ee[se]=[]),xe=new c.x;return be.push(function(){_e(()=>{xe.next(),xe.complete()})}),xe}),(0,g.z)(()=>Promise.resolve())).subscribe(()=>{(Se.observed??Se.observers.length>0)&&console.warn(function re(Le){return`\n  The ${Le.constructor.name} still has subscriptions that haven't been unsubscribed.\n  This may happen if the class extends another class decorated with @UntilDestroy().\n  The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy().\n  Let's look at the following example:\n  @UntilDestroy()\n  @Directive()\n  export abstract class BaseDirective {}\n  @Component({ template: '' })\n  export class ConcreteComponent extends BaseDirective implements OnDestroy {\n    constructor() {\n      super();\n      someObservable$.pipe(untilDestroyed(this)).subscribe();\n    }\n    ngOnDestroy(): void {\n      // Some logic here...\n    }\n  }\n  The BaseDirective.ngOnDestroy() will not be called since Angular will call ngOnDestroy()\n  on the ConcreteComponent, but not on the BaseDirective.\n  One of the solutions is to declare an empty ngOnDestroy method on the BaseDirective:\n  @UntilDestroy()\n  @Directive()\n  export abstract class BaseDirective {\n    ngOnDestroy(): void {}\n  }\n  @Component({ template: '' })\n  export class ConcreteComponent extends BaseDirective implements OnDestroy {\n    constructor() {\n      super();\n      someObservable$.pipe(untilDestroyed(this)).subscribe();\n    }\n    ngOnDestroy(): void {\n      // Some logic here...\n      super.ngOnDestroy();\n    }\n  }\n  `}(Le))})),Le[oe]=!0)}(Le,be),ze.pipe((0,p.R)(be))}}},1365:(ie,Q,o)=>{"use strict";o.d(Q,{X$:()=>Ge,Zw:()=>x,aw:()=>Le,k2:()=>se,sK:()=>ve});var c=o(5879),_=o(2096),w=o(2664),C=o(9315),E=o(5211),g=o(4911),p=o(8180),h=o(7081),F=o(7398),T=o(6328),$=o(4664);class x{}let J=(()=>{class Se extends x{getTranslation(Ee){return(0,_.of)({})}}return Se.\u0275fac=function(){let ze;return function(be){return(ze||(ze=c.n5z(Se)))(be||Se)}}(),Se.\u0275prov=c.Yz7({token:Se,factory:Se.\u0275fac}),Se})();class te{}let U=(()=>{class Se{handle(Ee){return Ee.key}}return Se.\u0275fac=function(Ee){return new(Ee||Se)},Se.\u0275prov=c.Yz7({token:Se,factory:Se.\u0275fac}),Se})();function ee(Se,ze){if(Se===ze)return!0;if(null===Se||null===ze)return!1;if(Se!=Se&&ze!=ze)return!0;let xe,Ve,Ue,Ee=typeof Se;if(Ee==typeof ze&&"object"==Ee){if(!Array.isArray(Se)){if(Array.isArray(ze))return!1;for(Ve in Ue=Object.create(null),Se){if(!ee(Se[Ve],ze[Ve]))return!1;Ue[Ve]=!0}for(Ve in ze)if(!(Ve in Ue)&&typeof ze[Ve]<"u")return!1;return!0}if(!Array.isArray(ze))return!1;if((xe=Se.length)==ze.length){for(Ve=0;Ve<xe;Ve++)if(!ee(Se[Ve],ze[Ve]))return!1;return!0}}return!1}function de(Se){return typeof Se<"u"&&null!==Se}function le(Se){return Se&&"object"==typeof Se&&!Array.isArray(Se)}function we(Se,ze){let Ee=Object.assign({},Se);return le(Se)&&le(ze)&&Object.keys(ze).forEach(be=>{le(ze[be])?be in Se?Ee[be]=we(Se[be],ze[be]):Object.assign(Ee,{[be]:ze[be]}):Object.assign(Ee,{[be]:ze[be]})}),Ee}class Ne{}let q=(()=>{class Se extends Ne{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(Ee,be){let xe;return xe="string"==typeof Ee?this.interpolateString(Ee,be):"function"==typeof Ee?this.interpolateFunction(Ee,be):Ee,xe}getValue(Ee,be){let xe="string"==typeof be?be.split("."):[be];be="";do{be+=xe.shift(),!de(Ee)||!de(Ee[be])||"object"!=typeof Ee[be]&&xe.length?xe.length?be+=".":Ee=void 0:(Ee=Ee[be],be="")}while(xe.length);return Ee}interpolateFunction(Ee,be){return Ee(be)}interpolateString(Ee,be){return be?Ee.replace(this.templateMatcher,(xe,Ve)=>{let Ue=this.getValue(be,Ve);return de(Ue)?Ue:xe}):Ee}}return Se.\u0275fac=function(){let ze;return function(be){return(ze||(ze=c.n5z(Se)))(be||Se)}}(),Se.\u0275prov=c.Yz7({token:Se,factory:Se.\u0275fac}),Se})();class se{}let oe=(()=>{class Se extends se{compile(Ee,be){return Ee}compileTranslations(Ee,be){return Ee}}return Se.\u0275fac=function(){let ze;return function(be){return(ze||(ze=c.n5z(Se)))(be||Se)}}(),Se.\u0275prov=c.Yz7({token:Se,factory:Se.\u0275fac}),Se})();class fe{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new c.vpe,this.onLangChange=new c.vpe,this.onDefaultLangChange=new c.vpe}}const he=new c.OlP("USE_STORE"),_e=new c.OlP("USE_DEFAULT_LANG"),re=new c.OlP("DEFAULT_LANGUAGE"),ne=new c.OlP("USE_EXTEND");let ve=(()=>{class Se{constructor(Ee,be,xe,Ve,Ue,st=!0,Xe=!1,dt=!1,pt){this.store=Ee,this.currentLoader=be,this.compiler=xe,this.parser=Ve,this.missingTranslationHandler=Ue,this.useDefaultLang=st,this.isolate=Xe,this.extend=dt,this.pending=!1,this._onTranslationChange=new c.vpe,this._onLangChange=new c.vpe,this._onDefaultLangChange=new c.vpe,this._langs=[],this._translations={},this._translationRequests={},pt&&this.setDefaultLang(pt)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(Ee){this.isolate?this._defaultLang=Ee:this.store.defaultLang=Ee}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(Ee){this.isolate?this._currentLang=Ee:this.store.currentLang=Ee}get langs(){return this.isolate?this._langs:this.store.langs}set langs(Ee){this.isolate?this._langs=Ee:this.store.langs=Ee}get translations(){return this.isolate?this._translations:this.store.translations}set translations(Ee){this.isolate?this._translations=Ee:this.store.translations=Ee}setDefaultLang(Ee){if(Ee===this.defaultLang)return;let be=this.retrieveTranslations(Ee);typeof be<"u"?(null==this.defaultLang&&(this.defaultLang=Ee),be.pipe((0,p.q)(1)).subscribe(xe=>{this.changeDefaultLang(Ee)})):this.changeDefaultLang(Ee)}getDefaultLang(){return this.defaultLang}use(Ee){if(Ee===this.currentLang)return(0,_.of)(this.translations[Ee]);let be=this.retrieveTranslations(Ee);return typeof be<"u"?(this.currentLang||(this.currentLang=Ee),be.pipe((0,p.q)(1)).subscribe(xe=>{this.changeLang(Ee)}),be):(this.changeLang(Ee),(0,_.of)(this.translations[Ee]))}retrieveTranslations(Ee){let be;return(typeof this.translations[Ee]>"u"||this.extend)&&(this._translationRequests[Ee]=this._translationRequests[Ee]||this.getTranslation(Ee),be=this._translationRequests[Ee]),be}getTranslation(Ee){this.pending=!0;const be=this.currentLoader.getTranslation(Ee).pipe((0,h.d)(1),(0,p.q)(1));return this.loadingTranslations=be.pipe((0,F.U)(xe=>this.compiler.compileTranslations(xe,Ee)),(0,h.d)(1),(0,p.q)(1)),this.loadingTranslations.subscribe({next:xe=>{this.translations[Ee]=this.extend&&this.translations[Ee]?{...xe,...this.translations[Ee]}:xe,this.updateLangs(),this.pending=!1},error:xe=>{this.pending=!1}}),be}setTranslation(Ee,be,xe=!1){be=this.compiler.compileTranslations(be,Ee),this.translations[Ee]=(xe||this.extend)&&this.translations[Ee]?we(this.translations[Ee],be):be,this.updateLangs(),this.onTranslationChange.emit({lang:Ee,translations:this.translations[Ee]})}getLangs(){return this.langs}addLangs(Ee){Ee.forEach(be=>{-1===this.langs.indexOf(be)&&this.langs.push(be)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(Ee,be,xe){let Ve;if(be instanceof Array){let Ue={},st=!1;for(let Xe of be)Ue[Xe]=this.getParsedResult(Ee,Xe,xe),(0,w.b)(Ue[Xe])&&(st=!0);if(st){const Xe=be.map(dt=>(0,w.b)(Ue[dt])?Ue[dt]:(0,_.of)(Ue[dt]));return(0,C.D)(Xe).pipe((0,F.U)(dt=>{let pt={};return dt.forEach((ln,rn)=>{pt[be[rn]]=ln}),pt}))}return Ue}if(Ee&&(Ve=this.parser.interpolate(this.parser.getValue(Ee,be),xe)),typeof Ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],be),xe)),typeof Ve>"u"){let Ue={key:be,translateService:this};typeof xe<"u"&&(Ue.interpolateParams=xe),Ve=this.missingTranslationHandler.handle(Ue)}return typeof Ve<"u"?Ve:be}get(Ee,be){if(!de(Ee)||!Ee.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,T.b)(xe=>(xe=this.getParsedResult(xe,Ee,be),(0,w.b)(xe)?xe:(0,_.of)(xe))));{let xe=this.getParsedResult(this.translations[this.currentLang],Ee,be);return(0,w.b)(xe)?xe:(0,_.of)(xe)}}getStreamOnTranslationChange(Ee,be){if(!de(Ee)||!Ee.length)throw new Error('Parameter "key" required');return(0,E.z)((0,g.P)(()=>this.get(Ee,be)),this.onTranslationChange.pipe((0,$.w)(xe=>{const Ve=this.getParsedResult(xe.translations,Ee,be);return"function"==typeof Ve.subscribe?Ve:(0,_.of)(Ve)})))}stream(Ee,be){if(!de(Ee)||!Ee.length)throw new Error('Parameter "key" required');return(0,E.z)((0,g.P)(()=>this.get(Ee,be)),this.onLangChange.pipe((0,$.w)(xe=>{const Ve=this.getParsedResult(xe.translations,Ee,be);return(0,w.b)(Ve)?Ve:(0,_.of)(Ve)})))}instant(Ee,be){if(!de(Ee)||!Ee.length)throw new Error('Parameter "key" required');let xe=this.getParsedResult(this.translations[this.currentLang],Ee,be);if((0,w.b)(xe)){if(Ee instanceof Array){let Ve={};return Ee.forEach((Ue,st)=>{Ve[Ee[st]]=Ee[st]}),Ve}return Ee}return xe}set(Ee,be,xe=this.currentLang){this.translations[xe][Ee]=this.compiler.compile(be,xe),this.updateLangs(),this.onTranslationChange.emit({lang:xe,translations:this.translations[xe]})}changeLang(Ee){this.currentLang=Ee,this.onLangChange.emit({lang:Ee,translations:this.translations[Ee]}),null==this.defaultLang&&this.changeDefaultLang(Ee)}changeDefaultLang(Ee){this.defaultLang=Ee,this.onDefaultLangChange.emit({lang:Ee,translations:this.translations[Ee]})}reloadLang(Ee){return this.resetLang(Ee),this.getTranslation(Ee)}resetLang(Ee){this._translationRequests[Ee]=void 0,this.translations[Ee]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let Ee=window.navigator.languages?window.navigator.languages[0]:null;return Ee=Ee||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof Ee>"u"?void 0:(-1!==Ee.indexOf("-")&&(Ee=Ee.split("-")[0]),-1!==Ee.indexOf("_")&&(Ee=Ee.split("_")[0]),Ee)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let Ee=window.navigator.languages?window.navigator.languages[0]:null;return Ee=Ee||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,Ee}}return Se.\u0275fac=function(Ee){return new(Ee||Se)(c.LFG(fe),c.LFG(x),c.LFG(se),c.LFG(Ne),c.LFG(te),c.LFG(_e),c.LFG(he),c.LFG(ne),c.LFG(re))},Se.\u0275prov=c.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),Ge=(()=>{class Se{constructor(Ee,be){this.translate=Ee,this._ref=be,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(Ee,be,xe){let Ve=Ue=>{this.value=void 0!==Ue?Ue:Ee,this.lastKey=Ee,this._ref.markForCheck()};if(xe){let Ue=this.translate.getParsedResult(xe,Ee,be);(0,w.b)(Ue.subscribe)?Ue.subscribe(Ve):Ve(Ue)}this.translate.get(Ee,be).subscribe(Ve)}transform(Ee,...be){if(!Ee||!Ee.length)return Ee;if(ee(Ee,this.lastKey)&&ee(be,this.lastParams))return this.value;let xe;if(de(be[0])&&be.length)if("string"==typeof be[0]&&be[0].length){let Ve=be[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{xe=JSON.parse(Ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${be[0]}`)}}else"object"==typeof be[0]&&!Array.isArray(be[0])&&(xe=be[0]);return this.lastKey=Ee,this.lastParams=be,this.updateValue(Ee,xe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ve=>{this.lastKey&&Ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(Ee,xe,Ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(Ee,xe,Ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(Ee,xe))})),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()}}return Se.\u0275fac=function(Ee){return new(Ee||Se)(c.Y36(ve,16),c.Y36(c.sBO,16))},Se.\u0275pipe=c.Yjl({name:"translate",type:Se,pure:!1}),Se.\u0275prov=c.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),Le=(()=>{class Se{static forRoot(Ee={}){return{ngModule:Se,providers:[Ee.loader||{provide:x,useClass:J},Ee.compiler||{provide:se,useClass:oe},Ee.parser||{provide:Ne,useClass:q},Ee.missingTranslationHandler||{provide:te,useClass:U},fe,{provide:he,useValue:Ee.isolate},{provide:_e,useValue:Ee.useDefaultLang},{provide:ne,useValue:Ee.extend},{provide:re,useValue:Ee.defaultLanguage},ve]}}static forChild(Ee={}){return{ngModule:Se,providers:[Ee.loader||{provide:x,useClass:J},Ee.compiler||{provide:se,useClass:oe},Ee.parser||{provide:Ne,useClass:q},Ee.missingTranslationHandler||{provide:te,useClass:U},{provide:he,useValue:Ee.isolate},{provide:_e,useValue:Ee.useDefaultLang},{provide:ne,useValue:Ee.extend},{provide:re,useValue:Ee.defaultLanguage},ve]}}}return Se.\u0275fac=function(Ee){return new(Ee||Se)},Se.\u0275mod=c.oAB({type:Se}),Se.\u0275inj=c.cJS({}),Se})()},2733:(ie,Q,o)=>{"use strict";function c(){}o.d(Q,{e:()=>_});class _{constructor(C=1/0,E=c){this.max=C,this.dispose=E,this.map=new Map,this.newest=null,this.oldest=null}has(C){return this.map.has(C)}get(C){const E=this.getNode(C);return E&&E.value}get size(){return this.map.size}getNode(C){const E=this.map.get(C);if(E&&E!==this.newest){const{older:g,newer:p}=E;p&&(p.older=g),g&&(g.newer=p),E.older=this.newest,E.older.newer=E,E.newer=null,this.newest=E,E===this.oldest&&(this.oldest=p)}return E}set(C,E){let g=this.getNode(C);return g?g.value=E:(g={key:C,value:E,newer:null,older:this.newest},this.newest&&(this.newest.newer=g),this.newest=g,this.oldest=this.oldest||g,this.map.set(C,g),g.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(C){const E=this.map.get(C);return!!E&&(E===this.newest&&(this.newest=E.older),E===this.oldest&&(this.oldest=E.newer),E.newer&&(E.newer.older=E.older),E.older&&(E.older.newer=E.newer),this.map.delete(C),this.dispose(E.value,C),!0)}}},552:(ie,Q,o)=>{"use strict";function c(){}o.d(Q,{k:()=>p});const _=c,w=typeof WeakRef<"u"?WeakRef:function(h){return{deref:()=>h}},C=typeof WeakMap<"u"?WeakMap:Map,E=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:c,unregister:c}};class p{constructor(F=1/0,T=_){this.max=F,this.dispose=T,this.map=new C,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const $=this.unfinalizedNodes.values();for(let x=0;x<10024;x++){const J=$.next().value;if(!J)break;this.unfinalizedNodes.delete(J);const te=J.key;delete J.key,J.keyRef=new w(te),this.registry.register(te,J,J)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new E(this.deleteNode.bind(this))}has(F){return this.map.has(F)}get(F){const T=this.getNode(F);return T&&T.value}getNode(F){const T=this.map.get(F);if(T&&T!==this.newest){const{older:$,newer:x}=T;x&&(x.older=$),$&&($.newer=x),T.older=this.newest,T.older.newer=T,T.newer=null,this.newest=T,T===this.oldest&&(this.oldest=x)}return T}set(F,T){let $=this.getNode(F);return $?$.value=T:($={key:F,value:T,newer:null,older:this.newest},this.newest&&(this.newest.newer=$),this.newest=$,this.oldest=this.oldest||$,this.scheduleFinalization($),this.map.set(F,$),this.size++,$.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(F){F===this.newest&&(this.newest=F.older),F===this.oldest&&(this.oldest=F.newer),F.newer&&(F.newer.older=F.older),F.older&&(F.older.newer=F.newer),this.size--;const T=F.key||F.keyRef&&F.keyRef.deref();this.dispose(F.value,T),F.keyRef?this.registry.unregister(F):this.unfinalizedNodes.delete(F),T&&this.map.delete(T)}delete(F){const T=this.map.get(F);return!!T&&(this.deleteNode(T),!0)}scheduleFinalization(F){this.unfinalizedNodes.add(F),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},8871:(ie,Q,o)=>{"use strict";o.d(Q,{D:()=>E,Z:()=>g});const{toString:c,hasOwnProperty:_}=Object.prototype,w=Function.prototype.toString,C=new Map;function E(J,te){try{return p(J,te)}finally{C.clear()}}const g=E;function p(J,te){if(J===te)return!0;const U=c.call(J);if(U!==c.call(te))return!1;switch(U){case"[object Array]":if(J.length!==te.length)return!1;case"[object Object]":{if(x(J,te))return!0;const de=h(J),le=h(te),we=de.length;if(we!==le.length)return!1;for(let Ne=0;Ne<we;++Ne)if(!_.call(te,de[Ne]))return!1;for(let Ne=0;Ne<we;++Ne){const q=de[Ne];if(!p(J[q],te[q]))return!1}return!0}case"[object Error]":return J.name===te.name&&J.message===te.message;case"[object Number]":if(J!=J)return te!=te;case"[object Boolean]":case"[object Date]":return+J==+te;case"[object RegExp]":case"[object String]":return J==`${te}`;case"[object Map]":case"[object Set]":{if(J.size!==te.size)return!1;if(x(J,te))return!0;const de=J.entries(),le="[object Map]"===U;for(;;){const we=de.next();if(we.done)break;const[Ne,q]=we.value;if(!te.has(Ne)||le&&!p(q,te.get(Ne)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":J=new Uint8Array(J),te=new Uint8Array(te);case"[object DataView]":{let de=J.byteLength;if(de===te.byteLength)for(;de--&&J[de]===te[de];);return-1===de}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const de=w.call(J);return de===w.call(te)&&!function $(J,te){const U=J.length-te.length;return U>=0&&J.indexOf(te,U)===U}(de,T)}}return!1}function h(J){return Object.keys(J).filter(F,J)}function F(J){return void 0!==this[J]}const T="{ [native code] }";function x(J,te){let U=C.get(J);if(U){if(U.has(te))return!0}else C.set(J,U=new Set);return U.add(te),!1}},1823:(ie,Q,o)=>{"use strict";o.d(Q,{B:()=>E});const c=()=>Object.create(null),{forEach:_,slice:w}=Array.prototype,{hasOwnProperty:C}=Object.prototype;class E{constructor(h=!0,F=c){this.weakness=h,this.makeData=F}lookup(){return this.lookupArray(arguments)}lookupArray(h){let F=this;return _.call(h,T=>F=F.getChildTrie(T)),C.call(F,"data")?F.data:F.data=this.makeData(w.call(h))}peek(){return this.peekArray(arguments)}peekArray(h){let F=this;for(let T=0,$=h.length;F&&T<$;++T){const x=F.mapFor(h[T],!1);F=x&&x.get(h[T])}return F&&F.data}remove(){return this.removeArray(arguments)}removeArray(h){let F;if(h.length){const T=h[0],$=this.mapFor(T,!1),x=$&&$.get(T);x&&(F=x.removeArray(w.call(h,1)),!x.data&&!x.weak&&(!x.strong||!x.strong.size)&&$.delete(T))}else F=this.data,delete this.data;return F}getChildTrie(h){const F=this.mapFor(h,!0);let T=F.get(h);return T||F.set(h,T=new E(this.weakness,this.makeData)),T}mapFor(h,F){return this.weakness&&function g(p){switch(typeof p){case"object":if(null===p)break;case"function":return!0}return!1}(h)?this.weak||(F?this.weak=new WeakMap:void 0):this.strong||(F?this.strong=new Map:void 0)}}},7113:(ie,Q,o)=>{"use strict";o.d(Q,{zu:()=>$r,_M:()=>ha,VG:()=>hc,Ps:()=>ga});var c=o(1180),_=o(5879),w=o(5592),C=o(1954),g=o(2631);const h=new class p extends g.v{}(class E extends C.o{constructor(m,P){super(m,P),this.scheduler=m,this.work=P}schedule(m,P=0){return P>0?super.schedule(m,P):(this.delay=P,this.state=m,this.scheduler.flush(this),this)}execute(m,P){return P>0||this.closed?super.execute(m,P):this._execute(m,P)}requestAsyncId(m,P,V=0){return null!=V&&V>0||null==V&&this.delay>0?super.requestAsyncId(m,P,V):(m.flush(this),0)}});var T=o(4850),$=o(9666),x=function(N){return N[N.loading=1]="loading",N[N.setVariables=2]="setVariables",N[N.fetchMore=3]="fetchMore",N[N.refetch=4]="refetch",N[N.poll=6]="poll",N[N.ready=7]="ready",N[N.error=8]="error",N}(x||{});function J(N){return!!N&&N<7}var U=o(7582),ee=o(4860),de=o(8632),le=de.i.execute,we=o(7781),Ne=o(2954),q=o(7619),se=function(N,m){var P;try{P=JSON.stringify(N)}catch(W){var V=(0,ee._K)(39,m,W.message);throw V.parseError=W,V}return P},fe=o(2794);function ne(N){var m={next:function(){return N.read()}};return fe.DN&&(m[Symbol.asyncIterator]=function(){return this}),m}function Ee(N){var m=N;if(function ve(N){return!!N.body}(N)&&(m=N.body),function Ge(N){return!(!fe.DN||!N[Symbol.asyncIterator])}(m))return function he(N){var m,P=N[Symbol.asyncIterator]();return(m={next:function(){return P.next()}})[Symbol.asyncIterator]=function(){return this},m}(m);if(function je(N){return!!N.getReader}(m))return ne(m.getReader());if(function Le(N){return!!N.stream}(m))return ne(m.stream().getReader());if(function Se(N){return!!N.arrayBuffer}(m))return function re(N){var m=!1,P={next:function(){return m?Promise.resolve({value:void 0,done:!0}):(m=!0,new Promise(function(V,W){N.then(function(me){V({value:me,done:!1})}).catch(W)}))}};return fe.DN&&(P[Symbol.asyncIterator]=function(){return this}),P}(m.arrayBuffer());if(function ze(N){return!!N.pipe}(m))return function _e(N){var m=null,P=null,V=!1,W=[],me=[];function We(Pt){if(!P){if(me.length){var Tt=me.shift();if(Array.isArray(Tt)&&Tt[0])return Tt[0]({value:Pt,done:!1})}W.push(Pt)}}function tt(Pt){P=Pt,me.slice().forEach(function(Lt){Lt[1](Pt)}),!m||m()}function ct(){V=!0,me.slice().forEach(function(Tt){Tt[0]({value:void 0,done:!0})}),!m||m()}m=function(){m=null,N.removeListener("data",We),N.removeListener("error",tt),N.removeListener("end",ct),N.removeListener("finish",ct),N.removeListener("close",ct)},N.on("data",We),N.on("error",tt),N.on("end",ct),N.on("finish",ct),N.on("close",ct);var wt={next:function(){return function vt(){return new Promise(function(Pt,Tt){return P?Tt(P):W.length?Pt({value:W.shift(),done:!1}):V?Pt({value:void 0,done:!0}):void me.push([Pt,Tt])})}()}};return fe.DN&&(wt[Symbol.asyncIterator]=function(){return this}),wt}(m);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var be=function(N,m,P){var V=new Error(P);throw V.name="ServerError",V.response=N,V.statusCode=N.status,V.result=m,V},xe=o(131),Ve=o(1352),Ue=o(6001),st=o(6630);function Xe(N){return"incremental"in N}function ln(N){return(0,Ve.s)(N)&&"payload"in N}function rn(N,m){var P=N,V=new st.w0;return Xe(m)&&(0,Ue.O)(m.incremental)&&m.incremental.forEach(function(W){for(var me=W.data,We=W.path,tt=We.length-1;tt>=0;--tt){var ct=We[tt],wt=isNaN(+ct)?{}:[];wt[ct]=me,me=wt}P=V.merge(P,me)}),P}var bn=Object.prototype.hasOwnProperty;function $n(N){var m={};return N.split("\n").forEach(function(P){var V=P.indexOf(":");if(V>-1){var W=P.slice(0,V).trim().toLowerCase(),me=P.slice(V+1).trim();m[W]=me}}),m}function lr(N,m){N.status>=300&&be(N,function(){try{return JSON.parse(m)}catch{return m}}(),"Response not successful: Received status code ".concat(N.status));try{return JSON.parse(m)}catch(W){var V=W;throw V.name="ServerParseError",V.response=N,V.statusCode=N.status,V.bodyText=m,V}}var Ur=o(6709),Mt={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Nt=function(N,m){return m(N)};function Et(N){return new q.y(function(m){m.error(N)})}var Jt=o(8016),Ln=o(6140),Dn=o(8725),Zt=(0,ee.wY)(function(){return fetch}),wr=function(N){void 0===N&&(N={});var m=N.uri,P=void 0===m?"/graphql":m,V=N.fetch,W=N.print,me=void 0===W?Nt:W,We=N.includeExtensions,tt=N.preserveHeaderCase,ct=N.useGETForQueries,vt=N.includeUnusedVariables,wt=void 0!==vt&&vt,Pt=(0,U._T)(N,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(N){if(!N&&typeof fetch>"u")throw(0,ee._K)(37)}(V||Zt);var Tt={http:{includeExtensions:We,preserveHeaderCase:tt},options:Pt.fetchOptions,credentials:Pt.credentials,headers:Pt.headers};return new de.i(function(Lt){var Qt=function(N,m){return N.getContext().uri||("function"==typeof m?m(N):m||"/graphql")}(Lt,P),Xt=Lt.getContext(),sn={};if(Xt.clientAwareness){var vn=Xt.clientAwareness,Qn=vn.name,Tn=vn.version;Qn&&(sn["apollographql-client-name"]=Qn),Tn&&(sn["apollographql-client-version"]=Tn)}var cr=(0,U.pi)((0,U.pi)({},sn),Xt.headers),Er={http:Xt.http,options:Xt.fetchOptions,credentials:Xt.credentials,headers:cr};if((0,Ne.FS)(["client"],Lt.query)){var jn=(0,Ln.ob)(Lt.query);if(!jn)return Et(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));Lt.query=jn}var Ai,jr=function He(N,m){for(var P=[],V=2;V<arguments.length;V++)P[V-2]=arguments[V];var W={},me={};P.forEach(function(Pt){W=(0,U.pi)((0,U.pi)((0,U.pi)({},W),Pt.options),{headers:(0,U.pi)((0,U.pi)({},W.headers),Pt.headers)}),Pt.credentials&&(W.credentials=Pt.credentials),me=(0,U.pi)((0,U.pi)({},me),Pt.http)}),W.headers&&(W.headers=function ht(N,m){if(!m){var P=Object.create(null);return Object.keys(Object(N)).forEach(function(me){P[me.toLowerCase()]=N[me]}),P}var V=Object.create(null);Object.keys(Object(N)).forEach(function(me){V[me.toLowerCase()]={originalName:me,value:N[me]}});var W=Object.create(null);return Object.keys(V).forEach(function(me){W[V[me].originalName]=V[me].value}),W}(W.headers,me.preserveHeaderCase));var vt=N.query,wt={operationName:N.operationName,variables:N.variables};return me.includeExtensions&&(wt.extensions=N.extensions),me.includeQuery&&(wt.query=m(vt,Ur.S)),{options:W,body:wt}}(Lt,me,Mt,Tt,Er),er=jr.options,Pr=jr.body;Pr.variables&&!wt&&(Pr.variables=function zt(N,m){var P=(0,U.pi)({},N),V=new Set(Object.keys(N));return(0,Jt.Vn)(m,{Variable:function(W,me,We){We&&"VariableDefinition"!==We.kind&&V.delete(W.name.value)}}),V.forEach(function(W){delete P[W]}),P}(Pr.variables,Lt.query)),!er.signal&&typeof AbortController<"u"&&(Ai=new AbortController,er.signal=Ai.signal);var Fi,Ts="OperationDefinition"===(Fi=(0,Dn.p$)(Lt.query)).kind&&"subscription"===Fi.operation,co=(0,Ne.FS)(["defer"],Lt.query);if(ct&&!Lt.query.definitions.some(function(Fi){return"OperationDefinition"===Fi.kind&&"mutation"===Fi.operation})&&(er.method="GET"),co||Ts){er.headers=er.headers||{};var uo="multipart/mixed;";Ts&&co&&!1!==globalThis.__DEV__&&ee.kG.warn(38),Ts?uo+="boundary=graphql;subscriptionSpec=1.0,application/json":co&&(uo+="deferSpec=20220824,application/json"),er.headers.accept=uo}if("GET"===er.method){var Oo=function qt(N,m){var P=[],V=function(Pt,Tt){P.push("".concat(Pt,"=").concat(encodeURIComponent(Tt)))};if("query"in m&&V("query",m.query),m.operationName&&V("operationName",m.operationName),m.variables){var W=void 0;try{W=se(m.variables,"Variables map")}catch(Pt){return{parseError:Pt}}V("variables",W)}if(m.extensions){var me=void 0;try{me=se(m.extensions,"Extensions map")}catch(Pt){return{parseError:Pt}}V("extensions",me)}var We="",tt=N,ct=N.indexOf("#");-1!==ct&&(We=N.substr(ct),tt=N.substr(0,ct));var vt=-1===tt.indexOf("?")?"?":"&";return{newURI:tt+vt+P.join("&")+We}}(Qt,Pr),ma=Oo.newURI,Xi=Oo.parseError;if(Xi)return Et(Xi);Qt=ma}else try{er.body=se(Pr,"Payload")}catch(Fi){return Et(Fi)}return new q.y(function(Fi){var S=V||(0,ee.wY)(function(){return fetch})||Zt,K=Fi.next.bind(Fi);return S(Qt,er).then(function(Re){var H;Lt.setContext({response:Re});var Ce=null===(H=Re.headers)||void 0===H?void 0:H.get("content-type");return null!==Ce&&/^multipart\/mixed/i.test(Ce)?function an(N,m){var P;return(0,U.mG)(this,void 0,void 0,function(){var V,W,me,We,tt,ct,vt,wt,Pt,Tt,Lt,Qt,Xt,sn,vn,Qn,Tn,cr,Er,jn,jr,er,Pr;return(0,U.Jh)(this,function(Ai){switch(Ai.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");V=new TextDecoder("utf-8"),W=null===(P=N.headers)||void 0===P?void 0:P.get("content-type"),me="boundary=",We=W?.includes(me)?W?.substring(W?.indexOf(me)+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",tt="\r\n--".concat(We),ct="",vt=Ee(N),wt=!0,Ai.label=1;case 1:return wt?[4,vt.next()]:[3,3];case 2:for(Pt=Ai.sent(),Lt=Pt.done,Qt="string"==typeof(Tt=Pt.value)?Tt:V.decode(Tt),Xt=ct.length-tt.length+1,wt=!Lt,sn=(ct+=Qt).indexOf(tt,Xt);sn>-1;){if(vn=void 0,er=[ct.slice(0,sn),ct.slice(sn+tt.length)],ct=er[1],Qn=(vn=er[0]).indexOf("\r\n\r\n"),Tn=$n(vn.slice(0,Qn)),(cr=Tn["content-type"])&&-1===cr.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(Er=vn.slice(Qn))if(jn=lr(N,Er),Object.keys(jn).length>1||"data"in jn||"incremental"in jn||"errors"in jn||"payload"in jn)ln(jn)?(jr={},"payload"in jn&&(jr=(0,U.pi)({},jn.payload)),"errors"in jn&&(jr=(0,U.pi)((0,U.pi)({},jr),{extensions:(0,U.pi)((0,U.pi)({},"extensions"in jr?jr.extensions:null),(Pr={},Pr[xe.YG]=jn.errors,Pr))})),m(jr)):m(jn);else if(1===Object.keys(jn).length&&"hasNext"in jn&&!jn.hasNext)return[2];sn=ct.indexOf(tt)}return[3,1];case 3:return[2]}})})}(Re,K):function Bn(N){return function(m){return m.text().then(function(P){return lr(m,P)}).then(function(P){return!Array.isArray(P)&&!bn.call(P,"data")&&!bn.call(P,"errors")&&be(m,P,"Server response was missing for query '".concat(Array.isArray(N)?N.map(function(V){return V.operationName}):N.operationName,"'.")),P})}}(Lt)(Re).then(K)}).then(function(){Ai=void 0,Fi.complete()}).catch(function(Re){Ai=void 0,function fr(N,m){N.result&&N.result.errors&&N.result.data&&m.next(N.result),m.error(N)}(Re,Fi)}),function(){Ai&&Ai.abort()}})})},zn=function(N){function m(P){void 0===P&&(P={});var V=N.call(this,wr(P).request)||this;return V.options=P,V}return(0,U.ZT)(m,N),m}(de.i),In=o(8871),mi=o(3703),is=o(2638);function Gr(N,m,P){return new q.y(function(V){var W={then:function(ct){return new Promise(function(vt){return vt(ct())})}};function me(ct,vt){return function(wt){if(ct){var Pt=function(){return V.closed?0:ct(wt)};W=W.then(Pt,Pt).then(function(Tt){return V.next(Tt)},function(Tt){return V.error(Tt)})}else V[vt](wt)}}var We={next:me(m,"next"),error:me(P,"error"),complete:function(){W.then(function(){return V.complete()})}},tt=N.subscribe(We);return function(){return tt.unsubscribe()}})}function Wr(N){var m=ri(N);return(0,Ue.O)(m)}function ri(N){var m=(0,Ue.O)(N.errors)?N.errors.slice(0):[];return Xe(N)&&(0,Ue.O)(N.incremental)&&N.incremental.forEach(function(P){P.errors&&m.push.apply(m,P.errors)}),m}var di=o(9173),ss=o(6726);function Si(N,m,P){var V=[];N.forEach(function(W){return W[m]&&V.push(W)}),V.forEach(function(W){return W[m](P)})}function ji(N){function m(P){Object.defineProperty(N,P,{value:q.y})}return fe.aS&&Symbol.species&&m(Symbol.species),m("@@species"),N}function Ci(N){return N&&"function"==typeof N.then}var bi=function(N){function m(P){var V=N.call(this,function(W){return V.addObserver(W),function(){return V.removeObserver(W)}})||this;return V.observers=new Set,V.promise=new Promise(function(W,me){V.resolve=W,V.reject=me}),V.handlers={next:function(W){null!==V.sub&&(V.latest=["next",W],V.notify("next",W),Si(V.observers,"next",W))},error:function(W){var me=V.sub;null!==me&&(me&&setTimeout(function(){return me.unsubscribe()}),V.sub=null,V.latest=["error",W],V.reject(W),V.notify("error",W),Si(V.observers,"error",W))},complete:function(){var me=V.sub,We=V.sources;if(null!==me){var ct=(void 0===We?[]:We).shift();ct?Ci(ct)?ct.then(function(vt){return V.sub=vt.subscribe(V.handlers)},V.handlers.error):V.sub=ct.subscribe(V.handlers):(me&&setTimeout(function(){return me.unsubscribe()}),V.sub=null,V.latest&&"next"===V.latest[0]?V.resolve(V.latest[1]):V.resolve(),V.notify("complete"),Si(V.observers,"complete"))}}},V.nextResultListeners=new Set,V.cancel=function(W){V.reject(W),V.sources=[],V.handlers.complete()},V.promise.catch(function(W){}),"function"==typeof P&&(P=[new q.y(P)]),Ci(P)?P.then(function(W){return V.start(W)},V.handlers.error):V.start(P),V}return(0,U.ZT)(m,N),m.prototype.start=function(P){void 0===this.sub&&(this.sources=Array.from(P),this.handlers.complete())},m.prototype.deliverLastMessage=function(P){if(this.latest){var V=this.latest[0],W=P[V];W&&W.call(P,this.latest[1]),null===this.sub&&"next"===V&&P.complete&&P.complete()}},m.prototype.addObserver=function(P){this.observers.has(P)||(this.deliverLastMessage(P),this.observers.add(P))},m.prototype.removeObserver=function(P){this.observers.delete(P)&&this.observers.size<1&&this.handlers.complete()},m.prototype.notify=function(P,V){var W=this.nextResultListeners;W.size&&(this.nextResultListeners=new Set,W.forEach(function(me){return me(P,V)}))},m.prototype.beforeNext=function(P){var V=!1;this.nextResultListeners.add(function(W,me){V||(V=!0,P(W,me))})},m}(q.y);ji(bi);var Vt=o(9990),Te=o(5078),ge=o(7095);function Pe(N,m,P,V){var W=m.data,me=(0,U._T)(m,["data"]),We=P.data,tt=(0,U._T)(P,["data"]);return(0,In.Z)(me,tt)&&Oe((0,Dn.p$)(N).selectionSet,W,We,{fragmentMap:(0,ge.F)((0,Dn.kU)(N)),variables:V})}function Oe(N,m,P,V){if(m===P)return!0;var W=new Set;return N.selections.every(function(me){if(W.has(me)||(W.add(me),!(0,Ne.LZ)(me,V.variables))||ye(me))return!0;if((0,di.My)(me)){var We=(0,di.u2)(me),tt=m&&m[We],ct=P&&P[We],vt=me.selectionSet;if(!vt)return(0,In.Z)(tt,ct);var wt=Array.isArray(tt),Pt=Array.isArray(ct);if(wt!==Pt)return!1;if(wt&&Pt){var Tt=tt.length;if(ct.length!==Tt)return!1;for(var Lt=0;Lt<Tt;++Lt)if(!Oe(vt,tt[Lt],ct[Lt],V))return!1;return!0}return Oe(vt,tt,ct,V)}var Qt=(0,ge.hi)(me,V.fragmentMap);return Qt?!!ye(Qt)||Oe(Qt.selectionSet,m,P,V):void 0})}function ye(N){return!!N.directives&&N.directives.some(De)}function De(N){return"nonreactive"===N.name.value}var Qe=Object.assign,Be=Object.hasOwnProperty,rt=function(N){function m(P){var V=P.queryManager,W=P.queryInfo,me=P.options,We=N.call(this,function(sn){try{var vn=sn._subscription._observer;vn&&!vn.error&&(vn.error=un)}catch{}var Qn=!We.observers.size;We.observers.add(sn);var Tn=We.last;return Tn&&Tn.error?sn.error&&sn.error(Tn.error):Tn&&Tn.result&&sn.next&&sn.next(Tn.result),Qn&&We.reobserve().catch(function(){}),function(){We.observers.delete(sn)&&!We.observers.size&&We.tearDownQuery()}})||this;We.observers=new Set,We.subscriptions=new Set,We.queryInfo=W,We.queryManager=V,We.waitForOwnResult=Ye(me.fetchPolicy),We.isTornDown=!1;var tt=V.defaultOptions.watchQuery,vt=(void 0===tt?{}:tt).fetchPolicy,wt=void 0===vt?"cache-first":vt,Pt=me.fetchPolicy,Tt=void 0===Pt?wt:Pt,Lt=me.initialFetchPolicy,Qt=void 0===Lt?"standby"===Tt?wt:Tt:Lt;We.options=(0,U.pi)((0,U.pi)({},me),{initialFetchPolicy:Qt,fetchPolicy:Tt}),We.queryId=W.queryId||V.generateQueryId();var Xt=(0,Dn.$H)(We.query);return We.queryName=Xt&&Xt.name&&Xt.name.value,We}return(0,U.ZT)(m,N),Object.defineProperty(m.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),m.prototype.result=function(){var P=this;return new Promise(function(V,W){var me={next:function(tt){V(tt),P.observers.delete(me),P.observers.size||P.queryManager.removeQuery(P.queryId),setTimeout(function(){We.unsubscribe()},0)},error:W},We=P.subscribe(me)})},m.prototype.resetDiff=function(){this.queryInfo.resetDiff()},m.prototype.getCurrentResult=function(P){void 0===P&&(P=!0);var V=this.getLastResult(!0),W=this.queryInfo.networkStatus||V&&V.networkStatus||x.ready,me=(0,U.pi)((0,U.pi)({},V),{loading:J(W),networkStatus:W}),We=this.options.fetchPolicy,tt=void 0===We?"cache-first":We;if(!Ye(tt)&&!this.queryManager.getDocumentInfo(this.query).hasForcedResolvers)if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var ct=this.queryInfo.getDiff();(ct.complete||this.options.returnPartialData)&&(me.data=ct.result),(0,In.D)(me.data,{})&&(me.data=void 0),ct.complete?(delete me.partial,ct.complete&&me.networkStatus===x.loading&&("cache-first"===tt||"cache-only"===tt)&&(me.networkStatus=x.ready,me.loading=!1)):me.partial=!0,!1!==globalThis.__DEV__&&!ct.complete&&!this.options.partialRefetch&&!me.loading&&!me.data&&!me.error&&Gn(ct.missing)}return P&&this.updateLastResult(me),me},m.prototype.isDifferentFromLastResult=function(P,V){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!Pe(this.query,this.last.result,P,this.variables):!(0,In.D)(this.last.result,P))||V&&!(0,In.D)(this.last.variables,V)},m.prototype.getLast=function(P,V){var W=this.last;if(W&&W[P]&&(!V||(0,In.D)(W.variables,this.variables)))return W[P]},m.prototype.getLastResult=function(P){return this.getLast("result",P)},m.prototype.getLastError=function(P){return this.getLast("error",P)},m.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},m.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},m.prototype.refetch=function(P){var V,W={pollInterval:0},me=this.options.fetchPolicy;if(W.fetchPolicy="cache-and-network"===me?me:"no-cache"===me?"no-cache":"network-only",!1!==globalThis.__DEV__&&P&&Be.call(P,"variables")){var We=(0,Dn.iW)(this.query),tt=We.variableDefinitions;(!tt||!tt.some(function(ct){return"variables"===ct.variable.name.value}))&&!1!==globalThis.__DEV__&&ee.kG.warn(20,P,(null===(V=We.name)||void 0===V?void 0:V.value)||We)}return P&&!(0,In.D)(this.options.variables,P)&&(W.variables=this.options.variables=(0,U.pi)((0,U.pi)({},this.options.variables),P)),this.queryInfo.resetLastWrite(),this.reobserve(W,x.refetch)},m.prototype.fetchMore=function(P){var V=this,W=(0,U.pi)((0,U.pi)({},P.query?P:(0,U.pi)((0,U.pi)((0,U.pi)((0,U.pi)({},this.options),{query:this.options.query}),P),{variables:(0,U.pi)((0,U.pi)({},this.options.variables),P.variables)})),{fetchPolicy:"no-cache"});W.query=this.transformDocument(W.query);var me=this.queryManager.generateQueryId();this.lastQuery=P.query?this.transformDocument(this.options.query):W.query;var We=this.queryInfo,tt=We.networkStatus;We.networkStatus=x.fetchMore,W.notifyOnNetworkStatusChange&&this.observe();var ct=new Set;return this.queryManager.fetchQuery(me,W,x.fetchMore).then(function(vt){return V.queryManager.removeQuery(me),We.networkStatus===x.fetchMore&&(We.networkStatus=tt),V.queryManager.cache.batch({update:function(wt){var Pt=P.updateQuery;Pt?wt.updateQuery({query:V.query,variables:V.variables,returnPartialData:!0,optimistic:!1},function(Tt){return Pt(Tt,{fetchMoreResult:vt.data,variables:W.variables})}):wt.writeQuery({query:W.query,variables:W.variables,data:vt.data})},onWatchUpdated:function(wt){ct.add(wt.query)}}),vt}).finally(function(){ct.has(V.query)||gt(V)})},m.prototype.subscribeToMore=function(P){var V=this,W=this.queryManager.startGraphQLSubscription({query:P.document,variables:P.variables,context:P.context}).subscribe({next:function(me){var We=P.updateQuery;We&&V.updateQuery(function(tt,ct){return We(tt,{subscriptionData:me,variables:ct.variables})})},error:function(me){P.onError?P.onError(me):!1!==globalThis.__DEV__&&ee.kG.error(21,me)}});return this.subscriptions.add(W),function(){V.subscriptions.delete(W)&&W.unsubscribe()}},m.prototype.setOptions=function(P){return this.reobserve(P)},m.prototype.silentSetOptions=function(P){var V=(0,Vt.o)(this.options,P||{});Qe(this.options,V)},m.prototype.setVariables=function(P){return(0,In.D)(this.variables,P)?this.observers.size?this.result():Promise.resolve():(this.options.variables=P,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:P},x.setVariables):Promise.resolve())},m.prototype.updateQuery=function(P){var V=this.queryManager,me=P(V.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});me&&(V.cache.writeQuery({query:this.options.query,data:me,variables:this.variables}),V.broadcastQueries())},m.prototype.startPolling=function(P){this.options.pollInterval=P,this.updatePolling()},m.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},m.prototype.applyNextFetchPolicy=function(P,V){if(V.nextFetchPolicy){var W=V.fetchPolicy,me=void 0===W?"cache-first":W,We=V.initialFetchPolicy,tt=void 0===We?me:We;"standby"===me||(V.fetchPolicy="function"==typeof V.nextFetchPolicy?V.nextFetchPolicy(me,{reason:P,options:V,observable:this,initialFetchPolicy:tt}):"variables-changed"===P?tt:V.nextFetchPolicy)}return V.fetchPolicy},m.prototype.fetch=function(P,V,W){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,P,V,W)},m.prototype.updatePolling=function(){var P=this;if(!this.queryManager.ssrMode){var W=this.pollingInfo,me=this.options.pollInterval;if(!me)return void(W&&(clearTimeout(W.timeout),delete this.pollingInfo));if(!W||W.interval!==me){(0,ee.kG)(me,22),(W||(this.pollingInfo={})).interval=me;var tt=function(){var vt,wt;P.pollingInfo&&(J(P.queryInfo.networkStatus)||null!==(wt=(vt=P.options).skipPollAttempt)&&void 0!==wt&&wt.call(vt)?ct():P.reobserve({fetchPolicy:"no-cache"===P.options.initialFetchPolicy?"no-cache":"network-only"},x.poll).then(ct,ct))},ct=function(){var vt=P.pollingInfo;vt&&(clearTimeout(vt.timeout),vt.timeout=setTimeout(tt,vt.interval))};ct()}}},m.prototype.updateLastResult=function(P,V){void 0===V&&(V=this.variables);var W=this.getLastError();return W&&this.last&&!(0,In.D)(V,this.last.variables)&&(W=void 0),this.last=(0,U.pi)({result:this.queryManager.assumeImmutableResults?P:(0,Te.X)(P),variables:V},W?{error:W}:null)},m.prototype.reobserveAsConcast=function(P,V){var W=this;this.isTornDown=!1;var me=V===x.refetch||V===x.fetchMore||V===x.poll,We=this.options.variables,tt=this.options.fetchPolicy,ct=(0,Vt.o)(this.options,P||{}),vt=me?ct:Qe(this.options,ct),wt=this.transformDocument(vt.query);this.lastQuery=wt,me||(this.updatePolling(),P&&P.variables&&!(0,In.D)(P.variables,We)&&"standby"!==vt.fetchPolicy&&vt.fetchPolicy===tt&&(this.applyNextFetchPolicy("variables-changed",vt),void 0===V&&(V=x.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Ye(vt.fetchPolicy));var Pt=function(){W.concast===Qt&&(W.waitForOwnResult=!1)},Tt=vt.variables&&(0,U.pi)({},vt.variables),Lt=this.fetch(vt,V,wt),Qt=Lt.concast,sn={next:function(vn){(0,In.D)(W.variables,Tt)&&(Pt(),W.reportResult(vn,Tt))},error:function(vn){(0,In.D)(W.variables,Tt)&&(Pt(),W.reportError(vn,Tt))}};return!me&&(Lt.fromLink||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=Qt,this.observer=sn),Qt.addObserver(sn),Qt},m.prototype.reobserve=function(P,V){return this.reobserveAsConcast(P,V).promise},m.prototype.resubscribeAfterError=function(){for(var P=[],V=0;V<arguments.length;V++)P[V]=arguments[V];var W=this.last;this.resetLastResults();var me=this.subscribe.apply(this,P);return this.last=W,me},m.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},m.prototype.reportResult=function(P,V){var W=this.getLastError(),me=this.isDifferentFromLastResult(P,V);(W||!P.partial||this.options.returnPartialData)&&this.updateLastResult(P,V),(W||me)&&Si(this.observers,"next",P)},m.prototype.reportError=function(P,V){var W=(0,U.pi)((0,U.pi)({},this.getLastResult()),{error:P,errors:P.graphQLErrors,networkStatus:x.error,loading:!1});this.updateLastResult(W,V),Si(this.observers,"error",this.last.error=P)},m.prototype.hasObservers=function(){return this.observers.size>0},m.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(P){return P.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},m.prototype.transformDocument=function(P){return this.queryManager.transform(P)},m}(q.y);function gt(N){var m=N.options,P=m.fetchPolicy,V=m.nextFetchPolicy;return"cache-and-network"===P||"network-only"===P?N.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(W,me){return this.nextFetchPolicy=V,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(W,me):P}}):N.reobserve()}function un(N){!1!==globalThis.__DEV__&&ee.kG.error(23,N.message,N.stack)}function Gn(N){!1!==globalThis.__DEV__&&N&&!1!==globalThis.__DEV__&&ee.kG.debug(24,N)}function Ye(N){return"network-only"===N||"no-cache"===N||"standby"===N}ji(rt);var Ae=o(5560);function $t(N){return N.kind===Ae.h.FIELD||N.kind===Ae.h.FRAGMENT_SPREAD||N.kind===Ae.h.INLINE_FRAGMENT}var Tr=o(3088),mr=function(){function N(m){var P=m.cache,V=m.client,W=m.resolvers,me=m.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=P,V&&(this.client=V),W&&this.addResolvers(W),me&&this.setFragmentMatcher(me)}return N.prototype.addResolvers=function(m){var P=this;this.resolvers=this.resolvers||{},Array.isArray(m)?m.forEach(function(V){P.resolvers=(0,st.Ee)(P.resolvers,V)}):this.resolvers=(0,st.Ee)(this.resolvers,m)},N.prototype.setResolvers=function(m){this.resolvers={},this.addResolvers(m)},N.prototype.getResolvers=function(){return this.resolvers||{}},N.prototype.runResolvers=function(m){var P=m.document,V=m.remoteResult,W=m.context,me=m.variables,We=m.onlyRunForcedResolvers,tt=void 0!==We&&We;return(0,U.mG)(this,void 0,void 0,function(){return(0,U.Jh)(this,function(ct){return P?[2,this.resolveDocument(P,V.data,W,me,this.fragmentMatcher,tt).then(function(vt){return(0,U.pi)((0,U.pi)({},V),{data:vt.result})})]:[2,V]})})},N.prototype.setFragmentMatcher=function(m){this.fragmentMatcher=m},N.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},N.prototype.clientQuery=function(m){return(0,Ne.FS)(["client"],m)&&this.resolvers?m:null},N.prototype.serverQuery=function(m){return(0,Ln.ob)(m)},N.prototype.prepareContext=function(m){var P=this.cache;return(0,U.pi)((0,U.pi)({},m),{cache:P,getCacheKey:function(V){return P.identify(V)}})},N.prototype.addExportedVariables=function(m,P,V){return void 0===P&&(P={}),void 0===V&&(V={}),(0,U.mG)(this,void 0,void 0,function(){return(0,U.Jh)(this,function(W){return m?[2,this.resolveDocument(m,this.buildRootValueFromCache(m,P)||{},this.prepareContext(V),P).then(function(me){return(0,U.pi)((0,U.pi)({},P),me.exportedVariables)})]:[2,(0,U.pi)({},P)]})})},N.prototype.shouldForceResolvers=function(m){var P=!1;return(0,Jt.Vn)(m,{Directive:{enter:function(V){if("client"===V.name.value&&V.arguments&&(P=V.arguments.some(function(W){return"always"===W.name.value&&"BooleanValue"===W.value.kind&&!0===W.value.value})))return Jt.$_}}}),P},N.prototype.buildRootValueFromCache=function(m,P){return this.cache.diff({query:(0,Ln.aL)(m),variables:P,returnPartialData:!0,optimistic:!1}).result},N.prototype.resolveDocument=function(m,P,V,W,me,We){return void 0===V&&(V={}),void 0===W&&(W={}),void 0===me&&(me=function(){return!0}),void 0===We&&(We=!1),(0,U.mG)(this,void 0,void 0,function(){var tt,ct,vt,wt,Pt,Tt,Lt,Qt,Xt,sn;return(0,U.Jh)(this,function(Qn){return tt=(0,Dn.p$)(m),ct=(0,Dn.kU)(m),vt=(0,ge.F)(ct),wt=this.collectSelectionsToResolve(tt,vt),Tt=(Pt=tt.operation)?Pt.charAt(0).toUpperCase()+Pt.slice(1):"Query",Qt=(Lt=this).cache,Xt=Lt.client,sn={fragmentMap:vt,context:(0,U.pi)((0,U.pi)({},V),{cache:Qt,client:Xt}),variables:W,fragmentMatcher:me,defaultOperationType:Tt,exportedVariables:{},selectionsToResolve:wt,onlyRunForcedResolvers:We},[2,this.resolveSelectionSet(tt.selectionSet,!1,P,sn).then(function(Tn){return{result:Tn,exportedVariables:sn.exportedVariables}})]})})},N.prototype.resolveSelectionSet=function(m,P,V,W){return(0,U.mG)(this,void 0,void 0,function(){var me,We,tt,ct,wt=this;return(0,U.Jh)(this,function(Pt){return me=W.fragmentMap,We=W.context,tt=W.variables,ct=[V],[2,Promise.all(m.selections.map(function(Tt){return(0,U.mG)(wt,void 0,void 0,function(){var Lt;return(0,U.Jh)(this,function(Xt){return(P||W.selectionsToResolve.has(Tt))&&(0,Ne.LZ)(Tt,tt)?(0,di.My)(Tt)?[2,this.resolveField(Tt,P,V,W).then(function(sn){var vn;typeof sn<"u"&&ct.push(((vn={})[(0,di.u2)(Tt)]=sn,vn))})]:((0,di.Ao)(Tt)?Lt=Tt:(0,ee.kG)(Lt=me[Tt.name.value],18,Tt.name.value),Lt&&Lt.typeCondition&&W.fragmentMatcher(V,Lt.typeCondition.name.value,We)?[2,this.resolveSelectionSet(Lt.selectionSet,P,V,W).then(function(sn){ct.push(sn)})]:[2]):[2]})})})).then(function(){return(0,st.bw)(ct)})]})})},N.prototype.resolveField=function(m,P,V,W){return(0,U.mG)(this,void 0,void 0,function(){var me,We,tt,ct,vt,wt,Pt,Tt,Lt,Qt=this;return(0,U.Jh)(this,function(Xt){return V?(me=W.variables,We=m.name.value,tt=(0,di.u2)(m),ct=We!==tt,vt=V[tt]||V[We],wt=Promise.resolve(vt),(!W.onlyRunForcedResolvers||this.shouldForceResolvers(m))&&(Pt=V.__typename||W.defaultOperationType,(Tt=this.resolvers&&this.resolvers[Pt])&&(Lt=Tt[ct?We:tt])&&(wt=Promise.resolve(Tr.ab.withValue(this.cache,Lt,[V,(0,di.NC)(m,me),W.context,{field:m,fragmentMap:W.fragmentMap}])))),[2,wt.then(function(sn){var vn,Qn;if(void 0===sn&&(sn=vt),m.directives&&m.directives.forEach(function(cr){"export"===cr.name.value&&cr.arguments&&cr.arguments.forEach(function(Er){"as"===Er.name.value&&"StringValue"===Er.value.kind&&(W.exportedVariables[Er.value.value]=sn)})}),!m.selectionSet||null==sn)return sn;var Tn=null!==(Qn=null===(vn=m.directives)||void 0===vn?void 0:vn.some(function(cr){return"client"===cr.name.value}))&&void 0!==Qn&&Qn;return Array.isArray(sn)?Qt.resolveSubSelectedArray(m,P||Tn,sn,W):m.selectionSet?Qt.resolveSelectionSet(m.selectionSet,P||Tn,sn,W):void 0})]):[2,null]})})},N.prototype.resolveSubSelectedArray=function(m,P,V,W){var me=this;return Promise.all(V.map(function(We){return null===We?null:Array.isArray(We)?me.resolveSubSelectedArray(m,P,We,W):m.selectionSet?me.resolveSelectionSet(m.selectionSet,P,We,W):void 0}))},N.prototype.collectSelectionsToResolve=function(m,P){var V=function(We){return!Array.isArray(We)},W=this.selectionsToResolveCache;return function me(We){if(!W.has(We)){var tt=new Set;W.set(We,tt),(0,Jt.Vn)(We,{Directive:function(ct,vt,wt,Pt,Tt){"client"===ct.name.value&&Tt.forEach(function(Lt){V(Lt)&&$t(Lt)&&tt.add(Lt)})},FragmentSpread:function(ct,vt,wt,Pt,Tt){var Lt=P[ct.name.value];(0,ee.kG)(Lt,19,ct.name.value);var Qt=me(Lt);Qt.size>0&&(Tt.forEach(function(Xt){V(Xt)&&$t(Xt)&&tt.add(Xt)}),tt.add(ct),Qt.forEach(function(Xt){tt.add(Xt)}))}})}return W.get(We)}(m)},N}(),ar=new(fe.mr?WeakMap:Map);function En(N,m){var P=N[m];"function"==typeof P&&(N[m]=function(){return ar.set(N,(ar.get(N)+1)%1e15),P.apply(this,arguments)})}function Jn(N){N.notifyTimeout&&(clearTimeout(N.notifyTimeout),N.notifyTimeout=void 0)}var vr=function(){function N(m,P){void 0===P&&(P=m.generateQueryId()),this.queryId=P,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var V=this.cache=m.cache;ar.has(V)||(ar.set(V,0),En(V,"evict"),En(V,"modify"),En(V,"reset"))}return N.prototype.init=function(m){var P=m.networkStatus||x.loading;return this.variables&&this.networkStatus!==x.loading&&!(0,In.D)(this.variables,m.variables)&&(P=x.setVariables),(0,In.D)(m.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:m.document,variables:m.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:P}),m.observableQuery&&this.setObservableQuery(m.observableQuery),m.lastRequestId&&(this.lastRequestId=m.lastRequestId),this},N.prototype.reset=function(){Jn(this),this.dirty=!1},N.prototype.resetDiff=function(){this.lastDiff=void 0},N.prototype.getDiff=function(){var m=this.getDiffOptions();if(this.lastDiff&&(0,In.D)(m,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var P=this.observableQuery;if(P&&"no-cache"===P.options.fetchPolicy)return{complete:!1};var V=this.cache.diff(m);return this.updateLastDiff(V,m),V},N.prototype.updateLastDiff=function(m,P){this.lastDiff=m?{diff:m,options:P||this.getDiffOptions()}:void 0},N.prototype.getDiffOptions=function(m){var P;return void 0===m&&(m=this.variables),{query:this.document,variables:m,returnPartialData:!0,optimistic:!0,canonizeResults:null===(P=this.observableQuery)||void 0===P?void 0:P.options.canonizeResults}},N.prototype.setDiff=function(m){var V,P=this,W=this.lastDiff&&this.lastDiff.diff;m&&!m.complete&&(null===(V=this.observableQuery)||void 0===V||!V.options.returnPartialData)&&(!W||!W.complete)||(this.updateLastDiff(m),!this.dirty&&!(0,In.D)(W&&W.result,m&&m.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return P.notify()},0))))},N.prototype.setObservableQuery=function(m){var P=this;m!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=m,m?(m.queryInfo=this,this.listeners.add(this.oqListener=function(){P.getDiff().fromOptimisticTransaction?m.observe():gt(m)})):delete this.oqListener)},N.prototype.notify=function(){var m=this;Jn(this),this.shouldNotify()&&this.listeners.forEach(function(P){return P(m)}),this.dirty=!1},N.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(J(this.networkStatus)&&this.observableQuery){var m=this.observableQuery.options.fetchPolicy;if("cache-only"!==m&&"cache-and-network"!==m)return!1}return!0},N.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=N.prototype.cancel;var m=this.observableQuery;m&&m.stopPolling()}},N.prototype.cancel=function(){},N.prototype.updateWatch=function(m){var P=this;void 0===m&&(m=this.variables);var V=this.observableQuery;if(!V||"no-cache"!==V.options.fetchPolicy){var W=(0,U.pi)((0,U.pi)({},this.getDiffOptions(m)),{watcher:this,callback:function(me){return P.setDiff(me)}});(!this.lastWatch||!(0,In.D)(W,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=W))}},N.prototype.resetLastWrite=function(){this.lastWrite=void 0},N.prototype.shouldWrite=function(m,P){var V=this.lastWrite;return!(V&&V.dmCount===ar.get(this.cache)&&(0,In.D)(P,V.variables)&&(0,In.D)(m.data,V.result.data))},N.prototype.markResult=function(m,P,V,W){var me=this,We=new st.w0,tt=(0,Ue.O)(m.errors)?m.errors.slice(0):[];if(this.reset(),"incremental"in m&&(0,Ue.O)(m.incremental)){var ct=rn(this.getDiff().result,m);m.data=ct}else if("hasNext"in m&&m.hasNext){var vt=this.getDiff();m.data=We.merge(vt.result,m.data)}this.graphQLErrors=tt,"no-cache"===V.fetchPolicy?this.updateLastDiff({result:m.data,complete:!0},this.getDiffOptions(V.variables)):0!==W&&(kr(m,V.errorPolicy)?this.cache.performTransaction(function(wt){if(me.shouldWrite(m,V.variables))wt.writeQuery({query:P,data:m.data,variables:V.variables,overwrite:1===W}),me.lastWrite={result:m,variables:V.variables,dmCount:ar.get(me.cache)};else if(me.lastDiff&&me.lastDiff.diff.complete)return void(m.data=me.lastDiff.diff.result);var Pt=me.getDiffOptions(V.variables),Tt=wt.diff(Pt);!me.stopped&&(0,In.D)(me.variables,V.variables)&&me.updateWatch(V.variables),me.updateLastDiff(Tt,Pt),Tt.complete&&(m.data=Tt.result)}):this.lastWrite=void 0)},N.prototype.markReady=function(){return this.networkError=null,this.networkStatus=x.ready},N.prototype.markError=function(m){return this.networkStatus=x.error,this.lastWrite=void 0,this.reset(),m.graphQLErrors&&(this.graphQLErrors=m.graphQLErrors),m.networkError&&(this.networkError=m.networkError),m},N}();function kr(N,m){void 0===m&&(m="none");var P="ignore"===m||"all"===m,V=!Wr(N);return!V&&P&&N.data&&(V=!0),V}var Qi=o(1823),ir=o(2098),Di=o(838),os=Object.prototype.hasOwnProperty,Bi=Object.create(null),eo=function(){function N(m){var P=m.cache,V=m.link,W=m.defaultOptions,me=m.documentTransform,We=m.queryDeduplication,tt=void 0!==We&&We,ct=m.onBroadcast,vt=m.ssrMode,wt=void 0!==vt&&vt,Pt=m.clientAwareness,Tt=void 0===Pt?{}:Pt,Lt=m.localState,Qt=m.assumeImmutableResults,Xt=void 0===Qt?!!P.assumeImmutableResults:Qt,sn=m.defaultContext,vn=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new ir.s(Di.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Qi.B(!1);var Qn=new is.A(function(Tn){return vn.cache.transformDocument(Tn)},{cache:!1});this.cache=P,this.link=V,this.defaultOptions=W||Object.create(null),this.queryDeduplication=tt,this.clientAwareness=Tt,this.localState=Lt||new mr({cache:P}),this.ssrMode=wt,this.assumeImmutableResults=Xt,this.documentTransform=me?Qn.concat(me).concat(Qn):Qn,this.defaultContext=sn||Object.create(null),(this.onBroadcast=ct)&&(this.mutationStore=Object.create(null))}return N.prototype.stop=function(){var m=this;this.queries.forEach(function(P,V){m.stopQueryNoBroadcast(V)}),this.cancelPendingFetches((0,ee._K)(25))},N.prototype.cancelPendingFetches=function(m){this.fetchCancelFns.forEach(function(P){return P(m)}),this.fetchCancelFns.clear()},N.prototype.mutate=function(m){var P,V,W=m.mutation,me=m.variables,We=m.optimisticResponse,tt=m.updateQueries,ct=m.refetchQueries,vt=void 0===ct?[]:ct,wt=m.awaitRefetchQueries,Pt=void 0!==wt&&wt,Tt=m.update,Lt=m.onQueryUpdated,Qt=m.fetchPolicy,Xt=void 0===Qt?(null===(P=this.defaultOptions.mutate)||void 0===P?void 0:P.fetchPolicy)||"network-only":Qt,sn=m.errorPolicy,vn=void 0===sn?(null===(V=this.defaultOptions.mutate)||void 0===V?void 0:V.errorPolicy)||"none":sn,Qn=m.keepRootFields,Tn=m.context;return(0,U.mG)(this,void 0,void 0,function(){var cr,Er,jn,jr,er;return(0,U.Jh)(this,function(Pr){switch(Pr.label){case 0:return(0,ee.kG)(W,26),(0,ee.kG)("network-only"===Xt||"no-cache"===Xt,27),cr=this.generateMutationId(),W=this.cache.transformForLink(this.transform(W)),Er=this.getDocumentInfo(W).hasClientExports,me=this.getVariables(W,me),Er?[4,this.localState.addExportedVariables(W,me,Tn)]:[3,2];case 1:me=Pr.sent(),Pr.label=2;case 2:return jn=this.mutationStore&&(this.mutationStore[cr]={mutation:W,variables:me,loading:!0,error:null}),jr=We&&this.markMutationOptimistic(We,{mutationId:cr,document:W,variables:me,fetchPolicy:Xt,errorPolicy:vn,context:Tn,updateQueries:tt,update:Tt,keepRootFields:Qn}),this.broadcastQueries(),er=this,[2,new Promise(function(Ai,Zo){return Gr(er.getObservableFromLink(W,(0,U.pi)((0,U.pi)({},Tn),{optimisticResponse:jr?We:void 0}),me,!1),function(Li){if(Wr(Li)&&"none"===vn)throw new xe.cA({graphQLErrors:ri(Li)});jn&&(jn.loading=!1,jn.error=null);var Ts=(0,U.pi)({},Li);return"function"==typeof vt&&(vt=vt(Ts)),"ignore"===vn&&Wr(Ts)&&delete Ts.errors,er.markMutationResult({mutationId:cr,result:Ts,document:W,variables:me,fetchPolicy:Xt,errorPolicy:vn,context:Tn,update:Tt,updateQueries:tt,awaitRefetchQueries:Pt,refetchQueries:vt,removeOptimistic:jr?cr:void 0,onQueryUpdated:Lt,keepRootFields:Qn})}).subscribe({next:function(Li){er.broadcastQueries(),(!("hasNext"in Li)||!1===Li.hasNext)&&Ai(Li)},error:function(Li){jn&&(jn.loading=!1,jn.error=Li),jr&&er.cache.removeOptimistic(cr),er.broadcastQueries(),Zo(Li instanceof xe.cA?Li:new xe.cA({networkError:Li}))}})})]}})})},N.prototype.markMutationResult=function(m,P){var V=this;void 0===P&&(P=this.cache);var W=m.result,me=[],We="no-cache"===m.fetchPolicy;if(!We&&kr(W,m.errorPolicy)){if(Xe(W)||me.push({result:W.data,dataId:"ROOT_MUTATION",query:m.document,variables:m.variables}),Xe(W)&&(0,Ue.O)(W.incremental)){var tt=P.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(m.document).asQuery,variables:m.variables,optimistic:!1,returnPartialData:!0}),ct=void 0;tt.result&&(ct=rn(tt.result,W)),typeof ct<"u"&&(W.data=ct,me.push({result:ct,dataId:"ROOT_MUTATION",query:m.document,variables:m.variables}))}var vt=m.updateQueries;vt&&this.queries.forEach(function(Pt,Tt){var Lt=Pt.observableQuery,Qt=Lt&&Lt.queryName;if(Qt&&os.call(vt,Qt)){var Xt=vt[Qt],sn=V.queries.get(Tt),vn=sn.document,Qn=sn.variables,Tn=P.diff({query:vn,variables:Qn,returnPartialData:!0,optimistic:!1}),cr=Tn.result;if(Tn.complete&&cr){var jn=Xt(cr,{mutationResult:W,queryName:vn&&(0,Dn.rY)(vn)||void 0,queryVariables:Qn});jn&&me.push({result:jn,dataId:"ROOT_QUERY",query:vn,variables:Qn})}}})}if(me.length>0||(m.refetchQueries||"").length>0||m.update||m.onQueryUpdated||m.removeOptimistic){var wt=[];if(this.refetchQueries({updateCache:function(Pt){We||me.forEach(function(Xt){return Pt.write(Xt)});var Tt=m.update,Lt=!function pt(N){return Xe(N)||function dt(N){return"hasNext"in N&&"data"in N}(N)}(W)||Xe(W)&&!W.hasNext;if(Tt){if(!We){var Qt=Pt.diff({id:"ROOT_MUTATION",query:V.getDocumentInfo(m.document).asQuery,variables:m.variables,optimistic:!1,returnPartialData:!0});Qt.complete&&("incremental"in(W=(0,U.pi)((0,U.pi)({},W),{data:Qt.result}))&&delete W.incremental,"hasNext"in W&&delete W.hasNext)}Lt&&Tt(Pt,W,{context:m.context,variables:m.variables})}!We&&!m.keepRootFields&&Lt&&Pt.modify({id:"ROOT_MUTATION",fields:function(Xt,sn){return"__typename"===sn.fieldName?Xt:sn.DELETE}})},include:m.refetchQueries,optimistic:!1,removeOptimistic:m.removeOptimistic,onQueryUpdated:m.onQueryUpdated||null}).forEach(function(Pt){return wt.push(Pt)}),m.awaitRefetchQueries||m.onQueryUpdated)return Promise.all(wt).then(function(){return W})}return Promise.resolve(W)},N.prototype.markMutationOptimistic=function(m,P){var V=this,W="function"==typeof m?m(P.variables,{IGNORE:Bi}):m;return W!==Bi&&(this.cache.recordOptimisticTransaction(function(me){try{V.markMutationResult((0,U.pi)((0,U.pi)({},P),{result:{data:W}}),me)}catch(We){!1!==globalThis.__DEV__&&ee.kG.error(We)}},P.mutationId),!0)},N.prototype.fetchQuery=function(m,P,V){return this.fetchConcastWithInfo(m,P,V).concast.promise},N.prototype.getQueryStore=function(){var m=Object.create(null);return this.queries.forEach(function(P,V){m[V]={variables:P.variables,networkStatus:P.networkStatus,networkError:P.networkError,graphQLErrors:P.graphQLErrors}}),m},N.prototype.resetErrors=function(m){var P=this.queries.get(m);P&&(P.networkError=void 0,P.graphQLErrors=[])},N.prototype.transform=function(m){return this.documentTransform.transformDocument(m)},N.prototype.getDocumentInfo=function(m){var P=this.transformCache;if(!P.has(m)){var V={hasClientExports:(0,Ne.mj)(m),hasForcedResolvers:this.localState.shouldForceResolvers(m),hasNonreactiveDirective:(0,Ne.FS)(["nonreactive"],m),clientQuery:this.localState.clientQuery(m),serverQuery:(0,Ln.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],m),defaultVars:(0,Dn.O4)((0,Dn.$H)(m)),asQuery:(0,U.pi)((0,U.pi)({},m),{definitions:m.definitions.map(function(W){return"OperationDefinition"===W.kind&&"query"!==W.operation?(0,U.pi)((0,U.pi)({},W),{operation:"query"}):W})})};P.set(m,V)}return P.get(m)},N.prototype.getVariables=function(m,P){return(0,U.pi)((0,U.pi)({},this.getDocumentInfo(m).defaultVars),P)},N.prototype.watchQuery=function(m){var P=this.transform(m.query);typeof(m=(0,U.pi)((0,U.pi)({},m),{variables:this.getVariables(P,m.variables)})).notifyOnNetworkStatusChange>"u"&&(m.notifyOnNetworkStatusChange=!1);var V=new vr(this),W=new rt({queryManager:this,queryInfo:V,options:m});return W.lastQuery=P,this.queries.set(W.queryId,V),V.init({document:P,observableQuery:W,variables:W.variables}),W},N.prototype.query=function(m,P){var V=this;return void 0===P&&(P=this.generateQueryId()),(0,ee.kG)(m.query,28),(0,ee.kG)("Document"===m.query.kind,29),(0,ee.kG)(!m.returnPartialData,30),(0,ee.kG)(!m.pollInterval,31),this.fetchQuery(P,(0,U.pi)((0,U.pi)({},m),{query:this.transform(m.query)})).finally(function(){return V.stopQuery(P)})},N.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},N.prototype.generateRequestId=function(){return this.requestIdCounter++},N.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},N.prototype.stopQueryInStore=function(m){this.stopQueryInStoreNoBroadcast(m),this.broadcastQueries()},N.prototype.stopQueryInStoreNoBroadcast=function(m){var P=this.queries.get(m);P&&P.stop()},N.prototype.clearStore=function(m){return void 0===m&&(m={discardWatches:!0}),this.cancelPendingFetches((0,ee._K)(32)),this.queries.forEach(function(P){P.observableQuery?P.networkStatus=x.loading:P.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(m)},N.prototype.getObservableQueries=function(m){var P=this;void 0===m&&(m="active");var V=new Map,W=new Map,me=new Set;return Array.isArray(m)&&m.forEach(function(We){"string"==typeof We?W.set(We,!1):(0,di.JW)(We)?W.set(P.transform(We),!1):(0,Ve.s)(We)&&We.query&&me.add(We)}),this.queries.forEach(function(We,tt){var ct=We.observableQuery,vt=We.document;if(ct){if("all"===m)return void V.set(tt,ct);var wt=ct.queryName;if("standby"===ct.options.fetchPolicy||"active"===m&&!ct.hasObservers())return;("active"===m||wt&&W.has(wt)||vt&&W.has(vt))&&(V.set(tt,ct),wt&&W.set(wt,!0),vt&&W.set(vt,!0))}}),me.size&&me.forEach(function(We){var tt=(0,ss.X)("legacyOneTimeQuery"),ct=P.getQuery(tt).init({document:We.query,variables:We.variables}),vt=new rt({queryManager:P,queryInfo:ct,options:(0,U.pi)((0,U.pi)({},We),{fetchPolicy:"network-only"})});(0,ee.kG)(vt.queryId===tt),ct.setObservableQuery(vt),V.set(tt,vt)}),!1!==globalThis.__DEV__&&W.size&&W.forEach(function(We,tt){We||!1!==globalThis.__DEV__&&ee.kG.warn("string"==typeof tt?33:34,tt)}),V},N.prototype.reFetchObservableQueries=function(m){var P=this;void 0===m&&(m=!1);var V=[];return this.getObservableQueries(m?"all":"active").forEach(function(W,me){var We=W.options.fetchPolicy;W.resetLastResults(),(m||"standby"!==We&&"cache-only"!==We)&&V.push(W.refetch()),P.getQuery(me).setDiff(null)}),this.broadcastQueries(),Promise.all(V)},N.prototype.setObservableQuery=function(m){this.getQuery(m.queryId).setObservableQuery(m)},N.prototype.startGraphQLSubscription=function(m){var P=this,V=m.query,W=m.fetchPolicy,me=m.errorPolicy,We=void 0===me?"none":me,tt=m.variables,ct=m.context,vt=void 0===ct?{}:ct;V=this.transform(V),tt=this.getVariables(V,tt);var wt=function(Tt){return P.getObservableFromLink(V,vt,Tt).map(function(Lt){"no-cache"!==W&&(kr(Lt,We)&&P.cache.write({query:V,result:Lt.data,dataId:"ROOT_SUBSCRIPTION",variables:Tt}),P.broadcastQueries());var Qt=Wr(Lt),Xt=(0,xe.ls)(Lt);if(Qt||Xt){var sn={};if(Qt&&(sn.graphQLErrors=Lt.errors),Xt&&(sn.protocolErrors=Lt.extensions[xe.YG]),"none"===We||Xt)throw new xe.cA(sn)}return"ignore"===We&&delete Lt.errors,Lt})};if(this.getDocumentInfo(V).hasClientExports){var Pt=this.localState.addExportedVariables(V,tt,vt).then(wt);return new q.y(function(Tt){var Lt=null;return Pt.then(function(Qt){return Lt=Qt.subscribe(Tt)},Tt.error),function(){return Lt&&Lt.unsubscribe()}})}return wt(tt)},N.prototype.stopQuery=function(m){this.stopQueryNoBroadcast(m),this.broadcastQueries()},N.prototype.stopQueryNoBroadcast=function(m){this.stopQueryInStoreNoBroadcast(m),this.removeQuery(m)},N.prototype.removeQuery=function(m){this.fetchCancelFns.delete(m),this.queries.has(m)&&(this.getQuery(m).stop(),this.queries.delete(m))},N.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(m){return m.notify()})},N.prototype.getLocalState=function(){return this.localState},N.prototype.getObservableFromLink=function(m,P,V,W){var We,me=this;void 0===W&&(W=null!==(We=P?.queryDeduplication)&&void 0!==We?We:this.queryDeduplication);var tt,ct=this.getDocumentInfo(m),vt=ct.serverQuery,wt=ct.clientQuery;if(vt){var Tt=this.inFlightLinkObservables,Lt=this.link,Qt={query:vt,variables:V,operationName:(0,Dn.rY)(vt)||void 0,context:this.prepareContext((0,U.pi)((0,U.pi)({},P),{forceFetch:!W}))};if(P=Qt.context,W){var Xt=(0,Ur.S)(vt),sn=(0,mi.B)(V),vn=Tt.lookup(Xt,sn);if(!(tt=vn.observable)){var Qn=new bi([le(Lt,Qt)]);tt=vn.observable=Qn,Qn.beforeNext(function(){Tt.remove(Xt,sn)})}}else tt=new bi([le(Lt,Qt)])}else tt=new bi([q.y.of({data:{}})]),P=this.prepareContext(P);return wt&&(tt=Gr(tt,function(Tn){return me.localState.runResolvers({document:wt,remoteResult:Tn,context:P,variables:V})})),tt},N.prototype.getResultsFromLink=function(m,P,V){var W=m.lastRequestId=this.generateRequestId(),me=this.cache.transformForLink(V.query);return Gr(this.getObservableFromLink(me,V.context,V.variables),function(We){var tt=ri(We),ct=tt.length>0;if(W>=m.lastRequestId){if(ct&&"none"===V.errorPolicy)throw m.markError(new xe.cA({graphQLErrors:tt}));m.markResult(We,me,V,P),m.markReady()}var vt={data:We.data,loading:!1,networkStatus:x.ready};return ct&&"ignore"!==V.errorPolicy&&(vt.errors=tt,vt.networkStatus=x.error),vt},function(We){var tt=(0,xe.MS)(We)?We:new xe.cA({networkError:We});throw W>=m.lastRequestId&&m.markError(tt),tt})},N.prototype.fetchConcastWithInfo=function(m,P,V,W){var me=this;void 0===V&&(V=x.loading),void 0===W&&(W=P.query);var jn,jr,We=this.getVariables(W,P.variables),tt=this.getQuery(m),ct=this.defaultOptions.watchQuery,vt=P.fetchPolicy,Pt=P.errorPolicy,Lt=P.returnPartialData,Xt=P.notifyOnNetworkStatusChange,vn=P.context,Tn=Object.assign({},P,{query:W,variables:We,fetchPolicy:void 0===vt?ct&&ct.fetchPolicy||"cache-first":vt,errorPolicy:void 0===Pt?ct&&ct.errorPolicy||"none":Pt,returnPartialData:void 0!==Lt&&Lt,notifyOnNetworkStatusChange:void 0!==Xt&&Xt,context:void 0===vn?{}:vn}),cr=function(Pr){Tn.variables=Pr;var Ai=me.fetchQueryByPolicy(tt,Tn,V);return"standby"!==Tn.fetchPolicy&&Ai.sources.length>0&&tt.observableQuery&&tt.observableQuery.applyNextFetchPolicy("after-fetch",P),Ai},Er=function(){return me.fetchCancelFns.delete(m)};if(this.fetchCancelFns.set(m,function(Pr){Er(),setTimeout(function(){return jn.cancel(Pr)})}),this.getDocumentInfo(Tn.query).hasClientExports)jn=new bi(this.localState.addExportedVariables(Tn.query,Tn.variables,Tn.context).then(cr).then(function(Pr){return Pr.sources})),jr=!0;else{var er=cr(Tn.variables);jr=er.fromLink,jn=new bi(er.sources)}return jn.promise.then(Er,Er),{concast:jn,fromLink:jr}},N.prototype.refetchQueries=function(m){var P=this,V=m.updateCache,W=m.include,me=m.optimistic,We=void 0!==me&&me,tt=m.removeOptimistic,ct=void 0===tt?We?(0,ss.X)("refetchQueries"):void 0:tt,vt=m.onQueryUpdated,wt=new Map;W&&this.getObservableQueries(W).forEach(function(Tt,Lt){wt.set(Lt,{oq:Tt,lastDiff:P.getQuery(Lt).getDiff()})});var Pt=new Map;return V&&this.cache.batch({update:V,optimistic:We&&ct||!1,removeOptimistic:ct,onWatchUpdated:function(Tt,Lt,Qt){var Xt=Tt.watcher instanceof vr&&Tt.watcher.observableQuery;if(Xt){if(vt){wt.delete(Xt.queryId);var sn=vt(Xt,Lt,Qt);return!0===sn&&(sn=Xt.refetch()),!1!==sn&&Pt.set(Xt,sn),sn}null!==vt&&wt.set(Xt.queryId,{oq:Xt,lastDiff:Qt,diff:Lt})}}}),wt.size&&wt.forEach(function(Tt,Lt){var vn,Qt=Tt.oq,Xt=Tt.lastDiff,sn=Tt.diff;if(vt){if(!sn){var Qn=Qt.queryInfo;Qn.reset(),sn=Qn.getDiff()}vn=vt(Qt,sn,Xt)}(!vt||!0===vn)&&(vn=Qt.refetch()),!1!==vn&&Pt.set(Qt,vn),Lt.indexOf("legacyOneTimeQuery")>=0&&P.stopQueryNoBroadcast(Lt)}),ct&&this.cache.removeOptimistic(ct),Pt},N.prototype.fetchQueryByPolicy=function(m,P,V){var W=this,me=P.query,We=P.variables,tt=P.fetchPolicy,ct=P.refetchWritePolicy,vt=P.errorPolicy,wt=P.returnPartialData,Pt=P.context,Tt=P.notifyOnNetworkStatusChange,Lt=m.networkStatus;m.init({document:me,variables:We,networkStatus:V});var Qt=function(){return m.getDiff()},Xt=function(cr,Er){void 0===Er&&(Er=m.networkStatus||x.loading);var jn=cr.result;!1!==globalThis.__DEV__&&!wt&&!(0,In.D)(jn,{})&&Gn(cr.missing);var jr=function(er){return q.y.of((0,U.pi)({data:er,loading:J(Er),networkStatus:Er},cr.complete?null:{partial:!0}))};return jn&&W.getDocumentInfo(me).hasForcedResolvers?W.localState.runResolvers({document:me,remoteResult:{data:jn},context:Pt,variables:We,onlyRunForcedResolvers:!0}).then(function(er){return jr(er.data||void 0)}):"none"===vt&&Er===x.refetch&&Array.isArray(cr.missing)?jr(void 0):jr(jn)},sn="no-cache"===tt?0:V===x.refetch&&"merge"!==ct?1:2,vn=function(){return W.getResultsFromLink(m,sn,{query:me,variables:We,context:Pt,fetchPolicy:tt,errorPolicy:vt})},Qn=Tt&&"number"==typeof Lt&&Lt!==V&&J(V);switch(tt){default:case"cache-first":return(Tn=Qt()).complete?{fromLink:!1,sources:[Xt(Tn,m.markReady())]}:wt||Qn?{fromLink:!0,sources:[Xt(Tn),vn()]}:{fromLink:!0,sources:[vn()]};case"cache-and-network":var Tn;return(Tn=Qt()).complete||wt||Qn?{fromLink:!0,sources:[Xt(Tn),vn()]}:{fromLink:!0,sources:[vn()]};case"cache-only":return{fromLink:!1,sources:[Xt(Qt(),m.markReady())]};case"network-only":return Qn?{fromLink:!0,sources:[Xt(Qt()),vn()]}:{fromLink:!0,sources:[vn()]};case"no-cache":return Qn?{fromLink:!0,sources:[Xt(m.getDiff()),vn()]}:{fromLink:!0,sources:[vn()]};case"standby":return{fromLink:!1,sources:[]}}},N.prototype.getQuery=function(m){return m&&!this.queries.has(m)&&this.queries.set(m,new vr(this,m)),this.queries.get(m)},N.prototype.prepareContext=function(m){void 0===m&&(m={});var P=this.localState.prepareContext(m);return(0,U.pi)((0,U.pi)((0,U.pi)({},this.defaultContext),P),{clientAwareness:this.clientAwareness})},N}();function Ui(N,m){return(0,Vt.o)(N,m,m.variables&&{variables:(0,Vt.o)((0,U.pi)((0,U.pi)({},N&&N.variables),m.variables))})}var xs=o(4286),wi=!1,to=function(){function N(m){var P=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!m.cache)throw(0,ee._K)(15);var V=m.uri,We=m.cache,tt=m.documentTransform,ct=m.ssrMode,vt=void 0!==ct&&ct,wt=m.ssrForceFetchDelay,Pt=void 0===wt?0:wt,Tt=m.connectToDevTools,Lt=void 0===Tt?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:Tt,Qt=m.queryDeduplication,Xt=void 0===Qt||Qt,sn=m.defaultOptions,vn=m.defaultContext,Qn=m.assumeImmutableResults,Tn=void 0===Qn?We.assumeImmutableResults:Qn,cr=m.resolvers,Er=m.typeDefs,jn=m.fragmentMatcher,jr=m.name,er=m.version,Pr=m.link;Pr||(Pr=V?new zn({uri:V,credentials:m.credentials,headers:m.headers}):de.i.empty()),this.link=Pr,this.cache=We,this.disableNetworkFetches=vt||Pt>0,this.queryDeduplication=Xt,this.defaultOptions=sn||Object.create(null),this.typeDefs=Er,Pt&&setTimeout(function(){return P.disableNetworkFetches=!1},Pt),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=we.i,this.localState=new mr({cache:We,client:this,resolvers:cr,fragmentMatcher:jn}),this.queryManager=new eo({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:vn,documentTransform:tt,queryDeduplication:Xt,ssrMode:vt,clientAwareness:{name:jr,version:er},localState:this.localState,assumeImmutableResults:Tn,onBroadcast:Lt?function(){P.devToolsHookCb&&P.devToolsHookCb({action:{},state:{queries:P.queryManager.getQueryStore(),mutations:P.queryManager.mutationStore||{}},dataWithOptimisticResults:P.cache.extract(!0)})}:void 0}),Lt&&this.connectToDevTools()}return N.prototype.connectToDevTools=function(){if("object"==typeof window){var m=window,P=Symbol.for("apollo.devtools");(m[P]=m[P]||[]).push(this),m.__APOLLO_CLIENT__=this}!wi&&!1!==globalThis.__DEV__&&(wi=!0,setTimeout(function(){if(typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var V=window.navigator,W=V&&V.userAgent,me=void 0;"string"==typeof W&&(W.indexOf("Chrome/")>-1?me="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":W.indexOf("Firefox/")>-1&&(me="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),me&&!1!==globalThis.__DEV__&&ee.kG.log("Download the Apollo DevTools for a better development experience: %s",me)}},1e4))},Object.defineProperty(N.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),N.prototype.stop=function(){this.queryManager.stop()},N.prototype.watchQuery=function(m){return this.defaultOptions.watchQuery&&(m=Ui(this.defaultOptions.watchQuery,m)),this.disableNetworkFetches&&("network-only"===m.fetchPolicy||"cache-and-network"===m.fetchPolicy)&&(m=(0,U.pi)((0,U.pi)({},m),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(m)},N.prototype.query=function(m){return this.defaultOptions.query&&(m=Ui(this.defaultOptions.query,m)),(0,ee.kG)("cache-and-network"!==m.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===m.fetchPolicy&&(m=(0,U.pi)((0,U.pi)({},m),{fetchPolicy:"cache-first"})),this.queryManager.query(m)},N.prototype.mutate=function(m){return this.defaultOptions.mutate&&(m=Ui(this.defaultOptions.mutate,m)),this.queryManager.mutate(m)},N.prototype.subscribe=function(m){return this.queryManager.startGraphQLSubscription(m)},N.prototype.readQuery=function(m,P){return void 0===P&&(P=!1),this.cache.readQuery(m,P)},N.prototype.readFragment=function(m,P){return void 0===P&&(P=!1),this.cache.readFragment(m,P)},N.prototype.writeQuery=function(m){var P=this.cache.writeQuery(m);return!1!==m.broadcast&&this.queryManager.broadcastQueries(),P},N.prototype.writeFragment=function(m){var P=this.cache.writeFragment(m);return!1!==m.broadcast&&this.queryManager.broadcastQueries(),P},N.prototype.__actionHookForDevTools=function(m){this.devToolsHookCb=m},N.prototype.__requestRaw=function(m){return le(this.link,m)},N.prototype.resetStore=function(){var m=this;return Promise.resolve().then(function(){return m.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(m.resetStoreCallbacks.map(function(P){return P()}))}).then(function(){return m.reFetchObservableQueries()})},N.prototype.clearStore=function(){var m=this;return Promise.resolve().then(function(){return m.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(m.clearStoreCallbacks.map(function(P){return P()}))})},N.prototype.onResetStore=function(m){var P=this;return this.resetStoreCallbacks.push(m),function(){P.resetStoreCallbacks=P.resetStoreCallbacks.filter(function(V){return V!==m})}},N.prototype.onClearStore=function(m){var P=this;return this.clearStoreCallbacks.push(m),function(){P.clearStoreCallbacks=P.clearStoreCallbacks.filter(function(V){return V!==m})}},N.prototype.reFetchObservableQueries=function(m){return this.queryManager.reFetchObservableQueries(m)},N.prototype.refetchQueries=function(m){var P=this.queryManager.refetchQueries(m),V=[],W=[];P.forEach(function(We,tt){V.push(tt),W.push(We)});var me=Promise.all(W);return me.queries=V,me.results=W,me.catch(function(We){!1!==globalThis.__DEV__&&ee.kG.debug(17,We)}),me},N.prototype.getObservableQueries=function(m){return void 0===m&&(m="active"),this.queryManager.getObservableQueries(m)},N.prototype.extract=function(m){return this.cache.extract(m)},N.prototype.restore=function(m){return this.cache.restore(m)},N.prototype.addResolvers=function(m){this.localState.addResolvers(m)},N.prototype.setResolvers=function(m){this.localState.setResolvers(m)},N.prototype.getResolvers=function(){return this.localState.getResolvers()},N.prototype.setLocalStateFragmentMatcher=function(m){this.localState.setFragmentMatcher(m)},N.prototype.setLink=function(m){this.link=this.queryManager.link=m},Object.defineProperty(N.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),N}();function Ua(N,m){if(!N)throw new Error(m??"Unexpected invariant triggered.")}!1!==globalThis.__DEV__&&(to.prototype.getMemoryInternals=xs.su);const $o=/\r\n|[\n\r]/g;function jo(N,m){let P=0,V=1;for(const W of N.body.matchAll($o)){if("number"==typeof W.index||Ua(!1),W.index>=m)break;P=W.index+W[0].length,V+=1}return{line:V,column:m+1-P}}function Ns(N,m){const P=N.locationOffset.column-1,V="".padStart(P)+N.body,W=m.line-1,We=m.line+(N.locationOffset.line-1),ct=m.column+(1===m.line?P:0),vt=`${N.name}:${We}:${ct}\n`,wt=V.split(/\r\n|[\n\r]/g),Pt=wt[W];if(Pt.length>120){const Tt=Math.floor(ct/80),Lt=ct%80,Qt=[];for(let Xt=0;Xt<Pt.length;Xt+=80)Qt.push(Pt.slice(Xt,Xt+80));return vt+no([[`${We} |`,Qt[0]],...Qt.slice(1,Tt+1).map(Xt=>["|",Xt]),["|","^".padStart(Lt)],["|",Qt[Tt+1]]])}return vt+no([[We-1+" |",wt[W-1]],[`${We} |`,Pt],["|","^".padStart(ct)],[`${We+1} |`,wt[W+1]]])}function no(N){const m=N.filter(([V,W])=>void 0!==W),P=Math.max(...m.map(([V])=>V.length));return m.map(([V,W])=>V.padStart(P)+(W?" "+W:"")).join("\n")}class zs extends Error{constructor(m,...P){var V,W,me;const{nodes:We,source:tt,positions:ct,path:vt,originalError:wt,extensions:Pt}=function vi(N){const m=N[0];return null==m||"kind"in m||"length"in m?{nodes:m,source:N[1],positions:N[2],path:N[3],originalError:N[4],extensions:N[5]}:m}(P);super(m),this.name="GraphQLError",this.path=vt??void 0,this.originalError=wt??void 0,this.nodes=So(Array.isArray(We)?We:We?[We]:void 0);const Tt=So(null===(V=this.nodes)||void 0===V?void 0:V.map(Qt=>Qt.loc).filter(Qt=>null!=Qt));this.source=tt??(null==Tt||null===(W=Tt[0])||void 0===W?void 0:W.source),this.positions=ct??Tt?.map(Qt=>Qt.start),this.locations=ct&&tt?ct.map(Qt=>jo(tt,Qt)):Tt?.map(Qt=>jo(Qt.source,Qt.start));const Lt=function wo(N){return"object"==typeof N&&null!==N}(wt?.extensions)?wt?.extensions:void 0;this.extensions=null!==(me=Pt??Lt)&&void 0!==me?me:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=wt&&wt.stack?Object.defineProperty(this,"stack",{value:wt.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,zs):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let m=this.message;if(this.nodes)for(const P of this.nodes)P.loc&&(m+="\n\n"+Ns((N=P.loc).source,jo(N.source,N.start)));else if(this.source&&this.locations)for(const P of this.locations)m+="\n\n"+Ns(this.source,P);var N;return m}toJSON(){const m={message:this.message};return null!=this.locations&&(m.locations=this.locations),null!=this.path&&(m.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(m.extensions=this.extensions),m}}function So(N){return void 0===N||0===N.length?void 0:N}function Hr(N,m,P){return new zs(`Syntax Error: ${P}`,{source:N,positions:[m]})}var Yi=o(2236),Ds=function(N){return N.QUERY="QUERY",N.MUTATION="MUTATION",N.SUBSCRIPTION="SUBSCRIPTION",N.FIELD="FIELD",N.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",N.FRAGMENT_SPREAD="FRAGMENT_SPREAD",N.INLINE_FRAGMENT="INLINE_FRAGMENT",N.VARIABLE_DEFINITION="VARIABLE_DEFINITION",N.SCHEMA="SCHEMA",N.SCALAR="SCALAR",N.OBJECT="OBJECT",N.FIELD_DEFINITION="FIELD_DEFINITION",N.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",N.INTERFACE="INTERFACE",N.UNION="UNION",N.ENUM="ENUM",N.ENUM_VALUE="ENUM_VALUE",N.INPUT_OBJECT="INPUT_OBJECT",N.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",N}(Ds||{}),Zi=o(7571),Ni=o(7116),It=function(N){return N.SOF="<SOF>",N.EOF="<EOF>",N.BANG="!",N.DOLLAR="$",N.AMP="&",N.PAREN_L="(",N.PAREN_R=")",N.SPREAD="...",N.COLON=":",N.EQUALS="=",N.AT="@",N.BRACKET_L="[",N.BRACKET_R="]",N.BRACE_L="{",N.PIPE="|",N.BRACE_R="}",N.NAME="Name",N.INT="Int",N.FLOAT="Float",N.STRING="String",N.BLOCK_STRING="BlockString",N.COMMENT="Comment",N}(It||{});class Kn{constructor(m){const P=new Yi.WU(It.SOF,0,0,0,0);this.source=m,this.lastToken=P,this.token=P,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let m=this.token;if(m.kind!==It.EOF)do{if(m.next)m=m.next;else{const P=ro(this,m.end);m.next=P,P.prev=m,m=P}}while(m.kind===It.COMMENT);return m}}function gr(N){return N>=0&&N<=55295||N>=57344&&N<=1114111}function Mi(N,m){return Ti(N.charCodeAt(m))&&ws(N.charCodeAt(m+1))}function Ti(N){return N>=55296&&N<=56319}function ws(N){return N>=56320&&N<=57343}function as(N,m){const P=N.source.body.codePointAt(m);if(void 0===P)return It.EOF;if(P>=32&&P<=126){const V=String.fromCodePoint(P);return'"'===V?"'\"'":`"${V}"`}return"U+"+P.toString(16).toUpperCase().padStart(4,"0")}function Sr(N,m,P,V,W){return new Yi.WU(m,P,V,N.line,1+P-N.lineStart,W)}function ro(N,m){const P=N.source.body,V=P.length;let W=m;for(;W<V;){const me=P.charCodeAt(W);switch(me){case 65279:case 9:case 32:case 44:++W;continue;case 10:++W,++N.line,N.lineStart=W;continue;case 13:10===P.charCodeAt(W+1)?W+=2:++W,++N.line,N.lineStart=W;continue;case 35:return Co(N,W);case 33:return Sr(N,It.BANG,W,W+1);case 36:return Sr(N,It.DOLLAR,W,W+1);case 38:return Sr(N,It.AMP,W,W+1);case 40:return Sr(N,It.PAREN_L,W,W+1);case 41:return Sr(N,It.PAREN_R,W,W+1);case 46:if(46===P.charCodeAt(W+1)&&46===P.charCodeAt(W+2))return Sr(N,It.SPREAD,W,W+3);break;case 58:return Sr(N,It.COLON,W,W+1);case 61:return Sr(N,It.EQUALS,W,W+1);case 64:return Sr(N,It.AT,W,W+1);case 91:return Sr(N,It.BRACKET_L,W,W+1);case 93:return Sr(N,It.BRACKET_R,W,W+1);case 123:return Sr(N,It.BRACE_L,W,W+1);case 124:return Sr(N,It.PIPE,W,W+1);case 125:return Sr(N,It.BRACE_R,W,W+1);case 34:return 34===P.charCodeAt(W+1)&&34===P.charCodeAt(W+2)?Jr(N,W):Wn(N,W)}if((0,Ni.X1)(me)||45===me)return Nr(N,W,me);if((0,Ni.LQ)(me))return ps(N,W);throw Hr(N.source,W,39===me?"Unexpected single quote character ('), did you mean to use a double quote (\")?":gr(me)||Mi(P,W)?`Unexpected character: ${as(N,W)}.`:`Invalid character: ${as(N,W)}.`)}return Sr(N,It.EOF,V,V)}function Co(N,m){const P=N.source.body,V=P.length;let W=m+1;for(;W<V;){const me=P.charCodeAt(W);if(10===me||13===me)break;if(gr(me))++W;else{if(!Mi(P,W))break;W+=2}}return Sr(N,It.COMMENT,m,W,P.slice(m+1,W))}function Nr(N,m,P){const V=N.source.body;let W=m,me=P,We=!1;if(45===me&&(me=V.charCodeAt(++W)),48===me){if(me=V.charCodeAt(++W),(0,Ni.X1)(me))throw Hr(N.source,W,`Invalid number, unexpected digit after 0: ${as(N,W)}.`)}else W=tn(N,W,me),me=V.charCodeAt(W);if(46===me&&(We=!0,me=V.charCodeAt(++W),W=tn(N,W,me),me=V.charCodeAt(W)),(69===me||101===me)&&(We=!0,me=V.charCodeAt(++W),(43===me||45===me)&&(me=V.charCodeAt(++W)),W=tn(N,W,me),me=V.charCodeAt(W)),46===me||(0,Ni.LQ)(me))throw Hr(N.source,W,`Invalid number, expected digit but got: ${as(N,W)}.`);return Sr(N,We?It.FLOAT:It.INT,m,W,V.slice(m,W))}function tn(N,m,P){if(!(0,Ni.X1)(P))throw Hr(N.source,m,`Invalid number, expected digit but got: ${as(N,m)}.`);const V=N.source.body;let W=m+1;for(;(0,Ni.X1)(V.charCodeAt(W));)++W;return W}function Wn(N,m){const P=N.source.body,V=P.length;let W=m+1,me=W,We="";for(;W<V;){const tt=P.charCodeAt(W);if(34===tt)return We+=P.slice(me,W),Sr(N,It.STRING,m,W+1,We);if(92!==tt){if(10===tt||13===tt)break;if(gr(tt))++W;else{if(!Mi(P,W))throw Hr(N.source,W,`Invalid character within String: ${as(N,W)}.`);W+=2}}else{We+=P.slice(me,W);const ct=117===P.charCodeAt(W+1)?123===P.charCodeAt(W+2)?Cr(N,W):Lr(N,W):io(N,W);We+=ct.value,W+=ct.size,me=W}}throw Hr(N.source,W,"Unterminated string.")}function Cr(N,m){const P=N.source.body;let V=0,W=3;for(;W<12;){const me=P.charCodeAt(m+W++);if(125===me){if(W<5||!gr(V))break;return{value:String.fromCodePoint(V),size:W}}if(V=V<<4|Kr(me),V<0)break}throw Hr(N.source,m,`Invalid Unicode escape sequence: "${P.slice(m,m+W)}".`)}function Lr(N,m){const P=N.source.body,V=Ws(P,m+2);if(gr(V))return{value:String.fromCodePoint(V),size:6};if(Ti(V)&&92===P.charCodeAt(m+6)&&117===P.charCodeAt(m+7)){const W=Ws(P,m+8);if(ws(W))return{value:String.fromCodePoint(V,W),size:12}}throw Hr(N.source,m,`Invalid Unicode escape sequence: "${P.slice(m,m+6)}".`)}function Ws(N,m){return Kr(N.charCodeAt(m))<<12|Kr(N.charCodeAt(m+1))<<8|Kr(N.charCodeAt(m+2))<<4|Kr(N.charCodeAt(m+3))}function Kr(N){return N>=48&&N<=57?N-48:N>=65&&N<=70?N-55:N>=97&&N<=102?N-87:-1}function io(N,m){const P=N.source.body;switch(P.charCodeAt(m+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Hr(N.source,m,`Invalid character escape sequence: "${P.slice(m,m+2)}".`)}function Jr(N,m){const P=N.source.body,V=P.length;let W=N.lineStart,me=m+3,We=me,tt="";const ct=[];for(;me<V;){const vt=P.charCodeAt(me);if(34===vt&&34===P.charCodeAt(me+1)&&34===P.charCodeAt(me+2)){tt+=P.slice(We,me),ct.push(tt);const wt=Sr(N,It.BLOCK_STRING,m,me+3,(0,Zi.wv)(ct).join("\n"));return N.line+=ct.length-1,N.lineStart=W,wt}if(92!==vt||34!==P.charCodeAt(me+1)||34!==P.charCodeAt(me+2)||34!==P.charCodeAt(me+3))if(10!==vt&&13!==vt)if(gr(vt))++me;else{if(!Mi(P,me))throw Hr(N.source,me,`Invalid character within String: ${as(N,me)}.`);me+=2}else tt+=P.slice(We,me),ct.push(tt),13===vt&&10===P.charCodeAt(me+1)?me+=2:++me,tt="",We=me,W=me;else tt+=P.slice(We,me),We=me+1,me+=4}throw Hr(N.source,me,"Unterminated string.")}function ps(N,m){const P=N.source.body,V=P.length;let W=m+1;for(;W<V;){const me=P.charCodeAt(W);if(!(0,Ni.HQ)(me))break;++W}return Sr(N,It.NAME,m,W,P.slice(m,W))}var Ss=o(1569),Fn=o(5746);const Cs=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(m,P){return m instanceof P}:function(m,P){if(m instanceof P)return!0;if("object"==typeof m&&null!==m){var V;const W=P.prototype[Symbol.toStringTag];if(W===(Symbol.toStringTag in m?m[Symbol.toStringTag]:null===(V=m.constructor)||void 0===V?void 0:V.name)){const We=(0,Fn.X)(m);throw new Error(`Cannot use ${W} "${We}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class Mo{constructor(m,P="GraphQL request",V={line:1,column:1}){"string"==typeof m||(0,Ss.a)(!1,`Body must be a string. Received: ${(0,Fn.X)(m)}.`),this.body=m,this.name=P,this.locationOffset=V,this.locationOffset.line>0||(0,Ss.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,Ss.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class Ms{constructor(m,P={}){const V=function Ks(N){return Cs(N,Mo)}(m)?m:new Mo(m);this._lexer=new Kn(V),this._options=P,this._tokenCounter=0}parseName(){const m=this.expectToken(It.NAME);return this.node(m,{kind:Ae.h.NAME,value:m.value})}parseDocument(){return this.node(this._lexer.token,{kind:Ae.h.DOCUMENT,definitions:this.many(It.SOF,this.parseDefinition,It.EOF)})}parseDefinition(){if(this.peek(It.BRACE_L))return this.parseOperationDefinition();const m=this.peekDescription(),P=m?this._lexer.lookahead():this._lexer.token;if(P.kind===It.NAME){switch(P.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(m)throw Hr(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(P.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(P)}parseOperationDefinition(){const m=this._lexer.token;if(this.peek(It.BRACE_L))return this.node(m,{kind:Ae.h.OPERATION_DEFINITION,operation:Yi.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const P=this.parseOperationType();let V;return this.peek(It.NAME)&&(V=this.parseName()),this.node(m,{kind:Ae.h.OPERATION_DEFINITION,operation:P,name:V,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const m=this.expectToken(It.NAME);switch(m.value){case"query":return Yi.ku.QUERY;case"mutation":return Yi.ku.MUTATION;case"subscription":return Yi.ku.SUBSCRIPTION}throw this.unexpected(m)}parseVariableDefinitions(){return this.optionalMany(It.PAREN_L,this.parseVariableDefinition,It.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:Ae.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(It.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(It.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const m=this._lexer.token;return this.expectToken(It.DOLLAR),this.node(m,{kind:Ae.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:Ae.h.SELECTION_SET,selections:this.many(It.BRACE_L,this.parseSelection,It.BRACE_R)})}parseSelection(){return this.peek(It.SPREAD)?this.parseFragment():this.parseField()}parseField(){const m=this._lexer.token,P=this.parseName();let V,W;return this.expectOptionalToken(It.COLON)?(V=P,W=this.parseName()):W=P,this.node(m,{kind:Ae.h.FIELD,alias:V,name:W,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(It.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(m){return this.optionalMany(It.PAREN_L,m?this.parseConstArgument:this.parseArgument,It.PAREN_R)}parseArgument(m=!1){const P=this._lexer.token,V=this.parseName();return this.expectToken(It.COLON),this.node(P,{kind:Ae.h.ARGUMENT,name:V,value:this.parseValueLiteral(m)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const m=this._lexer.token;this.expectToken(It.SPREAD);const P=this.expectOptionalKeyword("on");return!P&&this.peek(It.NAME)?this.node(m,{kind:Ae.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(m,{kind:Ae.h.INLINE_FRAGMENT,typeCondition:P?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const m=this._lexer.token;return this.expectKeyword("fragment"),this.node(m,!0===this._options.allowLegacyFragmentVariables?{kind:Ae.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}:{kind:Ae.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(m){const P=this._lexer.token;switch(P.kind){case It.BRACKET_L:return this.parseList(m);case It.BRACE_L:return this.parseObject(m);case It.INT:return this.advanceLexer(),this.node(P,{kind:Ae.h.INT,value:P.value});case It.FLOAT:return this.advanceLexer(),this.node(P,{kind:Ae.h.FLOAT,value:P.value});case It.STRING:case It.BLOCK_STRING:return this.parseStringLiteral();case It.NAME:switch(this.advanceLexer(),P.value){case"true":return this.node(P,{kind:Ae.h.BOOLEAN,value:!0});case"false":return this.node(P,{kind:Ae.h.BOOLEAN,value:!1});case"null":return this.node(P,{kind:Ae.h.NULL});default:return this.node(P,{kind:Ae.h.ENUM,value:P.value})}case It.DOLLAR:if(m){if(this.expectToken(It.DOLLAR),this._lexer.token.kind===It.NAME)throw Hr(this._lexer.source,P.start,`Unexpected variable "$${this._lexer.token.value}" in constant value.`);throw this.unexpected(P)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const m=this._lexer.token;return this.advanceLexer(),this.node(m,{kind:Ae.h.STRING,value:m.value,block:m.kind===It.BLOCK_STRING})}parseList(m){return this.node(this._lexer.token,{kind:Ae.h.LIST,values:this.any(It.BRACKET_L,()=>this.parseValueLiteral(m),It.BRACKET_R)})}parseObject(m){return this.node(this._lexer.token,{kind:Ae.h.OBJECT,fields:this.any(It.BRACE_L,()=>this.parseObjectField(m),It.BRACE_R)})}parseObjectField(m){const P=this._lexer.token,V=this.parseName();return this.expectToken(It.COLON),this.node(P,{kind:Ae.h.OBJECT_FIELD,name:V,value:this.parseValueLiteral(m)})}parseDirectives(m){const P=[];for(;this.peek(It.AT);)P.push(this.parseDirective(m));return P}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(m){const P=this._lexer.token;return this.expectToken(It.AT),this.node(P,{kind:Ae.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(m)})}parseTypeReference(){const m=this._lexer.token;let P;if(this.expectOptionalToken(It.BRACKET_L)){const V=this.parseTypeReference();this.expectToken(It.BRACKET_R),P=this.node(m,{kind:Ae.h.LIST_TYPE,type:V})}else P=this.parseNamedType();return this.expectOptionalToken(It.BANG)?this.node(m,{kind:Ae.h.NON_NULL_TYPE,type:P}):P}parseNamedType(){return this.node(this._lexer.token,{kind:Ae.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(It.STRING)||this.peek(It.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("schema");const V=this.parseConstDirectives(),W=this.many(It.BRACE_L,this.parseOperationTypeDefinition,It.BRACE_R);return this.node(m,{kind:Ae.h.SCHEMA_DEFINITION,description:P,directives:V,operationTypes:W})}parseOperationTypeDefinition(){const m=this._lexer.token,P=this.parseOperationType();this.expectToken(It.COLON);const V=this.parseNamedType();return this.node(m,{kind:Ae.h.OPERATION_TYPE_DEFINITION,operation:P,type:V})}parseScalarTypeDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("scalar");const V=this.parseName(),W=this.parseConstDirectives();return this.node(m,{kind:Ae.h.SCALAR_TYPE_DEFINITION,description:P,name:V,directives:W})}parseObjectTypeDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("type");const V=this.parseName(),W=this.parseImplementsInterfaces(),me=this.parseConstDirectives(),We=this.parseFieldsDefinition();return this.node(m,{kind:Ae.h.OBJECT_TYPE_DEFINITION,description:P,name:V,interfaces:W,directives:me,fields:We})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(It.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(It.BRACE_L,this.parseFieldDefinition,It.BRACE_R)}parseFieldDefinition(){const m=this._lexer.token,P=this.parseDescription(),V=this.parseName(),W=this.parseArgumentDefs();this.expectToken(It.COLON);const me=this.parseTypeReference(),We=this.parseConstDirectives();return this.node(m,{kind:Ae.h.FIELD_DEFINITION,description:P,name:V,arguments:W,type:me,directives:We})}parseArgumentDefs(){return this.optionalMany(It.PAREN_L,this.parseInputValueDef,It.PAREN_R)}parseInputValueDef(){const m=this._lexer.token,P=this.parseDescription(),V=this.parseName();this.expectToken(It.COLON);const W=this.parseTypeReference();let me;this.expectOptionalToken(It.EQUALS)&&(me=this.parseConstValueLiteral());const We=this.parseConstDirectives();return this.node(m,{kind:Ae.h.INPUT_VALUE_DEFINITION,description:P,name:V,type:W,defaultValue:me,directives:We})}parseInterfaceTypeDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("interface");const V=this.parseName(),W=this.parseImplementsInterfaces(),me=this.parseConstDirectives(),We=this.parseFieldsDefinition();return this.node(m,{kind:Ae.h.INTERFACE_TYPE_DEFINITION,description:P,name:V,interfaces:W,directives:me,fields:We})}parseUnionTypeDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("union");const V=this.parseName(),W=this.parseConstDirectives(),me=this.parseUnionMemberTypes();return this.node(m,{kind:Ae.h.UNION_TYPE_DEFINITION,description:P,name:V,directives:W,types:me})}parseUnionMemberTypes(){return this.expectOptionalToken(It.EQUALS)?this.delimitedMany(It.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("enum");const V=this.parseName(),W=this.parseConstDirectives(),me=this.parseEnumValuesDefinition();return this.node(m,{kind:Ae.h.ENUM_TYPE_DEFINITION,description:P,name:V,directives:W,values:me})}parseEnumValuesDefinition(){return this.optionalMany(It.BRACE_L,this.parseEnumValueDefinition,It.BRACE_R)}parseEnumValueDefinition(){const m=this._lexer.token,P=this.parseDescription(),V=this.parseEnumValueName(),W=this.parseConstDirectives();return this.node(m,{kind:Ae.h.ENUM_VALUE_DEFINITION,description:P,name:V,directives:W})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Hr(this._lexer.source,this._lexer.token.start,`${To(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("input");const V=this.parseName(),W=this.parseConstDirectives(),me=this.parseInputFieldsDefinition();return this.node(m,{kind:Ae.h.INPUT_OBJECT_TYPE_DEFINITION,description:P,name:V,directives:W,fields:me})}parseInputFieldsDefinition(){return this.optionalMany(It.BRACE_L,this.parseInputValueDef,It.BRACE_R)}parseTypeSystemExtension(){const m=this._lexer.lookahead();if(m.kind===It.NAME)switch(m.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(m)}parseSchemaExtension(){const m=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const P=this.parseConstDirectives(),V=this.optionalMany(It.BRACE_L,this.parseOperationTypeDefinition,It.BRACE_R);if(0===P.length&&0===V.length)throw this.unexpected();return this.node(m,{kind:Ae.h.SCHEMA_EXTENSION,directives:P,operationTypes:V})}parseScalarTypeExtension(){const m=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const P=this.parseName(),V=this.parseConstDirectives();if(0===V.length)throw this.unexpected();return this.node(m,{kind:Ae.h.SCALAR_TYPE_EXTENSION,name:P,directives:V})}parseObjectTypeExtension(){const m=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const P=this.parseName(),V=this.parseImplementsInterfaces(),W=this.parseConstDirectives(),me=this.parseFieldsDefinition();if(0===V.length&&0===W.length&&0===me.length)throw this.unexpected();return this.node(m,{kind:Ae.h.OBJECT_TYPE_EXTENSION,name:P,interfaces:V,directives:W,fields:me})}parseInterfaceTypeExtension(){const m=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const P=this.parseName(),V=this.parseImplementsInterfaces(),W=this.parseConstDirectives(),me=this.parseFieldsDefinition();if(0===V.length&&0===W.length&&0===me.length)throw this.unexpected();return this.node(m,{kind:Ae.h.INTERFACE_TYPE_EXTENSION,name:P,interfaces:V,directives:W,fields:me})}parseUnionTypeExtension(){const m=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const P=this.parseName(),V=this.parseConstDirectives(),W=this.parseUnionMemberTypes();if(0===V.length&&0===W.length)throw this.unexpected();return this.node(m,{kind:Ae.h.UNION_TYPE_EXTENSION,name:P,directives:V,types:W})}parseEnumTypeExtension(){const m=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const P=this.parseName(),V=this.parseConstDirectives(),W=this.parseEnumValuesDefinition();if(0===V.length&&0===W.length)throw this.unexpected();return this.node(m,{kind:Ae.h.ENUM_TYPE_EXTENSION,name:P,directives:V,values:W})}parseInputObjectTypeExtension(){const m=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const P=this.parseName(),V=this.parseConstDirectives(),W=this.parseInputFieldsDefinition();if(0===V.length&&0===W.length)throw this.unexpected();return this.node(m,{kind:Ae.h.INPUT_OBJECT_TYPE_EXTENSION,name:P,directives:V,fields:W})}parseDirectiveDefinition(){const m=this._lexer.token,P=this.parseDescription();this.expectKeyword("directive"),this.expectToken(It.AT);const V=this.parseName(),W=this.parseArgumentDefs(),me=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const We=this.parseDirectiveLocations();return this.node(m,{kind:Ae.h.DIRECTIVE_DEFINITION,description:P,name:V,arguments:W,repeatable:me,locations:We})}parseDirectiveLocations(){return this.delimitedMany(It.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const m=this._lexer.token,P=this.parseName();if(Object.prototype.hasOwnProperty.call(Ds,P.value))return P;throw this.unexpected(m)}node(m,P){return!0!==this._options.noLocation&&(P.loc=new Yi.Ye(m,this._lexer.lastToken,this._lexer.source)),P}peek(m){return this._lexer.token.kind===m}expectToken(m){const P=this._lexer.token;if(P.kind===m)return this.advanceLexer(),P;throw Hr(this._lexer.source,P.start,`Expected ${cs(m)}, found ${To(P)}.`)}expectOptionalToken(m){return this._lexer.token.kind===m&&(this.advanceLexer(),!0)}expectKeyword(m){const P=this._lexer.token;if(P.kind!==It.NAME||P.value!==m)throw Hr(this._lexer.source,P.start,`Expected "${m}", found ${To(P)}.`);this.advanceLexer()}expectOptionalKeyword(m){const P=this._lexer.token;return P.kind===It.NAME&&P.value===m&&(this.advanceLexer(),!0)}unexpected(m){const P=m??this._lexer.token;return Hr(this._lexer.source,P.start,`Unexpected ${To(P)}.`)}any(m,P,V){this.expectToken(m);const W=[];for(;!this.expectOptionalToken(V);)W.push(P.call(this));return W}optionalMany(m,P,V){if(this.expectOptionalToken(m)){const W=[];do{W.push(P.call(this))}while(!this.expectOptionalToken(V));return W}return[]}many(m,P,V){this.expectToken(m);const W=[];do{W.push(P.call(this))}while(!this.expectOptionalToken(V));return W}delimitedMany(m,P){this.expectOptionalToken(m);const V=[];do{V.push(P.call(this))}while(this.expectOptionalToken(m));return V}advanceLexer(){const{maxTokens:m}=this._options,P=this._lexer.advance();if(void 0!==m&&P.kind!==It.EOF&&(++this._tokenCounter,this._tokenCounter>m))throw Hr(this._lexer.source,P.start,`Document contains more that ${m} tokens. Parsing aborted.`)}}function To(N){const m=N.value;return cs(N.kind)+(null!=m?` "${m}"`:"")}function cs(N){return function xr(N){return N===It.BANG||N===It.DOLLAR||N===It.AMP||N===It.PAREN_L||N===It.PAREN_R||N===It.SPREAD||N===It.COLON||N===It.EQUALS||N===It.AT||N===It.BRACKET_L||N===It.BRACKET_R||N===It.BRACE_L||N===It.PIPE||N===It.BRACE_R}(N)?`"${N}"`:N}var Hi=new Map,ms=new Map,Fs=!0,An=!1;function ua(N){return N.replace(/[\s,]+/g," ").trim()}function oo(N){var m=ua(N);if(!Hi.has(m)){var P=function qr(N,m){return new Ms(N,m).parseDocument()}(N,{experimentalFragmentVariables:An,allowLegacyFragmentVariables:An});if(!P||"Document"!==P.kind)throw new Error("Not a valid GraphQL document.");Hi.set(m,function yi(N){var m=new Set(N.definitions);m.forEach(function(V){V.loc&&delete V.loc,Object.keys(V).forEach(function(W){var me=V[W];me&&"object"==typeof me&&m.add(me)})});var P=N.loc;return P&&(delete P.startToken,delete P.endToken),N}(function Io(N){var m=new Set,P=[];return N.definitions.forEach(function(V){if("FragmentDefinition"===V.kind){var W=V.name.value,me=function ks(N){return ua(N.source.body.substring(N.start,N.end))}(V.loc),We=ms.get(W);We&&!We.has(me)?Fs&&console.warn("Warning: fragment with name "+W+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):We||ms.set(W,We=new Set),We.add(me),m.has(me)||(m.add(me),P.push(V))}else P.push(V)}),(0,U.pi)((0,U.pi)({},N),{definitions:P})}(P)))}return Hi.get(m)}function Ii(N){for(var m=[],P=1;P<arguments.length;P++)m[P-1]=arguments[P];"string"==typeof N&&(N=[N]);var V=N[0];return m.forEach(function(W,me){V+=W&&"Document"===W.kind?W.loc.source.body:W,V+=N[me+1]}),oo(V)}var N,Vr_gql=Ii;(N=Ii||(Ii={})).gql=Vr_gql,N.resetCaches=function Ji(){Hi.clear(),ms.clear()},N.disableFragmentWarnings=function _i(){Fs=!1},N.enableExperimentalFragmentVariables=function dc(){An=!0},N.disableExperimentalFragmentVariables=function ii(){An=!1},Ii.default=Ii;var vs=o(7398),$s=o(7921),ai=o(3093);function Qs(N){return new w.y(m=>(N().then(P=>{m.closed||(m.next(P),m.complete())},P=>{m.closed||m.error(P)}),()=>m.unsubscribe()))}class Ha{constructor(m){(0,c.Z)(this,"zone",void 0),(0,c.Z)(this,"now",Date.now?Date.now:()=>+new Date),this.zone=m}schedule(m,P=0,V){return this.zone.run(()=>h.schedule(m,P,V))}}function la(N){return N[T.L]=()=>N,N}function Qo(N,m){return N.pipe((0,ai.Q)(new Ha(m)))}function da(N,m,P){return N&&typeof N[m]<"u"?N[m]:P}class Uc{constructor(m,P,V){(0,c.Z)(this,"obsQuery",void 0),(0,c.Z)(this,"valueChanges",void 0),(0,c.Z)(this,"queryId",void 0),this.obsQuery=m;const W=Qo((0,$.D)(la(this.obsQuery)),P);this.valueChanges=V.useInitialLoading?W.pipe(function fa(N){return function(P){return new w.y(function(W){const me=N.getCurrentResult(),{loading:We,errors:tt,error:ct,partial:vt,data:wt}=me,{partialRefetch:Pt,fetchPolicy:Tt}=N.options,Lt=tt||ct;return Pt&&vt&&(!wt||0===Object.keys(wt).length)&&"cache-only"!==Tt&&!We&&!Lt&&W.next({...me,loading:!0,networkStatus:x.loading}),P.subscribe(W)})}}(this.obsQuery)):W,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(m){return this.obsQuery.refetch(m)}fetchMore(m){return this.obsQuery.fetchMore(m)}subscribeToMore(m){return this.obsQuery.subscribeToMore(m)}updateQuery(m){return this.obsQuery.updateQuery(m)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(m){return this.obsQuery.startPolling(m)}setOptions(m){return this.obsQuery.setOptions(m)}setVariables(m){return this.obsQuery.setVariables(m)}}const Va=new _.OlP("APOLLO_FLAGS"),$r=new _.OlP("APOLLO_OPTIONS"),ao=new _.OlP("APOLLO_NAMED_OPTIONS");class Yo{constructor(m,P,V){(0,c.Z)(this,"ngZone",void 0),(0,c.Z)(this,"flags",void 0),(0,c.Z)(this,"_client",void 0),(0,c.Z)(this,"useInitialLoading",void 0),(0,c.Z)(this,"useMutationLoading",void 0),this.ngZone=m,this.flags=P,this._client=V,this.useInitialLoading=da(P,"useInitialLoading",!1),this.useMutationLoading=da(P,"useMutationLoading",!1)}watchQuery(m){return new Uc(this.ensureClient().watchQuery({...m}),this.ngZone,{useInitialLoading:this.useInitialLoading,...m})}query(m){return Qs(()=>this.ensureClient().query({...m}))}mutate(m){return function Ao(N,m){return m?N.pipe((0,$s.O)({loading:!0}),(0,vs.U)(P=>({...P,loading:!!P.loading}))):N.pipe((0,vs.U)(P=>({...P,loading:!1})))}(Qs(()=>this.ensureClient().mutate({...m})),m.useMutationLoading??this.useMutationLoading)}subscribe(m,P){const V=(0,$.D)(la(this.ensureClient().subscribe({...m})));return P&&!0!==P.useZone?V:Qo(V,this.ngZone)}getClient(){return this.client}setClient(m){this.client=m}get client(){return this._client}set client(m){if(this._client)throw new Error("Client has been already defined");this._client=m}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let ha=(()=>{var N;class m extends Yo{constructor(V,W,me,We){if(super(V,We),(0,c.Z)(this,"_ngZone",void 0),(0,c.Z)(this,"map",new Map),this._ngZone=V,W&&this.createDefault(W),me&&"object"==typeof me)for(let tt in me)me.hasOwnProperty(tt)&&this.create(me[tt],tt)}create(V,W){za(W)?this.createDefault(V):this.createNamed(W,V)}default(){return this}use(V){return za(V)?this.default():this.map.get(V)}createDefault(V){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new to(V))}createNamed(V,W){if(this.map.has(V))throw new Error(`Client ${V} has been already created`);this.map.set(V,new Yo(this._ngZone,this.flags,new to(W)))}removeClient(V){za(V)?this._client=void 0:this.map.delete(V)}}return N=m,(0,c.Z)(m,"\u0275fac",function(V){return new(V||N)(_.LFG(_.R0b),_.LFG($r,8),_.LFG(ao,8),_.LFG(Va,8))}),(0,c.Z)(m,"\u0275prov",_.Yz7({token:N,factory:N.\u0275fac})),m})();function za(N){return!N||"default"===N}const fc=[ha];let hc=(()=>{var N;class m{}return N=m,(0,c.Z)(m,"\u0275fac",function(V){return new(V||N)}),(0,c.Z)(m,"\u0275mod",_.oAB({type:N})),(0,c.Z)(m,"\u0275inj",_.cJS({providers:fc})),m})();const ga=function pa(N,...m){return Ii(N,...m)}},1569:(ie,Q,o)=>{"use strict";function c(_,w){if(!_)throw new Error(w)}o.d(Q,{a:()=>c})},5746:(ie,Q,o)=>{"use strict";o.d(Q,{X:()=>w});const c=10,_=2;function w(T){return C(T,[])}function C(T,$){switch(typeof T){case"string":return JSON.stringify(T);case"function":return T.name?`[function ${T.name}]`:"[function]";case"object":return function E(T,$){if(null===T)return"null";if($.includes(T))return"[Circular]";const x=[...$,T];if(function g(T){return"function"==typeof T.toJSON}(T)){const J=T.toJSON();if(J!==T)return"string"==typeof J?J:C(J,x)}else if(Array.isArray(T))return function h(T,$){if(0===T.length)return"[]";if($.length>_)return"[Array]";const x=Math.min(c,T.length),J=T.length-x,te=[];for(let U=0;U<x;++U)te.push(C(T[U],$));return 1===J?te.push("... 1 more item"):J>1&&te.push(`... ${J} more items`),"["+te.join(", ")+"]"}(T,x);return function p(T,$){const x=Object.entries(T);return 0===x.length?"{}":$.length>_?"["+function F(T){const $=Object.prototype.toString.call(T).replace(/^\[object /,"").replace(/]$/,"");if("Object"===$&&"function"==typeof T.constructor){const x=T.constructor.name;if("string"==typeof x&&""!==x)return x}return $}(T)+"]":"{ "+x.map(([te,U])=>te+": "+C(U,$)).join(", ")+" }"}(T,x)}(T,$);default:return String(T)}}},2236:(ie,Q,o)=>{"use strict";o.d(Q,{UG:()=>E,WU:()=>_,Ye:()=>c,h8:()=>w,ku:()=>g});class c{constructor(h,F,T){this.start=h.start,this.end=F.end,this.startToken=h,this.endToken=F,this.source=T}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class _{constructor(h,F,T,$,x,J){this.kind=h,this.start=F,this.end=T,this.line=$,this.column=x,this.value=J,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const w={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},C=new Set(Object.keys(w));function E(p){const h=p?.kind;return"string"==typeof h&&C.has(h)}var g=function(p){return p.QUERY="query",p.MUTATION="mutation",p.SUBSCRIPTION="subscription",p}(g||{})},7571:(ie,Q,o)=>{"use strict";o.d(Q,{LZ:()=>E,wv:()=>_});var c=o(7116);function _(g){var p;let h=Number.MAX_SAFE_INTEGER,F=null,T=-1;for(let x=0;x<g.length;++x){var $;const J=g[x],te=w(J);te!==J.length&&(F=null!==($=F)&&void 0!==$?$:x,T=x,0!==x&&te<h&&(h=te))}return g.map((x,J)=>0===J?x:x.slice(h)).slice(null!==(p=F)&&void 0!==p?p:0,T+1)}function w(g){let p=0;for(;p<g.length&&(0,c.FD)(g.charCodeAt(p));)++p;return p}function E(g,p){const h=g.replace(/"""/g,'\\"""'),F=h.split(/\r\n|[\n\r]/g),T=1===F.length,$=F.length>1&&F.slice(1).every(we=>0===we.length||(0,c.FD)(we.charCodeAt(0))),x=h.endsWith('\\"""'),J=g.endsWith('"')&&!x,te=g.endsWith("\\"),U=J||te,ee=!(null!=p&&p.minimize)&&(!T||g.length>70||U||$||x);let de="";const le=T&&(0,c.FD)(g.charCodeAt(0));return(ee&&!le||$)&&(de+="\n"),de+=h,(ee||U)&&(de+="\n"),'"""'+de+'"""'}},7116:(ie,Q,o)=>{"use strict";function c(g){return 9===g||32===g}function _(g){return g>=48&&g<=57}function w(g){return g>=97&&g<=122||g>=65&&g<=90}function C(g){return w(g)||95===g}function E(g){return w(g)||_(g)||95===g}o.d(Q,{FD:()=>c,HQ:()=>E,LQ:()=>C,X1:()=>_})},5560:(ie,Q,o)=>{"use strict";o.d(Q,{h:()=>c});var c=function(_){return _.NAME="Name",_.DOCUMENT="Document",_.OPERATION_DEFINITION="OperationDefinition",_.VARIABLE_DEFINITION="VariableDefinition",_.SELECTION_SET="SelectionSet",_.FIELD="Field",_.ARGUMENT="Argument",_.FRAGMENT_SPREAD="FragmentSpread",_.INLINE_FRAGMENT="InlineFragment",_.FRAGMENT_DEFINITION="FragmentDefinition",_.VARIABLE="Variable",_.INT="IntValue",_.FLOAT="FloatValue",_.STRING="StringValue",_.BOOLEAN="BooleanValue",_.NULL="NullValue",_.ENUM="EnumValue",_.LIST="ListValue",_.OBJECT="ObjectValue",_.OBJECT_FIELD="ObjectField",_.DIRECTIVE="Directive",_.NAMED_TYPE="NamedType",_.LIST_TYPE="ListType",_.NON_NULL_TYPE="NonNullType",_.SCHEMA_DEFINITION="SchemaDefinition",_.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",_.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",_.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",_.FIELD_DEFINITION="FieldDefinition",_.INPUT_VALUE_DEFINITION="InputValueDefinition",_.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",_.UNION_TYPE_DEFINITION="UnionTypeDefinition",_.ENUM_TYPE_DEFINITION="EnumTypeDefinition",_.ENUM_VALUE_DEFINITION="EnumValueDefinition",_.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",_.DIRECTIVE_DEFINITION="DirectiveDefinition",_.SCHEMA_EXTENSION="SchemaExtension",_.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",_.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",_.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",_.UNION_TYPE_EXTENSION="UnionTypeExtension",_.ENUM_TYPE_EXTENSION="EnumTypeExtension",_.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",_}(c||{})},86:(ie,Q,o)=>{"use strict";o.d(Q,{S:()=>p});var c=o(7571);const w=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function C(U){return E[U.charCodeAt(0)]}const E=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var g=o(8016);function p(U){return(0,g.Vn)(U,F)}const F={Name:{leave:U=>U.value},Variable:{leave:U=>"$"+U.name},Document:{leave:U=>T(U.definitions,"\n\n")},OperationDefinition:{leave(U){const ee=x("(",T(U.variableDefinitions,", "),")"),de=T([U.operation,T([U.name,ee]),T(U.directives," ")]," ");return("query"===de?"":de+" ")+U.selectionSet}},VariableDefinition:{leave:({variable:U,type:ee,defaultValue:de,directives:le})=>U+": "+ee+x(" = ",de)+x(" ",T(le," "))},SelectionSet:{leave:({selections:U})=>$(U)},Field:{leave({alias:U,name:ee,arguments:de,directives:le,selectionSet:we}){const Ne=x("",U,": ")+ee;let q=Ne+x("(",T(de,", "),")");return q.length>80&&(q=Ne+x("(\n",J(T(de,"\n")),"\n)")),T([q,T(le," "),we]," ")}},Argument:{leave:({name:U,value:ee})=>U+": "+ee},FragmentSpread:{leave:({name:U,directives:ee})=>"..."+U+x(" ",T(ee," "))},InlineFragment:{leave:({typeCondition:U,directives:ee,selectionSet:de})=>T(["...",x("on ",U),T(ee," "),de]," ")},FragmentDefinition:{leave:({name:U,typeCondition:ee,variableDefinitions:de,directives:le,selectionSet:we})=>`fragment ${U}${x("(",T(de,", "),")")} on ${ee} ${x("",T(le," ")," ")}`+we},IntValue:{leave:({value:U})=>U},FloatValue:{leave:({value:U})=>U},StringValue:{leave:({value:U,block:ee})=>ee?(0,c.LZ)(U):function _(U){return`"${U.replace(w,C)}"`}(U)},BooleanValue:{leave:({value:U})=>U?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:U})=>U},ListValue:{leave:({values:U})=>"["+T(U,", ")+"]"},ObjectValue:{leave:({fields:U})=>"{"+T(U,", ")+"}"},ObjectField:{leave:({name:U,value:ee})=>U+": "+ee},Directive:{leave:({name:U,arguments:ee})=>"@"+U+x("(",T(ee,", "),")")},NamedType:{leave:({name:U})=>U},ListType:{leave:({type:U})=>"["+U+"]"},NonNullType:{leave:({type:U})=>U+"!"},SchemaDefinition:{leave:({description:U,directives:ee,operationTypes:de})=>x("",U,"\n")+T(["schema",T(ee," "),$(de)]," ")},OperationTypeDefinition:{leave:({operation:U,type:ee})=>U+": "+ee},ScalarTypeDefinition:{leave:({description:U,name:ee,directives:de})=>x("",U,"\n")+T(["scalar",ee,T(de," ")]," ")},ObjectTypeDefinition:{leave:({description:U,name:ee,interfaces:de,directives:le,fields:we})=>x("",U,"\n")+T(["type",ee,x("implements ",T(de," & ")),T(le," "),$(we)]," ")},FieldDefinition:{leave:({description:U,name:ee,arguments:de,type:le,directives:we})=>x("",U,"\n")+ee+(te(de)?x("(\n",J(T(de,"\n")),"\n)"):x("(",T(de,", "),")"))+": "+le+x(" ",T(we," "))},InputValueDefinition:{leave:({description:U,name:ee,type:de,defaultValue:le,directives:we})=>x("",U,"\n")+T([ee+": "+de,x("= ",le),T(we," ")]," ")},InterfaceTypeDefinition:{leave:({description:U,name:ee,interfaces:de,directives:le,fields:we})=>x("",U,"\n")+T(["interface",ee,x("implements ",T(de," & ")),T(le," "),$(we)]," ")},UnionTypeDefinition:{leave:({description:U,name:ee,directives:de,types:le})=>x("",U,"\n")+T(["union",ee,T(de," "),x("= ",T(le," | "))]," ")},EnumTypeDefinition:{leave:({description:U,name:ee,directives:de,values:le})=>x("",U,"\n")+T(["enum",ee,T(de," "),$(le)]," ")},EnumValueDefinition:{leave:({description:U,name:ee,directives:de})=>x("",U,"\n")+T([ee,T(de," ")]," ")},InputObjectTypeDefinition:{leave:({description:U,name:ee,directives:de,fields:le})=>x("",U,"\n")+T(["input",ee,T(de," "),$(le)]," ")},DirectiveDefinition:{leave:({description:U,name:ee,arguments:de,repeatable:le,locations:we})=>x("",U,"\n")+"directive @"+ee+(te(de)?x("(\n",J(T(de,"\n")),"\n)"):x("(",T(de,", "),")"))+(le?" repeatable":"")+" on "+T(we," | ")},SchemaExtension:{leave:({directives:U,operationTypes:ee})=>T(["extend schema",T(U," "),$(ee)]," ")},ScalarTypeExtension:{leave:({name:U,directives:ee})=>T(["extend scalar",U,T(ee," ")]," ")},ObjectTypeExtension:{leave:({name:U,interfaces:ee,directives:de,fields:le})=>T(["extend type",U,x("implements ",T(ee," & ")),T(de," "),$(le)]," ")},InterfaceTypeExtension:{leave:({name:U,interfaces:ee,directives:de,fields:le})=>T(["extend interface",U,x("implements ",T(ee," & ")),T(de," "),$(le)]," ")},UnionTypeExtension:{leave:({name:U,directives:ee,types:de})=>T(["extend union",U,T(ee," "),x("= ",T(de," | "))]," ")},EnumTypeExtension:{leave:({name:U,directives:ee,values:de})=>T(["extend enum",U,T(ee," "),$(de)]," ")},InputObjectTypeExtension:{leave:({name:U,directives:ee,fields:de})=>T(["extend input",U,T(ee," "),$(de)]," ")}};function T(U,ee=""){var de;return null!==(de=U?.filter(le=>le).join(ee))&&void 0!==de?de:""}function $(U){return x("{\n",J(T(U,"\n")),"\n}")}function x(U,ee,de=""){return null!=ee&&""!==ee?U+ee+de:""}function J(U){return x("  ",U.replace(/\n/g,"\n  "))}function te(U){var ee;return null!==(ee=U?.some(de=>de.includes("\n")))&&void 0!==ee&&ee}},8016:(ie,Q,o)=>{"use strict";o.d(Q,{$_:()=>E,Vn:()=>g});var c=o(1569),_=o(5746),w=o(2236),C=o(5560);const E=Object.freeze({});function g(T,$,x=w.h8){const J=new Map;for(const re of Object.values(C.h))J.set(re,h($,re));let te,Ne,q,U=Array.isArray(T),ee=[T],de=-1,le=[],we=T;const se=[],oe=[];do{de++;const re=de===ee.length,ne=re&&0!==le.length;if(re){if(Ne=0===oe.length?void 0:se[se.length-1],we=q,q=oe.pop(),ne)if(U){we=we.slice();let je=0;for(const[Ge,Le]of le){const Se=Ge-je;null===Le?(we.splice(Se,1),je++):we[Se]=Le}}else{we=Object.defineProperties({},Object.getOwnPropertyDescriptors(we));for(const[je,Ge]of le)we[je]=Ge}de=te.index,ee=te.keys,le=te.edits,U=te.inArray,te=te.prev}else if(q){if(Ne=U?de:ee[de],we=q[Ne],null==we)continue;se.push(Ne)}let ve;if(!Array.isArray(we)){var fe,he;(0,w.UG)(we)||(0,c.a)(!1,`Invalid AST Node: ${(0,_.X)(we)}.`);const je=re?null===(fe=J.get(we.kind))||void 0===fe?void 0:fe.leave:null===(he=J.get(we.kind))||void 0===he?void 0:he.enter;if(ve=je?.call($,we,Ne,q,se,oe),ve===E)break;if(!1===ve){if(!re){se.pop();continue}}else if(void 0!==ve&&(le.push([Ne,ve]),!re)){if(!(0,w.UG)(ve)){se.pop();continue}we=ve}}var _e;void 0===ve&&ne&&le.push([Ne,we]),re?se.pop():(te={inArray:U,index:de,keys:ee,edits:le,prev:te},U=Array.isArray(we),ee=U?we:null!==(_e=x[we.kind])&&void 0!==_e?_e:[],de=-1,le=[],q&&oe.push(q),q=we)}while(void 0!==te);return 0!==le.length?le[le.length-1][1]:T}function h(T,$){const x=T[$];return"object"==typeof x?x:"function"==typeof x?{enter:x,leave:void 0}:{enter:T.enter,leave:T.leave}}},4633:(ie,Q,o)=>{"use strict";o.d(Q,{g7:()=>ee,dP:()=>Bn,re:()=>Xr});const c=()=>Object.create(null),{forEach:_,slice:w}=Array.prototype,{hasOwnProperty:C}=Object.prototype;class E{constructor(Mt=!0,Nt=c){this.weakness=Mt,this.makeData=Nt}lookup(...Mt){return this.lookupArray(Mt)}lookupArray(Mt){let Nt=this;return _.call(Mt,kt=>Nt=Nt.getChildTrie(kt)),C.call(Nt,"data")?Nt.data:Nt.data=this.makeData(w.call(Mt))}peek(...Mt){return this.peekArray(Mt)}peekArray(Mt){let Nt=this;for(let kt=0,He=Mt.length;Nt&&kt<He;++kt){const ht=this.weakness&&g(Mt[kt])?Nt.weak:Nt.strong;Nt=ht&&ht.get(Mt[kt])}return Nt&&Nt.data}getChildTrie(Mt){const Nt=this.weakness&&g(Mt)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let kt=Nt.get(Mt);return kt||Nt.set(Mt,kt=new E(this.weakness,this.makeData)),kt}}function g(lt){switch(typeof lt){case"object":if(null===lt)break;case"function":return!0}return!1}var p=o(2733);let h=null;const F={};let T=1;function x(lt){try{return lt()}catch{}}const J="@wry/context:Slot",U=x(()=>globalThis)||x(()=>global)||Object.create(null),ee=U[J]||Array[J]||function(lt){try{Object.defineProperty(U,J,{value:lt,enumerable:!1,writable:!1,configurable:!0})}finally{return lt}}(class{constructor(){this.id=["slot",T++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let Mt=h;Mt;Mt=Mt.parent)if(this.id in Mt.slots){const Nt=Mt.slots[this.id];if(Nt===F)break;return Mt!==h&&(h.slots[this.id]=Nt),!0}return h&&(h.slots[this.id]=F),!1}getValue(){if(this.hasValue())return h.slots[this.id]}withValue(Mt,Nt,kt,He){const qt=h;h={parent:qt,slots:{__proto__:null,[this.id]:Mt}};try{return Nt.apply(He,kt)}finally{h=qt}}static bind(Mt){const Nt=h;return function(){const kt=h;try{return h=Nt,Mt.apply(this,arguments)}finally{h=kt}}}static noContext(Mt,Nt,kt){if(!h)return Mt.apply(kt,Nt);{const He=h;try{return h=null,Mt.apply(kt,Nt)}finally{h=He}}}}),fe=new ee,{hasOwnProperty:_e}=Object.prototype,re=Array.from||function(lt){const Mt=[];return lt.forEach(Nt=>Mt.push(Nt)),Mt};function ne(lt){const{unsubscribe:Mt}=lt;"function"==typeof Mt&&(lt.unsubscribe=void 0,Mt())}const ve=[],je=100;function Ge(lt,Mt){if(!lt)throw new Error(Mt||"assertion failure")}function Le(lt,Mt){const Nt=lt.length;return Nt>0&&Nt===Mt.length&&lt[Nt-1]===Mt[Nt-1]}function Se(lt){switch(lt.length){case 0:throw new Error("unknown value");case 1:return lt[0];case 2:throw lt[1]}}function ze(lt){return lt.slice(0)}let Ee=(()=>{class lt{constructor(Nt){this.fn=Nt,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++lt.count}peek(){if(1===this.value.length&&!Ue(this))return be(this),this.value[0]}recompute(Nt){return Ge(!this.recomputing,"already recomputing"),be(this),Ue(this)?function xe(lt,Mt){return an(lt),fe.withValue(lt,Ve,[lt,Mt]),function lr(lt,Mt){if("function"==typeof lt.subscribe)try{ne(lt),lt.unsubscribe=lt.subscribe.apply(null,Mt)}catch{return lt.setDirty(),!1}return!0}(lt,Mt)&&function st(lt){lt.dirty=!1,!Ue(lt)&&dt(lt)}(lt),Se(lt.value)}(this,Nt):Se(this.value)}setDirty(){this.dirty||(this.dirty=!0,Xe(this),ne(this))}dispose(){this.setDirty(),an(this),pt(this,(Nt,kt)=>{Nt.setDirty(),$n(Nt,this)})}forget(){this.dispose()}dependOn(Nt){Nt.add(this),this.deps||(this.deps=ve.pop()||new Set),this.deps.add(Nt)}forgetDeps(){this.deps&&(re(this.deps).forEach(Nt=>Nt.delete(this)),this.deps.clear(),ve.push(this.deps),this.deps=null)}}return lt.count=0,lt})();function be(lt){const Mt=fe.getValue();if(Mt)return lt.parents.add(Mt),Mt.childValues.has(lt)||Mt.childValues.set(lt,[]),Ue(lt)?ln(Mt,lt):rn(Mt,lt),Mt}function Ve(lt,Mt){lt.recomputing=!0;const{normalizeResult:Nt}=lt;let kt;Nt&&1===lt.value.length&&(kt=ze(lt.value)),lt.value.length=0;try{if(lt.value[0]=lt.fn.apply(null,Mt),Nt&&kt&&!Le(kt,lt.value))try{lt.value[0]=Nt(lt.value[0],kt[0])}catch{}}catch(He){lt.value[1]=He}lt.recomputing=!1}function Ue(lt){return lt.dirty||!(!lt.dirtyChildren||!lt.dirtyChildren.size)}function Xe(lt){pt(lt,ln)}function dt(lt){pt(lt,rn)}function pt(lt,Mt){const Nt=lt.parents.size;if(Nt){const kt=re(lt.parents);for(let He=0;He<Nt;++He)Mt(kt[He],lt)}}function ln(lt,Mt){Ge(lt.childValues.has(Mt)),Ge(Ue(Mt));const Nt=!Ue(lt);if(lt.dirtyChildren){if(lt.dirtyChildren.has(Mt))return}else lt.dirtyChildren=ve.pop()||new Set;lt.dirtyChildren.add(Mt),Nt&&Xe(lt)}function rn(lt,Mt){Ge(lt.childValues.has(Mt)),Ge(!Ue(Mt));const Nt=lt.childValues.get(Mt);0===Nt.length?lt.childValues.set(Mt,ze(Mt.value)):Le(Nt,Mt.value)||lt.setDirty(),bn(lt,Mt),!Ue(lt)&&dt(lt)}function bn(lt,Mt){const Nt=lt.dirtyChildren;Nt&&(Nt.delete(Mt),0===Nt.size&&(ve.length<je&&ve.push(Nt),lt.dirtyChildren=null))}function an(lt){lt.childValues.size>0&&lt.childValues.forEach((Mt,Nt)=>{$n(lt,Nt)}),lt.forgetDeps(),Ge(null===lt.dirtyChildren)}function $n(lt,Mt){Mt.parents.delete(lt),lt.childValues.delete(Mt),bn(lt,Mt)}const fr={setDirty:!0,dispose:!0,forget:!0};function Bn(lt){const Mt=new Map,Nt=lt&&lt.subscribe;function kt(He){const ht=fe.getValue();if(ht){let qt=Mt.get(He);qt||Mt.set(He,qt=new Set),ht.dependOn(qt),"function"==typeof Nt&&(ne(qt),qt.unsubscribe=Nt(He))}}return kt.dirty=function(ht,qt){const Et=Mt.get(ht);if(Et){const Jt=qt&&_e.call(fr,qt)?qt:"setDirty";re(Et).forEach(zt=>zt[Jt]()),Mt.delete(ht),ne(Et)}},kt}let Ar;function Ur(...lt){return(Ar||(Ar=new E("function"==typeof WeakMap))).lookupArray(lt)}const ni=new Set;function Xr(lt,{max:Mt=Math.pow(2,16),keyArgs:Nt,makeCacheKey:kt=Ur,normalizeResult:He,subscribe:ht,cache:qt=p.e}=Object.create(null)){const Et="function"==typeof qt?new qt(Mt,Zt=>Zt.dispose()):qt,Jt=function(){const Zt=kt.apply(null,Nt?Nt.apply(null,arguments):arguments);if(void 0===Zt)return lt.apply(null,arguments);let wr=Et.get(Zt);wr||(Et.set(Zt,wr=new Ee(lt)),wr.normalizeResult=He,wr.subscribe=ht,wr.forget=()=>Et.delete(Zt));const zn=wr.recompute(Array.prototype.slice.call(arguments));return Et.set(Zt,wr),ni.add(Et),fe.hasValue()||(ni.forEach(In=>In.clean()),ni.clear()),zn};function zt(Zt){const wr=Zt&&Et.get(Zt);wr&&wr.setDirty()}function Ln(Zt){const wr=Zt&&Et.get(Zt);if(wr)return wr.peek()}function Dn(Zt){return!!Zt&&Et.delete(Zt)}return Object.defineProperty(Jt,"size",{get:()=>Et.size,configurable:!1,enumerable:!1}),Object.freeze(Jt.options={max:Mt,keyArgs:Nt,makeCacheKey:kt,normalizeResult:He,subscribe:ht,cache:Et}),Jt.dirtyKey=zt,Jt.dirty=function(){zt(kt.apply(null,arguments))},Jt.peekKey=Ln,Jt.peek=function(){return Ln(kt.apply(null,arguments))},Jt.forgetKey=Dn,Jt.forget=function(){return Dn(kt.apply(null,arguments))},Jt.makeCacheKey=kt,Jt.getKey=Nt?function(){return kt.apply(null,Nt.apply(null,arguments))}:kt,Object.freeze(Jt)}},7619:(ie,Q,o)=>{"use strict";function w(he,_e){(null==_e||_e>he.length)&&(_e=he.length);for(var re=0,ne=new Array(_e);re<_e;re++)ne[re]=he[re];return ne}function C(he,_e){for(var re=0;re<_e.length;re++){var ne=_e[re];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(he,ne.key,ne)}}function E(he,_e,re){return _e&&C(he.prototype,_e),re&&C(he,re),Object.defineProperty(he,"prototype",{writable:!1}),he}o.d(Q,{y:()=>fe});var g=function(){return"function"==typeof Symbol},p=function(he){return g()&&!!Symbol[he]},h=function(he){return p(he)?Symbol[he]:"@@"+he};g()&&!p("observable")&&(Symbol.observable=Symbol("observable"));var F=h("iterator"),T=h("observable"),$=h("species");function x(he,_e){var re=he[_e];if(null!=re){if("function"!=typeof re)throw new TypeError(re+" is not a function");return re}}function J(he){var _e=he.constructor;return void 0!==_e&&null===(_e=_e[$])&&(_e=void 0),void 0!==_e?_e:fe}function U(he){U.log?U.log(he):setTimeout(function(){throw he})}function ee(he){Promise.resolve().then(function(){try{he()}catch(_e){U(_e)}})}function de(he){var _e=he._cleanup;if(void 0!==_e&&(he._cleanup=void 0,_e))try{if("function"==typeof _e)_e();else{var re=x(_e,"unsubscribe");re&&re.call(_e)}}catch(ne){U(ne)}}function le(he){he._observer=void 0,he._queue=void 0,he._state="closed"}function Ne(he,_e,re){he._state="running";var ne=he._observer;try{var ve=x(ne,_e);switch(_e){case"next":ve&&ve.call(ne,re);break;case"error":if(le(he),!ve)throw re;ve.call(ne,re);break;case"complete":le(he),ve&&ve.call(ne)}}catch(je){U(je)}"closed"===he._state?de(he):"running"===he._state&&(he._state="ready")}function q(he,_e,re){if("closed"!==he._state){if("buffering"===he._state)return void he._queue.push({type:_e,value:re});if("ready"!==he._state)return he._state="buffering",he._queue=[{type:_e,value:re}],void ee(function(){return function we(he){var _e=he._queue;if(_e){he._queue=void 0,he._state="ready";for(var re=0;re<_e.length&&(Ne(he,_e[re].type,_e[re].value),"closed"!==he._state);++re);}}(he)});Ne(he,_e,re)}}var se=function(){function he(re,ne){this._cleanup=void 0,this._observer=re,this._queue=void 0,this._state="initializing";var ve=new oe(this);try{this._cleanup=ne.call(void 0,ve)}catch(je){ve.error(je)}"initializing"===this._state&&(this._state="ready")}return he.prototype.unsubscribe=function(){"closed"!==this._state&&(le(this),de(this))},E(he,[{key:"closed",get:function(){return"closed"===this._state}}]),he}(),oe=function(){function he(re){this._subscription=re}var _e=he.prototype;return _e.next=function(ne){q(this._subscription,"next",ne)},_e.error=function(ne){q(this._subscription,"error",ne)},_e.complete=function(){q(this._subscription,"complete")},E(he,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),he}(),fe=function(){function he(re){if(!(this instanceof he))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof re)throw new TypeError("Observable initializer must be a function");this._subscriber=re}var _e=he.prototype;return _e.subscribe=function(ne){return("object"!=typeof ne||null===ne)&&(ne={next:ne,error:arguments[1],complete:arguments[2]}),new se(ne,this._subscriber)},_e.forEach=function(ne){var ve=this;return new Promise(function(je,Ge){if("function"==typeof ne)var Se=ve.subscribe({next:function(ze){try{ne(ze,Le)}catch(Ee){Ge(Ee),Se.unsubscribe()}},error:Ge,complete:je});else Ge(new TypeError(ne+" is not a function"));function Le(){Se.unsubscribe(),je()}})},_e.map=function(ne){var ve=this;if("function"!=typeof ne)throw new TypeError(ne+" is not a function");return new(J(this))(function(Ge){return ve.subscribe({next:function(Le){try{Le=ne(Le)}catch(Se){return Ge.error(Se)}Ge.next(Le)},error:function(Le){Ge.error(Le)},complete:function(){Ge.complete()}})})},_e.filter=function(ne){var ve=this;if("function"!=typeof ne)throw new TypeError(ne+" is not a function");return new(J(this))(function(Ge){return ve.subscribe({next:function(Le){try{if(!ne(Le))return}catch(Se){return Ge.error(Se)}Ge.next(Le)},error:function(Le){Ge.error(Le)},complete:function(){Ge.complete()}})})},_e.reduce=function(ne){var ve=this;if("function"!=typeof ne)throw new TypeError(ne+" is not a function");var je=J(this),Ge=arguments.length>1,Le=!1,ze=arguments[1];return new je(function(Ee){return ve.subscribe({next:function(be){var xe=!Le;if(Le=!0,!xe||Ge)try{ze=ne(ze,be)}catch(Ve){return Ee.error(Ve)}else ze=be},error:function(be){Ee.error(be)},complete:function(){if(!Le&&!Ge)return Ee.error(new TypeError("Cannot reduce an empty sequence"));Ee.next(ze),Ee.complete()}})})},_e.concat=function(){for(var ne=this,ve=arguments.length,je=new Array(ve),Ge=0;Ge<ve;Ge++)je[Ge]=arguments[Ge];var Le=J(this);return new Le(function(Se){var ze,Ee=0;return function be(xe){ze=xe.subscribe({next:function(Ve){Se.next(Ve)},error:function(Ve){Se.error(Ve)},complete:function(){Ee===je.length?(ze=void 0,Se.complete()):be(Le.from(je[Ee++]))}})}(ne),function(){ze&&(ze.unsubscribe(),ze=void 0)}})},_e.flatMap=function(ne){var ve=this;if("function"!=typeof ne)throw new TypeError(ne+" is not a function");var je=J(this);return new je(function(Ge){var Le=[],Se=ve.subscribe({next:function(Ee){if(ne)try{Ee=ne(Ee)}catch(xe){return Ge.error(xe)}var be=je.from(Ee).subscribe({next:function(xe){Ge.next(xe)},error:function(xe){Ge.error(xe)},complete:function(){var xe=Le.indexOf(be);xe>=0&&Le.splice(xe,1),ze()}});Le.push(be)},error:function(Ee){Ge.error(Ee)},complete:function(){ze()}});function ze(){Se.closed&&0===Le.length&&Ge.complete()}return function(){Le.forEach(function(Ee){return Ee.unsubscribe()}),Se.unsubscribe()}})},_e[T]=function(){return this},he.from=function(ne){var ve="function"==typeof this?this:he;if(null==ne)throw new TypeError(ne+" is not an object");var je=x(ne,T);if(je){var Ge=je.call(ne);if(Object(Ge)!==Ge)throw new TypeError(Ge+" is not an object");return function te(he){return he instanceof fe}(Ge)&&Ge.constructor===ve?Ge:new ve(function(Le){return Ge.subscribe(Le)})}if(p("iterator")&&(je=x(ne,F)))return new ve(function(Le){ee(function(){if(!Le.closed){for(var ze,Se=function c(he,_e){var re=typeof Symbol<"u"&&he[Symbol.iterator]||he["@@iterator"];if(re)return(re=re.call(he)).next.bind(re);if(Array.isArray(he)||(re=function _(he,_e){if(he){if("string"==typeof he)return w(he,_e);var re=Object.prototype.toString.call(he).slice(8,-1);if("Object"===re&&he.constructor&&(re=he.constructor.name),"Map"===re||"Set"===re)return Array.from(he);if("Arguments"===re||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return w(he,_e)}}(he))||_e&&he&&"number"==typeof he.length){re&&(he=re);var ne=0;return function(){return ne>=he.length?{done:!0}:{done:!1,value:he[ne++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(je.call(ne));!(ze=Se()).done;)if(Le.next(ze.value),Le.closed)return;Le.complete()}})});if(Array.isArray(ne))return new ve(function(Le){ee(function(){if(!Le.closed){for(var Se=0;Se<ne.length;++Se)if(Le.next(ne[Se]),Le.closed)return;Le.complete()}})});throw new TypeError(ne+" is not observable")},he.of=function(){for(var ne=arguments.length,ve=new Array(ne),je=0;je<ne;je++)ve[je]=arguments[je];return new("function"==typeof this?this:he)(function(Le){ee(function(){if(!Le.closed){for(var Se=0;Se<ve.length;++Se)if(Le.next(ve[Se]),Le.closed)return;Le.complete()}})})},E(he,null,[{key:$,get:function(){return this}}]),he}();g()&&Object.defineProperty(fe,Symbol("extensions"),{value:{symbol:T,hostReportError:U},configurable:!0})},5861:(ie,Q,o)=>{"use strict";function c(w,C,E,g,p,h,F){try{var T=w[h](F),$=T.value}catch(x){return void E(x)}T.done?C($):Promise.resolve($).then(g,p)}function _(w){return function(){var C=this,E=arguments;return new Promise(function(g,p){var h=w.apply(C,E);function F($){c(h,g,p,F,T,"next",$)}function T($){c(h,g,p,F,T,"throw",$)}F(void 0)})}}o.d(Q,{Z:()=>_})},1180:(ie,Q,o)=>{"use strict";function c(E){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(g){return typeof g}:function(g){return g&&"function"==typeof Symbol&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g})(E)}function C(E,g,p){return(g=function w(E){var g=function _(E,g){if("object"!==c(E)||null===E)return E;var p=E[Symbol.toPrimitive];if(void 0!==p){var h=p.call(E,g||"default");if("object"!==c(h))return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===g?String:Number)(E)}(E,"string");return"symbol"===c(g)?g:String(g)}(g))in E?Object.defineProperty(E,g,{value:p,enumerable:!0,configurable:!0,writable:!0}):E[g]=p,E}o.d(Q,{Z:()=>C})},7582:(ie,Q,o)=>{"use strict";o.d(Q,{FC:()=>se,Jh:()=>J,KL:()=>fe,ZT:()=>_,_T:()=>C,cy:()=>he,ev:()=>Ne,gn:()=>E,mG:()=>x,pi:()=>w,pr:()=>we,qq:()=>q,w6:()=>$});var c=function(be,xe){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ve,Ue){Ve.__proto__=Ue}||function(Ve,Ue){for(var st in Ue)Object.prototype.hasOwnProperty.call(Ue,st)&&(Ve[st]=Ue[st])})(be,xe)};function _(be,xe){if("function"!=typeof xe&&null!==xe)throw new TypeError("Class extends value "+String(xe)+" is not a constructor or null");function Ve(){this.constructor=be}c(be,xe),be.prototype=null===xe?Object.create(xe):(Ve.prototype=xe.prototype,new Ve)}var w=function(){return w=Object.assign||function(xe){for(var Ve,Ue=1,st=arguments.length;Ue<st;Ue++)for(var Xe in Ve=arguments[Ue])Object.prototype.hasOwnProperty.call(Ve,Xe)&&(xe[Xe]=Ve[Xe]);return xe},w.apply(this,arguments)};function C(be,xe){var Ve={};for(var Ue in be)Object.prototype.hasOwnProperty.call(be,Ue)&&xe.indexOf(Ue)<0&&(Ve[Ue]=be[Ue]);if(null!=be&&"function"==typeof Object.getOwnPropertySymbols){var st=0;for(Ue=Object.getOwnPropertySymbols(be);st<Ue.length;st++)xe.indexOf(Ue[st])<0&&Object.prototype.propertyIsEnumerable.call(be,Ue[st])&&(Ve[Ue[st]]=be[Ue[st]])}return Ve}function E(be,xe,Ve,Ue){var dt,st=arguments.length,Xe=st<3?xe:null===Ue?Ue=Object.getOwnPropertyDescriptor(xe,Ve):Ue;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Xe=Reflect.decorate(be,xe,Ve,Ue);else for(var pt=be.length-1;pt>=0;pt--)(dt=be[pt])&&(Xe=(st<3?dt(Xe):st>3?dt(xe,Ve,Xe):dt(xe,Ve))||Xe);return st>3&&Xe&&Object.defineProperty(xe,Ve,Xe),Xe}function $(be,xe){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(be,xe)}function x(be,xe,Ve,Ue){return new(Ve||(Ve=Promise))(function(Xe,dt){function pt(bn){try{rn(Ue.next(bn))}catch(an){dt(an)}}function ln(bn){try{rn(Ue.throw(bn))}catch(an){dt(an)}}function rn(bn){bn.done?Xe(bn.value):function st(Xe){return Xe instanceof Ve?Xe:new Ve(function(dt){dt(Xe)})}(bn.value).then(pt,ln)}rn((Ue=Ue.apply(be,xe||[])).next())})}function J(be,xe){var Ue,st,Xe,dt,Ve={label:0,sent:function(){if(1&Xe[0])throw Xe[1];return Xe[1]},trys:[],ops:[]};return dt={next:pt(0),throw:pt(1),return:pt(2)},"function"==typeof Symbol&&(dt[Symbol.iterator]=function(){return this}),dt;function pt(rn){return function(bn){return function ln(rn){if(Ue)throw new TypeError("Generator is already executing.");for(;dt&&(dt=0,rn[0]&&(Ve=0)),Ve;)try{if(Ue=1,st&&(Xe=2&rn[0]?st.return:rn[0]?st.throw||((Xe=st.return)&&Xe.call(st),0):st.next)&&!(Xe=Xe.call(st,rn[1])).done)return Xe;switch(st=0,Xe&&(rn=[2&rn[0],Xe.value]),rn[0]){case 0:case 1:Xe=rn;break;case 4:return Ve.label++,{value:rn[1],done:!1};case 5:Ve.label++,st=rn[1],rn=[0];continue;case 7:rn=Ve.ops.pop(),Ve.trys.pop();continue;default:if(!(Xe=(Xe=Ve.trys).length>0&&Xe[Xe.length-1])&&(6===rn[0]||2===rn[0])){Ve=0;continue}if(3===rn[0]&&(!Xe||rn[1]>Xe[0]&&rn[1]<Xe[3])){Ve.label=rn[1];break}if(6===rn[0]&&Ve.label<Xe[1]){Ve.label=Xe[1],Xe=rn;break}if(Xe&&Ve.label<Xe[2]){Ve.label=Xe[2],Ve.ops.push(rn);break}Xe[2]&&Ve.ops.pop(),Ve.trys.pop();continue}rn=xe.call(be,Ve)}catch(bn){rn=[6,bn],st=0}finally{Ue=Xe=0}if(5&rn[0])throw rn[1];return{value:rn[0]?rn[1]:void 0,done:!0}}([rn,bn])}}}function we(){for(var be=0,xe=0,Ve=arguments.length;xe<Ve;xe++)be+=arguments[xe].length;var Ue=Array(be),st=0;for(xe=0;xe<Ve;xe++)for(var Xe=arguments[xe],dt=0,pt=Xe.length;dt<pt;dt++,st++)Ue[st]=Xe[dt];return Ue}function Ne(be,xe,Ve){if(Ve||2===arguments.length)for(var Xe,Ue=0,st=xe.length;Ue<st;Ue++)(Xe||!(Ue in xe))&&(Xe||(Xe=Array.prototype.slice.call(xe,0,Ue)),Xe[Ue]=xe[Ue]);return be.concat(Xe||Array.prototype.slice.call(xe))}function q(be){return this instanceof q?(this.v=be,this):new q(be)}function se(be,xe,Ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var st,Ue=Ve.apply(be,xe||[]),Xe=[];return st={},dt("next"),dt("throw"),dt("return"),st[Symbol.asyncIterator]=function(){return this},st;function dt($n){Ue[$n]&&(st[$n]=function(lr){return new Promise(function(fr,Bn){Xe.push([$n,lr,fr,Bn])>1||pt($n,lr)})})}function pt($n,lr){try{!function ln($n){$n.value instanceof q?Promise.resolve($n.value.v).then(rn,bn):an(Xe[0][2],$n)}(Ue[$n](lr))}catch(fr){an(Xe[0][3],fr)}}function rn($n){pt("next",$n)}function bn($n){pt("throw",$n)}function an($n,lr){$n(lr),Xe.shift(),Xe.length&&pt(Xe[0][0],Xe[0][1])}}function fe(be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ve,xe=be[Symbol.asyncIterator];return xe?xe.call(be):(be=function ee(be){var xe="function"==typeof Symbol&&Symbol.iterator,Ve=xe&&be[xe],Ue=0;if(Ve)return Ve.call(be);if(be&&"number"==typeof be.length)return{next:function(){return be&&Ue>=be.length&&(be=void 0),{value:be&&be[Ue++],done:!be}}};throw new TypeError(xe?"Object is not iterable.":"Symbol.iterator is not defined.")}(be),Ve={},Ue("next"),Ue("throw"),Ue("return"),Ve[Symbol.asyncIterator]=function(){return this},Ve);function Ue(Xe){Ve[Xe]=be[Xe]&&function(dt){return new Promise(function(pt,ln){!function st(Xe,dt,pt,ln){Promise.resolve(ln).then(function(rn){Xe({value:rn,done:pt})},dt)}(pt,ln,(dt=be[Xe](dt)).done,dt.value)})}}}function he(be,xe){return Object.defineProperty?Object.defineProperty(be,"raw",{value:xe}):be.raw=xe,be}"function"==typeof SuppressedError&&SuppressedError}},ie=>{ie(ie.s=812)}]);