1(self.webpackChunkbah_customer=self.webpackChunkbah_customer||[]).push([[4121],{4682(qe){qe.exports=function(){"use strict";var P=function(){return P=Object.assign||function(F){for(var K,G=1,ne=arguments.length;G<ne;G++)for(var De in K=arguments[G])Object.prototype.hasOwnProperty.call(K,De)&&(F[De]=K[De]);return F},P.apply(this,arguments)};function c(m){var F="function"==typeof Symbol&&Symbol.iterator,K=F&&m[F],G=0;if(K)return K.call(m);if(m&&"number"==typeof m.length)return{next:function(){return m&&G>=m.length&&(m=void 0),{value:m&&m[G++],done:!m}}};throw new TypeError(F?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(m,F){var K="function"==typeof Symbol&&m[Symbol.iterator];if(!K)return m;var ne,Ke,G=K.call(m),De=[];try{for(;(void 0===F||F-- >0)&&!(ne=G.next()).done;)De.push(ne.value)}catch(Et){Ke={error:Et}}finally{try{ne&&!ne.done&&(K=G.return)&&K.call(G)}finally{if(Ke)throw Ke.error}}return De}function u(m,F,K){if(K||2===arguments.length)for(var De,G=0,ne=F.length;G<ne;G++)(De||!(G in F))&&(De||(De=Array.prototype.slice.call(F,0,G)),De[G]=F[G]);return m.concat(De||Array.prototype.slice.call(F))}"function"==typeof SuppressedError&&SuppressedError;class l extends Error{constructor(F,K,G){super(F),this.token=K,this.type=G||"error"}}const R=m=>m<4?"short":4===m?"long":"narrow",v=m=>m%2==0?"2-digit":"numeric";function S(m,F){switch(m.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void F(`${m.desc} is not supported with width ${m.width}`)}}function L(m,F){const{char:K,desc:G,width:ne}=m;if("d"===K)return v(ne);F(`${G} is not supported`)}function E(m,F){const{char:K,desc:G,width:ne}=m;return("c"===K||"e"===K)&&ne<3&&F(`Numeric value is not supported for ${G}; falling back to weekday:short`,l.WARNING),R(ne)}function f(m,F){const{char:K,desc:G,width:ne}=m;switch(K){case"v":case"z":return 4===ne?"long":"short";case"V":return 4===ne?"long":void F(`${G} is not supported with width ${ne}`);case"X":return void F(`${G} is not supported`)}return"short"}function y(m,F){switch(m.field){case"era":return{era:R(m.width)};case"year":return function w(m,F){switch(m.char){case"y":return{year:v(m.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return F(`${m.desc} is not supported; falling back to year:numeric`,l.WARNING),{year:"numeric"}}}(m,F);case"month":return{month:S(m,F)};case"day":return{day:L(m,F)};case"weekday":return{weekday:E(m,F)};case"period":return;case"hour":return function h(m){const F=v(m.width);let K;switch(m.char){case"h":K="h12";break;case"H":K="h23";break;case"k":K="h24";break;case"K":K="h11"}return K?{hour:F,hourCycle:K}:{hour:F}}(m);case"min":return{minute:v(m.width)};case"sec":return{second:v(m.width)};case"tz":return{timeZoneName:f(m,F)};case"quarter":case"week":case"sec-frac":case"ms":F(`${m.desc} is not supported`)}}function H(m,F){let K=arguments.length>2&&void 0!==arguments[2]?arguments[2]:De=>{throw De};const G={timeZone:F},ne=[];for(const De of m){const{error:Ke,field:Et,str:Lt}=De;if(Ke){const Jn=new l(Ke.message,De);Jn.stack=Ke.stack,K(Jn)}Lt&&K(new l(`Ignoring string part: ${Lt}`,De,l.WARNING)),Et&&(-1===ne.indexOf(Et)?ne.push(Et):K(new l(`Duplicate ${Et} token`,De)));const cn=y(De,(Jn,mr)=>K(new l(Jn,De,mr)));cn&&Object.assign(G,cn)}return G}const b={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"}},N=m=>m>="A"&&m<="Z"||m>="a"&&m<="z";function V(m,F){const K=m[F];if(!K)return null;if(N(K))return function A(m,F){const K=m[F];let G=1;for(;m[++F]===K;)++G;const ne=b[K];return ne?{char:K,field:ne.field,desc:ne.desc,width:G}:{char:K,error:new Error(`The letter ${K} is not a valid field identifier`),width:G}}(m,F);if("'"===K)return function C(m,F){let K=m[++F],G=2;if("'"===K)return{char:"'",str:K,width:G};for(;;){const ne=m[++F];if(++G,void 0===ne)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${K||m}`),str:K,width:G};if("'"===ne){if("'"!==m[++F])return{char:"'",str:K,width:G};++G}K+=ne}}(m,F);let G=K,ne=1;for(;;){const De=m[++F];if(!De||N(De)||"'"===De)return{char:K,str:G,width:ne};G+=De,ne+=1}}function B(m){const F=[];let K=0;for(;;){const G=V(m,K);if(!G)return F;F.push(G),K+=G.width}}
1class ce extends Error{constructor(F,K){super(K),this.code=F}}class be extends ce{constructor(F,K){super("BAD_OPTION",`Unknown ${F} option: ${K}`),this.stem=F,this.option=K}}class Te extends ce{constructor(F){super("BAD_STEM",`Unknown stem: ${F}`),this.stem=F}}class we extends ce{constructor(F,K){super("MASKED_VALUE",`Value for ${F} is set multiple times`),this.type=F,this.prev=K}}class $e extends ce{constructor(F){super("MISSING_OPTION",`Required option missing for ${F}`),this.stem=F}}class Oe extends ce{constructor(F,K){super("BAD_PATTERN",K),this.char=F}}class Ue extends ce{constructor(F,K,G){super("TOO_MANY_OPTIONS",`Token ${F} only supports ${G>1?`${G} options`:"one option"} (got ${K.length})`),this.stem=F,this.options=K}}class Be extends ce{constructor(F,K){super("UNSUPPORTED",`The stem ${F} is not supported`),this.stem=F,K&&(this.message+=` with value ${K}`,this.source=K)}}function lt(m,F){let{numberingSystem:K}=F;return Array.isArray(m)||(m=[m]),K?m.map(G=>{const ne=-1===G.indexOf("-u-")?"u-nu":"nu";return`${G}-${ne}-${K}`}).concat(m):m}function pt(m){let{scale:F,unit:K}=m,G="number"==typeof F&&F>=0?F:1;return K&&"percent"===K.style&&(G*=.01),G}function se(m,F){const{decimal:K,group:G,integerWidth:ne,notation:De,precision:Ke,roundingMode:Et,sign:Lt,unit:cn,unitPer:Jn,unitWidth:mr}=m,Sr=(Qr,Ti)=>{F&&F(new Be(Qr,Ti))},Tn={};if(cn)switch(cn.style){case"base-unit":Tn.style="decimal";break;case"currency":Tn.style="currency",Tn.currency=cn.currency;break;case"measure-unit":Tn.style="unit",Tn.unit=cn.unit.replace(/.*-/,""),Jn&&(Tn.unit+="-per-"+Jn.replace(/.*-/,""));break;case"percent":Tn.style="percent";break;case"permille":Sr("permille")}switch(mr){case"unit-width-full-name":Tn.currencyDisplay="name",Tn.unitDisplay="long";break;case"unit-width-hidden":Sr(mr);break;case"unit-width-iso-code":Tn.currencyDisplay="code";break;case"unit-width-narrow":Tn.currencyDisplay="narrowSymbol",Tn.unitDisplay="narrow";break;case"unit-width-short":Tn.currencyDisplay="symbol",Tn.unitDisplay="short"}switch(G){case"group-off":Tn.useGrouping=!1;break;case"group-auto":Tn.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":Sr(G),Tn.useGrouping=!0}if(Ke)switch(Ke.style){case"precision-fraction":{const{minFraction:Qr,maxFraction:Ti,minSignificant:Bi,maxSignificant:Es,source:Ks}=Ke;"number"==typeof Qr&&(Tn.minimumFractionDigits=Qr,"number"==typeof Bi&&Sr("precision-fraction",Ks)),"number"==typeof Ti&&(Tn.maximumFractionDigits=Ti),"number"==typeof Bi&&(Tn.minimumSignificantDigits=Bi),"number"==typeof Es&&(Tn.maximumSignificantDigits=Es);break}case"precision-integer":Tn.maximumFractionDigits=0;break;case"precision-unlimited":Tn.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":Tn.trailingZeroDisplay=Ke.trailingZero;break;case"precision-currency-cash":Sr(Ke.style)}if(De)switch(De.style){case"compact-short":Tn.notation="compact",Tn.compactDisplay="short";break;case"compact-long":Tn.notation="compact",Tn.compactDisplay="long";break;case"notation-simple":Tn.notation="standard";break;case"scientific":case"engineering":{const{expDigits:Qr,expSign:Ti,source:Bi,style:Es}=De;Tn.notation=Es,(Qr&&Qr>1||Ti&&"sign-auto"!==Ti)&&Sr(Es,Bi);break}}if(ne){const{min:Qr,max:Ti,source:Bi}=ne;Qr>0&&(Tn.minimumIntegerDigits=Qr),Number(Ti)>0&&(3!==Ti||"engineering"!==Tn.notation&&"scientific"!==Tn.notation?Sr("integer-width",Bi):Tn.notation="engineering")}switch(Lt){case"sign-auto":Tn.signDisplay="auto";break;case"sign-always":Tn.signDisplay="always";break;case"sign-except-zero":Tn.signDisplay="exceptZero";break;case"sign-never":Tn.signDisplay="never";break;case"sign-accounting":Tn.currencySign="accounting";break;case"sign-accounting-always":Tn.currencySign="accounting",Tn.signDisplay="always";break;case"sign-accounting-except-zero":Tn.currencySign="accounting",Tn.signDisplay="exceptZero"}return"decimal-always"===K&&Sr(K),Et&&Sr(Et),Tn}function me(m,F,K){const G=m[F];switch(G){case"%":return{char:"%",style:"percent",width:1};case"\u2030":return{char:"%",style:"permille",width:1};case"\xa4":{let ne=1;for(;"\xa4"===m[++F];)++ne;switch(ne){case 1:return{char:G,currency:"default",width:ne};case 2:return{char:G,currency:"iso-code",width:ne};case 3:return{char:G,currency:"full-name",width:ne};case 5:return{char:G,currency:"narrow",width:ne};default:return K(new Oe("\xa4",`Invalid number (${ne}) of \xa4 chars in pattern`)),null}}case"*":{const ne=m[F+1];if(ne)return{char:G,pad:ne,width:2};break}case"+":case"-":return{char:G,width:1};case"'":{let ne=m[++F],De=2;if("'"===ne)return{char:G,str:ne,width:De};for(;;){const Ke=m[++F];if(++De,void 0===Ke)return K(new Oe("'",`Unterminated quoted literal in pattern: ${ne}`)),{char:G,str:ne,width:De};if("'"===Ke){if("'"!==m[++F])return{char:G,str:ne,width:De};++De}ne+=Ke}}}return null}const Y=m=>m>="0"&&m<="9";function ee(m,F){const K=m[F];if(Y(K)){let G=K;for(;;){const ne=m[++F];if(!Y(ne))return{char:"0",digits:G,width:G.length};G+=ne}}switch(K){case"#":{let G=1;for(;"#"===m[++F];)++G;return{char:K,width:G}}case"@":{let G=1;for(;"@"===m[++F];)++G;let ne=G;for(F-=1;"#"===m[++F];)++ne;return{char:K,min:G,width:ne}}case"E":{const G="+"===m[F+1];G&&++F;let ne=0;for(;"0"===m[++F];)++ne;if(ne)return{char:K,expDigits:ne,plus:G,width:(G?2:1)+ne};break}case".":case",":return{char:K,width:1}}return null}function fe(m,F,K){let G;var cn;(cn=G||(G={}))[cn.Prefix=0]="Prefix",cn[cn.Number=1]="Number",cn[cn.Suffix=2]="Suffix";const ne=[],De=[],Ke=[];let Et=G.Prefix,Lt="";for(;F<m.length;){const cn=m[F];if(";"===cn){F+=1;break}switch(Et){case G.Prefix:{const Jn=me(m,F,K);if(Jn)Lt&&(ne.push({char:"'",str:Lt,width:Lt.length}
1),Lt=""),ne.push(Jn),F+=Jn.width;else{const mr=ee(m,F);mr?(Lt&&(ne.push({char:"'",str:Lt,width:Lt.length}),Lt=""),Et=G.Number,De.push(mr),F+=mr.width):(Lt+=cn,F+=1)}break}case G.Number:{const Jn=ee(m,F);Jn?(De.push(Jn),F+=Jn.width):Et=G.Suffix;break}case G.Suffix:{const Jn=me(m,F,K);Jn?(Lt&&(Ke.push({char:"'",str:Lt,width:Lt.length}),Lt=""),Ke.push(Jn),F+=Jn.width):(Lt+=cn,F+=1);break}}}return Lt&&Ke.push({char:"'",str:Lt,width:Lt.length}),{pattern:{prefix:ne,number:De,suffix:Ke},pos:F}}function Ne(m,F,K,G,ne){let De=!1,Ke="";for(const Et of m)switch(Et.char){case"%":F.unit={style:Et.style},ne?De=!0:Ke="";break;case"\xa4":if(!K){G(new Oe("\xa4","The \xa4 pattern requires a currency"));break}switch(F.unit={style:"currency",currency:K},Et.currency){case"iso-code":F.unitWidth="unit-width-iso-code";break;case"full-name":F.unitWidth="unit-width-full-name";break;case"narrow":F.unitWidth="unit-width-narrow"}ne?De=!0:Ke="";break;case"*":break;case"+":De||(Ke+="+");break;case"'":De||(Ke+=Et.str)}return Ke}function je(m,F){let K=!1,G="";for(const ne of m)switch(ne.char){case"%":case"\xa4":F?K=!0:G="";break;case"-":K||(G+="-");break;case"'":K||(G+=ne.str)}return G}function tt(m,F){let K=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Lt=>{throw Lt};const{tokens:G,negative:ne}=function ye(m,F){const{pattern:K,pos:G}=fe(m,0,F);if(G<m.length){const{pattern:ne}=fe(m,G,F);return{tokens:K,negative:ne}}return{tokens:K}}(m,K),De=function ge(m,F){const K={};let G=!1,ne=!1,De=0,Ke="",Et=-1,Lt="",cn=0;for(let mr=0;mr<m.length;++mr){const Sr=m[mr];switch(Sr.char){case"#":-1===Et?(Ke&&F(new Oe("#","Pattern has # after integer digits")),De+=Sr.width):cn+=Sr.width;break;case"0":-1===Et?Ke+=Sr.digits:(cn&&F(new Oe("0","Pattern has digits after # in fraction")),Lt+=Sr.digits);break;case"@":K.precision&&F(new we("precision",K.precision)),K.precision={style:"precision-fraction",minSignificant:Sr.min,maxSignificant:Sr.width};break;case",":G=!0;break;case".":1===Et&&F(new Oe(".","Pattern has more than one decimal separator")),Et=mr;break;case"E":ne&&F(new we("exponent",K.notation)),G&&F(new Oe("E","Exponential patterns may not contain grouping separators")),K.notation={style:"scientific"},Sr.expDigits>1&&(K.notation.expDigits=Sr.expDigits),Sr.plus&&(K.notation.expSign="sign-always"),ne=!0}}G?K.group="group-auto":De+Ke.length>3&&(K.group="group-off");const Jn=+`${Ke||"0"}.${Lt}`;if(Jn&&(K.precision={style:"precision-increment",increment:Jn}),ne)if((!K.precision||Jn)&&(K.integerWidth=De?{min:1,max:De+Ke.length}:{min:Math.max(1,Ke.length)}),K.precision)Jn||(K.integerWidth={min:1,max:1});else{const mr=Ke.length+Lt.length;-1===Et?mr>0&&(K.precision={style:"precision-fraction",maxSignificant:mr}):(K.precision={style:"precision-fraction",maxSignificant:Math.max(1,mr)+cn},mr>1&&(K.precision.minSignificant=mr))}else Ke.length>1&&(K.integerWidth={min:Ke.length}),!K.precision&&(Lt.length||cn)&&(K.precision={style:"precision-fraction",minFraction:Lt.length,maxFraction:Lt.length+cn});return K}(G.number,K),Ke=Ne(G.prefix,De,F,K,!0),Et=Ne(G.suffix,De,F,K,!1);if(ne){const Lt=je(ne.prefix,!0),cn=je(ne.suffix,!1);De.affix={pos:[Ke,Et],neg:[Lt,cn]},De.sign="sign-never"}else(Ke||Et)&&(De.affix={pos:[Ke,Et]});return De}function Xe(m){const[K]=m.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(K)}const Je={"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},rt={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function i(m,F,K){if(function Pt(m){return m in Je}(m)){const G=Je[m];
1if(F.length>G){if(0===G)for(const ne of F)K(new be(m,ne));else K(new Ue(m,F,G));return!1}if(function tn(m){return m in rt}(m)&&F.length<rt[m])return K(new $e(m)),!1}return!0}function yt(m,F){const G=m&&m.match("fraction"===F?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/);if(G){const ne=G[1].length;switch(G[2].charAt(0)){case"":return{min:ne,max:ne};case"+":return{min:ne,max:null};case"#":return{min:ne,max:ne+G[2].length}}}return null}class Kt{constructor(F){this.skeleton={},this.onError=F}badOption(F,K){this.onError(new be(F,K))}assertEmpty(F){const K=this.skeleton[F];K&&this.onError(new we(F,K))}parseToken(F,K){if(!i(F,K,this.onError))return;const G=K[0],ne=this.skeleton;switch(F){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),ne.notation={style:F};break;case"scientific":case"engineering":{let Ke,De=null;for(const Lt of K)switch(Lt){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=Lt;break;default:/^\+e+$/.test(Lt)?De=Lt.length-1:this.badOption(F,Lt)}this.assertEmpty("notation");const Et=K.join("/");ne.notation=De&&Ke?{style:F,source:Et,expDigits:De,expSign:Ke}:De?{style:F,source:Et,expDigits:De}:Ke?{style:F,source:Et,expSign:Ke}:{style:F,source:Et};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),ne.unit={style:F};break;case"currency":/^[A-Z]{3}$/.test(G)?(this.assertEmpty("unit"),ne.unit={style:F,currency:G}):this.badOption(F,G);break;case"measure-unit":Xe(G)?(this.assertEmpty("unit"),ne.unit={style:F,unit:G}):this.badOption(F,G);break;case"per-measure-unit":Xe(G)?(this.assertEmpty("unitPer"),ne.unitPer=G):this.badOption(F,G);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"),ne.unitWidth=F;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),ne.precision={style:F};break;case"precision-currency-standard":this.assertEmpty("precision"),ne.precision="w"===G?{style:F,trailingZero:"stripIfInteger"}:{style:F};break;case"precision-increment":{const De=Number(G);De>0?(this.assertEmpty("precision"),ne.precision={style:F,increment:De}):this.badOption(F,G);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"),ne.roundingMode=F;break;case"integer-width":if(/^\+0*$/.test(G))this.assertEmpty("integerWidth"),ne.integerWidth={source:G,min:G.length-1};else{const De=G.match(/^#*(0*)$/);De?(this.assertEmpty("integerWidth"),ne.integerWidth={source:G,min:De[1].length,max:De[0].length}):this.badOption(F,G)}break;case"scale":{const De=Number(G);De>0?(this.assertEmpty("scale"),ne.scale=De):this.badOption(F,G);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),ne.group=F;break;case"latin":this.assertEmpty("numberingSystem"),ne.numberingSystem="latn";break;case"numbering-system":!function bt(m){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(m)}(G)?this.badOption(F,G):(this.assertEmpty("numberingSystem"),ne.numberingSystem=G);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"),ne.sign=F;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),ne.decimal=F;break;default:{const De=function Ut(m,F,K){const G=yt(m,"fraction");if(G){F.length>1&&K(new Ue(m,F,1));const De={style:"precision-fraction",source:m,minFraction:G.min};null!=G.max&&(De.maxFraction=G.max);const Ke=F[0],Et=yt(Ke,"significant");return Et?(De.source=`${m}/${Ke}`,De.minSignificant=Et.min,null!=Et.max&&(De.maxSignificant=Et.max)):Ke&&K(new be(m,Ke)),De}const ne=yt(m,"significant");if(ne){for(const Ke of F)K(new be(m,Ke));const De={style:"precision-fraction",source:m,minSignificant:ne.min};return null!=ne.max&&(De.maxSignificant=ne.max),De}return null}(F,K,this.onError);De?(this.assertEmpty("precision"),ne.precision=De):this.onError(new Te(F))}}}}function un(m){let F=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ne=>{throw ne};const K=[];for(const ne of m.split(" "))if(ne){const De=ne.split("/"),Ke=De.shift()||"";K.push({stem:Ke,options:De})}const G=new Kt(F);for(const{stem:ne,options:De}of K)G.parseToken(ne,De);return G.skeleton}function or(m,F,K,G){"string"==typeof F&&(F=0===F.indexOf("::")?un(F.slice(2),G):tt(F,K,G));const ne=lt(m,F),De=se(F,G),Ke=function Ct(m){const F=pt(m),{precision:K}=m;return K&&"precision-increment"===K.style?G=>function et(m,F){const K=+m+F/2;return K-K%+F}(G,K.increment)*F:G=>G*F}(F),Et=new Intl.NumberFormat(ne,De);if(F.affix){const[Lt,cn]=F.affix.pos,[Jn,mr]=F.affix.neg||["",""];return Sr=>{const Tn=Et.format(Ke(Sr));return Sr<0?`${Jn}${Tn}${mr}`:`${Lt}${Tn}${cn}
1`}}return Lt=>Et.format(Ke(Lt))}function _n(m,F,K,G){"string"==typeof F&&(F=0===F.indexOf("::")?un(F.slice(2),G):tt(F,K,G));const ne=lt(m,F),De=se(F,G),Ke=function st(m){const F=pt(m),{precision:K}=m;if(K&&"precision-increment"===K.style){let ne=`x - (x % +${K.increment})`;return 1!==F&&(ne=`(${ne}) * ${F}`),`function(n) { var x = ${"+n + "+K.increment/2}; return ${ne}; }`}return 1!==F?`function(n) { return n * ${F}; }`:null}(F),Et=["(function() {",`var opt = ${JSON.stringify(De)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(ne)}, opt);`];let Lt="nf.format(value)";if(Ke&&(Et.push(`var mod = ${Ke};`),Lt="nf.format(mod(value))"),F.affix){const[cn,Jn]=F.affix.pos.map(mr=>JSON.stringify(mr));if(F.affix.neg){const[mr,Sr]=F.affix.neg.map(Tn=>JSON.stringify(Tn));Lt=`value < 0 ? ${mr} + ${Lt} + ${Sr} : ${cn} + ${Lt} + ${Jn}`}else Lt=`${cn} + ${Lt} + ${Jn}`}return Et.push(`return function(value) { return ${Lt}; }`),Et.join("\n ")+"\n})()"}var cr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var m,F,K,hr={},rr={},wt={exports:{}};F=cr,K=function(){var F=Object.prototype.hasOwnProperty,K=Object.prototype.toString,G="boolean"==typeof(new RegExp).sticky;function ne(Bt){return Bt&&"[object RegExp]"===K.call(Bt)}function De(Bt){return Bt&&"object"==typeof Bt&&!ne(Bt)&&!Array.isArray(Bt)}function Et(Bt){return new RegExp("|"+Bt).exec("").length-1}function Lt(Bt){return"("+Bt+")"}function cn(Bt){return Bt.length?"(?:"+Bt.map(function(Pn){return"(?:"+Pn+")"}).join("|")+")":"(?!)"}function Jn(Bt){if("string"==typeof Bt)return"(?:"+function Ke(Bt){return Bt.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}(Bt)+")";if(ne(Bt)){if(Bt.ignoreCase)throw new Error("RegExp /i flag not allowed");if(Bt.global)throw new Error("RegExp /g flag is implied");if(Bt.sticky)throw new Error("RegExp /y flag is implied");if(Bt.multiline)throw new Error("RegExp /m flag is implied");return Bt.source}throw new Error("Not a pattern: "+Bt)}function mr(Bt,yn){return Bt.length>yn?Bt:Array(yn-Bt.length+1).join(" ")+Bt}function Ti(Bt,yn){if(De(yn)||(yn={match:yn}),yn.include)throw new Error("Matching rules cannot also include states");var Pn={defaultType:Bt,lineBreaks:!!yn.error||!!yn.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var sr in yn)F.call(yn,sr)&&(Pn[sr]=yn[sr]);if("string"==typeof Pn.type&&Bt!==Pn.type)throw new Error("Type transform cannot be a string (type '"+Pn.type+"' for token '"+Bt+"')");var Ir=Pn.match;return Pn.match=Array.isArray(Ir)?Ir:Ir?[Ir]:[],Pn.match.sort(function(dr,Br){return ne(dr)&&ne(Br)?0:ne(Br)?-1:ne(dr)?1:Br.length-dr.length}),Pn}function Bi(Bt){return Array.isArray(Bt)?function Qr(Bt){for(var yn=[],Pn=0;Pn<Bt.length;Pn++){var sr=Bt[Pn];if(sr.include)for(var Ir=[].concat(sr.include),dr=0;dr<Ir.length;dr++)yn.push({include:Ir[dr]});else{if(!sr.type)throw new Error("Rule has no type: "+JSON.stringify(sr));yn.push(Ti(sr.type,sr))}}return yn}(Bt):function Tn(Bt){for(var yn=Object.getOwnPropertyNames(Bt),Pn=[],sr=0;sr<yn.length;sr++){var Ir=yn[sr],Br=[].concat(Bt[Ir]);if("include"!==Ir){var Xr=[];Br.forEach(function(pr){De(pr)?(Xr.length&&Pn.push(Ti(Ir,Xr)),Pn.push(Ti(Ir,pr)),Xr=[]):Xr.push(pr)}),Xr.length&&Pn.push(Ti(Ir,Xr))}else for(var Si=0;Si<Br.length;Si++)Pn.push({include:Br[Si]})}return Pn}(Bt)}var Es=Ti("error",{lineBreaks:!0,shouldThrow:!0});function Ks(Bt,yn){for(var Pn=null,sr=Object.create(null),Ir=!0,dr=null,Br=[],Si=[],Xr=0;Xr<Bt.length;Xr++)Bt[Xr].fallback&&(Ir=!1);for(Xr=0;Xr<Bt.length;Xr++){var pr=Bt[Xr];if(pr.include)throw new Error("Inheritance is not allowed in stateless lexers");if(pr.error||pr.fallback){if(Pn)throw!pr.fallback==!Pn.fallback?new Error("Multiple "+(pr.fallback?"fallback":"error")+" rules not allowed (for token '"+pr.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+pr.defaultType+"')");Pn=pr}var Qi=pr.match.slice();if(Ir)for(;Qi.length&&"string"==typeof Qi[0]&&1===Qi[0].length;
1)sr[Qi.shift().charCodeAt(0)]=pr;if(pr.pop||pr.push||pr.next){if(!yn)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+pr.defaultType+"')");if(pr.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+pr.defaultType+"')")}if(0!==Qi.length){Ir=!1,Br.push(pr);for(var Zs=0;Zs<Qi.length;Zs++){var Ao=Qi[Zs];if(ne(Ao))if(null===dr)dr=Ao.unicode;else if(dr!==Ao.unicode&&!1===pr.fallback)throw new Error("If one rule is /u then all must be")}var go=cn(Qi.map(Jn)),Js=new RegExp(go);if(Js.test(""))throw new Error("RegExp matches empty string: "+Js);if(Et(go)>0)throw new Error("RegExp has capture groups: "+Js+"\nUse (?: \u2026 ) instead");if(!pr.lineBreaks&&Js.test("\n"))throw new Error("Rule should declare lineBreaks: "+Js);Si.push(Lt(go))}}var Ka=Pn&&Pn.fallback,pl=G&&!Ka?"ym":"gm",ic=G||Ka?"":"|";return!0===dr&&(pl+="u"),{regexp:new RegExp(cn(Si)+ic,pl),groups:Br,fast:sr,error:Pn||Es}}function Qo(Bt,yn,Pn){var sr=Bt&&(Bt.push||Bt.next);if(sr&&!Pn[sr])throw new Error("Missing state '"+sr+"' (in token '"+Bt.defaultType+"' of state '"+yn+"')");if(Bt&&Bt.pop&&1!=+Bt.pop)throw new Error("pop must be 1 (in token '"+Bt.defaultType+"' of state '"+yn+"')")}var pi=function(Bt,yn){this.startState=yn,this.states=Bt,this.buffer="",this.stack=[],this.reset()};pi.prototype.reset=function(Bt,yn){return this.buffer=Bt||"",this.index=0,this.line=yn?yn.line:1,this.col=yn?yn.col:1,this.queuedToken=yn?yn.queuedToken:null,this.queuedText=yn?yn.queuedText:"",this.queuedThrow=yn?yn.queuedThrow:null,this.setState(yn?yn.state:this.startState),this.stack=yn&&yn.stack?yn.stack.slice():[],this},pi.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}},pi.prototype.setState=function(Bt){if(Bt&&this.state!==Bt){this.state=Bt;var yn=this.states[Bt];this.groups=yn.groups,this.error=yn.error,this.re=yn.regexp,this.fast=yn.fast}},pi.prototype.popState=function(){this.setState(this.stack.pop())},pi.prototype.pushState=function(Bt){this.stack.push(this.state),this.setState(Bt)};var Va=G?function(Bt,yn){return Bt.exec(yn)}:function(Bt,yn){var Pn=Bt.exec(yn);return 0===Pn[0].length?null:Pn};function rc(){return this.value}if(pi.prototype._getGroup=function(Bt){for(var yn=this.groups.length,Pn=0;Pn<yn;Pn++)if(void 0!==Bt[Pn+1])return this.groups[Pn];throw new Error("Cannot find token type for matched text")},pi.prototype.next=function(){var Bt=this.index;if(this.queuedGroup){var yn=this._token(this.queuedGroup,this.queuedText,Bt);return this.queuedGroup=null,this.queuedText="",yn}var Pn=this.buffer;if(Bt!==Pn.length){if(Br=this.fast[Pn.charCodeAt(Bt)])return this._token(Br,Pn.charAt(Bt),Bt);var sr=this.re;sr.lastIndex=Bt;var Ir=Va(sr,Pn),dr=this.error;if(null==Ir)return this._token(dr,Pn.slice(Bt,Pn.length),Bt);var Br=this._getGroup(Ir),Si=Ir[0];return dr.fallback&&Ir.index!==Bt?(this.queuedGroup=Br,this.queuedText=Si,this._token(dr,Pn.slice(Bt,Ir.index),Bt)):this._token(Br,Si,Bt)}},pi.prototype._token=function(Bt,yn,Pn){var sr=0;if(Bt.lineBreaks){var Ir=/\n/g,dr=1;if("\n"===yn)sr=1;else for(;Ir.exec(yn);)sr++,dr=Ir.lastIndex}var Br={type:"function"==typeof Bt.type&&Bt.type(yn)||Bt.defaultType,value:"function"==typeof Bt.value?Bt.value(yn):yn,text:yn,toString:rc,offset:Pn,lineBreaks:sr,line:this.line,col:this.col},Si=yn.length;if(this.index+=Si,this.line+=sr,0!==sr?this.col=Si-dr+1:this.col+=Si,Bt.shouldThrow)throw new Error(this.formatError(Br,"invalid syntax"));return Bt.pop?this.popState():Bt.push?this.pushState(Bt.push):Bt.next&&this.setState(Bt.next),Br},typeof Symbol<"u"&&Symbol.iterator){var Yo=function(Bt){this.lexer=Bt};Yo.prototype.next=function(){var Bt=this.lexer.next();return{value:Bt,done:!Bt}},Yo.prototype[Symbol.iterator]=function(){return this},pi.prototype[Symbol.iterator]=function(){return new Yo(this)}}return pi.prototype.formatError=function(Bt,yn){if(null==Bt){var Pn=this.buffer.slice(this.index);Bt={text:Pn,offset:this.index,lineBreaks:-1===Pn.indexOf("\n")?0:1,line:this.line,col:this.col}}var Ir=Math.max(Bt.line-2,1),Br=String(Bt.line+2).length,Si=function Sr(Bt,yn){for(var Pn=Bt.length,sr=0;;){var Ir=Bt.lastIndexOf("\n",Pn-1);if(-1===Ir||(Pn=Ir,++sr===yn)||0===Pn)break}return Bt.substring(sr<yn?0:Pn+1).split("\n")}(this.buffer,this.line-Bt.line+2+1).slice(0,5),Xr=[];Xr.push(yn+" at line "+Bt.line+" col "+Bt.col+":"),Xr.push("");for(var pr=0;pr<Si.length;pr++){var Qi=Si[pr],Zo=Ir+pr;Xr.push(mr(String(Zo),Br)+" "+Qi),Zo===Bt.line&&Xr.push(mr("",Br+Bt.col+1)+"^")}return Xr.join("\n")},pi.prototype.clone=function(){return new pi(this.states,this.state)},pi.prototype.has=function(Bt){return!0},{compile:function Go(Bt){var yn=Ks(Bi(Bt));return new pi({start:yn},"start")},states:function So(Bt,yn){var Pn=Bt.$all?Bi(Bt.$all):[];delete Bt.$all;var sr=Object.getOwnPropertyNames(Bt);yn||(yn=sr[0]);for(var Ir=Object.create(null),dr=0;dr<sr.length;dr++)Ir[Br=sr[dr]]=Bi(Bt[Br]).concat(Pn);for(dr=0;dr<sr.length;dr++)for(var Si=Ir[Br=sr[dr]],Xr=Object.create(null),pr=0;pr<Si.length;pr++){var Qi=Si[pr];
1if(Qi.include){var Zo=[pr,1];if(Qi.include!==Br&&!Xr[Qi.include]){Xr[Qi.include]=!0;var Zs=Ir[Qi.include];if(!Zs)throw new Error("Cannot include nonexistent state '"+Qi.include+"' (in state '"+Br+"')");for(var Ao=0;Ao<Zs.length;Ao++){var go=Zs[Ao];-1===Si.indexOf(go)&&Zo.push(go)}}Si.splice.apply(Si,Zo),pr--}}var Js=Object.create(null);for(dr=0;dr<sr.length;dr++){var Br;Js[Br=sr[dr]]=Ks(Ir[Br],!0)}for(dr=0;dr<sr.length;dr++){var Wa=sr[dr],Ka=Js[Wa],pl=Ka.groups;for(pr=0;pr<pl.length;pr++)Qo(pl[pr],Wa,Js);var ic=Object.getOwnPropertyNames(Ka.fast);for(pr=0;pr<ic.length;pr++)Qo(Ka.fast[ic[pr]],Wa,Js)}return new pi(Js,yn)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function Xo(Bt){for(var yn=typeof Map<"u",Pn=yn?new Map:Object.create(null),sr=Object.getOwnPropertyNames(Bt),Ir=0;Ir<sr.length;Ir++){var dr=sr[Ir],Br=Bt[dr];(Array.isArray(Br)?Br:[Br]).forEach(function(Xr){if("string"!=typeof Xr)throw new Error("keyword must be string (in keyword '"+dr+"')");yn?Pn.set(Xr,dr):Pn[Xr]=dr})}return function(Xr){return yn?Pn.get(Xr):Pn[Xr]}}}},(m=wt).exports?m.exports=K():F.moo=K();var en=wt.exports;(function(m){var F=cr&&cr.__importDefault||function(G){return G&&G.__esModule?G:{default:G}};Object.defineProperty(m,"__esModule",{value:!0}),m.lexer=m.states=void 0;const K=F(en);m.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:G=>G.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:G=>G.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:G=>G.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:G=>G.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:G=>G.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:G=>G.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:G=>G.substring(0,G.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},m.lexer=K.default.states(m.states)})(rr),Object.defineProperty(hr,"__esModule",{value:!0});var ct=hr.parse=hr.ParseError=void 0;const gt=rr,It=m=>({offset:m.offset,line:m.line,col:m.col,text:m.text,lineBreaks:m.lineBreaks}),dn=m=>"plural"===m||"select"===m||"selectordinal"===m;const Vn=["number","date","time","spellout","ordinal","duration"],kn=["zero","one","two","few","many","other"];class Bn extends Error{constructor(F,K){super(gt.lexer.formatError(F,K))}}hr.ParseError=Bn;class Cr{constructor(F,K){var G,ne,De,Ke;this.lexer=gt.lexer.reset(F),this.cardinalKeys=null!==(G=K?.cardinal)&&void 0!==G?G:kn,this.ordinalKeys=null!==(ne=K?.ordinal)&&void 0!==ne?ne:kn,this.strict=null!==(De=K?.strict)&&void 0!==De&&De,this.strictPluralKeys=null===(Ke=K?.strictPluralKeys)||void 0===Ke||Ke}parse(){return this.parseBody(!1,!0)}checkSelectKey(F,K,G){if("="===G[0]){if("select"===K)throw new Bn(F,`The case ${G} is not valid with select`)}else if("select"!==K){const ne="plural"===K?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&ne.length>0&&!ne.includes(G))throw new Bn(F,`The ${K} case ${G} is not valid in this locale`)}}parseSelect(F,K,G,ne){let{value:De}=F;const Ke={type:ne,arg:De,cases:[],ctx:G};"plural"===ne||"selectordinal"===ne?K=!0:this.strict&&(K=!1);for(const Et of this.lexer)switch(Et.type){case"offset":if("select"===ne)throw new Bn(Et,"Unexpected plural offset for select");if(Ke.cases.length>0)throw new Bn(Et,"Plural offset must be set before cases");Ke.pluralOffset=Number(Et.value),G.text+=Et.text,G.lineBreaks+=Et.lineBreaks;break;case"case":this.checkSelectKey(Et,ne,Et.value),Ke.cases.push({key:Et.value,tokens:this.parseBody(K),ctx:It(Et)});break;case"end":return Ke;default:throw new Bn(Et,`Unexpected lexer token: ${Et.type}`)}throw new Bn(null,"Unexpected message end")}parseArgToken(F,K){const G=It(F),ne=this.lexer.next();if(!ne)throw new Bn(null,"Unexpected message end");if(G.text+=ne.text,G.lineBreaks+=ne.lineBreaks,this.strict&&("func-simple"===ne.type||"func-args"===ne.type)&&!Vn.includes(ne.value))throw new Bn(F,`Invalid strict mode function arg type: ${ne.value}`);switch(ne.type){case"end":return{type:"argument",arg:F.value,ctx:G};case"func-simple":{const De=this.lexer.next();if(!De)throw new Bn(null,"Unexpected message end");if("end"!==De.type)throw new Bn(De,`Unexpected lexer token: ${De.type}`);if(G.text+=De.text,dn(ne.value.toLowerCase()))throw new Bn(ne,`Invalid type identifier: ${ne.value}`);return{type:"function",arg:F.value,key:ne.value,ctx:G}}case"func-args":{if(dn(ne.value.toLowerCase()))throw new Bn(ne,`Invalid type identifier: ${ne.value}`);let De=this.parseBody(!this.strict&&K);return this.strict&&De.length>0&&(De=function In(m,F){let K="",G="";for(const De of F){const Ke=De.ctx.text;switch(G+=Ke,De.type){case"content":K+=De.value;break;case"argument":case"function":case"octothorpe":K+=Ke;break;default:throw new Bn(m,`Unsupported part in strict mode function arg style: ${Ke}`)}}return[{type:"content",value:K.trim(),ctx:Object.assign({},F[0].ctx,{text:G})}]}(F,De)),{type:"function",arg:F.value,key:ne.value,param:De,ctx:G}}case"select":if(dn(ne.value))return this.parseSelect(F,K,G,ne.value);throw new Bn(ne,`Unexpected select type ${ne.value}`);default:throw new Bn(ne,`Unexpected lexer token: ${ne.type}`)}}parseBody(F,K){const G=[];let ne=null;for(const De of this.lexer)if("argument"===De.type)ne&&(ne=null),G.push(this.parseArgToken(De,F));else if("octothorpe"===De.type&&F)ne&&(ne=null),G.push({type:"octothorpe",ctx:It(De)}
1);else{if("end"===De.type&&!K)return G;{let Ke=De.value;if(!F&&"quoted"===De.type&&"#"===Ke[0]){if(Ke.includes("{"))throw new Bn(De,`Unsupported escape pattern: ${Ke}`);Ke=De.text}ne?(ne.value+=Ke,ne.ctx.text+=De.text,ne.ctx.lineBreaks+=De.lineBreaks):(ne={type:"content",value:Ke,ctx:It(De)},G.push(ne))}}if(K)return G;throw new Bn(null,"Unexpected message end")}}function hn(m){return hn[m]||(hn[m]=new Intl.NumberFormat(m))}ct=hr.parse=function En(m){return new Cr(m,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var mt=Object.freeze({__proto__:null,_nf:hn,number:function Kn(m,F,K){return hn(m).format(F-K)},plural:function ve(m,F,K,G,ne){if({}.hasOwnProperty.call(G,m))return G[m];F&&(m-=F);var De=K(m,ne);return De in G?G[De]:G.other},reqArgs:function He(m,F){for(var K=0;K<m.length;++K)if(!F||void 0===F[m[K]])throw new Error("Message requires argument '".concat(m[K],"'"))},select:function Fe(m,F){return{}.hasOwnProperty.call(F,m)?F[m]:F.other},strictNumber:function xe(m,F,K,G){var ne=F-K;if(isNaN(ne))throw new Error("`"+G+"` or its offset is not a number");return hn(m).format(ne)}});var sn={};function An(m,F){var K=String(m)+JSON.stringify(F);return sn[K]||(sn[K]=new Intl.NumberFormat(m,F)),sn[K]}var fr=Object.freeze({__proto__:null,date:function Rt(m,F,K){var G={day:"numeric",month:"short",year:"numeric"};switch(K){case"full":G.weekday="long";case"long":G.month="long";break;case"short":G.month="numeric"}return new Date(m).toLocaleDateString(F,G)},duration:function Qt(m){if("number"!=typeof m&&(m=Number(m)),!isFinite(m))return String(m);var F="";m<0?(F="-",m=Math.abs(m)):m=Number(m);var K=m%60,G=[Math.round(K)===K?K:K.toFixed(3)];return m<60?G.unshift(0):(m=Math.round((m-Number(G[0]))/60),G.unshift(m%60),m>=60&&(m=Math.round((m-Number(G[0]))/60),G.unshift(m))),F+G.shift()+":"+G.map(function(De){return Number(De)<10?"0"+String(De):String(De)}).join(":")},numberCurrency:function(m,F,K){return An(F,{style:"currency",currency:K,minimumFractionDigits:2,maximumFractionDigits:2}).format(m)},numberFmt:function Ln(m,F,K,G){var ne=K&&K.split(":")||[],De=ne[0],Ke=ne[1];return An(F,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:Ke&&Ke.trim()||G,minimumFractionDigits:2,maximumFractionDigits:2}}[De]||{}).format(m)},numberInteger:function(m,F){return An(F,{maximumFractionDigits:0}).format(m)},numberPercent:function(m,F){return An(F,{style:"percent"}).format(m)},time:function lr(m,F,K){var G={second:"numeric",minute:"numeric",hour:"numeric"};switch(K){case"full":case"long":G.timeZoneName="short";break;case"short":delete G.second}return new Date(m).toLocaleTimeString(F,G)}}),Vt=Sn({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 ft(m,F){F&&(m+=" "+function dt(m){let F=0;for(let K=0;K<m.length;++K)F=(F<<5)-F+m.charCodeAt(K),F|=0;return F}(m).toString(36));const K=m.trim().replace(/\W+/g,"_");return Vt.ES3[K]||Vt.ESnext[K]||/^\d/.test(K)?"_"+K:K}function Xt(m,F){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(F)&&!Vt.ES3[F])return m?m+"."+F:F;{const K=JSON.stringify(F);return m?m+"["+K+"]":K}}var Nn=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));var te="@messageformat/runtime/lib/plurals",ue=function(){function m(F){this.arguments=[],this.runtime={},this.options=F}return m.prototype.compile=function(F,K,G){var ne,De,Ke=this,Et=this.options,Lt=Et.localeCodeFromKey,cn=Et.requireAllArguments,Jn=Et.strict,mr=Et.strictPluralKeys;if("object"==typeof F){var Sr={};try{for(var Tn=c(Object.keys(F)),Qr=Tn.next();!Qr.done;Qr=Tn.next()){var Ti=Qr.value,Bi=Lt?Lt(Ti):Ti;Sr[Ti]=this.compile(F[Ti],G&&Bi&&G[Bi]||K,G)}}catch(pi){ne={error:pi}}finally{try{Qr&&!Qr.done&&(De=Tn.return)&&De.call(Tn)}finally{if(ne)throw ne.error}}return Sr}this.plural=K;var Ks={cardinal:K.cardinals,ordinal:K.ordinals,strict:Jn,strictPluralKeys:mr};this.arguments=[];var Go=ct(F,Ks).map(function(pi){return Ke.token(pi,null)}),Qo=this.arguments.length>0,So=this.concatenate(Go,!0);if(cn&&Qo){this.setRuntimeFn("reqArgs");var Xo=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Xo,", d); return ").concat(So,"; }")}return"(".concat(Qo?"d":"",") => ").concat(So)},m.prototype.cases=function(F,K){var G=this,ne=!0,De=F.cases.map(function(Jn){var mr=Jn.key;"other"===mr&&(ne=!1);var Tn=Jn.tokens.map(function(Qr){return G.token(Qr,K)});return"".concat(Xt(null,mr.replace(/^=/,"")),": ").concat(G.concatenate(Tn,!1))});if(ne){var Ke=F.type,Et=this.plural,cn=Et.ordinals;if("select"===Ke||"plural"===Ke&&Et.cardinals.includes("other")||"selectordinal"===Ke&&cn.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(F)))}return"{ ".concat(De.join(", ")," }")},m.prototype.concatenate=function(F,K){return"values"===this.options.returnType&&(K||F.length>1)?"["+F.join(", ")+"]":F.join(" + ")||'""'},m.prototype.token=function(F,K){if("content"===F.type)return JSON.stringify(F.value);var Ke,Et,G=this.plural,ne=G.id,De=G.lc;switch("arg"in F?(this.arguments.push(F.arg),Ke=[Xt("d",F.arg)]):Ke=[],F.type){case"argument":return this.options.biDiSupport?function Qn(m,F){var K=Nn.test(F),G=JSON.stringify(K?"\u200f":"\u200e");return"".concat(G," + ").concat(m," + ").concat(G)}(String(Ke[0]),De):String(Ke[0]);case"select":Et="select",K&&this.options.strict&&(K=null),Ke.push(this.cases(F,K)),this.setRuntimeFn("select");break;
1case"selectordinal":Et="plural",Ke.push(F.pluralOffset||0,ne,this.cases(F,F),1),this.setLocale(ne,!0),this.setRuntimeFn("plural");break;case"plural":Et="plural",Ke.push(F.pluralOffset||0,ne,this.cases(F,F)),this.setLocale(ne,!1),this.setRuntimeFn("plural");break;case"function":var Lt=this.options.customFormatters[F.key],cn=Lt&&"module"in Lt&&"function"==typeof Lt.module;if(!Lt){if("date"===F.key){Et=this.setDateFormatter(F,Ke,K);break}if("number"===F.key){Et=this.setNumberFormatter(F,Ke,K);break}}if(Ke.push(JSON.stringify(this.plural.locale)),F.param){K&&this.options.strict&&(K=null);var Jn=this.getFormatterArg(F,K);Jn&&Ke.push(Jn)}Et=cn?ft("".concat(F.key,"__").concat(this.plural.locale)):F.key,this.setFormatter(Et,F.key);break;case"octothorpe":if(!K)return'"#"';Ke=[JSON.stringify(this.plural.locale),Xt("d",K.arg),K.pluralOffset||0],this.options.strict?(Et="strictNumber",Ke.push(JSON.stringify(K.arg)),this.setRuntimeFn("strictNumber")):(Et="number",this.setRuntimeFn("number"))}if(!Et)throw new Error("Parser error for token "+JSON.stringify(F));return"".concat(Et,"(").concat(Ke.join(", "),")")},m.prototype.runtimeIncludes=function(F,K){if(ft(F)!==F)throw new SyntaxError("Reserved word used as ".concat(K," identifier: ").concat(F));var G=this.runtime[F];if(!G||G.type===K)return G;throw new TypeError("Cannot override ".concat(G.type," runtime function as ").concat(K,": ").concat(F))},m.prototype.setLocale=function(F,K){var Lt,cn,Jn,G=this.runtimeIncludes(F,"locale"),ne=this.plural,De=ne.getCardinal,Ke=ne.getPlural,Et=ne.isDefault;if(!K&&Et&&De){if(G)return;Lt=function(mr){return De(mr)},cn="@messageformat/runtime/lib/cardinals",Jn=function(){return String(De)}}else{if(G&&(!Et||G.module===te))return;Lt=function(mr,Sr){return Ke(mr,Sr)},cn=Et?te:Ke.module||null,Jn=function(){return String(Ke)}}this.runtime[F]=Object.assign(Lt,{id:F,module:cn,toString:Jn,type:"locale"})},m.prototype.setRuntimeFn=function(F){this.runtimeIncludes(F,"runtime")||(this.runtime[F]=Object.assign(mt[F],{id:F,module:"@messageformat/runtime",type:"runtime"}))},m.prototype.getFormatterArg=function(F,K){var G,ne,De,Ke,Et=this,Lt=F.key,cn=F.param,Jn=this.options.customFormatters[Lt]||_e(Lt)&&fr[Lt];if(!Jn||!cn)return null;var mr="arg"in Jn&&Jn.arg||"string";if("options"===mr){var Sr="";try{for(var Tn=c(cn),Qr=Tn.next();!Qr.done;Qr=Tn.next()){var Ti=Qr.value;if("content"!==Ti.type)throw new SyntaxError("Expected literal options for ".concat(Lt," formatter"));Sr+=Ti.value}}catch(Yo){G={error:Yo}}finally{try{Qr&&!Qr.done&&(ne=Tn.return)&&ne.call(Tn)}finally{if(G)throw G.error}}var Bi={};try{for(var Es=c(Sr.split(",")),Ks=Es.next();!Ks.done;Ks=Es.next()){var Go=Ks.value,Qo=Go.indexOf(":");if(-1===Qo)Bi[Go.trim()]=null;else{var So=Go.substring(0,Qo).trim(),Xo=Go.substring(Qo+1).trim();if("true"===Xo)Bi[So]=!0;else if("false"===Xo)Bi[So]=!1;else if("null"===Xo)Bi[So]=null;else{var pi=Number(Xo);Bi[So]=Number.isFinite(pi)?pi:Xo}}}}catch(Yo){De={error:Yo}}finally{try{Ks&&!Ks.done&&(Ke=Es.return)&&Ke.call(Es)}finally{if(De)throw De.error}}return JSON.stringify(Bi)}var Va=cn.map(function(Yo){return Et.token(Yo,K)});if("raw"===mr)return"[".concat(Va.join(", "),"]");var rc=Va.join(" + ");return rc?"(".concat(rc,").trim()"):'""'},m.prototype.setFormatter=function(F,K){if(!this.runtimeIncludes(F,"formatter")){var G=this.options.customFormatters[K||F];if(G){var ne="function"==typeof G?{formatter:G}:G;this.runtime[F]=Object.assign(ne.formatter.bind({}),P(P({},ne.formatter.prototype),{toString:function(){return String(ne.formatter)}}),{type:"formatter"},"module"in G&&G.module&&G.id?{id:ft(G.id),module:"function"==typeof G.module?G.module(this.plural.locale):G.module}:{id:null,module:null})}else{if(!_e(F))throw new Error("Formatting function not found: ".concat(F));this.runtime[F]=Object.assign(fr[F],{type:"formatter"},{id:F,module:"@messageformat/runtime/lib/formatters"})}}},m.prototype.setDateFormatter=function(F,K,G){var ne=this,De=F.param,Ke=this.plural.locale,Et=De&&1===De.length&&De[0];if(Et&&"content"===Et.type&&/^\s*::/.test(Et.value)){var Lt=Et.value.trim().substr(2),cn=ft("date_".concat(Ke,"_").concat(Lt),!0);if(!this.runtimeIncludes(cn,"formatter")){var Jn=function Q(m,F,K,G){"string"==typeof F&&(F=B(F)),"function"==typeof K&&(G=K,K=void 0);const ne=H(F,K,G),De=new Intl.DateTimeFormat(m,ne);return Ke=>De.format(Ke)}(Ke,Lt,this.options.timeZone);this.runtime[cn]=Object.assign(Jn,{id:cn,module:null,toString:function(){return function Z(m,F,K,G){"string"==typeof F&&(F=B(F)),"function"==typeof K&&(G=K,K=void 0);const ne=H(F,K,G);return["(function() {",`var opt = ${JSON.stringify(ne)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(m)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(Ke,Lt,ne.options.timeZone)},type:"formatter"})}return cn}if(K.push(JSON.stringify(Ke)),De&&De.length>0){G&&this.options.strict&&(G=null);var mr=De.map(function(Sr){return ne.token(Sr,G)});K.push("("+(mr.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},m.prototype.setNumberFormatter=function(F,K,G){var ne=this,De=F.param,Ke=this.plural.locale;if(!De||0===De.length)return K.unshift(JSON.stringify(Ke)),K.push("0"),this.setRuntimeFn("number"),"number";if(K.push(JSON.stringify(Ke)),1===De.length&&"content"===De[0].type){var Et=De[0].value.trim();switch(Et){case"currency":return K.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 Lt=Et.match(/^currency:([A-Z]+)$/);if(Lt)return K.push(JSON.stringify(Lt[1])),this.setFormatter("numberCurrency"),"numberCurrency";var cn=ft("number_".concat(Ke,"_").concat(Et),!0);if(!this.runtimeIncludes(cn,"formatter")){var Jn=this.options.currency,mr=or(Ke,Et,Jn);this.runtime[cn]=Object.assign(mr,{id:null,module:null,toString:function(){return _n(Ke,Et,Jn)},type:"formatter"})}return cn}G&&this.options.strict&&(G=null);var Sr=De.map(function(Tn){return ne.token(Tn,G)}
1);return K.push("("+(Sr.join(" + ")||'""')+").trim()"),K.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},m}();function _e(m){return m in fr}const Se=m=>1==m?"one":"other",Dt=m=>0==m||1==m?"one":"other",kt=m=>m>=0&&m<=1?"one":"other",Yt=m=>{const F=String(m).split(".");return 1!=m||F[1]?"other":"one"},U=m=>"other",Ee=m=>1==m?"one":2==m?"two":"other";var pa=Object.freeze({__proto__:null,af:Se,ak:Dt,am:kt,an:Se,ar:m=>{const F=String(m).split("."),G=Number(F[0])==m&&F[0].slice(-2);return 0==m?"zero":1==m?"one":2==m?"two":G>=3&&G<=10?"few":G>=11&&G<=99?"many":"other"},ars:m=>{const F=String(m).split("."),G=Number(F[0])==m&&F[0].slice(-2);return 0==m?"zero":1==m?"one":2==m?"two":G>=3&&G<=10?"few":G>=11&&G<=99?"many":"other"},as:kt,asa:Se,ast:Yt,az:Se,bal:Se,be:m=>{const F=String(m).split("."),K=Number(F[0])==m,G=K&&F[0].slice(-1),ne=K&&F[0].slice(-2);return 1==G&&11!=ne?"one":G>=2&&G<=4&&(ne<12||ne>14)?"few":K&&0==G||G>=5&&G<=9||ne>=11&&ne<=14?"many":"other"},bem:Se,bez:Se,bg:Se,bho:Dt,bm:U,bn:kt,bo:U,br:m=>{const F=String(m).split("."),K=Number(F[0])==m,G=K&&F[0].slice(-1),ne=K&&F[0].slice(-2),De=K&&F[0].slice(-6);return 1==G&&11!=ne&&71!=ne&&91!=ne?"one":2==G&&12!=ne&&72!=ne&&92!=ne?"two":(3==G||4==G||9==G)&&(ne<10||ne>19)&&(ne<70||ne>79)&&(ne<90||ne>99)?"few":0!=m&&K&&0==De?"many":"other"},brx:Se,bs:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=K.slice(-2),Et=G.slice(-1),Lt=G.slice(-2);return ne&&1==De&&11!=Ke||1==Et&&11!=Lt?"one":ne&&De>=2&&De<=4&&(Ke<12||Ke>14)||Et>=2&&Et<=4&&(Lt<12||Lt>14)?"few":"other"},ca:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-6);return 1==m&&G?"one":0!=K&&0==ne&&G?"many":"other"},ce:Se,ceb:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=G.slice(-1);return ne&&(1==K||2==K||3==K)||ne&&4!=De&&6!=De&&9!=De||!ne&&4!=Ke&&6!=Ke&&9!=Ke?"one":"other"},cgg:Se,chr:Se,ckb:Se,cs:m=>{const F=String(m).split("."),K=F[0],G=!F[1];return 1==m&&G?"one":K>=2&&K<=4&&G?"few":G?"other":"many"},cy:m=>0==m?"zero":1==m?"one":2==m?"two":3==m?"few":6==m?"many":"other",da:m=>{const F=String(m).split("."),K=F[0],G=Number(F[0])==m;return 1!=m&&(G||0!=K&&1!=K)?"other":"one"},de:Yt,doi:kt,dsb:m=>{const F=String(m).split("."),G=F[1]||"",ne=!F[1],De=F[0].slice(-2),Ke=G.slice(-2);return ne&&1==De||1==Ke?"one":ne&&2==De||2==Ke?"two":ne&&(3==De||4==De)||3==Ke||4==Ke?"few":"other"},dv:Se,dz:U,ee:Se,el:Se,en:Yt,eo:Se,es:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-6);return 1==m?"one":0!=K&&0==ne&&G?"many":"other"},et:Yt,eu:Se,fa:kt,ff:m=>m>=0&&m<2?"one":"other",fi:Yt,fil:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=G.slice(-1);return ne&&(1==K||2==K||3==K)||ne&&4!=De&&6!=De&&9!=De||!ne&&4!=Ke&&6!=Ke&&9!=Ke?"one":"other"},fo:Se,fr:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-6);return m>=0&&m<2?"one":0!=K&&0==ne&&G?"many":"other"},fur:Se,fy:Yt,ga:m=>{const F=String(m).split("."),K=Number(F[0])==m;return 1==m?"one":2==m?"two":K&&m>=3&&m<=6?"few":K&&m>=7&&m<=10?"many":"other"},gd:m=>{const F=String(m).split("."),K=Number(F[0])==m;return 1==m||11==m?"one":2==m||12==m?"two":K&&m>=3&&m<=10||K&&m>=13&&m<=19?"few":"other"},gl:Yt,gsw:Se,gu:kt,guw:Dt,gv:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-1),De=K.slice(-2);return G&&1==ne?"one":G&&2==ne?"two":!G||0!=De&&20!=De&&40!=De&&60!=De&&80!=De?G?"other":"many":"few"},ha:Se,haw:Se,he:m=>{const F=String(m).split("."),K=F[0],G=!F[1];return 1==K&&G||0==K&&!G?"one":2==K&&G?"two":"other"},hi:kt,hnj:U,hr:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=K.slice(-2),Et=G.slice(-1),Lt=G.slice(-2);return ne&&1==De&&11!=Ke||1==Et&&11!=Lt?"one":ne&&De>=2&&De<=4&&(Ke<12||Ke>14)||Et>=2&&Et<=4&&(Lt<12||Lt>14)?"few":"other"},hsb:m=>{const F=String(m).split("."),G=F[1]||"",ne=!F[1],De=F[0].slice(-2),Ke=G.slice(-2);return ne&&1==De||1==Ke?"one":ne&&2==De||2==Ke?"two":ne&&(3==De||4==De)||3==Ke||4==Ke?"few":"other"},hu:Se,hy:m=>m>=0&&m<2?"one":"other",ia:Yt,id:U,ig:U,ii:U,io:Yt,is:m=>{const F=String(m).split("."),K=F[0],G=(F[1]||"").replace(/0+$/,""),ne=Number(F[0])==m,De=K.slice(-1),Ke=K.slice(-2);return ne&&1==De&&11!=Ke||G%10==1&&G%100!=11?"one":"other"},it:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-6);return 1==m&&G?"one":0!=K&&0==ne&&G?"many":"other"},iu:Ee,ja:U,jbo:U,jgo:Se,jmc:Se,jv:U,jw:U,ka:Se,kab:m=>m>
1=0&&m<2?"one":"other",kaj:Se,kcg:Se,kde:U,kea:U,kk:Se,kkj:Se,kl:Se,km:U,kn:kt,ko:U,ks:Se,ksb:Se,ksh:m=>0==m?"zero":1==m?"one":"other",ku:Se,kw:m=>{const F=String(m).split("."),K=Number(F[0])==m,G=K&&F[0].slice(-2),ne=K&&F[0].slice(-3),De=K&&F[0].slice(-5),Ke=K&&F[0].slice(-6);return 0==m?"zero":1==m?"one":2==G||22==G||42==G||62==G||82==G||K&&0==ne&&(De>=1e3&&De<=2e4||4e4==De||6e4==De||8e4==De)||0!=m&&1e5==Ke?"two":3==G||23==G||43==G||63==G||83==G?"few":1==m||1!=G&&21!=G&&41!=G&&61!=G&&81!=G?"other":"many"},ky:Se,lag:m=>{const K=String(m).split(".")[0];return 0==m?"zero":0!=K&&1!=K||0==m?"other":"one"},lb:Se,lg:Se,lij:Yt,lkt:U,ln:Dt,lo:U,lt:m=>{const F=String(m).split("."),K=F[1]||"",G=Number(F[0])==m,ne=G&&F[0].slice(-1),De=G&&F[0].slice(-2);return 1==ne&&(De<11||De>19)?"one":ne>=2&&ne<=9&&(De<11||De>19)?"few":0!=K?"many":"other"},lv:m=>{const F=String(m).split("."),K=F[1]||"",G=K.length,ne=Number(F[0])==m,De=ne&&F[0].slice(-1),Ke=ne&&F[0].slice(-2),Et=K.slice(-2),Lt=K.slice(-1);return ne&&0==De||Ke>=11&&Ke<=19||2==G&&Et>=11&&Et<=19?"zero":1==De&&11!=Ke||2==G&&1==Lt&&11!=Et||2!=G&&1==Lt?"one":"other"},mas:Se,mg:Dt,mgo:Se,mk:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=K.slice(-2),Et=G.slice(-1),Lt=G.slice(-2);return ne&&1==De&&11!=Ke||1==Et&&11!=Lt?"one":"other"},ml:Se,mn:Se,mo:m=>{const F=String(m).split("."),K=!F[1],ne=Number(F[0])==m&&F[0].slice(-2);return 1==m&&K?"one":!K||0==m||1!=m&&ne>=1&&ne<=19?"few":"other"},mr:Se,ms:U,mt:m=>{const F=String(m).split("."),G=Number(F[0])==m&&F[0].slice(-2);return 1==m?"one":2==m?"two":0==m||G>=3&&G<=10?"few":G>=11&&G<=19?"many":"other"},my:U,nah:Se,naq:Ee,nb:Se,nd:Se,ne:Se,nl:Yt,nn:Se,nnh:Se,no:Se,nqo:U,nr:Se,nso:Dt,ny:Se,nyn:Se,om:Se,or:Se,os:Se,osa:U,pa:Dt,pap:Se,pcm:kt,pl:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-1),De=K.slice(-2);return 1==m&&G?"one":G&&ne>=2&&ne<=4&&(De<12||De>14)?"few":G&&1!=K&&(0==ne||1==ne)||G&&ne>=5&&ne<=9||G&&De>=12&&De<=14?"many":"other"},prg:m=>{const F=String(m).split("."),K=F[1]||"",G=K.length,ne=Number(F[0])==m,De=ne&&F[0].slice(-1),Ke=ne&&F[0].slice(-2),Et=K.slice(-2),Lt=K.slice(-1);return ne&&0==De||Ke>=11&&Ke<=19||2==G&&Et>=11&&Et<=19?"zero":1==De&&11!=Ke||2==G&&1==Lt&&11!=Et||2!=G&&1==Lt?"one":"other"},ps:Se,pt:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-6);return 0==K||1==K?"one":0!=K&&0==ne&&G?"many":"other"},pt_PT:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-6);return 1==m&&G?"one":0!=K&&0==ne&&G?"many":"other"},rm:Se,ro:m=>{const F=String(m).split("."),K=!F[1],ne=Number(F[0])==m&&F[0].slice(-2);return 1==m&&K?"one":!K||0==m||1!=m&&ne>=1&&ne<=19?"few":"other"},rof:Se,ru:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-1),De=K.slice(-2);return G&&1==ne&&11!=De?"one":G&&ne>=2&&ne<=4&&(De<12||De>14)?"few":G&&0==ne||G&&ne>=5&&ne<=9||G&&De>=11&&De<=14?"many":"other"},rwk:Se,sah:U,saq:Se,sat:Ee,sc:Yt,scn:Yt,sd:Se,sdh:Se,se:Ee,seh:Se,ses:U,sg:U,sh:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=K.slice(-2),Et=G.slice(-1),Lt=G.slice(-2);return ne&&1==De&&11!=Ke||1==Et&&11!=Lt?"one":ne&&De>=2&&De<=4&&(Ke<12||Ke>14)||Et>=2&&Et<=4&&(Lt<12||Lt>14)?"few":"other"},shi:m=>{const F=String(m).split("."),K=Number(F[0])==m;return m>=0&&m<=1?"one":K&&m>=2&&m<=10?"few":"other"},si:m=>{const F=String(m).split(".");return 0==m||1==m||0==F[0]&&1==(F[1]||"")?"one":"other"},sk:m=>{const F=String(m).split("."),K=F[0],G=!F[1];return 1==m&&G?"one":K>=2&&K<=4&&G?"few":G?"other":"many"},sl:m=>{const F=String(m).split("."),G=!F[1],ne=F[0].slice(-2);return G&&1==ne?"one":G&&2==ne?"two":G&&(3==ne||4==ne)||!G?"few":"other"},sma:Ee,smi:Ee,smj:Ee,smn:Ee,sms:Ee,sn:Se,so:Se,sq:Se,sr:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=K.slice(-2),Et=G.slice(-1),Lt=G.slice(-2);return ne&&1==De&&11!=Ke||1==Et&&11!=Lt?"one":ne&&De>=2&&De<=4&&(Ke<12||Ke>14)||Et>=2&&Et<=4&&(Lt<12||Lt>14)?"few":"other"},ss:Se,ssy:Se,st:Se,su:U,sv:Yt,sw:Yt,syr:Se,ta:Se,te:Se,teo:Se,th:U,ti:Dt,tig:Se,tk:Se,tl:m=>{const F=String(m).split("."),K=F[0],G=F[1]||"",ne=!F[1],De=K.slice(-1),Ke=G.slice(-1);return ne&&(1==K||2==K||3==K)||ne&&4!=De&&6!=De&&9!=De||!ne&&4!=Ke&&6!=Ke&&9!=Ke?"one":"other"},tn:Se,to:U,tpi:U,tr:Se,ts:Se,tzm:m=>{const F=String(m).split("."),K=Number(F[0])==m;return 0==m||1==m||K&&m>=11&&m<=99?"one":"other"},ug:Se,uk:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-1),De=K.slice(-2);return G&&1==ne&&11!=De?"one":G&&ne>=2&&ne<=4&&(De<12||De>14)?"few":G&&0==ne||G&&ne>=5&&ne<=9||G&&De>=11&&De<=14?"many":"other"}
1,und:U,ur:Yt,uz:Se,ve:Se,vec:m=>{const F=String(m).split("."),K=F[0],G=!F[1],ne=K.slice(-6);return 1==m&&G?"one":0!=K&&0==ne&&G?"many":"other"},vi:U,vo:Se,vun:Se,wa:Dt,wae:Se,wo:U,xh:Se,xog:Se,yi:Yt,yo:U,yue:U,zh:U,zu:kt});const ts="zero",gn="one",li="two",Dr="few",Ar="many",$t="other",zt={cardinal:[gn,$t],ordinal:[$t]},Vs={cardinal:[gn,$t],ordinal:[gn,$t]},Pr={cardinal:[$t],ordinal:[$t]},vs={cardinal:[gn,li,$t],ordinal:[$t]};var al=Object.freeze({__proto__:null,af:zt,ak:zt,am:zt,an:zt,ar:{cardinal:[ts,gn,li,Dr,Ar,$t],ordinal:[$t]},ars:{cardinal:[ts,gn,li,Dr,Ar,$t],ordinal:[$t]},as:{cardinal:[gn,$t],ordinal:[gn,li,Dr,Ar,$t]},asa:zt,ast:zt,az:{cardinal:[gn,$t],ordinal:[gn,Dr,Ar,$t]},bal:Vs,be:{cardinal:[gn,Dr,Ar,$t],ordinal:[Dr,$t]},bem:zt,bez:zt,bg:zt,bho:zt,bm:Pr,bn:{cardinal:[gn,$t],ordinal:[gn,li,Dr,Ar,$t]},bo:Pr,br:{cardinal:[gn,li,Dr,Ar,$t],ordinal:[$t]},brx:zt,bs:{cardinal:[gn,Dr,$t],ordinal:[$t]},ca:{cardinal:[gn,Ar,$t],ordinal:[gn,li,Dr,$t]},ce:zt,ceb:zt,cgg:zt,chr:zt,ckb:zt,cs:{cardinal:[gn,Dr,Ar,$t],ordinal:[$t]},cy:{cardinal:[ts,gn,li,Dr,Ar,$t],ordinal:[ts,gn,li,Dr,Ar,$t]},da:zt,de:zt,doi:zt,dsb:{cardinal:[gn,li,Dr,$t],ordinal:[$t]},dv:zt,dz:Pr,ee:zt,el:zt,en:{cardinal:[gn,$t],ordinal:[gn,li,Dr,$t]},eo:zt,es:{cardinal:[gn,Ar,$t],ordinal:[$t]},et:zt,eu:zt,fa:zt,ff:zt,fi:zt,fil:Vs,fo:zt,fr:{cardinal:[gn,Ar,$t],ordinal:[gn,$t]},fur:zt,fy:zt,ga:{cardinal:[gn,li,Dr,Ar,$t],ordinal:[gn,$t]},gd:{cardinal:[gn,li,Dr,$t],ordinal:[gn,li,Dr,$t]},gl:zt,gsw:zt,gu:{cardinal:[gn,$t],ordinal:[gn,li,Dr,Ar,$t]},guw:zt,gv:{cardinal:[gn,li,Dr,Ar,$t],ordinal:[$t]},ha:zt,haw:zt,he:vs,hi:{cardinal:[gn,$t],ordinal:[gn,li,Dr,Ar,$t]},hnj:Pr,hr:{cardinal:[gn,Dr,$t],ordinal:[$t]},hsb:{cardinal:[gn,li,Dr,$t],ordinal:[$t]},hu:Vs,hy:Vs,ia:zt,id:Pr,ig:Pr,ii:Pr,io:zt,is:zt,it:{cardinal:[gn,Ar,$t],ordinal:[Ar,$t]},iu:vs,ja:Pr,jbo:Pr,jgo:zt,jmc:zt,jv:Pr,jw:Pr,ka:{cardinal:[gn,$t],ordinal:[gn,Ar,$t]},kab:zt,kaj:zt,kcg:zt,kde:Pr,kea:Pr,kk:{cardinal:[gn,$t],ordinal:[Ar,$t]},kkj:zt,kl:zt,km:Pr,kn:zt,ko:Pr,ks:zt,ksb:zt,ksh:{cardinal:[ts,gn,$t],ordinal:[$t]},ku:zt,kw:{cardinal:[ts,gn,li,Dr,Ar,$t],ordinal:[gn,Ar,$t]},ky:zt,lag:{cardinal:[ts,gn,$t],ordinal:[$t]},lb:zt,lg:zt,lij:{cardinal:[gn,$t],ordinal:[Ar,$t]},lkt:Pr,ln:zt,lo:{cardinal:[$t],ordinal:[gn,$t]},lt:{cardinal:[gn,Dr,Ar,$t],ordinal:[$t]},lv:{cardinal:[ts,gn,$t],ordinal:[$t]},mas:zt,mg:zt,mgo:zt,mk:{cardinal:[gn,$t],ordinal:[gn,li,Ar,$t]},ml:zt,mn:zt,mo:{cardinal:[gn,Dr,$t],ordinal:[gn,$t]},mr:{cardinal:[gn,$t],ordinal:[gn,li,Dr,$t]},ms:{cardinal:[$t],ordinal:[gn,$t]},mt:{cardinal:[gn,li,Dr,Ar,$t],ordinal:[$t]},my:Pr,nah:zt,naq:vs,nb:zt,nd:zt,ne:Vs,nl:zt,nn:zt,nnh:zt,no:zt,nqo:Pr,nr:zt,nso:zt,ny:zt,nyn:zt,om:zt,or:{cardinal:[gn,$t],ordinal:[gn,li,Dr,Ar,$t]},os:zt,osa:Pr,pa:zt,pap:zt,pcm:zt,pl:{cardinal:[gn,Dr,Ar,$t],ordinal:[$t]},prg:{cardinal:[ts,gn,$t],ordinal:[$t]},ps:zt,pt:{cardinal:[gn,Ar,$t],ordinal:[$t]},pt_PT:{cardinal:[gn,Ar,$t],ordinal:[$t]},rm:zt,ro:{cardinal:[gn,Dr,$t],ordinal:[gn,$t]},rof:zt,ru:{cardinal:[gn,Dr,Ar,$t],ordinal:[$t]},rwk:zt,sah:Pr,saq:zt,sat:vs,sc:{cardinal:[gn,$t],ordinal:[Ar,$t]},scn:{cardinal:[gn,$t],ordinal:[Ar,$t]},sd:zt,sdh:zt,se:vs,seh:zt,ses:Pr,sg:Pr,sh:{cardinal:[gn,Dr,$t],ordinal:[$t]},shi:{cardinal:[gn,Dr,$t],ordinal:[$t]},si:zt,sk:{cardinal:[gn,Dr,Ar,$t],ordinal:[$t]},sl:{cardinal:[gn,li,Dr,$t],ordinal:[$t]},sma:vs,smi:vs,smj:vs,smn:vs,sms:vs,sn:zt,so:zt,sq:{cardinal:[gn,$t],ordinal:[gn,Ar,$t]},sr:{cardinal:[gn,Dr,$t],ordinal:[$t]},ss:zt,ssy:zt,st:zt,su:Pr,sv:Vs,sw:zt,syr:zt,ta:zt,te:zt,teo:zt,th:Pr,ti:zt,tig:zt,tk:{cardinal:[gn,$t],ordinal:[Dr,$t]},tl:Vs,tn:zt,to:Pr,tpi:Pr,tr:zt,ts:zt,tzm:zt,ug:zt,uk:{cardinal:[gn,Dr,Ar,$t],ordinal:[Dr,$t]},und:Pr,ur:zt,uz:zt,ve:zt,vec:{cardinal:[gn,Ar,$t],ordinal:[Ar,$t]},vi:{cardinal:[$t],ordinal:[gn,$t]},vo:zt,vun:zt,wa:zt,wae:zt,wo:Pr,xh:zt,xog:zt,yi:zt,yo:Pr,yue:Pr,zh:Pr,zu:zt});const Dn=(m,F)=>F?"other":1==m?"one":"other",po=(m,F)=>F?"other":0==m||1==m?"one":"other",Ko=(m,F)=>F?"other":m>=0&&m<=1?"one":"other",Ms=(m,F)=>{const K=String(m).split(".");return F||1!=m||K[1]?"other":"one"},Nr=(m,F)=>"other",Ho=(m,F)=>F?"other":1==m?"one":2==m?"two":"other";var $a=Object.freeze({__proto__:null,af:Dn,ak:po,am:Ko,an:Dn,ar:(m,F)=>{const K=String(m).split("."),ne=Number(K[0])==m&&K[0].slice(-2);return F?"other":0==m?"zero":1==m?"one":2==m?"two":ne>=3&&ne<=10?"few":ne>=11&&ne<=99?"many":"other"},ars:(m,F)=>{const K=String(m).split("."),ne=Number(K[0])==m&&K[0].slice(-2);return F?"other":0==m?"zero":1==m?"one":2==m?"two":ne>=3&&ne<=10?"few":ne>=11&&ne<=99?"many":"other"},as:(m,F)=>F?1==m||5==m||7==m||8==m||9==m||10==m?"one":2==m||3==m?"two":4==m?"few":6==m?"many":"other":m>=0&&m<=1?"one":"other",asa:Dn,ast:Ms,az:(m,F)=>{const G=String(m).split(".")[0],ne=G.slice(-1),De=G.slice(-2),Ke=G.slice(-3);return F?1==ne||2==ne||5==ne||7==ne||8==ne||20==De||50==De||70==De||80==De?"one":3==ne||4==ne||100==Ke||200==Ke||300==Ke||400==Ke||500==Ke||600==Ke||700==Ke||800==Ke||900==Ke?"few":0==G||6==ne||40==De||60==De||90==De?"many":"other":1==m?"one":"other"},bal:(m,F)=>1==m?"one":"other",be:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m,ne=G&&K[0].slice(-1),De=G&&K[0].slice(-2);return F?2!=ne&&3!=ne||12==De||13==De?"other":"few":1==ne&&11!=De?"one":ne>=2&&ne<=4&&(De<12||De>14)?"few":G&&0==ne||ne>=5&&ne<=9||De>=11&&De<=14?"many":"other"},bem:Dn,bez:Dn,bg:Dn,bho:po,bm:Nr,bn:(m,F)=>F?1==m||5==m||7==m||8==m||9==m||10==m?"one":2==m||3==m?"two":4==m?"few":6==m?"many":"other":m>=0&&m<=1?"one":"other",bo:Nr,br:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m,ne=G&&K[0].slice(-1),De=G&&K[0].slice(-2),Ke=G&&K[0].slice(-6);return F?"other":1==ne&&11!=De&&71!=De&&91!=De?"one":2==ne&&12!=De&&72!=De&&92!=De?"two":(3==ne||4==ne||9==ne)&&(De<10||De>19)&&(De<70||De>79)&&(De<90||De>99)?"few":0!=m&&G&&0==Ke?"many":"other"},brx:Dn,bs:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=G.slice(-2),Lt=ne.slice(-1),cn=ne.slice(-2);return F?"other":De&&1==Ke&&11!=Et||1==Lt&&11!=cn?"one":De&&Ke>=2&&Ke<=4&&(Et<12||Et>14)||Lt>=2&&Lt<=4&&(cn<12||cn>14)?"few":"other"},ca:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-6);return F?1==m||3==m?"one":2==m?"two":4==m?"few":"other":1==m&&ne?"one":0!=G&&0==De&&ne?"many":"other"},ce:Dn,ceb:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=ne.slice(-1);return F?"other":De&&(1==G||2==G||3==G)||De&&4!=Ke&&6!=Ke&&9!=Ke||!De&&4!=Et&&6!=Et&&9!=Et?"one":"other"},cgg:Dn,chr:Dn,ckb:Dn,cs:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1];return F?"other":1==m&&ne?"one":G>=2&&G<=4&&ne?"few":ne?"other":"many"},cy:(m,F)=>F?0==m||7==m||8==m||9==m?"zero":1==m?"one":2==m?"two":3==m||4==m?"few":5==m||6==m?"many":"other":0==m?"zero":1==m?"one":2==m?"two":3==m?"few":6==m?"many":"other",da:(m,F)=>{const K=String(m).split("."),G=K[0],ne=Number(K[0])==m;return F||1!=m&&(ne||0!=G&&1!=G)?"other":"one"},de:Ms,doi:Ko,dsb:(m,F)=>{const K=String(m).split("."),ne=K[1]||"",De=!K[1],Ke=K[0].slice(-2),Et=ne.slice(-2);return F?"other":De&&1==Ke||1==Et?"one":De&&2==Ke||2==Et?"two":De&&(3==Ke||4==Ke)||3==Et||4==Et?"few":"other"},dv:Dn,dz:Nr,ee:Dn,el:Dn,en:(m,F)=>{const K=String(m).split("."),G=!K[1],ne=Number(K[0])==m,De=ne&&K[0].slice(-1),Ke=ne&&K[0].slice(-2);return F?1==De&&11!=Ke?"one":2==De&&12!=Ke?"two":3==De&&13!=Ke?"few":"other":1==m&&G?"one":"other"},eo:Dn,es:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-6);return F?"other":1==m?"one":0!=G&&0==De&&ne?"many":"other"},et:Ms,eu:Dn,fa:Ko,ff:(m,F)=>F?"other":m>
1=0&&m<2?"one":"other",fi:Ms,fil:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=ne.slice(-1);return F?1==m?"one":"other":De&&(1==G||2==G||3==G)||De&&4!=Ke&&6!=Ke&&9!=Ke||!De&&4!=Et&&6!=Et&&9!=Et?"one":"other"},fo:Dn,fr:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-6);return F?1==m?"one":"other":m>=0&&m<2?"one":0!=G&&0==De&&ne?"many":"other"},fur:Dn,fy:Ms,ga:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m;return F?1==m?"one":"other":1==m?"one":2==m?"two":G&&m>=3&&m<=6?"few":G&&m>=7&&m<=10?"many":"other"},gd:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m;return F?1==m||11==m?"one":2==m||12==m?"two":3==m||13==m?"few":"other":1==m||11==m?"one":2==m||12==m?"two":G&&m>=3&&m<=10||G&&m>=13&&m<=19?"few":"other"},gl:Ms,gsw:Dn,gu:(m,F)=>F?1==m?"one":2==m||3==m?"two":4==m?"few":6==m?"many":"other":m>=0&&m<=1?"one":"other",guw:po,gv:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-1),Ke=G.slice(-2);return F?"other":ne&&1==De?"one":ne&&2==De?"two":!ne||0!=Ke&&20!=Ke&&40!=Ke&&60!=Ke&&80!=Ke?ne?"other":"many":"few"},ha:Dn,haw:Dn,he:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1];return F?"other":1==G&&ne||0==G&&!ne?"one":2==G&&ne?"two":"other"},hi:(m,F)=>F?1==m?"one":2==m||3==m?"two":4==m?"few":6==m?"many":"other":m>=0&&m<=1?"one":"other",hnj:Nr,hr:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=G.slice(-2),Lt=ne.slice(-1),cn=ne.slice(-2);return F?"other":De&&1==Ke&&11!=Et||1==Lt&&11!=cn?"one":De&&Ke>=2&&Ke<=4&&(Et<12||Et>14)||Lt>=2&&Lt<=4&&(cn<12||cn>14)?"few":"other"},hsb:(m,F)=>{const K=String(m).split("."),ne=K[1]||"",De=!K[1],Ke=K[0].slice(-2),Et=ne.slice(-2);return F?"other":De&&1==Ke||1==Et?"one":De&&2==Ke||2==Et?"two":De&&(3==Ke||4==Ke)||3==Et||4==Et?"few":"other"},hu:(m,F)=>F?1==m||5==m?"one":"other":1==m?"one":"other",hy:(m,F)=>F?1==m?"one":"other":m>=0&&m<2?"one":"other",ia:Ms,id:Nr,ig:Nr,ii:Nr,io:Ms,is:(m,F)=>{const K=String(m).split("."),G=K[0],ne=(K[1]||"").replace(/0+$/,""),De=Number(K[0])==m,Ke=G.slice(-1),Et=G.slice(-2);return F?"other":De&&1==Ke&&11!=Et||ne%10==1&&ne%100!=11?"one":"other"},it:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-6);return F?11==m||8==m||80==m||800==m?"many":"other":1==m&&ne?"one":0!=G&&0==De&&ne?"many":"other"},iu:Ho,ja:Nr,jbo:Nr,jgo:Dn,jmc:Dn,jv:Nr,jw:Nr,ka:(m,F)=>{const G=String(m).split(".")[0],ne=G.slice(-2);return F?1==G?"one":0==G||ne>=2&&ne<=20||40==ne||60==ne||80==ne?"many":"other":1==m?"one":"other"},kab:(m,F)=>F?"other":m>=0&&m<2?"one":"other",kaj:Dn,kcg:Dn,kde:Nr,kea:Nr,kk:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m,ne=G&&K[0].slice(-1);return F?6==ne||9==ne||G&&0==ne&&0!=m?"many":"other":1==m?"one":"other"},kkj:Dn,kl:Dn,km:Nr,kn:Ko,ko:Nr,ks:Dn,ksb:Dn,ksh:(m,F)=>F?"other":0==m?"zero":1==m?"one":"other",ku:Dn,kw:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m,ne=G&&K[0].slice(-2),De=G&&K[0].slice(-3),Ke=G&&K[0].slice(-5),Et=G&&K[0].slice(-6);return F?G&&m>=1&&m<=4||ne>=1&&ne<=4||ne>=21&&ne<=24||ne>=41&&ne<=44||ne>=61&&ne<=64||ne>=81&&ne<=84?"one":5==m||5==ne?"many":"other":0==m?"zero":1==m?"one":2==ne||22==ne||42==ne||62==ne||82==ne||G&&0==De&&(Ke>=1e3&&Ke<=2e4||4e4==Ke||6e4==Ke||8e4==Ke)||0!=m&&1e5==Et?"two":3==ne||23==ne||43==ne||63==ne||83==ne?"few":1==m||1!=ne&&21!=ne&&41!=ne&&61!=ne&&81!=ne?"other":"many"},ky:Dn,lag:(m,F)=>{const G=String(m).split(".")[0];return F?"other":0==m?"zero":0!=G&&1!=G||0==m?"other":"one"},lb:Dn,lg:Dn,lij:(m,F)=>{const K=String(m).split("."),G=!K[1],ne=Number(K[0])==m;return F?11==m||8==m||ne&&m>=80&&m<=89||ne&&m>=800&&m<=899?"many":"other":1==m&&G?"one":"other"},lkt:Nr,ln:po,lo:(m,F)=>F&&1==m?"one":"other",lt:(m,F)=>{const K=String(m).split("."),G=K[1]||"",ne=Number(K[0])==m,De=ne&&K[0].slice(-1),Ke=ne&&K[0].slice(-2);return F?"other":1==De&&(Ke<11||Ke>19)?"one":De>=2&&De<=9&&(Ke<11||Ke>19)?"few":0!=G?"many":"other"},lv:(m,F)=>{const K=String(m).split("."),G=K[1]||"",ne=G.length,De=Number(K[0])==m,Ke=De&&K[0].slice(-1),Et=De&&K[0].slice(-2),Lt=G.slice(-2),cn=G.slice(-1);return F?"other":De&&0==Ke||Et>=11&&Et<=19||2==ne&&Lt>=11&&Lt<=19?"zero":1==Ke&&11!=Et||2==ne&&1==cn&&11!=Lt||2!=ne&&1==cn?"one":"other"},mas:Dn,mg:po,mgo:Dn,mk:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=G.slice(-2),Lt=ne.slice(-1),cn=ne.slice(-2);return F?1==Ke&&11!=Et?"one":2==Ke&&12!=Et?"two":7!=Ke&&8!=Ke||17==Et||18==Et?"other":"many":De&&1==Ke&&11!=Et||1==Lt&&11!=cn?"one":"other"},ml:Dn,mn:Dn,mo:(m,F)=>{const K=String(m).split("."),G=!K[1],De=Number(K[0])==m&&K[0].slice(-2);return F?1==m?"one":"other":1==m&&G?"one":!G||0==m||1!=m&&De>=1&&De<=19?"few":"other"},mr:(m,F)=>F?1==m?"one":2==m||3==m?"two":4==m?"few":"other":1==m?"one":"other",ms:(m,F)=>F&&1==m?"one":"other",mt:(m,F)=>{const K=String(m).split("."),ne=Number(K[0])==m&&K[0].slice(-2);return F?"other":1==m?"one":2==m?"two":0==m||ne>=3&&ne<=10?"few":ne>=11&&ne<=19?"many":"other"},my:Nr,nah:Dn,naq:Ho,nb:Dn,nd:Dn,ne:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m;return F?G&&m>
1=1&&m<=4?"one":"other":1==m?"one":"other"},nl:Ms,nn:Dn,nnh:Dn,no:Dn,nqo:Nr,nr:Dn,nso:po,ny:Dn,nyn:Dn,om:Dn,or:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m;return F?1==m||5==m||G&&m>=7&&m<=9?"one":2==m||3==m?"two":4==m?"few":6==m?"many":"other":1==m?"one":"other"},os:Dn,osa:Nr,pa:po,pap:Dn,pcm:Ko,pl:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-1),Ke=G.slice(-2);return F?"other":1==m&&ne?"one":ne&&De>=2&&De<=4&&(Ke<12||Ke>14)?"few":ne&&1!=G&&(0==De||1==De)||ne&&De>=5&&De<=9||ne&&Ke>=12&&Ke<=14?"many":"other"},prg:(m,F)=>{const K=String(m).split("."),G=K[1]||"",ne=G.length,De=Number(K[0])==m,Ke=De&&K[0].slice(-1),Et=De&&K[0].slice(-2),Lt=G.slice(-2),cn=G.slice(-1);return F?"other":De&&0==Ke||Et>=11&&Et<=19||2==ne&&Lt>=11&&Lt<=19?"zero":1==Ke&&11!=Et||2==ne&&1==cn&&11!=Lt||2!=ne&&1==cn?"one":"other"},ps:Dn,pt:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-6);return F?"other":0==G||1==G?"one":0!=G&&0==De&&ne?"many":"other"},pt_PT:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-6);return F?"other":1==m&&ne?"one":0!=G&&0==De&&ne?"many":"other"},rm:Dn,ro:(m,F)=>{const K=String(m).split("."),G=!K[1],De=Number(K[0])==m&&K[0].slice(-2);return F?1==m?"one":"other":1==m&&G?"one":!G||0==m||1!=m&&De>=1&&De<=19?"few":"other"},rof:Dn,ru:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-1),Ke=G.slice(-2);return F?"other":ne&&1==De&&11!=Ke?"one":ne&&De>=2&&De<=4&&(Ke<12||Ke>14)?"few":ne&&0==De||ne&&De>=5&&De<=9||ne&&Ke>=11&&Ke<=14?"many":"other"},rwk:Dn,sah:Nr,saq:Dn,sat:Ho,sc:(m,F)=>{const K=String(m).split(".");return F?11==m||8==m||80==m||800==m?"many":"other":1!=m||K[1]?"other":"one"},scn:(m,F)=>{const K=String(m).split(".");return F?11==m||8==m||80==m||800==m?"many":"other":1!=m||K[1]?"other":"one"},sd:Dn,sdh:Dn,se:Ho,seh:Dn,ses:Nr,sg:Nr,sh:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=G.slice(-2),Lt=ne.slice(-1),cn=ne.slice(-2);return F?"other":De&&1==Ke&&11!=Et||1==Lt&&11!=cn?"one":De&&Ke>=2&&Ke<=4&&(Et<12||Et>14)||Lt>=2&&Lt<=4&&(cn<12||cn>14)?"few":"other"},shi:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m;return F?"other":m>=0&&m<=1?"one":G&&m>=2&&m<=10?"few":"other"},si:(m,F)=>{const K=String(m).split(".");return F?"other":0==m||1==m||0==K[0]&&1==(K[1]||"")?"one":"other"},sk:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1];return F?"other":1==m&&ne?"one":G>=2&&G<=4&&ne?"few":ne?"other":"many"},sl:(m,F)=>{const K=String(m).split("."),ne=!K[1],De=K[0].slice(-2);return F?"other":ne&&1==De?"one":ne&&2==De?"two":ne&&(3==De||4==De)||!ne?"few":"other"},sma:Ho,smi:Ho,smj:Ho,smn:Ho,sms:Ho,sn:Dn,so:Dn,sq:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m,ne=G&&K[0].slice(-1),De=G&&K[0].slice(-2);return F?1==m?"one":4==ne&&14!=De?"many":"other":1==m?"one":"other"},sr:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=G.slice(-2),Lt=ne.slice(-1),cn=ne.slice(-2);return F?"other":De&&1==Ke&&11!=Et||1==Lt&&11!=cn?"one":De&&Ke>=2&&Ke<=4&&(Et<12||Et>14)||Lt>=2&&Lt<=4&&(cn<12||cn>14)?"few":"other"},ss:Dn,ssy:Dn,st:Dn,su:Nr,sv:(m,F)=>{const K=String(m).split("."),G=!K[1],ne=Number(K[0])==m,De=ne&&K[0].slice(-1),Ke=ne&&K[0].slice(-2);return F?1!=De&&2!=De||11==Ke||12==Ke?"other":"one":1==m&&G?"one":"other"},sw:Ms,syr:Dn,ta:Dn,te:Dn,teo:Dn,th:Nr,ti:po,tig:Dn,tk:(m,F)=>{const K=String(m).split("."),ne=Number(K[0])==m&&K[0].slice(-1);return F?6==ne||9==ne||10==m?"few":"other":1==m?"one":"other"},tl:(m,F)=>{const K=String(m).split("."),G=K[0],ne=K[1]||"",De=!K[1],Ke=G.slice(-1),Et=ne.slice(-1);return F?1==m?"one":"other":De&&(1==G||2==G||3==G)||De&&4!=Ke&&6!=Ke&&9!=Ke||!De&&4!=Et&&6!=Et&&9!=Et?"one":"other"},tn:Dn,to:Nr,tpi:Nr,tr:Dn,ts:Dn,tzm:(m,F)=>{const K=String(m).split("."),G=Number(K[0])==m;return F?"other":0==m||1==m||G&&m>=11&&m<=99?"one":"other"},ug:Dn,uk:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=Number(K[0])==m,Ke=De&&K[0].slice(-1),Et=De&&K[0].slice(-2),Lt=G.slice(-1),cn=G.slice(-2);return F?3==Ke&&13!=Et?"few":"other":ne&&1==Lt&&11!=cn?"one":ne&&Lt>=2&&Lt<=4&&(cn<12||cn>14)?"few":ne&&0==Lt||ne&&Lt>=5&&Lt<=9||ne&&cn>=11&&cn<=14?"many":"other"},und:Nr,ur:Ms,uz:Dn,ve:Dn,vec:(m,F)=>{const K=String(m).split("."),G=K[0],ne=!K[1],De=G.slice(-6);return F?11==m||8==m||80==m||800==m?"many":"other":1==m&&ne?"one":0!=G&&0==De&&ne?"many":"other"},vi:(m,F)=>F&&1==m?"one":"other",vo:Dn,vun:Dn,wa:po,wae:Dn,wo:Nr,xh:Dn,xog:Dn,yi:Ms,yo:Nr,yue:Nr,zh:Nr,zu:Ko});function qc(m){if("string"!=typeof m||m.length<2)throw new RangeError("Invalid language tag: ".concat(m));if(m.startsWith("pt-PT"))return"pt-PT";var F=m.match(/.+?(?=[-_])/);return F?F[0]:m}function zo(m){if("function"==typeof m){var F=qc(m.name);return{isDefault:!1,id:ft(F),lc:F,locale:m.name,getPlural:m,cardinals:m.cardinals||[],ordinals:m.ordinals||[]}}var K=qc(m),G=ft(K);return function Bm(m){return m in $a}(G)?{isDefault:!0,id:G,lc:K,locale:m,getCardinal:pa[G],getPlural:$a[G],
1cardinals:al[G].cardinal,ordinals:al[G].ordinal}:null}function wf(m){return ft(qc(m))in $a}var Tf=function(){function m(F,K){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:K&&K.strictNumberSign||!1,strictPluralKeys:!0},K),"*"===F?this.plurals=function ud(m){var F=Object.keys($a).filter(function(K){return K!==m});return F.unshift(m),F.map(zo)}(m.defaultLocale):Array.isArray(F)?this.plurals=F.map(zo).filter(Boolean):F&&(G=zo(F))&&(this.plurals=[G]),0===this.plurals.length){var G=zo(m.defaultLocale);this.plurals=[G]}}return m.escape=function(F,K){var G=K?/[#{}]/g:/[{}]/g;return String(F).replace(G,"'$&'")},m.supportedLocalesOf=function(F){return(Array.isArray(F)?F:[F]).filter(wf)},m.prototype.resolvedOptions=function(){return P(P({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},m.prototype.compile=function(F){var K,G,ne=new ue(this.options),De="return "+ne.compile(F,this.plurals[0]),Ke=[],Et=[];try{for(var Lt=c(Object.entries(ne.runtime)),cn=Lt.next();!cn.done;cn=Lt.next()){var Jn=o(cn.value,2),Sr=Jn[1];Ke.push(Jn[0]),Et.push(Sr)}}catch(Qr){K={error:Qr}}finally{try{cn&&!cn.done&&(G=Lt.return)&&G.call(Lt)}finally{if(K)throw K.error}}return(new(Function.bind.apply(Function,u(u([void 0],o(Ke),!1),[De],!1)))).apply(void 0,u([],o(Et),!1))},m.defaultLocale="en",m}();return Tf}()},2202(qe,P){"use strict";P.q=function S(b,N){if("string"!=typeof b)throw new TypeError("argument str must be a string");var A={},C=b.length;if(C<2)return A;var V=N&&N.decode||f,B=0,Q=0,Z=0;do{if(-1===(Q=b.indexOf("=",B)))break;if(-1===(Z=b.indexOf(";",B)))Z=C;else if(Q>Z){B=b.lastIndexOf(";",Q-1)+1;continue}var ce=L(b,B,Q),be=E(b,Q,ce),Te=b.slice(ce,be);if(!u.call(A,Te)){var we=L(b,Q+1,Z),$e=E(b,Z,we);34===b.charCodeAt(we)&&34===b.charCodeAt($e-1)&&(we++,$e--);var Oe=b.slice(we,$e);A[Te]=H(Oe,V)}B=Z+1}while(B<C);return A};var u=Object.prototype.hasOwnProperty;function L(b,N,A){do{var C=b.charCodeAt(N);if(32!==C&&9!==C)return N}while(++N<A);return A}function E(b,N,A){for(;N>A;){var C=b.charCodeAt(--N);if(32!==C&&9!==C)return N+1}return A}
vendor: 4,435 bytes, line 1
1function f(b){return-1!==b.indexOf("%")?decodeURIComponent(b):b}function H(b,N){try{return N(b)}catch{return b}}},7374(qe){qe.exports=function(){"use strict";var c=6e4,o=36e5,u="millisecond",l="second",R="minute",v="hour",w="day",S="week",L="month",E="quarter",h="year",f="date",y="Invalid Date",H=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|YYYY|YY|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,N={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(Oe){var Ue=["th","st","nd","rd"],Be=Oe%100;return"["+Oe+(Ue[(Be-20)%10]||Ue[Be]||Ue[0])+"]"}},A=function(Oe,Ue,Be){var lt=String(Oe);return!lt||lt.length>=Ue?Oe:""+Array(Ue+1-lt.length).join(Be)+Oe},C={s:A,z:function(Oe){var Ue=-Oe.utcOffset(),Be=Math.abs(Ue),lt=Math.floor(Be/60),et=Be%60;return(Ue<=0?"+":"-")+A(lt,2,"0")+":"+A(et,2,"0")},m:function Oe(Ue,Be){if(Ue.date()<Be.date())return-Oe(Be,Ue);var lt=12*(Be.year()-Ue.year())+(Be.month()-Ue.month()),et=Ue.clone().add(lt,L),pt=Be-et<0,Ct=Ue.clone().add(lt+(pt?-1:1),L);return+(-(lt+(Be-et)/(pt?et-Ct:Ct-et))||0)},a:function(Oe){return Oe<0?Math.ceil(Oe)||0:Math.floor(Oe)},p:function(Oe){return{M:L,y:h,w:S,d:w,D:f,h:v,m:R,s:l,ms:u,Q:E}[Oe]||String(Oe||"").toLowerCase().replace(/s$/,"")},u:function(Oe){return void 0===Oe}},V="en",B={};B[V]=N;var Q="$isDayjsObject",Z=function(Oe){return Oe instanceof we||!(!Oe||!Oe[Q])},ce=function Oe(Ue,Be,lt){var et;if(!Ue)return V;if("string"==typeof Ue){var pt=Ue.toLowerCase();B[pt]&&(et=pt),Be&&(B[pt]=Be,et=pt);var Ct=Ue.split("-");if(!et&&Ct.length>1)return Oe(Ct[0])}else{var st=Ue.name;B[st]=Ue,et=st}return!lt&&et&&(V=et),et||!lt&&V},be=function(Oe,Ue){if(Z(Oe))return Oe.clone();var Be="object"==typeof Ue?Ue:{};return Be.date=Oe,Be.args=arguments,new we(Be)},Te=C;Te.l=ce,Te.i=Z,Te.w=function(Oe,Ue){return be(Oe,{locale:Ue.$L,utc:Ue.$u,x:Ue.$x,$offset:Ue.$offset})};var we=function(){function Oe(Be){this.$L=ce(Be.locale,null,!0),this.parse(Be),this.$x=this.$x||Be.x||{},this[Q]=!0}var Ue=Oe.prototype;return Ue.parse=function(Be){this.$d=function(lt){var et=lt.date,pt=lt.utc;if(null===et)return new Date(NaN);if(Te.u(et))return new Date;if(et instanceof Date)return new Date(et);if("string"==typeof et&&!/Z$/i.test(et)){var Ct=et.match(H);if(Ct){var st=Ct[2]-1||0,se=(Ct[7]||"0").substring(0,3);return pt?new Date(Date.UTC(Ct[1],st,Ct[3]||1,Ct[4]||0,Ct[5]||0,Ct[6]||0,se)):new Date(Ct[1],st,Ct[3]||1,Ct[4]||0,Ct[5]||0,Ct[6]||0,se)}}return new Date(et)}(Be),this.init()},Ue.init=function(){var Be=this.$d;this.$y=Be.getFullYear(),this.$M=Be.getMonth(),this.$D=Be.getDate(),this.$W=Be.getDay(),this.$H=Be.getHours(),this.$m=Be.getMinutes(),this.$s=Be.getSeconds(),this.$ms=Be.getMilliseconds()},Ue.$utils=function(){return Te},Ue.isValid=function(){return this.$d.toString()!==y},Ue.isSame=function(Be,lt){var et=be(Be);return this.startOf(lt)<=et&&et<=this.endOf(lt)},Ue.isAfter=function(Be,lt){return be(Be)<this.startOf(lt)},Ue.isBefore=function(Be,lt){return this.endOf(lt)<be(Be)},Ue.$g=function(Be,lt,et){return Te.u(Be)?this[lt]:this.set(et,Be)},Ue.unix=function(){return Math.floor(this.valueOf()/1e3)},Ue.valueOf=function(){return this.$d.getTime()},Ue.startOf=function(Be,lt){var et=this,pt=!!Te.u(lt)||lt,Ct=Te.p(Be),st=function(Ne,je){var tt=Te.w(et.$u?Date.UTC(et.$y,je,Ne):new Date(et.$y,je,Ne),et);return pt?tt:tt.endOf(w)},se=function(Ne,je){return Te.w(et.toDate()[Ne].apply(et.toDate("s"),(pt?[0,0,0,0]:[23,59,59,999]).slice(je)),et)},me=this.$W,Y=this.$M,ee=this.$D,fe="set"+(this.$u?"UTC":"");switch(Ct){case h:return pt?st(1,0):st(31,11);case L:return pt?st(1,Y):st(0,Y+1);case S:var ye=this.$locale().weekStart||0,ge=(me<ye?me+7:me)-ye;return st(pt?ee-ge:ee+(6-ge),Y);case w:case f:return se(fe+"Hours",0);case v:return se(fe+"Minutes",1);case R:return se(fe+"Seconds",2);case l:return se(fe+"Milliseconds",3);default:return this.clone()}},Ue.endOf=function(Be){return this.startOf(Be,!1)},Ue.$set=function(Be,lt){var et,pt=Te.p(Be),Ct="set"+(this.$u?"UTC":""),st=(et={},et[w]=Ct+"Date",et[f]=Ct+"Date",et[L]=Ct+"Month",et[h]=Ct+"FullYear",et[v]=Ct+"Hours",et[R]=Ct+"Minutes",et[l]=Ct+"Seconds",et[u]=Ct+"Milliseconds",et)[pt],se=pt===w?this.$D+(lt-this.$W):lt;if(pt===L||pt===h){var me=this.clone().set(f,1);
vendor: 6,549 bytes, line 1
1me.$d[st](se),me.init(),this.$d=me.set(f,Math.min(this.$D,me.daysInMonth())).$d}else st&&this.$d[st](se);return this.init(),this},Ue.set=function(Be,lt){return this.clone().$set(Be,lt)},Ue.get=function(Be){return this[Te.p(Be)]()},Ue.add=function(Be,lt){var et,pt=this;Be=Number(Be);var Ct=Te.p(lt),st=function(Y){var ee=be(pt);return Te.w(ee.date(ee.date()+Math.round(Y*Be)),pt)};if(Ct===L)return this.set(L,this.$M+Be);if(Ct===h)return this.set(h,this.$y+Be);if(Ct===w)return st(1);if(Ct===S)return st(7);var se=(et={},et[R]=c,et[v]=o,et[l]=1e3,et)[Ct]||1,me=this.$d.getTime()+Be*se;return Te.w(me,this)},Ue.subtract=function(Be,lt){return this.add(-1*Be,lt)},Ue.format=function(Be){var lt=this,et=this.$locale();if(!this.isValid())return et.invalidDate||y;var pt=Be||"YYYY-MM-DDTHH:mm:ssZ",Ct=Te.z(this),st=this.$H,se=this.$m,me=this.$M,Y=et.weekdays,ee=et.months,ye=function(je,tt,bt,Xe){return je&&(je[tt]||je(lt,pt))||bt[tt].slice(0,Xe)},ge=function(je){return Te.s(st%12||12,je,"0")},Ne=et.meridiem||function(je,tt,bt){var Xe=je<12?"AM":"PM";return bt?Xe.toLowerCase():Xe};return pt.replace(b,function(je,tt){return tt||function(bt){switch(bt){case"YY":return String(lt.$y).slice(-2);case"YYYY":return Te.s(lt.$y,4,"0");case"M":return me+1;case"MM":return Te.s(me+1,2,"0");case"MMM":return ye(et.monthsShort,me,ee,3);case"MMMM":return ye(ee,me);case"D":return lt.$D;case"DD":return Te.s(lt.$D,2,"0");case"d":return String(lt.$W);case"dd":return ye(et.weekdaysMin,lt.$W,Y,2);case"ddd":return ye(et.weekdaysShort,lt.$W,Y,3);case"dddd":return Y[lt.$W];case"H":return String(st);case"HH":return Te.s(st,2,"0");case"h":return ge(1);case"hh":return ge(2);case"a":return Ne(st,se,!0);case"A":return Ne(st,se,!1);case"m":return String(se);case"mm":return Te.s(se,2,"0");case"s":return String(lt.$s);case"ss":return Te.s(lt.$s,2,"0");case"SSS":return Te.s(lt.$ms,3,"0");case"Z":return Ct}return null}(je)||Ct.replace(":","")})},Ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ue.diff=function(Be,lt,et){var pt,Ct=this,st=Te.p(lt),se=be(Be),me=(se.utcOffset()-this.utcOffset())*c,Y=this-se,ee=function(){return Te.m(Ct,se)};switch(st){case h:pt=ee()/12;break;case L:pt=ee();break;case E:pt=ee()/3;break;case S:pt=(Y-me)/6048e5;break;case w:pt=(Y-me)/864e5;break;case v:pt=Y/o;break;case R:pt=Y/c;break;case l:pt=Y/1e3;break;default:pt=Y}return et?pt:Te.a(pt)},Ue.daysInMonth=function(){return this.endOf(L).$D},Ue.$locale=function(){return B[this.$L]},Ue.locale=function(Be,lt){if(!Be)return this.$L;var et=this.clone(),pt=ce(Be,lt,!0);return pt&&(et.$L=pt),et},Ue.clone=function(){return Te.w(this.$d,this)},Ue.toDate=function(){return new Date(this.valueOf())},Ue.toJSON=function(){return this.isValid()?this.toISOString():null},Ue.toISOString=function(){return this.$d.toISOString()},Ue.toString=function(){return this.$d.toUTCString()},Oe}(),$e=we.prototype;return be.prototype=$e,[["$ms",u],["$s",l],["$m",R],["$H",v],["$W",w],["$M",L],["$y",h],["$D",f]].forEach(function(Oe){$e[Oe[1]]=function(Ue){return this.$g(Ue,Oe[0],Oe[1])}}),be.extend=function(Oe,Ue){return Oe.$i||(Oe(Ue,we,be),Oe.$i=!0),be},be.locale=ce,be.isDayjs=Z,be.unix=function(Oe){return be(1e3*Oe)},be.en=B[V],be.Ls=B,be.p={},be}()},1409(qe,P,c){qe.exports=function(o){"use strict";var l=function u(S){return S&&"object"==typeof S&&"default"in S?S:{default:S}}(o),R={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function v(S,L,E){var h=R[E];return Array.isArray(h)&&(h=h[L?0:1]),h.replace("%d",S)}var w={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(S){return S+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v}};return l.default.locale(w,null,!0),w}(c(7374))},9785(qe){qe.exports=function(){"use strict";return{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(P){var c=["th","st","nd","rd"],o=P%100;return"["+P+(c[(o-20)%10]||c[o]||c[0])+"]"}}}()},4128(qe,P,c){qe.exports=function(o){"use strict";var l=function u(v){return v&&"object"==typeof v&&"default"in v?v:{default:v}}(o),R={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(v){return"["+v+(1===v||8===v||v>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return l.default.locale(R,null,!0),R}(c(7374))},2781(qe){qe.exports=function(){"use strict";var P,c,o=1e3,u=6e4,l=36e5,R=864e5,v=31536e6,w=2628e6,S=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,L=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,E={years:v,months:w,days:R,hours:l,minutes:u,seconds:o,milliseconds:1,weeks:6048e5},h=function(B){return B instanceof C},f=function(B,Q,Z){return new C(B,Z,Q.$l)},y=function(B){return c.p(B)+"s"},H=function(B){return B<0},b=function(B){return H(B)?Math.ceil(B):Math.floor(B)},N=function(B){return Math.abs(B)},A=function(B,Q){return B?H(B)?{negative:!0,format:""+N(B)+Q}:{negative:!1,format:""+B+Q}:{negative:!1,format:""}}
vendor: 8,719 bytes, line 1
1,C=function(){function B(Z,ce,be){var Te=this;if(this.$d={},this.$l=be,void 0===Z&&(this.$ms=0,this.parseFromMilliseconds()),ce)return f(Z*E[y(ce)],this);if("number"==typeof Z)return this.$ms=Z,this.parseFromMilliseconds(),this;if("object"==typeof Z)return Object.keys(Z).forEach(function(Oe){Te.$d[y(Oe)]=Z[Oe]}),this.calMilliseconds(),this;if("string"==typeof Z){var we=Z.match(S);if(we){var $e=we.slice(2).map(function(Oe){return null!=Oe?Number(Oe):0});return this.$d.years=$e[0],this.$d.months=$e[1],this.$d.weeks=$e[2],this.$d.days=$e[3],this.$d.hours=$e[4],this.$d.minutes=$e[5],this.$d.seconds=$e[6],this.calMilliseconds(),this}}return this}var Q=B.prototype;return Q.calMilliseconds=function(){var Z=this;this.$ms=Object.keys(this.$d).reduce(function(ce,be){return ce+(Z.$d[be]||0)*E[be]},0)},Q.parseFromMilliseconds=function(){var Z=this.$ms;this.$d.years=b(Z/v),this.$d.months=b((Z%=v)/w),this.$d.days=b((Z%=w)/R),this.$d.hours=b((Z%=R)/l),this.$d.minutes=b((Z%=l)/u),this.$d.seconds=b((Z%=u)/o),this.$d.milliseconds=Z%=o},Q.toISOString=function(){var Z=A(this.$d.years,"Y"),ce=A(this.$d.months,"M"),be=+this.$d.days||0;this.$d.weeks&&(be+=7*this.$d.weeks);var Te=A(be,"D"),we=A(this.$d.hours,"H"),$e=A(this.$d.minutes,"M"),Oe=this.$d.seconds||0;this.$d.milliseconds&&(Oe+=this.$d.milliseconds/1e3,Oe=Math.round(1e3*Oe)/1e3);var Ue=A(Oe,"S"),et=(Z.negative||ce.negative||Te.negative||we.negative||$e.negative||Ue.negative?"-":"")+"P"+Z.format+ce.format+Te.format+(we.format||$e.format||Ue.format?"T":"")+we.format+$e.format+Ue.format;return"P"===et||"-P"===et?"P0D":et},Q.toJSON=function(){return this.toISOString()},Q.format=function(Z){var ce=Z||"YYYY-MM-DDTHH:mm:ss",be={Y:this.$d.years,YY:c.s(this.$d.years,2,"0"),YYYY:c.s(this.$d.years,4,"0"),M:this.$d.months,MM:c.s(this.$d.months,2,"0"),D:this.$d.days,DD:c.s(this.$d.days,2,"0"),H:this.$d.hours,HH:c.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:c.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:c.s(this.$d.seconds,2,"0"),SSS:c.s(this.$d.milliseconds,3,"0")};return ce.replace(L,function(Te,we){return we||String(be[Te])})},Q.as=function(Z){return this.$ms/E[y(Z)]},Q.get=function(Z){var ce=this.$ms,be=y(Z);return"milliseconds"===be?ce%=1e3:ce="weeks"===be?b(ce/E[be]):this.$d[be],ce||0},Q.add=function(Z,ce,be){var Te;return Te=ce?Z*E[y(ce)]:h(Z)?Z.$ms:f(Z,this).$ms,f(this.$ms+Te*(be?-1:1),this)},Q.subtract=function(Z,ce){return this.add(Z,ce,!0)},Q.locale=function(Z){var ce=this.clone();return ce.$l=Z,ce},Q.clone=function(){return f(this.$ms,this)},Q.humanize=function(Z){return P().add(this.$ms,"ms").locale(this.$l).fromNow(!Z)},Q.valueOf=function(){return this.asMilliseconds()},Q.milliseconds=function(){return this.get("milliseconds")},Q.asMilliseconds=function(){return this.as("milliseconds")},Q.seconds=function(){return this.get("seconds")},Q.asSeconds=function(){return this.as("seconds")},Q.minutes=function(){return this.get("minutes")},Q.asMinutes=function(){return this.as("minutes")},Q.hours=function(){return this.get("hours")},Q.asHours=function(){return this.as("hours")},Q.days=function(){return this.get("days")},Q.asDays=function(){return this.as("days")},Q.weeks=function(){return this.get("weeks")},Q.asWeeks=function(){return this.as("weeks")},Q.months=function(){return this.get("months")},Q.asMonths=function(){return this.as("months")},Q.years=function(){return this.get("years")},Q.asYears=function(){return this.as("years")},B}(),V=function(B,Q,Z){return B.add(Q.years()*Z,"y").add(Q.months()*Z,"M").add(Q.days()*Z,"d").add(Q.hours()*Z,"h").add(Q.minutes()*Z,"m").add(Q.seconds()*Z,"s").add(Q.milliseconds()*Z,"ms")};return function(B,Q,Z){P=Z,c=Z().$utils(),Z.duration=function(Te,we){var $e=Z.locale();return f(Te,{$l:$e},we)},Z.isDuration=h;var ce=Q.prototype.add,be=Q.prototype.subtract;Q.prototype.add=function(Te,we){return h(Te)?V(this,Te,1):ce.bind(this)(Te,we)},Q.prototype.subtract=function(Te,we){return h(Te)?V(this,Te,-1):be.bind(this)(Te,we)}}}()},501(qe){qe.exports=function(){"use strict";return function(P,c,o){c.prototype.isBetween=function(u,l,R,v){var w=o(u),S=o(l),L="("===(v=v||"()")[0],E=")"===v[1];return(L?this.isAfter(w,R):!this.isBefore(w,R))&&(E?this.isBefore(S,R):!this.isAfter(S,R))||(L?this.isBefore(w,R):!this.isAfter(w,R))&&(E?this.isAfter(S,R):!this.isBefore(S,R))}}}()},9038(qe){qe.exports=function(){"use strict";return function(P,c){c.prototype.isSameOrAfter=function(o,u){return this.isSame(o,u)||this.isAfter(o,u)}}}()},8037(qe){qe.exports=function(){"use strict";return function(P,c){c.prototype.isSameOrBefore=function(o,u){return this.isSame(o,u)||this.isBefore(o,u)}}}()},2548(qe){qe.exports=function(){"use strict";var P="day";return function(c,o,u){var l=function(w){return w.add(4-w.isoWeekday(),P)},R=o.prototype;R.isoWeekYear=function(){return l(this).year()},R.isoWeek=function(w){if(!this.$utils().u(w))return this.add(7*(w-this.isoWeek()),P);var S,E,h,f=l(this),y=(S=this.isoWeekYear(),h=4-(E=(this.$u?u.utc:u)().year(S).startOf("year")).isoWeekday(),E.isoWeekday()>4&&(h+=7),E.add(h,P));return f.diff(y,"week")+1},R.isoWeekday=function(w){return this.$utils().u(w)?this.day()||7:this.day(this.day()%7?w:w-7)};var v=R.startOf;R.startOf=function(w,S){var L=this.$utils(),E=!!L.u(S)||S;return"isoweek"===L.p(w)?E?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):v.bind(this)(w,S)}}}()},5164(qe){qe.exports=function(){"use strict";return function(P,c,o){P=P||{};var u=c.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function R(w,S,L,E){return u.fromToBase(w,S,L,E)}o.en.relativeTime=l,u.fromToBase=function(w,S,L,E,h){for(var f,y,H,b=L.$locale().relativeTime||l,N=P.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],A=N.length,C=0;C<A;C+=1){var V=N[C];V.d&&(f=E?o(w).diff(L,V.d,!0):L.diff(w,V.d,!0));var B=(P.rounding||Math.round)(Math.abs(f));if(H=f>0,B<=V.r||!V.r){B<=1&&C>0&&(V=N[C-1]);var Q=b[V.l];h&&(B=h(""+B)),y="string"==typeof Q?Q.replace("%d",B):Q(B,S,V.l,H);break}}if(S)return y;var Z=H?b.future:b.past;return"function"==typeof Z?Z(y):Z.replace("%s",y)},u.to=function(w,S){return R(w,S,this,!0)},u.from=function(w,S){return R(w,S,this)};var v=function(w){return w.$u?o.utc():o()};u.toNow=function(w){return this.to(v(this),w)},u.fromNow=function(w){return this.from(v(this),w)}}}()},5859(qe){qe.exports=function(){"use strict";var P="minute",c=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(u,l,R){var v=l.prototype;R.utc=function(y){return new l({date:y,utc:!0,args:arguments})},v.utc=function(y){var H=R(this.toDate(),{locale:this.$L,utc:!0});return y?H.add(this.utcOffset(),P):H},v.local=function(){return R(this.toDate(),{locale:this.$L,utc:!1})};var w=v.parse;v.parse=function(y){y.utc&&(this.$u=!0),this.$utils().u(y.$offset)||(this.$offset=y.$offset),w.call(this,y)};var S=v.init;v.init=function(){if(this.$u){var y=this.$d;this.$y=y.getUTCFullYear(),this.$M=y.getUTCMonth(),this.$D=y.getUTCDate(),this.$W=y.getUTCDay(),this.$H=y.getUTCHours(),this.$m=y.getUTCMinutes(),this.$s=y.getUTCSeconds(),this.$ms=y.getUTCMilliseconds()}else S.call(this)};var L=v.utcOffset;v.utcOffset=function(y,H){var b=this.$utils().u;if(b(y))return this.$u?0:b(this.$offset)?L.call(this):this.$offset;if("string"==typeof y&&null===(y=function(V){void 0===V&&(V="");var B=V.match(c);if(!B)return null;var Q=(""+B[0]).match(o)||["-",0,0],ce=60*+Q[1]+ +Q[2];return 0===ce?0:"+"===Q[0]?ce:-ce}(y)))return this;var N=Math.abs(y)<=16?60*y:y;if(0===N)return this.utc(H);var A=this.clone();if(H)return A.$offset=N,A.$u=!1,A;var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(A=this.local().add(N+C,P)).$offset=N,A.$x.$localOffset=C,A};var E=v.format;v.format=function(y){return E.call(this,y||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},v.valueOf=function(){var y=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*y},v.isUTC=function(){return!!this.$u},v.toISOString=function(){return this.toDate().toISOString()},v.toString=function(){return this.toDate().toUTCString()};var h=v.toDate;v.toDate=function(y){return"s"===y&&this.$offset?R(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var f=v.diff;v.diff=function(y,H,b){if(y&&this.$u===y.$u)return f.call(this,y,H,b);var N=this.local(),A=R(y).local();return f.call(N,A,H,b)}}}()},8416(qe,P,c){var u,l;!function(){"use strict";
1u=[c(855)],void 0!==(l=function(v){var w=/(^|@)\S+:\d+/,S=/^\s*at .*(\S+:\d+|\(native\))/m,L=/^(eval@)?(\[native code])?$/;return{parse:function(h){if(typeof h.stacktrace<"u"||typeof h["opera#sourceloc"]<"u")return this.parseOpera(h);if(h.stack&&h.stack.match(S))return this.parseV8OrIE(h);if(h.stack)return this.parseFFOrSafari(h);throw new Error("Cannot parse given Error object")},extractLocation:function(h){if(-1===h.indexOf(":"))return[h];var y=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(h.replace(/[()]/g,""));return[y[1],y[2]||void 0,y[3]||void 0]},parseV8OrIE:function(h){return h.stack.split("\n").filter(function(y){return!!y.match(S)},this).map(function(y){y.indexOf("(eval ")>-1&&(y=y.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var H=y.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),b=H.match(/ (\(.+\)$)/);H=b?H.replace(b[0],""):H;var N=this.extractLocation(b?b[1]:H),A=b&&H||void 0,C=["eval","<anonymous>"].indexOf(N[0])>-1?void 0:N[0];return new v({functionName:A,fileName:C,lineNumber:N[1],columnNumber:N[2],source:y})},this)},parseFFOrSafari:function(h){return h.stack.split("\n").filter(function(y){return!y.match(L)},this).map(function(y){if(y.indexOf(" > eval")>-1&&(y=y.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===y.indexOf("@")&&-1===y.indexOf(":"))return new v({functionName:y});var H=/((.*".+"[^@]*)?[^@]*)(?:@)/,b=y.match(H),N=b&&b[1]?b[1]:void 0,A=this.extractLocation(y.replace(H,""));return new v({functionName:N,fileName:A[0],lineNumber:A[1],columnNumber:A[2],source:y})},this)},parseOpera:function(h){return!h.stacktrace||h.message.indexOf("\n")>-1&&h.message.split("\n").length>h.stacktrace.split("\n").length?this.parseOpera9(h):h.stack?this.parseOpera11(h):this.parseOpera10(h)},parseOpera9:function(h){for(var f=/Line (\d+).*script (?:in )?(\S+)/i,y=h.message.split("\n"),H=[],b=2,N=y.length;b<N;b+=2){var A=f.exec(y[b]);A&&H.push(new v({fileName:A[2],lineNumber:A[1],source:y[b]}))}return H},parseOpera10:function(h){for(var f=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,y=h.stacktrace.split("\n"),H=[],b=0,N=y.length;b<N;b+=2){var A=f.exec(y[b]);A&&H.push(new v({functionName:A[3]||void 0,fileName:A[2],lineNumber:A[1],source:y[b]}))}return H},parseOpera11:function(h){return h.stack.split("\n").filter(function(y){return!!y.match(w)&&!y.match(/^Error created at/)},this).map(function(y){var C,H=y.split("@"),b=this.extractLocation(H.pop()),N=H.shift()||"",A=N.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;N.match(/\(([^)]*)\)/)&&(C=N.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var V=void 0===C||"[arguments not available]"===C?void 0:C.split(",");return new v({functionName:A,args:V,fileName:b[0],lineNumber:b[1],columnNumber:b[2],source:y})},this)}}}.apply(P,u))&&(qe.exports=l)}()},4412(qe,P,c){"use strict";c.d(P,{t:()=>u});var o=c(1413);class u extends o.B{constructor(R){super(),this._value=R}get value(){return this.getValue()}_subscribe(R){const v=super._subscribe(R);return!v.closed&&R.next(this._value),v}getValue(){const{hasError:R,thrownError:v,_value:w}=this;if(R)throw v;return this._throwIfClosed(),w}next(R){super.next(this._value=R)}}},1985(qe,P,c){"use strict";c.d(P,{c:()=>L});var o=c(7707),u=c(8359),l=c(3494),R=c(1203),v=c(1026),w=c(8071),S=c(9786);let L=(()=>{class y{constructor(b){b&&(this._subscribe=b)}lift(b){const N=new y;return N.source=this,N.operator=b,N}subscribe(b,N,A){const C=function f(y){return y&&y instanceof o.vU||function h(y){return y&&(0,w.T)(y.next)&&(0,w.T)(y.error)&&(0,w.T)(y.complete)}(y)&&(0,u.Uv)(y)}(b)?b:new o.Ms(b,N,A);return(0,S.Y)(()=>{const{operator:V,source:B}=this;C.add(V?V.call(C,B):B?this._subscribe(C):this._trySubscribe(C))}),C}_trySubscribe(b){try{return this._subscribe(b)}catch(N){b.error(N)}}forEach(b,N){return new(N=E(N))((A,C)=>{const V=new o.Ms({next:B=>{try{b(B)}catch(Q){C(Q),V.unsubscribe()}},error:C,complete:A});this.subscribe(V)})}_subscribe(b){var N;return null===(N=this.source)||void 0===N?void 0:N.subscribe(b)}[l.s](){return this}pipe(...b){return(0,R.m)(b)(this)}toPromise(b){return new(b=E(b))((N,A)=>{let C;this.subscribe(V=>C=V,V=>A(V),()=>N(C))})}}return y.create=H=>new y(H),y})();function E(y){var H;return null!==(H=y??v.$.Promise)&&void 0!==H?H:Promise}},2771(qe,P,c){"use strict";c.d(P,{m:()=>l});var o=c(1413),u=c(6129);class l extends o.B{constructor(v=1/0,w=1/0,S=u.U){super(),this._bufferSize=v,this._windowTime=w,this._timestampProvider=S,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=w===1/0,this._bufferSize=Math.max(1,v),this._windowTime=Math.max(1,w)}next(v){const{isStopped:w,_buffer:S,_infiniteTimeWindow:L,_timestampProvider:E,_windowTime:h}=this;w||(S.push(v),!L&&S.push(E.now()+h)),this._trimBuffer(),super.next(v)}_subscribe(v){this._throwIfClosed(),this._trimBuffer();const w=this._innerSubscribe(v),{_infiniteTimeWindow:S,_buffer:L}=this,E=L.slice();for(let h=0;h<E.length&&!v.closed;h+=S?1:2)v.next(E[h]);return this._checkFinalizedStatuses(v),w}_trimBuffer(){const{_bufferSize:v,_timestampProvider:w,_buffer:S,_infiniteTimeWindow:L}=this,E=(L?1:2)*v;if(v<1/0&&E<S.length&&S.splice(0,S.length-E),!L){const h=w.now();let f=0;for(let y=1;y<S.length&&S[y]<=h;y+=2)f=y;f&&S.splice(0,f+1)}}}},1413(qe,P,c){"use strict";c.d(P,{B:()=>S});var o=c(1985),u=c(8359);const R=(0,c(1853).L)(E=>function(){E(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var v=c(7908),w=c(9786);let S=(()=>{class E extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(f){const y=new L(this,this);return y.operator=f,y}_throwIfClosed(){if(this.closed)throw new R}next(f){(0,w.Y)(()=>
vendor: 3,100 bytes, line 1
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const y of this.currentObservers)y.next(f)}})}error(f){(0,w.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=f;const{observers:y}=this;for(;y.length;)y.shift().error(f)}})}complete(){(0,w.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:f}=this;for(;f.length;)f.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var f;return(null===(f=this.observers)||void 0===f?void 0:f.length)>0}_trySubscribe(f){return this._throwIfClosed(),super._trySubscribe(f)}_subscribe(f){return this._throwIfClosed(),this._checkFinalizedStatuses(f),this._innerSubscribe(f)}_innerSubscribe(f){const{hasError:y,isStopped:H,observers:b}=this;return y||H?u.Kn:(this.currentObservers=null,b.push(f),new u.yU(()=>{this.currentObservers=null,(0,v.o)(b,f)}))}_checkFinalizedStatuses(f){const{hasError:y,thrownError:H,isStopped:b}=this;y?f.error(H):b&&f.complete()}asObservable(){const f=new o.c;return f.source=this,f}}return E.create=(h,f)=>new L(h,f),E})();class L extends S{constructor(h,f){super(),this.destination=h,this.source=f}next(h){var f,y;null===(y=null===(f=this.destination)||void 0===f?void 0:f.next)||void 0===y||y.call(f,h)}error(h){var f,y;null===(y=null===(f=this.destination)||void 0===f?void 0:f.error)||void 0===y||y.call(f,h)}complete(){var h,f;null===(f=null===(h=this.destination)||void 0===h?void 0:h.complete)||void 0===f||f.call(h)}_subscribe(h){var f,y;return null!==(y=null===(f=this.source)||void 0===f?void 0:f.subscribe(h))&&void 0!==y?y:u.Kn}}},7707(qe,P,c){"use strict";c.d(P,{Ms:()=>A,vU:()=>y});var o=c(8071),u=c(8359),l=c(1026),R=c(5334),v=c(5343);const w=E("C",void 0,void 0);function E(Z,ce,be){return{kind:Z,value:ce,error:be}}var h=c(9270),f=c(9786);class y extends u.yU{constructor(ce){super(),this.isStopped=!1,ce?(this.destination=ce,(0,u.Uv)(ce)&&ce.add(this)):this.destination=Q}static create(ce,be,Te){return new A(ce,be,Te)}next(ce){this.isStopped?B(function L(Z){return E("N",Z,void 0)}(ce),this):this._next(ce)}error(ce){this.isStopped?B(function S(Z){return E("E",void 0,Z)}(ce),this):(this.isStopped=!0,this._error(ce))}complete(){this.isStopped?B(w,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ce){this.destination.next(ce)}_error(ce){try{this.destination.error(ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const H=Function.prototype.bind;function b(Z,ce){return H.call(Z,ce)}class N{constructor(ce){this.partialObserver=ce}next(ce){const{partialObserver:be}=this;if(be.next)try{be.next(ce)}catch(Te){C(Te)}}error(ce){const{partialObserver:be}=this;if(be.error)try{be.error(ce)}catch(Te){C(Te)}else C(ce)}complete(){const{partialObserver:ce}=this;if(ce.complete)try{ce.complete()}catch(be){C(be)}}}class A extends y{constructor(ce,be,Te){let we;
1if(super(),(0,o.T)(ce)||!ce)we={next:ce??void 0,error:be??void 0,complete:Te??void 0};else{let $e;this&&l.$.useDeprecatedNextContext?($e=Object.create(ce),$e.unsubscribe=()=>this.unsubscribe(),we={next:ce.next&&b(ce.next,$e),error:ce.error&&b(ce.error,$e),complete:ce.complete&&b(ce.complete,$e)}):we=ce}this.destination=new N(we)}}function C(Z){l.$.useDeprecatedSynchronousErrorHandling?(0,f.l)(Z):(0,R.m)(Z)}function B(Z,ce){const{onStoppedNotification:be}=l.$;be&&h.f.setTimeout(()=>be(Z,ce))}const Q={closed:!0,next:v.l,error:function V(Z){throw Z},complete:v.l}},8359(qe,P,c){"use strict";c.d(P,{Kn:()=>w,yU:()=>v,Uv:()=>S});var o=c(8071);const l=(0,c(1853).L)(E=>function(f){E(this),this.message=f?`${f.length} errors occurred during unsubscription:\n${f.map((y,H)=>`${H+1}) ${y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=f});var R=c(7908);class v{constructor(h){this.initialTeardown=h,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let h;if(!this.closed){this.closed=!0;const{_parentage:f}=this;if(f)if(this._parentage=null,Array.isArray(f))for(const b of f)b.remove(this);else f.remove(this);const{initialTeardown:y}=this;if((0,o.T)(y))try{y()}catch(b){h=b instanceof l?b.errors:[b]}const{_finalizers:H}=this;if(H){this._finalizers=null;for(const b of H)try{L(b)}catch(N){h=h??[],N instanceof l?h=[...h,...N.errors]:h.push(N)}}if(h)throw new l(h)}}add(h){var f;if(h&&h!==this)if(this.closed)L(h);else{if(h instanceof v){if(h.closed||h._hasParent(this))return;h._addParent(this)}(this._finalizers=null!==(f=this._finalizers)&&void 0!==f?f:[]).push(h)}}_hasParent(h){const{_parentage:f}=this;return f===h||Array.isArray(f)&&f.includes(h)}_addParent(h){const{_parentage:f}=this;this._parentage=Array.isArray(f)?(f.push(h),f):f?[f,h]:h}_removeParent(h){const{_parentage:f}=this;f===h?this._parentage=null:Array.isArray(f)&&(0,R.o)(f,h)}remove(h){const{_finalizers:f}=this;f&&(0,R.o)(f,h),h instanceof v&&h._removeParent(this)}}v.EMPTY=(()=>{const E=new v;return E.closed=!0,E})();const w=v.EMPTY;function S(E){return E instanceof v||E&&"closed"in E&&(0,o.T)(E.remove)&&(0,o.T)(E.add)&&(0,o.T)(E.unsubscribe)}function L(E){(0,o.T)(E)?E():E.unsubscribe()}},1026(qe,P,c){"use strict";c.d(P,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4843(qe,P,c){"use strict";c.d(P,{_:()=>l});var o=c(9350),u=c(7707);function l(R,v){const w="object"==typeof v;return new Promise((S,L)=>{const E=new u.Ms({next:h=>{S(h),E.unsubscribe()},error:L,complete:()=>{w?S(v.defaultValue):L(new o.G)}});R.subscribe(E)})}},4572(qe,P,c){"use strict";c.d(P,{z:()=>h});var o=c(1985),u=c(3073),l=c(6648),R=c(3669),v=c(6450),w=c(9326),S=c(8496),L=c(4360),E=c(5225);function h(...H){const b=(0,w.lI)(H),N=(0,w.ms)(H),{args:A,keys:C}=(0,u.D)(H);if(0===A.length)return(0,l.H)([],b);const V=new o.c(function f(H,b,N=R.D){return A=>{y(b,()=>{const{length:C}=H,V=new Array(C);let B=C,Q=C;for(let Z=0;Z<C;Z++)y(b,()=>{const ce=(0,l.H)(H[Z],b);let be=!1;ce.subscribe((0,L._)(A,Te=>{V[Z]=Te,be||(be=!0,Q--),Q||A.next(N(V.slice()))},()=>{--B||A.complete()}))},A)},A)}}(A,b,C?B=>(0,S.e)(C,B):R.D));return N?V.pipe((0,v.I)(N)):V}function y(H,b,N){H?(0,E.N)(N,H,b):b()}},8793(qe,P,c){"use strict";c.d(P,{x:()=>v});var o=c(6365),l=c(9326),R=c(6648);function v(...w){return function u(){return(0,o.U)(1)}()((0,R.H)(w,(0,l.lI)(w)))}},9030(qe,P,c){"use strict";c.d(P,{v:()=>l});var o=c(1985),u=c(8750);function l(R){return new o.c(v=>{(0,u.Tg)(R()).subscribe(v)})}},983(qe,P,c){"use strict";c.d(P,{w:()=>l});const l=new(c(1985).c)(w=>w.complete())},7468(qe,P,c){"use strict";c.d(P,{p:()=>L});var o=c(1985),u=c(3073),l=c(8750),R=c(9326),v=c(4360),w=c(6450),S=c(8496);function L(...E){const h=(0,R.ms)(E),{args:f,keys:y}=(0,u.D)(E),H=new o.c(b=>{const{length:N}=f;if(!N)return void b.complete();const A=new Array(N);let C=N,V=N;for(let B=0;B<N;B++){let Q=!1;(0,l.Tg)(f[B]).subscribe((0,v._)(b,Z=>{Q||(Q=!0,V--),A[B]=Z},()=>C--,void 0,()=>{(!C||!Q)&&(V||b.next(y?(0,S.e)(y,A):A),b.complete())}))}});return h?H.pipe((0,w.I)(h)):H}},6648(qe,P,c){"use strict";c.d(P,{H:()=>Te});var o=c(8750),u=c(5225),l=c(9974),R=c(4360);
1function v(we,$e=0){return(0,l.N)((Oe,Ue)=>{Oe.subscribe((0,R._)(Ue,Be=>(0,u.N)(Ue,we,()=>Ue.next(Be),$e),()=>(0,u.N)(Ue,we,()=>Ue.complete(),$e),Be=>(0,u.N)(Ue,we,()=>Ue.error(Be),$e)))})}function w(we,$e=0){return(0,l.N)((Oe,Ue)=>{Ue.add(we.schedule(()=>Oe.subscribe(Ue),$e))})}var E=c(1985),f=c(4761),y=c(8071);function b(we,$e){if(!we)throw new Error("Iterable cannot be null");return new E.c(Oe=>{(0,u.N)(Oe,$e,()=>{const Ue=we[Symbol.asyncIterator]();(0,u.N)(Oe,$e,()=>{Ue.next().then(Be=>{Be.done?Oe.complete():Oe.next(Be.value)})},0,!0)})})}var N=c(5055),A=c(9858),C=c(7441),V=c(5397),B=c(7953),Q=c(591),Z=c(5196);function Te(we,$e){return $e?function be(we,$e){if(null!=we){if((0,N.l)(we))return function S(we,$e){return(0,o.Tg)(we).pipe(w($e),v($e))}(we,$e);if((0,C.X)(we))return function h(we,$e){return new E.c(Oe=>{let Ue=0;return $e.schedule(function(){Ue===we.length?Oe.complete():(Oe.next(we[Ue++]),Oe.closed||this.schedule())})})}(we,$e);if((0,A.y)(we))return function L(we,$e){return(0,o.Tg)(we).pipe(w($e),v($e))}(we,$e);if((0,B.T)(we))return b(we,$e);if((0,V.x)(we))return function H(we,$e){return new E.c(Oe=>{let Ue;return(0,u.N)(Oe,$e,()=>{Ue=we[f.l](),(0,u.N)(Oe,$e,()=>{let Be,lt;try{({value:Be,done:lt}=Ue.next())}catch(et){return void Oe.error(et)}lt?Oe.complete():Oe.next(Be)},0,!0)}),()=>(0,y.T)(Ue?.return)&&Ue.return()})}(we,$e);if((0,Z.U)(we))return function ce(we,$e){return b((0,Z.C)(we),$e)}(we,$e)}throw(0,Q.L)(we)}(we,$e):(0,o.Tg)(we)}},3726(qe,P,c){"use strict";c.d(P,{R:()=>h});var o=c(8750),u=c(1985),l=c(1397),R=c(7441),v=c(8071),w=c(6450);const S=["addListener","removeListener"],L=["addEventListener","removeEventListener"],E=["on","off"];function h(N,A,C,V){if((0,v.T)(C)&&(V=C,C=void 0),V)return h(N,A,C).pipe((0,w.I)(V));const[B,Q]=function b(N){return(0,v.T)(N.addEventListener)&&(0,v.T)(N.removeEventListener)}(N)?L.map(Z=>ce=>N[Z](A,ce,C)):function y(N){return(0,v.T)(N.addListener)&&(0,v.T)(N.removeListener)}(N)?S.map(f(N,A)):function H(N){return(0,v.T)(N.on)&&(0,v.T)(N.off)}(N)?E.map(f(N,A)):[];if(!B&&(0,R.X)(N))return(0,l.Z)(Z=>h(Z,A,C))((0,o.Tg)(N));if(!B)throw new TypeError("Invalid event target");return new u.c(Z=>{const ce=(...be)=>Z.next(1<be.length?be:be[0]);return B(ce),()=>Q(ce)})}function f(N,A){return C=>V=>N[C](A,V)}},8750(qe,P,c){"use strict";c.d(P,{Tg:()=>H});var o=c(1635),u=c(7441),l=c(9858),R=c(1985),v=c(5055),w=c(7953),S=c(591),L=c(5397),E=c(5196),h=c(8071),f=c(5334),y=c(3494);function H(Z){if(Z instanceof R.c)return Z;
1if(null!=Z){if((0,v.l)(Z))return function b(Z){return new R.c(ce=>{const be=Z[y.s]();if((0,h.T)(be.subscribe))return be.subscribe(ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Z);if((0,u.X)(Z))return function N(Z){return new R.c(ce=>{for(let be=0;be<Z.length&&!ce.closed;be++)ce.next(Z[be]);ce.complete()})}(Z);if((0,l.y)(Z))return function A(Z){return new R.c(ce=>{Z.then(be=>{ce.closed||(ce.next(be),ce.complete())},be=>ce.error(be)).then(null,f.m)})}(Z);if((0,w.T)(Z))return V(Z);if((0,L.x)(Z))return function C(Z){return new R.c(ce=>{for(const be of Z)if(ce.next(be),ce.closed)return;ce.complete()})}(Z);if((0,E.U)(Z))return function B(Z){return V((0,E.C)(Z))}(Z)}throw(0,S.L)(Z)}function V(Z){return new R.c(ce=>{(function Q(Z,ce){var be,Te,we,$e;return(0,o.sH)(this,void 0,void 0,function*(){try{for(be=(0,o.xN)(Z);!(Te=yield be.next()).done;)if(ce.next(Te.value),ce.closed)return}catch(Oe){we={error:Oe}}finally{try{Te&&!Te.done&&($e=be.return)&&(yield $e.call(be))}finally{if(we)throw we.error}}ce.complete()})})(Z,ce).catch(be=>ce.error(be))})}},7786(qe,P,c){"use strict";c.d(P,{h:()=>w});var o=c(6365),u=c(8750),l=c(983),R=c(9326),v=c(6648);function w(...S){const L=(0,R.lI)(S),E=(0,R.R0)(S,1/0),h=S;return h.length?1===h.length?(0,u.Tg)(h[0]):(0,o.U)(E)((0,v.H)(h,L)):l.w}},7673(qe,P,c){"use strict";c.d(P,{of:()=>l});var o=c(9326),u=c(6648);function l(...R){const v=(0,o.lI)(R);return(0,u.H)(R,v)}},8810(qe,P,c){"use strict";c.d(P,{$:()=>l});var o=c(1985),u=c(8071);function l(R,v){const w=(0,u.T)(R)?R:()=>R,S=L=>L.error(w());return new o.c(v?L=>v.schedule(S,0,L):S)}},1807(qe,P,c){"use strict";c.d(P,{O:()=>v});var o=c(1985),u=c(3236),l=c(9470),R=c(8211);function v(w=0,S,L=u.b){let E=-1;return null!=S&&((0,l.m)(S)?L=S:E=S),new o.c(h=>{let f=(0,R.v)(w)?+w-L.now():w;f<0&&(f=0);let y=0;return L.schedule(function(){h.closed||(h.next(y++),0<=E?this.schedule(void 0,E):h.complete())},f)})}},4360(qe,P,c){"use strict";c.d(P,{_:()=>u});var o=c(7707);function u(R,v,w,S,L){return new l(R,v,w,S,L)}class l extends o.vU{constructor(v,w,S,L,E,h){super(v),this.onFinalize=E,this.shouldUnsubscribe=h,this._next=w?function(f){try{w(f)}catch(y){v.error(y)}}:super._next,this._error=L?function(f){try{L(f)}catch(y){v.error(y)}finally{this.unsubscribe()}}:super._error,this._complete=S?function(){try{S()}catch(f){v.error(f)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var v;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:w}=this;super.unsubscribe(),!w&&(null===(v=this.onFinalize)||void 0===v||v.call(this))}}}},3798(qe,P,c){"use strict";c.d(P,{Z:()=>S});var o=c(3236),u=c(9974),l=c(8750),R=c(4360),w=c(1807);function S(L,E=o.E){return function v(L){return(0,u.N)((E,h)=>{let f=!1,y=null,H=null,b=!1;const N=()=>{if(H?.unsubscribe(),H=null,f){f=!1;const C=y;y=null,h.next(C)}b&&h.complete()},A=()=>{H=null,b&&h.complete()};E.subscribe((0,R._)(h,C=>{f=!0,y=C,H||(0,l.Tg)(L(C)).subscribe(H=(0,R._)(h,N,A))},()=>{b=!0,(!f||!H||H.closed)&&h.complete()}))})}(()=>(0,w.O)(L,E))}},9437(qe,P,c){"use strict";c.d(P,{W:()=>R});var o=c(8750),u=c(4360),l=c(9974);function R(v){return(0,l.N)((w,S)=>{let h,L=null,E=!1;L=w.subscribe((0,u._)(S,void 0,void 0,f=>{h=(0,o.Tg)(v(f,R(v)(w))),L?(L.unsubscribe(),L=null,h.subscribe(S)):E=!0})),E&&(L.unsubscribe(),L=null,h.subscribe(S))})}},274(qe,P,c){"use strict";c.d(P,{H:()=>l});var o=c(1397),u=c(8071);function l(R,v){return(0,u.T)(v)?(0,o.Z)(R,v,1):(0,o.Z)(R,1)}},152(qe,P,c){"use strict";c.d(P,{B:()=>R});var o=c(3236),u=c(9974),l=c(4360);function R(v,w=o.E){return(0,u.N)((S,L)=>{let E=null,h=null,f=null;const y=()=>{if(E){E.unsubscribe(),E=null;const b=h;h=null,L.next(b)}};function H(){const b=f+v,N=w.now();if(N<b)return E=this.schedule(void 0,b-N),void L.add(E);y()}S.subscribe((0,l._)(L,b=>{h=b,f=w.now(),E||(E=w.schedule(H,v),L.add(E))},()=>{y(),L.complete()},void 0,()=>{h=E=null}))})}},9901(qe,P,c){"use strict";c.d(P,{U:()=>l});var o=c(9974),u=c(4360);function l(R){return(0,o.N)((v,w)=>{let S=!1;v.subscribe((0,u._)(w,L=>{S=!0,w.next(L)},()=>{S||w.next(R),w.complete()}
1))})}},3294(qe,P,c){"use strict";c.d(P,{F:()=>R});var o=c(3669),u=c(9974),l=c(4360);function R(w,S=o.D){return w=w??v,(0,u.N)((L,E)=>{let h,f=!0;L.subscribe((0,l._)(E,y=>{const H=S(y);(f||!w(h,H))&&(f=!1,h=H,E.next(y))}))})}function v(w,S){return w===S}},5964(qe,P,c){"use strict";c.d(P,{p:()=>l});var o=c(9974),u=c(4360);function l(R,v){return(0,o.N)((w,S)=>{let L=0;w.subscribe((0,u._)(S,E=>R.call(v,E,L++)&&S.next(E)))})}},980(qe,P,c){"use strict";c.d(P,{j:()=>u});var o=c(9974);function u(l){return(0,o.N)((R,v)=>{try{R.subscribe(v)}finally{v.add(l)}})}},1594(qe,P,c){"use strict";c.d(P,{$:()=>S});var o=c(9350),u=c(5964),l=c(6697),R=c(9901),v=c(3774),w=c(3669);function S(L,E){const h=arguments.length>=2;return f=>f.pipe(L?(0,u.p)((y,H)=>L(y,H,f)):w.D,(0,l.s)(1),h?(0,R.U)(E):(0,v.v)(()=>new o.G))}},6354(qe,P,c){"use strict";c.d(P,{T:()=>l});var o=c(9974),u=c(4360);function l(R,v){return(0,o.N)((w,S)=>{let L=0;w.subscribe((0,u._)(S,E=>{S.next(R.call(v,E,L++))}))})}},6365(qe,P,c){"use strict";c.d(P,{U:()=>l});var o=c(1397),u=c(3669);function l(R=1/0){return(0,o.Z)(u.D,R)}},1397(qe,P,c){"use strict";c.d(P,{Z:()=>L});var o=c(6354),u=c(8750),l=c(9974),R=c(5225),v=c(4360),S=c(8071);function L(E,h,f=1/0){return(0,S.T)(h)?L((y,H)=>(0,o.T)((b,N)=>h(y,b,H,N))((0,u.Tg)(E(y,H))),f):("number"==typeof h&&(f=h),(0,l.N)((y,H)=>function w(E,h,f,y,H,b,N,A){const C=[];let V=0,B=0,Q=!1;const Z=()=>{Q&&!C.length&&!V&&h.complete()},ce=Te=>V<y?be(Te):C.push(Te),be=Te=>{b&&h.next(Te),V++;let we=!1;(0,u.Tg)(f(Te,B++)).subscribe((0,v._)(h,$e=>{H?.($e),b?ce($e):h.next($e)},()=>{we=!0},void 0,()=>{if(we)try{for(V--;C.length&&V<y;){const $e=C.shift();N?(0,R.N)(h,N,()=>be($e)):be($e)}Z()}catch($e){h.error($e)}}))};return E.subscribe((0,v._)(h,ce,()=>{Q=!0,Z()})),()=>{A?.()}}(y,H,E,f)))}},9568(qe,P,c){"use strict";c.d(P,{t:()=>L});var o=c(2771),u=c(8750),l=c(1413),R=c(7707),v=c(9974);function S(E,h,...f){if(!0===h)return void E();if(!1===h)return;const y=new R.Ms({next:()=>{y.unsubscribe(),E()}});return(0,u.Tg)(h(...f)).subscribe(y)}function L(E,h,f){let y,H=!1;return E&&"object"==typeof E?({bufferSize:y=1/0,windowTime:h=1/0,refCount:H=!1,scheduler:f}=E):y=E??1/0,function w(E={}){const{connector:h=()=>new l.B,resetOnError:f=!0,resetOnComplete:y=!0,resetOnRefCountZero:H=!0}=E;return b=>{let N,A,C,V=0,B=!1,Q=!1;const Z=()=>{A?.unsubscribe(),A=void 0},ce=()=>{Z(),N=C=void 0,B=Q=!1},be=()=>{const Te=N;ce(),Te?.unsubscribe()};return(0,v.N)((Te,we)=>{V++,!Q&&!B&&Z();const $e=C=C??h();we.add(()=>{V--,0===V&&!Q&&!B&&(A=S(be,H))}),$e.subscribe(we),!N&&V>0&&(N=new R.Ms({next:Oe=>$e.next(Oe),error:Oe=>{Q=!0,Z(),A=S(ce,f,Oe),$e.error(Oe)},complete:()=>{B=!0,Z(),A=S(ce,y),$e.complete()}}),(0,u.Tg)(Te).subscribe(N))})(b)}}({connector:()=>new o.m(y,h,f),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:H})}},5245(qe,P,c){"use strict";c.d(P,{i:()=>u});var o=c(5964);function u(l){return(0,o.p)((R,v)=>l<=v)}},9172(qe,P,c){"use strict";c.d(P,{Z:()=>R});var o=c(8793),u=c(9326),l=c(9974);function R(...v){const w=(0,u.lI)(v);return(0,l.N)((S,L)=>{(w?(0,o.x)(v,S,w):(0,o.x)(v,S)).subscribe(L)})}},5558(qe,P,c){"use strict";c.d(P,{n:()=>R});var o=c(8750),u=c(9974),l=c(4360);function R(v,w){return(0,u.N)((S,L)=>{let E=null,h=0,f=!1;const y=()=>f&&!E&&L.complete();S.subscribe((0,l._)(L,H=>{E?.unsubscribe();let b=0;const N=h++;(0,o.Tg)(v(H,N)).subscribe(E=(0,l._)(L,A=>L.next(w?w(H,A,N,b++):A),()=>{E=null,y()}))},()=>{f=!0,y()}))})}},6697(qe,P,c){"use strict";c.d(P,{s:()=>R});var o=c(983),u=c(9974),l=c(4360);function R(v){return v<=0?()=>o.w:(0,u.N)((w,S)=>{let L=0;w.subscribe((0,l._)(S,E=>{++L<=v&&(S.next(E),v<=L&&S.complete())}))})}},5109(qe,P,c){"use strict";c.d(P,{o:()=>R});var o=c(983),u=c(9974),l=c(4360);function R(v){return v<=0?()=>o.w:(0,u.N)((w,S)=>{let L=[];w.subscribe((0,l._)(S,E=>{L.push(E),v<L.length&&L.shift()},()=>{for(const E of L)S.next(E);S.complete()},void 0,()=>{L=null}))})}},6977(qe,P,c){"use strict";c.d(P,{Q:()=>v});var o=c(9974),u=c(4360),l=c(8750),R=c(5343);function v(w){return(0,o.N)((S,L)=>{(0,l.Tg)(w).subscribe((0,u._)(L,()=>L.complete(),R.l)),!L.closed&&S.subscribe(L)})}},8141(qe,P,c){"use strict";c.d(P,{M:()=>v});var o=c(8071),u=c(9974),l=c(4360),R=c(3669);function v(w,S,L){const E=(0,o.T)(w)||S||L?{next:w,error:S,complete:L}:w;return E?(0,u.N)((h,f)=>{var y;null===(y=E.subscribe)||void 0===y||y.call(E);let H=!0;h.subscribe((0,l._)(f,b=>{var N;null===(N=E.next)||void 0===N||N.call(E,b),f.next(b)}
vendor: 9,856 bytes, line 1
1,()=>{var b;H=!1,null===(b=E.complete)||void 0===b||b.call(E),f.complete()},b=>{var N;H=!1,null===(N=E.error)||void 0===N||N.call(E,b),f.error(b)},()=>{var b,N;H&&(null===(b=E.unsubscribe)||void 0===b||b.call(E)),null===(N=E.finalize)||void 0===N||N.call(E)}))}):R.D}},3774(qe,P,c){"use strict";c.d(P,{v:()=>R});var o=c(9350),u=c(9974),l=c(4360);function R(w=v){return(0,u.N)((S,L)=>{let E=!1;S.subscribe((0,l._)(L,h=>{E=!0,L.next(h)},()=>E?L.complete():L.error(w())))})}function v(){return new o.G}},6780(qe,P,c){"use strict";c.d(P,{R:()=>v});var o=c(8359);class u extends o.yU{constructor(S,L){super()}schedule(S,L=0){return this}}const l={setInterval(w,S,...L){const{delegate:E}=l;return E?.setInterval?E.setInterval(w,S,...L):setInterval(w,S,...L)},clearInterval(w){const{delegate:S}=l;return(S?.clearInterval||clearInterval)(w)},delegate:void 0};var R=c(7908);class v extends u{constructor(S,L){super(S,L),this.scheduler=S,this.work=L,this.pending=!1}schedule(S,L=0){var E;if(this.closed)return this;this.state=S;const h=this.id,f=this.scheduler;return null!=h&&(this.id=this.recycleAsyncId(f,h,L)),this.pending=!0,this.delay=L,this.id=null!==(E=this.id)&&void 0!==E?E:this.requestAsyncId(f,this.id,L),this}requestAsyncId(S,L,E=0){return l.setInterval(S.flush.bind(S,this),E)}recycleAsyncId(S,L,E=0){if(null!=E&&this.delay===E&&!1===this.pending)return L;null!=L&&l.clearInterval(L)}execute(S,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const E=this._execute(S,L);if(E)return E;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(S,L){let h,E=!1;try{this.work(S)}catch(f){E=!0,h=f||new Error("Scheduled action threw falsy error")}if(E)return this.unsubscribe(),h}unsubscribe(){if(!this.closed){const{id:S,scheduler:L}=this,{actions:E}=L;this.work=this.state=this.scheduler=null,this.pending=!1,(0,R.o)(E,this),null!=S&&(this.id=this.recycleAsyncId(L,S,null)),this.delay=null,super.unsubscribe()}}}},9687(qe,P,c){"use strict";c.d(P,{q:()=>l});var o=c(6129);class u{constructor(v,w=u.now){this.schedulerActionCtor=v,this.now=w}schedule(v,w=0,S){return new this.schedulerActionCtor(this,v).schedule(S,w)}}u.now=o.U.now;class l extends u{constructor(v,w=u.now){super(v,w),this.actions=[],this._active=!1}flush(v){const{actions:w}=this;if(this._active)return void w.push(v);let S;this._active=!0;do{if(S=v.execute(v.state,v.delay))break}while(v=w.shift());if(this._active=!1,S){for(;v=w.shift();)v.unsubscribe();throw S}}}},536(qe,P,c){"use strict";c.d(P,{X:()=>S});var o=c(6780),u=c(8359);const l={schedule(E){let h=requestAnimationFrame,f=cancelAnimationFrame;const{delegate:y}=l;y&&(h=y.requestAnimationFrame,f=y.cancelAnimationFrame);const H=h(b=>{f=void 0,E(b)});return new u.yU(()=>f?.(H))},requestAnimationFrame(...E){const{delegate:h}=l;return(h?.requestAnimationFrame||requestAnimationFrame)(...E)},cancelAnimationFrame(...E){const{delegate:h}=l;return(h?.cancelAnimationFrame||cancelAnimationFrame)(...E)},delegate:void 0};var v=c(9687);const S=new class w extends v.q{flush(h){let f;this._active=!0,h?f=h.id:(f=this._scheduled,this._scheduled=void 0);const{actions:y}=this;let H;h=h||y.shift();do{if(H=h.execute(h.state,h.delay))break}while((h=y[0])&&h.id===f&&y.shift());if(this._active=!1,H){for(;(h=y[0])&&h.id===f&&y.shift();)h.unsubscribe();throw H}}}(class R extends o.R{constructor(h,f){super(h,f),this.scheduler=h,this.work=f}requestAsyncId(h,f,y=0){return null!==y&&y>0?super.requestAsyncId(h,f,y):(h.actions.push(this),h._scheduled||(h._scheduled=l.requestAnimationFrame(()=>h.flush(void 0))))}recycleAsyncId(h,f,y=0){var H;if(null!=y?y>0:this.delay>0)return super.recycleAsyncId(h,f,y);const{actions:b}=h;null!=f&&f===h._scheduled&&(null===(H=b[b.length-1])||void 0===H?void 0:H.id)!==f&&(l.cancelAnimationFrame(f),h._scheduled=void 0)}})},5007(qe,P,c){"use strict";c.d(P,{$:()=>b});var o=c(6780);let l,u=1;const R={};function v(A){return A in R&&(delete R[A],!0)}const w={setImmediate(A){const C=u++;return R[C]=!0,l||(l=Promise.resolve()),l.then(()=>v(C)&&A()),C},clearImmediate(A){v(A)}},{setImmediate:L,clearImmediate:E}=w,h={setImmediate(...A){const{delegate:C}=h;return(C?.setImmediate||L)(...A)},clearImmediate(A){const{delegate:C}=h;return(C?.clearImmediate||E)(A)},delegate:void 0};var y=c(9687);const b=new class H extends y.q{flush(C){this._active=!0;const V=this._scheduled;this._scheduled=void 0;const{actions:B}=this;let Q;C=C||B.shift();do{if(Q=C.execute(C.state,C.delay))break}while((C=B[0])&&C.id===V&&B.shift());if(this._active=!1,Q){for(;(C=B[0])&&C.id===V&&B.shift();)C.unsubscribe();throw Q}}}(class f extends o.R{constructor(C,V){super(C,V),this.scheduler=C,this.work=V}requestAsyncId(C,V,B=0){return null!==B&&B>0?super.requestAsyncId(C,V,B):(C.actions.push(this),C._scheduled||(C._scheduled=h.setImmediate(C.flush.bind(C,void 0))))}recycleAsyncId(C,V,B=0){var Q;if(null!=B?B>0:this.delay>0)return super.recycleAsyncId(C,V,B);const{actions:Z}=C;null!=V&&(null===(Q=Z[Z.length-1])||void 0===Q?void 0:Q.id)!==V&&(h.clearImmediate(V),C._scheduled===V&&(C._scheduled=void 0))}})},3236(qe,P,c){"use strict";c.d(P,{E:()=>l,b:()=>R});var o=c(6780);const l=new(c(9687).q)(o.R),R=l},6129(qe,P,c){"use strict";c.d(P,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270(qe,P,c){"use strict";c.d(P,{f:()=>o});const o={setTimeout(u,l,...R){const{delegate:v}=o;return v?.setTimeout?v.setTimeout(u,l,...R):setTimeout(u,l,...R)},clearTimeout(u){const{delegate:l}=o;return(l?.clearTimeout||clearTimeout)(u)},delegate:void 0}},4761(qe,P,c){"use strict";c.d(P,{l:()=>u});const u=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(qe,P,c){"use strict";c.d(P,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(qe,P,c){"use strict";c.d(P,{G:()=>u});const u=(0,c(1853).L)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(qe,P,c){"use strict";c.d(P,{R0:()=>w,lI:()=>v,ms:()=>R});var o=c(8071),u=c(9470);function l(S){return S[S.length-1]}function R(S){return(0,o.T)(l(S))?S.pop():void 0}function v(S){return(0,u.m)(l(S))?S.pop():void 0}function w(S,L){return"number"==typeof l(S)?S.pop():L}},3073(qe,P,c){"use strict";c.d(P,{D:()=>v});const{isArray:o}=Array,{getPrototypeOf:u,prototype:l,keys:R}=Object;function v(S){if(1===S.length){const L=S[0];if(o(L))return{args:L,keys:null};if(function w(S){return S&&"object"==typeof S&&u(S)===l}(L)){const E=R(L);return{args:E.map(h=>L[h]),keys:E}}}return{args:S,keys:null}}},7908(qe,P,c){"use strict";function o(u,l){if(u){const R=u.indexOf(l);0<=R&&u.splice(R,1)}}c.d(P,{o:()=>o})},1853(qe,P,c){"use strict";function o(u){const R=u(v=>{Error.call(v),v.stack=(new Error).stack});return R.prototype=Object.create(Error.prototype),R.prototype.constructor=R,R}c.d(P,{L:()=>o})},8496(qe,P,c){"use strict";function o(u,l){return u.reduce((R,v,w)=>(R[v]=l[w],R),{})}c.d(P,{e:()=>o})},9786(qe,P,c){"use strict";c.d(P,{Y:()=>l,l:()=>R});var o=c(1026);let u=null;function l(v){if(o.$.useDeprecatedSynchronousErrorHandling){const w=!u;if(w&&(u={errorThrown:!1,error:null}),v(),w){const{errorThrown:S,error:L}=u;if(u=null,S)throw L}}else v()}function R(v){o.$.useDeprecatedSynchronousErrorHandling&&u&&(u.errorThrown=!0,u.error=v)}},5225(qe,P,c){"use strict";function o(u,l,R,v=0,w=!1){const S=l.schedule(function(){R(),w?u.add(this.schedule(null,v)):this.unsubscribe()},v);if(u.add(S),!w)return S}c.d(P,{N:()=>o})},3669(qe,P,c){"use strict";function o(u){return u}c.d(P,{D:()=>o})},7441(qe,P,c){"use strict";c.d(P,{X:()=>o});const o=u=>u&&"number"==typeof u.length&&"function"!=typeof u},7953(qe,P,c){"use strict";c.d(P,{T:()=>u});var o=c(8071);function u(l){return Symbol.asyncIterator&&(0,o.T)(l?.[Symbol.asyncIterator])}},8211(qe,P,c){"use strict";function o(u){return u instanceof Date&&!isNaN(u)}c.d(P,{v:()=>o})},8071(qe,P,c){"use strict";function o(u){return"function"==typeof u}c.d(P,{T:()=>o})},5055(qe,P,c){"use strict";c.d(P,{l:()=>l});var o=c(3494),u=c(8071);function l(R){return(0,u.T)(R[o.s])}},5397(qe,P,c){"use strict";c.d(P,{x:()=>l});var o=c(4761),u=c(8071);function l(R){return(0,u.T)(R?.[o.l])}},4402(qe,P,c){"use strict";c.d(P,{A:()=>l});var o=c(1985),u=c(8071);function l(R){return!!R&&(R instanceof o.c||(0,u.T)(R.lift)&&(0,u.T)(R.subscribe))}},9858(qe,P,c){"use strict";c.d(P,{y:()=>u});var o=c(8071);function u(l){return(0,o.T)(l?.then)}},5196(qe,P,c){"use strict";c.d(P,{C:()=>l,U:()=>R});var o=c(1635),u=c(8071);function l(v){return(0,o.AQ)(this,arguments,function*(){const S=v.getReader();try{for(;;){const{value:L,done:E}=yield(0,o.N3)(S.read());if(E)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(L)}}finally{S.releaseLock()}})}function R(v){return(0,u.T)(v?.getReader)}},9470(qe,P,c){"use strict";c.d(P,{m:()=>u});var o=c(8071);function u(l){return l&&(0,o.T)(l.schedule)}},9974(qe,P,c){"use strict";c.d(P,{N:()=>l,S:()=>u});var o=c(8071);function u(R){return(0,o.T)(R?.lift)}function l(R){return v=>{if(u(v))return v.lift(function(w){try{return R(w,this)}catch(S){this.error(S)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(qe,P,c){"use strict";c.d(P,{I:()=>R});var o=c(6354);const{isArray:u}=Array;function R(v){return(0,o.T)(w=>function l(v,w){return u(w)?v(...w):v(w)}(v,w))}},5343(qe,P,c){"use strict";function o(){}c.d(P,{l:()=>o})},1203(qe,P,c){"use strict";c.d(P,{F:()=>u,m:()=>l});var o=c(3669);function u(...R){return l(R)}function l(R){return 0===R.length?o.D:1===R.length?R[0]:function(w){return R.reduce((S,L)=>L(S),w)}}},5334(qe,P,c){"use strict";c.d(P,{m:()=>l});var o=c(1026),u=c(9270);function l(R){u.f.setTimeout(()=>{const{onUnhandledError:v}=o.$;if(!v)throw R;v(R)})}},591(qe,P,c){"use strict";function o(u){return new TypeError(`You provided ${null!==u&&"object"==typeof u?"an invali
1d object":`'${u}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}c.d(P,{L:()=>o})},2812(qe,P,c){var o,u,l;!function(){"use strict";u=[c(855)],o=function(R){return{backtrace:function(w){var S=[],L=10;"object"==typeof w&&"number"==typeof w.maxStackSize&&(L=w.maxStackSize);for(var E=arguments.callee;E&&S.length<L&&E.arguments;){for(var h=new Array(E.arguments.length),f=0;f<h.length;++f)h[f]=E.arguments[f];/function(?:\s+([\w$]+))+\s*\(/.test(E.toString())?S.push(new R({functionName:RegExp.$1||void 0,args:h})):S.push(new R({args:h}));try{E=E.caller}catch{break}}return S}}},void 0!==(l=o.apply(P,u))&&(qe.exports=l)}()},855(qe,P){var u;!function(){"use strict";void 0!==(u=function(){function l(A){return!isNaN(parseFloat(A))&&isFinite(A)}function R(A){return A.charAt(0).toUpperCase()+A.substring(1)}function v(A){return function(){return this[A]}}var w=["isConstructor","isEval","isNative","isToplevel"],S=["columnNumber","lineNumber"],L=["fileName","functionName","source"],f=w.concat(S,L,["args"],["evalOrigin"]);function y(A){if(A)for(var C=0;C<f.length;C++)void 0!==A[f[C]]&&this["set"+R(f[C])](A[f[C]])}y.prototype={getArgs:function(){return this.args},setArgs:function(A){if("[object Array]"!==Object.prototype.toString.call(A))throw new TypeError("Args must be an Array");this.args=A},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(A){if(A instanceof y)this.evalOrigin=A;else{if(!(A instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new y(A)}},toString:function(){var A=this.getFileName()||"",C=this.getLineNumber()||"",V=this.getColumnNumber()||"",B=this.getFunctionName()||"";return this.getIsEval()?A?"[eval] ("+A+":"+C+":"+V+")":"[eval]:"+C+":"+V:B?B+" ("+A+":"+C+":"+V+")":A+":"+C+":"+V}},y.fromString=function(C){var V=C.indexOf("("),B=C.lastIndexOf(")"),Q=C.substring(0,V),Z=C.substring(V+1,B).split(","),ce=C.substring(B+1);if(0===ce.indexOf("@"))var be=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(ce,""),Te=be[1],we=be[2],$e=be[3];return new y({functionName:Q,args:Z||void 0,fileName:Te,lineNumber:we||void 0,columnNumber:$e||void 0})};for(var H=0;H<w.length;H++)y.prototype["get"+R(w[H])]=v(w[H]),y.prototype["set"+R(w[H])]=function(A){return function(C){this[A]=!!C}}(w[H]);for(var b=0;b<S.length;b++)y.prototype["get"+R(S[b])]=v(S[b]),y.prototype["set"+R(S[b])]=function(A){return function(C){if(!l(C))throw new TypeError(A+" must be a Number");this[A]=Number(C)}}(S[b]);for(var N=0;N<L.length;N++)y.prototype["get"+R(L[N])]=v(L[N]),y.prototype["set"+R(L[N])]=function(A){return function(C){this[A]=String(C)}}(L[N]);return y}.apply(P,[]))&&(qe.exports=u)}()},7294(qe,P,c){var o=c(9060),u=Object.prototype.hasOwnProperty;function l(){this._array=[],this._set=Object.create(null)}l.fromArray=function(v,w){for(var S=new l,L=0,E=v.length;L<E;L++)S.add(v[L],w);return S},l.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},l.prototype.add=function(v,w){var S=o.toSetString(v),L=u.call(this._set,S),E=this._array.length;(!L||w)&&this._array.push(v),L||(this._set[S]=E)},l.prototype.has=function(v){var w=o.toSetString(v);return u.call(this._set,w)},l.prototype.indexOf=function(v){var w=o.toSetString(v);if(u.call(this._set,w))return this._set[w];throw new Error('"'+v+'" is not in the set.')},l.prototype.at=function(v){if(v>=0&&v<this._array.length)return this._array[v];throw new Error("No element indexed by "+v)},l.prototype.toArray=function(){return this._array.slice()},P.C=l},583(qe,P,c){var o=c(2651);P.encode=function(E){var f,h="",y=function w(L){return L<0?1+(-L<<1):0+(L<<1)}(E);do{f=31&y,(y>>>=5)>0&&(f|=32),h+=o.encode(f)}while(y>0);return h},P.decode=function(E,h,f){var N,A,y=E.length,H=0,b=0;do{if(h>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(A=o.decode(E.charCodeAt(h++))))throw new Error("Invalid base64 digit: "+E.charAt(h-1));N=!!(32&A),H+=(A&=31)<<b,b+=5}while(N);f.value=function S(L){var h=L>>1;return 1&~L?h:-h}(H),f.rest=h}},2651(qe,P){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 4,531 bytes, line 1
1+/".split("");P.encode=function(o){if(0<=o&&o<c.length)return c[o];throw new TypeError("Must be between 0 and 63: "+o)},P.decode=function(o){return 65<=o&&o<=90?o-65:97<=o&&o<=122?o-97+26:48<=o&&o<=57?o-48+52:43==o?62:47==o?63:-1}},8222(qe,P){function c(o,u,l,R,v,w){var S=Math.floor((u-o)/2)+o,L=v(l,R[S],!0);return 0===L?S:L>0?u-S>1?c(S,u,l,R,v,w):w==P.LEAST_UPPER_BOUND?u<R.length?u:-1:S:S-o>1?c(o,S,l,R,v,w):w==P.LEAST_UPPER_BOUND?S:o<0?-1:o}P.GREATEST_LOWER_BOUND=1,P.LEAST_UPPER_BOUND=2,P.search=function(u,l,R,v){if(0===l.length)return-1;var w=c(-1,l.length,u,l,R,v||P.GREATEST_LOWER_BOUND);if(w<0)return-1;for(;w-1>=0&&0===R(l[w],l[w-1],!0);)--w;return w}},7909(qe,P,c){var o=c(9060);function l(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}l.prototype.unsortedForEach=function(v,w){this._array.forEach(v,w)},l.prototype.add=function(v){!function u(R,v){var w=R.generatedLine,S=v.generatedLine;return S>w||S==w&&v.generatedColumn>=R.generatedColumn||o.compareByGeneratedPositionsInflated(R,v)<=0}(this._last,v)?(this._sorted=!1,this._array.push(v)):(this._last=v,this._array.push(v))},l.prototype.toArray=function(){return this._sorted||(this._array.sort(o.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},P.P=l},8982(qe,P){function c(l,R,v){var w=l[R];l[R]=l[v],l[v]=w}function u(l,R,v,w){if(v<w){var S=function o(l,R){return Math.round(l+Math.random()*(R-l))}(v,w),L=v-1;c(l,S,w);for(var E=l[w],h=v;h<w;h++)R(l[h],E)<=0&&c(l,L+=1,h);c(l,L+1,h);var f=L+1;u(l,R,v,f-1),u(l,R,f+1,w)}}P.g=function(l,R){u(l,R,0,l.length-1)}},1131(qe,P,c){var u=c(9060),l=c(8222),R=c(7294).C,v=c(583),w=c(8982).g;function S(f){var y=f;return"string"==typeof f&&(y=JSON.parse(f.replace(/^\)\]\}'/,""))),null!=y.sections?new h(y):new L(y)}function L(f){var y=f;"string"==typeof f&&(y=JSON.parse(f.replace(/^\)\]\}'/,"")));var H=u.getArg(y,"version"),b=u.getArg(y,"sources"),N=u.getArg(y,"names",[]),A=u.getArg(y,"sourceRoot",null),C=u.getArg(y,"sourcesContent",null),V=u.getArg(y,"mappings"),B=u.getArg(y,"file",null);if(H!=this._version)throw new Error("Unsupported version: "+H);b=b.map(String).map(u.normalize).map(function(Q){return A&&u.isAbsolute(A)&&u.isAbsolute(Q)?u.relative(A,Q):Q}),this._names=R.fromArray(N.map(String),!0),this._sources=R.fromArray(b,!0),this.sourceRoot=A,this.sourcesContent=C,this._mappings=V,this.file=B}function E(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function h(f){var y=f;"string"==typeof f&&(y=JSON.parse(f.replace(/^\)\]\}'/,"")));var H=u.getArg(y,"version"),b=u.getArg(y,"sections");if(H!=this._version)throw new Error("Unsupported version: "+H);this._sources=new R,this._names=new R;var N={line:-1,column:0};this._sections=b.map(function(A){if(A.url)throw new Error("Support for url field in sections not implemented.");var C=u.getArg(A,"offset"),V=u.getArg(C,"line"),B=u.getArg(C,"column");if(V<N.line||V===N.line&&B<N.column)throw new Error("Section offsets must be ordered and non-overlapping.");return N=C,{generatedOffset:{generatedLine:V+1,generatedColumn:B+1},consumer:new S(u.getArg(A,"map"))}})}S.fromSourceMap=function(f){return L.fromSourceMap(f)},S.prototype._version=3,S.prototype.__generatedMappings=null,Object.defineProperty(S.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),S.prototype.__originalMappings=null,Object.defineProperty(S.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),S.prototype._charIsMappingSeparator=function(y,H){var b=y.charAt(H);return";"===b||","===b},S.prototype._parseMappings=function(y,H){throw new Error("Subclasses must implement _parseMappings")},S.GENERATED_ORDER=1,S.ORIGINAL_ORDER=2,S.GREATEST_LOWER_BOUND=1,S.LEAST_UPPER_BOUND=2,S.prototype.eachMapping=function(y,H,b){var C,N=H||null;switch(b||S.GENERATED_ORDER){case S.GENERATED_ORDER:C=this._generatedMappings;break;case S.ORIGINAL_ORDER:C=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var V=this.sourceRoot;C.map(function(B){var Q=null===B.source?null:this._sources.at(B.source);return null!=Q&&null!=V&&(Q=u.join(V,Q)),{source:Q,generatedLine:B.generatedLine,generatedColumn:B.generatedColumn,originalLine:B.originalLine,originalColumn:B.originalColumn,name:null===B.name?null:this._names.at(B.name)}}
vendor: 8,972 bytes, line 1
1,this).forEach(y,N)},S.prototype.allGeneratedPositionsFor=function(y){var H=u.getArg(y,"line"),b={source:u.getArg(y,"source"),originalLine:H,originalColumn:u.getArg(y,"column",0)};if(null!=this.sourceRoot&&(b.source=u.relative(this.sourceRoot,b.source)),!this._sources.has(b.source))return[];b.source=this._sources.indexOf(b.source);var N=[],A=this._findMapping(b,this._originalMappings,"originalLine","originalColumn",u.compareByOriginalPositions,l.LEAST_UPPER_BOUND);if(A>=0){var C=this._originalMappings[A];if(void 0===y.column)for(var V=C.originalLine;C&&C.originalLine===V;)N.push({line:u.getArg(C,"generatedLine",null),column:u.getArg(C,"generatedColumn",null),lastColumn:u.getArg(C,"lastGeneratedColumn",null)}),C=this._originalMappings[++A];else for(var B=C.originalColumn;C&&C.originalLine===H&&C.originalColumn==B;)N.push({line:u.getArg(C,"generatedLine",null),column:u.getArg(C,"generatedColumn",null),lastColumn:u.getArg(C,"lastGeneratedColumn",null)}),C=this._originalMappings[++A]}return N},P.SourceMapConsumer=S,(L.prototype=Object.create(S.prototype)).consumer=S,L.fromSourceMap=function(y){var H=Object.create(L.prototype),b=H._names=R.fromArray(y._names.toArray(),!0),N=H._sources=R.fromArray(y._sources.toArray(),!0);H.sourceRoot=y._sourceRoot,H.sourcesContent=y._generateSourcesContent(H._sources.toArray(),H.sourceRoot),H.file=y._file;for(var A=y._mappings.toArray().slice(),C=H.__generatedMappings=[],V=H.__originalMappings=[],B=0,Q=A.length;B<Q;B++){var Z=A[B],ce=new E;ce.generatedLine=Z.generatedLine,ce.generatedColumn=Z.generatedColumn,Z.source&&(ce.source=N.indexOf(Z.source),ce.originalLine=Z.originalLine,ce.originalColumn=Z.originalColumn,Z.name&&(ce.name=b.indexOf(Z.name)),V.push(ce)),C.push(ce)}return w(H.__originalMappings,u.compareByOriginalPositions),H},L.prototype._version=3,Object.defineProperty(L.prototype,"sources",{get:function(){return this._sources.toArray().map(function(f){return null!=this.sourceRoot?u.join(this.sourceRoot,f):f},this)}}),L.prototype._parseMappings=function(y,H){for(var $e,Oe,Ue,Be,b=1,N=0,A=0,C=0,V=0,B=0,Q=y.length,Z=0,ce={},be={},Te=[],we=[];Z<Q;)if(";"===y.charAt(Z))b++,Z++,N=0;else if(","===y.charAt(Z))Z++;else{for(($e=new E).generatedLine=b,Be=Z;Be<Q&&!this._charIsMappingSeparator(y,Be);Be++);if(Ue=ce[Oe=y.slice(Z,Be)])Z+=Oe.length;else{for(Ue=[];Z<Be;)v.decode(y,Z,be),Z=be.rest,Ue.push(be.value);if(2===Ue.length)throw new Error("Found a source, but no line and column");if(3===Ue.length)throw new Error("Found a source and line, but no column");ce[Oe]=Ue}$e.generatedColumn=N+Ue[0],N=$e.generatedColumn,Ue.length>1&&($e.source=V+Ue[1],V+=Ue[1],$e.originalLine=A+Ue[2],A=$e.originalLine,$e.originalLine+=1,$e.originalColumn=C+Ue[3],C=$e.originalColumn,Ue.length>4&&($e.name=B+Ue[4],B+=Ue[4])),we.push($e),"number"==typeof $e.originalLine&&Te.push($e)}w(we,u.compareByGeneratedPositionsDeflated),this.__generatedMappings=we,w(Te,u.compareByOriginalPositions),this.__originalMappings=Te},L.prototype._findMapping=function(y,H,b,N,A,C){if(y[b]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[b]);if(y[N]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[N]);return l.search(y,H,A,C)},L.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var H=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var b=this._generatedMappings[y+1];if(H.generatedLine===b.generatedLine){H.lastGeneratedColumn=b.generatedColumn-1;continue}}H.lastGeneratedColumn=1/0}},L.prototype.originalPositionFor=function(y){var H={generatedLine:u.getArg(y,"line"),generatedColumn:u.getArg(y,"column")},b=this._findMapping(H,this._generatedMappings,"generatedLine","generatedColumn",u.compareByGeneratedPositionsDeflated,u.getArg(y,"bias",S.GREATEST_LOWER_BOUND));if(b>=0){var N=this._generatedMappings[b];if(N.generatedLine===H.generatedLine){var A=u.getArg(N,"source",null);null!==A&&(A=this._sources.at(A),null!=this.sourceRoot&&(A=u.join(this.sourceRoot,A)));var C=u.getArg(N,"name",null);return null!==C&&(C=this._names.at(C)),{source:A,line:u.getArg(N,"originalLine",null),column:u.getArg(N,"originalColumn",null),name:C}}}return{source:null,line:null,column:null,name:null}},L.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return null==y})},L.prototype.sourceContentFor=function(y,H){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(y=u.relative(this.sourceRoot,y)),this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];var b;if(null!=this.sourceRoot&&(b=u.urlParse(this.sourceRoot))){var N=y.replace(/^file:\/\//,"");if("file"==b.scheme&&this._sources.has(N))return this.sourcesContent[this._sources.indexOf(N)];if((!b.path||"/"==b.path)&&this._sources.has("/"+y))return this.sourcesContent[this._sources.indexOf("/"+y)]}if(H)return null;throw new Error('"'+y+'" is not in the SourceMap.')},L.prototype.generatedPositionFor=function(y){var H=u.getArg(y,"source");if(null!=this.sourceRoot&&(H=u.relative(this.sourceRoot,H)),!this._sources.has(H))return{line:null,column:null,lastColumn:null};var b={source:H=this._sources.indexOf(H),originalLine:u.getArg(y,"line"),originalColumn:u.getArg(y,"column")},N=this._findMapping(b,this._originalMappings,"originalLine","originalColumn",u.compareByOriginalPositions,u.getArg(y,"bias",S.GREATEST_LOWER_BOUND));if(N>=0){var A=this._originalMappings[N];if(A.source===b.source)return{line:u.getArg(A,"generatedLine",null),column:u.getArg(A,"generatedColumn",null),lastColumn:u.getArg(A,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},(h.prototype=Object.create(S.prototype)).constructor=S,h.prototype._version=3,Object.defineProperty(h.prototype,"sources",{get:function(){for(var f=[],y=0;y<this._sections.length;y++)for(var H=0;H<this._sections[y].consumer.sources.length;H++)f.push(this._sections[y].consumer.sources[H]);return f}}),h.prototype.originalPositionFor=function(y){var H={generatedLine:u.getArg(y,"line"),generatedColumn:u.getArg(y,"column")},b=l.search(H,this._sections,function(A,C){return A.generatedLine-C.generatedOffset.generatedLine||A.generatedColumn-C.generatedOffset.generatedColumn}),N=this._sections[b];return N?N.consumer.originalPositionFor({line:H.generatedLine-(N.generatedOffset.generatedLine-1),column:H.generatedColumn-(N.generatedOffset.generatedLine===H.generatedLine?N.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},h.prototype.sourceContentFor=function(y,H){for(var b=0;b<this._sections.length;b++){var A=this._sections[b].consumer.sourceContentFor(y,!0);if(A)return A}if(H)return null;throw new Error('"'+y+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(y){for(var H=0;H<this._sections.length;H++){var b=this._sections[H];if(-1!==b.consumer.sources.indexOf(u.getArg(y,"source"))){var N=b.consumer.generatedPositionFor(y);if(N)return{line:N.line+(b.generatedOffset.generatedLine-1),column:N.column+(b.generatedOffset.generatedLine===N.line?b.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},h.prototype._parseMappings=function(y,H){this.__generatedMappings=[],this.__originalMappings=[];for(var b=0;b<this._sections.length;b++)for(var N=this._sections[b],A=N.consumer._generatedMappings,C=0;C<A.length;C++){var V=A[C],B=N.consumer._sources.at(V.source);null!==N.consumer.sourceRoot&&(B=u.join(N.consumer.sourceRoot,B)),this._sources.add(B),B=this._sources.indexOf(B);var Q=N.consumer._names.at(V.name);this._names.add(Q),Q=this._names.indexOf(Q);var Z={source:B,generatedLine:V.generatedLine+(N.generatedOffset.generatedLine-1),generatedColumn:V.generatedColumn+(N.generatedOffset.generatedLine===V.generatedLine?N.generatedOffset.generatedColumn-1:0),originalLine:V.originalLine,originalColumn:V.originalColumn,name:Q};this.__generatedMappings.push(Z),"number"==typeof Z.originalLine&&this.__originalMappings.push(Z)}w(this.__generatedMappings,u.compareByGeneratedPositionsDeflated),w(this.__originalMappings,u.compareByOriginalPositions)}},7398(qe,P,c){var o=c(583),u=c(9060),l=c(7294).C,R=c(7909).P;function v(w){w||(w={}),this._file=u.getArg(w,"file",null),this._sourceRoot=u.getArg(w,"sourceRoot",null),this._skipValidation=u.getArg(w,"skipValidation",!1),this._sources=new l,this._names=new l,this._mappings=new R,this._sourcesContents=null}v.prototype._version=3,v.fromSourceMap=function(S){var L=S.sourceRoot,E=new v({file:S.file,sourceRoot:L});return S.eachMapping(function(h){var f={generated:{line:h.generatedLine,column:h.generatedColumn}};null!=h.source&&(f.source=h.source,null!=L&&(f.source=u.relative(L,f.source)),f.original={line:h.originalLine,column:h.originalColumn},null!=h.name&&(f.name=h.name)),E.addMapping(f)}
vendor: 4,345 bytes, line 1
1),S.sources.forEach(function(h){var f=S.sourceContentFor(h);null!=f&&E.setSourceContent(h,f)}),E},v.prototype.addMapping=function(S){var L=u.getArg(S,"generated"),E=u.getArg(S,"original",null),h=u.getArg(S,"source",null),f=u.getArg(S,"name",null);this._skipValidation||this._validateMapping(L,E,h,f),null!=h&&(h=String(h),this._sources.has(h)||this._sources.add(h)),null!=f&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:L.line,generatedColumn:L.column,originalLine:null!=E&&E.line,originalColumn:null!=E&&E.column,source:h,name:f})},v.prototype.setSourceContent=function(S,L){var E=S;null!=this._sourceRoot&&(E=u.relative(this._sourceRoot,E)),null!=L?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[u.toSetString(E)]=L):this._sourcesContents&&(delete this._sourcesContents[u.toSetString(E)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},v.prototype.applySourceMap=function(S,L,E){var h=L;if(null==L){if(null==S.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');h=S.file}var f=this._sourceRoot;null!=f&&(h=u.relative(f,h));var y=new l,H=new l;this._mappings.unsortedForEach(function(b){if(b.source===h&&null!=b.originalLine){var N=S.originalPositionFor({line:b.originalLine,column:b.originalColumn});null!=N.source&&(b.source=N.source,null!=E&&(b.source=u.join(E,b.source)),null!=f&&(b.source=u.relative(f,b.source)),b.originalLine=N.line,b.originalColumn=N.column,null!=N.name&&(b.name=N.name))}var A=b.source;null!=A&&!y.has(A)&&y.add(A);var C=b.name;null!=C&&!H.has(C)&&H.add(C)},this),this._sources=y,this._names=H,S.sources.forEach(function(b){var N=S.sourceContentFor(b);null!=N&&(null!=E&&(b=u.join(E,b)),null!=f&&(b=u.relative(f,b)),this.setSourceContent(b,N))},this)},v.prototype._validateMapping=function(S,L,E,h){if(!(S&&"line"in S&&"column"in S&&S.line>0&&S.column>=0)||L||E||h){if(S&&"line"in S&&"column"in S&&L&&"line"in L&&"column"in L&&S.line>0&&S.column>=0&&L.line>0&&L.column>=0&&E)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:S,source:E,original:L,name:h}))}},v.prototype._serializeMappings=function(){for(var b,N,A,C,S=0,L=1,E=0,h=0,f=0,y=0,H="",V=this._mappings.toArray(),B=0,Q=V.length;B<Q;B++){if(b="",(N=V[B]).generatedLine!==L)for(S=0;N.generatedLine!==L;)b+=";",L++;else if(B>0){if(!u.compareByGeneratedPositionsInflated(N,V[B-1]))continue;b+=","}b+=o.encode(N.generatedColumn-S),S=N.generatedColumn,null!=N.source&&(C=this._sources.indexOf(N.source),b+=o.encode(C-y),y=C,b+=o.encode(N.originalLine-1-h),h=N.originalLine-1,b+=o.encode(N.originalColumn-E),E=N.originalColumn,null!=N.name&&(A=this._names.indexOf(N.name),b+=o.encode(A-f),f=A)),H+=b}return H},v.prototype._generateSourcesContent=function(S,L){return S.map(function(E){if(!this._sourcesContents)return null;null!=L&&(E=u.relative(L,E));var h=u.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,h)?this._sourcesContents[h]:null},this)},v.prototype.toJSON=function(){var S={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(S.file=this._file),null!=this._sourceRoot&&(S.sourceRoot=this._sourceRoot),this._sourcesContents&&(S.sourcesContent=this._generateSourcesContent(S.sources,S.sourceRoot)),S},v.prototype.toString=function(){return JSON.stringify(this.toJSON())},P.SourceMapGenerator=v},4754(qe,P,c){var o=c(7398).SourceMapGenerator,u=c(9060),l=/(\r?\n)/,v="$$$isSourceNode$$$";function w(S,L,E,h,f){this.children=[],this.sourceContents={},this.line=S??null,this.column=L??null,this.source=E??null,this.name=f??null,this[v]=!0,null!=h&&this.add(h)}w.fromStringWithSourceMap=function(L,E,h){var f=new w,y=L.split(l),H=function(){return y.shift()+(y.shift()||"")},b=1,N=0,A=null;return E.eachMapping(function(V){if(null!==A){if(!(b<V.generatedLine)){var Q=(B=y[0]).substr(0,V.generatedColumn-N);return y[0]=B.substr(V.generatedColumn-N),N=V.generatedColumn,C(A,Q),void(A=V)}C(A,H()),b++,N=0}for(;b<V.generatedLine;)f.add(H()),b++;var B;N<V.generatedColumn&&(f.add((B=y[0]).substr(0,V.generatedColumn)),y[0]=B.substr(V.generatedColumn),N=V.generatedColumn),A=V},this),y.length>
vendor: 3,241 bytes, line 1
10&&(A&&C(A,H()),f.add(y.join(""))),E.sources.forEach(function(V){var B=E.sourceContentFor(V);null!=B&&(null!=h&&(V=u.join(h,V)),f.setSourceContent(V,B))}),f;function C(V,B){if(null===V||void 0===V.source)f.add(B);else{var Q=h?u.join(h,V.source):V.source;f.add(new w(V.originalLine,V.originalColumn,Q,B,V.name))}}},w.prototype.add=function(L){if(Array.isArray(L))L.forEach(function(E){this.add(E)},this);else{if(!L[v]&&"string"!=typeof L)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+L);L&&this.children.push(L)}return this},w.prototype.prepend=function(L){if(Array.isArray(L))for(var E=L.length-1;E>=0;E--)this.prepend(L[E]);else{if(!L[v]&&"string"!=typeof L)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+L);this.children.unshift(L)}return this},w.prototype.walk=function(L){for(var E,h=0,f=this.children.length;h<f;h++)(E=this.children[h])[v]?E.walk(L):""!==E&&L(E,{source:this.source,line:this.line,column:this.column,name:this.name})},w.prototype.join=function(L){var E,h,f=this.children.length;if(f>0){for(E=[],h=0;h<f-1;h++)E.push(this.children[h]),E.push(L);E.push(this.children[h]),this.children=E}return this},w.prototype.replaceRight=function(L,E){var h=this.children[this.children.length-1];return h[v]?h.replaceRight(L,E):"string"==typeof h?this.children[this.children.length-1]=h.replace(L,E):this.children.push("".replace(L,E)),this},w.prototype.setSourceContent=function(L,E){this.sourceContents[u.toSetString(L)]=E},w.prototype.walkSourceContents=function(L){for(var E=0,h=this.children.length;E<h;E++)this.children[E][v]&&this.children[E].walkSourceContents(L);var f=Object.keys(this.sourceContents);for(E=0,h=f.length;E<h;E++)L(u.fromSetString(f[E]),this.sourceContents[f[E]])},w.prototype.toString=function(){var L="";return this.walk(function(E){L+=E}),L},w.prototype.toStringWithSourceMap=function(L){var E={code:"",line:1,column:0},h=new o(L),f=!1,y=null,H=null,b=null,N=null;return this.walk(function(A,C){E.code+=A,null!==C.source&&null!==C.line&&null!==C.column?((y!==C.source||H!==C.line||b!==C.column||N!==C.name)&&h.addMapping({source:C.source,original:{line:C.line,column:C.column},generated:{line:E.line,column:E.column},name:C.name}),y=C.source,H=C.line,b=C.column,N=C.name,f=!0):f&&(h.addMapping({generated:{line:E.line,column:E.column}}),y=null,f=!1);for(var V=0,B=A.length;V<B;V++)10===A.charCodeAt(V)?(E.line++,E.column=0,V+1===B?(y=null,f=!1):f&&h.addMapping({source:C.source,original:{line:C.line,column:C.column},generated:{line:E.line,column:E.column},name:C.name})):E.column++}),this.walkSourceContents(function(A,C){h.setSourceContent(A,C)}),{code:E.code,map:h}},P.SourceNode=w},9060(qe,P){P.getArg=function c(C,V,B){if(V in C)return C[V];if(3===arguments.length)return B;throw new Error('"'+V+'" is a required argument.')};var o=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,u=/^data:.+\,.+$/;function l(C){var V=C.match(o);return V?{scheme:V[1],auth:V[2],host:V[3],port:V[4],path:V[5]}:null}function R(C){var V="";return C.scheme&&(V+=C.scheme+":"),V+="//",C.auth&&(V+=C.auth+"@"),C.host&&(V+=C.host),C.port&&(V+=":"+C.port),C.path&&(V+=C.path),V}function v(C){var V=C,B=l(C);
1if(B){if(!B.path)return C;V=B.path}for(var ce,Q=P.isAbsolute(V),Z=V.split(/\/+/),be=0,Te=Z.length-1;Te>=0;Te--)"."===(ce=Z[Te])?Z.splice(Te,1):".."===ce?be++:be>0&&(""===ce?(Z.splice(Te+1,be),be=0):(Z.splice(Te,2),be--));return""===(V=Z.join("/"))&&(V=Q?"/":"."),B?(B.path=V,R(B)):V}P.urlParse=l,P.urlGenerate=R,P.normalize=v,P.join=function w(C,V){""===C&&(C="."),""===V&&(V=".");var B=l(V),Q=l(C);if(Q&&(C=Q.path||"/"),B&&!B.scheme)return Q&&(B.scheme=Q.scheme),R(B);if(B||V.match(u))return V;if(Q&&!Q.host&&!Q.path)return Q.host=V,R(Q);var Z="/"===V.charAt(0)?V:v(C.replace(/\/+$/,"")+"/"+V);return Q?(Q.path=Z,R(Q)):Z},P.isAbsolute=function(C){return"/"===C.charAt(0)||!!C.match(o)},P.relative=function S(C,V){""===C&&(C="."),C=C.replace(/\/$/,"");for(var B=0;0!==V.indexOf(C+"/");){var Q=C.lastIndexOf("/");if(Q<0||(C=C.slice(0,Q)).match(/^([^\/]+:\/)?\/*$/))return V;++B}return Array(B+1).join("../")+V.substr(C.length+1)};var L=!("__proto__"in Object.create(null));function E(C){return C}function y(C){if(!C)return!1;var V=C.length;if(V<9||95!==C.charCodeAt(V-1)||95!==C.charCodeAt(V-2)||111!==C.charCodeAt(V-3)||116!==C.charCodeAt(V-4)||111!==C.charCodeAt(V-5)||114!==C.charCodeAt(V-6)||112!==C.charCodeAt(V-7)||95!==C.charCodeAt(V-8)||95!==C.charCodeAt(V-9))return!1;for(var B=V-10;B>=0;B--)if(36!==C.charCodeAt(B))return!1;return!0}function N(C,V){return C===V?0:C>V?1:-1}P.toSetString=L?E:function h(C){return y(C)?"$"+C:C},P.fromSetString=L?E:function f(C){return y(C)?C.slice(1):C},P.compareByOriginalPositions=function H(C,V,B){var Q=C.source-V.source;return 0!==Q||0!==(Q=C.originalLine-V.originalLine)||0!==(Q=C.originalColumn-V.originalColumn)||B||0!==(Q=C.generatedColumn-V.generatedColumn)||0!==(Q=C.generatedLine-V.generatedLine)?Q:C.name-V.name},P.compareByGeneratedPositionsDeflated=function b(C,V,B){var Q=C.generatedLine-V.generatedLine;return 0!==Q||0!==(Q=C.generatedColumn-V.generatedColumn)||B||0!==(Q=C.source-V.source)||0!==(Q=C.originalLine-V.originalLine)||0!==(Q=C.originalColumn-V.originalColumn)?Q:C.name-V.name},P.compareByGeneratedPositionsInflated=function A(C,V){var B=C.generatedLine-V.generatedLine;return 0!==B||0!==(B=C.generatedColumn-V.generatedColumn)||0!==(B=N(C.source,V.source))||0!==(B=C.originalLine-V.originalLine)||0!==(B=C.originalColumn-V.originalColumn)?B:N(C.name,V.name)}},5570(qe,P,c){P.SourceMapGenerator=c(7398).SourceMapGenerator,P.SourceMapConsumer=c(1131).SourceMapConsumer,P.SourceNode=c(4754).SourceNode},6094(qe,P,c){var u,l;!function(){"use strict";u=[c(5570),c(855)],void 0!==(l=function(R,v){function w(b){return new Promise(function(N,A){var C=new XMLHttpRequest;C.open("get",b),C.onerror=A,C.onreadystatechange=function(){4===C.readyState&&(C.status>=200&&C.status<300||"file://"===b.substr(0,7)&&C.responseText?N(C.responseText):A(new Error("HTTP status: "+C.status+" retrieving "+b)))},C.send()})}function S(b){if(typeof window<"u"&&window.atob)return window.atob(b);throw new Error("You must supply a polyfill for window.atob in this environment")}function f(b){if("object"!=typeof b)throw new TypeError("Given StackFrame is not an object");if("string"!=typeof b.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof b.lineNumber||b.lineNumber%1!=0||b.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof b.columnNumber||b.columnNumber%1!=0||b.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}return function b(N){if(!(this instanceof b))return new b(N);this.sourceCache=(N=N||{}).sourceCache||{},this.sourceMapConsumerCache=N.sourceMapConsumerCache||{},this.ajax=N.ajax||w,this._atob=N.atob||S,this._get=function(C){return new Promise(function(V,B){var Q="data:"===C.substr(0,5);if(this.sourceCache[C])V(this.sourceCache[C]);else if(N.offline&&!Q)B(new Error("Cannot make network requests in offline mode"));else if(Q){var ce=C.match(/^data:application\/json;([\w=:"-]+;)*base64,/);if(ce){var Te=C.substr(ce[0].length),we=this._atob(Te);this.sourceCache[C]=we,V(we)}else B(new Error("The encoding of the inline sourcemap is not supported"))}else{var $e=this.ajax(C,{method:"get"});this.sourceCache[C]=$e,$e.then(V,B)}}.bind(this))},this._getSourceMapConsumer=function(C,V){return new Promise(function(B){if(this.sourceMapConsumerCache[C])B(this.sourceMapConsumerCache[C]);else{var Q=new Promise(function(Z,ce){return this._get(C).then(function(be){"string"==typeof be&&(be=function L(b){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(b);throw new Error("You must supply a polyfill for JSON.parse in this environment")}(be.replace(/^\)\]\}'/,""))),typeof be.sourceRoot>"u"&&(be.sourceRoot=V),Z(new R.SourceMapConsumer(be))}).catch(ce)}.bind(this));this.sourceMapConsumerCache[C]=Q,B(Q)}}.bind(this))},this.pinpoint=function(C){return new Promise(function(V,B){this.getMappedLocation(C).then(function(Q){function Z(){V(Q)}this.findFunctionName(Q).then(V,Z).catch(Z)}.bind(this),B)}.bind(this))},this.findFunctionName=function(C){return new Promise(function(V,B){f(C),this._get(C.fileName).then(function(Z){var ce=C.lineNumber,be=C.columnNumber,Te=function E(b,N){for(var A=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],C=b.split("\n"),V="",B=Math.min(N,20),Q=0;Q<B;++Q){var Z=C[N-Q-1],ce=Z.indexOf("//");if(ce>=0&&(Z=Z.substr(0,ce)),Z){V=Z+V;for(var be=A.length,Te=0;Te<be;Te++){var we=A[Te].exec(V);if(we&&we[1])return we[1]}}}}(Z,ce);V(Te?new v({functionName:Te,args:C.args,fileName:C.fileName,lineNumber:ce,columnNumber:be}):C)},B).catch(B)}.bind(this))},this.getMappedLocation=function(C){return new Promise(function(V,B){(function h(){if("function"!=typeof Object.defineProperty||"function"!=typeof Object.create)throw new Error("Unable to consume source maps in older browsers")})(),f(C);var Q=this.sourceCache,Z=C.fileName;this._get(Z).then(function(ce){var be=function y(b){for(var A,C,N=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/gm;C=N.exec(b);)A=C[1];if(A)return A;throw new Error("sourceMappingURL not found")}(ce),Te="data:"===be.substr(0,5),we=Z.substring(0,Z.lastIndexOf("/")+1);return"/"!==be[0]&&!Te&&!/^https?:\/\/|^\/\//i.test(be)&&(be=we+be),this._getSourceMapConsumer(be,we).then(function($e){return function H(b,N,A){return new Promise(function(C,V){var B=N.originalPositionFor({line:b.lineNumber,column:b.columnNumber});if(B.source){var Q=N.sourceContentFor(B.source);Q&&(A[B.source]=Q),C(new v({functionName:B.name||b.functionName,args:b.args,fileName:B.source,lineNumber:B.line,columnNumber:B.column}))}else V(new Error("Could not get original source for given stackframe and source map"))})}(C,$e,Q).then(V).catch(function(){V(C)})})}.bind(this),B).catch(B)}.bind(this))}}}.apply(P,u))&&(qe.exports=l)}()},5742(qe,P,c){var o,u,l;!function(){"use strict";u=[c(8416),c(2812),c(6094)],o=function(v,w,S){var L={filter:function(H){return-1===(H.functionName||"").indexOf("StackTrace$$")&&-1===(H.functionName||"").indexOf("ErrorStackParser$$")&&-1===(H.functionName||"").indexOf("StackTraceGPS$$")&&-1===(H.functionName||"").indexOf("StackGenerator$$")},sourceCache:{}},E=function(){try{throw new Error}catch(b){return b}};function h(H,b){var N={};return[H,b].forEach(function(A){for(var C in A)Object.prototype.hasOwnProperty.call(A,C)&&(N[C]=A[C]);return N}),N}function f(H){return H.stack||H["opera#sourceloc"]}function y(H,b){return"function"==typeof b?H.filter(b):H}return{get:function(b){var N=E();return f(N)?this.fromError(N,b):this.generateArtificially(b)},getSync:function(b){b=h(L,b);var N=E();return y(f(N)?v.parse(N):w.backtrace(b),b.filter)},fromError:function(b,N){N=h(L,N);var A=new S(N);return new Promise(function(C){var V=y(v.parse(b),N.filter);
1C(Promise.all(V.map(function(B){return new Promise(function(Q){function Z(){Q(B)}A.pinpoint(B).then(Q,Z).catch(Z)})})))}.bind(this))},generateArtificially:function(b){b=h(L,b);var N=w.backtrace(b);return"function"==typeof b.filter&&(N=N.filter(b.filter)),Promise.resolve(N)},instrument:function(b,N,A,C){if("function"!=typeof b)throw new Error("Cannot instrument non-function object");if("function"==typeof b.__stacktraceOriginalFn)return b;var V=function(){try{return this.get().then(N,A).catch(A),b.apply(C||this,arguments)}catch(Q){throw f(Q)&&this.fromError(Q).then(N,A).catch(A),Q}}.bind(this);return V.__stacktraceOriginalFn=b,V},deinstrument:function(b){if("function"!=typeof b)throw new Error("Cannot de-instrument non-function object");return"function"==typeof b.__stacktraceOriginalFn?b.__stacktraceOriginalFn:b},report:function(b,N,A,C){return new Promise(function(V,B){var Q=new XMLHttpRequest;if(Q.onerror=B,Q.onreadystatechange=function(){4===Q.readyState&&(Q.status>=200&&Q.status<400?V(Q.responseText):B(new Error("POST to "+N+" failed with status: "+Q.status)))},Q.open("post",N),Q.setRequestHeader("Content-Type","application/json"),C&&"object"==typeof C.headers){var Z=C.headers;for(var ce in Z)Object.prototype.hasOwnProperty.call(Z,ce)&&Q.setRequestHeader(ce,Z[ce])}var be={stack:b};null!=A&&(be.message=A),Q.send(JSON.stringify(be))})}}},void 0!==(l=o.apply(P,u))&&(qe.exports=l)}()},6883(qe,P,c){"use strict";c.d(P,{A:()=>y});var o,u=new Uint8Array(16);function l(){if(!o&&!(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(u)}const R=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var S=[],L=0;L<256;++L)S.push((L+256).toString(16).substr(1));const h=function E(H){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,N=(S[H[b+0]]+S[H[b+1]]+S[H[b+2]]+S[H[b+3]]+"-"+S[H[b+4]]+S[H[b+5]]+"-"+S[H[b+6]]+S[H[b+7]]+"-"+S[H[b+8]]+S[H[b+9]]+"-"+S[H[b+10]]+S[H[b+11]]+S[H[b+12]]+S[H[b+13]]+S[H[b+14]]+S[H[b+15]]).toLowerCase();if(!function v(H){return"string"==typeof H&&R.test(H)}(N))throw TypeError("Stringified UUID is invalid");return N},y=function f(H,b,N){var A=(H=H||{}).random||(H.rng||l)();if(A[6]=15&A[6]|64,A[8]=63&A[8]|128,b){N=N||0;for(var C=0;C<16;++C)b[N+C]=A[C];return b}return h(A)}},2618(qe,P,c){"use strict";var o,u,l;Object.defineProperty(P,"__esModule",{value:!0}),P._getInstance=P._getStatsigGlobalFlag=P._getStatsigGlobal=void 0;const R=c(2939);P._getStatsigGlobal=()=>{try{return typeof __STATSIG__<"u"?__STATSIG__:y}catch{return y}},P._getStatsigGlobalFlag=H=>(0,P._getStatsigGlobal)()[H],P._getInstance=H=>{const b=(0,P._getStatsigGlobal)();return H?b.instances&&b.instances[H]:(b.instances&&Object.keys(b.instances).length>1&&R.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),b.firstInstance)};const L="__STATSIG__",E=typeof window<"u"?window:{},h=typeof global<"u"?global:{},f=typeof globalThis<"u"?globalThis:{},y=null!==(l=null!==(u=null!==(o=E[L])&&void 0!==o?o:h[L])&&void 0!==u?u:f[L])&&void 0!==l?l:{instance:P._getInstance};E[L]=y,h[L]=y,f[L]=y},3906(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.BatchQueue=void 0;const o=c(3873),u=c(6918);P.BatchQueue=class l{constructor(v=u.EventRetryConstants.DEFAULT_BATCH_SIZE){this._batches=[],this._batchSize=v}batchSize(){return this._batchSize}requeueBatch(v){return this._enqueueBatch(v)}hasFullBatch(){return this._batches.some(v=>v.events.length>=this._batchSize)}takeNextBatch(){return this._batches.shift()}takeAllBatches(){const v=this._batches;return this._batches=[],v}createBatches(v){let w=0,S=0;for(;w<v.length;){const L=v.slice(w,w+this._batchSize);S+=this._enqueueBatch(new o.EventBatch(L)),w+=this._batchSize}return S}_enqueueBatch(v){this._batches.push(v);let w=0;for(;this._batches.length>u.EventRetryConstants.MAX_PENDING_BATCHES;){const S=this._batches.shift();S&&(w+=S.events.length)}return w}}},1312(qe,P,c){"use strict";
vendor: 10,243 bytes, line 1
1Object.defineProperty(P,"__esModule",{value:!0}),P._getStorageKey=P._getUserStorageKey=void 0;const o=c(417);function u(R,v,w){var S;if(w)return w(R,v);const L=v&&v.customIDs?v.customIDs:{},E=[`uid:${null!==(S=v?.userID)&&void 0!==S?S:""}`,`cids:${Object.keys(L).sort((h,f)=>h.localeCompare(f)).map(h=>`${h}-${L[h]}`).join(",")}`,`k:${R}`];return(0,o._DJB2)(E.join("|"))}P._getUserStorageKey=u,P._getStorageKey=function l(R,v,w){return v?u(R,v,w):(0,o._DJB2)(`k:${R}`)}},5314(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.PrecomputedEvaluationsContextHandle=void 0;const o=c(2939),u=c(8287),l=c(4900),R=c(5283);P.PrecomputedEvaluationsContextHandle=class v{constructor(S,L,E,h,f,y){this._sdkKey=S,this._getOptions=L,this._getErrorBoundary=E,this._getValues=h,this._getUser=f,this._getSdkInstanceID=y}get sdkKey(){return this._sdkKey}get options(){return this._getOptions()}get errorBoundary(){return this._getErrorBoundary()}get values(){return this._getValues()}get user(){let S=(0,u._cloneObject)("StatsigUser",this._getUser());return null==S&&(o.Log.error("Failed to clone user"),S={}),S}getSession(S=!0){return l.StatsigSession.get(this._sdkKey,S)}get stableID(){return R.StableID.get(this._sdkKey)}get sdkInstanceID(){return this._getSdkInstanceID()}toContext(S=!0){return{sdkKey:this.sdkKey,options:this.options,values:this.values,user:this.user,errorBoundary:this.errorBoundary,session:this.getSession(S),stableID:this.stableID,sdkInstanceID:this.sdkInstanceID}}}},4081(qe,P,c){"use strict";var o=this&&this.__awaiter||function(H,b,N,A){return new(N||(N=Promise))(function(V,B){function Q(be){try{ce(A.next(be))}catch(Te){B(Te)}}function Z(be){try{ce(A.throw(be))}catch(Te){B(Te)}}function ce(be){be.done?V(be.value):function C(V){return V instanceof N?V:new N(function(B){B(V)})}(be.value).then(Q,Z)}ce((A=A.apply(H,b||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P._makeDataAdapterResult=P.DataAdapterCore=void 0;const u=c(2939),l=c(5283),R=c(1665),v=c(469),w=c(7684);function h(H,b,N,A){return{source:H,data:b,receivedAt:Date.now(),stableID:N,fullUserHash:(0,R._getFullUserHash)(A)}}P.DataAdapterCore=class E{constructor(b,N){this._adapterName=b,this._cacheSuffix=N,this._options=null,this._sdkKey=null,this._cacheLimit=10,this._lastModifiedStoreKey=`statsig.last_modified_time.${N}`,this._inMemoryCache=new f}attach(b,N,A){this._sdkKey=b,this._options=N}getDataSync(b){const N=b&&(0,R._normalizeUser)(b,this._options),A=this._getCacheKey(N),C=this._inMemoryCache.get(A,N);if(C&&this._getIsCacheValueValid(C))return C;const V=this._loadFromCache(A);return V&&this._getIsCacheValueValid(V)?(this._inMemoryCache.add(A,V,this._cacheLimit),this._inMemoryCache.get(A,N)):null}setData(b,N){const A=N&&(0,R._normalizeUser)(N,this._options),C=this._getCacheKey(A);this._inMemoryCache.add(C,h("Bootstrap",b,null,A),this._cacheLimit)}_getIsCacheValueValid(b){return null==b.stableID||b.stableID===l.StableID.get(this._getSdkKey())}_getDataAsyncImpl(b,N,A){return o(this,void 0,void 0,function*(){v.Storage.isReady()||(yield v.Storage.isReadyResolver());const C=b??this.getDataSync(N),V=[this._fetchAndPrepFromNetwork(C,N,A)];return A?.timeoutMs&&V.push(new Promise(B=>setTimeout(B,A.timeoutMs)).then(()=>(u.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(V)})}_prefetchDataImpl(b,N){return o(this,void 0,void 0,function*(){const A=b&&(0,R._normalizeUser)(b,this._options),C=this._getCacheKey(A),V=yield this._getDataAsyncImpl(null,A,N);V&&this._inMemoryCache.add(C,Object.assign(Object.assign({},V),{source:"Prefetch"}),this._cacheLimit)})}_fetchAndPrepFromNetwork(b,N,A){return o(this,void 0,void 0,function*(){var C;const V=null!==(C=b?.data)&&void 0!==C?C:null,B=null!=b&&this._isCachedResultValidFor204(b,N),Q=yield this._fetchFromNetwork(V,N,A,B);if(!Q)return u.Log.debug("No response returned for latest value"),null;const Z=(0,w._typedJsonParse)(Q,"has_updates","Response"),ce=this._getSdkKey(),be=l.StableID.get(ce);let Te=null;if(!0===Z?.has_updates)Te=h("Network",Q,be,N);else{if(!V||!1!==Z?.has_updates)return null;Te=h("NetworkNotModified",V,be,N)}const we=this._getCacheKey(N);return this._inMemoryCache.add(we,Te,this._cacheLimit),this._writeToCache(we,Te),Te})}_getSdkKey(){return null!=this._sdkKey?this._sdkKey:(u.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(b){var N;const A=null===(N=v.Storage.getItem)||void 0===N?void 0:N.call(v.Storage,b);if(null==A)return null;const C=(0,w._typedJsonParse)(A,"source","Cached Result");return C?Object.assign(Object.assign({},C),{source:"Cache"}):null}_writeToCache(b,N){const A=JSON.stringify(N);for(let C=0;C<8;C++)try{v.Storage.setItem(b,A);break}catch(V){if(!(V instanceof Error)||!V.toString().includes("QuotaExceededError")&&!V.toString().includes("QUOTA_EXCEEDED_ERR")||this._cacheLimit<=1)throw V;this._cacheLimit=Math.ceil(this._cacheLimit/2),this._runLocalStorageCacheEviction(b,this._cacheLimit-1)}this._runLocalStorageCacheEviction(b)}_runLocalStorageCacheEviction(b,N=this._cacheLimit){var A;const C=null!==(A=(0,v._getObjectFromStorage)(this._lastModifiedStoreKey))&&void 0!==A?A:{};C[b]=Date.now();const V=y(C,N);for(const B of V)delete C[B],v.Storage.removeItem(B);(0,v._setObjectInStorage)(this._lastModifiedStoreKey,C)}},P._makeDataAdapterResult=h;class f{constructor(){this._data={}}get(b,N){var A;const C=this._data[b],V=C?.stableID,B=null===(A=N?.customIDs)||void 0===A?void 0:A.stableID;return B&&V&&B!==V?(u.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):C}add(b,N,A){const C=y(this._data,A-1);for(const V of C)delete this._data[V];this._data[b]=N}merge(b){this._data=Object.assign(Object.assign({},this._data),b)}}function y(H,b){const N=Object.keys(H);return N.length<=b?[]:0===b?N:N.sort((A,C)=>{const V=H[A],B=H[C];return"object"==typeof V&&"object"==typeof B?V.receivedAt-B.receivedAt:V-B}).slice(0,N.length-b)}},5217(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.Diagnostics=void 0;const c=new Map,o="start",u="end";function R(L,E,h,f){return Object.assign({key:h,action:E,step:f,timestamp:Date.now()},L)}function w(L,E){var h;const f=null!==(h=c.get(L))&&void 0!==h?h:[];f.push(E),c.set(L,f)}function S(L,E){if(E in L)return L[E]}P.Diagnostics={_getMarkers:L=>c.get(L),_markInitOverallStart:L=>{w(L,R({},o,"overall"))},_markInitOverallEnd:(L,E,h)=>{w(L,R({success:E,error:E?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:h},u,"overall"))},_markInitNetworkReqStart:(L,E)=>{w(L,R(E,o,"initialize","network_request"))},_markInitNetworkReqEnd:(L,E)=>{w(L,R(E,u,"initialize","network_request"))},_markInitProcessStart:L=>{w(L,R({},o,"initialize","process"))},_markInitProcessEnd:(L,E)=>{w(L,R(E,u,"initialize","process"))},_clearMarkers:L=>{c.delete(L)},_formatError(L){if(L&&"object"==typeof L)return{code:S(L,"code"),name:S(L,"name"),message:S(L,"message")}},_getDiagnosticsData(L,E,h,f){var y;return{success:!0===L?.ok,statusCode:L?.status,sdkRegion:null===(y=L?.headers)||void 0===y?void 0:y.get("x-statsig-region"),isDelta:!0===h.includes('"is_delta":true')||void 0,attempt:E,error:P.Diagnostics._formatError(f)}},_enqueueDiagnosticsEvent(L,E,h,f){const y=P.Diagnostics._getMarkers(h);if(null==y||y.length<=0)return-1;const H=y[y.length-1].timestamp-y[0].timestamp;P.Diagnostics._clearMarkers(h);const b=function v(L,E){return{eventName:"statsig::diagnostics",user:L,value:null,metadata:E,time:Date.now()}}(L,{context:"initialize",markers:y.slice(),statsigOptions:f});return E.enqueue(b),H}}},2938(qe,P){"use strict";var c=this&&this.__awaiter||function(S,L,E,h){return new(E||(E=Promise))(function(y,H){function b(C){try{A(h.next(C))}catch(V){H(V)}}function N(C){try{A(h.throw(C))}catch(V){H(V)}}function A(C){C.done?y(C.value):function f(y){return y instanceof E?y:new E(function(H){H(y)})}(C.value).then(b,N)}A((h=h.apply(S,L||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P._fetchTxtRecords=void 0;const o=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),l=["i","e","d"];P._fetchTxtRecords=function v(S){return c(this,void 0,void 0,function*(){const L=yield S("https://cloudflare-dns.com/dns-query",{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:o});if(!L.ok){const f=new Error("Failed to fetch TXT records from DNS");throw f.name="DnsTxtFetchError",f}const E=yield L.arrayBuffer();return function w(S){const L=S.findIndex((h,f)=>f<200&&"="===String.fromCharCode(h)&&l.includes(String.fromCharCode(S[f-1])));if(-1===L){const h=new Error("Failed to parse TXT records from DNS");throw h.name="DnsTxtParseError",h}let E="";for(let h=L-1;h<S.length;h++)E+=String.fromCharCode(S[h]);return E.split(",")}(new Uint8Array(E))})}},2172(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0})},7265(qe,P,c){"use strict";var o=this&&this.__awaiter||function(f,y,H,b){return new(H||(H=Promise))(function(A,C){function V(Z){try{Q(b.next(Z))}catch(ce){C(ce)}}function B(Z){try{Q(b.throw(Z))}catch(ce){C(ce)}}function Q(Z){Z.done?A(Z.value):function N(A){return A instanceof H?A:new H(function(C){C(A)})}(Z.value).then(V,B)}Q((b=b.apply(f,y||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P.ErrorBoundary=P.EXCEPTION_ENDPOINT=void 0;const u=c(2939),l=c(8561),R=c(8043);P.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";const v="[Statsig] UnknownError";function S(f){return f instanceof Error?f:"string"==typeof f?new Error(f):new Error("An unknown error occurred.")}function h(f){if(!f)return{};const y={};return Object.keys(f).forEach(H=>{const b=H,N=f[b];switch(typeof N){case"number":case"bigint":case"boolean":y[String(b)]=N;break;case"string":y[String(b)]=N.length<50?N:"set";break;case"object":"environment"===b?y.environment=N:"networkConfig"===b?y.networkConfig=N:y[String(b)]=null!=N?"set":"unset"}}),y}P.ErrorBoundary=class w{constructor(y,H,b,N){this._sdkKey=y,this._options=H,this._emitter=b,this._lastSeenError=N,this._seen=new Set}wrap(y,H){try{const b=y;(function E(f){const y=new Set;let H=Object.getPrototypeOf(f);for(;H&&H!==Object.prototype;)Object.getOwnPropertyNames(H).filter(b=>
1"function"==typeof H?.[b]).forEach(b=>y.add(b)),H=Object.getPrototypeOf(H);return Array.from(y)})(b).forEach(N=>{const A=b[N];"$EB"in A||(b[N]=(...C)=>this._capture(H?`${H}:${N}`:N,()=>A.apply(y,C)),b[N].$EB=!0)})}catch(b){this._onError("eb:wrap",b)}}logError(y,H){this._onError(y,H)}logDroppedEvents(y,H,b){const N={eventCount:String(y),reason:H};b&&Object.keys(b).forEach(A=>{N[A]=String(b[A])}),this._onError("statsig::log_event_dropped_event_count",new Error(H),!0,N)}logEventRequestFailure(y,H,b,N,A,C,V,B,Q){const Z={eventCount:String(y),flushType:b,statusCode:String(N),reason:H,retries:String(A)};C&&(Z.failurePath=C),"string"==typeof V&&V.length>0&&(Z.failureErrorMessage=V),"string"==typeof B&&B.length>0&&(Z.failureDiagnosticBucket=B),Q&&Object.keys(Q).forEach(ce=>{const be=Q[ce];be.length>0&&(Z[`failureDiagnostic_${ce}`]=be)}),this._onError("statsig::log_event_failed",new Error(H),!0,Z)}getLastSeenErrorAndReset(){const y=this._lastSeenError;return this._lastSeenError=void 0,y??null}attachErrorIfNoneExists(y){this._lastSeenError||(this._lastSeenError=S(y))}_capture(y,H){try{const b=H();return b&&b instanceof Promise?b.catch(N=>this._onError(y,N)):b}catch(b){return this._onError(y,b),null}}_onError(y,H,b=!1,N){try{u.Log.warn(`Caught error in ${y}`,{error:H}),o(this,void 0,void 0,function*(){var C,V,B,Q,Z,ce,be;const Te=H||Error(v),we=Te instanceof Error,$e=we?Te.name:"No Name",Oe=S(Te);if(this._lastSeenError=Oe,!b&&this._seen.has($e))return;if(this._seen.add($e),null!==(V=null===(C=this._options)||void 0===C?void 0:C.networkConfig)&&void 0!==V&&V.preventAllNetworkTraffic)return void(null===(B=this._emitter)||void 0===B||B.call(this,{name:"error",error:H,tag:y}));const Ue=l.SDKType._get(this._sdkKey),Be=R.StatsigMetadataProvider.get(),lt=we?Te.stack:function L(f){try{return JSON.stringify(f)}catch{return v}}(Te),et=Object.assign(Object.assign({tag:y,exception:$e,info:lt,statsigOptions:h(this._options)},Object.assign(Object.assign({},Be),{sdkType:Ue})),N??{}),pt=null===(Q=this._options)||void 0===Q?void 0:Q.networkConfig;yield(null!==(Z=pt?.networkOverrideFunc)&&void 0!==Z?Z:fetch)(null!==(ce=pt?.sdkExceptionUrl)&&void 0!==ce?ce:P.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(Ue),"STATSIG-SDK-VERSION":String(Be.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(et)}),null===(be=this._emitter)||void 0===be||be.call(this,{name:"error",error:H,tag:y})}).then(()=>{}).catch(()=>{})}catch{}}}},1949(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0})},5806(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0})},3873(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.EventBatch=void 0,P.EventBatch=class c{constructor(u){this.attempts=0,this.createdAt=Date.now(),this.events=u}incrementAttempts(){this.attempts++}}},6073(qe,P,c){"use strict";var o=this&&this.__awaiter||function(Q,Z,ce,be){return new(ce||(ce=Promise))(function(we,$e){function Oe(lt){try{Be(be.next(lt))}catch(et){$e(et)}}function Ue(lt){try{Be(be.throw(lt))}catch(et){$e(et)}}function Be(lt){lt.done?we(lt.value):function Te(we){return we instanceof ce?we:new ce(function($e){$e(we)})}(lt.value).then(Oe,Ue)}Be((be=be.apply(Q,Z||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P.EventLogger=void 0;const u=c(3906),l=c(1312),R=c(6918),v=c(9521),w=c(417),S=c(2939),L=c(2285),E=c(751),h=c(8287),f=c(9912),y=c(4391),H=c(469),b=c(6012),N=c(8542),V={};class B{static _safeFlushAndForget(Z){var ce;null===(ce=V[Z])||void 0===ce||ce.flush().catch(()=>{})}constructor(Z,ce,be,Te,we){var $e;this._sdkKey=Z,this._emitter=ce,this._network=be,this._options=Te,this._errorBoundary=we,this._pendingEvents=null,this._batchQueue=null,this._flushCoordinator=null,this._lastExposureTimeMap={},this._nonExposedChecks={},this._isShuttingDown=!1,this._storageKey=null,this._pendingCompressionMode=null,this._loggingEnabled=null!==($e=Te?.loggingEnabled)&&void 0!==$e?$e:!0===Te?.disableLogging?y.LoggingEnabledOption.disabled:y.LoggingEnabledOption.browserOnly,Te?.loggingEnabled&&void 0!==Te.disableLogging&&S.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging.");const Oe=Te?.networkConfig;this._logEventUrlConfig=new b.UrlConfiguration(L.Endpoint._rgstr,Oe?.logEventUrl,Oe?.api,Oe?.logEventFallbackUrls)}setLogEventCompressionMode(Z){this._flushCoordinator?this._flushCoordinator.setLogEventCompressionMode(Z):this._pe
vendor: 23,906 bytes, line 1
1ndingCompressionMode=Z}setLoggingEnabled(Z){const ce="disabled"===this._loggingEnabled,be="disabled"!==Z;if(this._loggingEnabled=Z,this._flushCoordinator&&this._flushCoordinator.setLoggingEnabled(Z),ce&&be){const Te=this._loadStoredEvents();S.Log.debug(`Loaded ${Te.length} stored event(s) from storage`),Te.length>0&&(Te.forEach(we=>{this._initFlushCoordinator().addEvent(we)}),this.flush().catch(we=>{S.Log.warn("Failed to flush events after enabling logging:",we)}))}}enqueue(Z){var ce;if(!this._shouldLogEvent(Z))return;const be=this._normalizeEvent(Z);"disabled"!==this._loggingEnabled?(this._initFlushCoordinator().addEvent(be),null===(ce=this._flushCoordinator)||void 0===ce||ce.checkQuickFlush()):this._storeEventToStorage(be)}incrementNonExposureCount(Z){var ce;const be=null!==(ce=this._nonExposedChecks[Z])&&void 0!==ce?ce:0;this._nonExposedChecks[Z]=be+1}reset(){this.flush().catch(()=>{}),this._lastExposureTimeMap={}}start(){var Z;const ce=(0,h._isServerEnv)();if(ce&&"always"!==(null===(Z=this._options)||void 0===Z?void 0:Z.loggingEnabled))return;const be=this._initFlushCoordinator();V[this._sdkKey]=this,ce||(0,N._subscribeToVisiblityChanged)(Te=>{"background"===Te?B._safeFlushAndForget(this._sdkKey):"foreground"===Te&&be.startScheduledFlushCycle()}),be.loadAndRetryShutdownFailedEvents().catch(Te=>{S.Log.warn("Failed to load failed shutdown events:",Te)}),be.startScheduledFlushCycle()}stop(){return o(this,void 0,void 0,function*(){this._isShuttingDown=!0,this._flushCoordinator&&(yield this._flushCoordinator.processShutdown()),delete V[this._sdkKey],this._flushCoordinator=null,this._pendingEvents=null,this._batchQueue=null})}flush(){return o(this,void 0,void 0,function*(){if(this._flushCoordinator)return this._flushCoordinator.processManualFlush()})}appendAndResetNonExposedChecks(){if(0===Object.keys(this._nonExposedChecks).length)return;const Z=Object.assign({},this._nonExposedChecks);this._nonExposedChecks={};const ce=this._normalizeEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Z}});this._flushCoordinator&&this._flushCoordinator.addEvent(ce)}_shouldLogEvent(Z){var ce;if("always"!==(null===(ce=this._options)||void 0===ce?void 0:ce.loggingEnabled)&&(0,h._isServerEnv)())return!1;if(!(0,f._isExposureEvent)(Z))return!0;const Te=(0,l._getUserStorageKey)(this._sdkKey,Z.user?Z.user:{statsigEnvironment:void 0}),we=Z.metadata?Z.metadata:{},$e=[Z.eventName,Te,we.gate,we.config,we.ruleID,we.allocatedExperiment,we.parameterName,String(we.isExplicitParameter),we.reason].join("|"),Oe=this._lastExposureTimeMap[$e],Ue=Date.now();return!(Oe&&Ue-Oe<6e5||(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[$e]=Ue,0))}_getCurrentPageUrl(){var Z;if(!1!==(null===(Z=this._options)||void 0===Z?void 0:Z.includeCurrentPageUrlWithEvents))return(0,h._getCurrentPageUrlSafe)()}_getStorageKey(){return this._storageKey||(this._storageKey=`statsig.pending_events.${(0,w._DJB2)(this._sdkKey)}`),this._storageKey}_initFlushCoordinator(){var Z,ce;if(this._flushCoordinator)return this._flushCoordinator;const be=null!==(ce=null===(Z=this._options)||void 0===Z?void 0:Z.loggingBufferMaxSize)&&void 0!==ce?ce:R.EventRetryConstants.DEFAULT_BATCH_SIZE;return this._pendingEvents=new E.PendingEvents(be),this._batchQueue=new u.BatchQueue(be),this._flushCoordinator=new v.FlushCoordinator(this._batchQueue,this._pendingEvents,()=>this.appendAndResetNonExposedChecks(),this._sdkKey,this._network,this._emitter,this._logEventUrlConfig,this._options,this._loggingEnabled,this._errorBoundary),this._pendingCompressionMode&&(this._flushCoordinator.setLogEventCompressionMode(this._pendingCompressionMode),this._pendingCompressionMode=null),this._flushCoordinator}_storeEventToStorage(Z){const ce=this._getStorageKey();try{let be=this._getEventsFromStorage(ce);be.push(Z),be.length>R.EventRetryConstants.MAX_LOCAL_STORAGE&&(be=be.slice(-R.EventRetryConstants.MAX_LOCAL_STORAGE)),(0,H._setObjectInStorage)(ce,be)}catch{S.Log.warn("Unable to save events to storage")}}_getEventsFromStorage(Z){try{const ce=(0,H._getObjectFromStorage)(Z);return Array.isArray(ce)?ce:[]}catch{return[]}}_loadStoredEvents(){const Z=this._getStorageKey(),ce=this._getEventsFromStorage(Z);return ce.length>0&&H.Storage.removeItem(Z),ce}_normalizeEvent(Z){Z.user&&(Z.user=Object.assign({},Z.user),delete Z.user.privateAttributes);const ce={},be=this._getCurrentPageUrl();return be&&(ce.statsigMetadata={currentPage:be}),Object.assign(Object.assign({},Z),ce)}}P.EventLogger=B},6918(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.EventRetryConstants=void 0,P.EventRetryConstants={MAX_RETRY_ATTEMPTS:8,DEFAULT_BATCH_SIZE:100,MAX_PENDING_BATCHES:40,TICK_INTERVAL_MS:1e3,QUICK_FLUSH_WINDOW_MS:200,MAX_LOCAL_STORAGE:500,get MAX_QUEUED_EVENTS(){return this.DEFAULT_BATCH_SIZE*this.MAX_PENDING_BATCHES}}},7292(qe,P,c){"use strict";var o=this&&this.__awaiter||function(L,E,h,f){return new(h||(h=Promise))(function(H,b){function N(V){try{C(f.next(V))}catch(B){b(B)}}function A(V){try{C(f.throw(V))}catch(B){b(B)}}function C(V){V.done?H(V.value):function y(H){return H instanceof h?H:new h(function(b){b(H)})}(V.value).then(N,A)}C((f=f.apply(L,E||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P.EventSender=void 0;const u=c(2939),l=c(2285),R=c(8561),v=c(8043),w=c(8542);P.EventSender=class S{constructor(E,h,f,y,H){this._sdkKey=E,this._network=h,this._emitter=f,this._options=H,this._logEventUrlConfig=y}setLogEventCompressionMode(E){this._network.setLogEventCompressionMode(E)}sendBatch(E){return o(this,void 0,void 0,function*(){var h,f,y;let H="event_sender_unexpected_exception";const b={};try{const A=(0,w._isUnloading)()&&this._network.isBeaconSupported()&&null==(null===(f=null===(h=this._options)||void 0===h?void 0:h.networkConfig)||void 0===f?void 0:f.networkOverrideFunc);H="event_sender_pre_logs_flushed_emitter_exception",this._emitter({name:"pre_logs_flushed",events:E.events}),H=A?"event_sender_unexpected_exception":"event_sender_post_exception";const C=A?this._sendEventsViaBeacon(E,b):yield this._sendEventsViaPost(E,b);return C.success?(H="event_sender_logs_flushed_emitter_exception",this._emitter({name:"logs_flushed",events:E.events}),C):Object.assign(Object.assign(Object.assign({success:!1,statusCode:C.statusCode,failurePath:C.failurePath},C.failureErrorMessage?{failureErrorMessage:C.failureErrorMessage}:{}),C.failureDiagnosticBucket?{failureDiagnosticBucket:C.failureDiagnosticBucket}:{}),C.failureDiagnosticMetadata?{failureDiagnosticMetadata:C.failureDiagnosticMetadata}:{})}catch(N){return u.Log.warn("Failed to send batch:",N),Object.assign(Object.assign(Object.assign({success:!1,statusCode:-1,failurePath:null!==(y=b.path)&&void 0!==y?y:H},b.errorMessage?{failureErrorMessage:b.errorMessage}:{}),b.diagnosticBucket?{failureDiagnosticBucket:b.diagnosticBucket}:{}),b.diagnosticMetadata?{failureDiagnosticMetadata:b.diagnosticMetadata}:{})}})}_sendEventsViaPost(E,h){return o(this,void 0,void 0,function*(){var f,y;const H=yield this._network.post(this._getRequestData(E),h),b=null!==(f=H?.code)&&void 0!==f?f:-1;return-1===b?Object.assign(Object.assign(Object.assign({success:!1,statusCode:-1,failurePath:null!==(y=h.path)&&void 0!==y?y:void 0===H?"event_sender_post_returned_undefined":"event_sender_post_returned_null"},h.errorMessage?{failureErrorMessage:h.errorMessage}:{}),h.diagnosticBucket?{failureDiagnosticBucket:h.diagnosticBucket}:{}),h.diagnosticMetadata?{failureDiagnosticMetadata:h.diagnosticMetadata}:{}):{success:b>=200&&b<300,statusCode:b}})}_sendEventsViaBeacon(E,h){var f;const y=this._network.beacon(this._getRequestData(E),h);return Object.assign(Object.assign(Object.assign({success:y,statusCode:y?200:-1,failurePath:y?void 0:null!==(f=h.path)&&void 0!==f?f:"beacon_send_false"},!y&&h.errorMessage?{failureErrorMessage:h.errorMessage}:{}),!y&&h.diagnosticBucket?{failureDiagnosticBucket:h.diagnosticBucket}:{}),!y&&h.diagnosticMetadata?{failureDiagnosticMetadata:h.diagnosticMetadata}:{})}_getRequestData(E){return{sdkKey:this._sdkKey,data:{events:E.events},urlConfig:this._logEventUrlConfig,retries:3,preserveFailedStatusCode:!0,isCompressable:!0,params:{[l.NetworkParam.EventCount]:String(E.events.length)},headers:{"statsig-event-count":String(E.events.length),"statsig-retry-count":String(E.attempts),"statsig-sdk-type":R.SDKType._get(this._sdkKey),"statsig-sdk-version":v.SDK_VERSION},credentials:"same-origin"}}}},9521(qe,P,c){"use strict";var o=this&&this.__awaiter||function(N,A,C,V){return new(C||(C=Promise))(function(Q,Z){function ce(we){try{Te(V.next(we))}catch($e){Z($e)}}function be(we){try{Te(V.throw(we))}catch($e){Z($e)}}function Te(we){we.done?Q(we.value):function B(Q){return Q instanceof C?Q:new C(function(Z){Z(Q)})}(we.value).then(ce,be)}Te((V=V.apply(N,A||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P.FlushCoordinator=void 0;const u=c(6918),l=c(7292),R=c(1146),v=c(6706),w=c(417),S=c(2939),L=c(1712),E=c(8287),h=c(4900),f=c(4391),y=c(469),H=new Set(["network_request_timed_out_no_response","network_request_exception_no_response","event_sender_post_returned_null","event_sender_post_returned_undefined","event_sender_post_exception"]);P.FlushCoordinator=class b{constructor(A,C,V,B,Q,Z,ce,be,Te,we){this._cooldownTimer=null,this._maxIntervalTimer=null,this._hasRunQuickFlush=!1,this._currentFlushPromise=null,this._creationTime=Date.now(),this._isShuttingDown=!1,this._storageKey=null,this._flushInterval=new R.FlushInterval,this._batchQueue=A,this._pendingEvents=C,this._onPrepareFlush=V,this._errorBoundary=we,this._sdkKey=B,this._loggingEnabled=Te,this._eventSender=new l.EventSender(B,Q,Z,ce,be)}setLoggingEnabled(A){this._loggingEnabled=A}setLogEventCompressionMode(A){this._eventSender.setLogEventCompressionMode(A)}startScheduledFlushCycle(){this._scheduleNextFlush()}stopScheduledFlushCycle(){this._clearAllTimers()}addEvent(A){this._pendingEvents.addToPendingEventsQueue(A),!this._currentFlushPromise&&this._pendingEvents.hasEventsForFullBatch()&&this.processLimitFlush()}processManualFlush(){return o(this,void 0,void 0,function*(){return this._currentFlushPromise&&(yield this._currentFlushPromise),this._currentFlushPromise=this._executeFlush(v.FlushTypeValues.Manual).finally(()=>{this._currentFlushPromise=null,this._scheduleNextFlush()}),this._currentFlushPromise})}processShutdown(){return o(this,void 0,void 0,function*(){return this._isShuttingDown=!0,this._clearAllTimers(),this._currentFlushPromise&&(yield this._currentFlushPromise),this._currentFlushPromise=this._executeFlush(v.FlushTypeValues.Shutdown).catch(A=>{S.Log.error(`Error during shutdown flush: ${A}`)}).finally(()=>{this._currentFlushPromise=null}),this._currentFlushPromise})}_executeFlush(A){return o(this,void 0,void 0,function*(){this._clearAllTimers();try{this._prepareQueueForFlush(A);const C=this._batchQueue.takeAllBatches();if(0===C.length)return;yield Promise.all(C.map(V=>this._processOneBatch(V,A)))}finally{this._isShuttingDown||this._scheduleNextFlush()}})}checkQuickFlush(){this._hasRunQuickFlush||Date.now()-this._creationTime>u.EventRetryConstants.QUICK_FLUSH_WINDOW_MS||(this._hasRunQuickFlush=!0,setTimeout(()=>{this.processManualFlush().catch(A=>{S.Log.warn("Quick flush failed:",A)})},u.EventRetryConstants.QUICK_FLUSH_WINDOW_MS))}_attemptScheduledFlush(){if(this._currentFlushPromise)return void this._scheduleNextFlush();const A=this.containsAtLeastOneFullBatch(),C=this._flushInterval.hasReachedMaxInterval();if(!A&&!C)return void this._scheduleNoopPollTick();let V;this._flushInterval.markFlushAttempt(),V=A?v.FlushTypeValues.ScheduledFullBatch:v.FlushTypeValues.ScheduledMaxTime,this._currentFlushPromise=this._processNextBatch(V).then(()=>{}).catch(B=>{S.Log.error("Error during scheduled flush:",B)}).finally(()=>{this._currentFlushPromise=null,this._scheduleNextFlush()})}processLimitFlush(){this._flushInterval.hasCompletelyRecoveredFromBackoff()&&(this._currentFlushPromise||(this._currentFlushPromise=this._processLimitFlushInternal().catch(A=>{S.Log.error("Error during limit flush",A)}).finally(()=>{this._currentFlushPromise=null,this._scheduleNextFlush()})))}_processLimitFlushInternal(){return o(this,void 0,void 0,function*(){if(yield this._processNextBatch(v.FlushTypeValues.Limit))for(;this._flushInterval.hasCompletelyRecoveredFromBackoff()&&this.containsAtLeastOneFullBatch()&&(yield this._processNextBatch(v.FlushTypeValues.Limit)););})}_scheduleNextFlush(){if(this._clearAllTimers(),this._isShuttingDown)return;const A=Math.max(0,this._flushInterval.getTimeUntilNextFlush());this._cooldownTimer=setTimeout(()=>{this._cooldownTimer=null,h.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},A);const C=Math.max(0,this._flushInterval.getTimeTillMaxInterval());this._maxIntervalTimer=setTimeout(()=>{this._maxIntervalTimer=null,h.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},C)}_clearAllTimers(){null!==this._cooldownTimer&&(clearTimeout(this._cooldownTimer),this._cooldownTimer=null),null!==this._maxIntervalTimer&&(clearTimeout(this._maxIntervalTimer),this._maxIntervalTimer=null)}_scheduleNoopPollTick(){if(this._clearAllTimers(),this._isShuttingDown)return;this._cooldownTimer=setTimeout(()=>{this._cooldownTimer=null,h.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},u.EventRetryConstants.TICK_INTERVAL_MS);const A=Math.max(0,this._flushInterval.getTimeTillMaxInterval());this._maxIntervalTimer=setTimeout(()=>{this._maxIntervalTimer=null,h.StatsigSession.checkForIdleSession(this._sdkKey),this._attemptScheduledFlush()},A)}_processNextBatch(A){return o(this,void 0,void 0,function*(){this._prepareQueueForFlush(A);const C=this._batchQueue.takeNextBatch();return!!C&&this._processOneBatch(C,A)})}_processOneBatch(A,C){return o(this,void 0,void 0,function*(){if(this._loggingEnabled!==f.LoggingEnabledOption.always&&(0,E._isServerEnv)())return this._flushInterval.adjustForSuccess(),!0;const V=yield this._eventSender.sendBatch(A);return V.success?(this._flushInterval.adjustForSuccess(),!0):(this._flushInterval.adjustForFailure(),this._handleFailure(A,C,V.statusCode,V.failurePath,V.failureErrorMessage,V.failureDiagnosticBucket,V.failureDiagnosticMetadata),!1)})}_prepareQueueForFlush(A){this._onPrepareFlush();const C=this.convertPendingEventsToBatches();C>0&&(S.Log.warn(`Dropped ${C} events`),this._errorBoundary.logDroppedEvents(C,"Batch queue limit reached during batching",{loggingInterval:this._flushInterval.getCurrentIntervalMs(),batchSize:this._batchQueue.batchSize(),maxPendingBatches:u.EventRetryConstants.MAX_PENDING_BATCHES,flushType:A,retries:"dropped before batching"}))}containsAtLeastOneFullBatch(){return this._pendingEvents.hasEventsForFullBatch()||this._batchQueue.hasFullBatch()}convertPendingEventsToBatches(){if(this._pendingEvents.isEmpty())return 0;const A=this._pendingEvents.takeAll();return this._batchQueue.createBatches(A)}_isRetryableBatch(A,C){return!!(L.RETRYABLE_CODES.has(A)||-1===A&&C&&H.has(C))}_handleFailure(A,C,V,B,Q,Z,ce){if(C===v.FlushTypeValues.Shutdown)return S.Log.warn(`${C} flush failed during shutdown. ${A.events.length} event(s) will be saved to storage for retry in next session.`),void this._saveShutdownFailedEventsToStorage(A.events);if(!this._isRetryableBatch(V,B)){const Te="non-retryable error";return S.Log.warn(`${C} flush failed after ${A.attempts} attempt(s). ${A.events.length} event(s) will be dropped. Non-retryable error: ${V}`),void this._errorBoundary.logEventRequestFailure(A.events.length,Te,C,V,A.attempts,B,Q,Z,ce)}if(A.attempts>=u.EventRetryConstants.MAX_RETRY_ATTEMPTS){const Te="max retry attempts exceeded";return S.Log.warn(`${C} flush failed after ${A.attempts} attempt(s). ${A.events.length} event(s) will be dropped.`),void this._errorBoundary.logEventRequestFailure(A.events.length,Te,C,V,A.attempts,B,Q,Z,ce)}A.incrementAttempts();const be=this._batchQueue.requeueBatch(A);be>0&&(S.Log.warn(`Failed to requeue batch : dropped ${be} events due to full queue`),this._errorBoundary.logDroppedEvents(be,"Batch queue limit reached during requeue",{loggingInterval:this._flushInterval.getCurrentIntervalMs(),batchSize:this._batchQueue.batchSize(),maxPendingBatches:u.EventRetryConstants.MAX_PENDING_BATCHES,flushType:C,retries:A.attempts}))}loadAndRetryShutdownFailedEvents(){return o(this,void 0,void 0,function*(){const A=this._getStorageKey();try{y.Storage.isReady()||(yield y.Storage.isReadyResolver());const C=this._getShutdownFailedEventsFromStorage(A);if(0===C.length)return;S.Log.debug(`Loading ${C.length} failed shutdown event(s) from storage for retry`),y.Storage.removeItem(A),C.forEach(V=>{this.addEvent(V)}),yield this.processManualFlush()}catch(C){S.Log.warn("Failed to load and retry failed shutdown events:",C)}})}_getStorageKey(){return this._storageKey||(this._storageKey=`statsig.failed_shutdown_events.${(0,w._DJB2)(this._sdkKey)}`),this._storageKey}_saveShutdownFailedEventsToStorage(A){const C=this._getStorageKey();try{let B=[...this._getShutdownFailedEventsFromStorage(C),...A];B.length>u.EventRetryConstants.MAX_LOCAL_STORAGE&&(B=B.slice(-u.EventRetryConstants.MAX_LOCAL_STORAGE)),(0,y._setObjectInStorage)(C,B),S.Log.debug(`Saved ${A.length} failed shutdown event(s) to storage (total stored: ${B.length})`)}catch(V){S.Log.warn("Unable to save failed shutdown events to storage:",V)}}_getShutdownFailedEventsFromStorage(A){try{const C=(0,y._getObjectFromStorage)(A);return Array.isArray(C)?C:[]}catch{return[]}}}},1146(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.FlushInterval=void 0;const c=1e3,o=6e4;P.FlushInterval=class u{constructor(){this._currentIntervalMs=c,this._lastFlushAttemptTime=Date.now()}getCurrentIntervalMs(){return this._currentIntervalMs}markFlushAttempt(){this._lastFlushAttemptTime=Date.now()}getTimeSinceLastAttempt(){return Date.now()-this._lastFlushAttemptTime}hasReachedMaxInterval(){return this.getTimeSinceLastAttempt()>=o}getTimeTillMaxInterval(){return o-this.getTimeSinceLastAttempt()}hasCompletelyRecoveredFromBackoff(){return this._currentIntervalMs<=c}adjustForSuccess(){const R=this._currentIntervalMs;R!==c&&(this._currentIntervalMs=Math.max(c,Math.floor(R/2)))}adjustForFailure(){this._currentIntervalMs=Math.min(o,2*this._currentIntervalMs)}getTimeUntilNextFlush(){return this.getCurrentIntervalMs()-this.getTimeSinceLastAttempt()}}},6706(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.FlushTypeValues=void 0,P.FlushTypeValues={ScheduledMaxTime:"scheduled:max_time",ScheduledFullBatch:"scheduled:full_batch",Limit:"limit",Manual:"manual",Shutdown:"shutdown"}},417(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._getSortedObject=P._DJB2Object=P._DJB2=void 0;const o=c(3581);P._DJB2=v=>{let w=0;for(let S=0;S<v.length;S++)w=(w<<5)-w+v.charCodeAt(S),w&=w;return String(w>>>0)},P._DJB2Object=(v,w)=>(0,P._DJB2)(JSON.stringify((0,P._getSortedObject)(v,w))),P._getSortedObject=(v,w)=>{if(null==v)return null;const S=Object.keys(v).sort(),L={};return S.forEach(E=>{const h=v[E];L[E]=0!==w&&"object"===(0,o._typeOf)(h)?(0,P._getSortedObject)(h,null!=w?w-1:w):h}),L}},1896(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0})},2939(qe,P){"use strict";function R(w){return w.unshift("[Statsig]"),w}Object.defineProperty(P,"__esModule",{value:!0}),P.Log=P.LogLevel=void 0,P.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class v{static info(...S){v.level>=P.LogLevel.Info&&console.info(" INFO ",...R(S))}static debug(...S){v.level>=P.LogLevel.Debug&&console.debug(" DEBUG ",...R(S))}static warn(...S){v.level>=P.LogLevel.Warn&&console.warn(" WARN ",...R(S))}static error(...S){v.level>=P.LogLevel.Error&&console.error(" ERROR ",...R(S))}}P.Log=v,v.level=P.LogLevel.Warn},2144(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.createMemoKey=P.MemoPrefix=void 0,P.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_configList:"cl",_layer:"l",_paramStore:"p"};const c=new Set([]),o=new Set(["userPersistedValues"]);P.createMemoKey=function u(l,R,v){let w=`${l}|${R}`;if(!v)return w;for(const S of Object.keys(v)){if(o.has(S))return;c.has(S)?w+=`|${S}=true`:w+=`|${S}=${v[S]}`}return w}},2285(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.NetworkParam=P.NetworkDefault=P.Endpoint=void 0,P.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},P.NetworkDefault={[P.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[P.Endpoint._initialize]:"https://featureassets.org/v1",[P.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},P.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},1712(qe,P,c){"use strict";var o=this&&this.__awaiter||function(se,me,Y,ee){return new(Y||(Y=Promise))(function(ye,ge){function Ne(bt){try{tt(ee.next(bt))}catch(Xe){ge(Xe)}}function je(bt){try{tt(ee.throw(bt))}catch(Xe){ge(Xe)}}function tt(bt){bt.done?ye(bt.value):function fe(ye){return ye instanceof Y?ye:new Y(function(ge){ge(ye)})}(bt.value).then(Ne,je)}tt((ee=ee.apply(se,me||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P.NetworkCore=P.RETRYABLE_CODES=void 0,c(2618);const u=c(2618),l=c(5217),R=c(2939),v=c(2285),w=c(2679),S=c(810),L=c(8561),E=c(8287),h=c(4900),f=c(5283),y=c(883),H=c(8043),b=c(4391),N=c(8542);P.RETRYABLE_CODES=new Set([408,500,502,503,504,522,524,599]),P.NetworkCore=class ce{constructor(me,Y){this._emitter=Y,this._errorBoundary=null,this._timeout=1e4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,me&&(this._options=me),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new w.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(me))}setLogEventCompressionMode(me){this._options.logEventCompressionMode=me}setErrorBoundary(me){this._errorBoundary=me,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(me)}isBeaconSupported(){return typeof navigator<"u"&&"function"==typeof navigator.sendBeacon}getLastUsedInitUrlAndReset(){const me=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,me}beacon(me,Y){if(!be(me))return Y&&(Y.path="beacon_invalid_sdk_key"),!1;const ee=this._getInternalRequestArgs("POST",me),fe=this._getPopulatedURL(ee),ye=navigator;try{const ge=ye.sendBeacon.bind(ye)(fe,ee.body);return ge||Y&&(Y.path="beacon_send_false"),ge}catch(ge){throw Y&&(Y.path="beacon_send_exception"),ge}}post(me,Y){return o(this,void 0,void 0,function*(){const ee=this._getInternalRequestArgs("POST",me);return this._tryEncodeBody(ee),yield this._tryToCompressBody(ee),this._sendRequest(ee,Y)})}get(me){const Y=this._getInternalRequestArgs("GET",me);return this._sendRequest(Y)}_sendRequest(me,Y){return o(this,void 0,void 0,function*(){var ee,fe,ye,ge;if(!be(me))return Y&&(Y.path="network_invalid_sdk_key"),null;if(this._netConfig.preventAllNetworkTraffic)return Y&&(Y.path="network_prevent_all_network_traffic"),null;const{method:Ne,body:je,retries:tt,attempt:bt}=me,Xe=me.urlConfig.endpoint;if(this._isRateLimited(Xe))return R.Log.warn(`Request to ${Xe} was blocked because you are making requests too frequently.`),Y&&(Y.path="network_rate_limited"),null;const Je=bt??1;let rt=!1;const Pt=this._getPopulatedURL(me),tn=Date.now();let i=null;const yt=(0,N._isUnloading)();try{const Ut={method:Ne,body:je,headers:Object.assign({},me.headers),priority:me.priority,keepalive:yt};!function pt(se,me){se.urlConfig.endpoint===v.Endpoint._initialize&&l.Diagnostics._markInitNetworkReqStart(se.sdkKey,{attempt:me})}(me,Je);const Kt=this._leakyBucket[Xe];
1Kt&&(Kt.lastRequestTime=Date.now(),this._leakyBucket[Xe]=Kt);const un=null!==(ee=this._netConfig.networkOverrideFunc)&&void 0!==ee?ee:fetch;let or;if(i=yield Promise.race([un(Pt,Ut).finally(()=>clearTimeout(or)),new Promise((cr,Sn)=>{or=setTimeout(()=>{rt=!0,Sn(new Error(`Timeout of ${this._timeout}ms expired.`))},this._timeout)})]),!i.ok){const cr=yield i.text().catch(()=>"No Text"),Sn=new Error(`NetworkError: ${Pt} ${cr}`);throw Sn.name="NetworkError",Sn}const _n=yield i.text();return Ct(me,i,Je,_n),this._fallbackResolver.tryBumpExpiryTime(me.sdkKey,me.urlConfig),{body:_n,code:i.status}}catch(Ut){const Kt=function $e(se){return"string"==typeof se?se:se instanceof Error?`${se.name}: ${se.message}`:"Unknown Error"}(Ut),un=function Oe(se,me){return se.includes("Timeout")||me}(Kt??"",rt);if(Ct(me,i,Je,"",Ut),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(me.sdkKey,me.urlConfig,Kt,un))&&(me.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(me.sdkKey,me.urlConfig)),!tt||Je>tt||!P.RETRYABLE_CODES.has(null!==(fe=i?.status)&&void 0!==fe?fe:500)){null===(ye=this._emitter)||void 0===ye||ye.call(this,{name:"error",error:Ut,tag:y.ErrorTag.NetworkError,requestArgs:me});const _n=`A networking error occurred during ${Ne} request to ${Pt}.`;if(R.Log.error(_n,Kt,Ut),null===(ge=this._errorBoundary)||void 0===ge||ge.attachErrorIfNoneExists(_n),me.preserveFailedStatusCode&&null!=i)return{body:null,code:i.status};if(null==i&&Y){Y.path=un?"network_request_timed_out_no_response":"network_request_exception_no_response",Kt&&(Y.errorMessage=Kt);try{const cr=function Ue(se,me,Y,ee){var fe,ye,ge;const Ne=(0,E._getWindowSafe)(),je=Ne?.document,tt=typeof navigator<"u"?navigator:null,bt=(0,N._isUnloading)(),Xe=tt&&"boolean"==typeof tt.onLine?String(tt.onLine):"unknown",Je=null!==(fe=je?.visibilityState)&&void 0!==fe?fe:"unknown",rt=Object.keys(null!==(ye=se.headers)&&void 0!==ye?ye:{}).length>0,Pt=function Be(se,me){return!me||!se.startsWith(`${me}/`)&&!se.startsWith(`${me}?`)&&se!==me}(me,null===(ge=Ne?.location)||void 0===ge?void 0:ge.origin),tn=null!=se.urlConfig.customUrl,i=null!=se.fallbackUrl,yt=et(ee,[250,1e3,5e3,1e4]),Ut=et(function lt(se){return null==se?0:"string"==typeof se?se.length:se instanceof Uint8Array?se.byteLength:typeof Blob<"u"&&se instanceof Blob?se.size:-1}(se.body),[16384,65536,262144,1048576]);let Kt="unknown_no_response";return Y?Kt="timeout":"false"===Xe?Kt="browser_offline":bt?Kt="page_unloading":"hidden"===Je?Kt="page_hidden":Pt&&rt?Kt="cross_origin_custom_headers_preflight_risk":tn||i?Kt="custom_url_no_response":ee<250&&(Kt="immediate_network_rejection"),{bucket:Kt,metadata:{elapsedMsBucket:yt,bodySizeBucket:Ut,online:Xe,visibilityState:Je,isUnloading:String(bt),crossOrigin:String(Pt),hasCustomUrl:String(tn)}}}(me,Pt,un,Date.now()-tn);Y.diagnosticBucket=cr.bucket,Y.diagnosticMetadata=cr.metadata}catch{}}return null}return yield function st(se){return o(this,void 0,void 0,function*(){yield new Promise(me=>setTimeout(me,Math.min(se*se*500,3e4)))})}(Je),this._sendRequest(Object.assign(Object.assign({},me),{retries:tt,attempt:Je+1}),Y)}})}_getLogEventCompressionMode(me){let Y=me?.logEventCompressionMode;return!Y&&!0===me?.disableCompression&&(Y=b.LogEventCompressionMode.Disabled),Y||(Y=b.LogEventCompressionMode.Enabled),Y}_isRateLimited(me){var Y;const ee=Date.now(),fe=null!==(Y=this._leakyBucket[me])&&void 0!==Y?Y:{count:0,lastRequestTime:ee},ge=Math.floor(.05*(ee-fe.lastRequestTime));return fe.count=Math.max(0,fe.count-ge),fe.count>=50||(fe.count+=1,fe.lastRequestTime=ee,this._leakyBucket[me]=fe,!1)}_getPopulatedURL(me){var Y;const ee=null!==(Y=me.fallbackUrl)&&void 0!==Y?Y:me.urlConfig.getUrl();(me.urlConfig.endpoint===v.Endpoint._initialize||me.urlConfig.endpoint===v.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=ee);const fe=Object.assign({[v.NetworkParam.SdkKey]:me.sdkKey,[v.NetworkParam.SdkType]:L.SDKType._get(me.sdkKey),[v.NetworkParam.SdkVersion]:H.SDK_VERSION,[v.NetworkParam.Time]:String(Date.now()),[v.NetworkParam.SessionID]:h.SessionID.get(me.sdkKey)},me.params),ye=Object.keys(fe).map(ge=>`${encodeURIComponent(ge)}=${encodeURIComponent(fe[ge])}`).join("&");return`${ee}${ye?`?${ye}`:""}`}_tryEncodeBody(me){var Y;const ee=(0,E._getWindowSafe)(),fe=me.body;if(me.isStatsigEncodable&&!this._options.disableStatsigEncoding&&"string"==typeof fe&&null==(0,u._getStatsigGlobalFlag)("no-encode")&&ee?.btoa)try{me.body=ee.btoa(fe).split("").reverse().join(""),me.params=Object.assign(Object.assign({},null!==(Y=me.params)&&void 0!==Y?Y:{}),{[v.NetworkParam.StatsigEncoded]:"1"})}catch(ye){R.Log.warn(`Request encoding failed for ${me.urlConfig.getUrl()}`,ye)}}_tryToCompressBody(me){return o(this,void 0,void 0,function*(){var Y;const ee=me.body;if("string"==typeof ee&&function we(se,me){if(!se.isCompressable||null!=(0,u._getStatsigGlobalFlag)("no-compress")||typeof CompressionStream>"u"||typeof TextEncoder>"u")return!1;const Y=null!=se.urlConfig.customUrl||null!=se.urlConfig.fallbackUrls,ee=!0===S.SDKFlags.get(se.sdkKey,"enable_log_event_compression");switch(me.logEventCompressionMode){case b.LogEventCompressionMode.Disabled:return!1;case b.LogEventCompressionMode.Enabled:return!(Y&&!ee);case b.LogEventCompressionMode.Forced:return!0;default:return!1}}(me,this._options))try{const fe=(new TextEncoder).encode(ee),ye=new CompressionStream("gzip"),ge=ye.writable.getWriter();
vendor: 5,187 bytes, line 1
1ge.write(fe).catch(R.Log.error),ge.close().catch(R.Log.error);const Ne=ye.readable.getReader(),je=[];let tt;for(;!(tt=yield Ne.read()).done;)je.push(tt.value);const bt=je.reduce((rt,Pt)=>rt+Pt.length,0),Xe=new Uint8Array(bt);let Je=0;for(const rt of je)Xe.set(rt,Je),Je+=rt.length;me.body=Xe,me.params=Object.assign(Object.assign({},null!==(Y=me.params)&&void 0!==Y?Y:{}),{[v.NetworkParam.IsGzipped]:"1"})}catch(fe){R.Log.warn(`Request compression failed for ${me.urlConfig.getUrl()}`,fe)}})}_getInternalRequestArgs(me,Y){const ee=this._fallbackResolver.getActiveFallbackUrl(Y.sdkKey,Y.urlConfig),fe=Object.assign(Object.assign({},Y),{method:me,fallbackUrl:ee});return"data"in Y&&Te(fe,Y.data),fe}};const be=se=>!!se.sdkKey||(R.Log.warn("Unable to make request without an SDK key"),!1),Te=(se,me)=>{const{sdkKey:Y,fallbackUrl:ee}=se,fe=f.StableID.get(Y),ye=h.SessionID.get(Y),ge=L.SDKType._get(Y);se.body=JSON.stringify(Object.assign(Object.assign({},me),{statsigMetadata:Object.assign(Object.assign({},H.StatsigMetadataProvider.get()),{stableID:fe,sessionID:ye,sdkType:ge,fallbackUrl:ee})}))};function et(se,me){if(se<0)return"unknown";for(const Y of me)if(se<Y)return`<${Y}`;return`>=${me[me.length-1]}`}function Ct(se,me,Y,ee,fe){se.urlConfig.endpoint===v.Endpoint._initialize&&l.Diagnostics._markInitNetworkReqEnd(se.sdkKey,l.Diagnostics._getDiagnosticsData(me,Y,ee,fe))}},2679(qe,P,c){"use strict";var o=this&&this.__awaiter||function(b,N,A,C){return new(A||(A=Promise))(function(B,Q){function Z(Te){try{be(C.next(Te))}catch(we){Q(we)}}function ce(Te){try{be(C.throw(Te))}catch(we){Q(we)}}function be(Te){Te.done?B(Te.value):function V(B){return B instanceof A?B:new A(function(Q){Q(B)})}(Te.value).then(Z,ce)}be((C=C.apply(b,N||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P._isDomainFailure=P.NetworkFallbackResolver=void 0;const u=c(2938),l=c(417),R=c(2939),v=c(469),w=6048e5;function E(b,N){var A;const C=null!==(A=b?.toLowerCase())&&void 0!==A?A:"";return N||C.includes("uncaught exception")||C.includes("failed to fetch")||C.includes("networkerror when attempting to fetch resource")}function h(b){return`statsig.network_fallback.${(0,l._DJB2)(b)}`}function f(b,N){const A=h(b);N&&0!==Object.keys(N).length?v.Storage.setItem(A,JSON.stringify(N)):v.Storage.removeItem(A)}P.NetworkFallbackResolver=class L{constructor(N){var A;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=null===(A=N.networkConfig)||void 0===A?void 0:A.networkOverrideFunc}setErrorBoundary(N){this._errorBoundary=N}tryBumpExpiryTime(N,A){var C;const V=null===(C=this._fallbackInfo)||void 0===C?void 0:C[A.endpoint];V&&(V.expiryTime=Date.now()+w,f(N,Object.assign(Object.assign({},this._fallbackInfo),{[A.endpoint]:V})))}getActiveFallbackUrl(N,A){var C,V;if(null!=A.customUrl&&null!=A.fallbackUrls)return null;let B=this._fallbackInfo;null==B&&(B=null!==(C=function y(b){const N=h(b),A=v.Storage.getItem(N);if(!A)return null;try{return JSON.parse(A)}catch{return R.Log.error("Failed to parse FallbackInfo"),null}}(N))&&void 0!==C?C:{},this._fallbackInfo=B);const Q=B[A.endpoint];return!Q||Date.now()>(null!==(V=Q.expiryTime)&&void 0!==V?V:0)||A.getChecksum()!==Q.urlConfigChecksum?(delete B[A.endpoint],this._fallbackInfo=B,f(N,this._fallbackInfo),null):Q.url?Q.url:null}tryFetchUpdatedFallbackInfo(N,A,C,V){return o(this,void 0,void 0,function*(){var B,Q;try{if(!E(C,V))return!1;const ce=null==A.customUrl&&null==A.fallbackUrls?yield this._tryFetchFallbackUrlsFromNetwork(A):A.fallbackUrls,be=this._pickNewFallbackUrl(null===(B=this._fallbackInfo)||void 0===B?void 0:B[A.endpoint],ce);return!!be&&(this._updateFallbackInfoWithNewUrl(N,A,be),!0)}catch(Z){return null===(Q=this._errorBoundary)||void 0===Q||Q.logError("tryFetchUpdatedFallbackInfo",Z),!1}})}_updateFallbackInfoWithNewUrl(N,A,C){var V,B,Q;const Z={urlConfigChecksum:A.getChecksum(),url:C,expiryTime:Date.now()+w,previous:[]},ce=A.endpoint,be=null===(V=this._fallbackInfo)||void 0===V?void 0:V[ce];be&&Z.previous.push(...be.previous),Z.previous.length>10&&(Z.previous=[]);const Te=null===(Q=null===(B=this._fallbackInfo)||void 0===B?void 0:B[ce])||void 0===Q?void 0:Q.url;null!=Te&&Z.previous.push(Te),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[ce]:Z}),f(N,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(N){return o(this,void 0,void 0,function*(){var A;const C=this._dnsQueryCooldowns[N.endpoint];if(C&&Date.now()<C)return null;this._dnsQueryCooldowns[N.endpoint]=Date.now()+144e5;const V=[],B=yield(0,u._fetchTxtRecords)(null!==(A=this._networkOverrideFunc)&&void 0!==A?A:fetch),Q=function H(b){try{return new URL(b).pathname}catch{return null}}(N.defaultUrl);for(const Z of B){if(!Z.startsWith(N.endpointDnsKey+"="))continue;const ce=Z.split("=");if(ce.length>1){let be=ce[1];be.endsWith("/")&&(be=be.slice(0,-1)),V.push(`https://${be}${Q}`)}}return V})}_pickNewFallbackUrl(N,A){var C;if(null==A)return null;const V=new Set(null!==(C=N?.previous)&&void 0!==C?C:[]),B=N?.url;let Q=null;for(const Z of A){const ce=Z.endsWith("/")?Z.slice(0,-1):Z;if(!V.has(Z)&&ce!==B){Q=ce;break}}return Q}},P._isDomainFailure=E},7366(qe,P){"use strict";
1Object.defineProperty(P,"__esModule",{value:!0})},8090(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0})},751(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.PendingEvents=void 0;const o=c(2939);P.PendingEvents=class u{constructor(R){this._pendingEvents=[],this._batchSize=R}addToPendingEventsQueue(R){this._pendingEvents.push(R),o.Log.debug("Enqueued Event:",R)}hasEventsForFullBatch(){return this._pendingEvents.length>=this._batchSize}takeAll(){const R=this._pendingEvents;return this._pendingEvents=[],R}isEmpty(){return 0===this._pendingEvents.length}}},810(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.SDKFlags=void 0;const c={};P.SDKFlags={setFlags:(o,u)=>{c[o]=u},get:(o,u)=>{var l,R;return null!==(R=null===(l=c[o])||void 0===l?void 0:l[u])&&void 0!==R&&R}}},8561(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.SDKType=void 0;const c={};let o;P.SDKType={_get:u=>{var l;return(null!==(l=c[u])&&void 0!==l?l:"js-mono")+(o??"")},_setClientType(u,l){c[u]=l},_setBindingType(u){(!o||"-react"===o)&&(o="-"+u)}}},8287(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._cloneObject=P._getUnloadEvent=P._getCurrentPageUrlSafe=P._addDocumentEventListenerSafe=P._addWindowEventListenerSafe=P._isServerEnv=P._getDocumentSafe=P._getWindowSafe=void 0;const o=c(2939);P._getWindowSafe=()=>typeof window<"u"?window:null,P._getDocumentSafe=()=>{var h;const f=(0,P._getWindowSafe)();return null!==(h=f?.document)&&void 0!==h?h:null},P._isServerEnv=()=>{if(null!==(0,P._getDocumentSafe)())return!1;const h=typeof process<"u"&&null!=process.versions&&null!=process.versions.node;return"string"==typeof EdgeRuntime||h},P._addWindowEventListenerSafe=(h,f)=>{const y=(0,P._getWindowSafe)();"function"==typeof y?.addEventListener&&y.addEventListener(h,f)},P._addDocumentEventListenerSafe=(h,f)=>{const y=(0,P._getDocumentSafe)();"function"==typeof y?.addEventListener&&y.addEventListener(h,f)},P._getCurrentPageUrlSafe=()=>{var h;try{return null===(h=(0,P._getWindowSafe)())||void 0===h?void 0:h.location.href.split(/[?#]/)[0]}catch{return}},P._getUnloadEvent=()=>{const h=(0,P._getWindowSafe)();return h&&"onpagehide"in h?"pagehide":"beforeunload"},P._cloneObject=(h,f)=>{try{return JSON.parse(JSON.stringify(f))}catch{return o.Log.error(`Failed to clone object ${h}`),null}}},4900(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.StatsigSession=P.SessionID=void 0;const o=c(1312),u=c(2939),l=c(469),R=c(9586),v=c(8542),E={};function f(Q){var Z;const ce=Q.data,be=function y({lastUpdate:Q}){return Date.now()-Q>18e5}(ce)||function H({startTime:Q}){return Date.now()-Q>144e5}(ce);return be&&(Q.data=B(),null===(Z=null==__STATSIG__?void 0:__STATSIG__.instance(Q.sdkKey))||void 0===Z||Z.$emt({name:"session_expired"})),be}function b(Q){return`statsig.session_id.${(0,o._getStorageKey)(Q)}`}function N(Q){try{(0,l._setObjectInStorage)(Q.storageKey,Q.data),Q.lastPersistedAt=Date.now()}catch{u.Log.warn("Failed to save SessionID")}}function B(){return{sessionID:(0,R.getUUID)(),startTime:Date.now(),lastUpdate:Date.now()}}(0,v._subscribeToVisiblityChanged)(Q=>{"background"===Q&&Object.values(E).forEach(Z=>N(Z))}),P.SessionID={get:Q=>P.StatsigSession.get(Q).data.sessionID},P.StatsigSession={get:(Q,Z=!0)=>(null==E[Q]&&(E[Q]=function V(Q){const Z=b(Q),ce=function C(Q){return(0,l._getObjectFromStorage)(Q)}(Z);return ce&&ce.sessionID&&ce.startTime&&ce.lastUpdate?{data:ce,sdkKey:Q,lastPersistedAt:0,storageKey:Z}:{data:B(),sdkKey:Q,lastPersistedAt:0,storageKey:Z}}(Q)),function h(Q,Z){const ce=Date.now();return f(Q)?N(Q):Z&&(Q.data.lastUpdate=ce,function A(Q){Date.now()-Q.lastPersistedAt>15e3&&N(Q)}(Q)),Q}(E[Q],Z)),overrideInitialSessionID:(Q,Z)=>{const ce=Date.now(),be={data:{sessionID:Q,startTime:ce,lastUpdate:ce},sdkKey:Z,lastPersistedAt:Date.now(),storageKey:b(Z)};N(be),E[Z]=be},checkForIdleSession:Q=>{const Z=E[Q];Z&&f(Z)&&N(Z)}}},2493(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._fastApproxSizeOf=void 0,P._fastApproxSizeOf=(o,u)=>{const l=[o],R=[Object.keys(o)],v=[0],w=[0];let S=0,L=0;for(;;){if(v[S]<R[S].length){const E=R[S][v[S]++],h=l[S][E];if(w[S]+=E.length,h&&"object"==typeof h){l[++S]=h,R[S]=Object.keys(h),v[S]=w[S]=0;continue}if(w[S]+=(h+"").length+1,w[S]<u)continue}for(L=w[S--];S>=0&&(w[S]+=L+2)>=u;L=w[S--]);if(S<0)return L}}},5283(qe,P,c){"use strict";
vendor: 18,753 bytes, line 1
1Object.defineProperty(P,"__esModule",{value:!0}),P.getCookieName=P.StableID=void 0;const o=c(1312),u=c(2939),l=c(8287),R=c(469),v=c(9586),w={},S={},L={};function E(N){return`statsig.stable_id.${(0,o._getStorageKey)(N)}`}function h(N,A){const C=E(A);try{(0,R._setObjectInStorage)(C,N)}catch{u.Log.warn("Failed to save StableID to storage")}}function H(N,A){if(!S[A]||null==(0,l._getDocumentSafe)())return;const C=new Date;C.setFullYear(C.getFullYear()+1),document.cookie=`${b(A)}=${encodeURIComponent(N)}; expires=${C.toUTCString()}; path=/`}function b(N){return`statsig.stable_id.${(0,o._getStorageKey)(N)}`}P.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:N=>{if(L[N])return null;if(null!=w[N])return w[N];let A=null;return A=function y(N){if(!S[N]||null==(0,l._getDocumentSafe)())return null;const A=document.cookie.split(";");for(const C of A){const[V,B]=C.trim().split("=");if(V===b(N))return decodeURIComponent(B)}return null}(N),null!=A?(w[N]=A,h(A,N),A):(A=function f(N){const A=E(N);return(0,R._getObjectFromStorage)(A)}(N),null==A&&(A=(0,v.getUUID)()),h(A,N),H(A,N),w[N]=A,A)},setOverride:(N,A)=>{w[A]=N,h(N,A),H(N,A)},_setCookiesEnabled:(N,A)=>{S[N]=A},_setDisabled:(N,A)=>{L[N]=A}},P.getCookieName=b},1444(qe,P,c){"use strict";var o=this&&this.__awaiter||function(N,A,C,V){return new(C||(C=Promise))(function(Q,Z){function ce(we){try{Te(V.next(we))}catch($e){Z($e)}}function be(we){try{Te(V.throw(we))}catch($e){Z($e)}}function Te(we){we.done?Q(we.value):function B(Q){return Q instanceof C?Q:new C(function(Z){Z(Q)})}(we.value).then(ce,be)}Te((V=V.apply(N,A||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P.StatsigClientBase=void 0,c(2618);const u=c(2618),l=c(7265),R=c(6073),v=c(2939),w=c(2144),S=c(8287),L=c(4900),E=c(5283),h=c(4391),f=c(469);P.StatsigClientBase=class H{constructor(A,C,V,B){var Q,Z,ce,be;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};const Te=this.$emt.bind(this);null!=B?.logLevel&&(v.Log.level=B.logLevel),B?.disableStorage&&f.Storage._setDisabled(!0),B?.initialSessionID&&L.StatsigSession.overrideInitialSessionID(B.initialSessionID,A),B?.storageProvider&&f.Storage._setProvider(B.storageProvider),B?.enableCookies&&E.StableID._setCookiesEnabled(A,B.enableCookies),B?.disableStableID&&E.StableID._setDisabled(A,!0),this._sdkKey=A,this._options=B??{},this._memoCache={},this.overrideAdapter=null!==(Q=B?.overrideAdapter)&&void 0!==Q?Q:null,this._errorBoundary=new l.ErrorBoundary(A,B,Te),this._logger=new R.EventLogger(A,Te,V,B,this._errorBoundary),this._errorBoundary.wrap(this),this._errorBoundary.wrap(C),this._errorBoundary.wrap(this._logger),V.setErrorBoundary(this._errorBoundary),this.dataAdapter=C,this.dataAdapter.attach(A,B,V),this.storageProvider=f.Storage,null===(be=null===(ce=null===(Z=this.overrideAdapter)||void 0===Z?void 0:Z.loadFromStorage)||void 0===ce?void 0:ce.call(Z))||void 0===be||be.catch(we=>this._errorBoundary.logError("OA::loadFromStorage",we)),this._primeReadyRipcord(),function b(N,A){var C;if((0,S._isServerEnv)())return;const V=(0,u._getStatsigGlobal)(),B=null!==(C=V.instances)&&void 0!==C?C:{},Q=A;null!=B[N]&&v.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),B[N]=Q,V.firstInstance||(V.firstInstance=Q),V.instances=B,__STATSIG__=V}(A,this)}updateRuntimeOptions(A){A.loggingEnabled?(this._options.loggingEnabled=A.loggingEnabled,this._logger.setLoggingEnabled(A.loggingEnabled)):null!=A.disableLogging&&(this._options.disableLogging=A.disableLogging,this._logger.setLoggingEnabled(A.disableLogging?"disabled":"browser-only")),null!=A.disableStorage&&(this._options.disableStorage=A.disableStorage,f.Storage._setDisabled(A.disableStorage)),null!=A.enableCookies&&(this._options.enableCookies=A.enableCookies,E.StableID._setCookiesEnabled(this._sdkKey,A.enableCookies)),A.logEventCompressionMode?this._logger.setLogEventCompressionMode(A.logEventCompressionMode):A.disableCompression&&this._logger.setLogEventCompressionMode(h.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return o(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(A,C){this._listeners[A]||(this._listeners[A]=[]),this._listeners[A].push(C)}off(A,C){if(this._listeners[A]){const V=this._listeners[A].indexOf(C);-1!==V&&this._listeners[A].splice(V,1)}}$on(A,C){C.__isInternal=!0,this.on(A,C)}$emt(A){var C;const V=B=>{try{B(A)}catch(Q){if(!0===B.__isInternal)return void this._errorBoundary.logError(`__emit:${A.name}`,Q);v.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",A)}};this._listeners[A.name]&&this._listeners[A.name].forEach(B=>V(B)),null===(C=this._listeners["*"])||void 0===C||C.forEach(V)}_setStatus(A,C){this.loadingStatus=A,this._memoCache={},this.$emt({name:"values_updated",status:A,values:C})}_enqueueExposure(A,C,V){!0!==V?.disableExposureLog?this._logger.enqueue(C):this._logger.incrementNonExposureCount(A)}_memoize(A,C){return(V,B)=>{if(this._options.disableEvaluationMemoization)return C(V,B);const Q=(0,w.createMemoKey)(A,V,B);return Q?(Q in this._memoCache||(Object.keys(this._memoCache).length>=3e3&&(this._memoCache={}),this._memoCache[Q]=C(V,B)),this._memoCache[Q]):C(V,B)}}}},883(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.ErrorTag=void 0,P.ErrorTag={NetworkError:"NetworkError"}},6503(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.DataAdapterCachePrefix=void 0,P.DataAdapterCachePrefix="statsig.cached"},9912(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._createLayerParameterExposure=P._createConfigExposure=P._mapExposures=P._createGateExposure=P._isExposureEvent=void 0;const c="statsig::config_exposure",o="statsig::gate_exposure",u="statsig::layer_exposure",l=(h,f,y,H,b)=>(y.bootstrapMetadata&&(H.bootstrapMetadata=y.bootstrapMetadata),{eventName:h,user:f,value:null,metadata:E(y,H),secondaryExposures:b,time:Date.now()});function w(h,f){return h.map(y=>"string"==typeof y?(f??{})[y]:y).filter(y=>null!=y)}P._isExposureEvent=({eventName:h})=>h===o||h===c||h===u,P._createGateExposure=(h,f,y)=>{var H,b,N;const A={gate:f.name,gateValue:String(f.value),ruleID:f.ruleID};return null!=(null===(H=f.__evaluation)||void 0===H?void 0:H.version)&&(A.configVersion=f.__evaluation.version),l(o,h,f.details,A,w(null!==(N=null===(b=f.__evaluation)||void 0===b?void 0:b.secondary_exposures)&&void 0!==N?N:[],y))},P._mapExposures=w,P._createConfigExposure=(h,f,y)=>{var H,b,N,A;const C={config:f.name,ruleID:f.ruleID};return null!=(null===(H=f.__evaluation)||void 0===H?void 0:H.version)&&(C.configVersion=f.__evaluation.version),null!=(null===(b=f.__evaluation)||void 0===b?void 0:b.passed)&&(C.rulePassed=String(f.__evaluation.passed)),l(c,h,f.details,C,w(null!==(A=null===(N=f.__evaluation)||void 0===N?void 0:N.secondary_exposures)&&void 0!==A?A:[],y))},P._createLayerParameterExposure=(h,f,y,H)=>{var b,N,A,C,V,B,Q;const Z=f.__evaluation,ce=!0===(null===(b=Z?.explicit_parameters)||void 0===b?void 0:b.includes(y));let be="",Te=null!==(N=Z?.undelegated_secondary_exposures)&&void 0!==N?N:[];ce&&(be=null!==(A=Z.allocated_experiment_name)&&void 0!==A?A:"",Te=null!==(C=Z.secondary_exposures)&&void 0!==C?C:[]);const we=null===(V=f.__evaluation)||void 0===V?void 0:V.parameter_rule_ids,$e={config:f.name,parameterName:y,ruleID:null!==(B=we?.[y])&&void 0!==B?B:f.ruleID,allocatedExperiment:be,isExplicitParameter:String(ce)};return null!=(null===(Q=f.__evaluation)||void 0===Q?void 0:Q.version)&&($e.configVersion=f.__evaluation.version),l(u,h,f.details,$e,w(Te,H))};const E=(h,f)=>(f.reason=h.reason,h.lcut&&(f.lcut=String(h.lcut)),h.receivedAt&&(f.receivedAt=String(h.receivedAt)),f)},8043(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.StatsigMetadataProvider=P.SDK_VERSION=void 0,P.SDK_VERSION="3.33.3";let c={sdkVersion:P.SDK_VERSION,sdkType:"js-mono"};P.StatsigMetadataProvider={get:()=>c,add:o=>{c=Object.assign(Object.assign({},c),o)}}},4391(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.LoggingEnabledOption=P.LogEventCompressionMode=void 0,P.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},P.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"}},5977(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0})},5918(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._makeTypedGet=P._mergeOverride=P._makeLayer=P._makeExperiment=P._makeDynamicConfig=P._makeFeatureGate=void 0;const o=c(2939),u=c(3581);function l(h,f,y,H){var b;return{name:h,details:f,ruleID:null!==(b=y?.rule_id)&&void 0!==b?b:"",__evaluation:y,value:H}}function v(h,f,y){var H,b;const N=null!==(H=y?.value)&&void 0!==H?H:{};return Object.assign(Object.assign({},l(h,f,y,N)),{idType:null!==(b=y?.id_type)&&void 0!==b?b:null,get:E(h,y?.value)})}function E(h,f,y){return(H,b)=>{var N;const A=null!==(N=f?.[H])&&void 0!==N?N:null;return null==A?b??null:null==b||(0,u._isTypeMatch)(A,b)?(y?.(H),A):(o.Log.warn(`Parameter type mismatch. '${h}.${H}' was found to be type '${typeof A}' but fallback/return type is '${typeof b}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),b??null)}}P._makeFeatureGate=function R(h,f,y){var H;return Object.assign(Object.assign({},l(h,f,y,!0===y?.value)),{idType:null!==(H=y?.id_type)&&void 0!==H?H:null})},P._makeDynamicConfig=v,P._makeExperiment=function w(h,f,y){var H;const b=v(h,f,y);return Object.assign(Object.assign({},b),{groupName:null!==(H=y?.group_name)&&void 0!==H?H:null})},P._makeLayer=function S(h,f,y,H){var b,N;return Object.assign(Object.assign({},l(h,f,y,void 0)),{get:E(h,y?.value,H),groupName:null!==(b=y?.group_name)&&void 0!==b?b:null,__value:null!==(N=y?.value)&&void 0!==N?N:{}})},P._mergeOverride=function L(h,f,y,H){return Object.assign(Object.assign(Object.assign({},h),f),{get:E(h.name,y,H)})},P._makeTypedGet=E},3193(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0})},6417(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.UPDATE_DETAIL_ERROR_MESSAGES=P.createUpdateDetails=void 0,P.createUpdateDetails=(o,u,l,R,v,w)=>({duration:l,source:u,success:o,error:R,sourceUrl:v,warnings:w}),P.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},1665(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._getUnitIDFromUser=P._getFullUserHash=P._normalizeUser=void 0;const o=c(417),u=c(2939),l=c(8287);P._normalizeUser=function R(S,L,E){const h=(0,l._cloneObject)("StatsigUser",S);return null==h?(u.Log.error("Failed to clone user"),{statsigEnvironment:void 0}):(null!=L&&null!=L.environment?h.statsigEnvironment=L.environment:null!=E&&(h.statsigEnvironment={tier:E}),h)},P._getFullUserHash=function v(S){return S?(0,o._DJB2Object)(S):null},P._getUnitIDFromUser=function w(S,L){var E,h,f;if("string"!=typeof L)return S.userID;const y=L.toLowerCase();return"userid"!==y?null!==(h=null===(E=S.customIDs)||void 0===E?void 0:E[L])&&void 0!==h?h:null===(f=S.customIDs)||void 0===f?void 0:f[y]:S.userID}},469(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._setObjectInStorage=P._getObjectFromStorage=P.Storage=void 0;const o=c(2939),u=c(8287),l={},R={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:f=>l[f]?l[f]:null,setItem:(f,y)=>{l[f]=y},removeItem:f=>{delete l[f]},getAllKeys:()=>Object.keys(l)};let v=null;try{const f=(0,u._getWindowSafe)();f&&f.localStorage&&"function"==typeof f.localStorage.getItem&&(v={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:y=>f.localStorage.getItem(y),setItem:(y,H)=>f.localStorage.setItem(y,H),removeItem:y=>f.localStorage.removeItem(y),getAllKeys:()=>Object.keys(f.localStorage)})}catch{o.Log.warn("Failed to setup localStorageProvider.")}let w=v??R,S=w;function L(f){try{return f()}catch(y){if(y instanceof Error&&"SecurityError"===y.name)return P.Storage._setProvider(R),null;throw y}}P.Storage={isReady:()=>S.isReady(),isReadyResolver:()=>S.isReadyResolver(),getProviderName:()=>S.getProviderName(),getItem:f=>L(()=>S.getItem(f)),setItem:(f,y)=>L(()=>S.setItem(f,y)),removeItem:f=>S.removeItem(f),getAllKeys:()=>S.getAllKeys(),_setProvider:f=>{w=f,S=f},_setDisabled:f=>{S=f?R:w}},P._getObjectFromStorage=function E(f){const y=P.Storage.getItem(f);try{return JSON.parse(y??"null")}catch{return o.Log.error(`Failed to parse value for key "${f}"`),null}},P._setObjectInStorage=function h(f,y){P.Storage.setItem(f,JSON.stringify(y))}},7684(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._typedJsonParse=void 0;const o=c(2939);P._typedJsonParse=function u(l,R,v){try{const w=JSON.parse(l);if(w&&"object"==typeof w&&R in w)return w}catch{}return o.Log.error(`Failed to parse ${v}`),null}},3581(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._isTypeMatch=P._typeOf=void 0,P._typeOf=function c(u){return Array.isArray(u)?"array":typeof u},P._isTypeMatch=function o(u,l){const R=v=>Array.isArray(v)?"array":null===v?"null":typeof v;return R(u)===R(l)}},9586(qe,P){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.getUUID=void 0,P.getUUID=function c(){if(typeof crypto<"u"&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let o=(new Date).getTime(),u=typeof performance<"u"&&performance.now&&1e3*performance.now()||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(4*Math.random())]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,R=>{let v=16*Math.random();return o>0?(v=(o+v)%16|0,o=Math.floor(o/16)):(v=(u+v)%16|0,u=Math.floor(u/16)),("x"===R?v:7&v|8).toString(16)})}},6012(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.UrlConfiguration=void 0;const o=c(417),u=c(2285),l={[u.Endpoint._initialize]:"i",[u.Endpoint._rgstr]:"e",[u.Endpoint._download_config_specs]:"d"};P.UrlConfiguration=class R{constructor(w,S,L,E){this.customUrl=null,this.fallbackUrls=null,this.endpoint=w,this.endpointDnsKey=l[w],S&&(this.customUrl=S),!S&&L&&(this.customUrl=L.endsWith("/")?`${L}${w}`:`${L}/${w}`),E&&(this.fallbackUrls=E),this.defaultUrl=`${u.NetworkDefault[w]}/${w}`}getUrl(){var w;return null!==(w=this.customUrl)&&void 0!==w?w:this.defaultUrl}getChecksum(){var w;const S=(null!==(w=this.fallbackUrls)&&void 0!==w?w:[]).sort().join(",");return(0,o._DJB2)(this.customUrl+S)}}},8542(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._notifyVisibilityChanged=P._subscribeToVisiblityChanged=P._isUnloading=P._isCurrentlyVisible=void 0;const o=c(8287),u="foreground",l="background",R=[];let v=u,w=!1;P._isCurrentlyVisible=()=>v===u,P._isUnloading=()=>w,P._subscribeToVisiblityChanged=f=>{R.unshift(f)},P._notifyVisibilityChanged=f=>{f!==v&&(v=f,R.forEach(y=>y(f)))},(0,o._addWindowEventListenerSafe)("focus",()=>{w=!1,(0,P._notifyVisibilityChanged)(u)}),(0,o._addWindowEventListenerSafe)("blur",()=>(0,P._notifyVisibilityChanged)(l)),(0,o._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,P._notifyVisibilityChanged)("visible"===document.visibilityState?u:l)}),(0,o._addWindowEventListenerSafe)((0,o._getUnloadEvent)(),()=>{w=!0,(0,P._notifyVisibilityChanged)(l)})},7317(qe,P,c){"use strict";var o=this&&this.__createBinding||(Object.create?function(E,h,f,y){void 0===y&&(y=f);var H=Object.getOwnPropertyDescriptor(h,f);(!H||("get"in H?!h.__esModule:H.writable||H.configurable))&&(H={enumerable:!0,get:function(){return h[f]}}),Object.defineProperty(E,y,H)}:function(E,h,f,y){void 0===y&&(y=f),E[y]=h[f]}),u=this&&this.__exportStar||function(E,h){for(var f in E)"default"!==f&&!Object.prototype.hasOwnProperty.call(h,f)&&o(h,E,f)};Object.defineProperty(P,"__esModule",{value:!0}),P.Storage=P.Log=P.EventLogger=P.Diagnostics=void 0,c(2618);const l=c(2618),R=c(5217);Object.defineProperty(P,"Diagnostics",{enumerable:!0,get:function(){return R.Diagnostics}});const v=c(6073);Object.defineProperty(P,"EventLogger",{enumerable:!0,get:function(){return v.EventLogger}});const w=c(2939);Object.defineProperty(P,"Log",{enumerable:!0,get:function(){return w.Log}});const S=c(8043),L=c(469);Object.defineProperty(P,"Storage",{enumerable:!0,get:function(){return L.Storage}}),u(c(2618),P),u(c(1312),P),u(c(5314),P),u(c(4081),P),u(c(5217),P),u(c(2172),P),u(c(7265),P),u(c(1949),P),u(c(5806),P),u(c(417),P),u(c(1896),P),u(c(2939),P),u(c(2144),P),u(c(2285),P),u(c(1712),P),u(c(7366),P),u(c(8090),P),u(c(8287),P),u(c(8561),P),u(c(4900),P),u(c(2493),P),u(c(5283),P),u(c(1444),P),u(c(883),P),u(c(6503),P),u(c(9912),P),u(c(8043),P),u(c(4391),P),u(c(5977),P),u(c(5918),P),u(c(3193),P),u(c(1665),P),u(c(469),P),u(c(7684),P),u(c(3581),P),u(c(6012),P),u(c(9586),P),u(c(8542),P),u(c(6417),P),u(c(810),P),Object.assign((0,l._getStatsigGlobal)(),{Log:w.Log,SDK_VERSION:S.SDK_VERSION})},1127(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P._resolveDeltasResponse=void 0;const o=c(7317);function w(S,L){S?.forEach(E=>{delete L[E]})}P._resolveDeltasResponse=function l(S,L){const E=(0,o._typedJsonParse)(L,"checksum","DeltasEvaluationResponse");if(!E)return{hadBadDeltaChecksum:!0};const f=function v(S){const L=S;return w(S.deleted_gates,L.feature_gates),delete L.deleted_gates,w(S.deleted_configs,L.dynamic_configs),delete L.deleted_configs,w(S.deleted_layers,L.layer_configs),delete L.deleted_layers,L}(function R(S,L){return Object.assign(Object.assign(Object.assign({},S),L),{feature_gates:Object.assign(Object.assign({},S.feature_gates),L.feature_gates),layer_configs:Object.assign(Object.assign({},S.layer_configs),L.layer_configs),dynamic_configs:Object.assign(Object.assign({},S.dynamic_configs),L.dynamic_configs)})}(S,E)),y=(0,o._DJB2Object)({feature_gates:f.feature_gates,dynamic_configs:f.dynamic_configs,layer_configs:f.layer_configs},2);return y===E.checksumV2?JSON.stringify(f):{hadBadDeltaChecksum:!0,badChecksum:y,badMergedConfigs:f,badFullResponse:E.deltas_full_response}}},7038(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0});const o=c(7317),u=c(6611),l=c(5752);P.default=class R{constructor(w,S){this._sdkKey=w,this._options=S,this._valuesForExternalUse=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._valuesForExternalUse=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings.clear()}finalize(){this._values||(this._source="NoValues")}
1getValues(){return this._valuesForExternalUse}setValues(w,S){var L,E;if(!w)return!1;const h=(0,o._typedJsonParse)(w.data,"has_updates","EvaluationResponse");return null!=h&&(this._source=w.source,!0!==h?.has_updates||(null!==(L=h.time)&&void 0!==L?L:0)<this._lcut||(this._valuesForExternalUse=(0,o._typedJsonParse)(w.data,"has_updates","EvaluationResponse"),this._lcut=h.time,this._receivedAt=w.receivedAt,this._values="init-v2"===h.response_format?new l.V2InitializeContainer(h):new u.V1InitializeContainer(h),this._bootstrapMetadata=this._extractBootstrapMetadata(w.source,h),w.source&&h.user&&this._setWarningState(S,h),o.SDKFlags.setFlags(this._sdkKey,null!==(E=h.sdk_flags)&&void 0!==E?E:{})),!0)}getWarnings(){if(0!==this._warnings.size)return Array.from(this._warnings)}getGate(w){const S=this._values?this._values.getGate(w):null;return this._getDetailedStoreResult(S)}getConfig(w){const S=this._values?this._values.getConfig(w):null;return this._getDetailedStoreResult(S)}getConfigList(){return this._values?this._values.getConfigList():[]}getLayer(w){const S=this._values?this._values.getLayer(w):null;return this._getDetailedStoreResult(S)}getParamStore(w){const S=this._values?this._values.getParamStore(w):null;return this._getDetailedStoreResult(S)}getSource(){return this._source}getExposureMapping(){var w;return null===(w=this._values)||void 0===w?void 0:w.getExposureMapping()}_extractBootstrapMetadata(w,S){if("Bootstrap"!==w)return null;const L={};return S.user&&(L.user=S.user),S.sdkInfo&&(L.generatorSDKInfo=S.sdkInfo),L.lcut=S.time,L}_getDetailedStoreResult(w){return{result:w,details:this._getDetails(null==w)}}_setWarningState(w,S){var L,E,h;const f=o.StableID.get(this._sdkKey);if((null===(L=w.customIDs)||void 0===L?void 0:L.stableID)!==f&&(null!==(E=w.customIDs)&&void 0!==E&&E.stableID||f))this._warnings.add("StableIDMismatch");else if("user"in S){let y=S.user,H=Object.assign(Object.assign({},w),{analyticsOnlyMetadata:void 0,privateAttributes:void 0});!(null===(h=this._options)||void 0===h)&&h.disableStableID&&(H=Object.assign(Object.assign({},H),{customIDs:Object.assign(Object.assign({},H.customIDs),{stableID:void 0})}),y=Object.assign(Object.assign({},y),{customIDs:Object.assign(Object.assign({},y.customIDs),{stableID:void 0})})),(0,o._getFullUserHash)(H)!==(0,o._getFullUserHash)(y)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if("Uninitialized"===this._source||"NoValues"===this._source)return{reason:this._source};const w={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(w.warnings=Array.from(this._warnings)),w}_getDetails(w){var S,L;const E=this.getCurrentSourceDetails();let h=E.reason;const f=null!==(S=E.warnings)&&void 0!==S?S:[];"Bootstrap"===this._source&&f.length>0&&(h+=f[0]),"Uninitialized"!==h&&"NoValues"!==h&&(h=`${h}:${w?"Unrecognized":"Recognized"}`);const y="Bootstrap"===this._source&&null!==(L=this._bootstrapMetadata)&&void 0!==L?L:void 0;return y&&(E.bootstrapMetadata=y),Object.assign(Object.assign({},E),{reason:h})}}},4067(qe,P,c){"use strict";var o=this&&this.__awaiter||function(v,w,S,L){return new(S||(S=Promise))(function(h,f){function y(N){try{b(L.next(N))}catch(A){f(A)}}function H(N){try{b(L.throw(N))}catch(A){f(A)}}function b(N){N.done?h(N.value):function E(h){return h instanceof S?h:new S(function(f){f(h)})}(N.value).then(y,H)}b((L=L.apply(v,w||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0});const u=c(7317),l=c(1127);P.default=class R extends u.NetworkCore{constructor(w,S){super(w,S);const L=w?.networkConfig;this._option=w,this._initializeUrlConfig=new u.UrlConfiguration(u.Endpoint._initialize,L?.initializeUrl,L?.api,L?.initializeFallbackUrls)}fetchEvaluations(w,S,L,E,h){return o(this,void 0,void 0,function*(){var f,y,H,b,N,A;const C=S?(0,u._typedJsonParse)(S,"has_updates","InitializeResponse"):null;let V={user:E,hash:null!==(H=null===(y=null===(f=this._option)||void 0===f?void 0:f.networkConfig)||void 0===y?void 0:y.initializeHashAlgorithm)&&void 0!==H?H:"djb2",deltasResponseRequested:!1,full_checksum:null};if(C?.has_updates){const B=C?.hash_used!==(null!==(A=null===(N=null===(b=this._option)||void 0===b?void 0:b.networkConfig)||void 0===N?void 0:N.initializeHashAlgorithm)&&void 0!==A?A:"djb2");V=Object.assign(Object.assign({},V),{sinceTime:h&&!B?C.time:0,previousDerivedFields:"derived_fields"in C&&h?C.derived_fields:{},deltasResponseRequested:!0,full_checksum:C.full_checksum,partialUserMatchSinceTime:B?0:C.time})}return this._fetchEvaluations(w,C,V,L)})}_fetchEvaluations(w,S,L,E){return o(this,void 0,void 0,function*(){var h,f;const y=yield this.post({sdkKey:w,urlConfig:this._initializeUrlConfig,data:L,retries:2,isStatsigEncodable:!0,priority:E});if(204===y?.code)return'{"has_updates": false}';if(200!==y?.code)return null!==(h=y?.body)&&void 0!==h?h:null;if(!0!==S?.has_updates||!0!==(null===(f=y.body)||void 0===f?void 0:f.includes('"is_delta":true'))||!0!==L.deltasResponseRequested)return y.body;const H=(0,l._resolveDeltasResponse)(S,y.body);return"string"==typeof H?H:this._fetchEvaluations(w,S,Object.assign(Object.assign(Object.assign({},L),H),{deltasResponseRequested:!1}),E)})}}},6704(qe,P,c){"use strict";
vendor: 15,558 bytes, line 1
1Object.defineProperty(P,"__esModule",{value:!0}),P._makeParamStoreGetter=void 0;const o=c(7317),u={disableExposureLog:!0};function l(f){return null==f||!1===f.disableExposureLog}function R(f,y){return null!=y&&!(0,o._isTypeMatch)(f,y)}P._makeParamStoreGetter=function h(f,y,H){return(b,N)=>{if(null==y)return N;const A=y[b];if(null==A||null!=N&&(0,o._typeOf)(N)!==A.param_type)return N;switch(A.ref_type){case"static":return function v(f){return f.value}(A);case"gate":return function w(f,y,H){return f.getFeatureGate(y.gate_name,l(H)?void 0:u).value?y.pass_value:y.fail_value}(f,A,H);case"dynamic_config":return function S(f,y,H,b){const A=f.getDynamicConfig(y.config_name,l(b)?void 0:u).get(y.param_name);return R(A,H)?H:A}(f,A,N,H);case"experiment":return function L(f,y,H,b){const A=f.getExperiment(y.experiment_name,l(b)?void 0:u).get(y.param_name);return R(A,H)?H:A}(f,A,N,H);case"layer":return function E(f,y,H,b){const A=f.getLayer(y.layer_name,l(b)?void 0:u).get(y.param_name);return R(A,H)?H:A}(f,A,N,H);default:return N}}}},6357(qe,P,c){"use strict";var o=this&&this.__awaiter||function(L,E,h,f){return new(h||(h=Promise))(function(H,b){function N(V){try{C(f.next(V))}catch(B){b(B)}}function A(V){try{C(f.throw(V))}catch(B){b(B)}}function C(V){V.done?H(V.value):function y(H){return H instanceof h?H:new h(function(b){b(H)})}(V.value).then(N,A)}C((f=f.apply(L,E||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0});const u=c(7317),l=c(7038),R=c(4067),v=c(6704),w=c(5460);class S extends u.StatsigClientBase{static instance(E){const h=(0,u._getStatsigGlobal)().instance(E);return h instanceof S?h:(u.Log.warn((0,u._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new S(E??"",{}))}constructor(E,h,f=null){var y,H;u.SDKType._setClientType(E,"javascript-client");const b=new R.default(f,A=>{this.$emt(A)});super(E,null!==(y=f?.dataAdapter)&&void 0!==y?y:new w.StatsigEvaluationsDataAdapter,b,f),this._possibleFirstTouchMetadata={},this.getFeatureGate=this._memoize(u.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(u.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(u.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getConfigList=this._memoize(u.MemoPrefix._configList,this._getConfigListImpl.bind(this)),this.getLayer=this._memoize(u.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(u.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new l.default(E,f??null),this._network=b,this._user=this._configureUser(h,f),this._sdkInstanceID=(0,u.getUUID)(),this._contextHandle=new u.PrecomputedEvaluationsContextHandle(E,()=>this._options,()=>this._errorBoundary,()=>this._store.getValues(),()=>this._user,()=>this._sdkInstanceID);const N=null!==(H=f?.plugins)&&void 0!==H?H:[];for(const A of N)A.bind(this)}initializeSync(E){var h;return"Uninitialized"!==this.loadingStatus?(0,u.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...null!==(h=this._store.getWarnings())&&void 0!==h?h:[]]):(this._logger.start(),this.updateUserSync(this._user,E))}initializeAsync(E){return o(this,void 0,void 0,function*(){return this._initializePromise||(this._initializePromise=this._initializeAsyncImpl(E)),this._initializePromise})}updateUserSync(E,h){const f=performance.now();try{return this._updateUserSyncImpl(E,h,f)}catch(y){const H=y instanceof Error?y:new Error(String(y));return this._createErrorUpdateDetails(H,f)}}_updateUserSyncImpl(E,h,f){var y;const H=[...null!==(y=this._store.getWarnings())&&void 0!==y?y:[]];this._resetForUser(E);const b=this.dataAdapter.getDataSync(this._user);null==b&&H.push("NoCachedValues"),this._store.setValues(b,this._user),this._finalizeUpdate(b);const N=h?.disableBackgroundCacheRefresh;return!0===N||null==N&&"Bootstrap"===b?.source||this._runPostUpdate(b??null,this._user),(0,u.createUpdateDetails)(!0,this._store.getSource(),performance.now()-f,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),H)}updateUserAsync(E,h){return o(this,void 0,void 0,function*(){const f=performance.now();try{return yield this._updateUserAsyncImpl(E,h)}catch(y){const H=y instanceof Error?y:new Error(String(y));return this._createErrorUpdateDetails(H,f)}})}_updateUserAsyncImpl(E,h){return o(this,void 0,void 0,function*(){this._resetForUser(E);const f=this._user;u.Diagnostics._markInitOverallStart(this._sdkKey);let y=this.dataAdapter.getDataSync(f);if(this._store.setValues(y,this._user),this._setStatus("Loading",y),y=yield this.dataAdapter.getDataAsync(y,f,h),f!==this._user)return(0,u.createUpdateDetails)(!1,this._store.getSource(),-1,new Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let H=!1;null!=y&&(u.Diagnostics._markInitProcessStart(this._sdkKey),H=this._store.setValues(y,this._user),u.Diagnostics._markInitProcessEnd(this._sdkKey,{success:H})),this._finalizeUpdate(y),H||(this._errorBoundary.attachErrorIfNoneExists(u.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),u.Diagnostics._markInitOverallEnd(this._sdkKey,H,this._store.getCurrentSourceDetails());const b=u.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,u.createUpdateDetails)(H,this._store.getSource(),b,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){let E=(0,u._cloneObject)("StatsigUser",this._user);return null==E&&(u.Log.error("Failed to clone user"),E={}),{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:E,errorBoundary:this._errorBoundary,session:u.StatsigSession.get(this._sdkKey),stableID:u.StableID.get(this._sdkKey),sdkInstanceID:this._sdkInstanceID}}getContextHandle(){return this._contextHandle}checkGate(E,h){return this.getFeatureGate(E,h).value}logEvent(E,h,f){const y="string"==typeof E?{eventName:E,value:h,metadata:f}:E;this.$emt({name:"log_event_called",event:y}),this._logger.enqueue(Object.assign(Object.assign({},y),{user:this._user,time:Date.now()}))}updateUserWithAnalyticsOnlyMetadata(E){this._user=this._configureUser(Object.assign(Object.assign({},this._user),{analyticsOnlyMetadata:E}),this._options)}_primeReadyRipcord(){this.$on("error",()=>{"Loading"===this.loadingStatus&&this._finalizeUpdate(null)})}_initializeAsyncImpl(E){return o(this,void 0,void 0,function*(){return u.Storage.isReady()||(yield u.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,E)})}_createErrorUpdateDetails(E,h){var f;return(0,u.createUpdateDetails)(!1,this._store.getSource(),performance.now()-h,E,null,[...null!==(f=this._store.getWarnings())&&void 0!==f?f:[]])}_finalizeUpdate(E){this._store.finalize(),this._setStatus("Ready",E)}_runPostUpdate(E,h){this.dataAdapter.getDataAsync(E,h,{priority:"low"}).catch(f=>{u.Log.error("An error occurred after update.",f)})}_resetForUser(E){this._logger.reset(),this._store.reset(),this._user=this._configureUser(E,this._options)}_configureUser(E,h){var f,y,H;const b=(0,u._normalizeUser)(E,h),N=null===(f=b.customIDs)||void 0===f?void 0:f.stableID;if(N){const A=null===(H=(y=this.storageProvider).isReadyResolver)||void 0===H?void 0:H.call(y);A?A.then(()=>u.StableID.setOverride(N,this._sdkKey),()=>u.StableID.setOverride(N,this._sdkKey)):u.StableID.setOverride(N,this._sdkKey)}return Object.keys(this._possibleFirstTouchMetadata).length>0&&(b.analyticsOnlyMetadata=Object.assign(Object.assign({},b.analyticsOnlyMetadata),this._possibleFirstTouchMetadata)),b}_getFeatureGateImpl(E,h){var f,y;const{result:H,details:b}=this._store.getGate(E);this._checkUserHasIdForEvaluation(H?.id_type,E,"Gate"),this._checkInitializationStatus(b.reason);const N=(0,u._makeFeatureGate)(E,b,H),C=(null===(y=null===(f=this.overrideAdapter)||void 0===f?void 0:f.getGateOverride)||void 0===y?void 0:y.call(f,N,this._user,h))??N;return this._enqueueExposure(E,(0,u._createGateExposure)(this._user,C,this._store.getExposureMapping()),h),this.$emt({name:"gate_evaluation",gate:C}),C}_getDynamicConfigImpl(E,h){var f,y;const{result:H,details:b}=this._store.getConfig(E);this._checkUserHasIdForEvaluation(H?.id_type,E,"Dynamic config"),this._checkInitializationStatus(b.reason);const N=(0,u._makeDynamicConfig)(E,b,H),C=(null===(y=null===(f=this.overrideAdapter)||void 0===f?void 0:f.getDynamicConfigOverride)||void 0===y?void 0:y.call(f,N,this._user,h))??N;return this._enqueueExposure(E,(0,u._createConfigExposure)(this._user,C,this._store.getExposureMapping()),h),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:C}),C}_getExperimentImpl(E,h){var f,y,H,b;const{result:N,details:A}=this._store.getConfig(E);this._checkUserHasIdForEvaluation(N?.id_type,E,"Experiment"),this._checkInitializationStatus(A.reason);const C=(0,u._makeExperiment)(E,A,N);null!=C.__evaluation&&(C.__evaluation.secondary_exposures=(0,u._mapExposures)(null!==(y=null===(f=C.__evaluation)||void 0===f?void 0:f.secondary_exposures)&&void 0!==y?y:[],this._store.getExposureMapping()));const B=(null===(b=null===(H=this.overrideAdapter)||void 0===H?void 0:H.getExperimentOverride)||void 0===b?void 0:b.call(H,C,this._user,h))??C;return this._enqueueExposure(E,(0,u._createConfigExposure)(this._user,B,this._store.getExposureMapping()),h),this.$emt({name:"experiment_evaluation",experiment:B}),B}_getConfigListImpl(){return this._store.getConfigList()}_getLayerImpl(E,h){var f,y,H;const{result:b,details:N}=this._store.getLayer(E),A=(0,u._makeLayer)(E,N,b),C=null===(y=null===(f=this.overrideAdapter)||void 0===f?void 0:f.getLayerOverride)||void 0===y?void 0:y.call(f,A,this._user,h);h?.disableExposureLog&&this._logger.incrementNonExposureCount(E);const V=(0,u._mergeOverride)(A,C,null!==(H=C?.__value)&&void 0!==H?H:A.__value,B=>{h?.disableExposureLog||this._enqueueExposure(E,(0,u._createLayerParameterExposure)(this._user,V,B,this._store.getExposureMapping()),h)});return this.$emt({name:"layer_evaluation",layer:V}),V}_getParameterStoreImpl(E,h){var f,y;const{result:H,details:b}=this._store.getParamStore(E);this._logger.incrementNonExposureCount(E);const N={name:E,details:b,__configuration:H,get:(0,v._makeParamStoreGetter)(this,H,h)},A=null===(y=null===(f=this.overrideAdapter)||void 0===f?void 0:f.getParamStoreOverride)||void 0===y?void 0:y.call(f,N,h);return null!=A&&(N.__configuration=A.config,N.details=A.details,N.get=(0,v._makeParamStoreGetter)(this,A.config,h)),N}_checkUserHasIdForEvaluation(E,h,f){E&&((0,u._getUnitIDFromUser)(this._user,E)||u.Log.warn(`The user does not have the required id_type "${E}" for ${f} "${h}"`))}_checkInitializationStatus(E){("Uninitialized"===E||E.startsWith("Loading"))&&u.Log.warn(`SDK initialization has not completed. Reason: ${E}`)}}P.default=S},5460(qe,P,c){"use strict";var o=this&&this.__awaiter||function(v,w,S,L){return new(S||(S=Promise))(function(h,f){function y(N){try{b(L.next(N))}catch(A){f(A)}}function H(N){try{b(L.throw(N))}catch(A){f(A)}}function b(N){N.done?h(N.value):function E(h){return h instanceof S?h:new S(function(f){f(h)})}(N.value).then(y,H)}b((L=L.apply(v,w||[])).next())})};Object.defineProperty(P,"__esModule",{value:!0}),P.StatsigEvaluationsDataAdapter=void 0;const u=c(7317),l=c(4067);P.StatsigEvaluationsDataAdapter=class R extends u.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(w,S,L){super.attach(w,S,L),this._network=null!==L&&L instanceof l.default?L:new l.default(S??{})}getDataAsync(w,S,L){return this._getDataAsyncImpl(w,(0,u._normalizeUser)(S,this._options),L)}prefetchData(w,S){return this._prefetchDataImpl(w,S)}setData(w){const S=(0,u._typedJsonParse)(w,"has_updates","data");S&&"user"in S?super.setData(w,S.user):u.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(w,S){super.setData(w,S)}_fetchFromNetwork(w,S,L,E){return o(this,void 0,void 0,function*(){var h;return(yield null===(h=this._network)||void 0===h?void 0:h.fetchEvaluations(this._getSdkKey(),w,L?.priority,S,E))??null})}_getCacheKey(w){var S;const L=(0,u._getStorageKey)(this._getSdkKey(),w,null===(S=this._options)||void 0===S?void 0:S.customUserCacheKeyFunc);return`${u.DataAdapterCachePrefix}.${this._cacheSuffix}.${L}`}_isCachedResultValidFor204(w,S){return null!=w.fullUserHash&&w.fullUserHash===(0,u._getFullUserHash)(S)}}},6611(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.V1InitializeContainer=void 0;const o=c(7317);P.V1InitializeContainer=class u{constructor(R){this._values=R}getGate(R){return this._getResultFromLookup(this._values.feature_gates,R)}getConfig(R){return this._getResultFromLookup(this._values.dynamic_configs,R)}getLayer(R){return this._getResultFromLookup(this._values.layer_configs,R)}getParamStore(R){return this._getResultFromLookup(this._values.param_stores,R)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(R,v){var w,S;return R&&null!==(S=null!==(w=R[v])&&void 0!==w?w:R[(0,o._DJB2)(v)])&&void 0!==S?S:null}}},5752(qe,P,c){"use strict";Object.defineProperty(P,"__esModule",{value:!0}),P.V2InitializeContainer=void 0;const o=c(7317);P.V2InitializeContainer=class u{constructor(R){this._values=R}getGate(R){var v,w,S;const L=this._getResultFromLookup(this._values.feature_gates,R);return L?{name:R,value:!0===L.v,rule_id:null!==(v=L.r)&&void 0!==v?v:"default",secondary_exposures:null!==(w=L.s)&&void 0!==w?w:[],id_type:null!==(S=L.i)&&void 0!==S?S:""}:null}getConfig(R){var v,w,S,L;const E=this._getResultFromLookup(this._values.dynamic_configs,R);return E?{name:R,value:null!==(v=this._values.values[E.v])&&void 0!==v?v:{},rule_id:E.r,secondary_exposures:null!==(w=E.s)&&void 0!==w?w:[],id_type:null!==(S=E.i)&&void 0!==S?S:"",is_user_in_experiment:!0===E.ue,passed:!0===E.p,group_name:null!==(L=E.gn)&&void 0!==L?L:void 0,is_experiment_active:!0===E.ea,group:E.r,is_device_based:"stableID"===E.i}:null}getLayer(R){var v,w,S,L,E,h;const f=this._getResultFromLookup(this._values.layer_configs,R);return f?{name:R,value:null!==(v=this._values.values[f.v])&&void 0!==v?v:{},rule_id:f.r,secondary_exposures:null!==(w=f.s)&&void 0!==w?w:[],is_user_in_experiment:!0===f.ue,group_name:null!==(S=f.gn)&&void 0!==S?S:void 0,is_experiment_active:!0===f.ea,group:f.r,is_device_based:"stableID"===f.i,allocated_experiment_name:null!==(L=f.ae)&&void 0!==L?L:"",explicit_parameters:null!==(E=f.ep)&&void 0!==E?E:[],undelegated_secondary_exposures:null!==(h=f.us)&&void 0!==h?h:[],parameter_rule_ids:f.pr}:null}getParamStore(R){return this._getResultFromLookup(this._values.param_stores,R)}getConfigList(){return Object.keys(this._values.dynamic_configs)}getExposureMapping(){return this._values.exposures}_getResultFromLookup(R,v){var w,S;return R&&null!==(S=null!==(w=R[v])&&void 0!==w?w:R[(0,o._DJB2)(v)])&&void 0!==S?S:null}}},9765(qe,P,c){"use strict";var o=this&&this.__createBinding||(Object.create?function(w,S,L,E){void 0===E&&(E=L);var h=Object.getOwnPropertyDescriptor(S,L);(!h||("get"in h?!S.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return S[L]}}),Object.defineProperty(w,E,h)}:function(w,S,L,E){void 0===E&&(E=L),w[E]=S[L]}),u=this&&this.__exportStar||function(w,S){for(var L in w)"default"!==L&&!Object.prototype.hasOwnProperty.call(S,L)&&o(S,w,L)};
1Object.defineProperty(P,"__esModule",{value:!0}),P.StatsigClient=void 0;const l=c(7317),R=c(6357);P.StatsigClient=R.default,u(c(7317),P);const v=Object.assign((0,l._getStatsigGlobal)(),{StatsigClient:R.default});P.default=v},9293(qe){function P(o,u,l,R,v,w,S){try{var L=o[w](S),E=L.value}catch(h){return void l(h)}L.done?u(E):Promise.resolve(E).then(R,v)}qe.exports=function c(o){return function(){var u=this,l=arguments;return new Promise(function(R,v){var w=o.apply(u,l);function S(E){P(w,R,v,S,L,"next",E)}function L(E){P(w,R,v,S,L,"throw",E)}S(void 0)})}},qe.exports.__esModule=!0,qe.exports.default=qe.exports},8173(qe,P,c){"use strict";c.d(P,{FX:()=>V,If:()=>o,K2:()=>w,P:()=>b,PZ:()=>C,hZ:()=>l,i0:()=>R,iF:()=>S,kY:()=>h,kp:()=>u,sf:()=>A,wk:()=>L,yc:()=>N});var o=function(B){return B[B.State=0]="State",B[B.Transition=1]="Transition",B[B.Sequence=2]="Sequence",B[B.Group=3]="Group",B[B.Animate=4]="Animate",B[B.Keyframes=5]="Keyframes",B[B.Style=6]="Style",B[B.Trigger=7]="Trigger",B[B.Reference=8]="Reference",B[B.AnimateChild=9]="AnimateChild",B[B.AnimateRef=10]="AnimateRef",B[B.Query=11]="Query",B[B.Stagger=12]="Stagger",B}(o||{});const u="*";function l(B,Q){return{type:o.Trigger,name:B,definitions:Q,options:{}}}function R(B,Q=null){return{type:o.Animate,styles:Q,timings:B}}function w(B,Q=null){return{type:o.Sequence,steps:B,options:Q}}function S(B){return{type:o.Style,styles:B,offset:null}}function L(B,Q,Z){return{type:o.State,name:B,styles:Q,options:Z}}function h(B,Q,Z=null){return{type:o.Transition,expr:B,animation:Q,options:Z}}function b(B,Q,Z=null){return{type:o.Query,selector:B,animation:Q,options:Z}}function N(B,Q){return{type:o.Stagger,timings:B,animation:Q}}class A{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(Q=0,Z=0){this.totalTime=Q+Z}_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 Z="start"==Q?this._onStartFns:this._onDoneFns;Z.forEach(ce=>ce()),Z.length=0}}class C{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(Q){this.players=Q;let Z=0,ce=0,be=0;const Te=this.players.length;0==Te?queueMicrotask(()=>this._onFinish()):this.players.forEach(we=>{we.onDone(()=>{++Z==Te&&this._onFinish()}),we.onDestroy(()=>{++ce==Te&&this._onDestroy()}),we.onStart(()=>{++be==Te&&this._onStart()})}),this.totalTime=this.players.reduce((we,$e)=>Math.max(we,$e.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.forEac
vendor: 5,107 bytes, line 1
1h(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 Z=Q*this.totalTime;this.players.forEach(ce=>{const be=ce.totalTime?Math.min(1,Z/ce.totalTime):1;ce.setPosition(be)})}getPosition(){const Q=this.players.reduce((Z,ce)=>null===Z||ce.totalTime>Z.totalTime?ce:Z,null);return null!=Q?Q.getPosition():0}beforeDestroy(){this.players.forEach(Q=>{Q.beforeDestroy&&Q.beforeDestroy()})}triggerCallback(Q){const Z="start"==Q?this._onStartFns:this._onDoneFns;Z.forEach(ce=>ce()),Z.length=0}}const V="!"},6189(qe,P,c){"use strict";c.d(P,{Ai:()=>ee,GX:()=>Ct,Pd:()=>bt,Z7:()=>B,kB:()=>st,sp:()=>pt});var L=c(5547),E=c(5802),h=c(5157),f=c(7421),y=c(9867),H=c(3293),b=c(9046),N=c(1535),A=c(1230),C=c(2318);let B=(()=>{class Xe{_platform=(0,E.WQX)(f.O);constructor(){}isDisabled(rt){return rt.hasAttribute("disabled")}isVisible(rt){return function Z(Xe){return!!(Xe.offsetWidth||Xe.offsetHeight||"function"==typeof Xe.getClientRects&&Xe.getClientRects().length)}(rt)&&"visible"===getComputedStyle(rt).visibility}isTabbable(rt){if(!this._platform.isBrowser)return!1;const Pt=function Q(Xe){try{return Xe.frameElement}catch{return null}}(function et(Xe){return Xe.ownerDocument&&Xe.ownerDocument.defaultView||window}(rt));if(Pt&&(-1===Ue(Pt)||!this.isVisible(Pt)))return!1;let tn=rt.nodeName.toLowerCase(),i=Ue(rt);return rt.hasAttribute("contenteditable")?-1!==i:!("iframe"===tn||"object"===tn||this._platform.WEBKIT&&this._platform.IOS&&!function Be(Xe){let Je=Xe.nodeName.toLowerCase(),rt="input"===Je&&Xe.type;return"text"===rt||"password"===rt||"select"===Je||"textarea"===Je}(rt))&&("audio"===tn?!!rt.hasAttribute("controls")&&-1!==i:"video"===tn?-1!==i&&(null!==i||this._platform.FIREFOX||rt.hasAttribute("controls")):rt.tabIndex>=0)}isFocusable(rt,Pt){return function lt(Xe){return!function be(Xe){return function we(Xe){return"input"==Xe.nodeName.toLowerCase()}(Xe)&&"hidden"==Xe.type}(Xe)&&(function ce(Xe){let Je=Xe.nodeName.toLowerCase();return"input"===Je||"select"===Je||"button"===Je||"textarea"===Je}(Xe)||function Te(Xe){return function $e(Xe){return"a"==Xe.nodeName.toLowerCase()}(Xe)&&Xe.hasAttribute("href")}(Xe)||Xe.hasAttribute("contenteditable")||Oe(Xe))}(rt)&&!this.isDisabled(rt)&&(Pt?.ignoreVisibility||this.isVisible(rt))}static \u0275fac=function(Pt){return new(Pt||Xe)};static \u0275prov=E.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();function Oe(Xe){if(!Xe.hasAttribute("tabindex")||void 0===Xe.tabIndex)return!1;let Je=Xe.getAttribute("tabindex");return!(!Je||isNaN(parseInt(Je,10)))}function Ue(Xe){if(!Oe(Xe))return null;const Je=parseInt(Xe.getAttribute("tabindex")||"",10);return isNaN(Je)?-1:Je}class pt{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(Je){this._enabled=Je,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Je,this._startAnchor),this._toggleAnchorTabIndex(Je,this._endAnchor))}_enabled=!0;constructor(Je,rt,Pt,tn,i=!1,yt){this._element=Je,this._checker=rt,this._ngZone=Pt,this._document=tn,this._injector=yt,i||this.attachAnchors()}destroy(){const Je=this._startAnchor,rt=this._endAnchor;Je&&(Je.removeEventListener("focus",this.startAnchorListener),Je.remove()),rt&&(rt.removeEventListener("focus",this.endAnchorListener),rt.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(Je){return new Promise(rt=>{this._executeOnStable(()=>rt(this.focusInitialElement(Je)))})}focusFirstTabbableElementWhenReady(Je){return new Promise(rt=>{this._executeOnStable(()=>rt(this.focusFirstTabbableElement(Je)))})}focusLastTabbableElementWhenReady(Je){return new Promise(rt=>{this._executeOnStable(()=>rt(this.focusLastTabbableElement(Je)))})}_getRegionBoundary(Je){const rt=this._element.querySelectorAll(`[cdk-focus-region-${Je}], [cdkFocusRegion${Je}], [cdk-focus-${Je}]`);return"start"==Je?rt.length?rt[0]:this._getFirstTabbableElement(this._element):rt.length?rt[rt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Je){const rt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(rt){if(!this._checker.isFocusable(rt)){const Pt=this._getFirstTabbableElement(rt);return Pt?.focus(Je),!!Pt}return rt.focus(Je),!0}return this.focusFirstTabbableElement(Je)}
1focusFirstTabbableElement(Je){const rt=this._getRegionBoundary("start");return rt&&rt.focus(Je),!!rt}focusLastTabbableElement(Je){const rt=this._getRegionBoundary("end");return rt&&rt.focus(Je),!!rt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Je){if(this._checker.isFocusable(Je)&&this._checker.isTabbable(Je))return Je;const rt=Je.children;for(let Pt=0;Pt<rt.length;Pt++){const tn=rt[Pt].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(rt[Pt]):null;if(tn)return tn}return null}_getLastTabbableElement(Je){if(this._checker.isFocusable(Je)&&this._checker.isTabbable(Je))return Je;const rt=Je.children;for(let Pt=rt.length-1;Pt>=0;Pt--){const tn=rt[Pt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(rt[Pt]):null;if(tn)return tn}return null}_createAnchor(){const Je=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Je),Je.classList.add("cdk-visually-hidden"),Je.classList.add("cdk-focus-trap-anchor"),Je.setAttribute("aria-hidden","true"),Je}_toggleAnchorTabIndex(Je,rt){Je?rt.setAttribute("tabindex","0"):rt.removeAttribute("tabindex")}toggleAnchors(Je){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Je,this._startAnchor),this._toggleAnchorTabIndex(Je,this._endAnchor))}_executeOnStable(Je){this._injector?(0,L.mal)(Je,{injector:this._injector}):setTimeout(Je)}}let Ct=(()=>{class Xe{_checker=(0,E.WQX)(B);_ngZone=(0,E.WQX)(E.SKi);_document=(0,E.WQX)(E.qQL);_injector=(0,E.WQX)(E.zZn);constructor(){(0,E.WQX)(H.l).load(b.Yc)}create(rt,Pt=!1){return new pt(rt,this._checker,this._ngZone,this._document,Pt,this._injector)}static \u0275fac=function(Pt){return new(Pt||Xe)};static \u0275prov=E.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),st=(()=>{class Xe{_elementRef=(0,E.WQX)(L.aKT);_focusTrapFactory=(0,E.WQX)(Ct);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(rt){this.focusTrap&&(this.focusTrap.enabled=rt)}autoCapture=!1;constructor(){(0,E.WQX)(f.O).isBrowser&&(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&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(rt){const Pt=rt.autoCapture;Pt&&!Pt.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,y.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(Pt){return new(Pt||Xe)};static \u0275dir=L.FsC({type:Xe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",h.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",h.L39]},exportAs:["cdkTrapFocus"],features:[L.OA$]})}return Xe})();const se=new E.nKC("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),me=new E.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Y=0,ee=(()=>{class Xe{_ngZone=(0,E.WQX)(E.SKi);_defaultOptions=(0,E.WQX)(me,{optional:!0});_liveElement;_document=(0,E.WQX)(E.qQL);_sanitizer=(0,E.WQX)(A.up);_previousTimeout;_currentPromise;_currentResolve;constructor(){const rt=(0,E.WQX)(se,{optional:!0});this._liveElement=rt||this._createLiveElement()}announce(rt,...Pt){const tn=this._defaultOptions;let i,yt;return 1===Pt.length&&"number"==typeof Pt[0]?yt=Pt[0]:[i,yt]=Pt,this.clear(),clearTimeout(this._previousTimeout),i||(i=tn&&tn.politeness?tn.politeness:"polite"),null==yt&&tn&&(yt=tn.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ut=>this._currentResolve=Ut)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{rt&&"string"!=typeof rt?(0,b.Z9)(this._liveElement,rt,this._sanitizer):this._liveElement.textContent=rt,"number"==typeof yt&&(this._previousTimeout=setTimeout(()=>this.clear(),yt)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const rt="cdk-live-announcer-element",Pt=this._document.getElementsByClassName(rt),tn=this._document.createElement("div");for(let i=0;i<Pt.length;i++)Pt[i].remove();return tn.classList.add(rt),tn.classList.add("cdk-visually-hidden"),tn.setAttribute("aria-atomic","true"),tn.setAttribute("aria-live","polite"),tn.id="cdk-live-announcer-"+Y++,this._document.body.appendChild(tn),tn}_exposeAnnouncerToModals(rt){const Pt=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let tn=0;tn<Pt.length;tn++){const i=Pt[tn],yt=i.getAttribute("aria-owns");yt?-1===yt.indexOf(rt)&&i.setAttribute("aria-owns",yt+" "+rt):i.setAttribute("aria-owns",rt)}}static \u0275fac=function(Pt){return new(Pt||Xe)};static \u0275prov=E.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();var ye=function(Xe){return Xe[Xe.NONE=0]="NONE",Xe[Xe.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Xe[Xe.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Xe}(ye||{});const ge="cdk-high-contrast-black-on-white",Ne="cdk-high-contrast-white-on-black",je="c
1dk-high-contrast-active";let tt=(()=>{class Xe{_platform=(0,E.WQX)(f.O);_hasCheckedHighContrastMode=!1;_document=(0,E.WQX)(E.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,E.WQX)(N.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ye.NONE;const rt=this._document.createElement("div");rt.style.backgroundColor="rgb(1,2,3)",rt.style.position="absolute",this._document.body.appendChild(rt);const Pt=this._document.defaultView||window,tn=Pt&&Pt.getComputedStyle?Pt.getComputedStyle(rt):null,i=(tn&&tn.backgroundColor||"").replace(/ /g,"");switch(rt.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ye.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ye.BLACK_ON_WHITE}return ye.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const rt=this._document.body.classList;rt.remove(je,ge,Ne),this._hasCheckedHighContrastMode=!0;const Pt=this.getHighContrastMode();Pt===ye.BLACK_ON_WHITE?rt.add(je,ge):Pt===ye.WHITE_ON_BLACK&&rt.add(je,Ne)}}static \u0275fac=function(Pt){return new(Pt||Xe)};static \u0275prov=E.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),bt=(()=>{class Xe{constructor(){(0,E.WQX)(tt)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Pt){return new(Pt||Xe)};static \u0275mod=L.$C({type:Xe});static \u0275inj=E.G2t({imports:[C.w5]})}return Xe})()},7523(qe,P,c){"use strict";function o(u){return Array.isArray(u)?u:[u]}c.d(P,{F:()=>o})},1535(qe,P,c){"use strict";c.d(P,{D:()=>C,Q:()=>Q});var o=c(5802),u=c(5547),l=c(1985),R=c(1413),v=c(4572),w=c(8793),S=c(152),L=c(6354),E=c(5245),h=c(9172),f=c(6697),y=c(6977),H=c(7421),b=c(7523);const N=new Set;let A,C=(()=>{class ce{_platform=(0,o.WQX)(H.O);_nonce=(0,o.WQX)(u.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):B}matchMedia(Te){return(this._platform.WEBKIT||this._platform.BLINK)&&function V(ce,be){if(!N.has(ce))try{A||(A=document.createElement("style"),be&&A.setAttribute("nonce",be),A.setAttribute("type","text/css"),document.head.appendChild(A)),A.sheet&&(A.sheet.insertRule(`@media ${ce} {body{ }}`,0),N.add(ce))}catch(Te){console.error(Te)}}(Te,this._nonce),this._matchMedia(Te)}static \u0275fac=function(we){return new(we||ce)};static \u0275prov=o.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();function B(ce){return{matches:"all"===ce||""===ce,media:ce,addListener:()=>{},removeListener:()=>{}}}let Q=(()=>{class ce{_mediaMatcher=(0,o.WQX)(C);_zone=(0,o.WQX)(o.SKi);_queries=new Map;_destroySubject=new R.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Te){return Z((0,b.F)(Te)).some($e=>this._registerQuery($e).mql.matches)}observe(Te){const $e=Z((0,b.F)(Te)).map(Ue=>this._registerQuery(Ue).observable);let Oe=(0,v.z)($e);return Oe=(0,w.x)(Oe.pipe((0,f.s)(1)),Oe.pipe((0,E.i)(1),(0,S.B)(0))),Oe.pipe((0,L.T)(Ue=>{const Be={matches:!1,breakpoints:{}};return Ue.forEach(({matches:lt,query:et})=>{Be.matches=Be.matches||lt,Be.breakpoints[et]=lt}),Be}))}_registerQuery(Te){if(this._queries.has(Te))return this._queries.get(Te);const we=this._mediaMatcher.matchMedia(Te),Oe={observable:new l.c(Ue=>{const Be=lt=>this._zone.run(()=>Ue.next(lt));return we.addListener(Be),()=>{we.removeListener(Be)}}).pipe((0,h.Z)(we),(0,L.T)(({matches:Ue})=>({query:Te,matches:Ue})),(0,y.Q)(this._destroySubject)),mql:we};return this._queries.set(Te,Oe),Oe}static \u0275fac=function(we){return new(we||ce)};static \u0275prov=o.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();function Z(ce){return ce.map(be=>be.split(",")).reduce((be,Te)=>be.concat(Te)).map(be=>be.trim())}},9752(qe,P,c){"use strict";c.d(P,{dS:()=>v});var o=c(5802);const u=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:()=>(0,o.WQX)(o.qQL)}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let v=(()=>{class w{get value(){return this.valueSignal()}valueSignal=(0,o.vPA)("ltr");change=new o.bkB;constructor(){const L=(0,o.WQX)(u,{optional:!0});L&&this.valueSignal.set(function R(w){const S=w?.toLowerCase()||"";return"auto"===S&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===S?"rtl":"ltr"}((L.body?L.body.dir:null)||(L.documentElement?L.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(E){return new(E||w)};static \u0275prov=o.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},7384(qe,P,c){"use strict";c.d(P,{OE:()=>u,i8:()=>R,o1:()=>l});var o=c(5547);function u(v,w=0){return l(v)?Number(v):2===arguments.length?w:0}function l(v){return!isNaN(parseFloat(v))&&!isNaN(Number(v))}function R(v){return v instanceof o.aKT?v.nativeElement:v}},3250(qe,P,c){"use strict";function o(l){return 0===l.buttons||0===l.detail}function u(l){const R=l.touches&&l.touches[0]||l.changedTouches&&l.changedTouches[0];return!(!R||-1!==R.identifier||null!=R.radiusX&&1!==R.radiusX||null!=R.radiusY&&1!==R.radiusY)}c.d(P,{_:()=>o,w:()=>u})},6537(qe,P,c){"use strict";c.d(P,{FN:()=>be,vR:()=>Te});var o=c(5547),u=c(5802),l=c(1413),R=c(4412),v=c(7673),w=c(3294),S=c(5245),L=c(6977),E=c(3250),h=c(413),f=c(9867),y=c(7421),H=c(1539),b=c(7384);const N=new u.nKC("cdk-input-modality-detector-options"),A={ignoreKeys:[h.A$,h.W3,h.eg,h.Ge,h.FX]},V={passive:!0,capture:!0};let B=(()=>{class we{_platform=(0,u.WQX)(y.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new R.t(null);_options;_lastTouchMs=0;_onKeydown=Oe=>{this._options?.ignoreKeys?.some(Ue=>Ue===Oe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,f.Fb)(Oe))};_onMousedown=Oe=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,E._)(Oe)?"keyboard":"mouse"),this._mostRecentTarget=(0,f.Fb)(Oe))};_onTouchstart=Oe=>{(0,E.w)(Oe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,f.Fb)(Oe))};constructor(){const Oe=(0,u.WQX)(u.SKi),Ue=(0,u.WQX)(u.qQL),Be=(0,u.WQX)(N,{optional:!0});if(this._options={...A,...Be},this.modalityDetected=this._modality.pipe((0,S.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,w.F)()),this._platform.isBrowser){const lt=(0,u.WQX)(o._9s).createRenderer(null,null);this._listenerCleanups=Oe.runOutsideAngular(()=>[lt.listen(Ue,"keydown",this._onKeydown,V),lt.listen(Ue,"mousedown",this._onMousedown,V),lt.listen(Ue,"touchstart",this._onTouchstart,V)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(Oe=>Oe())}static \u0275fac=function(Ue){return new(Ue||we)};static \u0275prov=u.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();
vendor: 6,921 bytes, line 1
1var Q=function(we){return we[we.IMMEDIATE=0]="IMMEDIATE",we[we.EVENTUAL=1]="EVENTUAL",we}(Q||{});const Z=new u.nKC("cdk-focus-monitor-default-options"),ce=(0,H.B)({passive:!0,capture:!0});let be=(()=>{class we{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(y.O);_inputModalityDetector=(0,u.WQX)(B);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,u.WQX)(u.qQL);_stopInputModalityDetector=new l.B;constructor(){const Oe=(0,u.WQX)(Z,{optional:!0});this._detectionMode=Oe?.detectionMode||Q.IMMEDIATE}_rootNodeFocusAndBlurListener=Oe=>{for(let Be=(0,f.Fb)(Oe);Be;Be=Be.parentElement)"focus"===Oe.type?this._onFocus(Oe,Be):this._onBlur(Oe,Be)};monitor(Oe,Ue=!1){const Be=(0,b.i8)(Oe);if(!this._platform.isBrowser||1!==Be.nodeType)return(0,v.of)();const lt=(0,f.KT)(Be)||this._document,et=this._elementInfo.get(Be);if(et)return Ue&&(et.checkChildren=!0),et.subject;const pt={checkChildren:Ue,subject:new l.B,rootNode:lt};return this._elementInfo.set(Be,pt),this._registerGlobalListeners(pt),pt.subject}stopMonitoring(Oe){const Ue=(0,b.i8)(Oe),Be=this._elementInfo.get(Ue);Be&&(Be.subject.complete(),this._setClasses(Ue),this._elementInfo.delete(Ue),this._removeGlobalListeners(Be))}focusVia(Oe,Ue,Be){const lt=(0,b.i8)(Oe);lt===this._document.activeElement?this._getClosestElementsInfo(lt).forEach(([pt,Ct])=>this._originChanged(pt,Ue,Ct)):(this._setOrigin(Ue),"function"==typeof lt.focus&<.focus(Be))}ngOnDestroy(){this._elementInfo.forEach((Oe,Ue)=>this.stopMonitoring(Ue))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(Oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Oe&&this._isLastInteractionFromInputLabel(Oe)?"mouse":"program"}_shouldBeAttributedToTouch(Oe){return this._detectionMode===Q.EVENTUAL||!!Oe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Oe,Ue){Oe.classList.toggle("cdk-focused",!!Ue),Oe.classList.toggle("cdk-touch-focused","touch"===Ue),Oe.classList.toggle("cdk-keyboard-focused","keyboard"===Ue),Oe.classList.toggle("cdk-mouse-focused","mouse"===Ue),Oe.classList.toggle("cdk-program-focused","program"===Ue)}_setOrigin(Oe,Ue=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Oe,this._originFromTouchInteraction="touch"===Oe&&Ue,this._detectionMode===Q.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Oe,Ue){const Be=this._elementInfo.get(Ue),lt=(0,f.Fb)(Oe);!Be||!Be.checkChildren&&Ue!==lt||this._originChanged(Ue,this._getFocusOrigin(lt),Be)}_onBlur(Oe,Ue){const Be=this._elementInfo.get(Ue);!Be||Be.checkChildren&&Oe.relatedTarget instanceof Node&&Ue.contains(Oe.relatedTarget)||(this._setClasses(Ue),this._emitOrigin(Be,null))}_emitOrigin(Oe,Ue){Oe.subject.observers.length&&this._ngZone.run(()=>Oe.subject.next(Ue))}_registerGlobalListeners(Oe){if(!this._platform.isBrowser)return;const Ue=Oe.rootNode,Be=this._rootNodeFocusListenerCount.get(Ue)||0;Be||this._ngZone.runOutsideAngular(()=>{Ue.addEventListener("focus",this._rootNodeFocusAndBlurListener,ce),Ue.addEventListener("blur",this._rootNodeFocusAndBlurListener,ce)}),this._rootNodeFocusListenerCount.set(Ue,Be+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,L.Q)(this._stopInputModalityDetector)).subscribe(lt=>{this._setOrigin(lt,!0)}))}_removeGlobalListeners(Oe){const Ue=Oe.rootNode;if(this._rootNodeFocusListenerCount.has(Ue)){const Be=this._rootNodeFocusListenerCount.get(Ue);Be>1?this._rootNodeFocusListenerCount.set(Ue,Be-1):(Ue.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ce),Ue.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ce),this._rootNodeFocusListenerCount.delete(Ue))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Oe,Ue,Be){this._setClasses(Oe,Ue),this._emitOrigin(Be,Ue),this._lastFocusOrigin=Ue}_getClosestElementsInfo(Oe){const Ue=[];return this._elementInfo.forEach((Be,lt)=>{(lt===Oe||Be.checkChildren&<.contains(Oe))&&Ue.push([lt,Be])}),Ue}_isLastInteractionFromInputLabel(Oe){const{_mostRecentTarget:Ue,mostRecentModality:Be}=this._inputModalityDetector;if("mouse"!==Be||!Ue||Ue===Oe||"INPUT"!==Oe.nodeName&&"TEXTAREA"!==Oe.nodeName||Oe.disabled)return!1;const lt=Oe.labels;if(lt)for(let et=0;et<lt.length;et++)if(lt[et].contains(Ue))return!0;return!1}static \u0275fac=function(Ue){return new(Ue||we)};static \u0275prov=u.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Te=(()=>{class we{_elementRef=(0,u.WQX)(o.aKT);_focusMonitor=(0,u.WQX)(be);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new u.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Oe,1===Oe.nodeType&&Oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ue=>{this._focusOrigin=Ue,this.cdkFocusChange.emit(Ue)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(Ue){return new(Ue||we)};static \u0275dir=o.FsC({type:we,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return we})()},3531(qe,P,c){"use strict";c.d(P,{g:()=>R});var o=c(5802),u=c(5547);const l={};class R{_appId=(0,o.WQX)(u.sZ2);static _infix=`a${Math.floor(1e5*Math.random()).toString()}`;getId(w,S=!1){return"ng"!==this._appId&&(w+=this._appId),l.hasOwnProperty(w)||(l[w]=0),`${w}${S?R._infix+"-":""}${l[w]++}`}static \u0275fac=function(S){return new(S||R)};static \u0275prov=o.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}},413(qe,P,c){"use strict";c.d(P,{A:()=>fe,A$:()=>L,FX:()=>w,Fm:()=>v,Ge:()=>gt,Kp:()=>N,LE:()=>B,UQ:()=>C,W3:()=>S,Z:()=>ct,_f:()=>f,bn:()=>st,dB:()=>b,eg:()=>Ft,f2:()=>we,i7:()=>V,n6:()=>Q,t6:()=>y,w_:()=>H,wn:()=>l,yZ:()=>A});const l=9,v=13,w=16,S=17,L=18,f=27,y=32,H=33,b=34,N=35,A=36,C=37,V=38,B=39,Q=40,we=48,st=57,fe=65,ct=90,gt=91,Ft=224},3132(qe,P,c){"use strict";c.d(P,{l:()=>L});var o=c(5547),u=c(5802),l=c(1413),R=c(8359),v=c(4775),w=c(7336),S=c(413);class L{_items;_activeItemIndex=(0,u.vPA)(-1);_activeItem=(0,u.vPA)(null);_wrap=!1;
1_typeaheadSubscription=R.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=h=>h.disabled;constructor(h,f){this._items=h,h instanceof o.rOR?this._itemChangesSubscription=h.changes.subscribe(y=>this._itemsChanged(y.toArray())):(0,o.Hps)(h)&&(this._effectRef=(0,u.QZP)(()=>this._itemsChanged(h()),{injector:f}))}tabOut=new l.B;change=new l.B;skipPredicate(h){return this._skipPredicateFn=h,this}withWrap(h=!0){return this._wrap=h,this}withVerticalOrientation(h=!0){return this._vertical=h,this}withHorizontalOrientation(h){return this._horizontal=h,this}withAllowedModifierKeys(h){return this._allowedModifierKeys=h,this}withTypeAhead(h=200){this._typeaheadSubscription.unsubscribe();const f=this._getItemsArray();return this._typeahead=new v.i(f,{debounceInterval:"number"==typeof h?h:void 0,skipPredicate:y=>this._skipPredicateFn(y)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(y=>{this.setActiveItem(y)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(h=!0){return this._homeAndEnd=h,this}withPageUpDown(h=!0,f=10){return this._pageUpAndDown={enabled:h,delta:f},this}setActiveItem(h){const f=this._activeItem();this.updateActiveItem(h),this._activeItem()!==f&&this.change.next(this._activeItemIndex())}onKeydown(h){const f=h.keyCode,H=["altKey","ctrlKey","metaKey","shiftKey"].every(b=>!h[b]||this._allowedModifierKeys.indexOf(b)>-1);switch(f){case S.wn:return void this.tabOut.next();case S.n6:if(this._vertical&&H){this.setNextItemActive();break}return;case S.i7:if(this._vertical&&H){this.setPreviousItemActive();break}return;case S.LE:if(this._horizontal&&H){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case S.UQ:if(this._horizontal&&H){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case S.yZ:if(this._homeAndEnd&&H){this.setFirstItemActive();break}return;case S.Kp:if(this._homeAndEnd&&H){this.setLastItemActive();break}return;case S.w_:if(this._pageUpAndDown.enabled&&H){const b=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(b>0?b:0,1);break}return;case S.dB:if(this._pageUpAndDown.enabled&&H){const b=this._activeItemIndex()+this._pageUpAndDown.delta,N=this._getItemsArray().length;this._setActiveItemByIndex(b<N?b:N-1,-1);break}return;default:return void((H||(0,w.rp)(h,"shiftKey"))&&this._typeahead?.handleKey(h))}this._typeahead?.reset(),h.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(h){const f=this._getItemsArray(),y="number"==typeof h?h:f.indexOf(h);this._activeItem.set(f[y]??null),this._activeItemIndex.set(y),this._typeahead?.setCurrentSelectedItemIndex(y)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(h){this._wrap?this._setActiveInWrapMode(h):this._setActiveInDefaultMode(h)}_setActiveInWrapMode(h){const f=this._getItemsArray();for(let y=1;y<=f.length;y++){const H=(this._activeItemIndex()+h*y+f.length)%f.length;if(!this._skipPredicateFn(f[H]))return void this.setActiveItem(H)}}_setActiveInDefaultMode(h){this._setActiveItemByIndex(this._activeItemIndex()+h,h)}_setActiveItemByIndex(h,f){const y=this._getItemsArray();if(y[h]){for(;this._skipPredicateFn(y[h]);)if(!y[h+=f])return;this.setActiveItem(h)}}_getItemsArray(){return(0,o.Hps)(this._items)?this._items():this._items instanceof o.rOR?this._items.toArray():this._items}_itemsChanged(h){this._typeahead?.setItems(h);const f=this._activeItem();if(f){const y=h.indexOf(f);y>-1&&y!==this._activeItemIndex()&&(this._activeItemIndex.set(y),this._typeahead?.setCurrentSelectedItemIndex(y))}}}},5820(qe,P,c){"use strict";c.d(P,{WB:()=>hn,$Q:()=>Cr,rW:()=>or,ao:()=>dn,rR:()=>ee,Sf:()=>Pt,z_:()=>Kn,yY:()=>yt,gA:()=>$e,$M:()=>un,uA:()=>ct,Y$:()=>In,RH:()=>se});var o=c(5802),u=c(5547),l=c(5157),R=c(5984),v=c(7421),w=c(9867);function S(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Moc
vendor: 10,362 bytes, line 1
1ha}var L=c(3293),E=c(1413),h=c(8359);function f(xe){return null==xe?"":"string"==typeof xe?xe:`${xe}px`}var y=c(7523),H=c(5478),b=c(7249),N=c(5964),A=c(9974),C=c(4360),B=c(3531),Q=c(9752),Z=c(6939),ce=c(413),be=c(7336),Te=c(8203);const we=(0,b.CZ)();function $e(xe){return new Oe(xe.get(H.Xj),xe.get(o.qQL))}class Oe{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(ve,Fe){this._viewportRuler=ve,this._document=Fe}attach(){}enable(){if(this._canBeEnabled()){const ve=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ve.style.left||"",this._previousHTMLStyles.top=ve.style.top||"",ve.style.left=f(-this._previousScrollPosition.left),ve.style.top=f(-this._previousScrollPosition.top),ve.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ve=this._document.documentElement,He=ve.style,mt=this._document.body.style,Rt=He.scrollBehavior||"",Qt=mt.scrollBehavior||"";this._isEnabled=!1,He.left=this._previousHTMLStyles.left,He.top=this._previousHTMLStyles.top,ve.classList.remove("cdk-global-scrollblock"),we&&(He.scrollBehavior=mt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),we&&(He.scrollBehavior=Rt,mt.scrollBehavior=Qt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Fe=this._document.documentElement,He=this._viewportRuler.getViewportSize();return Fe.scrollHeight>He.height||Fe.scrollWidth>He.width}}class lt{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(ve,Fe,He,mt){this._scrollDispatcher=ve,this._ngZone=Fe,this._viewportRuler=He,this._config=mt}attach(ve){this._overlayRef=ve}enable(){if(this._scrollSubscription)return;const ve=this._scrollDispatcher.scrolled(0).pipe((0,N.p)(Fe=>!Fe||!this._overlayRef.overlayElement.contains(Fe.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ve.subscribe(()=>{const Fe=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Fe-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ve.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class pt{enable(){}disable(){}attach(){}}function Ct(xe,ve){return ve.some(Fe=>xe.bottom<Fe.top||xe.top>Fe.bottom||xe.right<Fe.left||xe.left>Fe.right)}function st(xe,ve){return ve.some(Fe=>xe.top<Fe.top||xe.bottom>Fe.bottom||xe.left<Fe.left||xe.right>Fe.right)}function se(xe,ve){return new me(xe.get(H.R),xe.get(H.Xj),xe.get(o.SKi),ve)}class me{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(ve,Fe,He,mt){this._scrollDispatcher=ve,this._viewportRuler=Fe,this._ngZone=He,this._config=mt}attach(ve){this._overlayRef=ve}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Fe=this._overlayRef.overlayElement.getBoundingClientRect(),{width:He,height:mt}=this._viewportRuler.getViewportSize();Ct(Fe,[{width:He,height:mt,bottom:mt,right:He,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Y=(()=>{class xe{_injector=(0,o.WQX)(o.zZn);constructor(){}noop=()=>new pt;close=Fe=>function Be(xe,ve){return new lt(xe.get(H.R),xe.get(o.SKi),xe.get(H.Xj),ve)}(this._injector,Fe);block=()=>$e(this._injector);reposition=Fe=>se(this._injector,Fe);static \u0275fac=function(He){return new(He||xe)};static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();class ee{positionStrategy;scrollStrategy=new pt;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(ve){if(ve){const Fe=Object.keys(ve);for(const He of Fe)void 0!==ve[He]&&(this[He]=ve[He])}}}class ge{connectionPair;scrollableViewProperties;constructor(ve,Fe){this.connectionPair=ve,this.scrollableViewProperties=Fe}}let tt=(()=>{class xe{_attachedOverlays=[];_document=(0,o.WQX)(o.qQL);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(Fe){this.remove(Fe),this._attachedOverlays.push(Fe)}remove(Fe){const He=this._attachedOverlays.indexOf(Fe);He>-1&&this._attachedOverlays.splice(He,1),0===this._attachedOverlays.length&&this.detach()}canReceiveEvent(Fe,He,mt){return!(mt.observers.length<1)&&(!Fe.eventPredicate||Fe.eventPredicate(He))}static \u0275fac=function(He){return new(He||xe)};static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})(),bt=(()=>{class xe extends tt{_ngZone=(0,o.WQX)(o.SKi);_renderer=(0,o.WQX)(u._9s).createRenderer(null,null);_cleanupKeydown;add(Fe){super.add(Fe),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=Fe=>{const He=this._attachedOverlays;for(let mt=He.length-1;mt>-1;mt--){const Rt=He[mt];if(this.canReceiveEvent(Rt,Fe,Rt._keydownEvents)){this._ngZone.run(()=>Rt._keydownEvents.next(Fe));break}}};static \u0275fac=(()=>{let Fe;return function(mt){return(Fe||(Fe=u.xGo(xe)))(mt||xe)}})();static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})(),Xe=(()=>{class xe extends tt{_platform=(0,o.WQX)(v.O);_ngZone=(0,o.WQX)(o.SKi);_renderer=(0,o.WQX)(u._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(Fe){if(super.add(Fe),!this._isAttached){const He=this._document.body,mt={capture:!0},Rt=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[Rt.listen(He,"pointerdown",this._pointerDownListener,mt),Rt.listen(He,"click",this._clickListener,mt),Rt.listen(He,"auxclick",this._clickListener,mt),Rt.listen(He,"contextmenu",this._clickListener,mt)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=He.style.cursor,He.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(Fe=>Fe()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=Fe=>{this._pointerDownEventTarget=(0,w.Fb)(Fe)};_clickListener=Fe=>{const He=(0,w.Fb)(Fe),mt="click"===Fe.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:He;this._pointerDownEventTarget=null;const Rt=this._attachedOverlays.slice();for(let Qt=Rt.length-1;Qt>-1;Qt--){const sn=Rt[Qt],An=sn._outsidePointerEvents;if(sn.hasAttached()&&this.canReceiveEvent(sn,Fe,An)){if(Je(sn.overlayElement,He)||Je(sn.overlayElement,mt))break;this._ngZone?this._ngZone.run(()=>An.next(Fe)):An.next(Fe)}}};static \u0275fac=(()=>{let Fe;return function(mt){return(Fe||(Fe=u.xGo(xe)))(mt||xe)}})();static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();function Je(xe,ve){const Fe=typeof ShadowRoot<"u"&&ShadowRoot;let He=ve;for(;He;){if(He===xe)return!0;He=Fe&&He instanceof ShadowRoot?He.host:He.parentNode}return!1}let rt=(()=>{class xe{static \u0275fac=function(He){return new(He||xe)};static \u0275cmp=u.VBU({type:xe,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(He,mt){},styles:[".cdk-overlay-container, .cdk-global-overlay-wrapper {\n pointer-events: none;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n\n.cdk-overlay-container {\n position: fixed;\n}\n@layer cdk-overlay {\n .cdk-overlay-container {\n z-index: 1000;\n }\n}\n.cdk-overlay-container:empty {\n display: none;\n}\n\n.cdk-global-overlay-wrapper {\n display: flex;\n position: absolute;\n}\n@layer cdk-overlay {\n .cdk-global-overlay-wrapper {\n z-index: 1000;\n }\n}\n\n.cdk-overlay-pane {\n position: absolute;\n pointer-events: auto;\n box-sizing: border-box;\n display: flex;\n max-width: 100%;\n max-height: 100%;\n}\n@layer cdk-overlay {\n .cdk-overlay-pane {\n z-index: 1000;\n }\n}\n\n.cdk-overlay-backdrop {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n pointer-events: auto;\n -webkit-tap-highlight-color: transparent;\n opacity: 0;\n touch-action: manipulation;\n}\n@layer cdk-overlay {\n .cdk-overlay-backdrop {\n z-index: 1000;\n transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n }\n}\n@media (prefers-reduced-motion) {\n .cdk-overlay-backdrop {\n transition-duration: 1ms;\n }\n}\n\n.cdk-overlay-backdrop-showing {\n opacity: 1;\n}\n@media (forced-colors: active) {\n .cdk-overlay-backdrop-showing {\n opacity: 0.6;\n }\n}\n\n@layer cdk-overlay {\n .cdk-overlay-dark-backdrop {\n background: rgba(0, 0, 0, 0.32);\n }\n}\n\n.cdk-overlay-transparent-backdrop {\n transition: visibility 1ms linear, opacity 1ms linear;\n visibility: hidden;\n opacity: 1;\n}\n.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {\n opacity: 0;\n visibility: visible;\n}\n\n.cdk-overlay-backdrop-noop-animation {\n transition: none;\n}\n\n.cdk-overlay-connected-position-bounding-box {\n position: absolute;\n display: flex;\n flex-direction: column;\n min-width: 1px;\n min-height: 1px;\n}\n@layer cdk-overlay {\n .cdk-overlay-connected-position-bounding-box {\n z-index: 1000;\n }\n}\n\n.cdk-global-scrollblock {\n position: fixed;\n width: 100%;
1\n overflow-y: scroll;\n}\n\n.cdk-overlay-popover {\n background: none;\n border: none;\n padding: 0;\n outline: 0;\n overflow: visible;\n position: fixed;\n pointer-events: none;\n white-space: normal;\n color: inherit;\n text-decoration: none;\n width: 100%;\n height: 100%;\n inset: auto;\n top: 0;\n left: 0;\n}\n.cdk-overlay-popover::backdrop {\n display: none;\n}\n.cdk-overlay-popover .cdk-overlay-backdrop {\n position: fixed;\n z-index: auto;\n}\n"],encapsulation:2,changeDetection:0})}return xe})(),Pt=(()=>{class xe{_platform=(0,o.WQX)(v.O);_containerElement;_document=(0,o.WQX)(o.qQL);_styleLoader=(0,o.WQX)(L.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Fe="cdk-overlay-container";if(this._platform.isBrowser||S()){const mt=this._document.querySelectorAll(`.${Fe}[platform="server"], .${Fe}[platform="test"]`);for(let Rt=0;Rt<mt.length;Rt++)mt[Rt].remove()}const He=this._document.createElement("div");He.classList.add(Fe),S()?He.setAttribute("platform","test"):this._platform.isBrowser||He.setAttribute("platform","server"),this._document.body.appendChild(He),this._containerElement=He}_loadStyles(){this._styleLoader.load(rt)}static \u0275fac=function(He){return new(He||xe)};static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();class tn{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(ve,Fe,He,mt){this._renderer=Fe,this._ngZone=He,this.element=ve.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=Fe.listen(this.element,"click",mt)}detach(){this._ngZone.runOutsideAngular(()=>{const ve=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(ve,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),ve.style.pointerEvents="none",ve.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}function i(xe){return xe&&1===xe.nodeType}class yt{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new E.B;_attachments=new E.B;_detachments=new E.B;_positionStrategy;_scrollStrategy;_locationChanges=h.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new E.B;_outsidePointerEvents=new E.B;_afterNextRenderRef;constructor(ve,Fe,He,mt,Rt,Qt,sn,An,Ln,mn=!1,Hn,ar){this._portalOutlet=ve,this._host=Fe,this._pane=He,this._config=mt,this._ngZone=Rt,this._keyboardDispatcher=Qt,this._document=sn,this._location=An,this._outsideClickDispatcher=Ln,this._animationsDisabled=mn,this._injector=Hn,this._renderer=ar,mt.scrollStrategy&&(this._scrollStrategy=mt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=mt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(ve){if(this._disposed)return null;this._attachHost();const Fe=this._portalOutlet.attach(ve);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,u.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Fe?.onDestroy&&Fe.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Fe}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ve=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ve}dispose(){if(this._disposed)return;const ve=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
vendor: 8,981 bytes, line 1
1pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,ve&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ve){ve!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ve,this.hasAttached()&&(ve.attach(this),this.updatePosition()))}updateSize(ve){this._config={...this._config,...ve},this._updateElementSize()}setDirection(ve){this._config={...this._config,direction:ve},this._updateElementDirection()}addPanelClass(ve){this._pane&&this._toggleClasses(this._pane,ve,!0)}removePanelClass(ve){this._pane&&this._toggleClasses(this._pane,ve,!1)}getDirection(){const ve=this._config.direction;return ve?"string"==typeof ve?ve:ve.value:"ltr"}updateScrollStrategy(ve){ve!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ve,this.hasAttached()&&(ve.attach(this),ve.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ve=this._pane.style;ve.width=f(this._config.width),ve.height=f(this._config.height),ve.minWidth=f(this._config.minWidth),ve.minHeight=f(this._config.minHeight),ve.maxWidth=f(this._config.maxWidth),ve.maxHeight=f(this._config.maxHeight)}_togglePointerEvents(ve){this._pane.style.pointerEvents=ve?"":"none"}_attachHost(){if(!this._host.parentElement){const ve=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;i(ve)?ve.after(this._host):"parent"===ve?.type?ve.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){const ve="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new tn(this._document,this._renderer,this._ngZone,Fe=>{this._backdropClick.next(Fe)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(ve))}):this._backdropRef.element.classList.add(ve)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(ve,Fe,He){const mt=(0,y.F)(Fe||[]).filter(Rt=>!!Rt);mt.length&&(He?ve.classList.add(...mt):ve.classList.remove(...mt))}_detachContentWhenEmpty(){let ve=!1;try{this._detachContentAfterRenderRef=(0,u.mal)(()=>{ve=!0,this._detachContent()},{injector:this._injector})}catch(Fe){if(ve)throw Fe;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const ve=this._scrollStrategy;ve?.disable(),ve?.detach?.()}}const Ut="cdk-overlay-connected-position-bounding-box",Kt=/([A-Za-z%]+)$/;function un(xe,ve){return new or(ve,xe.get(H.Xj),xe.get(o.qQL),xe.get(v.O),xe.get(Pt))}class or{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new E.B;_resizeSubscription=h.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(ve,Fe,He,mt,Rt){this._viewportRuler=Fe,this._document=He,this._platform=mt,this._overlayContainer=Rt,this.setOrigin(ve)}attach(ve){this._validatePositions(),ve.hostElement.classList.add(Ut),this._overlayRef=ve,this._boundingBox=ve.hostElement,this._pane=ve.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();const ve=this._originRect,Fe=this._overlayRect,He=this._viewportRect,mt=this._containerRect,Rt=[];let Qt;for(let sn of this._preferredPositions){let An=this._getOriginPoint(ve,mt,sn),Ln=this._getOverlayPoint(An,Fe,sn),mn=this._getOverlayFit(Ln,Fe,He,sn);if(mn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(sn,An);this._canFitWithFlexibleDimensions(mn,Ln,He)?Rt.push({position:sn,origin:An,overlayRect:Fe,boundingBoxRect:this._calculateBoundingBoxRect(An,sn)}):(!Qt||Qt.overlayFit.visibleArea<mn.visibleArea)&&(Qt={overlayFit:mn,overlayPoint:Ln,originPoint:An,position:sn,overlayRect:Fe})}if(Rt.length){let sn=null,An=-1;for(const Ln of Rt){const mn=Ln.boundingBoxRect.width*Ln.boundingBoxRect.height*(Ln.position.weight||1);mn>An&&(An=mn,sn=Ln)}return this._isPushed=!1,void this._applyPosition(sn.position,sn.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Qt.position,Qt.originPoint);this._applyPosition(Qt.position,Qt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_n(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ut),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ve=this._lastPosition;ve?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(ve,this._getOriginPoint(this._originRect,this._containerRect,ve))):this.apply()}withScrollableContainers(ve){return this._scrollables=ve,this}withPositions(ve){return this._preferredPositions=ve,-1===ve.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ve){return this._viewportMargin=ve,this}withFlexibleDimensions(ve=!0){return this._hasFlexibleDimensions=ve,this}withGrowAfterOpen(ve=!0){return this._growAfterOpen=ve,this}withPush(ve=!0){return this._canPush=ve,this}withLockedPosition(ve=!0){return this._positionLocked=ve,this}setOrigin(ve){return this._origin=ve,this}withDefaultOffsetX(ve){return this._offsetX=ve,this}withDefaultOffsetY(ve){return this._offsetY=ve,this}withTransformOriginOn(ve){return this._transformOriginSelector=ve,this}withPopoverLocation(ve){return this._popoverLocation=ve,this}getPopoverInsertionPoint(){return"global"===this._popoverLocation?null:"inl
1ine"!==this._popoverLocation?this._popoverLocation:this._origin instanceof u.aKT?this._origin.nativeElement:i(this._origin)?this._origin:null}_getOriginPoint(ve,Fe,He){let mt,Rt;if("center"==He.originX)mt=ve.left+ve.width/2;else{const Qt=this._isRtl()?ve.right:ve.left,sn=this._isRtl()?ve.left:ve.right;mt="start"==He.originX?Qt:sn}return Fe.left<0&&(mt-=Fe.left),Rt="center"==He.originY?ve.top+ve.height/2:"top"==He.originY?ve.top:ve.bottom,Fe.top<0&&(Rt-=Fe.top),{x:mt,y:Rt}}_getOverlayPoint(ve,Fe,He){let mt,Rt;return mt="center"==He.overlayX?-Fe.width/2:"start"===He.overlayX?this._isRtl()?-Fe.width:0:this._isRtl()?0:-Fe.width,Rt="center"==He.overlayY?-Fe.height/2:"top"==He.overlayY?0:-Fe.height,{x:ve.x+mt,y:ve.y+Rt}}_getOverlayFit(ve,Fe,He,mt){const Rt=Sn(Fe);let{x:Qt,y:sn}=ve,An=this._getOffset(mt,"x"),Ln=this._getOffset(mt,"y");An&&(Qt+=An),Ln&&(sn+=Ln);let ar=0-sn,lr=sn+Rt.height-He.height,fr=this._subtractOverflows(Rt.width,0-Qt,Qt+Rt.width-He.width),gr=this._subtractOverflows(Rt.height,ar,lr),Rr=fr*gr;return{visibleArea:Rr,isCompletelyWithinViewport:Rt.width*Rt.height===Rr,fitsInViewportVertically:gr===Rt.height,fitsInViewportHorizontally:fr==Rt.width}}_canFitWithFlexibleDimensions(ve,Fe,He){if(this._hasFlexibleDimensions){const mt=He.bottom-Fe.y,Rt=He.right-Fe.x,Qt=cr(this._overlayRef.getConfig().minHeight),sn=cr(this._overlayRef.getConfig().minWidth);return(ve.fitsInViewportVertically||null!=Qt&&Qt<=mt)&&(ve.fitsInViewportHorizontally||null!=sn&&sn<=Rt)}return!1}_pushOverlayOnScreen(ve,Fe,He){if(this._previousPushAmount&&this._positionLocked)return{x:ve.x+this._previousPushAmount.x,y:ve.y+this._previousPushAmount.y};const mt=Sn(Fe),Rt=this._viewportRect,Qt=Math.max(ve.x+mt.width-Rt.width,0),sn=Math.max(ve.y+mt.height-Rt.height,0),An=Math.max(Rt.top-He.top-ve.y,0),Ln=Math.max(Rt.left-He.left-ve.x,0);let mn=0,Hn=0;return mn=mt.width<=Rt.width?Ln||-Qt:ve.x<this._getViewportMarginStart()?Rt.left-He.left-ve.x:0,Hn=mt.height<=Rt.height?An||-sn:ve.y<this._getViewportMarginTop()?Rt.top-He.top-ve.y:0,this._previousPushAmount={x:mn,y:Hn},{x:ve.x+mn,y:ve.y+Hn}}_applyPosition(ve,Fe){if(this._setTransformOrigin(ve),this._setOverlayElementStyles(Fe,ve),this._setBoundingBoxStyles(Fe,ve),ve.panelClass&&this._addPanelClasses(ve.panelClass),this._positionChanges.observers.length){const He=this._getScrollVisibility();if(ve!==this._lastPosition||!this._lastScrollVisibility||!function hr(xe,ve){return xe===ve||xe.isOriginClipped===ve.isOriginClipped&&xe.isOriginOutsideView===ve.isOriginOutsideView&&xe.isOverlayClipped===ve.isOverlayClipped&&xe.isOverlayOutsideView===ve.isOverlayOutsideView}(this._lastScrollVisibility,He)){const mt=new ge(ve,He);this._positionChanges.next(mt)}this._lastScrollVisibility=He}this._lastPosition=ve,this._isInitialRender=!1}_setTransformOrigin(ve){if(!this._transformOriginSelector)return;const Fe=this._boundingBox.querySelectorAll(this._transformOriginSelector);let He,mt=ve.overlayY;He="center"===ve.overlayX?"center":this._isRtl()?"start"===ve.overlayX?"right":"left":"start"===ve.overlayX?"left":"right";for(let Rt=0;Rt<Fe.length;Rt++)Fe[Rt].style.transformOrigin=`${He} ${mt}`}_calculateBoundingBoxRect(ve,Fe){const He=this._viewportRect,mt=this._isRtl();let Rt,Qt,sn;if("top"===Fe.overlayY)Qt=ve.y,Rt=He.height-Qt+this._getViewportMarginBottom();else if("bottom"===Fe.overlayY)sn=He.height-ve.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),Rt=He.height-sn+this._getViewportMarginTop();else{const lr=Math.min(He.bottom-ve.y+He.top,ve.y),fr=this._lastBoundingBoxSize.height;Rt=2*lr,Qt=ve.y-lr,Rt>fr&&!this._isInitialRender&&!this._growAfterOpen&&(Qt=ve.y-fr/2)}const An="start"===Fe.overlayX&&!mt||"end"===Fe.overlayX&&mt;let mn,Hn,ar;if("end"===Fe.overlayX&&!mt||"start"===Fe.overlayX&&mt)ar=He.width-ve.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),mn=ve.x-this._getViewportMarginStart();else if(An)Hn=ve.x,mn=He.right-ve.x-this._getViewportMarginEnd();else{const lr=Math.min(He.right-ve.x+He.left,ve.x),fr=this._lastBoundingBoxSize.width;mn=2*lr,Hn=ve.x-lr,mn>fr&&!this._isInitialRender&&!this._growAfterOpen&&(Hn=ve.x-fr/2)}
vendor: 6,702 bytes, line 1
1return{top:Qt,left:Hn,bottom:sn,right:ar,width:mn,height:Rt}}_setBoundingBoxStyles(ve,Fe){const He=this._calculateBoundingBoxRect(ve,Fe);!this._isInitialRender&&!this._growAfterOpen&&(He.height=Math.min(He.height,this._lastBoundingBoxSize.height),He.width=Math.min(He.width,this._lastBoundingBoxSize.width));const mt={};if(this._hasExactPosition())mt.top=mt.left="0",mt.bottom=mt.right="auto",mt.maxHeight=mt.maxWidth="",mt.width=mt.height="100%";else{const Rt=this._overlayRef.getConfig().maxHeight,Qt=this._overlayRef.getConfig().maxWidth;mt.width=f(He.width),mt.height=f(He.height),mt.top=f(He.top)||"auto",mt.bottom=f(He.bottom)||"auto",mt.left=f(He.left)||"auto",mt.right=f(He.right)||"auto",mt.alignItems="center"===Fe.overlayX?"center":"end"===Fe.overlayX?"flex-end":"flex-start",mt.justifyContent="center"===Fe.overlayY?"center":"bottom"===Fe.overlayY?"flex-end":"flex-start",Rt&&(mt.maxHeight=f(Rt)),Qt&&(mt.maxWidth=f(Qt))}this._lastBoundingBoxSize=He,_n(this._boundingBox.style,mt)}_resetBoundingBoxStyles(){_n(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_n(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ve,Fe){const He={},mt=this._hasExactPosition(),Rt=this._hasFlexibleDimensions,Qt=this._overlayRef.getConfig();if(mt){const mn=this._viewportRuler.getViewportScrollPosition();_n(He,this._getExactOverlayY(Fe,ve,mn)),_n(He,this._getExactOverlayX(Fe,ve,mn))}else He.position="static";let sn="",An=this._getOffset(Fe,"x"),Ln=this._getOffset(Fe,"y");An&&(sn+=`translateX(${An}px) `),Ln&&(sn+=`translateY(${Ln}px)`),He.transform=sn.trim(),Qt.maxHeight&&(mt?He.maxHeight=f(Qt.maxHeight):Rt&&(He.maxHeight="")),Qt.maxWidth&&(mt?He.maxWidth=f(Qt.maxWidth):Rt&&(He.maxWidth="")),_n(this._pane.style,He)}_getExactOverlayY(ve,Fe,He){let mt={top:"",bottom:""},Rt=this._getOverlayPoint(Fe,this._overlayRect,ve);return this._isPushed&&(Rt=this._pushOverlayOnScreen(Rt,this._overlayRect,He)),"bottom"===ve.overlayY?mt.bottom=this._document.documentElement.clientHeight-(Rt.y+this._overlayRect.height)+"px":mt.top=f(Rt.y),mt}_getExactOverlayX(ve,Fe,He){let Qt,mt={left:"",right:""},Rt=this._getOverlayPoint(Fe,this._overlayRect,ve);return this._isPushed&&(Rt=this._pushOverlayOnScreen(Rt,this._overlayRect,He)),Qt=this._isRtl()?"end"===ve.overlayX?"left":"right":"end"===ve.overlayX?"right":"left","right"===Qt?mt.right=this._document.documentElement.clientWidth-(Rt.x+this._overlayRect.width)+"px":mt.left=f(Rt.x),mt}_getScrollVisibility(){const ve=this._getOriginRect(),Fe=this._pane.getBoundingClientRect(),He=this._scrollables.map(mt=>mt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:st(ve,He),isOriginOutsideView:Ct(ve,He),isOverlayClipped:st(Fe,He),isOverlayOutsideView:Ct(Fe,He)}}_subtractOverflows(ve,...Fe){return Fe.reduce((He,mt)=>He-Math.max(mt,0),ve)}_getNarrowedViewportRect(){const ve=this._document.documentElement.clientWidth,Fe=this._document.documentElement.clientHeight,He=this._viewportRuler.getViewportScrollPosition();return{top:He.top+this._getViewportMarginTop(),left:He.left+this._getViewportMarginStart(),right:He.left+ve-this._getViewportMarginEnd(),bottom:He.top+Fe-this._getViewportMarginBottom(),width:ve-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:Fe-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ve,Fe){return"x"===Fe?null==ve.offsetX?this._offsetX:ve.offsetX:null==ve.offsetY?this._offsetY:ve.offsetY}_validatePositions(){}_addPanelClasses(ve){this._pane&&(0,y.F)(ve).forEach(Fe=>{""!==Fe&&-1===this._appliedPanelClasses.indexOf(Fe)&&(this._appliedPanelClasses.push(Fe),this._pane.classList.add(Fe))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ve=>{this._pane.classList.remove(ve)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){const ve=this._origin;if(ve instanceof u.aKT)return ve.nativeElement.getBoundingClientRect();if(ve instanceof Element)return ve.getBoundingClientRect();const Fe=ve.width||0,He=ve.height||0;return{top:ve.y,bottom:ve.y+He,left:ve.x,right:ve.x+Fe,height:He,width:Fe}}_getContainerRect(){const ve=this._overlayRef.getConfig().usePopover&&"global"!==this._popoverLocation,Fe=this._overlayContainer.getContainerElement();ve&&(Fe.style.display="block");const He=Fe.getBoundingClientRect();return ve&&(Fe.style.display=""),He}}function _n(xe,ve){for(let Fe in ve)ve.hasOwnProperty(Fe)&&(xe[Fe]=ve[Fe]);return xe}function cr(xe){if("number"!=typeof xe&&null!=xe){const[ve,Fe]=xe.split(Kt);return Fe&&"px"!==Fe?null:parseFloat(ve)}return xe||null}function Sn(xe){return{top:Math.floor(xe.top),right:Math.floor(xe.right),bottom:Math.floor(xe.bottom),left:Math.floor(xe.left),width:Math.floor(xe.width),height:Math.floor(xe.height)}}const en="cdk-global-overlay-wrapper";function ct(xe){return new gt}class gt{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(ve){const Fe=ve.getConfig();this._overlayRef=ve,this._width&&!Fe.width&&ve.updateSize({width:this._width}),this._height&&!Fe.height&&ve.updateSize({height:this._height}),ve.hostElement.classList.add(en),this._isDisposed=!1}top(ve=""){return this._bottomOffset="",this._topOffset=ve,this._alignItems="flex-start",this}left(ve=""){return this._xOffset=ve,this._xPosition="left",this}bottom(ve=""){return this._topOffset="",this._bottomOffset=ve,this._alignItems="flex-end",this}right(ve=""){return this._xOffset=ve,this._xPosition="right",this}start(ve=""){return this._xOffset=ve,this._xPosition="start",this}end(ve=""){return this._xOffset=ve,this._xPosition="end",this}width(ve=""){return this._overlayRef?this._overlayRef.updateSize({width:ve}):this._width=ve,this}height(ve=""){return this._overlayRef?this._overlayRef.updateSize({height:ve}):this._height=ve,this}centerHorizontally(ve=""){return this.left(ve),this._xPosition="center",this}centerVertically(ve=""){return this.top(ve),this._alignItems="center",this}
1apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ve=this._overlayRef.overlayElement.style,Fe=this._overlayRef.hostElement.style,He=this._overlayRef.getConfig(),{width:mt,height:Rt,maxWidth:Qt,maxHeight:sn}=He,An=!("100%"!==mt&&"100vw"!==mt||Qt&&"100%"!==Qt&&"100vw"!==Qt),Ln=!("100%"!==Rt&&"100vh"!==Rt||sn&&"100%"!==sn&&"100vh"!==sn),mn=this._xPosition,Hn=this._xOffset,ar="rtl"===this._overlayRef.getConfig().direction;let lr="",fr="",gr="";An?gr="flex-start":"center"===mn?(gr="center",ar?fr=Hn:lr=Hn):ar?"left"===mn||"end"===mn?(gr="flex-end",lr=Hn):("right"===mn||"start"===mn)&&(gr="flex-start",fr=Hn):"left"===mn||"start"===mn?(gr="flex-start",lr=Hn):("right"===mn||"end"===mn)&&(gr="flex-end",fr=Hn),ve.position=this._cssPosition,ve.marginLeft=An?"0":lr,ve.marginTop=Ln?"0":this._topOffset,ve.marginBottom=this._bottomOffset,ve.marginRight=An?"0":fr,Fe.justifyContent=gr,Fe.alignItems=Ln?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ve=this._overlayRef.overlayElement.style,Fe=this._overlayRef.hostElement,He=Fe.style;Fe.classList.remove(en),He.justifyContent=He.alignItems=ve.marginTop=ve.marginBottom=ve.marginLeft=ve.marginRight=ve.position="",this._overlayRef=null,this._isDisposed=!0}}let It=(()=>{class xe{_injector=(0,o.WQX)(o.zZn);constructor(){}global(){return ct()}flexibleConnectedTo(Fe){return un(this._injector,Fe)}static \u0275fac=function(He){return new(He||xe)};static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();const dn=new o.nKC("OVERLAY_DEFAULT_CONFIG");function In(xe,ve){xe.get(L.l).load(rt);const Fe=xe.get(Pt),He=xe.get(o.qQL),mt=xe.get(B.g),Rt=xe.get(u.o8S),Qt=xe.get(Q.dS),sn=xe.get(u.sFG,null,{optional:!0})||xe.get(u._9s).createRenderer(null,null),An=new ee(ve),Ln=xe.get(dn,null,{optional:!0})?.usePopover??!0;An.direction=An.direction||Qt.value,An.usePopover="showPopover"in He.body&&(ve?.usePopover??Ln);const mn=He.createElement("div"),Hn=He.createElement("div");mn.id=mt.getId("cdk-overlay-"),mn.classList.add("cdk-overlay-pane"),Hn.appendChild(mn),An.usePopover&&(Hn.setAttribute("popover","manual"),Hn.classList.add("cdk-overlay-popover"));const ar=An.usePopover?An.positionStrategy?.getPopoverInsertionPoint?.():null;return i(ar)?ar.after(Hn):"parent"===ar?.type?ar.element.appendChild(Hn):Fe.getContainerElement().appendChild(Hn),new yt(new Z.aI(mn,Rt,xe),Hn,mn,An,xe.get(o.SKi),xe.get(bt),He,xe.get(R.aZ),xe.get(Xe),ve?.disableAnimations??"NoopAnimations"===xe.get(u.bc$,null,{optional:!0}),xe.get(o.uvJ),sn)}let Vn=(()=>{class xe{scrollStrategies=(0,o.WQX)(Y);_positionBuilder=(0,o.WQX)(It);_injector=(0,o.WQX)(o.zZn);constructor(){}create(Fe){return In(this._injector,Fe)}position(){return this._positionBuilder}static \u0275fac=function(He){return new(He||xe)};static \u0275prov=o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})();const kn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Bn=new o.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const xe=(0,o.WQX)(o.zZn);return()=>se(xe)}});let Cr=(()=>{class xe{elementRef=(0,o.WQX)(u.aKT);constructor(){}static \u0275fac=function(He){return new(He||xe)};static \u0275dir=u.FsC({type:xe,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return xe})();const En=new o.nKC("cdk-connected-overlay-default-config");let hn=(()=>{class xe{_dir=(0,o.WQX)(Q.dS,{optional:!0});_injector=(0,o.WQX)(o.zZn);_overlayRef;_templatePortal;_backdropSubscription=h.yU.EMPTY;_attachSubscription=h.yU.EMPTY;_detachSubscription=h.yU.EMPTY;_positionSubscription=h.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,o.WQX)(Bn);_ngZone=(0,o.WQX)(o.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(Fe){this._offsetX=Fe,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Fe){this._offsetY=Fe,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;
vendor: 4,106 bytes, line 1
1set _config(Fe){"string"!=typeof Fe&&this._assignConfig(Fe)}backdropClick=new o.bkB;positionChange=new o.bkB;attach=new o.bkB;detach=new o.bkB;overlayKeydown=new o.bkB;overlayOutsideClick=new o.bkB;constructor(){const Fe=(0,o.WQX)(u.C4Q),He=(0,o.WQX)(u.c1b),mt=(0,o.WQX)(En,{optional:!0}),Rt=(0,o.WQX)(dn,{optional:!0});this.usePopover=!1===Rt?.usePopover?null:"global",this._templatePortal=new Z.VA(Fe,He),this.scrollStrategy=this._scrollStrategyFactory(),mt&&this._assignConfig(mt)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(Fe){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Fe.origin&&this.open&&this._position.apply()),Fe.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=kn);const Fe=this._overlayRef=In(this._injector,this._buildConfig());this._attachSubscription=Fe.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Fe.detachments().subscribe(()=>this.detach.emit()),Fe.keydownEvents().subscribe(He=>{this.overlayKeydown.next(He),He.keyCode===ce._f&&!this.disableClose&&!(0,be.rp)(He)&&(He.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(He=>{const mt=this._getOriginElement(),Rt=(0,w.Fb)(He);(!mt||mt!==Rt&&!mt.contains(Rt))&&this.overlayOutsideClick.next(He)})}_buildConfig(){const Fe=this._position=this.positionStrategy||this._createPositionStrategy(),He=new ee({direction:this._dir||"ltr",positionStrategy:Fe,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||0===this.height)&&(He.height=this.height),(this.minWidth||0===this.minWidth)&&(He.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(He.minHeight=this.minHeight),this.backdropClass&&(He.backdropClass=this.backdropClass),this.panelClass&&(He.panelClass=this.panelClass),He}_updatePositionStrategy(Fe){const He=this.positions.map(mt=>({originX:mt.originX,originY:mt.originY,overlayX:mt.overlayX,overlayY:mt.overlayY,offsetX:mt.offsetX||this.offsetX,offsetY:mt.offsetY||this.offsetY,panelClass:mt.panelClass||void 0}));return Fe.setOrigin(this._getOrigin()).withPositions(He).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(null===this.usePopover?"global":this.usePopover)}_createPositionStrategy(){const Fe=un(this._injector,this._getOrigin());return this._updatePositionStrategy(Fe),Fe}_getOrigin(){return this.origin instanceof Cr?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Cr?this.origin.elementRef.nativeElement:this.origin instanceof u.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();const Fe=this._overlayRef;Fe.getConfig().hasBackdrop=this.hasBackdrop,Fe.updateSize({width:this._getWidth()}),Fe.hasAttached()||Fe.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=Fe.backdropClick().subscribe(He=>this.backdropClick.emit(He)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function V(xe,ve=!1){return(0,A.N)((Fe,He)=>{let mt=0;Fe.subscribe((0,C._)(He,Rt=>{const Qt=xe(Rt,mt++);(Qt||ve)&&He.next(Rt),!Qt&&He.complete()}
1))})}(()=>this.positionChange.observers.length>0)).subscribe(He=>{this._ngZone.run(()=>this.positionChange.emit(He)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(Fe){this.origin=Fe.origin??this.origin,this.positions=Fe.positions??this.positions,this.positionStrategy=Fe.positionStrategy??this.positionStrategy,this.offsetX=Fe.offsetX??this.offsetX,this.offsetY=Fe.offsetY??this.offsetY,this.width=Fe.width??this.width,this.height=Fe.height??this.height,this.minWidth=Fe.minWidth??this.minWidth,this.minHeight=Fe.minHeight??this.minHeight,this.backdropClass=Fe.backdropClass??this.backdropClass,this.panelClass=Fe.panelClass??this.panelClass,this.viewportMargin=Fe.viewportMargin??this.viewportMargin,this.scrollStrategy=Fe.scrollStrategy??this.scrollStrategy,this.disableClose=Fe.disableClose??this.disableClose,this.transformOriginSelector=Fe.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=Fe.hasBackdrop??this.hasBackdrop,this.lockPosition=Fe.lockPosition??this.lockPosition,this.flexibleDimensions=Fe.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=Fe.growAfterOpen??this.growAfterOpen,this.push=Fe.push??this.push,this.disposeOnNavigation=Fe.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=Fe.usePopover??this.usePopover,this.matchWidth=Fe.matchWidth??this.matchWidth}static \u0275fac=function(He){return new(He||xe)};static \u0275dir=u.FsC({type:xe,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",l.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",l.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",l.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",l.L39],push:[2,"cdkConnectedOverlayPush","push",l.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",l.L39],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",l.L39],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[u.OA$]})}return xe})(),Kn=(()=>{class xe{static \u0275fac=function(He){return new(He||xe)};static \u0275mod=u.$C({type:xe});static \u0275inj=o.G2t({providers:[Vn],imports:[Te.jI,Z.jc,H.E9,H.E9]})}return xe})()},1539(qe,P,c){"use strict";let o;function l(R){return function u(){if(null==o&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>o=!0}))}finally{o=o||!1}return o}()?R:!!R.capture}c.d(P,{B:()=>l})},7421(qe,P,c){"use strict";c.d(P,{O:()=>v});var o=c(5802),u=c(5547),l=c(177);let R;try{R=typeof Intl<"u"&&Intl.v8BreakIterator}catch{R=!1}let v=(()=>{class w{_platformId=(0,o.WQX)(u.Agw);isBrowser=this._platformId?(0,l.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);
1TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!R)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(E){return new(E||w)};static \u0275prov=o.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},7249(qe,P,c){"use strict";c.d(P,{BD:()=>v,CZ:()=>R,r5:()=>o});var o=function(w){return w[w.NORMAL=0]="NORMAL",w[w.NEGATED=1]="NEGATED",w[w.INVERTED=2]="INVERTED",w}(o||{});let u,l;function R(){if(null==l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return l=!1,l;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)l=!0;else{const w=Element.prototype.scrollTo;l=!!w&&!/\{\s*\[native code\]\s*\}/.test(w.toString())}}return l}function v(){if("object"!=typeof document||!document)return o.NORMAL;if(null==u){const w=document.createElement("div"),S=w.style;w.dir="rtl",S.width="1px",S.overflow="auto",S.visibility="hidden",S.pointerEvents="none",S.position="absolute";const L=document.createElement("div"),E=L.style;E.width="2px",E.height="1px",w.appendChild(L),document.body.appendChild(w),u=o.NORMAL,0===w.scrollLeft&&(w.scrollLeft=1,u=0===w.scrollLeft?o.NEGATED:o.INVERTED),w.remove()}return u}},9867(qe,P,c){"use strict";let o;function l(w){if(function u(){if(null==o){const w=typeof document<"u"?document.head:null;o=!(!w||!w.createShadowRoot&&!w.attachShadow)}return o}()){const S=w.getRootNode?w.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&S instanceof ShadowRoot)return S}return null}function R(){let w=typeof document<"u"&&document?document.activeElement:null;for(;w&&w.shadowRoot;){const S=w.shadowRoot.activeElement;if(S===w)break;w=S}return w}function v(w){return w.composedPath?w.composedPath()[0]:w.target}c.d(P,{Fb:()=>v,KT:()=>l,vc:()=>R})},3293(qe,P,c){"use strict";c.d(P,{l:()=>v});var o=c(5802),u=c(5157),l=c(5547);const R=new WeakMap;let v=(()=>{class w{_appRef;_injector=(0,o.WQX)(o.zZn);_environmentInjector=(0,o.WQX)(o.uvJ);load(L){const E=this._appRef=this._appRef||this._injector.get(l.o8S);let h=R.get(E);h||(h={loaders:new Set,refs:[]},R.set(E,h),E.onDestroy(()=>{R.get(E)?.refs.forEach(f=>f.destroy()),R.delete(E)})),h.loaders.has(L)||(h.loaders.add(L),h.refs.push((0,u.a0P)(L,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(E){return new(E||w)};static \u0275prov=o.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},4775(qe,P,c){"use strict";c.d(P,{i:()=>L});var o=c(1413),u=c(152),l=c(5964),R=c(6354),v=c(8141),w=c(413);class L{_letterKeyStream=new o.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new o.B;selectedItem=this._selectedItem;constructor(h,f){const y="number"==typeof f?.debounceInterval?f.debounceInterval:200;f?.skipPredicate&&(this._skipPredicateFn=f.skipPredicate),this.setItems(h),this._setupKeyHandler(y)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(h){this._selectedItemIndex=h}setItems(h){this._items=h}handleKey(h){const f=h.keyCode;h.key&&1===h.key.length?this._letterKeyStream.next(h.key.toLocaleUpperCase()):(f>=w.A&&f<=w.Z||f>=w.f2&&f<=w.bn)&&this._letterKeyStream.next(String.fromCharCode(f))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(h){this._letterKeyStream.pipe((0,v.M)(f=>this._pressedLetters.push(f)),(0,u.B)(h),(0,l.p)(()=>this._pressedLetters.length>0),(0,R.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(f=>{for(let y=1;y<this._items.length+1;y++){const b=this._items[(this._selectedItemIndex+y)%this._items.length];if(!this._skipPredicateFn?.(b)&&0===b.getLabel?.().toLocaleUpperCase().trim().indexOf(f)){this._selectedItem.next(b);break}}this._pressedLetters=[]})}}},144(qe,P,c){"use strict";c.d(P,{vr:()=>lt,px:()=>be,Ae:()=>Te}),c(6189);var u=c(5802),l=c(5547),R=c(7421),v=c(3293),w=c(9046);function be(ye,ge,Ne){const je=we(ye,ge);Ne=Ne.trim(),!je.some(tt=>tt.trim()===Ne)&&(je.push(Ne),ye.setAttribute(ge,je.join(" ")))}function Te(ye,ge,Ne){const je=we(ye,ge);Ne=Ne.trim();const tt=je.filter(bt=>bt!==Ne);tt.length?ye.setAttribute(ge,tt.join(" ")):ye.removeAttribute(ge)}function we(ye,ge){return ye.getAttribute(ge)?.match(/\S+/g)??[]}c(1413),c(8359),c(4402),c(7673),c(6697),c(4775);const Oe="cdk-describedby-message",Ue="cdk-describedby-host";let Be=0,lt=(()=>{class ye{_platform=(0,u.WQX)(R.O);_document=(0,u.WQX)(u.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+Be++;constructor(){(0,u.WQX)(v.l).load(w.Yc),this._id=(0,u.WQX)(l.sZ2)+"-"+Be++}describe(Ne,je,tt){if(!this._canBeDescribed(Ne,je))return;const bt=et(je,tt);"string"!=typeof je?(pt(je,this._id),this._messageRegistry.set(bt,{messageElement:je,referenceCount:0})):this._messageRegistry.has(bt)||this._createMessageElement(je,tt),this._isElementDescribedByMessage(Ne,bt)||this._addMessageReference(Ne,bt)}removeDescription(Ne,je,tt){if(!je||!this._isElementNode(Ne))return;const bt=et(je,tt);if(this._isElementDescribedByMessage(Ne,bt)&&this._removeMessageReference(Ne,bt),"string"==typeof je){const Xe=this._messageRegistry.get(bt);Xe&&0===Xe.referenceCount&&this._deleteMessageElement(bt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ne=this._document.querySelectorAll(`[${Ue}="${this._id}"]`);for(let je=0;je<Ne.length;je++)this._removeCdkDescribedByReferenceIds(Ne[je]),Ne[je].removeAttribute(Ue);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Ne,je){const tt=this._document.createElement("div");pt(tt,this._id),tt.textContent=Ne,je&&tt.setAttribute("role",je),this._createMessagesContainer(),this._messagesContainer.appendChild(tt),this._messageRegistry.set(et(Ne,je),{messageElement:tt,referenceCount:0})}_deleteMessageElement(Ne){this._messageRegistry.get(Ne)?.messageElement?.remove(),this._messageRegistry.delete(Ne)}_createMessagesContainer(){if(this._messagesContainer)return;const Ne="cdk-describedby-message-container",je=this._document.querySelectorAll(`.${Ne}[platform="server"]`);for(let bt=0;bt<je.length;bt++)je[bt].remove();const tt=this._document.createElement("div");tt.style.visibility="hidden",tt.classList.add(Ne),tt.classList.add("cdk-visually-hidden"),this._platform.isBrowser||tt.setAttribute("platform","server"),this._document.body.appendChild(tt),this._messagesContainer=tt}_removeCdkDescribedByReferenceIds(Ne){const je=we(Ne,"aria-describedby").filter(tt=>0!=tt.indexOf(Oe));Ne.setAttribute("aria-describedby",je.join(" "))}_addMessageReference(Ne,je){const tt=this._messageRegistry.get(je);be(Ne,"aria-describedby",tt.messageElement.id),Ne.setAttribute(Ue,this._id),tt.referenceCount++}_removeMessageReference(Ne,je){const tt=this._messageRegistry.get(je);tt.referenceCount--,Te(Ne,"aria-describedby",tt.messageElement.id),Ne.removeAttribute(Ue)}_isElementDescribedByMessage(Ne,je){const tt=we(Ne,"aria-describedby"),bt=this._messageRegistry.get(je),Xe=bt&&bt.messageElement.id;return!!Xe&&-1!=tt.indexOf(Xe)}_canBeDescribed(Ne,je){if(!this._isElementNode(Ne))return!1;if(je&&"object"==typeof je)return!0;const tt=null==je?"":`${je}`.trim(),bt=Ne.getAttribute("aria-label");return!(!tt||bt&&bt.trim()===tt)}_isElementNode(Ne){return Ne.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(je){return new(je||ye)};static \u0275prov=u.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();function et(ye,ge){return"string"==typeof ye?`${ge||""}/${ye}`:ye}function pt(ye,ge){ye.id||(ye.id=`${Oe}-${ge}-${Be++}`)}},8203(qe,P,c){"use strict";c.d(P,{jI:()=>E});var w=c(5547),S=c(5802);let E=(()=>{class h{static \u0275fac=function(H){return new(H||h)};static \u0275mod=w.$C({type:h});static \u0275inj=S.G2t({})}return h})()},4085(qe,P,c){"use strict";function o(l){return null!=l&&"false"!=`${l}`}function u(l,R=/\s+/){const v=[];
1if(null!=l){const w=Array.isArray(l)?l:`${l}`.split(R);for(const S of w){const L=`${S}`.trim();L&&v.push(L)}}return v}c.d(P,{cc:()=>u,he:()=>o})},7336(qe,P,c){"use strict";function o(u,...l){return l.length?l.some(R=>u[R]):u.altKey||u.shiftKey||u.ctrlKey||u.metaKey}c.d(P,{rp:()=>o})},7088(qe,P,c){"use strict";c.d(P,{a:()=>h});var o=c(5802),l=(c(5547),c(1985)),R=c(1413),v=c(5964),w=c(9568),S=c(6977);class E{_box;_destroyed=new R.B;_resizeSubject=new R.B;_resizeObserver;_elementObservables=new Map;constructor(y){this._box=y,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(H=>this._resizeSubject.next(H)))}observe(y){return this._elementObservables.has(y)||this._elementObservables.set(y,new l.c(H=>{const b=this._resizeSubject.subscribe(H);return this._resizeObserver?.observe(y,{box:this._box}),()=>{this._resizeObserver?.unobserve(y),b.unsubscribe(),this._elementObservables.delete(y)}}).pipe((0,v.p)(H=>H.some(b=>b.target===y)),(0,w.t)({bufferSize:1,refCount:!0}),(0,S.Q)(this._destroyed))),this._elementObservables.get(y)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let h=(()=>{class f{_cleanupErrorListener;_observers=new Map;_ngZone=(0,o.WQX)(o.SKi);constructor(){}ngOnDestroy(){for(const[,H]of this._observers)H.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(H,b){const N=b?.box||"content-box";return this._observers.has(N)||this._observers.set(N,new E(N)),this._observers.get(N).observe(H)}static \u0275fac=function(b){return new(b||f)};static \u0275prov=o.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},2318(qe,P,c){"use strict";c.d(P,{Wv:()=>H,w5:()=>b});var o=c(5547),u=c(5802),l=c(5157),R=c(1985),v=c(1413),w=c(152),S=c(5964),L=c(6354),E=c(7384);let f=(()=>{class N{create(C){return typeof MutationObserver>"u"?null:new MutationObserver(C)}static \u0275fac=function(V){return new(V||N)};static \u0275prov=u.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),y=(()=>{class N{_mutationObserverFactory=(0,u.WQX)(f);_observedElements=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((C,V)=>this._cleanupObserver(V))}observe(C){const V=(0,E.i8)(C);return new R.c(B=>{const Z=this._observeElement(V).pipe((0,L.T)(ce=>ce.filter(be=>!function h(N){if("characterData"===N.type&&N.target instanceof Comment)return!0;if("childList"===N.type){for(let A=0;A<N.addedNodes.length;A++)if(!(N.addedNodes[A]instanceof Comment))return!1;for(let A=0;A<N.removedNodes.length;A++)if(!(N.removedNodes[A]instanceof Comment))return!1;return!0}return!1}(be))),(0,S.p)(ce=>!!ce.length)).subscribe(ce=>{this._ngZone.run(()=>{B.next(ce)})});return()=>{Z.unsubscribe(),this._unobserveElement(V)}})}_observeElement(C){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(C))this._observedElements.get(C).count++;else{const V=new v.B,B=this._mutationObserverFactory.create(Q=>V.next(Q));B&&B.observe(C,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(C,{observer:B,stream:V,count:1})}return this._observedElements.get(C).stream})}_unobserveElement(C){this._observedElements.has(C)&&(this._observedElements.get(C).count--,this._observedElements.get(C).count||this._cleanupObserver(C))}_cleanupObserver(C){if(this._observedElements.has(C)){const{observer:V,stream:B}=this._observedElements.get(C);V&&V.disconnect(),B.complete(),this._observedElements.delete(C)}}static \u0275fac=function(V){return new(V||N)};static \u0275prov=u.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),H=(()=>{class N{_contentObserver=(0,u.WQX)(y);_elementRef=(0,u.WQX)(o.aKT);event=new u.bkB;get disabled(){return this._disabled}set disabled(C){this._disabled=C,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(C){this._debounce=(0,E.OE)(C),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const C=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?C.pipe((0,w.B)(this.debounce)):C).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(V){return new(V||N)};static \u0275dir=o.FsC({type:N,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",l.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return N})(),b=(()=>{class N{static \u0275fac=function(V){return new(V||N)};static \u0275mod=o.$C({type:N});static \u0275inj=u.G2t({providers:[f]})}return N})()},6939(qe,P,c){"use strict";c.d(P,{A8:()=>f,I3:()=>C,VA:()=>y,aI:()=>N,bV:()=>A,jc:()=>V,lb:()=>b});var o=c(5547),u=c(5802),l=c(5157);class h{_attachedHost=null;attach(Q){return this._attachedHost=Q,Q.attach(this)}detach(){let Q=this._attachedHost;null!=Q&&(this._attachedHost=null,Q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Q){this._attachedHost=Q}}class f extends h{component;viewContainerRef;injector;projectableNodes;bindings;constructor(Q,Z,ce,be,Te){super(),this.component=Q,this.viewContainerRef
vendor: 4,200 bytes, line 1
1=Z,this.injector=ce,this.projectableNodes=be,this.bindings=Te||null}}class y extends h{templateRef;viewContainerRef;context;injector;constructor(Q,Z,ce,be){super(),this.templateRef=Q,this.viewContainerRef=Z,this.context=ce,this.injector=be}get origin(){return this.templateRef.elementRef}attach(Q,Z=this.context){return this.context=Z,super.attach(Q)}detach(){return this.context=void 0,super.detach()}}class H extends h{element;constructor(Q){super(),this.element=Q instanceof o.aKT?Q.nativeElement:Q}}class b{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(Q){return Q instanceof f?(this._attachedPortal=Q,this.attachComponentPortal(Q)):Q instanceof y?(this._attachedPortal=Q,this.attachTemplatePortal(Q)):this.attachDomPortal&&Q instanceof H?(this._attachedPortal=Q,this.attachDomPortal(Q)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Q){this._disposeFn=Q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class N extends b{outletElement;_appRef;_defaultInjector;constructor(Q,Z,ce){super(),this.outletElement=Q,this._appRef=Z,this._defaultInjector=ce}attachComponentPortal(Q){let Z;if(Q.viewContainerRef){const ce=Q.injector||Q.viewContainerRef.injector,be=ce.get(o.Ab1,null,{optional:!0})||void 0;Z=Q.viewContainerRef.createComponent(Q.component,{index:Q.viewContainerRef.length,injector:ce,ngModuleRef:be,projectableNodes:Q.projectableNodes||void 0,bindings:Q.bindings||void 0}),this.setDisposeFn(()=>Z.destroy())}else{const ce=this._appRef,be=Q.injector||this._defaultInjector||u.zZn.NULL,Te=be.get(u.uvJ,ce.injector);Z=(0,l.a0P)(Q.component,{elementInjector:be,environmentInjector:Te,projectableNodes:Q.projectableNodes||void 0,bindings:Q.bindings||void 0}),ce.attachView(Z.hostView),this.setDisposeFn(()=>{ce.viewCount>0&&ce.detachView(Z.hostView),Z.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(Z)),this._attachedPortal=Q,Z}attachTemplatePortal(Q){let Z=Q.viewContainerRef,ce=Z.createEmbeddedView(Q.templateRef,Q.context,{injector:Q.injector});return ce.rootNodes.forEach(be=>this.outletElement.appendChild(be)),ce.detectChanges(),this.setDisposeFn(()=>{let be=Z.indexOf(ce);-1!==be&&Z.remove(be)}),this._attachedPortal=Q,ce}attachDomPortal=Q=>{const Z=Q.element,ce=this.outletElement.ownerDocument.createComment("dom-portal");Z.parentNode.insertBefore(ce,Z),this.outletElement.appendChild(Z),this._attachedPortal=Q,super.setDisposeFn(()=>{ce.parentNode&&ce.parentNode.replaceChild(Z,ce)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Q){return Q.hostView.rootNodes[0]}}let A=(()=>{class B extends y{constructor(){super((0,u.WQX)(o.C4Q),(0,u.WQX)(o.c1b))}static \u0275fac=function(ce){return new(ce||B)};static \u0275dir=o.FsC({type:B,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[o.Vt3]})}return B})(),C=(()=>{class B extends b{_moduleRef=(0,u.WQX)(o.Ab1,{optional:!0});_document=(0,u.WQX)(u.qQL);_viewContainerRef=(0,u.WQX)(o.c1b);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(Z){this.hasAttached()&&!Z&&!this._isInitialized||(this.hasAttached()&&super.detach(),Z&&super.attach(Z),this._attachedPortal=Z||null)}attached=new u.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Z){Z.setAttachedHost(this);const ce=null!=Z.viewContainerRef?Z.viewContainerRef:this._viewContainerRef,be=ce.createComponent(Z.component,{index:ce.length,injector:Z.injector||ce.injector,projectableNodes:Z.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:Z.bindings||void 0});return ce!==this._viewContainerRef&&this._getRootNode().appendChild(be.hostView.rootNodes[0]),super.setDisposeFn(()=>be.destroy()),this._attachedPortal=Z,this._attachedRef=be,this.attached.emit(be),be}attachTemplatePortal(Z){Z.setAttachedHost(this);
1const ce=this._viewContainerRef.createEmbeddedView(Z.templateRef,Z.context,{injector:Z.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Z,this._attachedRef=ce,this.attached.emit(ce),ce}attachDomPortal=Z=>{const ce=Z.element,be=this._document.createComment("dom-portal");Z.setAttachedHost(this),ce.parentNode.insertBefore(be,ce),this._getRootNode().appendChild(ce),this._attachedPortal=Z,super.setDisposeFn(()=>{be.parentNode&&be.parentNode.replaceChild(ce,be)})};_getRootNode(){const Z=this._viewContainerRef.element.nativeElement;return Z.nodeType===Z.ELEMENT_NODE?Z:Z.parentNode}static \u0275fac=function(ce){return new(ce||B)};static \u0275dir=o.FsC({type:B,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.Vt3]})}return B})(),V=(()=>{class B{static \u0275fac=function(ce){return new(ce||B)};static \u0275mod=o.$C({type:B});static \u0275inj=u.G2t({})}return B})()},9046(qe,P,c){"use strict";c.d(P,{Yc:()=>u,Z9:()=>w});var o=c(5547);let l,u=(()=>{class S{static \u0275fac=function(h){return new(h||S)};static \u0275cmp=o.VBU({type:S,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(h,f){},styles:[".cdk-visually-hidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n white-space: nowrap;\n outline: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n left: 0;\n}\n[dir=rtl] .cdk-visually-hidden {\n left: auto;\n right: 0;\n}\n"],encapsulation:2,changeDetection:0})}return S})();function w(S,L,E){const h=E.sanitize(o.WPN.HTML,L);S.innerHTML=function v(S){return function R(){if(void 0===l&&(l=null,typeof window<"u")){const S=window;void 0!==S.trustedTypes&&(l=S.trustedTypes.createPolicy("angular#components",{createHTML:L=>L}))}return l}()?.createHTML(S)||S}(h||"")}},5478(qe,P,c){"use strict";c.d(P,{E9:()=>En,Gj:()=>Cr,R:()=>cr,Xj:()=>rr,m8:()=>It,uv:()=>Sn});var Y=c(5547),ee=c(5802),fe=c(1985),ye=c(1413),je=(c(5007),c(536),c(7673)),tt=c(3798),bt=c(5964),Xe=c(7421),Je=c(7384),rt=c(9752),Pt=c(7249),tn=c(8203);let cr=(()=>{class hn{_ngZone=(0,ee.WQX)(ee.SKi);_platform=(0,ee.WQX)(Xe.O);_renderer=(0,ee.WQX)(Y._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new ye.B;_scrolledCount=0;scrollContainers=new Map;register(xe){this.scrollContainers.has(xe)||this.scrollContainers.set(xe,xe.elementScrolled().subscribe(()=>this._scrolled.next(xe)))}deregister(xe){const ve=this.scrollContainers.get(xe);ve&&(ve.unsubscribe(),this.scrollContainers.delete(xe))}scrolled(xe=20){return this._platform.isBrowser?new fe.c(ve=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const Fe=xe>0?this._scrolled.pipe((0,tt.Z)(xe)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{Fe.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,je.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((xe,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(xe,ve){const Fe=this.getAncestorScrollContainers(xe);return this.scrolled(ve).pipe((0,bt.p)(He=>!He||Fe.indexOf(He)>-1))}getAncestorScrollContainers(xe){const ve=[];return this.scrollContainers.forEach((Fe,He)=>{this._scrollableContainsElement(He,xe)&&ve.push(He)}),ve}_scrollableContainsElement(xe,ve){let Fe=(0,Je.i8)(ve),He=xe.getElementRef().nativeElement;do{if(Fe==He)return!0}while(Fe=Fe.parentElement);return!1}static \u0275fac=function(ve){return new(ve||hn)};static \u0275prov=ee.jDH({token:hn,factory:hn.\u0275fac,providedIn:"root"})}return hn})(),Sn=(()=>{class hn{elementRef=(0,ee.WQX)(Y.aKT);scrollDispatcher=(0,ee.WQX)(cr);ngZone=(0,ee.WQX)(ee.SKi);dir=(0,ee.WQX)(rt.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new ye.B;_renderer=(0,ee.WQX)(Y.sFG);_cleanupScroll;_elementScrolled=new ye.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>
1this._renderer.listen(this._scrollElement,"scroll",xe=>this._elementScrolled.next(xe))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(xe){const ve=this.elementRef.nativeElement,Fe=this.dir&&"rtl"==this.dir.value;null==xe.left&&(xe.left=Fe?xe.end:xe.start),null==xe.right&&(xe.right=Fe?xe.start:xe.end),null!=xe.bottom&&(xe.top=ve.scrollHeight-ve.clientHeight-xe.bottom),Fe&&(0,Pt.BD)()!=Pt.r5.NORMAL?(null!=xe.left&&(xe.right=ve.scrollWidth-ve.clientWidth-xe.left),(0,Pt.BD)()==Pt.r5.INVERTED?xe.left=xe.right:(0,Pt.BD)()==Pt.r5.NEGATED&&(xe.left=xe.right?-xe.right:xe.right)):null!=xe.right&&(xe.left=ve.scrollWidth-ve.clientWidth-xe.right),this._applyScrollToOptions(xe)}_applyScrollToOptions(xe){const ve=this.elementRef.nativeElement;(0,Pt.CZ)()?ve.scrollTo(xe):(null!=xe.top&&(ve.scrollTop=xe.top),null!=xe.left&&(ve.scrollLeft=xe.left))}measureScrollOffset(xe){const ve="left",He=this.elementRef.nativeElement;if("top"==xe)return He.scrollTop;if("bottom"==xe)return He.scrollHeight-He.clientHeight-He.scrollTop;const mt=this.dir&&"rtl"==this.dir.value;return"start"==xe?xe=mt?"right":ve:"end"==xe&&(xe=mt?ve:"right"),mt&&(0,Pt.BD)()==Pt.r5.INVERTED?xe==ve?He.scrollWidth-He.clientWidth-He.scrollLeft:He.scrollLeft:mt&&(0,Pt.BD)()==Pt.r5.NEGATED?xe==ve?He.scrollLeft+He.scrollWidth-He.clientWidth:-He.scrollLeft:xe==ve?He.scrollLeft:He.scrollWidth-He.clientWidth-He.scrollLeft}static \u0275fac=function(ve){return new(ve||hn)};static \u0275dir=Y.FsC({type:hn,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return hn})(),rr=(()=>{class hn{_platform=(0,ee.WQX)(Xe.O);_listeners;_viewportSize=null;_change=new ye.B;_document=(0,ee.WQX)(ee.qQL);constructor(){const xe=(0,ee.WQX)(ee.SKi),ve=(0,ee.WQX)(Y._9s).createRenderer(null,null);xe.runOutsideAngular(()=>{if(this._platform.isBrowser){const Fe=He=>this._change.next(He);this._listeners=[ve.listen("window","resize",Fe),ve.listen("window","orientationchange",Fe)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(xe=>xe()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const xe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),xe}getViewportRect(){const xe=this.getViewportScrollPosition(),{width:ve,height:Fe}=this.getViewportSize();return{top:xe.top,left:xe.left,bottom:xe.top+Fe,right:xe.left+ve,height:Fe,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const xe=this._document,ve=this._getWindow(),Fe=xe.documentElement,He=Fe.getBoundingClientRect();return{top:-He.top||xe.body?.scrollTop||ve.scrollY||Fe.scrollTop||0,left:-He.left||xe.body?.scrollLeft||ve.scrollX||Fe.scrollLeft||0}}change(xe=20){return xe>0?this._change.pipe((0,tt.Z)(xe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const xe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:xe.innerWidth,height:xe.innerHeight}:{width:0,height:0}}static \u0275fac=function(ve){return new(ve||hn)};static \u0275prov=ee.jDH({token:hn,factory:hn.\u0275fac,providedIn:"root"})}return hn})();const It=new ee.nKC("CDK_VIRTUAL_SCROLL_VIEWPORT");let Cr=(()=>{class hn{static \u0275fac=function(ve){return new(ve||hn)};static \u0275mod=Y.$C({type:hn});static \u0275inj=ee.G2t({})}return hn})(),En=(()=>{class hn{static \u0275fac=function(ve){return new(ve||hn)};static \u0275mod=Y.$C({type:hn});static \u0275inj=ee.G2t({imports:[tn.jI,Cr,tn.jI,Cr]})}return hn})()},9769(qe,P,c){"use strict";c.d(P,{B3:()=>Ye,Jj:()=>ii,MD:()=>qr,PV:()=>qn,Sq:()=>te,T3:()=>ht,YU:()=>Nn,bT:()=>_e,fw:()=>h,vh:()=>Hr});var R=c(5157),v=c(5547),w=c(5802),S=c(2271),L=c(5984),E=c(6494);let h=(()=>{class ae extends L.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Ce,Pe){super(),this._platformLocation=Ce,null!=Pe&&(this._baseHref=Pe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ce){this._removeListenerFns.push(this._platformLocation.onPopState(Ce),this._platformLocation.on
1HashChange(Ce))}getBaseHref(){return this._baseHref}path(Ce=!1){const Pe=this._platformLocation.hash??"#";return Pe.length>0?Pe.substring(1):Pe}prepareExternalUrl(Ce){const Pe=(0,L.om)(this._baseHref,Ce);return Pe.length>0?"#"+Pe:Pe}pushState(Ce,Pe,vt,jt){const qt=this.prepareExternalUrl(vt+(0,L.Q)(jt))||this._platformLocation.pathname;this._platformLocation.pushState(Ce,Pe,qt)}replaceState(Ce,Pe,vt,jt){const qt=this.prepareExternalUrl(vt+(0,L.Q)(jt))||this._platformLocation.pathname;this._platformLocation.replaceState(Ce,Pe,qt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ce=0){this._platformLocation.historyGo?.(Ce)}static \u0275fac=function(Pe){return new(Pe||ae)(w.KVO(E.Vw),w.KVO(L.kB,8))};static \u0275prov=w.jDH({token:ae,factory:ae.\u0275fac})}return ae})();var b=function(ae){return ae[ae.Format=0]="Format",ae[ae.Standalone=1]="Standalone",ae}(b||{}),N=function(ae){return ae[ae.Narrow=0]="Narrow",ae[ae.Abbreviated=1]="Abbreviated",ae[ae.Wide=2]="Wide",ae[ae.Short=3]="Short",ae}(N||{}),A=function(ae){return ae[ae.Short=0]="Short",ae[ae.Medium=1]="Medium",ae[ae.Long=2]="Long",ae[ae.Full=3]="Full",ae}(A||{});function $e(ae,ze){return ye((0,v.kBR)(ae)[v.NSC.DateFormat],ze)}function Oe(ae,ze){return ye((0,v.kBR)(ae)[v.NSC.TimeFormat],ze)}function Ue(ae,ze){return ye((0,v.kBR)(ae)[v.NSC.DateTimeFormat],ze)}function Be(ae,ze){const Ce=(0,v.kBR)(ae),Pe=Ce[v.NSC.NumberSymbols][ze];if(typeof Pe>"u"){if(12===ze)return Ce[v.NSC.NumberSymbols][0];if(13===ze)return Ce[v.NSC.NumberSymbols][1]}return Pe}function me(ae){if(!ae[v.NSC.ExtraData])throw new w.buA(2303,!1)}function ye(ae,ze){for(let Ce=ze;Ce>-1;Ce--)if(typeof ae[Ce]<"u")return ae[Ce];throw new w.buA(2304,!1)}function ge(ae){const[ze,Ce]=ae.split(":");return{hours:+ze,minutes:+Ce}}const bt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Xe={},Je=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Pt(ae,ze,Ce,Pe){let vt=function En(ae){if(Kn(ae))return ae;if("number"==typeof ae&&!isNaN(ae))return new Date(ae);if("string"==typeof ae){if(ae=ae.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(ae)){const[vt,jt=1,qt=1]=ae.split("-").map(pn=>+pn);return yt(vt,jt-1,qt)}const Ce=parseFloat(ae);if(!isNaN(ae-Ce))return new Date(Ce);let Pe;if(Pe=ae.match(bt))return function hn(ae){const ze=new Date(0);let Ce=0,Pe=0;const vt=ae[8]?ze.setUTCFullYear:ze.setFullYear,jt=ae[8]?ze.setUTCHours:ze.setHours;ae[9]&&(Ce=Number(ae[9]+ae[10]),Pe=Number(ae[9]+ae[11])),vt.call(ze,Number(ae[1]),Number(ae[2])-1,Number(ae[3]));const qt=Number(ae[4]||0)-Ce,pn=Number(ae[5]||0)-Pe,Er=Number(ae[6]||0),wr=Math.floor(1e3*parseFloat("0."+(ae[7]||0)));return jt.call(ze,qt,pn,Er,wr),ze}(Pe)}const ze=new Date(ae);if(!Kn(ze))throw new w.buA(2311,!1);return ze}(ae);(function tn(ae){if(ae.length>256)throw new w.buA(2300,!1)})(ze),ze=Ut(Ce,ze)||ze;let pn,qt=[];for(;ze;){if(pn=Je.exec(ze),!pn){qt.push(ze);break}{qt=qt.concat(pn.slice(1));const Xn=qt.pop();if(!Xn)break;ze=Xn}}let Er=vt.getTimezoneOffset();Pe&&(Er=kn(Pe,Er),vt=function Cr(ae,ze){const vt=ae.getTimezoneOffset();return function Bn(ae,ze){return(ae=new Date(ae.getTime())).setMinutes(ae.getMinutes()+ze),ae}(ae,-1*(kn(ze,vt)-vt))}(vt,Pe));let wr="";return qt.forEach(Xn=>{const ur=function Vn(ae){if(In[ae])return In[ae];let ze;switch(ae){case"G":case"GG":case"GGG":ze=Sn(3,N.Abbreviated);break;case"GGGG":ze=Sn(3,N.Wide);break;case"GGGGG":ze=Sn(3,N.Narrow);break;case"y":ze=_n(0,1,0,!1,!0);break;case"yy":ze=_n(0,2,0,!0,!0);break;case"yyy":ze=_n(0,3,0,!1,!0);break;case"yyyy":ze=_n(0,4,0,!1,!0);break;case"Y":ze=dn(1);break;case"YY":ze=dn(2,!0);break;case"YYY":ze=dn(3);break;case"YYYY":ze=dn(4);break;case"M":case"L":ze=_n(1,1,1);break;case"MM":case"LL":ze=_n(1,2,1);break;case"MMM":ze=Sn(2,N.Abbreviated);break;case"MMMM":ze=Sn(2,N.Wide);break;case"MMMMM":ze=Sn(2,N.Narrow);break;case"LLL":ze=Sn(2,N.Abbreviated,b.Standalone);break;case"LLLL":ze=Sn(2,N.Wide,b.Standalone);break;case"LLLLL":ze=Sn(2,N.Narrow,b.Standalone);break;case"w":ze=It(1);break;case"ww":ze=It(2);break;case"W":ze=It(1,!0);break;case"d":ze=_n(2,1);break;case"dd":ze=_n(2,2);break;case"c":case"cc":ze=_n(7,1);break;case"ccc":ze=Sn(1,N.Abbreviated,b.Standalone);break;case"cccc":ze=Sn(1,N.Wide,b.Standalone);break;case"ccccc":ze=Sn(1,N.Narrow,b.Standalone);break;case"cccccc":ze=Sn(1,N.Short,b.Standalone);break;case"E":case"EE":case"EEE":ze=Sn(1,N.Abbreviated);break;case"EEEE":ze=Sn(1,N.Wide);break;case"EEEEE":ze=Sn(1,N.Narrow);break;case"EEEEEE":ze=Sn(1,N.Short);break;case"a":case"aa":case"aaa":ze=Sn(0,N.Abbreviated);break;case"aaaa":ze=Sn(0,N.Wide);break;case"aaaaa":ze=Sn(0,N.Narrow);break;
1case"b":case"bb":case"bbb":ze=Sn(0,N.Abbreviated,b.Standalone,!0);break;case"bbbb":ze=Sn(0,N.Wide,b.Standalone,!0);break;case"bbbbb":ze=Sn(0,N.Narrow,b.Standalone,!0);break;case"B":case"BB":case"BBB":ze=Sn(0,N.Abbreviated,b.Format,!0);break;case"BBBB":ze=Sn(0,N.Wide,b.Format,!0);break;case"BBBBB":ze=Sn(0,N.Narrow,b.Format,!0);break;case"h":ze=_n(3,1,-12);break;case"hh":ze=_n(3,2,-12);break;case"H":ze=_n(3,1);break;case"HH":ze=_n(3,2);break;case"m":ze=_n(4,1);break;case"mm":ze=_n(4,2);break;case"s":ze=_n(5,1);break;case"ss":ze=_n(5,2);break;case"S":ze=_n(6,1);break;case"SS":ze=_n(6,2);break;case"SSS":ze=_n(6,3);break;case"Z":case"ZZ":case"ZZZ":ze=rr(0);break;case"ZZZZZ":ze=rr(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ze=rr(1);break;case"OOOO":case"ZZZZ":case"zzzz":ze=rr(2);break;default:return null}return In[ae]=ze,ze}(Xn);wr+=ur?ur(vt,Ce,Er):"''"===Xn?"'":Xn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),wr}function yt(ae,ze,Ce){const Pe=new Date(0);return Pe.setFullYear(ae,ze,Ce),Pe.setHours(0,0,0),Pe}function Ut(ae,ze){const Ce=function B(ae){return(0,v.kBR)(ae)[v.NSC.LocaleId]}(ae);if(Xe[Ce]??={},Xe[Ce][ze])return Xe[Ce][ze];let Pe="";switch(ze){case"shortDate":Pe=$e(ae,A.Short);break;case"mediumDate":Pe=$e(ae,A.Medium);break;case"longDate":Pe=$e(ae,A.Long);break;case"fullDate":Pe=$e(ae,A.Full);break;case"shortTime":Pe=Oe(ae,A.Short);break;case"mediumTime":Pe=Oe(ae,A.Medium);break;case"longTime":Pe=Oe(ae,A.Long);break;case"fullTime":Pe=Oe(ae,A.Full);break;case"short":const vt=Ut(ae,"shortTime"),jt=Ut(ae,"shortDate");Pe=Kt(Ue(ae,A.Short),[vt,jt]);break;case"medium":const qt=Ut(ae,"mediumTime"),pn=Ut(ae,"mediumDate");Pe=Kt(Ue(ae,A.Medium),[qt,pn]);break;case"long":const Er=Ut(ae,"longTime"),wr=Ut(ae,"longDate");Pe=Kt(Ue(ae,A.Long),[Er,wr]);break;case"full":const Xn=Ut(ae,"fullTime"),ur=Ut(ae,"fullDate");Pe=Kt(Ue(ae,A.Full),[Xn,ur])}return Pe&&(Xe[Ce][ze]=Pe),Pe}function Kt(ae,ze){return ze&&(ae=ae.replace(/\{([^}]+)}/g,function(Ce,Pe){return null!=ze&&Pe in ze?ze[Pe]:Ce})),ae}function un(ae,ze,Ce="-",Pe,vt){let jt="";(ae<0||vt&&ae<=0)&&(vt?ae=1-ae:(ae=-ae,jt=Ce));let qt=String(ae);for(;qt.length<ze;)qt="0"+qt;return Pe&&(qt=qt.slice(qt.length-ze)),jt+qt}function _n(ae,ze,Ce=0,Pe=!1,vt=!1){return function(jt,qt){let pn=function cr(ae,ze){switch(ae){case 0:return ze.getFullYear();case 1:return ze.getMonth();case 2:return ze.getDate();case 3:return ze.getHours();case 4:return ze.getMinutes();case 5:return ze.getSeconds();case 6:return ze.getMilliseconds();case 7:return ze.getDay();default:throw new w.buA(2301,!1)}}(ae,jt);if((Ce>0||pn>-Ce)&&(pn+=Ce),3===ae)0===pn&&-12===Ce&&(pn=12);else if(6===ae)return function or(ae,ze){return un(ae,3).substring(0,ze)}(pn,ze);const Er=Be(qt,5);return un(pn,ze,Er,Pe,vt)}}function Sn(ae,ze,Ce=b.Format,Pe=!1){return function(vt,jt){return function hr(ae,ze,Ce,Pe,vt,jt){switch(Ce){case 2:return function ce(ae,ze,Ce){const Pe=(0,v.kBR)(ae),jt=ye([Pe[v.NSC.MonthsFormat],Pe[v.NSC.MonthsStandalone]],ze);return ye(jt,Ce)}(ze,vt,Pe)[ae.getMonth()];case 1:return function Z(ae,ze,Ce){const Pe=(0,v.kBR)(ae),jt=ye([Pe[v.NSC.DaysFormat],Pe[v.NSC.DaysStandalone]],ze);return ye(jt,Ce)}(ze,vt,Pe)[ae.getDay()];case 0:const qt=ae.getHours(),pn=ae.getMinutes();if(jt){const wr=function Y(ae){const ze=(0,v.kBR)(ae);return me(ze),(ze[v.NSC.ExtraData][2]||[]).map(Pe=>"string"==typeof Pe?ge(Pe):[ge(Pe[0]),ge(Pe[1])])}(ze),Xn=function ee(ae,ze,Ce){const Pe=(0,v.kBR)(ae);me(Pe);const jt=ye([Pe[v.NSC.ExtraData][0],Pe[v.NSC.ExtraData][1]],ze)||[];return ye(jt,Ce)||[]}(ze,vt,Pe),ur=wr.findIndex(zr=>{if(Array.isArray(zr)){const[Or,oi]=zr,Ni=qt>=Or.hours&&pn>=Or.minutes,ti=qt<oi.hours||qt===oi.hours&&pn<oi.minutes;if(Or.hours<oi.hours){if(Ni&&ti)return!0}else if(Ni||ti)return!0}else if(zr.hours===qt&&zr.minutes===pn)return!0;return!1});if(-1!==ur)return Xn[ur]}return function Q(ae,ze,Ce){const Pe=(0,v.kBR)(ae),jt=ye([Pe[v.NSC.DayPeriodsFormat],Pe[v.NSC.DayPeriodsStandalone]],ze);return ye(jt,Ce)}(ze,vt,Pe)[qt<12?0:1];case 3:return function be(ae,ze){return ye((0,v.kBR)(ae)[v.NSC.Eras],ze)}(ze,Pe)[ae.getFullYear()<=0?0:1];default:throw new w.buA(2302,!1)}}(vt,jt,ae,ze,Ce,Pe)}}function rr(ae){return function(ze,Ce,Pe){const vt=-1*Pe,jt=Be(Ce,5),qt=vt>0?Math.floor(vt/60):Math.ceil(vt/60);switch(ae){case 0:return(vt>=0?"+":"")+un(qt,2,jt)+un(Math.abs(vt%60),2,jt);case 1:return"GMT"+(vt>=0?"+":"")+un(qt,1,jt);case 2:return"GMT"+(vt>=0?"+":"")+un(qt,2,jt)+":"+un(Math.abs(vt%60),2,jt);case 3:return 0===Pe?"Z":(vt>=0?"+":"")+un(qt,2,jt)+":"+un(Math.abs(vt%60),2,jt);default:throw new w.buA(2310,!1)}}}function gt(ae){const ze=ae.getDay(),Ce=0===ze?-3:4-ze;return yt(ae.getFullYear(),ae.getMonth(),ae.getDate()+Ce)}function It(ae,ze=!1){return function(Ce,Pe){let vt;if(ze){const jt=new Date(Ce.getFullYear(),Ce.getMonth(),1).getDay()-1,qt=Ce.getDate();vt=1+Math.floor((qt+jt)/7)}else{const jt=gt(Ce),qt=function ct(ae){const ze=yt(ae,0,1).getDay();return yt(ae,0,1+(ze<=4?4:11)-ze)}(jt.getFullYear()),pn=jt.getTime()-qt.getTime();vt=1+Math.round(pn/6048e5)}return un(vt,ae,Be(Pe,5))}}function dn(ae,ze=!1){return function(Ce,Pe){return un(gt(Ce).getFullYear(),ae,Be(Pe,5),ze)}}const In={};function kn(ae,ze){ae=ae.replace(/:/g,"");const Ce=Date.parse("Jan 01, 1970 00:00:00 "+ae)/6e4;return isNaN(Ce)?ze:Ce}function Kn(ae){return ae instanceof Date&&!isNaN(ae.valueOf())}const Xt=/\s+/,fn=[];let Nn=(()=>{class ae{_ngEl;_renderer;initialClasses=fn;rawClass;stateMap=new Map;constructor(Ce,Pe){this._ngEl=Ce,this._renderer=Pe}set klass(Ce){this.initialClasses=null!=Ce?Ce.trim().split(Xt):fn}set ngClass(Ce){this.rawClass="string"==typeof Ce?Ce.trim().split(Xt):Ce}ngDoCheck(){for(const Pe of this.initialClasses)this._updateState(Pe,!0);const Ce=this.rawClass;if(Array.isArray(Ce)||Ce instanceof Set)for(const Pe of Ce)this._updateState(Pe,!0);
vendor: 2,738 bytes, line 1
1else if(null!=Ce)for(const Pe of Object.keys(Ce))this._updateState(Pe,!!Ce[Pe]);this._applyStateDiff()}_updateState(Ce,Pe){const vt=this.stateMap.get(Ce);void 0!==vt?(vt.enabled!==Pe&&(vt.changed=!0,vt.enabled=Pe),vt.touched=!0):this.stateMap.set(Ce,{enabled:Pe,changed:!0,touched:!0})}_applyStateDiff(){for(const Ce of this.stateMap){const Pe=Ce[0],vt=Ce[1];vt.changed?(this._toggleClass(Pe,vt.enabled),vt.changed=!1):vt.touched||(vt.enabled&&this._toggleClass(Pe,!1),this.stateMap.delete(Pe)),vt.touched=!1}}_toggleClass(Ce,Pe){(Ce=Ce.trim()).length>0&&Ce.split(Xt).forEach(vt=>{Pe?this._renderer.addClass(this._ngEl.nativeElement,vt):this._renderer.removeClass(this._ngEl.nativeElement,vt)})}static \u0275fac=function(Pe){return new(Pe||ae)(v.rXU(v.aKT),v.rXU(v.sFG))};static \u0275dir=v.FsC({type:ae,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return ae})();class Ve{$implicit;ngForOf;index;count;constructor(ze,Ce,Pe,vt){this.$implicit=ze,this.ngForOf=Ce,this.index=Pe,this.count=vt}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 te=(()=>{class ae{_viewContainer;_template;_differs;set ngForOf(Ce){this._ngForOf=Ce,this._ngForOfDirty=!0}set ngForTrackBy(Ce){this._trackByFn=Ce}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(Ce,Pe,vt){this._viewContainer=Ce,this._template=Pe,this._differs=vt}set ngForTemplate(Ce){Ce&&(this._template=Ce)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ce=this._ngForOf;!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create(this.ngForTrackBy))}if(this._differ){const Ce=this._differ.diff(this._ngForOf);Ce&&this._applyChanges(Ce)}}_applyChanges(Ce){const Pe=this._viewContainer;Ce.forEachOperation((vt,jt,qt)=>{if(null==vt.previousIndex)Pe.createEmbeddedView(this._template,new Ve(vt.item,this._ngForOf,-1,-1),null===qt?void 0:qt);else if(null==qt)Pe.remove(null===jt?void 0:jt);else if(null!==jt){const pn=Pe.get(jt);Pe.move(pn,qt),W(pn,vt)}});for(let vt=0,jt=Pe.length;vt<jt;vt++){const pn=Pe.get(vt).context;pn.index=vt,pn.count=jt,pn.ngForOf=this._ngForOf}Ce.forEachIdentityChange(vt=>{W(Pe.get(vt.currentIndex),vt)})}static ngTemplateContextGuard(Ce,Pe){return!0}static \u0275fac=function(Pe){return new(Pe||ae)(v.rXU(v.c1b),v.rXU(v.C4Q),v.rXU(R._q3))};static \u0275dir=v.FsC({type:ae,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return ae})();function W(ae,ze){ae.context.$implicit=ze.item}let _e=(()=>{class ae{_viewContainer;_context=new Se;_thenTemplateRef=null;_elseTemplateRef=null;
1_thenViewRef=null;_elseViewRef=null;constructor(Ce,Pe){this._viewContainer=Ce,this._thenTemplateRef=Pe}set ngIf(Ce){this._context.$implicit=this._context.ngIf=Ce,this._updateView()}set ngIfThen(Ce){Dt(Ce),this._thenTemplateRef=Ce,this._thenViewRef=null,this._updateView()}set ngIfElse(Ce){Dt(Ce),this._elseTemplateRef=Ce,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Ce,Pe){return!0}static \u0275fac=function(Pe){return new(Pe||ae)(v.rXU(v.c1b),v.rXU(v.C4Q))};static \u0275dir=v.FsC({type:ae,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return ae})();class Se{$implicit=null;ngIf=null}function Dt(ae,ze){if(ae&&!ae.createEmbeddedView)throw new w.buA(2020,!1)}let Ye=(()=>{class ae{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Ce,Pe,vt){this._ngEl=Ce,this._differs=Pe,this._renderer=vt}set ngStyle(Ce){this._ngStyle=Ce,!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create())}ngDoCheck(){if(this._differ){const Ce=this._differ.diff(this._ngStyle);Ce&&this._applyChanges(Ce)}}_setStyle(Ce,Pe){const[vt,jt]=Ce.split("."),qt=-1===vt.indexOf("-")?void 0:v.czy.DashCase;null!=Pe?this._renderer.setStyle(this._ngEl.nativeElement,vt,jt?`${Pe}${jt}`:Pe,qt):this._renderer.removeStyle(this._ngEl.nativeElement,vt,qt)}_applyChanges(Ce){Ce.forEachRemovedItem(Pe=>this._setStyle(Pe.key,null)),Ce.forEachAddedItem(Pe=>this._setStyle(Pe.key,Pe.currentValue)),Ce.forEachChangedItem(Pe=>this._setStyle(Pe.key,Pe.currentValue))}static \u0275fac=function(Pe){return new(Pe||ae)(v.rXU(v.aKT),v.rXU(R.MKu),v.rXU(v.sFG))};static \u0275dir=v.FsC({type:ae,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return ae})(),ht=(()=>{class ae{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,w.WQX)(w.zZn);constructor(Ce){this._viewContainerRef=Ce}ngOnChanges(Ce){if(this._shouldRecreateView(Ce)){const Pe=this._viewContainerRef;if(this._viewRef&&Pe.remove(Pe.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const vt=this._createContextForwardProxy();this._viewRef=Pe.createEmbeddedView(this.ngTemplateOutlet,vt,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(Ce){return!!Ce.ngTemplateOutlet||!!Ce.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ce,Pe,vt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Pe,vt),get:(Ce,Pe,vt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Pe,vt)}})}static \u0275fac=function(Pe){return new(Pe||ae)(v.rXU(v.c1b))};static \u0275dir=v.FsC({type:ae,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[v.OA$]})}return ae})();function Ft(ae,ze){return new w.buA(2100,!1)}class bn{createSubscription(ze,Ce,Pe){return(0,S.O8)(()=>ze.subscribe({next:Ce,error:Pe}))}dispose(ze){(0,S.O8)(()=>ze.unsubscribe())}}class Cn{createSubscription(ze,Ce,Pe){return ze.then(vt=>Ce?.(vt),vt=>Pe?.(vt)),{unsubscribe:()=>{Ce=null,Pe=null}}}dispose(ze){ze.unsubscribe()}}const xn=new Cn,zn=new bn;let ii=(()=>{class ae{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,w.WQX)(w.ZTf);constructor(Ce){this._ref=Ce}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ce){if(!this._obj){if(Ce)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ce)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ce!==this._obj?(this._dispose(),this.transform(Ce)):this._latestValue}_subscribe(Ce){this._obj=Ce,this._strategy=this._selectStrategy(Ce),this._subscription=this._strategy.createSubscription(Ce,Pe=>this._updateLatestValue(Ce,Pe),Pe=>this.applicationErrorHandler(Pe))}_selectStrategy(Ce){if((0,v.yLl)(Ce))return xn;if((0,v.cdK)(Ce))return zn;throw Ft()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ce,Pe){Ce===this._obj&&(this._latestValue=Pe,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(Pe){return new(Pe||ae)(v.rXU(R.gRc,16))};static \u0275pipe=v.EJ8({name:"async",type:ae,pure:!1})}return ae})();const Fn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let qn=(()=>{class ae{transform(Ce){return null==Ce?null:(function si(ae,ze){if("string"!=typeof ze)throw Ft()}(0,Ce),Ce.replace(Fn,Pe=>Pe[0].toUpperCase()+Pe.slice(1).toLowerCase()))}static \u0275fac=function(Pe){return new(Pe||ae)};static \u0275pipe=v.EJ8({name:"titlecase",type:ae,pure:!0})}return ae})();const Lr=new w.nKC(""),_i=new w.nKC("");let Hr=(()=>{class ae{locale;defaultTimezone;defaultOptions;constructor(Ce,Pe,vt){this.locale=Ce,this.defaultTimezone=Pe,this.defaultOptions=vt}transform(Ce,Pe,vt,jt){if(null==Ce||""===Ce||Ce!=Ce)return null;try{return Pt(Ce,Pe??this.defaultOptions?.dateFormat??"mediumDate",jt||this.locale,vt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(qt){throw Ft()}}static \u0275fac=function(Pe){return new(Pe||ae)(v.rXU(v.xe9,16),v.rXU(Lr,24),v.rXU(_i,24))};static \u0275pipe=v.EJ8({name:"date",type:ae,pure:!0})}return ae})(),qr=(()=>{class ae{static \u0275fac=function(Pe){return new(Pe||ae)};static \u0275mod=v.$C({type:ae});static \u0275inj=w.G2t({})}return ae})()},5984(qe,P,c){"use strict";c.d(P,{Q:()=>S,Sm:()=>h,aZ:()=>b,hb:()=>L,kB:()=>E,om:()=>v});var u=c(5802),l=c(1413),R=c(6494);function v(B,Q){return B?Q?B.endsWith("/")?Q.startsWith("/")?B+Q.slice(1):B+Q:Q.startsWith("/")?B+Q:`${B}/${Q}`:B:Q}function w(B){const Q=B.search(/#|\?|$/);return"/"===B[Q-1]?B.slice(0,Q-1)+B.slice(Q):B}function S(B){return B&&"?"!==B[0]?`?${B}`:B}let L=(()=>{class B{historyGo(Z){throw new Error("")}static \u0275fac=function(ce){return new(ce||B)};static \u0275prov=u.jDH({token:B,factory:()=>(0,u.WQX)(h),providedIn:"root"})}return B})();const E=new u.nKC("");let h=(()=>{class B extends L{_platformLocation;_baseHref;_removeListenerFns=[];constructor(Z,ce){super(),this._platformLocation=Z,this._baseHref=ce??this._platformLocation.getBaseHrefFromDOM()??(0,u.WQX)(u.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Z){this._removeListenerFns.push(this._platformLocation.onPopState(Z),this._platformLocation.on
vendor: 14,495 bytes, line 1
1HashChange(Z))}getBaseHref(){return this._baseHref}prepareExternalUrl(Z){return v(this._baseHref,Z)}path(Z=!1){const ce=this._platformLocation.pathname+S(this._platformLocation.search),be=this._platformLocation.hash;return be&&Z?`${ce}${be}`:ce}pushState(Z,ce,be,Te){const we=this.prepareExternalUrl(be+S(Te));this._platformLocation.pushState(Z,ce,we)}replaceState(Z,ce,be,Te){const we=this.prepareExternalUrl(be+S(Te));this._platformLocation.replaceState(Z,ce,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Z=0){this._platformLocation.historyGo?.(Z)}static \u0275fac=function(ce){return new(ce||B)(u.KVO(R.Vw),u.KVO(E,8))};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})(),b=(()=>{class B{_subject=new l.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(Z){this._locationStrategy=Z;const ce=this._locationStrategy.getBaseHref();this._basePath=function V(B){if(new RegExp("^(https?:)?//").test(B)){const[,Z]=B.split(/\/\/[^\/]+/);return Z}return B}(w(C(ce))),this._locationStrategy.onPopState(be=>{this._subject.next({url:this.path(!0),pop:!0,state:be.state,type:be.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Z=!1){return this.normalize(this._locationStrategy.path(Z))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Z,ce=""){return this.path()==this.normalize(Z+S(ce))}normalize(Z){return B.stripTrailingSlash(function A(B,Q){if(!B||!Q.startsWith(B))return Q;const Z=Q.substring(B.length);return""===Z||["/",";","?","#"].includes(Z[0])?Z:Q}(this._basePath,C(Z)))}prepareExternalUrl(Z){return Z&&"/"!==Z[0]&&(Z="/"+Z),this._locationStrategy.prepareExternalUrl(Z)}go(Z,ce="",be=null){this._locationStrategy.pushState(be,"",Z,ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+S(ce)),be)}replaceState(Z,ce="",be=null){this._locationStrategy.replaceState(be,"",Z,ce),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+S(ce)),be)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Z=0){this._locationStrategy.historyGo?.(Z)}onUrlChange(Z){return this._urlChangeListeners.push(Z),this._urlChangeSubscription??=this.subscribe(ce=>{this._notifyUrlChangeListeners(ce.url,ce.state)}),()=>{const ce=this._urlChangeListeners.indexOf(Z);this._urlChangeListeners.splice(ce,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Z="",ce){this._urlChangeListeners.forEach(be=>be(Z,ce))}subscribe(Z,ce,be){return this._subject.subscribe({next:Z,error:ce??void 0,complete:be??void 0})}static normalizeQueryParams=S;static joinWithSlash=v;static stripTrailingSlash=w;static \u0275fac=function(ce){return new(ce||B)(u.KVO(L))};static \u0275prov=u.jDH({token:B,factory:()=>function N(){return new b((0,u.KVO)(L))}(),providedIn:"root"})}return B})();function C(B){return B.replace(/\/index\.html$/,"")}},3794(qe,P,c){"use strict";c.d(P,{$R:()=>Nn,Lr:()=>ce,Ml:()=>dn,Nl:()=>pt,Qq:()=>Kn,Sx:()=>Ve,ZZ:()=>Se,a7:()=>gt,cS:()=>Je,hv:()=>tt,tl:()=>rr,yz:()=>rt});var E=c(467),h=c(5802),f=c(5547),y=c(274),H=c(5964),b=c(980),N=c(6354),A=c(5558),C=c(1985),B=(c(6648),c(7673)),Q=c(3117),Z=c(6494);class ce{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(Ee){Ee?"string"==typeof Ee?this.lazyInit=()=>{this.headers=new Map,Ee.split("\n").forEach($=>{const he=$.indexOf(":");if(he>0){const Ae=$.slice(0,he),Ye=$.slice(he+1).trim();this.addHeaderEntry(Ae,Ye)}})}:typeof Headers<"u"&&Ee instanceof Headers?(this.headers=new Map,Ee.forEach(($,he)=>{this.addHeaderEntry(he,$)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ee).forEach(([$,he])=>{this.setHeaderEntries($,he)})}:this.headers=new Map}has(Ee){return this.init(),this.headers.has(Ee.toLowerCase())}get(Ee){this.init();const $=this.headers.get(Ee.toLowerCase());return $&&$.length>0?$[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ee){return this.init(),this.headers.get(Ee.toLowerCase())||null}append(Ee,$){return this.clone({name:Ee,value:$,op:"a"})}set(Ee,$){return this.clone({name:Ee,value:$,op:"s"})}delete(Ee,$){return this.clone({name:Ee,value:$,op:"d"})}maybeSetNormalizedName(Ee,$){this.normalizedNames.has($)||this.normalizedNames.set($,Ee)}init(){this.lazyInit&&(this.lazyInit instanceof ce?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ee=>this.applyUpdate(Ee)),this.lazyUpdate=null))}copyFrom(Ee){Ee.init(),Array.from(Ee.headers.keys()).forEach($=>{this.headers.set($,Ee.headers.get($)),this.normalizedNames.set($,Ee.normalizedNames.get($))})}clone(Ee){const $=new ce;return $.lazyInit=this.lazyInit&&this.lazyInit instanceof ce?this.lazyInit:this,$.lazyUpdate=(this.lazyUpdate||[]).concat([Ee]),$}applyUpdate(Ee){const $=Ee.name.toLowerCase();switch(Ee.op){case"a":case"s":let he=Ee.value;if("string"==typeof he&&(he=[he]),0===he.length)return;this.maybeSetNormalizedName(Ee.name,$);const Ae=("a"===Ee.op?this.headers.get($):void 0)||[];Ae.push(...he),this.headers.set($,Ae);break;case"d":const Ye=Ee.value;if(Ye){let ht=this.headers.get($);if(!ht)return;ht=ht.filter(Wt=>-1===Ye.indexOf(Wt)),0===ht.length?(this.headers.delete($),this.normalizedNames.delete($)):this.headers.set($,ht)}else this.headers.delete($),this.normalizedNames.delete($)}}addHeaderEntry(Ee,$){const he=Ee.toLowerCase();this.maybeSetNormalizedName(Ee,he),this.headers.has(he)?this.headers.get(he).push($):this.headers.set(he,[$])}setHeaderEntries(Ee,$){const he=(Array.isArray($)?$:[$]).map(Ye=>Ye.toString()),Ae=Ee.toLowerCase();this.headers.set(Ae,he),this.maybeSetNormalizedName(Ee,Ae)}forEach(Ee){this.init(),Array.from(this.normalizedNames.keys()).forEach($=>Ee(this.normalizedNames.get($),this.headers.get($)))}}class we{map=new Map;set(Ee,$){return this.map.set(Ee,$),this}get(Ee){return this.map.has(Ee)||this.map.set(Ee,Ee.defaultValue()),this.map.get(Ee)}delete(Ee){return this.map.delete(Ee),this}has(Ee){return this.map.has(Ee)}keys(){return this.map.keys()}}class $e{encodeKey(Ee){return lt(Ee)}encodeValue(Ee){return lt(Ee)}decodeKey(Ee){return decodeURIComponent(Ee)}decodeValue(Ee){return decodeURIComponent(Ee)}}const Ue=/%(\d[a-f0-9])/gi,Be={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lt(U){return encodeURIComponent(U).replace(Ue,(Ee,$)=>Be[$]??Ee)}function et(U){return`${U}`}class pt{map;encoder;updates=null;cloneFrom=null;constructor(Ee={}){if(this.encoder=Ee.encoder||new $e,Ee.fromString){if(Ee.fromObject)throw new h.buA(2805,!1);this.map=function Oe(U,Ee){const $=new Map;return U.length>0&&U.replace(/^\?/,"").split("&").forEach(Ae=>{const Ye=Ae.indexOf("="),[ht,Wt]=-1==Ye?[Ee.decodeKey(Ae),""]:[Ee.decodeKey(Ae.slice(0,Ye)),Ee.decodeValue(Ae.slice(Ye+1))],Ft=$.get(ht)||[];Ft.push(Wt),$.set(ht,Ft)}),$}(Ee.fromString,this.encoder)}else Ee.fromObject?(this.map=new Map,Object.keys(Ee.fromObject).forEach($=>{const he=Ee.fromObject[$],Ae=Array.isArray(he)?he.map(et):[et(he)];this.map.set($,Ae)})):this.map=null}has(Ee){return this.init(),this.map.has(Ee)}get(Ee){this.init();const $=this.map.get(Ee);return $?$[0]:null}getAll(Ee){return this.init(),this.map.get(Ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ee,$){return this.clone({param:Ee,value:$,op:"a"})}appendAll(Ee){const $=[];return Object.keys(Ee).forEach(he=>{const Ae=Ee[he];Array.isArray(Ae)?Ae.forEach(Ye=>{$.push({param:he,value:Ye,op:"a"})}):$.push({param:he,value:Ae,op:"a"})}),this.clone($)}set(Ee,$){return this.clone({param:Ee,value:$,op:"s"})}delete(Ee,$){return this.clone({param:Ee,value:$,op:"d"})}toString(){return this.init(),this.keys().map(Ee=>{const $=this.encoder.encodeKey(Ee);return this.map.get(Ee).map(he=>$+"="+this.encoder.encodeValue(he)).join("&")}).filter(Ee=>""!==Ee).join("&")}clone(Ee){const $=new pt({encoder:this.encoder});return $.cloneFrom=this.cloneFrom||this,$.updates=(this.updates||[]).concat(Ee),$}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ee=>this.map.set(Ee,this.cloneFrom.map.get(Ee))),this.updates.forEach(Ee=>{switch(Ee.op){case"a":case"s":const $=("a"===Ee.op?this.map.get(Ee.param):void 0)||[];$.push(et(Ee.value)),this.map.set(Ee.param,$);break;case"d":if(void 0===Ee.value){this.map.delete(Ee.param);break}{let he=this.map.get(Ee.param)||[];const Ae=he.indexOf(et(Ee.value));-1!==Ae&&he.splice(Ae,1),he.length>0?this.map.set(Ee.param,he):this.map.delete(Ee.param)}}}),this.cloneFrom=this.updates=null)}}function st(U){return typeof ArrayBuffer<"u"&&U instanceof ArrayBuffer}function se(U){return typeof Blob<"u"&&U instanceof Blob}function me(U){return typeof FormData<"u"&&U instanceof FormData}const ee="Content-Type",fe="Accept",ye="text/plain",ge="application/json",Ne=`${ge}, ${ye}, */*`;class je{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(Ee,$,he,Ae){let Ye;if(this.url=$,this.method=Ee.toUpperCase(),function Ct(U){switch(U){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ae?(this.body=void 0!==he?he:null,Ye=Ae):Ye=he,Ye){if(this.reportProgress=!!Ye.reportProgress,this.withCredentials=!!Ye.withCredentials,this.keepalive=!!Ye.keepalive,Ye.responseType&&(this.responseType=Ye.responseType),Ye.headers&&(this.headers=Ye.headers),Ye.context&&(this.context=Ye.context),Ye.params&&(this.params=Ye.params),Ye.priority&&(this.priority=Ye.priority),Ye.cache&&(this.cache=Ye.cache),Ye.credentials&&(this.credentials=Ye.credentials),"number"==typeof Ye.timeout){if(Ye.timeout<1||!Number.isInteger(Ye.timeout))throw new h.buA(2822,"");this.timeout=Ye.timeout}Ye.mode&&(this.mode=Ye.mode),Ye.redirect&&(this.redirect=Ye.redirect),Ye.integrity&&(this.integrity=Ye.integrity),void 0!==Ye.referrer&&(this.referrer=Ye.referrer),Ye.referrerPolicy&&(this.referrerPolicy=Ye.referrerPolicy),this.transferCache=Ye.transferCache}if(this.headers??=new ce,this.context??=new we,this.params){const ht=this.params.toString();if(0===ht.length)this.urlWithParams=$;else{const Wt=$.indexOf("?");this.urlWithParams=$+(-1===Wt?"?":Wt<$.length-1?"&":"")+ht}}else this.params=new pt,this.urlWithParams=$}serializeBody(){return null===this.body?null:"string"==typeof this.body||st(this.body)||se(this.body)||me(this.body)||function Y(U){return typeof URLSearchParams<"u"&&U instanceof URLSearchParams}(this.body)?this.body:this.body instanceof pt?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||me(this.body)?null:se(this.body)?this.body.type||null:st(this.body)?null:"string"==typeof this.body?ye:this.body instanceof pt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?ge:null}clone(Ee={}){const $=Ee.method||this.method,he=Ee.url||this.url,Ae=Ee.responseType||this.responseType,Ye=Ee.keepalive??this.keepalive,ht=Ee.priority||this.priority,Wt=Ee.cache||this.cache,Ft=Ee.mode||this.mode,an=Ee.redirect||this.redirect,bn=Ee.credentials||this.credentials,Cn=Ee.referrer??this.referrer,xn=Ee.integrity||this.integrity,zn=Ee.referrerPolicy||this.referrerPolicy,ii=Ee.transferCache??this.transferCache,ei=Ee.timeout??this.timeout,Fn=void 0!==Ee.body?Ee.body:this.body,qn=Ee.withCredentials??this.withCredentials,vr=Ee.reportProgress??this.reportProgress;let si=Ee.headers||this.headers,Mr=Ee.params||this.params;const Lr=Ee.context??this.context;return void 0!==Ee.setHeaders&&(si=Object.keys(Ee.setHeaders).reduce((_i,Hr)=>_i.set(Hr,Ee.setHeaders[Hr]),si)),Ee.setParams&&(Mr=Object.keys(Ee.setParams).reduce((_i,Hr)=>_i.set(Hr,Ee.setParams[Hr]),Mr)),new je($,he,Fn,{params:Mr,headers:si,context:Lr,reportProgress:vr,responseType:Ae,withCredentials:qn,transferCache:ii,keepalive:Ye,cache:Wt,priority:ht,timeout:ei,mode:Ft,redirect:an,credentials:bn,referrer:Cn,integrity:xn,referrerPolicy:zn})}}var tt=function(U){return U[U.Sent=0]="Sent",U[U.UploadProgress=1]="UploadProgress",U[U.ResponseHeader=2]="ResponseHeader",U[U.DownloadProgress=3]="DownloadProgress",U[U.Response=4]="Response",U[U.User=5]="User",U}(tt||{});class bt{headers;status;statusText;url;ok;type;redirected;responseType;constructor(Ee,$=200,he="OK"){this.headers=Ee.headers||new ce,this.status=void 0!==Ee.status?Ee.status:$,this.statusText=Ee.statusText||he,this.url=Ee.url||null,this.redirected=Ee.redirected,this.responseType=Ee.responseType,this.ok=this.status>=200&&this.status<300}}class Xe extends bt{constructor(Ee={}){super(Ee)}type=tt.ResponseHeader;clone(Ee={}){return new Xe({headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class Je extends bt{body;constructor(Ee={}){super(Ee),this.body=void 0!==Ee.body?Ee.body:null}type=tt.Response;clone(Ee={}){return new Je({body:void 0!==Ee.body?Ee.body:this.body,headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0,redirected:Ee.redirected??this.redirected,responseType:Ee.responseType??this.responseType})}}class rt extends bt{name="HttpErrorResponse";message;error;ok=!1;constructor(Ee){super(Ee,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ee.url||"(unknown url)"}`:`Http failure response for ${Ee.url||"(unknown url)"}: ${Ee.status} ${Ee.statusText}`,this.error=Ee.error||null}}const yt=/^\)\]\}',?\n/,Ut=new h.nKC("");let Kt=(()=>{class U{fetchImpl=(0,h.WQX)(un,{optional:!0})?.fetch??((...$)=>globalThis.fetch(...$));ngZone=(0,h.WQX)(h.SKi);destroyRef=(0,h.WQX)(h.abz);handle($){return new C.c(he=>{const Ae=new AbortController;let Ye;return this.doRequest($,Ae.signal,he).then(or,ht=>he.error(new rt({error:ht}))),$.timeout&&(Ye=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{Ae.signal.aborted||Ae.abort(new DOMException("signal timed out","TimeoutError"))},$.timeout))),()=>{void 0!==Ye&&clearTimeout(Ye),Ae.abort()}})}
1doRequest($,he,Ae){var Ye=this;return(0,E.A)(function*(){const ht=Ye.createRequestInit($);let Wt;try{const Fn=Ye.ngZone.runOutsideAngular(()=>Ye.fetchImpl($.urlWithParams,{signal:he,...ht}));(function cr(U){U.then(or,or)})(Fn),Ae.next({type:tt.Sent}),Wt=yield Fn}catch(Fn){return void Ae.error(new rt({error:Fn,status:Fn.status??0,statusText:Fn.statusText,url:$.urlWithParams,headers:Fn.headers}))}const Ft=new ce(Wt.headers),an=Wt.statusText,bn=Wt.url||$.urlWithParams;let Cn=Wt.status,xn=null;if($.reportProgress&&Ae.next(new Xe({headers:Ft,status:Cn,statusText:an,url:bn})),Wt.body){const Fn=Wt.headers.get("content-length"),qn=[],vr=Wt.body.getReader();let Mr,Lr,si=0;const _i=typeof Zone<"u"&&Zone.current;let Hr=!1;if(yield Ye.ngZone.runOutsideAngular((0,E.A)(function*(){for(;;){if(Ye.destroyRef.destroyed){yield vr.cancel(),Hr=!0;break}const{done:it,value:Mt}=yield vr.read();if(it)break;if(qn.push(Mt),si+=Mt.length,$.reportProgress){Lr="text"===$.responseType?(Lr??"")+(Mr??=new TextDecoder).decode(Mt,{stream:!0}):void 0;const xt=()=>Ae.next({type:tt.DownloadProgress,total:Fn?+Fn:void 0,loaded:si,partialText:Lr});_i?_i.run(xt):xt()}}})),Hr)return void Ae.complete();const Ai=Ye.concatChunks(qn,si);try{const it=Wt.headers.get(ee)??"";xn=Ye.parseBody($,Ai,it,Cn)}catch(it){return void Ae.error(new rt({error:it,headers:new ce(Wt.headers),status:Wt.status,statusText:Wt.statusText,url:Wt.url||$.urlWithParams}))}}0===Cn&&(Cn=xn?200:0);const ii=Wt.redirected,ei=Wt.type;Cn>=200&&Cn<300?(Ae.next(new Je({body:xn,headers:Ft,status:Cn,statusText:an,url:bn,redirected:ii,responseType:ei})),Ae.complete()):Ae.error(new rt({error:xn,headers:Ft,status:Cn,statusText:an,url:bn,redirected:ii,responseType:ei}))})()}parseBody($,he,Ae,Ye){switch($.responseType){case"json":const ht=(new TextDecoder).decode(he).replace(yt,"");if(""===ht)return null;try{return JSON.parse(ht)}catch(Wt){if(Ye<200||Ye>=300)return ht;throw Wt}case"text":return(new TextDecoder).decode(he);case"blob":return new Blob([he],{type:Ae});case"arraybuffer":return he.buffer}}createRequestInit($){const he={};let Ae;if(Ae=$.credentials,$.withCredentials&&(Ae="include"),$.headers.forEach((Ye,ht)=>he[Ye]=ht.join(",")),$.headers.has(fe)||(he[fe]=Ne),!$.headers.has(ee)){const Ye=$.detectContentTypeHeader();null!==Ye&&(he[ee]=Ye)}return{body:$.serializeBody(),method:$.method,headers:he,credentials:Ae,keepalive:$.keepalive,cache:$.cache,priority:$.priority,mode:$.mode,redirect:$.redirect,referrer:$.referrer,integrity:$.integrity,referrerPolicy:$.referrerPolicy}}concatChunks($,he){const Ae=new Uint8Array(he);let Ye=0;for(const ht of $)Ae.set(ht,Ye),Ye+=ht.length;return Ae}static \u0275fac=function(he){return new(he||U)};static \u0275prov=h.jDH({token:U,factory:U.\u0275fac})}return U})();class un{}function or(){}const Sn=/^\)\]\}',?\n/;let rr=(()=>{class U{xhrFactory;tracingService=(0,h.WQX)(f.a8H,{optional:!0});constructor($){this.xhrFactory=$}maybePropagateTrace($){return this.tracingService?.propagate?this.tracingService.propagate($):$}handle($){if("JSONP"===$.method)throw new h.buA(-2800,!1);const he=this.xhrFactory;return(0,B.of)(null).pipe((0,A.n)(()=>new C.c(Ye=>{const ht=he.build();if(ht.open($.method,$.urlWithParams),$.withCredentials&&(ht.withCredentials=!0),$.headers.forEach((Fn,qn)=>ht.setRequestHeader(Fn,qn.join(","))),$.headers.has(fe)||ht.setRequestHeader(fe,Ne),!$.headers.has(ee)){const Fn=$.detectContentTypeHeader();null!==Fn&&ht.setRequestHeader(ee,Fn)}if($.timeout&&(ht.timeout=$.timeout),$.responseType){const Fn=$.responseType.toLowerCase();ht.responseType="json"!==Fn?Fn:"text"}const Wt=$.serializeBody();let Ft=null;const an=()=>{if(null!==Ft)return Ft;const Fn=ht.statusText||"OK",qn=new ce(ht.getAllResponseHeaders());return Ft=new Xe({headers:qn,status:ht.status,statusText:Fn,url:ht.responseURL||$.url}),Ft},bn=this.maybePropagateTrace(()=>{let{headers:Fn,status:qn,statusText:vr,url:si}=an(),Mr=null;204!==qn&&(Mr=typeof ht.response>"u"?ht.responseText:ht.response),0===qn&&(qn=Mr?200:0);let Lr=qn>=200&&qn<300;if("json"===$.responseType&&"string"==typeof Mr){const _i=Mr;Mr=Mr.replace(Sn,"");try{Mr=""!==Mr?JSON.parse(Mr):null}catch(Hr){Mr=_i,Lr&&(Lr=!1,Mr={error:Hr,text:Mr})}}Lr?(Ye.next(new Je({body:Mr,headers:Fn,status:qn,statusText:vr,url:si||void 0})),Ye.complete()):Ye.error(new rt({error:Mr,headers:Fn,status:qn,statusText:vr,url:si||void 0}))}),Cn=this.maybePropagateTrace(Fn=>{const{url:qn}=an(),vr=new rt({error:Fn,status:ht.status||0,statusText:ht.statusText||"Unknown Error",url:qn||void 0});Ye.error(vr)});let xn=Cn;$.timeout&&(xn=this.maybePropagateTrace(Fn=>{const{url:qn}=an(),vr=new rt({error:new DOMException("Request timed out","TimeoutError"),status:ht.status||0,statusText:ht.statusText||"Request timeout",url:qn||void 0});Ye.error(vr)}));let zn=!1;const ii=this.maybePropagateTrace(Fn=>{zn||(Ye.next(an()),zn=!0);let qn={type:tt.DownloadProgress,loaded:Fn.loaded};Fn.lengthComputable&&(qn.total=Fn.total),"text"===$.responseType&&ht.responseText&&(qn.partialText=ht.responseText),Ye.next(qn)}),ei=this.maybePropagateTrace(Fn=>{let qn={type:tt.UploadProgress,loaded:Fn.loaded};Fn.lengthComputable&&(qn.total=Fn.total),Ye.next(qn)});return ht.addEventListener("load",bn),ht.addEventListener("error",Cn),ht.addEventListener("timeout",xn),ht.addEventListener("abort",Cn),$.reportProgress&&(ht.addEventListener("progress",ii),null!==Wt&&ht.upload&&ht.upload.addEventListener("progress",ei)),ht.send(Wt),Ye.next({type:tt.Sent}),()=>{ht.removeEventListener("error",Cn),ht.removeEventListener("abort",Cn),ht.removeEventListener("load",bn),ht.removeEventListener("timeout",xn),$.reportProgress&&(ht.removeEventListener("progress",ii),null!==Wt&&ht.upload&&ht.upload.removeEventListener("progress",ei)),ht.readyState!==ht.DONE&&ht.abort()}})))}static \u0275fac=function(he){return new(he||U)(h.KVO(Q.N))};static \u0275prov=h.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function wt(U,Ee){return Ee(U)}function en(U,Ee){return($,he)=>Ee.intercept($,{handle:Ae=>U(Ae,he)})}const gt=new h.nKC(""),It=new h.nKC("",{factory:()=>[]}),dn=new h.nKC(""),In=new h.nKC("",{factory:()=>!0});function Vn(){let U=null;return(Ee,$)=>{null===U&&(U=((0,h.WQX)(gt,{optional:!0})??[]).reduceRight(en,wt));const he=(0,h.WQX)(h.u5s);if((0,h.WQX)(In)){const Ye=he.add();return U(Ee,$).pipe((0,b.j)(Ye))}return U(Ee,$)}}let kn=(()=>{class U{static \u0275fac=function(he){return new(he||U)};static \u0275prov=h.jDH({token:U,factory:function(he){let Ae=null;return Ae=he?new(he||U):h.KVO(rr),Ae},providedIn:"root"})}return U})(),Cr=(()=>{class U{backend;injector;chain=null;pendingTasks=(0,h.WQX)(h.u5s);contributeToStability=(0,h.WQX)(In);constructor($,he){this.backend=$,this.injector=he}handle($){if(null===this.chain){const he=Array.from(new Set([...this.injector.get(It),...this.injector.get(dn,[])]));this.chain=he.reduceRight((Ae,Ye)=>
1function ct(U,Ee,$){return(he,Ae)=>(0,h.N4e)($,()=>Ee(he,Ye=>U(Ye,Ae)))}(Ae,Ye,this.injector),wt)}if(this.contributeToStability){const he=this.pendingTasks.add();return this.chain($,Ae=>this.backend.handle(Ae)).pipe((0,b.j)(he))}return this.chain($,he=>this.backend.handle(he))}static \u0275fac=function(he){return new(he||U)(h.KVO(kn),h.KVO(h.uvJ))};static \u0275prov=h.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),En=(()=>{class U{static \u0275fac=function(he){return new(he||U)};static \u0275prov=h.jDH({token:U,factory:function(he){let Ae=null;return Ae=he?new(he||U):h.KVO(Cr),Ae},providedIn:"root"})}return U})();function hn(U,Ee){return{body:Ee,headers:U.headers,context:U.context,observe:U.observe,params:U.params,reportProgress:U.reportProgress,responseType:U.responseType,withCredentials:U.withCredentials,credentials:U.credentials,transferCache:U.transferCache,timeout:U.timeout,keepalive:U.keepalive,priority:U.priority,cache:U.cache,mode:U.mode,redirect:U.redirect,integrity:U.integrity,referrer:U.referrer,referrerPolicy:U.referrerPolicy}}let Kn=(()=>{class U{handler;constructor($){this.handler=$}request($,he,Ae={}){let Ye;if($ instanceof je)Ye=$;else{let Ft,an;Ft=Ae.headers instanceof ce?Ae.headers:new ce(Ae.headers),Ae.params&&(an=Ae.params instanceof pt?Ae.params:new pt({fromObject:Ae.params})),Ye=new je($,he,void 0!==Ae.body?Ae.body:null,{headers:Ft,context:Ae.context,params:an,reportProgress:Ae.reportProgress,responseType:Ae.responseType||"json",withCredentials:Ae.withCredentials,transferCache:Ae.transferCache,keepalive:Ae.keepalive,priority:Ae.priority,cache:Ae.cache,mode:Ae.mode,redirect:Ae.redirect,credentials:Ae.credentials,referrer:Ae.referrer,referrerPolicy:Ae.referrerPolicy,integrity:Ae.integrity,timeout:Ae.timeout})}const ht=(0,B.of)(Ye).pipe((0,y.H)(Ft=>this.handler.handle(Ft)));if($ instanceof je||"events"===Ae.observe)return ht;const Wt=ht.pipe((0,H.p)(Ft=>Ft instanceof Je));switch(Ae.observe||"body"){case"body":switch(Ye.responseType){case"arraybuffer":return Wt.pipe((0,N.T)(Ft=>{if(null!==Ft.body&&!(Ft.body instanceof ArrayBuffer))throw new h.buA(2806,!1);return Ft.body}));case"blob":return Wt.pipe((0,N.T)(Ft=>{if(null!==Ft.body&&!(Ft.body instanceof Blob))throw new h.buA(2807,!1);return Ft.body}));case"text":return Wt.pipe((0,N.T)(Ft=>{if(null!==Ft.body&&"string"!=typeof Ft.body)throw new h.buA(2808,!1);return Ft.body}));default:return Wt.pipe((0,N.T)(Ft=>Ft.body))}case"response":return Wt;default:throw new h.buA(2809,!1)}}delete($,he={}){return this.request("DELETE",$,he)}get($,he={}){return this.request("GET",$,he)}head($,he={}){return this.request("HEAD",$,he)}jsonp($,he){return this.request("JSONP",$,{params:(new pt).append(he,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options($,he={}){return this.request("OPTIONS",$,he)}patch($,he,Ae={}){return this.request("PATCH",$,hn(Ae,he))}post($,he,Ae={}){return this.request("POST",$,hn(Ae,he))}put($,he,Ae={}){return this.request("PUT",$,hn(Ae,he))}static \u0275fac=function(he){return new(he||U)(h.KVO(En))};static \u0275prov=h.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();const ar=new h.nKC("",{factory:()=>!0}),fr=new h.nKC("",{factory:()=>"XSRF-TOKEN"}),Rr=new h.nKC("",{factory:()=>"X-XSRF-TOKEN"});let Ot=(()=>{class U{cookieName=(0,h.WQX)(fr);doc=(0,h.WQX)(h.qQL);
1lastCookieString="";lastToken=null;parseCount=0;getToken(){const $=this.doc.cookie||"";return $!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Q.b)($,this.cookieName),this.lastCookieString=$),this.lastToken}static \u0275fac=function(he){return new(he||U)};static \u0275prov=h.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),Vt=(()=>{class U{static \u0275fac=function(he){return new(he||U)};static \u0275prov=h.jDH({token:U,factory:function(he){let Ae=null;return Ae=he?new(he||U):h.KVO(Ot),Ae},providedIn:"root"})}return U})();function dt(U,Ee){if(!(0,h.WQX)(ar)||"GET"===U.method||"HEAD"===U.method)return Ee(U);try{const Ae=(0,h.WQX)(Z.Vw).href,{origin:Ye}=new URL(Ae),{origin:ht}=new URL(U.url,Ye);if(Ye!==ht)return Ee(U)}catch{return Ee(U)}const $=(0,h.WQX)(Vt).getToken(),he=(0,h.WQX)(Rr);return null!=$&&!U.headers.has(he)&&(U=U.clone({headers:U.headers.set(he,$)})),Ee(U)}var Xt=function(U){return U[U.Interceptors=0]="Interceptors",U[U.LegacyInterceptors=1]="LegacyInterceptors",U[U.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",U[U.NoXsrfProtection=3]="NoXsrfProtection",U[U.JsonpSupport=4]="JsonpSupport",U[U.RequestsMadeViaParent=5]="RequestsMadeViaParent",U[U.Fetch=6]="Fetch",U}(Xt||{});function fn(U,Ee){return{\u0275kind:U,\u0275providers:Ee}}function Nn(...U){const Ee=[Kn,Cr,{provide:En,useExisting:Cr},{provide:kn,useFactory:()=>(0,h.WQX)(Ut,{optional:!0})??(0,h.WQX)(rr)},{provide:It,useValue:dt,multi:!0}];for(const $ of U)Ee.push(...$.\u0275providers);return(0,h.EmA)(Ee)}const Ge=new h.nKC("");function Ve(){return fn(Xt.LegacyInterceptors,[{provide:Ge,useFactory:Vn},{provide:It,useExisting:Ge,multi:!0}])}function Se(){return fn(Xt.Fetch,[Kt,{provide:Ut,useExisting:Kt},{provide:kn,useExisting:Kt}])}},6494(qe,P,c){"use strict";c.d(P,{Vw:()=>w,hj:()=>S,ig:()=>R,qj:()=>v,rb:()=>l});var o=c(5802);let u=null;function l(){return u}function R(E){u??=E}class v{}let w=(()=>{class E{historyGo(f){throw new Error("")}static \u0275fac=function(y){return new(y||E)};static \u0275prov=o.jDH({token:E,factory:()=>(0,o.WQX)(L),providedIn:"platform"})}return E})();const S=new o.nKC("");let L=(()=>{class E extends w{_location;_history;_doc=(0,o.WQX)(o.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return l().getBaseHref(this._doc)}onPopState(f){const y=l().getGlobalEventTarget(this._doc,"window");return y.addEventListener("popstate",f,!1),()=>y.removeEventListener("popstate",f)}onHashChange(f){const y=l().getGlobalEventTarget(this._doc,"window");return y.addEventListener("hashchange",f,!1),()=>y.removeEventListener("hashchange",f)}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(f){this._location.pathname=f}pushState(f,y,H){this._history.pushState(f,y,H)}replaceState(f,y,H){this._history.replaceState(f,y,H)}forward(){this._history.forward()}back(){this._history.back()}historyGo(f=0){this._history.go(f)}getState(){return this._history.state}static \u0275fac=function(y){return new(y||E)};static \u0275prov=o.jDH({token:E,factory:()=>new E,providedIn:"platform"})}return E})()},3117(qe,P,c){"use strict";function o(l,R){R=encodeURIComponent(R);for(const v of l.split(";")){const w=v.indexOf("="),[S,L]=-1==w?[v,""]:[v.slice(0,w),v.slice(w+1)];if(S.trim()===R)return decodeURIComponent(L)}return null}c.d(P,{N:()=>u,b:()=>o});class u{}},177(qe,P,c){"use strict";c.d(P,{AJ:()=>Ue,UE:()=>lt,Vy:()=>et,Xr:()=>Ct});var we=c(5802);const Ue="browser";function lt(it){return it===Ue}function et(it){return"server"===it}let Ct=(()=>{class it{static \u0275prov=(0,we.jDH)({token:it,providedIn:"root",factory:()=>new st((0,we.WQX)(we.qQL),window)})}return it})();class st{document;window;offset=()=>[0,0];constructor(Mt,xt){this.document=Mt,this.window=xt}setOffset(Mt){this.offset=Array.isArray(Mt)?()=>Mt:Mt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Mt,xt){this.window.scrollTo({...xt,left:Mt[0],top:Mt[1]})}scrollToAnchor(Mt,xt){const Jt=function se(it,Mt){const xt=it.getElementById(Mt)||it.getElementsByName(Mt)[0];if(xt)return xt;if("function"==typeof it.createTreeWalker&&it.body&&"function"==typeof it.body.attachShadow){const Jt=it.createTreeWalker(it.body,NodeFilter.SHOW_ELEMENT);let On=Jt.currentNode;for(;On;){const br=On.shadowRoot;if(br){const kr=br.getElementById(Mt)||br.querySelector(`[name="${Mt}"]`);if(kr)return kr}On=Jt.nextNode()}}return null}(this.document,Mt);Jt&&(this.scrollToElement(Jt,xt),Jt.focus({preventScroll:!0}))}setHistoryScrollRestoration(Mt){try{this.window.history.scrollRestoration=Mt}catch{console.warn((0,we.OsK)(2400,!1))}}scrollToElement(Mt,xt){const Jt=Mt.getBoundingClientRect(),On=Jt.left+this.window.pageXOffset,br=Jt.top+this.window.pageYOffset,kr=this.offset();this.window.scrollTo({...xt,left:On-kr[0],top:br-kr[1]})}}},4529(qe,P,c){"use strict";c.d(P,{n:()=>o});const o={JSACTION:"jsaction"}},5547(qe,P,c){"use strict";c.d(P,{$C:()=>Dv,$KE:()=>_r,$Ln:()=>dy,$dS:()=>Tu,$o8:()=>Ei,$qc:()=>Ll,$ul:()=>ko,ATY:()=>ts,AVh:()=>zp,Ab1:()=>ml,Agw:()=>Bs,Avn:()=>Op,B1s:()=>Di,B4B:()=>Su,BIS:()=>qi,BMQ:()=>gp,BUC:()=>xy,C4Q:()=>Yl,C5r:()=>OE,C6U:()=>jp,C7A:()=>Gv,Co$:()=>yv,DH7:()=>rE,DNE:()=>Jf,DQ1:()=>Ga,DUP:()=>Na,DkB:()=>Rp,Dyx:()=>Wy,EBC:()=>dh,EFF:()=>j0,EJ8:()=>Mv,FsC:()=>Cv,FuF:()=>wD,GBs:()=>Up,H1s:()=>gy,HbH:()=>R0,HdQ:()=>Iy,Hgh:()=>Mp,Hps:()=>sp,JRh:()=>Qp,JeD:()=>Ta,Jt5:()=>Xy,Jv_:()=>hE,KED:()=>qT,Kzh:()=>Po,L8h:()=>_D,LHq:()=>Yp,LN$:()=>Et,LVR:()=>Sy,Lme:()=>Xp,N1r:()=>la,NAR:()=>v0,NCX:()=>Gc,NOj:()=>ph,NSC:()=>pc,NYb:()=>iM,NyB:()=>D0,NyN:()=>kl,OA$:()=>An,OM3:()=>pi,OR8:()=>Pn,Ocv:()=>CS,Ol2:()=>Qf,PLl:()=>Fs,PYC:()=>Rn,PYt:()=>vv,PeT:()=>qf,QTQ:()=>Js,Qdn:()=>rw,Ql9:()=>yS,R50:()=>Zp,R7$:()=>bh,RPW:()=>sa,RV6:()=>Gy,Ryq:()=>Fr,SML:()=>ET,SS7:()=>qp,SVM:()=>x,SdG:()=>y0,SpI:()=>Fd,TFI:()=>Dd,TMN:()=>js,UJm:()=>R_,UQZ:()=>z,UQu:()=>mS,VBU:()=>Ev,VeQ:()=>Os,VkB:()=>lE,Vm6:()=>jy,Vt3:()=>Yf,VwU:()=>Np,VzW:()=>kD,WPN:()=>Gi,WeM:()=>Rh,XSi:()=>ZD,XSp:()=>ky,XcC:()=>Is,XpG:()=>m0,Xx1:()=>It,Y8G:()=>bp,YEm:()=>cs,Z7z:()=>Vy,Zhj:()=>SD,_9s:()=>Va,_9u:()=>Ci,_jY:()=>ys,_qm:()=>$i,_ys:()=>Ih,a8H:()=>ll,aCM:()=>at,aKT:()=>Ri,bH3:()=>sE,bIt:()=>Lp,bMT:()=>SE,bRx:()=>Dc,bVm:()=>au,bc$:()=>Io,c0O:()=>We,c1b:()=>fd,cDI:()=>vC,cTO:()=>Qe,cdK:()=>fy,cf$:()=>Uu,cnB:()=>yM,czy:()=>xc,d48:()=>tl,d80:()=>ES,dOL:()=>uy,e6s:()=>uw,eHC:()=>hd,eq3:()=>_E,eu8:()=>Tp,eux:()=>Od,f$h:()=>Ic,fX1:()=>$y,g25:()=>Ay,gXe:()=>Ws,gil:()=>Tc,hkx:()=>tw,hnC:()=>MD,i5U:()=>AE,iBR:()=>da,iLQ:()=>_y,iWE:()=>At,j41:()=>ou,j9$:()=>Py,jOp:()=>pp,jW3:()=>Oy,k0s:()=>Sd,kBR:()=>Ip,kS0:()=>qt,lJ4:()=>gE,lJT:()=>my,l_i:()=>mE,lsd:()=>b0,mGM:()=>E0,mNQ:()=>aE,mU9:()=>CD,mal:()=>ju,mu_:()=>Lo,mxI:()=>Jp,n$e:()=>ea,n$t:()=>lh,nI1:()=>TE,nI4:()=>m_,nM4:()=>Sv,nVh:()=>By,njN:()=>xo,npT:()=>wu,nrm:()=>Cp,nv$:()=>Ty,o8S:()=>lp,ozJ:()=>If,p2i:()=>Vr,pDL:()=>Pm,pJN:()=>wn,phd:()=>aM,pl0:()=>lM,qBF:()=>Do,qex:()=>Id,qhs:()=>Ry,r8f:()=>oE,rAh:()=>ci,rOR:()=>Ss,rXU:()=>go,rj2:()=>Ad,rpG:()=>XE,sFG:()=>rc,sGs:()=>EE,sMw:()=>vE,sZ2:()=>Ki,sdS:()=>C0,sgu:()=>OD,tDU:()=>qa,tSv:()=>uh,tvf:()=>ca,uiO:()=>kn,utN:()=>$b,uzI:()=>Ro,vDg:()=>Km,vxM:()=>Uy,w6W:()=>PD,wEZ:()=>$p,wjB:()=>fE,wni:()=>Bp,wr$:()=>qd,xGo:()=>Ce,xc7:()=>Hp,xe9:()=>YE,xtN:()=>Sr,yJU:()=>Tl,yLl:()=>hy,y_5:()=>gt,ylm:()=>Im,ypd:()=>cM,ziG:()=>yE,ziy:()=>Oh,zoo:()=>Ah,zw6:()=>Eo});var tn=c(467),i=c(5802),yt=c(5824),Ut=c(1413),Kt=c(8359),un=c(6354),or=c(4529);function _n(e){return{toString:e}.toString()}const cr="__annotations__",Sn="__parameters__",hr="__prop__metadata__";
vendor: 15,802 bytes, line 1
1function rr(e,t,n,r,s){return _n(()=>{const a=wt(t);function d(..._){if(this instanceof d)return a.call(this,..._),this;const I=new d(..._);return function(pe){return s&&s(pe,..._),(pe.hasOwnProperty(cr)?pe[cr]:Object.defineProperty(pe,cr,{value:[]})[cr]).push(I),pe}}return n&&(d.prototype=Object.create(n.prototype)),d.prototype.ngMetadataName=e,d.annotationCls=d,d})}function wt(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}function en(e,t,n){return _n(()=>{const r=wt(t);function s(...a){if(this instanceof s)return r.apply(this,a),this;const d=new s(...a);return _.annotation=d,_;function _(I,oe,pe){const Re=I.hasOwnProperty(Sn)?I[Sn]:Object.defineProperty(I,Sn,{value:[]})[Sn];for(;Re.length<=pe;)Re.push(null);return(Re[pe]=Re[pe]||[]).push(d),I}}return s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const gt=(0,i.z6V)(en("Inject",e=>({token:e})),-1),It=(0,i.z6V)(en("Optional"),8),dn=(0,i.z6V)(en("Self"),2),In=(0,i.z6V)(en("SkipSelf"),4),Vn=(0,i.z6V)(en("Host"),1);function kn(e){const t=i.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bn={\u0275\u0275defineInjectable:i.jDH,\u0275\u0275defineInjector:i.G2t,\u0275\u0275inject:i.KVO,\u0275\u0275invalidFactoryDep:i.dmw,resolveForwardRef:i.nl4},Cr=Function;function En(e){return"function"==typeof e}const hn=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Kn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,xe=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ve=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class He{_reflect;constructor(t){this._reflect=t||i.laP.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=(0,i.WfI)(typeof t>"u"?n.length:t.length);for(let s=0;s<r.length;s++)r[s]=typeof t>"u"?[]:t[s]&&t[s]!=Object?[t[s]]:[],n&&null!=n[s]&&(r[s]=r[s].concat(n[s]));return r}_ownParameters(t,n){if(function Fe(e){return hn.test(e)||ve.test(e)||Kn.test(e)&&!xe.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const s=t.ctorParameters;if(s&&s!==n.ctorParameters){const _="function"==typeof s?s():s,I=_.map(pe=>pe&&pe.type),oe=_.map(pe=>pe&&mt(pe.decorators));return this._zipTypesAndAnnotations(I,oe)}const a=t.hasOwnProperty(Sn)&&t[Sn],d=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return d||a?this._zipTypesAndAnnotations(d,a):(0,i.WfI)(t.length)}parameters(t){if(!En(t))return[];const n=Rt(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?mt(t.decorators):t.hasOwnProperty(cr)?t[cr]:null}annotations(t){if(!En(t))return[];const n=Rt(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,s={};return Object.keys(r).forEach(a=>{s[a]=mt(r[a])}),s}return t.hasOwnProperty(hr)?t[hr]:null}propMetadata(t){if(!En(t))return{};const n=Rt(t),r={};if(n!==Object){const a=this.propMetadata(n);Object.keys(a).forEach(d=>{r[d]=a[d]})}const s=this._ownPropMetadata(t,n);return s&&Object.keys(s).forEach(a=>{const d=[];r.hasOwnProperty(a)&&d.push(...r[a]),d.push(...s[a]),r[a]=d}),r}ownPropMetadata(t){return En(t)&&this._ownPropMetadata(t,Rt(t))||{}}hasLifecycleHook(t,n){return t instanceof Cr&&n in t.prototype}}function mt(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Rt(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}function Qt(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class sn{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}const An=(()=>{const e=()=>Ln;return e.ngInherit=!0,e})();function Ln(e){return e.type.prototype.ngOnChanges&&(e.setInput=Hn),mn}function mn(){const e=lr(this),t=e?.current;if(t){const n=e.previous;if(n===i.MZA)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Hn(e,t,n,r,s){const a=this.declaredInputs[r],d=lr(e)||function fr(e,t){return e[ar]=t}(e,{previous:i.MZA,current:null}),_=d.current||(d.current={}),I=d.previous,oe=I[a];_[a]=new sn(oe&&oe.currentValue,n,I===i.MZA),Qt(e,t,s,n)}const ar="__ngSimpleChanges__";function lr(e){return e[ar]||null}const gr=[],dt=function(e,t=null,n){for(let r=0;r<gr.length;r++)(0,gr[r])(e,t,n)};var ft=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(ft||{});function fn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:_,ngAfterViewInit:I,ngAfterViewChecked:oe,ngOnDestroy:pe}=a;d&&(e.contentHooks??=[]).push(-n,d),_&&((e.contentHooks??=[]).push(n,_),(e.contentCheckHooks??=[]).push(n,_)),I&&(e.viewHooks??=[]).push(-n,I),oe&&((e.viewHooks??=[]).push(n,oe),(e.viewCheckHooks??=[]).push(n,oe)),null!=pe&&(e.destroyHooks??=[]).push(n,pe)}}function Nn(e,t,n){Ve(e,t,3,n)}function Qn(e,t,n,r){(3&e[i.Wg1])===n&&Ve(e,t,n,r)}function Ge(e,t){let n=e[i.Wg1];(3&n)===t&&(n&=16383,n+=1,e[i.Wg1]=n)}function Ve(e,t,n,r){const a=r??-1,d=t.length-1;let _=0;for(let I=void 0!==r?65535&e[i.wVl]:0;I<d;I++)if("number"==typeof t[I+1]){if(_=t[I],null!=r&&_>=r)break}else t[I]<0&&(e[i.wVl]+=65536),(_<a||-1==a)&&(W(e,n,t,I),e[i.wVl]=(4294901760&e[i.wVl])+I+2),I++}function te(e,t){dt(ft.LifecycleHookStart,e,t);const n=(0,yt.Ht)(null);try{t.call(e)}finally{(0,yt.Ht)(n),dt(ft.LifecycleHookEnd,e,t)}}function W(e,t,n,r){const s=n[r]<0,a=n[r+1],_=e[s?-n[r]:n[r]];s?e[i.Wg1]>>14<e[i.wVl]>>16&&(3&e[i.Wg1])===t&&(e[i.Wg1]+=16384,te(_,a)):te(_,a)}class _e{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,s){this.factory=t,this.name=s,this.canSeeViewProviders=n,this.injectImpl=r}}function Dt(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Ae(e){return 3===e||4===e||6===e}function Ye(e){return 64===e.charCodeAt(0)}function ht(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 s=t[r];"number"==typeof s?n=s:0===n||Wt(e,n,s,0,-1===n||2===n?t[++r]:null)}}return e}function Wt(e,t,n,r,s){let a=0,d=e.length;if(-1===t)d=-1;else for(;a<e.length;){const _=e[a++];if("number"==typeof _){if(_===t){d=-1;break}if(_>t){d=a-1;break}}}for(;a<e.length;){const _=e[a];if("number"==typeof _)break;if(_===n)return void(null!==s&&(e[a+1]=s));a++,null!==s&&a++}-1!==d&&(e.splice(d,0,t),a=d+1),e.splice(a++,0,n),null!==s&&e.splice(a++,0,s)}function Ft(e){return-1!==e}function an(e){return 32767&e}function Cn(e,t){let n=function bn(e){return e>>16}(e),r=t;for(;n>0;)r=r[i.X5O],n--;return r}let xn=!0;function zn(e){const t=xn;return xn=e,t}let qn=0;const vr={};function Mr(e,t){const n=_i(e,t);if(-1!==n)return n;const r=t[i.eDl];r.firstCreatePass&&(e.injectorIndex=t.length,Lr(r.data,e),Lr(t,null),Lr(r.blueprint,null));const s=Hr(e,t),a=e.injectorIndex;if(Ft(s)){const d=an(s),_=Cn(s,t),I=_[i.eDl].data;for(let oe=0;oe<8;oe++)t[a+oe]=_[d+oe]|I[d+oe]}return t[a+8]=s,a}function Lr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _i(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Hr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=jt(s),null===r)return-1;if(n++,s=s[i.X5O],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ai(e,t,n){!function si(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(i.p9y)&&(r=n[i.p9y]),null==r&&(r=n[i.p9y]=qn++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Mt(e,t,n){if(8&n||void 0!==e)return e;(0,i.$Hz)(t,"NodeInjector")}function xt(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const s=e[i.YEL],a=(0,i.a2B)(void 0);try{return s?s.get(t,r,8&n):(0,i.MzJ)(t,r,8&n)}finally{(0,i.a2B)(a)}}return Mt(r,t,n)}function Jt(e,t,n,r=0,s){if(null!==e){if(2048&t[i.Wg1]&&!(2&r)){const d=function vt(e,t,n,r,s){let a=e,d=t;for(;null!==a&&null!==d&&2048&d[i.Wg1]&&!(0,i.EFk)(d);){const _=On(a,d,n,2|r,vr);if(_!==vr)return _;let I=a.parent;if(!I){const oe=d[i.oMQ];if(oe){const pe=oe.get(n,vr,-5&r);if(pe!==vr)return pe}I=jt(d),d=d[i.X5O]}a=I}return s}(e,t,n,r,vr);if(d!==vr)return d}const a=On(e,t,n,r,vr);if(a!==vr)return a}return xt(t,n,r,s)}function On(e,t,n,r,s){const a=function hi(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(i.p9y)?e[i.p9y]:void 0;return"number"==typeof t?t>=0?255&t:ze:t}(n);if("function"==typeof a){if(!(0,i.ihb)(t,e,r))return 1&r?Mt(s,n,r):xt(t,n,r,s);try{let d;if(d=a(r),null!=d||8&r)return d;(0,i.$Hz)(n)}finally{(0,i.niQ)()}}else if("number"==typeof a){let d=null,_=_i(e,t),I=-1,oe=1&r?t[i.b5C][i.qlT]:null;for((-1===_||4&r)&&(I=-1===_?Hr(e,t):t[_+8],-1!==I&&ji(r,!1)?(d=t[i.eDl],_=an(I),t=Cn(I,t)):_=-1);-1!==_;){const pe=t[i.eDl];if(Oi(a,_,pe.data)){const Re=br(_,t,n,d,r,oe);if(Re!==vr)return Re}I=t[_+8],-1!==I&&ji(r,t[i.eDl].data[_+8]===oe)&&Oi(a,_,t)?(d=pe,_=an(I),t=Cn(I,t)):_=-1}}return s}function br(e,t,n,r,s,a){const d=t[i.eDl],_=d.data[e+8],pe=kr(_,d,n,null==r?(0,i.Qs1)(_)&&xn:r!=d&&!!(3&_.type),1&s&&a===_);return null!==pe?Ur(t,d,pe,_,s):vr}function kr(e,t,n,r,s){const a=e.providerIndexes,d=t.data,_=1048575&a,I=e.directiveStart,pe=a>>20,Ze=s?_+pe:e.directiveEnd;for(let ot=r?_:_+pe;ot<Ze;ot++){const Tt=d[ot];if(ot<I&&n===Tt||ot>=I&&Tt.type===n)return ot}if(s){const ot=d[I];if(ot&&(0,i.JlV)(ot)&&ot.type===n)return I}return null}function Ur(e,t,n,r,s){let a=e[n];const d=t.data;if(a instanceof _e){const _=a;if(_.resolving)throw(0,i.PQT)("");const I=zn(_.canSeeViewProviders);_.resolving=!0;const Re=_.injectImpl?(0,i.a2B)(_.injectImpl):null;(0,i.ihb)(e,r,0);try{a=e[n]=_.factory(void 0,s,d,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xt(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:a}=t.type.prototype;if(r){const d=Ln(t);(n.preOrderHooks??=[]).push(e,d),(n.preOrderCheckHooks??=[]).push(e,d)}s&&(n.preOrderHooks??=[]).push(0-e,s),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,d[n],t)}finally{null!==Re&&(0,i.a2B)(Re),zn(I),_.resolving=!1,(0,i.niQ)()}}return a}function Oi(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ji(e,t){return!(2&e||1&e&&t)}class ae{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Jt(this._tNode,this._lView,t,(0,i.hjC)(r),n)}}function ze(){return new ae((0,i.Mx4)(),(0,i.OAn)())}function Ce(e){return _n(()=>{const t=e.prototype.constructor,n=t[i.zSs]||Pe(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const a=s[i.zSs]||Pe(s);if(a&&a!==n)return a;s=Object.getPrototypeOf(s)}return a=>new a})}function Pe(e){return(0,i.Jzi)(e)?()=>{const t=Pe((0,i.nl4)(e));return t&&t()}:(0,i.wGu)(e)}function jt(e){const t=e[i.eDl],n=t.type;return 2===n?t.declTNode:1===n?e[i.qlT]:null}function qt(e){return function it(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 s=0;for(;s<r;){const a=n[s];if(Ae(a))break;if(0===a)s+=2;else if("number"==typeof a)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(a===t)return n[s+1];s+=2}}}return null}((0,i.Mx4)(),e)}const pn=en("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>qt(e)}));let Er=null;function Xn(e){return ur(function wr(){return Er=Er||new He}().parameters(e))}function ur(e){return e.map(t=>function zr(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const s=Object.getPrototypeOf(r);if(r instanceof It||"Optional"===s.ngMetadataName)t.optional=!0;else if(r instanceof In||"SkipSelf"===s.ngMetadataName)t.skipSelf=!0;else if(r instanceof dn||"Self"===s.ngMetadataName)t.self=!0;else if(r instanceof Vn||"Host"===s.ngMetadataName)t.host=!0;else if(r instanceof gt)t.token=r.token;else if(r instanceof pn){if(void 0===r.attributeName)throw new i.buA(-204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}const oi=(0,i.kLh)({provide:String,useValue:i.kLh});function Ni(e){return void 0!==e.useClass}function Xi(e){return void 0!==e.useFactory}const $i=rr("Injectable",void 0,void 0,0,(e,t)=>function Or(e,t){let n=null,r=null;e.hasOwnProperty(i.yAH)||Object.defineProperty(e,i.yAH,{get:()=>(null===n&&(n=kn().compileInjectable(Bn,`ng:///${e.name}/\u0275prov.js`,function rs(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(Ni(n)||Xi(n))&&void 0!==n.deps&&(r.deps=ur(n.deps)),Ni(n)?r.useClass=n.useClass:function ti(e){return oi in e}(n)?r.useValue=n.useValue:Xi(n)?r.useFactory=n.useFactory:function mi(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(i.zSs)||Object.defineProperty(e,i.zSs,{get:()=>{if(null===r){const s=kn();r=s.compileFactory(Bn,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Xn(e),target:s.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function Ii(){return Vi((0,i.Mx4)(),(0,i.OAn)())}function Vi(e,t){return new Ri((0,i.d31)(e,t))}let Ri=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ii})();function Wr(e){return e instanceof Ri?e.nativeElement:e}function Zi(){return this._results[Symbol.iterator]()}class Ss{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ut.B}constructor(t=!1){this._emitDistinctChangesOnly=t}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)}
1forEach(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){this.dirty=!1;const r=(0,i.Bqz)(t);(this._changesDetected=!(0,i.ng7)(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Zi}function ro(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const r=t[n];if("number"==typeof r)return!1;if("string"==typeof r&&"ngskiphydration"===r.toLowerCase())return!0}return!1}function as(e){return e.hasAttribute("ngSkipHydration")}function vi(e){return!(128&~e.flags)}var ni=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(ni||{});const Pi=new Map;let fs=0;function Wi(e){Pi.delete(e[i.ID])}const ss="__ngContext__";function Gr(e,t){(0,i.q$2)(t)?(e[ss]=t[i.ID],function _o(e){Pi.set(e[i.ID],e)}(t)):e[ss]=t}function yo(e){return M(e[i.EJG])}function Le(e){return M(e[i.K29])}function M(e){for(;null!==e&&!(0,i.A0l)(e);)e=e[i.K29];return e}let yi;function Ci(e){yi=e}function cs(){if(void 0!==yi)return yi;if(typeof document<"u")return document;throw new i.buA(210,!1)}const Ki=new i.nKC("",{factory:()=>Hi}),Hi="ng",Ei={provide:i.Z63,multi:!0,useValue:()=>{const e=(0,i.WQX)(Ki);if(!/^[a-zA-Z0-9\-_]+$/.test(e))throw new i.buA(211,`APP_ID value "${e}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},Fs=new i.nKC(""),Bs=new i.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Io=new i.nKC(""),qi=new i.nKC("",{factory:()=>(0,i.WQX)(i.qQL).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Qs={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Os=new i.nKC("",{factory:()=>Qs});function Eo(e){return e}let wn=(()=>{class e{static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>{const n=new e;return n.store=function Wn(e,t){const n=e.getElementById(t+"-state");if("SCRIPT"===n?.tagName&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}((0,i.WQX)(i.qQL),(0,i.WQX)(Ki)),n}});store={};onSerializeCallbacks={};get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();const Do=new i.nKC(""),Ro=new i.nKC("",{factory:()=>!1}),Po=new i.nKC(""),la=!1,ko=new i.nKC("",{factory:()=>[]}),xo=new i.nKC(""),Lo=new i.nKC("",{factory:()=>new Map}),ca=new i.nKC(""),tr={passive:!0,capture:!0},Us=new WeakMap,uo=new WeakMap,Ds=new WeakMap,No=["click","keydown"],qo=["mouseenter","mouseover","focusin"],Fo=new Map;class Mo{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function Ma(e,t){let n=uo.get(e);if(!n){n=new Mo,uo.set(e,n);for(const r of No)e.addEventListener(r,n.listener,tr)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:s}=n;if(r.delete(t),0===r.size){uo.delete(e);for(const a of No)e.removeEventListener(a,s,tr)}}}function ua(e,t){let n=Us.get(e);if(!n){n=new Mo,Us.set(e,n);for(const r of qo)e.addEventListener(r,n.listener,tr)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:s}=n;if(r.delete(t),0===r.size){for(const a of qo)e.removeEventListener(a,s,tr);Us.delete(e)}}}function Bo(e){return e?`${e.rootMargin}/${"number"==typeof e.threshold?e.threshold:e.threshold?.join("\n")}`:""}const ea="ngb",Ta=(e,t,n)=>{const r=e,s=r.__jsaction_fns??new Map,a=s.get(t)??[];a.push(n),s.set(t,a),r.__jsaction_fns=s},da=(e,t)=>{const n=e;let r=n.getAttribute(ea)??"";const s=t.get(r)??new Set;s.has(n)||s.add(n),t.set(r,s)},z=e=>{e.removeAttribute(or.n.JSACTION),e.removeAttribute(ea),e.__jsaction_fns=void 0},x=new i.nKC("",{factory:()=>({})}),X=new WeakMap;function We(e,t){const n=t?.__jsaction_fns?.get(e.type);if(n&&t?.isConnected&&(!t||!X.get(e)?.has(t)))for(const r of n)r(e)}const nt=new Map;function Qe(e,t){return nt.set(e,t),()=>nt.delete(e)}let Nt=!1,Zt=(e,t,n,r)=>{};function _r(){Nt||(Zt=(e,t,n,r)=>{const s=e[i.YEL].get(Ki);nt.get(s)?.(t,n,r)},Nt=!0)}const Fr=new i.nKC("");let Is=(()=>{class e{registry=new Map;cleanupFns=new Map;jsActionMap=(0,i.WQX)(Lo);contract=(0,i.WQX)(x);add(n,r){if(this.registry.set(n,r),this.awaitingCallbacks.has(n)){const s=this.awaitingCallbacks.get(n);for(const a of s)a()}}get(n){return this.registry.get(n)??null}has(n){return this.registry.has(n)}cleanup(n){!function T(e,t){if(e.length>0){let n=[];for(let s of e)t.has(s)&&(n=[...n,...t.get(s)]);
1new Set(n).forEach(z)}}(n,this.jsActionMap);for(let r of n)this.registry.delete(r),this.jsActionMap.delete(r),this.invokeTriggerCleanupFns(r),this.hydrating.delete(r),this.awaitingCallbacks.delete(r);0===this.size&&this.contract.instance?.cleanUp()}get size(){return this.registry.size}addCleanupFn(n,r){let s=[];this.cleanupFns.has(n)&&(s=this.cleanupFns.get(n)),s.push(r),this.cleanupFns.set(n,s)}invokeTriggerCleanupFns(n){const r=this.cleanupFns.get(n)??[];for(let s of r)s();this.cleanupFns.delete(n)}hydrating=new Map;awaitingCallbacks=new Map;awaitParentBlock(n,r){const s=this.awaitingCallbacks.get(n)??[];s.push(r),this.awaitingCallbacks.set(n,s)}static \u0275prov=(0,i.jDH)({token:e,providedIn:null,factory:()=>new e})}return e})();function Rs(e){return!(32&~e.flags)}const js="__nghData__",$s="__nghDeferData__";let ta=()=>null;function wl(e,t,n=!1){let r=e.getAttribute("ngh");if(null==r)return null;const[s,a]=r.split("|");if(r=n?a:s,!r)return null;const _=n?s:a?`|${a}`:"";let I={};if(""!==r){const pe=t.get(wn,null,{optional:!0});null!==pe&&(I=pe.get(js,[])[Number(r)])}const oe={data:I,firstChild:e.firstChild??null};return n&&(oe.firstChild=e,fa(oe,0,e.nextSibling)),_?e.setAttribute("ngh",_):e.removeAttribute("ngh"),oe}function Tl(){ta=wl}function Sl(e,t,n=!1){return ta(e,t,n)}function vc(e){let t=e._lView;return 2===t[i.eDl].type?null:((0,i.EFk)(t)&&(t=t[i.Yw1]),t)}function qa(e){e.get(wn).get($s,{})}function fa(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function pa(e,t){return e.segmentHeads?.[t]??null}function ts(e){return e.get(xo,!1,{optional:!0})}function Vs(e,t){return e.data.c?.[t]??null}function Pr(e,t){const n=Vs(e,t)??[];let r=0;for(let s of n)r+=s.r*(s.x??1);return r}function fo(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data.d;e.disconnectedNodes=n?new Set(n):null}return!!function vs(e){if(typeof e.disconnectedNodes>"u"){const t=e.data.d;e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}(e)?.has(t)}function ra(e,t){const n=e[i.tcA];return null!==n&&!(0,i.KtD)()&&!Rs(t)&&!fo(n,t.index-i.Yw1)}function tl(e,t){const n=function el(e){const t=e.body.querySelectorAll("[jsaction]"),n=new Set,r=[qo.join(":;"),No.join(":;")].join("|");for(let s of t){const a=s.getAttribute("jsaction"),d=s.getAttribute("ngb");a?.match(r)&&null!==d&&n.add(s)}return n}(e),r=t.get(Lo);for(let s of n)da(s,r)}let Ps=()=>({});function Aa(e){const t=e.get(wn,null,{optional:!0});return null!==t?t.get($s,{}):{}}function kl(){Ps=Aa}function nl(e){return e.t?.find(n=>function mu(e){return"object"==typeof e&&5===e.trigger}(n))?.delay??null}function rl(e){const t=e.t;if(t)for(const n of t){if(2===n)return!0;if("object"==typeof n&&2===n.trigger)return n.intersectionObserverOptions||!0}return null}function xl(e,t){return e.t?.includes(t)??!1}function _a(e){return{data:e,hydrate:{idle:xl(e,0),immediate:xl(e,1),timer:nl(e),viewport:rl(e)}}}function Ll(e){const t=function bc(e){return Ps(e)}(e);let n=new Map;for(let r in t)n.set(r,_a(t[r]));return n}function ma(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&"nghm"===e.textContent?.trim()}function Nl(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Dc(e){for(const r of e.body.childNodes)if(ma(r))return;if(!ma(Nl(e.body.previousSibling))&&!ma(Nl(e.head.lastChild)))throw new i.buA(-507,!1)}function Oa(e,t){const n=e.contentQueries;if(null!==n){const r=(0,yt.Ht)(null);try{for(let s=0;s<n.length;s+=2){const d=n[s+1];if(-1!==d){const _=e.data[d];(0,i.GA0)(n[s]),_.contentQueries(2,t[d],d)}}}finally{(0,yt.Ht)(r)}}}function Vo(e,t,n){(0,i.GA0)(0);const r=(0,yt.Ht)(null);try{t(e,n)}finally{(0,yt.Ht)(r)}}function ia(e,t,n){if((0,i.srX)(t)){const r=(0,yt.Ht)(null);try{const a=t.directiveEnd;for(let d=t.directiveStart;d<a;d++){const _=e.data[d];_.contentQueries&&_.contentQueries(1,n[d],d)}}finally{(0,yt.Ht)(r)}}}var Ws=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(Ws||{});let St,Zn;function Ht(){if(void 0===St&&(St=null,i.laP.trustedTypes))try{St=i.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return St}function rn(e){return Ht()?.createHTML(e)||e}function xr(){if(void 0===Zn&&(Zn=null,i.laP.trustedTypes))try{Zn=i.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zn}function nr(e){return xr()?.createHTML(e)||e}function bi(e){return xr()?.createScript(e)||e}function Mi(e){return xr()?.createScriptURL(e)||e}class wi{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${i.ok8})`}}class Cs extends wi{getTypeName(){return"HTML"}}class Ys extends wi{getTypeName(){return"Style"}}
vendor: 4,898 bytes, line 1
1class D extends wi{getTypeName(){return"Script"}}class le extends wi{getTypeName(){return"URL"}}class Ie extends wi{getTypeName(){return"ResourceURL"}}function at(e){return e instanceof wi?e.changingThisBreaksApplicationSecurity:e}function At(e,t){const n=function ln(e){return e instanceof wi&&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 ${i.ok8})`)}return n===t}function Rn(e){return new Cs(e)}function ci(e){return new Ys(e)}function Vr(e){return new D(e)}function Di(e){return new le(e)}function sa(e){return new Ie(e)}function Hd(e){const t=new hg(e);return function fg(){try{return!!(new window.DOMParser).parseFromString(rn(""),"text/html")}catch{return!1}}()?new dg(t):t}class dg{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(rn(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class hg{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=rn(t),n}}const pg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Tc(e){return(e=String(e)).match(pg)?e:"unsafe:"+e}function oa(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function jl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const zd=oa("area,br,col,hr,img,wbr"),Gd=oa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qd=oa("rp,rt"),Eu=jl(zd,jl(Gd,oa("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")),jl(Qd,oa("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")),jl(Qd,Gd)),Xd=oa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bu=jl(Xd,oa("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"),oa("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")),gg=oa("script,style,template");class _g{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,s=[];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)s.push(n),n=yg(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=vg(n);if(a){n=a;break}n=s.pop()}return this.buf.join("")}startElement(t){const n=Yd(t).toLowerCase();if(!Eu.hasOwnProperty(n))return this.sanitizedSomething=!0,!gg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const a=r.item(s),d=a.name,_=d.toLowerCase();if(!bu.hasOwnProperty(_)){this.sanitizedSomething=!0;continue}let I=a.value;Xd[_]&&(I=Tc(I)),this.buf.push(" ",d,'="',Jd(I),'"')}return this.buf.push(">"),!0}endElement(t){const n=Yd(t).toLowerCase();Eu.hasOwnProperty(n)&&!zd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Jd(t))}}function vg(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Zd(t);return t}function yg(e){const t=e.firstChild;if(t&&function mg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Zd(t);return t}function Yd(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Zd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}
1const Eg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bg=/([^\#-~ |!])/g;function Jd(e){return e.replace(/&/g,"&").replace(Eg,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(bg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Sc;function qd(e,t){let n=null;try{Sc=Sc||Hd(e);let r=t?String(t):"";n=Sc.getInertBodyElement(r);let s=5,a=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=a,a=n.innerHTML,n=Sc.getInertBodyElement(r)}while(r!==a);return rn((new _g).sanitizeChildren(Du(n)||n))}finally{if(n){const r=Du(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Du(e){return"content"in e&&function Dg(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Cg=/^>|^->|<!--|-->|--!>|<!-$/g,Mg=/(<|>)/g;function Cu(e,t){return e.createText(t)}function th(e,t,n){e.setValue(t,n)}function Mu(e,t){return e.createComment(function eh(e){return e.replace(Cg,t=>t.replace(Mg,"\u200b$1\u200b"))}(t))}function Ac(e,t,n){return e.createElement(t,n)}function Pa(e,t,n,r,s){e.insertBefore(t,n,r,s)}function nh(e,t,n){e.appendChild(t,n)}function rh(e,t,n,r,s){null!==r?Pa(e,t,n,r,s):nh(e,t,n)}function $l(e,t,n,r){e.removeChild(null,t,n,r)}function ih(e){e.textContent=""}function sh(e,t,n){const{mergedAttrs:r,classes:s,styles:a}=n;null!==r&&function he(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const a=n[r++],d=n[r++],_=n[r++];e.setAttribute(t,d,_,a)}else{const a=s,d=n[++r];Ye(a)?e.setProperty(t,a,d):e.setAttribute(t,a,d),r++}}}(e,t,r),null!==s&&function Sg(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,s),null!==a&&function Tg(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}var Gi=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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e}(Gi||{});let Oc;function va(e,t,n){for(const[r,s]of n){let a=t&&"*"!==r&&"unknown"!==r?`:${t}:${r}`:r;a=a.toLowerCase();for(const d of s)Oc[`${a}|${d.toLowerCase()}`]=e}}function wu(e){const t=Vl();return t?nr(t.sanitize(Gi.HTML,e)||""):At(e,"HTML")?nr(at(e)):qd(cs(),(0,i.eFE)(e))}function Tu(e){const t=Vl();return t?t.sanitize(Gi.STYLE,e)||"":At(e,"Style")?at(e):(0,i.eFE)(e)}function Su(e){const t=Vl();return t?t.sanitize(Gi.URL,e)||"":At(e,"URL")?at(e):Tc((0,i.eFE)(e))}function Ic(e){const t=Vl();if(t)return Mi(t.sanitize(Gi.RESOURCE_URL,e)||"");if(At(e,"ResourceURL"))return Mi(at(e));throw new i.buA(904,!1)}function ah(e){const t=Vl();if(t)return bi(t.sanitize(Gi.SCRIPT,e)||"");if(At(e,"Script"))return bi(at(e));throw new i.buA(905,!1)}const kg={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function lh(e,t,n){return function xg(e,t){return!0===kg[e.toLowerCase()]?.[t.toLowerCase()]?Ic:Su}(t,n)(e)}function Vl(){const e=(0,i.OAn)();return e&&e[i.M0L].sanitizer}const Rc=new Set(["href","xlink:href"]),Lg=["attributeName","attributename"],Ng={iframe:{sandbox:!0,allow:!0,allowfullscreen:!0,referrerpolicy:!0,csp:!0,fetchpriority:!0},":svg:animate":{attributename:!0,to:Rc,values:Rc,from:Rc},":svg:set":{attributename:!0,to:Rc},":svg:animatemotion":{attributename:!0},":svg:animatetransform":{attributename:!0}};function ch(e,t,n){const r=t.toLowerCase(),s=n.toLowerCase(),d=-1===(0,i._px)()?null:(0,i.CpD)();if(d&&2!==d.type)return e;const _=":"!==r[0]&&d?.namespace?`:${d.namespace}:${r}`:r,I=Ng[_]?.[s];if(!I)return e;const oe=(0,i.OAn)();if(d&&"iframe"===r&&function Ag(e){const t=(0,i.OAn)();e.src="",e.srcdoc=rn(""),$l(t[i.GpT],e)}((0,i.d31)(d,oe)),":"===t[0]&&t.split(":").pop(),"boolean"!=typeof I){if(!d)throw new i.buA(-910,!1);if(function Fg(e,t){for(const n of Lg){const r=e.getAttribute(n);if(null!==r&&t.has(r.toLowerCase()))return r}return null}((0,i.d31)(d,oe),I))throw new i.buA(-910,!1);return e}throw new i.buA(-910,!1)}function uh(e){return e.ownerDocument.defaultView}function dh(e){return e.ownerDocument}function hh(e){return e.ownerDocument.body}function Wo(e){return e instanceof Function?e():e}function ph(e){if(!(0,i.xUg)(e))throw new i.buA(906,`The ${(0,i.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function Wg(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const a=t.length;if(s+a===r||e.charCodeAt(s+a)<=32)return s}n=s+1}}const mh="ng-template";function Kg(e,t,n,r){let s=0;if(r){for(;s<t.length&&"string"==typeof t[s];s+=2)if("class"===t[s]&&-1!==Wg(t[s+1].toLowerCase(),n,0))return!0}else if(Au(e))return!1;if(s=t.indexOf(1,s),s>-1){let a;for(;++s<t.length&&"string"==typeof(a=t[s]);)if(a.toLowerCase()===n)return!0}return!1}function Au(e){return 4===e.type&&e.value!==mh}function Hg(e,t,n){return t===(4!==e.type||n?e.value:mh)}function zg(e,t,n){let r=4;const s=e.attrs,a=null!==s?function Xg(e){for(let t=0;t<e.length;t++)if(Ae(e[t]))return t;return e.length}(s):0;let d=!1;for(let _=0;_<t.length;_++){const I=t[_];if("number"!=typeof I){if(!d)if(4&r){if(r=2|1&r,""!==I&&!Hg(e,I,n)||""===I&&1===t.length){if(To(r))return!1;d=!0}}else if(8&r){if(null===s||!Kg(e,s,I,n)){if(To(r))return!1;d=!0}}else{const oe=t[++_],pe=Gg(I,s,Au(e),n);if(-1===pe){if(To(r))return!1;d=!0;continue}if(""!==oe){let Re;
vendor: 4,975 bytes, line 1
1if(Re=pe>a?"":s[pe+1].toLowerCase(),2&r&&oe!==Re){if(To(r))return!1;d=!0}}}}else{if(!d&&!To(r)&&!To(I))return!1;if(d&&To(I))continue;d=!1,r=I|1&r}}return To(r)||d}function To(e){return!(1&e)}function Gg(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let a=!1;for(;s<t.length;){const d=t[s];if(d===e)return s;if(3===d||6===d)a=!0;else{if(1===d||2===d){let _=t[++s];for(;"string"==typeof _;)_=t[++s];continue}if(4===d)break;if(0===d){s+=4;continue}}s+=a?1:2}return-1}return function Yg(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 vh(e,t,n=!1){for(let r=0;r<t.length;r++)if(zg(e,t[r],n))return!0;return!1}function Zg(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function yh(e,t){return e?":not("+t.trim()+")":t}function Jg(e){let t=e[0],n=1,r=2,s="",a=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&r){const _=e[++n];s+="["+d+(_.length>0?'="'+_+'"':"")+"]"}else 8&r?s+="."+d:4&r&&(s+=" "+d);else""!==s&&!To(d)&&(t+=yh(a,s),s=""),r=d,a=a||!To(r);n++}return""!==s&&(t+=yh(a,s)),t}const ri={};function Ou(e,t,n,r,s,a,d,_,I,oe,pe){const Re=i.Yw1+r,Ze=Re+s,ot=function t_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ri);return n}(Re,Ze),Tt="function"==typeof oe?oe():oe;return ot[i.eDl]={type:e,blueprint:ot,template:n,queries:null,viewQuery:_,declTNode:t,data:ot.slice().fill(null,Re),bindingStartIndex:Re,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 d?d():d,firstChild:null,schemas:I,consts:Tt,incompleteFirstPass:!1,ssrId:pe}}function Eh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ou(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Pc(e,t,n,r,s,a,d,_,I,oe,pe){const Re=t.blueprint.slice();return Re[i.jgP]=s,Re[i.Wg1]=1228|r,(null!==oe||e&&2048&e[i.Wg1])&&(Re[i.Wg1]|=2048),(0,i.HUe)(Re),Re[i.f7T]=Re[i.X5O]=e,Re[i.SKP]=n,Re[i.M0L]=d||e&&e[i.M0L],Re[i.GpT]=_||e&&e[i.GpT],Re[i.YEL]=I||e&&e[i.YEL]||null,Re[i.qlT]=a,Re[i.ID]=function As(){return fs++}(),Re[i.tcA]=pe,Re[i.oMQ]=oe,Re[i.b5C]=2==t.type?e[i.b5C]:Re,Re}function Iu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Wl(e,t,n,r){if(0===n)return-1;const s=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Ru(e,t){return e[i.EJG]?e[i.Yrj][i.K29]=t:e[i.EJG]=t,e[i.Yrj]=t,t}function bh(e=1){Dh((0,i.klJ)(),(0,i.OAn)(),(0,i._px)()+e,!1)}function Dh(e,t,n,r){if(!r)if(3&~t[i.Wg1]){const a=e.preOrderHooks;null!==a&&Qn(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&Nn(t,a,n)}(0,i.ypq)(n)}var kc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(kc||{});function ya(e,t,n,r){const s=(0,yt.Ht)(null);try{const[a,d,_]=e.inputs[n];let I=null;0!==(d&kc.SignalBased)&&(I=t[a][yt.bh]),null!==I&&void 0!==I.transformFn?r=I.transformFn(r):null!==_&&(r=_.call(t,r)),null!==e.setInput?e.setInput(t,I,r,n,a):Qt(t,I,a,r)}finally{(0,yt.Ht)(s)}}var xc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(xc||{});let Pu;function ku(e,t){return Pu(e,t)}const i_=new i.nKC("",{factory:()=>!1}),s_=new i.nKC("",{factory:()=>o_}),o_=4e3,ka=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function Lc(e){return e[i.YEL].get(i_,!1)}function xu(e){const t=ol.get(e);if(t){for(const n of t.cleanupFns)n();ol.delete(e)}xa.delete(e)}const c_=()=>{},ol=new WeakMap,xa=new WeakMap,Kl=new WeakMap,Hl=new WeakSet;function Lu(e,t){const n=Kl.get(e);if(n&&n.length>0){const r=n.findIndex(s=>s===t);r>-1&&n.splice(r,1)}0===n?.length&&Kl.delete(e)}function Nu(e,t){const n=Kl.get(e);n?n.includes(t)||n.push(t):Kl.set(e,[t])}function Nc(e){const t=e[i.Isx]??={};return t.enter??=new Map}function La(e){const t=e[i.Isx]??={};return t.leave??=new Map}function Ch(e){const t="function"==typeof e?e():e;let n=Array.isArray(t)?t:null;return"string"==typeof t&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function zl(e){return e.composedPath?e.composedPath()[0]:e.target}function Fu(e,t){const n=xa.get(t);return void 0===n||t===zl(e)&&(void 0!==n.animationName&&e.animationName===n.animationName||void 0!==n.propertyName&&("all"===n.propertyName||e.propertyName===n.propertyName))}function al(e,t,n){const r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function Dn(e,t){if(e)for(const n of e)n();for(const n of t)n()}function po(e,t){const n=La(e).get(t.index);n&&(n.resolvers=void 0)}
vendor: 4,691 bytes, line 1
1function Ko(e,t,n,r,s){Lu(t,n),Dn(r,s),po(e,t)}function Ms(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Nr(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function Mh(e,t){return void 0!==e&&e.duration>t.duration}function wh(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function Th(e,t,n){if(!n)return;const r=e.getAnimations();return 0===r.length?function p_(e,t){const n=getComputedStyle(e),r=function f_(e){const t=Nr(e,"animation-name"),n=Nr(e,"animation-delay"),r=Nr(e,"animation-duration"),s=Nr(e,"animation-iteration-count"),a={animationName:"",propertyName:void 0,duration:0};for(let d=0;d<t.length;d++){const _=Ms(n[d])+Ms(r[d]);_>a.duration&&"infinite"!==s[d]&&(a.animationName=t[d],a.duration=_)}return a}(n),s=function Ho(e){const t=Nr(e,"transition-property"),n=Nr(e,"transition-duration"),r=Nr(e,"transition-delay"),s={propertyName:"",duration:0,animationName:void 0};for(let a=0;a<t.length;a++){const d=Ms(r[a])+Ms(n[a]);d>s.duration&&(s.propertyName=t[a],s.duration=d)}return s}(n),a=r.duration>s.duration?r:s;Mh(t.get(e),a)||wh(a)&&t.set(e,a)}(e,t):function g_(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(const s of n){const a=s.effect?.getTiming();if(a?.iterations===1/0)continue;const d="number"==typeof a?.duration?a.duration:0;let _=(a?.delay??0)+d;const I=s.playbackRate;let oe,pe;void 0!==I&&0!==I&&1!==I&&(_/=Math.abs(I)),s.animationName?pe=s.animationName:oe=s.transitionProperty,_>=r.duration&&(r={animationName:pe,propertyName:oe,duration:_})}Mh(t.get(e),r)||wh(r)&&t.set(e,r)}(e,t,r)}const Na=new Set;var Bu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Bu||{});const ll=new i.nKC(""),Sh=new Set;function ys(e){Sh.has(e)||(Sh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Uu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ah=[0,1,2,3];let Oh=(()=>{class e{ngZone=(0,i.WQX)(i.SKi);scheduler=(0,i.WQX)(i.hk6);errorHandler=(0,i.WQX)(i.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,i.WQX)(ll,{optional:!0})}execute(){const n=this.sequences.size>0;n&&dt(ft.AfterRenderHooksStart),this.executing=!0;for(const r of Ah)for(const s of this.sequences)if(!s.erroredOrDestroyed&&s.hooks[r])try{s.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,s.hooks[r])(s.pipelinedValue),s.snapshot))}catch(a){s.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&dt(ft.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[i.JEi]??=[]).push(n),(0,i.blu)(r),r[i.Wg1]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Bu.AFTER_NEXT_RENDER,n):n()}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class Ih{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,s,a,d=null){this.impl=t,this.hooks=n,this.view=r,this.once=s,this.snapshot=d,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[i.JEi];t&&(this.view[i.JEi]=t.filter(n=>n!==this))}}function Rh(e,t){const n=t?.injector??(0,i.WQX)(i.zZn);return ys("NgAfterRender"),Ph(e,n,t,!1)}function ju(e,t){const n=t?.injector??(0,i.WQX)(i.zZn);return ys("NgAfterNextRender"),Ph(e,n,t,!0)}function Ph(e,t,n,r){const s=t.get(Uu);s.impl??=t.get(Oh);const a=t.get(ll,null,{optional:!0}),d=!0!==n?.manualCleanup?t.get(i.abz):null,_=t.get(i.r4V,null,{optional:!0}),I=new Ih(s.impl,function __(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),_?.view,r,d,a?.snapshot(null));return s.impl.register(I),I}const m_={destroy(){}},Fc=new i.nKC("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:(0,i.WQX)(i.uvJ)})});
vendor: 17,372 bytes, line 1
1function kh(e,t,n){const r=e.get(Fc);if(Array.isArray(t))for(const s of t)r.queue.add(s),n?.detachedLeaveAnimationFns?.push(s);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function y_(e){const t=e.get(Fc);t.isScheduled||(ju(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function Bc(e){const t=e.get(Fc);t.scheduler=y_,t.scheduler(e)}function $u(e,t){for(const[n,r]of t)kh(e,r.animateFns)}function xh(e,t,n,r){const s=e?.[i.Isx]?.enter;null!==t&&s&&s.has(n.index)&&$u(r,s)}function cl(e,t,n,r,s,a,d,_){if(null!=s){let I,oe=!1;(0,i.A0l)(s)?I=s:(0,i.q$2)(s)&&(oe=!0,s=s[i.jgP]);const pe=(0,i.IvY)(s);0===e&&null!==r?(xh(_,r,a,n),null==d?nh(t,r,pe):Pa(t,r,pe,d||null,!0)):1===e&&null!==r?(xh(_,r,a,n),Pa(t,r,pe,d||null,!0),function u_(e,t){const n=Kl.get(e);if(!n||0===n.length)return;const r=t.parentNode,s=t.previousSibling;for(let a=n.length-1;a>=0;a--){const d=n[a],_=d.parentNode;d===t?(n.splice(a,1),Hl.add(d),d.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(s&&d===s||_&&r&&_!==r)&&(n.splice(a,1),d.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),d.parentNode?.removeChild(d))}}(a,pe)):2===e?(_?.[i.Isx]?.leave?.has(a.index)&&Nu(a,pe),Hl.delete(pe),Fh(_,a,n,Re=>{Hl.has(pe)?Hl.delete(pe):$l(t,pe,oe,Re)})):3===e&&(Hl.delete(pe),Fh(_,a,n,()=>{t.destroyNode(pe)})),null!=I&&function T_(e,t,n,r,s,a,d){const _=r[i.s6P];_!==(0,i.IvY)(r)&&cl(t,e,n,a,_,s,d);for(let oe=i.Y20;oe<r.length;oe++){const pe=r[oe];Uc(pe[i.eDl],pe,e,t,a,_)}}(t,e,n,I,a,r,d)}}function Lh(e,t){Nh(e,t),t[i.jgP]=null,t[i.qlT]=null}function Nh(e,t){t[i.M0L].changeDetectionScheduler?.notify(9),Uc(e,t,t[i.GpT],2,null,null)}function Vu(e,t){const n=e[i.nfM],r=n.indexOf(t);n.splice(r,1)}function Gl(e,t){if((0,i.EPY)(t))return;const n=t[i.GpT];n.destroyNode&&Uc(e,t,n,3,null,null),function b_(e){let t=e[i.EJG];if(!t)return Wu(e[i.eDl],e);for(;t;){let n=null;if((0,i.q$2)(t))n=t[i.EJG];else{const r=t[i.Y20];r&&(n=r)}if(!n){for(;t&&!t[i.K29]&&t!==e;)(0,i.q$2)(t)&&Wu(t[i.eDl],t),t=t[i.f7T];null===t&&(t=e),(0,i.q$2)(t)&&Wu(t[i.eDl],t),n=t&&t[i.K29]}t=n}}(t)}function Wu(e,t){if((0,i.EPY)(t))return;const n=(0,yt.Ht)(null);try{t[i.Wg1]&=-129,t[i.Wg1]|=256,t[i.Iaj]&&(0,yt.XR)(t[i.Iaj]),function M_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof _e)){const a=n[r+1];if(Array.isArray(a))for(let d=0;d<a.length;d+=2){const _=s[a[d]],I=a[d+1];dt(ft.LifecycleHookStart,_,I);try{I.call(_)}finally{dt(ft.LifecycleHookEnd,_,I)}}else{dt(ft.LifecycleHookStart,s,a);try{a.call(s)}finally{dt(ft.LifecycleHookEnd,s,a)}}}}}(e,t),function C_(e,t){const n=e.cleanup,r=t[i.VVG];if(null!==n)for(let d=0;d<n.length-1;d+=2)if("string"==typeof n[d]){const _=n[d+3];_>=0?r[_]():r[-_].unsubscribe(),d+=2}else n[d].call(r[n[d+1]]);null!==r&&(t[i.VVG]=null);const s=t[i.Czx];if(null!==s){t[i.Czx]=null;for(let d=0;d<s.length;d++)(0,s[d])()}const a=t[i.tQN];if(null!==a){t[i.tQN]=null;for(const d of a)d.destroy()}}(e,t),1===t[i.eDl].type&&t[i.GpT].destroy();const r=t[i.rQE];if(null!==r&&(0,i.A0l)(t[i.f7T])){r!==t[i.f7T]&&Vu(r,t);const s=t[i.Ds7];null!==s&&s.detachView(e)}Wi(t)}finally{(0,yt.Ht)(n)}}function Fh(e,t,n,r){const s=e?.[i.Isx];if(null==s||null==s.leave||!s.leave.has(t.index))return r(!1);e&&Na.add(e[i.ID]),kh(n,()=>{if(s.leave&&s.leave.has(t.index)){const d=s.leave.get(t.index),_=[];if(d){for(let I=0;I<d.animateFns.length;I++){const oe=d.animateFns[I],{promise:pe}=oe();_.push(pe)}s.detachedLeaveAnimationFns=void 0}s.running=Promise.allSettled(_),function D_(e,t){const n=e[i.Isx]?.running;n?n.then(()=>{e[i.Isx].running=void 0,Na.delete(e[i.ID]),t(!0)}):t(!1)}(e,r)}else e&&Na.delete(e[i.ID]),r(!1)},s)}function Ku(e,t,n){return Bh(e,t.parent,n)}function Bh(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[i.jgP];if((0,i.Qs1)(r)){const{encapsulation:s}=e.data[r.directiveStart+r.componentOffset];if(s===Ws.None||s===Ws.Emulated)return null}return(0,i.d31)(r,n)}function Uh(e,t,n){return $h(e,t,n)}function jh(e,t,n){return 40&e.type?(0,i.d31)(e,n):null}let Hu,$h=jh;function Vh(e,t){$h=e,Hu=t}function zu(e,t,n,r){const s=Ku(e,r,t),a=t[i.GpT],_=Uh(r.parent||t[i.qlT],r,t);if(null!=s)if(Array.isArray(n))for(let I=0;I<n.length;I++)rh(a,s,n[I],_,!1);else rh(a,s,n,_,!1);void 0!==Hu&&Hu(a,r,t,n,s)}function Fa(e,t){if(null!==t){const n=t.type;if(3&n)return(0,i.d31)(t,e);if(4&n)return Gu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Fa(e,r);{const s=e[t.index];return(0,i.A0l)(s)?Gu(-1,s):(0,i.IvY)(s)}}if(128&n)return Fa(e,t.next);if(32&n)return ku(t,e)()||(0,i.IvY)(e[t.index]);{const r=Wh(e,t);return null!==r?Array.isArray(r)?r[0]:Fa((0,i._0$)(e[i.b5C]),r):Fa(e,t.next)}}return null}function Wh(e,t){return null!==t?e[i.b5C][i.qlT].projection[t.projection]:null}function Gu(e,t){const n=i.Y20+e+1;if(n<t.length){const r=t[n],s=r[i.eDl].firstChild;if(null!==s)return Fa(r,s)}return t[i.s6P]}function Qu(e,t,n,r,s,a,d){for(;null!=n;){const _=r[i.YEL];if(128===n.type){n=n.next;continue}const I=r[n.index],oe=n.type;if(d&&0===t&&(I&&Gr((0,i.IvY)(I),r),n.flags|=2),!Rs(n))if(8&oe)Qu(e,t,n.child,r,s,a,!1),cl(t,e,_,s,I,n,a,r);else if(32&oe){const pe=ku(n,r);let Re;for(;Re=pe();)cl(t,e,_,s,Re,n,a,r);cl(t,e,_,s,I,n,a,r)}else 16&oe?Kh(e,t,r,n,s,a):cl(t,e,_,s,I,n,a,r);n=d?n.projectionNext:n.next}}function Uc(e,t,n,r,s,a){Qu(n,r,e.firstChild,t,s,a,!1)}function Kh(e,t,n,r,s,a){const d=n[i.b5C],I=d[i.qlT].projection[r.projection];if(Array.isArray(I))for(let oe=0;oe<I.length;oe++)cl(t,e,n[i.YEL],s,I[oe],r,a,n);else{let oe=I;const pe=d[i.f7T];vi(r)&&(oe.flags|=128),Qu(e,t,oe,pe,s,a,!0)}}function Hh(e,t,n,r,s){const a=(0,i._px)(),d=2&r;try{(0,i.ypq)(-1),d&&t.length>i.Yw1&&Dh(e,t,i.Yw1,!1),dt(d?ft.TemplateUpdateStart:ft.TemplateCreateStart,s,n),n(r,s)}finally{(0,i.ypq)(a),dt(d?ft.TemplateUpdateEnd:ft.TemplateCreateEnd,s,n)}}function jc(e,t,n){(function k_(e,t,n){const r=n.directiveStart,s=n.directiveEnd;(0,i.Qs1)(n)&&function n_(e,t,n){const r=(0,i.d31)(t,e),s=Eh(n),a=e[i.M0L].rendererFactory,d=Ru(e,Pc(e,s,null,Iu(n),r,t,null,a.createRenderer(r,n),null,null,null));e[t.index]=d}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Mr(n,t);const a=n.initialInputs;for(let d=r;d<s;d++){const _=e.data[d],I=Ur(t,e,d,n);Gr(I,t),null!==a&&F_(0,d-r,I,_,0,a),(0,i.JlV)(_)&&((0,i.KdJ)(n.index,t)[i.SKP]=Ur(t,e,d,n))}})(e,t,n),!(64&~n.flags)&&function x_(e,t,n){const r=n.directiveStart,s=n.directiveEnd,a=n.index,d=(0,i.Z9v)();try{(0,i.ypq)(a);for(let _=r;_<s;_++){const I=e.data[_],oe=t[_];(0,i.RZ9)(_),(null!==I.hostBindings||0!==I.hostVars||null!==I.hostAttrs)&&L_(I,oe)}}finally{(0,i.ypq)(-1),(0,i.RZ9)(d)}}(e,t,n)}function ul(e,t,n=i.d31){const r=t.localNames;if(null!==r){let s=t.index+1;for(let a=0;a<r.length;a+=2){const d=r[a+1],_=-1===d?n(t,e):e[d];e[s++]=_}}}let zh=()=>null;function I_(e){as(e)?ih(e):function Ol(e){const t=cs(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(a){const d=function Al(e){return e.textContent?.replace(/\s/gm,"")}(a);return"ngetn"===d||"ngtns"===d?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const s=[];for(;r=n.nextNode();)s.push(r);for(const a of s)"ngetn"===a.textContent?a.replaceWith(t.createTextNode("")):a.remove()}(e)}function R_(){zh=I_}function Xu(e,t,n,r,s,a){Kc(e,t[i.eDl],t,n,r)?(0,i.Qs1)(e)&&Gh(t,e.index):(3&e.type&&(n=function P_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),Yu(e,t,n,r,s,a))}function Yu(e,t,n,r,s,a){if(3&e.type){const d=(0,i.d31)(e,t);r=null!=a?a(r,e.value||"",n):r,s.setProperty(d,n,r)}}function Gh(e,t){const n=(0,i.KdJ)(t,e);16&n[i.Wg1]||(n[i.Wg1]|=64)}function L_(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Zu(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];vh(t,a.selectors,!1)&&(r??=[],(0,i.JlV)(a)?r.unshift(a):r.push(a))}return r}function $c(e,t,n,r,s,a,d){if(null==a)e.removeAttribute(t,s,n);else{const _=null==d?(0,i.eFE)(a):d(a,r||"",s);e.setAttribute(t,s,_,n)}}function F_(e,t,n,r,s,a){const d=a[t];if(null!==d)for(let _=0;_<d.length;_+=2)ya(r,n,d[_],d[_+1])}function Vc(e,t,n,r,s){const a=i.Yw1+n,d=t[i.eDl],_=s(d,t,e,r,n);t[a]=_,(0,i.iMd)(e,!0);const I=2===e.type;return I?(sh(t[i.GpT],_,e),(0===(0,i.znI)()||(0,i.yoD)(e))&&Gr(_,t),(0,i.Fje)()):Gr(_,t),(0,i.SX7)()&&(!I||!Rs(e))&&zu(d,t,_,e),e}function Wc(e){let t=e;return(0,i.YWB)()?(0,i.Pfq)():(t=t.parent,(0,i.iMd)(t,!1)),t}function Xh(e,t,n){return(null===e||(0,i.JlV)(e))&&(n=(0,i.zAe)(n[t.index])),n[i.GpT]}function Ju(e,t){const n=e[i.YEL];if(!n)return;let r;try{r=n.get(i.ZTf,null)}catch{r=null}r?.(t)}function Kc(e,t,n,r,s){const a=e.inputs?.[r],d=e.hostDirectiveInputs?.[r];let _=!1;if(d)for(let I=0;I<d.length;I+=2){const oe=d[I];ya(t.data[oe],n[oe],d[I+1],s),_=!0}if(a)for(const I of a)ya(t.data[I],n[I],r,s),_=!0;return _}function U_(e,t){const n=(0,i.KdJ)(t,e),r=n[i.eDl];!function j_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[i.jgP];null!==s&&null===n[i.tcA]&&(n[i.tcA]=Sl(s,n[i.YEL])),dt(ft.ComponentStart);try{Hc(r,n,n[i.SKP])}finally{dt(ft.ComponentEnd,n[i.SKP])}}function Hc(e,t,n){(0,i.ID8)(t);try{const r=e.viewQuery;null!==r&&Vo(1,r,n);const s=e.template;null!==s&&Hh(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[i.Ds7]?.finishViewCreation(e),e.staticContentQueries&&Oa(e,t),e.staticViewQueries&&Vo(2,e.viewQuery,n);const a=e.components;null!==a&&function $_(e,t){for(let n=0;n<t.length;n++)U_(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[i.Wg1]&=-5,(0,i.bll)()}}function dl(e,t,n,r){const s=(0,yt.Ht)(null);try{const a=t.tView,I=Pc(e,a,n,4096&e[i.Wg1]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);I[i.rQE]=e[t.index];const pe=e[i.Ds7];return null!==pe&&(I[i.Ds7]=pe.createEmbeddedView(a)),Hc(a,I,n),I}finally{(0,yt.Ht)(s)}}function Ba(e,t){return!t||null===t.firstChild||vi(e)}function Ql(e,t,n,r,s=!1){for(;null!==n;){if(128===n.type){n=s?n.projectionNext:n.next;continue}const a=t[n.index];null!==a&&r.push((0,i.IvY)(a)),(0,i.A0l)(a)&&V_(a,r);const d=n.type;if(8&d)Ql(e,t,n.child,r);else if(32&d){const _=ku(n,t);let I;for(;I=_();)r.push(I)}else if(16&d){const _=Wh(t,n);if(Array.isArray(_))r.push(..._);else{const I=(0,i._0$)(t[i.b5C]);Ql(I[i.eDl],I,_,r,!0)}}n=s?n.projectionNext:n.next}return r}function V_(e,t){for(let n=i.Y20;n<e.length;n++){const r=e[n],s=r[i.eDl].firstChild;null!==s&&Ql(r[i.eDl],r,s,t)}e[i.s6P]!==e[i.jgP]&&t.push(e[i.s6P])}function Yh(e){if(null!==e[i.JEi]){for(const t of e[i.JEi])t.impl.addSequence(t);e[i.JEi].length=0}}let Zh=[];const z_={...yt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,i.blu)(e.lView)},consumerOnSignalRead(){this.lView[i.Iaj]=this}},Q_={...yt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,i._0$)(e.lView);for(;t&&!Jh(t[i.eDl]);)t=(0,i._0$)(t);t&&(0,i.HAh)(t)},consumerOnSignalRead(){this.lView[i.Iaj]=this}};function Jh(e){return 2!==e.type}function qh(e){if(null===e[i.tQN])return;let t=!0;for(;t;){let n=!1;for(const r of e[i.tQN])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[i.Wg1])}}function zc(e,t=0){const r=e[i.M0L].rendererFactory;r.begin?.();try{!function Y_(e,t){const n=(0,i.yP_)();try{(0,i.cBl)(!0),qu(e,t);let r=0;for(;(0,i.dMS)(e);){if(100===r)throw new i.buA(103,!1);r++,qu(e,1)}}finally{(0,i.cBl)(n)}}(e,t)}finally{r.end?.()}}function ef(e,t,n,r){if((0,i.EPY)(t))return;const s=t[i.Wg1];(0,i.ID8)(t);let _=!0,I=null,oe=null;Jh(e)?(oe=function W_(e){return e[i.Iaj]??function K_(e){const t=Zh.pop()??Object.create(z_);return t.lView=e,t}(e)}(t),I=(0,yt.Bg)(oe)):null===(0,yt.nR)()?(_=!1,oe=function G_(e){const t=e[i.Iaj]??Object.create(Q_);return t.lView=e,t}(t),I=(0,yt.Bg)(oe)):t[i.Iaj]&&((0,yt.XR)(t[i.Iaj]),t[i.Iaj]=null);try{(0,i.HUe)(t),(0,i.Kw3)(e.bindingStartIndex),null!==n&&Hh(e,t,n,2,r);const pe=!(3&~s);if(pe){const ot=e.preOrderCheckHooks;null!==ot&&Nn(t,ot,null)}else{const ot=e.preOrderHooks;null!==ot&&Qn(t,ot,0,null),Ge(t,0)}if(function Z_(e){for(let t=yo(e);null!==t;t=Le(t)){if(!(2&t[i.Wg1]))continue;const n=t[i.nfM];for(let r=0;r<n.length;r++)(0,i.HAh)(n[r])}}(t),qh(t),tf(t,0),null!==e.contentQueries&&Oa(e,t),pe){const ot=e.contentCheckHooks;null!==ot&&Nn(t,ot)}else{const ot=e.contentHooks;null!==ot&&Qn(t,ot,1),Ge(t,1)}!function q_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)(0,i.ypq)(~s);else{const a=s,d=n[++r],_=n[++r];(0,i.vQI)(d,a);const I=t[a];dt(ft.HostBindingsUpdateStart,I);try{_(2,I)}finally{dt(ft.HostBindingsUpdateEnd,I)}}}}finally{(0,i.ypq)(-1)}}(e,t);const Re=e.components;null!==Re&&rf(t,Re,0);const Ze=e.viewQuery;if(null!==Ze&&Vo(2,Ze,r),pe){const ot=e.viewCheckHooks;null!==ot&&Nn(t,ot)}else{const ot=e.viewHooks;null!==ot&&Qn(t,ot,2),Ge(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[i.pcR]){for(const ot of t[i.pcR])ot();t[i.pcR]=null}Yh(t),t[i.Wg1]&=-73}catch(pe){throw(0,i.blu)(t),pe}finally{null!==oe&&((0,yt.Wu)(oe,I),_&&function H_(e){e.lView[i.Iaj]!==e&&(e.lView=null,Zh.push(e))}(oe)),(0,i.bll)()}}function tf(e,t){for(let n=yo(e);null!==n;n=Le(n))for(let r=i.Y20;r<n.length;r++)nf(n[r],t)}function J_(e,t,n){dt(ft.ComponentStart);const r=(0,i.KdJ)(t,e);try{nf(r,n)}finally{dt(ft.ComponentEnd,r[i.SKP])}}function nf(e,t){(0,i.F1c)(e)&&qu(e,t)}function qu(e,t){const r=e[i.eDl],s=e[i.Wg1],a=e[i.Iaj];let d=!!(0===t&&16&s);if(d||=!!(64&s&&0===t),d||=!!(1024&s),d||=!(!a?.dirty||!(0,yt.si)(a)),d||=!1,a&&(a.dirty=!1),e[i.Wg1]&=-9217,d)ef(r,e,r.template,e[i.SKP]);else if(8192&s){const _=(0,yt.Ht)(null);try{qh(e),tf(e,1);const I=r.components;null!==I&&rf(e,I,1),Yh(e)}finally{(0,yt.Ht)(_)}}}function rf(e,t,n){for(let r=0;r<t.length;r++)J_(e,t[r],n)}function hl(e,t){const n=(0,i.yP_)()?64:1088;for(e[i.M0L].changeDetectionScheduler?.notify(t);e;){e[i.Wg1]|=n;const r=(0,i._0$)(e);if((0,i.EFk)(e)&&!r)return e;e=r}return null}function sf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function of(e,t){const n=i.Y20+t;if(n<e.length)return e[n]}function fl(e,t,n,r=!0){const s=t[i.eDl];if(function em(e,t,n,r){const s=i.Y20+r,a=n.length;r>0&&(n[s-1][i.K29]=t),r<a-i.Y20?(t[i.K29]=n[s],(0,i.EYC)(n,i.Y20+r,t)):(n.push(t),t[i.K29]=null),t[i.f7T]=n;const d=t[i.rQE];null!==d&&n!==d&&af(d,t);const _=t[i.Ds7];null!==_&&_.insertView(e),(0,i._gW)(t),t[i.Wg1]|=128}(s,t,e,n),r){const d=Gu(n,e),_=t[i.GpT],I=_.parentNode(e[i.s6P]);null!==I&&function E_(e,t,n,r,s,a){r[i.jgP]=s,r[i.qlT]=t,Uc(e,r,n,1,s,a)}(s,e[i.qlT],_,t,I,d)}const a=t[i.tcA];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function ed(e,t){const n=Xl(e,t);return void 0!==n&&Gl(n[i.eDl],n),n}function Xl(e,t){if(e.length<=i.Y20)return;const n=i.Y20+t,r=e[n];if(r){const s=r[i.rQE];null!==s&&s!==e&&Vu(s,r),t>0&&(e[n-1][i.K29]=r[i.K29]);const a=(0,i.E6O)(e,i.Y20+t);Lh(r[i.eDl],r);const d=a[i.Ds7];null!==d&&d.detachView(a[i.eDl]),r[i.f7T]=null,r[i.K29]=null,r[i.Wg1]&=-129}return r}function af(e,t){const n=e[i.nfM],r=t[i.f7T];((0,i.q$2)(r)||t[i.b5C]!==r[i.f7T][i.b5C])&&(e[i.Wg1]|=2),null===n?e[i.nfM]=[t]:n.push(t)}class Gc{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[i.eDl];return Ql(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[i.SKP]}set context(t){this._lView[i.SKP]=t}get destroyed(){return(0,i.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[i.f7T];if((0,i.A0l)(t)){const n=t[i.bm_],r=n?n.indexOf(this):-1;r>-1&&(Xl(t,r),(0,i.E6O)(n,r))}this._attachedToViewContainer=!1}Gl(this._lView[i.eDl],this._lView)}onDestroy(t){(0,i.ik5)(this._lView,t)}markForCheck(){hl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[i.Wg1]&=-129}reattach(){(0,i._gW)(this._lView),this._lView[i.Wg1]|=128}detectChanges(){this._lView[i.Wg1]|=1024,zc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new i.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,i.EFk)(this._lView),n=this._lView[i.rQE];null!==n&&!t&&Vu(n,this._lView),Nh(this._lView[i.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new i.buA(902,!1);this._appRef=t;const n=(0,i.EFk)(this._lView),r=this._lView[i.rQE];null!==r&&!n&&af(r,this._lView),(0,i._gW)(this._lView)}}let Yl=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=tm;constructor(n,r,s){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=s}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,s){const a=dl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:s});return new Gc(a)}})();function tm(){return Qc((0,i.Mx4)(),(0,i.OAn)())}function Qc(e,t){return 4&e.type?new Yl(t,e,Vi(e,t)):null}function uf(e,t,n){const r=t.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?jh(e,0,n):(0,i.IvY)(n[s])}
1function df(e,t,n,r,s){const a=t.insertBeforeIndex;if(Array.isArray(a)){let d=r,_=null;if(3&t.type||(_=d,d=s),null!==d&&-1===t.componentOffset)for(let I=1;I<a.length;I++)Pa(e,d,n[a[I]],_,!1)}}function Ua(e,t,n,r,s){let a=e.data[t];if(null===a)a=id(e,t,n,r,s),(0,i.JjR)()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=s;const d=(0,i.Ab)();a.injectorIndex=null===d?-1:d.injectorIndex}return(0,i.iMd)(a,!0),a}function id(e,t,n,r,s){const a=(0,i.veI)(),d=(0,i.YWB)(),I=e.data[t]=function hm(e,t,n,r,s,a){let d=t?t.injectorIndex:-1,_=0;return(0,i.KtD)()&&(_|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:_,providerIndexes:0,value:s,namespace:(0,i.UaU)(),attrs:a,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?a:a&&a.parent,n,t,r,s);return function dm(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,I,a,d),I}function hf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];ff(r)||fm(r,t)&&null===pm(r)&&gm(r,t.index)}}function ff(e){return!(64&e.type)}function fm(e,t){return ff(t)||e.index>t.index}function pm(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function gm(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Vh(uf,df),e.insertBeforeIndex=t)}function ec(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function vm(e,t,n){const r=id(e,n,64,null,null);return hf(t,r),r}function Yc(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function pf(e){return e>>>17}function gf(e){return(131070&e)>>>1}function sd(e,t,n){e.index=0;const r=Yc(t,n);e.removes=null!==r?t.remove[r]:i.Mlv}function Zc(e){if(e.index<e.removes.length){const t=e.removes[e.index++];return t>0?e.lView[t]:(e.stack.push(e.index,e.removes),sd(e,e.lView[i.eDl].data[~t],e.lView),Zc(e))}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),Zc(e))}function Em(){const e={stack:[],index:-1};return function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return sd(e,n.value,r),Zc.bind(null,e)}}const Dm=new RegExp("^(\\d+)*(b|h)*(.*)");function od(e){return e.index-i.Yw1}function tc(e,t,n,r){const s=od(r);let a=function yf(e,t){const n=e.i18nNodes;if(n)return n.get(t)}(e,s);if(void 0===a){const d=e.data.n;if(d?.[s])a=function Ef(e,t){const[n,...r]=function Mm(e){const t=e.match(Dm),[n,r,s,a]=t,d=r?parseInt(r,10):s,_=[];for(const[I,oe,pe]of a.matchAll(/(f|n)(\d*)/g)){const Re=parseInt(pe,10)||1;_.push(oe,Re)}return[d,..._]}(e);let s;if("h"===n)s=t[i.b5C][i.jgP];else if("b"===n)s=hh(t[i.b5C][i.jgP]);else{const a=Number(n);s=(0,i.IvY)(t[a+i.Yw1])}return function Am(e,t){let n=e;for(let r=0;r<t.length;r+=2){const s=t[r],a=t[r+1];for(let d=0;d<a;d++)switch(s){case"f":n=n.firstChild;break;case"n":n=n.nextSibling}}return n}(s,r)}(d[s],n);else if(t.firstChild===r)a=e.firstChild;else{const _=null===r.prev,I=r.prev??r.parent;if(function wm(e){return!e.prev&&8===e.parent?.type}(r))a=pa(e,od(r.parent));else{let oe=(0,i.d31)(I,n);if(_)a=oe.firstChild;else{const pe=od(I),Re=pa(e,pe);a=2===I.type&&Re?Jc(Pr(e,pe)+1,Re):oe.nextSibling}}}}return a}function Jc(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function Im(e,t){const n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode:Rm});let r;const s=new Map;for(;r=n.nextNode();){const a="ngh=",d=r?.textContent,_=d?.indexOf(a)??-1;if(_>-1){const I=d.substring(_+a.length).trim();s.set(I,r)}}return s}function Rm(e){return e.textContent?.trimStart().startsWith("ngh=")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}let Df=!1;function Pm(e){Df=e}function F(e,t,n){for(const r of n.node.cases[n.case]){const s=t.get(r.index-i.Yw1);s&&$l(e,s,!1)}}function K(e){const t=e[i.qFA]??[],r=e[i.f7T][i.GpT],s=[];for(const a of t)void 0!==a.data.di?s.push(a):ne(a,r);e[i.qFA]=s}function G(e){const{lContainer:t}=e,n=t[i.qFA];if(null===n)return;const s=t[i.f7T][i.GpT];for(const a of n)ne(a,s)}function ne(e,t){let n=0,r=e.firstChild;if(r){const s=e.data.r;for(;n<s;){const a=r.nextSibling;$l(t,r,!1),r=a,n++}}}function De(e){K(e);const t=e[i.jgP];(0,i.q$2)(t)&&Ke(t);for(let n=i.Y20;n<e.length;n++)Ke(e[n])}function Ke(e){!function m(e){const t=e[i.tcA];if(t){const{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){const s=e[i.GpT];for(const a of r.values())F(s,n,a)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[i.eDl];for(let n=i.Yw1;n<t.bindingStartIndex;n++)(0,i.A0l)(e[n])?De(e[n]):(0,i.q$2)(e[n])&&Ke(e[n])}function Et(e){const t=e._views;for(const n of t){const r=vc(n);null!==r&&null!==r[i.jgP]&&((0,i.q$2)(r)?Ke(r):De(r))}}let Jn=()=>null,mr=()=>null;function Sr(){Jn=Tn,mr=Ti}function Tn(e,t){return Ks(e,t)?e[i.qFA].shift():(K(e),null)}function Qr(e,t){return Jn(e,t)}
1function Ti(e,t,n){if(null===t.tView.ssrId)return null;const r=Qr(e,t.tView.ssrId);return n[i.eDl].firstUpdatePass&&null===r&&function Es(e,t){let n=t;for(;n;){if(Go(e,n))return;if(!(256&~n.flags))break;n=n.prev}for(n=t.next;n&&!(512&~n.flags);){if(Go(e,n))return;n=n.next}}(n,t),r}function Bi(e,t,n){return mr(e,t,n)}function Ks(e,t){const n=e[i.qFA];return!(!t||null===n||0===n.length)&&n[0].data.i===t}function Go(e,t){const n=t.tView?.ssrId;if(null==n)return!1;const r=e[t.index];return!(!(0,i.A0l)(r)||!Ks(r,n)||(K(r),0))}let Qo=class{},So=class{};class Xo{resolveComponentFactory(t){throw new i.buA(917,!1)}}let pi=class{static NULL=new Xo};class Va{}let rc=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function Yo(){const e=(0,i.OAn)(),t=(0,i.Mx4)(),n=(0,i.KdJ)(t.index,e);return((0,i.q$2)(n)?n:e)[i.GpT]}()})(),Bt=(()=>{class e{static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function yn(e){return void 0!==e.ngModule}function Pn(e){return!!(0,i.phH)(e)}function sr(e){return!!(0,i.oyA)(e)}function Ir(e){return!!(0,i.HaV)(e)}function dr(e){return!!(0,i.xUg)(e)}function Si(e,t){if((0,i.Jzi)(e)&&!(e=(0,i.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,i.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,i.PP7)(e)||e}".`);if(null==(0,i.phH)(e)){const n=(0,i.xUg)(e)||(0,i.HaV)(e)||(0,i.oyA)(e);if(null==n)throw yn(e)?new Error(`A module with providers was imported from "${(0,i.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,i.PP7)(e)}" type, imported from "${(0,i.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone){const r=function Br(e){return(0,i.xUg)(e)?"component":(0,i.HaV)(e)?"directive":(0,i.oyA)(e)?"pipe":"type"}(e);throw new Error(`The "${(0,i.PP7)(e)}" ${r}, imported from "${(0,i.PP7)(t)}", is not standalone. Does the ${r} have the standalone: false flag?`)}}}class Xr{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const n=(0,i.phH)(t);if(n?.declarations)for(const r of Wo(n.declarations))dr(r)&&this.ownerNgModule.set(r,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,n){this.resolveNgModulesDecls();const r=(0,i.xUg)(t);if(null===r)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(r.standalone){const s=this.getStandaloneComponentScope(t,n);return s.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...s.compilation.directives,...s.compilation.pipes,...s.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const s=this.getNgModuleScope(this.ownerNgModule.get(t));return s.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...s.compilation.directives,...s.compilation.pipes]}}}registerNgModule(t,n){if(!Pn(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const n=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,n),n}computeNgModuleScope(t){const n=(0,i.WbQ)(t),r={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const s of Wo(n.imports))if(Pn(s)){const a=this.getNgModuleScope(s);pr(a.exported.directives,r.compilation.directives),pr(a.exported.pipes,r.compilation.pipes)}else{if(!(0,i.QuC)(s)){r.compilation.isPoisoned=!0;break}if(Ir(s)||dr(s))r.compilation.directives.add(s);else{if(!sr(s))throw new i.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");r.compilation.pipes.add(s)}}if(!r.compilation.isPoisoned)for(const s of Wo(n.declarations)){if(Pn(s)||(0,i.QuC)(s)){r.compilation.isPoisoned=!0;break}sr(s)?r.compilation.pipes.add(s):r.compilation.directives.add(s)}
vendor: 22,020 bytes, line 1
1for(const s of Wo(n.exports))if(Pn(s)){const a=this.getNgModuleScope(s);pr(a.exported.directives,r.exported.directives),pr(a.exported.pipes,r.exported.pipes),pr(a.exported.directives,r.compilation.directives),pr(a.exported.pipes,r.compilation.pipes)}else sr(s)?r.exported.pipes.add(s):r.exported.directives.add(s);return r}getStandaloneComponentScope(t,n){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const r=this.computeStandaloneComponentScope(t,n);return this.standaloneComponentsScopeCache.set(t,r),r}computeStandaloneComponentScope(t,n){const r={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const s of(0,i.Bqz)(n??[])){const a=(0,i.nl4)(s);try{Si(a,t)}catch{return r.compilation.isPoisoned=!0,r}if(Pn(a)){r.compilation.ngModules.add(a);const d=this.getNgModuleScope(a);if(d.exported.isPoisoned)return r.compilation.isPoisoned=!0,r;pr(d.exported.directives,r.compilation.directives),pr(d.exported.pipes,r.compilation.pipes)}else if(sr(a))r.compilation.pipes.add(a);else{if(!Ir(a)&&!dr(a))return r.compilation.isPoisoned=!0,r;r.compilation.directives.add(a)}}return r}isOrphanComponent(t){const n=(0,i.xUg)(t);return!(!n||n.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function pr(e,t){for(const n of e)t.add(n)}const Qi=new Xr,Zo={};class Zs{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const s=this.injector.get(t,Zo,r);return s!==Zo||n===Zo?s:this.parentInjector.get(t,n,r)}}function Ao(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,a=0;if(null!==t)for(let d=0;d<t.length;d++){const _=t[d];if("number"==typeof _)a=_;else if(1==a)s=(0,i.n$e)(s,_);else if(2==a){const oe=t[++d];r=(0,i.n$e)(r,_+": "+oe+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function go(e,t=0){const n=(0,i.OAn)();return null===n?(0,i.KVO)(e,t):Jt((0,i.Mx4)(),n,(0,i.nl4)(e),t)}function Js(){throw new Error("invalid")}function Wa(e,t,n,r,s){const a=null===r?null:{"":-1},d=s(e,n);if(null!==d){let _=d,I=null,oe=null;for(const pe of d)if(null!==pe.resolveHostDirectives){[_,I,oe]=pe.resolveHostDirectives(d);break}!function ic(e,t,n,r,s,a,d){const _=r.length;let I=null;for(let Ze=0;Ze<_;Ze++){const ot=r[Ze];null===I&&(0,i.JlV)(ot)&&(I=ot,pl(e,n,Ze)),Ai(Mr(n,t),e,ot.type)}(function Ub(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,_),I?.viewProvidersResolver&&I.viewProvidersResolver(I);for(let Ze=0;Ze<_;Ze++){const ot=r[Ze];ot.providersResolver&&ot.providersResolver(ot)}let oe=!1,pe=!1,Re=Wl(e,t,_,null);_>0&&(n.directiveToIndex=new Map);for(let Ze=0;Ze<_;Ze++){const ot=r[Ze];if(n.mergedAttrs=ht(n.mergedAttrs,ot.hostAttrs),Lb(e,n,t,Re,ot),Bb(Re,ot,s),null!==d&&d.has(ot)){const[on,Mn]=d.get(ot);n.directiveToIndex.set(ot.type,[Re,on+n.directiveStart,Mn+n.directiveStart])}else(null===a||!a.has(ot))&&n.directiveToIndex.set(ot.type,Re);null!==ot.contentQueries&&(n.flags|=4),(null!==ot.hostBindings||null!==ot.hostAttrs||0!==ot.hostVars)&&(n.flags|=64);const Tt=ot.type.prototype;!oe&&(Tt.ngOnChanges||Tt.ngOnInit||Tt.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),oe=!0),!pe&&(Tt.ngOnChanges||Tt.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),pe=!0),Re++}!function Sf(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const s=e.data[r];if(null!==n&&n.has(s)){const a=n.get(s);jm(0,t,a,r),jm(1,t,a,r),Vm(t,r,!0)}else Um(0,t,s,r),Um(1,t,s,r),Vm(t,r,!1)}}(e,n,a)}(e,t,n,_,a,I,oe)}null!==a&&null!==r&&function Ka(e,t,n){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const a=n[t[s+1]];if(null==a)throw new i.buA(-301,!1);r.push(t[s],a)}}(n,r,a)}function pl(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Um(e,t,n,r){const s=0===e?n.inputs:n.outputs;for(const a in s)if(s.hasOwnProperty(a)){let d;d=0===e?t.inputs??={}:t.outputs??={},d[a]??=[],d[a].push(r),$m(t,a)}}function jm(e,t,n,r){const s=0===e?n.inputs:n.outputs;for(const a in s)if(s.hasOwnProperty(a)){const d=s[a];let _;_=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},_[d]??=[],_[d].push(r,a),$m(t,d)}}function $m(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function Vm(e,t,n){const{attrs:r,inputs:s,hostDirectiveInputs:a}=e;if(null===r||!n&&null===s||n&&null===a||Au(e))return e.initialInputs??=[],void e.initialInputs.push(null);let d=null,_=0;for(;_<r.length;){const I=r[_];if(0!==I)if(5!==I){if("number"==typeof I)break;if(!n&&s.hasOwnProperty(I)){const oe=s[I];for(const pe of oe)if(pe===t){d??=[],d.push(I,r[_+1]);break}}else if(n&&a.hasOwnProperty(I)){const oe=a[I];for(let pe=0;pe<oe.length;pe+=2)if(oe[pe]===t){d??=[],d.push(oe[pe+1],r[_+1]);break}}_+=2}else _+=2;else _+=4}e.initialInputs??=[],e.initialInputs.push(d)}function Lb(e,t,n,r,s){e.data[r]=s;const a=s.factory||(s.factory=(0,i.wGu)(s.type,!0)),d=new _e(a,(0,i.JlV)(s),go,null);e.blueprint[r]=d,n[r]=d,function Nb(e,t,n,r,s){const a=s.hostBindings;if(a){let d=e.hostBindingOpCodes;null===d&&(d=e.hostBindingOpCodes=[]);const _=~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})(d)!=_&&d.push(_),d.push(n,r,a)}}(e,t,r,Wl(e,n,s.hostVars,ri),s)}function Bb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;(0,i.JlV)(t)&&(n[""]=e)}}function Af(e,t,n,r,s,a,d,_){const I=t[i.eDl],oe=I.consts,Re=Ua(I,e,n,r,(0,i.db4)(oe,d));return a&&Wa(I,t,Re,(0,i.db4)(oe,_),s),Re.mergedAttrs=ht(Re.mergedAttrs,Re.attrs),null!==Re.attrs&&Ao(Re,Re.attrs,!1),null!==Re.mergedAttrs&&Ao(Re,Re.mergedAttrs,!0),null!==I.queries&&I.queries.elementStart(I,Re),Re}function Of(e,t){fn(e,t),(0,i.srX)(t)&&e.queries.elementEnd(t)}function Wm(e,t,n,r,s,a){const d=t.consts,I=Ua(t,e,n,r,(0,i.db4)(d,s));if(I.mergedAttrs=ht(I.mergedAttrs,I.attrs),null!=a){const oe=(0,i.db4)(d,a);I.localNames=[];for(let pe=0;pe<oe.length;pe+=2)I.localNames.push(oe[pe],-1)}return null!==I.attrs&&Ao(I,I.attrs,!1),null!==I.mergedAttrs&&Ao(I,I.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,I),I}function If(e){return!!Km(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function $b(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)}}function Km(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Jo(e,t,n){return e[t]=n}function sc(e,t){return e[t]}function Li(e,t,n){return n!==ri&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function gl(e,t,n,r){const s=Li(e,t,n);return Li(e,t+1,r)||s}function dd(e,t,n,r,s){const a=gl(e,t,n,r);return Li(e,t+2,s)||a}function Oo(e,t,n,r,s,a){const d=gl(e,t,n,r);return gl(e,t+2,s,a)||d}function Ha(e,t,n){return function r(s){const a=r.__ngNativeEl__;void 0!==a&&function de(e,t){if(null==e||"object"!=typeof e)return;let n=X.get(e);n||(n=new WeakSet,X.set(e,n)),n.add(t)}(s,a),hl((0,i.Qs1)(e)?(0,i.KdJ)(e.index,t):t,5);const _=t[i.SKP];let I=Hm(t,_,n,s),oe=r.__ngNextListenerFn__;for(;oe;)I=Hm(t,_,oe,s)&&I,oe=oe.__ngNextListenerFn__;return I}}function Hm(e,t,n,r){const s=(0,yt.Ht)(null);try{return dt(ft.OutputStart,t,n),!1!==n(r)}catch(a){return Ju(e,a),!1}finally{dt(ft.OutputEnd,t,n),(0,yt.Ht)(s)}}function Rf(e,t,n,r,s,a,d,_){const I=(0,i.yoD)(e);let oe=!1,pe=null;if(!r&&I&&(pe=function Kb(e,t,n,r){const s=e.cleanup;if(null!=s)for(let a=0;a<s.length-1;a+=2){const d=s[a];if(d===n&&s[a+1]===r){const _=t[i.VVG],I=s[a+2];return _&&_.length>I?_[I]:null}"string"==typeof d&&(a+=2)}return null}(t,n,a,e.index)),null!==pe)(pe.__ngLastListenerFn__||pe).__ngNextListenerFn__=d,pe.__ngLastListenerFn__=d,oe=!0;else{const Re=(0,i.d31)(e,n),Ze=r?r(Re):Re;(function jn(e,t,n,r){Zt(e,t,n,r)})(n,Ze,a,_),r||(_.__ngNativeEl__=Re);const ot=s.listen(Ze,a,_);(function Wb(e){return e.startsWith("animation")||e.startsWith("transition")})(a)||zm(r?on=>r((0,i.IvY)(on[e.index])):e.index,t,n,a,_,ot,!1)}return oe}function zm(e,t,n,r,s,a,d){const _=t.firstCreatePass?(0,i.vNG)(t):null,I=(0,i.d_l)(n),oe=I.length;I.push(s,a),_&&_.push(r,e,oe,(oe+1)*(d?-1:1))}function oc(e,t,n,r,s,a){const _=t[i.eDl],Re=t[n][_.data[n].outputs[r]].subscribe(a);zm(e.index,_,t,s,a,Re,!0)}class Xm{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(4096&r.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){Zm(this.tView.data[this.tNode.customControlIndex],t)&&oc(this.tNode,this.lView,this.tNode.customControlIndex,t,t,Ha(this.tNode,this.lView,n))}listenToCustomControlModel(t){const n=1024&this.tNode.flags?"valueChange":"checkedChange";oc(this.tNode,this.lView,this.tNode.customControlIndex,n,n,Ha(this.tNode,this.lView,t))}listenToDom(t,n){Rf(this.tNode,this.tView,this.lView,void 0,this.lView[i.GpT],t,n,Ha(this.tNode,this.lView,n))}setInputOnDirectives(t,n){const r=this.tNode.inputs?.[t],s=this.tNode.hostDirectiveInputs?.[t];if(!r&&!s)return!1;if(r)for(const a of r)ya(this.tView.data[a],this.lView[a],t,n);if(s)for(let a=0;a<s.length;a+=2){const d=s[a];ya(this.tView.data[d],this.lView[d],s[a+1],n)}return!0}setCustomControlModelInput(t){ya(this.tView.data[this.tNode.customControlIndex],this.lView[this.tNode.customControlIndex],1024&this.tNode.flags?"value":"checked",t)}customControlHasInput(t){return-1!==this.tNode.customControlIndex&&null!=this.tView.data[this.tNode.customControlIndex].inputs[t]}}function Ym(e,t){return function Zb(e,t){return t in e.inputs}(e,t)&&Zm(e,t+"Change")}function Zm(e,t){return t in e.outputs}const Ea=Symbol("BINDING");function Pf(e){return e.debugInfo?.className||e.type.name||null}class ev extends pi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=(0,i.xUg)(t);return new hd(n,this.ngModule)}}class hd extends So{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function tD(e){return Object.keys(e).map(t=>{const[n,r,s]=e[t],a={propName:n,templateName:t,isSignal:0!==(r&kc.SignalBased)};return s&&(a.transform=s),a})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function nD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function qg(e){return e.map(Jg).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,s,a,d){dt(ft.DynamicComponentStart);const _=(0,yt.Ht)(null);try{const I=this.componentDef,oe=function rD(e,t,n){let r=t instanceof i.uvJ?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Zs(n,r):n}(I,s||this.ngModule,t),pe=function iD(e){const t=e.get(Va,null);if(null===t)throw new i.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(Bt,null),changeDetectionScheduler:e.get(i.hk6,null),ngReflect:!1,tracingService:e.get(ll,null,{optional:!0})}}(oe),Re=pe.tracingService;return Re&&Re.componentCreate?Re.componentCreate(Pf(I),()=>this.createComponentRef(pe,oe,n,r,a,d)):this.createComponentRef(pe,oe,n,r,a,d)}finally{(0,yt.Ht)(_)}}createComponentRef(t,n,r,s,a,d){const _=this.componentDef,I=function lD(e,t,n,r){const s=e?["ng-version","21.2.18"]:function e_(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===s?""!==a&&t.push(a,e[++r]):8===s&&n.push(a);else{if(!To(s))break;s=a}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let a=null,d=null,_=0;if(n)for(const pe of n)_+=pe[Ea].requiredVars,pe.create&&(pe.targetIdx=0,(a??=[]).push(pe)),pe.update&&(pe.targetIdx=0,(d??=[]).push(pe));if(r)for(let pe=0;pe<r.length;pe++){const Re=r[pe];if("function"!=typeof Re)for(const Ze of Re.bindings){_+=Ze[Ea].requiredVars;const ot=pe+1;Ze.create&&(Ze.targetIdx=ot,(a??=[]).push(Ze)),Ze.update&&(Ze.targetIdx=ot,(d??=[]).push(Ze))}}const I=[t];if(r)for(const pe of r){const Ze=(0,i.HaV)("function"==typeof pe?pe:pe.type);I.push(Ze)}return Ou(0,null,function cD(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(a,d),1,_,I,null,null,null,[s],null)}(s,_,d,a),oe=t.rendererFactory.createRenderer(null,_),pe=s?function A_(e,t,n,r){const a=r.get(Ro,!1)||n===Ws.ShadowDom||n===Ws.ExperimentalIsolatedShadowDom,d=e.selectRootElement(t,a);return function O_(e){zh(e)}(d),d}(oe,s,_.encapsulation,n):function sD(e,t){const n=function aD(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return Ac(t,n,"svg"===n?i.jNX:"math"===n?i.rJ1:null)}(_,oe);!function oD(e){if("script"===e?.toLowerCase())throw new i.buA(905,!1)}(pe?.tagName);const Re=d?.some(tv)||a?.some(Tt=>"function"!=typeof Tt&&Tt.bindings.some(tv)),Ze=Pc(null,I,null,512|Iu(_),null,null,t,oe,n,null,Sl(pe,n,!0));Ze[i.Yw1]=pe,(0,i.ID8)(Ze);let ot=null;try{const Tt=Af(i.Yw1,Ze,2,"#host",()=>I.directiveRegistry,!0,0);sh(oe,pe,Tt),Gr(pe,Ze),jc(I,Ze,Tt),ia(I,Tt,Ze),Of(I,Tt),void 0!==r&&function dD(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const a=n[s];r.push(null!=a&&a.length?Array.from(a):null)}}(Tt,this.ngContentSelectors,r),ot=(0,i.KdJ)(Tt.index,Ze),Ze[i.SKP]=ot[i.SKP],Hc(I,Ze,null)}catch(Tt){throw null!==ot&&Wi(ot),Wi(Ze),Tt}finally{dt(ft.DynamicComponentEnd),(0,i.bll)()}return new uD(this.componentType,Ze,!!Re)}}function tv(e){const t=e[Ea].kind;return"input"===t||"twoWay"===t}class uD extends Qo{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=(0,i.XRZ)(n[i.eDl],i.Yw1),this.location=Vi(this._tNode,n),this.instance=(0,i.KdJ)(this._tNode.index,n)[i.SKP],this.hostView=this.changeDetectorRef=new Gc(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Kc(r,s[i.eDl],s,t,n),this.previousInputValues.set(t,n),hl((0,i.KdJ)(r.index,s),1)}get injector(){return new ae(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let fd=(()=>class e{static __NG_ELEMENT_ID__=hD})();function hD(){return rv((0,i.Mx4)(),(0,i.OAn)())}class kf extends fd{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Vi(this._hostTNode,this._hostLView)}get injector(){return new ae(this._hostTNode,this._hostLView)}get parentInjector(){const t=Hr(this._hostTNode,this._hostLView);if(Ft(t)){const n=Cn(t,this._hostLView),r=an(t);return new ae(n[i.eDl].data[r+8],n)}return new ae(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=nv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-i.Y20}createEmbeddedView(t,n,r){let s,a;"number"==typeof r?s=r:null!=r&&(s=r.index,a=r.injector);const d=Qr(this._lContainer,t.ssrId),_=t.createEmbeddedViewImpl(n||{},a,d);return this.insertImpl(_,s,Ba(this._hostTNode,d)),_}createComponent(t,n,r,s,a,d,_){const I=t&&!En(t);let oe;if(I)oe=n;else{const Mn=n||{};oe=Mn.index,r=Mn.injector,s=Mn.projectableNodes,a=Mn.environmentInjector||Mn.ngModuleRef,d=Mn.directives,_=Mn.bindings}const pe=I?t:new hd((0,i.xUg)(t)),Re=r||this.parentInjector;if(!a&&null==pe.ngModule){const er=(I?Re:this.parentInjector).get(i.uvJ,null);er&&(a=er)}const Ze=(0,i.xUg)(pe.componentType??{}),ot=Qr(this._lContainer,Ze?.id??null),on=pe.create(Re,s,ot?.firstChild??null,a,d,_);return this.insertImpl(on.hostView,oe,Ba(this._hostTNode,ot)),on}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const s=t._lView;if((0,i.ITl)(s)){const _=this.indexOf(t);if(-1!==_)this.detach(_);else{const I=s[i.f7T],oe=new kf(I,I[i.qlT],I[i.f7T]);oe.detach(oe.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return fl(d,s,a,r),t.attachToViewContainerRef(),(0,i.EYC)(xf(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=nv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Xl(this._lContainer,n);r&&((0,i.E6O)(xf(this._lContainer),n),Gl(r[i.eDl],r))}detach(t){const n=this._adjustIndex(t,-1),r=Xl(this._lContainer,n);return r&&null!=(0,i.E6O)(xf(this._lContainer),n)?new Gc(r):null}_adjustIndex(t,n=0){return t??this.length+n}}function nv(e){return e[i.bm_]}function xf(e){return e[i.bm_]||(e[i.bm_]=[])}function rv(e,t){let n;const r=t[e.index];return(0,i.A0l)(r)?n=r:(n=sf(r,t,null,e),t[e.index]=n,Ru(t,n)),iv(n,t,e,r),new kf(n,e,t)}let iv=ov,Lf=()=>!1;function sv(e,t,n){return Lf(e,t,n)}function ov(e,t,n,r){if(e[i.s6P])return;let s;s=8&n.type?(0,i.IvY)(r):function fD(e,t){const n=e[i.GpT],r=n.createComment(""),s=(0,i.d31)(t,e),a=n.parentNode(s);return Pa(n,a,r,n.nextSibling(s),!1),r}(t,n),e[i.s6P]=s}function pD(e,t,n){if(e[i.s6P]&&e[i.qFA])return!0;const r=n[i.tcA],s=t.index-i.Yw1;if(!r||function Fi(e){if(vi(e))return!0;let t=e.parent;for(;t;){if(vi(e)||ro(t))return!0;t=t.parent}return!1}(t)||fo(r,s))return!1;const d=pa(r,s),_=r.data.c?.[s];if(void 0===_)return!1;const[I,oe]=function cn(e,t){const n=[];for(const r of t)for(let s=0;s<(r.x??1);s++){const a={data:r,firstChild:null};r.r>0&&(a.firstChild=e,e=Jc(r.r,e)),n.push(a)}return[e,n]}(d,_);return e[i.s6P]=I,e[i.qFA]=oe,!0}function gD(e,t,n,r){Lf(e,n,t)||ov(e,t,n,r)}function _D(){iv=gD,Lf=pD}class Nf{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Nf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ff{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let a=0;a<r;a++){const d=n.getByIndex(a);s.push(this.queries[d.indexInDeclarationView].clone())}return new Ff(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Vf(t,n).matches&&this.queries[n].setDirty()}}class av{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function bD(e){return e.split(",").map(t=>t.trim())}(t):t}}class Bf{queries;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 s=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,s);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new Bf(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 Uf{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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 Uf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&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 s=0;s<r.length;s++){const a=r[s];this.matchTNodeWithReadOption(t,n,mD(n,a)),this.matchTNodeWithReadOption(t,n,kr(n,t,a,!1,!1))}else r===Yl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,kr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===Ri||s===fd||s===Yl&&4&n.type)this.addMatch(n.index,-2);else{const a=kr(n,t,s,!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 mD(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 yD(e,t,n,r){return-1===n?function vD(e,t){return 11&e.type?Vi(e,t):4&e.type?Qc(e,t):null}(t,e):-2===n?function ED(e,t,n){return n===Ri?Vi(t,e):n===Yl?Qc(t,e):n===fd?rv(t,e):void 0}(e,t,r):Ur(e,e[i.eDl],n,t)}function lv(e,t,n,r){const s=t[i.Ds7].queries[r];if(null===s.matches){const a=e.data,d=n.matches,_=[];for(let I=0;null!==d&&I<d.length;I+=2){const oe=d[I];_.push(oe<0?null:yD(t,a[oe],d[I+1],n.metadata.read))}s.matches=_}return s.matches}function jf(e,t,n,r){const s=e.queries.getByIndex(n),a=s.matches;if(null!==a){const d=lv(e,t,s,n);for(let _=0;_<a.length;_+=2){const I=a[_];if(I>0)r.push(d[_/2]);else{const oe=a[_+1],pe=t[-I];for(let Re=i.Y20;Re<pe.length;Re++){const Ze=pe[Re];Ze[i.rQE]===Ze[i.f7T]&&jf(Ze[i.eDl],Ze,oe,r)}if(null!==pe[i.nfM]){const Re=pe[i.nfM];for(let Ze=0;Ze<Re.length;Ze++){const ot=Re[Ze];jf(ot[i.eDl],ot,oe,r)}}}}}return r}function $f(e,t){return e[i.Ds7].queries[t].queryList}function cv(e,t,n){const r=new Ss(!(4&~n));return(0,i.B22)(e,t,r,r.destroy),(t[i.Ds7]??=new Ff).queries.push(new Nf(r))-1}function uv(e,t,n){const r=(0,i.klJ)();return r.firstCreatePass&&(hv(r,new av(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),cv(r,(0,i.OAn)(),t)}function dv(e,t,n,r){const s=(0,i.klJ)();if(s.firstCreatePass){const a=(0,i.Mx4)();hv(s,new av(t,n,r),a.index),function DD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}
vendor: 9,417 bytes, line 1
1(s,e),!(2&~n)&&(s.staticContentQueries=!0)}return cv(s,(0,i.OAn)(),n)}function hv(e,t,n){null===e.queries&&(e.queries=new Bf),e.queries.track(new Uf(t,n))}function Vf(e,t){return e.queries.getByIndex(t)}function fv(e,t){const n=e[i.eDl],r=Vf(n,t);return r.crossesNgTemplate?jf(n,e,t,[]):lv(n,e,r,t)}function Wf(e,t,n){let r;const s=(0,yt.KZ)(()=>{r._dirtyCounter();const a=function TD(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[i.Wg1])return t?void 0:i.Mlv;const s=$f(n,r),a=fv(n,r);return s.reset(a,Wr),t?s.first:s._changesDetected||void 0===e._flatValue?e._flatValue=s.toArray():e._flatValue}(r,e);if(t&&void 0===a)throw new i.buA(-951,!1);return a});return r=s[yt.bh],r._dirtyCounter=(0,i.vPA)(0),r._flatValue=void 0,s}function CD(e){return Wf(!0,!1)}function MD(e){return Wf(!0,!0)}function wD(e){return Wf(!1,!1)}function pv(e,t){const n=e[yt.bh];n._lView=(0,i.OAn)(),n._queryIndex=t,n._queryList=$f(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}let _l=new Map;const eu=new Set;function SD(e){return Kf.apply(this,arguments)}function Kf(){return Kf=(0,tn.A)(function*(e){const t=_l;_l=new Map;const n=new Map;function r(a){const d=n.get(a);if(d)return d;const _=e(a).then(I=>function ID(e,t){return Hf.apply(this,arguments)}(a,I));return n.set(a,_),_}const s=Array.from(t).map(function(){var a=(0,tn.A)(function*([d,_]){if(_.styleUrl&&_.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");const I=[];_.templateUrl&&I.push(r(_.templateUrl).then(Ze=>{_.template=Ze}));const oe="string"==typeof _.styles?[_.styles]:_.styles??[];_.styles=oe;let{styleUrl:pe,styleUrls:Re}=_;if(pe&&(Re=[pe],_.styleUrl=void 0),Re?.length){const Ze=Promise.all(Re.map(ot=>r(ot))).then(ot=>{oe.push(...ot),_.styleUrls=void 0});I.push(Ze)}yield Promise.all(I),eu.delete(d)});return function(d){return a.apply(this,arguments)}}());yield Promise.all(s)}),Kf.apply(this,arguments)}function OD(){return 0===_l.size}function Hf(){return(Hf=(0,tn.A)(function*(e,t){if("string"==typeof t)return t;if(void 0!==t.status&&200!==t.status)throw new i.buA(918,!1);return t.text()})).apply(this,arguments)}const zf=new Map;function mv(e,t){(function RD(e,t,n){if(t&&t!==n)throw new i.buA(921,!1)})(0,zf.get(t)||null,e),zf.set(t,e)}let ml=class{},vv=class{};function PD(e,t){return new Gf(e,t??null,[])}class Gf extends ml{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ev(this);constructor(t,n,r,s=!0){super(),this.ngModuleType=t,this._parent=n;const a=(0,i.phH)(t);this._bootstrapComponents=Wo(a.bootstrap),this._r3Injector=(0,i.Pz9)(t,n,[{provide:ml,useValue:this},{provide:pi,useValue:this.componentFactoryResolver},...r],(0,i.AsM)(t),new Set(["environment"])),s&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 yv extends vv{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Gf(this.moduleType,t,[])}}function kD(e,t,n){return new Gf(e,t,n,!1)}class xD extends ml{injector;componentFactoryResolver=new ev(this);instance=null;constructor(t){super();const n=new i.e5P([...t.providers,{provide:ml,useValue:this},{provide:pi,useValue:this.componentFactoryResolver}],t.parent||(0,i.WB9)(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Qf(e,t,n=null){return new xD({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let LD=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=(0,i.jXY)(!1,n.type),s=r.length>0?Qf([r],this._injector,""):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,i.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,i.KVO)(i.uvJ))})}return e})();function Ev(e){return _n(()=>{const t=wv(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ni.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?s=>s.get(LD).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ws.Emulated,styles:e.styles||i.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&ys("NgStandalone"),Tv(n);const r=e.dependencies;return n.directiveDefs=pd(r,bv),n.pipeDefs=pd(r,i.oyA),n.id=function UD(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":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];for(const a of r.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function bv(e){return(0,i.xUg)(e)||(0,i.HaV)(e)}function Dv(e){return _n(()=>({type:e.type,bootstrap:e.bootstrap||i.Mlv,declarations:e.declarations||i.Mlv,imports:e.imports||i.Mlv,exports:e.exports||i.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ND(e,t){if(null==e)return i.MZA;const n={};for(const r in e)if(e.hasOwnProperty(r)){const s=e[r];let a,d,_,I;Array.isArray(s)?(_=s[0],a=s[1],d=s[2]??a,I=s[3]||null):(a=s,d=s,_=kc.None,I=null),n[a]=[r,_,I],t[a]=d}return n}function FD(e){if(null==e)return i.MZA;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Cv(e){return _n(()=>{const t=wv(e);return Tv(t),t})}function Mv(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function wv(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||i.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||i.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:ND(e.inputs,t),outputs:FD(e.outputs),debugInfo:null}}function Tv(e){e.features?.forEach(t=>t(e))}function pd(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const s of n){const a=t(s);null!==a&&r.push(a)}return r}:null}function Sv(e){const t=n=>{const r=Array.isArray(e);null===n.hostDirectives?(n.resolveHostDirectives=$D,n.hostDirectives=r?e.map(Xf):[e]):r?n.hostDirectives.unshift(...e.map(Xf)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function $D(e){const t=[];let n=!1,r=null,s=null;for(let a=0;a<e.length;a++){const d=e[a];if(null!==d.hostDirectives){const _=t.length;r??=new Map,s??=new Map,Av(d,t,r),s.set(d,[_,t.length-1])}0===a&&(0,i.JlV)(d)&&(n=!0,t.push(d))}for(let a=n?1:0;a<e.length;a++)t.push(e[a]);return[t,r,s]}function Av(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives)if("function"==typeof r){const s=r();for(const a of s)Ov(Xf(a),t,n)}else Ov(r,t,n)}function Ov(e,t,n){const r=(0,i.HaV)(e.directive);(function VD(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])})(r.declaredInputs,e.inputs),Av(r,t,n),n.set(r,e),t.push(r)}function Xf(e){return"function"==typeof e?{directive:(0,i.nl4)(e),inputs:i.MZA,outputs:i.MZA}:{directive:(0,i.nl4)(e.directive),inputs:Iv(e.inputs),outputs:Iv(e.outputs)}}function Iv(e){if(void 0===e||0===e.length)return i.MZA;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Yf(e){let t=function WD(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let s;const a=Object.hasOwn(t,i.CQl)?t[i.CQl]:void 0,d=Object.hasOwn(t,i.CZt)?t[i.CZt]:void 0;if((0,i.JlV)(e))s=a??d;else{if(a)throw new i.buA(903,!1);s=d}if(s){if(n){r.push(s);const I=e;I.inputs=Zf(e.inputs),I.declaredInputs=Zf(e.declaredInputs),I.outputs=Zf(e.outputs);const oe=s.hostBindings;oe&&QD(e,oe);const pe=s.viewQuery,Re=s.contentQueries;if(pe&&zD(e,pe),Re&&GD(e,Re),KD(e,s),(0,i.dwj)(e.outputs,s.outputs),(0,i.JlV)(s)&&s.data.animation){const Ze=e.data;Ze.animation=(Ze.animation||[]).concat(s.data.animation)}}const _=s.features;if(_)for(let I=0;I<_.length;I++){const oe=_[I];oe&&oe.ngInherit&&oe(e),oe===Yf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function HD(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=ht(s.hostAttrs,n=ht(n,s.hostAttrs))}}(r)}function KD(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];
vendor: 22,078 bytes, line 1
1void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Zf(e){return e===i.MZA?{}:e===i.Mlv?[]:e}function zD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function GD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,a)=>{t(r,s,a),n(r,s,a)}:t}function QD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}function Pv(e,t,n,r,s,a,d,_){if(n.firstCreatePass){e.mergedAttrs=ht(e.mergedAttrs,e.attrs);const pe=e.tView=Ou(2,e,s,a,d,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),pe.queries=n.queries.embeddedTView(e))}_&&(e.flags|=_),(0,i.iMd)(e,!1);const I=kv(n,t,e,r);(0,i.SX7)()&&zu(n,t,I,e),Gr(I,t);const oe=sf(I,t,I,e);t[r+i.Yw1]=oe,Ru(t,oe),sv(oe,e,t)}function vl(e,t,n,r,s,a,d,_,I,oe,pe){const Re=n+i.Yw1;let Ze;if(t.firstCreatePass){if(Ze=Ua(t,Re,4,d||null,_||null),null!=oe){const ot=(0,i.db4)(t.consts,oe);Ze.localNames=[];for(let Tt=0;Tt<ot.length;Tt+=2)Ze.localNames.push(ot[Tt],-1)}}else Ze=t.data[Re];return Pv(Ze,e,t,n,r,s,a,I),null!=oe&&ul(e,Ze,pe),Ze}function Jf(e,t,n,r,s,a,d,_){const I=(0,i.OAn)(),oe=(0,i.klJ)();return function XD(e,t,n,r,s,a,d,_,I,oe,pe){const Re=n+i.Yw1;let Ze;t.firstCreatePass?(Ze=Ua(t,Re,4,d||null,_||null),(0,i.ckz)()&&Wa(t,e,Ze,(0,i.db4)(t.consts,oe),Zu),fn(t,Ze)):Ze=t.data[Re],Pv(Ze,e,t,n,r,s,a,I),(0,i.yoD)(Ze)&&jc(t,e,Ze),null!=oe&&ul(e,Ze,pe)}(I,oe,e,t,n,r,s,(0,i.db4)(oe.consts,a),void 0,d,_),Jf}function qf(e,t,n,r,s,a,d,_){const I=(0,i.OAn)(),oe=(0,i.klJ)();return vl(I,oe,e,t,n,r,s,(0,i.db4)(oe.consts,a),void 0,d,_),qf}let kv=xv;function xv(e,t,n,r){return(0,i.m7n)(!0),t[i.GpT].createComment("")}function YD(e,t,n,r){const s=!ra(t,n);(0,i.m7n)(s);const a=t[i.tcA]?.data.t?.[r]??null;if(null!==a&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=a),s)return xv(0,t);const d=t[i.tcA],_=tc(d,e,t,n);return fa(d,r,_),Jc(Pr(d,r),_)}function ZD(){kv=YD}var ns=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ns||{}),gi=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(gi||{}),ac=function(e){return e[e.Initial=-1]="Initial",e}(ac||{}),Nv=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Nv||{});function nu(e,t,n){const r=Bv(e);null===t[r]&&(t[r]=[]),t[r].push(n)}function md(e,t){const n=Bv(e),r=t[n];if(null!==r){for(const s of r)s();t[n]=null}}function Fv(e){md(1,e),md(0,e),md(2,e)}function Bv(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function ru(e){return e+1}function qs(e,t){return e[ru(t.index)]}function ws(e,t){const n=ru(t.index);return e.data[n]}function ep(e,t){return t===gi.Placeholder?e.placeholderBlockConfig?.[0]??null:t===gi.Loading?e.loadingBlockConfig?.[0]??null:null}function Uv(e){return e.loadingBlockConfig?.[1]??null}function jv(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function tp(e,t,n,r){const s=n.get(i.SKi);return function Ya(e,t,n,r){const s=Bo(r);let a=Ds.get(e)?.get(s);Fo.has(s)||Fo.set(s,{observer:n(r),count:0});const d=Fo.get(s);if(!a){a=new Mo,d.observer.observe(e);let _=Ds.get(e);_?_.set(s,a):(_=new Map,Ds.set(e,_)),_.set(s,a),d.count++}return a.callbacks.add(t),()=>{if(Ds.get(e)?.has(s)){if(a.callbacks.delete(t),0===a.callbacks.size){d.observer.unobserve(e),d.count--;const _=Ds.get(e);_&&(_.delete(s),0===_.size&&Ds.delete(e))}0===d.count&&(d.observer.disconnect(),Fo.delete(s))}}}(e,()=>s.run(t),a=>s.runOutsideAngular(()=>function wa(e){const t=Bo(e);return new IntersectionObserver(n=>{for(const r of n)r.isIntersecting&&Ds.has(r.target)&&Ds.get(r.target)?.get(t)?.listener()},e)}(a)),r)}function uc(e,t,n,r,s,a,d,_){const I=e[i.YEL],oe=I.get(i.SKi);let pe;pe=Rh({read:function Re(){if((0,i.EPY)(e))return void pe.destroy();const Ze=qs(e,t),ot=Ze[1];if(ot!==ac.Initial&&ot!==gi.Placeholder)return void pe.destroy();const Tt=function oC(e,t,n){return null==n?e:n>=0?(0,i.jRZ)(n,e):e[t.index][i.Y20]??null}(e,t,r);if(!Tt||(pe.destroy(),(0,i.EPY)(Tt)))return;const on=function aC(e,t){return(0,i.vaC)(i.Yw1+t,e)}(Tt,n),Mn=s(on,()=>{oe.run(()=>{e!==Tt&&(0,i.DyX)(Tt,Mn),a()})},I,_);e!==Tt&&(0,i.ik5)(Tt,Mn),nu(d,Ze,Mn)}},{injector:I})}function vd(e,t){const n=t.get(uC);return n.add(e),()=>n.remove(e)}let uC=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,i.WQX)(i.SKi);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:r,deferred:s}=this;r.delete(n),s.delete(n),0===r.size&&0===s.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function yd(e){return(t,n)=>Vv(e,t,n)}function Vv(e,t,n){const r=n.get(dC),s=n.get(i.SKi);return r.add(e,t,s),()=>r.remove(t)}let dC=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,r,s){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+n,r),this.scheduleTimer(s)}remove(n){const{current:r,deferred:s}=this;-1===this.removeFromQueue(r,n)&&this.removeFromQueue(s,n),0===r.length&&0===s.length&&this.clearTimeout()}addToQueue(n,r,s){let a=n.length;for(let d=0;d<n.length;d+=2)if(n[d]>r){a=d;break}(0,i.llW)(n,a,r,s)}removeFromQueue(n,r){let s=-1;for(let a=0;a<n.length;a+=2)if(n[a+1]===r){s=a;break}return s>-1&&(0,i.gsJ)(n,s,2),s}scheduleTimer(n){const r=()=>{this.clearTimeout(),this.executingCallbacks=!0;const a=[...this.current],d=Date.now();for(let I=0;I<a.length;I+=2){const pe=a[I+1];if(!(a[I]<=d))break;pe()}let _=-1;for(let I=0;I<this.current.length&&this.current[I]<=d;I+=2)_=I+1;if(_>=0&&(0,i.gsJ)(this.current,0,_+1),this.executingCallbacks=!1,this.deferred.length>0){for(let I=0;I<this.deferred.length;I+=2)this.addToQueue(this.current,this.deferred[I],this.deferred[I+1]);this.deferred.length=0}this.scheduleTimer(n)};if(this.current.length>0){const a=Date.now(),d=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-d>16){this.clearTimeout();const _=Math.max(d-a,16);this.invokeTimerAt=d,this.timeoutId=n.runOutsideAngular(()=>setTimeout(()=>n.run(r),_))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,i.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),hC=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,s,a){if(!this.cachedInjectors.has(n)){const d=s.length>0?Qf(s,r,a):null;this.cachedInjectors.set(n,d)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,i.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const fC=new i.nKC("");function np(e,t,n){return e.get(hC).getOrCreateInjector(t,e,n,"")}function za(e,t,n,r=!1){const s=n[i.f7T],a=s[i.eDl];if((0,i.EPY)(s))return;const d=qs(s,t),I=d[7];if(!(null!==I&&e<I)&&Hv(d[1],e)&&Hv(d[0]??-1,e)){const oe=ws(a,t),Re=r||null===Uv(oe)&&null===ep(oe,gi.Loading)&&!ep(oe,gi.Placeholder)?Wv:rp;try{Re(e,d,n,t,s)}catch(Ze){Ju(s,Ze)}}}function Wv(e,t,n,r,s){dt(ft.DeferBlockStateStart);const a=function iC(e,t,n){const s=ws(t[i.eDl],n);switch(e){case gi.Complete:return s.primaryTmplIndex;case gi.Loading:return s.loadingTmplIndex;case gi.Error:return s.errorTmplIndex;case gi.Placeholder:return s.placeholderTmplIndex;default:return null}}(e,s,r);if(null!==a){t[1]=e;const d=s[i.eDl],I=(0,i.XRZ)(d,a+i.Yw1),oe=0;let pe;if(ed(n,oe),e===gi.Complete){const Tt=ws(d,r),on=Tt.providers;on&&on.length>0&&(pe=function pC(e,t,n){if(e instanceof Zs){const s=e.injector,d=np(e.parentInjector,t,n);return new Zs(s,d)}const r=e.get(i.uvJ);if(r!==e){const s=np(r,t,n);return new Zs(e,s)}return np(e,t,n)}(s[i.YEL],Tt,on))}const{dehydratedView:Re,dehydratedViewIx:Ze}=function gC(e,t){const n=e[i.qFA]?.findIndex(s=>s.data.s===t[1])??-1;return{dehydratedView:n>-1?e[i.qFA][n]:null,dehydratedViewIx:n}}(n,t),ot=dl(s,I,null,{injector:pe,dehydratedView:Re});if(fl(n,ot,oe,Ba(I,Re)),hl(ot,2),Ze>-1&&n[i.qFA]?.splice(Ze,1),(e===gi.Complete||e===gi.Error)&&Array.isArray(t[8])){for(const Tt of t[8])Tt();t[8]=null}}dt(ft.DeferBlockStateEnd)}function _C(e,t,n,r,s){const a=Date.now(),_=ws(s[i.eDl],r);if(null===t[2]||t[2]<=a){t[2]=null;const I=Uv(_),oe=null!==t[3];if(e!==gi.Loading||null===I||oe){e>gi.Loading&&oe&&(t[3](),t[3]=null,t[0]=null),Wv(e,t,n,r,s);const pe=ep(_,e);null!==pe&&(t[2]=a+pe,Kv(pe,t,r,n,s))}else{t[0]=e;const pe=Kv(I,t,r,n,s);t[3]=pe}}else t[0]=e}function Kv(e,t,n,r,s){return Vv(e,()=>{const d=t[0];t[2]=null,t[0]=null,null!==d&&za(d,n,r)},s[i.YEL])}function Hv(e,t){return e<t}function dc(e,t){za(gi.Placeholder,t,e[t.index])}function zv(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ns.COMPLETE?za(gi.Complete,t,n):e.loadingState===ns.FAILED&&za(gi.Error,t,n)})}let rp=null;function vC(e,t,n,r){return _n(()=>{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==n&&(s.ctorParameters=n),null!==r&&(s.propDecorators=s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?{...s.propDecorators,...r}:r)})}let Gv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sp(e){return"function"==typeof e&&void 0!==e[yt.bh]}function Xv(e){return sp(e)&&"function"==typeof e.set}const uy=new i.nKC(""),dy=new i.nKC("");let ap,iM=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,s){this._ngZone=n,this.registry=r,(0,i.M6u)()&&(this._destroyRef=(0,i.WQX)(i.abz,{optional:!0})??void 0),ap||(function oM(e){ap=e}(s),s.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{i.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,s){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==a),n()},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:s})}whenStable(n,r,s){if(s&&!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(n,r,s),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}static \u0275fac=function(r){return new(r||e)((0,i.KVO)(i.SKi),(0,i.KVO)(sM),(0,i.KVO)(dy))};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac})}return e})(),sM=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ap?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function hy(e){return!!e&&"function"==typeof e.then}function fy(e){return!!e&&"function"==typeof e.subscribe}const py=new i.nKC("");function aM(e){return(0,i.EmA)([{provide:py,multi:!0,useValue:e}])}let gy=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=(0,i.WQX)(py,{optional:!0})??[];injector=(0,i.WQX)(i.zZn);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const s of this.appInits){const a=(0,i.N4e)(this.injector,s);if(hy(a))n.push(a);else if(fy(a)){const d=new Promise((_,I)=>{a.subscribe({complete:_,error:I})});n.push(d)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _y=new i.nKC("");function lM(){}function cM(){(0,yt.KO)(()=>{throw new i.buA(600,"")})}function my(e,t){return Array.isArray(t)?t.reduce(my,e):{...e,...t}}let lp=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,i.WQX)(i.ZTf);afterRenderManager=(0,i.WQX)(Uu);zonelessEnabled=(0,i.WQX)(i.Evm);rootEffectScheduler=(0,i.WQX)(i.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ut.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,i.WQX)(i.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,un.T)(n=>!n))}constructor(){(0,i.WQX)(ll,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:s=>{s&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=(0,i.WQX)(i.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,s=i.zZn.NULL){return this._injector.get(i.SKi).run(()=>{dt(ft.BootstrapComponentStart);const d=n instanceof So;if(!this._injector.get(gy).done)throw new i.buA(405,"");let I;I=d?n:this._injector.get(pi).resolveComponentFactory(n),this.componentTypes.push(I.componentType);const oe=function uM(e){return e.isBoundToModule}(I)?void 0:this._injector.get(ml),Re=I.create(s,[],r||I.selector,oe),Ze=Re.location.nativeElement,ot=Re.injector.get(uy,null);return ot?.registerApplication(Ze),Re.onDestroy(()=>{this.detachView(Re.hostView),Dd(this.components,Re),ot?.unregisterApplication(Ze)}),this._loadComponent(Re),dt(ft.BootstrapComponentEnd,Re),Re})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){dt(ft.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Bu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw dt(ft.ChangeDetectionEnd),new i.buA(101,!1);const n=(0,yt.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,yt.Ht)(n),this.afterTick.next(),dt(ft.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Va,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){dt(ft.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{dt(ft.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:s}of this.allViews)(r||(0,i.dMS)(s))&&(zc(s,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>(0,i.dMS)(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(s){this.internalErrorHandler(s)}this.components.push(n),this._injector.get(_y,[]).forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new i.buA(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function cp(){let e,t;return{promise:new Promise((r,s)=>{e=r,t=s}),resolve:e,reject:t}}function vy(e){const t=(0,i.OAn)(),n=(0,i.Mx4)();if(dc(t,n),!by(0,t))return;const r=t[i.YEL];nu(0,qs(t,n),e(()=>bl(0,t,n),r))}function yy(e){const t=(0,i.OAn)(),n=t[i.YEL],r=(0,i.Mx4)(),a=ws(t[i.eDl],r);a.loadingState===ns.NOT_STARTED&&nu(1,qs(t,r),e(()=>su(a,t,r),n))}function Ey(e,t,n){const r=t[i.YEL],s=qs(t,n),a=s[6];nu(2,s,e(()=>Ga(r,a),r))}function su(e,t,n){up(e,t,n)}function up(e,t,n){const r=t[i.YEL],s=t[i.eDl];if(e.loadingState!==ns.NOT_STARTED)return e.loadingPromise??Promise.resolve();const a=qs(t,n),d=function sC(e,t){return(0,i.XRZ)(e,t.primaryTmplIndex+i.Yw1)}(s,e);e.loadingState=ns.IN_PROGRESS,md(1,a);let _=e.dependencyResolverFn;const I=r.get(i.u5s).add();return _?(e.loadingPromise=Promise.allSettled(_()).then(oe=>{let pe=!1,Re=null;const Ze=[],ot=[];for(let Tt=0;Tt<oe.length;Tt++){const on=oe[Tt];if("fulfilled"!==on.status){pe=!0,Re=on.reason instanceof Error?on.reason:new Error(String(on.reason));break}{const Mn=on.value,er=(0,i.xUg)(Mn)||(0,i.HaV)(Mn);if(er)Ze.push(er);else{const nn=(0,i.oyA)(Mn);nn&&ot.push(nn)}}}if(pe){if(e.loadingState=ns.FAILED,null===e.errorTmplIndex){const Mn=new i.buA(-750,"");Ju(t,Mn)}}else{e.loadingState=ns.COMPLETE;const Tt=d.tView;if(Ze.length>0){Tt.directiveRegistry=jv(Tt.directiveRegistry,Ze);const on=Ze.map(er=>er.type),Mn=(0,i.jXY)(!1,...on);e.providers=Mn}ot.length>0&&(Tt.pipeRegistry=jv(Tt.pipeRegistry,ot))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,I()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ns.COMPLETE,I()}),e.loadingPromise)}function by(e,t){return t[i.YEL].get(fC,null,{optional:!0})?.behavior!==Nv.Manual}function bl(e,t,n){const r=t[i.eDl],s=t[n.index];if(!by(0,t))return;const a=qs(t,n),d=ws(r,n);switch(Fv(a),d.loadingState){case ns.NOT_STARTED:za(gi.Loading,n,s),up(d,t,n),d.loadingState===ns.IN_PROGRESS&&zv(d,n,s);break;case ns.IN_PROGRESS:za(gi.Loading,n,s),zv(d,n,s);break;case ns.COMPLETE:za(gi.Complete,n,s);break;case ns.FAILED:za(gi.Error,n,s)}}function Ga(e,t,n){return dp.apply(this,arguments)}function dp(){return(dp=(0,tn.A)(function*(e,t,n){const r=e.get(Fr);if(r.hydrating.has(t))return;const{parentBlockPromise:a,hydrationQueue:d}=function Pl(e,t){const n=t.get(Fr),s=t.get(wn).get($s,{});let a=!1,d=e,_=null;const I=[];for(;!a&&d;){a=n.has(d);const oe=n.hydrating.get(d);if(null===_&&null!=oe){_=oe.promise;break}I.unshift(d),d=s[d].p}return{parentBlockPromise:_,hydrationQueue:I}}(t,e);if(0===d.length)return;null!==a&&d.shift(),function pM(e,t){for(let n of t)e.hydrating.set(n,cp())}(r,d),null!==a&&(yield a);const _=d[0];r.has(_)?yield Dy(e,d,n):r.awaitParentBlock(_,(0,tn.A)(function*(){return yield Dy(e,d,n)}))})).apply(this,arguments)}function Dy(e,t,n){return hp.apply(this,arguments)}function hp(){return(hp=(0,tn.A)(function*(e,t,n){const r=e.get(Fr),s=r.hydrating,a=e.get(i.rev),d=a.add();for(let I=0;I<t.length;I++){const oe=t[I],pe=r.get(oe);if(null==pe){fM(I,t,r),Cy(t.slice(I),r);break}if(yield _M(pe),yield gM(e),hM(pe)){G(pe),Cy(t.slice(I),r);break}s.get(oe).resolve()}const _=t[t.length-1];yield s.get(_)?.promise,a.remove(d),n&&n(t),function Lt(e,t,n,r){null!==e&&(n.cleanup(t),De(e.lContainer),Et(r))}(r.get(_),t,r,e.get(lp))})).apply(this,arguments)}function hM(e){return qs(e.lView,e.tNode)[1]===gi.Error}function fM(e,t,n){const r=e-1,s=r>-1?n.get(t[r]):null;s&&De(s.lContainer)}function Cy(e,t){const n=t.hydrating;for(const r in e)n.get(r)?.reject();t.cleanup(e)}function gM(e){return new Promise(t=>ju(t,{injector:e}))}function _M(e){return fp.apply(this,arguments)}function fp(){return(fp=(0,tn.A)(function*(e){const{tNode:t,lView:n}=e,r=qs(n,t);return new Promise(s=>{(function mM(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(r,s),bl(0,n,t)})})).apply(this,arguments)}
1function Yi(e,t,n){return 0===e?My(t,n):2!==e||!My(t,n)}function My(e,t){const n=e[i.YEL],r=ws(e[i.eDl],t),s=ts(n),a=function vM(e){return null!=e&&!(1&~e)}(r.flags),_=null!==qs(e,t)[6];return!(a&&_&&s)}function Qa(e,t){const n=ws(e,t);return n.hydrateTriggers??=new Map}function yM(e,t,n){const r=[],s=[],a=[],d=[];for(let[_,I]of t){const oe=n.get(_);if(void 0!==oe){const pe=I.data.r;let Re=oe;for(let Ze=0;Ze<pe;Ze++){if(Re=Re.previousSibling,Re.nodeType!==Node.ELEMENT_NODE)continue;const ot={el:Re,blockName:_};I.hydrate.idle&&r.push(ot),I.hydrate.immediate&&d.push(ot),null!==I.hydrate.timer&&(ot.delay=I.hydrate.timer,s.push(ot)),I.hydrate.viewport&&("boolean"!=typeof I.hydrate.viewport&&(ot.intersectionObserverOptions=I.hydrate.viewport),a.push(ot))}}}(function EM(e,t){for(const n of t){const r=e.get(Fr),a=vd(()=>Ga(e,n.blockName),e);r.addCleanupFn(n.blockName,a)}})(e,r),function CM(e,t){for(const n of t)Ga(e,n.blockName)}(e,d),function bM(e,t){if(t.length>0){const n=e.get(Fr);for(let r of t){const s=tp(r.el,()=>Ga(e,r.blockName),e,r.intersectionObserverOptions);n.addCleanupFn(r.blockName,s)}}}(e,a),function DM(e,t){for(const n of t){const r=e.get(Fr),s=()=>Ga(e,n.blockName),d=yd(n.delay)(s,e);r.addCleanupFn(n.blockName,d)}}(e,s)}function Ty(e,t,n,r,s,a,d,_,I,oe){const pe=(0,i.OAn)(),Re=(0,i.klJ)(),Ze=e+i.Yw1,ot=vl(pe,Re,e,null,0,0),Tt=pe[i.YEL],on=ts(Tt);if(Re.firstCreatePass){ys("NgDefer");const Da={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:s??null,errorTmplIndex:a??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ns.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:oe??0};I?.(Re,Da,_,d),function rC(e,t,n){const r=ru(t);e.data[r]=n}(Re,Ze,Da)}const Mn=pe[Ze];sv(Mn,ot,pe);let er=null,nn=null;if(Mn[i.qFA]?.length>0){const Da=Mn[i.qFA][0].data;nn=Da.di??null,er=Da.s}const Yr=[null,ac.Initial,null,null,null,null,nn,er,null,null];!function nC(e,t,n){e[ru(t)]=n}(pe,Ze,Yr);let Ts=null;null!==nn&&on&&(Ts=Tt.get(Fr),Ts.add(nn,{lView:pe,tNode:ot,lContainer:Mn}));const Ui=()=>{Fv(Yr),null!==nn&&Ts?.cleanup([nn])};nu(0,Yr,()=>(0,i.DyX)(pe,Ui)),(0,i.ik5)(pe,Ui)}function Sy(e){const t=(0,i.OAn)(),n=(0,i.CpD)();if(Yi(0,t,n)&&Li(t,(0,i.xbp)(),e)){const s=(0,yt.Ht)(null);try{const a=!!e,_=qs(t,n)[1];!1===a&&_===ac.Initial?dc(t,n):!0===a&&(_===ac.Initial||_===gi.Placeholder)&&bl(0,t,n)}finally{(0,yt.Ht)(s)}}}function Ay(){Yi(0,(0,i.OAn)(),(0,i.Mx4)())&&vy(vd)}function Oy(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Yi(2,e,t)&&(Qa((0,i.klJ)(),t).set(0,null),Ey(vd,e,t))}function Iy(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Yi(0,e,t)&&(null===ws(e[i.eDl],t).loadingTmplIndex&&dc(e,t),bl(0,e,t))}function Ry(e,t,n){const r=(0,i.OAn)(),s=(0,i.Mx4)();Yi(0,r,s)&&(dc(r,s),uc(r,s,e,t,tp,()=>bl(0,r,s),0,n))}function Py(e,t,n){const r=(0,i.OAn)(),s=(0,i.Mx4)();if(!Yi(1,r,s))return;const d=ws(r[i.eDl],s);d.loadingState===ns.NOT_STARTED&&uc(r,s,e,t,tp,()=>su(d,r,s),1,n)}function ky(e){const t=(0,i.OAn)(),n=(0,i.Mx4)();Yi(2,t,n)&&Qa((0,i.klJ)(),n).set(2,e?{type:2,intersectionObserverOptions:e}:null)}function pp(e,t){const n=(0,i.OAn)();if(Li(n,(0,i.xbp)(),t)){const s=(0,i.klJ)(),a=(0,i.CpD)();if(Kc(a,s,n,e,t))(0,i.Qs1)(a)&&Gh(n,a.index);else{const _=(0,i.d31)(a,n);$c(n[i.GpT],_,null,a.value,e,t,null)}}return pp}function gp(e,t,n,r){const s=(0,i.OAn)();return Li(s,(0,i.xbp)(),t)&&((0,i.klJ)(),function N_(e,t,n,r,s,a){const d=(0,i.d31)(e,t);$c(t[i.GpT],d,a,e.value,n,r,s)}((0,i.CpD)(),s,e,t,n,r)),gp}function xy(){return(0,i.OAn)()[i.b5C][i.SKP]}class HM{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),s=Math.max(t,n),a=this.detach(s);if(s-r>1){const d=this.detach(r);this.attach(r,a),this.attach(s,d)}else this.attach(r,a)}move(t,n){this.attach(n,this.detach(t))}}function mp(e,t,n,r,s){return e===n&&Object.is(t,r)?1:Object.is(s(e,t),s(n,r))?-1:0}function vp(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function Ly(e,t,n,r,s){if(vp(e,t,r,n(r,s)))e.updateValue(r,s);else{const a=e.create(r,s);e.attach(r,a)}}function Ny(e,t,n,r){const s=new Set;for(let a=t;a<=n;a++)s.add(r(a,e.at(a)));return s}class Fy{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}
vendor: 5,358 bytes, line 1
1delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const s=this._vMap;for(;s.has(r);)r=s.get(r);s.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const s=this._vMap;for(;s.has(r);)r=s.get(r),t(r,n)}}}function By(e,t,n,r,s,a,d,_){ys("NgControlFlow");const I=(0,i.OAn)(),oe=(0,i.klJ)();return vl(I,oe,e,t,n,r,s,(0,i.db4)(oe.consts,a),256,d,_),yp}function yp(e,t,n,r,s,a,d,_){ys("NgControlFlow");const I=(0,i.OAn)(),oe=(0,i.klJ)();return vl(I,oe,e,t,n,r,s,(0,i.db4)(oe.consts,a),512,d,_),yp}function Uy(e,t){ys("NgControlFlow");const n=(0,i.OAn)(),r=(0,i.xbp)(),s=n[r]!==ri?n[r]:-1,a=-1!==s?Td(n,i.Yw1+s):void 0;if(Li(n,r,e)){const _=(0,yt.Ht)(null);try{if(void 0!==a&&ed(a,0),-1!==e){const I=i.Yw1+e,oe=Td(n,I),pe=Ep(n[i.eDl],I),Re=Bi(oe,pe,n);fl(oe,dl(n,pe,t,{dehydratedView:Re}),0,Ba(pe,Re))}}finally{(0,yt.Ht)(_)}}else if(void 0!==a){const _=of(a,0);void 0!==_&&(_[i.SKP]=t)}}class GM{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-i.Y20}}function jy(e){return e}function $y(e,t){return t}class QM{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function Vy(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze){ys("NgControlFlow");const ot=(0,i.OAn)(),Tt=(0,i.klJ)(),on=void 0!==I,Mn=(0,i.OAn)(),er=_?d.bind(Mn[i.b5C][i.SKP]):d,nn=new QM(on,er);Mn[i.Yw1+e]=nn,vl(ot,Tt,e+1,t,n,r,s,(0,i.db4)(Tt.consts,a),256),on&&vl(ot,Tt,e+2,I,oe,pe,Re,(0,i.db4)(Tt.consts,Ze),512)}class XM extends HM{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-i.Y20}at(t){return this.getLView(t)[i.SKP].$implicit}attach(t,n){const r=n[i.tcA];this.needsIndexUpdate||=t!==this.length,fl(this.lContainer,n,t,Ba(this.templateTNode,r)),function YM(e,t){if(e.length<=i.Y20)return;const r=e[i.Y20+t],s=r?r[i.Isx]:void 0;r&&s&&s.detachedLeaveAnimationFns&&s.detachedLeaveAnimationFns.length>0&&(function v_(e,t){const n=e.get(Fc);if(t.detachedLeaveAnimationFns){for(const r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}(r[i.YEL],s),Na.delete(r[i.ID]),s.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function ZM(e,t){if(e.length<=i.Y20)return;const r=e[i.Y20+t],s=r?r[i.Isx]:void 0;s&&s.leave&&s.leave.size>0&&(s.detachedLeaveAnimationFns=[])}(this.lContainer,t),function JM(e,t){return Xl(e,t)}(this.lContainer,t)}create(t,n){const r=Qr(this.lContainer,this.templateTNode.tView.ssrId);return dl(this.hostLView,this.templateTNode,new GM(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Gl(t[i.eDl],t)}updateValue(t,n){this.getLView(t)[i.SKP].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[i.SKP].$index=t}getLView(t){return function qM(e,t){return of(e,t)}(this.lContainer,t)}}function Wy(e){const t=(0,yt.Ht)(null),n=(0,i._px)();try{const r=(0,i.OAn)(),s=r[i.eDl],a=r[n],d=n+1,_=Td(r,d);if(void 0===a.liveCollection){const oe=Ep(s,d);a.liveCollection=new XM(_,r,oe)}else a.liveCollection.reset();const I=a.liveCollection;if(function zM(e,t,n,r){let s,a,d=0,_=e.length-1;if(Array.isArray(t)){(0,yt.Ht)(r);let oe=t.length-1;for((0,yt.Ht)(null);d<=_&&d<=oe;){const pe=e.at(d),Re=t[d],Ze=mp(d,pe,d,Re,n);if(0!==Ze){Ze<0&&e.updateValue(d,Re),d++;continue}const ot=e.at(_),Tt=t[oe],on=mp(_,ot,oe,Tt,n);if(0!==on){on<0&&e.updateValue(_,Tt),_--,oe--;continue}const Mn=n(d,pe),er=n(_,ot),nn=n(d,Re);if(Object.is(nn,er)){const Yr=n(oe,Tt);Object.is(Yr,Mn)?(e.swap(d,_),e.updateValue(_,Tt),oe--,_--):e.move(_,d),e.updateValue(d,Re),d++;continue}if(s??=new Fy,a??=Ny(e,d,_,n),vp(e,s,d,nn))e.updateValue(d,Re),d++,_++;else if(a.has(nn))s.set(Mn,e.detach(d)),_--;else{const Yr=e.create(d,t[d]);e.attach(d,Yr),d++,_++}}for(;d<=oe;)Ly(e,s,n,d,t[d]),d++}else if(null!=t){(0,yt.Ht)(r);const oe=t[Symbol.iterator]();(0,yt.Ht)(null);let pe=oe.next();for(;!pe.done&&d<=_;){const Re=e.at(d),Ze=pe.value,ot=mp(d,Re,d,Ze,n);if(0!==ot)ot<0&&e.updateValue(d,Ze),d++,pe=oe.next();else{s??=new Fy,a??=Ny(e,d,_,n);const Tt=n(d,Ze);if(vp(e,s,d,Tt))e.updateValue(d,Ze),d++,_++,pe=oe.next();else if(a.has(Tt)){const on=n(d,Re);s.set(on,e.detach(d)),_--}else e.attach(d,e.create(d,Ze)),d++,_++,pe=oe.next()}}for(;!pe.done;)Ly(e,s,n,e.length,pe.value),pe=oe.next()}for(;d<=_;)e.destroy(e.detach(_--));s?.forEach(oe=>{e.destroy(oe)})}(I,e,a.trackByFn,t),I.updateIndexes(),a.hasEmptyBlock){const oe=(0,i.xbp)(),pe=0===I.length;if(Li(r,oe,pe)){const Re=n+2,Ze=Td(r,Re);if(pe){const ot=Ep(s,Re),Tt=Bi(Ze,ot,r);fl(Ze,dl(r,ot,void 0,{dehydratedView:Tt}),0,Ba(ot,Tt))}else s.firstUpdatePass&&K(Ze),ed(Ze,0)}}}finally{(0,yt.Ht)(t)}}function Td(e,t){return e[t]}function Ep(e,t){return(0,i.XRZ)(e,t)}function bp(e,t,n){const r=(0,i.OAn)();return Li(r,(0,i.xbp)(),t)&&((0,i.klJ)(),Xu((0,i.CpD)(),r,e,t,r[i.GpT],n)),bp}
vendor: 5,077 bytes, line 1
1function Dp(e,t,n,r,s){Kc(t,e,n,s?"class":"style",r)}function ou(e,t,n,r){const s=(0,i.OAn)(),a=s[i.eDl],d=e+i.Yw1,_=a.firstCreatePass?Af(d,s,2,t,Zu,(0,i.ckz)(),n,r):a.data[d];if((0,i.Qs1)(_)){const I=s[i.M0L].tracingService;if(I&&I.componentCreate)return I.componentCreate(Pf(a.data[_.directiveStart+_.componentOffset]),()=>(Ky(e,t,s,_,r),ou))}return Ky(e,t,s,_,r),ou}function Ky(e,t,n,r,s){if(Vc(r,n,e,t,wp),(0,i.yoD)(r)){const a=n[i.eDl];jc(a,n,r),ia(a,r,n)}null!=s&&ul(n,r)}function Sd(){const e=(0,i.klJ)(),n=Wc((0,i.Mx4)());return e.firstCreatePass&&Of(e,n),(0,i.UhH)(n)&&(0,i.krE)(),(0,i.N79)(),null!=n.classesWithoutHost&&function Yt(e){return!!(8&e.flags)}(n)&&Dp(e,n,(0,i.OAn)(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function U(e){return!!(16&e.flags)}(n)&&Dp(e,n,(0,i.OAn)(),n.stylesWithoutHost,!1),Sd}function Cp(e,t,n,r){return ou(e,t,n,r),Sd(),Cp}function Ad(e,t,n,r){const s=(0,i.OAn)(),a=s[i.eDl],d=e+i.Yw1,_=a.firstCreatePass?Wm(d,a,2,t,n,r):a.data[d];return Vc(_,s,e,t,wp),null!=r&&ul(s,_),Ad}function Od(){const t=Wc((0,i.Mx4)());return(0,i.UhH)(t)&&(0,i.krE)(),(0,i.N79)(),Od}function Mp(e,t,n,r){return Ad(e,t,n,r),Od(),Mp}let wp=(e,t,n,r,s)=>((0,i.m7n)(!0),Ac(t[i.GpT],r,(0,i.UaU)()));function ew(e,t,n,r,s){const a=!ra(t,n);if((0,i.m7n)(a),a)return Ac(t[i.GpT],r,(0,i.UaU)());const d=t[i.tcA],_=tc(d,e,t,n);return Vs(d,s)&&fa(d,s,_.nextSibling),d&&(ro(n)||as(_))&&(0,i.Qs1)(n)&&((0,i.jNO)(n),ih(_)),_}function tw(){wp=ew}function Id(e,t,n){const r=(0,i.OAn)(),s=r[i.eDl],a=e+i.Yw1,d=s.firstCreatePass?Af(a,r,8,"ng-container",Zu,(0,i.ckz)(),t,n):s.data[a];if(Vc(d,r,e,"ng-container",Ap),(0,i.yoD)(d)){const _=r[i.eDl];jc(_,r,d),ia(_,d,r)}return null!=n&&ul(r,d),Id}function au(){const e=(0,i.klJ)(),n=Wc((0,i.Mx4)());return e.firstCreatePass&&Of(e,n),au}function Tp(e,t,n){return Id(e,t,n),au(),Tp}function Sp(e,t,n){const r=(0,i.OAn)(),s=r[i.eDl],a=e+i.Yw1,d=s.firstCreatePass?Wm(a,s,8,"ng-container",t,n):s.data[a];return Vc(d,r,e,"ng-container",Ap),null!=n&&ul(r,d),Sp}function Hy(){return Wc((0,i.Mx4)()),au}let Ap=(e,t,n,r,s)=>((0,i.m7n)(!0),Mu(t[i.GpT],""));function nw(e,t,n,r,s){let a;const d=!ra(t,n);if((0,i.m7n)(d),d)return Mu(t[i.GpT],"");const _=t[i.tcA],I=tc(_,e,t,n),oe=function $t(e,t){const n=e.data;let r=n.e?.[t]??null;return null===r&&n.c?.[t]&&(r=Pr(e,t)),r}(_,s);return fa(_,s,I),a=Jc(oe,I),a}function rw(){Ap=nw}function Gy(){return(0,i.OAn)()}function Op(e,t,n){const r=(0,i.OAn)();return Li(r,(0,i.xbp)(),t)&&((0,i.klJ)(),Yu((0,i.CpD)(),r,e,t,r[i.GpT],n)),Op}const lu=void 0;var sw=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],lu,[["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"]],lu,[["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\u202fa","h:mm:ss\u202fa","h:mm:ss\u202fa z","h:mm:ss\u202fa zzzz"],["{1}, {0}",lu,lu,lu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iw(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let fc=Object.create(null);function Ip(e){const t=function ow(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Yy(t);if(n)return n;const r=t.split("-")[0];if(n=Yy(r),n)return n;if("en"===r)return sw;throw new i.buA(701,!1)}function Xy(e){return Ip(e)[pc.PluralCase]}function Yy(e){if(!(e in fc)){const t=i.laP.ng&&i.laP.ng.common&&i.laP.ng.common.locales&&i.laP.ng.common.locales[e];return void 0!==t&&(fc[e]=t),t}return fc[e]}var pc=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}(pc||{});const aw=["zero","one","two","few","many"],Rp="en-US",Rd={marker:"element"},Pd={marker:"ICU"};var to=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(to||{});let Zy=Rp;function uw(e){"string"==typeof e&&(Zy=e.toLowerCase().replace(/_/g,"-"))}let cu=0,uu=0;let du=(e,t,n,r)=>
vendor: 11,567 bytes, line 1
1((0,i.m7n)(!0),function Jy(e,t,n){const r=e[i.GpT];switch(n){case Node.COMMENT_NODE:return Mu(r,t);case Node.TEXT_NODE:return Cu(r,t);case Node.ELEMENT_NODE:return Ac(r,t,null)}}(e,n,r));function qy(e,t,n,r){const s=n[i.GpT];let d,a=null;for(let _=0;_<t.length;_++){const I=t[_];if("string"==typeof I){const oe=t[++_];null===n[oe]&&(n[oe]=du(n,0,I,Node.TEXT_NODE))}else if("number"==typeof I)switch(1&I){case 0:const oe=pf(I);let pe,Re;if(null===a&&(a=oe,d=s.parentNode(r)),oe===a?(pe=r,Re=d):(pe=null,Re=(0,i.IvY)(n[oe])),null!==Re){const on=gf(I);Pa(s,Re,n[on],pe,!1);const er=ec(e,on);if(null!==er&&"object"==typeof er){const nn=Yc(er,n);null!==nn&&qy(e,er.create[nn],n,n[er.anchorIdx])}}break;case 1:const ot=t[++_],Tt=t[++_];$c(s,(0,i.vaC)(I>>>1,n),null,null,ot,Tt,null)}else switch(I){case Pd:const oe=t[++_],pe=t[++_];null===n[pe]&&Gr(n[pe]=du(n,0,oe,Node.COMMENT_NODE),n);break;case Rd:const Re=t[++_],Ze=t[++_];null===n[Ze]&&Gr(n[Ze]=du(n,0,Re,Node.ELEMENT_NODE),n)}}}function e0(e,t,n,r,s){for(let a=0;a<n.length;a++){const d=n[a],_=n[++a];if(d&s){let I="";for(let oe=a+1;oe<=a+_;oe++){const pe=n[oe];if("string"==typeof pe)I+=pe;else if("number"==typeof pe)if(pe<0)I+=(0,i.eFE)(t[r-pe]);else{const Re=pe>>>2;switch(3&pe){case 1:const Ze=n[++oe],ot=n[++oe],Tt=e.data[Re];if("string"==typeof Tt)$c(t[i.GpT],t[Re],null,Tt,Ze,I,ot);else{const Mn=(0,i._px)();(0,i.ypq)(Re);try{Xu(Tt,t,Ze,I,t[i.GpT],ot)}finally{(0,i.ypq)(Mn)}}break;case 0:const on=t[Re];null!==on&&th(t[i.GpT],on,I);break;case 2:_w(e,ec(e,Re),t,I);break;case 3:t0(e,ec(e,Re),r,t)}}}}else{const I=n[a+1];if(I>0&&!(3&~I)){const pe=ec(e,I>>>2);t[pe.currentCaseLViewIndex]<0&&t0(e,pe,r,t)}}a+=_}}function t0(e,t,n,r){let s=r[t.currentCaseLViewIndex];if(null!==s){let a=cu;s<0&&(s=r[t.currentCaseLViewIndex]=~s,a=-1),e0(e,r,t.update[s],n,a)}}function _w(e,t,n,r){const s=function mw(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function lw(e,t){const n=Xy(t)(parseInt(e,10)),r=aw[n];return void 0!==r?r:"other"}(t,function dw(){return Zy}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Yc(t,n)!==s&&(n0(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const d=n[t.anchorIdx];d&&qy(e,t.create[s],n,d)}}function n0(e,t,n){let r=Yc(t,n);if(null!==r){const s=t.remove[r];for(let a=0;a<s.length;a++){const d=s[a];if(d>0){const _=(0,i.vaC)(d,n);null!==_&&$l(n[i.GpT],_)}else n0(e,ec(e,~d),n)}}}const kd=/\ufffd(\d+):?\d*\ufffd/gi,vw=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,yw=/\ufffd(\d+)\ufffd/,i0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Ew=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,bw=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Dw=/\uE500/g;function s0(e,t,n,r,s,a,d){const _=Wl(e,r,1,null);let I=_<<to.SHIFT,oe=(0,i.Ab)();t===oe&&(oe=null),null===oe&&(I|=to.APPEND_EAGERLY),d&&(I|=to.COMMENT,function r_(e){void 0===Pu&&(Pu=e())}(Em)),s.push(I,null===a?"":a);const pe=id(e,_,d?32:1,null===a?"":a,null);hf(n,pe);const Re=pe.index;return(0,i.iMd)(pe,!1),null!==oe&&t!==oe&&function mm(e,t){let n=e.insertBeforeIndex;null===n?(Vh(uf,df),n=e.insertBeforeIndex=[null,t]):((0,i.Xln)(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(oe,Re),pe}function ww(e,t,n,r,s,a,d,_){const I=_.match(kd),pe=s0(t,n,r,d,s,I?null:_,!1).index;I&&xd(a,_,pe,null,0,null),e.push({kind:0,index:pe})}function xd(e,t,n,r,s,a){const d=e.length,_=d+1;e.push(null,null);const I=d+2,oe=t.split(kd);let pe=0;for(let Re=0;Re<oe.length;Re++){const Ze=oe[Re];if(1&Re){const ot=s+parseInt(Ze,10);e.push(-1-ot),pe|=o0(ot)}else""!==Ze&&e.push(Ze)}return e.push(n<<2|(r?1:0)),r&&e.push(r,a),e[d]=pe,e[_]=e.length-I,pe}function Sw(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function o0(e){return 1<<Math.min(e,31)}function a0(e){let t,a,n="",r=0,s=!1;for(;null!==(t=Ew.exec(e));)s?t[0]===`\ufffd/*${a}\ufffd`&&(r=t.index,s=!1):(n+=e.substring(r,t.index+t[0].length),a=t[1],s=!0);return n+=e.slice(r),n}function l0(e,t,n,r,s,a,d){let _=0;const I={type:a.type,currentCaseLViewIndex:Wl(t,n,1,null),anchorIdx:d,cases:[],create:[],remove:[],update:[]};(function Pw(e,t,n){e.push(o0(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(r,a,d),function _m(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(t,d,I);const oe=a.values,pe=[];for(let Re=0;Re<oe.length;Re++){const Ze=oe[Re],ot=[];for(let on=0;on<Ze.length;on++){const Mn=Ze[on];if("string"!=typeof Mn){const er=ot.push(Mn)-1;Ze[on]=`\x3c!--\ufffd${er}\ufffd--\x3e`}}const Tt=[];pe.push(Tt),_=Iw(Tt,t,I,n,r,s,a.cases[Re],Ze.join(""),ot)|_}_&&function kw(e,t,n){e.push(t,1,n<<2|3)}(r,_,d),e.push({kind:3,index:d,cases:pe,currentCaseLViewIndex:I.currentCaseLViewIndex})}function Ow(e){const t=[],n=[];let r=1,s=0;const a=Pp(e=e.replace(i0,function(d,_,I){return r="select"===I?0:1,s=parseInt(_.slice(1),10),""}));for(let d=0;d<a.length;){let _=a[d++].trim();1===r&&(_=_.replace(/\s*(?:=)?(\w+)\s*/,"$1")),_.length&&t.push(_);const I=Pp(a[d++]);t.length>n.length&&n.push(I)}return{type:r,mainBinding:s,cases:t,values:n}}function Pp(e){if(!e)return[];let t=0;const n=[],r=[],s=/[{}]/g;let a;for(s.lastIndex=0;a=s.exec(e);){const _=a.index;if("}"==a[0]){if(n.pop(),0==n.length){const I=e.substring(t,_);i0.test(I)?r.push(Ow(I)):r.push(I),t=_+1}}else{if(0==n.length){const I=e.substring(t,_);r.push(I),t=_+1}n.push("{")}}const d=e.substring(t);return r.push(d),r}function Iw(e,t,n,r,s,a,d,_,I){const oe=[],pe=[],Re=[];n.cases.push(d),n.create.push(oe),n.remove.push(pe),n.update.push(Re);const ot=Hd(cs()).getInertBodyElement(_),Tt=Du(ot)||ot;return Tt?c0(e,t,n,r,s,oe,pe,Re,Tt,a,I,0):0}function c0(e,t,n,r,s,a,d,_,I,oe,pe,Re){let Ze=0,ot=I.firstChild;for(;ot;){const Tt=Wl(t,r,1,null);switch(ot.nodeType){case Node.ELEMENT_NODE:const on=ot,Mn=on.tagName.toLowerCase();if(Eu.hasOwnProperty(Mn)){kp(a,Rd,Mn,oe,Tt),t.data[Tt]=Mn;const Ts=on.attributes;for(let Da=0;Da<Ts.length;Da++){const Ml=Ts.item(Da),Wd=Ml.name.toLowerCase(),AS=!!Ml.value.match(kd),eb=on.namespaceURI,tb="http://www.w3.org/2000/svg"===eb?`:svg:${Mn}`:"http://www.w3.org/1998/Math/MathML"===eb?`:math:${Mn}`:Mn;if(AS)bu.hasOwnProperty(Wd)&&xd(_,Ml.value,Tt,Ml.name,0,xp(Wd,tb));else if(bu[Wd]){let OS=Ml.value;xp(Wd,tb)?d0(a,Tt,Ml.name,"unsafe:blocked"):d0(a,Tt,Ml.name,OS)}}const Ui={kind:1,index:Tt,children:[]};e.push(Ui),Ze=c0(Ui.children,t,n,r,s,a,d,_,ot,Tt,pe,Re+1)|Ze,u0(d,Tt,Re)}break;case Node.TEXT_NODE:const er=ot.textContent||"",nn=er.match(kd);kp(a,null,nn?"":er,oe,Tt),u0(d,Tt,Re),nn&&(Ze=xd(_,er,Tt,null,0,null)|Ze),e.push({kind:0,index:Tt});break;case Node.COMMENT_NODE:const Yr=yw.exec(ot.textContent||"");if(Yr){const Ui=pe[parseInt(Yr[1],10)];kp(a,Pd,"",oe,Tt),l0(e,t,r,s,oe,Ui,Tt),Rw(d,Tt,Re)}}ot=ot.nextSibling}return Ze}function u0(e,t,n){0===n&&e.push(t)}function Rw(e,t,n){0===n&&(e.push(~t),e.push(t))}function kp(e,t,n,r,s){null!==t&&e.push(t),e.push(n,s,function ym(e,t,n){return e|t<<17|n<<1}(0,r,s))}function d0(e,t,n,r){e.push(t<<1|1,n,r)}function xp(e,t){const n=e.toLowerCase(),r=t?function Lw(e){const t=e.toLowerCase(),[n,r]=function xw(e,t=!0){if(":"!=e[0])return[null,e];const n=e.indexOf(":",1);if(-1===n){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}(t,!1);return n===i.jNX||n===i.rJ1?`:${n}:${r}`:r}(t):"*",s=function Ig(){return Oc||(Oc={},va(Gi.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),va(Gi.STYLE,void 0,[["*",["style"]]]),va(Gi.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),va(Gi.URL,"math",[["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),va(Gi.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),va(Gi.URL,"svg",[["a",["href","xlink:href"]]]),va(Gi.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),va(Gi.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),Oc}();switch(s[`${r}|${n}`]||s[`*|${n}`]||Gi.NONE){case Gi.HTML:return wu;case Gi.STYLE:return Tu;case Gi.SCRIPT:return ah;case Gi.URL:return Tc;case Gi.RESOURCE_URL:return Ic;case Gi.ATTRIBUTE_NO_BINDING:return ch;default:return null}}const Nw=/\[(\ufffd.+?\ufffd?)\]/,Fw=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Bw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Uw=/{([A-Z0-9_]+)}/g,jw=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,$w=/\/\*/,Vw=/\d+\:(\d+)/;function f0(e,t,n=-1){const r=(0,i.klJ)(),s=(0,i.OAn)(),a=i.Yw1+e,d=(0,i.db4)(r.consts,t),_=(0,i.Ab)();r.firstCreatePass&&function Mw(e,t,n,r,s,a){const d=(0,i.Ab)(),_=[],I=[],oe=[[]],pe=[[]];s=function Aw(e,t){if(function mf(e){return-1===e}(t))return a0(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return a0(e.substring(n,r))}}(s,a);const Re=function Cw(e){return e.replace(Dw," ")}(s).split(bw);for(let Ze=0;Ze<Re.length;Ze++){let ot=Re[Ze];if(1&Ze){const Tt=47===ot.charCodeAt(0),on=ot.charCodeAt(Tt?1:0),Mn=i.Yw1+Number.parseInt(ot.substring(Tt?2:1));if(Tt)oe.shift(),pe.shift(),(0,i.iMd)((0,i.Ab)(),!1);else{const er=vm(e,oe[0],Mn);oe.unshift([]),(0,i.iMd)(er,!0);const nn={kind:2,index:Mn,children:[],type:35===on?0:1};pe[0].push(nn),pe.unshift(nn.children)}}else{const Tt=Pp(ot);for(let on=0;on<Tt.length;on++){let Mn=Tt[on];if(1&on){const er=Mn;if("object"!=typeof er)throw new Error(`Unable to parse ICU expression in "${s}" message.`);const Yr=s0(e,d,oe[0],n,_,"",!0).index;l0(pe[0],e,n,I,t,er,Yr)}else""!==Mn&&ww(pe[0],e,d,oe[0],_,I,n,Mn)}}}e.data[r]={create:_,update:I,ast:pe[0],parentTNodeIndex:t}}(r,null===_?0:_.index,s,a,d,n),2===r.type?s[i.b5C][i.Wg1]|=32:s[i.Wg1]|=32;const I=r.data[a],pe=Bh(r,_===s[i.qlT]?null:_,s);(function gw(e,t,n,r){const s=e[i.GpT];for(let a=0;a<t.length;a++){const d=t[a++],oe=(d&to.APPEND_EAGERLY)===to.APPEND_EAGERLY,pe=d>>>to.SHIFT;let Re=e[pe],Ze=!1;null===Re&&(Re=e[pe]=du(e,0,t[a],(d&to.COMMENT)===to.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Ze=(0,i.SX7)()),oe&&null!==n&&Ze&&Pa(s,n,Re,r,!1)}})(s,I.create,pe,_&&8&_.type?s[_.index]:null),(0,i.xyx)(!0)}function p0(){(0,i.xyx)(!1)}
vendor: 19,105 bytes, line 1
1function Lp(e,t,n){const r=(0,i.OAn)(),s=(0,i.klJ)(),a=(0,i.Mx4)();return Fp(s,r,r[i.GpT],a,e,t,n),Lp}function Np(e,t,n){const r=(0,i.OAn)(),s=(0,i.klJ)(),a=(0,i.Mx4)();return(3&a.type||n)&&Rf(a,s,r,n,r[i.GpT],e,t,Ha(a,r,t)),Np}function Fp(e,t,n,r,s,a,d){let _=!0,I=null;if((3&r.type||d)&&(I??=Ha(r,t,a),Rf(r,e,t,d,n,s,a,I)&&(_=!1)),_){const oe=r.outputs?.[s],pe=r.hostDirectiveOutputs?.[s];if(pe&&pe.length)for(let Re=0;Re<pe.length;Re+=2){const Ze=pe[Re],ot=pe[Re+1];I??=Ha(r,t,a),oc(r,t,Ze,ot,s,I)}if(oe&&oe.length)for(const Re of oe)I??=Ha(r,t,a),oc(r,t,Re,s,s,I)}}function m0(e=1){return(0,i.jvu)(e)}function Qw(e,t){let n=null;const r=function Qg(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 s=0;s<t.length;s++){const a=t[s];if("*"!==a){if(null===r?vh(e,a,!0):Zg(r,a))return s}else n=s}return n}function v0(e){const t=(0,i.OAn)()[i.b5C][i.qlT];if(!t.projection){const r=t.projection=(0,i.WfI)(e?e.length:1,null),s=r.slice();let a=t.child;for(;null!==a;){if(128!==a.type){const d=e?Qw(a,e):0;null!==d&&(s[d]?s[d].projectionNext=a:r[d]=a,s[d]=a)}a=a.next}}}function y0(e,t=0,n,r,s,a){const d=(0,i.OAn)(),_=(0,i.klJ)(),I=r?e+1:null;null!==I&&vl(d,_,I,r,s,a,null,n);const oe=Ua(_,i.Yw1+e,16,null,n||null);null===oe.projection&&(oe.projection=t),(0,i.Pfq)();const Re=!d[i.tcA]||(0,i.KtD)();null===d[i.b5C][i.qlT].projection[oe.projection]&&null!==I?function Xw(e,t,n){const r=i.Yw1+n,s=t.data[r],a=e[r],d=Qr(a,s.tView.ssrId);fl(a,dl(e,s,void 0,{dehydratedView:d}),0,Ba(s,d))}(d,_,I):Re&&!Rs(oe)&&function w_(e,t,n){Kh(t[i.GpT],0,t,n,Ku(e,n,t),Uh(n.parent||t[i.qlT],n,t))}(_,d,oe)}function Bp(e,t,n,r){return dv(e,t,n,r),Bp}function Up(e,t,n){return uv(e,t,n),Up}function E0(e){const t=(0,i.OAn)(),n=(0,i.klJ)(),r=(0,i.w7Z)();(0,i.GA0)(r+1);const s=Vf(n,r);if(e.dirty&&(0,i.vOT)(t)===!(2&~s.metadata.flags)){if(null===s.matches)e.reset([]);else{const a=fv(t,r);e.reset(a,Wr),e.notifyOnChanges()}return!0}return!1}function b0(){return $f((0,i.OAn)(),(0,i.w7Z)())}function jp(e,t,n,r,s){return pv(t,dv(e,n,r,s)),jp}function $p(e,t,n,r){return pv(e,uv(t,n,r)),$p}function D0(e=1){(0,i.GA0)((0,i.w7Z)()+e)}function C0(e){const t=(0,i.VPL)();return(0,i.Hh6)(t,i.Yw1+e)}function Ld(e,t){return e<<17|t<<2}function Dl(e){return e>>17&32767}function Vp(e){return 2|e}function gc(e){return(131068&e)>>2}function Wp(e,t){return-131069&e|t<<2}function Kp(e){return 1|e}function M0(e,t,n,r){const s=e[n+1],a=null===t;let d=r?Dl(s):gc(s),_=!1;for(;0!==d&&(!1===_||a);){const oe=e[d+1];tT(e[d],t)&&(_=!0,e[d+1]=r?Kp(oe):Vp(oe)),d=r?Dl(oe):gc(oe)}_&&(e[n+1]=r?Vp(s):Kp(s))}function tT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,i.FRF)(e,t)>=0}const hs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function w0(e){return e.substring(hs.key,hs.keyEnd)}function nT(e){return e.substring(hs.value,hs.valueEnd)}function T0(e,t){const n=hs.textEnd;return n===t?-1:(t=hs.keyEnd=function sT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,hs.key=t,n),_c(e,t,n))}function S0(e,t){const n=hs.textEnd;let r=hs.key=_c(e,t,n);return n===r?-1:(r=hs.keyEnd=function oT(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=O0(e,r,n),r=hs.value=_c(e,r,n),r=hs.valueEnd=function aT(e,t,n){let r=-1,s=-1,a=-1,d=t,_=d;for(;d<n;){const I=e.charCodeAt(d++);if(59===I)return _;34===I||39===I?_=d=I0(e,I,d,n):t===d-4&&85===a&&82===s&&76===r&&40===I?_=d=I0(e,41,d,n):I>32&&(_=d),a=s,s=r,r=-33&I}return _}(e,r,n),O0(e,r,n))}function A0(e){hs.key=0,hs.keyEnd=0,hs.value=0,hs.valueEnd=0,hs.textEnd=e.length}function _c(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function O0(e,t,n,r){return(t=_c(e,t,n))<n&&t++,t}function I0(e,t,n,r){let s=-1,a=n;for(;a<r;){const d=e.charCodeAt(a++);if(d==t&&92!==s)return a;s=92==d&&92===s?0:d}throw new Error}function Hp(e,t,n){return P0(e,t,n,!1),Hp}function zp(e,t){return P0(e,t,null,!0),zp}function cT(e,t){for(let n=function iT(e){return A0(e),S0(e,_c(e,0,hs.textEnd))}(t);n>=0;n=S0(t,n))N0(e,w0(t),nT(t))}function R0(e){k0(_T,uT,e,!0)}function uT(e,t){for(let n=function rT(e){return A0(e),T0(e,_c(e,0,hs.textEnd))}(t);n>=0;n=T0(t,n))(0,i.ezK)(e,w0(t),!0)}function P0(e,t,n,r){const s=(0,i.OAn)(),a=(0,i.klJ)(),d=(0,i.b$O)(2);a.firstUpdatePass&&L0(a,e,d,r),t!==ri&&Li(s,d,t)&&F0(a,a.data[(0,i._px)()],s,s[i.GpT],e,s[d+1]=function vT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,i.AsM)(at(e)))),e}(t,n),r,d)}function k0(e,t,n,r){const s=(0,i.klJ)(),a=(0,i.b$O)(2);s.firstUpdatePass&&L0(s,null,a,r);const d=(0,i.OAn)();if(n!==ri&&Li(d,a,n)){const _=s.data[(0,i._px)()];if(U0(_,r)&&!x0(s,a)){let I=r?_.classesWithoutHost:_.stylesWithoutHost;null!==I&&(n=(0,i.n$e)(I,n||"")),Dp(s,_,d,n,r)}else!function mT(e,t,n,r,s,a,d,_){s===ri&&(s=i.Mlv);let I=0,oe=0,pe=0<s.length?s[0]:null,Re=0<a.length?a[0]:null;for(;null!==pe||null!==Re;){const Ze=I<s.length?s[I+1]:void 0,ot=oe<a.length?a[oe+1]:void 0;let on,Tt=null;pe===Re?(I+=2,oe+=2,Ze!==ot&&(Tt=Re,on=ot)):null===Re||null!==pe&&pe<Re?(I+=2,Tt=pe):(oe+=2,Tt=Re,on=ot),null!==Tt&&F0(e,t,n,r,Tt,on,d,_),pe=I<s.length?s[I]:null,Re=oe<a.length?a[oe]:null}}(s,_,d,d[i.GpT],d[a+1],d[a+1]=function gT(e,t,n){if(null==n||""===n)return i.Mlv;const r=[],s=at(n);if(Array.isArray(s))for(let a=0;a<s.length;a++)e(r,s[a],!0);else if(s instanceof Set)for(const a of s)e(r,a,!0);else if("object"==typeof s)for(const a in s)s.hasOwnProperty(a)&&e(r,a,s[a]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,a)}}function x0(e,t){return t>=e.expandoStartIndex}function L0(e,t,n,r){const s=e.data;if(null===s[n+1]){const a=s[(0,i._px)()],d=x0(e,n);U0(a,r)&&null===t&&!d&&(t=!1),t=function dT(e,t,n,r){const s=(0,i.MT)(e);let a=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=fu(n=Gp(null,e,t,n,r),t.attrs,r),a=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==s)if(n=Gp(s,e,t,n,r),null===a){let I=function hT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==gc(r))return e[Dl(r)]}(e,t,r);void 0!==I&&Array.isArray(I)&&(I=Gp(null,e,t,I[1],r),I=fu(I,t.attrs,r),function fT(e,t,n,r){e[Dl(n?t.classBindings:t.styleBindings)]=r}(e,t,r,I))}else a=function pT(e,t,n){let r;const s=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<s;a++)r=fu(r,e[a].hostAttrs,n);return fu(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(s,a,t,r),function qw(e,t,n,r,s,a){let d=a?t.classBindings:t.styleBindings,_=Dl(d),I=gc(d);e[r]=n;let pe,oe=!1;if(Array.isArray(n)?(pe=n[1],(null===pe||(0,i.FRF)(n,pe)>0)&&(oe=!0)):pe=n,s)if(0!==I){const Ze=Dl(e[_+1]);e[r+1]=Ld(Ze,_),0!==Ze&&(e[Ze+1]=Wp(e[Ze+1],r)),e[_+1]=function Zw(e,t){return 131071&e|t<<17}(e[_+1],r)}else e[r+1]=Ld(_,0),0!==_&&(e[_+1]=Wp(e[_+1],r)),_=r;else e[r+1]=Ld(I,0),0===_?_=r:e[I+1]=Wp(e[I+1],r),I=r;oe&&(e[r+1]=Vp(e[r+1])),M0(e,pe,r,!0),M0(e,pe,r,!1),function eT(e,t,n,r,s){const a=s?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&(0,i.FRF)(a,t)>=0&&(n[r+1]=Kp(n[r+1]))}(t,pe,e,r,a),d=Ld(_,I),a?t.classBindings=d:t.styleBindings=d}(s,a,t,n,d,r)}}function Gp(e,t,n,r,s){let a=null;const d=n.directiveEnd;let _=n.directiveStylingLast;for(-1===_?_=n.directiveStart:_++;_<d&&(a=t[_],r=fu(r,a.hostAttrs,s),a!==e);)_++;return null!==e&&(n.directiveStylingLast=_),r}function fu(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?s=d:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,i.ezK)(e,d,!!n||t[++a]))}return void 0===e?null:e}function N0(e,t,n){(0,i.ezK)(e,t,at(n))}function _T(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&(0,i.ezK)(e,r,n)}function F0(e,t,n,r,s,a,d,_){if(!(3&t.type))return;const I=e.data,oe=I[_+1],pe=function Jw(e){return!(1&~e)}(oe)?B0(I,t,n,s,gc(oe),d):void 0;Nd(pe)||(Nd(a)||function Yw(e){return!(2&~e)}(oe)&&(a=B0(I,null,n,s,_,d)),function S_(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:xc.DashCase;null==s?e.removeStyle(n,r,a):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),a|=xc.Important),e.setStyle(n,r,s,a))}}(r,d,(0,i.vaC)((0,i._px)(),n),s,a))}function B0(e,t,n,r,s,a){const d=null===t;let _;for(;s>0;){const I=e[s],oe=Array.isArray(I),pe=oe?I[1]:I,Re=null===pe;let Ze=n[s+1];Ze===ri&&(Ze=Re?i.Mlv:void 0);let ot=Re?(0,i.K7h)(Ze,r):pe===r?Ze:void 0;if(oe&&!Nd(ot)&&(ot=(0,i.K7h)(I,r)),Nd(ot)&&(_=ot,d))return _;const Tt=e[s+1];s=d?Dl(Tt):gc(Tt)}if(null!==t){let I=a?t.residualClasses:t.residualStyles;null!=I&&(_=(0,i.K7h)(I,r))}return _}function Nd(e){return void 0!==e}function U0(e,t){return!!(e.flags&(t?8:16))}function j0(e,t=""){const n=(0,i.OAn)(),r=(0,i.klJ)(),s=e+i.Yw1,a=r.firstCreatePass?Ua(r,s,1,t,null):r.data[s],d=$0(r,n,a,t);n[s]=d,(0,i.SX7)()&&zu(r,n,d,a),(0,i.iMd)(a,!1)}let $0=(e,t,n,r)=>((0,i.m7n)(!0),Cu(t[i.GpT],r));function yT(e,t,n,r){const s=!ra(t,n);return(0,i.m7n)(s),s?Cu(t[i.GpT],r):tc(t[i.tcA],e,t,n)}function ET(){$0=yT}function V0(e,t){let n=!1,r=(0,i.c$7)();for(let a=1;a<t.length;a+=2)n=Li(e,r++,t[a])||n;if((0,i.Kw3)(r),!n)return ri;let s=t[0];for(let a=1;a<t.length;a+=2)s+=(0,i.eFE)(t[a])+(a+1!==t.length?t[a+1]:"");return s}function W0(e,t,n,r=""){return Li(e,(0,i.xbp)(),n)?t+(0,i.eFE)(n)+r:ri}function K0(e,t,n,r,s,a=""){const _=gl(e,(0,i.c$7)(),n,s);return(0,i.b$O)(2),_?t+(0,i.eFE)(n)+r+(0,i.eFE)(s)+a:ri}function H0(e,t,n,r,s,a,d,_=""){const oe=dd(e,(0,i.c$7)(),n,s,d);return(0,i.b$O)(3),oe?t+(0,i.eFE)(n)+r+(0,i.eFE)(s)+a+(0,i.eFE)(d)+_:ri}function z0(e,t,n,r,s,a,d,_,I,oe=""){const Re=Oo(e,(0,i.c$7)(),n,s,d,I);return(0,i.b$O)(4),Re?t+(0,i.eFE)(n)+r+(0,i.eFE)(s)+a+(0,i.eFE)(d)+_+(0,i.eFE)(I)+oe:ri}function G0(e,t,n,r,s,a,d,_,I,oe,pe,Re=""){const Ze=(0,i.c$7)();let ot=Oo(e,Ze,n,s,d,I);return ot=Li(e,Ze+4,pe)||ot,(0,i.b$O)(5),ot?t+(0,i.eFE)(n)+r+(0,i.eFE)(s)+a+(0,i.eFE)(d)+_+(0,i.eFE)(I)+oe+(0,i.eFE)(pe)+Re:ri}function Q0(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot=""){const Tt=(0,i.c$7)();let on=Oo(e,Tt,n,s,d,I);return on=gl(e,Tt+4,pe,Ze)||on,(0,i.b$O)(6),on?t+(0,i.eFE)(n)+r+(0,i.eFE)(s)+a+(0,i.eFE)(d)+_+(0,i.eFE)(I)+oe+(0,i.eFE)(pe)+Re+(0,i.eFE)(Ze)+ot:ri}function X0(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt,on=""){const Mn=(0,i.c$7)();let er=Oo(e,Mn,n,s,d,I);return er=dd(e,Mn+4,pe,Ze,Tt)||er,(0,i.b$O)(7),er?t+(0,i.eFE)(n)+r+(0,i.eFE)(s)+a+(0,i.eFE)(d)+_+(0,i.eFE)(I)+oe+(0,i.eFE)(pe)+Re+(0,i.eFE)(Ze)+ot+(0,i.eFE)(Tt)+on:ri}function Y0(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt,on,Mn,er=""){const nn=(0,i.c$7)();let Yr=Oo(e,nn,n,s,d,I);return Yr=Oo(e,nn+4,pe,Ze,Tt,Mn)||Yr,(0,i.b$O)(8),Yr?t+(0,i.eFE)(n)+r+(0,i.eFE)(s)+a+(0,i.eFE)(d)+_+(0,i.eFE)(I)+oe+(0,i.eFE)(pe)+Re+(0,i.eFE)(Ze)+ot+(0,i.eFE)(Tt)+on+(0,i.eFE)(Mn)+er:ri}function Qp(e){return Fd("",e),Qp}function Fd(e,t,n){const r=(0,i.OAn)(),s=W0(r,e,t,n);return s!==ri&&ba(r,(0,i._px)(),s),Fd}function Xp(e,t,n,r,s){const a=(0,i.OAn)(),d=K0(a,e,t,n,r,s);return d!==ri&&ba(a,(0,i._px)(),d),Xp}function Yp(e,t,n,r,s,a,d,_,I){const oe=(0,i.OAn)(),pe=z0(oe,e,t,n,r,s,a,d,_,I);return pe!==ri&&ba(oe,(0,i._px)(),pe),Yp}function ba(e,t,n){const r=(0,i.vaC)(t,e);th(e[i.GpT],r,n)}function Zp(e,t,n){Xv(t)&&(t=t());const r=(0,i.OAn)();return Li(r,(0,i.xbp)(),t)&&((0,i.klJ)(),Xu((0,i.CpD)(),r,e,t,r[i.GpT],n)),Zp}function rE(e,t){const n=Xv(e);return n&&e.set(t),n}function Jp(e,t){const n=(0,i.OAn)(),r=(0,i.klJ)(),s=(0,i.Mx4)();return Fp(r,n,n[i.GpT],s,e,t),Jp}const iE={};function qp(e){ys("NgLet");const t=(0,i.klJ)(),n=(0,i.OAn)(),r=e+i.Yw1,s=Ua(t,r,128,null,null);return(0,i.iMd)(s,!1),(0,i.M_e)(t,n,r,iE),qp}function sE(e){const t=(0,i.klJ)(),n=(0,i.OAn)(),r=(0,i._px)();return(0,i.M_e)(t,n,r,e),e}function oE(e){const t=(0,i.VPL)(),n=(0,i.Hh6)(t,i.Yw1+e);if(n===iE)throw new i.buA(314,!1);return n}function aE(e){return Li((0,i.OAn)(),(0,i.xbp)(),e)?(0,i.eFE)(e):ri}function lE(e,t,n=""){return W0((0,i.OAn)(),e,t,n)}function cE(e,t,n){const r=(0,i.klJ)();r.firstCreatePass&&uE(t,r.data,r.blueprint,(0,i.JlV)(e),n)}function uE(e,t,n,r,s){if(e=(0,i.nl4)(e),Array.isArray(e))for(let a=0;a<e.length;a++)uE(e[a],t,n,r,s);else{const a=(0,i.klJ)(),d=(0,i.OAn)(),_=(0,i.Mx4)();let I=(0,i.Y3W)(e)?e:(0,i.nl4)(e.provide);const oe=(0,i.Rc9)(e),pe=1048575&_.providerIndexes,Re=_.directiveStart,Ze=_.providerIndexes>>20;if((0,i.Y3W)(e)||!e.multi){const ot=new _e(oe,s,go,null),Tt=tg(I,t,s?pe:pe+Ze,Re);-1===Tt?(Ai(Mr(_,d),a,I),eg(a,e,t.length),t.push(I),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),n.push(ot),d.push(ot)):(n[Tt]=ot,d[Tt]=ot)}else{const ot=tg(I,t,pe+Ze,Re),Tt=tg(I,t,pe,pe+Ze),Mn=Tt>=0&&n[Tt];if(s&&!Mn||!s&&!(ot>=0&&n[ot])){Ai(Mr(_,d),a,I);const er=function kT(e,t,n,r,s){const d=new _e(e,n,go,null);return d.multi=[],d.index=t,d.componentProviders=0,dE(d,s,r&&!n),d}(s?PT:RT,n.length,s,r,oe);!s&&Mn&&(n[Tt].providerFactory=er),eg(a,e,t.length,0),t.push(I),_.directiveStart++,_.directiveEnd++,s&&(_.providerIndexes+=1048576),n.push(er),d.push(er)}else eg(a,e,ot>-1?ot:Tt,dE(n[s?Tt:ot],oe,!s&&r));!s&&r&&Mn&&n[Tt].componentProviders++}}}function eg(e,t,n,r){const s=(0,i.Y3W)(t),a=(0,i.MME)(t);if(s||a){const I=(a?(0,i.nl4)(t.useClass):t).prototype.ngOnDestroy;if(I){const oe=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const pe=oe.indexOf(n);-1===pe?oe.push(n,[r,I]):oe[pe+1].push(r,I)}else oe.push(n,I)}}}function dE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function tg(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function RT(e,t,n,r,s){return ng(this.multi,[])}function PT(e,t,n,r,s){const a=this.multi;let d;if(this.providerFactory){const _=this.providerFactory.componentProviders,I=Ur(r,r[i.eDl],this.providerFactory.index,s);d=I.slice(0,_),ng(a,d);for(let oe=_;oe<I.length;oe++)d.push(I[oe])}else d=[],ng(a,d);return d}function ng(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function hE(e,t){return n=>{n.providersResolver=(r,s)=>cE(r,s?s(e):e,!1),t&&(n.viewProvidersResolver=(r,s)=>cE(r,s?s(t):t,!0))}}function fE(e,t,n){const r=e.\u0275cmp;r.directiveDefs=pd(t,bv),r.pipeDefs=pd(n,i.oyA)}function Bd(e){if("function"==typeof e)return e;const t=(0,i.Bqz)(e);return t.some(i.Jzi)?()=>t.map(i.nl4).map(pE):t.map(pE)}function pE(e){return yn(e)?e.ngModule:e}function gE(e,t){const n=(0,i.gxQ)()+e,r=(0,i.OAn)();return r[n]===ri?Jo(r,n,t()):sc(r,n)}function _E(e,t,n){return bE((0,i.OAn)(),(0,i.gxQ)(),e,t,n)}function mE(e,t,n,r){return DE((0,i.OAn)(),(0,i.gxQ)(),e,t,n,r)}function vE(e,t,n,r,s){return CE((0,i.OAn)(),(0,i.gxQ)(),e,t,n,r,s)}function yE(e,t,n,r,s,a,d){return ME((0,i.OAn)(),(0,i.gxQ)(),e,t,n,r,s,a)}function EE(e,t,n,r,s,a,d,_,I){const oe=(0,i.gxQ)()+e,pe=(0,i.OAn)();let Re=Oo(pe,oe,n,r,s,a);return dd(pe,oe+4,d,_,I)||Re?Jo(pe,oe+7,t(n,r,s,a,d,_,I)):sc(pe,oe+7)}function pu(e,t){const n=e[t];return n===ri?void 0:n}function bE(e,t,n,r,s,a){const d=t+n;return Li(e,d,s)?Jo(e,d+1,a?r.call(a,s):r(s)):pu(e,d+1)}function DE(e,t,n,r,s,a,d){const _=t+n;return gl(e,_,s,a)?Jo(e,_+2,d?r.call(d,s,a):r(s,a)):pu(e,_+2)}function CE(e,t,n,r,s,a,d,_){const I=t+n;return dd(e,I,s,a,d)?Jo(e,I+3,_?r.call(_,s,a,d):r(s,a,d)):pu(e,I+3)}function ME(e,t,n,r,s,a,d,_,I){const oe=t+n;return Oo(e,oe,s,a,d,_)?Jo(e,oe+4,I?r.call(I,s,a,d,_):r(s,a,d,_)):pu(e,oe+4)}function wE(e,t,n,r,s,a){let d=t+n,_=!1;for(let I=0;I<s.length;I++)Li(e,d++,s[I])&&(_=!0);return _?Jo(e,d,r.apply(a,s)):pu(e,d)}function TE(e,t){const n=(0,i.klJ)();let r;const s=e+i.Yw1;n.firstCreatePass?(r=function jT(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[s]=r,r.onDestroy&&(n.destroyHooks??=[]).push(s,r.onDestroy)):r=n.data[s];const a=r.factory||(r.factory=(0,i.wGu)(r.type,!0)),_=(0,i.a2B)(go);try{const I=zn(!1),oe=a();return zn(I),(0,i.M_e)(n,(0,i.OAn)(),s,oe),oe}finally{(0,i.a2B)(_)}}function SE(e,t,n){const r=e+i.Yw1,s=(0,i.OAn)(),a=(0,i.Hh6)(s,r);return gu(s,r)?bE(s,(0,i.gxQ)(),t,a.transform,n,a):a.transform(n)}function AE(e,t,n,r){const s=e+i.Yw1,a=(0,i.OAn)(),d=(0,i.Hh6)(a,s);return gu(a,s)?DE(a,(0,i.gxQ)(),t,d.transform,n,r,d):d.transform(n,r)}function gu(e,t){return e[i.eDl].data[t].pure}function OE(e,t){return Qc(e,t)}function Ud(e,t,n,r,s){const a=s[i.eDl];if(a!==r.tView)for(let d=i.Yw1;d<a.bindingStartIndex;d++){const _=s[d];if((0,i.A0l)(_)){(0,i.q$2)(_[i.jgP])&&Ud(e,t,n,r,_[i.jgP]);for(let I=i.Y20;I<_.length;I++)Ud(e,t,n,r,_[I])}else(0,i.q$2)(_)&&Ud(e,t,n,r,_)}else!function YT(e,t,n,r,s){const a=s[i.SKP];let d=s[i.jgP];const _=s[i.f7T],I=s[i.qlT],oe=s[i.YEL].get(i.SKi,null),pe=()=>{if(r.encapsulation===Ws.ShadowDom||r.encapsulation===Ws.ExperimentalIsolatedShadowDom){const Tt=d.cloneNode(!1);d.replaceWith(Tt),d=Tt}const Re=Eh(n),Ze=Pc(_,Re,a,Iu(n),d,I,null,null,null,null,null);(function ZT(e,t,n,r){for(let s=i.Yw1;s<e[i.eDl].bindingStartIndex;s++){const a=e[s];if(((0,i.q$2)(a)||(0,i.A0l)(a))&&a[i.K29]===t){a[i.K29]=n;break}}e[i.EJG]===t&&(e[i.EJG]=n),e[i.Yrj]===t&&(e[i.Yrj]=n),n[i.K29]=t[i.K29],t[i.K29]=null,e[r]=n})(_,s,Ze,I.index),Gl(s[i.eDl],s),Ke(s);const ot=s[i.M0L].rendererFactory;(function XT(e,t){e.componentReplaced?.(t.id)})(ot,r),Ze[i.GpT]=ot.createRenderer(d,n),Lh(s[i.eDl],s),function JT(e){if(null!==e.projection){for(const t of e.projection)Dt(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(I),Hc(Re,Ze,a),ef(Re,Ze,Re.template,a)};null===oe?IE(e,t,pe):oe.run(()=>IE(e,t,pe))}(e,t,n,r,s)}function IE(e,t,n){try{n()}catch(r){if(null!==t&&r.message){const a=r.message+(r.stack?"\n"+r.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:a,error:!0})}throw r}}const Xa={\u0275\u0275animateEnter:function Cd(e){if(ys("NgAnimateEnter"),!ka)return Cd;const t=(0,i.OAn)();if(Lc(t))return Cd;const n=(0,i.Mx4)(),r=t[i.YEL].get(i.SKi);return al(Nc(t),n,()=>function UM(e,t,n,r){const s=(0,i.d31)(t,e),a=e[i.GpT],d=Ch(n),_=[];let I=!1;const oe=Re=>{if(zl(Re)!==s)return;const Ze=Re instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{a.listen(s,Ze,pe)})},pe=Re=>{zl(Re)===s&&(Fu(Re,s)&&(I=!0),function jM(e,t,n){const r=ol.get(t);if(zl(e)===t&&r&&Fu(e,t)){e.stopPropagation();for(const s of r.classList)n.removeClass(t,s);xu(t)}}(Re,s,a))};if(d&&d.length>0){r.runOutsideAngular(()=>{_.push(a.listen(s,"animationstart",oe)),_.push(a.listen(s,"transitionstart",oe))}),function l_(e,t,n){const r=ol.get(e);if(r){for(const s of t)r.classList.push(s);for(const s of n)r.cleanupFns.push(s)}else ol.set(e,{classList:t,cleanupFns:n})}(s,d,_);for(const Re of d)a.addClass(s,Re);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!I&&(Th(s,xa,ka),!xa.has(s))){for(const Re of d)a.removeClass(s,Re);xu(s)}})})}}(t,n,e,r)),Bc(t[i.YEL]),$u(t[i.YEL],Nc(t)),Cd},\u0275\u0275animateEnterListener:function Md(e){if(ys("NgAnimateEnter"),!ka)return Md;const t=(0,i.OAn)();if(Lc(t))return Md;const n=(0,i.Mx4)();return al(Nc(t),n,()=>function $M(e,t,n){const r=(0,i.d31)(t,e);n.call(e[i.SKP],{target:r,animationComplete:c_})}(t,n,e)),Bc(t[i.YEL]),$u(t[i.YEL],Nc(t)),Md},\u0275\u0275animateLeave:function wd(e){if(ys("NgAnimateLeave"),!ka)return wd;const t=(0,i.OAn)();if(Lc(t))return wd;const r=(0,i.Mx4)(),s=t[i.YEL].get(i.SKi);return al(La(t),r,()=>
vendor: 10,993 bytes, line 1
1function VM(e,t,n,r){const{promise:s,resolve:a}=cp(),d=(0,i.d31)(t,e),_=e[i.GpT];Na.add(e[i.ID]),(La(e).get(t.index).resolvers??=[]).push(a);const I=Ch(n);return I&&I.length>0?function WM(e,t,n,r,s,a){!function d_(e,t){if(!ka)return;const n=ol.get(e);if(n&&n.classList.length>0&&function h_(e,t){for(const n of t)if(e.classList.contains(n))return!0;return!1}(e,n.classList))for(const r of n.classList)t.removeClass(e,r);xu(e)}(e,s);const d=[],_=La(n).get(t.index)?.resolvers;let I,oe=!1;const pe=Re=>{if((zl(Re)===e||"animation-fallback"===Re.type)&&("animation-fallback"===Re.type||Fu(Re,e))){if(oe=!0,I&&clearTimeout(I),"animation-fallback"!==Re.type&&Re.stopPropagation(),xa.delete(e),Lu(t,e),Array.isArray(t.projection))for(const ot of r)s.removeClass(e,ot);Dn(_,d),po(n,t)}};a.runOutsideAngular(()=>{d.push(s.listen(e,"animationend",pe)),d.push(s.listen(e,"transitionend",pe))}),Nu(t,e);for(const Re of r)s.addClass(e,Re);a.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(oe)return;Th(e,xa,ka);const Re=xa.get(e);Re?(I=setTimeout(()=>{pe(new CustomEvent("animation-fallback"))},Re.duration+50),d.push(()=>clearTimeout(I))):(Lu(t,e),Dn(_,d),po(n,t))})})}(d,t,e,I,_,r):a(),{promise:s,resolve:a}}(t,r,e,s)),Bc(t[i.YEL]),wd},\u0275\u0275animateLeaveListener:function _p(e){if(ys("NgAnimateLeave"),!ka)return _p;const t=(0,i.OAn)(),n=(0,i.Mx4)();Na.add(t[i.ID]);const r=t[i.YEL].get(i.SKi),s=t[i.YEL].get(s_);return al(La(t),n,()=>function KM(e,t,n,r,s){const{promise:a,resolve:d}=cp(),_=(0,i.d31)(t,e),I=[],oe=e[i.GpT],pe=Lc(e);(La(e).get(t.index).resolvers??=[]).push(d);const Re=La(e).get(t.index)?.resolvers;if(pe)Ko(e,t,_,Re,I);else{const Ze=setTimeout(()=>Ko(e,t,_,Re,I),s),ot={target:_,animationComplete:()=>{Ko(e,t,_,Re,I),clearTimeout(Ze)}};Nu(t,_),r.runOutsideAngular(()=>{I.push(oe.listen(_,"animationend",()=>{Ko(e,t,_,Re,I),clearTimeout(Ze)},{once:!0}))}),n.call(e[i.SKP],ot)}return{promise:a,resolve:d}}(t,n,e,r,s)),Bc(t[i.YEL]),_p},\u0275\u0275attribute:gp,\u0275\u0275defineComponent:Ev,\u0275\u0275defineDirective:Cv,\u0275\u0275defineInjectable:i.jDH,\u0275\u0275defineInjector:i.G2t,\u0275\u0275defineNgModule:Dv,\u0275\u0275definePipe:Mv,\u0275\u0275directiveInject:go,\u0275\u0275getInheritedFactory:Ce,\u0275\u0275inject:i.KVO,\u0275\u0275injectAttribute:qt,\u0275\u0275invalidFactory:Js,\u0275\u0275invalidFactoryDep:i.dmw,\u0275\u0275templateRefExtractor:OE,\u0275\u0275resetView:i.Njj,\u0275\u0275HostDirectivesFeature:Sv,\u0275\u0275NgOnChangesFeature:An,\u0275\u0275ControlFeature:function jD(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}},\u0275\u0275ProvidersFeature:hE,\u0275\u0275InheritDefinitionFeature:Yf,\u0275\u0275ExternalStylesFeature:function xT(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(s=>s+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}},\u0275\u0275nextContext:m0,\u0275\u0275namespaceHTML:i.joV,\u0275\u0275namespaceMathML:i.By9,\u0275\u0275namespaceSVG:i.qSk,\u0275\u0275enableBindings:i.cSN,\u0275\u0275disableBindings:i.fuf,\u0275\u0275elementStart:ou,\u0275\u0275elementEnd:Sd,\u0275\u0275element:Cp,\u0275\u0275elementContainerStart:Id,\u0275\u0275elementContainerEnd:au,\u0275\u0275domElement:Mp,\u0275\u0275domElementStart:Ad,\u0275\u0275domElementEnd:Od,\u0275\u0275domElementContainer:function zy(e,t,n){return Sp(e,t,n),Hy(),zy},\u0275\u0275domElementContainerStart:Sp,\u0275\u0275domElementContainerEnd:Hy,\u0275\u0275domTemplate:qf,\u0275\u0275domListener:Np,\u0275\u0275elementContainer:Tp,\u0275\u0275pureFunction0:gE,\u0275\u0275pureFunction1:_E,\u0275\u0275pureFunction2:mE,\u0275\u0275pureFunction3:vE,\u0275\u0275pureFunction4:yE,\u0275\u0275pureFunction5:function NT(e,t,n,r,s,a,d){const _=(0,i.gxQ)()+e,I=(0,i.OAn)(),oe=Oo(I,_,n,r,s,a);return Li(I,_+4,d)||oe?Jo(I,_+5,t(n,r,s,a,d)):sc(I,_+5)},\u0275\u0275pureFunction6:function FT(e,t,n,r,s,a,d,_){const I=(0,i.gxQ)()+e,oe=(0,i.OAn)(),pe=Oo(oe,I,n,r,s,a);return gl(oe,I+4,d,_)||pe?Jo(oe,I+6,t(n,r,s,a,d,_)):sc(oe,I+6)},\u0275\u0275pureFunction7:EE,\u0275\u0275pureFunction8:function BT(e,t,n,r,s,a,d,_,I,oe){const pe=(0,i.gxQ)()+e,Re=(0,i.OAn)(),Ze=Oo(Re,pe,n,r,s,a);return Oo(Re,pe+4,d,_,I,oe)||Ze?Jo(Re,pe+8,t(n,r,s,a,d,_,I,oe)):sc(Re,pe+8)},\u0275\u0275pureFunctionV:function UT(e,t,n){return wE((0,i.OAn)(),(0,i.gxQ)(),e,t,n)},\u0275\u0275getCurrentView:Gy,\u0275\u0275restoreView:i.eBV,\u0275\u0275listener:Lp,\u0275\u0275projection:y0,\u0275\u0275syntheticHostProperty:function Qy(e,t,n){const r=(0,i.OAn)();if(Li(r,(0,i.xbp)(),t)){const a=(0,i.klJ)(),d=(0,i.CpD)();Yu(d,r,e,t,Xh((0,i.MT)(a.data),d,r),n)}return Qy},\u0275\u0275syntheticHostListener:function _0(e,t){const n=(0,i.Mx4)(),r=(0,i.OAn)(),s=(0,i.klJ)();return Fp(s,r,Xh((0,i.MT)(s.data),n,r),n,e,t),_0},\u0275\u0275pipeBind1:SE,\u0275\u0275pipeBind2:AE,\u0275\u0275pipeBind3:function $T(e,t,n,r,s){const a=e+i.Yw1,d=(0,i.OAn)(),_=(0,i.Hh6)(d,a);return gu(d,a)?CE(d,(0,i.gxQ)(),t,_.transform,n,r,s,_):_.transform(n,r,s)},\u0275\u0275pipeBind4:function VT(e,t,n,r,s,a){const d=e+i.Yw1,_=(0,i.OAn)(),I=(0,i.Hh6)(_,d);return gu(_,d)?ME(_,(0,i.gxQ)(),t,I.transform,n,r,s,a,I):I.transform(n,r,s,a)},\u0275\u0275pipeBindV:function WT(e,t,n){const r=e+i.Yw1,s=(0,i.OAn)(),a=(0,i.Hh6)(s,r);return gu(s,r)?wE(s,(0,i.gxQ)(),t,a.transform,n,a):a.transform.apply(a,n)},\u0275\u0275projectionDef:v0,\u0275\u0275domProperty:Op,\u0275\u0275ariaProperty:pp,\u0275\u0275property:bp,\u0275\u0275control:function Qb(){!function Qm(){const e=(0,i.OAn)(),t=(0,i.klJ)(),n=(0,i.CpD)();-1!==n.controlDirectiveIndex&&t.data[n.controlDirectiveIndex].controlDef.update(e[n.controlDirectiveIndex],new Xm(e,t,n))}()},\u0275\u0275controlCreate:function Gb(){!function Gm(){const e=(0,i.OAn)(),t=(0,i.klJ)(),n=(0,i.Mx4)();t.firstCreatePass&&function Xb(e,t){for(let s=t.directiveStart;s<t.directiveEnd;s++)if(e.data[s].controlDef){t.controlDirectiveIndex=s;break}if(-1===t.controlDirectiveIndex)return;const r=e.data[t.controlDirectiveIndex].controlDef;r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1?t.flags|=4096:function Yb(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){const r=e.data[n];if(Ym(r,"value"))return t.flags|=1024,void(t.customControlIndex=n);if(Ym(r,"checked"))return t.flags|=2048,void(t.customControlIndex=n)}}(e,t)}(t,n),-1!==n.controlDirectiveIndex&&(ys("NgSignalForms"),t.data[n.controlDirectiveIndex].controlDef.create(e[n.controlDirectiveIndex],new Xm(e,t,n)))}()},\u0275\u0275pipe:TE,\u0275\u0275queryRefresh:E0,\u0275\u0275queryAdvance:D0,\u0275\u0275viewQuery:Up,\u0275\u0275viewQuerySignal:$p,\u0275\u0275loadQuery:b0,\u0275\u0275contentQuery:Bp,\u0275\u0275contentQuerySignal:jp,\u0275\u0275reference:C0,\u0275\u0275classMap:R0,\u0275\u0275styleMap:function lT(e){k0(N0,cT,e,!1)},\u0275\u0275styleProp:Hp,\u0275\u0275classProp:zp,\u0275\u0275advance:bh,\u0275\u0275template:Jf,\u0275\u0275conditional:Uy,\u0275\u0275conditionalCreate:By,\u0275\u0275conditionalBranchCreate:yp,\u0275\u0275defer:Ty,\u0275\u0275deferWhen:Sy,\u0275\u0275deferOnIdle:Ay,\u0275\u0275deferOnImmediate:Iy,\u0275\u0275deferOnTimer:function IM(e){Yi(0,(0,i.OAn)(),(0,i.Mx4)())&&vy(yd(e))},\u0275\u0275deferOnHover:function kM(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();Yi(0,n,r)&&(dc(n,r),uc(n,r,e,t,ua,()=>bl(0,n,r),0))},\u0275\u0275deferOnInteraction:function NM(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();Yi(0,n,r)&&(dc(n,r),uc(n,r,e,t,Ma,()=>bl(0,n,r),0))},\u0275\u0275deferOnViewport:Ry,\u0275\u0275deferPrefetchWhen:function MM(e){const t=(0,i.OAn)(),n=(0,i.CpD)();if(Yi(1,t,n)&&Li(t,(0,i.xbp)(),e)){const s=(0,yt.Ht)(null);try{const a=!!e,_=ws(t[i.eDl],n);!0===a&&_.loadingState===ns.NOT_STARTED&&su(_,t,n)}finally{(0,yt.Ht)(s)}}},\u0275\u0275deferPrefetchOnIdle:function SM(){Yi(1,(0,i.OAn)(),(0,i.Mx4)())&&yy(vd)},\u0275\u0275deferPrefetchOnImmediate:function AM(){const e=(0,i.OAn)(),t=(0,i.Mx4)();if(!Yi(1,e,t))return;const r=ws(e[i.eDl],t);r.loadingState===ns.NOT_STARTED&&up(r,e,t)},\u0275\u0275deferPrefetchOnTimer:function RM(e){Yi(1,(0,i.OAn)(),(0,i.Mx4)())&&yy(yd(e))},\u0275\u0275deferPrefetchOnHover:function xM(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();if(!Yi(1,n,r))return;const a=ws(n[i.eDl],r);a.loadingState===ns.NOT_STARTED&&uc(n,r,e,t,ua,()=>su(a,n,r),1)},\u0275\u0275deferPrefetchOnInteraction:function FM(e,t){const n=(0,i.OAn)(),r=(0,i.Mx4)();if(!Yi(1,n,r))return;const a=ws(n[i.eDl],r);a.loadingState===ns.NOT_STARTED&&uc(n,r,e,t,Ma,()=>su(a,n,r),1)},\u0275\u0275deferPrefetchOnViewport:Py,\u0275\u0275deferHydrateWhen:function wM(e){const t=(0,i.OAn)(),n=(0,i.CpD)();if(!Yi(2,t,n))return;const r=(0,i.xbp)();if(Qa((0,i.klJ)(),n).set(6,null),Li(t,r,e)){const d=t[i.YEL],_=(0,yt.Ht)(null);try{1==!!e&&Ga(d,qs(t,n)[6])}finally{(0,yt.Ht)(_)}}},\u0275\u0275deferHydrateNever:function TM(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Yi(2,e,t)&&Qa((0,i.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:Oy,\u0275\u0275deferHydrateOnImmediate:function OM(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Yi(2,e,t)&&(Qa((0,i.klJ)(),t).set(1,null),Ga(e[i.YEL],qs(e,t)[6]))},\u0275\u0275deferHydrateOnTimer:function PM(e){const t=(0,i.OAn)(),n=(0,i.Mx4)();Yi(2,t,n)&&(Qa((0,i.klJ)(),n).set(5,{type:5,delay:e}),Ey(yd(e),t,n))},\u0275\u0275deferHydrateOnHover:function LM(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Yi(2,e,t)&&Qa((0,i.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function BM(){const e=(0,i.OAn)(),t=(0,i.Mx4)();Yi(2,e,t)&&Qa((0,i.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:ky,\u0275\u0275deferEnableTimerScheduling:function mC(e,t,n,r){const s=e.consts;null!=n&&(t.placeholderBlockConfig=(0,i.db4)(s,n)),null!=r&&(t.loadingBlockConfig=(0,i.db4)(s,r)),null===rp&&(rp=_C)},\u0275\u0275repeater:Wy,\u0275\u0275repeaterCreate:Vy,\u0275\u0275repeaterTrackByIndex:jy,\u0275\u0275repeaterTrackByIdentity:$y,\u0275\u0275componentInstance:xy,\u0275\u0275text:j0,\u0275\u0275textInterpolate:Qp,\u0275\u0275textInterpolate1:Fd,\u0275\u0275textInterpolate2:Xp,\u0275\u0275textInterpolate3:function Z0(e,t,n,r,s,a,d){const _=(0,i.OAn)(),I=H0(_,e,t,n,r,s,a,d);return I!==ri&&ba(_,(0,i._px)(),I),Z0},\u0275\u0275textInterpolate4:Yp,\u0275\u0275textInterpolate5:function J0(e,t,n,r,s,a,d,_,I,oe,pe){const Re=(0,i.OAn)(),Ze=G0(Re,e,t,n,r,s,a,d,_,I,oe,pe);return Ze!==ri&&ba(Re,(0,i._px)(),Ze),J0},\u0275\u0275textInterpolate6:function q0(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze){const ot=(0,i.OAn)(),Tt=Q0(ot,e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze);return Tt!==ri&&ba(ot,(0,i._px)(),Tt),q0},\u0275\u0275textInterpolate7:function eE(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt){const on=(0,i.OAn)(),Mn=X0(on,e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt);return Mn!==ri&&ba(on,(0,i._px)(),Mn),eE},\u0275\u0275textInterpolate8:function tE(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt,on,Mn){const er=(0,i.OAn)(),nn=Y0(er,e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt,on,Mn);return nn!==ri&&ba(er,(0,i._px)(),nn),tE},\u0275\u0275textInterpolateV:function nE(e){const t=(0,i.OAn)(),n=V0(t,e);return n!==ri&&ba(t,(0,i._px)(),n),nE}
vendor: 3,152 bytes, line 1
1,\u0275\u0275i18n:function Kw(e,t,n){f0(e,t,n),p0()},\u0275\u0275i18nAttributes:function Hw(e,t){const n=(0,i.klJ)(),r=(0,i.db4)(n.consts,t);!function Tw(e,t,n){const r=(0,i.Mx4)(),s=r.index,a=[];if(e.firstCreatePass&&null===e.data[t]){for(let d=0;d<n.length;d+=2){const _=n[d],I=n[d+1];if(""!==I){if(vw.test(I))throw new Error(`ICU expressions are not supported in attributes. Message: "${I}".`);const oe=r.namespace?`:${r.namespace}:${r.value}`:r.value;xd(a,I,s,_,Sw(a),xp(_,oe))}}e.data[t]=a}}(n,e+i.Yw1,r)},\u0275\u0275i18nExp:function g0(e){return function hw(e){e&&(cu|=1<<Math.min(uu,31)),uu++}(Li((0,i.OAn)(),(0,i.xbp)(),e)),g0},\u0275\u0275i18nStart:f0,\u0275\u0275i18nEnd:p0,\u0275\u0275i18nApply:function zw(e){!function fw(e,t,n){try{if(uu>0){const r=e.data[n];e0(e,t,Array.isArray(r)?r:r.update,(0,i.c$7)()-uu-1,cu)}}finally{cu=0,uu=0}}((0,i.klJ)(),(0,i.OAn)(),e+i.Yw1)},\u0275\u0275i18nPostprocess:function Gw(e,t={}){return function Ww(e,t={}){let n=e;if(Nw.test(e)){const r={},s=[0];n=n.replace(Fw,(a,d,_)=>{const I=d||_,oe=r[I]||[];if(oe.length||(I.split("|").forEach(on=>{const Mn=on.match(Vw),er=Mn?parseInt(Mn[1],10):0,nn=$w.test(on);oe.push([er,nn,on])}),r[I]=oe),!oe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${I}`);const pe=s[s.length-1];let Re=0;for(let on=0;on<oe.length;on++)if(oe[on][0]===pe){Re=on;break}const[Ze,ot,Tt]=oe[Re];return ot?s.pop():pe!==Ze&&s.push(Ze),oe.splice(Re,1),Tt})}return Object.keys(t).length&&(n=n.replace(Bw,(r,s,a,d,_,I)=>t.hasOwnProperty(a)?`${s}${t[a]}${I}`:r),n=n.replace(Uw,(r,s)=>t.hasOwnProperty(s)?t[s]:r),n=n.replace(jw,(r,s)=>{if(t.hasOwnProperty(s)){const a=t[s];if(!a.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${s}`);return a.shift()}return r})),n}(e,t)},\u0275\u0275resolveWindow:uh,\u0275\u0275resolveDocument:dh,\u0275\u0275resolveBody:hh,\u0275\u0275setComponentScope:fE,\u0275\u0275setNgModuleScope:function LT(e,t){return _n(()=>{const n=(0,i.WbQ)(e);n.declarations=Bd(t.declarations||i.Mlv),n.imports=Bd(t.imports||i.Mlv),n.exports=Bd(t.exports||i.Mlv),t.bootstrap&&(n.bootstrap=Bd(t.bootstrap)),Qi.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:mv,\u0275\u0275getComponentDepsFactory:function KT(e,t){return()=>{try{return Qi.getComponentDependencies(e,t).dependencies}catch(n){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,n),n}}},\u0275setClassDebugInfo:function HT(e,t){const n=(0,i.xUg)(e);null!==n&&(n.debugInfo=t)},\u0275\u0275declareLet:qp,\u0275\u0275storeLet:sE,\u0275\u0275arrowFunction:function IT(e,t,n){const r=(0,i.gxQ)()+e,s=(0,i.OAn)();return s[r]===ri?Jo(s,r,t(n,s)):sc(s,r)},\u0275\u0275readContextLet:oE,\u0275\u0275attachSourceLocations:function bT(e,t){const n=(0,i.klJ)(),r=(0,i.OAn)(),s=r[i.GpT],a="data-ng-source-location";for(const[d,_,I,oe]of t){(0,i.XRZ)(n,d+i.Yw1);const Re=(0,i.vaC)(d+i.Yw1,r);Re.hasAttribute(a)||s.setAttribute(Re,a,`${e}@o:${_},l:${I},c:${oe}`)}},\u0275\u0275interpolate:aE,\u0275\u0275interpolate1:lE,\u0275\u0275interpolate2:function DT(e,t,n,r,s=""){return K0((0,i.OAn)(),e,t,n,r,s
vendor: 43,596 bytes, line 1
1)},\u0275\u0275interpolate3:function CT(e,t,n,r,s,a,d=""){return H0((0,i.OAn)(),e,t,n,r,s,a,d)},\u0275\u0275interpolate4:function MT(e,t,n,r,s,a,d,_,I=""){return z0((0,i.OAn)(),e,t,n,r,s,a,d,_,I)},\u0275\u0275interpolate5:function wT(e,t,n,r,s,a,d,_,I,oe,pe=""){return G0((0,i.OAn)(),e,t,n,r,s,a,d,_,I,oe,pe)},\u0275\u0275interpolate6:function TT(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze=""){return Q0((0,i.OAn)(),e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze)},\u0275\u0275interpolate7:function ST(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt=""){return X0((0,i.OAn)(),e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt)},\u0275\u0275interpolate8:function AT(e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt,on,Mn=""){return Y0((0,i.OAn)(),e,t,n,r,s,a,d,_,I,oe,pe,Re,Ze,ot,Tt,on,Mn)},\u0275\u0275interpolateV:function OT(e){return V0((0,i.OAn)(),e)},\u0275\u0275sanitizeHtml:wu,\u0275\u0275sanitizeStyle:Tu,\u0275\u0275sanitizeResourceUrl:Ic,\u0275\u0275sanitizeScript:ah,\u0275\u0275validateAttribute:ch,\u0275\u0275sanitizeUrl:Su,\u0275\u0275sanitizeUrlOrResourceUrl:lh,\u0275\u0275trustConstantHtml:function Rg(e){return rn(e[0])},\u0275\u0275trustConstantResourceUrl:function Pg(e){return function $n(e){return Ht()?.createScriptURL(e)||e}(e[0])},forwardRef:i.Rfq,resolveForwardRef:i.nl4,\u0275\u0275twoWayProperty:Zp,\u0275\u0275twoWayBindingSet:rE,\u0275\u0275twoWayListener:Jp,\u0275\u0275replaceMetadata:function GT(e,t,n,r,s=null,a=null){const d=(0,i.xUg)(e);t.apply(null,[e,n,...r]);const{newDef:_,oldDef:I}=function QT(e,t){const n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(d,(0,i.xUg)(e));if(e[i.CQl]=_,I.tView){const oe=function ks(){return Pi}().values();for(const pe of oe)(0,i.EFk)(pe)&&null===pe[i.f7T]&&Ud(s,a,_,I,pe)}},\u0275\u0275getReplaceMetadataURL:function zT(e,t,n){const r=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(r,n).href}};let mc=null;function qT(e){null!==mc&&(e.defaultEncapsulation!==mc.defaultEncapsulation||e.preserveWhitespaces!==mc.preserveWhitespaces)||(mc=e)}const _u=[];function NE(e){return yn(e)?e.ngModule:e}const mS=rr("NgModule",e=>e,void 0,0,(e,t)=>function rS(e,t={}){(function iS(e,t){const r=(0,i.Bqz)(t.declarations||i.Mlv);let s=null;Object.defineProperty(e,i.hmW,{configurable:!0,get:()=>(null===s&&(s=kn().compileNgModule(Xa,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,i.Bqz)(t.bootstrap||i.Mlv).map(i.nl4),declarations:r.map(i.nl4),imports:(0,i.Bqz)(t.imports||i.Mlv).map(i.nl4).map(NE),exports:(0,i.Bqz)(t.exports||i.Mlv).map(i.nl4).map(NE),schemas:t.schemas?(0,i.Bqz)(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])),s)});let a=null;Object.defineProperty(e,i.zSs,{get:()=>{if(null===a){const _=kn();a=_.compileFactory(Xa,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Xn(e),target:_.FactoryTarget.NgModule,typeArgumentCount:0})}return a},configurable:!1});let d=null;Object.defineProperty(e,i.ONQ,{get:()=>{if(null===d){const _={name:e.name,type:e,providers:t.providers||i.Mlv,imports:[(t.imports||i.Mlv).map(i.nl4),(t.exports||i.Mlv).map(i.nl4)]};d=kn().compileInjector(Xa,`ng:///${e.name}/\u0275inj.js`,_)}return d},configurable:!1})})(e,t),void 0!==t.id&&mv(e,t.id),function tS(e,t){_u.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class vS{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let yS=(()=>{class e{compileModuleSync(n){return new yv(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=Wo((0,i.phH)(n).declarations).reduce((d,_)=>{const I=(0,i.xUg)(_);return I&&d.push(new hd(I)),d},[]);return new vS(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ES=new i.nKC("");let bS=(()=>{class e{applicationErrorHandler=(0,i.WQX)(i.ZTf);appRef=(0,i.WQX)(lp);taskService=(0,i.WQX)(i.rev);ngZone=(0,i.WQX)(i.SKi);zonelessEnabled=(0,i.WQX)(i.Evm);tracing=(0,i.WQX)(ll,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Kt.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(i.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,i.WQX)(i.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?i.uiq:i.l4E;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(i.AbJ+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,i.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XE(){return[{provide:i.hk6,useExisting:bS},{provide:i.SKi,useClass:i.myG},{provide:i.Evm,useValue:!0}]}const YE=new i.nKC("",{factory:()=>(0,i.WQX)(YE,{optional:!0,skipSelf:!0})||function DS(){return typeof $localize<"u"&&$localize.locale||Rp}()}),CS=new i.nKC("",{factory:()=>"USD"})},5824(qe,P,c){"use strict";c.d(P,{Ag:()=>pt,Bg:()=>V,EF:()=>st,H8:()=>lt,Ht:()=>w,JC:()=>H,KE:()=>L,KO:()=>fe,KZ:()=>et,Ny:()=>Ct,TO:()=>C,Wu:()=>Q,XR:()=>be,a7:()=>Oe,bh:()=>v,j2:()=>tt,lh:()=>tn,mC:()=>bt,mK:()=>f,n5:()=>ge,nR:()=>S,pL:()=>h,s0:()=>Je,si:()=>ce,vX:()=>Pt});let o=null,u=!1,l=1;const v=Symbol("SIGNAL");function w(i){const yt=o;return o=i,yt}function S(){return o}function L(){return u}const h={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function f(i){if(u)throw new Error("");if(null===o)return;o.consumerOnSignalRead(i);const yt=o.producersTail;if(void 0!==yt&&yt.producer===i)return;let Ut;const Kt=o.recomputing;if(Kt&&(Ut=void 0!==yt?yt.nextProducer:o.producers,void 0!==Ut&&Ut.producer===i))return o.producersTail=Ut,void(Ut.lastReadVersion=i.version);const un=i.consumersTail;if(void 0!==un&&un.consumer===o&&(!Kt||function Be(i,yt){const Ut=yt.producersTail;if(void 0!==Ut){let Kt=yt.producers;do{if(Kt===i)return!0;if(Kt===Ut)break;Kt=Kt.nextProducer}while(void 0!==Kt)}return!1}(un,o)))return;const or=$e(o),_n={producer:i,consumer:o,nextProducer:Ut,prevConsumer:un,lastReadVersion:i.version,nextConsumer:void 0};o.producersTail=_n,void 0!==yt?yt.nextProducer=_n:o.producers=_n,or&&Te(i,_n)}function H(i){if((!$e(i)||i.dirty)&&(i.dirty||i.lastCleanEpoch!==l)){if(!i.producerMustRecompute(i)&&!ce(i))return void C(i);i.producerRecomputeValue(i),C(i)}}function b(i){if(void 0===i.consumers)return;const yt=u;u=!0;try{for(let Ut=i.consumers;void 0!==Ut;Ut=Ut.nextConsumer){const Kt=Ut.consumer;Kt.dirty||A(Kt)}}finally{u=yt}}function N(){return!1!==o?.consumerAllowSignalWrites}function A(i){i.dirty=!0,b(i),i.consumerMarkedDirty?.(i)}function C(i){i.dirty=!1,i.lastCleanEpoch=l}function V(i){return i&&function B(i){i.producersTail=void 0,i.recomputing=!0}(i),w(i)}function Q(i,yt){w(yt),i&&function Z(i){i.recomputing=!1;const yt=i.producersTail;let Ut=void 0!==yt?yt.nextProducer:i.producers;if(void 0!==Ut){if($e(i))do{Ut=we(Ut)}while(void 0!==Ut);void 0!==yt?yt.nextProducer=void 0:i.producers=void 0}}(i)}function ce(i){for(let yt=i.producers;void 0!==yt;yt=yt.nextProducer){const Ut=yt.producer,Kt=yt.lastReadVersion;if(Kt!==Ut.version||(H(Ut),Kt!==Ut.version))return!0}return!1}function be(i){if($e(i)){let yt=i.producers;for(;void 0!==yt;)yt=we(yt)}i.producers=void 0,i.producersTail=void 0,i.consumers=void 0,i.consumersTail=void 0}function Te(i,yt){const Ut=i.consumersTail,Kt=$e(i);if(void 0!==Ut?(yt.nextConsumer=Ut.nextConsumer,Ut.nextConsumer=yt):(yt.nextConsumer=void 0,i.consumers=yt),yt.prevConsumer=Ut,i.consumersTail=yt,!Kt)for(let un=i.producers;void 0!==un;un=un.nextProducer)Te(un.producer,un)}function we(i){const yt=i.producer,Ut=i.nextProducer,Kt=i.nextConsumer,un=i.prevConsumer;if(i.nextConsumer=void 0,i.prevConsumer=void 0,void 0!==Kt?Kt.prevConsumer=un:yt.consumersTail=un,void 0!==un)un.nextConsumer=Kt;else if(yt.consumers=Kt,!$e(yt)){let or=yt.producers;for(;void 0!==or;)or=we(or)}return Ut}function $e(i){return i.consumerIsAlwaysLive||void 0!==i.consumers}function Oe(i){}function lt(i,yt){return Object.is(i,yt)}function et(i,yt){const Ut=Object.create(se);Ut.computation=i,void 0!==yt&&(Ut.equal=yt);const Kt=()=>{if(H(Ut),f(Ut),Ut.value===st)throw Ut.error;return Ut.value};return Kt[v]=Ut,Kt}const pt=Symbol("UNSET"),Ct=Symbol("COMPUTING"),st=Symbol("ERRORED"),se={...h,value:pt,dirty:!0,error:null,equal:lt,kind:"computed",producerMustRecompute:i=>i.value===pt||i.value===Ct,producerRecomputeValue(i){if(i.value===Ct)throw new Error("");const yt=i.value;i.value=Ct;const Ut=V(i);let Kt,un=!1;try{Kt=i.computation(),w(null),un=yt!==pt&&yt!==st&&Kt!==st&&i.equal(yt,Kt)}catch(or){Kt=st,i.error=or}finally{Q(i,Ut)}un?i.value=yt:(i.value=Kt,i.version++)}};let Y=function me(){throw new Error};function ee(i){Y(i)}function fe(i){Y=i}function ge(i,yt){const Ut=Object.create(Je);Ut.value=i,void 0!==yt&&(Ut.equal=yt);const Kt=()=>function je(i){return f(i),i.value}(Ut);return Kt[v]=Ut,[Kt,_n=>tt(Ut,_n),_n=>bt(Ut,_n)]}function tt(i,yt){N()||ee(i),i.equal(i.value,yt)||(i.value=yt,function rt(i){i.version++,function y(){l++}(),b(i)}(i))}function bt(i,yt){N()||ee(i),tt(i,yt(i.value))}const Je={...h,equal:lt,value:void 0,kind:"signal"},Pt={...h,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function tn(i){if(i.dirty=!1,i.version>0&&!ce(i))return;i.version++;const yt=V(i);try{i.cleanup(),i.fn()}finally{Q(i,yt)}}},5802(qe,P,c){"use strict";c.d(P,{JEi:()=>ao,Isx:()=>vo,EJG:()=>Ls,Yrj:()=>mo,VVG:()=>fi,Y20:()=>re,SKP:()=>Wi,hk6:()=>ie,eVN:()=>Us,l3R:()=>Pl,b5C:()=>Gr,rQE:()=>os,X5O:()=>ss,qFA:()=>yo,qQL:()=>vs,dUD:()=>N,abz:()=>fo,tQN:()=>ps,pcR:()=>oo,oMQ:()=>so,Mlv:()=>Jr,MZA:()=>kr,M0L:()=>xs,Z63:()=>Ur,Ap:()=>A,dTm:()=>Zn,VML:()=>rn,uvJ:()=>Xi,zcH:()=>il,bkB:()=>Ps,Wg1:()=>ni,Yw1:()=>Ns,jgP:()=>Fi,tcA:()=>_o,ID:()=>Hs,YEL:()=>ks,B9r:()=>Oi,GBX:()=>zr,ZTf:()=>Ul,nKC:()=>wt,zZn:()=>Pr,rJ1:()=>Tr,nfM:()=>k,s6P:()=>Le,K29:()=>fs,CQl:()=>He,CZt:()=>mt,p9y:()=>An,zSs:()=>sn,ONQ:()=>rr,hmW:()=>Qt,yAH:()=>hr,SKi:()=>_a,myG:()=>Ws,oTH:()=>ji,Czx:()=>ls,f7T:()=>Pi,wVl:()=>Ji,GYQ:()=>ut,u5s:()=>Ht,rev:()=>el,Ds7:()=>io,e5P:()=>mi,Iaj:()=>zs,GpT:()=>ai,buA:()=>V,AQb:()=>St,kHH:()=>ga,jNX:()=>Yn,eDl:()=>bs,qlT:()=>As,bm_:()=>M,RxE:()=>H,r4V:()=>q,ok8:()=>C,Evm:()=>ke,laP:()=>Z,EYC:()=>_i,AbJ:()=>rl,ng7:()=>si,llW:()=>Mt,gsJ:()=>it,GZS:()=>yi,iYM:()=>Xe,PEr:()=>Io,z7f:()=>rt,LZP:()=>Pt,Xln:()=>Y,yzR:()=>Fs,TWe:()=>Bs,LIA:()=>me,GWr:()=>je,pbo:()=>tt,bBq:()=>cs,Af3:()=>vi,zQk:()=>qi,oZy:()=>Qs,tF7:()=>tn,ZFY:()=>Ae,cP4:()=>Ki,MdC:()=>Ei,XvL:()=>ge,KET:()=>Ci,Tkx:()=>Wn,iw4:()=>ee,tdH:()=>wc,pr_:()=>yt,IAh:()=>ye,U45:()=>Ct,WrV:()=>st,kNT:()=>i,MI:()=>wn,biv:()=>Eo,ZQF:()=>fe,Cv0:()=>se,W0r:()=>di,R2n:()=>ui,O8q:()=>ir,VKj:()=>Gn,Rom:()=>$r,z6V:()=>Fn,n$e:()=>Oe,hjC:()=>zn,Pz9:()=>Vs,PQT:()=>Ge,VX4:()=>Ve,_Z$:()=>ft,N79:()=>Fo,xLP:()=>Lr,QZP:()=>xr,A7J:()=>xe,BI7:()=>hn,U7d:()=>Cr,uXy:()=>En,nZS:()=>Bn,ihb:()=>Al,jNO:()=>Ya,ID8:()=>Ol,gv8:()=>Ra,dwj:()=>we,Bqz:()=>Mr,OsK:()=>Q,Rfq:()=>lt,c$7:()=>Rs,gxQ:()=>Is,ckz:()=>Mo,kLh:()=>Te,xUg:()=>ar,KdJ:()=>_s,db4:()=>aa,VPL:()=>Qe,MT:()=>wl,Z9v:()=>Za,Ab:()=>X,w7Z:()=>Tl,Mx4:()=>z,veI:()=>x,HaV:()=>fr,Agf:()=>lr,znI:()=>No,wGu:()=>vr,ebl:()=>Sn,OAn:()=>Uo,_0$:()=>ko,UaU:()=>li,vaC:()=>zi,d31:()=>us,ZRn:()=>Kr,phH:()=>mn,WbQ:()=>Hn,WB9:()=>ti,d_l:()=>xo,vNG:()=>Lo,oyA:()=>gr,_px:()=>qa,CpD:()=>Ec,XRZ:()=>lo,klJ:()=>Ta,Fje:()=>qo,b$O:()=>ho,SMZ:()=>be,WQX:()=>xn,MzJ:()=>he,jXY:()=>ze,MME:()=>ur,JlV:()=>_t,Qs1:()=>J,srX:()=>g,vOT:()=>es,YWB:()=>We,EPY:()=>Un,yoD:()=>Me,P3H:()=>Zt,Jzi:()=>pt,rFz:()=>Nt,JjR:()=>$s,M6u:()=>as,KtD:()=>Ma,muV:()=>or,A0l:()=>O,q$2:()=>p,yP_:()=>_r,EFk:()=>Gt,UhH:()=>ua,QuC:()=>Ot,Y3W:()=>Xn,K7h:()=>Jt,FRF:()=>On,ezK:()=>xt,m7n:()=>$t,niQ:()=>Ja,krE:()=>ea,bll:()=>Il,Hh6:()=>gs,EmA:()=>jr,blu:()=>co,HAh:()=>bo,WfI:()=>Ai,xbp:()=>js,jvu:()=>yc,Rc9:()=>Vi,E6O:()=>Hr,DyX:()=>la,eFE:()=>Vt,dMS:()=>Co,HUe:()=>Ca,nl4:()=>et,N4e:()=>ro,XaM:()=>ve,uiq:()=>bc,l4E:()=>kl,Kw3:()=>ms,vQI:()=>wo,RZ9:()=>ta,GA0:()=>Sl,iMd:()=>de,Pfq:()=>nt,xyx:()=>jo,a2B:()=>$,kcM:()=>Vn,DFp:()=>gt,P2g:()=>jn,cBl:()=>Fr,ypq:()=>$o,vPA:()=>yu,HO5:()=>Mc,M_e:()=>xi,B22:()=>ca,ik5:()=>Po,AsM:()=>$e,PP7:()=>dt,$8:()=>Je,$Hz:()=>ue,kU6:()=>Ue,zAe:()=>ki,IvY:()=>Zr,_gW:()=>Ro,F1c:()=>ds,ITl:()=>Xs,brz:()=>Pe,jRZ:()=>Do,SX7:()=>Ar,jDH:()=>Ut,G2t:()=>Kt,fuf:()=>Bo,cSN:()=>wa,KVO:()=>bn,dmw:()=>Cn,joV:()=>ts,By9:()=>pa,qSk:()=>fa,Njj:()=>T,eBV:()=>da});var o=c(5824),u=c(4412),l=c(1985),R=c(1413),v=c(8359);let w;function S(){return w}function L(D){const le=w;return w=D,le}const h=Symbol("NotFound");function y(D){return D===h||"\u0275NotFound"===D?.name}Error;class H{full;major;minor;patch;constructor(le){this.full=le;const Ie=le.split(".");this.major=Ie[0],this.minor=Ie[1],this.patch=Ie.slice(2).join(".")}}const b=new H("21.2.18"),N=(()=>{const D=b.full;return`https://${D.includes("-next")||D.includes("-rc")||"0.0.0-PLACEHOLDER"===D?"next":`v${b.major}`}.angular.dev`})(),A=`${N}/errors`,C="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class V extends Error{code;constructor(le,Ie){super(Q(le,Ie)),this.code=le}}function Q(D,le){return`${function B(D){return`NG0${Math.abs(D)}`}(D)}${le?": "+le:""}`}const Z=globalThis;function be(){return!1}function Te(D){for(let le in D)if(D[le]===Te)return le;throw Error("")}function we(D,le){for(const Ie in le)le.hasOwnProperty(Ie)&&!D.hasOwnProperty(Ie)&&(D[Ie]=le[Ie])}function $e(D){if("string"==typeof D)return D;if(Array.isArray(D))return`[${D.map($e).join(", ")}]`;if(null==D)return""+D;const le=D.overriddenName||D.name;if(le)return`${le}`;const Ie=D.toString();if(null==Ie)return""+Ie;const at=Ie.indexOf("\n");return at>=0?Ie.slice(0,at):Ie}function Oe(D,le){return D?le?`${D} ${le}`:D:le||""}function Ue(D,le=100){if(!D||le<1||D.length<=le)return D;if(1==le)return D.substring(0,1)+"...";const Ie=Math.round(le/2);return D.substring(0,Ie)+"..."+D.substring(D.length-Ie)}const Be=Te({__forward_ref__:Te});function lt(D){return D.__forward_ref__=lt,D}function et(D){return pt(D)?D():D}function pt(D){return"function"==typeof D&&D.hasOwnProperty(Be)&&D.__forward_ref__===lt}function Ct(D,le){"number"!=typeof D&&Je(le,typeof D,"number","===")}function st(D,le,Ie){Ct(D,"Expected a number"),function Ne(D,le,Ie){D<=le||Je(Ie,D,le,"<=")}(D,Ie,"Expected number to be less than or equal to"),tt(D,le,"Expected number to be greater than or equal to")}function se(D,le){"string"!=typeof D&&Je(le,null===D?"null":typeof D,"string","===")}function me(D,le){"function"!=typeof D&&Je(le,null===D?"null":typeof D,"function","===")}function Y(D,le,Ie){D!=le&&Je(Ie,D,le,"==")}function ee(D,le,Ie){D==le&&Je(Ie,D,le,"!=")}function fe(D,le,Ie){D!==le&&Je(Ie,D,le,"===")}function ye(D,le,Ie){D===le&&Je(Ie,D,le,"!==")}function ge(D,le,Ie){D<le||Je(Ie,D,le,"<")}function je(D,le,Ie){D>le||Je(Ie,D,le,">")}function tt(D,le,Ie){D>=le||Je(Ie,D,le,">=")}function Xe(D,le){null==D&&Je(le,D,null,"!=")}function Je(D,le,Ie,at){throw new Error(`ASSERTION ERROR: ${D}`+(null==at?"":` [Expected=> ${Ie} ${at} ${le} <=Actual]`))}function rt(D){D instanceof Node||Je(`The provided value must be an instance of a DOM Node but got ${$e(D)}`)}function Pt(D){D instanceof Element||Je(`The provided value must be an element but got ${$e(D)}`)}function tn(D,le){Xe(D,"Array must be defined.");const Ie=D.length;(le<0||le>=Ie)&&Je(`Index expected to be less than ${Ie} but got ${le}`)}function i(D,...le){if(-1!==le.indexOf(D))return!0;Je(`Expected value to be one of ${JSON.stringify(le)} but was ${JSON.stringify(D)}.`)}function yt(D){null!==(0,o.nR)()&&Je(`${D}() should never be called in a reactive context.`)}function Ut(D){return{token:D.token,providedIn:D.providedIn||null,factory:D.factory,value:void 0}}function Kt(D){return{providers:D.providers||[],imports:D.imports||[]}}function un(D){return function _n(D,le){return D.hasOwnProperty(le)&&D[le]||null}(D,hr)}function or(D){return null!==un(D)}function Sn(D){return D&&D.hasOwnProperty(rr)?D[rr]:null}const hr=Te({\u0275prov:Te}),rr=Te({\u0275inj:Te});class wt{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(le,Ie){this._desc=le,this.\u0275prov=void 0,"number"==typeof Ie?this.__NG_ELEMENT_ID__=Ie:void 0!==Ie&&(this.\u0275prov=Ut({token:this,providedIn:Ie.providedIn||"root",factory:Ie.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let en;function ct(){return Je("getInjectorProfilerContext should never be called in production mode"),en}function gt(D){Je("setInjectorProfilerContext should never be called in production mode");const le=en;return en=D,le}const It=[],dn=()=>{};function Vn(D){return Je("setInjectorProfiler should never be called in production mode"),null!==D?(It.includes(D)||It.push(D),()=>function In(D){const le=It.indexOf(D);-1!==le&&It.splice(le,1)}(D)):(It.length=0,dn)}function kn(D){Je("Injector profiler should never be called in production mode");for(let le=0;le<It.length;le++)(0,It[le])(D)}function Bn(D,le=!1){let Ie;Je("Injector profiler should never be called in production mode"),Ie="function"==typeof D||D instanceof wt?D:et(D.provide);let at=D;D instanceof wt&&(at=D.\u0275prov||D),kn({type:2,context:ct(),providerRecord:{token:Ie,provider:at,isViewProvider:le}})}function Cr(D){Je("Injector profiler should never be called in production mode"),kn({type:5,context:ct(),token:D})}function En(D){Je("Injector profiler should never be called in production mode"),kn({type:1,context:ct(),instance:{value:D}})}function hn(D,le,Ie){Je("Injector profiler should never be called in production mode"),kn({type:0,context:ct(),service:{token:D,value:le,flags:Ie}})}function xe(D){Je("Injector profiler should never be called in production mode"),kn({type:4,context:ct(),effectPhase:D})}function ve(D,le,Ie){Je("runInInjectorProfilerContext should never be called in production mode");const at=gt({injector:D,token:le});try{Ie()}finally{gt(at)}}function Fe(D){return D&&!!D.\u0275providers}const He=Te({\u0275cmp:Te}),mt=Te({\u0275dir:Te}),Rt=Te({\u0275pipe:Te}),Qt=Te({\u0275mod:Te}),sn=Te({\u0275fac:Te}),An=Te({__NG_ELEMENT_ID__:Te}),Ln=Te({__NG_ENV_ID__:Te});function mn(D){return Rr(D),D[Qt]||null}function Hn(D){const le=mn(D);if(!le)throw new V(915,!1);return le}function ar(D){return Rr(D),D[He]||null}function lr(D){const le=fr(D);if(!le)throw new V(916,!1);return le}function fr(D){return Rr(D),D[mt]||null}function gr(D){return Rr(D),D[Rt]||null}function Rr(D,le){if(null==D)throw new V(-919,!1)}function Ot(D){const le=ar(D)||fr(D)||gr(D);return null!==le&&le.standalone}function Vt(D){return"string"==typeof D?D:null==D?"":String(D)}function dt(D){return"function"==typeof D?D.name||D.toString():"object"==typeof D&&null!=D&&"function"==typeof D.type?D.type.name||D.type.toString():Vt(D)}function ft(D){const le=ar(D);return null!==le&&le.debugInfo?function Xt(D){return D.filePath&&D.lineNumber?`${D.className} (at ${D.filePath}:${D.lineNumber})`:D.className}(le.debugInfo):dt(D)}const fn=Te({ngErrorCode:Te}),Nn=Te({ngErrorMessage:Te}),Qn=Te({ngTokenPath:Te});function Ge(D,le){return Dt("",-200,le)}function Ve(D,le){return function Se(D,le){return D.message=function Yt(D,le,Ie=[],at=null){let At="";Ie&&Ie.length>1&&(At=` Path: ${Ie.join(" -> ")}.`);return Q(le,`${D}${at?` Source: ${at}.`:""}${At}`)}(D[Nn]||D.message,D[fn],D[Qn],le),D}(Ge(0,le),null)}function ue(D,le){throw new V(-201,!1)}function Dt(D,le,Ie){const at=new V(le,D);return at[fn]=le,at[Nn]=D,Ie&&(at[Qn]=Ie),at}let U;function Ee(){return U}function $(D){const le=U;return U=D,le}function he(D,le,Ie){const at=un(D);return at&&"root"==at.providedIn?void 0===at.value?at.value=at.factory():at.value:8&Ie?null:void 0!==le?le:void ue()}function Ae(D){}const ht={},Wt="__NG_DI_FLAG__";class Ft{injector;constructor(le){this.injector=le}retrieve(le,Ie){const at=zn(Ie)||0;try{return this.injector.get(le,8&at?null:ht,at)}catch(At){if(y(At))return At;throw At}}}function an(D,le=0){const Ie=S();if(void 0===Ie)throw new V(-203,!1);if(null===Ie)return he(D,void 0,le);{const at=function ii(D){return{optional:!!(8&D),host:!!(1&D),self:!!(2&D),skipSelf:!!(4&D)}}(le),At=Ie.retrieve(D,at);if(y(At)){if(at.optional)return null;throw At}return At}}function bn(D,le=0){return(Ee()||an)(et(D),le)}function Cn(D){throw new V(202,!1)}function xn(D,le){return bn(D,zn(le))}function zn(D){return typeof D>"u"||"number"==typeof D?D:0|(D.optional&&8)|(D.host&&1)|(D.self&&2)|(D.skipSelf&&4)}function ei(D){const le=[];for(let Ie=0;Ie<D.length;Ie++){const at=et(D[Ie]);if(Array.isArray(at)){if(0===at.length)throw new V(900,!1);let At,ln=0;for(let Rn=0;Rn<at.length;Rn++){const ci=at[Rn],Vr=qn(ci);"number"==typeof Vr?-1===Vr?At=ci.token:ln|=Vr:At=ci}le.push(bn(At,ln))}else le.push(bn(at))}return le}function Fn(D,le){return D[Wt]=le,D.prototype[Wt]=le,D}function qn(D){return D[Wt]}function vr(D,le){return D.hasOwnProperty(sn)?D[sn]:null}function si(D,le,Ie){if(D.length!==le.length)return!1;for(let at=0;at<D.length;at++){let At=D[at],ln=le[at];if(Ie&&(At=Ie(At),ln=Ie(ln)),ln!==At)return!1}return!0}function Mr(D){return D.flat(Number.POSITIVE_INFINITY)}function Lr(D,le){D.forEach(Ie=>Array.isArray(Ie)?Lr(Ie,le):le(Ie))}function _i(D,le,Ie){le>=D.length?D.push(Ie):D.splice(le,0,Ie)}function Hr(D,le){return le>=D.length-1?D.pop():D.splice(le,1)[0]}function Ai(D,le){const Ie=[];for(let at=0;at<D;at++)Ie.push(le);return Ie}function it(D,le,Ie){const at=D.length-Ie;for(;le<at;)D[le]=D[le+Ie],le++;for(;Ie--;)D.pop()}function Mt(D,le,Ie,at){let At=D.length;if(At==le)D.push(Ie,at);else if(1===At)D.push(at,D[0]),D[0]=Ie;else{for(At--,D.push(D[At-1],D[At]);At>le;)D[At]=D[At-2],At--;D[le]=Ie,D[le+1]=at}}function xt(D,le,Ie){let at=On(D,le);return at>=0?D[1|at]=Ie:(at=~at,Mt(D,at,le,Ie)),at}function Jt(D,le){const Ie=On(D,le);if(Ie>=0)return D[1|Ie]}function On(D,le){return function br(D,le,Ie){let at=0,At=D.length>>Ie;for(;At!==at;){const ln=at+(At-at>>1),Rn=D[ln<<Ie];if(le===Rn)return ln<<Ie;Rn>le?At=ln:at=ln+1}return~(At<<Ie)}(D,le,1)}const kr={},Jr=[],Ur=new wt(""),hi=new wt("",-1),Oi=new wt("");class ji{get(le,Ie=ht){if(Ie===ht){const At=Dt("",-201);throw At.name="\u0275NotFound",At}return Ie}}function jr(D){return{\u0275providers:D}}function ae(...D){return{\u0275providers:ze(0,D),\u0275fromNgModule:!0}}function ze(D,...le){const Ie=[],at=new Set;let At;const ln=Rn=>{Ie.push(Rn)};return Lr(le,Rn=>{const ci=Rn;Pe(ci,ln,[],at)&&(At||=[],At.push(ci))}),void 0!==At&&Ce(At,ln),Ie}function Ce(D,le){for(let Ie=0;Ie<D.length;Ie++){const{ngModule:at,providers:At}=D[Ie];jt(At,ln=>{le(ln,at)})}}function Pe(D,le,Ie,at){if(!(D=et(D)))return!1;let At=null,ln=Sn(D);const Rn=!ln&&ar(D);if(ln||Rn){if(Rn&&!Rn.standalone)return!1;At=D}else{const Vr=D.ngModule;if(ln=Sn(Vr),!ln)return!1;At=Vr}const ci=at.has(At);if(Rn){if(ci)return!1;if(at.add(At),Rn.dependencies){const Vr="function"==typeof Rn.dependencies?Rn.dependencies():Rn.dependencies;for(const Di of Vr)Pe(Di,le,Ie,at)}}else{if(!ln)return!1;{if(null!=ln.imports&&!ci){let Di;at.add(At),Lr(ln.imports,sa=>{Pe(sa,le,Ie,at)&&(Di||=[],Di.push(sa))}),void 0!==Di&&Ce(Di,le)}if(!ci){const Di=vr(At)||(()=>new At);le({provide:At,useFactory:Di,deps:Jr},At),le({provide:Oi,useValue:At,multi:!0},At),le({provide:Ur,useValue:()=>bn(At),multi:!0},At)}const Vr=ln.providers;if(null!=Vr&&!ci){const Di=D;jt(Vr,sa=>{le(sa,Di)})}}}return At!==D&&void 0!==D.providers}function jt(D,le){for(let Ie of D)Fe(Ie)&&(Ie=Ie.\u0275providers),Array.isArray(Ie)?jt(Ie,le):le(Ie)}const qt=Te({provide:String,useValue:Te});function pn(D){return null!==D&&"object"==typeof D&&qt in D}function Xn(D){return"function"==typeof D}function ur(D){return!!D.useClass}const zr=new wt(""),Or={},oi={};let Ni;function ti(){return void 0===Ni&&(Ni=new ji),Ni}class Xi{}class mi extends Xi{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(le,Ie,at,At){super(),this.parent=Ie,this.source=at,this.scopes=At,is(le,Rn=>this.processProvider(Rn)),this.records.set(hi,Wr(void 0,this)),At.has("environment")&&this.records.set(Xi,Wr(void 0,this));const ln=this.records.get(zr);null!=ln&&"string"==typeof ln.value&&this.scopes.add(ln.value),this.injectorDefTypes=new Set(this.get(Oi,Jr,{self:!0}))}retrieve(le,Ie){const at=zn(Ie)||0;try{return this.get(le,ht,at)}catch(At){if(y(At))return At;throw At}}destroy(){Ri(this),this._destroyed=!0;const le=(0,o.Ht)(null);try{for(const at of this._ngOnDestroyHooks)at.ngOnDestroy();const Ie=this._onDestroyHooks;this._onDestroyHooks=[];for(const at of Ie)at()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,o.Ht)(le)}}onDestroy(le){return Ri(this),this._onDestroyHooks.push(le),()=>this.removeOnDestroy(le)}runInContext(le){Ri(this);const Ie=L(this),at=$(void 0);try{return le()}finally{L(Ie),$(at)}}get(le,Ie=ht,at){if(Ri(this),le.hasOwnProperty(Ln))return le[Ln](this);const At=zn(at),Rn=L(this),ci=$(void 0);try{if(!(4&At)){let Di=this.records.get(le);if(void 0===Di){const sa=function no(D){return"function"==typeof D||"object"==typeof D&&"InjectionToken"===D.ngMetadataName}(le)&&un(le);Di=sa&&this.injectableDefInScope(sa)?Wr(rs(le),Or):null,this.records.set(le,Di)}if(null!=Di)return this.hydrate(le,Di,At)}return(2&At?ti():this.parent).get(le,Ie=8&At&&Ie===ht?null:Ie)}catch(Vr){const Di=function kt(D){return D[fn]}(Vr);throw-200===Di||-201===Di?new V(Di,null):Vr}finally{$(ci),L(Rn)}}resolveInjectorInitializers(){const le=(0,o.Ht)(null),Ie=L(this),at=$(void 0);try{const ln=this.get(Ur,Jr,{self:!0});for(const Rn of ln)Rn()}finally{L(Ie),$(at),(0,o.Ht)(le)}}toString(){return"R3Injector[...]"}processProvider(le){let Ie=Xn(le=et(le))?le:et(le&&le.provide);const at=function Ii(D){return pn(D)?Wr(void 0,D.useValue):Wr(Vi(D),Or)}(le);if(!Xn(le)&&!0===le.multi){let At=this.records.get(Ie);At||(At=Wr(void 0,Or,!0),At.factory=()=>ei(At.multi),this.records.set(Ie,At)),Ie=le,At.multi.push(le)}this.records.set(Ie,at)}hydrate(le,Ie,at){const At=(0,o.Ht)(null);try{if(Ie.value===oi)throw Ge();return Ie.value===Or&&(Ie.value=oi,Ie.value=Ie.factory(void 0,at)),"object"==typeof Ie.value&&Ie.value&&function Ss(D){return null!==D&&"object"==typeof D&&"function"==typeof D.ngOnDestroy}(Ie.value)&&this._ngOnDestroyHooks.add(Ie.value),Ie.value}finally{(0,o.Ht)(At)}}injectableDefInScope(le){if(!le.providedIn)return!1;const Ie=et(le.providedIn);return"string"==typeof Ie?"any"===Ie||this.scopes.has(Ie):this.injectorDefTypes.has(Ie)}removeOnDestroy(le){const Ie=this._onDestroyHooks.indexOf(le);-1!==Ie&&this._onDestroyHooks.splice(Ie,1)}}function rs(D){const le=un(D),Ie=null!==le?le.factory:vr(D);if(null!==Ie)return Ie;if(D instanceof wt)throw new V(-204,!1);if(D instanceof Function)return function $i(D){if(D.length>0)throw new V(-204,!1);const Ie=function cr(D){return(D?.[hr]??null)||null}(D);return null!==Ie?()=>Ie.factory(D):()=>new D}(D);throw new V(-204,!1)}function Vi(D,le,Ie){let at;if(Xn(D)){const At=et(D);return vr(At)||rs(At)}if(pn(D))at=()=>et(D.useValue);else if(function wr(D){return!(!D||!D.useFactory)}(D))at=()=>D.useFactory(...ei(D.deps||[]));else if(function Er(D){return!(!D||!D.useExisting)}(D))at=(At,ln)=>bn(et(D.useExisting),void 0!==ln&&8&ln?8:void 0);else{const At=et(D&&(D.useClass||D.provide));if(!function Zi(D){return!!D.deps}(D))return vr(At)||rs(At);at=()=>new At(...ei(D.deps))}return at}function Ri(D){if(D.destroyed)throw new V(-205,!1)}function Wr(D,le,Ie=!1){return{factory:D,value:le,multi:Ie?[]:void 0}}function is(D,le){for(const Ie of D)Array.isArray(Ie)?is(Ie,le):Ie&&Fe(Ie)?is(Ie.\u0275providers,le):le(Ie)}function ro(D,le){let Ie;D instanceof mi?(Ri(D),Ie=D):Ie=new Ft(D);const At=L(Ie),ln=$(void 0);try{return le()}finally{L(At),$(ln)}}function as(){return void 0!==Ee()||null!=S()}function vi(D){if(!as())throw new V(-203,!1)}const Fi=0,bs=1,ni=2,Pi=3,fs=4,As=5,_o=6,fi=7,Wi=8,ks=9,xs=10,ai=11,Ls=12,mo=13,ss=14,Gr=15,os=16,Ji=17,io=18,Hs=19,so=20,ls=21,oo=22,ps=23,zs=24,ao=25,vo=26,Ns=27,yo=6,Le=7,M=8,k=9,re=10;function p(D){return Array.isArray(D)&&"object"==typeof D[1]}function O(D){return Array.isArray(D)&&!0===D[1]}function g(D){return!!(4&D.flags)}function J(D){return D.componentOffset>-1}function Me(D){return!(1&~D.flags)}function _t(D){return!!D.template}function Gt(D){return!!(512&D[ni])}function Un(D){return!(256&~D[ni])}function Gn(D,le){$r(D,le[bs])}function ir(D,le){const Ie=le+Ns;tn(D,Ie),ge(Ie,D[bs].bindingStartIndex,"TNodes should be created before any bindings")}function $r(D,le){ui(D);const Ie=le.data;for(let at=Ns;at<Ie.length;at++)if(Ie[at]===D)return;Je("This TNode does not belong to this TView.")}function ui(D){Xe(D,"TNode must be defined"),D&&"object"==typeof D&&D.hasOwnProperty("directiveStylingLast")||Je("Not of type TNode, got: "+D)}function di(D){Xe(D,"Expected TIcu to be defined"),"number"!=typeof D.currentCaseLViewIndex&&Je("Object is not of TIcu type.")}function yi(D,le="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){ar(D)||Je(le)}function Ci(D,le="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){mn(D)||Je(le)}function cs(D){Xe(D,"currentTNode should exist!"),Xe(D.parent,"currentTNode should have a parent")}function Ki(D){Xe(D,"LContainer must be defined"),Y(O(D),!0,"Expecting LContainer")}function Ei(D){Xe(D,"LView must be defined"),Y(p(D),!0,"Expecting LView")}function Fs(D,le){Y(D.firstCreatePass,!0,le||"Should only be called in first create pass.")}function Bs(D,le){Y(D.firstUpdatePass,!0,"Should only be called in first update pass.")}function Io(D){(void 0===D.type||null==D.selectors||void 0===D.inputs)&&Je("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function qi(D,le){Os(Ns,D.bindingStartIndex,le)}function Qs(D,le){Os(D[1].expandoStartIndex,D.length,le)}function Os(D,le,Ie){D<=Ie&&Ie<le||Je(`Index out of range (expecting ${D} <= ${Ie} < ${le})`)}function Eo(D,le){Xe(D[Gr],"Component views should exist."),Xe(D[Gr][As].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function wn(D,le){Xe(D,"Component views should always have a parent view (component's host view)")}function Wn(D,le){Qs(D,le),Qs(D,le+8),Ct(D[le+0],"injectorIndex should point to a bloom filter"),Ct(D[le+1],"injectorIndex should point to a bloom filter"),Ct(D[le+2],"injectorIndex should point to a bloom filter"),Ct(D[le+3],"injectorIndex should point to a bloom filter"),Ct(D[le+4],"injectorIndex should point to a bloom filter"),Ct(D[le+5],"injectorIndex should point to a bloom filter"),Ct(D[le+6],"injectorIndex should point to a bloom filter"),Ct(D[le+7],"injectorIndex should point to a bloom filter"),Ct(D[le+8],"injectorIndex should point to parent injector")}const Yn="svg",Tr="math";function Zr(D){for(;Array.isArray(D);)D=D[Fi];return D}function ki(D){for(;Array.isArray(D);){if("object"==typeof D[1])return D;D=D[Fi]}return null}function zi(D,le){return Zr(le[D])}function us(D,le){return Zr(le[D.index])}function Kr(D,le){const Ie=null===D?-1:D.index;return-1!==Ie?Zr(le[Ie]):null}function lo(D,le){return D.data[le]}function gs(D,le){return D[le]}function xi(D,le,Ie,at){Ie>=D.data.length&&(D.data[Ie]=null,D.blueprint[Ie]=null),le[Ie]=at}function _s(D,le){const Ie=le[D];return p(Ie)?Ie:Ie[Fi]}function es(D){return!(4&~D[ni])}function ds(D){return!(128&~D[ni])}function Xs(D){return O(D[Pi])}function aa(D,le){return null==le?null:D[le]}function Ca(D){D[Ji]=0}function bo(D){1024&D[ni]||(D[ni]|=1024,ds(D)&&co(D))}function Do(D,le){for(;D>0;)le=le[ss],D--;return le}function Co(D){return!!(9216&D[ni]||D[zs]?.dirty)}function Ro(D){D[xs].changeDetectionScheduler?.notify(8),64&D[ni]&&(D[ni]|=1024),Co(D)&&co(D)}function co(D){D[xs].changeDetectionScheduler?.notify(0);let le=ko(D);for(;null!==le&&!(8192&le[ni])&&(le[ni]|=8192,ds(le));)le=ko(le)}function Po(D,le){if(Un(D))throw new V(911,!1);null===D[ls]&&(D[ls]=[]),D[ls].push(le)}function la(D,le){if(null===D[ls])return;const Ie=D[ls].indexOf(le);-1!==Ie&&D[ls].splice(Ie,1)}function ko(D){const le=D[Pi];return O(le)?le[Pi]:le}function xo(D){return D[fi]??=[]}function Lo(D){return D.cleanup??=[]}function ca(D,le,Ie,at){const At=xo(le);At.push(Ie),D.firstCreatePass&&Lo(D).push(at,At.length-1)}const tr={lFrame:Sa(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Us=function(D){return D[D.Off=0]="Off",D[D.Exhaustive=1]="Exhaustive",D[D.OnlyDirtyViews=2]="OnlyDirtyViews",D}(Us||{});let uo=0,Ds=!1;function No(){return tr.lFrame.elementDepthCount}function qo(){tr.lFrame.elementDepthCount++}function Fo(){tr.lFrame.elementDepthCount--}function Mo(){return tr.bindingsEnabled}function Ma(){return null!==tr.skipHydrationRootTNode}function ua(D){return tr.skipHydrationRootTNode===D}function wa(){tr.bindingsEnabled=!0}function Ya(D){tr.skipHydrationRootTNode=D}function Bo(){tr.bindingsEnabled=!1}function ea(){tr.skipHydrationRootTNode=null}function Uo(){return tr.lFrame.lView}function Ta(){return tr.lFrame.tView}function da(D){return tr.lFrame.contextLView=D,D[Wi]}function T(D){return tr.lFrame.contextLView=null,D}function z(){let D=x();for(;null!==D&&64===D.type;)D=D.parent;return D}function x(){return tr.lFrame.currentTNode}function X(){const D=tr.lFrame,le=D.currentTNode;return D.isParent?le:le.parent}function de(D,le){const Ie=tr.lFrame;Ie.currentTNode=D,Ie.isParent=le}function We(){return tr.lFrame.isParent}function nt(){tr.lFrame.isParent=!1}function Qe(){return tr.lFrame.contextLView}function Nt(){return Je("Must never be called in production mode"),uo!==Us.Off}function Zt(){return Je("Must never be called in production mode"),uo===Us.Exhaustive}function jn(D){Je("Must never be called in production mode"),uo=D}function _r(){return Ds}function Fr(D){const le=Ds;return Ds=D,le}function Is(){const D=tr.lFrame;let le=D.bindingRootIndex;return-1===le&&(le=D.bindingRootIndex=D.tView.bindingStartIndex),le}function Rs(){return tr.lFrame.bindingIndex}function ms(D){return tr.lFrame.bindingIndex=D}function js(){return tr.lFrame.bindingIndex++}function ho(D){const le=tr.lFrame,Ie=le.bindingIndex;return le.bindingIndex=le.bindingIndex+D,Ie}function $s(){return tr.lFrame.inI18n}function jo(D){tr.lFrame.inI18n=D}function wo(D,le){const Ie=tr.lFrame;Ie.bindingIndex=Ie.bindingRootIndex=D,ta(le)}function Za(){return tr.lFrame.currentDirectiveIndex}function ta(D){tr.lFrame.currentDirectiveIndex=D}function wl(D){const le=tr.lFrame.currentDirectiveIndex;return-1===le?null:D[le]}function Tl(){return tr.lFrame.currentQueryIndex}function Sl(D){tr.lFrame.currentQueryIndex=D}function vc(D){const le=D[bs];return 2===le.type?le.declTNode:1===le.type?D[As]:null}function Al(D,le,Ie){if(4&Ie){let At=le,ln=D;for(;!(At=At.parent,null!==At||1&Ie||(At=vc(ln),null===At||(ln=ln[ss],10&At.type))););if(null===At)return!1;le=At,D=ln}const at=tr.lFrame=na();return at.currentTNode=le,at.lView=D,!0}function Ol(D){const le=na(),Ie=D[bs];tr.lFrame=le,le.currentTNode=Ie.firstChild,le.lView=D,le.tView=Ie,le.contextLView=D,le.bindingIndex=Ie.bindingStartIndex,le.inI18n=!1}function na(){const D=tr.lFrame,le=null===D?null:D.child;return null===le?Sa(D):le}function Sa(D){const le={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:D,child:null,inI18n:!1};return null!==D&&(D.child=le),le}function ha(){const D=tr.lFrame;return tr.lFrame=D.parent,D.currentTNode=null,D.lView=null,D}const Ja=ha;function Il(){const D=ha();D.isParent=!0,D.tView=null,D.selectedIndex=-1,D.contextLView=null,D.elementDepthCount=0,D.currentDirectiveIndex=-1,D.currentNamespace=null,D.bindingRootIndex=-1,D.bindingIndex=-1,D.currentQueryIndex=0}function yc(D){return(tr.lFrame.contextLView=Do(D,tr.lFrame.contextLView))[Wi]}function qa(){return tr.lFrame.selectedIndex}function $o(D){tr.lFrame.selectedIndex=D}function Ec(){const D=tr.lFrame;return lo(D.tView,D.selectedIndex)}function fa(){tr.lFrame.currentNamespace=Yn}function pa(){tr.lFrame.currentNamespace=Tr}function ts(){!function gn(){tr.lFrame.currentNamespace=null}()}function li(){return tr.lFrame.currentNamespace}let Dr=!0;function Ar(){return Dr}function $t(D){Dr=D}function zt(D,le=null,Ie=null,at){const At=Vs(D,le,Ie);return At.resolveInjectorInitializers(),At}function Vs(D,le=null,Ie=null,at,At=new Set){const ln=[Ie||Jr,ae(D)];return new mi(ln,le||ti(),null,At)}class Pr{static THROW_IF_NOT_FOUND=ht;static NULL=new ji;static create(le,Ie){if(Array.isArray(le))return zt({name:""},Ie,le);{const at=le.name??"";return zt({name:at},le.parent,le.providers)}}static \u0275prov=Ut({token:Pr,providedIn:"any",factory:()=>bn(hi)});static __NG_ELEMENT_ID__=-1}const vs=new wt("");let fo=(()=>class D{static __NG_ELEMENT_ID__=Rl;static __NG_ENV_ID__=Ie=>Ie})();class ra extends fo{_lView;constructor(le){super(),this._lView=le}get destroyed(){return Un(this._lView)}onDestroy(le){const Ie=this._lView;return Po(Ie,le),()=>la(Ie,le)}}function Rl(){return new ra(Uo())}const ga=!1,Pl=new wt("");let el=(()=>{class D{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new u.t(!1);debugTaskTracker=xn(Pl,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new l.c(Ie=>{Ie.next(!1),Ie.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Ie=this.taskId++;return this.pendingTasks.add(Ie),this.debugTaskTracker?.add(Ie),Ie}has(Ie){return this.pendingTasks.has(Ie)}remove(Ie){this.pendingTasks.delete(Ie),this.debugTaskTracker?.remove(Ie),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Ut({token:D,providedIn:"root",factory:()=>new D})}return D})();const Ps=class tl extends R.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(le=!1){super(),this.__isAsync=le,as()&&(this.destroyRef=xn(fo,{optional:!0})??void 0,this.pendingTasks=xn(el,{optional:!0})??void 0)}emit(le){const Ie=(0,o.Ht)(null);try{super.next(le)}finally{(0,o.Ht)(Ie)}}subscribe(le,Ie,at){let At=le,ln=Ie||(()=>null),Rn=at;if(le&&"object"==typeof le){const Vr=le;At=Vr.next?.bind(Vr),ln=Vr.error?.bind(Vr),Rn=Vr.complete?.bind(Vr)}this.__isAsync&&(ln=this.wrapInTimeout(ln),At&&(At=this.wrapInTimeout(At)),Rn&&(Rn=this.wrapInTimeout(Rn)));const ci=super.subscribe({next:At,error:ln,complete:Rn});return le instanceof v.yU&&le.add(ci),ci}wrapInTimeout(le){return Ie=>{const at=this.pendingTasks?.add();setTimeout(()=>{try{le(Ie)}finally{void 0!==at&&this.pendingTasks?.remove(at)}})}}};function Aa(...D){}function kl(D){let le,Ie;function at(){D=Aa;try{void 0!==Ie&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(Ie),void 0!==le&&clearTimeout(le)}catch{}}return le=setTimeout(()=>{D(),at()}),"function"==typeof requestAnimationFrame&&(Ie=requestAnimationFrame(()=>{D(),at()})),()=>at()}function bc(D){return queueMicrotask(()=>D()),()=>{D=Aa}}const nl="isAngularZone",rl=nl+"_ID";let xl=0;class _a{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ps(!1);onMicrotaskEmpty=new Ps(!1);onStable=new Ps(!1);onError=new Ps(!1);constructor(le){const{enableLongStackTrace:Ie=!1,shouldCoalesceEventChangeDetection:at=!1,shouldCoalesceRunChangeDetection:At=!1,scheduleInRootZone:ln=ga}=le;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const Rn=this;Rn._nesting=0,Rn._outer=Rn._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(Rn._inner=Rn._inner.fork(new Zone.TaskTrackingZoneSpec)),Ie&&Zone.longStackTraceZoneSpec&&(Rn._inner=Rn._inner.fork(Zone.longStackTraceZoneSpec)),Rn.shouldCoalesceEventChangeDetection=!At&&at,Rn.shouldCoalesceRunChangeDetection=At,Rn.callbackScheduled=!1,Rn.scheduleInRootZone=ln,function Dc(D){const le=()=>{!function Nl(D){function le(){kl(()=>{D.callbackScheduled=!1,Oa(D),D.isCheckStableRunning=!0,ma(D),D.isCheckStableRunning=!1})}D.isCheckStableRunning||D.callbackScheduled||(D.callbackScheduled=!0,D.scheduleInRootZone?Zone.root.run(()=>{le()}):D._outer.run(()=>{le()}),Oa(D))}(D)},Ie=xl++;D._inner=D._inner.fork({name:"angular",properties:{[nl]:!0,[rl]:Ie,[rl+Ie]:!0},onInvokeTask:(at,At,ln,Rn,ci,Vr)=>{if(function Fl(D){return Ia(D,"__ignore_ng_zone__")}(Vr))return at.invokeTask(ln,Rn,ci,Vr);try{return Vo(D),at.invokeTask(ln,Rn,ci,Vr)}finally{(D.shouldCoalesceEventChangeDetection&&"eventTask"===Rn.type||D.shouldCoalesceRunChangeDetection)&&le(),ia(D)}},onInvoke:(at,At,ln,Rn,ci,Vr,Di)=>{try{return Vo(D),at.invoke(ln,Rn,ci,Vr,Di)}finally{D.shouldCoalesceRunChangeDetection&&!D.callbackScheduled&&!function Bl(D){return Ia(D,"__scheduler_tick__")}(Vr)&&le(),ia(D)}},onHasTask:(at,At,ln,Rn)=>{at.hasTask(ln,Rn),At===ln&&("microTask"==Rn.change?(D._hasPendingMicrotasks=Rn.microTask,Oa(D),ma(D)):"macroTask"==Rn.change&&(D.hasPendingMacrotasks=Rn.macroTask))},onHandleError:(at,At,ln,Rn)=>(at.handleError(ln,Rn),D.runOutsideAngular(()=>D.onError.emit(Rn)),!1)})}(Rn)}
1static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(nl)}static assertInAngularZone(){if(!_a.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(_a.isInAngularZone())throw new V(909,!1)}run(le,Ie,at){return this._inner.run(le,Ie,at)}runTask(le,Ie,at,At){const ln=this._inner,Rn=ln.scheduleEventTask("NgZoneEvent: "+At,le,Ll,Aa,Aa);try{return ln.runTask(Rn,Ie,at)}finally{ln.cancelTask(Rn)}}runGuarded(le,Ie,at){return this._inner.runGuarded(le,Ie,at)}runOutsideAngular(le){return this._outer.run(le)}}const Ll={};function ma(D){if(0==D._nesting&&!D.hasPendingMicrotasks&&!D.isStable)try{D._nesting++,D.onMicrotaskEmpty.emit(null)}finally{if(D._nesting--,!D.hasPendingMicrotasks)try{D.runOutsideAngular(()=>D.onStable.emit(null))}finally{D.isStable=!0}}}function Oa(D){D.hasPendingMicrotasks=!!(D._hasPendingMicrotasks||(D.shouldCoalesceEventChangeDetection||D.shouldCoalesceRunChangeDetection)&&!0===D.callbackScheduled)}function Vo(D){D._nesting++,D.isStable&&(D.isStable=!1,D.onUnstable.emit(null))}function ia(D){D._nesting--,ma(D)}class Ws{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ps;onMicrotaskEmpty=new Ps;onStable=new Ps;onError=new Ps;run(le,Ie,at){return le.apply(Ie,at)}runGuarded(le,Ie,at){return le.apply(Ie,at)}runOutsideAngular(le){return le()}runTask(le,Ie,at,At){return le.apply(Ie,at)}}function Ia(D,le){return!(!Array.isArray(D)||1!==D.length)&&!0===D[0]?.data?.[le]}class il{_console=console;handleError(le){this._console.error("ERROR",le)}}const Ul=new wt("",{factory:()=>{const D=xn(_a),le=xn(Xi);let Ie;return at=>{D.runOutsideAngular(()=>{le.destroyed&&!Ie?setTimeout(()=>{throw at}):(Ie??=le.get(il),Ie.handleError(at))})}}}),Ra={provide:Ur,useValue:()=>{xn(il,{optional:!0})},multi:!0};function yu(D,le){const[Ie,at,At]=(0,o.n5)(D,le?.equal),ln=Ie;return ln.set=at,ln.update=At,ln.asReadonly=Mc.bind(ln),ln}function Mc(){const D=this[o.bh];if(void 0===D.readonlyFn){const le=()=>this();le[o.bh]=D,D.readonlyFn=le}return D.readonlyFn}function wc(D,le){if(null!==(0,o.nR)())throw new V(-602,!1)}let q=(()=>class D{view;node;constructor(Ie,at){this.view=Ie,this.node=at}static __NG_ELEMENT_ID__=j})();function j(){return new q(Uo(),z())}class ie{}const ke=new wt("",{factory:()=>!0}),ut=new wt("",{factory:()=>!1}),St=new wt("");let Ht=(()=>{class D{internalPendingTasks=xn(el);scheduler=xn(ie);errorHandler=xn(Ul);add(){const Ie=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Ie)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Ie))}}run(Ie){const at=this.add();Ie().catch(this.errorHandler).finally(at)}static \u0275prov=Ut({token:D,providedIn:"root",factory:()=>new D})}return D})(),rn=(()=>{class D{static \u0275prov=Ut({token:D,providedIn:"root",factory:()=>new $n})}return D})();class $n{dirtyEffectCount=0;queues=new Map;add(le){this.enqueue(le),this.schedule(le)}schedule(le){le.dirty&&this.dirtyEffectCount++}remove(le){const at=this.queues.get(le.zone);at.has(le)&&(at.delete(le),le.dirty&&this.dirtyEffectCount--)}enqueue(le){const Ie=le.zone;this.queues.has(Ie)||this.queues.set(Ie,new Set);const at=this.queues.get(Ie);at.has(le)||at.add(le)}flush(){for(;this.dirtyEffectCount>0;){let le=!1;for(const[Ie,at]of this.queues)le||=null===Ie?this.flushQueue(at):Ie.run(()=>this.flushQueue(at));le||(this.dirtyEffectCount=0)}}flushQueue(le){let Ie=!1;for(const at of le)at.dirty&&(this.dirtyEffectCount--,Ie=!0,at.run());return Ie}}class Zn{[o.bh];constructor(le){this[o.bh]=le}destroy(){this[o.bh].destroy()}}function xr(D,le){const Ie=le?.injector??xn(Pr);let At,at=!0!==le?.manualCleanup?Ie.get(fo):null;const ln=Ie.get(q,null,{optional:!0}),Rn=Ie.get(ie);return null!==ln?(At=function wi(D,le,Ie){const at=Object.create(Mi);return at.view=D,at.zone=typeof Zone<"u"?Zone.current:null,at.notifier=le,at.fn=Ys(at,Ie),D[ps]??=new Set,D[ps].add(at),at.consumerMarkedDirty(at),at}(ln.view,Rn,D),at instanceof ra&&at._lView===ln.view&&(at=null)):At=function Cs(D,le,Ie){const at=Object.create(bi);return at.fn=Ys(at,D),at.scheduler=le,at.notifier=Ie,at.zone=typeof Zone<"u"?Zone.current:null,at.scheduler.add(at),at.notifier.notify(12),at}(D,Ie.get(rn),Rn),At.injector=Ie,null!==at&&(At.onDestroyFns=[at.onDestroy(()=>At.destroy())]),new Zn(At)}const nr={...o.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const D=Fr(!1);try{(0,o.lh)(this)}finally{Fr(D)}},cleanup(){if(!this.cleanupFns?.length)return;const D=(0,o.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,o.Ht)(D)}}},bi={...nr,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,o.XR)(this),null!==this.onDestroyFns)for(const D of this.onDestroyFns)D();this.cleanup(),this.scheduler.remove(this)}},Mi={...nr,consumerMarkedDirty(){this.view[ni]|=8192,co(this.view),this.notifier.notify(13)},destroy(){if((0,o.XR)(this),null!==this.onDestroyFns)for(const D of this.onDestroyFns)D();this.cleanup(),this.view[ps]?.delete(this)}};function Ys(D,le){return()=>{le(Ie=>(D.cleanupFns??=[]).push(Ie))}}},2271(qe,P,c){"use strict";c.d(P,{Zf:()=>b,vG:()=>be,EW:()=>C,wl:()=>lt,uu:()=>B,O8:()=>A});var o=c(467),u=c(5802),l=c(5824);function R(st,se,me){const Y=Object.create(S);Y.source=st,Y.computation=se,null!=me&&(Y.equal=me);const fe=()=>{if((0,l.JC)(Y),(0,l.mK)(Y),Y.value===l.EF)throw Y.error;return Y.value};return fe[l.bh]=Y,(0,l.a7)(Y),fe}const S={...l.pL,value:l.Ag,dirty:!0,error:null,equal:l.H8,kind:"linkedSignal",producerMustRecompute:st=>st.value===l.Ag||st.value===l.Ny,producerRecomputeValue(st){if(st.value===l.Ny)throw new Error("");const se=st.value;st.value=l.Ny;const me=(0,l.Bg)(st);let Y,ee=!1;try{const fe=st.source(),ye=se!==l.Ag&&se!==l.EF;Y=st.computation(fe,ye?{source:st.sourceValue,value:se}:void 0),st.sourceValue=fe,(0,l.Ht)(null),ee=ye&&Y!==l.EF&&st.equal(se,Y)}catch(fe){Y=l.EF,st.error=fe}finally{(0,l.Wu)(st,me)}ee?st.value=se:(st.value=Y,st.version++)}};class b{destroyed=!1;listeners=null;errorHandler=(0,u.WQX)(u.zcH,{optional:!0});destroyRef=(0,u.WQX)(u.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(se){if(this.destroyed)throw new u.buA(953,!1);return(this.listeners??=[]).push(se),{unsubscribe:()=>{const me=this.listeners?.indexOf(se);void 0!==me&&-1!==me&&this.listeners?.splice(me,1)}}}emit(se){if(this.destroyed)return void console.warn((0,u.OsK)(953,!1));if(null===this.listeners)return;const me=(0,l.Ht)(null);try{for(const Y of this.listeners)try{Y(se)}catch(ee){this.errorHandler?.handleError(ee)}}finally{(0,l.Ht)(me)}}}function A(st){return function L(st){const se=(0,l.Ht)(null);try{return st()}finally{(0,l.Ht)(se)}}(st)}function C(st,se){return(0,l.KZ)(st,se?.equal)}const V=st=>st;function B(st,se){return Q("function"==typeof st?R(st,V,se?.equal):R(st.source,st.computation,st.equal))}function Q(st,se){const me=st[l.bh],Y=st;return Y.set=ee=>function v(st,se){(0,l.JC)(st),(0,l.j2)(st,se),(0,l.TO)(st)}(me,ee),Y.update=ee=>function w(st,se){if((0,l.JC)(st),st.value===l.EF)throw st.error;(0,l.mC)(st,se),(0,l.TO)(st)}(me,ee),Y.asReadonly=u.HO5.bind(st),Y}class ce{value;isLoading;constructor(se,me){this.value=se,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=u.HO5,this.isLoading=C(()=>"loading"===this.status()||"reloading"===this.status(),void 0)}isError=C(()=>"error"===this.status());update(se){this.set(se(A(this.value)))}isValueDefined=C(()=>!this.isError()&&void 0!==this.value());_snapshot;get snapshot(){return this._snapshot??=C(()=>{const se=this.status();return"error"===se?{status:"error",error:this.error()}:{status:se,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}}class be extends ce{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(se,me,Y,ee,fe,ye,ge){super(C(()=>{const Ne=this.state().stream?.();if(!Ne||"loading"===this.state().status&&this.error())return Y;if(!Ue(Ne))throw new pt(this.error());return Ne.value},{equal:ee}),fe),this.loaderFn=me,this.equal=ee,this.debugName=fe,this.extRequest=B({source:se,computation:Ne=>({request:Ne,reload:0})}),this.state=B({source:this.extRequest,computation:(Ne,je)=>{if(je)return{extRequest:Ne,status:void 0===Ne.request?"idle":"loading",previousStatus:Oe(je.value),stream:je.value.extRequest.request===Ne.request?je.value.stream
1:void 0};{const tt=ge?.(Ne.request);return ge=void 0,{extRequest:Ne,status:void 0===Ne.request?"idle":tt?"resolved":"loading",previousStatus:"idle",stream:tt}}}}),this.effectRef=(0,u.QZP)(this.loadEffect.bind(this),{injector:ye,manualCleanup:!0}),this.pendingTasks=ye.get(u.u5s),this.unregisterOnDestroy=ye.get(u.abz).onDestroy(()=>this.destroy()),this.status=C(()=>Oe(this.state()),void 0),this.error=C(()=>{const Ne=this.state().stream?.();return Ne&&!Ue(Ne)?Ne.error:void 0},void 0)}set(se){if(this.destroyed)return;const me=A(this.error),Y=A(this.state);if(!me){const ee=A(this.value);if("local"===Y.status&&(this.equal?this.equal(ee,se):ee===se))return}this.state.set({extRequest:Y.extRequest,status:"local",previousStatus:"local",stream:(0,u.vPA)({value:se},void 0)}),this.abortInProgressLoad()}reload(){const{status:se}=A(this.state);return"idle"!==se&&"loading"!==se&&(this.extRequest.update(({request:me,reload:Y})=>({request:me,reload:Y+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){var se=this;return(0,o.A)(function*(){const me=se.extRequest(),{status:Y,previousStatus:ee}=A(se.state);if(void 0===me.request)return;if("loading"!==Y)return;se.abortInProgressLoad();let fe=se.resolvePendingTask=se.pendingTasks.add();const{signal:ye}=se.pendingController=new AbortController;try{const ge=yield A(()=>se.loaderFn({params:me.request,abortSignal:ye,previous:{status:ee}}));if(ye.aborted||A(se.extRequest)!==me)return;se.state.set({extRequest:me,status:"resolved",previousStatus:"resolved",stream:ge})}catch(ge){if(ye.aborted||A(se.extRequest)!==me)return;se.state.set({extRequest:me,status:"resolved",previousStatus:"error",stream:(0,u.vPA)({error:lt(ge)},void 0)})}finally{fe?.(),fe=void 0}})()}abortInProgressLoad(){A(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}}function Oe(st){switch(st.status){case"loading":return 0===st.extRequest.reload?"loading":"reloading";case"resolved":return Ue(st.stream())?"resolved":"error";default:return st.status}}function Ue(st){return void 0===st.error}function lt(st){return function et(st){return st instanceof Error||"object"==typeof st&&"string"==typeof st.name&&"string"==typeof st.message}(st)?st:new Ct(st)}class pt extends Error{constructor(se){super(se.message,{cause:se})}}class Ct extends Error{constructor(se){super(String(se),{cause:se})}}},5157(qe,P,c){"use strict";c.d(P,{Hbi:()=>Ol,gRc:()=>X,ES_:()=>Hs,_q3:()=>jo,MKu:()=>ta,uEv:()=>Bl,L39:()=>fo,sbv:()=>k,tEk:()=>re,a0P:()=>Cc,oH4:()=>us,SmG:()=>bo,hFB:()=>ao,naY:()=>Ca,geq:()=>Me,Udg:()=>ra,CGW:()=>oo,fpN:()=>Al,D6M:()=>da,Jn2:()=>Ci,HJs:()=>vu,ebz:()=>Gs,M8M:()=>wa,C1y:()=>Bo});var o=c(5547),u=c(5802),l=c(2271),R=c(8359),v=c(5824),w=c(4529);const L={};function f(q,j){q.__jsaction=j}const N=["mouseenter","mouseleave","pointerenter","pointerleave"],C=["focus","blur","error","load","toggle"],V=q=>C.indexOf(q)>=0;function be(q,j){q.removeEventListener?q.removeEventListener(j.eventType,j.handler,"boolean"==typeof j.passive?{capture:j.capture}:j.capture):q.detachEvent&&q.detachEvent(`on${j.eventType}`,j.handler)}let we=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);class lt{element;handlerInfos=[];constructor(j){this.element=j}addEventListener(j,ie,ke){this.handlerInfos.push(function ce(q,j,ie,ke){let ut=!1;return V(j)&&(ut=!0),q.addEventListener(j,ie,"boolean"==typeof ke?{capture:ut,passive:ke}:ut),{eventType:j,handler:ie,capture:ut,passive:ke}}(this.element,j,ie(this.element),ke))}cleanUp(){for(let j=0;j<this.handlerInfos.length;j++)be(this.element,this.handlerInfos[j]);this.handlerInfos=[]}}function pt(q){return q.eventType}function Ct(q,j){q.eventType=j}function st(q){return q.event}function se(q,j){q.event=j}function me(q){return q.targetElement}function Y(q,j){q.targetElement=j}function ee(q){return q.eic}function Ne(q){return q.eia}function je(q,j,ie){q.eia=[j,ie]}function tt(q){q.eia=void 0}function bt(q){return q[1]}function Je(q,j){q.eirp=j}function rt(q){return q.eir}function Pt(q,j){q.eir=j}function tn(q){return{eventType:q.eventType,event:q.event,targetElement:q.targetElement,eic:q.eic,eia:q.eia,timeStamp:q.timeStamp,eirp:q.eirp,eiack:q.eiack,eir:q.eir}}class yt{eventInfo;constructor(j){this.eventInfo=j}getEventType(){return pt(this.eventInfo)}setEventType(j){Ct(this.eventInfo,j)}getEvent(){return st(this.eventInfo)}setEvent(j){se(this.eventInfo,j)}getTargetElement(){return me(this.eventInfo)}setTargetElement(j){Y(this.eventInfo,j)}getContainer(){return ee(this.eventInfo)}setContainer(j){!function fe(q,j){q.eic=j}(this.eventInfo,j)}getTimestamp(){return function ye(q){return q.timeStamp}(this.eventInfo)}setTimestamp(j){!function ge(q,j){q.timeStamp=j}(this.eventInfo,j)}getAction(){const j=Ne(this.eventInfo);if(j)return{name:j[0],element:j[1]}}setAction(j){j?je(this.eventInfo,j.name,j.element):tt(this.eventInfo)}getIsReplay(){return function Xe(q){return q.eirp}(this.eventInfo)}setIsReplay(j){Je(this.eventInfo,j)}getResolved(){return rt(this.eventInfo)}setResolved(j){Pt(this.eventInfo,j)}clone(){return new yt(tn(this.eventInfo))}}const Ut={},Kt=/\s*;\s*/;class or{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:j=!1,clickModSupport:ie=!0}={}){this.syntheticMouseEventSupport=j,this.clickModSupport=ie}resolveEventType(j){this.clickModSupport&&"click"===pt(j)&&function Oe(q){return we&&q.metaKey||!we&&q.ctrlKey||function $e(q){return 2===q.which||null==q.which&&4===q.button}(q)||q.shiftKey}(st(j))?Ct(j,"clickmod"):this.a11yClickSupport&&this.updateEventInfoForA11yClick(j)}resolveAction(j){rt(j)||(this.populateAction(j,me(j)),Pt(j,!0))}resolveParentAction(j){const ie=Ne(j),ke=ie&&bt(ie);tt(j);const ut=ke&&this.getParentNode(ke);ut&&this.populateAction(j,ut)}populateAction(j,ie){let ke=ie;for(;ke&&ke!==ee(j)&&(ke.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(ke,j),!Ne(j));)ke=this.getParentNode(ke);const ut=Ne(j);if(ut&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(j),this.syntheticMouseEventSupport&&("mouseenter"
1===pt(j)||"mouseleave"===pt(j)||"pointerenter"===pt(j)||"pointerleave"===pt(j))))if(function Ue(q,j,ie){const ke=q.relatedTarget;return("mouseover"===q.type&&"mouseenter"===j||"mouseout"===q.type&&"mouseleave"===j||"pointerover"===q.type&&"pointerenter"===j||"pointerout"===q.type&&"pointerleave"===j)&&(!ke||ke!==ie&&!ie.contains(ke))}(st(j),pt(j),bt(ut))){const St=function Be(q,j){const ie={};for(const ke in q){if("srcElement"===ke||"target"===ke)continue;const St=q[ke];"function"!=typeof St&&(ie[ke]=St)}return ie.type="mouseover"===q.type?"mouseenter":"mouseout"===q.type?"mouseleave":"pointerover"===q.type?"pointerenter":"pointerleave",ie.target=ie.srcElement=j,ie.bubbles=!1,ie._originalEvent=q,ie}(st(j),bt(ut));se(j,St),Y(j,bt(ut))}else tt(j)}getParentNode(j){const ie=j.__owner;if(ie)return ie;const ke=j.parentNode;return"#document-fragment"===ke?.nodeName?ke?.host??null:ke}populateActionOnElement(j,ie){const ke=this.parseActions(j),ut=ke[pt(ie)];void 0!==ut&&je(ie,ut,j),this.a11yClickSupport&&this.populateClickOnlyAction(j,ie,ke)}parseActions(j){let ie=function E(q){return q.__jsaction}(j);if(!ie){const ke=j.getAttribute(w.n.JSACTION);if(ke){if(ie=function y(q){return L[q]}(ke),!ie){ie={};const ut=ke.split(Kt);for(let St=0;St<ut.length;St++){const Ht=ut[St];if(!Ht)continue;const rn=Ht.indexOf(":"),$n=-1!==rn,Zn=$n?Ht.substr(0,rn).trim():"click",xr=$n?Ht.substr(rn+1).trim():Ht;ie[Zn]=xr}!function H(q,j){L[q]=j}(ke,ie)}f(j,ie)}else ie=Ut,f(j,ie)}return ie}addA11yClickSupport(j,ie,ke){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=j,this.preventDefaultForA11yClick=ie,this.populateClickOnlyAction=ke}}var _n=function(q){return q[q.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK",q}(_n||{});class cr{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(j,{actionResolver:ie,eventReplayer:ke}={}){this.dispatchDelegate=j,this.actionResolver=ie,this.eventReplayer=ke}dispatch(j){const ie=new yt(j);this.actionResolver?.resolveEventType(j),this.actionResolver?.resolveAction(j);const ke=ie.getAction();ke&&function Sn(q,j){return"A"===q.tagName&&("click"===j.getEventType()||"clickmod"===j.getEventType())}(ke.element,ie)&&function Te(q){q.preventDefault?q.preventDefault():q.returnValue=!1}(ie.getEvent()),this.eventReplayer&&ie.getIsReplay()?this.scheduleEventInfoWrapperReplay(ie):this.dispatchDelegate(ie)}scheduleEventInfoWrapperReplay(j){this.replayEventInfoWrappers.push(j),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}}const hr=Symbol.for("propagationStopped");class It{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(j,ie=!0){this.dispatchDelegate=j,this.clickModSupport=ie,this.actionResolver=new or({clickModSupport:ie}),this.dispatcher=new cr(ke=>{this.dispatchToDelegate(ke)},{actionResolver:this.actionResolver})}dispatch(j){this.dispatcher.dispatch(j)}dispatchToDelegate(j){for(j.getIsReplay()&&function Vn(q){const j=q.getEvent(),ie=q.getTargetElement(),ke=j.preventDefault.bind(j);Bn(j,"target",ie),Bn(j,"eventPhase",101),Bn(j,"preventDefault",()=>{throw ke(),new Error("`preventDefault` called during event replay.")}),Bn(j,"composedPath",()=>{throw new Error("`composedPath` called during event replay.")})}(j),function dn(q){const j=q.getEvent(),ie=q.getEvent().stopPropagation.bind(j),ke=()=>{j[hr]=!0,ie()};Bn(j,"stopPropagation",ke),Bn(j,"stopImmediatePropagation",ke)}(j);j.getAction();){if(kn(j),V(j.getEventType())&&j.getAction().element!==j.getTargetElement()||(this.dispatchDelegate(j.getEvent(),j.getAction().name),In(j)))return;this.actionResolver.resolveParentAction(j.eventInfo)}}}function In(q){return!!q.getEvent()[hr]}function kn(q){const j=q.getEvent(),ie=q.getAction()?.element;ie&&Bn(j,"currentTarget",ie,{configurable:!0})}function Bn(q,j,ie,{configurable:ke=!1}={}){Object.defineProperty(q,j,{value:ie,configurable:ke})}function Fe(q,j,ie,ke){for(let ut=0;ut<j.length;ut++)q.removeEventListener(j[ut],ie,ke)}let mt=(()=>{class q{static MOUSE_SPECIAL_SUPPORT=!1;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(ie){this.containerManager=ie}
1handleEvent(ie,ke,ut){const St=function i(q,j,ie,ke,ut,St,Ht,rn){return{eventType:q,event:j,targetElement:ie,eic:ke,timeStamp:ut,eia:St,eirp:Ht,eiack:rn}}(ie,ke,ke.target,ut,Date.now());this.handleEventInfo(St)}handleEventInfo(ie){if(!this.dispatcher)return Je(ie,!0),void this.queuedEventInfos?.push(ie);this.dispatcher(ie)}addEvent(ie,ke,ut){if(ie in this.eventHandlers||!this.containerManager||!q.MOUSE_SPECIAL_SUPPORT&&N.indexOf(ie)>=0)return;const St=(rn,$n,Zn)=>{this.handleEvent(rn,$n,Zn)};this.eventHandlers[ie]=St;const Ht=function Z(q){return"mouseenter"===q?"mouseover":"mouseleave"===q?"mouseout":"pointerenter"===q?"pointerover":"pointerleave"===q?"pointerout":q}(ke||ie);if(Ht!==ie){const rn=this.browserEventTypeToExtraEventTypes[Ht]||[];rn.push(ie),this.browserEventTypeToExtraEventTypes[Ht]=rn}this.containerManager.addEventListener(Ht,rn=>$n=>{St(ie,$n,rn)},ut)}replayEarlyEvents(ie=window._ejsa){ie&&(this.replayEarlyEventInfos(ie.q),function ve(q){q&&(Fe(q.c,q.et,q.h),Fe(q.c,q.etc,q.h,!0))}(ie),delete window._ejsa)}replayEarlyEventInfos(ie){for(let ke=0;ke<ie.length;ke++){const ut=ie[ke],St=this.getEventTypesForBrowserEventType(ut.eventType);for(let Ht=0;Ht<St.length;Ht++){const rn=tn(ut);Ct(rn,St[Ht]),this.handleEventInfo(rn)}}}getEventTypesForBrowserEventType(ie){const ke=[];return this.eventHandlers[ie]&&ke.push(ie),this.browserEventTypeToExtraEventTypes[ie]&&ke.push(...this.browserEventTypeToExtraEventTypes[ie]),ke}handler(ie){return this.eventHandlers[ie]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(ie,ke){this.ecrd(ie,ke)}ecrd(ie,ke){if(this.dispatcher=ie,this.queuedEventInfos?.length){for(let ut=0;ut<this.queuedEventInfos.length;ut++)this.handleEventInfo(this.queuedEventInfos[ut]);this.queuedEventInfos=null}}}return q})();function Ln(q,j=window){j._ejsas&&(j._ejsas[q]=void 0)}const ai=Symbol("InputSignalNode#UNSET"),Ls={...v.s0,transformFn:void 0,applyValueToInputSignal(q,j){(0,v.j2)(q,j)}};function ss(q,j){const ie=Object.create(Ls);function ke(){if((0,v.mK)(ie),ie.value===ai)throw new u.buA(-950,null);return ie.value}return ie.value=q,ie.transformFn=j?.transform,ke[v.bh]=ie,ke}class Hs{attributeName;constructor(j){this.attributeName=j}__NG_ELEMENT_ID__=()=>(0,o.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function oo(q){return new l.Zf}function ps(q,j){return ss(q,j)}const ao=(ps.required=function zs(q){return ss(ai,q)},ps);function vo(q,j){return(0,o.mU9)(j)}const Gs=(vo.required=function Ns(q,j){return(0,o.hnC)(j)},vo);function Le(q,j){return(0,o.mU9)(j)}const k=(Le.required=function M(q,j){return(0,o.hnC)(j)},Le);function re(q,j){return(0,o.FuF)(j)}function p(q,j){const ie=Object.create(Ls),ke=new l.Zf;function ut(){return(0,v.mK)(ie),O(ie.value),ie.value}return ie.value=q,ut[v.bh]=ie,ut.asReadonly=u.HO5.bind(ut),ut.set=St=>{ie.equal(ie.value,St)||((0,v.j2)(ie,St),ke.emit(St))},ut.update=St=>{O(ie.value),ut.set(St(ie.value))},ut.subscribe=ke.subscribe.bind(ke),ut.destroyRef=ke.destroyRef,ut}function O(q){if(q===ai)throw new u.buA(952,!1)}function g(q,j){return p(q)}const Me=(g.required=function J(q){return p(ai)},g);let ui=(()=>{class q{zone=(0,u.WQX)(u.SKi);changeDetectionScheduler=(0,u.WQX)(u.hk6);applicationRef=(0,u.WQX)(o.o8S);applicationErrorHandler=(0,u.WQX)(u.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(ie){this.applicationErrorHandler(ie)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(ke){return new(ke||q)};static \u0275prov=(0,u.jDH)({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})();const di=new u.nKC("",{factory:()=>!1});function Ci(q){const j=q?.scheduleInRootZone,ie=function yi({ngZoneFactory:q,scheduleInRootZone:j}){return q??=()=>new u.SKi({...cs(),scheduleInRootZone:j}),[{provide:u.Evm,useValue:!1},{provide:u.SKi,useFactory:q},{provide:u.Z63,multi:!0,useFactory:()=>{const ie=(0,u.WQX)(ui,{optional:!0});return()=>ie.initialize()}},{provide:u.Z63,multi:!0,useFactory:()=>{const ie=(0,u.WQX)(Ki);return()=>{ie.initialize()}}},{provide:u.AQb,useValue:j??u.kHH}]}({ngZoneFactory:()=>{const ke=cs(q);return ke.scheduleInRootZone=j,ke.shouldCoalesceEventChangeDetection&&(0,o._jY)("NgZone_CoalesceEvent"),new u.SKi(ke)},scheduleInRootZone:j});return(0,u.EmA)([{provide:di,useValue:!0},ie])}function cs(q){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:q?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:q?.runCoalescing??!1}}let Ki=(()=>{class q{subscription=new R.yU;initialized=!1;zone=(0,u.WQX)(u.SKi);pendingTasks=(0,u.WQX)(u.rev);initialize(){if(this.initialized)return;this.initialized=!0;let ie=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(ie=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{u.SKi.assertNotInAngularZone(),queueMicrotask(()=>{null!==ie&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(ie),ie=null)})}
vendor: 4,309 bytes, line 1
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{u.SKi.assertInAngularZone(),ie??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(ke){return new(ke||q)};static \u0275prov=(0,u.jDH)({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})();const qi=new u.nKC(""),Qs=new u.nKC("");function Os(q){return!q.moduleRef}let wn;function Wn(){wn=Yn}function Yn(q,j){const ie=q.injector.get(o.o8S);if(q._bootstrapComponents.length>0)q._bootstrapComponents.forEach(ke=>ie.bootstrap(ke));else{if(!q.instance.ngDoBootstrap)throw new u.buA(-403,!1);q.instance.ngDoBootstrap(ie)}j.push(q)}let Zr=(()=>{class q{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(ie){this._injector=ie}bootstrapModuleFactory(ie,ke){const ut=[(0,o.rpG)(),...ke?.applicationProviders??[],u.gv8],St=(0,o.VzW)(ie.moduleType,this.injector,ut);return Wn(),function Eo(q){const j=Os(q)?q.r3Injector:q.moduleRef.injector,ie=j.get(u.SKi);return ie.run(()=>{Os(q)?q.r3Injector.resolveInjectorInitializers():q.moduleRef.resolveInjectorInitializers();const ke=j.get(u.ZTf);let ut;if(ie.runOutsideAngular(()=>{ut=ie.onError.subscribe({next:ke})}),Os(q)){const St=()=>j.destroy(),Ht=q.platformInjector.get(qi);Ht.add(St),j.onDestroy(()=>{ut.unsubscribe(),Ht.delete(St)})}else{const St=()=>q.moduleRef.destroy(),Ht=q.platformInjector.get(qi);Ht.add(St),q.moduleRef.onDestroy(()=>{(0,o.TFI)(q.allPlatformModules,q.moduleRef),ut.unsubscribe(),Ht.delete(St)})}return function Tr(q,j,ie){try{const ke=ie();return(0,o.yLl)(ke)?ke.catch(ut=>{throw j.runOutsideAngular(()=>q(ut)),ut}):ke}catch(ke){throw j.runOutsideAngular(()=>q(ke)),ke}}(ke,ie,()=>{const St=j.get(u.rev),Ht=St.add(),rn=j.get(o.H1s);return rn.runInitializers(),rn.donePromise.then(()=>{const $n=j.get(o.xe9,o.DkB);if((0,o.e6s)($n||o.DkB),!j.get(Qs,!0))return Os(q)?j.get(o.o8S):(q.allPlatformModules.push(q.moduleRef),q.moduleRef);if(Os(q)){const xr=j.get(o.o8S);return void 0!==q.rootComponent&&xr.bootstrap(q.rootComponent),xr}return wn?.(q.moduleRef,q.allPlatformModules),q.moduleRef}).finally(()=>{St.remove(Ht)})})})}({moduleRef:St,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(ie,ke=[]){const ut=(0,o.lJT)({},ke);return Wn(),function ir(q,j,ie){const ke=new o.Co$(ie);return Promise.resolve(ke)}(0,0,ie).then(St=>this.bootstrapModuleFactory(St,ut))}onDestroy(ie){this._destroyListeners.push(ie)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new u.buA(404,!1);this._modules.slice().forEach(ke=>ke.destroy()),this._destroyListeners.forEach(ke=>ke());const ie=this._injector.get(qi,null);ie&&(ie.forEach(ke=>ke()),ie.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(ke){return new(ke||q)((0,u.KVO)(u.zZn))};static \u0275prov=(0,u.jDH)({token:q,factory:q.\u0275fac,providedIn:"platform"})}return q})(),ki=null;function us(q,j,ie=[]){const ke=`Platform: ${j}`,ut=new u.nKC(ke);return(St=[])=>{let Ht=gs();if(!Ht){const rn=[...ie,...St,{provide:ut,useValue:!0}];Ht=q?.(rn)??function zi(q){if(gs())throw new u.buA(400,!1);(0,o.pl0)(),(0,o.ypd)(),ki=q;const j=q.get(Zr);return function ds(q){const j=q.get(o.PLl,null);(0,u.N4e)(q,()=>{j?.forEach(ie=>ie())})}(q),j}(function Kr(q=[],j){return u.zZn.create({name:j,providers:[{provide:u.GBX,useValue:"platform"},{provide:qi,useValue:new Set([()=>ki=null])},...q]})}(rn,ke))}return function lo(){const j=gs();if(!j)throw new u.buA(-401,!1);return j}()}}function gs(){return ki?.get(Zr)??null}function Ca(){return!1}function bo(){}const Do=new WeakSet;function Ro(q){return q.get(o.Kzh,o.N1r)}function co(){const q=[{provide:o.Kzh,useFactory:()=>{let j=!0;{const ie=(0,u.WQX)(o.sZ2);j=!!window._ejsas?.[ie]}return j&&(0,o._jY)("NgEventReplay"),j}}];return q.push({provide:u.Z63,useValue:()=>{const j=(0,u.WQX)(o.o8S),{injector:ie}=j;if(!Do.has(j)){const ke=(0,u.WQX)(o.mu_);if(Ro(ie)){(0,o.$KE)();const ut=ie.get(o.sZ2),St=(0,o.cTO)(ut,(Ht,rn,$n)=>{Ht.nodeType===Node.ELEMENT_NODE&&((0,o.JeD)(Ht,rn,$n),(0,o.iBR)(Ht,ke))});j.onDestroy(St)}}},multi:!0},{provide:o.iLQ,useFactory:()=>{const j=(0,u.WQX)(o.o8S),{injector:ie}=j;return()=>{if(!Ro(ie)||Do.has(j))return;Do.add(j);const ke=ie.get(o.sZ2);j.onDestroy(()=>{Do.delete(j),Ln(ke)}),j.whenStable().then(()=>
1{if(j.destroyed)return;const ut=ie.get(o.SVM);Po(ut,ie);const St=ie.get(o.mu_);St.get("")?.forEach(o.UQZ),St.delete("");const Ht=ut.instance;(0,o.ATY)(ie)?j.onDestroy(()=>Ht.cleanUp()):Ht.cleanUp()})}},multi:!0}),q}const Po=(q,j)=>{const ie=j.get(o.sZ2),ke=window._ejsas[ie],ut=q.instance=new mt(new lt(ke.c));for(const rn of ke.et)ut.addEvent(rn);for(const rn of ke.etc)ut.addEvent(rn);const St=function Qt(q,j=window){return function Kn(q){return q?.q??[]}(j._ejsas?.[q])}(ie);ut.replayEarlyEventInfos(St),Ln(ie);const Ht=new It(rn=>{!function ko(q,j,ie){const ke=(ie&&ie.getAttribute(o.n$e))??"";/d\d+/.test(ke)?function xo(q,j,ie,ke){const ut=j.get(o.$ul);ut.push({event:ie,currentTarget:ke}),(0,o.DQ1)(j,q,function Lo(q){return j=>{const ie=new Set(j),ke=[];for(let{event:ut,currentTarget:St}of q){const Ht=St.getAttribute(o.n$e);ie.has(Ht)?(0,o.c0O)(ut,St):ke.push({event:ut,currentTarget:St})}q.length=0,q.push(...ke)}}(ut))}(ke,q,j,ie):101===j.eventPhase&&(0,o.c0O)(j,ie)}(j,rn,rn.currentTarget)});!function Cr(q,j){q.ecrd(ie=>{j.dispatch(ie)},_n.I_AM_THE_JSACTION_FRAMEWORK)}(ut,Ht)};let ca=!1,Us=!1;function wa(){const q=[{provide:o.qBF,useFactory:()=>{let j=!0;return j=!!(0,u.WQX)(o.pJN,{optional:!0})?.get(o.TMN,null),j&&(0,o._jY)("NgHydration"),j}},{provide:u.Z63,useValue:()=>{(0,o.pDL)(!1);const j=(0,u.WQX)(u.qQL);(0,u.WQX)(o.qBF)&&((0,o.bRx)(j),function Ds(){ca||(ca=!0,(0,o.yJU)(),(0,o.hkx)(),(0,o.SML)(),(0,o.Qdn)(),(0,o.XSi)(),(0,o.L8h)(),(0,o.xtN)(),(0,o.UJm)())}())},multi:!0}];return q.push({provide:o.uzI,useFactory:()=>(0,u.WQX)(o.qBF)},{provide:o.iLQ,useFactory:()=>{const j=(0,u.WQX)(u.hk6);if((0,u.WQX)(o.qBF)){const ie=(0,u.WQX)(o.o8S);return()=>{(function Mo(q){return q.whenStable()})(ie).then(()=>{ie.destroyed||((0,o.LN$)(ie),j.notify(7))})}}return()=>{}},multi:!0}),(0,u.EmA)(q)}function Bo(){const q=[co(),{provide:o.njN,useValue:!0},{provide:o.Ryq,useClass:o.XcC},{provide:u.Z63,useValue:()=>{(function qo(){Us||(Us=!0,(0,o.NyN)())})(),(0,o._jY)("NgIncrementalHydration")},multi:!0}];return q.push({provide:o.iLQ,useFactory:()=>{const j=(0,u.WQX)(u.zZn),ie=(0,u.WQX)(u.qQL);return()=>{const ke=(0,o.$qc)(j),ut=(0,o.ylm)(ie,ie.body);(0,o.cnB)(j,ke,ut),(0,o.d48)(ie,j)}},multi:!0}),q}class Ta{openTasks=new Map;add(j){this.openTasks.set(j,new Error("Task stack tracking error"))}remove(j){this.openTasks.delete(j)}}function da(){const q=new Ta,{openTasks:j}=q;return(0,u.EmA)([{provide:u.l3R,useValue:q},(0,o.phd)(()=>{console.warn("Stability debugging utility was provided in production mode. This will cause debug code to be included in production bundles. If this is intentional because you are debugging stability issues in a production environment, you can ignore this warning.");const ie=(0,u.WQX)(u.SKi),ke=(0,u.WQX)(o.o8S);let ut=null;typeof Zone<"u"&&ie.run(()=>{ut=Zone.current.get("TaskTrackingZone")}),ie.runOutsideAngular(()=>{const St=setTimeout(()=>{if(console.debug("---- Application did not stabilize within 9 seconds ----"),typeof Zone<"u"&&!ut&&console.info('Zone.js is present but no TaskTrackingZone found. To enable better debugging of tasks in the Angular Zone, import "zone.js/plugins/task-tracking" in your application.'),ut?.macroTasks?.length){console.group("Macrotasks keeping Angular Zone unstable:");for(const Ht of ut?.macroTasks??[])console.debug(Ht.creationLocation.stack);console.groupEnd()}console.group("PendingTasks keeping application unstable:");for(const Ht of j.values())console.debug(Ht.stack);console.groupEnd()},9e3);ke.whenStable().then(()=>{clearTimeout(St)})})})])}let X=(()=>class q{static __NG_ELEMENT_ID__=de})();function de(q){return function We(q,j,ie){if((0,u.Qs1)(q)&&!ie){const ke=(0,u.KdJ)(q.index,j);return new o.NCX(ke,ke)}return 175&q.type?new o.NCX(j[u.b5C],j):null}((0,u.Mx4)(),(0,u.OAn)(),!(16&~q))}class Nt{supports(j){return(0,o.ozJ)(j)}create(j){return new jn(j)}}const Zt=(q,j)=>j;class jn{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(j){this._trackByFn=j||Zt}forEachItem(j){let ie;for(ie=this._itHead;null!==ie;ie=ie._next)j(ie)}forEachOperation(j){let ie=this._itHead,ke=this._removalsHead,ut=0,St=null;for(;ie||ke;){const Ht=!ke||ie&&ie.currentIndex<Rs(ke,ut,St)?ie:ke,rn=Rs(Ht,ut,St),$n=Ht.currentIndex;if(Ht===ke)ut--,ke=ke._nextRemoved;else if(ie=ie._next,null==Ht.previousIndex)ut++;else{St||(St=[]);const Zn=rn-ut,xr=$n-ut;if(Zn!=xr){for(let bi=0;bi<Zn;bi++){const Mi=bi<St.length?St[bi]:St[bi]=0,wi=Mi+bi;xr<=wi&&wi<Zn&&(St[bi]=Mi+1)}St[Ht.previousIndex]=xr-Zn}}rn!==$n&&j(Ht,rn,$n)}}forEachPreviousItem(j){let ie;for(ie=this._previousItHead;null!==ie;ie=ie._nextPrevious)j(ie)}forEachAddedItem(j){let ie;for(ie=this._additionsHead;null!==ie;ie=ie._nextAdded)j(ie)}forEachMovedItem(j){let ie;for(ie=this._movesHead;null!==ie;ie=ie._nextMoved)j(ie)}forEachRemovedItem(j){let ie;for(ie=this._removalsHead;null!==ie;ie=ie._nextRemoved)j(ie)}forEachIdentityChange(j){let ie;for(ie=this._identityChangesHead;null!==ie;ie=ie._nextIdentityChange)j(ie)}diff(j){if(null==j&&(j=[]),!(0,o.ozJ)(j))throw new u.buA(900,!1);return this.check(j)?this:null}onDestroy(){}check(j){this._reset();let ut,St,Ht,ie=this._itHead,ke=!1;
vendor: 6,221 bytes, line 1
1if(Array.isArray(j)){this.length=j.length;for(let rn=0;rn<this.length;rn++)St=j[rn],Ht=this._trackByFn(rn,St),null!==ie&&Object.is(ie.trackById,Ht)?(ke&&(ie=this._verifyReinsertion(ie,St,Ht,rn)),Object.is(ie.item,St)||this._addIdentityChange(ie,St)):(ie=this._mismatch(ie,St,Ht,rn),ke=!0),ie=ie._next}else ut=0,(0,o.utN)(j,rn=>{Ht=this._trackByFn(ut,rn),null!==ie&&Object.is(ie.trackById,Ht)?(ke&&(ie=this._verifyReinsertion(ie,rn,Ht,ut)),Object.is(ie.item,rn)||this._addIdentityChange(ie,rn)):(ie=this._mismatch(ie,rn,Ht,ut),ke=!0),ie=ie._next,ut++}),this.length=ut;return this._truncate(ie),this.collection=j,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let j;for(j=this._previousItHead=this._itHead;null!==j;j=j._next)j._nextPrevious=j._next;for(j=this._additionsHead;null!==j;j=j._nextAdded)j.previousIndex=j.currentIndex;for(this._additionsHead=this._additionsTail=null,j=this._movesHead;null!==j;j=j._nextMoved)j.previousIndex=j.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(j,ie,ke,ut){let St;return null===j?St=this._itTail:(St=j._prev,this._remove(j)),null!==(j=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ke,null))?(Object.is(j.item,ie)||this._addIdentityChange(j,ie),this._reinsertAfter(j,St,ut)):null!==(j=null===this._linkedRecords?null:this._linkedRecords.get(ke,ut))?(Object.is(j.item,ie)||this._addIdentityChange(j,ie),this._moveAfter(j,St,ut)):j=this._addAfter(new _r(ie,ke),St,ut),j}_verifyReinsertion(j,ie,ke,ut){let St=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ke,null);return null!==St?j=this._reinsertAfter(St,j._prev,ut):j.currentIndex!=ut&&(j.currentIndex=ut,this._addToMoves(j,ut)),j}_truncate(j){for(;null!==j;){const ie=j._next;this._addToRemovals(this._unlink(j)),j=ie}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(j,ie,ke){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(j);const ut=j._prevRemoved,St=j._nextRemoved;return null===ut?this._removalsHead=St:ut._nextRemoved=St,null===St?this._removalsTail=ut:St._prevRemoved=ut,this._insertAfter(j,ie,ke),this._addToMoves(j,ke),j}_moveAfter(j,ie,ke){return this._unlink(j),this._insertAfter(j,ie,ke),this._addToMoves(j,ke),j}_addAfter(j,ie,ke){return this._insertAfter(j,ie,ke),this._additionsTail=null===this._additionsTail?this._additionsHead=j:this._additionsTail._nextAdded=j,j}_insertAfter(j,ie,ke){const ut=null===ie?this._itHead:ie._next;return j._next=ut,j._prev=ie,null===ut?this._itTail=j:ut._prev=j,null===ie?this._itHead=j:ie._next=j,null===this._linkedRecords&&(this._linkedRecords=new Is),this._linkedRecords.put(j),j.currentIndex=ke,j}_remove(j){return this._addToRemovals(this._unlink(j))}_unlink(j){null!==this._linkedRecords&&this._linkedRecords.remove(j);const ie=j._prev,ke=j._next;return null===ie?this._itHead=ke:ie._next=ke,null===ke?this._itTail=ie:ke._prev=ie,j}_addToMoves(j,ie){return j.previousIndex===ie||(this._movesTail=null===this._movesTail?this._movesHead=j:this._movesTail._nextMoved=j),j}_addToRemovals(j){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Is),this._unlinkedRecords.put(j),j.currentIndex=null,j._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=j,j._prevRemoved=null):(j._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=j),j}_addIdentityChange(j,ie){return j.item=ie,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=j:this._identityChangesTail._nextIdentityChange=j,j}}class _r{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(j,ie){this.item=j,this.trackById=ie}}class Fr{_head=null;_tail=null;add(j){null===this._head?(this._head=this._tail=j,j._nextDup=null,j._prevDup=null):(this._tail._nextDup=j,j._prevDup=this._tail,j._nextDup=null,this._tail=j)}get(j,ie){let ke;for(ke=this._head;null!==ke;ke=ke._nextDup)if((null===ie||ie<=ke.currentIndex)&&Object.is(ke.trackById,j))return ke;return null}remove(j){const ie=j._prevDup,ke=j._nextDup;return null===ie?this._head=ke:ie._nextDup=ke,null===ke?this._tail=ie:ke._prevDup=ie,null===this._head}}class Is{map=new Map;put(j){const ie=j.trackById;let ke=this.map.get(ie);ke||(ke=new Fr,this.map.set(ie,ke)),ke.add(j)}get(j,ie){const ut=this.map.get(j);return ut?ut.get(j,ie):null}remove(j){const ie=j.trackById;return this.map.get(ie).remove(j)&&this.map.delete(ie),j}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Rs(q,j,ie){const ke=q.previousIndex;if(null===ke)return ke;let ut=0;return ie&&ke<ie.length&&(ut=ie[ke]),ke+j+ut}class ms{supports(j){return j instanceof Map||(0,o.vDg)(j)}create(){return new js}}class js{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(j){let ie;for(ie=this._mapHead;null!==ie;ie=ie._next)j(ie)}forEachPreviousItem(j){let ie;for(ie=this._previousMapHead;null!==ie;ie=ie._nextPrevious)j(ie)}forEachChangedItem(j){let ie;for(ie=this._changesHead;null!==ie;ie=ie._nextChanged)j(ie)}forEachAddedItem(j){let ie;for(ie=this._additionsHead;null!==ie;ie=ie._nextAdded)j(ie)}forEachRemovedItem(j){let ie;for(ie=this._removalsHead;null!==ie;ie=ie._nextRemoved)j(ie)}diff(j){if(j){if(!(j instanceof Map||(0,o.vDg)(j)))throw new u.buA(900,!1)}else j=new Map;return this.check(j)?this:null}check(j){this._reset();let ie=this._mapHead;
vendor: 4,753 bytes, line 1
1if(this._appendAfter=null,this._forEach(j,(ke,ut)=>{if(ie&&ie.key===ut)this._maybeAddToChanges(ie,ke),this._appendAfter=ie,ie=ie._next;else{const St=this._getOrCreateRecordForKey(ut,ke);ie=this._insertBeforeOrAppend(ie,St)}}),ie){ie._prev&&(ie._prev._next=null),this._removalsHead=ie;for(let ke=ie;null!==ke;ke=ke._nextRemoved)ke===this._mapHead&&(this._mapHead=null),this._records.delete(ke.key),ke._nextRemoved=ke._next,ke.previousValue=ke.currentValue,ke.currentValue=null,ke._prev=null,ke._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(j,ie){if(j){const ke=j._prev;return ie._next=j,ie._prev=ke,j._prev=ie,ke&&(ke._next=ie),j===this._mapHead&&(this._mapHead=ie),this._appendAfter=j,j}return this._appendAfter?(this._appendAfter._next=ie,ie._prev=this._appendAfter):this._mapHead=ie,this._appendAfter=ie,null}_getOrCreateRecordForKey(j,ie){if(this._records.has(j)){const ut=this._records.get(j);this._maybeAddToChanges(ut,ie);const St=ut._prev,Ht=ut._next;return St&&(St._next=Ht),Ht&&(Ht._prev=St),ut._next=null,ut._prev=null,ut}const ke=new ho(j);return this._records.set(j,ke),ke.currentValue=ie,this._addToAdditions(ke),ke}_reset(){if(this.isDirty){let j;for(this._previousMapHead=this._mapHead,j=this._previousMapHead;null!==j;j=j._next)j._nextPrevious=j._next;for(j=this._changesHead;null!==j;j=j._nextChanged)j.previousValue=j.currentValue;for(j=this._additionsHead;null!=j;j=j._nextAdded)j.previousValue=j.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(j,ie){Object.is(ie,j.currentValue)||(j.previousValue=j.currentValue,j.currentValue=ie,this._addToChanges(j))}_addToAdditions(j){null===this._additionsHead?this._additionsHead=this._additionsTail=j:(this._additionsTail._nextAdded=j,this._additionsTail=j)}_addToChanges(j){null===this._changesHead?this._changesHead=this._changesTail=j:(this._changesTail._nextChanged=j,this._changesTail=j)}_forEach(j,ie){j instanceof Map?j.forEach(ie):Object.keys(j).forEach(ke=>ie(j[ke],ke))}}class ho{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(j){this.key=j}}function $s(){return new jo([new Nt])}let jo=(()=>{class q{factories;static \u0275prov=(0,u.jDH)({token:q,providedIn:"root",factory:$s});constructor(ie){this.factories=ie}static create(ie,ke){if(null!=ke){const ut=ke.factories.slice();ie=ie.concat(ut)}return new q(ie)}static extend(ie){return{provide:q,useFactory:()=>{const ke=(0,u.WQX)(q,{optional:!0,skipSelf:!0});return q.create(ie,ke||$s())}}}find(ie){const ke=this.factories.find(ut=>ut.supports(ie));if(null!=ke)return ke;throw new u.buA(901,!1)}}return q})();function Za(){return new ta([new ms])}let ta=(()=>{class q{static \u0275prov=(0,u.jDH)({token:q,providedIn:"root",factory:Za});factories;constructor(ie){this.factories=ie}static create(ie,ke){if(ke){const ut=ke.factories.slice();ie=ie.concat(ut)}return new q(ie)}static extend(ie){return{provide:q,useFactory:()=>{const ke=(0,u.WQX)(q,{optional:!0,skipSelf:!0});return q.create(ie,ke||Za())}}}find(ie){const ke=this.factories.find(ut=>ut.supports(ie));if(ke)return ke;throw new u.buA(901,!1)}}return q})();const Al=us(null,"core",[]);let Ol=(()=>{class q{constructor(ie){}static \u0275fac=function(ke){return new(ke||q)((0,u.KVO)(o.o8S))};static \u0275mod=(0,o.$C)({type:q});static \u0275inj=(0,u.G2t)({})}return q})();function fo(q){return"boolean"==typeof q?q:null!=q&&"false"!==q}function ra(q,j=NaN){return isNaN(parseFloat(q))||isNaN(Number(q))?j:Number(q)}const Vo=Symbol("NOT_SET"),ia=new Set,Ws={...v.s0,kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Vo,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(q){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Vo&&!(0,v.si)(this))return this.signal;try{for(const ut of this.cleanup??ia)ut()}finally{this.cleanup?.clear()}const j=[];void 0!==q&&j.push(q),j.push(this.registerCleanupFn);const ie=(0,v.Bg)(this);let ke;try{ke=this.userFn.apply(null,j)}finally{(0,v.Wu)(this,ie)}return(this.value===Vo||!this.equal(this.value,ke))&&(this.value=ke,this.version++),this.signal}};class Fl extends o._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(j,ie,ke,ut,St,Ht=null){super(j,[void 0,void 0,void 0,void 0],ke,!1,St.get(u.abz),Ht),this.scheduler
1=ut;for(const rn of o.zoo){const $n=ie[rn];if(void 0===$n)continue;const Zn=Object.create(Ws);Zn.sequence=this,Zn.phase=rn,Zn.userFn=$n,Zn.dirty=!0,Zn.signal=()=>((0,v.mK)(Zn),Zn.value),Zn.signal[v.bh]=Zn,Zn.registerCleanupFn=xr=>(Zn.cleanup??=new Set).add(xr),this.nodes[rn]=Zn,this.hooks[rn]=xr=>Zn.phaseFn(xr)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(null!==this.onDestroyFns)for(const j of this.onDestroyFns)j();super.destroy();for(const j of this.nodes)if(j)try{for(const ie of j.cleanup??ia)ie()}finally{(0,v.XR)(j)}}}function Bl(q,j){const ie=j?.injector??(0,u.WQX)(u.zZn),ke=ie.get(u.hk6),ut=ie.get(o.cf$),St=ie.get(o.a8H,null,{optional:!0});ut.impl??=ie.get(o.ziy);let Ht=q;"function"==typeof Ht&&(Ht={mixedReadWrite:q});const rn=ie.get(u.r4V,null,{optional:!0}),$n=new Fl(ut.impl,[Ht.earlyRead,Ht.write,Ht.mixedReadWrite,Ht.read],rn?.view,ke,ie,St?.snapshot(null));return ut.impl.register($n),$n}function Cc(q,j){const ie=(0,u.xUg)(q),ke=j.elementInjector||(0,u.WB9)();return new o.eHC(ie).create(ke,j.projectableNodes,j.hostElement,j.environmentInjector,j.directives,j.bindings)}function vu(q){const j=(0,u.xUg)(q);if(!j)return null;const ie=new o.eHC(j);return{get selector(){return ie.selector},get type(){return ie.componentType},get inputs(){return ie.inputs},get outputs(){return ie.outputs},get ngContentSelectors(){return ie.ngContentSelectors},get isStandalone(){return j.standalone},get isSignal(){return j.signals}}}},9079(qe,P,c){"use strict";c.d(P,{ot:()=>Te,pQ:()=>B});var N=c(1985),A=c(6977),C=c(5802),V=c(2271);function B(Be){Be||(Be=(0,C.WQX)(C.abz));const lt=new N.c(et=>{if(!Be.destroyed)return Be.onDestroy(et.next.bind(et));et.next()});return et=>et.pipe((0,A.Q)(lt))}function Te(Be,lt){const pt=lt?.manualCleanup?null:lt?.injector?.get(C.abz)??(0,C.WQX)(C.abz),Ct=function we(Be=Object.is){return(lt,et)=>1===lt.kind&&1===et.kind&&Be(lt.value,et.value)}(lt?.equal);let st,se;st=(0,C.vPA)(lt?.requireSync?{kind:0}:{kind:1,value:lt?.initialValue},{equal:Ct});const me=Be.subscribe({next:Y=>st.set({kind:1,value:Y}),error:Y=>{st.set({kind:2,error:Y}),se?.()},complete:()=>{se?.()}});if(lt?.requireSync&&0===st().kind)throw new C.buA(601,!1);return se=pt?.onDestroy(me.unsubscribe.bind(me)),(0,V.EW)(()=>{const Y=st();switch(Y.kind){case 1:return Y.value;case 2:throw Y.error;case 0:throw new C.buA(601,!1)}},{equal:lt?.equal})}},9417(qe,P,c){"use strict";c.d(P,{BC:()=>cr,Dg:()=>Ji,Fm:()=>jt,J3:()=>Qn,JD:()=>Ri,MR:()=>pn,Q0:()=>ze,VZ:()=>ai,X1:()=>re,YN:()=>k,YS:()=>ss,Zm:()=>A,cV:()=>Lr,cb:()=>Sn,cz:()=>be,gE:()=>fn,hs:()=>it,j4:()=>Ss,k0:()=>$e,kq:()=>b,l_:()=>ti,me:()=>Q,ok:()=>yo,qT:()=>qr,tU:()=>ls,vO:()=>un,vS:()=>ji,wz:()=>as,xH:()=>vi,xh:()=>Hs,y7:()=>fs,zX:()=>ks,ze:()=>M});var l=c(5547),R=c(5802),v=c(5157),w=c(2271),S=c(1413),L=c(7468),E=c(6648),h=c(6354),f=c(6494);let y=(()=>{class p{_renderer;_elementRef;onChange=g=>{};onTouched=()=>{};constructor(g,J){this._renderer=g,this._elementRef=J}setProperty(g,J){this._renderer.setProperty(this._elementRef.nativeElement,g,J)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}static \u0275fac=function(J){return new(J||p)(l.rXU(l.sFG),l.rXU(l.aKT))};static \u0275dir=l.FsC({type:p})}return p})(),H=(()=>{class p extends y{static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,features:[l.Vt3]})}return p})();const b=new R.nKC(""),N={provide:b,useExisting:(0,R.Rfq)(()=>A),multi:!0};let A=(()=>{class p extends H{writeValue(g){this.setProperty("checked",g)}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,Me){1&J&&l.bIt("change",function(Gt){return Me.onChange(Gt.target.checked)})("blur",function(){return Me.onTouched()})},standalone:!1,features:[l.Jv_([N]),l.Vt3]})}return p})();const C={provide:b,useExisting:(0,R.Rfq)(()=>Q),multi:!0},B=new R.nKC("");let Q=(()=>{class p extends y{_compositionMode;_composing=!1;constructor(g,J,Me){super(g,J),this._compositionMode=Me,null==this._compositionMode&&(this._compositionMode=!function V(){const p=(0,f.rb)()?(0,f.rb)().getUserAgent():"";return/android (\d+)/.test(p.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}static \u0275fac=function(J){return new(J||p)(l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(B,8))};static \u0275dir=l.FsC({type:p,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(J,Me){1&J&&l.bIt("input",function(Gt){return Me._handleInput(Gt.target.value)})("blur",function(){return Me.onTouched()})("compositionstart",function(){return Me._compositionStart()})("compositionend",function(Gt){return Me._compositionEnd(Gt.target.value)})},standalone:!1,features:[l.Jv_([C]),l.Vt3]})}return p})();function Z(p){return null==p||0===ce(p)}function ce(p){return null==p?null:Array.isArray(p)||"string"==typeof p?p.length:p instanceof Set?p.size:null}const be=new R.nKC(""),Te=new R.nKC(""),we=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class $e{static min(O){return Oe(O)}static max(O){return Ue(O)}static required(O){return Be(O)}static requiredTrue(O){return function lt(p){return!0===p.value?null:{required:!0}}(O)}static email(O){return et(O)}static minLength(O){return pt(O)}static maxLength(O){return Ct(O)}static pattern(O){return function st(p){if(!p)return se;let O,g;return"string"==typeof p?(g="","^"!==p.charAt(0)&&(g+="^"),g+=p,"$"!==p.charAt(p.length-1)&&(g+="$"),O=new RegExp(g)):(g=p.toString(),O=p),J=>{if(Z(J.value))return null;const Me=J.value;return O.test(Me)?null:{pattern:{requiredPattern:g,actualValue:Me}}}}(O)}static nullValidator(O){return null}static compose(O){return Ne(O)}static composeAsync(O){return tt(O)}}function Oe(p){return O=>{if(null==O.value||null==p)return null;const g=parseFloat(O.value);return!isNaN(g)&&g<p?{min:{min:p,actual:O.value}}:null}}function Ue(p){return O=>{if(null==O.value||null==p)return null;const g=parseFloat(O.value);return!isNaN(g)&&g>p?{max:{max:p,actual:O.value}}:null}}function Be(p){return Z(p.value)?{required:!0}:null}function et(p){return Z(p.value)||we.test(p.value)?null:{email:!0}}function pt(p){return O=>{const g=O.value?.length??ce(O.value);return null===g||0===g?null:g<p?{minlength:{requiredLength:p,actualLength:g}}:null}}function Ct(p){return O=>{const g=O.value?.length??ce(O.value);return null!==g&&g>p?{maxlength:{requiredLength:p,actualLength:g}}:null}}function se(p){return null}function me(p){return null!=p}function Y(p){return(0,l.yLl)(p)?(0,E.H)(p):p}function ee(p){let O={};return p.forEach(g=>{O=null!=g?{...O,...g}:O}),0===Object.keys(O).length?null:O}function fe(p,O){return O.map(g=>g(p))}function ge(p){return p.map(O=>function ye(p){return!p.validate}(O)?O:g=>O.validate(g))}function Ne(p){if(!p)return null;const O=p.filter(me);return 0==O.length?null:function(g){return ee(fe(g,O))}}function je(p){return null!=p?Ne(ge(p)):null}function tt(p){if(!p)return null;const O=p.filter(me);return 0==O.length?null:function(g){const J=fe(g,O).map(Y);return(0,L.p)(J).pipe((0,h.T)(ee))}}function bt(p){return null!=p?tt(ge(p)):null}function Xe(p,O){return null===p?[O]:Array.isArray(p)?[...p,O]:[p,O]}function Je(p){return p._rawValidators}function rt(p){return p._rawAsyncValidators}function Pt(p){return p?Array.isArray(p)?p:[p]:[]}function tn(p,O){return Array.isArray(p)?p.includes(O):p===O}function i(p,O){const g=Pt(O);
vendor: 4,448 bytes, line 1
1return Pt(p).forEach(Me=>{tn(g,Me)||g.push(Me)}),g}function yt(p,O){return Pt(O).filter(g=>!tn(p,g))}class Ut{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(O){this._rawValidators=O||[],this._composedValidatorFn=je(this._rawValidators)}_setAsyncValidators(O){this._rawAsyncValidators=O||[],this._composedAsyncValidatorFn=bt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(O){this._onDestroyCallbacks.push(O)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(O=>O()),this._onDestroyCallbacks=[]}reset(O=void 0){this.control?.reset(O)}hasError(O,g){return!!this.control&&this.control.hasError(O,g)}getError(O,g){return this.control?this.control.getError(O,g):null}}class Kt extends Ut{name;get formDirective(){return null}get path(){return null}}class un extends Ut{_parent=null;name=null;valueAccessor=null}class or{_cd;constructor(O){this._cd=O}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let cr=(()=>{class p extends or{constructor(g){super(g)}static \u0275fac=function(J){return new(J||p)(l.rXU(un,2))};static \u0275dir=l.FsC({type:p,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(J,Me){2&J&&l.AVh("ng-untouched",Me.isUntouched)("ng-touched",Me.isTouched)("ng-pristine",Me.isPristine)("ng-dirty",Me.isDirty)("ng-valid",Me.isValid)("ng-invalid",Me.isInvalid)("ng-pending",Me.isPending)},standalone:!1,features:[l.Vt3]})}return p})(),Sn=(()=>{class p extends or{constructor(g){super(g)}static \u0275fac=function(J){return new(J||p)(l.rXU(Kt,10))};static \u0275dir=l.FsC({type:p,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(J,Me){2&J&&l.AVh("ng-untouched",Me.isUntouched)("ng-touched",Me.isTouched)("ng-pristine",Me.isPristine)("ng-dirty",Me.isDirty)("ng-valid",Me.isValid)("ng-invalid",Me.isInvalid)("ng-pending",Me.isPending)("ng-submitted",Me.isSubmitted)},standalone:!1,features:[l.Vt3]})}return p})();const He="VALID",mt="INVALID",Rt="PENDING",Qt="DISABLED";class sn{}class An extends sn{value;source;constructor(O,g){super(),this.value=O,this.source=g}}class Ln extends sn{pristine;source;constructor(O,g){super(),this.pristine=O,this.source=g}}class mn extends sn{touched;source;constructor(O,g){super(),this.touched=O,this.source=g}}class Hn extends sn{status;source;constructor(O,g){super(),this.status=O,this.source=g}}class ar extends sn{source;constructor(O){super(),this.source=O}}class lr extends sn{source;constructor(O){super(),this.source=O}}function fr(p){return(Vt(p)?p.validators:p)||null}function Rr(p,O){return(Vt(O)?O.asyncValidators:p)||null}function Vt(p){return null!=p&&!Array.isArray(p)&&"object"==typeof p}function dt(p,O,g){const J=p.controls;if(!(O?Object.keys(J):J).length)throw new R.buA(1e3,"");if(!J[g])throw new R.buA(1001,"")}
vendor: 8,472 bytes, line 1
1function ft(p,O,g){p._forEachChild((J,Me)=>{if(void 0===g[Me])throw new R.buA(-1002,"")})}class Xt{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(O,g){this._assignValidators(O),this._assignAsyncValidators(g)}get validator(){return this._composedValidatorFn}set validator(O){this._rawValidators=this._composedValidatorFn=O}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(O){this._rawAsyncValidators=this._composedAsyncValidatorFn=O}get parent(){return this._parent}get status(){return(0,w.O8)(this.statusReactive)}set status(O){(0,w.O8)(()=>this.statusReactive.set(O))}_status=(0,w.EW)(()=>this.statusReactive());statusReactive=(0,R.vPA)(void 0);get valid(){return this.status===He}get invalid(){return this.status===mt}get pending(){return this.status===Rt}get disabled(){return this.status===Qt}get enabled(){return this.status!==Qt}errors;get pristine(){return(0,w.O8)(this.pristineReactive)}set pristine(O){(0,w.O8)(()=>this.pristineReactive.set(O))}_pristine=(0,w.EW)(()=>this.pristineReactive());pristineReactive=(0,R.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,w.O8)(this.touchedReactive)}set touched(O){(0,w.O8)(()=>this.touchedReactive.set(O))}_touched=(0,w.EW)(()=>this.touchedReactive());touchedReactive=(0,R.vPA)(!1);get untouched(){return!this.touched}_events=new S.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(O){this._assignValidators(O)}setAsyncValidators(O){this._assignAsyncValidators(O)}addValidators(O){this.setValidators(i(O,this._rawValidators))}addAsyncValidators(O){this.setAsyncValidators(i(O,this._rawAsyncValidators))}removeValidators(O){this.setValidators(yt(O,this._rawValidators))}removeAsyncValidators(O){this.setAsyncValidators(yt(O,this._rawAsyncValidators))}hasValidator(O){return tn(this._rawValidators,O)}hasAsyncValidator(O){return tn(this._rawAsyncValidators,O)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(O={}){const g=!1===this.touched;this.touched=!0;const J=O.sourceControl??this;O.onlySelf||this._parent?.markAsTouched({...O,sourceControl:J}),g&&!1!==O.emitEvent&&this._events.next(new mn(!0,J))}markAllAsDirty(O={}){this.markAsDirty({onlySelf:!0,emitEvent:O.emitEvent,sourceControl:this}),this._forEachChild(g=>g.markAllAsDirty(O))}markAllAsTouched(O={}){this.markAsTouched({onlySelf:!0,emitEvent:O.emitEvent,sourceControl:this}),this._forEachChild(g=>g.markAllAsTouched(O))}markAsUntouched(O={}){const g=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const J=O.sourceControl??this;this._forEachChild(Me=>{Me.markAsUntouched({onlySelf:!0,emitEvent:O.emitEvent,sourceControl:J})}),O.onlySelf||this._parent?._updateTouched(O,J),g&&!1!==O.emitEvent&&this._events.next(new mn(!1,J))}markAsDirty(O={}){const g=!0===this.pristine;this.pristine=!1;const J=O.sourceControl??this;O.onlySelf||this._parent?.markAsDirty({...O,sourceControl:J}),g&&!1!==O.emitEvent&&this._events.next(new Ln(!1,J))}markAsPristine(O={}){const g=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const J=O.sourceControl??this;this._forEachChild(Me=>{Me.markAsPristine({onlySelf:!0,emitEvent:O.emitEvent})}),O.onlySelf||this._parent?._updatePristine(O,J),g&&!1!==O.emitEvent&&this._events.next(new Ln(!0,J))}markAsPending(O={}){this.status=Rt;const g=O.sourceControl??this;!1!==O.emitEvent&&(this._events.next(new Hn(this.status,g)),this.statusChanges.emit(this.status)),O.onlySelf||this._parent?.markAsPending({...O,sourceControl:g})}disable(O={}){const g=this._parentMarkedDirty(O.onlySelf);this.status=Qt,this.errors=null,this._forEachChild(Me=>{Me.disable({...O,onlySelf:!0})}),this._updateValue();const J=O.sourceControl??this;!1!==O.emitEvent&&(this._events.next(new An(this.value,J)),this._events.next(new Hn(this.status,J)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...O,skipPristineCheck:g},this),this._onDisabledChange.forEach(Me=>Me(!0))}enable(O={}){const g=this._parentMarkedDirty(O.onlySelf);this.status=He,this._forEachChild(J=>{J.enable({...O,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent}),this._updateAncestors({...O,skipPristineCheck:g},this),this._onDisabledChange.forEach(J=>J(!1))}_updateAncestors(O,g){O.onlySelf||(this._parent?.updateValueAndValidity(O),O.skipPristineCheck||this._parent?._updatePristine({},g),this._parent?._updateTouched({},g))}setParent(O){this._parent=O}getRawValue(){return this.value}updateValueAndValidity(O={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const J=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===He||this.status===Rt)&&this._runAsyncValidator(J,O.emitEvent)}const g=O.sourceControl??this;!1!==O.emitEvent&&(this._events.next(new An(this.value,g)),this._events.next(new Hn(this.status,g)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),O.onlySelf||this._parent?.updateValueAndValidity({...O,sourceControl:g})}_updateTreeValidity(O={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(O)),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Qt:He}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(O,g){if(this.asyncValidator){this.status=Rt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==g,shouldHaveEmitted:!1!==O};const J=Y(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(Me=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Me,{emitEvent:g,shouldHaveEmitted:O})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const O=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,O}return!1}setErrors(O,g={}){this.errors=O,this._updateControlsErrors(!1!==g.emitEvent,this,g.shouldHaveEmitted)}get(O){let g=O;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((J,Me)=>J&&J._find(Me),this)}getError(O,g){const J=g?this.get(g):this;return J?.errors?J.errors[O]:null}hasError(O,g){return!!this.getError(O,g)}get root(){let O=this;for(;O._parent;)O=O._parent;return O}_updateControlsErrors(O,g,J){this.status=this._calculateStatus(),O&&this.statusChanges.emit(this.status),(O||J)&&this._events.next(new Hn(this.status,g)),this._parent&&this._parent._updateControlsErrors(O,g,J)}_initObservables(){this.valueChanges=new R.bkB,this.statusChanges=new R.bkB}_calculateStatus(){return this._allControlsDisabled()?Qt:this.errors?mt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Rt)?Rt:this._anyControlsHaveStatus(mt)?mt:He}_anyControlsHaveStatus(O){return this._anyControls(g=>g.status===O)}_anyControlsDirty(){return this._anyControls(O=>O.dirty)}_anyControlsTouched(){return this._anyControls(O=>O.touched)}_updatePristine(O,g){const J=!this._anyControlsDirty(),Me=this.pristine!==J;this.pristine=J,O.onlySelf||this._parent?._updatePristine(O,g),Me&&this._events.next(new Ln(this.pristine,g))}_updateTouched(O={},g){this.touched=this._anyControlsTouched(),this._events.next(new mn(this.touched,g)),O.onlySelf||this._parent?._updateTouched(O,g)}_onDisabledChange=[];_registerOnCollectionChange(O){this._onCollectionChange=O}_setUpdateStrategy(O){Vt(O)&&null!=O.updateOn&&(this._updateOn=O.updateOn)}_parentMarkedDirty(O){return!O&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(O){return null}_assignValidators(O){this._rawValidators=Array.isArray(O)?O.slice():O,this._composedValidatorFn=function gr(p){return Array.isArray(p)?je(p):p||null}(this._rawValidators)}_assignAsyncValidators(O){this._rawAsyncValidators=Array.isArray(O)?O.slice():O,this._composedAsyncValidatorFn=function Ot(p){return Array.isArray(p)?bt(p):p||null}(this._rawAsyncValidators)}}class fn extends Xt{constructor(O,g,J){super(fr(g),Rr(J,g)),this.controls=O,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}
vendor: 12,851 bytes, line 1
1controls;registerControl(O,g){return this.controls[O]?this.controls[O]:(this.controls[O]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(O,g,J={}){this.registerControl(O,g),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}removeControl(O,g={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(O,g,J={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],g&&this.registerControl(O,g),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}contains(O){return this.controls.hasOwnProperty(O)&&this.controls[O].enabled}setValue(O,g={}){ft(this,0,O),Object.keys(O).forEach(J=>{dt(this,!0,J),this.controls[J].setValue(O[J],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(O,g={}){null!=O&&(Object.keys(O).forEach(J=>{const Me=this.controls[J];Me&&Me.patchValue(O[J],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(O={},g={}){this._forEachChild((J,Me)=>{J.reset(O?O[Me]:null,{...g,onlySelf:!0})}),this._updatePristine(g,this),this._updateTouched(g,this),this.updateValueAndValidity(g),!1!==g?.emitEvent&&this._events.next(new lr(this))}getRawValue(){return this._reduceChildren({},(O,g,J)=>(O[J]=g.getRawValue(),O))}_syncPendingControls(){let O=this._reduceChildren(!1,(g,J)=>!!J._syncPendingControls()||g);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){Object.keys(this.controls).forEach(g=>{const J=this.controls[g];J&&O(J,g)})}_setUpControls(){this._forEachChild(O=>{O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(O){for(const[g,J]of Object.entries(this.controls))if(this.contains(g)&&O(J))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,J,Me)=>((J.enabled||this.disabled)&&(g[Me]=J.value),g))}_reduceChildren(O,g){let J=O;return this._forEachChild((Me,_t)=>{J=g(J,Me,_t)}),J}_allControlsDisabled(){for(const O of Object.keys(this.controls))if(this.controls[O].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(O){return this.controls.hasOwnProperty(O)?this.controls[O]:null}}const Qn=fn;class Ve extends fn{}const W=new R.nKC("",{factory:()=>ue}),ue="always";function _e(p,O){return[...O.path,p]}function Se(p,O,g=ue){U(p,O),O.valueAccessor.writeValue(p.value),(p.disabled||"always"===g)&&O.valueAccessor.setDisabledState?.(p.disabled),function $(p,O){O.valueAccessor.registerOnChange(g=>{p._pendingValue=g,p._pendingChange=!0,p._pendingDirty=!0,"change"===p.updateOn&&Ae(p,O)})}(p,O),function Ye(p,O){const g=(J,Me)=>{O.valueAccessor.writeValue(J),Me&&O.viewToModelUpdate(J)};p.registerOnChange(g),O._registerOnDestroy(()=>{p._unregisterOnChange(g)})}(p,O),function he(p,O){O.valueAccessor.registerOnTouched(()=>{p._pendingTouched=!0,"blur"===p.updateOn&&p._pendingChange&&Ae(p,O),"submit"!==p.updateOn&&p.markAsTouched()})}(p,O),function Yt(p,O){if(O.valueAccessor.setDisabledState){const g=J=>{O.valueAccessor.setDisabledState(J)};p.registerOnDisabledChange(g),O._registerOnDestroy(()=>{p._unregisterOnDisabledChange(g)})}}(p,O)}function Dt(p,O,g=!0){const J=()=>{};O?.valueAccessor?.registerOnChange(J),O?.valueAccessor?.registerOnTouched(J),Ee(p,O),p&&(O._invokeOnDestroyCallbacks(),p._registerOnCollectionChange(()=>{}))}function kt(p,O){p.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(O)})}function U(p,O){const g=Je(p);null!==O.validator?p.setValidators(Xe(g,O.validator)):"function"==typeof g&&p.setValidators([g]);const J=rt(p);null!==O.asyncValidator?p.setAsyncValidators(Xe(J,O.asyncValidator)):"function"==typeof J&&p.setAsyncValidators([J]);const Me=()=>p.updateValueAndValidity();kt(O._rawValidators,Me),kt(O._rawAsyncValidators,Me)}function Ee(p,O){let g=!1;if(null!==p){if(null!==O.validator){const Me=Je(p);if(Array.isArray(Me)&&Me.length>0){const _t=Me.filter(Gt=>Gt!==O.validator);_t.length!==Me.length&&(g=!0,p.setValidators(_t))}}if(null!==O.asyncValidator){const Me=rt(p);if(Array.isArray(Me)&&Me.length>0){const _t=Me.filter(Gt=>Gt!==O.asyncValidator);_t.length!==Me.length&&(g=!0,p.setAsyncValidators(_t))}}}const J=()=>{};return kt(O._rawValidators,J),kt(O._rawAsyncValidators,J),g}function Ae(p,O){p._pendingDirty&&p.markAsDirty(),p.setValue(p._pendingValue,{emitModelToViewChange:!1}),O.viewToModelUpdate(p._pendingValue),p._pendingChange=!1}function ht(p,O){U(p,O)}function zn(p,O){if(!p.hasOwnProperty("model"))return!1;const g=p.model;return!!g.isFirstChange()||!Object.is(O,g.currentValue)}function ei(p,O){p._syncPendingControls(),O.forEach(g=>{const J=g.control;"submit"===J.updateOn&&J._pendingChange&&(g.viewToModelUpdate(J._pendingValue),J._pendingChange=!1)})}function Fn(p,O){if(!O)return null;let g,J,Me;return Array.isArray(O),O.forEach(_t=>{_t.constructor===Q?g=_t:function ii(p){return Object.getPrototypeOf(p.constructor)===H}(_t)?J=_t:Me=_t}),Me||J||g||null}const si={provide:Kt,useExisting:(0,R.Rfq)(()=>Lr)},Mr=Promise.resolve();let Lr=(()=>{class p extends Kt{callSetDisabledState;get submitted(){return(0,w.O8)(this.submittedReactive)}_submitted=(0,w.EW)(()=>this.submittedReactive());submittedReactive=(0,R.vPA)(!1);_directives=new Set;form;ngSubmit=new R.bkB;options;constructor(g,J,Me){super(),this.callSetDisabledState=Me,this.form=new fn({},je(g),bt(J))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(g){Mr.then(()=>{const J=this._findContainer(g.path);g.control=J.registerControl(g.name,g.control),Se(g.control,g,this.callSetDisabledState),g.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(g)})}getControl(g){return this.form.get(g.path)}removeControl(g){Mr.then(()=>{this._findContainer(g.path)?.removeControl(g.name),this._directives.delete(g)})}addFormGroup(g){Mr.then(()=>{const J=this._findContainer(g.path),Me=new fn({});ht(Me,g),J.registerControl(g.name,Me),Me.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(g){Mr.then(()=>{this._findContainer(g.path)?.removeControl?.(g.name)})}getFormGroup(g){return this.form.get(g.path)}updateModel(g,J){Mr.then(()=>{this.form.get(g.path).setValue(J)})}setValue(g){this.control.setValue(g)}onSubmit(g){return this.submittedReactive.set(!0),ei(this.form,this._directives),this.ngSubmit.emit(g),this.form._events.next(new ar(this.control)),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g=void 0){this.form.reset(g),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(g){return g.pop(),g.length?this.form.get(g):this.form}static \u0275fac=function(J){return new(J||p)(l.rXU(be,10),l.rXU(Te,10),l.rXU(W,8))};static \u0275dir=l.FsC({type:p,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,Me){1&J&&l.bIt("submit",function(Gt){return Me.onSubmit(Gt)})("reset",function(){return Me.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[l.Jv_([si]),l.Vt3]})}return p})();function _i(p,O){const g=p.indexOf(O);g>-1&&p.splice(g,1)}function Hr(p){return"object"==typeof p&&null!==p&&2===Object.keys(p).length&&"value"in p&&"disabled"in p}const Ai=class extends Xt{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(O=null,g,J){super(fr(g),Rr(J,g)),this._applyFormState(O),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Vt(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Hr(O)?O.value:O)}setValue(O,g={}){this.value=this._pendingValue=O,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(J=>J(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(O,g={}){this.setValue(O,g)}reset(O=this.defaultValue,g={}){this._applyFormState(O),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),g.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==g?.emitEvent&&this._events.next(new lr(this))}_updateValue(){}_anyControls(O){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(O){this._onChange.push(O)}_unregisterOnChange(O){_i(this._onChange,O)}registerOnDisabledChange(O){this._onDisabledChange.push(O)}_unregisterOnDisabledChange(O){_i(this._onDisabledChange,O)}_forEachChild(O){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(O){Hr(O)?(this.value=this._pendingValue=O.value,O.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=O}},it=Ai,hi={provide:un,useExisting:(0,R.Rfq)(()=>ji)},Oi=Promise.resolve();let ji=(()=>{class p extends un{_changeDetectorRef;callSetDisabledState;control=new Ai;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new R.bkB;constructor(g,J,Me,_t,Gt,vn){super(),this._changeDetectorRef=Gt,this.callSetDisabledState=vn,this._parent=g,this._setValidators(J),this._setAsyncValidators(Me),this.valueAccessor=Fn(0,_t)}ngOnChanges(g){if(this._checkForErrors(),!this._registered||"name"in g){if(this._registered&&(this._checkName(),this.formDirective)){const J=g.name.previousValue;this.formDirective.removeControl({name:J,path:this._getPath(J)})}this._setUpControl()}"isDisabled"in g&&this._updateDisabled(g),zn(g,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Se(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(g){Oi.then(()=>{this.control.setValue(g,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(g){const J=g.isDisabled.currentValue,Me=0!==J&&(0,v.L39)(J);Oi.then(()=>{Me&&!this.control.disabled?this.control.disable():!Me&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(g){return this._parent?_e(g,this._parent):[g]}static \u0275fac=function(J){return new(J||p)(l.rXU(Kt,9),l.rXU(be,10),l.rXU(Te,10),l.rXU(b,10),l.rXU(v.gRc,8),l.rXU(W,8))};static \u0275dir=l.FsC({type:p,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[l.Jv_([hi]),l.Vt3,l.OA$]})}return p})(),qr=(()=>{class p{static \u0275fac=function(J){return new(J||p)};static \u0275dir=l.FsC({type:p,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return p})();const ae={provide:b,useExisting:(0,R.Rfq)(()=>ze),multi:!0};let ze=(()=>{class p extends H{writeValue(g){this.setProperty("value",g??"")}registerOnChange(g){this.onChange=J=>{g(""==J?null:parseFloat(J))}}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,Me){1&J&&l.bIt("input",function(Gt){return Me.onChange(Gt.target.value)})("blur",function(){return Me.onTouched()})},standalone:!1,features:[l.Jv_([ae]),l.Vt3]})}return p})();const Ce={provide:b,useExisting:(0,R.Rfq)(()=>jt),multi:!0};let vt=(()=>{class p{_accessors=[];add(g,J){this._accessors.push([g,J])}remove(g){for(let J=this._accessors.length-1;J>=0;--J)if(this._accessors[J][1]===g)return void this._accessors.splice(J,1)}
1select(g){this._accessors.forEach(J=>{this._isSameGroup(J,g)&&J[1]!==g&&J[1].fireUncheck(g.value)})}_isSameGroup(g,J){return!!g[0].control&&g[0]._parent===J._control._parent&&g[1].name===J.name}static \u0275fac=function(J){return new(J||p)};static \u0275prov=R.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),jt=(()=>{class p extends H{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,R.WQX)(W,{optional:!0})??ue;constructor(g,J,Me,_t){super(g,J),this._registry=Me,this._injector=_t}ngOnInit(){this._control=this._injector.get(un),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(g){this._state=g===this.value,this.setProperty("checked",this._state)}registerOnChange(g){this._fn=g,this.onChange=()=>{g(this.value),this._registry.select(this)}}setDisabledState(g){(this.setDisabledStateFired||g||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",g),this.setDisabledStateFired=!0}fireUncheck(g){this.writeValue(g)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(J){return new(J||p)(l.rXU(l.sFG),l.rXU(l.aKT),l.rXU(vt),l.rXU(R.zZn))};static \u0275dir=l.FsC({type:p,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(J,Me){1&J&&l.bIt("change",function(){return Me.onChange()})("blur",function(){return Me.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[l.Jv_([Ce]),l.Vt3]})}return p})();const qt={provide:b,useExisting:(0,R.Rfq)(()=>pn),multi:!0};let pn=(()=>{class p extends H{writeValue(g){this.setProperty("value",parseFloat(g))}registerOnChange(g){this.onChange=J=>{g(""==J?null:parseFloat(J))}}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,Me){1&J&&l.bIt("change",function(Gt){return Me.onChange(Gt.target.value)})("input",function(Gt){return Me.onChange(Gt.target.value)})("blur",function(){return Me.onTouched()})},standalone:!1,features:[l.Jv_([qt]),l.Vt3]})}return p})();class Er extends Xt{constructor(O,g,J){super(fr(g),Rr(J,g)),this.controls=O,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(O){return this.controls[this._adjustIndex(O)]}push(O,g={}){Array.isArray(O)?O.forEach(J=>{this.controls.push(J),this._registerControl(J)}):(this.controls.push(O),this._registerControl(O)),this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}insert(O,g,J={}){this.controls.splice(O,0,g),this._registerControl(g),this.updateValueAndValidity({emitEvent:J.emitEvent})}removeAt(O,g={}){let J=this._adjustIndex(O);J<0&&(J=0),this.controls[J]&&this.controls[J]._registerOnCollectionChange(()=>{}),this.controls.splice(J,1),this.updateValueAndValidity({emitEvent:g.emitEvent})}setControl(O,g,J={}){let Me=this._adjustIndex(O);Me<0&&(Me=0),this.controls[Me]&&this.controls[Me]._registerOnCollectionChange(()=>{}),this.controls.splice(Me,1),g&&(this.controls.splice(Me,0,g),this._registerControl(g)),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(O,g={}){ft(this,0,O),O.forEach((J,Me)=>{dt(this,!1,Me),this.at(Me).setValue(J,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(O,g={}){null!=O&&(O.forEach((J,Me)=>{this.at(Me)&&this.at(Me).patchValue(J,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(O=[],g={}){this._forEachChild((J,Me)=>{J.reset(O[Me],{...g,onlySelf:!0})}),this._updatePristine(g,this),this._updateTouched(g,this),this.updateValueAndValidity(g),!1!==g?.emitEvent&&this._events.next(new lr(this))}getRawValue(){return this.controls.map(O=>O.getRawValue())}clear(O={}
1){this.controls.length<1||(this._forEachChild(g=>g._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:O.emitEvent}))}_adjustIndex(O){return O<0?O+this.length:O}_syncPendingControls(){let O=this.controls.reduce((g,J)=>!!J._syncPendingControls()||g,!1);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){this.controls.forEach((g,J)=>{O(g,J)})}_updateValue(){this.value=this.controls.filter(O=>O.enabled||this.disabled).map(O=>O.value)}_anyControls(O){return this.controls.some(g=>g.enabled&&O(g))}_setUpControls(){this._forEachChild(O=>this._registerControl(O))}_allControlsDisabled(){for(const O of this.controls)if(O.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(O){O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)}_find(O){return this.at(O)??null}}let ur=(()=>{class p extends Kt{callSetDisabledState;get submitted(){return(0,w.O8)(this._submittedReactive)}set submitted(g){this._submittedReactive.set(g)}_submitted=(0,w.EW)(()=>this._submittedReactive());_submittedReactive=(0,R.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(g,J,Me){super(),this.callSetDisabledState=Me,this._setValidators(g),this._setAsyncValidators(J)}ngOnChanges(g){this.onChanges(g)}ngOnDestroy(){this.onDestroy()}onChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Ee(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(g){const J=this.form.get(g.path);return Se(J,g,this.callSetDisabledState),J.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),J}getControl(g){return this.form.get(g.path)}
1removeControl(g){Dt(g.control||null,g,!1),function qn(p,O){const g=p.indexOf(O);g>-1&&p.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}getFormArray(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}updateModel(g,J){this.form.get(g.path).setValue(J)}onReset(){this.resetForm()}resetForm(g=void 0,J={}){this.form.reset(g,J),this._submittedReactive.set(!1)}onSubmit(g){return this.submitted=!0,ei(this.form,this.directives),this.ngSubmit.emit(g),this.form._events.next(new ar(this.control)),"dialog"===g?.target?.method}_updateDomValue(){this.directives.forEach(g=>{const J=g.control,Me=this.form.get(g.path);J!==Me&&(Dt(J||null,g),(p=>p instanceof Ai)(Me)&&(Se(Me,g,this.callSetDisabledState),g.control=Me))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const J=this.form.get(g.path);ht(J,g),J.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){const J=this.form?.get(g.path);J&&function Wt(p,O){return Ee(p,O)}(J,g)&&J.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){U(this.form,this),this._oldForm&&Ee(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(J){return new(J||p)(l.rXU(be,10),l.rXU(Te,10),l.rXU(W,8))};static \u0275dir=l.FsC({type:p,features:[l.Vt3,l.OA$]})}return p})();const oi=new R.nKC(""),Ni={provide:un,useExisting:(0,R.Rfq)(()=>ti)};let ti=(()=>{class p extends un{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(g){}model;update=new R.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(g,J,Me,_t,Gt){super(),this._ngModelWarningConfig=_t,this.callSetDisabledState=Gt,this._setValidators(g),this._setAsyncValidators(J),this.valueAccessor=Fn(0,Me)}ngOnChanges(g){if(this._isControlChanged(g)){const J=g.form.previousValue;J&&Dt(J,this,!1),Se(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}zn(g,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Dt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_isControlChanged(g){return g.hasOwnProperty("form")}static \u0275fac=function(J){return new(J||p)(l.rXU(be,10),l.rXU(Te,10),l.rXU(b,10),l.rXU(oi,8),l.rXU(W,8))};static \u0275dir=l.FsC({type:p,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[l.Jv_([Ni]),l.Vt3,l.OA$]})}return p})();const Vi={provide:un,useExisting:(0,R.Rfq)(()=>Ri)};let Ri=(()=>{class p extends un{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(g){}model;update=new R.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(g,J,Me,_t,Gt){super(),this._ngModelWarningConfig=Gt,this._parent=g,this._setValidators(J),this._setAsyncValidators(Me),this.valueAccessor=Fn(0,_t)}ngOnChanges(g){this._added||this._setUpControl(),zn(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return _e(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(J){return new(J||p)(l.rXU(Kt,13),l.rXU(be,10),l.rXU(Te,10),l.rXU(b,10),l.rXU(oi,8))};static \u0275dir=l.FsC({type:p,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[l.Jv_([Vi]),l.Vt3,l.OA$]})}return p})();const Zi={provide:Kt,useExisting:(0,R.Rfq)(()=>Ss)};let Ss=(()=>{class p extends ur{form=null;ngSubmit=new R.bkB;get control(){return this.form}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["","formGroup",""]],hostBindings:function(J,Me){1&J&&l.bIt("submit",function(Gt){return Me.onSubmit(Gt)})("reset",function(){return Me.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[l.Jv_([Zi]),l.Vt3]})}return p})();const no={provide:b,useExisting:(0,R.Rfq)(()=>as),multi:!0};function is(p,O){return null==p?`${O}`:(O&&"object"==typeof O&&(O="Object"),`${p}: ${O}`.slice(0,50))}let as=(()=>{class p extends H{value;_optionMap=new Map;_idCounter=0;set compareWith(g){this._compareWith=g}_compareWith=Object.is;appRefInjector=(0,R.WQX)(l.o8S).injector;destroyRef=(0,R.WQX)(R.abz);cdr=(0,R.WQX)(v.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.de
1stroyed||(this._queuedWrite=!0,(0,l.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(g){this.cdr.markForCheck(),this.value=g;const Me=is(this._getOptionId(g),g);this.setProperty("value",Me)}registerOnChange(g){this.onChange=J=>{this.value=this._getOptionValue(J),g(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(g){for(const J of this._optionMap.keys())if(this._compareWith(this._optionMap.get(J),g))return J;return null}_getOptionValue(g){const J=function ro(p){return p.split(":")[0]}(g);return this._optionMap.has(J)?this._optionMap.get(J):g}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,Me){1&J&&l.bIt("change",function(Gt){return Me.onChange(Gt.target.value)})("blur",function(){return Me.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[l.Jv_([no]),l.Vt3]})}return p})(),vi=(()=>{class p{_element;_renderer;_select;id;constructor(g,J,Me){this._element=g,this._renderer=J,this._select=Me,this._select&&(this.id=this._select._registerOption())}set ngValue(g){null!=this._select&&(this._select._optionMap.set(this.id,g),this._setElementValue(is(this.id,g)),this._select._writeValueAfterRender())}set value(g){this._setElementValue(g),this._select?._writeValueAfterRender()}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(J){return new(J||p)(l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(as,9))};static \u0275dir=l.FsC({type:p,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return p})();const Fi={provide:b,useExisting:(0,R.Rfq)(()=>Pi),multi:!0};function bs(p,O){return null==p?`${O}`:("string"==typeof O&&(O=`'${O}'`),O&&"object"==typeof O&&(O="Object"),`${p}: ${O}`.slice(0,50))}let Pi=(()=>{class p extends H{value;_optionMap=new Map;_idCounter=0;set compareWith(g){this._compareWith=g}_compareWith=Object.is;writeValue(g){let J;if(this.value=g,Array.isArray(g)){const Me=g.map(_t=>this._getOptionId(_t));J=(_t,Gt)=>{_t._setSelected(Me.indexOf(Gt)>-1)}}else J=Me=>{Me._setSelected(!1)};this._optionMap.forEach(J)}registerOnChange(g){this.onChange=J=>{const Me=[],_t=J.selectedOptions;if(void 0!==_t){const Gt=_t;for(let vn=0;vn<Gt.length;vn++){const Un=this._getOptionValue(Gt[vn].value);Me.push(Un)}}else{const Gt=J.options;for(let vn=0;vn<Gt.length;vn++){const yr=Gt[vn];if(yr.selected){const Un=this._getOptionValue(yr.value);Me.push(Un)}}}this.value=Me,g(Me)}}_registerOption(g){const J=(this._idCounter++).toString();return this._optionMap.set(J,g),J}_getOptionId(g){for(const J of this._optionMap.keys())if(this._compareWith(this._optionMap.get(J)._value,g))return J;return null}_getOptionValue(g){const J=function ni(p){return p.split(":")[0]}(g);return this._optionMap.has(J)?this._optionMap.get(J)._value:g}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(J,Me){1&J&&l.bIt("change",function(Gt){return Me.onChange(Gt.target)})("blur",function(){return Me.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[l.Jv_([Fi]),l.Vt3]})}return p})(),fs=(()=>{class p{_element;_renderer;_select;id;_value;constructor(g,J,Me){this._element=g,this._renderer=J,this._select=Me,this._select&&(this.id=this._select._registerOption(this))}set ngValue(g){null!=this._select&&(this._value=g,this._setElementValue(bs(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._select?(this._value=g,this._setElementValue(bs(this.id,g)),this._select.writeValue(this._select.value)):this._setElementValue(g)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}_setSelected(g){this._renderer.setProperty(this._element.nativeElement,"selected",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static \u0275fac=function(J){return new(J||p)(l.rXU(l.aKT),l.rXU(l.sFG),l.rXU(Pi,9))};static \u0275dir=l.FsC({type:p,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return p})();function As(p){return"number"==typeof p?p:parseInt(p,10)}function _o(p){return"number"==typeof p?p:parseFloat(p)}let fi=(()=>{class p{_validator=se;_onChange;_enabled;ngOnChanges(g){if(this.inputName in g){const J=this.normalizeInput(g[this.inputName].currentValue);this._enabled=this.enabled(J),this._validator=this._enabled?this.createValidator(J):se,this._onChange?.()}}validate(g){return this._validator(g)}registerOnValidatorChange(g){this._onChange=g}enabled(g){return null!=g}static \u0275fac=function(J){return new(J||p)};static \u0275dir=l.FsC({type:p,features:[l.OA$]})}return p})();const Wi={provide:be,useExisting:(0,R.Rfq)(()=>ks),multi:!0};let ks=(()=>{class p extends fi{max;inputName="max";normalizeInput=g=>_o(g);createValidator=g=>Ue(g);static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(J,Me){2&J&&l.BMQ("max",Me._enabled?Me.max:null)},inputs:{max:"max"},standalone:!1,features:[l.Jv_([Wi]),l.Vt3]})}return p})();const xs={provide:be,useExisting:(0,R.Rfq)(()=>ai),multi:!0};let ai=(()=>{class p extends fi{min;inputName="min";normalizeInput=g=>_o(g);createValidator=g=>Oe(g);static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(J,Me){2&J&&l.BMQ("min",Me._enabled?Me.min:null)},inputs:{min:"min"},standalone:!1,features:[l.Jv_([xs]),l.Vt3]})}return p})();const Ls={provide:be,useExisting:(0,R.Rfq)(()=>ss),multi:!0};let ss=(()=>{class p extends fi{required;inputName="required";normalizeInput=v.L39;createValidator=g=>Be;enabled(g){return g}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(J,Me){2&J&&l.BMQ("required",Me._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[l.Jv_([Ls]),l.Vt3]})}return p})();const os={provide:be,useExisting:(0,R.Rfq)(()=>Ji),multi:!0};let Ji=(()=>{class p extends fi{email;inputName="email";normalizeInput=v.L39;createValidator=g=>et;enabled(g){return g}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[l.Jv_([os]),l.Vt3]})}return p})();const io={provide:be,useExisting:(0,R.Rfq)(()=>Hs),multi:!0};let Hs=(()=>{class p extends fi{minlength;inputName="minlength";normalizeInput=g=>As(g);createValidator=g=>pt(g);static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,Me){2&J&&l.BMQ("minlength",Me._enabled?Me.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[l.Jv_([io]),l.Vt3]})}return p})();const so={provide:be,useExisting:(0,R.Rfq)(()=>ls),multi:!0};let ls=(()=>{class p extends fi{maxlength;inputName="maxlength";normalizeInput=g=>As(g);createValidator=g=>Ct(g);static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275dir=l.FsC({type:p,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,Me){2&J&&l.BMQ("maxlength",Me._enabled?Me.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[l.Jv_([so]),l.Vt3]})}return p})(),Ns=(()=>{class p{static \u0275fac=function(J){return new(J||p)};static \u0275mod=l.$C({type:p});static \u0275inj=R.G2t({})}return p})();function Gs(p){return!!p&&(void 0!==p.asyncValidators||void 0!==p.validators||void 0!==p.updateOn)}let yo=(()=>{class p{useNonNullable=!1;get nonNullable(){const g=new p;return g.useNonNullable=!0,g}group(g,J=null){const Me=this._reduceControls(g);let _t={};return Gs(J)?_t=J:null!==J&&(_t.validators=J.validator,_t.asyncValidators=J.asyncValidator),new fn(Me,_t)}record(g,J=null){const Me=this._reduceControls(g);return new Ve(Me,J)}control(g,J,Me){let _t={};return this.useNonNullable?(Gs(J)?_t=J:(_t.validators=J,_t.asyncValidators=Me),new Ai(g,{..._t,nonNullable:!0})):new Ai(g,J,Me)}array(g,J,Me){const _t=g.map(Gt=>this._createControl(Gt));return new Er(_t,J,Me)}_reduceControls(g){const J={};return Object.keys(g).forEach(Me=>{J[Me]=this._createControl(g[Me])}),J}_createControl(g){return g instanceof Ai||g instanceof Xt?g:Array.isArray(g)?this.control(g[0],g.length>1?g[1]:null,g.length>2?g[2]:null):this.control(g)}static \u0275fac=function(J){return new(J||p)};static \u0275prov=R.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),M=(()=>{class p extends yo{group(g,J=null){return super.group(g,J)}control(g,J,Me){return super.control(g,J,Me)}array(g,J,Me){return super.array(g,J,Me)}static \u0275fac=(()=>{let g;return function(Me){return(g||(g=l.xGo(p)))(Me||p)}})();static \u0275prov=R.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),k=(()=>{class p{static withConfig(g){return{ngModule:p,providers:[{provide:W,useValue:g.callSetDisabledState??ue}]}}static \u0275fac=function(J){return new(J||p)};static \u0275mod=l.$C({type:p});static \u0275inj=R.G2t({imports:[Ns]})}return p})(),re=(()=>{class p{static withConfig(g){return{ngModule:p,providers:[{provide:oi,useValue:g.warnOnNgModelWithFormControl??"always"},{provide:W,useValue:g.callSetDisabledState??ue}]}}static \u0275fac=function(J){return new(J||p)};static \u0275mod=l.$C({type:p});static \u0275inj=R.G2t({imports:[Ns]})}return p})()},8649(qe,P,c){"use strict";c.d(P,{Rc:()=>S,_J:()=>w});var o=c(1535),u=c(5547),l=c(5802);const R=new l.nKC("MATERIAL_ANIMATIONS");let v=null;function w(){return(0,l.WQX)(R,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,l.WQX)(u.bc$,{optional:!0})?"di-disabled":(v??=(0,l.WQX)(o.D).matchMedia("(prefers-reduced-motion)").matches,v?"reduced-motion":"enabled")}function S(){return"enabled"!==w()}},454(qe,P,c){"use strict";c.d(P,{Ju:()=>R,MJ:()=>w,de:()=>S});var o=c(5547),u=c(5802),l=c(1413);const R=new u.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>(0,u.WQX)(o.xe9)}),v="Method not implemented";class w{locale;_localeChanges=new l.B;localeChanges=this._localeChanges;setTime(E,h,f,y){throw new Error(v)}getHours(E){throw new Error(v)}getMinutes(E){throw new Error(v)}getSeconds(E){throw new Error(v)}parseTime(E,h){throw new Error(v)}addSeconds(E,h){throw new Error(v)}getValidDateOrNull(E){return this.isDateInstance(E)&&this.isValid(E)?E:null}deserialize(E){return null==E||this.isDateInstance(E)&&this.isValid(E)?E:this.invalid()}setLocale(E){this.locale=E,this._localeChanges.next()}compareDate(E,h){return this.getYear(E)-this.getYear(h)||this.getMonth(E)-this.getMonth(h)||this.getDate(E)-this.getDate(h)}compareTime(E,h){return this.getHours(E)-this.getHours(h)||this.getMinutes(E)-this.getMinutes(h)||this.get
vendor: 5,012 bytes, line 1
1Seconds(E)-this.getSeconds(h)}sameDate(E,h){if(E&&h){let f=this.isValid(E),y=this.isValid(h);return f&&y?!this.compareDate(E,h):f==y}return E==h}sameTime(E,h){if(E&&h){const f=this.isValid(E),y=this.isValid(h);return f&&y?!this.compareTime(E,h):f==y}return E==h}clampDate(E,h,f){return h&&this.compareDate(E,h)<0?h:f&&this.compareDate(E,f)>0?f:E}}const S=new u.nKC("mat-date-formats")},8943(qe,P,c){"use strict";c.d(P,{$E:()=>ce,EX:()=>b,r6:()=>be,ug:()=>Q});var o=c(7421),u=c(9867),l=c(1539),R=c(5547),v=c(5802),w=c(3250),S=c(7384),L=c(3293),E=c(8649),h=function(Te){return Te[Te.FADING_IN=0]="FADING_IN",Te[Te.VISIBLE=1]="VISIBLE",Te[Te.FADING_OUT=2]="FADING_OUT",Te[Te.HIDDEN=3]="HIDDEN",Te}(h||{});class f{_renderer;element;config;_animationForciblyDisabledThroughCss;state=h.HIDDEN;constructor(we,$e,Oe,Ue=!1){this._renderer=we,this.element=$e,this.config=Oe,this._animationForciblyDisabledThroughCss=Ue}fadeOut(){this._renderer.fadeOutRipple(this)}}const y=(0,l.B)({passive:!0,capture:!0});class H{_events=new Map;addHandler(we,$e,Oe,Ue){const Be=this._events.get($e);if(Be){const lt=Be.get(Oe);lt?lt.add(Ue):Be.set(Oe,new Set([Ue]))}else this._events.set($e,new Map([[Oe,new Set([Ue])]])),we.runOutsideAngular(()=>{document.addEventListener($e,this._delegateEventHandler,y)})}removeHandler(we,$e,Oe){const Ue=this._events.get(we);if(!Ue)return;const Be=Ue.get($e);Be&&(Be.delete(Oe),0===Be.size&&Ue.delete($e),0===Ue.size&&(this._events.delete(we),document.removeEventListener(we,this._delegateEventHandler,y)))}_delegateEventHandler=we=>{const $e=(0,u.Fb)(we);$e&&this._events.get(we.type)?.forEach((Oe,Ue)=>{(Ue===$e||Ue.contains($e))&&Oe.forEach(Be=>Be.handleEvent(we))})}}const b={enterDuration:225,exitDuration:150},A=(0,l.B)({passive:!0,capture:!0}),C=["mousedown","touchstart"],V=["mouseup","mouseleave","touchend","touchcancel"];let B=(()=>{class Te{static \u0275fac=function(Oe){return new(Oe||Te)};static \u0275cmp=R.VBU({type:Te,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(Oe,Ue){},styles:[".mat-ripple {\n overflow: hidden;\n position: relative;\n}\n.mat-ripple:not(:empty) {\n transform: translateZ(0);\n}\n\n.mat-ripple.mat-ripple-unbounded {\n overflow: visible;\n}\n\n.mat-ripple-element {\n position: absolute;\n border-radius: 50%;\n pointer-events: none;\n transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);\n transform: scale3d(0, 0, 0);\n background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent));\n}\n@media (forced-colors: active) {\n .mat-ripple-element {\n display: none;\n }\n}\n.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {\n display: none;\n}\n"],encapsulation:2,changeDetection:0})}return Te})();class Q{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new H;constructor(we,$e,Oe,Ue,Be){this._target=we,this._ngZone=$e,this._platform=Ue,Ue.isBrowser&&(this._containerElement=(0,S.i8)(Oe)),Be&&Be.get(L.l).load(B)}fadeInRipple(we,$e,Oe={}){const Ue=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Be={...b,...Oe.animation};Oe.centered&&(we=Ue.left+Ue.width/2,$e=Ue.top+Ue.height/2);const lt=Oe.radius||function Z(Te,we,$e){const Oe=Math.max(Math.abs(Te-$e.left),Math.abs(Te-$e.right)),Ue=Math.max(Math.abs(we-$e.top),Math.abs(we-$e.bottom));return Math.sqrt(Oe*Oe+Ue*Ue)}(we,$e,Ue),et=we-Ue.left,pt=$e-Ue.top,Ct=Be.enterDuration,st=document.createElement("div");st.classList.add("mat-ripple-element"),st.style.left=et-lt+"px",st.style.top=pt-lt+"px",st.style.height=2*lt+"px",st.style.width=2*lt+"px",null!=Oe.color&&(st.style.backgroundColor=Oe.color),st.style.transitionDuration=`${Ct}ms`,this._containerElement.appendChild(st);const se=window.getComputedStyle(st),Y=se.transitionDuration,ee="none"===se.transitionProperty||"0s"===Y||"0s, 0s"===Y||0===Ue.width&&0===Ue.height,fe=new f(this,st,Oe,ee);st.style.transform="scale3d(1, 1, 1)",fe.state=h.FADING_IN,Oe.persistent||(this._mostRecentTransientRipple=fe);let ye=null;return!ee&&(Ct||Be.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ge=()=>{ye&&(ye.fallbackTimer=null),clearTimeout(je),this._finishRippleTransition(fe)},Ne=()=>this._destroyRipple(fe),je=setTimeout(Ne,Ct+100);st.addEventListener("transitionend",ge),st.addEventListener("transitioncancel",Ne),ye={onTransitionEnd:ge,onTransitionCancel:Ne,fallbackTimer:je}}),this._activeRipples.set(fe,ye),(ee||!Ct)&&this._finishRippleTransition(fe),fe}fadeOutRipple(we){if(we.state===h.FADING_OUT||we.state===h.HIDDEN)return;const $e=we.element,Oe={...b,...we.config.animation};$e.style.transitionDuration=`${Oe.exitDuration}ms`,$e.style.opacity="0",we.state=h.FADING_OUT,(we._animationForciblyDisabledThroughCss||!Oe.exitDuration)&&this._finishRippleTransition(we)}
vendor: 6,457 bytes, line 1
1fadeOutAll(){this._getActiveRipples().forEach(we=>we.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(we=>{we.config.persistent||we.fadeOut()})}setupTriggerEvents(we){const $e=(0,S.i8)(we);!this._platform.isBrowser||!$e||$e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=$e,C.forEach(Oe=>{Q._eventManager.addHandler(this._ngZone,Oe,$e,this)}))}handleEvent(we){"mousedown"===we.type?this._onMousedown(we):"touchstart"===we.type?this._onTouchStart(we):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{V.forEach($e=>{this._triggerElement.addEventListener($e,this,A)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(we){we.state===h.FADING_IN?this._startFadeOutTransition(we):we.state===h.FADING_OUT&&this._destroyRipple(we)}_startFadeOutTransition(we){const $e=we===this._mostRecentTransientRipple,{persistent:Oe}=we.config;we.state=h.VISIBLE,!Oe&&(!$e||!this._isPointerDown)&&we.fadeOut()}_destroyRipple(we){const $e=this._activeRipples.get(we)??null;this._activeRipples.delete(we),this._activeRipples.size||(this._containerRect=null),we===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),we.state=h.HIDDEN,null!==$e&&(we.element.removeEventListener("transitionend",$e.onTransitionEnd),we.element.removeEventListener("transitioncancel",$e.onTransitionCancel),null!==$e.fallbackTimer&&clearTimeout($e.fallbackTimer)),we.element.remove()}_onMousedown(we){const $e=(0,w._)(we),Oe=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!$e&&!Oe&&(this._isPointerDown=!0,this.fadeInRipple(we.clientX,we.clientY,this._target.rippleConfig))}_onTouchStart(we){if(!this._target.rippleDisabled&&!(0,w.w)(we)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const $e=we.changedTouches;if($e)for(let Oe=0;Oe<$e.length;Oe++)this.fadeInRipple($e[Oe].clientX,$e[Oe].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(we=>{!we.config.persistent&&(we.state===h.VISIBLE||we.config.terminateOnPointerUp&&we.state===h.FADING_IN)&&we.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const we=this._triggerElement;we&&(C.forEach($e=>Q._eventManager.removeHandler($e,we,this)),this._pointerUpEventsRegistered&&(V.forEach($e=>we.removeEventListener($e,this,A)),this._pointerUpEventsRegistered=!1))}}const ce=new v.nKC("mat-ripple-global-options");let be=(()=>{class Te{_elementRef=(0,v.WQX)(R.aKT);_animationsDisabled=(0,E.Rc)();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled($e){$e&&this.fadeOutAllNonPersistent(),this._disabled=$e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger($e){this._trigger=$e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const $e=(0,v.WQX)(v.SKi),Oe=(0,v.WQX)(o.O),Ue=(0,v.WQX)(ce,{optional:!0}),Be=(0,v.WQX)(v.zZn);this._globalOptions=Ue||{},this._rippleRenderer=new Q(this,$e,this._elementRef,Oe,Be)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,...this._animationsDisabled?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch($e,Oe=0,Ue){return"number"==typeof $e?this._rippleRenderer.fadeInRipple($e,Oe,{...this.rippleConfig,...Ue}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...$e})}static \u0275fac=function(Oe){return new(Oe||Te)};static \u0275dir=R.FsC({type:Te,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Oe,Ue){2&Oe&&R.AVh("mat-ripple-unbounded",Ue.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return Te})()},1767(qe,P,c){"use strict";c.d(P,{A:()=>u});var o=c(5547);let u=(()=>{class l{static \u0275fac=function(w){return new(w||l)};static \u0275cmp=o.VBU({type:l,selectors:[["structural-styles"]],decls:0,vars:0,template:function(w,S){},styles:['.mat-focus-indicator {\n position: relative;\n}\n.mat-focus-indicator::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n box-sizing: border-box;\n pointer-events: none;\n display: var(--mat-focus-indicator-display, none);\n border-width: var(--mat-focus-indicator-border-width, 3px);\n border-style: var(--mat-focus-indicator-border-style, solid);\n border-color: var(--mat-focus-indicator-border-color, transparent);\n border-radius: var(--mat-focus-indicator-border-radius, 4px);\n}\n.mat-focus-indicator:focus-visible::before {\n content: "";\n}\n\n@media (forced-colors: active) {\n html {\n --mat-focus-indicator-display: block;\n }\n}\n'],encapsulation:2,changeDetection:0})}return l})()},9714(qe,P,c){"use strict";c.d(P,{oV:()=>et});var o=c(6977),u=c(4085),l=c(7384),R=c(7336),v=c(413),w=c(5547),S=c(5157),L=c(5802),E=c(7421),h=c(144),f=c(6537),y=c(9752),H=c(5820),b=c(5478),N=c(6939),A=c(1535),C=c(1413),V=c(8649);const B=["tooltip"],ce=new L.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const Ct=(0,L.WQX)(L.zZn);return()=>(0,H.RH)(Ct,{scrollThrottle:20})}}),be=new L.nKC("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})}),we="tooltip-panel",$e={passive:!0};let et=(()=>{class Ct{_elementRef=(0,L.WQX)(w.aKT);_ngZone=(0,L.WQX)(L.SKi);_platform=(0,L.WQX)(E.O);_ariaDescriber=(0,L.WQX)(h.vr);_focusMonitor=(0,L.WQX)(f.FN);_dir=(0,L.WQX)(y.dS);_injector=(0,L.WQX)(L.zZn);
vendor: 7,863 bytes, line 1
1_viewContainerRef=(0,L.WQX)(w.c1b);_mediaMatcher=(0,L.WQX)(A.D);_document=(0,L.WQX)(L.qQL);_renderer=(0,L.WQX)(w.sFG);_animationsDisabled=(0,V.Rc)();_defaultOptions=(0,L.WQX)(be,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=pt;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(se){se!==this._position&&(this._position=se,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(se){this._positionAtOrigin=(0,u.he)(se),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(se){const me=(0,u.he)(se);this._disabled!==me&&(this._disabled=me,me?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(se){this._showDelay=(0,l.OE)(se)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(se){this._hideDelay=(0,l.OE)(se),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(se){const me=this._message;this._message=null!=se?String(se).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(me)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(se){this._tooltipClass=se,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new C.B;_isDestroyed=!1;constructor(){const se=this._defaultOptions;se&&(this._showDelay=se.showDelay,this._hideDelay=se.hideDelay,se.position&&(this.position=se.position),se.positionAtOrigin&&(this.positionAtOrigin=se.positionAtOrigin),se.touchGestures&&(this.touchGestures=se.touchGestures),se.tooltipClass&&(this.tooltipClass=se.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,o.Q)(this._destroyed)).subscribe(se=>{se?"keyboard"===se&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const se=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(me=>me()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(se,this.message,"tooltip"),this._focusMonitor.stopMonitoring(se)}show(se=this.showDelay,me){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Y=this._createOverlay(me);this._detach(),this._portal=this._portal||new N.A8(this._tooltipComponent,this._viewContainerRef);const ee=this._tooltipInstance=Y.attach(this._portal).instance;ee._triggerElement=this._elementRef.nativeElement,ee._mouseLeaveHideDelay=this._hideDelay,ee.afterHidden().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ee.show(se)}hide(se=this.hideDelay){const me=this._tooltipInstance;me&&(me.isVisible()?me.hide(se):(me._cancelPendingAnimations(),this._detach()))}toggle(se){this._isTooltipVisible()?this.hide():this.show(void 0,se)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(se){if(this._overlayRef){const fe=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!se)&&fe._origin instanceof w.aKT)return this._overlayRef;this._detach()}const me=this._injector.get(b.R).getAncestorScrollContainers(this._elementRef),Y=`${this._cssClassPrefix}-${we}`,ee=(0,H.$M)(this._injector,this.positionAtOrigin&&se||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(me).withPopoverLocation("global");return ee.positionChanges.pipe((0,o.Q)(this._destroyed)).subscribe(fe=>{this._updateCurrentPositionClass(fe.connectionPair),this._tooltipInstance&&fe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,H.Y$)(this._injector,{direction:this._dir,positionStrategy:ee,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,Y]:Y,scrollStrategy:this._injector.get(ce)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,o.Q)(this._destroyed)).subscribe(fe=>{fe.preventDefault(),fe.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,o.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(se){const me=se.getConfig().positionStrategy,Y=this._getOrigin(),ee=this._getOverlayPosition();me.withPositions([this._addOffset({...Y.main,...ee.main}),this._addOffset({...Y.fallback,...ee.fallback})])}_addOffset(se){const Y=!this._dir||"ltr"==this._dir.value;return"top"===se.originY?se.offsetY=-8:"bottom"===se.originY?se.offsetY=8:"start"===se.originX?se.offsetX=Y?-8:8:"end"===se.originX&&(se.offsetX=Y?8:-8),se}_getOrigin(){const se=!this._dir||"ltr"==this._dir.value,me=this.position;let Y;"above"==me||"below"==me?Y={originX:"center",originY:"above"==me?"top":"bottom"}:"before"==me||"left"==me&&se||"right"==me&&!se?Y={originX:"start",originY:"center"}:("after"==me||"right"==me&&se||"left"==me&&!se)&&(Y={originX:"end",originY:"center"});const{x:ee,y:fe}=this._invertPosition(Y.originX,Y.originY);return{main:Y,fallback:{originX:ee,originY:fe}}}_getOverlayPosition(){const se=!this._dir||"ltr"==this._dir.value,me=this.position;let Y;"above"==me?Y={overlayX:"center",overlayY:"bottom"}:"below"==me?Y={overlayX:"center",overlayY:"top"}:"before"==me||"left"==me&&se||"right"==me&&!se?Y={overlayX:"end",overlayY:"center"}:("after"==me||"right"==me&&se||"left"==me&&!se)&&(Y={overlayX:"start",overlayY:"center"});const{x:ee,y:fe}=this._invertPosition(Y.overlayX,Y.overlayY);return{main:Y,fallback:{overlayX:ee,overlayY:fe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,w.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(se){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=se instanceof Set?Array.from(se):se,this._tooltipInstance._markForCheck())}_invertPosition(se,me){return"above"===this.position||"below"===this.position?"top"===me?me="bottom":"bottom"===me&&(me="top"):"end"===se?se="start":"start"===se&&(se="end"),{x:se,y:me}}_updateCurrentPositionClass(se){const{overlayY:me,originX:Y,originY:ee}=se;let fe;if(fe="center"===me?this._dir&&"rtl"===this._dir.value?"end"===Y?"left"
vendor: 7,470 bytes, line 1
1:"right":"start"===Y?"left":"right":"bottom"===me&&"top"===ee?"above":"below",fe!==this._currentPosition){const ye=this._overlayRef;if(ye){const ge=`${this._cssClassPrefix}-${we}-`;ye.removePanelClass(ge+this._currentPosition),ye.addPanelClass(ge+fe)}this._currentPosition=fe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",se=>{const me=se.targetTouches?.[0],Y=me?{x:me.clientX,y:me.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,Y)},this._defaultOptions?.touchLongPressShowDelay??500)})):this._addListener("mouseenter",se=>{let me;this._setupPointerExitEventsIfNeeded(),void 0!==se.x&&void 0!==se.y&&(me=se),this.show(void 0,me)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized)if(this._pointerExitEventsInitialized=!0,this._isTouchPlatform()){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const se=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",se),this._addListener("touchcancel",se)}}else this._addListener("mouseleave",se=>{const me=se.relatedTarget;(!me||!this._overlayRef?.overlayElement.contains(me))&&this.hide()}),this._addListener("wheel",se=>{if(this._isTooltipVisible()){const me=this._document.elementFromPoint(se.clientX,se.clientY),Y=this._elementRef.nativeElement;me!==Y&&!Y.contains(me)&&this.hide()}})}_addListener(se,me){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,se,me,$e))}_isTouchPlatform(){const se=this._defaultOptions?.detectHoverCapability;return"function"==typeof se?!se():!(!this._platform.IOS&&!this._platform.ANDROID)||!!this._platform.isBrowser&&!!se&&this._mediaMatcher.matchMedia("(any-hover: none)").matches}_disableNativeGesturesIfNecessary(){const se=this.touchGestures;if("off"!==se){const me=this._elementRef.nativeElement,Y=me.style;("on"===se||"INPUT"!==me.nodeName&&"TEXTAREA"!==me.nodeName)&&(Y.userSelect=Y.msUserSelect=Y.webkitUserSelect=Y.MozUserSelect="none"),("on"===se||!me.draggable)&&(Y.webkitUserDrag="none"),Y.touchAction="none",Y.webkitTapHighlightColor="transparent"}}_syncAriaDescription(se){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,se,"tooltip"),this._isDestroyed||(0,w.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=se=>"keydown"!==se.type||this._isTooltipVisible()&&se.keyCode===v._f&&!(0,R.rp)(se);static \u0275fac=function(me){return new(me||Ct)};static \u0275dir=w.FsC({type:Ct,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(me,Y){2&me&&w.AVh("mat-mdc-tooltip-disabled",Y.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return Ct})(),pt=(()=>{class Ct{_changeDetectorRef=(0,L.WQX)(S.gRc);_elementRef=(0,L.WQX)(w.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,V.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new C.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(se){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},se)}hide(se){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},se)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:se}){(!se||!this._triggerElement.contains(se))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const se=this._elementRef.nativeElement.getBoundingClientRect();return se.height>24&&se.width>=200}_handleAnimationEnd({animationName:se}){(se===this._showAnimation||se===this._hideAnimation)&&this._finalizeAnimation(se===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(se){se?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(se){const me=this._tooltip.nativeElement,Y=this._showAnimation,ee=this._hideAnimation;if(me.classList.remove(se?ee:Y),me.classList.add(se?Y:ee),this._isVisible!==se&&(this._isVisible=se,this._changeDetectorRef.markForCheck()),se&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const fe=getComputedStyle(me);("0s"===fe.getPropertyValue("animation-duration")||"none"===fe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}se&&this._onShow(),this._animationsDisabled&&(me.classList.add("_mat-animation-noopable"),this._finalizeAnimation(se))}static \u0275fac=function(me){return new(me||Ct)};static \u0275cmp=w.VBU({type:Ct,selectors:[["mat-tooltip-component"]],viewQuery:function(me,Y){if(1&me&&w.GBs(B,7),2&me){let ee;w.mGM(ee=w.lsd())&&(Y._tooltip=ee.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(me,Y){1&me&&w.bIt("mouseleave",function(fe){return Y._handleMouseLeave(fe)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(me,Y){1&me&&(w.rj2(0,"div",1,0),w.VwU("animationend",function(fe){return Y._handleAnimationEnd(fe)}),w.rj2(2,"div",2),w.EFF(3),w.eux()()),2&me&&(w.HbH(Y.tooltipClass),w.AVh("mdc-tooltip--multiline",Y._isMultiline),w.R7$(3),w.JRh(Y.message))},styles:['.mat-mdc-tooltip {\n position: relative;\n transform: scale(0);\n display: inline-flex;\n}\n.mat-mdc-tooltip::before {\n content: "";\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n position: absolute;\n}\n.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {\n top: -8px;\n}\n.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {\n bottom: -8px;\n}\n.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {\n left: -8px;\n}\n.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {\n right: -8px;\n}\n.mat-mdc-tooltip._mat-animation-noopable {\n animation: none;\n transform: scale(1);\n}\n\n.mat-mdc-tooltip-surface {\n word-break: normal;
1\n overflow-wrap: anywhere;\n padding: 4px 8px;\n min-width: 40px;\n max-width: 200px;\n min-height: 24px;\n max-height: 40vh;\n box-sizing: border-box;\n overflow: hidden;\n text-align: center;\n will-change: transform, opacity;\n background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));\n color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));\n border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));\n font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));\n font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));\n font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));\n line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));\n letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));\n}\n.mat-mdc-tooltip-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: "";\n pointer-events: none;\n}\n.mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: left;\n}\n[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: right;\n}\n\n.mat-mdc-tooltip-panel {\n line-height: normal;\n}\n.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {\n pointer-events: none;\n}\n\n@keyframes mat-mdc-tooltip-show {\n 0% {\n opacity: 0;\n transform: scale(0.8);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes mat-mdc-tooltip-hide {\n 0% {\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n.mat-mdc-tooltip-show {\n animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n.mat-mdc-tooltip-hide {\n animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n'],encapsulation:2,changeDetection:0})}return Ct})()},5351(qe,P,c){"use strict";c.d(P,{Vh:()=>tn,bZ:()=>Ut,hM:()=>rr,CP:()=>rt});var o=c(5820),u=c(5547),l=c(5802),R=c(5157),v=c(1413),w=c(9030),S=c(6939),L=c(6189),E=c(6537),h=c(7421),f=c(9867),y=c(9172),H=c(6697),b=c(413),N=c(7336),A=c(3531),C=c(9752);function V(wt,en){}class B{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let Z=(()=>{class wt extends S.lb{_elementRef=(0,l.WQX)(u.aKT);_focusTrapFactory=(0,l.WQX)(L.GX);_config;_interactivityChecker=(0,l.WQX)(L.Z7);_ngZone=(0,l.WQX)(l.SKi);_focusMonitor=(0,l.WQX)(E.FN);_renderer=(0,l.WQX)(u.sFG);_changeDetectorRef=(0,l.WQX)(R.gRc);_injector=(0,l.WQX)(l.zZn);_platform=(0,l.WQX)(h.O);_document=(0,l.WQX)(l.qQL);_portalOutlet;_focusTrapped=new v.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,l.WQX)(B,{optional:!0})||new B,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(ct){this._ariaLabelledByQueue.push(ct),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(ct){const gt=this._ariaLabelledByQueue.indexOf(ct);gt>-1&&(this._ariaLabelledByQueue.splice(gt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(ct){this._portalOutlet.hasAttached();const gt=this._portalOutlet.attachComponentPortal(ct);return this._contentAttached(),gt}attachTemplatePortal(ct){this._portalOutlet.hasAttached();const gt=this._portalOutlet.attachTemplatePortal(ct);return this._contentAttached(),gt}attachDomPortal=ct=>{this._portalOutlet.hasAttached();const gt=this._portalOutlet.attachDomPortal(ct);return this._contentAttached(),gt};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ct,gt){this._interactivityChecker.isFocusable(ct)||(ct.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const It=()=>{dn(),In(),ct.removeAttribute("tabindex")},dn=this._renderer.listen(ct,"blur",It),In=this._renderer.listen(ct,"mousedown",It)})),ct.focus(gt)}
1_focusByCssSelector(ct,gt){let It=this._elementRef.nativeElement.querySelector(ct);It&&this._forceFocus(It,gt)}_trapFocus(ct){this._isDestroyed||(0,u.mal)(()=>{const gt=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||gt.focus(ct);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(ct)||this._focusDialogContainer(ct);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',ct);break;default:this._focusByCssSelector(this._config.autoFocus,ct)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const ct=this._config.restoreFocus;let gt=null;if("string"==typeof ct?gt=this._document.querySelector(ct):"boolean"==typeof ct?gt=ct?this._elementFocusedBeforeDialogWasOpened:null:ct&&(gt=ct),this._config.restoreFocus&>&&"function"==typeof gt.focus){const It=(0,f.vc)(),dn=this._elementRef.nativeElement;(!It||It===this._document.body||It===dn||dn.contains(It))&&(this._focusMonitor?(this._focusMonitor.focusVia(gt,this._closeInteractionType),this._closeInteractionType=null):gt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(ct){this._elementRef.nativeElement.focus?.(ct)}_containsFocus(){const ct=this._elementRef.nativeElement,gt=(0,f.vc)();return ct===gt||ct.contains(gt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,f.vc)()))}static \u0275fac=function(gt){return new(gt||wt)};static \u0275cmp=u.VBU({type:wt,selectors:[["cdk-dialog-container"]],viewQuery:function(gt,It){if(1>&&u.GBs(S.I3,7),2>){let dn;u.mGM(dn=u.lsd())&&(It._portalOutlet=dn.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(gt,It){2>&&u.BMQ("id",It._config.id||null)("role",It._config.role)("aria-modal",It._config.ariaModal)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null)},features:[u.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(gt,It){1>&&u.DNE(0,V,0,0,"ng-template",0)},dependencies:[S.I3],styles:[".cdk-dialog-container {\n display: block;\n width: 100%;\n height: 100%;\n min-height: inherit;\n max-height: inherit;\n}\n"],encapsulation:2})}return wt})();class ce{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new v.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(en,ct){this.overlayRef=en,this.config=ct,this.disableClose=ct.disableClose,this.backdropClick=en.backdropClick(),this.keydownEvents=en.keydownEvents(),this.outsidePointerEvents=en.outsidePointerEvents(),this.id=ct.id,this.keydownEvents.subscribe(gt=>{gt.keyCode===b._f&&!this.disableClose&&!(0,N.rp)(gt)&&(gt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=en.detachments().subscribe(()=>{!1!==ct.closeOnOverlayDetachments&&this.close()})}close(en,ct){if(this._canClose(en)){const gt=this.closed;this.containerInstance._closeInteractionType=ct?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),gt.next(en),gt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(en="",ct=""){return this.overlayRef.updateSize({width:en,height:ct}),this}addPanelClass(en){return this.overlayRef.addPanelClass(en),this}removePanelClass(en){return this.overlayRef.removePanelClass(en),this}_canClose(en){const ct=this.config;return!!this.containerInstance&&(!ct.closePredicate||ct.closePredicate(en,ct,this.componentInstance))}}const be=new l.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const wt=(0,l.WQX)(l.zZn);return()=>(0,o.gA)(wt)}}),Te=new l.nKC("DialogData"),we=new l.nKC("DefaultDialogConfig");
1function $e(wt){const en=(0,l.vPA)(wt),ct=new l.bkB;return{valueSignal:en,get value(){return en()},change:ct,ngOnDestroy(){ct.complete()}}}let Oe=(()=>{class wt{_injector=(0,l.WQX)(l.zZn);_defaultOptions=(0,l.WQX)(we,{optional:!0});_parentDialog=(0,l.WQX)(wt,{optional:!0,skipSelf:!0});_overlayContainer=(0,l.WQX)(o.Sf);_idGenerator=(0,l.WQX)(A.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new v.B;_afterOpenedAtThisLevel=new v.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,l.WQX)(be);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,w.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,y.Z)(void 0)));constructor(){}open(ct,gt){(gt={...this._defaultOptions||new B,...gt}).id=gt.id||this._idGenerator.getId("cdk-dialog-"),gt.id&&this.getDialogById(gt.id);const dn=this._getOverlayConfig(gt),In=(0,o.Y$)(this._injector,dn),Vn=new ce(In,gt),kn=this._attachContainer(In,Vn,gt);if(Vn.containerInstance=kn,!this.openDialogs.length){const Bn=this._overlayContainer.getContainerElement();kn._focusTrapped?kn._focusTrapped.pipe((0,H.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(Bn)}):this._hideNonDialogContentFromAssistiveTechnology(Bn)}return this._attachDialogContent(ct,Vn,kn,gt),this.openDialogs.push(Vn),Vn.closed.subscribe(()=>this._removeOpenDialog(Vn,!0)),this.afterOpened.next(Vn),Vn}closeAll(){Ue(this.openDialogs,ct=>ct.close())}getDialogById(ct){return this.openDialogs.find(gt=>gt.id===ct)}ngOnDestroy(){Ue(this._openDialogsAtThisLevel,ct=>{!1===ct.config.closeOnDestroy&&this._removeOpenDialog(ct,!1)}),Ue(this._openDialogsAtThisLevel,ct=>ct.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ct){const gt=new o.rR({positionStrategy:ct.positionStrategy||(0,o.uA)().centerHorizontally().centerVertically(),scrollStrategy:ct.scrollStrategy||this._scrollStrategy(),panelClass:ct.panelClass,hasBackdrop:ct.hasBackdrop,direction:ct.direction,minWidth:ct.minWidth,minHeight:ct.minHeight,maxWidth:ct.maxWidth,maxHeight:ct.maxHeight,width:ct.width,height:ct.height,disposeOnNavigation:ct.closeOnNavigation,disableAnimations:ct.disableAnimations});return ct.backdropClass&&(gt.backdropClass=ct.backdropClass),gt}_attachContainer(ct,gt,It){const dn=It.injector||It.viewContainerRef?.injector,In=[{provide:B,useValue:It},{provide:ce,useValue:gt},{provide:o.yY,useValue:ct}];let Vn;It.container?"function"==typeof It.container?Vn=It.container:(Vn=It.container.type,In.push(...It.container.providers(It))):Vn=Z;const kn=new S.A8(Vn,It.viewContainerRef,l.zZn.create({parent:dn||this._injector,providers:In}));return ct.attach(kn).instance}_attachDialogContent(ct,gt,It,dn){if(ct instanceof u.C4Q){const In=this._createInjector(dn,gt,It,void 0);let Vn={$implicit:dn.data,dialogRef:gt};dn.templateContext&&(Vn={...Vn,..."function"==typeof dn.templateContext?dn.templateContext():dn.templateContext}),It.attachTemplatePortal(new S.VA(ct,null,Vn,In))}else{const In=this._createInjector(dn,gt,It,this._injector),Vn=It.attachComponentPortal(new S.A8(ct,dn.viewContainerRef,In));gt.componentRef=Vn,gt.componentInstance=Vn.instance}}_createInjector(ct,gt,It,dn){const In=ct.injector||ct.viewContainerRef?.injector,Vn=[{provide:Te,useValue:ct.data},{provide:ce,useValue:gt}];return ct.providers&&("function"==typeof ct.providers?Vn.push(...ct.providers(gt,ct,It)):Vn.push(...ct.providers)),ct.direction&&(!In||!In.get(C.dS,null,{optional:!0}))&&Vn.push({provide:C.dS,useValue:$e(ct.direction)}),l.zZn.create({parent:In||dn,providers:Vn})}_removeOpenDialog(ct,gt){const It=this.openDialogs.indexOf(ct);It>-1&&(this.openDialogs.splice(It,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((dn,In)=>{dn?In.setAttribute("aria-hidden",dn):In.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),gt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(ct){if(ct.parentElement){const gt=ct.parentElement.children;for(let It=gt.length-1;It>-1;It--){const dn=gt[It];dn!==ct&&"SCRIPT"!==dn.nodeName&&"STYLE"!==dn.nodeName&&!dn.hasAttribute("aria-live")&&!dn.hasAttribute("popover")&&(this._ariaHiddenElements.set(dn,dn.getAttribute("aria-hidden")),dn.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ct=this._parentDialog;return ct?ct._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(gt){return new(gt||wt)};static \u0275prov=l.jDH({token:wt,factory:wt.\u0275fac,providedIn:"root"})}return wt})();function Ue(wt,en){let ct=wt.length;for(;ct--;)en(wt[ct])}let Be=(()=>{class wt{static \u0275fac=function(gt){return new(gt||wt)};static \u0275mod=u.$C({type:wt});static \u0275inj=l.G2t({providers:[Oe],imports:[o.z_,S.jc,L.Pd,S.jc]})}return wt})();var lt=c(7384),et=c(8649),pt=c(2771),Ct=c(7786),st=c(5964),me=(c(5478),c(8203));function Y(wt,en){}class ee{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;
vendor: 9,125 bytes, line 1
1autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const fe="mdc-dialog--open",ye="mdc-dialog--opening",ge="mdc-dialog--closing";let tt=(()=>{class wt extends Z{_animationStateChanged=new l.bkB;_animationsEnabled=!(0,et.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Xe(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?Xe(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(bt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ye,fe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(fe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(fe),this._animationsEnabled?(this._hostElement.style.setProperty(bt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ge)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(ct){this._actionSectionCount+=ct,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(ye,ge)}_waitForAnimationToComplete(ct,gt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(gt,ct)}_requestAnimationFrame(ct){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(ct):ct()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ct){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ct})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(ct){const gt=super.attachComponentPortal(ct);return gt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),gt}static \u0275fac=(()=>{let ct;return function(It){return(ct||(ct=u.xGo(wt)))(It||wt)}})();static \u0275cmp=u.VBU({type:wt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(gt,It){2>&&(u.Avn("id",It._config.id),u.BMQ("aria-modal",It._config.ariaModal)("role",It._config.role)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null),u.AVh("_mat-animation-noopable",!It._animationsEnabled)("mat-mdc-dialog-container-with-actions",It._actionSectionCount>0))},features:[u.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(gt,It){1>&&(u.j41(0,"div",0)(1,"div",1),u.DNE(2,Y,0,0,"ng-template",2),u.k0s()())},dependencies:[S.I3],styles:['.mat-mdc-dialog-container {\n width: 100%;\n height: 100%;\n display: block;\n box-sizing: border-box;\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n outline: 0;\n}\n\n.cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--mat-dialog-container-max-width, 560px);\n min-width: var(--mat-dialog-container-min-width, 280px);\n}\n@media (max-width: 599px) {\n .cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px));\n }\n}\n\n.mat-mdc-dialog-inner-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n box-sizing: border-box;\n height: 100%;\n opacity: 0;\n transition: opacity linear var(--mat-dialog-transition-duration, 0ms);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n}\n.mdc-dialog--closing .mat-mdc-dialog-inner-container {\n transition: opacity 75ms linear;\n transform: none;\n}\n.mdc-dialog--open .mat-mdc-dialog-inner-container {\n opacity: 1;\n}\n._mat-animation-noopable .mat-mdc-dialog-inner-container {\n transition: none;\n}\n\n.mat-mdc-dialog-surface {\n display: flex;\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: relative;\n overflow-y: auto;\n outline: 0;\n transform: scale(0.8);\n transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n box-shadow: var(--mat-dialog-container-elevation-shadow, none);\n border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));\n background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white));\n}\n[dir=rtl] .mat-mdc-dialog-surface {\n text-align: right;\n}\n.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {\n transform: none;\n}\n._mat-animation-noopable .mat-mdc-dialog-surface {\n transition: none;\n}\n.mat-mdc-dialog-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 2px solid transparent;\n border-radius: inherit;\n content: "";\n pointer-events: none;\n}\n\n.mat-mdc-dialog-title {\n display: block;\n position: relative;\n flex-shrink: 0;\n box-sizing: border-box;\n margin: 0 0 1px;\n padding: var(--mat-dialog-headline-padding, 6px 24px 13px);\n}\n.mat-mdc-dialog-title::before {\n display: inline-block;\n width: 0;\n height: 40px;\n content: "";\n vertical-align: 0;\n}\n[dir=rtl] .mat-mdc-dialog-title {\n text-align: right;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title {\n color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));\n line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));\n font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));\n font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));\n letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em));\n}\n\n.mat-mdc-dialog-content {\n display: block;\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n overflow: auto;\n max-height: 65vh;\n}\n.mat-mdc-dialog-content > :first-child {\n margin-top: 0;\n}\n.mat-mdc-dialog-content > :last-child {\n margin-bottom: 0;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));\n font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));\n line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));\n font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));\n font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));\n letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em));\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n padding: var(--mat-dialog-content-padding, 20px 24px);\n}\n.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {\n padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0);\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {\n padding-top: 0;\n}\n\n.mat-mdc-dialog-actions {\n display: flex;\n position: relative;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center;\n box-sizing: border-box;\n min-height: 52px;\n margin: 0;\n border-top: 1px solid transparent;\n padding: var(--mat-dialog-actions-padding, 16px 24px);\n justify-content: var(--mat-dialog-actions-alignment, flex-end);\n}\n@media (forced-colors: active) {\n .mat-mdc-dialog-actions {\n border-top-color: CanvasText;\n }\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {\n justify-content: start;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {\n justify-content: center;\n}
1\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {\n justify-content: flex-end;\n}\n.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 8px;\n}\n[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 0;\n margin-right: 8px;\n}\n\n.mat-mdc-dialog-component-host {\n display: contents;\n}\n'],encapsulation:2})}return wt})();const bt="--mat-dialog-transition-duration";function Xe(wt){return null==wt?null:"number"==typeof wt?wt:wt.endsWith("ms")?(0,lt.OE)(wt.substring(0,wt.length-2)):wt.endsWith("s")?1e3*(0,lt.OE)(wt.substring(0,wt.length-1)):"0"===wt?0:null}var Je=function(wt){return wt[wt.OPEN=0]="OPEN",wt[wt.CLOSING=1]="CLOSING",wt[wt.CLOSED=2]="CLOSED",wt}(Je||{});class rt{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new pt.m(1);_beforeClosed=new pt.m(1);_result;_closeFallbackTimeout;_state=Je.OPEN;_closeInteractionType;constructor(en,ct,gt){this._ref=en,this._config=ct,this._containerInstance=gt,this.disableClose=ct.disableClose,this.id=en.id,en.addPanelClass("mat-mdc-dialog-panel"),gt._animationStateChanged.pipe((0,st.p)(It=>"opened"===It.state),(0,H.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),gt._animationStateChanged.pipe((0,st.p)(It=>"closed"===It.state),(0,H.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),en.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Ct.h)(this.backdropClick(),this.keydownEvents().pipe((0,st.p)(It=>It.keyCode===b._f&&!this.disableClose&&!(0,N.rp)(It)))).subscribe(It=>{this.disableClose||(It.preventDefault(),function Pt(wt,en,ct){return wt._closeInteractionType=en,wt.close(ct)}(this,"keydown"===It.type?"keyboard":"mouse"))})}close(en){const ct=this._config.closePredicate;ct&&!ct(en,this._config,this.componentInstance)||(this._result=en,this._containerInstance._animationStateChanged.pipe((0,st.p)(gt=>"closing"===gt.state),(0,H.s)(1)).subscribe(gt=>{this._beforeClosed.next(en),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),gt.totalTime+100)}),this._state=Je.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(en){let ct=this._ref.config.positionStrategy;return en&&(en.left||en.right)?en.left?ct.left(en.left):ct.right(en.right):ct.centerHorizontally(),en&&(en.top||en.bottom)?en.top?ct.top(en.top):ct.bottom(en.bottom):ct.centerVertically(),this._ref.updatePosition(),this}updateSize(en="",ct=""){return this._ref.updateSize(en,ct),this}addPanelClass(en){return this._ref.addPanelClass(en),this}removePanelClass(en){return this._ref.removePanelClass(en),this}getState(){return this._state}_finishDialogClose(){this._state=Je.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const tn=new l.nKC("MatMdcDialogData"),i=new l.nKC("mat-mdc-dialog-default-options"),yt=new l.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const wt=(0,l.WQX)(l.zZn);return()=>(0,o.gA)(wt)}});let Ut=(()=>{class wt{_defaultOptions=(0,l.WQX)(i,{optional:!0});_scrollStrategy=(0,l.WQX)(yt);_parentDialog=(0,l.WQX)(wt,{optional:!0,skipSelf:!0});_idGenerator=(0,l.WQX)(A.g);_injector=(0,l.WQX)(l.zZn);_dialog=(0,l.WQX)(Oe);_animationsDisabled=(0,et.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new v.B;_afterOpenedAtThisLevel=new v.B;dialogConfigClass=ee;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ct=this._parentDialog;return ct?ct._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,w.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,y.Z)(void 0)));constructor(){this._dialogRefConstructor=rt,this._dialogContainerType=tt,this._dialogDataToken=tn}open(ct,gt){let It;(gt={...this._defaultOptions||new ee,...gt}).id=gt.id||this._idGenerator.getId("mat-mdc-dialog-"),gt.scrollStrategy=gt.scrollStrategy||this._scrollStrategy();const dn=this._dialog.open(ct,{...gt,positionStrategy:(0,o.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===gt.enterAnimationDuration?.toLocaleStr
1ing()||"0"===gt.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:gt},{provide:B,useValue:gt}]},templateContext:()=>({dialogRef:It}),providers:(In,Vn,kn)=>(It=new this._dialogRefConstructor(In,gt,kn),It.updatePosition(gt?.position),[{provide:this._dialogContainerType,useValue:kn},{provide:this._dialogDataToken,useValue:Vn.data},{provide:this._dialogRefConstructor,useValue:It}])});return It.componentRef=dn.componentRef,It.componentInstance=dn.componentInstance,this.openDialogs.push(It),this.afterOpened.next(It),It.afterClosed().subscribe(()=>{const In=this.openDialogs.indexOf(It);In>-1&&(this.openDialogs.splice(In,1),this.openDialogs.length||this._getAfterAllClosed().next())}),It}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ct){return this.openDialogs.find(gt=>gt.id===ct)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ct){let gt=ct.length;for(;gt--;)ct[gt].close()}static \u0275fac=function(gt){return new(gt||wt)};static \u0275prov=l.jDH({token:wt,factory:wt.\u0275fac,providedIn:"root"})}return wt})(),rr=(()=>{class wt{static \u0275fac=function(gt){return new(gt||wt)};static \u0275mod=u.$C({type:wt});static \u0275inj=l.G2t({providers:[Ut],imports:[Be,o.z_,S.jc,me.jI]})}return wt})()},9183(qe,P,c){"use strict";c.d(P,{D6:()=>b,LG:()=>y});var o=c(5547),u=c(5802),l=c(5157),R=c(9769),v=c(8649),w=c(8203);const S=["determinateSpinner"];function L(N,A){if(1&N&&(u.qSk(),o.j41(0,"svg",11),o.nrm(1,"circle",12),o.k0s()),2&N){const C=o.XpG();o.BMQ("viewBox",C._viewBox()),o.R7$(),o.xc7("stroke-dasharray",C._strokeCircumference(),"px")("stroke-dashoffset",C._strokeCircumference()/2,"px")("stroke-width",C._circleStrokeWidth(),"%"),o.BMQ("r",C._circleRadius())}}const E=new u.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:()=>({diameter:h})}),h=100;let y=(()=>{class N{_elementRef=(0,u.WQX)(o.aKT);_noopAnimations;get color(){return this._color||this._defaultColor}set color(C){this._color=C}_color;_defaultColor="primary";_determinateCircle;constructor(){const C=(0,u.WQX)(E),V=(0,v._J)(),B=this._elementRef.nativeElement;this._noopAnimations="di-disabled"===V&&!!C&&!C._forceAnimations,this.mode="mat-spinner"===B.nodeName.toLowerCase()?"indeterminate":"determinate",!this._noopAnimations&&"reduced-motion"===V&&B.classList.add("mat-progress-spinner-reduced-motion"),C&&(C.color&&(this.color=this._defaultColor=C.color),C.diameter&&(this.diameter=C.diameter),C.strokeWidth&&(this.strokeWidth=C.strokeWidth))}mode;get value(){return"determinate"===this.mode?this._value:0}set value(C){this._value=Math.max(0,Math.min(100,C||0))}_value=0;get diameter(){return this._diameter}set diameter(C){this._diameter=C||0}_diameter=h;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(C){this._strokeWidth=C||0}_strokeWidth;_circleRadius(){return(this.diameter-10)/2}_viewBox(){const C=2*this._circleRadius()+this.strokeWidth;return`0 0 ${C} ${C}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(V){return new(V||N)};static \u0275cmp=o.VBU({type:N,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(V,B){if(1&V&&o.GBs(S,5),2&V){let Q;o.mGM(Q=o.lsd())&&(B._determinateCircle=Q.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(V,B){2&V&&(o.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===B.mode?B.value:null)("mode",B.mode),o.HbH("mat-"+B.color),o.xc7("width",B.diameter,"px")("height",B.diameter,"px")("--mat-progress-spinner-size",B.diameter+"px")("--mat-progress-spinner-active-indicator-width",B.diameter+"px"),o.AVh("_mat-animation-noopable",B._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===B.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",l.Udg],diameter:[2,"diameter","diameter",l.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",l.Udg]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(V,B){if(1&V&&(o.DNE(0,L,2,8,"ng-template",null,0,o.C5r),o.j41(2,"div",2,1),u.qSk(),o.j41(4,"svg",3),o.nrm(5,"circle",4),o.k0s()(),u.joV(),o.j41(6,"div",5)(7,"div",6)(8,"div",7),o.eu8(9,8),o.k0s(),o.j41(10,"div",9),o.eu8(11,8),o.k0s(),o.j41(12,"div",10),o.eu8(13,8),o.k0s()()()),2&V){const Q=o.sdS(1);
1o.R7$(4),o.BMQ("viewBox",B._viewBox()),o.R7$(),o.xc7("stroke-dasharray",B._strokeCircumference(),"px")("stroke-dashoffset",B._strokeDashOffset(),"px")("stroke-width",B._circleStrokeWidth(),"%"),o.BMQ("r",B._circleRadius()),o.R7$(4),o.Y8G("ngTemplateOutlet",Q),o.R7$(2),o.Y8G("ngTemplateOutlet",Q),o.R7$(2),o.Y8G("ngTemplateOutlet",Q)}},dependencies:[R.T3],styles:[".mat-mdc-progress-spinner {\n --mat-progress-spinner-animation-multiplier: 1;\n display: block;\n overflow: hidden;\n line-height: 0;\n position: relative;\n direction: ltr;\n transition: opacity 250ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mat-mdc-progress-spinner circle {\n stroke-width: var(--mat-progress-spinner-active-indicator-width, 4px);\n}\n.mat-mdc-progress-spinner._mat-animation-noopable, .mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle {\n transition: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container {\n animation: none !important;\n}\n.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle {\n stroke-dasharray: 0 !important;\n}\n@media (forced-colors: active) {\n .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,\n .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle {\n stroke: currentColor;\n stroke: CanvasText;\n }\n}\n\n.mat-progress-spinner-reduced-motion {\n --mat-progress-spinner-animation-multiplier: 1.25;\n}\n\n.mdc-circular-progress__determinate-container,\n.mdc-circular-progress__indeterminate-circle-graphic,\n.mdc-circular-progress__indeterminate-container,\n.mdc-circular-progress__spinner-layer {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n.mdc-circular-progress__determinate-container {\n transform: rotate(-90deg);\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container {\n opacity: 0;\n}\n\n.mdc-circular-progress__indeterminate-container {\n font-size: 0;\n letter-spacing: 0;\n white-space: nowrap;\n opacity: 0;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container {\n opacity: 1;\n animation: mdc-circular-progress-container-rotate calc(1568.2352941176ms * var(--mat-progress-spinner-animation-multiplier)) linear infinite;\n}\n\n.mdc-circular-progress__determinate-circle-graphic,\n.mdc-circular-progress__indeterminate-circle-graphic {\n fill: transparent;\n}\n\n.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n stroke: var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary));\n}\n@media (forced-colors: active) {\n .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,\n .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic {\n stroke: CanvasText;\n }\n}\n\n.mdc-circular-progress__determinate-circle {\n transition: stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-circular-progress__gap-patch {\n position: absolute;\n top: 0;\n left: 47.5%;\n box-sizing: border-box;\n width: 5%;\n height: 100%;\n overflow: hidden;\n}\n\n.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic {\n left: -900%;\n width: 2000%;\n transform: rotate(180deg);\n}\n.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic {\n width: 200%;\n}\n.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n left: -100%;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic {\n animation: mdc-circular-progress-left-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic {\n animation: mdc-circular-progress-right-spin calc(1333ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n.mdc-circular-progress__circle-clipper {\n display: inline-flex;\n position: relative;\n width: 50%;\n height: 100%;\n overflow: hidden;\n}\n\n.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer {\n animation: mdc-circular-progress-spinner-layer-rotate calc(5332ms * var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both;\n}\n\n@keyframes mdc-circular-progress-container-rotate {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes mdc-circular-progress-spinner-layer-rotate {\n 12.5% {\n transform: rotate(135deg);\n }\n 25% {\n transform: rotate(270deg);\n }\n 37.5% {\n transform: rotate(405deg);\n }\n 50% {\n transform: rotate(540deg);\n }\n 62.5% {\n transform: rotate(675deg);\n }\n 75% {\n transform: rotate(810deg);\n }\n 87.5% {\n transform: rotate(945deg);\n }\n 100% {\n transform: rotate(1080deg);\n }\n}\n@keyframes mdc-circular-progress-left-spin {\n from {\n transform: rotate(265deg);\n }\n 50% {\n transform: rotate(130deg);\n }\n to {\n transform: rotate(265deg);\n }\n}\n@keyframes mdc-circular-progress-right-spin {\n from {\n transform: rotate(-265deg);\n }\n 50% {\n transform: rotate(-130deg);\n }\n to {\n transform: rotate(-265deg);\n }\n}\n"],encapsulation:2,changeDetection:0})}return N})(),b=(()=>{class N{static \u0275fac=function(V){return new(V||N)};static \u0275mod=o.$C({type:N});static \u0275inj=u.G2t({imports:[w.jI]})}return N})()},4432(qe,P,c){"use strict";c.d(P,{$R:()=>Xt,YV:()=>gr,cC:()=>Vt,KS:()=>dt,tL:()=>Rr,YZ:()=>Ve,ji:()=>Nn,ky:()=>ue,NB:()=>W,iL:()=>Ge,Zl:()=>fr,I6:()=>Yt,tP:()=>Dt});var o=c(5547),u=c(5802),l=c(5157),R=c(1413),v=c(4412),w=c(4402),S=c(7673),L=c(4572),E=c(536),h=c(5007),f=c(6977),y=c(3798),H=c(9752),b=c(5478),N=c(1985),A=c(8359),C=c(9974),V=c(4360);class Q extends N.c{constructor(Ee,$){super(),this.source=Ee,this.subjectFactory=$,this._subject=null,this._refCount=0,this._connection=null,(0,C.S)(Ee)&&(this.lift=Ee.lift)}
1_subscribe(Ee){return this.getSubject().subscribe(Ee)}getSubject(){const Ee=this._subject;return(!Ee||Ee.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Ee}=this;this._subject=this._connection=null,Ee?.unsubscribe()}connect(){let Ee=this._connection;if(!Ee){Ee=this._connection=new A.yU;const $=this.getSubject();Ee.add(this.source.subscribe((0,V._)($,void 0,()=>{this._teardown(),$.complete()},he=>{this._teardown(),$.error(he)},()=>this._teardown()))),Ee.closed&&(this._connection=null,Ee=A.yU.EMPTY)}return Ee}refCount(){return function B(){return(0,C.N)((U,Ee)=>{let $=null;U._refCount++;const he=(0,V._)(Ee,void 0,void 0,void 0,()=>{if(!U||U._refCount<=0||0<--U._refCount)return void($=null);const Ae=U._connection,Ye=$;$=null,Ae&&(!Ye||Ae===Ye)&&Ae.unsubscribe(),Ee.unsubscribe()});U.subscribe(he),he.closed||($=U.connect())})}()(this)}}class Z{}function ce(U){return U&&"function"==typeof U.connect&&!(U instanceof Q)}var Te=function(U){return U[U.REPLACED=0]="REPLACED",U[U.INSERTED=1]="INSERTED",U[U.MOVED=2]="MOVED",U[U.REMOVED=3]="REMOVED",U}(Te||{});class we{viewCacheSize=20;_viewCache=[];applyChanges(Ee,$,he,Ae,Ye){Ee.forEachOperation((ht,Wt,Ft)=>{let an,bn;null==ht.previousIndex?(an=this._insertView(()=>he(ht,Wt,Ft),Ft,$,Ae(ht)),bn=an?Te.INSERTED:Te.REPLACED):null==Ft?(this._detachAndCacheView(Wt,$),bn=Te.REMOVED):(an=this._moveView(Wt,Ft,$,Ae(ht)),bn=Te.MOVED),Ye&&Ye({context:an?.context,operation:bn,record:ht})})}detach(){for(const Ee of this._viewCache)Ee.destroy();this._viewCache=[]}_insertView(Ee,$,he,Ae){const Ye=this._insertViewFromCache($,he);if(Ye)return void(Ye.context.$implicit=Ae);const ht=Ee();return he.createEmbeddedView(ht.templateRef,ht.context,ht.index)}_detachAndCacheView(Ee,$){const he=$.detach(Ee);this._maybeCacheView(he,$)}_moveView(Ee,$,he,Ae){const Ye=he.get(Ee);return he.move(Ye,$),Ye.context.$implicit=Ae,Ye}_maybeCacheView(Ee,$){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Ee);else{const he=$.indexOf(Ee);-1===he?Ee.destroy():$.remove(he)}}_insertViewFromCache(Ee,$){const he=this._viewCache.pop();return he&&$.insert(he,Ee),he||null}}class $e{applyChanges(Ee,$,he,Ae,Ye){Ee.forEachOperation((ht,Wt,Ft)=>{let an,bn;if(null==ht.previousIndex){const Cn=he(ht,Wt,Ft);an=$.createEmbeddedView(Cn.templateRef,Cn.context,Cn.index),bn=Te.INSERTED}else null==Ft?($.remove(Wt),bn=Te.REMOVED):(an=$.get(Wt),$.move(an,Ft),bn=Te.MOVED);Ye&&Ye({context:an?.context,operation:bn,record:ht})})}detach(){}}var Oe=c(7421);const Ue=[[["caption"]],[["colgroup"],["col"]],"*"],Be=["caption","colgroup, col","*"];function lt(U,Ee){1&U&&o.SdG(0,2)}function et(U,Ee){1&U&&(o.j41(0,"thead",0),o.eu8(1,1),o.k0s(),o.j41(2,"tbody",0),o.eu8(3,2)(4,3),o.k0s(),o.j41(5,"tfoot",0),o.eu8(6,4),o.k0s())}function pt(U,Ee){1&U&&o.eu8(0,1)(1,2)(2,3)(3,4)}const se=new u.nKC("CDK_TABLE");let Y=(()=>{class U{template=(0,u.WQX)(o.C4Q);constructor(){}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkCellDef",""]]})}return U})(),ee=(()=>{class U{template=(0,u.WQX)(o.C4Q);constructor(){}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkHeaderCellDef",""]]})}return U})(),fe=(()=>{class U{template=(0,u.WQX)(o.C4Q);constructor(){}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkFooterCellDef",""]]})}return U})(),ye=(()=>{class U{_table=(0,u.WQX)(se,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name($){this._setNameInput($)}_name;get sticky(){return this._sticky}set sticky($){$!==this._sticky&&(this._sticky=$,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd($){$!==this._stickyEnd&&(this._stickyEnd=$,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){const $=this._hasStickyChanged;return this.resetStickyChanged(),$}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput($){$&&(this._name=$,this.cssClassFriendlyName=$.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkColumnDef",""]],contentQueries:function(he,Ae,Ye){if(1&he&&o.wni(Ye,Y,5)(Ye,ee,5)(Ye,fe,5),2&he){let ht;o.mGM(ht=o.lsd())&&(Ae.cell=ht.first),o.mGM(ht=o.lsd())&&(Ae.headerCell=ht.first),o.mGM(ht=o.lsd())&&(Ae.footerCell=ht.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",l.L39],stickyEnd:[2,"stickyEnd","stickyEnd",l.
1L39]}})}return U})();class ge{constructor(Ee,$){$.nativeElement.classList.add(...Ee._columnCssClassName)}}let Ne=(()=>{class U extends ge{constructor(){super((0,u.WQX)(ye),(0,u.WQX)(o.aKT))}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.Vt3]})}return U})(),tt=(()=>{class U extends ge{constructor(){const $=(0,u.WQX)(ye),he=(0,u.WQX)(o.aKT);super($,he);const Ae=$._table?._getCellRole();Ae&&he.nativeElement.setAttribute("role",Ae)}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[o.Vt3]})}return U})(),Xe=(()=>{class U{template=(0,u.WQX)(o.C4Q);_differs=(0,u.WQX)(l._q3);columns;_columnsDiffer;constructor(){}ngOnChanges($){if(!this._columnsDiffer){const he=$.columns&&$.columns.currentValue||[];this._columnsDiffer=this._differs.find(he).create(),this._columnsDiffer.diff(he)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate($){return this instanceof Je?$.headerCell.template:this instanceof rt?$.footerCell.template:$.cell.template}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,features:[o.OA$]})}return U})(),Je=(()=>{class U extends Xe{_table=(0,u.WQX)(se,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky($){$!==this._sticky&&(this._sticky=$,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,u.WQX)(o.C4Q),(0,u.WQX)(l._q3))}ngOnChanges($){super.ngOnChanges($)}hasStickyChanged(){const $=this._hasStickyChanged;return this.resetStickyChanged(),$}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",l.L39]},features:[o.Vt3,o.OA$]})}return U})(),rt=(()=>{class U extends Xe{_table=(0,u.WQX)(se,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky($){$!==this._sticky&&(this._sticky=$,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,u.WQX)(o.C4Q),(0,u.WQX)(l._q3))}ngOnChanges($){super.ngOnChanges($)}hasStickyChanged(){const $=this._hasStickyChanged;return this.resetStickyChanged(),$}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",l.L39]},features:[o.Vt3,o.OA$]})}return U})(),Pt=(()=>{class U extends Xe{_table=(0,u.WQX)(se,{optional:!0});when;constructor(){super((0,u.WQX)(o.C4Q),(0,u.WQX)(l._q3))}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[o.Vt3]})}return U})(),tn=(()=>{class U{_viewContainer=(0,u.WQX)(o.c1b);cells;context;static mostRecentCellOutlet=null;constructor(){U.mostRecentCellOutlet=this}ngOnDestroy(){U.mostRecentCellOutlet===this&&(U.mostRecentCellOutlet=null)}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","cdkCellOutlet",""]]})}return U})(),i=(()=>{class U{static \u0275fac=function(he){return new(he||U)};static \u0275cmp=o.VBU({type:U,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(he,Ae){1&he&&o.eu8(0,0)},dependencies:[tn],encapsulation:2})}return U})(),Ut=(()=>{class U{static \u0275fac=function(he){return new(he||U)};static \u0275cmp=o.VBU({type:U,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(he,Ae){1&he&&o.eu8(0,0)},dependencies:[tn],encapsulation:2})}return U})(),Kt=(()=>{class U{templateRef=(0,u.WQX)(o.C4Q);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["ng-template","cdkNoDataRow",""]]})}return U})();const un=["top","bottom","left","right"];class or{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(Ee=>this._updateCachedSizes(Ee)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(Ee,$,he=!0,Ae=!0,Ye,ht,Wt){this._isNativeHtmlTable=Ee,this._stickCellCss=$,this._isBrowser=he,this._needsPositionStickyOnElement=Ae,this.direction=Ye,this._positionListener=ht,this._tableInjector=Wt,this._borderCellCss={top:`${$}-border-elem-top`,bottom:`${$}-border-elem-bottom`,left:`${$}-border-elem-left`,right:`${$}-border-elem-right`}}clearStickyPositioning(Ee,$){($.includes("left")||$.includes("right"))&&this._removeFromStickyColumnReplayQueue(Ee);const he=[];for(const Ae of Ee)Ae.nodeType===Ae.ELEMENT_NODE&&he.push(Ae,...Array.from(Ae.children));(0,o.mal)({write:()=>{for(const Ae of he)this._removeStickyStyle(Ae,$)}},{injector:this._tableInjector})}updateStickyColumns(Ee,$,he,Ae=!0,Ye=!0){if(!Ee.length||!this._isBrowser||!$.some(Fn=>Fn)&&!he.some(Fn=>Fn))return this._positionListener?.stickyColumnsUpdated({sizes:[]}),void this._positionListener?.stickyEndColumnsUpdated({sizes:[]});const ht=Ee[0],Wt=ht.children.length,Ft="rtl"===this.direction,an=Ft?"right":"left",bn=Ft?"left":"right",Cn=$.lastIndexOf(!0),xn=he.indexOf(!0);let zn,ii,ei;Ye&&this._updateStickyColumnReplayQueue({rows:[...Ee],stickyStart
1States:[...$],stickyEndStates:[...he]}),(0,o.mal)({earlyRead:()=>{zn=this._getCellWidths(ht,Ae),ii=this._getStickyStartColumnPositions(zn,$),ei=this._getStickyEndColumnPositions(zn,he)},write:()=>{for(const Fn of Ee)for(let qn=0;qn<Wt;qn++){const vr=Fn.children[qn];$[qn]&&this._addStickyStyle(vr,an,ii[qn],qn===Cn),he[qn]&&this._addStickyStyle(vr,bn,ei[qn],qn===xn)}this._positionListener&&zn.some(Fn=>!!Fn)&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Cn?[]:zn.slice(0,Cn+1).map((Fn,qn)=>$[qn]?Fn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===xn?[]:zn.slice(xn).map((Fn,qn)=>he[qn+xn]?Fn:null).reverse()}))}},{injector:this._tableInjector})}stickRows(Ee,$,he){if(!this._isBrowser)return;const Ae="bottom"===he?Ee.slice().reverse():Ee,Ye="bottom"===he?$.slice().reverse():$,ht=[],Wt=[],Ft=[];(0,o.mal)({earlyRead:()=>{for(let an=0,bn=0;an<Ae.length;an++){if(!Ye[an])continue;ht[an]=bn;const Cn=Ae[an];Ft[an]=this._isNativeHtmlTable?Array.from(Cn.children):[Cn];const xn=this._retrieveElementSize(Cn).height;bn+=xn,Wt[an]=xn}},write:()=>{const an=Ye.lastIndexOf(!0);for(let bn=0;bn<Ae.length;bn++){if(!Ye[bn])continue;const Cn=ht[bn],xn=bn===an;for(const zn of Ft[bn])this._addStickyStyle(zn,he,Cn,xn)}"top"===he?this._positionListener?.stickyHeaderRowsUpdated({sizes:Wt,offsets:ht,elements:Ft}):this._positionListener?.stickyFooterRowsUpdated({sizes:Wt,offsets:ht,elements:Ft})}},{injector:this._tableInjector})}updateStickyFooterContainer(Ee,$){this._isNativeHtmlTable&&(0,o.mal)({write:()=>{const he=Ee.querySelector("tfoot");he&&($.some(Ae=>!Ae)?this._removeStickyStyle(he,["bottom"]):this._addStickyStyle(he,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(Ee,$){if(Ee.classList.contains(this._stickCellCss)){for(const Ae of $)Ee.style[Ae]="",Ee.classList.remove(this._borderCellCss[Ae]);un.some(Ae=>-1===$.indexOf(Ae)&&Ee.style[Ae])?Ee.style.zIndex=this._getCalculatedZIndex(Ee):(Ee.style.zIndex="",this._needsPositionStickyOnElement&&(Ee.style.position=""),Ee.classList.remove(this._stickCellCss))}}_addStickyStyle(Ee,$,he,Ae){Ee.classList.add(this._stickCellCss),Ae&&Ee.classList.add(this._borderCellCss[$]),Ee.style[$]=`${he}px`,Ee.style.zIndex=this._getCalculatedZIndex(Ee),this._needsPositionStickyOnElement&&(Ee.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Ee){const $={top:100,bottom:10,left:1,right:1};let he=0;for(const Ae of un)Ee.style[Ae]&&(he+=$[Ae]);return he?`${he}`:""}_getCellWidths(Ee,$=!0){if(!$&&this._cachedCellWidths.length)return this._cachedCellWidths;const he=[],Ae=Ee.children;for(let Ye=0;Ye<Ae.length;Ye++)he.push(this._retrieveElementSize(Ae[Ye]).width);return this._cachedCellWidths=he,he}_getStickyStartColumnPositions(Ee,$){const he=[];let Ae=0;for(let Ye=0;Ye<Ee.length;Ye++)$[Ye]&&(he[Ye]=Ae,Ae+=Ee[Ye]);return he}_getStickyEndColumnPositions(Ee,$){const he=[];let Ae=0;for(let Ye=Ee.length;Ye>0;Ye--)$[Ye]&&(he[Ye]=Ae,Ae+=Ee[Ye]);return he}_retrieveElementSize(Ee){const $=this._elemSizeCache.get(Ee);if($)return $;const he=Ee.getBoundingClientRect(),Ae={width:he.width,height:he.height};return this._resizeObserver&&(this._elemSizeCache.set(Ee,Ae),this._resizeObserver.observe(Ee,{box:"border-box"})),Ae}_updateStickyColumnReplayQueue(Ee){this._removeFromStickyColumnReplayQueue(Ee.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(Ee)}_removeFromStickyColumnReplayQueue(Ee){const $=new Set(Ee);for(const he of this._updatedStickyColumnsParamsToReplay)he.rows=he.rows.filter(Ae=>!$.has(Ae));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(he=>!!he.rows.length)}_updateCachedSizes(Ee){let $=!1;for(const he of Ee){const Ae=he.borderBoxSize?.length?{width:he.borderBoxSize[0].inlineSize,height:he.borderBoxSize[0].blockSize}:{width:he.contentRect.width,height:he.contentRect.height};Ae.width!==this._elemSizeCache.get(he.target)?.width&&_n(he.target)&&($=!0),this._elemSizeCache.set(he.target,Ae)}$&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(const he of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(he.rows,he.stickyStart
1States,he.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}}function _n(U){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(Ee=>U.classList.contains(Ee))}const It=new u.nKC("STICKY_POSITIONING_LISTENER");let In=(()=>{class U{viewContainer=(0,u.WQX)(o.c1b);elementRef=(0,u.WQX)(o.aKT);constructor(){const $=(0,u.WQX)(se);$._rowOutlet=this,$._outletAssigned()}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","rowOutlet",""]]})}return U})(),Vn=(()=>{class U{viewContainer=(0,u.WQX)(o.c1b);elementRef=(0,u.WQX)(o.aKT);constructor(){const $=(0,u.WQX)(se);$._headerRowOutlet=this,$._outletAssigned()}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","headerRowOutlet",""]]})}return U})(),kn=(()=>{class U{viewContainer=(0,u.WQX)(o.c1b);elementRef=(0,u.WQX)(o.aKT);constructor(){const $=(0,u.WQX)(se);$._footerRowOutlet=this,$._outletAssigned()}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","footerRowOutlet",""]]})}return U})(),Bn=(()=>{class U{viewContainer=(0,u.WQX)(o.c1b);elementRef=(0,u.WQX)(o.aKT);constructor(){const $=(0,u.WQX)(se);$._noDataRowOutlet=this,$._outletAssigned()}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["","noDataRowOutlet",""]]})}return U})(),Cr=(()=>{class U{_differs=(0,u.WQX)(l._q3);_changeDetectorRef=(0,u.WQX)(l.gRc);_elementRef=(0,u.WQX)(o.aKT);_dir=(0,u.WQX)(H.dS,{optional:!0});_platform=(0,u.WQX)(Oe.O);_viewRepeater;_viewportRuler=(0,u.WQX)(b.Xj);_injector=(0,u.WQX)(u.zZn);_virtualScrollViewport=(0,u.WQX)(b.m8,{optional:!0,host:!0});_positionListener=(0,u.WQX)(It,{optional:!0})||(0,u.WQX)(It,{optional:!0,skipSelf:!0});_document=(0,u.WQX)(u.qQL);_data;_renderedRange;_onDestroy=new R.B;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new R.B;_footerRowStickyUpdates=new R.B;_disableVirtualScrolling=!1;_getCellRole(){if(void 0===this._cellRoleInternal){const $=this._elementRef.nativeElement.getAttribute("role");return"grid"===$||"treegrid"===$?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy($){this._trackByFn=$}_trackByFn;get dataSource(){return this._dataSource}set dataSource($){this._dataSource!==$&&(this._switchDataSource($),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new R.B;_dataStream=new R.B;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows($){this._multiTemplateDataRows=$,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return!!this._virtualScrollEnabled()||this._fixedLayout}set fixedLayout($){this._fixedLayout=$,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new u.bkB;viewChange=new v.t({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){(0,u.WQX)(new l.ES_("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName,this._dataDiffer=this._differs.find([]).create((he,Ae)=>this.trackBy?this.trackBy(Ae.dataIndex,Ae.data):Ae)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe((0,f.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new we:new $e,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach($=>{$?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),ce(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const $=this._dataDiffer.diff(this._renderRows);if(!$)return this._updateNoDataRow(),void this.contentChanged.next();const he=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges($,he,(Ae,Ye,ht)=>this._getEmbeddedViewArgs(Ae.item,ht),Ae=>Ae.item.data,Ae=>{Ae.operation===Te.INSERTED&&Ae.context&&this._renderCellTemplateForItem(Ae.record.item.rowDef,Ae.context)}),this._updateRowIndexContext(),$.forEachIdentityChange(Ae=>{he.get(Ae.currentIndex).context.$implicit=Ae.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef($){this._customColumnDefs.add($)}
1removeColumnDef($){this._customColumnDefs.delete($)}addRowDef($){this._customRowDefs.add($)}removeRowDef($){this._customRowDefs.delete($)}addHeaderRowDef($){this._customHeaderRowDefs.add($),this._headerRowDefChanged=!0}removeHeaderRowDef($){this._customHeaderRowDefs.delete($),this._headerRowDefChanged=!0}addFooterRowDef($){this._customFooterRowDefs.add($),this._footerRowDefChanged=!0}removeFooterRowDef($){this._customFooterRowDefs.delete($),this._footerRowDefChanged=!0}setNoDataRow($){this._customNoDataRow=$}updateStickyHeaderRowStyles(){const $=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Ae=hn(this._headerRowOutlet,"thead");Ae&&(Ae.style.display=$.length?"":"none")}const he=this._headerRowDefs.map(Ae=>Ae.sticky);this._stickyStyler.clearStickyPositioning($,["top"]),this._stickyStyler.stickRows($,he,"top"),this._headerRowDefs.forEach(Ae=>Ae.resetStickyChanged())}updateStickyFooterRowStyles(){const $=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Ae=hn(this._footerRowOutlet,"tfoot");Ae&&(Ae.style.display=$.length?"":"none")}const he=this._footerRowDefs.map(Ae=>Ae.sticky);this._stickyStyler.clearStickyPositioning($,["bottom"]),this._stickyStyler.stickRows($,he,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,he),this._footerRowDefs.forEach(Ae=>Ae.resetStickyChanged())}updateStickyColumnStyles(){const $=this._getRenderedRows(this._headerRowOutlet),he=this._getRenderedRows(this._rowOutlet),Ae=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...$,...he,...Ae],["left","right"]),this._stickyColumnStylesNeedReset=!1),$.forEach((Ye,ht)=>{this._addStickyColumnStyles([Ye],this._headerRowDefs[ht])}),this._rowDefs.forEach(Ye=>{const ht=[];for(let Wt=0;Wt<he.length;Wt++)this._renderRows[Wt].rowDef===Ye&&ht.push(he[Wt]);this._addStickyColumnStyles(ht,Ye)}),Ae.forEach((Ye,ht)=>{this._addStickyColumnStyles([Ye],this._footerRowDefs[ht])}),Array.from(this._columnDefsByName.values()).forEach(Ye=>Ye.resetStickyChanged())}stickyColumnsUpdated($){this._positionListener?.stickyColumnsUpdated($)}stickyEndColumnsUpdated($){this._positionListener?.stickyEndColumnsUpdated($)}stickyHeaderRowsUpdated($){this._headerRowStickyUpdates.next($),this._positionListener?.stickyHeaderRowsUpdated($)}stickyFooterRowsUpdated($){this._footerRowStickyUpdates.next($),this._positionListener?.stickyFooterRowsUpdated($)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const he=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||he,this._forceRecalculateCellWidths=he,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];const $=[],he=Math.min(this._data.length,this._renderedRange.end),Ae=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ye=this._renderedRange.start;Ye<he;Ye++){const ht=this._data[Ye],Wt=this._getRenderRowsForData(ht,Ye,Ae.get(ht));this._cachedRenderRowsMap.has(ht)||this._cachedRenderRowsMap.set(ht,new WeakMap);for(let Ft=0;Ft<Wt.length;Ft++){let an=Wt[Ft];const bn=this._cachedRenderRowsMap.get(an.data);bn.has(an.rowDef)?bn.get(an.rowDef).push(an):bn.set(an.rowDef,[an]),$.push(an)}}return $}_getRenderRowsForData($,he,Ae){return this._getRowDefs($,he).map(ht=>{const Wt=Ae&&Ae.has(ht)?Ae.get(ht):[];if(Wt.length){const Ft=Wt.shift();return Ft.dataIndex=he,Ft}return{data:$,rowDef:ht,dataIndex:he}})}_cacheColumnDefs(){this._columnDefsByName.clear(),En(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEac
1h(he=>{this._columnDefsByName.has(he.name),this._columnDefsByName.set(he.name,he)})}_cacheRowDefs(){this._headerRowDefs=En(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=En(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=En(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const $=this._rowDefs.filter(he=>!he.when);this._defaultRowDef=$[0]}_renderUpdatedColumns(){const $=(ht,Wt)=>{const Ft=!!Wt.getColumnsDiff();return ht||Ft},he=this._rowDefs.reduce($,!1);he&&this._forceRenderDataRows();const Ae=this._headerRowDefs.reduce($,!1);Ae&&this._forceRenderHeaderRows();const Ye=this._footerRowDefs.reduce($,!1);return Ye&&this._forceRenderFooterRows(),he||Ae||Ye}_switchDataSource($){this._data=[],ce(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),$||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=$}_observeRenderChanges(){if(!this.dataSource)return;let $;ce(this.dataSource)?$=this.dataSource.connect(this):(0,w.A)(this.dataSource)?$=this.dataSource:Array.isArray(this.dataSource)&&($=(0,S.of)(this.dataSource)),this._renderChangeSubscription=(0,L.z)([$,this.viewChange]).pipe((0,f.Q)(this._onDestroy)).subscribe(([he,Ae])=>{this._data=he||[],this._renderedRange=Ae,this._dataStream.next(he),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(($,he)=>this._renderRow(this._headerRowOutlet,$,he)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(($,he)=>this._renderRow(this._footerRowOutlet,$,he)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles($,he){const Ae=Array.from(he?.columns||[]).map(Wt=>this._columnDefsByName.get(Wt)),Ye=Ae.map(Wt=>Wt.sticky),ht=Ae.map(Wt=>Wt.stickyEnd);this._stickyStyler.updateStickyColumns($,Ye,ht,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows($){const he=[];for(let Ae=0;Ae<$.viewContainer.length;Ae++){const Ye=$.viewContainer.get(Ae);he.push(Ye.rootNodes[0])}return he}_getRowDefs($,he){if(1===this._rowDefs.length)return[this._rowDefs[0]];let Ae=[];if(this.multiTemplateDataRows)Ae=this._rowDefs.filter(Ye=>!Ye.when||Ye.when(he,$));else{let Ye=this._rowDefs.find(ht=>ht.when&&ht.when(he,$))||this._defaultRowDef;Ye&&Ae.push(Ye)}return Ae}_getEmbeddedViewArgs($,he){return{templateRef:$.rowDef.template,context:{$implicit:$.data},index:he}}_renderRow($,he,Ae,Ye={}){const ht=$.viewContainer.createEmbeddedView(he.template,Ye,Ae);return this._renderCellTemplateForItem(he,Ye),ht}_renderCellTemplateForItem($,he){for(let Ae of this._getCellTemplates($))tn.mostRecentCellOutlet&&tn.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ae,he);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const $=this._rowOutlet.viewContainer;for(let he=0,Ae=$.length;he<Ae;he++){const ht=$.get(he).context;ht.count=Ae,ht.first=0===he,ht.last=he===Ae-1,ht.even=he%2==0,ht.odd=!ht.even,this.multiTemplateDataRows?(ht.dataIndex=this._renderRows[he].dataIndex,ht.renderIndex=he):ht.index=this._renderRows[he].dataIndex}}_getCellTemplates($){return $&&$.columns?Array.from($.columns,he=>{const Ae=this._columnDefsByName.get(he);return $.extractCellTemplate(Ae)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const $=(he,Ae)=>he||Ae.hasStickyChanged();this._headerRowDefs.reduce($,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce($,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce($,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new or(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,this._dir?this._dir.value:"ltr",this,this._injector),(this._dir?this._dir.change:(0,S.of)()).pipe((0,f.Q)(this._onDestroy)).subscribe(Ae=>{this._stickyStyler.direction=Ae,this.updateStickyColumnStyles()})}_setupVirtualScrolling($){const he=typeof requestAnimationFrame<"u"?E.X:h.$;this.viewChange.next({start:0,end:0}),$.renderedRangeStream.pipe((0,y.Z)(0,he),(0,f.Q)(this._onDestroy)).subscribe(this.viewChange),$.attach({dataStream:this._dataStream,measureRangeSize:(Ae,Ye)=>this._measureRangeSize(Ae,Ye)}),(0,L.z)([$.renderedContentOffset,this._headerRowStickyUpdates]).pipe((0,f.Q)(this._onDestroy)).subscribe(([Ae,Ye])=>{if(Ye.sizes&&Ye.offsets&&Ye.elements)for(let ht=0;ht<Ye.elements.length;ht++){const Wt=Ye.elements[ht];if(Wt){const Ft=Ye.offsets[ht],an=0!==Ae?Math.max(Ae-Ft,Ft):-Ft;for(const bn of Wt)bn.style.top=-an+"px"}}}),(0,L.z)([$.renderedContentOffset,this._footerRowStickyUpdates]).pipe((0,f.Q)(this._onDestroy)).subscribe(([Ae,Ye])=>{if(Ye.sizes&&Ye.offsets&&Ye.elements)for(let ht=0;ht<Ye.elements.length;ht++){const Wt=Ye.elements[ht];if(Wt)for(const Ft of Wt)Ft.style.bottom=`${Ae+Ye.offsets[ht]}px`}})}_getOwnDefs($){return $.filter(he=>!he._table||he._table===this)}
1_updateNoDataRow(){const $=this._customNoDataRow||this._noDataRow;if(!$)return;const he=0===this._rowOutlet.viewContainer.length;if(he===this._isShowingNoDataRow)return;const Ae=this._noDataRowOutlet.viewContainer;if(he){const Ye=Ae.createEmbeddedView($.templateRef),ht=Ye.rootNodes[0];if(1===Ye.rootNodes.length&&ht?.nodeType===this._document.ELEMENT_NODE){ht.setAttribute("role","row"),ht.classList.add(...$._contentClassNames);const Wt=ht.querySelectorAll($._cellSelector);for(let Ft=0;Ft<Wt.length;Ft++)Wt[Ft].classList.add(...$._cellClassNames)}}else Ae.clear();this._isShowingNoDataRow=he,this._changeDetectorRef.markForCheck()}_measureRangeSize($,he){if($.start>=$.end||"vertical"!==he)return 0;const Ye=this._rowOutlet.viewContainer,ht=$.start-this.viewChange.value.start,Wt=$.end-$.start;let Ft,an;for(let xn=0;xn<Wt;xn++){const zn=Ye.get(xn+ht);if(zn&&zn.rootNodes.length){Ft=an=zn.rootNodes[0];break}}for(let xn=Wt-1;xn>-1;xn--){const zn=Ye.get(xn+ht);if(zn&&zn.rootNodes.length){an=zn.rootNodes[zn.rootNodes.length-1];break}}const bn=Ft?.getBoundingClientRect?.(),Cn=an?.getBoundingClientRect?.();return bn&&Cn?Cn.bottom-bn.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&null!=this._virtualScrollViewport}static \u0275fac=function(he){return new(he||U)};static \u0275cmp=o.VBU({type:U,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(he,Ae,Ye){if(1&he&&o.wni(Ye,Kt,5)(Ye,ye,5)(Ye,Pt,5)(Ye,Je,5)(Ye,rt,5),2&he){let ht;o.mGM(ht=o.lsd())&&(Ae._noDataRow=ht.first),o.mGM(ht=o.lsd())&&(Ae._contentColumnDefs=ht),o.mGM(ht=o.lsd())&&(Ae._contentRowDefs=ht),o.mGM(ht=o.lsd())&&(Ae._contentHeaderRowDefs=ht),o.mGM(ht=o.lsd())&&(Ae._contentFooterRowDefs=ht)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(he,Ae){2&he&&o.AVh("cdk-table-fixed-layout",Ae.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",l.L39],fixedLayout:[2,"fixedLayout","fixedLayout",l.L39],recycleRows:[2,"recycleRows","recycleRows",l.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[o.Jv_([{provide:se,useExisting:U},{provide:It,useValue:null}])],ngContentSelectors:Be,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(he,Ae){1&he&&(
1o.NAR(Ue),o.SdG(0),o.SdG(1,1),o.nVh(2,lt,1,0),o.nVh(3,et,7,0)(4,pt,4,0)),2&he&&(o.R7$(2),o.vxM(Ae._isServer?2:-1),o.R7$(),o.vxM(Ae._isNativeHtmlTable?3:4))},dependencies:[Vn,In,Bn,kn],styles:[".cdk-table-fixed-layout {\n table-layout: fixed;\n}\n"],encapsulation:2})}return U})();function En(U,Ee){return U.concat(Array.from(Ee))}function hn(U,Ee){const $=Ee.toUpperCase();let he=U.viewContainer.element.nativeElement;for(;he;){const Ae=1===he.nodeType?he.nodeName:null;if(Ae===$)return he;if("TABLE"===Ae)break;he=he.parentNode}return null}let ve=(()=>{class U{static \u0275fac=function(he){return new(he||U)};static \u0275mod=o.$C({type:U});static \u0275inj=u.G2t({imports:[b.E9]})}return U})();var Fe=c(7786),He=c(7384),mt=c(6354),Rt=c(8203);const Qt=[[["caption"]],[["colgroup"],["col"]],"*"],sn=["caption","colgroup, col","*"];function An(U,Ee){1&U&&o.SdG(0,2)}function Ln(U,Ee){1&U&&(o.j41(0,"thead",0),o.eu8(1,1),o.k0s(),o.j41(2,"tbody",2),o.eu8(3,3)(4,4),o.k0s(),o.j41(5,"tfoot",0),o.eu8(6,5),o.k0s())}function mn(U,Ee){1&U&&o.eu8(0,1)(1,3)(2,4)(3,5)}let fr=(()=>{class U extends Cr{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275cmp=o.VBU({type:U,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(he,Ae){2&he&&o.AVh("mat-table-fixed-layout",Ae.fixedLayout)},exportAs:["matTable"],features:[o.Jv_([{provide:Cr,useExisting:U},{provide:se,useExisting:U},{provide:It,useValue:null}]),o.Vt3],ngContentSelectors:sn,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(he,Ae){1&he&&(
1o.NAR(Qt),o.SdG(0),o.SdG(1,1),o.nVh(2,An,1,0),o.nVh(3,Ln,7,0)(4,mn,4,0)),2&he&&(o.R7$(2),o.vxM(Ae._isServer?2:-1),o.R7$(),o.vxM(Ae._isNativeHtmlTable?3:4))},dependencies:[Vn,In,Bn,kn],styles:[".mat-mdc-table-sticky {\n position: sticky !important;\n}\n\nmat-table {\n display: block;\n}\n\nmat-header-row {\n min-height: var(--mat-table-header-container-height, 56px);\n}\n\nmat-row {\n min-height: var(--mat-table-row-item-container-height, 52px);\n}\n\nmat-footer-row {\n min-height: var(--mat-table-footer-container-height, 52px);\n}\n\nmat-row, mat-header-row, mat-footer-row {\n display: flex;\n border-width: 0;\n border-bottom-width: 1px;\n border-style: solid;\n align-items: center;\n box-sizing: border-box;\n}\n\nmat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type {\n padding-left: 24px;\n}\n[dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) {\n padding-left: 0;\n padding-right: 24px;\n}\nmat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type {\n padding-right: 24px;\n}\n[dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) {\n padding-right: 0;\n padding-left: 24px;\n}\n\nmat-cell, mat-header-cell, mat-footer-cell {\n flex: 1;\n display: flex;\n align-items: center;\n overflow: hidden;\n word-wrap: break-word;\n min-height: inherit;\n}\n\n.mat-mdc-table {\n min-width: 100%;\n border: 0;\n border-spacing: 0;\n table-layout: auto;\n white-space: normal;\n background-color: var(--mat-table-background-color, var(--mat-sys-surface));\n}\n\n.mat-table-fixed-layout {\n table-layout: fixed;\n}\n\n.mdc-data-table__cell {\n box-sizing: border-box;\n overflow: hidden;\n text-align: start;\n text-overflow: ellipsis;\n}\n\n.mdc-data-table__cell,\n.mdc-data-table__header-cell {\n padding: 0 16px;\n}\n\n.mat-mdc-header-row {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n height: var(--mat-table-header-container-height, 56px);\n color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));\n line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));\n font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));\n font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500));\n}\n\n.mat-mdc-row {\n height: var(--mat-table-row-item-container-height, 52px);\n color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n}\n\n.mat-mdc-row,\n.mdc-data-table__content {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));\n line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));\n font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));\n font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight));\n}\n\n.mat-mdc-footer-row {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n height: var(--mat-table-footer-container-height, 52px);\n color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));\n line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));\n font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));\n font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));\n letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking));\n}\n\n.mat-mdc-header-cell {\n border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));\n border-bottom-width: var(--mat-table-row-item-outline-width, 1px);\n border-bottom-style: solid;\n letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));\n font-weight: inherit;\n line-height: inherit;\n box-sizing: border-box;\n text-overflow: ellipsis;\n overflow: hidden;\n outline: none;\n text-align: start;\n}\n.mdc-data-table__row:last-child > .mat-mdc-header-cell {\n border-bottom: none;\n}\n\n.mat-mdc-cell {\n border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));\n border-bottom-width: var(--mat-table-row-item-outline-width, 1px);\n border-bottom-style: solid;\n letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));\n line-height: inherit;\n}\n.mdc-data-table__row:last-child > .mat-mdc-cell {\n border-bottom: none;\n}\n\n.mat-mdc-footer-cell {\n letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));\n}\n\nmat-row.mat-mdc-row,\nmat-header-row.mat-mdc-header-row,\nmat-footer-row.mat-mdc-footer-row {\n border-bottom: none;\n}\n\n.mat-mdc-table tbody,\n.mat-mdc-table tfoot,\n.mat-mdc-table thead,\n.mat-mdc-cell,\n.mat-mdc-footer-cell,\n.mat-mdc-header-row,\n.mat-mdc-row,\n.mat-mdc-footer-row,\n.mat-mdc-table .mat-mdc-header-cell {\n background: inherit;\n}\n\n.mat-mdc-table mat-header-row.mat-mdc-header-row,\n.mat-mdc-table mat-row.mat-mdc-row,\n.mat-mdc-table mat-footer-row.mat-mdc-footer-cell {\n height: unset;\n}\n\nmat-header-cell.mat-mdc-header-cell,\nmat-cell.mat-mdc-cell,\nmat-footer-cell.mat-mdc-footer-cell {\n align-self: stretch;\n}\n"],encapsulation:2})}return U})(),gr=(()=>{class U extends Y{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275dir=o.FsC({type:U,selectors:[["","matCellDef",""]],features:[o.Jv_([{provide:Y,useExisting:U}]),o.Vt3]})}return U})(),Rr=(()=>{class U extends ee{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275dir=o.FsC({type:U,selectors:[["","matHeaderCellDef",""]],features:[o.Jv_([{provide:ee,useExisting:U}]),o.Vt3]})}return U})(),Vt=(()=>{class U extends ye{get name(){return this._name}set name($){this._setNameInput($)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275dir=o.FsC({type:U,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[o.Jv_([{provide:ye,useExisting:U}]),o.Vt3]})}return U})(),dt=(()=>{class U extends Ne{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275dir=o.FsC({type:U,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[o.Vt3]})}return U})(),Xt=(()=>{class U extends tt{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275dir=o.FsC({type:U,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[o.Vt3]})}return U})(),Nn=(()=>{class U extends Je{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275dir=o.FsC({type:U,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",l.L39]},features:[o.Jv_([{provide:Je,useExisting:U}]),o.Vt3]})}return U})(),Ge=(()=>{class U extends Pt{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275dir=o.FsC({type:U,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[o.Jv_([{provide:Pt,useExisting:U}]),o.Vt3]})}return U})(),Ve=(()=>{class U extends i{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275cmp=o.VBU({type:U,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[o.Jv_([{provide:i,useExisting:U}]),o.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(he,Ae){1&he&&o.eu8(0,0)},dependencies:[tn],encapsulation:2})}return U})(),W=(()=>{class U extends Ut{static \u0275fac=(()=>{let $;return function(Ae){return($||($=o.xGo(U)))(Ae||U)}})();static \u0275cmp=o.VBU({type:U,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[o.Jv_([{provide:Ut,useExisting:U}]),o.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(he,Ae){1&he&&o.eu8(0,0)},dependencies:[tn],encapsulation:2})}return U})(),ue=(()=>{class U extends Kt{_cellSelector="td, mat-cell, [mat-cell], .mat-cell";constructor(){super(),this._contentClassNames.push("mat-mdc-no-data-row","mat-mdc-row","mdc-data-table__row"),this._cellClassNames.push("mat-mdc-cell","mdc-data-table__cell","mat-no-data-cell")}static \u0275fac=function(he){return new(he||U)};static \u0275dir=o.FsC({type:U,selectors:[["ng-template","matNoDataRow",""]],features:[o.Jv_([{provide:Kt,useExisting:U}]),o.Vt3]})}return U})(),Dt=(()=>{class U{static \u0275fac=function(he){return new(he||U)};static \u0275mod=o.$C({type:U});static \u0275inj=u.G2t({imports:[ve,Rt.jI]})}return U})();class Yt extends Z{_data;_renderData=new v.t([]);_filter=new v.t("");_internalPageChanges=new R.B;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(Ee){Ee=Array.isArray(Ee)?Ee:[],this._data.next(Ee),this._renderChangesSubscription||this._filterData(Ee)}get filter(){return this._filter.value}set filter(Ee){this._filter.next(Ee),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Ee){this._sort=Ee,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(Ee){this._paginator=Ee,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(Ee,$)=>{const he=Ee[$];if((0,He.o1)(he)){const Ae=Number(he);return Ae<9007199254740991?Ae:he}return he};sortData=(Ee,$)=>
1{const he=$.active,Ae=$.direction;return he&&""!=Ae?Ee.sort((Ye,ht)=>{let Wt=this.sortingDataAccessor(Ye,he),Ft=this.sortingDataAccessor(ht,he);const an=typeof Wt,bn=typeof Ft;an!==bn&&("number"===an&&(Wt+=""),"number"===bn&&(Ft+=""));let Cn=0;return null!=Wt&&null!=Ft?Wt>Ft?Cn=1:Wt<Ft&&(Cn=-1):null!=Wt?Cn=1:null!=Ft&&(Cn=-1),Cn*("asc"==Ae?1:-1)}):Ee};filterPredicate=(Ee,$)=>{const he=$.trim().toLowerCase();return Object.values(Ee).some(Ae=>`${Ae}`.toLowerCase().includes(he))};constructor(Ee=[]){super(),this._data=new v.t(Ee),this._updateChangeSubscription()}_updateChangeSubscription(){const Ee=this._sort?(0,Fe.h)(this._sort.sortChange,this._sort.initialized):(0,S.of)(null),$=this._paginator?(0,Fe.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,S.of)(null),Ae=(0,L.z)([this._data,this._filter]).pipe((0,mt.T)(([Wt])=>this._filterData(Wt))),Ye=(0,L.z)([Ae,Ee]).pipe((0,mt.T)(([Wt])=>this._orderData(Wt))),ht=(0,L.z)([Ye,$]).pipe((0,mt.T)(([Wt])=>this._pageData(Wt)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=ht.subscribe(Wt=>this._renderData.next(Wt))}_filterData(Ee){return this.filteredData=null==this.filter||""===this.filter?Ee:Ee.filter($=>this.filterPredicate($,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Ee){return this.sort?this.sortData(Ee.slice(),this.sort):Ee}_pageData(Ee){if(!this.paginator)return Ee;const $=this.paginator.pageIndex*this.paginator.pageSize;return Ee.slice($,$+this.paginator.pageSize)}_updatePaginator(Ee){Promise.resolve().then(()=>{const $=this.paginator;if($&&($.length=Ee,$.pageIndex>0)){const he=Math.ceil($.length/$.pageSize)-1||0,Ae=Math.min($.pageIndex,he);Ae!==$.pageIndex&&($.pageIndex=Ae,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},9950(qe,P,c){"use strict";c.d(P,{mq:()=>Rt,T8:()=>ft,ES:()=>He,RI:()=>Ge});var o=c(5547),u=c(5802),l=c(5157),R=c(6939),v=c(1413),w=c(7673),S=c(7786),L=c(983),E=c(1985),h=c(1807),f=c(8359),y=c(3293),H=c(1767),b=c(3132);class N extends b.l{_origin="program";setFocusOrigin(te){return this._origin=te,this}setActiveItem(te){super.setActiveItem(te),this.activeItem&&this.activeItem.focus(this._origin)}}var A=c(3531),C=c(6537),V=c(9752),B=c(8203),Q=c(7336),Z=c(413),ce=c(7088),be=c(7421),Te=c(5478),we=c(152),$e=c(6977),Oe=c(9172),Ue=c(5558),Be=c(5245),lt=c(5964),et=c(8649),pt=c(2318),Ct=c(8943);const or=["*"];function _n(Ve,te){1&Ve&&o.SdG(0)}const cr=["tabListContainer"],Sn=["tabList"],hr=["tabListInner"],rr=["nextPaginator"],wt=["previousPaginator"],en=["content"];function ct(Ve,te){}const gt=["tabBodyWrapper"],It=["tabHeader"];function dn(Ve,te){}function In(Ve,te){if(1&Ve&&o.DNE(0,dn,0,0,"ng-template",12),2&Ve){const W=o.XpG().$implicit;o.Y8G("cdkPortalOutlet",W.templateLabel)}}function Vn(Ve,te){if(1&Ve&&o.EFF(0),2&Ve){const W=o.XpG().$implicit;o.JRh(W.textLabel)}}function kn(Ve,te){if(1&Ve){const W=o.RV6();o.j41(0,"div",7,2),o.bIt("click",function(){const _e=u.eBV(W),Se=_e.$implicit,Dt=_e.$index,kt=o.XpG(),Yt=o.sdS(1);return u.Njj(kt._handleClick(Se,Yt,Dt))})("cdkFocusChange",function(_e){const Se=u.eBV(W).$index,Dt=o.XpG();return u.Njj(Dt._tabFocusChanged(_e,Se))}),o.nrm(2,"span",8)(3,"div",9),o.j41(4,"span",10)(5,"span",11),o.nVh(6,In,1,1,null,12)(7,Vn,1,1),o.k0s()()()}if(2&Ve){const W=te.$implicit,ue=te.$index,_e=o.sdS(1),Se=o.XpG();o.HbH(W.labelClass),o.AVh("mdc-tab--active",Se.selectedIndex===ue),o.Y8G("id",Se._getTabLabelId(W,ue))("disabled",W.disabled)("fitInkBarToContent",Se.fitInkBarToContent),o.BMQ("tabIndex",Se._getTabIndex(ue))("aria-posinset",ue+1)("aria-setsize",Se._tabs.length)("aria-controls",Se._getTabContentId(ue))("aria-selected",Se.selectedIndex===ue)("aria-label",W.ariaLabel||null)("aria-labelledby",!W.ariaLabel&&W.ariaLabelledby?W.ariaLabelledby:null),o.R7$(3),o.Y8G("matRippleTrigger",_e)("matRippleDisabled",W.disabled||Se.disableRipple),o.R7$(3),o.vxM(W.templateLabel?6:7
1)}}function Bn(Ve,te){1&Ve&&o.SdG(0)}function Cr(Ve,te){if(1&Ve){const W=o.RV6();o.j41(0,"mat-tab-body",13),o.bIt("_onCentered",function(){u.eBV(W);const _e=o.XpG();return u.Njj(_e._removeTabBodyWrapperHeight())})("_onCentering",function(_e){u.eBV(W);const Se=o.XpG();return u.Njj(Se._setTabBodyWrapperHeight(_e))})("_beforeCentering",function(_e){u.eBV(W);const Se=o.XpG();return u.Njj(Se._bodyCentered(_e))}),o.k0s()}if(2&Ve){const W=te.$implicit,ue=te.$index,_e=o.XpG();o.HbH(W.bodyClass),o.Y8G("id",_e._getTabContentId(ue))("content",W.content)("position",W.position)("animationDuration",_e.animationDuration)("preserveContent",_e.preserveContent),o.BMQ("tabindex",null!=_e.contentTabIndex&&_e.selectedIndex===ue?_e.contentTabIndex:null)("aria-labelledby",_e._getTabLabelId(W,ue))("aria-hidden",_e.selectedIndex!==ue)}}const Kn=new u.nKC("MatTabContent");let xe=(()=>{class Ve{template=(0,u.WQX)(o.C4Q);constructor(){}static \u0275fac=function(ue){return new(ue||Ve)};static \u0275dir=o.FsC({type:Ve,selectors:[["","matTabContent",""]],features:[o.Jv_([{provide:Kn,useExisting:Ve}])]})}return Ve})();const ve=new u.nKC("MatTabLabel"),Fe=new u.nKC("MAT_TAB");let He=(()=>{class Ve extends R.bV{_closestTab=(0,u.WQX)(Fe,{optional:!0});static \u0275fac=(()=>{let W;return function(_e){return(W||(W=o.xGo(Ve)))(_e||Ve)}})();static \u0275dir=o.FsC({type:Ve,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o.Jv_([{provide:ve,useExisting:Ve}]),o.Vt3]})}return Ve})();const mt=new u.nKC("MAT_TAB_GROUP");let Rt=(()=>{class Ve{_viewContainerRef=(0,u.WQX)(o.c1b);_closestTabGroup=(0,u.WQX)(mt,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(W){this._setTemplateLabelInput(W)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new v.B;position=null;origin=null;isActive=!1;constructor(){(0,u.WQX)(y.l).load(H.A)}ngOnChanges(W){(W.hasOwnProperty("textLabel")||W.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new R.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(W){W&&W._closestTab===this&&(this._templateLabel=W)}static \u0275fac=function(ue){return new(ue||Ve)};static \u0275cmp=o.VBU({type:Ve,selectors:[["mat-tab"]],contentQueries:function(ue,_e,Se){if(1&ue&&o.wni(Se,He,5)(Se,xe,7,o.C4Q),2&ue){let Dt;o.mGM(Dt=o.lsd())&&(_e.templateLabel=Dt.first),o.mGM(Dt=o.lsd())&&(_e._explicitContent=Dt.first)}},viewQuery:function(ue,_e){if(1&ue&&o.GBs(o.C4Q,7),2&ue){let Se;o.mGM(Se=o.lsd())&&(_e._implicitContent=Se.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(ue,_e){2&ue&&o.BMQ("id",null)},inputs:{disabled:[2,"disabled","disabled",l.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[o.Jv_([{provide:Fe,useExisting:Ve}]),o.OA$],ngContentSelectors:or,decls:1,vars:0,template:function(ue,_e){1&ue&&(o.NAR(),o.PeT(0,_n,1,0,"ng-template"))},encapsulation:2})}return Ve})();const Qt="mdc-tab-indicator--active",sn="mdc-tab-indicator--no-transition";class An{_items;_currentItem;constructor(te){this._items=te}hide(){this._items.forEach(te=>te.deactivateInkBar()),this._currentItem=void 0}alignToElement(te){const W=this._items.find(_e=>_e.elementRef.nativeElement===te),ue=this._currentItem;if(W!==ue&&(ue?.deactivateInkBar(),W)){const _e=ue?.elementRef.nativeElement.getBoundingClientRect?.();W.activateInkBar(_e),this._currentItem=W}}}let Ln=(()=>{class Ve{_elementRef=(0,u.WQX)(o.aKT);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(W){this._fitToContent!==W&&(this._fitToContent=W,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(W){const ue=this._elementRef.nativeElement;if(!W||!ue.getBoundingClientRect||!this._inkBarContentElement)return void ue.classList.add(Qt);const _e=ue.getBoundingClientRect(),Se=W.width/_e.width,Dt=W.left-_e.left;ue.classList.add(sn),this._inkBarContentElement.style.setProperty("transform",`translateX(${Dt}
1px) scaleX(${Se})`),ue.getBoundingClientRect(),ue.classList.remove(sn),ue.classList.add(Qt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Qt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const W=this._elementRef.nativeElement.ownerDocument||document,ue=this._inkBarElement=W.createElement("span"),_e=this._inkBarContentElement=W.createElement("span");ue.className="mdc-tab-indicator",_e.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",ue.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(ue){return new(ue||Ve)};static \u0275dir=o.FsC({type:Ve,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",l.L39]}})}return Ve})(),Hn=(()=>{class Ve extends Ln{elementRef=(0,u.WQX)(o.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let W;return function(_e){return(W||(W=o.xGo(Ve)))(_e||Ve)}})();static \u0275dir=o.FsC({type:Ve,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ue,_e){2&ue&&(o.BMQ("aria-disabled",!!_e.disabled),o.AVh("mat-mdc-tab-disabled",_e.disabled))},inputs:{disabled:[2,"disabled","disabled",l.L39]},features:[o.Vt3]})}return Ve})();const ar={passive:!0};let gr=(()=>{class Ve{_elementRef=(0,u.WQX)(o.aKT);_changeDetectorRef=(0,u.WQX)(l.gRc);_viewportRuler=(0,u.WQX)(Te.Xj);_dir=(0,u.WQX)(V.dS,{optional:!0});_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(be.O);_sharedResizeObserver=(0,u.WQX)(ce.a);_injector=(0,u.WQX)(u.zZn);_renderer=(0,u.WQX)(o.sFG);_animationsDisabled=(0,et.Rc)();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new v.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new v.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(W){const ue=isNaN(W)?0:W;this._selectedIndex!=ue&&(this._selectedIndexChanged=!0,this._selectedIndex=ue,this._keyManager&&this._keyManager.updateActiveItem(ue))}_selectedIndex=0;selectFocusedIndex=new u.bkB;indexFocused=new u.bkB;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),ar),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),ar))}ngAfterContentInit(){const W=this._dir?this._dir.change:(0,w.of)("ltr"),ue=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe((0,we.B)(32),(0,$e.Q)(this._destroyed)),_e=this._viewportRuler.change(150).pipe((0,$e.Q)(this._destroyed)),Se=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new N(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),(0,o.mal)(Se,{injector:this._injector}),(0,S.h)(W,_e,ue,this._items.changes,this._itemsResized()).pipe((0,$e.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Se()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Dt=>{this.indexFocused.emit(Dt),this._setTabFocus(Dt)})}_itemsResized(){return"function"!=typeof ResizeObserver?L.w:this._items.changes.pipe((0,Oe.Z)(this._items),(0,Ue.n)(W=>new E.c(ue=>this._ngZone.runOutsideAngular(()=>{const _e=new ResizeObserver(Se=>ue.next(Se));return W.forEach(Se=>_e.observe(Se.elementRef.nativeElement)),()=>{_e.disconnect()}}))),(0,Be.i)(1),(0,lt.p)(W=>W.some(ue=>ue.contentRect.width>0&&ue.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(W=>W()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(W){if(!(0,Q.rp)(W))switch(W.keyCode){case Z.Fm:case Z.t6:if(this.focusIndex!==this.selectedIndex){const ue=this._items.get(this.focusIndex);
1ue&&!ue.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(W))}break;default:this._keyManager?.onKeydown(W)}}_onContentChanges(){const W=this._elementRef.nativeElement.textContent;W!==this._currentTextContent&&(this._currentTextContent=W||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(W){!this._isValidIndex(W)||this.focusIndex===W||!this._keyManager||this._keyManager.setActiveItem(W)}_isValidIndex(W){return!this._items||!!this._items.toArray()[W]}_setTabFocus(W){if(this._showPaginationControls&&this._scrollToLabel(W),this._items&&this._items.length){this._items.toArray()[W].focus();const ue=this._tabListContainer.nativeElement;ue.scrollLeft="ltr"==this._getLayoutDirection()?0:ue.scrollWidth-ue.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const W=this.scrollDistance,ue="ltr"===this._getLayoutDirection()?-W:W;this._tabList.nativeElement.style.transform=`translateX(${Math.round(ue)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(W){this._scrollTo(W)}_scrollHeader(W){return this._scrollTo(this._scrollDistance+("before"==W?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(W){this._stopInterval(),this._scrollHeader(W)}_scrollToLabel(W){if(this.disablePagination)return;const ue=this._items?this._items.toArray()[W]:null;if(!ue)return;const _e=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Se,offsetWidth:Dt}=ue.elementRef.nativeElement;let kt,Yt;"ltr"==this._getLayoutDirection()?(kt=Se,Yt=kt+Dt):(Yt=this._tabListInner.nativeElement.offsetWidth-Se,kt=Yt-Dt);const U=this.scrollDistance,Ee=this.scrollDistance+_e;kt<U?this.scrollDistance-=U-kt:Yt>Ee&&(this.scrollDistance+=Math.min(Yt-Ee,kt-U))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const _e=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;_e||(this.scrollDistance=0),_e!==this._showPaginationControls&&(this._showPaginationControls=_e,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const W=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,ue=W?W.elementRef.nativeElement:null;ue?this._inkBar.alignToElement(ue):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(W,ue){ue&&null!=ue.button&&0!==ue.button||(this._stopInterval(),(0,h.O)(650,100).pipe((0,$e.Q)((0,S.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:_e,distance:Se}=this._scrollHeader(W);(0===Se||Se>=_e)&&this._stopInterval()}))}_scrollTo(W){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const ue=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(ue,W)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:ue,distance:this._scrollDistance}}static \u0275fac=function(ue){return new(ue||Ve)};static \u0275dir=o.FsC({type:Ve,inputs:{disablePagination:[2,"disablePagination","disablePagination",l.L39],selectedIndex:[2,"selectedIndex","selectedIndex",l.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return Ve})(),Rr=(()=>{class Ve extends gr{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new An(this._items),super.ngAfterContentInit()}_itemSelected(W){W.preventDefault()}static \u0275fac=(()=>{let W;return function(_e){return(W||(W=o.xGo(Ve)))(_e||Ve)}})();static \u0275cmp=o.VBU({type:Ve,selectors:[["mat-tab-header"]],contentQueries:function(ue,_e,Se){if(1&ue&&o.wni(Se,Hn,4),2&ue){let Dt;o.mGM(Dt=o.lsd())&&(_e._items=Dt)}},viewQuery:function(ue,_e){if(1&ue&&o.GBs(cr,7)(Sn,7)(hr,7)(rr,5)(wt,5),2&ue){let Se;o.mGM(Se=o.lsd())&&(_e._tabListContainer=Se.first),o.mGM(Se=o.lsd())&&(_e._tabList=Se.first),o.mGM(Se=o.lsd())&&(_e._tabListInner=Se.first),o.mGM(Se=o.lsd())&&(_e._nextPaginator=Se.first),o.mGM(Se=o.lsd())&&(_e._previousPaginator=Se.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(ue,_e){2&ue&&o.AVh("mat-mdc-tab-header-pagination-controls-enabled",_e._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==_e._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",l.L39]},features:[o.Vt3],ngContentSelectors:or,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(ue,_e){1&ue&&(o.NAR(),o.j41(0,"div",5,0),o.bIt("click",function(){return _e._handlePaginatorClick("before")})("mousedown",function(Dt){return _e._handlePaginatorPress("before",Dt)})("touchend",function(){return _e._stopInterval()}),o.nrm(2,"div",6),o.k0s(),o.j41(3,"div",7,1),o.bIt("keydown",function(Dt){return _e._handleKeydown(Dt)}),o.j41(5,"div",8,2),o.bIt("cdkObserveContent",function(){return _e._onContentChanges()}),o.j41(7,"div",9,3),o.SdG(9),o.k0s()()(),o.j41(10,"div",10,4),o.bIt("mousedown",function(Dt){return _e._handlePaginatorPress("after",Dt)})("click",function(){return _e._handlePaginatorClick("after")})("touchend",function(){return _e._stopInterval()}),o.nrm(12,"div",6),o.k0s()),2&ue&&(o.AVh("mat-mdc-tab-header-pagination-disabled",_e._disableScrollBefore),o.Y8G("matRippleDisabled",_e._disableScrollBefore||_e.disableRipple),o.R7$(3),o.AVh("_mat-animation-noopable",_e._animationsDisabled),o.R7$(2),o.BMQ("aria-label",_e.ariaLabel||null)("aria-labelledby",_e.ariaLabelledby||null),o.R7$(5),o.AVh("mat-mdc-tab-header-pagination-disabled",_e._disableScrollAfter),o.Y8G("matRippleDisabled",_e._disableScrollAfter||_e.disableRipple))},dependencies:[Ct.r6,pt.Wv],styles:[".mat-mdc-tab-header {\n display: flex;\n overflow: hidden;\n position: relative;\n flex-shrink: 0;\n}\n\n.mdc-tab-indicator .mdc-tab-indicator__content {\n transition-duration: var(--mat-tab-animation-duration, 250ms);\n}\n\n.mat-mdc-tab-header-pagination {\n -webkit-user-select: none;\n user-select: none;\n position: relative;\n display: none;\n justify-content: center;\n align-items: center;\n min-width: 32px;\n cursor: pointer;\n z-index: 2;\n -webkit-tap-highlight-color: transparent;\n touch-action: none;\n box-sizing: content-box;\n outline: 0;\n}\n.mat-mdc-tab-header-pagination::-moz-focus-inner {\n border: 0;\n}\n.mat-mdc-tab-header-pagination .mat-ripple-element {\n opacity: 0.12;\n background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination {\n display: flex;\n}\n\n.mat-mdc-tab-header-pagination-before,\n.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after {\n padding-left: 4px;\n}\n.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,\n.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {\n transform: rotate(-135deg);\n}\n\n.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,\n.mat-mdc-tab-header-pagination-after {\n padding-right: 4px;\n}\n.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,\n.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {\n transform: rotate(45deg);\n}\n\n.mat-mdc-tab-header-pagination-chevron {\n border-style: solid;\n border-width: 2px 2px 0 0;\n height: 8px;\n width: 8px;\n border-color: var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface));\n}\n\n.mat-mdc-tab-header-pagination-disabled {\n box-shadow: none;\n cursor: default;\n pointer-events: none;\n}\n.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron {\n opacity: 0.4;\n}\n\n.mat-mdc-tab-list {\n flex-grow: 1;\n position: relative;\n transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);\n}\n._mat-animation-noopable .mat-mdc-tab-list {\n transition: none;\n}\n\n.mat-mdc-tab-label-container {\n display: flex;\n flex-grow: 1;\n overflow: hidden;\n z-index: 1;\n border-bottom-style: solid;\n border-bottom-width: var(--mat-tab-divider-height, 1px);\n border-bottom-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant));\n}\n.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container {\n border-bottom: none;\n border-top-style: solid;\n border-top-width: var(--mat-tab-divider-height, 1px);\n border-top-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant));\n}\n\n.mat-mdc-tab-labels {\n display: flex;\n flex: 1 0 auto;\n}\n[mat-align-tabs=center] > .mat-mdc-tab-header .mat-mdc-tab-labels {\n justify-content: center;\n}\n[mat-align-tabs=end] > .mat-mdc-tab-header .mat-mdc-tab-labels {\n justify-content: flex-end;\n}\n.cdk-drop-list .mat-mdc-tab-labels, .mat-mdc-tab-labels.cdk-drop-list {\n min-height: var(--mat-tab-container-height, 48px);\n}\n\n.mat-mdc-tab::before {\n margin: 5px;\n}\n@media (forced-colors: active) {\n .mat-mdc-tab[aria-disabled=true] {\n color: GrayText;\n }\n}\n"],encapsulation:2})}return Ve})();const Ot=new u.nKC("MAT_TABS_CONFIG");let Vt=(()=>{class Ve extends R.I3{_host=(0,u.WQX)(dt);_ngZone=(0,u.WQX)(u.SKi);_centeringSub=f.yU.EMPTY;_leavingSub=f.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Oe.Z)(this._host._isCenterPosition())).subscribe(W=>{this._host._content&&W&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(ue){return new(ue||Ve)};static \u0275dir=o.FsC({type:Ve,selectors:[["","matTabBodyHost",""]],features:[o.Vt3]})}return Ve})(),dt=(()=>{class Ve{_elementRef=(0,u.WQX)(o.aKT);_dir=(0,u.WQX)(V.dS,{optional:!0});_ngZone=(0,u.WQX)(u.SKi);_injector=(0,u.WQX)(u.zZn);_renderer=(0,u.WQX)(o.sFG);_diAnimationsDisabled=(0,et.Rc)();_eventCleanups;_initialized=!1;_fallbackTimer;_positionIndex;_dirChangeSubscription=f.yU.EMPTY;_position;_previousPosition;_onCentering=new u.bkB;_beforeCentering=new u.bkB;_afterLeavingCenter=new u.bkB;_onCentered=new u.bkB(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(W){this._positionIndex=W,this._computePositionAnimationState()}constructor(){if(this._dir){const W=(0,u.WQX)(l.gRc);this._dirChangeSubscription=this._dir.change.subscribe(ue=>{this._computePositionAnimationState(ue),W.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),"center"===this._position&&(this._setActiveClass(!0),(0,o.mal)(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(W=>W()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{const W=this._elementRef.nativeElement,ue=_e=>{_e.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),"transitionend"===_e.type&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(W,"transitionstart",_e=>{_e.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(W,"transitionend",ue),this._renderer.listen(W,"transitioncancel",ue)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);const W="center"===this._position;this._beforeCentering.emit(W),W&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){"center"===this._position?this._onCentered.emit():"center"===this._previousPosition&&this._afterLeavingCenter.emit()}_setActiveClass(W){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",W)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(){return 0===this._positionIndex}_computePositionAnimationState(W=this._getLayoutDirection()){this._previousPosition=this._position,this._position=this._positionIndex<0?"ltr"==W?"left":"right":this._positionIndex>0?"ltr"==W?"right":"left":"center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&("center"===this._position||"center"===this._previousPosition)&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),(0,o.mal)(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||"0ms"===this.animationDuration||"0s"===this.animationDuration}static \u0275fac=function(ue){return new(ue||Ve)};static \u0275cmp=o.VBU({type:Ve,selectors:[["mat-tab-body"]],viewQuery:function(ue,_e){if(1&ue&&o.GBs(Vt,5)(en,5),2&ue){let Se;o.mGM(Se=o.lsd())&&(_e._portalHost=Se.first),o.mGM(Se=o.lsd())&&(_e._contentElement=Se.f
1irst)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(ue,_e){2&ue&&o.BMQ("inert","center"===_e._position?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(ue,_e){1&ue&&(o.j41(0,"div",1,0),o.DNE(2,ct,0,0,"ng-template",2),o.k0s()),2&ue&&o.AVh("mat-tab-body-content-left","left"===_e._position)("mat-tab-body-content-right","right"===_e._position)("mat-tab-body-content-can-animate","center"===_e._position||"center"===_e._previousPosition)},dependencies:[Vt,Te.uv],styles:[".mat-mdc-tab-body {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n display: block;\n overflow: hidden;\n outline: 0;\n flex-basis: 100%;\n}\n.mat-mdc-tab-body.mat-mdc-tab-body-active {\n position: relative;\n overflow-x: hidden;\n overflow-y: auto;\n z-index: 1;\n flex-grow: 1;\n}\n.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active {\n overflow-y: hidden;\n}\n\n.mat-mdc-tab-body-content {\n height: 100%;\n overflow: auto;\n transform: none;\n visibility: hidden;\n}\n.mat-tab-body-animating > .mat-mdc-tab-body-content, .mat-mdc-tab-body-active > .mat-mdc-tab-body-content {\n visibility: visible;\n}\n.mat-tab-body-animating > .mat-mdc-tab-body-content {\n min-height: 1px;\n}\n.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content {\n overflow: hidden;\n}\n\n.mat-tab-body-content-can-animate {\n transition: transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1);\n}\n.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate {\n transition: none;\n}\n\n.mat-tab-body-content-left {\n transform: translate3d(-100%, 0, 0);\n}\n\n.mat-tab-body-content-right {\n transform: translate3d(100%, 0, 0);\n}\n"],encapsulation:2})}return Ve})(),ft=(()=>{class Ve{_elementRef=(0,u.WQX)(o.aKT);_changeDetectorRef=(0,u.WQX)(l.gRc);_ngZone=(0,u.WQX)(u.SKi);_tabsSubscription=f.yU.EMPTY;_tabLabelSubscription=f.yU.EMPTY;_tabBodySubscription=f.yU.EMPTY;_diAnimationsDisabled=(0,et.Rc)();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new o.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(W){this._fitInkBarToContent=W,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(W){this._indexToSelect=isNaN(W)?null:W}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(W){const ue=W+"";this._animationDuration=/^\d+$/.test(ue)?W+"ms":ue}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(W){this._contentTabIndex=isNaN(W)?null:W}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(W){const ue=this._elementRef.nativeElement.classList;ue.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),W&&ue.add("mat-tabs-with-background",`mat-background-${W}`),this._backgroundColor=W}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new u.bkB;focusChange=new u.bkB;animationDone=new u.bkB;selectedTabChange=new u.bkB(!0);_groupId;_isServer=!(0,u.WQX)(be.O).isBrowser;constructor(){const W=(0,u.WQX)(Ot,{optional:!0});this._groupId=(0,u.WQX)(A.g).getId("mat-tab-group-"),this.animationDuration=W&&W.animationDuration?W.animationDuration:"500ms",this.disablePagination=!(!W||null==W.disablePagination)&&W.disablePagination,this.dynamicHeight=!(!W||null==W.dynamicHeight)&&W.dynamicHeight,null!=W?.contentTabIndex&&(this.contentTabIndex=W.contentTabIndex),this.preserveContent=!!W?.preserveContent,this.fitInkBarToContent=!(!W||null==W.fitInkBarToContent)&&W.fitInkBarToContent,this.stretchTabs=!W||null==W.stretchTabs||W.stretchTabs,this.alignTabs=W&&null!=W.alignTabs?W.alignTabs:null}ngAfterContentChecked(){const W=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=W){const ue=null==this._selectedIndex;if(!ue){this.selectedTabChange.emit(this._createChangeEvent(W));const _e=this._tabBodyWrapper.nativeElement;_e.style.minHeight=_e.clientHeight+"px"}Promise.resolve().then(()=>
1{this._tabs.forEach((_e,Se)=>_e.isActive=Se===W),ue||(this.selectedIndexChange.emit(W),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((ue,_e)=>{ue.position=_e-W,null!=this._selectedIndex&&0==ue.position&&!ue.origin&&(ue.origin=W-this._selectedIndex)}),this._selectedIndex!==W&&(this._selectedIndex=W,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const W=this._clampTabIndex(this._indexToSelect);if(W===this._selectedIndex){const ue=this._tabs.toArray();let _e;for(let Se=0;Se<ue.length;Se++)if(ue[Se].isActive){this._indexToSelect=this._selectedIndex=Se,this._lastFocusedTabIndex=null,_e=ue[Se];break}!_e&&ue[W]&&Promise.resolve().then(()=>{ue[W].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(W))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Oe.Z)(this._allTabs)).subscribe(W=>{this._tabs.reset(W.filter(ue=>ue._closestTabGroup===this||!ue._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(W){const ue=this._tabHeader;ue&&(ue.focusIndex=W)}_focusChanged(W){this._lastFocusedTabIndex=W,this.focusChange.emit(this._createChangeEvent(W))}_createChangeEvent(W){const ue=new Xt;return ue.index=W,this._tabs&&this._tabs.length&&(ue.tab=this._tabs.toArray()[W]),ue}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,S.h)(...this._tabs.map(W=>W._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(W){return Math.min(this._tabs.length-1,Math.max(W||0,0))}_getTabLabelId(W,ue){return W.id||`${this._groupId}-label-${ue}`}_getTabContentId(W){return`${this._groupId}-content-${W}`}_setTabBodyWrapperHeight(W){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return void(this._tabBodyWrapperHeight=W);const ue=this._tabBodyWrapper.nativeElement;ue.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(ue.style.height=W+"px")}_removeTabBodyWrapperHeight(){const W=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=W.clientHeight,W.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(W,ue,_e){ue.focusIndex=_e,W.disabled||(this.selectedIndex=_e)}_getTabIndex(W){return W===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(W,ue){W&&"mouse"!==W&&"touch"!==W&&(this._tabHeader.focusIndex=ue)}_bodyCentered(W){W&&this._tabBodies?.forEach((ue,_e)=>ue._setActiveClass(_e===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||"0"===this.animationDuration||"0ms"===this.animationDuration}static \u0275fac=function(ue){return new(ue||Ve)};static \u0275cmp=o.VBU({type:Ve,selectors:[["mat-tab-group"]],contentQueries:function(ue,_e,Se){if(1&ue&&o.wni(Se,Rt,5),2&ue){let Dt;o.mGM(Dt=o.lsd())&&(_e._allTabs=Dt)}},viewQuery:function(ue,_e){if(1&ue&&o.GBs(gt,5)(It,5)(dt,5),2&ue){let Se;o.mGM(Se=o.lsd())&&(_e._tabBodyWrapper=Se.first),o.mGM(Se=o.lsd())&&(_e._tabHeader=Se.first),o.mGM(Se=o.lsd())&&(_e._tabBodies=Se)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(ue,_e){2&ue&&(o.BMQ("mat-align-tabs",_e.alignTabs),o.HbH("mat-"+(_e.color||"primary")),o.xc7("--mat-tab-animation-duration",_e.animationDuration),o.AVh("mat-mdc-tab-group-dynamic-height",_e.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===_e.headerPosition)("mat-mdc-tab-group-stretch-tabs",_e.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",l.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",l.
1L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",l.L39],selectedIndex:[2,"selectedIndex","selectedIndex",l.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",l.Udg],disablePagination:[2,"disablePagination","disablePagination",l.L39],disableRipple:[2,"disableRipple","disableRipple",l.L39],preserveContent:[2,"preserveContent","preserveContent",l.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[o.Jv_([{provide:mt,useExisting:Ve}])],ngContentSelectors:or,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(ue,_e){1&ue&&(o.NAR(),o.j41(0,"mat-tab-header",3,0),o.bIt("indexFocused",function(Dt){return _e._focusChanged(Dt)})("selectFocusedIndex",function(Dt){return _e.selectedIndex=Dt}),o.Z7z(2,kn,8,17,"div",4,o.fX1),o.k0s(),o.nVh(4,Bn,1,0),o.j41(5,"div",5,1),o.Z7z(7,Cr,1,10,"mat-tab-body",6,o.fX1),o.k0s()),2&ue&&(o.Y8G("selectedIndex",_e.selectedIndex||0)("disableRipple",_e.disableRipple)("disablePagination",_e.disablePagination),o.jOp("aria-label",_e.ariaLabel)("aria-labelledby",_e.ariaLabelledby),o.R7$(2),o.Dyx(_e._tabs),o.R7$(2),o.vxM(_e._isServer?4:-1),o.R7$(),o.AVh("_mat-animation-noopable",_e._animationsDisabled()),o.R7$(2),o.Dyx(_e._tabs))},dependencies:[Rr,Hn,C.vR,Ct.r6,R.I3,dt],styles:['.mdc-tab {\n min-width: 90px;\n padding: 0 24px;\n display: flex;\n flex: 1 0 auto;\n justify-content: center;\n box-sizing: border-box;\n border: none;\n outline: none;\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n z-index: 1;\n touch-action: manipulation;\n}\n\n.mdc-tab__content {\n display: flex;\n align-items: center;\n justify-content: center;\n height: inherit;\n pointer-events: none;\n}\n\n.mdc-tab__text-label {\n transition: 150ms color linear;\n display: inline-block;\n line-height: 1;\n z-index: 2;\n}\n\n.mdc-tab--active .mdc-tab__text-label {\n transition-delay: 100ms;\n}\n\n._mat-animation-noopable .mdc-tab__text-label {\n transition: none;\n}\n\n.mdc-tab-indicator {\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n justify-content: center;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 1;\n}\n\n.mdc-tab-indicator__content {\n transition: var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);\n transform-origin: left;\n opacity: 0;\n}\n\n.mdc-tab-indicator__content--underline {\n align-self: flex-end;\n box-sizing: border-box;\n width: 100%;\n border-top-style: solid;\n}\n\n.mdc-tab-indicator--active .mdc-tab-indicator__content {\n opacity: 1;\n}\n\n._mat-animation-noopable .mdc-tab-indicator__content, .mdc-tab-indicator--no-transition .mdc-tab-indicator__content {\n transition: none;\n}\n\n.mat-mdc-tab-ripple.mat-mdc-tab-ripple {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n pointer-events: none;\n}\n\n.mat-mdc-tab {\n -webkit-tap-highlight-color: transparent;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-decoration: none;\n background: none;\n height: var(--mat-tab-container-height, 48px);\n font-family: var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));\n font-size: var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));\n letter-spacing: var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));\n line-height: var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));\n font-weight: var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight));\n}\n.mat-mdc-tab.mdc-tab {\n flex-grow: 0;\n}\n.mat-mdc-tab .mdc-tab-indicator__content--underline {\n border-color: var(--mat-tab-active-indicator-color, var(--mat-sys-primary));\n border-top-width: var(--mat-tab-active-indicator-height, 2px);\n border-radius: var(--mat-tab-active-indicator-shape, 0);\n}\n.mat-mdc-tab:hover .mdc-tab__text-label {\n color: var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab:focus .mdc-tab__text-label {\n color: var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {\n color: var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,\n.mat-mdc-tab.mdc-tab--active .mat-ripple-element {\n background-color: var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label {\n color: var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline {\n border-color: var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary));\n}\n.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label {\n color: var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline {\n border-color: var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary));\n}\n.mat-mdc-tab.mat-mdc-tab-disabled {\n opacity: 0.4;\n pointer-events: none;\n}\n.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content {\n pointer-events: none;\n}\n.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,\n.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element {\n background-color: var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant));\n}\n.mat-mdc-tab .mdc-tab__ripple::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n opacity: 0;\n pointer-events: none;\n background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab .mdc-tab__text-label {\n color: var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));\n display: inline-flex;\n align-items: center;\n}\n.mat-mdc-tab .mdc-tab__content {\n position: relative;\n pointer-events: auto;\n}\n.mat-mdc-tab:hover .mdc-tab__ripple::before {\n opacity: 0.04;\n}\n.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before, .mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before {\n opacity: 0.12;\n}\n.mat-mdc-tab .mat-ripple-element {\n opacity: 0.12;\n background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));\n}\n.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs > .mat-mdc-tab-header .mat-mdc-tab {\n flex-grow: 1;\n}\n\n.mat-mdc-tab-group {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n}\n.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination {\n background-color: var(--mat-tab-background-color);\n}\n.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label {\n color: var(--mat-tab-foreground-color);\n}\n.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mdc-tab-indicator__content--underline {\n border-color: var(--mat-tab-foreground-color);\n}\n.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label {\n color: var(--mat-tab-foreground-color);\n}\n.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline {\n border-color: var(--mat-tab-foreground-color);\n}\n.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,\n.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-focus-indicator::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,\n.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-focus-indicator::before {\n border-color: var(--mat-tab-foreground-color);\n}\n.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mdc-tab__ripple::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mdc-tab__ripple::before {\n background-color: var(--mat-tab-foreground-color);\n}\n.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron {\n color: var(--mat-tab-foreground-color);\n}\n.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header {\n flex-direction: column-reverse;\n}\n.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline {\n align-self: flex-start;\n}\n\n.mat-mdc-tab-body-wrapper {\n position: relative;\n overflow: hidden;\n display: flex;\n transition: height 500ms cubic-bezier(0.35, 0, 0.25, 1);\n}\n.mat-mdc-tab-body-wrapper._mat-animation-noopable {\n transition: none !important;\n animation: none !important;\n}\n'],encapsulation:2})}return Ve})();class Xt{index;tab}let Ge=(()=>{class Ve{static \u0275fac=function(ue){return new(ue||Ve)};static \u0275mod=o.$C({type:Ve});static \u0275inj=u.G2t({imports:[B.jI]})}return Ve})()},6506(qe,P,c){"use strict";c.d(P,{Bb:()=>ee,sG:()=>st});var R=c(177),v=c(5802),w=c(9769),S=c(6494),L=c(3117),E=c(5547),h=c(5157),f=c(2896);class y extends S.qj{supportsDOMEvents=!0;static makeCurrent(){(0,S.ig)(new y)}onAndCancel(ye,ge,Ne,je){return ye.addEventListener(ge,Ne,je),()=>{ye.removeEventListener(ge,Ne,je)}}dispatchEvent(ye,ge){ye.dispatchEvent(ge)}remove(ye){ye.remove()}createElement(ye,ge){return(ge=ge||this.getDefaultDocument()).createElement(ye)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ye){return ye.nodeType===Node.ELEMENT_NODE}isShadowRoot(ye){return ye instanceof DocumentFragment}getGlobalEventTarget(ye,ge){return"window"===ge?window:"document"===ge?ye:"body"===ge?ye.body:null}getBaseHref(ye){const ge=function b(){return H=H||document.head.querySelector("base"),H?H.getAttribute("href"):null}();return null==ge?null:function N(fe){return new URL(fe,document.baseURI).pathname}(ge)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie(ye){return(0,L.b)(document.cookie,ye)}}let H=null,C=(()=>{class fe{build(){return new XMLHttpRequest}static \u0275fac=function(Ne){return new(Ne||fe)}
vendor: 8,497 bytes, line 1
1;static \u0275prov=v.jDH({token:fe,factory:fe.\u0275fac})}return fe})();const V=["alt","control","meta","shift"],B={"\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"},Q={alt:fe=>fe.altKey,control:fe=>fe.ctrlKey,meta:fe=>fe.metaKey,shift:fe=>fe.shiftKey};let Z=(()=>{class fe extends f.Hl{constructor(ge){super(ge)}supports(ge){return null!=fe.parseEventName(ge)}addEventListener(ge,Ne,je,tt){const bt=fe.parseEventName(Ne),Xe=fe.eventCallback(bt.fullKey,je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,S.rb)().onAndCancel(ge,bt.domEventName,Xe,tt))}static parseEventName(ge){const Ne=ge.toLowerCase().split("."),je=Ne.shift();if(0===Ne.length||"keydown"!==je&&"keyup"!==je)return null;const tt=fe._normalizeKey(Ne.pop());let bt="",Xe=Ne.indexOf("code");if(Xe>-1&&(Ne.splice(Xe,1),bt="code."),V.forEach(rt=>{const Pt=Ne.indexOf(rt);Pt>-1&&(Ne.splice(Pt,1),bt+=rt+".")}),bt+=tt,0!=Ne.length||0===tt.length)return null;const Je={};return Je.domEventName=je,Je.fullKey=bt,Je}static matchEventFullKeyCode(ge,Ne){let je=B[ge.key]||ge.key,tt="";return Ne.indexOf("code.")>-1&&(je=ge.code,tt="code."),!(null==je||!je)&&(je=je.toLowerCase()," "===je?je="space":"."===je&&(je="dot"),V.forEach(bt=>{bt!==je&&(0,Q[bt])(ge)&&(tt+=bt+".")}),tt+=je,tt===Ne)}static eventCallback(ge,Ne,je){return tt=>{fe.matchEventFullKeyCode(tt,ge)&&je.runGuarded(()=>Ne(tt))}}static _normalizeKey(ge){return"esc"===ge?"escape":ge}static \u0275fac=function(Ne){return new(Ne||fe)(v.KVO(v.qQL))};static \u0275prov=v.jDH({token:fe,factory:fe.\u0275fac})}return fe})();const st=(0,h.oH4)(h.fpN,"browser",[{provide:E.Agw,useValue:R.AJ},{provide:E.PLl,useValue:function lt(){y.makeCurrent()},multi:!0},{provide:v.qQL,useFactory:function pt(){return(0,E._9u)(document),document}}]),me=[{provide:E.$Ln,useClass:class A{addToWindow(ye){v.laP.getAngularTestability=(Ne,je=!0)=>{const tt=ye.findTestabilityInTree(Ne,je);if(null==tt)throw new v.buA(5103,!1);return tt},v.laP.getAllAngularTestabilities=()=>ye.getAllTestabilities(),v.laP.getAllAngularRootElements=()=>ye.getAllRootElements(),v.laP.frameworkStabilizers||(v.laP.frameworkStabilizers=[]),v.laP.frameworkStabilizers.push(Ne=>{const je=v.laP.getAllAngularTestabilities();let tt=je.length;const bt=function(){tt--,0==tt&&Ne()};je.forEach(Xe=>{Xe.whenStable(bt)})})}findTestabilityInTree(ye,ge,Ne){return null==ge?null:ye.getTestability(ge)??(Ne?(0,S.rb)().isShadowRoot(ge)?this.findTestabilityInTree(ye,ge.host,!0):this.findTestabilityInTree(ye,ge.parentElement,!0):null)}}},{provide:E.dOL,useClass:E.NYb},{provide:E.NYb,useClass:E.NYb}],Y=[{provide:v.GBX,useValue:"root"},{provide:v.zcH,useFactory:function et(){return new v.zcH}},{provide:f.Q5,useClass:f.jd,multi:!0},{provide:f.Q5,useClass:Z,multi:!0},f.mE,f.CI,f.EU,{provide:E._9s,useExisting:f.mE},{provide:L.N,useClass:C},[]];let ee=(()=>{class fe{constructor(){}static \u0275fac=function(Ne){return new(Ne||fe)};static \u0275mod=E.$C({type:fe});static \u0275inj=v.G2t({providers:[...Y,...me],imports:[w.MD,h.Hbi]})}return fe})()},2896(qe,P,c){"use strict";c.d(P,{CI:()=>H,EU:()=>S,Hl:()=>R,Q5:()=>w,jd:()=>v,mE:()=>Oe});var o=c(5802),u=c(6494),l=c(5547);class R{_doc;constructor(me){this._doc=me}manager}let v=(()=>{class se extends R{constructor(Y){super(Y)}supports(Y){return!0}addEventListener(Y,ee,fe,ye){return Y.addEventListener(ee,fe,ye),()=>this.removeEventListener(Y,ee,fe,ye)}removeEventListener(Y,ee,fe,ye){return Y.removeEventListener(ee,fe,ye)}static \u0275fac=function(ee){return new(ee||se)(o.KVO(o.qQL))};static \u0275prov=o.jDH({token:se,factory:se.\u0275fac})}return se})();const w=new o.nKC("");let S=(()=>{class se{_zone;_plugins;_eventNameToPlugin=new Map;constructor(Y,ee){this._zone=ee,Y.forEach(ge=>{ge.manager=this});const fe=Y.filter(ge=>!(ge instanceof v));this._plugins=fe.slice().reverse();const ye=Y.find(ge=>ge instanceof v);ye&&this._plugins.push(ye)}addEventListener(Y,ee,fe,ye){return this._findPluginFor(ee).addEventListener(Y,ee,fe,ye)}getZone(){return this._zone}_findPluginFor(Y){let ee=this._eventNameToPlugin.get(Y);if(ee)return ee;if(ee=this._plugins.find(ye=>ye.supports(Y)),!ee)throw new o.buA(5101,!1);return this._eventNameToPlugin.set(Y,ee),ee}static \u0275fac=function(ee){return new(ee||se)(o.KVO(w),o.KVO(o.SKi))};static \u0275prov=o.jDH({token:se,factory:se.\u0275fac})}return se})();const L="ng-app-id";function E(se){for(const me of se)me.remove()}function h(se,me){const Y=me.createElement("style");return Y.textContent=se,Y}function y(se,me){const Y=me.createElement("link");return Y.setAttribute("rel","stylesheet"),Y.setAttribute("href",se),Y}let H=(()=>{class se{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(Y,ee,fe,ye={}){this.doc=Y,this.appId=ee,this.nonce=fe,function f(se,me,Y,ee){const fe=se.head?.querySelectorAll(`style[${L}="${me}"],link[${L}="${me}"]`);if(fe)for(const ye of fe)ye.removeAttribute(L),ye instanceof HTMLLinkElement?ee.set(ye.href.slice(ye.href.lastIndexOf("/")+1),{usage:0,elements:[ye]}):ye.textContent&&Y.set(ye.textContent,{usage:0,elements:[ye]})}(Y,ee,this.inline,this.external),this.hosts.add(Y.head)}addStyles(Y,ee){for(const fe of Y)this.addUsage(fe,this.inline,h);ee?.forEach(fe=>this.addUsage(fe,this.external,y))}removeStyles(Y,ee){for(const fe of Y)this.removeUsage(fe,this.inline);ee?.forEach(fe=>this.removeUsage(fe,this.external))}addUsage(Y,ee,fe){const ye=ee.get(Y);ye?ye.usage++:ee.set(Y,{usage:1,elements:[...this.hosts].map(ge=>this.addElement(ge,fe(Y,this.doc)))})}removeUsage(Y,ee){const fe=ee.get(Y);fe&&(fe.usage--,fe.usage<=0&&(E(fe.elements),ee.delete(Y)))}ngOnDestroy(){for(const[,{elements:Y}]of[...this.inline,...this.external])E(Y);this.hosts.clear()}addHost(Y){this.hosts.add(Y);for(const[ee,{elements:fe}]of this.inline)fe.push(this.addElement(Y,h(ee,this.doc)));for(const[ee,{elements:fe}]of this.external)fe.push(this.addElement(Y,y(ee,this.doc)))}removeHost(Y){this.hosts.delete(Y)}addElement(Y,ee){return this.nonce&&ee.setAttribute("nonce",this.nonce),Y.appendChild(ee)}static \u0275fac=function(ee){return new(ee||se)(o.KVO(o.qQL),o.KVO(l.sZ2),o.KVO(l.BIS,8),o.KVO(l.Agw))};static \u0275prov=o.jDH({token:se,factory:se.\u0275fac})}return se})();const b={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},N=/%COMP%/g,V="%COMP%",B=`_nghost-${V}`,Q=`_ngcontent-${V}`,ce=new o.nKC("",{factory:()=>!0});function we(se,me){return me.map(Y=>Y.replace(N,se))}let Oe=(()=>{class se{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(Y,ee,fe,ye,ge,Ne,je=null,tt=null){this.eventManager=Y,this.sharedStylesHost=ee,this.appId=fe,this.removeStylesOnCompDestroy=ye,this.doc=ge,this.ngZone=Ne,this.nonce=je,this.tracingService=tt,this.defaultRenderer=new Ue(Y,ge,Ne,this.tracingService)}createRenderer(Y,ee){if(!Y||!ee)return this.defaultRenderer;const fe=this.getOrCreateRenderer(Y,ee);return fe instanceof st?fe.applyToHost(Y):fe instanceof Ct&&fe.applyStyles(),fe}getOrCreateRenderer(Y,ee){const fe=this.rendererByCompId;let ye=fe.get(ee.id);if(!ye){const ge=this.doc,Ne=this.ngZone,je=this.eventManager,tt=this.sharedStylesHost,bt=this.removeStylesOnCompDestroy,Xe=this.tracingService;switch(ee.encapsulation){case l.gXe.Emulated:ye=new st(je,tt,ee,this.appId,bt,ge,Ne,Xe);break;case l.gXe.ShadowDom:return new pt(je,Y,ee,ge,Ne,this.nonce,Xe,tt);case l.gXe.ExperimentalIsolatedShadowDom:return new pt(je,Y,ee,ge,Ne,this.nonce,Xe);default:ye=new Ct(je,tt,ee,bt,ge,Ne,Xe)}fe.set(ee.id,ye)}return ye}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(Y){this.rendererByCompId.delete(Y)}static \u0275fac=function(ee){return new(ee||se)(o.KVO(S),o.KVO(H),o.KVO(l.sZ2),o.KVO(ce),o.KVO(o.qQL),o.KVO(o.SKi),o.KVO(l.BIS),o.KVO(l.a8H,8))};static \u0275prov=o.jDH({token:se,factory:se.\u0275fac})}return se})();class Ue{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(me,Y,ee,fe){this.eventManager=me,this.doc=Y,this.ngZone=ee,this.tracingService=fe}destroy(){}destroyNode=null;createElement(me,Y){return Y?this.doc.createElementNS(b[Y]||Y,me):this.doc.createElement(me)}
1createComment(me){return this.doc.createComment(me)}createText(me){return this.doc.createTextNode(me)}appendChild(me,Y){(et(me)?me.content:me).appendChild(Y)}insertBefore(me,Y,ee){me&&(et(me)?me.content:me).insertBefore(Y,ee)}removeChild(me,Y){Y.remove()}selectRootElement(me,Y){let ee="string"==typeof me?this.doc.querySelector(me):me;if(!ee)throw new o.buA(-5104,!1);return Y||(ee.textContent=""),ee}parentNode(me){return me.parentNode}nextSibling(me){return me.nextSibling}setAttribute(me,Y,ee,fe){if(fe){Y=fe+":"+Y;const ye=b[fe];ye?me.setAttributeNS(ye,Y,ee):me.setAttribute(Y,ee)}else me.setAttribute(Y,ee)}removeAttribute(me,Y,ee){if(ee){const fe=b[ee];fe?me.removeAttributeNS(fe,Y):me.removeAttribute(`${ee}:${Y}`)}else me.removeAttribute(Y)}addClass(me,Y){me.classList.add(Y)}removeClass(me,Y){me.classList.remove(Y)}setStyle(me,Y,ee,fe){fe&(l.czy.DashCase|l.czy.Important)?me.style.setProperty(Y,ee,fe&l.czy.Important?"important":""):me.style[Y]=ee}removeStyle(me,Y,ee){ee&l.czy.DashCase?me.style.removeProperty(Y):me.style[Y]=""}setProperty(me,Y,ee){null!=me&&(me[Y]=ee)}setValue(me,Y){me.nodeValue=Y}listen(me,Y,ee,fe){if("string"==typeof me&&!(me=(0,u.rb)().getGlobalEventTarget(this.doc,me)))throw new o.buA(5102,!1);let ye=this.decoratePreventDefault(ee);return this.tracingService?.wrapEventListener&&(ye=this.tracingService.wrapEventListener(me,Y,ye)),this.eventManager.addEventListener(me,Y,ye,fe)}decoratePreventDefault(me){return Y=>{if("__ngUnwrap__"===Y)return me;!1===me(Y)&&Y.preventDefault()}}}function et(se){return"TEMPLATE"===se.tagName&&void 0!==se.content}class pt extends Ue{hostEl;sharedStylesHost;shadowRoot;constructor(me,Y,ee,fe,ye,ge,Ne,je){super(me,fe,ye,Ne),this.hostEl=Y,this.sharedStylesHost=je,this.shadowRoot=Y.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let tt=ee.styles;tt=we(ee.id,tt);for(const Xe of tt){const Je=document.createElement("style");ge&&Je.setAttribute("nonce",ge),Je.textContent=Xe,this.shadowRoot.appendChild(Je)}const bt=ee.getExternalStyles?.();if(bt)for(const Xe of bt){const Je=y(Xe,fe);ge&&Je.setAttribute("nonce",ge),this.shadowRoot.appendChild(Je)}}nodeOrShadowRoot(me){return me===this.hostEl?this.shadowRoot:me}appendChild(me,Y){return super.appendChild(this.nodeOrShadowRoot(me),Y)}insertBefore(me,Y,ee){return super.insertBefore(this.nodeOrShadowRoot(me),Y,ee)}removeChild(me,Y){return super.removeChild(null,Y)}parentNode(me){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(me)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ct extends Ue{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(me,Y,ee,fe,ye,ge,Ne,je){super(me,ye,ge,Ne),this.sharedStylesHost=Y,this.removeStylesOnCompDestroy=fe;let tt=ee.styles;this.styles=je?we(je,tt):tt,this.styleUrls=ee.getExternalStyles?.(je)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===l.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class st extends Ct{contentAttr;hostAttr;constructor(me,Y,ee,fe,ye,ge,Ne,je){const tt=fe+"-"+ee.id;super(me,Y,ee,ye,ge,Ne,je,tt),this.contentAttr=function be(se){return Q.replace(N,se)}(tt),this.hostAttr=function Te(se){return B.replace(N,se)}(tt)}applyToHost(me){this.applyStyles(),this.setAttribute(me,this.hostAttr,"")}createElement(me,Y){const ee=super.createElement(me,Y);return super.setAttribute(ee,this.contentAttr,""),ee}}},9819(qe,P,c){"use strict";c.d(P,{wb:()=>vo});var o=c(5802),u=c(5547),l=c(8173);function w(Le){return new o.buA(3e3,!1)}function A(Le){return new o.buA(3002,!1)}function ge(Le){switch(Le.length){case 0:return new l.sf;case 1:return Le[0];default:return new l.PZ(Le)}}function Ne(Le,M,k=new Map,re=new Map){const p=[],O=[];let g=-1,J=null;if(M.forEach(Me=>{const _t=Me.get("offset"),Gt=_t==g,vn=Gt&&J||new Map;Me.forEach((yr,Un)=>{let Gn=Un,ir=yr;if("offset"!==Un)switch(Gn=Le.normalizePropertyName(Gn,p),ir){case l.FX:ir=k.get(Un);break;case l.kp:ir=re.get(Un);break;default:ir=Le.normalizeStyleValue(Un,Gn,ir,p)}vn.set(Gn,ir)}),Gt||O.push(vn),J=vn,g=_t}),p.length)throw function Be(){return new o.buA(3502,!1)}();return O}function je(Le,M,k,re){switch(M){case"start":Le.onStart(()=>re(k&&tt(k,"start",Le)));break;case"done":Le.onDone(()=>re(k&&tt(k,"done",Le)));break;
vendor: 4,753 bytes, line 1
1case"destroy":Le.onDestroy(()=>re(k&&tt(k,"destroy",Le)))}}function tt(Le,M,k){const O=bt(Le.element,Le.triggerName,Le.fromState,Le.toState,M||Le.phaseName,k.totalTime??Le.totalTime,!!k.disabled),g=Le._data;return null!=g&&(O._data=g),O}function bt(Le,M,k,re,p="",O=0,g){return{element:Le,triggerName:M,fromState:k,toState:re,phaseName:p,totalTime:O,disabled:!!g}}function Xe(Le,M,k){let re=Le.get(M);return re||Le.set(M,re=k),re}function Je(Le){const M=Le.indexOf(":");return[Le.substring(1,M),Le.slice(M+1)]}const rt=typeof document>"u"?null:document.documentElement;function Pt(Le){const M=Le.parentNode||Le.host||null;return M===rt?null:M}let i=null,yt=!1;function or(Le,M){for(;M;){if(M===Le)return!0;M=Pt(M)}return!1}function _n(Le,M,k){if(k)return Array.from(Le.querySelectorAll(M));const re=Le.querySelector(M);return re?[re]:[]}const rr="ng-enter",wt="ng-leave",en="ng-trigger",ct=".ng-trigger",gt="ng-animating",It=".ng-animating";function dn(Le){if("number"==typeof Le)return Le;const M=Le.match(/^(-?[\.\d]+)(m?s)/);return!M||M.length<2?0:In(parseFloat(M[1]),M[2])}function In(Le,M){return"s"===M?1e3*Le:Le}function Vn(Le,M,k){return Le.hasOwnProperty("duration")?Le:function Bn(Le,M,k){let re,p=0,O="";if("string"==typeof Le){const g=Le.match(kn);if(null===g)return M.push(w()),{duration:0,delay:0,easing:""};re=In(parseFloat(g[1]),g[2]);const J=g[3];null!=J&&(p=In(parseFloat(J),g[4]));const Me=g[5];Me&&(O=Me)}else re=Le;if(!k){let g=!1,J=M.length;re<0&&(M.push(function S(){return new o.buA(3100,!1)}()),g=!0),p<0&&(M.push(function L(){return new o.buA(3101,!1)}()),g=!0),g&&M.splice(J,0,w())}return{duration:re,delay:p,easing:O}}(Le,M,k)}const kn=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function hn(Le,M,k){M.forEach((re,p)=>{const O=Qt(p);k&&!k.has(p)&&k.set(p,Le.style[O]),Le.style[O]=re})}function Kn(Le,M){M.forEach((k,re)=>{const p=Qt(re);Le.style[p]=""})}function xe(Le){return Array.isArray(Le)?1==Le.length?Le[0]:(0,l.K2)(Le):Le}const Fe=new RegExp("{{\\s*(.+?)\\s*}}","g");function He(Le){let M=[];if("string"==typeof Le){let k;for(;k=Fe.exec(Le);)M.push(k[1]);Fe.lastIndex=0}return M}function mt(Le,M,k){const re=`${Le}`,p=re.replace(Fe,(O,g)=>{let J=M[g];return null==J&&(k.push(function h(){return new o.buA(3003,!1)}()),J=""),J.toString()});return p==re?Le:p}const Rt=/-+([a-z0-9])/g;function Qt(Le){return Le.replace(Rt,(...M)=>M[1].toUpperCase())}function mn(Le,M,k){switch(M.type){case l.If.Trigger:return Le.visitTrigger(M,k);case l.If.State:return Le.visitState(M,k);case l.If.Transition:return Le.visitTransition(M,k);case l.If.Sequence:return Le.visitSequence(M,k);case l.If.Group:return Le.visitGroup(M,k);case l.If.Animate:return Le.visitAnimate(M,k);case l.If.Keyframes:return Le.visitKeyframes(M,k);case l.If.Style:return Le.visitStyle(M,k);case l.If.Reference:return Le.visitReference(M,k);case l.If.AnimateChild:return Le.visitAnimateChild(M,k);case l.If.AnimateRef:return Le.visitAnimateRef(M,k);case l.If.Query:return Le.visitQuery(M,k);case l.If.Stagger:return Le.visitStagger(M,k);default:throw function f(){return new o.buA(3004,!1)}()}}function Hn(Le,M){return window.getComputedStyle(Le)[M]}let Ot=(()=>{class Le{validateStyleProperty(k){return function Ut(Le){i||(i=function un(){return typeof document<"u"?document.body:null}()||{},yt=!!i.style&&"WebkitAppearance"in i.style);let M=!0;return i.style&&!function tn(Le){return"ebkit"==Le.substring(1,6)}(Le)&&(M=Le in i.style,!M&&yt&&(M="Webkit"+Le.charAt(0).toUpperCase()+Le.slice(1)in i.style)),M}(k)}containsElement(k,re){return or(k,re)}getParentElement(k){return Pt(k)}query(k,re,p){return _n(k,re,p)}computeStyle(k,re,p){return p||""}animate(k,re,p,O,g,J=[],Me){return new l.sf(p,O)}static \u0275fac=function(re){return new(re||Le)};static \u0275prov=o.jDH({token:Le,factory:Le.\u0275fac})}return Le})();class Vt{static NOOP=new Ot}class dt{}const Xt=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 fn extends dt{normalizePropertyName(M,k){return Qt(M)}normalizeStyleValue(M,k,re,p){let O="";const g=re.toString().trim();if(Xt.has(k)&&0!==re&&"0"!==re)if("number"==typeof re)O="px";else{const J=re.match(/^[+-]?[\d\.]+([a-z]*)$/);J&&0==J[1].length&&p.push(function y(){return new o.buA(3005,!1)}())}return g+O}}const W="*";const Dt=new Set(["true","1"]),kt=new Set(["false","0"]);function Yt(Le,M){const k=Dt.has(Le)||kt.has(Le),re=Dt.has(M)||kt.has(M);return(p,O)=>
1{let g=Le==W||Le==p,J=M==W||M==O;return!g&&k&&"boolean"==typeof p&&(g=p?Dt.has(Le):kt.has(Le)),!J&&re&&"boolean"==typeof O&&(J=O?Dt.has(M):kt.has(M)),g&&J}}const U=":self",Ee=new RegExp(`s*${U}s*,?`,"g");function $(Le,M,k,re){return new Ae(Le).build(M,k,re)}class Ae{_driver;constructor(M){this._driver=M}build(M,k,re){const p=new Wt(k);return this._resetContextStyleTimingState(p),mn(this,xe(M),p)}_resetContextStyleTimingState(M){M.currentQuerySelector="",M.collectedStyles=new Map,M.collectedStyles.set("",new Map),M.currentTime=0}visitTrigger(M,k){let re=k.queryCount=0,p=k.depCount=0;const O=[],g=[];return"@"==M.name.charAt(0)&&k.errors.push(function H(){return new o.buA(3006,!1)}()),M.definitions.forEach(J=>{if(this._resetContextStyleTimingState(k),J.type==l.If.State){const Me=J,_t=Me.name;_t.toString().split(/\s*,\s*/).forEach(Gt=>{Me.name=Gt,O.push(this.visitState(Me,k))}),Me.name=_t}else if(J.type==l.If.Transition){const Me=this.visitTransition(J,k);re+=Me.queryCount,p+=Me.depCount,g.push(Me)}else k.errors.push(function b(){return new o.buA(3007,!1)}())}),{type:l.If.Trigger,name:M.name,states:O,transitions:g,queryCount:re,depCount:p,options:null}}visitState(M,k){const re=this.visitStyle(M.styles,k),p=M.options&&M.options.params||null;if(re.containsDynamicStyles){const O=new Set,g=p||{};re.styles.forEach(J=>{J instanceof Map&&J.forEach(Me=>{He(Me).forEach(_t=>{g.hasOwnProperty(_t)||O.add(_t)})})}),O.size&&k.errors.push(function N(){return new o.buA(3008,!1)}(0,O.values()))}return{type:l.If.State,name:M.name,style:re,options:p?{params:p}:null}}visitTransition(M,k){k.queryCount=0,k.depCount=0;const re=mn(this,xe(M.animation),k),p=function ue(Le,M){const k=[];return"string"==typeof Le?Le.split(/\s*,\s*/).forEach(re=>function _e(Le,M,k){if(":"==Le[0]){const Me=function Se(Le,M){switch(Le){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(k,re)=>parseFloat(re)>parseFloat(k);case":decrement":return(k,re)=>parseFloat(re)<parseFloat(k);default:return M.push(function we(){return new o.buA(3016,!1)}()),"* => *"}}(Le,k);if("function"==typeof Me)return void M.push(Me);Le=Me}const re=Le.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==re||re.length<4)return k.push(function Te(){return new o.buA(3015,!1)}()),M;const p=re[1],O=re[2],g=re[3];M.push(Yt(p,g)),"<"==O[0]&&(p!=W||g!=W)&&M.push(Yt(g,p))}(re,k,M)):k.push(Le),k}(M.expr,k.errors);return{type:l.If.Transition,matchers:p,animation:re,queryCount:k.queryCount,depCount:k.depCount,options:bn(M.options)}}visitSequence(M,k){return{type:l.If.Sequence,steps:M.steps.map(re=>mn(this,re,k)),options:bn(M.options)}}visitGroup(M,k){const re=k.currentTime;let p=0;const O=M.steps.map(g=>{k.currentTime=re;const J=mn(this,g,k);return p=Math.max(p,k.currentTime),J});return k.currentTime=p,{type:l.If.Group,steps:O,options:bn(M.options)}}visitAnimate(M,k){const re=function an(Le,M){if(Le.hasOwnProperty("duration"))return Le;if("number"==typeof Le)return Cn(Vn(Le,M).duration,0,"");const k=Le;if(k.split(/\s+/).some(O=>"{"==O.charAt(0)&&"{"==O.charAt(1))){const O=Cn(0,0,"");return O.dynamic=!0,O.strValue=k,O}const p=Vn(k,M);return Cn(p.duration,p.delay,p.easing)}(M.timings,k.errors);k.currentAnimateTimings=re;let p,O=M.styles?M.styles:(0,l.iF)({});if(O.type==l.If.Keyframes)p=this.visitKeyframes(O,k);else{let g=M.styles,J=!1;if(!g){J=!0;const _t={};re.easing&&(_t.easing=re.easing),g=(0,l.iF)(_t)}k.currentTime+=re.duration+re.delay;const Me=this.visitStyle(g,k);Me.isEmptyStep=J,p=Me}return k.currentAnimateTimings=null,{type:l.If.Animate,timings:re,style:p,options:null}}visitStyle(M,k){const re=this._makeStyleAst(M,k);return this._validateStyleAst(re,k),re}_makeStyleAst(M,k){const re=[],p=Array.isArray(M.styles)?M.styles:[M.styles];for(let J of p)"string"==typeof J?J===l.kp?re.push(J):k.errors.push(A()):re.push(new Map(Object.entries(J)));let O=!1,g=null;return re.forEach(J=>{if(J instanceof Map&&(J.has("easing")&&(g=J.get("easing"),J.delete("easing")),!O))for(let Me of J.values())if(Me.toString().indexOf("{{")>=0){O=!0;break}}),{type:l.If.Style,styles:re,easing:g,offset:M.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(M,k){const re=k.currentAnimateTimings;let p=k.currentTime,O=k.currentTime;re&&O>
vendor: 13,235 bytes, line 1
10&&(O-=re.duration+re.delay),M.styles.forEach(g=>{"string"!=typeof g&&g.forEach((J,Me)=>{const _t=k.collectedStyles.get(k.currentQuerySelector),Gt=_t.get(Me);let vn=!0;Gt&&(O!=p&&O>=Gt.startTime&&p<=Gt.endTime&&(k.errors.push(function C(){return new o.buA(3010,!1)}()),vn=!1),O=Gt.startTime),vn&&_t.set(Me,{startTime:O,endTime:p}),k.options&&function ve(Le,M,k){const re=M.params||{},p=He(Le);p.length&&p.forEach(O=>{re.hasOwnProperty(O)||k.push(function E(){return new o.buA(3001,!1)}())})}(J,k.options,k.errors)})})}visitKeyframes(M,k){const re={type:l.If.Keyframes,styles:[],options:null};if(!k.currentAnimateTimings)return k.errors.push(function V(){return new o.buA(3011,!1)}()),re;let O=0;const g=[];let J=!1,Me=!1,_t=0;const Gt=M.steps.map(ui=>{const di=this._makeStyleAst(ui,k);let yi=null!=di.offset?di.offset:function Ft(Le){if("string"==typeof Le)return null;let M=null;if(Array.isArray(Le))Le.forEach(k=>{if(k instanceof Map&&k.has("offset")){const re=k;M=parseFloat(re.get("offset")),re.delete("offset")}});else if(Le instanceof Map&&Le.has("offset")){const k=Le;M=parseFloat(k.get("offset")),k.delete("offset")}return M}(di.styles),Ci=0;return null!=yi&&(O++,Ci=di.offset=yi),Me=Me||Ci<0||Ci>1,J=J||Ci<_t,_t=Ci,g.push(Ci),di});Me&&k.errors.push(function B(){return new o.buA(3012,!1)}()),J&&k.errors.push(function Q(){return new o.buA(3200,!1)}());const vn=M.steps.length;let yr=0;O>0&&O<vn?k.errors.push(function Z(){return new o.buA(3202,!1)}()):0==O&&(yr=1/(vn-1));const Un=vn-1,Gn=k.currentTime,ir=k.currentAnimateTimings,$r=ir.duration;return Gt.forEach((ui,di)=>{const yi=yr>0?di==Un?1:yr*di:g[di],Ci=yi*$r;k.currentTime=Gn+ir.delay+Ci,ir.duration=Ci,this._validateStyleAst(ui,k),ui.offset=yi,re.styles.push(ui)}),re}visitReference(M,k){return{type:l.If.Reference,animation:mn(this,xe(M.animation),k),options:bn(M.options)}}visitAnimateChild(M,k){return k.depCount++,{type:l.If.AnimateChild,options:bn(M.options)}}visitAnimateRef(M,k){return{type:l.If.AnimateRef,animation:this.visitReference(M.animation,k),options:bn(M.options)}}visitQuery(M,k){const re=k.currentQuerySelector,p=M.options||{};k.queryCount++,k.currentQuery=M;const[O,g]=function Ye(Le){const M=!!Le.split(/\s*,\s*/).find(k=>k==U);return M&&(Le=Le.replace(Ee,"")),Le=Le.replace(/@\*/g,ct).replace(/@\w+/g,k=>ct+"-"+k.slice(1)).replace(/:animating/g,It),[Le,M]}(M.selector);k.currentQuerySelector=re.length?re+" "+O:O,Xe(k.collectedStyles,k.currentQuerySelector,new Map);const J=mn(this,xe(M.animation),k);return k.currentQuery=null,k.currentQuerySelector=re,{type:l.If.Query,selector:O,limit:p.limit||0,optional:!!p.optional,includeSelf:g,animation:J,originalSelector:M.selector,options:bn(M.options)}}visitStagger(M,k){k.currentQuery||k.errors.push(function ce(){return new o.buA(3013,!1)}());const re="full"===M.timings?{duration:0,delay:0,easing:"full"}:Vn(M.timings,k.errors,!0);return{type:l.If.Stagger,animation:mn(this,xe(M.animation),k),timings:re,options:null}}}class Wt{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(M){this.errors=M}}function bn(Le){return Le?(Le={...Le}).params&&(Le.params=function ht(Le){return Le?{...Le}:null}(Le.params)):Le={},Le}function Cn(Le,M,k){return{duration:Le,delay:M,easing:k}}function xn(Le,M,k,re,p,O,g=null,J=!1){return{type:1,element:Le,keyframes:M,preStyleProps:k,postStyleProps:re,duration:p,delay:O,totalTime:p+O,easing:g,subTimeline:J}}class zn{_map=new Map;get(M){return this._map.get(M)||[]}append(M,k){let re=this._map.get(M);re||this._map.set(M,re=[]),re.push(...k)}has(M){return this._map.has(M)}clear(){this._map.clear()}}const Fn=new RegExp(":enter","g"),vr=new RegExp(":leave","g");function si(Le,M,k,re,p,O=new Map,g=new Map,J,Me,_t=[]){return(new Mr).buildKeyframes(Le,M,k,re,p,O,g,J,Me,_t)}class Mr{buildKeyframes(M,k,re,p,O,g,J,Me,_t,Gt=[]){_t=_t||new zn;const vn=new _i(M,k,_t,p,O,Gt,[]);vn.options=Me;const yr=Me.delay?dn(Me.delay):0;vn.currentTimeline.delayNextStep(yr),vn.currentTimeline.setStyles([g],null,vn.errors,Me),mn(this,re,vn);const Un=vn.timelines.filter(Gn=>Gn.containsAnimation());if(Un.length&&J.size){let Gn;for(let ir=Un.length-1;ir>=0;ir--){const $r=Un[ir];if($r.element===k){Gn=$r;break}}Gn&&!Gn.allowOnlyTimelineStyles()&&Gn.setStyles([J],null,vn.errors,Me)}return Un.length?Un.map(Gn=>Gn.buildKeyframes()):[xn(k,[],[],[],0,yr,"",!1)]}visitTrigger(M,k){}visitState(M,k){}visitTransition(M,k){}visitAnimateChild(M,k){const re=k.subInstructions.get(k.element);if(re){const p=k.createSubContext(M.options),O=k.currentTimeline.currentTime,g=this._visitSubInstructions(re,p,p.options);O!=g&&k.transformIntoNewTimeline(g)}k.previousNode=M}visitAnimateRef(M,k){const re=k.createSubContext(M.options);re.transformIntoNewTimeline(),this._applyAnimationRefDelays([M.options,M.animation.options],k,re),this.visitReference(M.animation,re),k.transformIntoNewTimeline(re.currentTimeline.currentTime),k.previousNode=M}_applyAnimationRefDelays(M,k,re){for(const p of M){const O=p?.delay;if(O){const g="number"==typeof O?O:dn(mt(O,p?.params??{},k.errors));re.delayNextStep(g)}}}_visitSubInstructions(M,k,re){let O=k.currentTimeline.currentTime;const g=null!=re.duration?dn(re.duration):null,J=null!=re.delay?dn(re.delay):null;return 0!==g&&M.forEach(Me=>{const _t=k.appendInstructionToTimeline(Me,g,J);O=Math.max(O,_t.duration+_t.delay)}),O}visitReference(M,k){k.updateOptions(M.options,!0),mn(this,M.animation,k),k.previousNode=M}visitSequence(M,k){const re=k.subContextCount;let p=k;const O=M.options;if(O&&(O.params||O.delay)&&(p=k.createSubContext(O),p.transformIntoNewTimeline(),null!=O.delay)){p.previousNode.type==l.If.Style&&(p.currentTimeline.snapshotCurrentStyles(),p.previousNode=Lr);const g=dn(O.delay);p.delayNextStep(g)}M.steps.length&&(M.steps.forEach(g=>mn(this,g,p)),p.currentTimeline.applyStylesToKeyframe(),p.subContextCount>re&&p.transformIntoNewTimeline()),k.previousNode=M}visitGroup(M,k){const re=[];let p=k.currentTimeline.currentTime;const O=M.options&&M.options.delay?dn(M.options.delay):0;M.steps.forEach(g=>{const J=k.createSubContext(M.options);O&&J.delayNextStep(O),mn(this,g,J),p=Math.max(p,J.currentTimeline.currentTime),re.push(J.currentTimeline)}),re.forEach(g=>k.currentTimeline.mergeTimelineCollectedStyles(g)),k.transformIntoNewTimeline(p),k.previousNode=M}_visitTiming(M,k){if(M.dynamic){const re=M.strValue;return Vn(k.params?mt(re,k.params,k.errors):re,k.errors)}return{duration:M.duration,delay:M.delay,easing:M.easing}}visitAnimate(M,k){const re=k.currentAnimateTimings=this._visitTiming(M.timings,k),p=k.currentTimeline;re.delay&&(k.incrementTime(re.delay),p.snapshotCurrentStyles());const O=M.style;O.type==l.If.Keyframes?this.visitKeyframes(O,k):(k.incrementTime(re.duration),this.visitStyle(O,k),p.applyStylesToKeyframe()),k.currentAnimateTimings=null,k.previousNode=M}visitStyle(M,k){const re=k.currentTimeline,p=k.currentAnimateTimings;!p&&re.hasCurrentStyleProperties()&&re.forwardFrame();const O=p&&p.easing||M.easing;M.isEmptyStep?re.applyEmptyStep(O):re.setStyles(M.styles,O,k.errors,k.options),k.previousNode=M}visitKeyframes(M,k){const re=k.currentAnimateTimings,p=k.currentTimeline.duration,O=re.duration,J=k.createSubContext().currentTimeline;J.easing=re.easing,M.styles.forEach(Me=>{J.forwardTime((Me.offset||0)*O),J.setStyles(Me.styles,Me.easing,k.errors,k.options),J.applyStylesToKeyframe()}),k.currentTimeline.mergeTimelineCollectedStyles(J),k.transformIntoNewTimeline(p+O),k.previousNode=M}visitQuery(M,k){const re=k.currentTimeline.currentTime,p=M.options||{},O=p.delay?dn(p.delay):0;O&&(k.previousNode.type===l.If.Style||0==re&&k.currentTimeline.hasCurrentStyleProperties())&&(k.currentTimeline.snapshotCurrentStyles(),k.previousNode=Lr);let g=re;const J=k.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!p.optional,k.errors);k.currentQueryTotal=J.length;let Me=null;J.forEach((_t,Gt)=>{k.currentQueryIndex=Gt;const vn=k.createSubContext(M.options,_t);O&&vn.delayNextStep(O),_t===k.element&&(Me=vn.currentTimeline),mn(this,M.animation,vn),vn.currentTimeline.applyStylesToKeyframe(),g=Math.max(g,vn.currentTimeline.currentTime)}),k.currentQueryIndex=0,k.currentQueryTotal=0,k.transformIntoNewTimeline(g),Me&&(k.currentTimeline.mergeTimelineCollectedStyles(Me),k.currentTimeline.snapshotCurrentStyles()),k.previousNode=M}visitStagger(M,k){const re=k.parentContext,p=k.currentTimeline,O=M.timings,g=Math.abs(O.duration),J=g*(k.currentQueryTotal-1);let Me=g*k.currentQueryIndex;switch(O.duration<0?"reverse":O.easing){case"reverse":Me=J-Me;break;case"full":Me=re.currentStaggerTime}const Gt=k.currentTimeline;Me&&Gt.delayNextStep(Me);const vn=Gt.currentTime;mn(this,M.animation,k),k.previousNode=M,re.currentStaggerTime=p.currentTime-vn+(p.startTime-re.currentTimeline.startTime)}}const Lr={};class _i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Lr;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(M,k,re,p,O,g,J,Me){this._driver=M,this.element=k,this.subInstructions=re,this._enterClassName=p,this._leaveClassName=O,this.errors=g,this.timelines=J,this.currentTimeline=Me||new Hr(this._driver,k,0),J.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(M,k){if(!M)return;const re=M;let p=this.options;null!=re.duration&&(p.duration=dn(re.duration)),null!=re.delay&&(p.delay=dn(re.delay));const O=re.params;if(O){let g=p.params;g||(g=this.options.params={}),Object.keys(O).forEach(J=>{(!k||!g.hasOwnProperty(J))&&(g[J]=mt(O[J],g,this.errors))})}}_copyOptions(){const M={};if(this.options){const k=this.options.params;if(k){const re=M.params={};Object.keys(k).forEach(p=>{re[p]=k[p]})}}return M}createSubContext(M=null,k,re){const p=k||this.element,O=new _i(this._driver,p,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(p,re||0));return O.previousNode=this.previousNode,O.currentAnimateTimings=this.currentAnimateTimings,O.options=this._copyOptions(),O.updateOptions(M),O.currentQueryIndex=this.currentQueryIndex,O.currentQueryTotal=this.currentQueryTotal,O.parentContext=this,this.subContextCount++,O}transformIntoNewTimeline(M){return this.previousNode=Lr,this.currentTimeline=this.currentTimeline.fork(this.element,M),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(M,k,re){const p={duration:k??M.duration,delay:this.currentTimeline.currentTime+(re??0)+M.delay,easing:""},O=new Ai(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,p,M.stretchStartingKeyframe);return this.timelines.push(O),p}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,k,re,p,O,g){let J=[];if(p&&J.push(this.element),M.length>0){M=(M=M.replace(Fn,"."+this._enterClassName)).replace(vr,"."+this._leaveClassName);let _t=this._driver.query(this.element,M,1!=re);0!==re&&(_t=re<0?_t.slice(_t.length+re,_t.length):_t.slice(0,re)),J.push(..._t)}return!O&&0==J.length&&g.push(function be(){return new o.buA(3014,!1)}()),J}}class Hr{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(M,k,re,p){this._driver=M,this.element=k,this.startTime=re,this._elementTimelineStylesLookup=p,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(k),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(k,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(M){const k=1===this._keyframes.size&&this._pendingStyles.size;this.duration||k?(this.forwardTime(this.currentTime+M),k&&this.snapshotCurrentStyles()):this.startTime+=M}fork(M,k){return this.applyStylesToKeyframe(),new Hr(this._driver,M,k||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(M){this.applyStylesToKeyframe(),this.duration=M,this._loadKeyframe()}_updateStyle(M,k){this._localTimelineStyles.set(M,k),this._globalTimelineStyles.set(M,k),this._styleSummary.set(M,{time:this.currentTime,value:k})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(M){M&&this._previousKeyframe.set("easing",M);for(let[k,re]of this._globalTimelineStyles)this._backFill.set(k,re||l.kp),this._currentKeyframe.set(k,l.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,k,re,p){k&&this._previousKeyframe.set("easing",k);const O=p&&p.params||{},g=function Mt(Le,M){const k=new Map;let re;return Le.forEach(p=>{if("*"===p){re??=M.keys();for(let O of re)k.set(O,l.kp)}else for(let[O,g]of p)k.set(O,g)}),k}(M,this._globalTimelineStyles);for(let[J,Me]of g){const _t=mt(Me,O,re);this._pendingStyles.set(J,_t),this._localTimelineStyles.has(J)||this._backFill.set(J,this._globalTimelineStyles.get(J)??l.kp),this._updateStyle(J,_t)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((M,k)=>{this._currentKeyframe.set(k,M)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((M,k)=>{this._currentKeyframe.has(k)||this._currentKeyframe.set(k,M)}))}snapshotCurrentStyles(){for(let[M,k]of this._localTimelineStyles)this._pendingStyles.set(M,k),this._updateStyle(M,k)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const M=[];for(let k in this._currentKeyframe)M.push(k);return M}
vendor: 6,059 bytes, line 1
1mergeTimelineCollectedStyles(M){M._styleSummary.forEach((k,re)=>{const p=this._styleSummary.get(re);(!p||k.time>p.time)&&this._updateStyle(re,k.value)})}buildKeyframes(){this.applyStylesToKeyframe();const M=new Set,k=new Set,re=1===this._keyframes.size&&0===this.duration;let p=[];this._keyframes.forEach((J,Me)=>{const _t=new Map([...this._backFill,...J]);_t.forEach((Gt,vn)=>{Gt===l.FX?M.add(vn):Gt===l.kp&&k.add(vn)}),re||_t.set("offset",Me/this.duration),p.push(_t)});const O=[...M.values()],g=[...k.values()];if(re){const J=p[0],Me=new Map(J);J.set("offset",0),Me.set("offset",1),p=[J,Me]}return xn(this.element,p,O,g,this.duration,this.startTime,this.easing,!1)}}class Ai extends Hr{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(M,k,re,p,O,g,J=!1){super(M,k,g.delay),this.keyframes=re,this.preStyleProps=p,this.postStyleProps=O,this._stretchStartingKeyframe=J,this.timings={duration:g.duration,delay:g.delay,easing:g.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:k,duration:re,easing:p}=this.timings;if(this._stretchStartingKeyframe&&k){const O=[],g=re+k,J=k/g,Me=new Map(M[0]);Me.set("offset",0),O.push(Me);const _t=new Map(M[0]);_t.set("offset",it(J)),O.push(_t);const Gt=M.length-1;for(let vn=1;vn<=Gt;vn++){let yr=new Map(M[vn]);const Un=yr.get("offset");yr.set("offset",it((k+Un*re)/g)),O.push(yr)}re=g,k=0,p="",M=O}return xn(this.element,M,this.preStyleProps,this.postStyleProps,re,k,p,!0)}}function it(Le,M=3){const k=Math.pow(10,M-1);return Math.round(Le*k)/k}function xt(Le,M,k,re,p,O,g,J,Me,_t,Gt,vn,yr){return{type:0,element:Le,triggerName:M,isRemovalTransition:p,fromState:k,fromStyles:O,toState:re,toStyles:g,timelines:J,queriedElements:Me,preStyleProps:_t,postStyleProps:Gt,totalTime:vn,errors:yr}}const Jt={};class On{_triggerName;ast;_stateStyles;constructor(M,k,re){this._triggerName=M,this.ast=k,this._stateStyles=re}match(M,k,re,p){return function kr(Le,M,k,re,p){return Le.some(O=>O(M,k,re,p))}(this.ast.matchers,M,k,re,p)}buildStyles(M,k,re){let p=this._stateStyles.get("*");return void 0!==M&&(p=this._stateStyles.get(M?.toString())||p),p?p.buildStyles(k,re):new Map}build(M,k,re,p,O,g,J,Me,_t,Gt){const vn=[],yr=this.ast.options&&this.ast.options.params||Jt,Gn=this.buildStyles(re,J&&J.params||Jt,vn),ir=Me&&Me.params||Jt,$r=this.buildStyles(p,ir,vn),ui=new Set,di=new Map,yi=new Map,Ci="void"===p,cs={params:Jr(ir,yr),delay:this.ast.options?.delay},Ki=Gt?[]:si(M,k,this.ast.animation,O,g,Gn,$r,cs,_t,vn);let Hi=0;return Ki.forEach(Ei=>{Hi=Math.max(Ei.duration+Ei.delay,Hi)}),vn.length?xt(k,this._triggerName,re,p,Ci,Gn,$r,[],[],di,yi,Hi,vn):(Ki.forEach(Ei=>{const Fs=Ei.element,Bs=Xe(di,Fs,new Set);Ei.preStyleProps.forEach(qi=>Bs.add(qi));const Io=Xe(yi,Fs,new Set);Ei.postStyleProps.forEach(qi=>Io.add(qi)),Fs!==k&&ui.add(Fs)}),xt(k,this._triggerName,re,p,Ci,Gn,$r,Ki,[...ui.values()],di,yi,Hi))}}function Jr(Le,M){const k={...M};return Object.entries(Le).forEach(([re,p])=>{null!=p&&(k[re]=p)}),k}class Ur{styles;defaultParams;normalizer;constructor(M,k,re){this.styles=M,this.defaultParams=k,this.normalizer=re}buildStyles(M,k){const re=new Map,p=Jr(M,this.defaultParams);return this.styles.styles.forEach(O=>{"string"!=typeof O&&O.forEach((g,J)=>{g&&(g=mt(g,p,k));const Me=this.normalizer.normalizePropertyName(J,k);g=this.normalizer.normalizeStyleValue(J,Me,g,k),re.set(J,g)})}),re}}class Oi{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(M,k,re){this.name=M,this.ast=k,this._normalizer=re,k.states.forEach(p=>{this.states.set(p.name,new Ur(p.style,p.options&&p.options.params||{},re))}),jr(this.states,"true","1"),jr(this.states,"false","0"),k.transitions.forEach(p=>{this.transitionFactories.push(new On(M,p,this.states))}),this.fallbackTransition=function ji(Le,M){return new On(Le,{type:l.If.Transition,animation:{type:l.If.Sequence,steps:[],options:null},matchers:[(g,J)=>!0],options:null,queryCount:0,depCount:0},M)}(M,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(M,k,re,p){return this.transitionFactories.find(g=>g.match(M,k,re,p))||null}matchStyles(M,k,re){return this.fallbackTransition.buildStyles(M,k,re)}}function jr(Le,M,k){Le.has(M)?Le.has(k)||Le.set(k,Le.get(M)):Le.has(k)&&Le.set(M,Le.get(k))}const qr=new zn;class ae{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(M,k,re){this.bodyNode=M,this._driver=k,this._normalizer=re}register(M,k){const re=[],O=$(this._driver,k,re,[]);if(re.length)throw function lt(){return new o.buA(3503,!1)}();this._animations.set(M,O)}_buildPlayer(M,k,re){const p=M.element,O=Ne(this._normalizer,M.keyframes,k,re);return this._driver.animate(p,O,M.duration,M.delay,M.easing,[],!0)}create(M,k,re={}){const p=[],O=this._animations.get(M);let g;const J=new Map;if(O?(g=si(this._driver,k,O,rr,wt,new Map,new Map,re,qr,p),g.forEach(Gt=>{const vn=Xe(J,Gt.element,new Map);Gt.postStyleProps.forEach(yr=>vn.set(yr,null))})):(p.push(function et(){return new o.buA(3300,!1)}()),g=[]),p.length)throw function pt(){return new o.buA(3504,!1)}();J.forEach((Gt,vn)=>{Gt.forEach((yr,Un)=>{Gt.set(Un,this._driver.computeStyle(vn,Un,l.kp))})});const _t=ge(g.map(Gt=>{const vn=J.get(Gt.element);return this._buildPlayer(Gt,new Map,vn)}));return this._playersById.set(M,_t),_t.onDestroy(()=>this.destroy(M)),this.players.push(_t),_t}destroy(M){const k=this._getPlayer(M);k.destroy(),this._playersById.delete(M);const re=this.players.indexOf(k);re>=0&&this.players.splice(re,1)}_getPlayer(M){const k=this._playersById.get(M);if(!k)throw function Ct(){return new o.buA(3301,!1)}();return k}listen(M,k,re,p){const O=bt(k,"","","");return je(this._getPlayer(M),re,O,p),()=>{}}command(M,k,re,p){if("register"==re)return void this.register(M,p[0]);if("create"==re)return void this.create(M,k,p[0]||{});const O=this._getPlayer(M);switch(re){case"play":O.play();break;case"pause":O.pause();break;case"reset":O.reset();break;case"restart":O.restart();break;case"finish":O.finish();break;
1case"init":O.init();break;case"setPosition":O.setPosition(parseFloat(p[0]));break;case"destroy":this.destroy(M)}}}const ze="ng-animate-queued",Pe="ng-animate-disabled",pn=[],Er={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xn="__ng_removed";class ur{namespaceId;value;options;get params(){return this.options.params}constructor(M,k=""){this.namespaceId=k;const re=M&&M.hasOwnProperty("value");if(this.value=function mi(Le){return Le??null}(re?M.value:M),re){const{value:O,...g}=M;this.options=g}else this.options={};this.options.params||(this.options.params={})}absorbOptions(M){const k=M.params;if(k){const re=this.options.params;Object.keys(k).forEach(p=>{null==re[p]&&(re[p]=k[p])})}}}const zr="void",Or=new ur(zr);class oi{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(M,k,re){this.id=M,this.hostElement=k,this._engine=re,this._hostClassName="ng-tns-"
vendor: 20,909 bytes, line 1
1+M,Wr(k,this._hostClassName)}listen(M,k,re,p){if(!this._triggers.has(k))throw function st(){return new o.buA(3302,!1)}();if(null==re||0==re.length)throw function se(){return new o.buA(3303,!1)}();if(!function $i(Le){return"start"==Le||"done"==Le}(re))throw function me(){return new o.buA(3400,!1)}();const O=Xe(this._elementListeners,M,[]),g={name:k,phase:re,callback:p};O.push(g);const J=Xe(this._engine.statesByElement,M,new Map);return J.has(k)||(Wr(M,en),Wr(M,en+"-"+k),J.set(k,Or)),()=>{this._engine.afterFlush(()=>{const Me=O.indexOf(g);Me>=0&&O.splice(Me,1),this._triggers.has(k)||J.delete(k)})}}register(M,k){return!this._triggers.has(M)&&(this._triggers.set(M,k),!0)}_getTrigger(M){const k=this._triggers.get(M);if(!k)throw function Y(){return new o.buA(3401,!1)}();return k}trigger(M,k,re,p=!0){const O=this._getTrigger(k),g=new ti(this.id,k,M);let J=this._engine.statesByElement.get(M);J||(Wr(M,en),Wr(M,en+"-"+k),this._engine.statesByElement.set(M,J=new Map));let Me=J.get(k);const _t=new ur(re,this.id);if(!(re&&re.hasOwnProperty("value"))&&Me&&_t.absorbOptions(Me.options),J.set(k,_t),Me||(Me=Or),_t.value!==zr&&Me.value===_t.value){if(!function ro(Le,M){const k=Object.keys(Le),re=Object.keys(M);if(k.length!=re.length)return!1;for(let p=0;p<k.length;p++){const O=k[p];if(!M.hasOwnProperty(O)||Le[O]!==M[O])return!1}return!0}(Me.params,_t.params)){const ir=[],$r=O.matchStyles(Me.value,Me.params,ir),ui=O.matchStyles(_t.value,_t.params,ir);ir.length?this._engine.reportError(ir):this._engine.afterFlush(()=>{Kn(M,$r),hn(M,ui)})}return}const yr=Xe(this._engine.playersByElement,M,[]);yr.forEach(ir=>{ir.namespaceId==this.id&&ir.triggerName==k&&ir.queued&&ir.destroy()});let Un=O.matchTransition(Me.value,_t.value,M,_t.params),Gn=!1;if(!Un){if(!p)return;Un=O.fallbackTransition,Gn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:k,transition:Un,fromState:Me,toState:_t,player:g,isFallbackTransition:Gn}),Gn||(Wr(M,ze),g.onStart(()=>{Zi(M,ze)})),g.onDone(()=>{let ir=this.players.indexOf(g);ir>=0&&this.players.splice(ir,1);const $r=this._engine.playersByElement.get(M);if($r){let ui=$r.indexOf(g);ui>=0&&$r.splice(ui,1)}}),this.players.push(g),yr.push(g),g}deregister(M){this._triggers.delete(M),this._engine.statesByElement.forEach(k=>k.delete(M)),this._elementListeners.forEach((k,re)=>{this._elementListeners.set(re,k.filter(p=>p.name!=M))})}clearElementCache(M){this._engine.statesByElement.delete(M),this._elementListeners.delete(M);const k=this._engine.playersByElement.get(M);k&&(k.forEach(re=>re.destroy()),this._engine.playersByElement.delete(M))}_signalRemovalForInnerTriggers(M,k){const re=this._engine.driver.query(M,ct,!0);re.forEach(p=>{if(p[Xn])return;const O=this._engine.fetchNamespacesByElement(p);O.size?O.forEach(g=>g.triggerLeaveAnimation(p,k,!1,!0)):this.clearElementCache(p)}),this._engine.afterFlushAnimationsDone(()=>re.forEach(p=>this.clearElementCache(p)))}triggerLeaveAnimation(M,k,re,p){const O=this._engine.statesByElement.get(M),g=new Map;if(O){const J=[];if(O.forEach((Me,_t)=>{if(g.set(_t,Me.value),this._triggers.has(_t)){const Gt=this.trigger(M,_t,zr,p);Gt&&J.push(Gt)}}),J.length)return this._engine.markElementAsRemoved(this.id,M,!0,k,g),re&&ge(J).onDone(()=>this._engine.processLeaveNode(M)),!0}return!1}prepareLeaveAnimationListeners(M){const k=this._elementListeners.get(M),re=this._engine.statesByElement.get(M);if(k&&re){const p=new Set;k.forEach(O=>{const g=O.name;if(p.has(g))return;p.add(g);const Me=this._triggers.get(g).fallbackTransition,_t=re.get(g)||Or,Gt=new ur(zr),vn=new ti(this.id,g,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:g,transition:Me,fromState:_t,toState:Gt,player:vn,isFallbackTransition:!0})})}}removeNode(M,k){const re=this._engine;if(M.childElementCount&&this._signalRemovalForInnerTriggers(M,k),this.triggerLeaveAnimation(M,k,!0))return;let p=!1;if(re.totalAnimations){const O=re.players.length?re.playersByQueriedElement.get(M):[];if(O&&O.length)p=!0;else{let g=M;for(;g=g.parentNode;)if(re.statesByElement.get(g)){p=!0;break}}}if(this.prepareLeaveAnimationListeners(M),p)re.markElementAsRemoved(this.id,M,!1,k);else{const O=M[Xn];(!O||O===Er)&&(re.afterFlush(()=>this.clearElementCache(M)),re.destroyInnerAnimations(M),re._onRemovalComplete(M,k))}}insertNode(M,k){Wr(M,this._hostClassName)}drainQueuedTransitions(M){const k=[];return this._queue.forEach(re=>{const p=re.player;if(p.destroyed)return;const O=re.element,g=this._elementListeners.get(O);g&&g.forEach(J=>{if(J.name==re.triggerName){const Me=bt(O,re.triggerName,re.fromState.value,re.toState.value);Me._data=M,je(re.player,J.phase,Me,J.callback)}}),p.markedForDestroy?this._engine.afterFlush(()=>{p.destroy()}):k.push(re)}),this._queue=[],k.sort((re,p)=>{const O=re.transition.ast.depCount,g=p.transition.ast.depCount;return 0==O||0==g?O-g:this._engine.driver.containsElement(re.element,p.element)?1:-1})}destroy(M){this.players.forEach(k=>k.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,M)}}class Ni{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(M,k)=>{};_onRemovalComplete(M,k){this.onRemovalComplete(M,k)}constructor(M,k,re){this.bodyNode=M,this.driver=k,this._normalizer=re}get queuedPlayers(){const M=[];return this._namespaceList.forEach(k=>{k.players.forEach(re=>{re.queued&&M.push(re)})}),M}createNamespace(M,k){const re=new oi(M,k,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,k)?this._balanceNamespaceList(re,k):(this.newHostElements.set(k,re),this.collectEnterElement(k)),this._namespaceLookup[M]=re}_balanceNamespaceList(M,k){const re=this._namespaceList,p=this.namespacesByHostElement;if(re.length-1>=0){let g=!1,J=this.driver.getParentElement(k);for(;J;){const Me=p.get(J);if(Me){const _t=re.indexOf(Me);re.splice(_t+1,0,M),g=!0;break}J=this.driver.getParentElement(J)}g||re.unshift(M)}else re.push(M);return p.set(k,M),M}register(M,k){let re=this._namespaceLookup[M];return re||(re=this.createNamespace(M,k)),re}registerTrigger(M,k,re){let p=this._namespaceLookup[M];p&&p.register(k,re)&&this.totalAnimations++}destroy(M,k){M&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const re=this._fetchNamespace(M);this.namespacesByHostElement.delete(re.hostElement);const p=this._namespaceList.indexOf(re);p>=0&&this._namespaceList.splice(p,1),re.destroy(k),delete this._namespaceLookup[M]}))}_fetchNamespace(M){return this._namespaceLookup[M]}fetchNamespacesByElement(M){const k=new Set,re=this.statesByElement.get(M);if(re)for(let p of re.values())if(p.namespaceId){const O=this._fetchNamespace(p.namespaceId);O&&k.add(O)}return k}trigger(M,k,re,p){if(rs(k)){const O=this._fetchNamespace(M);if(O)return O.trigger(k,re,p),!0}return!1}insertNode(M,k,re,p){if(!rs(k))return;const O=k[Xn];if(O&&O.setForRemoval){O.setForRemoval=!1,O.setForMove=!0;const g=this.collectedLeaveElements.indexOf(k);g>=0&&this.collectedLeaveElements.splice(g,1)}if(M){const g=this._fetchNamespace(M);g&&g.insertNode(k,re)}p&&this.collectEnterElement(k)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,k){k?this.disabledNodes.has(M)||(this.disabledNodes.add(M),Wr(M,Pe)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),Zi(M,Pe))}removeNode(M,k,re){if(rs(k)){const p=M?this._fetchNamespace(M):null;p?p.removeNode(k,re):this.markElementAsRemoved(M,k,!1,re);const O=this.namespacesByHostElement.get(k);O&&O.id!==M&&O.removeNode(k,re)}else this._onRemovalComplete(k,re)}markElementAsRemoved(M,k,re,p,O){this.collectedLeaveElements.push(k),k[Xn]={namespaceId:M,setForRemoval:p,hasAnimation:re,removedBeforeQueried:!1,previousTriggersValues:O}}listen(M,k,re,p,O){return rs(k)?this._fetchNamespace(M).listen(k,re,p,O):()=>{}}_buildInstruction(M,k,re,p,O){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,re,p,M.fromState.options,M.toState.options,k,O)}destroyInnerAnimations(M){let k=this.driver.query(M,ct,!0);k.forEach(re=>this.destroyActiveAnimationsForElement(re)),0!=this.playersByQueriedElement.size&&(k=this.driver.query(M,It,!0),k.forEach(re=>this.finishActiveQueriedAnimationOnElement(re)))}destroyActiveAnimationsForElement(M){const k=this.playersByElement.get(M);k&&k.forEach(re=>{re.queued?re.markedForDestroy=!0:re.destroy()})}finishActiveQueriedAnimationOnElement(M){const k=this.playersByQueriedElement.get(M);k&&k.forEach(re=>re.finish())}whenRenderingDone(){return new Promise(M=>{if(this.players.length)return ge(this.players).onDone(()=>M());M()})}processLeaveNode(M){const k=M[Xn];if(k&&k.setForRemoval){if(M[Xn]=Er,k.namespaceId){this.destroyInnerAnimations(M);const re=this._fetchNamespace(k.namespaceId);re&&re.clearElementCache(M)}this._onRemovalComplete(M,k.setForRemoval)}M.classList?.contains(Pe)&&this.markElementAsDisabled(M,!1),this.driver.query(M,".ng-animate-disabled",!0).forEach(re=>{this.markElementAsDisabled(re,!1)})}flush(M=-1){let k=[];if(this.newHostElements.size&&(this.newHostElements.forEach((re,p)=>this._balanceNamespaceList(re,p)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let re=0;re<this.collectedEnterElements.length;re++)Wr(this.collectedEnterElements[re],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const re=[];try{k=this._flushAnimations(re,M)}finally{for(let p=0;p<re.length;p++)re[p]()}}else for(let re=0;re<this.collectedLeaveElements.length;re++)this.processLeaveNode(this.collectedLeaveElements[re]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(re=>re()),this._flushFns=[],this._whenQuietFns.length){const re=this._whenQuietFns;this._whenQuietFns=[],k.length?ge(k).onDone(()=>{re.forEach(p=>p())}):re.forEach(p=>p())}}reportError(M){throw function ee(){return new o.buA(3402,!1)}()}_flushAnimations(M,k){const re=new zn,p=[],O=new Map,g=[],J=new Map,Me=new Map,_t=new Map,Gt=new Set;this.disabledNodes.forEach(wn=>{Gt.add(wn);const Wn=this.driver.query(wn,".ng-animate-queued",!0);for(let Yn=0;Yn<Wn.length;Yn++)Gt.add(Wn[Yn])});const vn=this.bodyNode,yr=Array.from(this.statesByElement.keys()),Un=Ri(yr,this.collectedEnterElements),Gn=new Map;let ir=0;Un.forEach((wn,Wn)=>{const Yn=rr+ir++;Gn.set(Wn,Yn),wn.forEach(Tr=>Wr(Tr,Yn))});const $r=[],ui=new Set,di=new Set;for(let wn=0;wn<this.collectedLeaveElements.length;wn++){const Wn=this.collectedLeaveElements[wn],Yn=Wn[Xn];Yn&&Yn.setForRemoval&&($r.push(Wn),ui.add(Wn),Yn.hasAnimation?this.driver.query(Wn,".ng-star-inserted",!0).forEach(Tr=>ui.add(Tr)):di.add(Wn))}const yi=new Map,Ci=Ri(yr,Array.from(ui));Ci.forEach((wn,Wn)=>{const Yn=wt+ir++;yi.set(Wn,Yn),wn.forEach(Tr=>Wr(Tr,Yn))}),M.push(()=>{Un.forEach((wn,Wn)=>{const Yn=Gn.get(Wn);wn.forEach(Tr=>Zi(Tr,Yn))}),Ci.forEach((wn,Wn)=>{const Yn=yi.get(Wn);wn.forEach(Tr=>Zi(Tr,Yn))}),$r.forEach(wn=>{this.processLeaveNode(wn)})});const cs=[],Ki=[];for(let wn=this._namespaceList.length-1;wn>=0;wn--)this._namespaceList[wn].drainQueuedTransitions(k).forEach(Yn=>{const Tr=Yn.player,Zr=Yn.element;if(cs.push(Tr),this.collectedEnterElements.length){const xi=Zr[Xn];if(xi&&xi.setForMove){if(xi.previousTriggersValues&&xi.previousTriggersValues.has(Yn.triggerName)){const _s=xi.previousTriggersValues.get(Yn.triggerName),es=this.statesByElement.get(Yn.element);if(es&&es.has(Yn.triggerName)){const ds=es.get(Yn.triggerName);ds.value=_s,es.set(Yn.triggerName,ds)}}return void Tr.destroy()}}const ki=!vn||!this.driver.containsElement(vn,Zr),zi=yi.get(Zr),us=Gn.get(Zr),Kr=this._buildInstruction(Yn,re,us,zi,ki);if(Kr.errors&&Kr.errors.length)return void Ki.push(Kr);if(ki)return Tr.onStart(()=>Kn(Zr,Kr.fromStyles)),Tr.onDestroy(()=>hn(Zr,Kr.toStyles)),void p.push(Tr);if(Yn.isFallbackTransition)return Tr.onStart(()=>Kn(Zr,Kr.fromStyles)),Tr.onDestroy(()=>hn(Zr,Kr.toStyles)),void p.push(Tr);const lo=[];Kr.timelines.forEach(xi=>{xi.stretchStartingKeyframe=!0,this.disabledNodes.has(xi.element)||lo.push(xi)}),Kr.timelines=lo,re.append(Zr,Kr.timelines),g.push({instruction:Kr,player:Tr,element:Zr}),Kr.queriedElements.forEach(xi=>Xe(J,xi,[]).push(Tr)),Kr.preStyleProps.forEach((xi,_s)=>{if(xi.size){let es=Me.get(_s);es||Me.set(_s,es=new Set),xi.forEach((ds,Xs)=>es.add(Xs))}}),Kr.postStyleProps.forEach((xi,_s)=>{let es=_t.get(_s);es||_t.set(_s,es=new Set),xi.forEach((ds,Xs)=>es.add(Xs))})});if(Ki.length){const wn=[];Ki.forEach(Wn=>{wn.push(function fe(){return new o.buA(3505,!1)}())}),cs.forEach(Wn=>Wn.destroy()),this.reportError(wn)}const Hi=new Map,Ei=new Map;g.forEach(wn=>{const Wn=wn.element;re.has(Wn)&&(Ei.set(Wn,Wn),this._beforeAnimationBuild(wn.player.namespaceId,wn.instruction,Hi))}),p.forEach(wn=>{const Wn=wn.element;this._getPreviousPlayers(Wn,!1,wn.namespaceId,wn.triggerName,null).forEach(Tr=>{Xe(Hi,Wn,[]).push(Tr),Tr.destroy()})});const Fs=$r.filter(wn=>as(wn,Me,_t)),Bs=new Map;Vi(Bs,this.driver,di,_t,l.kp).forEach(wn=>{as(wn,Me,_t)&&Fs.push(wn)});const qi=new Map;Un.forEach((wn,Wn)=>{Vi(qi,this.driver,new Set(wn),Me,l.FX)}),Fs.forEach(wn=>{const Wn=Bs.get(wn),Yn=qi.get(wn);Bs.set(wn,new Map([...Wn?.entries()??[],...Yn?.entries()??[]]))});const Qs=[],Os=[],Eo={};g.forEach(wn=>{const{element:Wn,player:Yn,instruction:Tr}=wn;if(re.has(Wn)){if(Gt.has(Wn))return Yn.onDestroy(()=>hn(Wn,Tr.toStyles)),Yn.disabled=!0,Yn.overrideTotalTime(Tr.totalTime),void p.push(Yn);let Zr=Eo;if(Ei.size>1){let zi=Wn;const us=[];for(;zi=zi.parentNode;){const Kr=Ei.get(zi);if(Kr){Zr=Kr;break}us.push(zi)}us.forEach(Kr=>Ei.set(Kr,Zr))}const ki=this._buildAnimation(Yn.namespaceId,Tr,Hi,O,qi,Bs);if(Yn.setRealPlayer(ki),Zr===Eo)Qs.push(Yn);else{const zi=this.playersByElement.get(Zr);zi&&zi.length&&(Yn.parentPlayer=ge(zi)),p.push(Yn)}}else Kn(Wn,Tr.fromStyles),Yn.onDestroy(()=>hn(Wn,Tr.toStyles)),Os.push(Yn),Gt.has(Wn)&&p.push(Yn)}),Os.forEach(wn=>{const Wn=O.get(wn.element);if(Wn&&Wn.length){const Yn=ge(Wn);wn.setRealPlayer(Yn)}}),p.forEach(wn=>{wn.parentPlayer?wn.syncPlayerEvents(wn.parentPlayer):wn.destroy()});for(let wn=0;wn<$r.length;wn++){const Wn=$r[wn],Yn=Wn[Xn];if(Zi(Wn,wt),Yn&&Yn.hasAnimation)continue;let Tr=[];if(J.size){let ki=J.get(Wn);ki&&ki.length&&Tr.push(...ki);let zi=this.driver.query(Wn,It,!0);for(let us=0;us<zi.length;us++){let Kr=J.get(zi[us]);Kr&&Kr.length&&Tr.push(...Kr)}}const Zr=Tr.filter(ki=>!ki.destroyed);Zr.length?Ss(this,Wn,Zr):this.processLeaveNode(Wn)}return $r.length=0,Qs.forEach(wn=>{this.players.push(wn),wn.onDone(()=>{wn.destroy();const Wn=this.players.indexOf(wn);this.players.splice(Wn,1)}),wn.play()}),Qs}afterFlush(M){this._flushFns.push(M)}afterFlushAnimationsDone(M){this._whenQuietFns.push(M)}_getPreviousPlayers(M,k,re,p,O){let g=[];if(k){const J=this.playersByQueriedElement.get(M);J&&(g=J)}else{const J=this.playersByElement.get(M);if(J){const Me=!O||O==zr;J.forEach(_t=>{_t.queued||!Me&&_t.triggerName!=p||g.push(_t)})}}return(re||p)&&(g=g.filter(J=>!(re&&re!=J.namespaceId||p&&p!=J.triggerName))),g}_beforeAnimationBuild(M,k,re){const O=k.element,g=k.isRemovalTransition?void 0:M,J=k.isRemovalTransition?void 0:k.triggerName;for(const Me of k.timelines){const _t=Me.element,Gt=_t!==O,vn=Xe(re,_t,[]);this._getPreviousPlayers(_t,Gt,g,J,k.toState).forEach(Un=>{const Gn=Un.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),Un.destroy(),vn.push(Un)})}Kn(O,k.fromStyles)}_buildAnimation(M,k,re,p,O,g){const J=k.triggerName,Me=k.element,_t=[],Gt=new Set,vn=new Set,yr=k.timelines.map(Gn=>{const ir=Gn.element;Gt.add(ir);const $r=ir[Xn];if($r&&$r.removedBeforeQueried)return new l.sf(Gn.duration,Gn.delay);const ui=ir!==Me,di=function no(Le){const M=[];return is(Le,M),M}((re.get(ir)||pn).map(Hi=>Hi.getRealPlayer())).filter(Hi=>!!Hi.element&&Hi.element===ir),yi=O.get(ir),Ci=g.get(ir),cs=Ne(this._normalizer,Gn.keyframes,yi,Ci),Ki=this._buildPlayer(Gn,cs,di);if(Gn.subTimeline&&p&&vn.add(ir),ui){const Hi=new ti(M,J,ir);Hi.setRealPlayer(Ki),_t.push(Hi)}return Ki});_t.forEach(Gn=>{Xe(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function Xi(Le,M,k){let re=Le.get(M);if(re){if(re.length){const p=re.indexOf(k);re.splice(p,1)}0==re.length&&Le.delete(M)}return re}(this.playersByQueriedElement,Gn.element,Gn))}),Gt.forEach(Gn=>Wr(Gn,gt));const Un=ge(yr);return Un.onDestroy(()=>{Gt.forEach(Gn=>Zi(Gn,gt)),hn(Me,k.toStyles)}),vn.forEach(Gn=>{Xe(p,Gn,[]).push(Un)}),Un}_buildPlayer(M,k,re){return k.length>0?this.driver.animate(M.element,k,M.duration,M.delay,M.easing,re):new l.sf(M.duration,M.delay)}}class ti{namespaceId;triggerName;element;_player=new l.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(M,k,re){this.namespaceId=M,this.triggerName=k,this.element=re}setRealPlayer(M){this._containsRealPlayer||(this._player=M,this._queuedCallbacks.forEach((k,re)=>{k.forEach(p=>je(M,re,void 0,p))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(M.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(M){this.totalTime=M}syncPlayerEvents(M){const k=this._player;k.triggerCallback&&M.onStart(()=>k.triggerCallback("start")),M.onDone(()=>this.finish()),M.onDestroy(()=>this.destroy())}_queueEvent(M,k){Xe(this._queuedCallbacks,M,[]).push(k)}onDone(M){this.queued&&this._queueEvent("done",M),this._player.onDone(M)}onStart(M){this.queued&&this._queueEvent("start",M),this._player.onStart(M)}onDestroy(M){this.queued&&this._queueEvent("destroy",M),this._player.onDestroy(M)}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(M){this.queued||this._player.setPosition(M)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(M){const k=this._player;k.triggerCallback&&k.triggerCallback(M)}}function rs(Le){return Le&&1===Le.nodeType}function Ii(Le,M){const k=Le.style.display;return Le.style.display=M??"none",k}function Vi(Le,M,k,re,p){const O=[];k.forEach(Me=>O.push(Ii(Me)));const g=[];re.forEach((Me,_t)=>{const Gt=new Map;Me.forEach(vn=>{const yr=M.computeStyle(_t,vn,p);Gt.set(vn,yr),(!yr||0==yr.length)&&(_t[Xn]=wr,g.push(_t))}),Le.set(_t,Gt)});let J=0;return k.forEach(Me=>Ii(Me,O[J++])),g}function Ri(Le,M){const k=new Map;if(Le.forEach(J=>k.set(J,[])),0==M.length)return k;const p=new Set(M),O=new Map;function g(J){if(!J)return 1;let Me=O.get(J);if(Me)return Me;const _t=J.parentNode;return Me=k.has(_t)?_t:p.has(_t)?1:g(_t),O.set(J,Me),Me}return M.forEach(J=>{const Me=g(J);1!==Me&&k.get(Me).push(J)}),k}function Wr(Le,M){Le.classList?.add(M)}function Zi(Le,M){Le.classList?.remove(M)}function Ss(Le,M,k){ge(k).onDone(()=>Le.processLeaveNode(M))}function is(Le,M){for(let k=0;k<Le.length;k++){const re=Le[k];re instanceof l.PZ?is(re.players,M):M.push(re)}}function as(Le,M,k){const re=k.get(Le);if(!re)return!1;let p=M.get(Le);return p?re.forEach(O=>p.add(O)):M.set(Le,re),k.delete(Le),!0}class vi{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(M,k)=>{};constructor(M,k,re){this._driver=k,this._normalizer=re,this._transitionEngine=new Ni(M.body,k,re),this._timelineEngine=new ae(M.body,k,re),this._transitionEngine.onRemovalComplete=(p,O)=>this.onRemovalComplete(p,O)}registerTrigger(M,k,re,p,O){const g=M+"-"+p;let J=this._triggerCache[g];if(!J){const Me=[],Gt=$(this._driver,O,Me,[]);if(Me.length)throw function Ue(){return new o.buA(3404,!1)}();J=function hi(Le,M,k){return new Oi(Le,M,k)}(p,Gt,this._normalizer),this._triggerCache[g]=J}this._transitionEngine.registerTrigger(k,p,J)}register(M,k){this._transitionEngine.register(M,k)}destroy(M,k){this._transitionEngine.destroy(M,k)}onInsert(M,k,re,p){this._transitionEngine.insertNode(M,k,re,p)}onRemove(M,k,re){this._transitionEngine.removeNode(M,k,re)}disableAnimations(M,k){this._transitionEngine.markElementAsDisabled(M,k)}process(M,k,re,p){if("@"==re.charAt(0)){const[O,g]=Je(re);this._timelineEngine.command(O,k,g,p)}else this._transitionEngine.trigger(M,k,re,p)}listen(M,k,re,p,O){if("@"==re.charAt(0)){const[g,J]=Je(re);return this._timelineEngine.listen(g,k,J,O)}return this._transitionEngine.listen(M,k,re,p,O)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}
1afterFlushAnimationsDone(M){this._transitionEngine.afterFlushAnimationsDone(M)}}let bs=(()=>{class Le{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(k,re,p){this._element=k,this._startStyles=re,this._endStyles=p;let O=Le.initialStylesByElement.get(k);O||Le.initialStylesByElement.set(k,O=new Map),this._initialStyles=O}start(){this._state<1&&(this._startStyles&&hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hn(this._element,this._initialStyles),this._endStyles&&(hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Le.initialStylesByElement.delete(this._element),this._startStyles&&(Kn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Kn(this._element,this._endStyles),this._endStyles=null),hn(this._element,this._initialStyles),this._state=3)}}return Le})();function ni(Le){let M=null;return Le.forEach((k,re)=>{(function Pi(Le){return"display"===Le||"position"===Le})(re)&&(M=M||new Map,M.set(re,k))}),M}class fs{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(M,k,re,p){this.element=M,this.keyframes=k,this.options=re,this._specialStyles=p,this._duration=re.duration,this._delay=re.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(M=>M()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const M=this.keyframes,k=this._triggerWebAnimation(this.element,M,this.options);if(!k)return this._onFinish(),null;this.domPlayer=k,this._finalKeyframe=M.length?M[M.length-1]:new Map;const re=()=>this._onFinish();return k.addEventListener("finish",re),this.onDestroy(()=>{k.removeEventListener("finish",re)}),k}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(M){const k=[];return M.forEach(re=>{k.push(Object.fromEntries(re))}),k}_triggerWebAnimation(M,k,re){const p=this._convertKeyframesToObject(k);try{return M.animate(p,re)}catch{return null}}onStart(M){this._originalOnStartFns.push(M),this._onStartFns.push(M)}onDone(M){this._originalOnDoneFns.push(M),this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}play(){const M=this._buildPlayer();M&&(this.hasStarted()||(this._onStartFns.forEach(k=>k()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),M.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(M=>M()),this._onDestroyFns=[])}setPosition(M){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=M*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const M=new Map;this.hasStarted()&&this._finalKeyframe.forEach((re,p)=>{"offset"!==p&&M.set(p,this._finished?re:Hn(this.element,p))}),this.currentSnapshot=M}triggerCallback(M){const k="start"===M?this._onStartFns:this._onDoneFns;k.forEach(re=>re()),k.length=0}}class As{validateStyleProperty(M){return!0}validateAnimatableStyleProperty(M){return!0}containsElement(M,k){return or(M,k)}getParentElement(M){return Pt(M)}query(M,k,re){return _n(M,k,re)}computeStyle(M,k,re){return Hn(M,k)}animate(M,k,re,p,O,g=[]){const Me={duration:re,delay:p,fill:0==p?"both":"forwards"};O&&(Me.easing=O);const _t=new Map,Gt=g.filter(Un=>Un instanceof fs);(function An(Le,M){return 0===Le||0===M})(re,p)&&Gt.forEach(Un=>{Un.currentSnapshot.forEach((Gn,ir)=>_t.set(ir,Gn))});let vn=function Cr(Le){return Le.length?Le[0]instanceof Map?Le:Le.map(M=>new Map(Object.entries(M))):[]}(k).map(Un=>new Map(Un));vn=function Ln(Le,M,k){if(k.size&&M.length){let re=M[0],p=[];if(k.forEach((O,g)=>{re.has(g)||p.push(g),re.set(g,O)}),p.length)for(let O=1;O<M.length;O++){let g=M[O];p.forEach(J=>g.set(J,Hn(Le,J)))}}return M}(M,vn,_t);const yr=function Fi(Le,M){let k=null,re=null;return Array.isArray(M)&&M.length?(k=ni(M[0]),M.length>1&&(re=ni(M[M.length-1]))):M instanceof Map&&(k=ni(M)),k||re?new bs(Le,k,re):null}(M,vn);return new fs(M,vn,Me,yr)}}const ks="@.disabled";class xs{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(M,k,re,p){this.namespaceId=M,this.delegate=k,this.engine=re,this._onDestroy=p}get data(){return this.delegate.data}destroyNode(M){this.delegate.destroyNode?.(M)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(M,k){return this.delegate.createElement(M,k)}createComment(M){return this.delegate.createComment(M)}createText(M){return this.delegate.createText(M)}appendChild(M,k){this.delegate.appendChild(M,k),this.engine.onInsert(this.namespaceId,
1k,M,!1)}insertBefore(M,k,re,p=!0){this.delegate.insertBefore(M,k,re),this.engine.onInsert(this.namespaceId,k,M,p)}removeChild(M,k,re,p){p?this.delegate.removeChild(M,k,re,p):this.parentNode(k)&&this.engine.onRemove(this.namespaceId,k,this.delegate)}selectRootElement(M,k){return this.delegate.selectRootElement(M,k)}parentNode(M){return this.delegate.parentNode(M)}nextSibling(M){return this.delegate.nextSibling(M)}setAttribute(M,k,re,p){this.delegate.setAttribute(M,k,re,p)}removeAttribute(M,k,re){this.delegate.removeAttribute(M,k,re)}addClass(M,k){this.delegate.addClass(M,k)}removeClass(M,k){this.delegate.removeClass(M,k)}setStyle(M,k,re,p){this.delegate.setStyle(M,k,re,p)}removeStyle(M,k,re){this.delegate.removeStyle(M,k,re)}setProperty(M,k,re){"@"==k.charAt(0)&&k==ks?this.disableAnimations(M,!!re):this.delegate.setProperty(M,k,re)}setValue(M,k){this.delegate.setValue(M,k)}listen(M,k,re,p){return this.delegate.listen(M,k,re,p)}disableAnimations(M,k){this.engine.disableAnimations(M,k)}}class ai extends xs{factory;constructor(M,k,re,p,O){super(k,re,p,O),this.factory=M,this.namespaceId=k}setProperty(M,k,re){"@"==k.charAt(0)?"."==k.charAt(1)&&k==ks?this.disableAnimations(M,re=void 0===re||!!re):this.engine.process(this.namespaceId,M,k.slice(1),re):this.delegate.setProperty(M,k,re)}listen(M,k,re,p){if("@"==k.charAt(0)){const O=function Ls(Le){switch(Le){case"body":return document.body;case"document":return document;case"window":return window;default:return Le}}(M);let g=k.slice(1),J="";return"@"!=g.charAt(0)&&([g,J]=function mo(Le){const M=Le.indexOf(".");return[Le.substring(0,M),Le.slice(M+1)]}(g)),this.engine.listen(this.namespaceId,O,g,J,Me=>{this.factory.scheduleListenerCallback(Me._data||-1,re,Me)})}return this.delegate.listen(M,k,re,p)}}class ss{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(M,k,re){this.delegate=M,this.engine=k,this._zone=re,k.onRemovalComplete=(p,O)=>{O?.removeChild(null,p)}}createRenderer(M,k){const p=this.delegate.createRenderer(M,k);if(!M||!k?.data?.animation){const _t=this._rendererCache;let Gt=_t.get(p);return Gt||(Gt=new xs("",p,this.engine,()=>_t.delete(p)),_t.set(p,Gt)),Gt}const O=k.id,g=k.id+"-"+this._currentId;this._currentId++,this.engine.register(g,M);const J=_t=>{Array.isArray(_t)?_t.forEach(J):this.engine.registerTrigger(O,g,M,_t.name,_t)};return k.data.animation.forEach(J),new ai(this,g,p,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(M,k,re){if(M>=0&&M<this._microtaskId)return void this._zone.run(()=>k(re));const p=this._animationCallbacksBuffer;0==p.length&&queueMicrotask(()=>{this._zone.run(()=>{p.forEach(O=>{const[g,J]=O;g(J)}),this._animationCallbacksBuffer=[]})}),p.push([k,re])}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()}componentReplaced(M){this.engine.flush(),this.delegate.componentReplaced?.(M)}}var Gr=c(2896),os=c(6506);const ps=[{provide:dt,useFactory:function ls(){return new fn}},{provide:vi,useClass:(()=>{class Le extends vi{constructor(k,re,p){super(k,re,p)}ngOnDestroy(){this.flush()}static \u0275fac=function(re){return new(re||Le)(o.KVO(o.qQL),o.KVO(Vt),o.KVO(dt))};static \u0275prov=o.jDH({token:Le,factory:Le.\u0275fac})}return Le})()},{provide:u._9s,useFactory:function oo(){return new ss((0,o.WQX)(Gr.mE),(0,o.WQX)(vi),(0,o.WQX)(o.SKi))}}],zs=[{provide:Vt,useClass:Ot},{provide:u.bc$,useValue:"NoopAnimations"},...ps],ao=[{provide:Vt,useFactory:()=>new As},{provide:u.bc$,useFactory:()=>"BrowserAnimations"},...ps];let vo=(()=>{class Le{static withConfig(k){return{ngModule:Le,providers:k.disableAnimations?zs:ao}}static \u0275fac=function(re){return new(re||Le)};static \u0275mod=u.$C({type:Le});static \u0275inj=o.G2t({providers:ao,imports:[os.Bb]})}return Le})()},1230(qe,P,c){"use strict";c.d(P,{up:()=>Rt,W8:()=>ct,hE:()=>It,$x:()=>gr,Ii:()=>mn,rQ:()=>lr});var o=c(6494),u=c(5802),l=c(5547),R=c(5157),v=c(3794),S=(c(2271),c(7673));c(8141);const C=new u.nKC(""),V="b",B="h",Q="s",Z="st",ce="u",be="rt",Te=new u.nKC(""),we=["GET","HEAD"];function $e(Ot,Vt){const{isCacheActive:dt,...ft}=Vt,{transferCache:Xt,method:fn}=Ot;return!(!dt||!1===Xt||function et(Ot){const{withCredentials:Vt,credentials:dt}=Ot;return Vt||"include"===dt||"same-origin"===dt}(Ot)||"POST"===fn&&!ft.includePostRequests&&!Xt||"POST"!==fn&&!we.includes(fn)||!ft.includeRequestsWithAuthHeaders&&function lt(Ot){const Vt=Ot.headers;return Vt.has("authorization")||Vt.has("proxy-authorization")||Vt.has("cookie")}(Ot)||function Ct(Ot){const Vt=Ot.get("cache-control");return!!Vt&&Vt.split(",").some(dt=>
1{const ft=dt.split("=",1)[0].trim().toLowerCase();return pt.has(ft)})}(Ot.headers)||function se(Ot){return"no-cache"===Ot||"no-store"===Ot}(Ot.cache)||!1===ft.filter?.(Ot))}function Be(Ot,Vt){const dt=(0,u.WQX)(Te);if(!$e(Ot,dt))return Vt(Ot);const ft=(0,u.WQX)(l.pJN),Qn=((0,u.WQX)(C,{optional:!0}),function Ue(Ot,Vt,dt,ft,Xt,fn=!1){if(!fn&&!$e(Ot,Vt))return null;if(ft)throw new u.buA(2803,!1);Xt||(Xt=ee(Ot,Ot.url));const Nn=dt.get(Xt,null);if(!Nn)return null;const{[V]:Qn,[be]:Ge,[B]:Ve,[Q]:te,[Z]:W,[ce]:ue}=Nn;let _e=Qn;switch(Ge){case"arraybuffer":_e=ye(Qn);break;case"blob":_e=new Blob([ye(Qn)])}let Se=new v.Lr(Ve);return new v.cS({body:_e,headers:Se,status:te,statusText:W,url:ue})}(Ot,dt,ft,null,ee(Ot,Ot.url),!0));return Qn?(0,S.of)(Qn):Vt(Ot)}const pt=new Set(["no-store","private","no-cache"]);function Y(Ot){return[...Ot.keys()].sort().map(Vt=>`${Vt}=${Ot.getAll(Vt)}`).join("&")}function ee(Ot,Vt){const{params:dt,method:ft,responseType:Xt}=Ot,fn=Y(dt);let Nn=Ot.serializeBody();Nn instanceof URLSearchParams?Nn=Y(Nn):"string"!=typeof Nn&&(Nn="");const Ge=function Je(Ot){Xe??=new TextEncoder;const Vt=Xe.encode(Ot);let dt=1779033703,ft=3144134277,Xt=1013904242,fn=2773480762,Nn=1359893119,Qn=2600822924,Ge=528734635,Ve=1541459225;const te=8*Vt.length,W=1+(Vt.length+8>>6)<<6,ue=new Uint8Array(W);ue.set(Vt),ue[Vt.length]=128;const _e=new DataView(ue.buffer),Se=te>>>0;_e.setUint32(W-8,te/4294967296>>>0,!1),_e.setUint32(W-4,Se,!1);const kt=new Uint32Array(64);for(let Yt=0;Yt<W;Yt+=64){for(let Ft=0;Ft<16;Ft++)kt[Ft]=_e.getUint32(Yt+4*Ft,!1);for(let Ft=16;Ft<64;Ft++){const an=kt[Ft-15],Cn=kt[Ft-2];kt[Ft]=kt[Ft-16]+(((an>>>7|an<<25)^(an>>>18|an<<14)^an>>>3)>>>0)+kt[Ft-7]+(((Cn>>>17|Cn<<15)^(Cn>>>19|Cn<<13)^Cn>>>10)>>>0)>>>0}let U=dt,Ee=ft,$=Xt,he=fn,Ae=Nn,Ye=Qn,ht=Ge,Wt=Ve;for(let Ft=0;Ft<64;Ft++){const Cn=Wt+(((Ae>>>6|Ae<<26)^(Ae>>>11|Ae<<21)^(Ae>>>25|Ae<<7))>>>0)+((Ae&Ye^~Ae&ht)>>>0)+bt[Ft]+kt[Ft]>>>0,zn=(U&Ee^U&$^Ee&$)>>>0;Wt=ht,ht=Ye,Ye=Ae,Ae=he+Cn>>>0,he=$,$=Ee,Ee=U,U=Cn+((((U>>>2|U<<30)^(U>>>13|U<<19)^(U>>>22|U<<10))>>>0)+zn>>>0)>>>0}dt=dt+U>>>0,ft=ft+Ee>>>0,Xt=Xt+$>>>0,fn=fn+he>>>0,Nn=Nn+Ae>>>0,Qn=Qn+Ye>>>0,Ge=Ge+ht>>>0,Ve=Ve+Wt>>>0}return[dt,ft,Xt,fn,Nn,Qn,Ge,Ve].map(Yt=>Yt.toString(16).padStart(8,"0")).join("")}([ft,Xt,Vt,Nn,fn].join("|"));return(0,l.zw6)(Ge)}function ye(Ot){const Vt=atob(Ot);return Uint8Array.from(Vt,ft=>ft.charCodeAt(0)).buffer}function ge(Ot){return[{provide:Te,useFactory:()=>((0,l._jY)("NgHttpTransferCache"),{isCacheActive:!0,...Ot})},{provide:v.Ml,useValue:Be,multi:!0},{provide:l.iLQ,multi:!0,useFactory:()=>{const Vt=(0,u.WQX)(l.o8S),dt=(0,u.WQX)(Te);return()=>{Vt.whenStable().then(()=>{dt.isCacheActive=!1})}}}]}const bt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let Xe,ct=(()=>{class Ot{_doc;_dom;constructor(dt){this._doc=dt,this._dom=(0,o.rb)()}addTag(dt,ft=!1){return dt?this._getOrCreateElement(dt,ft):null}addTags(dt,ft=!1){return dt?dt.reduce((Xt,fn)=>(fn&&Xt.push(this._getOrCreateElement(fn,ft)),Xt),[]):[]}getTag(dt){if(!dt)return null;const ft=this._doc.querySelector(`meta[${dt}]`);return"meta"===ft?.nodeName.toLowerCase()?ft:null}getTags(dt){if(!dt)return[];const ft=this._doc.querySelectorAll(`meta[${dt}]`);return ft?[].slice.call(ft).filter(Xt=>"meta"===Xt.nodeName.toLowerCase()):[]}updateTag(dt,ft){if(!dt)return null;ft=ft||this._parseSelector(dt);const Xt=this.getTag(ft);return Xt?this._setMetaElementAttributes(dt,Xt):this._getOrCreateElement(dt,!0)}removeTag(dt){this.removeTagElement(this.getTag(dt))}removeTagElement(dt){dt&&this._dom.remove(dt)}_getOrCreateElement(dt,ft=!1){if(!ft){const Nn=this._parseSelector(dt),Qn=this.getTags(Nn).filter(Ge=>this._containsAttributes(dt,Ge))[0];if(void 0!==Qn)return Qn}const Xt=this._dom.createElement("meta");return this._setMetaElementAttributes(dt,Xt),this._doc.getElementsByTagName("head")[0].appendChild(Xt),Xt}_setMetaElementAttributes(dt,ft){return Object.keys(dt).forEach(Xt=>ft.setAttribute(this._getMetaKeyMap(Xt),dt[Xt])),ft}
1_parseSelector(dt){const ft=dt.name?"name":"property";return`${ft}=${this._escapeSelectorValue(String(dt[ft]))}`}_escapeSelectorValue(dt){return`"${dt.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_containsAttributes(dt,ft){return Object.keys(dt).every(Xt=>ft.getAttribute(this._getMetaKeyMap(Xt))===dt[Xt])}_getMetaKeyMap(dt){return gt[dt]||dt}static \u0275fac=function(ft){return new(ft||Ot)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:Ot,factory:Ot.\u0275fac,providedIn:"root"})}return Ot})();const gt={httpEquiv:"http-equiv"};let It=(()=>{class Ot{_doc;constructor(dt){this._doc=dt}getTitle(){return this._doc.title}setTitle(dt){this._doc.title=dt||""}static \u0275fac=function(ft){return new(ft||Ot)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:Ot,factory:Ot.\u0275fac,providedIn:"root"})}return Ot})(),Rt=(()=>{class Ot{static \u0275fac=function(ft){return new(ft||Ot)};static \u0275prov=u.jDH({token:Ot,factory:function(ft){let Xt=null;return Xt=ft?new(ft||Ot):u.KVO(Qt),Xt},providedIn:"root"})}return Ot})(),Qt=(()=>{class Ot extends Rt{_doc;constructor(dt){super(),this._doc=dt}sanitize(dt,ft){if(null==ft)return null;switch(dt){case l.WPN.NONE:return ft;case l.WPN.HTML:return(0,l.iWE)(ft,"HTML")?(0,l.aCM)(ft):(0,l.wr$)(this._doc,String(ft)).toString();case l.WPN.STYLE:return(0,l.iWE)(ft,"Style")?(0,l.aCM)(ft):ft;case l.WPN.SCRIPT:if((0,l.iWE)(ft,"Script"))return(0,l.aCM)(ft);throw new u.buA(5200,!1);case l.WPN.URL:return(0,l.iWE)(ft,"URL")?(0,l.aCM)(ft):(0,l.gil)(String(ft));case l.WPN.RESOURCE_URL:if((0,l.iWE)(ft,"ResourceURL"))return(0,l.aCM)(ft);throw new u.buA(5201,!1);default:throw new u.buA(5202,!1)}}bypassSecurityTrustHtml(dt){return(0,l.PYC)(dt)}bypassSecurityTrustStyle(dt){return(0,l.rAh)(dt)}bypassSecurityTrustScript(dt){return(0,l.p2i)(dt)}bypassSecurityTrustUrl(dt){return(0,l.B1s)(dt)}bypassSecurityTrustResourceUrl(dt){return(0,l.RPW)(dt)}static \u0275fac=function(ft){return new(ft||Ot)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:Ot,factory:Ot.\u0275fac,providedIn:"root"})}return Ot})();var sn=function(Ot){return Ot[Ot.NoHttpTransferCache=0]="NoHttpTransferCache",Ot[Ot.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Ot[Ot.I18nSupport=2]="I18nSupport",Ot[Ot.EventReplay=3]="EventReplay",Ot[Ot.IncrementalHydration=4]="IncrementalHydration",Ot}(sn||{});function An(Ot,Vt=[],dt={}){return{\u0275kind:Ot,\u0275providers:Vt}}function mn(Ot){return An(sn.HttpTransferCacheOptions,ge(Ot))}function lr(){return An(sn.IncrementalHydration,(0,R.C1y)())}function gr(...Ot){const Vt=[],dt=new Set;for(const{\u0275providers:Xt,\u0275kind:fn}of Ot)dt.add(fn),Xt.length&&Vt.push(Xt);const ft=dt.has(sn.HttpTransferCacheOptions);return(0,u.EmA)([[],[],(0,R.M8M)(),dt.has(sn.NoHttpTransferCache)||ft?[]:ge({}),Vt])}},9882(qe,P,c){"use strict";c.d(P,{$m:()=>Ut,D$:()=>aa,E:()=>yt,Ix:()=>Ta,J2:()=>uo,J_:()=>ds,Lg:()=>Lo,OY:()=>Mt,Pu:()=>ko,Sd:()=>dn,Us:()=>kr,XR:()=>Us,Z:()=>Wt,Zp:()=>Ur,b:()=>ua,bK:()=>xo,bw:()=>Xs,c1:()=>Ni,el:()=>rr,fN:()=>Bo,gk:()=>Uo,lW:()=>zn,mo:()=>bn,n3:()=>Or,nU:()=>In,nX:()=>Pe,tD:()=>ti,tE:()=>i,wF:()=>Ft,wO:()=>Ot,wU:()=>Ae,we:()=>Xi});var o=c(467),u=c(5984),l=c(5802),R=c(5547),v=c(5157),w=c(2271),S=c(1985),L=c(1413),E=c(4412),h=c(8359),f=c(1203),y=c(4402),H=c(9350),b=c(4572),N=c(8793),A=c(9030),C=c(6648),V=c(7673),B=c(8810),Q=c(983),Z=c(9437),ce=c(274),be=c(5964),Te=c(980),we=c(1594),$e=c(6354),Oe=c(1397),Ue=c(9172),Be=c(5558),lt=c(6697),et=c(5109),pt=c(6977),Ct=c(8141),st=c(1230);const se="primary",me=Symbol("RouteTitle");class Y{params;constructor(z){this.params=z||{}}has(z){return Object.prototype.hasOwnProperty.call(this.params,z)}get(z){if(this.has(z)){const x=this.params[z];return Array.isArray(x)?x[0]:x}return null}getAll(z){if(this.has(z)){const x=this.params[z];return Array.isArray(x)?x:[x]}return[]}get keys(){return Object.keys(this.params)}}function ee(T){return new Y(T)}function fe(T,z,x){for(let X=0;X<T.length;X++){const de=T[X],We=z[X];if(":"===de[0])x[de.substring(1)]=We;else if(de!==We.path)return!1}return!0}function ye(T,z,x){const X=x.path.split("/"),de=X.indexOf("**");if(-1===de){if(X.length>T.length||"full"===x.pathMatch&&(z.hasChildren()||X.length<T.length))return null;const Nt={},Zt=T.slice(0,X.length);return fe(X,Zt,Nt)?{consumed:Zt,posParams:Nt}:null}if(de!==X.lastIndexOf("**"))return null;const We=X.slice(0,de),nt=X.slice(de+1);if(We.length+nt.length>T.length||"full"===x.pathMatch&&z.hasChildren()&&"**"!==x.path)return null;const Qe={};return fe(We,T.slice(0,We.length),Qe)&&fe(nt,T.slice(T.length-nt.length),Qe)?{consumed:T,posParams:Qe}:null}function ge(T){return new Promise((z,x)=>{T.pipe((0,we.$)()).subscribe({next:X=>z(X),error:X=>x(X)})})}function je(T,z){const x=T?tt(T):void 0,X=z?tt(z):void 0;if(!x||!X||x.length!=X.length)return!1;let de;for(let We=0;We<x.length;We++)if(de=x[We],!bt(T[de],z[de]))return!1;return!0}function tt(T){return[...Object.keys(T),...Object.getOwnPropertySymbols(T)]}function bt(T,z){if(Array.isArray(T)&&Array.isArray(z)){if(T.length!==z.length)return!1;const x=[...T].sort(),X=[...z].sort();return x.every((de,We)=>X[We]===de)}return T===z}function Je(T){return(0,y.A)(T)?T:(0,R.yLl)(T)?(0,C.H)(Promise.resolve(T)):(0,V.of)(T)}function rt(T){return(0,y.A)(T)?ge(T):Promise.resolve(T)}const Pt={exact:function or(T,z,x){if(!gt(T.segments,z.segments)||!hr(T.segments,z.segments,x)||T.numberOfChildren!==z.numberOfChildren)return!1;for(const X in z.children)if(!T.children[X]||!or(T.children[X],z.children[X],x))return!1;return!0},subset:cr},tn={exact:function un(T,z){return je(T,z)},subset:function _n(T,z){return Object.keys(z).length<=Object.keys(T).length&&Object.keys(z).every(x=>bt(T[x],z[x]))},ignored:()=>!0},i={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yt={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Ut(T,z,x){const X=T instanceof rr?T:z.parseUrl(T);return(0,w.EW)(()=>Kt(z.lastSuccessfulNavigation()?.finalUrl??new rr,X,{...yt,...x}))}function Kt(T,z,x){return Pt[x.paths](T.root,z.root,x.matrixParams)&&tn[x.queryParams](T.queryParams,z.queryParams)&&!("exact"===x.fragment&&T.fragment!==z.fragment)}function cr(T,z,x){return Sn(T,z,z.segments,x)}function Sn(T,z,x,X){if(T.segments.length>x.length){const de=T.segments.slice(0,x.length);
1return!(!gt(de,x)||z.hasChildren()||!hr(de,x,X))}if(T.segments.length===x.length){if(!gt(T.segments,x)||!hr(T.segments,x,X))return!1;for(const de in z.children)if(!T.children[de]||!cr(T.children[de],z.children[de],X))return!1;return!0}{const de=x.slice(0,T.segments.length),We=x.slice(T.segments.length);return!!(gt(T.segments,de)&&hr(T.segments,de,X)&&T.children[se])&&Sn(T.children[se],z,We,X)}}function hr(T,z,x){return z.every((X,de)=>tn[x](T[de].parameters,X.parameters))}class rr{root;queryParams;fragment;_queryParamMap;constructor(z=new wt([],{}),x={},X=null){this.root=z,this.queryParams=x,this.fragment=X}get queryParamMap(){return this._queryParamMap??=ee(this.queryParams),this._queryParamMap}toString(){return Vn.serialize(this)}}class wt{segments;children;parent=null;constructor(z,x){this.segments=z,this.children=x,Object.values(x).forEach(X=>X.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kn(this)}}class en{path;parameters;_parameterMap;constructor(z,x){this.path=z,this.parameters=x}get parameterMap(){return this._parameterMap??=ee(this.parameters),this._parameterMap}toString(){return Fe(this)}}function gt(T,z){return T.length===z.length&&T.every((x,X)=>x.path===z[X].path)}let dn=(()=>{class T{static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:()=>new In,providedIn:"root"})}return T})();class In{parse(z){const x=new lr(z);return new rr(x.parseRootSegment(),x.parseQueryParams(),x.parseFragment())}serialize(z){const x=`/${Bn(z.root,!0)}`,X=function mt(T){const z=Object.entries(T).map(([x,X])=>Array.isArray(X)?X.map(de=>`${En(x)}=${En(de)}`).join("&"):`${En(x)}=${En(X)}`).filter(x=>x);return z.length?`?${z.join("&")}`:""}(z.queryParams);return`${x}${X}${"string"==typeof z.fragment?`#${function hn(T){return encodeURI(T)}(z.fragment)}`:""}`}}const Vn=new In;function kn(T){return T.segments.map(z=>Fe(z)).join("/")}function Bn(T,z){if(!T.hasChildren())return kn(T);if(z){const x=T.children[se]?Bn(T.children[se],!1):"",X=[];return Object.entries(T.children).forEach(([de,We])=>{de!==se&&X.push(`${de}:${Bn(We,!1)}`)}),X.length>0?`${x}(${X.join("//")})`:x}{const x=function It(T,z){let x=[];return Object.entries(T.children).forEach(([X,de])=>{X===se&&(x=x.concat(z(de,X)))}),Object.entries(T.children).forEach(([X,de])=>{X!==se&&(x=x.concat(z(de,X)))}),x}(T,(X,de)=>de===se?[Bn(T.children[se],!1)]:[`${de}:${Bn(X,!1)}`]);return 1===Object.keys(T.children).length&&null!=T.children[se]?`${kn(T)}/${x[0]}`:`${kn(T)}/(${x.join("//")})`}}function Cr(T){return encodeURIComponent(T).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function En(T){return Cr(T).replace(/%3B/gi,";")}function Kn(T){return Cr(T).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xe(T){return decodeURIComponent(T)}function ve(T){return xe(T.replace(/\+/g,"%20"))}function Fe(T){return`${Kn(T.path)}${function He(T){return Object.entries(T).map(([z,x])=>`;${Kn(z)}=${Kn(x)}`).join("")}(T.parameters)}`}const Rt=/^[^\/()?;#]+/;function Qt(T){const z=T.match(Rt);return z?z[0]:""}const sn=/^[^\/()?;=#]+/,Ln=/^[^=?&#]+/,Hn=/^[^&#]+/;class lr{url;remaining;constructor(z){this.url=z,this.remaining=z}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wt([],{}):new wt([],this.parseChildren())}parseQueryParams(){const z={};if(this.consumeOptional("?"))do{this.parseQueryParam(z)}while(this.consumeOptional("&"));return z}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(z=0){if(z>50)throw new l.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const x=[];for(this.peekStartsWith("(")||x.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),x.push(this.parseSegment());let X={};this.peekStartsWith("/(")&&(this.capture("/"),X=this.parseParens(!0,z));let de={};return this.peekStartsWith("(")&&(de=this.parseParens(!1,z)),(x.length>0||Object.keys(X).length>0)&&(de[se]=new wt(x,X)),de}parseSegment(){const z=Qt(this.remaining);if(""===z&&this.peekStartsWith(";"))throw new l.buA(4009,!1);return this.capture(z),new en(xe(z),this.parseMatrixParams())}parseMatrixParams(){const z={};for(;this.consumeOptional(";");)this.parseParam(z);return z}parseParam(z){const x=function An(T){const z=T.match(sn);return z?z[0]:""}(this.remaining);if(!x)return;this.capture(x);let X="";if(this.consumeOptional("=")){const de=Qt(this.remaining);de&&(X=de,this.capture(X))}z[xe(x)]=xe(X)}parseQueryParam(z){const x=function mn(T){const z=T.match(Ln);return z?z[0]:""}(this.remaining);if(!x)return;this.capture(x);let X="";if(this.consumeOptional("=")){const nt=function ar(T){const z=T.match(Hn);return z?z[0]:""}(this.remaining);nt&&(X=nt,this.capture(X))}const de=ve(x),We=ve(X);if(z.hasOwnProperty(de)){let nt=z[de];Array.isArray(nt)||(nt=[nt],z[de]=nt),nt.push(We)}else z[de]=We}parseParens(z,x){const X={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const de=Qt(this.remaining),We=this.remaining[de.length];if("/"!==We&&")"!==We&&";"!==We)throw new l.buA(4010,!1);let nt;de.indexOf(":")>-1?(nt=de.slice(0,de.indexOf(":")),this.capture(nt),this.capture(":")):z&&(nt=se);const Qe=this.parseChildren(x+1);X[nt??se]=1===Object.keys(Qe).length&&Qe[se]?Qe[se]:new wt([],Qe),this.consumeOptional("//")}return X}peekStartsWith(z){return this.remaining.startsWith(z)}consumeOptional(z){return!!this.peekStartsWith(z)&&(this.remaining=this.remaining.substring(z.length),!0)}capture(z){if(!this.consumeOptional(z))throw new l.buA(4011,!1)}}
1function fr(T){return T.segments.length>0?new wt([],{[se]:T}):T}function gr(T){const z={};for(const[X,de]of Object.entries(T.children)){const We=gr(de);if(X===se&&0===We.segments.length&&We.hasChildren())for(const[nt,Qe]of Object.entries(We.children))z[nt]=Qe;else(We.segments.length>0||We.hasChildren())&&(z[X]=We)}return function Rr(T){if(1===T.numberOfChildren&&T.children[se]){const z=T.children[se];return new wt(T.segments.concat(z.segments),z.children)}return T}(new wt(T.segments,z))}function Ot(T){return T instanceof rr}function dt(T){let z;const de=fr(function x(We){const nt={};for(const Nt of We.children){const Zt=x(Nt);nt[Nt.outlet]=Zt}const Qe=new wt(We.url,nt);return We===T&&(z=Qe),Qe}(T.root));return z??de}function ft(T,z,x,X,de){let We=T;for(;We.parent;)We=We.parent;if(0===z.length)return Qn(We,We,We,x,X,de);const nt=function te(T){if("string"==typeof T[0]&&1===T.length&&"/"===T[0])return new Ve(!0,0,T);let z=0,x=!1;const X=T.reduce((de,We,nt)=>{if("object"==typeof We&&null!=We){if(We.outlets){const Qe={};return Object.entries(We.outlets).forEach(([Nt,Zt])=>{Qe[Nt]="string"==typeof Zt?Zt.split("/"):Zt}),[...de,{outlets:Qe}]}if(We.segmentPath)return[...de,We.segmentPath]}return"string"!=typeof We?[...de,We]:0===nt?(We.split("/").forEach((Qe,Nt)=>{0==Nt&&"."===Qe||(0==Nt&&""===Qe?x=!0:".."===Qe?z++:""!=Qe&&de.push(Qe))}),de):[...de,We]},[]);return new Ve(x,z,X)}(z);if(nt.toRoot())return Qn(We,We,new wt([],{}),x,X,de);const Qe=function ue(T,z,x){if(T.isAbsolute)return new W(z,!0,0);if(!x)return new W(z,!1,NaN);if(null===x.parent)return new W(x,!0,0);const X=Xt(T.commands[0])?0:1;return function _e(T,z,x){let X=T,de=z,We=x;for(;We>de;){if(We-=de,X=X.parent,!X)throw new l.buA(4005,!1);de=X.segments.length}return new W(X,!1,de-We)}(x,x.segments.length-1+X,T.numberOfDoubleDots)}(nt,We,T),Nt=Qe.processChildren?kt(Qe.segmentGroup,Qe.index,nt.commands):Dt(Qe.segmentGroup,Qe.index,nt.commands);return Qn(We,Qe.segmentGroup,Nt,x,X,de)}function Xt(T){return"object"==typeof T&&null!=T&&!T.outlets&&!T.segmentPath}function fn(T){return"object"==typeof T&&null!=T&&T.outlets}function Nn(T,z,x){T||="\u0275";const X=new rr;return X.queryParams={[T]:z},x.parse(x.serialize(X)).queryParams[T]}function Qn(T,z,x,X,de,We){const nt={};for(const[Zt,jn]of Object.entries(X??{}))nt[Zt]=Array.isArray(jn)?jn.map(_r=>Nn(Zt,_r,We)):Nn(Zt,jn,We);let Qe;Qe=T===z?x:Ge(T,z,x);const Nt=fr(gr(Qe));return new rr(Nt,nt,de)}function Ge(T,z,x){const X={};return Object.entries(T.children).forEach(([de,We])=>{X[de]=We===z?x:Ge(We,z,x)}),new wt(T.segments,X)}class Ve{isAbsolute;numberOfDoubleDots;commands;constructor(z,x,X){if(this.isAbsolute=z,this.numberOfDoubleDots=x,this.commands=X,z&&X.length>0&&Xt(X[0]))throw new l.buA(4003,!1);const de=X.find(fn);if(de&&de!==function Xe(T){return T.length>0?T[T.length-1]:null}(X))throw new l.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class W{segmentGroup;processChildren;index;constructor(z,x,X){this.segmentGroup=z,this.processChildren=x,this.index=X}}function Dt(T,z,x){if(T??=new wt([],{}),0===T.segments.length&&T.hasChildren())return kt(T,z,x);const X=function Yt(T,z,x){let X=0,de=z;const We={match:!1,pathIndex:0,commandIndex:0};for(;de<T.segments.length;){if(X>=x.length)return We;const nt=T.segments[de],Qe=x[X];if(fn(Qe))break;const Nt=`${Qe}`,Zt=X<x.length-1?x[X+1]:null;if(de>0&&void 0===Nt)break;if(Nt&&Zt&&"object"==typeof Zt&&void 0===Zt.outlets){if(!he(Nt,Zt,nt))return We;X+=2}else{if(!he(Nt,{},nt))return We;X++}de++}return{match:!0,pathIndex:de,commandIndex:X}}(T,z,x),de=x.slice(X.commandIndex);if(X.match&&X.pathIndex<T.segments.length){const We=new wt(T.segments.slice(0,X.pathIndex),{});return We.children[se]=new wt(T.segments.slice(X.pathIndex),T.children),kt(We,0,de)}return X.match&&0===de.length?new wt(T.segments,{}):X.match&&!T.hasChildren()?U(T,z,x):X.match?kt(T,0,de):U(T,z,x)}function kt(T,z,x){if(0===x.length)return new wt(T.segments,{});{const X=function Se(T){return fn(T[0])?T[0].outlets:{[se]:T}}(x),de={};if(Object.keys(X).some(We=>We!==se)&&T.children[se]&&1===T.numberOfChildren&&0===T.children[se].segments.length){const We=kt(T.children[se],z,x);return new wt(T.segments,We.children)}
1return Object.entries(X).forEach(([We,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(de[We]=Dt(T.children[We],z,nt))}),Object.entries(T.children).forEach(([We,nt])=>{void 0===X[We]&&(de[We]=nt)}),new wt(T.segments,de)}}function U(T,z,x){const X=T.segments.slice(0,z);let de=0;for(;de<x.length;){const We=x[de];if(fn(We)){const Nt=Ee(We.outlets);return new wt(X,Nt)}if(0===de&&Xt(x[0])){X.push(new en(T.segments[z].path,$(x[0]))),de++;continue}const nt=fn(We)?We.outlets[se]:`${We}`,Qe=de<x.length-1?x[de+1]:null;nt&&Qe&&Xt(Qe)?(X.push(new en(nt,$(Qe))),de+=2):(X.push(new en(nt,{})),de++)}return new wt(X,{})}function Ee(T){const z={};return Object.entries(T).forEach(([x,X])=>{"string"==typeof X&&(X=[X]),null!==X&&(z[x]=U(new wt([],{}),0,X))}),z}function $(T){const z={};return Object.entries(T).forEach(([x,X])=>z[x]=`${X}`),z}function he(T,z,x){return T==x.path&&je(z,x.parameters)}const Ae="imperative";var Ye=function(T){return T[T.NavigationStart=0]="NavigationStart",T[T.NavigationEnd=1]="NavigationEnd",T[T.NavigationCancel=2]="NavigationCancel",T[T.NavigationError=3]="NavigationError",T[T.RoutesRecognized=4]="RoutesRecognized",T[T.ResolveStart=5]="ResolveStart",T[T.ResolveEnd=6]="ResolveEnd",T[T.GuardsCheckStart=7]="GuardsCheckStart",T[T.GuardsCheckEnd=8]="GuardsCheckEnd",T[T.RouteConfigLoadStart=9]="RouteConfigLoadStart",T[T.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",T[T.ChildActivationStart=11]="ChildActivationStart",T[T.ChildActivationEnd=12]="ChildActivationEnd",T[T.ActivationStart=13]="ActivationStart",T[T.ActivationEnd=14]="ActivationEnd",T[T.Scroll=15]="Scroll",T[T.NavigationSkipped=16]="NavigationSkipped",T}(Ye||{});class ht{id;url;constructor(z,x){this.id=z,this.url=x}}class Wt extends ht{type=Ye.NavigationStart;navigationTrigger;restoredState;constructor(z,x,X="imperative",de=null){super(z,x),this.navigationTrigger=X,this.restoredState=de}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ft extends ht{urlAfterRedirects;type=Ye.NavigationEnd;constructor(z,x,X){super(z,x),this.urlAfterRedirects=X}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var an=function(T){return T[T.Redirect=0]="Redirect",T[T.SupersededByNewNavigation=1]="SupersededByNewNavigation",T[T.NoDataFromResolver=2]="NoDataFromResolver",T[T.GuardRejected=3]="GuardRejected",T[T.Aborted=4]="Aborted",T}(an||{}),bn=function(T){return T[T.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",T[T.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",T}(bn||{});class Cn extends ht{reason;code;type=Ye.NavigationCancel;constructor(z,x,X,de){super(z,x),this.reason=X,this.code=de}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class zn extends ht{reason;code;type=Ye.NavigationSkipped;constructor(z,x,X,de){super(z,x),this.reason=X,this.code=de}}class ii extends ht{error;target;type=Ye.NavigationError;constructor(z,x,X,de){super(z,x),this.error=X,this.target=de}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ei extends ht{urlAfterRedirects;state;type=Ye.RoutesRecognized;constructor(z,x,X,de){super(z,x),this.urlAfterRedirects=X,this.state=de}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fn extends ht{urlAfterRedirects;state;type=Ye.GuardsCheckStart;constructor(z,x,X,de){super(z,x),this.urlAfterRedirects=X,this.state=de}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends ht{urlAfterRedirects;state;shouldActivate;type=Ye.GuardsCheckEnd;constructor(z,x,X,de,We){super(z,x),this.urlAfterRedirects=X,this.state=de,this.shouldActivate=We}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class vr extends ht{urlAfterRedirects;state;type=Ye.ResolveStart;constructor(z,x,X,de){super(z,x),this.urlAfterRedirects=X,this.state=de}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class si extends ht{urlAfterRedirects;state;type=Ye.ResolveEnd;constructor(z,x,X,de){super(z,x),this.urlAfterRedirects=X,this.state=de}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mr{route;type=Ye.RouteConfigLoadStart;constructor(z){this.route=z}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Lr{route;type=Ye.RouteConfigLoadEnd;constructor(z){this.route=z}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _i{snapshot;type=Ye.ChildActivationStart;constructor(z){this.snapshot=z}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hr{snapshot;type=Ye.ChildActivationEnd;constructor(z){this.snapshot=z}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ai{snapshot;type=Ye.ActivationStart;constructor(z){this.snapshot=z}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{snapshot;type=Ye.ActivationEnd;constructor(z){this.snapshot=z}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mt{routerEvent;position;anchor;scrollBehavior;type=Ye.Scroll;constructor(z,x,X,de){this.routerEvent=z,this.position=x,this.anchor=X,this.scrollBehavior=de}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class xt{}class Jt{}class On{url;navigationBehaviorOptions;constructor(z,x){this.url=z,this.navigationBehaviorOptions=x}}function kr(T){switch(T.type){case Ye.ActivationEnd:return`ActivationEnd(path: '${T.snapshot.routeConfig?.path||""}')`;case Ye.ActivationStart:return`ActivationStart(path: '${T.snapshot.routeConfig?.path||""}')`;case Ye.ChildActivationEnd:return`ChildActivationEnd(path: '${T.snapshot.routeConfig?.path||""}')`;case Ye.ChildActivationStart:return`ChildActivationStart(path: '${T.snapshot.routeConfig?.path||""}')`;case Ye.GuardsCheckEnd:return`GuardsCheckEnd(id: ${T.id}, url: '${T.url}', urlAfterRedirects: '${T.urlAfterRedirects}', state: ${T.state}, shouldActivate: ${T.shouldActivate})`;case Ye.GuardsCheckStart:return`GuardsCheckStart(id: ${T.id}, url: '${T.url}', urlAfterRedirects: '${T.urlAfterRedirects}', state: ${T.state})`;case Ye.NavigationCancel:return`NavigationCancel(id: ${T.id}, url: '${T.url}')`;case Ye.NavigationSkipped:return`NavigationSkipped(id: ${T.id}, url: '${T.url}')`;case Ye.NavigationEnd:return`NavigationEnd(id: ${T.id}, url: '${T.url}', urlAfterRedirects: '${T.urlAfterRedirects}')`;case Ye.NavigationError:return`NavigationError(id: ${T.id}, url: '${T.url}', error: ${T.error})`;case Ye.NavigationStart:return`NavigationStart(id: ${T.id}, url: '${T.url}')`;case Ye.ResolveEnd:return`ResolveEnd(id: ${T.id}, url: '${T.url}', urlAfterRedirects: '${T.urlAfterRedirects}', state: ${T.state})`;case Ye.ResolveStart:return`ResolveStart(id: ${T.id}, url: '${T.url}', urlAfterRedirects: '${T.urlAfterRedirects}', state: ${T.state})`;case Ye.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${T.route.path})`;case Ye.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${T.route.path})`;case Ye.RoutesRecognized:return`RoutesRecognized(id: ${T.id}, url: '${T.url}', urlAfterRedirects: '${T.urlAfterRedirects}', state: ${T.state})`;case Ye.Scroll:return`Scroll(anchor: '${T.anchor}', position: '${T.position?`${T.position[0]}, ${T.position[1]}`:null}')`}}class Jr{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(z){this.rootInjector=z,this.children=new Ur(this.rootInjector)}}let Ur=(()=>{class T{rootInjector;contexts=new Map;
1constructor(x){this.rootInjector=x}onChildOutletCreated(x,X){const de=this.getOrCreateContext(x);de.outlet=X,this.contexts.set(x,de)}onChildOutletDestroyed(x){const X=this.getContext(x);X&&(X.outlet=null,X.attachRef=null)}onOutletDeactivated(){const x=this.contexts;return this.contexts=new Map,x}onOutletReAttached(x){this.contexts=x}getOrCreateContext(x){let X=this.getContext(x);return X||(X=new Jr(this.rootInjector),this.contexts.set(x,X)),X}getContext(x){return this.contexts.get(x)||null}static \u0275fac=function(X){return new(X||T)(l.KVO(l.uvJ))};static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();class hi{_root;constructor(z){this._root=z}get root(){return this._root.value}parent(z){const x=this.pathFromRoot(z);return x.length>1?x[x.length-2]:null}children(z){const x=Oi(z,this._root);return x?x.children.map(X=>X.value):[]}firstChild(z){const x=Oi(z,this._root);return x&&x.children.length>0?x.children[0].value:null}siblings(z){const x=ji(z,this._root);return x.length<2?[]:x[x.length-2].children.map(de=>de.value).filter(de=>de!==z)}pathFromRoot(z){return ji(z,this._root).map(x=>x.value)}}function Oi(T,z){if(T===z.value)return z;for(const x of z.children){const X=Oi(T,x);if(X)return X}return null}function ji(T,z){if(T===z.value)return[z];for(const x of z.children){const X=ji(T,x);if(X.length)return X.unshift(z),X}return[]}class jr{value;children;constructor(z,x){this.value=z,this.children=x}toString(){return`TreeNode(${this.value})`}}function qr(T){const z={};return T&&T.children.forEach(x=>z[x.value.outlet]=x),z}class ae extends hi{snapshot;constructor(z,x){super(z),this.snapshot=x,pn(this,z)}toString(){return this.snapshot.toString()}}function ze(T,z){const x=function Ce(T,z){const nt=new jt([],{},{},"",{},se,T,null,{},z);return new qt("",new jr(nt,[]))}(T,z),X=new E.t([new en("",{})]),de=new E.t({}),We=new E.t({}),nt=new E.t({}),Qe=new E.t(""),Nt=new Pe(X,de,nt,Qe,We,se,T,x.root);return Nt.snapshot=x.root,new ae(new jr(Nt,[]),x)}class Pe{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(z,x,X,de,We,nt,Qe,Nt){this.urlSubject=z,this.paramsSubject=x,this.queryParamsSubject=X,this.fragmentSubject=de,this.dataSubject=We,this.outlet=nt,this.component=Qe,this._futureSnapshot=Nt,this.title=this.dataSubject?.pipe((0,$e.T)(Zt=>Zt[me]))??(0,V.of)(void 0),this.url=z,this.params=x,this.queryParams=X,this.fragment=de,this.data=We}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.params.pipe((0,$e.T)(z=>ee(z))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,$e.T)(z=>ee(z))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vt(T,z,x="emptyOnly"){let X;const{routeConfig:de}=T;return X=null===z||"always"!==x&&""!==de?.path&&(z.component||z.routeConfig?.loadComponent)?{params:{...T.params},data:{...T.data},resolve:{...T.data,...T._resolvedData??{}}}:{params:{...z.params,...T.params},data:{...z.data,...T.data},resolve:{...T.data,...z.data,...de?.data,...T._resolvedData}},de&&ur(de)&&(X.resolve[me]=de.title),X}class jt{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[me]}constructor(z,x,X,de,We,nt,Qe,Nt,Zt,jn){this.url=z,this.params=x,this.queryParams=X,this.fragment=de,this.data=We,this.outlet=nt,this.component=Qe,this.routeConfig=Nt,this._resolve=Zt,this._environmentInjector=jn}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??=ee(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ee(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(X=>X.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qt extends hi{url;
1constructor(z,x){super(x),this.url=z,pn(this,x)}toString(){return Er(this._root)}}function pn(T,z){z.value._routerState=T,z.children.forEach(x=>pn(T,x))}function Er(T){const z=T.children.length>0?` { ${T.children.map(Er).join(", ")} } `:"";return`${T.value}${z}`}function wr(T){if(T.snapshot){const z=T.snapshot,x=T._futureSnapshot;T.snapshot=x,je(z.queryParams,x.queryParams)||T.queryParamsSubject.next(x.queryParams),z.fragment!==x.fragment&&T.fragmentSubject.next(x.fragment),je(z.params,x.params)||T.paramsSubject.next(x.params),function Ne(T,z){if(T.length!==z.length)return!1;for(let x=0;x<T.length;++x)if(!je(T[x],z[x]))return!1;return!0}(z.url,x.url)||T.urlSubject.next(x.url),je(z.data,x.data)||T.dataSubject.next(x.data)}else T.snapshot=T._futureSnapshot,T.dataSubject.next(T._futureSnapshot.data)}function Xn(T,z){const x=je(T.params,z.params)&&function ct(T,z){return gt(T,z)&&T.every((x,X)=>je(x.parameters,z[X].parameters))}(T.url,z.url);return x&&!(!T.parent!=!z.parent)&&(!T.parent||Xn(T.parent,z.parent))}function ur(T){return"string"==typeof T.title||null===T.title}const zr=new l.nKC("");let Or=(()=>{class T{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=se;activateEvents=new l.bkB;deactivateEvents=new l.bkB;attachEvents=new l.bkB;detachEvents=new l.bkB;routerOutletData=(0,v.hFB)();parentContexts=(0,l.WQX)(Ur);location=(0,l.WQX)(R.c1b);changeDetector=(0,l.WQX)(v.gRc);inputBinder=(0,l.WQX)(Ni,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(x){if(x.name){const{firstChange:X,previousValue:de}=x.name;if(X)return;this.isTrackedInParentContexts(de)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(de)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(x){return this.parentContexts.getContext(x)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const x=this.parentContexts.getContext(this.name);x?.route&&(x.attachRef?this.attach(x.attachRef,x.route):this.activateWith(x.route,x.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.buA(4012,!1);this.location.detach();const x=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(x.instance),x}attach(x,X){this.activated=x,this._activatedRoute=X,this.location.insert(x.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(x.instance)}deactivate(){if(this.activated){const x=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(x)}}activateWith(x,X){if(this.isActivated)throw new l.buA(4013,!1);this._activatedRoute=x;const de=this.location,nt=x.snapshot.component,Qe=this.parentContexts.getOrCreateContext(this.name).children,Nt=new oi(x,Qe,de.injector,this.routerOutletData);this.activated=de.createComponent(nt,{index:de.length,injector:Nt,environmentInjector:X}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(X){return new(X||T)};static \u0275dir=R.FsC({type:T,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[R.OA$]})}return T})();class oi{route;childContexts;parent;outletData;constructor(z,x,X,de){this.route=z,this.childContexts=x,this.parent=X,this.outletData=de}get(z,x){return z===Pe?this.route:z===Ur?this.childContexts:z===zr?this.outletData:this.parent.get(z,x)}}const Ni=new l.nKC("");let ti=(()=>{class T{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(x){this.unsubscribeFromRouteData(x),this.subscribeToRouteData(x)}unsubscribeFromRouteData(x){this.outletDataSubscriptions.get(x)?.unsubscribe(),this.outletDataSubscriptions.delete(x)}subscribeToRouteData(x){const{activatedRoute:X}=x,de=(0,b.z)([X.queryParams,X.params,X.data]).pipe((0,Be.n)(([We,nt,Qe],Nt)=>(Qe={...We,...nt,...Qe},0===Nt?(0,V.of)(Qe):Promise.resolve(Qe)))).subscribe(We=>{if(!x.isActivated||!x.activatedComponentRef||x.activatedRoute!==X||null===X.component)return void this.unsubscribeFromRouteData(x);const nt=(0,v.HJs)(X.component);if(nt)for(const{templateName:Qe}of nt.inputs)x.activatedComponentRef.setInput(Qe,We[Qe]);else this.unsubscribeFromRouteData(x)});this.outletDataSubscriptions.set(x,de)}static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:T.\u0275fac})}return T})(),Xi=(()=>{class T{static \u0275fac=function(X){return new(X||T)};static \u0275cmp=R.VBU({type:T,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(X,de){1&X&&R.nrm(0,"router-outlet")},dependencies:[Or],encapsulation:2})}return T})();function mi(T){const z=T.children&&T.children.map(mi),x=z?{...T,children:z}:{...T};return!x.component&&!x.loadComponent&&(z||x.loadChildren)&&x.outlet&&x.outlet!==se&&(x.component=Xi),x}
1function $i(T,z,x){if(x&&T.shouldReuseRoute(z.value,x.value.snapshot)){const X=x.value;X._futureSnapshot=z.value;const de=function Ii(T,z,x){return z.children.map(X=>{for(const de of x.children)if(T.shouldReuseRoute(X.value,de.value.snapshot))return $i(T,X,de);return $i(T,X)})}(T,z,x);return new jr(X,de)}{if(T.shouldAttach(z.value)){const We=T.retrieve(z.value);if(null!==We){const nt=We.route;return nt.value._futureSnapshot=z.value,nt.children=z.children.map(Qe=>$i(T,Qe)),nt}}const X=function Vi(T){return new Pe(new E.t(T.url),new E.t(T.params),new E.t(T.queryParams),new E.t(T.fragment),new E.t(T.data),T.outlet,T.component,T)}(z.value),de=z.children.map(We=>$i(T,We));return new jr(X,de)}}class Ri{redirectTo;navigationBehaviorOptions;constructor(z,x){this.redirectTo=z,this.navigationBehaviorOptions=x}}const Wr="ngNavigationCancelingError";function Zi(T,z){const{redirectTo:x,navigationBehaviorOptions:X}=Ot(z)?{redirectTo:z,navigationBehaviorOptions:void 0}:z,de=Ss(!1,an.Redirect);return de.url=x,de.navigationBehaviorOptions=X,de}function Ss(T,z){const x=new Error(`NavigationCancelingError: ${T||""}`);return x[Wr]=!0,x.cancellationCode=z,x}function is(T){return!!T&&T[Wr]}class as{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(z,x,X,de,We){this.routeReuseStrategy=z,this.futureState=x,this.currState=X,this.forwardEvent=de,this.inputBindingEnabled=We}activate(z){const x=this.futureState._root,X=this.currState?this.currState._root:null;this.deactivateChildRoutes(x,X,z),wr(this.futureState.root),this.activateChildRoutes(x,X,z)}deactivateChildRoutes(z,x,X){const de=qr(x);z.children.forEach(We=>{const nt=We.value.outlet;this.deactivateRoutes(We,de[nt],X),delete de[nt]}),Object.values(de).forEach(We=>{this.deactivateRouteAndItsChildren(We,X)})}deactivateRoutes(z,x,X){const de=z.value,We=x?x.value:null;if(de===We)if(de.component){const nt=X.getContext(de.outlet);nt&&this.deactivateChildRoutes(z,x,nt.children)}else this.deactivateChildRoutes(z,x,X);else We&&this.deactivateRouteAndItsChildren(x,X)}deactivateRouteAndItsChildren(z,x){z.value.component&&this.routeReuseStrategy.shouldDetach(z.value.snapshot)?this.detachAndStoreRouteSubtree(z,x):this.deactivateRouteAndOutlet(z,x)}detachAndStoreRouteSubtree(z,x){const X=x.getContext(z.value.outlet),de=X&&z.value.component?X.children:x,We=qr(z);for(const nt of Object.values(We))this.deactivateRouteAndItsChildren(nt,de);if(X&&X.outlet){const nt=X.outlet.detach(),Qe=X.children.onOutletDeactivated();this.routeReuseStrategy.store(z.value.snapshot,{componentRef:nt,route:z,contexts:Qe})}}deactivateRouteAndOutlet(z,x){const X=x.getContext(z.value.outlet),de=X&&z.value.component?X.children:x,We=qr(z);for(const nt of Object.values(We))this.deactivateRouteAndItsChildren(nt,de);X&&(X.outlet&&(X.outlet.deactivate(),X.children.onOutletDeactivated()),X.attachRef=null,X.route=null)}activateChildRoutes(z,x,X){const de=qr(x);z.children.forEach(We=>{this.activateRoutes(We,de[We.value.outlet],X),this.forwardEvent(new it(We.value.snapshot))}),z.children.length&&this.forwardEvent(new Hr(z.value.snapshot))}activateRoutes(z,x,X){const de=z.value,We=x?x.value:null;if(wr(de),de===We)if(de.component){const nt=X.getOrCreateContext(de.outlet);this.activateChildRoutes(z,x,nt.children)}else this.activateChildRoutes(z,x,X);else if(de.component){const nt=X.getOrCreateContext(de.outlet);if(this.routeReuseStrategy.shouldAttach(de.snapshot)){const Qe=this.routeReuseStrategy.retrieve(de.snapshot);this.routeReuseStrategy.store(de.snapshot,null),nt.children.onOutletReAttached(Qe.contexts),nt.attachRef=Qe.componentRef,nt.route=Qe.route.value,nt.outlet&&nt.outlet.attach(Qe.componentRef,Qe.route.value),wr(Qe.route.value),this.activateChildRoutes(z,null,nt.children)}else nt.attachRef=null,nt.route=de,nt.outlet&&nt.outlet.activateWith(de,nt.injector),this.activateChildRoutes(z,null,nt.children)}else this.activateChildRoutes(z,null,X)}}class vi{path;route;constructor(z){this.path=z,this.route=this.path[this.path.length-1]}}class Fi{component;route;constructor(z,x){this.component=z,this.route=x}}function bs(T,z,x){const X=T._root;return fs(X,z?z._root:null,x,[X.value])}function Pi(T,z){const x=Symbol(),X=z.get(T,x);return X===x?"function"!=typeof T||(0,l.muV)(T)?z.get(T):T:X}function fs(T,z,x,X,de={canDeactivateChecks:[],canActivateChecks:[]}){const We=qr(z);
1return T.children.forEach(nt=>{(function As(T,z,x,X,de={canDeactivateChecks:[],canActivateChecks:[]}){const We=T.value,nt=z?z.value:null,Qe=x?x.getContext(T.value.outlet):null;if(nt&&We.routeConfig===nt.routeConfig){const Nt=function _o(T,z,x){if("function"==typeof x)return(0,l.N4e)(z._environmentInjector,()=>x(T,z));switch(x){case"pathParamsChange":return!gt(T.url,z.url);case"pathParamsOrQueryParamsChange":return!gt(T.url,z.url)||!je(T.queryParams,z.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xn(T,z)||!je(T.queryParams,z.queryParams);default:return!Xn(T,z)}}(nt,We,We.routeConfig.runGuardsAndResolvers);Nt?de.canActivateChecks.push(new vi(X)):(We.data=nt.data,We._resolvedData=nt._resolvedData),fs(T,z,We.component?Qe?Qe.children:null:x,X,de),Nt&&Qe&&Qe.outlet&&Qe.outlet.isActivated&&de.canDeactivateChecks.push(new Fi(Qe.outlet.component,nt))}else nt&&fi(z,Qe,de),de.canActivateChecks.push(new vi(X)),fs(T,null,We.component?Qe?Qe.children:null:x,X,de)})(nt,We[nt.value.outlet],x,X.concat([nt.value]),de),delete We[nt.value.outlet]}),Object.entries(We).forEach(([nt,Qe])=>fi(Qe,x.getContext(nt),de)),de}function fi(T,z,x){const X=qr(T),de=T.value;Object.entries(X).forEach(([We,nt])=>{fi(nt,de.component?z?z.children.getContext(We):null:z,x)}),x.canDeactivateChecks.push(new Fi(de.component&&z&&z.outlet&&z.outlet.isActivated?z.outlet.component:null,de))}function Wi(T){return"function"==typeof T}function Gr(T){return T instanceof H.G||"EmptyError"===T?.name}const os=Symbol("INITIAL_VALUE");function Ji(){return(0,Be.n)(T=>(0,b.z)(T.map(z=>z.pipe((0,lt.s)(1),(0,Ue.Z)(os)))).pipe((0,$e.T)(z=>{for(const x of z)if(!0!==x){if(x===os)return os;if(!1===x||io(x))return x}return!0}),(0,be.p)(z=>z!==os),(0,lt.s)(1)))}function io(T){return Ot(T)||T instanceof Ri}function Hs(T){return T.aborted?(0,V.of)(void 0).pipe((0,lt.s)(1)):new S.c(z=>{const x=()=>{z.next(),z.complete()};return T.addEventListener("abort",x),()=>T.removeEventListener("abort",x)})}function so(T){return(0,pt.Q)(Hs(T))}function Le(T){return(0,f.F)((0,Ct.M)(z=>{if("boolean"!=typeof z)throw Zi(0,z)}),(0,$e.T)(z=>!0===z))}class k extends Error{segmentGroup;constructor(z){super(),this.segmentGroup=z||null,Object.setPrototypeOf(this,k.prototype)}}class re extends Error{urlTree;constructor(z){super(),this.urlTree=z,Object.setPrototypeOf(this,re.prototype)}}function p(T){throw new l.buA(4e3,!1)}class g{urlSerializer;urlTree;constructor(z,x){this.urlSerializer=z,this.urlTree=x}lineralizeSegments(z,x){return(0,o.A)(function*(){let X=[],de=x.root;for(;;){if(X=X.concat(de.segments),0===de.numberOfChildren)return X;if(de.numberOfChildren>1||!de.children[se])throw p();de=de.children[se]}})()}applyRedirectCommands(z,x,X,de,We){var nt=this;return(0,o.A)(function*(){const Qe=yield function J(T,z,x){if("string"==typeof T)return Promise.resolve(T);const X=T;return ge(Je((0,l.N4e)(x,()=>X(z))))}(x,de,We);if(Qe instanceof rr)throw new re(Qe);const Nt=nt.applyRedirectCreateUrlTree(Qe,nt.urlSerializer.parse(Qe),z,X);if("/"===Qe[0])throw new re(Nt);return Nt})()}applyRedirectCreateUrlTree(z,x,X,de){const We=this.createSegmentGroup(z,x.root,X,de);return new rr(We,this.createQueryParams(x.queryParams,this.urlTree.queryParams),x.fragment)}createQueryParams(z,x){const X={};return Object.entries(z).forEach(([de,We])=>{if("string"==typeof We&&":"===We[0]){const Qe=We.substring(1);X[de]=x[Qe]}else X[de]=We}),X}createSegmentGroup(z,x,X,de){const We=this.createSegments(z,x.segments,X,de);let nt={};return Object.entries(x.children).forEach(([Qe,Nt])=>{nt[Qe]=this.createSegmentGroup(z,Nt,X,de)}),new wt(We,nt)}createSegments(z,x,X,de){return x.map(We=>":"===We.path[0]?this.findPosParam(z,We,de):this.findOrReturn(We,X))}findPosParam(z,x,X){const de=X[x.path.substring(1)];if(!de)throw new l.buA(4001,!1);return de}findOrReturn(z,x){let X=0;for(const de of x){if(de.path===z.path)return x.splice(X),de;X++}return z}}function Un(T){return T.outlet||se}function Gn(T,z){const x=T.filter(X=>Un(X)===z);return x.push(...T.filter(X=>Un(X)!==z)),x}const ir={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $r(T){return{routeConfig:T.routeConfig,url:T.url,params:T.params,queryParams:T.queryParams,fragment:T.fragment,data:T.data,outlet:T.outlet,title:T.title,paramMap:T.paramMap,queryParamMap:T.queryParamMap}}function ui(T,z,x,X,de,We,nt){const Qe=di(T,z,x);if(!Qe.matched)return(0,V.of)(Qe);const Nt=$r(We(Qe));return X=function Me(T,z){return T.providers&&!T._injector&&(T._injector=(0,R.Ol2)(T.providers,z,`Route: ${T.path}`)),T._injector??z}(z,X),function M(T,z,x,X,de,We){const nt=z.canMatch;if(!nt||0===nt.length)return(0,V.of)(!0);const Qe=nt.map(Nt=>{const Zt=Pi(Nt,T);return Je(function ss(T){return T&&Wi(T.canMatch)}(Zt)?Zt.canMatch(z,x,de):(0,l.N4e)(T,()=>Zt(z,x,de))).pipe(so(We))});return(0,V.of)(Qe).pipe(Ji(),Le())}(X,z,x,0,Nt,nt).pipe((0,$e.T)(Zt=>!0===Zt?Qe:{...ir}))}function di(T,z,x){if(""===z.path)return"full"===z.pathMatch&&(T.hasChildren()||x.length>0)?{...ir}:{matched:!0,consumedSegments:[],remainingSegments:x,parameters:{},positionalParamSegments:{}};const de=(z.matcher||ye)(x,T,z);if(!de)return{...ir};const We={};Object.entries(de.posParams??{}
1).forEach(([Qe,Nt])=>{We[Qe]=Nt.path});const nt=de.consumed.length>0?{...We,...de.consumed[de.consumed.length-1].parameters}:We;return{matched:!0,consumedSegments:de.consumed,remainingSegments:x.slice(de.consumed.length),parameters:nt,positionalParamSegments:de.posParams??{}}}function yi(T,z,x,X,de){return x.length>0&&function Ki(T,z,x,X){return x.some(de=>!(!Ei(T,z,de)||Un(de)===se||void 0!==X&&Un(de)===X))}(T,x,X,de)?{segmentGroup:new wt(z,cs(X,new wt(x,T.children))),slicedSegments:[]}:0===x.length&&function Hi(T,z,x){return x.some(X=>Ei(T,z,X))}(T,x,X)?{segmentGroup:new wt(T.segments,Ci(T,x,X,T.children)),slicedSegments:x}:{segmentGroup:new wt(T.segments,T.children),slicedSegments:x}}function Ci(T,z,x,X){const de={};for(const We of x)if(Ei(T,z,We)&&!X[Un(We)]){const nt=new wt([],{});de[Un(We)]=nt}return{...X,...de}}function cs(T,z){const x={};x[se]=z;for(const X of T)if(""===X.path&&Un(X)!==se){const de=new wt([],{});x[Un(X)]=de}return x}function Ei(T,z,x){return(!(T.hasChildren()||z.length>0)||"full"!==x.pathMatch)&&""===x.path}class Bs{}function qi(){return(qi=(0,o.A)(function*(T,z,x,X,de,We,nt="emptyOnly",Qe){return new Os(T,z,x,X,de,nt,We,Qe).recognize()})).apply(this,arguments)}class Os{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(z,x,X,de,We,nt,Qe,Nt){this.injector=z,this.configLoader=x,this.rootComponentType=X,this.config=de,this.urlTree=We,this.paramsInheritanceStrategy=nt,this.urlSerializer=Qe,this.abortSignal=Nt,this.applyRedirects=new g(this.urlSerializer,this.urlTree)}noMatchError(z){return new l.buA(4002,`'${z.segmentGroup}'`)}recognize(){var z=this;return(0,o.A)(function*(){const x=yi(z.urlTree.root,[],[],z.config).segmentGroup,{children:X,rootSnapshot:de}=yield z.match(x),We=new jr(de,X),nt=new qt("",We),Qe=function Vt(T,z,x=null,X=null,de=new In){return ft(dt(T),z,x,X,de)}(de,[],z.urlTree.queryParams,z.urlTree.fragment);return Qe.queryParams=z.urlTree.queryParams,nt.url=z.urlSerializer.serialize(Qe),{state:nt,tree:Qe}})()}match(z){var x=this;return(0,o.A)(function*(){const X=new jt([],Object.freeze({}),Object.freeze({...x.urlTree.queryParams}),x.urlTree.fragment,Object.freeze({}),se,x.rootComponentType,null,{},x.injector);try{return{children:yield x.processSegmentGroup(x.injector,x.config,z,se,X),rootSnapshot:X}}catch(de){if(de instanceof re)return x.urlTree=de.urlTree,x.match(de.urlTree.root);throw de instanceof k?x.noMatchError(de):de}})()}processSegmentGroup(z,x,X,de,We){var nt=this;return(0,o.A)(function*(){if(0===X.segments.length&&X.hasChildren())return nt.processChildren(z,x,X,We);const Qe=yield nt.processSegment(z,x,X,X.segments,de,!0,We);return Qe instanceof jr?[Qe]:[]})()}processChildren(z,x,X,de){var We=this;return(0,o.A)(function*(){const nt=[];for(const Zt of Object.keys(X.children))"primary"===Zt?nt.unshift(Zt):nt.push(Zt);let Qe=[];for(const Zt of nt){const jn=X.children[Zt],_r=Gn(x,Zt),Fr=yield We.processSegmentGroup(z,_r,jn,Zt,de);Qe.push(...Fr)}const Nt=Wn(Qe);return function Eo(T){T.sort((z,x)=>z.value.outlet===se?-1:x.value.outlet===se?1:z.value.outlet.localeCompare(x.value.outlet))}(Nt),Nt})()}processSegment(z,x,X,de,We,nt,Qe){var Nt=this;return(0,o.A)(function*(){for(const Zt of x)try{return yield Nt.processSegmentAgainstRoute(Zt._injector??z,x,Zt,X,de,We,nt,Qe)}catch(jn){if(jn instanceof k||Gr(jn))continue;throw jn}if(function Fs(T,z,x){return 0===z.length&&!T.children[x]}(X,de,We))return new Bs;throw new k(X)})()}processSegmentAgainstRoute(z,x,X,de,We,nt,Qe,Nt){var Zt=this;return(0,o.A)(function*(){if(Un(X)!==nt&&(nt===se||!Ei(de,We,X)))throw new k(de);if(void 0===X.redirectTo)return Zt.matchSegmentAgainstRoute(z,de,X,We,nt,Nt);if(Zt.allowRedirects&&Qe)return Zt.expandSegmentAgainstRouteUsingRedirect(z,de,x,X,We,nt,Nt);throw new k(de)})()}expandSegmentAgainstRouteUsingRedirect(z,x,X,de,We,nt,Qe){var Nt=this;return(0,o.A)(function*(){const{matched:Zt,parameters:jn,consumedSegments:_r,positionalParamSegments:Fr,remainingSegments:Is}=di(x,de,We);if(!Zt)throw new k(x);"string"==typeof de.redirectTo&&"/"===de.redirectTo[0]&&(Nt.absoluteRedirectCount++,Nt.absoluteRedirectCount>31&&(Nt.allowRedirects=!1));const Rs=Nt.createSnapshot(z,de,We,jn,Qe);if(Nt.abortSignal.aborted)throw new Error(Nt.abortSignal.reason);const ms=yield Nt.applyRedirects.applyRedirectCommands(_r,de.redirectTo,Fr,$r(Rs),z),js=yield Nt.applyRedirects.lineralizeSegments(de,ms);return Nt.processSegment(z,X,x,js.concat(Is),nt,!1,Qe)})()}createSnapshot(z,x,X,de,We){const nt=new jt(X,de,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Tr(T){return T.data||{}}(x),Un(x),x.component??x._loadedComponent??null,x,function Zr(T){return T.resolve||{}}(x),z),Qe=vt(nt,We,this.paramsInheritanceStrategy);return nt.params=Object.freeze(Qe.params),nt.data=Object.freeze(Qe.data),nt}matchSegmentAgainstRoute(z,x,X,de,We,nt){var Qe=this;return(0,o.A)(function*(){if(Qe.abortSignal.aborted)throw new Error(Qe.abortSignal.reason);const Zt=yield ge(ui(x,X,de,z,0,wo=>Qe.createSnapshot(z,X,wo.consumedSegments,wo.parameters,nt),Qe.abortSignal));if("**"===X.path&&(x.children={}),!Zt?.matched)throw new k(x);z=X._injector??z;const{routes:jn}
1=yield Qe.getChildConfig(z,X,de),_r=X._loadedInjector??z,{parameters:Fr,consumedSegments:Is,remainingSegments:Rs}=Zt,ms=Qe.createSnapshot(z,X,Is,Fr,nt),{segmentGroup:js,slicedSegments:ho}=yi(x,Is,Rs,jn,We);if(0===ho.length&&js.hasChildren()){const wo=yield Qe.processChildren(_r,jn,js,ms);return new jr(ms,wo)}if(0===jn.length&&0===ho.length)return new jr(ms,[]);const $s=Un(X)===We,jo=yield Qe.processSegment(_r,jn,js,ho,$s?se:We,!0,ms);return new jr(ms,jo instanceof jr?[jo]:[])})()}getChildConfig(z,x,X){var de=this;return(0,o.A)(function*(){if(x.children)return{routes:x.children,injector:z};if(x.loadChildren){if(void 0!==x._loadedRoutes){const nt=x._loadedNgModuleFactory;return nt&&!x._loadedInjector&&(x._loadedInjector=nt.create(z).injector),{routes:x._loadedRoutes,injector:x._loadedInjector}}if(de.abortSignal.aborted)throw new Error(de.abortSignal.reason);if(yield ge(function yo(T,z,x,X,de){const We=z.canLoad;if(void 0===We||0===We.length)return(0,V.of)(!0);const nt=We.map(Qe=>{const Nt=Pi(Qe,T),jn=Je(function xs(T){return T&&Wi(T.canLoad)}(Nt)?Nt.canLoad(z,x):(0,l.N4e)(T,()=>Nt(z,x)));return de?jn.pipe(so(de)):jn});return(0,V.of)(nt).pipe(Ji(),Le())}(z,x,X,0,de.abortSignal))){const nt=yield de.configLoader.loadChildren(z,x);return x._loadedRoutes=nt.routes,x._loadedInjector=nt.injector,x._loadedNgModuleFactory=nt.factory,nt}throw function O(){throw Ss(!1,an.GuardRejected)}()}return{routes:[],injector:z}})()}}function wn(T){const z=T.value.routeConfig;return z&&""===z.path}function Wn(T){const z=[],x=new Set;for(const X of T){if(!wn(X)){z.push(X);continue}const de=z.find(We=>X.value.routeConfig===We.value.routeConfig);void 0!==de?(de.children.push(...X.children),x.add(de)):z.push(X)}for(const X of x){const de=Wn(X.children);z.push(new jr(X.value,de))}return z.filter(X=>!x.has(X))}function us(T){const z=T.children.map(x=>us(x)).flat();return[T,...z]}function xi(T){return(0,Be.n)(z=>{const x=T(z);return x?(0,C.H)(x).pipe((0,$e.T)(()=>z)):(0,V.of)(z)})}let _s=(()=>{class T{buildTitle(x){let X,de=x.root;for(;void 0!==de;)X=this.getResolvedTitleForRoute(de)??X,de=de.children.find(We=>We.outlet===se);return X}getResolvedTitleForRoute(x){return x.data[me]}static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:()=>(0,l.WQX)(es),providedIn:"root"})}return T})(),es=(()=>{class T extends _s{title;constructor(x){super(),this.title=x}updateTitle(x){const X=this.buildTitle(x);void 0!==X&&this.title.setTitle(X)}static \u0275fac=function(X){return new(X||T)(l.KVO(st.hE))};static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();const ds=new l.nKC("",{factory:()=>({})}),Xs=new l.nKC("");let aa=(()=>{class T{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,l.WQX)(R.Ql9);loadComponent(x,X){var de=this;return(0,o.A)(function*(){if(de.componentLoaders.get(X))return de.componentLoaders.get(X);if(X._loadedComponent)return Promise.resolve(X._loadedComponent);de.onLoadStartListener&&de.onLoadStartListener(X);const We=(0,o.A)(function*(){try{const nt=yield rt((0,l.N4e)(x,()=>X.loadComponent())),Qe=yield Ro(Co(nt));return de.onLoadEndListener&&de.onLoadEndListener(X),X._loadedComponent=Qe,Qe}finally{de.componentLoaders.delete(X)}})();return de.componentLoaders.set(X,We),We})()}loadChildren(x,X){var de=this;if(this.childrenLoaders.get(X))return this.childrenLoaders.get(X);if(X._loadedRoutes)return Promise.resolve({routes:X._loadedRoutes,injector:X._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(X);const We=(0,o.A)(function*(){try{const nt=yield function Ca(T,z,x,X){return bo.apply(this,arguments)}(X,de.compiler,x,de.onLoadEndListener);return X._loadedRoutes=nt.routes,X._loadedInjector=nt.injector,X._loadedNgModuleFactory=nt.factory,nt}finally{de.childrenLoaders.delete(X)}})();return this.childrenLoaders.set(X,We),We}static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function bo(){return(bo=(0,o.A)(function*(T,z,x,X){const de=yield rt((0,l.N4e)(x,()=>T.loadChildren())),We=yield Ro(Co(de));let nt;nt=We instanceof R.PYt||Array.isArray(We)?We:yield z.compileModuleAsync(We),X&&X(T);let Qe,Nt,jn;return Array.isArray(nt)?Nt=nt:(Qe=nt.create(x).injector,jn=nt,Nt=Qe.get(Xs,[],{optional:!0,self:!0}
1).flat()),{routes:Nt.map(mi),injector:Qe,factory:jn}})).apply(this,arguments)}function Co(T){return function Do(T){return T&&"object"==typeof T&&"default"in T}(T)?T.default:T}function Ro(T){return co.apply(this,arguments)}function co(){return(co=(0,o.A)(function*(T){return T})).apply(this,arguments)}let Po=(()=>{class T{static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:()=>(0,l.WQX)(la),providedIn:"root"})}return T})(),la=(()=>{class T{shouldProcessUrl(x){return!0}extract(x){return x}merge(x,X){return x}static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();const ko=new l.nKC(""),xo=new l.nKC("");function Lo(T,z,x){const X=T.get(xo),de=T.get(l.qQL);if(!de.startViewTransition||X.skipNextTransition)return X.skipNextTransition=!1,new Promise(Zt=>setTimeout(Zt));let We;const nt=new Promise(Zt=>{We=Zt}),Qe=de.startViewTransition(()=>(We(),function ca(T){return new Promise(z=>{(0,R.mal)({read:()=>setTimeout(z)},{injector:T})})}(T)));Qe.updateCallbackDone.catch(Zt=>{}),Qe.ready.catch(Zt=>{}),Qe.finished.catch(Zt=>{});const{onViewTransitionCreated:Nt}=X;return Nt&&(0,l.N4e)(T,()=>Nt({transition:Qe,from:z,to:x})),nt}const tr=()=>{},Us=new l.nKC("");let uo=(()=>{class T{currentNavigation=(0,l.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,l.vPA)(null);events=new L.B;transitionAbortWithErrorSubject=new L.B;configLoader=(0,l.WQX)(aa);environmentInjector=(0,l.WQX)(l.uvJ);destroyRef=(0,l.WQX)(l.abz);urlSerializer=(0,l.WQX)(dn);rootContexts=(0,l.WQX)(Ur);location=(0,l.WQX)(u.aZ);inputBindingEnabled=null!==(0,l.WQX)(Ni,{optional:!0});titleStrategy=(0,l.WQX)(_s);options=(0,l.WQX)(ds,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,l.WQX)(Po);createViewTransition=(0,l.WQX)(ko,{optional:!0});navigationErrorHandler=(0,l.WQX)(Us,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,V.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=de=>this.events.next(new Lr(de)),this.configLoader.onLoadStartListener=de=>this.events.next(new Mr(de)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(x){const X=++this.navigationId;(0,w.O8)(()=>{this.transitions?.next({...x,extractedUrl:this.urlHandlingStrategy.extract(x.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:X,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(x){return this.transitions=new E.t(null),this.transitions.pipe((0,be.p)(X=>null!==X),(0,Be.n)(X=>{let de=!1;const We=new AbortController,nt=()=>!de&&this.currentTransition?.id===X.id;return(0,V.of)(X).pipe((0,Be.n)(Qe=>{if(this.navigationId>X.id)return this.cancelNavigationTransition(X,"",an.SupersededByNewNavigation),Q.w;this.currentTransition=X;const Nt=this.lastSuccessfulNavigation();this.currentNavigation.set({id:Qe.id,initialUrl:Qe.rawUrl,extractedUrl:Qe.extractedUrl,targetBrowserUrl:"string"==typeof Qe.extras.browserUrl?this.urlSerializer.parse(Qe.extras.browserUrl):Qe.extras.browserUrl,trigger:Qe.source,extras:Qe.extras,previousNavigation:Nt?{...Nt,previousNavigation:null}:null,abort:()=>We.abort(),routesRecognizeHandler:Qe.routesRecognizeHandler,beforeActivateHandler:Qe.beforeActivateHandler});const Zt=!x.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Zt&&"reload"!==(Qe.extras.onSameUrlNavigation??x.onSameUrlNavigation))return this.events.next(new zn(Qe.id,this.urlSerializer.serialize(Qe.rawUrl),"",bn.IgnoredSameUrlNavigation)),Qe.resolve(!1),Q.w;if(this.urlHandlingStrategy.shouldProcessUrl(Qe.rawUrl))return(0,V.of)(Qe).pipe((0,Be.n)(_r=>(this.events.next(new Wt(_r.id,this.urlSerializer.serialize(_r.extractedUrl),_r.source,_r.restoredState)),_r.id!==this.navigationId?Q.w:Promise.resolve(_r))),function ki(T,z,x,X,de,We,nt){return(0,Oe.Z)(function(){var Qe=(0,o.A)(function*(Nt){const{state:Zt,tree:jn}=yield function Io(T,z,x,X,de,We){return qi.apply(this,arguments)}(T,z,x,X,Nt.extractedUrl,de,We,nt);return{...Nt,targetSnapshot:Zt,urlAfterRedirects:jn}});return function(Nt){return Qe.apply(this,arguments)}}())}(this.environmentInjector,this.configLoader,this.rootComponentType,x.config,this.urlSerializer,this.paramsInheritanceStrategy,We.signal),(0,Ct.M)(_r=>{X.targetSnapshot=_r.targetSnapshot,X.urlAfterRedirects=_r.urlAfterRedirects,this.currentNavigation.update(Fr=>(Fr.finalUrl=_r.urlAfterRedirects,Fr)),this.events.next(new Jt)}),(0,Be.n)(_r=>(0,C.H)(X.routesRecognizeHandler.deferredHandle??(0,V.of)(void 0)).pipe((0,$e.T)(()=>_r))),(0,Ct.M)(()=>{const _r=new ei(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects),Qe.targetSnapshot);this.events.next(_r)}));if(Zt&&this.urlHandlingStrategy.shouldProcessUrl(Qe.currentRawUrl)){const{id:_r,extractedUrl:Fr,source:Is,restoredState:Rs,extras:ms}=Qe,js=new Wt(_r,this.urlSerializer.serialize(Fr),Is,Rs);this.events.next(js);const ho=ze(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=X={...Qe,targetSnapshot:ho,urlAfterRedirects:Fr,extras:{...ms,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update($s=>($s.finalUrl=Fr,$s)),(0,V.of)(X)}return this.events.next(new zn(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),"",bn.IgnoredByUrlHandlingStrategy)),Qe.resolve(!1),Q.w}),(0,$e.T)(Qe=>
1{const Nt=new Fn(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects),Qe.targetSnapshot);return this.events.next(Nt),this.currentTransition=X={...Qe,guards:bs(Qe.targetSnapshot,Qe.currentSnapshot,this.rootContexts)},X}),function ls(T){return(0,Oe.Z)(z=>{const{targetSnapshot:x,currentSnapshot:X,guards:{canActivateChecks:de,canDeactivateChecks:We}}=z;return 0===We.length&&0===de.length?(0,V.of)({...z,guardsResult:!0}):function oo(T,z,x){return(0,C.H)(T).pipe((0,Oe.Z)(X=>function Gs(T,z,x,X){const de=z&&z.routeConfig?z.routeConfig.canDeactivate:null;if(!de||0===de.length)return(0,V.of)(!0);const We=de.map(nt=>{const Qe=z._environmentInjector,Nt=Pi(nt,Qe);return Je(function mo(T){return T&&Wi(T.canDeactivate)}(Nt)?Nt.canDeactivate(T,z,x,X):(0,l.N4e)(Qe,()=>Nt(T,z,x,X))).pipe((0,we.$)())});return(0,V.of)(We).pipe(Ji())}(X.component,X.route,x,z)),(0,we.$)(X=>!0!==X,!0))}(We,x,X).pipe((0,Oe.Z)(nt=>nt&&function ks(T){return"boolean"==typeof T}(nt)?function ps(T,z,x){return(0,C.H)(z).pipe((0,ce.H)(X=>(0,N.x)(function ao(T,z){return null!==T&&z&&z(new _i(T)),(0,V.of)(!0)}(X.route.parent,x),function zs(T,z){return null!==T&&z&&z(new Ai(T)),(0,V.of)(!0)}(X.route,x),function Ns(T,z){const x=z[z.length-1],de=z.slice(0,z.length-1).reverse().map(We=>function ni(T){const z=T.routeConfig?T.routeConfig.canActivateChild:null;return z&&0!==z.length?{node:T,guards:z}:null}(We)).filter(We=>null!==We).map(We=>(0,A.v)(()=>{const nt=We.guards.map(Qe=>{const Nt=We.node._environmentInjector,Zt=Pi(Qe,Nt);return Je(function Ls(T){return T&&Wi(T.canActivateChild)}(Zt)?Zt.canActivateChild(x,T):(0,l.N4e)(Nt,()=>Zt(x,T))).pipe((0,we.$)())});return(0,V.of)(nt).pipe(Ji())}));return(0,V.of)(de).pipe(Ji())}(T,X.path),function vo(T,z){const x=z.routeConfig?z.routeConfig.canActivate:null;if(!x||0===x.length)return(0,V.of)(!0);const X=x.map(de=>(0,A.v)(()=>{const We=z._environmentInjector,nt=Pi(de,We);return Je(function ai(T){return T&&Wi(T.canActivate)}(nt)?nt.canActivate(z,T):(0,l.N4e)(We,()=>nt(z,T))).pipe((0,we.$)())}));return(0,V.of)(X).pipe(Ji())}(T,X.route))),(0,we.$)(X=>!0!==X,!0))}(x,de,T):(0,V.of)(nt)),(0,$e.T)(nt=>({...z,guardsResult:nt})))})}(Qe=>this.events.next(Qe)),(0,Be.n)(Qe=>{if(X.guardsResult=Qe.guardsResult,Qe.guardsResult&&"boolean"!=typeof Qe.guardsResult)throw Zi(0,Qe.guardsResult);const Nt=new qn(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects),Qe.targetSnapshot,!!Qe.guardsResult);if(this.events.next(Nt),!nt())return Q.w;if(!Qe.guardsResult)return this.cancelNavigationTransition(Qe,"",an.GuardRejected),Q.w;if(0===Qe.guards.canActivateChecks.length)return(0,V.of)(Qe);const Zt=new vr(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects),Qe.targetSnapshot);if(this.events.next(Zt),!nt())return Q.w;let jn=!1;return(0,V.of)(Qe).pipe(function zi(T){return(0,Oe.Z)(z=>{const{targetSnapshot:x,guards:{canActivateChecks:X}}=z;if(!X.length)return(0,V.of)(z);const de=new Set(X.map(Qe=>Qe.route)),We=new Set;for(const Qe of de)if(!We.has(Qe))for(const Nt of us(Qe))We.add(Nt);let nt=0;return(0,C.H)(We).pipe((0,ce.H)(Qe=>de.has(Qe)?function Kr(T,z,x){const X=T.routeConfig,de=T._resolve;return void 0!==X?.title&&!ur(X)&&(de[me]=X.title),(0,A.v)(()=>(T.data=vt(T,T.parent,x).resolve,function lo(T,z,x){const X=tt(T);if(0===X.length)return(0,V.of)({});const de={};return(0,C.H)(X).pipe((0,Oe.Z)(We=>function gs(T,z,x){const X=z._environmentInjector,de=Pi(T,X);return Je(de.resolve?de.resolve(z,x):(0,l.N4e)(X,()=>de(z,x)))}(T[We],z,x).pipe((0,we.$)(),(0,Ct.M)(nt=>{if(nt instanceof Ri)throw Zi(new In,nt);de[We]=nt}))),(0,et.o)(1),(0,$e.T)(()=>de),(0,Z.W)(We=>Gr(We)?Q.w:(0,B.$)(We)))}(de,T,z).pipe((0,$e.T)(We=>(T._resolvedData=We,T.data={...T.data,...We},null)))))}(Qe,x,T):(Qe.data=vt(Qe,Qe.parent,T).resolve,(0,V.of)(void 0))),(0,Ct.M)(()=>nt++),(0,et.o)(1),(0,Oe.Z)(Qe=>nt===We.size?(0,V.of)(z):Q.w))})}(this.paramsInheritanceStrategy),(0,Ct.M)({next:()=>{jn=!0;const _r=new si(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects),Qe.targetSnapshot);this.events.next(_r)},complete:()=>
1{jn||this.cancelNavigationTransition(Qe,"",an.NoDataFromResolver)}}))}),xi(Qe=>{const Nt=jn=>{const _r=[];jn.routeConfig?._loadedComponent?jn.component=jn.routeConfig?._loadedComponent:jn.routeConfig?.loadComponent&&_r.push(this.configLoader.loadComponent(jn._environmentInjector,jn.routeConfig).then(Is=>{jn.component=Is}));for(const Fr of jn.children)_r.push(...Nt(Fr));return _r},Zt=Nt(Qe.targetSnapshot.root);return 0===Zt.length?(0,V.of)(Qe):(0,C.H)(Promise.all(Zt).then(()=>Qe))}),xi(()=>this.afterPreactivation()),(0,Be.n)(()=>{const{currentSnapshot:Qe,targetSnapshot:Nt}=X,Zt=this.createViewTransition?.(this.environmentInjector,Qe.root,Nt.root);return Zt?(0,C.H)(Zt).pipe((0,$e.T)(()=>X)):(0,V.of)(X)}),(0,lt.s)(1),(0,Be.n)(Qe=>{const Nt=function rs(T,z,x){const X=$i(T,z._root,x?x._root:void 0);return new ae(X,z)}(x.routeReuseStrategy,Qe.targetSnapshot,Qe.currentRouterState);this.currentTransition=X=Qe={...Qe,targetRouterState:Nt},this.currentNavigation.update(jn=>(jn.targetRouterState=Nt,jn)),this.events.next(new xt);const Zt=X.beforeActivateHandler.deferredHandle;return Zt?(0,C.H)(Zt.then(()=>Qe)):(0,V.of)(Qe)}),(0,Ct.M)(Qe=>{new as(x.routeReuseStrategy,X.targetRouterState,X.currentRouterState,Nt=>this.events.next(Nt),this.inputBindingEnabled).activate(this.rootContexts),nt()&&(de=!0,this.currentNavigation.update(Nt=>(Nt.abort=tr,Nt)),this.lastSuccessfulNavigation.set((0,w.O8)(this.currentNavigation)),this.events.next(new Ft(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects))),this.titleStrategy?.updateTitle(Qe.targetRouterState.snapshot),Qe.resolve(!0))}),(0,pt.Q)(Hs(We.signal).pipe((0,be.p)(()=>!de&&!X.targetRouterState),(0,Ct.M)(()=>{this.cancelNavigationTransition(X,We.signal.reason+"",an.Aborted)}))),(0,Ct.M)({complete:()=>{de=!0}}),(0,pt.Q)(this.transitionAbortWithErrorSubject.pipe((0,Ct.M)(Qe=>{throw Qe}))),(0,Te.j)(()=>{We.abort(),de||this.cancelNavigationTransition(X,"",an.SupersededByNewNavigation),this.currentTransition?.id===X.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,Z.W)(Qe=>{if(de=!0,this.destroyed)return X.resolve(!1),Q.w;if(is(Qe))this.events.next(new Cn(X.id,this.urlSerializer.serialize(X.extractedUrl),Qe.message,Qe.cancellationCode)),function no(T){return is(T)&&Ot(T.url)}(Qe)?this.events.next(new On(Qe.url,Qe.navigationBehaviorOptions)):X.resolve(!1);else{const Nt=new ii(X.id,this.urlSerializer.serialize(X.extractedUrl),Qe,X.targetSnapshot??void 0);try{const Zt=(0,l.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Nt));if(!(Zt instanceof Ri))throw this.events.next(Nt),Qe;{const{message:jn,cancellationCode:_r}=Zi(0,Zt);this.events.next(new Cn(X.id,this.urlSerializer.serialize(X.extractedUrl),jn,_r)),this.events.next(new On(Zt.redirectTo,Zt.navigationBehaviorOptions))}}catch(Zt){this.options.resolveNavigationPromiseOnError?X.resolve(!1):X.reject(Zt)}}return Q.w}))}))}cancelNavigationTransition(x,X,de){const We=new Cn(x.id,this.urlSerializer.serialize(x.extractedUrl),X,de);this.events.next(We),x.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const x=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),X=(0,w.O8)(this.currentNavigation),de=X?.targetBrowserUrl??X?.extractedUrl;return x.toString()!==de?.toString()&&!X?.extras.skipLocationChange}static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function Ds(T){return T!==Ae}const No=new l.nKC("");let ua=(()=>{class T{static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:()=>(0,l.WQX)(Ya),providedIn:"root"})}return T})();class wa{shouldDetach(z){return!1}store(z,x){}shouldAttach(z){return!1}retrieve(z){return null}shouldReuseRoute(z,x){return z.routeConfig===x.routeConfig}shouldDestroyInjector(z){return!0}}let Ya=(()=>{class T extends wa{static \u0275fac=(()=>{let x;return function(de){return(x||(x=R.xGo(T)))(de||T)}})();static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})(),Bo=(()=>
1{class T{urlSerializer=(0,l.WQX)(dn);options=(0,l.WQX)(ds,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,l.WQX)(u.aZ);urlHandlingStrategy=(0,l.WQX)(Po);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new rr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:x,initialUrl:X,targetBrowserUrl:de}){const We=void 0!==x?this.urlHandlingStrategy.merge(x,X):X,nt=de??We;return nt instanceof rr?this.urlSerializer.serialize(nt):nt}routerUrlState(x){return void 0===x?.targetBrowserUrl||void 0===x?.finalUrl?{}:{\u0275routerUrl:this.urlSerializer.serialize(x.finalUrl)}}commitTransition({targetRouterState:x,finalUrl:X,initialUrl:de}){X&&x?(this.currentUrlTree=X,this.rawUrlTree=this.urlHandlingStrategy.merge(X,de),this.routerState=x):this.rawUrlTree=de}routerState=ze(null,(0,l.WQX)(l.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:()=>(0,l.WQX)(ea),providedIn:"root"})}return T})(),ea=(()=>{class T extends Bo{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(x){return this.location.subscribe(X=>{"popstate"===X.type&&setTimeout(()=>{x(X.url,X.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(x,X){x instanceof Wt?this.updateStateMemento():x instanceof zn?this.commitTransition(X):x instanceof ei?"eager"===this.urlUpdateStrategy&&(X.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(X),X)):x instanceof xt?(this.commitTransition(X),"deferred"===this.urlUpdateStrategy&&!X.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(X),X)):x instanceof Cn&&!function xn(T){return T instanceof Cn&&(T.code===an.Redirect||T.code===an.SupersededByNewNavigation)}(x)?this.restoreHistory(X):x instanceof ii?this.restoreHistory(X,!0):x instanceof Ft&&(this.lastSuccessfulId=x.id,this.currentPageId=this.browserPageId)}setBrowserUrl(x,X){const{extras:de,id:We}=X,{replaceUrl:nt,state:Qe}=de;if(this.location.isCurrentPathEqualTo(x)||nt){const Nt=this.browserPageId,Zt={...Qe,...this.generateNgRouterState(We,Nt,X)};this.location.replaceState(x,"",Zt)}else{const Nt={...Qe,...this.generateNgRouterState(We,this.browserPageId+1,X)};this.location.go(x,"",Nt)}}restoreHistory(x,X=!1){if("computed"===this.canceledNavigationResolution){const We=this.currentPageId-this.browserPageId;0!==We?this.location.historyGo(We):this.getCurrentUrlTree()===x.finalUrl&&0===We&&(this.resetInternalState(x),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(X&&this.resetInternalState(x),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:x}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,x??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(x,X,de){return"computed"===this.canceledNavigationResolution?{navigationId:x,\u0275routerPageId:X,...this.routerUrlState(de)}:{navigationId:x,...this.routerUrlState(de)}}static \u0275fac=(()=>{let x;return function(de){return(x||(x=R.xGo(T)))(de||T)}})();static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function Uo(T,z){T.events.pipe((0,be.p)(x=>x instanceof Ft||x instanceof Cn||x instanceof ii||x instanceof zn),(0,$e.T)(x=>x instanceof Ft||x instanceof zn?0:x instanceof Cn&&(x.code===an.Redirect||x.code===an.SupersededByNewNavigation)?2:1),(0,be.p)(x=>2!==x),(0,lt.s)(1)).subscribe(()=>{z()})}let Ta=(()=>{class T{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,l.WQX)(R.C7A);stateManager=(0,l.WQX)(Bo);options=(0,l.WQX)(ds,{optional:!0})||{};pendingTasks=(0,l.WQX)(l.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,l.WQX)(uo);
1urlSerializer=(0,l.WQX)(dn);location=(0,l.WQX)(u.aZ);urlHandlingStrategy=(0,l.WQX)(Po);injector=(0,l.WQX)(l.uvJ);_events=new L.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,l.WQX)(ua);injectorCleanup=(0,l.WQX)(No,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,l.WQX)(Xs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,l.WQX)(Ni,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:x=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new h.yU;subscribeToNavigationEvents(){const x=this.navigationTransitions.events.subscribe(X=>{try{const de=this.navigationTransitions.currentTransition,We=(0,w.O8)(this.navigationTransitions.currentNavigation);if(null!==de&&null!==We)if(this.stateManager.handleRouterEvent(X,We),X instanceof Cn&&X.code!==an.Redirect&&X.code!==an.SupersededByNewNavigation)this.navigated=!0;else if(X instanceof Ft)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(X instanceof On){const nt=X.navigationBehaviorOptions,Qe=this.urlHandlingStrategy.merge(X.url,de.currentRawUrl),Nt={scroll:de.extras.scroll,browserUrl:de.extras.browserUrl,info:de.extras.info,skipLocationChange:de.extras.skipLocationChange,replaceUrl:de.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ds(de.source),...nt};this.scheduleNavigation(Qe,Ae,null,Nt,{resolve:de.resolve,reject:de.reject,promise:de.promise})}(function br(T){return!(T instanceof xt||T instanceof On||T instanceof Jt)})(X)&&this._events.next(X)}catch(de){this.navigationTransitions.transitionAbortWithErrorSubject.next(de)}});this.eventsSubscription.add(x)}resetRootComponentType(x){this.routerState.root.component=x,this.navigationTransitions.rootComponentType=x}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ae,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((x,X,de,We)=>{this.navigateToSyncWithBrowser(x,de,X,We)})}navigateToSyncWithBrowser(x,X,de,We){const nt=de?.navigationId?de:null,Qe=de?.\u0275routerUrl??x;if(de?.\u0275routerUrl&&(We={...We,browserUrl:x}),de){const Zt={...de};delete Zt.navigationId,delete Zt.\u0275routerPageId,delete Zt.\u0275routerUrl,0!==Object.keys(Zt).length&&(We.state=Zt)}const Nt=this.parseUrl(Qe);this.scheduleNavigation(Nt,X,nt,We).catch(Zt=>{this.disposed||this.injector.get(l.ZTf)(Zt)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,w.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(x){this.config=x.map(mi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(x,X={}){const{relativeTo:de,queryParams:We,fragment:nt,queryParamsHandling:Qe,preserveFragment:Nt}=X,Zt=Nt?this.currentUrlTree.fragment:nt;let _r,jn=null;switch(Qe??this.options.defaultQueryParamsHandling){case"merge":jn={...this.currentUrlTree.queryParams,...We};break;case"preserve":jn=this.currentUrlTree.queryParams;break;default:jn=We||null}null!==jn&&(jn=this.removeEmptyProps(jn));try{_r=dt(de?de.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof x[0]||"/"!==x[0][0])&&(x=[]),_r=this.currentUrlTree.root}return ft(_r,x,jn,Zt??null,this.urlSerializer)}navigateByUrl(x,X={skipLocationChange:!1}){const de=Ot(x)?x:this.parseUrl(x),We=this.urlHandlingStrategy.merge(de,this.rawUrlTree);return this.scheduleNavigation(We,Ae,null,X)}navigate(x,X={skipLocationChange:!1}){return function da(T){for(let z=0;z<T.length;z++)if(null==T[z])throw new l.buA(4008,!1)}(x),this.navigateByUrl(this.createUrlTree(x,X),X)}serializeUrl(x){return this.urlSerializer.serialize(x)}parseUrl(x){try{return this.urlSerializer.parse(x)}catch{return this.console.warn((0,l.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(x,X){let de;if(de=!0===X?{...i}:!1===X?{...yt}:{...yt,...X},Ot(x))return Kt(this.currentUrlTree,x,de);const We=this.parseUrl(x);return Kt(this.currentUrlTree,We,de)}removeEmptyProps(x){return Object.entries(x).reduce((X,[de,We])=>(null!=We&&(X[de]=We),X),{})}scheduleNavigation(x,X,de,We,nt){if(this.disposed)return Promise.resolve(!1);let Qe,Nt,Zt;nt?(Qe=nt.resolve,Nt=nt.reject,Zt=nt.promise):Zt=new Promise((_r,Fr)=>{Qe=_r,Nt=Fr});const jn=this.pendingTasks.add();return Uo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(jn))}),this.navigationTransitions.handleNavigationRequest({source:X,restoredState:de,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:x,extras:We,resolve:Qe,reject:Nt,promise:Zt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
1),Zt.catch(Promise.reject.bind(Promise))}static \u0275fac=function(X){return new(X||T)};static \u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},3049(qe,P,c){"use strict";c.d(P,{Wk:()=>_n,iI:()=>ft});var fe=c(467),ye=c(5984),ge=c(177),Ne=c(9769),je=c(6494),tt=c(5157),bt=c(5547),Xe=c(5802),Je=c(2271),rt=c(9882),Pt=c(1413),tn=c(6648),i=c(7673),yt=c(274),Ut=c(5964),Kt=c(6365),un=c(1397);let or=(()=>{class W{router=(0,Xe.WQX)(rt.Ix);stateManager=(0,Xe.WQX)(rt.fN);fragment=(0,Xe.vPA)("");queryParams=(0,Xe.vPA)({});path=(0,Xe.vPA)("");serializer=(0,Xe.WQX)(rt.Sd);constructor(){this.updateState(),this.router.events?.subscribe(_e=>{_e instanceof rt.wF&&this.updateState()})}updateState(){const{fragment:_e,root:Se,queryParams:Dt}=this.stateManager.getCurrentUrlTree();this.fragment.set(_e),this.queryParams.set(Dt),this.path.set(this.serializer.serialize(new rt.el(Se)))}static \u0275fac=function(Se){return new(Se||W)};static \u0275prov=Xe.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),_n=(()=>{class W{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,Xe.WQX)(new tt.ES_("href"),{optional:!0});reactiveHref=(0,Je.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return(0,Je.O8)(this.reactiveHref)}set href(_e){this.reactiveHref.set(_e)}set target(_e){this._target.set(_e)}get target(){return(0,Je.O8)(this._target)}_target=(0,Xe.vPA)(void 0);set queryParams(_e){this._queryParams.set(_e)}get queryParams(){return(0,Je.O8)(this._queryParams)}_queryParams=(0,Xe.vPA)(void 0,{equal:()=>!1});set fragment(_e){this._fragment.set(_e)}get fragment(){return(0,Je.O8)(this._fragment)}_fragment=(0,Xe.vPA)(void 0);set queryParamsHandling(_e){this._queryParamsHandling.set(_e)}get queryParamsHandling(){return(0,Je.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,Xe.vPA)(void 0);set state(_e){this._state.set(_e)}get state(){return(0,Je.O8)(this._state)}_state=(0,Xe.vPA)(void 0,{equal:()=>!1});set info(_e){this._info.set(_e)}get info(){return(0,Je.O8)(this._info)}_info=(0,Xe.vPA)(void 0,{equal:()=>!1});set relativeTo(_e){this._relativeTo.set(_e)}get relativeTo(){return(0,Je.O8)(this._relativeTo)}_relativeTo=(0,Xe.vPA)(void 0);set preserveFragment(_e){this._preserveFragment.set(_e)}get preserveFragment(){return(0,Je.O8)(this._preserveFragment)}_preserveFragment=(0,Xe.vPA)(!1);set skipLocationChange(_e){this._skipLocationChange.set(_e)}get skipLocationChange(){return(0,Je.O8)(this._skipLocationChange)}_skipLocationChange=(0,Xe.vPA)(!1);set replaceUrl(_e){this._replaceUrl.set(_e)}get replaceUrl(){return(0,Je.O8)(this._replaceUrl)}_replaceUrl=(0,Xe.vPA)(!1);isAnchorElement;onChanges=new Pt.B;applicationErrorHandler=(0,Xe.WQX)(Xe.ZTf);options=(0,Xe.WQX)(rt.J_,{optional:!0});reactiveRouterState=(0,Xe.WQX)(or);constructor(_e,Se,Dt,kt,Yt,U){this.router=_e,this.route=Se,this.tabIndexAttribute=Dt,this.renderer=kt,this.el=Yt,this.locationStrategy=U;const Ee=Yt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ee||"area"===Ee||!("object"!=typeof customElements||!customElements.get(Ee)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(_e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",_e)}ngOnChanges(_e){this.onChanges.next(this)}routerLinkInput=(0,Xe.vPA)(null);set routerLink(_e){null==_e?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,rt.wO)(_e)?this.routerLinkInput.set(_e):this.routerLinkInput.set(Array.isArray(_e)?_e:[_e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(_e,Se,Dt,kt,Yt){const U=this._urlTree();if(null===U||this.isAnchorElement&&(0!==_e||Se||Dt||kt||Yt||"string"==typeof this.target&&"_self"!=this.target))return!0;const Ee={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(U,Ee)?.catch($=>{this.applicationErrorHandler($)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(_e,Se){const Dt=this.renderer,kt=this.el.nativeElement;null!==Se?Dt.setAttribute(kt,_e,Se):Dt.removeAttribute(kt,_e)}_urlTree=(0,Je.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const _e=Dt=>"preserve"===Dt||"merge"===Dt;(_e(this._queryParamsHandling())||_e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const Se=this.routerLinkInput();return null!==Se&&this.router.createUrlTree?(0,rt.wO)(Se)?Se:this.router.createUrlTree(Se,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{equal:(_e,Se)=>this.computeHref(_e)===this.computeHref(Se)});get urlTree(){return(0,Je.O8)(this._urlTree)}computeHref(_e){return null!==_e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(_e))??"":null}static \u0275fac=function(Se){return new(Se||W)(bt.rXU(rt.Ix),bt.rXU(rt.nX),bt.kS0("tabindex"),bt.rXU(bt.sFG),bt.rXU(bt.aKT),bt.rXU(ye.hb))};static \u0275dir=bt.FsC({type:W,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Se,Dt){1&Se&&bt.bIt("click",function(Yt){return Dt.onClick(Yt.button,Yt.ctrlKey,Yt.shiftKey,Yt.altKey,Yt.metaKey)}),2&Se&&bt.BMQ("href",Dt.reactiveHref(),bt.n$t)("target",Dt._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",tt.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",tt.L39],replaceUrl:[2,"replaceUrl","replaceUrl",tt.L39],routerLink:"routerLink"},features:[bt.OA$]})}return W})();class hr{}let en=(()=>{class W{router;injector;preloadingStrategy;loader;subscription;constructor(_e,Se,Dt,kt){this.router=_e,this.injector=Se,this.preloadingStrategy=Dt,this.loader=kt}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ut.p)(_e=>_e instanceof rt.wF),(0,yt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(_e,Se){const Dt=[];for(const kt of Se){kt.providers&&!kt._injector&&(kt._injector=(0,bt.Ol2)(kt.providers,_e,""));const Yt=kt._injector??_e;kt._loadedNgModuleFactory&&!kt._loadedInjector&&(kt._loadedInjector=kt._loadedNgModuleFactory.create(Yt).injector);const U=kt._loadedInjector??Yt;(kt.loadChildren&&!kt._loadedRoutes&&void 0===kt.canLoad||kt.loadComponent&&!kt._loadedComponent)&&Dt.push(this.preloadConfig(Yt,kt)),(kt.children||kt._loadedRoutes)&&Dt.push(this.processRoutes(U,kt.children??kt._loadedRoutes))}return(0,tn.H)(Dt).pipe((0,Kt.U)())}preloadConfig(_e,Se){return this.preloadingStrategy.preload(Se,()=>{if(_e.destroyed)return(0,i.of)(null);let Dt;Dt=Se.loadChildren&&void 0===Se.canLoad?(0,tn.H)(this.loader.loadChildren(_e,Se)):(0,i.of)(null);const kt=Dt.pipe((0,un.Z)(Yt=>null===Yt?(0,i.of)(void 0):(Se._loadedRoutes=Yt.routes,Se._loadedInjector=Yt.injector,Se._loadedNgModuleFactory=Yt.factory,this.processRoutes(Yt.injector??_e,Yt.routes))));if(Se.loadComponent&&!Se._loadedComponent){const Yt=this.loader.loadComponent(_e,Se);return(0,tn.H)([kt,Yt]).pipe((0,Kt.U)())}return kt})}static \u0275fac=function(Se){return new(Se||W)(Xe.KVO(rt.Ix),Xe.KVO(Xe.uvJ),Xe.KVO(hr),Xe.KVO(rt.D$))};static \u0275prov=Xe.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const ct=new Xe.nKC("");let gt=(()=>{class W{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=rt.wU;restoredId=0;store={};isHydrating=(0,Xe.WQX)(bt.qBF,{optional:!0})??!1;
1urlSerializer=(0,Xe.WQX)(rt.Sd);zone=(0,Xe.WQX)(Xe.SKi);viewportScroller=(0,Xe.WQX)(ge.Xr);transitions=(0,Xe.WQX)(rt.J2);constructor(_e){this.options=_e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,Xe.WQX)(bt.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(_e=>{_e instanceof rt.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_e.navigationTrigger,this.restoredId=_e.restoredState?_e.restoredState.navigationId:0):_e instanceof rt.wF?(this.lastId=_e.id,this.scheduleScrollEvent(_e,this.urlSerializer.parse(_e.urlAfterRedirects).fragment)):_e instanceof rt.lW&&_e.code===rt.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(_e,this.urlSerializer.parse(_e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(_e=>{if(!(_e instanceof rt.OY)||"manual"===_e.scrollBehavior)return;const Se={behavior:"instant"};_e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Se):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_e.position,Se):_e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(_e,Se){var Dt=this;if(this.isHydrating)return;const kt=(0,Je.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,fe.A)(function*(){yield new Promise(Yt=>{setTimeout(Yt),typeof requestAnimationFrame<"u"&&requestAnimationFrame(Yt)}),Dt.zone.run(()=>{Dt.transitions.events.next(new rt.OY(_e,"popstate"===Dt.lastSource?Dt.store[Dt.restoredId]:null,Se,kt))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Se){bt.QTQ()};static \u0275prov=Xe.jDH({token:W,factory:W.\u0275fac})}return W})();function En(W,ue){return{\u0275kind:W,\u0275providers:ue}}function He(){const W=(0,Xe.WQX)(Xe.zZn);return ue=>{const _e=W.get(bt.o8S);if(ue!==_e.components[0])return;const Se=W.get(rt.Ix),Dt=W.get(mt);1===W.get(Rt)&&Se.initialNavigation(),W.get(Ln,null,{optional:!0})?.setUpPreloading(),W.get(ct,null,{optional:!0})?.init(),Se.resetRootComponentType(_e.componentTypes[0]),Dt.closed||(Dt.next(),Dt.complete(),Dt.unsubscribe())}}const mt=new Xe.nKC("",{factory:()=>new Pt.B}),Rt=new Xe.nKC("",{factory:()=>1}),Ln=new Xe.nKC("");function mn(W){return En(0,[{provide:Ln,useExisting:en},{provide:hr,useExisting:W}])}function Rr(W){return(0,bt._jY)("NgRouterViewTransitions"),En(9,[{provide:rt.Pu,useValue:rt.Lg},{provide:rt.bK,useValue:{skipNextTransition:!!W?.skipInitialTransition,...W}}])}const dt=[ye.aZ,{provide:rt.Sd,useClass:rt.nU},rt.Ix,rt.Zp,{provide:rt.nX,useFactory:function Cr(){return(0,Xe.WQX)(rt.Ix).routerState.root}},rt.D$,[]];let ft=(()=>{class W{constructor(){}static forRoot(_e,Se){return{ngModule:W,providers:[dt,[],{provide:rt.bw,multi:!0,useValue:_e},[],Se?.errorHandler?{provide:rt.XR,useValue:Se.errorHandler}:[],{provide:rt.J_,useValue:Se||{}},Se?.useHash?{provide:ye.hb,useClass:Ne.fw}:{provide:ye.hb,useClass:ye.Sm},{provide:ct,useFactory:()=>{const W=(0,Xe.WQX)(ge.Xr),ue=(0,Xe.WQX)(rt.J_);return ue.scrollOffset&&W.setOffset(ue.scrollOffset),new gt(ue)}},Se?.preloadingStrategy?mn(Se.preloadingStrategy).\u0275providers:[],Se?.initialNavigation?Ge(Se):[],Se?.bindToComponentInputs?En(8,[rt.tD,{provide:rt.c1,useExisting:rt.tD}]).\u0275providers:[],Se?.enableViewTransitions?Rr().\u0275providers:[],[{provide:Ve,useFactory:He},{provide:bt.iLQ,multi:!0,useExisting:Ve}]]}}static forChild(_e){return{ngModule:W,providers:[{provide:rt.bw,multi:!0,useValue:_e}]}}static \u0275fac=function(Se){return new(Se||W)};static \u0275mod=bt.$C({type:W});static \u0275inj=Xe.G2t({})}return W})();function Ge(W){return["disabled"===W.initialNavigation?En(3,[(0,bt.phd)(()=>{(0,Xe.WQX)(rt.Ix).setUpLocationChangeListener()}),{provide:Rt,useValue:2}]).\u0275providers:[],"enabledBlocking"===W.initialNavigation?En(2,[{provide:bt.tvf,useValue:!0},{provide:Rt,useValue:0},(0,bt.phd)(()=>{const ue=(0,Xe.WQX)(Xe.zZn);return ue.get(je.hj,Promise.resolve()).then(()=>new Promise(Se=>{const Dt=ue.get(rt.Ix),kt=ue.get(mt);(0,rt.gk)(Dt,()=>{Se(!0)}),ue.get(rt.J2).afterPreactivation=()=>(Se(!0),kt.closed?(0,i.of)(void 0):kt),Dt.initialNavigation()}))})]).\u0275providers:[]]}const Ve=new Xe.nKC("")},2471(qe,P,c){"use strict";c.d(P,{WJ:()=>ce,EI:()=>N});var o=c(5802),u=c(5547),l=c(1985),R=c(1413),v=c(5343);const w=new l.c(v.l);var L=c(5558),E=c(6697),h=c(5964),f=c(6354);const y="Service workers are disabled or not supported by this browser";class H{serviceWorker;worker;registration;events;constructor(Te,we){if(this.serviceWorker=Te,Te){let $e=null;const Oe=new R.B;this.worker=new l.c(pt=>(null!==$e&&pt.next($e),Oe.subscribe(Ct=>pt.next(Ct))));const Ue=()=>{const{controller:pt}=Te;null!==pt&&($e=pt,Oe.next($e))};Te.addEventListener("controllerchange",Ue),Ue(),this.registration=this.worker.pipe((0,L.n)(()=>Te.getRegistration().then(pt=>{if(!pt)throw new o.buA(5601,!1);return pt})));const Be=new R.B;this.events=Be.asObservable();const lt=pt=>{const{data:Ct}=pt;Ct?.type&&Be.next(Ct)};Te.addEventListener("message",lt),we?.get(u.o8S,null,{optional:!0})?.onDestroy(()=>{Te.removeEventListener("controllerchange",Ue),Te.removeEventListener("message",lt)})}else this.worker=this.events=this.registration=new l.c($e=>$e.error(new o.buA(5601,!1)))}postMessage(Te,we){return new Promise($e=>{this.worker.pipe((0,E.s)(1)).subscribe(Oe=>{Oe.postMessage({action:Te,...we}),$e()})})}postMessageWithOperation(Te,we,$e){const Oe=this.waitForOperationCompleted($e),Ue=this.postMessage(Te,we);return Promise.all([Ue,Oe]).then(([,Be])=>Be)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(Te){let we;return we="string"==typeof Te?$e=>$e.type===Te:$e=>Te.includes($e.type),this.events.pipe((0,h.p)(we))}nextEventOfType(Te){return this.eventsOfType(Te).pipe((0,E.s)(1))}waitForOperationCompleted(Te){return new Promise((we,$e)=>{this.eventsOfType("OPERATION_COMPLETED").pipe((0,h.p)(Oe=>Oe.nonce===Te),(0,E.s)(1),(0,f.T)(Oe=>{if(void 0!==Oe.result)return Oe.result;throw new Error(Oe.error)})).subscribe({next:we,error:$e})})}get isEnabled(){return!!this.serviceWorker}}let b=(()=>{class be{sw;messages;
1notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new R.B;constructor(we){if(this.sw=we,!we.isEnabled)return this.messages=w,this.notificationClicks=w,this.notificationCloses=w,this.pushSubscriptionChanges=w,void(this.subscription=w);this.messages=this.sw.eventsOfType("PUSH").pipe((0,f.T)(Oe=>Oe.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,f.T)(Oe=>Oe.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe((0,f.T)(Oe=>Oe.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe((0,f.T)(Oe=>Oe.data)),this.pushManager=this.sw.registration.pipe((0,f.T)(Oe=>Oe.pushManager));const $e=this.pushManager.pipe((0,L.n)(Oe=>Oe.getSubscription()));this.subscription=new l.c(Oe=>{const Ue=$e.subscribe(Oe),Be=this.subscriptionChanges.subscribe(Oe);return()=>{Ue.unsubscribe(),Be.unsubscribe()}})}requestSubscription(we){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(y));const $e={userVisibleOnly:!0};let Oe=this.decodeBase64(we.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),Ue=new Uint8Array(new ArrayBuffer(Oe.length));for(let Be=0;Be<Oe.length;Be++)Ue[Be]=Oe.charCodeAt(Be);return $e.applicationServerKey=Ue,new Promise((Be,lt)=>{this.pushManager.pipe((0,L.n)(et=>et.subscribe($e)),(0,E.s)(1)).subscribe({next:et=>{this.subscriptionChanges.next(et),Be(et)},error:lt})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(y));const we=$e=>{if(null===$e)throw new o.buA(5602,!1);return $e.unsubscribe().then(Oe=>{if(!Oe)throw new o.buA(5603,!1);this.subscriptionChanges.next(null)})};return new Promise(($e,Oe)=>{this.subscription.pipe((0,E.s)(1),(0,L.n)(we)).subscribe({next:$e,error:Oe})})}decodeBase64(we){return atob(we)}static \u0275fac=function($e){return new($e||be)(o.KVO(H))};static \u0275prov=o.jDH({token:be,factory:be.\u0275fac})}return be})(),N=(()=>{class be{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(we){if(this.sw=we,!we.isEnabled)return this.versionUpdates=w,void(this.unrecoverable=w);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(y));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;const we=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:we},we).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new o.buA(5601,!1));const we=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:we},we)}static \u0275fac=function($e){return new($e||be)(o.KVO(H))};static \u0275prov=o.jDH({token:be,factory:be.\u0275fac})}return be})();const A=new o.nKC("");function C(){const be=(0,o.WQX)(Q);if(!("serviceWorker"in navigator)||!1===be.enabled)return;const Te=(0,o.WQX)(A),we=(0,o.WQX)(o.SKi),$e=(0,o.WQX)(u.o8S);we.runOutsideAngular(()=>{const Oe=navigator.serviceWorker,Ue=()=>Oe.controller?.postMessage({action:"INITIALIZE"});Oe.addEventListener("controllerchange",Ue),$e.onDestroy(()=>{Oe.removeEventListener("controllerchange",Ue)})}),we.runOutsideAngular(()=>{let Oe;const{registrationStrategy:Ue}=be;if("function"==typeof Ue)Oe=new Promise(Be=>Ue().subscribe(()=>Be()));else{const[Be,...lt]=(Ue||"registerWhenStable:30000").split(":");switch(Be){case"registerImmediately":Oe=Promise.resolve();break;case"registerWithDelay":Oe=V(+lt[0]||0);break;case"registerWhenStable":Oe=Promise.race([$e.whenStable(),V(+lt[0])]);break;default:throw new o.buA(5600,!1)}}Oe.then(()=>{$e.destroyed||navigator.serviceWorker.register(Te,{scope:be.scope,updateViaCache:be.updateViaCache,type:be.type}).catch(Be=>console.error((0,o.OsK)(5604,!1)))})})}function V(be){return new Promise(Te=>setTimeout(Te,be))}function B(){const be=(0,o.WQX)(Q),Te=(0,o.WQX)(o.zZn);return new H(!1!==be.enabled?navigator.serviceWorker:void 0,Te)}class Q{enabled;updateViaCache;type;scope;registrationStrategy}function Z(be,Te={}){return(0,o.EmA)([b,N,{provide:A,useValue:be},{provide:Q,useValue:Te},{provide:H,useFactory:B},(0,u.phd)(C)])}let ce=(()=>{class be{static register(we,$e={}){return{ngModule:be,providers:[Z(we,$e)]}}static \u0275fac=function($e){return new($e||be)};static \u0275mod=u.$C({type:be});static \u0275inj=o.G2t({providers:[b,N]})}return be})()},2510(qe,P,c){"use strict";c.d(P,{EY:()=>En,MQ:()=>Nn,Uc:()=>hn,Uq:()=>kn,ZZ:()=>Cr,bh:()=>Bn,vr:()=>fn,xt:()=>Ot});var o=c(5547),u=c(5802),l=c(5157),R=c(2271),v=c(9417),w=c(1413),S=c(5007),L=c(536),E=c(3726),h=c(3798),f=c(152),y=c(5964),H=c(6354),b=c(8141),N=c(9769),A=c(9079);const C=["content"],V=["scroll"],B=["padding"],Q=["*"],Z=Ge=>({searchTerm:Ge});function ce(Ge,Ve){if(1&Ge&&(o.j41(0,"div",3),o.eu8(1,6),o.k0s()),2&Ge){const te=o.XpG();o.R7$(),o.Y8G("ngTemplateOutlet",te.headerTemplate())("ngTemplateOutletContext",o.eq3(2,Z,te.filterValue()))}}function be(Ge,Ve){if(1&Ge&&(o.j41(0,"div",5),o.eu8(1,6),o.k0s()),2&Ge){const te=o.XpG();o.R7$(),o.Y8G("ngTemplateOutlet",te.footerTemplate())("ngTemplateOutletContext",o.eq3(2,Z,te.filterValue()))}}const Te=["searchInput"],we=["clearButton"],$e=(Ge,Ve,te)=>({item:Ge,clear:Ve,label:te}),Oe=(Ge,Ve)=>({items:Ge,clear:Ve}),Ue=(Ge,Ve,te,W)=>({item:Ge,item$:Ve,index:te,searchTerm:W});function Be(Ge,Ve){if(1&Ge&&(o.j41(0,"div",21),o.EFF(1),o.k0s()),2&Ge){const te=o.XpG(2);o.R7$(),o.JRh(te.placeholder()??te.config.placeholder)}}function lt(Ge,Ve){}function et(Ge,Ve){if(1&Ge&&o.DNE(0,Be,2,1,"ng-template",null,1,o.C5r)(2,lt,0,0,"ng-template",20),2&Ge){const te=o.sdS(1),W=o.XpG();o.R7$(2),o.Y8G("ngTemplateOutlet",W.placeholderTemplate()||te)}}function pt(Ge,Ve){if(1&Ge){const te=o.RV6();o.j41(0,"span",24),o.bIt("click",function(){u.eBV(te);const ue=o.XpG().$implicit,_e=o.XpG(2);return u.Njj(_e.unselect(ue))}),o.EFF(1,"\xd7"),o.k0s(),o.nrm(2,"span",25)}if(2&Ge){const te=o.XpG().$implicit,W=o.XpG(2);o.R7$(2),o.Y8G("ngItemLabel",te.label)("escape",W.escapeHTML)}}function Ct(Ge,Ve){}function st(Ge,Ve){if(1&Ge&&(o.j41(0,"div",23),o.DNE(1,pt,3,2,"ng-template",null,2,o.C5r)(3,Ct,0,0,"ng-template",12),o.k0s()),2&Ge){const te=Ve.$implicit,W=o.sdS(2),ue=o.XpG(2);o.AVh("ng-value-disabled",te.disabled),o.R7$(3),o.Y8G("ngTemplateOutlet",ue.labelTemplate()||W)("ngTemplateOutletContext",o.sMw(4,$e,te.value,ue.clearItem,te.label))}}function se(Ge,Ve){if(1&Ge&&o.Z7z(0,st,4,8,"div",22,o.BUC().trackByOption,!0),2&Ge){const te=o.XpG();o.Dyx(te.selectedItems)}}function me(Ge,Ve){}function Y(Ge,Ve){if(1&Ge&&o.DNE(0,me,0,0,"ng-template",12),2&Ge){const te=o.XpG();o.Y8G("ngTemplateOutlet",te.multiLabelTemplate())("ngTemplateOutletContext",o.l_i(2,Oe,te.selectedValues,te.clearItem))}}function ee(Ge,Ve){1&Ge&&o.nrm(0,"div",26)}function fe(Ge,Ve){}function ye(Ge,Ve){if(1&Ge&&o.DNE(0,ee,1,0,"ng-template",null,3,o.C5r)(2,fe,0,0,"ng-template",20),2&Ge){const te=o.sdS(1),W=o.XpG();o.R7$(2),o.Y8G("ngTemplateOutlet",W.loadingSpinnerTemplate()||te)}}function ge(Ge,Ve){if(1&Ge&&o.eu8(0,20),2&Ge){const te=o.XpG(2);o.Y8G("ngTemplateOutlet",te.clearButtonTemplate())}}function Ne(Ge,Ve){1&Ge&&(o.j41(0,"span",28),o.EFF(1,"\xd7"),o.k0s())}function je(Ge,Ve){if(1&Ge){const te=o.RV6();o.j41(0,"span",27,4),o.bIt("click",function(ue){u.eBV(te);const _e=o.XpG();return u.Njj(_e.handleClearClick(ue))}),o.nVh(2,ge,1,1,"ng-container",20)(3,Ne,2,0,"span",28),o.k0s()}if(2&Ge){const te=o.XpG();o.Y8G("title",o.mNQ(te.clearAllText()||te.config.clearAllText)),o.BMQ("tabindex",te.tabFocusOnClear()?0:-1),o.R7$(2),o.vxM(te.clearButtonTemplate()?2:3)}}function tt(Ge,Ve){if(1&Ge&&o.nrm(0,"span",33),2&Ge){const te=o.XpG().$implicit,W=o.XpG(2);o.Y8G("ngItemLabel",te.label)("escape",W.escapeHTML)}}function bt(Ge,Ve){}function Xe(Ge,Ve){if(1&Ge){const te=o.RV6();o.j41(0,"div",32),o.bIt("click",function(){const ue=u.eBV(te).$implicit,_e=o.XpG(2);return u.Njj(_e.toggleItem(ue))})("mouseover",function(){const ue=u.eBV(te).$implicit,_e=o.XpG(2);return u.Njj(_e.onItemHover(ue))}),o.DNE(1,tt,1,2,"ng-template",null,5,o.C5r)(3,bt,0,0,"ng-template",12),o.k0s()}if(2&Ge){const te=Ve.$implicit,W=o.sdS(2),ue=o.XpG(2);o.AVh("ng-option-disabled",te.disabled)("ng-option-selected",te.selected)("ng-optgroup",te.children)("ng-option",!te.children)("ng-option-child",!!te.parent)("ng-option-marked",te===ue.itemsList.markedItem),o.BMQ("role",te.children?"group":"option")("aria-selected",te.selected)("id",null==te?null:te.htmlId)("aria-setsize",ue.itemsList.filteredItems.length)("aria-posinset",te.index+1),o.R7$(3),o.Y8G("ngTemplateOutlet",te.children?ue.optgroupTemplate()||W:ue.optionTemplate()||W)("ngTemplateOutletContext",o.ziG(19,Ue,te.value,te,te.index,ue.searchTerm))}}function Je(Ge,Ve){if(1&Ge&&(o.j41(0,"span")(1,"span",35),o.EFF(2),o.k0s(),o.EFF(3),o.k0s()),2&Ge){const te=o.XpG(3);o.R7$(2),o.JRh(te.addTagText()||te.config.addTagText),o.R7$(),o.SpI('"',te.searchTerm,'"')}}function rt(Ge,Ve){}function Pt(Ge,Ve){if(1&Ge){const te=o.RV6();o.j41(0,"div",34),o.bIt("mouseover",function(){u.eBV(te);const ue=o.XpG(2);return u.Njj(ue.itemsList.unmarkItem())})("click",function(){u.eBV(te);const ue=o.XpG(2);return u.Njj(ue.selectTag())}),o.DNE(1,Je,4,2,"ng-template",null,6,o.C5r)(3,rt,0,0,"ng-template",12),o.k0s()}if(2&Ge){const te=o.sdS(2),W=o.XpG(2);o.AVh("ng-option-marked",!W.itemsList.markedItem),o.BMQ("aria-selected",!1),o.R7$(3),o.Y8G("ngTemplateOutlet",W.tagTemplate()||te)("ngTemplateOutletContext",o.eq3(5,Z,W.searchTerm))}}function tn(Ge,Ve){if(1&Ge&&(o.j41(0,"div",36),o.EFF(1),o.k0s()),2&Ge){const te=o.XpG(3);o.R7$(),o.JRh(te.notFoundText()??te.config.notFoundText)}}function i(Ge,Ve){}function yt(Ge,Ve){if(1&Ge&&o.DNE(0,tn,2,1,"ng-template",null,7,o.C5r)(2,i,0,0,"ng-template",12),2&Ge){const te=o.sdS(1),W=o.XpG(2);o.R7$(2),o.Y8G("ngTemplateOutlet",W.notFoundTemplate()||te)("ngTemplateOutletContext",o.eq3(2,Z,W.searchTerm))}}function Ut(Ge,Ve){if(1&Ge&&(o.j41(0,"div",36),o.EFF(1),o.k0s()),2&Ge){const te=o.XpG(3);o.R7$(),o.JRh(te.typeToSearchText()||te.config.typeToSearchText)}}function Kt(Ge,Ve){}function un(Ge,Ve){if(1&Ge&&o.DNE(0,Ut,2,1,"ng-template",null,8,o.C5r)(2,Kt,0,0,"ng-template",20),2&Ge){const te=o.sdS(1),W=o.XpG(2);o.R7$(2),o.Y8G("ngTemplateOutlet",W.typeToSearchTemplate()||te)}}function or(Ge,Ve){if(1&Ge&&(o.j41(0,"div",36),o.EFF(1),o.k0s()),2&Ge){const te=o.XpG(3);o.R7$(),o.JRh(te.loadingText()||te.config.loadingText)}}function _n(Ge,Ve){}function cr(Ge,Ve){if(1&Ge&&o.DNE(0,or,2,1,"ng-template",null,9,o.C5r)(2,_n,0,0,"ng-template",12),2&Ge){const te=o.sdS(1),W=o.XpG(2);o.R7$(2),o.Y8G("ngTemplateOutlet",W.loadingTextTemplate()||te)("ngTemplateOutletContext",o.eq3(2,Z,W.searchTerm))}}function Sn(Ge,Ve){if(1&Ge){const te=o.RV6();o.j41(0,"ng-dropdown-panel",29),o.bIt("update",function(ue){u.eBV(te);const _e=o.XpG();return u.Njj(_e.viewPortItems=ue)})("scroll",function(ue){u.eBV(te);const _e=o.XpG();
1return u.Njj(_e.scroll.emit(ue))})("scrollToEnd",function(ue){u.eBV(te);const _e=o.XpG();return u.Njj(_e.scrollToEnd.emit(ue))})("outsideClick",function(){u.eBV(te);const ue=o.XpG();return u.Njj(ue.close())}),o.qex(1),o.Z7z(2,Xe,4,24,"div",30,o.BUC().trackByOption,!0),o.nVh(4,Pt,4,7,"div",31),o.bVm(),o.nVh(5,yt,3,4),o.nVh(6,un,3,1),o.nVh(7,cr,3,4),o.k0s()}if(2&Ge){const te=o.XpG(),W=te.appendTo()||te.config.appendTo;o.HbH(W?te.ngClass()?te.ngClass():te.classes:null),o.AVh("ng-select-multiple",te.multiple()),o.Y8G("virtualScroll",te.virtualScroll()??!te.config.disableVirtualScroll??!1)("bufferAmount",te.bufferAmount())("appendTo",W)("position",te.dropdownPosition())("outsideClickEvent",te.outsideClickEvent())("headerTemplate",te.headerTemplate())("footerTemplate",te.footerTemplate())("filterValue",te.searchTerm)("items",te.itemsList.filteredItems)("showAddTag",te.showAddTag)("markedItem",te.itemsList.markedItem)("id",te.dropdownId)("ariaLabelDropdown",te.ariaLabelDropdown()??te.config.ariaLabelDropdown)("popover",te.popover()),o.R7$(2),o.Dyx(te.viewPortItems),o.R7$(2),o.vxM(te.showAddTag?4:-1),o.R7$(),o.vxM(te.showNoItemsFound()?5:-1),o.R7$(),o.vxM(te.showTypeToSearch()?6:-1),o.R7$(),o.vxM(te.loading()&&0===te.itemsList.filteredItems.length?7:-1)}}function hr(Ge,Ve){if(1&Ge&&o.EFF(0),2&Ge){const te=o.XpG();o.SpI(" ",te.notFoundText()??te.config.notFoundText," ")}}const rr=/[&<>"']/g,wt=RegExp(rr.source),en={"&":"&","<":"<",">":">",'"':""","'":"'"};function gt(Ge){return null!=Ge}function It(Ge){return"object"==typeof Ge&>(Ge)}function In(Ge){return Ge instanceof Function}let Vn=(()=>{class Ge{constructor(){this.element=(0,u.WQX)(o.aKT),this.ngItemLabel=(0,l.hFB)(),this.escape=(0,l.hFB)(!0),(0,u.QZP)(()=>{this.element.nativeElement.innerHTML=this.escape()?function ct(Ge){return Ge&&wt.test(Ge)?Ge.replace(rr,Ve=>en[Ve]):Ge}(this.ngItemLabel()):this.ngItemLabel()})}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:[1,"ngItemLabel"],escape:[1,"escape"]}})}}return Ge})(),kn=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-option-tmp",""]]})}}return Ge})(),Bn=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-optgroup-tmp",""]]})}}return Ge})(),Cr=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-label-tmp",""]]})}}return Ge})(),En=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-multi-label-tmp",""]]})}}return Ge})(),hn=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-header-tmp",""]]})}}return Ge})(),Kn=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-footer-tmp",""]]})}}return Ge})(),xe=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-notfound-tmp",""]]})}}return Ge})(),ve=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-placeholder-tmp",""]]})}}return Ge})(),Fe=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-typetosearch-tmp",""]]})}}return Ge})(),He=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-loadingtext-tmp",""]]})}}return Ge})(),mt=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-tag-tmp",""]]})}}return Ge})(),Rt=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-loadingspinner-tmp",""]]})}}return Ge})(),Qt=(()=>{class Ge{constructor(){this.template=(0,u.WQX)(o.C4Q)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275dir=o.FsC({type:Ge,selectors:[["","ng-clearbutton-tmp",""]]})}}return Ge})(),sn=(()=>{class Ge{constructor(){this.fixedPlaceholder=!0,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.ariaLabelDropdown="Options List",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline",this.tabFocusOnClear=!0,this.outsideClickEvent="click"}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275prov=u.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}}return Ge})(),An=(()=>{class Ge{warn(te){console.warn(te)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275prov=u.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}}return Ge})();function Ln(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const mn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34
1:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};
1function Hn(Ge){return Ge.replace(/[^\u0000-\u007E]/g,te=>mn[te]||te)}class ar{constructor(Ve,te){this._ngSelect=Ve,this._selectionModel=te,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected()&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple()&&this._ngSelect.maxSelectedItems()<=this.selectedItems.length}get lastSelectedItem(){let Ve=this.selectedItems.length-1;for(;Ve>=0;Ve--){const te=this.selectedItems[Ve];if(!te.disabled)return te}return null}setItems(Ve){this._items=Ve.map((W,ue)=>this.mapItem(W,ue));const te=this._ngSelect.groupBy();te?(this._groups=this._groupBy(this._items,te),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(Ve){if(Ve.selected||this.maxItemsSelected)return;const te=this._ngSelect.multiple();te||this.clearSelected(!1),this._selectionModel.select(Ve,te,this._ngSelect.selectableGroupAsModel()),this._ngSelect.hideSelected()&&this._hideSelected(Ve)}unselect(Ve){if(!Ve.selected)return;const te=this._ngSelect.multiple();this._selectionModel.unselect(Ve,te),this._ngSelect.hideSelected()&>(Ve.index)&&te&&this._showSelected(Ve)}findItem(Ve){let te;return te=this._ngSelect.compareWith()?W=>this._ngSelect.compareWith()(W.value,Ve):this._ngSelect.bindValue()?W=>!W.children&&this.resolveNested(W.value,this._ngSelect.bindValue())===Ve:W=>W.value===Ve||!W.children&&W.label&&W.label===this.resolveNested(Ve,this._ngSelect.bindLabel()),this._items.find(W=>te(W))}addItem(Ve){const te=this.mapItem(Ve,this._items.length);return this._items.push(te),this._filteredItems.push(te),te}clearSelected(Ve){this._selectionModel.clear(Ve),this._items.forEach(te=>{te.selected=Ve&&te.selected&&te.disabled,te.marked=!1}),this._ngSelect.hideSelected()&&this.resetFilteredItems()}findByLabel(Ve){return Ve=Hn(Ve).toLocaleLowerCase(),this.filteredItems.find(te=>Hn(te.label).toLocaleLowerCase().substr(0,Ve.length)===Ve)}filter(Ve){if(!Ve)return void this.resetFilteredItems();this._filteredItems=[],Ve=this._ngSelect.searchFn()?Ve:Hn(Ve).toLocaleLowerCase();const te=this._ngSelect.searchFn()||this._defaultSearchFn,W=this._ngSelect.hideSelected();for(const ue of Array.from(this._groups.keys())){const _e=[];for(const Se of this._groups.get(ue))W&&(Se.parent&&Se.parent.selected||Se.selected)||te(Ve,this._ngSelect.searchFn()?Se.value:Se)&&_e.push(Se);if(_e.length>0){const[Se]=_e.slice(-1);if(Se.parent){const Dt=this._items.find(kt=>kt===Se.parent);this._filteredItems.push(Dt)}this._filteredItems.push(..._e)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected()&&this.selectedItems.length>0?this._items.filter(Ve=>!Ve.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(Ve){this._markedIndex=this._filteredItems.indexOf(Ve)}markSelectedOrDefault(Ve){if(0===this._filteredItems.length)return;const te=this._getLastMarkedIndex();this._markedIndex=te>-1?te:Ve?this.filteredItems.findIndex(W=>!W.disabled):-1}resolveNested(Ve,te){if(!It(Ve))return Ve;if(-1===te.indexOf("."))return Ve[te];{const W=te.split(".");let ue=Ve;for(let _e=0,Se=W.length;_e<Se;++_e){if(null==ue)return null;ue=ue[W[_e]]}return ue}}mapItem(Ve,te){const W=It(Ve)&&"$ngOptionLabel"in Ve,ue=It(Ve)&&"$ngOptionValue"in Ve,_e=W?Ve.$ngOptionLabel:this.resolveNested(Ve,this._ngSelect.bindLabel()),Se=ue?Ve.$ngOptionValue:Ve;return{index:te,label:gt(_e)?_e.toString():"",value:Se,disabled:!(!Ve||!Ve.disabled)&&Ve.disabled,htmlId:`${this._ngSelect.dropdownId}-${te}`}}mapSelectedItems(){const Ve=this._ngSelect.multiple();for(const te of this.selectedItems){const W=this._ngSelect.bindValue(),ue=W?this.resolveNested(te.value,W):te.value,_e=gt(ue);let Se=_e?this.findItem(ue):null;!Se&&!_e&&this._ngSelect.compareWith()&&(Se=this._items.find(Dt=>this._ngSelect.compareWith()(Dt.value,te.value))),this._selectionModel.unselect(te,Ve),this._selectionModel.select(Se||te,Ve,this._ngSelect.selectableGroupAsModel())}this._ngSelect.hideSelected()&&(this._filteredItems=this.filteredItems.filter(te=>-1===this.selectedItems.indexOf(te)))}_showSelected(Ve){if(this._filteredItems.push(Ve),Ve.parent){const te=Ve.parent;this._filteredItems.find(ue=>ue===te)||this._filteredItems.push(te)}else if(Ve.children)for(const te of Ve.children)te.selected=!1,this._filteredItems.push(te);this._filteredItems=[...this._filteredItems.sort((te,W)=>te.index-W.index)]}_hideSelected(Ve){this._filteredItems=this._filteredItems.filter(te=>te!==Ve),Ve.parent?Ve.parent.children.every(W=>W.selected)&&(this._filteredItems=this._filteredItems.filter(W=>W!==Ve.parent)):Ve.children&&(this._filteredItems=this.filteredItems.filter(te=>te.parent!==Ve))}_defaultSearchFn(Ve,te){return Hn(te.label).toLocaleLowerCase().indexOf(Ve)>-1}_getNextItemIndex(Ve){return Ve>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(Ve){0===this._filteredItems.length||this._filteredItems.every(te=>te.disabled)||(this._markedIndex=this._getNextItemIndex(Ve),this.markedItem.disabled&&this._stepToItem(Ve))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected()||this._markedIndex>-1&&void 0===this.markedItem)return-1;const Ve=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&Ve<0?-1:Math.max(this.markedIndex,Ve)}_groupBy(Ve,te){const W=new Map;if(0===Ve.length)return W;const ue=Ve[0].value;if(null!=ue&&Array.isArray(ue[te])){for(const Dt of Ve){const kt=(Dt.value?.[te]||[]).map((Yt,U)=>this.mapItem(Yt,U));W.set(Dt,kt)}return W}const _e=In(this._ngSelect.groupBy()),Se=Dt=>{const kt=_e?te(Dt.value):Dt.value?.[te];return gt(kt)?kt:void 0};for(const Dt of Ve){const kt=Se(Dt),Yt=W.get(kt);Yt?Yt.push(Dt):W.set(kt,[Dt])}return W}_flatten(Ve){const te=In(this._ngSelect.groupBy()),W=[];for(const ue of Array.from(Ve.keys())){let _e=W.length;if(void 0===ue){const Ee=Ve.get(void 0)||[];W.push(...Ee.map($=>($.index=_e++,$)));continue}const Se=It(ue),Dt={label:Se?"":String(ue),children:void 0,parent:null,index:_e++,disabled:!this._ngSelect.selectableGroup(),htmlId:Ln()},kt=te?this._ngSelect.bindLabel():this._ngSelect.groupBy(),Yt=this._ngSelect.groupValue()||(()=>Se?ue.value:{[kt]:ue}),U=Ve.get(ue).map(Ee=>(Ee.parent=Dt,Ee.children=void 0,Ee.index=_e++,Ee));Dt.children=U,Dt.value=Yt(ue,U.map(Ee=>Ee.value)),W.push(Dt),W.push(...U)}return W}}let lr=(()=>{class Ge{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerVie
1wport:0}}get dimensions(){return this._dimensions}calculateItems(te,W,ue){const _e=this._dimensions,Se=_e.itemHeight*W,kt=Math.max(0,te)/Se*W;let Yt=Math.min(W,Math.ceil(kt)+(_e.itemsPerViewport+1));const Ee=Math.max(0,Yt-_e.itemsPerViewport);let $=Math.min(Ee,Math.floor(kt)),he=_e.itemHeight*Math.ceil($)-_e.itemHeight*Math.min($,ue);return he=isNaN(he)?0:he,$=isNaN($)?-1:$,Yt=isNaN(Yt)?-1:Yt,$-=ue,$=Math.max(0,$),Yt+=ue,Yt=Math.min(W,Yt),{topPadding:he,scrollHeight:Se,start:$,end:Yt}}setDimensions(te,W){const ue=Math.max(1,Math.floor(W/te));this._dimensions={itemHeight:te,panelHeight:W,itemsPerViewport:ue}}getScrollTo(te,W,ue){const{panelHeight:_e}=this.dimensions,Se=te+W,kt=ue+_e;return _e>=Se&&ue===te?null:Se>kt?ue+Se-kt:te<=ue?te:null}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275prov=u.jDH({token:Ge,factory:Ge.\u0275fac})}}return Ge})();const fr=["top","right","bottom","left"],gr=typeof requestAnimationFrame<"u"?L.X:S.$;let Rr=(()=>{class Ge{constructor(){this.items=(0,l.hFB)([]),this.showAddTag=(0,l.hFB)(!1,{transform:l.L39}),this.markedItem=(0,l.hFB)(void 0),this.position=(0,l.hFB)("auto"),this.appendTo=(0,l.hFB)(void 0),this.bufferAmount=(0,l.hFB)(void 0),this.virtualScroll=(0,l.hFB)(!1,{transform:l.L39}),this.headerTemplate=(0,l.hFB)(void 0),this.footerTemplate=(0,l.hFB)(void 0),this.filterValue=(0,l.hFB)(null),this.ariaLabelDropdown=(0,l.hFB)(null),this.outsideClickEvent=(0,l.hFB)("click"),this.popover=(0,l.hFB)(!1,{transform:l.L39}),this.update=(0,l.CGW)(),this.scroll=(0,l.CGW)(),this.scrollToEnd=(0,l.CGW)(),this.outsideClick=(0,l.CGW)(),this._renderer=(0,u.WQX)(o.sFG),this._zone=(0,u.WQX)(u.SKi),this._panelService=(0,u.WQX)(lr),this._document=(0,u.WQX)(u.qQL,{optional:!0}),this._destroyRef=(0,u.WQX)(u.abz),this._dropdown=(0,u.WQX)(o.aKT).nativeElement,this.contentElementRef=(0,l.ebz)("content",{read:o.aKT}),this.scrollElementRef=(0,l.ebz)("scroll",{read:o.aKT}),this.paddingElementRef=(0,l.ebz)("padding",{read:o.aKT}),this._virtualPadding=(0,R.EW)(()=>this.paddingElementRef()?.nativeElement),this._scrollablePanel=(0,R.EW)(()=>this.scrollElementRef()?.nativeElement),this._contentPanel=(0,R.EW)(()=>this.contentElementRef()?.nativeElement),this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._destroyRef.onDestroy(()=>{this.appendTo()&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)})}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(te){te!==this._itemsLength&&(this._itemsLength=te,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem()){const{itemHeight:te,panelHeight:W}=this._panelService.dimensions,ue=this.markedItem().index*te;return W>ue?0:ue}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener(),this._handleWindowScroll(),this._showPopoverIfNeeded()}ngOnChanges(te){if(te.items){const W=te.items;this._onItemsOrShowAddTagChange(W.currentValue,this.showAddTag(),W.firstChange)}if(te.showAddTag){const W=te.showAddTag;this._onItemsOrShowAddTagChange(this.items(),W.currentValue,W.firstChange)}}scrollTo(te,W=!1){if(!te)return;const ue=this.items().indexOf(te);if(ue<0||ue>=this.itemsLength)return;let _e;if(this.virtualScroll()){const Se=this._panelService.dimensions.itemHeight;_e=this._panelService.getScrollTo(ue*Se,Se,this._lastScrollPosition)}else{const Se=this._dropdown.querySelector(`#${te.htmlId}`);_e=this._panelService.getScrollTo(Se.offsetTop,Se.clientHeight,W?Se.offsetTop:this._lastScrollPosition)}gt(_e)&&(this._scrollablePanel().scrollTop=_e)}scrollToTag(){const te=this._scrollablePanel();te.scrollTop=te.scrollHeight-te.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),fr.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),(this.appendTo()||this.popover())&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(te){fr.forEach(ue=>{const _e=`ng-select-${ue}`;this._renderer.removeClass(this._dropdown,_e),this._renderer.removeClass(this._select,_e)});const W=`ng-select-${te}`;this._renderer.addClass(this._dropdown,W),this._renderer.addClass(this._select,W)}_handleScroll(){this._zone.runOutsideAngular(()=>{const te=this._scrollablePanel();te&&(0,E.R)(te,"scroll").pipe((0,A.pQ)(this._destroyRef),(0,h.Z)(0,gr)).subscribe(()=>{te&&"scrollTop"in te&&this._onContentScrolled(te.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,E.R)(this._document,this.outsideClickEvent(),{capture:!0}).pipe((0,A.pQ)(this._destroyRef)).subscribe(te=>this._checkToClose(te))})}_checkToClose(te){if(this._select.contains(te.target)||this._dropdown.contains(te.target))return;const W=te.path||te.composedPath&&te.composedPath();te.target&&te.target.shadowRoot&&W&&W[0]&&this._select.contains(W[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsOrShowAddTagChange(te=[],W,ue){this._scrollToEndFired=!1,this.itemsLength=te.length,W&&te.length&&this.itemsLength++,this.virtualScroll()?this._updateItemsRange(ue):(this._setVirtualHeight(),this._updateItems(ue))}_updateItems(te){this.update.emit(this.items()),!1!==te&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{const W=this._scrollablePanel().clientHeight;this._panelService.setDimensions(0,W),this._handleDropdownPosition(),this.scrollTo(this.markedItem(),te)})})}_updateItemsRange(te){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{te?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(te){this.virtualScroll()&&this._renderItemsRange(te),this._lastScrollPosition=te,this._fireScrollToEnd(te)}_updateVirtualHeight(te){this._updateScrollHeight&&(this._virtualPadding().style.height=`${te}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding()&&(this._virtualPadding().style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(te=null){if(te&&this._lastScrollPosition===te)return;te=te||this._scrollablePanel().scrollTop;const W=this._panelService.calculateItems(te,this.itemsLength,this.bufferAmount());this._updateVirtualHeight(W.scrollHeight),this._contentPanel().style.transform=`translateY(${W.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items().slice(W.start,W.end)),this.scroll.emit({start:W.start,end:W.end})}),gt(te)&&0===this._lastScrollPosition&&(this._scrollablePanel().scrollTop=te,this._lastScrollPosition=te)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[te]=this.items();return this.update.emit([te]),Promise.resolve().then(()=>{const ue=this._dropdown.querySelector(`#${te.htmlId}`).clientHeight;this._virtualPadding().style.height=ue*this.itemsLength+"px";const _e=this._scrollablePanel().clientHeight;return this._panelService.setDimensions(ue,_e),this._panelService.dimensions})}_fireScrollToEnd(te){if(this._scrollToEndFired||0===te)return;const W=this.virtualScroll()?this._virtualPadding():this._contentPanel();te+this._dropdown.clientHeight>=W.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(te){const W=this.position();if("auto"!==W)return W;const ue=this._select.getBoundingClientRect(),_e=document.documentElement.scrollTop||document.body.scrollTop;return ue.top+window.pageYOffset+ue.height+te.getBoundingClientRect().height>_e+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo()){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo()):document.querySelector(this.appendTo()),!this._parent)throw new Error(`appendTo selector ${this.appendTo()} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const te=this._select.getBoundingClientRect(),W=this._parent.getBoundingClientRect(),ue="rtl"===document.documentElement.dir,_e=te.left-W.left;ue?(this._dropdown.style.right=W.right-te.right+"px",this._dropdown.style.left="auto"):(this._dropdown.style.left=_e+"px",this._dropdown.style.right="auto"),this._dropdown.style.width=te.width+"px",this._dropdown.style.minWidth=te.width+"px"}_updateYPosition(){const te=this._select.getBoundingClientRect(),W=this._parent.getBoundingClientRect(),_e=this._select.querySelector(".ng-select-container")?.getBoundingClientRect()??te;"top"===this._currentPosition?(this._dropdown.style.bottom=W.bottom-_e.top+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=_e.bottom-W.top+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,E.R)(this._dropdown,"mousedown").pipe((0,A.pQ)(this._destroyRef)).subscribe(te=>{"INPUT"!==te.target.tagName&&te.preventDefault()})})}_handleWindowScroll(){!this.appendTo()&&!this.popover()||this._zone.runOutsideAngular(()=>{(0,E.R)(this._document,"scroll",{capture:!0,passive:!0}).pipe((0,A.pQ)(this._destroyRef),(0,h.Z)(0,gr)).subscribe(()=>{this._updateXPosition(),this._updateYPosition()})})}_showPopoverIfNeeded(){this.popover()&&"function"==typeof this._dropdown.showPopover&&(this._renderer.setAttribute(this._dropdown,"popover","manual"),this._dropdown.showPopover(),this._parent=globalThis.document.body,this._updateXPosition(),this._updateYPosition())}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275cmp=o.VBU({type:Ge,selectors:[["ng-dropdown-panel"]],viewQuery:function(W,ue){1&W&&o.wEZ(ue.contentElementRef,C,5,o.aKT)(ue.scrollElementRef,V,5,o.aKT)(ue.paddingElementRef,B,5,o.aKT),2&W&&o.NyB(3)},inputs:{items:[1,"items"],showAddTag:[1,"showAddTag"],markedItem:[1,"markedItem"],position:[1,"position"],appendTo:[1,"appendTo"],bufferAmount:[1,"bufferAmount"],virtualScroll:[1,"virtualScroll"],headerTemplate:[1,"headerTemplate"],footerTemplate:[1,"footerTemplate"],filterValue:[1,"filterValue"],ariaLabelDropdown:[1,"ariaLabelDropdown"],outsideClickEvent:[1,"outsideClickEvent"],popover:[1,"popover"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[o.OA$],ngContentSelectors:Q,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(W,ue){1&W&&(o.NAR(),o.nVh(0,ce,2,4,"div",3),o.j41(1,"div",4,0),o.nrm(3,"div",null,1),o.j41(5,"div",null,2),o.SdG(7),o.k0s()(),o.nVh(8,be,2,4,"div",5)),2&W&&(o.vxM(ue.headerTemplate()?0:-1),o.R7$(),o.BMQ("aria-label",ue.ariaLabelDropdown()),o.R7$(2),o.AVh("total-padding",ue.virtualScroll()),o.R7$(2),o.AVh("scrollable-content",ue.virtualScroll()&&ue.items().length),o.R7$(3),o.vxM(ue.footerTemplate()?8:-1))},dependencies:[N.T3],encapsulation:2,changeDetection:0})}}return Ge})(),Ot=(()=>
1{class Ge{constructor(){this.value=(0,l.hFB)(),this.disabled=(0,l.hFB)(!1,{transform:l.L39}),this.elementRef=(0,u.WQX)(o.aKT),this.label=(0,u.vPA)(""),this.isInitialized=(0,u.vPA)(!1),(0,o.WeM)(()=>{const te=(this.elementRef.nativeElement.innerHTML||"").trim();te!==this.label()&&this.label.set(te)})}ngOnInit(){this.isInitialized.set(!0)}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275cmp=o.VBU({type:Ge,selectors:[["ng-option"]],inputs:{value:[1,"value"],disabled:[1,"disabled"]},ngContentSelectors:Q,decls:1,vars:0,template:function(W,ue){1&W&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})}}return Ge})();var Vt=function(Ge){return Ge.Tab="Tab",Ge.Enter="Enter",Ge.Esc="Escape",Ge.Space=" ",Ge.ArrowUp="ArrowUp",Ge.ArrowDown="ArrowDown",Ge.Backspace="Backspace",Ge}(Vt||{});function dt(){return new ft}class ft{constructor(){this._selected=[]}get value(){return this._selected}select(Ve,te,W){if(Ve.selected=!0,(!Ve.children||!te&&W)&&this._selected.push(Ve),te)if(Ve.parent){const ue=Ve.parent.children.length,_e=Ve.parent.children.filter(Se=>Se.selected).length;Ve.parent.selected=ue===_e}else Ve.children&&(this._setChildrenSelectedState(Ve.children,!0),this._removeChildren(Ve),this._selected=W&&this._activeChildren(Ve)?[...this._selected.filter(ue=>ue.parent!==Ve),Ve]:[...this._selected,...Ve.children.filter(ue=>!ue.disabled)])}unselect(Ve,te){if(this._selected=this._selected.filter(W=>W!==Ve),Ve.selected=!1,te)if(Ve.parent&&Ve.parent.selected){const W=Ve.parent.children;this._removeParent(Ve.parent),this._removeChildren(Ve.parent),this._selected.push(...W.filter(ue=>ue!==Ve&&!ue.disabled)),Ve.parent.selected=!1}else Ve.children&&(this._setChildrenSelectedState(Ve.children,!1),this._removeChildren(Ve))}clear(Ve){this._selected=Ve?this._selected.filter(te=>te.disabled):[]}_setChildrenSelectedState(Ve,te){for(const W of Ve)W.disabled||(W.selected=te)}_removeChildren(Ve){this._selected=[...this._selected.filter(te=>te.parent!==Ve),...Ve.children.filter(te=>te.parent===Ve&&te.disabled&&te.selected)]}_removeParent(Ve){this._selected=this._selected.filter(te=>te!==Ve)}_activeChildren(Ve){return Ve.children.every(te=>!te.disabled||te.selected)}}const Xt=new u.nKC("ng-select-selection-model");let fn=(()=>{class Ge{constructor(){this.classes=(0,u.WQX)(new l.ES_("class"),{optional:!0}),this.config=(0,u.WQX)(sn),this._cd=(0,u.WQX)(l.gRc),this._console=(0,u.WQX)(An),this._destroyRef=(0,u.WQX)(u.abz),this._disabled=(0,u.vPA)(!1),this._ariaLabelDropdown=(0,l.hFB)(void 0,{alias:"ariaLabelDropdown"}),this.ariaLabelDropdown=(0,R.uu)(()=>this._ariaLabelDropdown()),this._ariaLabel=(0,l.hFB)(void 0,{alias:"ariaLabel"}),this.ariaLabel=(0,R.uu)(()=>this._ariaLabel()),this._markFirst=(0,l.hFB)(!0,{alias:"markFirst",transform:l.L39}),this.markFirst=(0,R.uu)(()=>this._markFirst()),this._placeholder=(0,l.hFB)(this.config.placeholder,{alias:"placeholder"}),this.placeholder=(0,R.uu)(()=>this._placeholder()),this._fixedPlaceholder=(0,l.hFB)(!0,{alias:"fixedPlaceholder"}),this.fixedPlaceholder=(0,R.uu)(()=>this._fixedPlaceholder()),this._notFoundText=(0,l.hFB)(void 0,{alias:"notFoundText"}),this.notFoundText=(0,R.uu)(()=>this._notFoundText()),this._typeToSearchText=(0,l.hFB)(void 0,{alias:"typeToSearchText"}),this.typeToSearchText=(0,R.uu)(()=>this._typeToSearchText()),this._preventToggleOnRightClick=(0,l.hFB)(!1,{alias:"preventToggleOnRightClick"}),this.preventToggleOnRightClick=(0,R.uu)(()=>this._preventToggleOnRightClick()),this._addTagText=(0,l.hFB)(void 0,{alias:"addTagText"}),this.addTagText=(0,R.uu)(()=>this._addTagText()),this._loadingText=(0,l.hFB)(void 0,{alias:"loadingText"}),this.loadingText=(0,R.uu)(()=>this._loadingText()),this._clearAllText=(0,l.hFB)(void 0,{alias:"clearAllText"}),this.clearAllText=(0,R.uu)(()=>this._clearAllText()),this._dropdownPosition=(0,l.hFB)("auto",{alias:"dropdownPosition"}),this.dropdownPosition=(0,R.uu)(()=>this._dropdownPosition()),this._appendTo=(0,l.hFB)(void 0,{alias:"appendTo"}),this.appendTo=(0,R.uu)(()=>this._appendTo()),this._outsideClickEvent=(0,l.hFB)(this.config.outsideClickEvent,{al
1ias:"outsideClickEvent"}),this.outsideClickEvent=(0,R.uu)(()=>this._outsideClickEvent()),this._loading=(0,l.hFB)(!1,{alias:"loading",transform:l.L39}),this.loading=(0,R.uu)(()=>this._loading()),this._closeOnSelect=(0,l.hFB)(!0,{alias:"closeOnSelect",transform:l.L39}),this.closeOnSelect=(0,R.uu)(()=>this._closeOnSelect()),this._hideSelected=(0,l.hFB)(!1,{alias:"hideSelected",transform:l.L39}),this.hideSelected=(0,R.uu)(()=>this._hideSelected()),this._selectOnTab=(0,l.hFB)(!1,{alias:"selectOnTab",transform:l.L39}),this.selectOnTab=(0,R.uu)(()=>this._selectOnTab()),this._openOnEnter=(0,l.hFB)(void 0,{alias:"openOnEnter",transform:l.L39}),this.openOnEnter=(0,R.uu)(()=>this._openOnEnter()),this._maxSelectedItems=(0,l.hFB)(void 0,{alias:"maxSelectedItems",transform:l.Udg}),this.maxSelectedItems=(0,R.uu)(()=>this._maxSelectedItems()),this._groupBy=(0,l.hFB)(void 0,{alias:"groupBy"}),this.groupBy=(0,R.uu)(()=>this._groupBy()),this._groupValue=(0,l.hFB)(void 0,{alias:"groupValue"}),this.groupValue=(0,R.uu)(()=>this._groupValue()),this._bufferAmount=(0,l.hFB)(4,{alias:"bufferAmount",transform:l.Udg}),this.bufferAmount=(0,R.uu)(()=>this._bufferAmount()),this._virtualScroll=(0,l.hFB)(void 0,{alias:"virtualScroll",transform:l.L39}),this.virtualScroll=(0,R.uu)(()=>this._virtualScroll()),this._selectableGroup=(0,l.hFB)(!1,{alias:"selectableGroup",transform:l.L39}),this.selectableGroup=(0,R.uu)(()=>this._selectableGroup()),this._tabFocusOnClearButton=(0,l.hFB)(void 0,{alias:"tabFocusOnClearButton"}),this.tabFocusOnClearButton=(0,R.uu)(()=>this._tabFocusOnClearButton()),this._selectableGroupAsModel=(0,l.hFB)(!0,{alias:"selectableGroupAsModel",transform:l.L39}),this.selectableGroupAsModel=(0,R.uu)(()=>this._selectableGroupAsModel()),this._searchFn=(0,l.hFB)(null,{alias:"searchFn"}),this.searchFn=(0,R.uu)(()=>this._searchFn()),this._trackByFn=(0,l.hFB)(null,{alias:"trackByFn"}),this.trackByFn=(0,R.uu)(()=>
1this._trackByFn()),this._clearOnBackspace=(0,l.hFB)(!0,{alias:"clearOnBackspace",transform:l.L39}),this.clearOnBackspace=(0,R.uu)(()=>this._clearOnBackspace()),this._labelForId=(0,l.hFB)(null,{alias:"labelForId"}),this.labelForId=(0,R.uu)(()=>this._labelForId()),this._inputAttrs=(0,l.hFB)({},{alias:"inputAttrs"}),this.inputAttrs=(0,R.uu)(()=>this._inputAttrs()),this._tabIndex=(0,l.hFB)(void 0,{alias:"tabIndex",transform:l.Udg}),this.tabIndex=(0,R.uu)(()=>this._tabIndex()),this._readonly=(0,l.hFB)(!1,{alias:"readonly",transform:l.L39}),this.readonly=(0,R.uu)(()=>this._readonly()),this._searchWhileComposing=(0,l.hFB)(!0,{alias:"searchWhileComposing",transform:l.L39}),this.searchWhileComposing=(0,R.uu)(()=>this._searchWhileComposing()),this._minTermLength=(0,l.hFB)(0,{alias:"minTermLength",transform:l.Udg}),this.minTermLength=(0,R.uu)(()=>this._minTermLength()),this._editableSearchTerm=(0,l.hFB)(!1,{alias:"editableSearchTerm",transform:l.L39}),this.editableSearchTerm=(0,R.uu)(()=>this._editableSearchTerm()),this._ngClass=(0,l.hFB)(null,{alias:"ngClass"}),this.ngClass=(0,R.uu)(()=>this._ngClass()),this._typeahead=(0,l.hFB)(void 0,{alias:"typeahead"}),this.typeahead=(0,R.uu)(()=>this._typeahead()),this._multiple=(0,l.hFB)(!1,{alias:"multiple",transform:l.L39}),this.multiple=(0,R.uu)(()=>this._multiple()),this._addTag=(0,l.hFB)(!1,{alias:"addTag"}),this.addTag=(0,R.uu)(()=>this._addTag()),this._searchable=(0,l.hFB)(!0,{alias:"searchable",transform:l.L39}),this.searchable=(0,R.uu)(()=>this._searchable()),this._clearable=(0,l.hFB)(!0,{alias:"clearable",transform:l.L39}),this.clearable=(0,R.uu)(()=>this._clearable()),this._clearKeepsDisabledOptions=(0,l.hFB)(!0,{alias:"clearKeepsDisabledOptions",transform:l.L39}),this.clearKeepsDisabledOptions=(0,R.uu)(()=>this._clearKeepsDisabledOptions()),this._deselectOnClick=(0,l.hFB)(void 0,{alias:"deselectOnClick"}),this.deselectOnClick=(0,R.uu)(()=>this._deselectOnClick()),this._clearSearchOnAdd=(0,l.hFB)(void 0,{alias:"clearSearchOnAdd"}),this.clearSearchOnAdd=(0,R.uu)(()=>this._clearSearchOnAdd()),this._compareWith=(0,l.hFB)(void 0,{alias:"compareWith",transform:_e=>{if(null!=_e&&!In(_e))throw Error("`compareWith` must be a function.");return _e}}),this.compareWith=(0,R.uu)(()=>this._compareWith()),this._keyDownFn=(0,l.hFB)(_e=>!0,{alias:"keyDownFn"}),this.keyDownFn=(0,R.uu)(()=>this._keyDownFn()),this._popover=(0,l.hFB)(!1,{alias:"popover",transform:l.L39}),this.popover=(0,R.uu)(()=>this._popover()),this.bindLabel=(0,l.geq)(void 0),this.bindValue=(0,l.geq)(void 0),this.appearance=(0,l.geq)(void 0),this.isOpen=(0,l.geq)(!1),this.items=(0,l.geq)([]),this.blurEvent=(0,l.CGW)({alias:"blur"}),this.focusEvent=(0,l.CGW)({alias:"focus"}),this.changeEvent=(0,l.CGW)({alias:"change"}),this.openEvent=(0,l.CGW)({alias:"open"}),this.closeEvent=(0,l.CGW)({alias:"close"}),this.searchEvent=(0,l.CGW)({alias:"search"}),this.clearEvent=(0,l.CGW)({alias:"clear"}),this.addEvent=(0,l.CGW)({alias:"add"}),this.removeEvent=(0,l.CGW)({alias:"remove"}),this.scroll=(0,l.CGW)({alias:"scroll"}),this.scrollToEnd=(0,l.CGW)({alias:"scrollToEnd"}),this.disabled=(0,R.EW)(()=>this.readonly()||this._disabled()),this.clearSearchOnAddValue=(0,R.EW)(()=>gt(this.clearSearchOnAdd())?this.clearSearchOnAdd():gt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect()),this.deselectOnClickValue=(0,R.EW)(()=>gt(this.deselectOnClick())?this.deselectOnClick():gt(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple()),this.optionTemplate=(0,l.sbv)(kn,{read:o.C4Q}),this.optgroupTemplate=(0,l.sbv)(Bn,{read:o.C4Q}),this.labelTemplate=(0,l.sbv)(Cr,{read:o.C4Q}),this.multiLabelTemplate=(0,l.sbv)(En,{read:o.C4Q}),this.headerTemplate=(0,l.sbv)(hn,{read:o.C4Q}),this.footerTemplate=(0,l.sbv)(Kn,{read:o.C4Q}),this.notFoundTemplate=(0,l.sbv)(xe,{read:o.C4Q}),this.placeholderTemplate=(0,l.sbv)(ve,{read:o.C4Q}),this.typeToSearchTemplate=(0,l.sbv)(Fe,{read:o.C4Q}),this.loadingTextTemplate=(0,l.sbv)(He,{read:o.C4Q}),this.tagTemplate=(0,l.sbv)(mt,{read:o.C4Q}),this.loadingSpinnerTemplate=(0,l.sbv)(Rt,{read:o.C4Q}),this.clearButtonTemplate=(0,l.sbv)(Qt,{read:o.C4Q}),this.ngOptions=(0,l.tEk)(Ot,{descendants:!0}),this.dropdownPanel=(0,l.ebz)((0,u.Rfq)(()=>Rr)),this.searchInput=(0,l.ebz)("searchInput"),this.clearButton=(0,l.ebz)("clearButton"),this.dropdownId=Ln(),this.escapeHTML=!0,this.viewPortItems=[],this.tabFocusOnClear=(0,u.vPA)(!0),this.autoFocus=(0,u.WQX)(new l.ES_("autofocus"),{optional:!0}),this._defaultLabel="label",this._editableSearchTermActive=(0,R.EW)(()=>this.editableSearchTerm()&&!this.multiple()),this._injector=(0,u.WQX)(u.zZn),this._isComposing=!1,this._keyPress$=new w.B,this._pressedKeys=[],this._searchTerm=(0,u.vPA)(null),this._val
1idTerm=(0,R.EW)(()=>{const _e=this._searchTerm()?.trim();return _e&&_e.length>=this.minTermLength()}),this.clearItem=_e=>{const Se=this.selectedItems.find(Dt=>Dt.value===_e);this.unselect(Se)},this.trackByOption=(_e,Se)=>this.trackByFn()?this.trackByFn()(Se.value):Se,this._onChange=_e=>{},this._onTouched=()=>{};const te=this.config,W=(0,u.WQX)(Xt,{optional:!0}),ue=(0,u.WQX)(o.aKT);this._mergeGlobalConfig(te),this.itemsList=new ar(this,W?W():dt()),this.element=ue.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable()||this._isComposing}get focused(){return this._focused}get searchTerm(){return this._searchTerm()}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(te=>te.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel())return this.dropdownPanel().currentPosition}get showAddTag(){if(!this._validTerm())return!1;const te=this.searchTerm.toLowerCase().trim();return this.addTag()&&!this.itemsList.filteredItems.some(W=>W.label.toLowerCase()===te)&&(!this.hideSelected()&&this.isOpen()||!this.selectedItems.some(W=>W.label.toLowerCase()===te))&&!this.loading()}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(te){te.multiple&&this.itemsList.clearSelected(!1),te.items&&(this._itemsAreUsed=!0,this._setItems(te.items.currentValue||[])),te.isOpen&&(this._manualOpen=gt(te.isOpen.currentValue)),te.groupBy&&(te.items||this._setItems([...this.items()])),te.inputAttrs&&this._setInputAttributes(),this._setTabFocusOnClear()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),gt(this.autoFocus)&&this.focus()}handleKeyDown(te){const W=te.key;if(Object.values(Vt).includes(W)){if(!1===this.keyDownFn()(te))return;this.handleKeyCode(te)}else W&&1===W.length&&this._keyPress$.next(W.toLocaleLowerCase())}handleKeyCode(te){const W=te.target;this.clearButton()&&this.clearButton().nativeElement===W?this.handleKeyCodeClear(te):this.handleKeyCodeInput(te)}handleKeyCodeInput(te){switch(te.key){case Vt.ArrowDown:this._handleArrowDown(te);break;case Vt.ArrowUp:this._handleArrowUp(te);break;case Vt.Space:this._handleSpace(te);break;case Vt.Enter:this._handleEnter(te);break;case Vt.Tab:this._handleTab(te);break;case Vt.Esc:this.close(),te.preventDefault();break;case Vt.Backspace:this._handleBackspace()}}handleKeyCodeClear(te){te.key===Vt.Enter&&(this.handleClearClick(),te.preventDefault())}handleMousedown(te){if(this.disabled())return;if(this.preventToggleOnRightClick()&&2===te.button)return!1;const W=te.target;if("INPUT"!==W.tagName&&te.preventDefault(),!W.classList.contains("ng-clear-wrapper")){if(W.classList.contains("ng-arrow-wrapper"))return void this.handleArrowClick();W.classList.contains("ng-value-icon")||(this._focused||this.focus(),this.searchable()?this.open():this.toggle())}}handleArrowClick(){this.isOpen()?this.close():this.open()}handleClearClick(te){this.hasValue&&(this.itemsList.clearSelected(this.clearKeepsDisabledOptions()),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable()&&(this.itemsList.clearSelected(!1),this._updateNgModel())}writeValue(te){this.itemsList.clearSelected(!1),this._handleWriteValue(te),this._editableSearchTermActive()&&this._setSearchTermFromItems(),this._cd.markForCheck()}registerOnChange(te){this._onChange=te}registerOnTouched(te){this._onTouched=te}setDisabledState(te){this._disabled.set(te),this._cd.markForCheck()}toggle(){this.isOpen()?this.close():this.open()}open(){this.disabled()||this.isOpen()||this._manualOpen||!this.typeahead()?.observed&&!this.addTag()&&this.itemsList.noItemsToSelect||(this.isOpen.set(!0),this.itemsList.markSelectedOrDefault(this.markFirst()),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen()||this._manualOpen||(this.isOpen.set(!1),this._isComposing=!1,this._editableSearchTermActive()?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this.detectChanges())}toggleItem(te){!te||te.disabled||this.disabled()||(this.deselectOnClickValue()&&te.selected?this.unselect(te):this.select(te),this._editableSearchTermActive()&&this._setSearchTermFromItems())}select(te){te.selected||(this.itemsList.select(te),this.clearSearchOnAddValue()&&!this._editableSearchTermActive()&&this._clearSearch(),this._updateNgModel(),this.multiple()&&this.addEvent.emit(te.value)),(this.closeOnSelect()||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput().nativeElement.focus()}blur(){this.searchInput().nativeElement.blur()}unselect(te){te&&(this.itemsList.unselect(te),this.focus(),this._updateNgModel(),this.removeEvent.emit(te.value),this._onSelectionChanged())}selectTag(){let te;te=In(this.addTag())?this.addTag()(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel()]:this.searchTerm};const W=ue=>this.typeahead()?.observed||!this.isOpen()?this.itemsList.mapItem(ue,null):this.itemsList.addItem(ue);!function dn(Ge){return Ge instanceof Promise}(te)?te&&this.select(W(te)):te.then(ue=>this.select(W(ue))).catch(()=>{})}showClear(){return this.clearable()&&(this.hasValue||this.searchTerm)&&!this.disabled()}focusOnClear(){this.blur(),this.clearButton()&&this.clearButton().nativeElement.focus()}showNoItemsFound(){const te=0===this.itemsList.filteredItems.length;
1return(te&&!this.typeahead()?.observed&&!this.loading()||te&&this.typeahead()?.observed&&this._validTerm()&&!this.loading())&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this.typeahead()?.observed&&!this._validTerm()&&!this.loading()}onCompositionStart(){this._isComposing=!0}onCompositionEnd(te){this._isComposing=!1,!this.searchWhileComposing()&&this.filter(te)}filter(te){this._isComposing&&!this.searchWhileComposing()||(this._searchTerm.set(te),this.typeahead()?.observed&&(this._validTerm()||0===this.minTermLength())&&this.typeahead().next(te),this.typeahead()?.observed||(this.itemsList.filter(te),this.isOpen()&&this.itemsList.markSelectedOrDefault(this.markFirst())),this.searchEvent.emit({term:te,items:this.itemsList.filteredItems.map(W=>W.value)}),this.open())}onInputFocus(te){this._focused||(this._editableSearchTermActive()&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(te),this._focused=!0)}onInputBlur(te){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(te),!this.isOpen()&&!this.disabled()&&this._onTouched(),this._editableSearchTermActive()&&this._setSearchTermFromItems(),this._focused=!1}onItemHover(te){te.disabled||this.itemsList.markItem(te)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const te=this.selectedItems?.[0];this._searchTerm.set(te?.label??null)}_setItems(te){const W=te[0];this.bindLabel.set(this.bindLabel()||this._defaultLabel),this._primitive=gt(W)?!It(W):this._primitive||this.bindLabel()===this._defaultLabel,this.itemsList.setItems(te),te.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen()&>(this.searchTerm)&&!this.typeahead()?.observed&&this.itemsList.filter(this.searchTerm),(this.typeahead()?.observed||this.isOpen())&&this.itemsList.markSelectedOrDefault(this.markFirst())}_setItemsFromNgOptions(){(0,u.QZP)(()=>{const te=this.ngOptions();if(te.length>0&&!te.every(ue=>ue.isInitialized()))return;this.bindLabel.set(this._defaultLabel);const W=te.map(ue=>({$ngOptionValue:ue.value(),$ngOptionLabel:ue.elementRef.nativeElement.innerHTML,disabled:ue.disabled()}))??[];this.items.set(W),this.itemsList.setItems(W),this.hasValue&&this.itemsList.mapSelectedItems(),this._cd.detectChanges(),te.map(ue=>({option:ue,item:this.itemsList.findItem(ue.value())})).filter(({item:ue})=>gt(ue)).forEach(({option:ue,item:_e})=>{_e.disabled=ue.disabled(),_e.label=ue.label()||_e.label})},{injector:this._injector})}_isValidWriteValue(te){if(!gt(te)||this.multiple()&&""===te||Array.isArray(te)&&0===te.length)return!1;const W=ue=>!(!gt(this.compareWith())&&It(ue)&&this.bindValue()&&(this._console.warn(`Setting object(${JSON.stringify(ue)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple()?Array.isArray(te)?te.every(ue=>W(ue)):(this._console.warn("Multiple select ngModel should be array."),!1):W(te)}_handleWriteValue(te){if(!this._isValidWriteValue(te))return;const W=ue=>{let _e=this.itemsList.findItem(ue);if(_e)this.itemsList.select(_e);else{const Se=It(ue),Dt=!Se&&!this.bindValue();Se||Dt?this.itemsList.select(this.itemsList.mapItem(ue,null)):this.bindValue()&&(_e={[this.bindLabel()]:null,[this.bindValue()]:ue},this.itemsList.select(this.itemsList.mapItem(_e,null)))}};this.multiple()?te.forEach(ue=>W(ue)):W(te)}_handleKeyPresses(){this.searchable()||this._keyPress$.pipe((0,A.pQ)(this._destroyRef),(0,b.M)(te=>this._pressedKeys.push(te)),(0,f.B)(200),(0,y.p)(()=>this._pressedKeys.length>0),(0,H.T)(()=>this._pressedKeys.join(""))).subscribe(te=>{const W=this.itemsList.findByLabel(te);W&&(this.isOpen()?W.disabled||(this.itemsList.markItem(W),this._scrollToMarked(),this._cd.markForCheck()):this.select(W)),this._pressedKeys=[]})}_setInputAttributes(){const te=this.searchInput().nativeElement,W={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId,...this.inputAttrs()};for(const ue of Object.keys(W))te.setAttribute(ue,W[ue])}_setTabFocusOnClear(){this.tabFocusOnClear.set(gt(this.tabFocusOnClearButton())?!!this.tabFocusOnClearButton():this.config.tabFocusOnClear)}_updateNgModel(){const te=[];for(const ue of this.selectedItems)if(this.bindValue()){let _e=null;if(ue.children){const Se=this.groupValue()?this.bindValue():this.groupBy();_e=ue.value[Se||this.groupBy()]}else _e=this.itemsList.resolveNested(ue.value,this.bindValue());te.push(_e)}else te.push(ue.value);const W=this.selectedItems.map(ue=>ue.value);this.multiple()?(this._onChange(te),this.changeEvent.emit(W)):(this._onChange(gt(te[0])?te[0]:null),this.changeEvent.emit(W[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(te){this._searchTerm.set(te),this.typeahead()?.observed&&this.typeahead().next(te)}_scrollToMarked(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen()||!this.dropdownPanel()||this.dropdownPanel().scrollToTag()}_onSelectionChanged(){const te=this.appendTo()??this.config.appendTo;this.isOpen()&&this.deselectOnClickValue()&&te&&(this._cd.detectChanges(),this.dropdownPanel().adjustPosition())}_handleTab(te){if(!1===this.isOpen())if(this.showClear()&&!te.shiftKey&&this.tabFocusOnClear())this.focusOnClear(),te.preventDefault();else if(!this.addTag())return;this.selectOnTab()?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),te.preventDefault()):this.showAddTag?(this.selectTag(),te.preventDefault()):this.close():this.close()}_handleEnter(te){const W=this.openOnEnter()??this.config.openOnEnter;if(this.isOpen()||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!W)return;this.open()}te.preventDefault()}_handleSpace(te){this.isOpen()||this._manualOpen||(this.open(),te.preventDefault())}_handleArrowDown(te){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),te.preventDefault()}_handleArrowUp(te){this.isOpen()&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),te.preventDefault())}_nextItemIsTag(te){const W=this.itemsList.markedIndex+te;return this.addTag()&&this.searchTerm&&this.itemsList.markedItem&&(W<0||W===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable()||!this.clearOnBackspace()||!this.hasValue||(this.multiple()?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(te){this.bindValue.set(this.bindValue()||te.bindValue),this.bindLabel.set(this.bindLabel()||te.bindLabel),this.appearance.set(this.appearance()||te.appearance),this._setTabFocusOnClear()}getVirtualScroll(te){return gt(this.virtualScroll)?this.virtualScroll():this.isVirtualScrollDisabled(te)}isVirtualScrollDisabled(te){return!!gt(te.disableVirtualScroll)&&!te.disableVirtualScroll}static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275cmp=o.VBU({type:Ge,selectors:[["ng-select"]],contentQueries:function(W,ue,_e){1&W&&o.C6U(_e,ue.optionTemplate,kn,5,o.C4Q)(_e,ue.optgroupTemplate,Bn,5,o.C4Q)(_e,ue.labelTemplate,Cr,5,o.C4Q)(_e,ue.multiLabelTemplate,En,5,o.C4Q)(_e,ue.headerTemplate,hn,5,o.C4Q)(_e,ue.footerTemplate,Kn,5,o.C4Q)(_e,ue.notFoundTemplate,xe,5,o.C4Q)(_e,ue.placeholderTemplate,ve,5,o.C4Q)(_e,ue.typeToSearchTemplate,Fe,5,o.C4Q)(_e,ue.loadingTextTemplate,He,5,o.C4Q)(_e,ue.tagTemplate,mt,5,o.C4Q)(_e,ue.loadingSpinnerTemplate,Rt,5,o.C4Q)(_e,ue.clearButtonTemplate,Qt,5,o.C4Q)(_e,ue.ngOptions,Ot,5),2&W&&o.NyB(14)},viewQuery:function(W,ue){1&W&&o.wEZ(ue.dropdownPanel,Rr,5)(ue.searchInput,Te,5)(ue.clearButton,we,5),2&W&&o.NyB(3)},hostVars:20,hostBindings:function(W,ue){1&W&&o.bIt("keydown",function(Se){return ue.handleKeyDown(Se)}),2&W&&o.AVh("ng-select",!0)("ng-select-single",!ue.multiple())("ng-select-typeahead",ue.typeahead())("ng-select-multiple",ue.multiple())("ng-select-taggable",ue.addTag())("ng-select-searchable",ue.searchable())("ng-select-clearable",ue.clearable())("ng-select-opened",ue.isOpen())("ng-select-filtered",ue.filtered)("ng-select-disabled",ue.disabled())},inputs:{_ariaLabelDropdown:[1,"ariaLabelDropdown","_ariaLabelDropdown"],_ariaLabel:[1,"ariaLabel","_ariaLabel"],_markFirst:[1,"markFirst","_markFirst"],_placeholder:[1,"placeholder","_placeholder"],_fixedPlaceholder:[1,"f
1ixedPlaceholder","_fixedPlaceholder"],_notFoundText:[1,"notFoundText","_notFoundText"],_typeToSearchText:[1,"typeToSearchText","_typeToSearchText"],_preventToggleOnRightClick:[1,"preventToggleOnRightClick","_preventToggleOnRightClick"],_addTagText:[1,"addTagText","_addTagText"],_loadingText:[1,"loadingText","_loadingText"],_clearAllText:[1,"clearAllText","_clearAllText"],_dropdownPosition:[1,"dropdownPosition","_dropdownPosition"],_appendTo:[1,"appendTo","_appendTo"],_outsideClickEvent:[1,"outsideClickEvent","_outsideClickEvent"],_loading:[1,"loading","_loading"],_closeOnSelect:[1,"closeOnSelect","_closeOnSelect"],_hideSelected:[1,"hideSelected","_hideSelected"],_selectOnTab:[1,"selectOnTab","_selectOnTab"],_openOnEnter:[1,"openOnEnter","_openOnEnter"],_maxSelectedItems:[1,"maxSelectedItems","_maxSelectedItems"],_groupBy:[1,"groupBy","_groupBy"],_groupValue:[1,"groupValue","_groupValue"],_bufferAmount:[1,"bufferAmount","_bufferAmount"],_virtualScroll:[1,"virtualScroll","_virtualScroll"],_selectableGroup:[1,"selectableGroup","_selectableGroup"],_tabFocusOnClearButton:[1,"tabFocusOnClearButton","_tabFocusOnClearButton"],_selectableGroupAsModel:[1,"selectableGroupAsModel","_selectableGroupAsModel"],_searchFn:[1,"searchFn","_searchFn"],_trackByFn:[1,"trackByFn","_trackByFn"],_clearOnBackspace:[1,"clearOnBackspace","_clearOnBackspace"],_labelForId:[1,"labelForId","_labelForId"],_inputAttrs:[1,"inputAttrs","_inputAttrs"],_tabIndex:[1,"tabIndex","_tabIndex"],_readonly:[1,"readonly","_readonly"],_searchWhileComposing:[1,"searchWhileComposing","_searchWhileComposing"],_minTermLength:[1,"minTermLength","_minTermLength"],_editableSearchTerm:[1,"editableSearchTerm","_editableSearchTerm"],_ngClass:[1,"ngClass","_ngClass"],_typeahead:[1,"typeahead","_typeahead"],_multiple:[1,"multiple","_multiple"],_addTag:[1,"addTag","_addTag"],_searchable:[1,"searchable","_searchable"],_clearable:[1,"clearable","_clearable"],_clearKeepsDisabledOptions:[1,"clearKeepsDisabledOptions","_clearKeepsDisabledOptions"],_deselectOnClick:[1,"deselectOnClick","_deselectOnClick"],_clearSearchOnAdd:[1,"clearSearchOnAdd","_clearSearchOnAdd"],_compareWith:[1,"compareWith","_compareWith"],_keyDownFn:[1,"keyDownFn","_keyDownFn"],_popover:[1,"popover","_popover"],bindLabel:[1,"bindLabel"],bindValue:[1,"bindValue"],appearance:[1,"appearance"],isOpen:[1,"isOpen"],items:[1,"items"]},outputs:{bindLabel:"bindLabelChange",bindValue:"bindValueChange",appearance:"appearanceChange",isOpen:"isOpenChange",items:"itemsChange",blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["ngSelect"],features:[o.Jv_([{provide:v.kq,useExisting:(0,u.Rfq)(()=>Ge),multi:!0},lr]),o.OA$],decls:15,vars:22,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","ng-select-multiple","class","id","ariaLabelDropdown","popover"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"click","title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","outsideClickEvent","headerTemplate","footerTemplate","filterValue","items","showAddTag","markedItem","id","ariaLabelDropdown","popover"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(W,ue){if(1&W){const _e=o.RV6();o.j41(0,"div",10),o.bIt("mousedown",function(Dt){return ue.handleMousedown(Dt)}),o.j41(1,"div",11),o.nVh(2,et,3,1),o.nVh(3,se,2,0),o.nVh(4,Y,1,5,null,12),o.j41(5,"div",13)(6,"input",14,0),o.bIt("blur",function(Dt){return ue.onInputBlur(Dt)})("change",function(Dt){return Dt.stopPropagation()})("compositionend",function(){u.eBV(_e);const Dt=o.sdS(7);return u.Njj(ue.onCompositionEnd(Dt.value))})("compositionstart",function(){return ue.onCompositionStart()})("focus",function(Dt){return ue.onInputFocus(Dt)})("input",function(){u.eBV(_e);const Dt=o.sdS(7);return u.Njj(ue.filter(Dt.value))}),o.k0s()()(),o.nVh(8,ye,3,1),o.nVh(9,je,4,4,"span",15),o.j41(10,"span",16),o.nrm(11,"span",17),o.k0s()(),o.nVh(12,Sn,8,22,"ng-dropdown-panel",18),o.j41(13,"div",19),o.nVh(14,hr,1,1),o.k0s()}2&W&&(o.AVh("ng-appearance-outline","outline"===ue.appearance())("ng-appearance-fill","fill"===ue.appearance())("ng-has-value",ue.hasValue),o.R7$(2),o.vxM(0===ue.selectedItems.length&&!ue.searchTerm||(ue.fixedPlaceholder()??ue.config.fixedPlaceholder)?2:-1),o.R7$(),o.vxM(ue.multiLabelTemplate()&&ue.multiple()||!(ue.selectedItems.length>0)?-1:3),o.R7$(),o.vxM(ue.multiple()&&ue.multiLabelTemplate()&&ue.selectedValues.length>0?4:-1),o.R7$(2),o.Y8G("disabled",ue.disabled())("readOnly",!ue.searchable()||ue.itemsList.maxItemsSelected)("value",ue.searchTerm??""),o.BMQ("aria-activedescendant",ue.isOpen()?null==ue.itemsList||null==ue.itemsList.markedItem?null:ue.itemsList.markedItem.htmlId:null)("aria-controls",ue.isOpen()?ue.dropdownId:null)("aria-expanded",ue.isOpen())("aria-label",ue.ariaLabel())("id",ue.labelForId())("tabindex",ue.tabIndex()),o.R7$(2),o.vxM(ue.loading()?8:-1),o.R7$(),o.vxM(ue.
1showClear()?9:-1),o.R7$(3),o.vxM(ue.isOpen()?12:-1),o.R7$(2),o.vxM(ue.isOpen()&&ue.showNoItemsFound()?14:-1))},dependencies:[N.T3,Vn,Rr],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;
1cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}\n'],encapsulation:2,changeDetection:0})}}return Ge})(),Nn=(()=>{class Ge{static{this.\u0275fac=function(W){return new(W||Ge)}}static{this.\u0275mod=o.$C({type:Ge})}static{this.\u0275inj=u.G2t({providers:[{provide:Xt,useValue:dt}]})}}return Ge})()},3955(qe,P,c){"use strict";c.d(P,{D9:()=>Ct,Mm:()=>pt,Wr:()=>b,c$:()=>et,h:()=>st,kJ:()=>Te});var o=c(5157),u=c(5547),l=c(5802),R=c(4402),v=c(8793),w=c(9030),S=c(7468),L=c(7673),E=c(274),h=c(6354),f=c(9568),y=c(5558),H=c(6697);class b{}let N=(()=>{class se extends b{getTranslation(Y){return(0,L.of)({})}static \u0275fac=(()=>{let Y;return function(fe){return(Y||(Y=u.xGo(se)))(fe||se)}})();static \u0275prov=l.jDH({token:se,factory:se.\u0275fac})}return se})();class A{}let C=(()=>{class se{handle(Y){return Y.key}static \u0275fac=function(ee){return new(ee||se)};static \u0275prov=l.jDH({token:se,factory:se.\u0275fac})}return se})();function V(se,me){if(se===me)return!0;if(null===se||null===me)return!1;if(se!=se&&me!=me)return!0;let fe,ye,ge,Y=typeof se;if(Y==typeof me&&"object"==Y){if(!Array.isArray(se)){if(Array.isArray(me))return!1;for(ye in ge=Object.create(null),se){if(!V(se[ye],me[ye]))return!1;ge[ye]=!0}for(ye in me)if(!(ye in ge)&&typeof me[ye]<"u")return!1;return!0}if(!Array.isArray(me))return!1;if((fe=se.length)==me.length){for(ye=0;ye<fe;ye++)if(!V(se[ye],me[ye]))return!1;return!0}}return!1}function B(se){return typeof se<"u"&&null!==se}function Q(se){return se&&"object"==typeof se&&!Array.isArray(se)}function Z(se,me){let Y=Object.assign({},se);return Q(se)&&Q(me)&&Object.keys(me).forEach(ee=>{Q(me[ee])?ee in se?Y[ee]=Z(se[ee],me[ee]):Object.assign(Y,{[ee]:me[ee]}):Object.assign(Y,{[ee]:me[ee]})}),Y}class ce{}let be=(()=>{class se extends ce{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(Y,ee){let fe;return fe="string"==typeof Y?this.interpolateString(Y,ee):"function"==typeof Y?this.interpolateFunction(Y,ee):Y,fe}getValue(Y,ee){let fe="string"==typeof ee?ee.split("."):[ee];ee="";do{ee+=fe.shift(),!B(Y)||!B(Y[ee])||"object"!=typeof Y[ee]&&fe.length?fe.length?ee+=".":Y=void 0:(Y=Y[ee],ee="")}while(fe.length);return Y}interpolateFunction(Y,ee){return Y(ee)}interpolateString(Y,ee){return ee?Y.replace(this.templateMatcher,(fe,ye)=>{let ge=this.getValue(ee,ye);return B(ge)?ge:fe}):Y}static \u0275fac=(()=>{let Y;return function(fe){return(Y||(Y=u.xGo(se)))(fe||se)}})();static \u0275prov=l.jDH({token:se,factory:se.\u0275fac})}return se})();class Te{}let we=(()=>{class se extends Te{compile(Y,ee){return Y}compileTranslations(Y,ee){return Y}static \u0275fac=(()=>{let Y;return function(fe){return(Y||(Y=u.xGo(se)))(fe||se)}})();static \u0275prov=l.jDH({token:se,factory:se.\u0275fac})}return se})();class $e{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new l.bkB;onLangChange=new l.bkB;onDefaultLangChange=new l.bkB}const Oe=new l.nKC("USE_STORE"),Ue=new l.nKC("USE_DEFAULT_LANG"),Be=new l.nKC("DEFAULT_LANGUAGE"),lt=new l.nKC("USE_EXTEND");let et=(()=>{class se{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new l.bkB;_onLangChange=new l.bkB;_onDefaultLangChange=new l.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};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(Y){this.isolate?this._defaultLang=Y:this.store.defaultLang=Y}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(Y){this.isolate?this._currentLang=Y:this.store.currentLang=Y}get langs(){return this.isolate?this._langs:this.store.langs}set langs(Y){this.isolate?this._langs=Y:this.store.langs=Y}get translations(){return this.isolate?this._translations:this.store.translations}set translations(Y){this.isolate?this._translations=Y:this.store.translations=Y}constructor(Y,ee,fe,ye,ge,Ne=!0,je=!1,tt=!1,bt){this.store=Y,this.currentLoader=ee,this.compiler=fe,this.parser=ye,this.missingTranslationHandler=ge,this.useDefaultLang=Ne,this.isolate=je,this.extend=tt,bt&&this.setDefaultLang(bt)}setDefaultLang(Y){if(Y===this.defaultLang)return;let ee=this.retrieveTranslations(Y);typeof ee<"u"?(null==this.defaultLang&&(this.defaultLang=Y),ee.pipe((0,H.s)(1)).subscribe(fe=>{this.changeDefaultLang(Y)})):this.changeDefaultLang(Y)}getDefaultLang(){return this.defaultLang}use(Y){if(Y===this.currentLang)return(0,L.of)(this.translations[Y]);let ee=this.retrieveTranslations(Y);return typeof ee<"u"?(this.currentLang||(this.currentLang=Y),ee.pipe((0,H.s)(1)).subscribe(fe=>{this.changeLang(Y)}),ee):(this.changeLang(Y),(0,L.of)(this.translations[Y]))}retrieveTranslations(Y){let ee;return(typeof this.translations[Y]>"u"||this.extend)&&(this._translationRequests[Y]=this._translationRequests[Y]||this.getTranslation(Y),ee=this._translationRequests[Y]),ee}getTranslation(Y){this.pending=!0;const ee=this.currentLoader.getTranslation(Y).pipe((0,f.t)(1),(0,H.s)(1));return this.loadingTranslations=ee.pipe((0,h.T)(fe=>this.compiler.compileTranslations(fe,Y)),(0,f.t)(1),(0,H.s)(1)),this.loadingTranslations.subscribe({next:fe=>{this.translations[Y]=this.extend&&this.translations[Y]?{...fe,...this.translations[Y]}:fe,this.updateLangs(),this.pending=!1},error:fe=>{this.pending=!1}}),ee}setTranslation(Y,ee,fe=!1){ee=this.compiler.compileTranslations(ee,Y),this.translations[Y]=(fe||this.extend)&&this.translations[Y]?Z(this.translations[Y],ee):ee,this.updateLangs(),this.onTranslationChange.emit({lang:Y,translations:this.translations[Y]})}getLangs(){return this.langs}addLangs(Y){Y.forEach(ee=>{-1===this.langs.indexOf(ee)&&this.langs.push(ee)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(Y,ee,fe){let ye;if(ee instanceof Array){let ge={},Ne=!1;for(let je of ee)ge[je]=this.getParsedResult(Y,je,fe),(0,R.A)(ge[je])&&(Ne=!0);if(Ne){const je=ee.map(tt=>(0,R.A)(ge[tt])?ge[tt]:(0,L.of)(ge[tt]));return(0,S.p)(je).pipe((0,h.T)(tt=>{let bt={};return tt.forEach((Xe,Je)=>{bt[ee[Je]]=Xe}),bt}))}return ge}if(Y&&(ye=this.parser.interpolate(this.parser.getValue(Y,ee),fe)),typeof ye>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ye=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ee),fe)),typeof ye>"u"){let ge={key:ee,translateService:this};typeof fe<"u"&&(ge.interpolateParams=fe),ye=this.missingTranslationHandler.handle(ge)}return typeof ye<"u"?ye:ee}get(Y,ee){if(!B(Y)||!Y.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,E.H)(fe=>(fe=this.getParsedResult(fe,Y,ee),(0,R.A)(fe)?fe:(0,L.of)(fe))));{let fe=this.getParsedResult(this.translations[this.currentLang],Y,ee);return(0,R.A)(fe)?fe:(0,L.of)(fe)}}getStreamOnTranslationChange(Y,ee){if(!B(Y)||!Y.length)throw new Error('Parameter "key" required');return(0,v.x)((0,w.v)(()=>this.get(Y,ee)),this.onTranslationChange.pipe((0,y.n)(fe=>{const ye=this.getParsedResult(fe.translations,Y,ee);return"function"==typeof ye.subscribe?ye:(0,L.of)(ye)})))}stream(Y,ee){if(!B(Y)||!Y.length)throw new Error('Parameter "key" required');return(0,v.x)((0,w.v)(()=>this.get(Y,ee)),this.onLangChange.pipe((0,y.n)(fe=>{const ye=this.getParsedResult(fe.translations,Y,ee);return(0,R.A)(ye)?ye:(0,L.of)(ye)})))}instant(Y,ee){if(!B(Y)||!Y.length)throw new Error('Parameter "key" required');let fe=this.getParsedResult(this.translations[this.currentLang],Y,ee);if((0,R.A)(fe)){if(Y instanceof Array){let ye={};return Y.forEach((ge,Ne)=>{ye[Y[Ne]]=Y[Ne]}),ye}return Y}return fe}set(Y,ee,fe=this.currentLang){this.translations[fe][Y]=this.compiler.compile(ee,fe),this.updateLangs(),this.onTranslationChange.emit({lang:fe,translations:this.translations[fe]})}changeLang(Y){this.currentLang=Y,this.onLangChange.emit({lang:Y,translations:this.translations[Y]}),null==this.defaultLang&&this.changeDefaultLang(Y)}changeDefaultLang(Y){this.defaultLang=Y,this.onDefaultLangChange.emit({lang:Y,translations:this.translations[Y]})}reloadLang(Y){return this.resetLang(Y),this.getTranslation(Y)}
1resetLang(Y){this._translationRequests[Y]=void 0,this.translations[Y]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let Y=window.navigator.languages?window.navigator.languages[0]:null;return Y=Y||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof Y>"u"?void 0:(-1!==Y.indexOf("-")&&(Y=Y.split("-")[0]),-1!==Y.indexOf("_")&&(Y=Y.split("_")[0]),Y)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let Y=window.navigator.languages?window.navigator.languages[0]:null;return Y=Y||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,Y}static \u0275fac=function(ee){return new(ee||se)(l.KVO($e),l.KVO(b),l.KVO(Te),l.KVO(ce),l.KVO(A),l.KVO(Ue),l.KVO(Oe),l.KVO(lt),l.KVO(Be))};static \u0275prov=l.jDH({token:se,factory:se.\u0275fac})}return se})(),pt=(()=>{class se{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(Y){Y&&(this.key=Y,this.checkNodes())}set translateParams(Y){V(this.currentParams,Y)||(this.currentParams=Y,this.checkNodes(!0))}constructor(Y,ee,fe){this.translateService=Y,this.element=ee,this._ref=fe,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ye=>{ye.lang===this.translateService.currentLang&&this.checkNodes(!0,ye.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ye=>{this.checkNodes(!0,ye.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ye=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(Y=!1,ee){let fe=this.element.nativeElement.childNodes;fe.length||(this.setContent(this.element.nativeElement,this.key),fe=this.element.nativeElement.childNodes);for(let ye=0;ye<fe.length;++ye){let ge=fe[ye];if(3===ge.nodeType){let Ne;if(Y&&(ge.lastKey=null),B(ge.lookupKey))Ne=ge.lookupKey;else if(this.key)Ne=this.key;else{let je=this.getContent(ge),tt=je.trim();tt.length&&(ge.lookupKey=tt,je!==ge.currentValue?(Ne=tt,ge.originalContent=je||ge.originalContent):ge.originalContent?Ne=ge.originalContent.trim():je!==ge.currentValue&&(Ne=tt,ge.originalContent=je||ge.originalContent))}this.updateValue(Ne,ge,ee)}}}updateValue(Y,ee,fe){if(Y){if(ee.lastKey===Y&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let ye=ge=>{ge!==Y&&(ee.lastKey=Y),ee.originalContent||(ee.originalContent=this.getContent(ee)),ee.currentValue=B(ge)?ge:ee.originalContent||Y,this.setContent(ee,this.key?ee.currentValue:ee.originalContent.replace(Y,ee.currentValue)),this._ref.markForCheck()};if(B(fe)){let ge=this.translateService.getParsedResult(fe,Y,this.currentParams);(0,R.A)(ge)?ge.subscribe({next:ye}):ye(ge)}else this.translateService.get(Y,this.currentParams).subscribe(ye)}}getContent(Y){return B(Y.textContent)?Y.textContent:Y.data}setContent(Y,ee){B(Y.textContent)?Y.textContent=ee:Y.data=ee}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function(ee){return new(ee||se)(u.rXU(et),u.rXU(u.aKT),u.rXU(o.gRc))};static \u0275dir=u.FsC({type:se,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"},standalone:!1})}return se})(),Ct=(()=>{class se{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(Y,ee){this.translate=Y,this._ref=ee}updateValue(Y,ee,fe){let ye=ge=>{this.value=void 0!==ge?ge:Y,this.lastKey=Y,this._ref.markForCheck()};if(fe){let ge=this.translate.getParsedResult(fe,Y,ee);(0,R.A)(ge.subscribe)?ge.subscribe(ye):ye(ge)}this.translate.get(Y,ee).subscribe(ye)}transform(Y,...ee){if(!Y||!Y.length)return Y;if(V(Y,this.lastKey)&&V(ee,this.lastParams))return this.value;let fe;if(B(ee[0])&&ee.length)if("string"==typeof ee[0]&&ee[0].length){let ye=ee[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{fe=JSON.parse(ye)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ee[0]}`)}}else"object"==typeof ee[0]&&!Array.isArray(ee[0])&&(fe=ee[0]);
1return this.lastKey=Y,this.lastParams=ee,this.updateValue(Y,fe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ye=>{this.lastKey&&ye.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(Y,fe,ye.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ye=>{this.lastKey&&(this.lastKey=null,this.updateValue(Y,fe,ye.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(Y,fe))})),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()}static \u0275fac=function(ee){return new(ee||se)(u.rXU(et,16),u.rXU(o.gRc,16))};static \u0275pipe=u.EJ8({name:"translate",type:se,pure:!1,standalone:!1});static \u0275prov=l.jDH({token:se,factory:se.\u0275fac})}return se})(),st=(()=>{class se{static forRoot(Y={}){return{ngModule:se,providers:[Y.loader||{provide:b,useClass:N},Y.compiler||{provide:Te,useClass:we},Y.parser||{provide:ce,useClass:be},Y.missingTranslationHandler||{provide:A,useClass:C},$e,{provide:Oe,useValue:Y.isolate},{provide:Ue,useValue:Y.useDefaultLang},{provide:lt,useValue:Y.extend},{provide:Be,useValue:Y.defaultLanguage},et]}}static forChild(Y={}){return{ngModule:se,providers:[Y.loader||{provide:b,useClass:N},Y.compiler||{provide:Te,useClass:we},Y.parser||{provide:ce,useClass:be},Y.missingTranslationHandler||{provide:A,useClass:C},{provide:Oe,useValue:Y.isolate},{provide:Ue,useValue:Y.useDefaultLang},{provide:lt,useValue:Y.extend},{provide:Be,useValue:Y.defaultLanguage},et]}}static \u0275fac=function(ee){return new(ee||se)};static \u0275mod=u.$C({type:se});static \u0275inj=l.G2t({})}return se})()},7414(qe,P,c){"use strict";c.d(P,{MV:()=>N,_R:()=>b,hp:()=>f});var l=c(5547),R=c(5802),v=c(7317),w=c(4412),S=c(9765);function L(A){return function(C,V,B){const Q=B.value,Z=new Map;return B.value=function(...ce){const be=A(...ce);if(Z.has(be))return Z.get(be);const Te=Q.apply(this,ce);return Z.set(be,Te),Te},B}}var E=function(A,C,V,B){var ce,Q=arguments.length,Z=Q<3?C:null===B?B=Object.getOwnPropertyDescriptor(C,V):B;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Z=Reflect.decorate(A,C,V,B);else for(var be=A.length-1;be>=0;be--)(ce=A[be])&&(Z=(Q<3?ce(Z):Q>3?ce(C,V,Z):ce(C,V))||Z);return Q>3&&Z&&Object.defineProperty(C,V,Z),Z},h=function(A,C){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(A,C)};let f=(()=>{class A{_renderVersion=0;_client;_isLoadingSubject=new w.t(!0);isLoading$=this._isLoadingSubject.asObservable();constructor(V){"client"in V?this._client=V.client:"sdkKey"in V&&"user"in V?(this._client=new S.StatsigClient(V.sdkKey,V.user,V.options),this._client.initializeAsync().catch(B=>{v.Log.error("Error initializing StatsigClient",B)}).finally(()=>{this._isLoadingSubject.next(!1)})):(v.Log.error("Must provide a client or sdkKey and user to initialize StatsigService"),this._client=new S.StatsigClient("",{})),v.Log.debug("StatsigService created",this._client),this._checkAndEmitLoadingStatus(),this._client.$on("values_updated",this._onValuesUpdated),v.SDKType._setBindingType("angular")}ngOnDestroy(){this._client.shutdown().catch(V=>{v.Log.error("An error occured during shutdown",V)}),this._client.off("values_updated",this._onValuesUpdated)}checkGate(V,B){return v.Log.debug(`checkGate caled for ${V}, rv: ${this._renderVersion}`),this._checkGateImpl(this._renderVersion,V,B)}getDynamicConfig(V,B){return v.Log.debug(`getDynamicConfig called for ${V}, rv: ${this._renderVersion}`),this._getDynamicConfigImpl(this._renderVersion,V,B)}getExperiment(V,B){return v.Log.debug(`getExperiment caled for ${V}, rv: ${this._renderVersion}`),this._getExperimentImpl(this._renderVersion,V,B)}getLayer(V,B){return v.Log.debug(`getLayer caled for ${V}, rv: ${this._renderVersion}`),this._getLayerImpl(this._renderVersion,V,B)}getParameterStore(V,B){return v.Log.debug(`getParameterStore called for ${V}, rv: ${this._renderVersion}`),this._getParameterStoreImpl(this._renderVersion,V,B)}logEvent(V,B,Q){this._client.logEvent(V,B,Q)}updateUserAsync(V,B){return this._client.updateUserAsync(V,B)}updateUserSync(V,B){this._client.updateUserSync(V,B)}getClient(){return this._client}_checkGateImpl(V,B,Q){return this._client.checkGate(B,Q)}_getDynamicConfigImpl(V,B,Q){return this._client.getDynamicConfig(B,Q)}_getExperimentImpl(V,B,Q){return this._client.getExperiment(B,Q)}_getLayerImpl(V,B,Q){return this._client.getLayer(B,Q)}_getParameterStoreImpl(V,B,Q){return this._client.getParameterStore(B,Q)}_checkAndEmitLoadingStatus(){!function y(A){return"Ready"===A.loadingStatus}(this._client)?(this._isLoadingSubject.next(!0),v.Log.debug("Client is not ready, loading status set to true")):(this._isLoadingSubject.next(!1),v.Log.debug("Client is now ready, loading status set to false"))}_onValuesUpdated=()=>{this._renderVersion++,v.Log.debug("Values updated",this._renderVersion),this._checkAndEmitLoadingStatus()};static \u0275fac=function(B){return new(B||A)(R.KVO(b))};static \u0275prov=R.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return E([L((...C)=>{const[V,B,Q]=C;return`${V}-${B}-${JSON.stringify(Q)}`}),h("design:type",Function),h("design:paramtypes",[Number,String,Object]),h("design:returntype",Boolean)],A.prototype,"_checkGateImpl",null),E([L((...C)=>{const[V,B,Q]=C;return`${V}-${B}-${JSON.stringify(Q)}`}),h("design:type",Function),h("design:paramtypes",[Number,String,Object]),h("design:returntype",Object)],A.prototype,"_getDynamicConfigImpl",null),E([L((...C)=>{const[V,B,Q]=C;return`${V}-${B}-${JSON.stringify(Q)}`}),h("design:type",Function),h("design:paramtypes",[Number,String,Object]),h("design:returntype",Object)],A.prototype,"_getExperimentImpl",null),E([L((...C)=>{const[V,B,Q]=C;return`${V}-${B}-${JSON.stringify(Q)}`}),h("design:type",Function),h("design:paramtypes",[Number,String,Object]),h("design:returntype",Object)],A.prototype,"_getLayerImpl",null),E([L((...C)=>{const[V,B,Q]=C;return`${V}-${B}-${JSON.stringify(Q)}`}),h("design:type",Function),h("design:paramtypes",[Number,String,Object]),h("design:returntype",Object)],A.prototype,"_getParameterStoreImpl",null),A})();const b=new R.nKC("StatsigProvider");let N=(()=>{class A{static \u0275fac=function(B){return new(B||A)};static \u0275mod=l.$C({type:A});static \u0275inj=R.G2t({})}return A})()},8846(qe,P,c){"use strict";c.d(P,{AR:()=>L,j9:()=>w});var u=c(5547),l=c(5802);const R=new l.nKC("google-tag-manager-config");let v=(()=>{class E{constructor(f){this._googleTagManagerConfig={id:null,gtm_auth:"",gtm_preview:""},f&&this.set(f)}set(f){this._googleTagManagerConfig=f}get(){return this._googleTagManagerConfig}static{this.\u0275fac=function(y){return new(y||E)(l.KVO(R,8))}}static{this.\u0275prov=l.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})(),w=(()=>{class E{static forRoot(f){return{ngModule:E,providers:[{provide:R,useValue:f}]}}static{this.\u0275fac=function(y){return new(y||E)}}static{this.\u0275mod=u.$C({type:E})}static{this.\u0275inj=l.G2t({})}}return E})(),L=(()=>{class E{constructor(f,y,H="noisy",b,N,A,C){this.googleTagManagerConfiguration=f,this.googleTagManagerId=y,this.googleTagManagerMode=H,this.googleTagManagerAuth=b,this.googleTagManagerPreview=N,this.googleTagManagerResourcePath=A,this.googleTagManagerCSPNonce=C,this.isLoaded=!1,this.browserGlobals={windowRef:()=>window,documentRef:()=>document},this.config=this.googleTagManagerConfiguration?.get(),null==this.config&&(this.config={id:null}),this.config={...this.config,id:y||this.config.id,gtm_auth:b||this.config.gtm_auth,gtm_preview:N||this.config.gtm_preview,gtm_resource_path:A||this.config.gtm_resource_path}}checkForId(){if("silent"!==this.googleTagManagerMode&&!this.config.id)throw new Error("Google tag manager ID not provided.");return!!this.config.id}getDataLayer(){this.checkForId();const f=this.browserGlobals.windowRef();return f.dataLayer=f.dataLayer||[],f.dataLayer}pushOnDataLayer(f){this.checkForId(),this.getDataLayer().push(f)}addGtmToDom(){return new Promise((f,y)=>{if(this.isLoaded)return f(this.isLoaded);if(!this.checkForId())return f(!1);const H=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const b=H.createElement("script");b.id="GTMscript",b.async=!0,b.src=this.applyGtmQueryParams(this.config.gtm_resource_path?this.config.gtm_resource_path:"https://www.googletagmanager.com/gtm.js"),b.addEventListener("load",()=>f(this.isLoaded=!0)),b.addEventListener("error",()=>y(!1)),this.googleTagManagerCSPNonce&&b.setAttribute("nonce",this.googleTagManagerCSPNonce),H.head.insertBefore(b,H.head.firstChild)})}pushTag(f){return new Promise((y,H)=>this.checkForId()?this.isLoaded?(this.pushOnDataLayer(f),y()):void this.addGtmToDom().then(()=>(this.pushOnDataLayer(f),y())).catch(()=>H()):y())}applyGtmQueryParams(f){return-1===f.indexOf("?")&&(f+="?"),f+Object.keys(this.config).filter(y=>this.config[y]).map(y=>`${y}=${this.config[y]}`).join("&")}static{this.\u0275fac=function(y){return new(y||E)(l.KVO(v,8),l.KVO("googleTagManagerId",8),l.KVO("googleTagManagerMode",8),l.KVO("googleTagManagerAuth",8),l.KVO("googleTagManagerPreview",8),l.KVO("googleTagManagerResourcePath",8),l.KVO("googleTagManagerCSPNonce",8))}}static{this.\u0275prov=l.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})()},450(qe,P,c){"use strict";c.d(P,{J:()=>ce,JA:()=>Oe,P1:()=>Ue,cm:()=>Te});var l=c(5547),R=c(5802),v=c(177),w=c(4412),S=c(7673),L=c(5964),E=c(9417);const h=new R.nKC("recaptcha-language"),f=new R.nKC("recaptcha-base-url"),y=new R.nKC("recaptcha-nonce-tag"),H=new R.nKC("recaptcha-settings"),b=new R.nKC("recaptcha-v3-site-key"),N=new R.nKC("recaptcha-loader-options"),V={loadScript:function A(Be,lt,et,{url:pt,lang:Ct,nonce:st}={}){window.ng2recaptchaloaded=()=>{et(grecaptcha)};const se=document.createElement("script");se.innerHTML="";const{url:me,nonce:Y}=lt(new URL(pt||"https://www.google.com/recaptcha/api.js"));me.searchParams.set("render","explicit"===Be?Be:Be.key),me.searchParams.set("onload","ng2recaptchaloaded"),me.searchParams.set("trustedtypes","true"),Ct&&me.searchParams.set("hl",Ct),se.src=me.href;const ee=Y||st;ee&&se.setAttribute("nonce",ee),se.async=!0,se.defer=!0,document.head.appendChild(se)},newLoadScript:function C({v3SiteKey:Be,onBeforeLoad:lt,onLoaded:et}){V.loadScript(Be?{key:Be}:"explicit",lt,et)}};let Q=(()=>{class Be{static{this.ready=null}constructor(et,pt,Ct,st,se,me){this.platformId=et,this.language=pt,this.baseUrl=Ct,this.nonce=st,this.v3SiteKey=se,this.options=me;const Y=this.init();this.ready=Y?function B(Be){return Be.asObservable().pipe((0,L.p)(lt=>null!==lt))}(Y):(0,S.of)()}init(){if(Be.ready)return Be.ready;if(!(0,v.UE)(this.platformId))return;const et=new w.t(null);return Be.ready=et,V.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:pt=>
1{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(pt);const Ct=new URL(this.baseUrl??pt);return this.language&&Ct.searchParams.set("hl",this.language),{url:Ct,nonce:this.nonce}},onLoaded:pt=>{let Ct=pt;this.options?.onLoaded&&(Ct=this.options.onLoaded(pt)),et.next(Ct)}}),et}static{this.\u0275fac=function(pt){return new(pt||Be)(R.KVO(l.Agw),R.KVO(h,8),R.KVO(f,8),R.KVO(y,8),R.KVO(b,8),R.KVO(N,8))}}static{this.\u0275prov=R.jDH({token:Be,factory:Be.\u0275fac})}}return Be})(),Z=0,ce=(()=>{class Be{constructor(et,pt,Ct,st){this.elementRef=et,this.loader=pt,this.zone=Ct,this.id="ngrecaptcha-"+Z++,this.errorMode="default",this.resolved=new R.bkB,this.error=new R.bkB,this.errored=new R.bkB,st&&(this.siteKey=st.siteKey,this.theme=st.theme,this.type=st.type,this.size=st.size,this.badge=st.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(et=>{null!=et&&et.render instanceof Function&&(this.grecaptcha=et,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(et){this.error.emit(et),this.errored.emit(et)}captchaResponseCallback(et){this.resolved.emit(et)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const et={badge:this.badge,callback:pt=>{this.zone.run(()=>this.captchaResponseCallback(pt))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(et["error-callback"]=(...pt)=>{this.zone.run(()=>this.onError(pt))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,et),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}static{this.\u0275fac=function(pt){return new(pt||Be)(l.rXU(l.aKT),l.rXU(Q),l.rXU(R.SKi),l.rXU(H,8))}}static{this.\u0275cmp=l.VBU({type:Be,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(pt,Ct){2&pt&&l.BMQ("id",Ct.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],standalone:!1,decls:0,vars:0,template:function(pt,Ct){},encapsulation:2})}}return Be})(),be=(()=>{class Be{static{this.\u0275fac=function(pt){return new(pt||Be)}}static{this.\u0275mod=l.$C({type:Be})}static{this.\u0275inj=R.G2t({})}}return Be})(),Te=(()=>{class Be{static{this.\u0275fac=function(pt){return new(pt||Be)}}static{this.\u0275mod=l.$C({type:Be})}static{this.\u0275inj=R.G2t({providers:[Q],imports:[be]})}}return Be})(),Oe=(()=>{class Be{constructor(et){this.host=et,this.requiresControllerReset=!1}writeValue(et){et?this.host.__unsafe_widgetValue!==et&&!this.host.__unsafe_widgetValue&&(this.requiresControllerReset=!0):this.host.reset()}registerOnChange(et){this.onChange=et,this.requiresControllerReset&&(this.requiresControllerReset=!1,this.onChange(null))}registerOnTouched(et){this.onTouched=et}onResolve(et){this.onChange&&this.onChange(et),this.onTouched&&this.onTouched()}static{this.\u0275fac=function(pt){return new(pt||Be)(l.rXU(ce))}}static{this.\u0275dir=l.FsC({type:Be,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(pt,Ct){1&pt&&l.bIt("resolved",function(se){return Ct.onResolve(se)})},standalone:!1,features:[l.Jv_([{multi:!0,provide:E.kq,useExisting:(0,R.Rfq)(()=>Be)}])]})}}return Be})(),Ue=(()=>{class Be{static{this.\u0275fac=function(pt){return new(pt||Be)}}static{this.\u0275mod=l.$C({type:Be})}static{this.\u0275inj=R.G2t({imports:[E.YN,be]})}}return Be})()},2770(qe,P,c){"use strict";c.d(P,{sc:()=>S});var u=c(5802),l=c(3955),R=c(4682);const v=new u.nKC("MESSAGE_FORMAT_CONFIG"),w={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0};let S=(()=>{class f extends l.kJ{constructor(H){super(),this.mfCache=new Map;const{formatters:b,biDiSupport:N,strictNumberSign:A,currency:C,strictPluralKeys:V}={...w,...H};this.config={customFormatters:b,biDiSupport:N,strict:A,currency:C,strictPluralKeys:V}}compile(H,b){return this.getMessageFormatInstance(b).compile(H)}compileTranslations(H,b){return"string"==typeof H?this.compile(H,b):Object.keys(H).reduce((N,A)=>(N[A]=this.compileTranslations(H[A],b),N),{})}getMessageFormatInstance(H){return this.mfCache.has(H)||this.mfCache.set(H,new R(H,this.config)),this.mfCache.get(H)}static{this.\u0275fac=function(b){return new(b||f)(u.KVO(v,8))}}static{this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac})}}return f})()},467(qe,P,c){"use strict";function o(l,R,v,w,S,L,E){try{var h=l[L](E),f=h.value}catch(y){return void v(y)}h.done?R(f):Promise.resolve(f).then(w,S)}function u(l){return function(){var R=this,v=arguments;return new Promise(function(w,S){var L=l.apply(R,v);function E(f){o(L,w,S,E,h,"next",f)}function h(f){o(L,w,S,E,h,"throw",f)}E(void 0)})}}c.d(P,{A:()=>u})},1635(qe,P,c){"use strict";function v(ee,fe,ye,ge){var tt,Ne=arguments.length,je=Ne<3?fe:null===ge?ge=Object.getOwnPropertyDescriptor(fe,ye):ge;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)je=Reflect.decorate(ee,fe,ye,ge);else for(var bt=ee.length-1;bt>=0;bt--)(tt=ee[bt])&&(je=(Ne<3?tt(je):Ne>3?tt(fe,ye,je):tt(fe,ye))||je);return Ne>3&&je&&Object.defineProperty(fe,ye,je),je}function w(ee,fe){return function(ye,ge){fe(ye,ge,ee)}}function y(ee,fe,ye,ge){return new(ye||(ye=Promise))(function(je,tt){function bt(rt){try{Je(ge.next(rt))}catch(Pt){tt(Pt)}}function Xe(rt){try{Je(ge.throw(rt))}catch(Pt){tt(Pt)}}function Je(rt){rt.done?je(rt.value):function Ne(je){return je instanceof ye?je:new ye(function(tt){tt(je)})}(rt.value).then(bt,Xe)}
vendor: 1,836 bytes, line 1
1Je((ge=ge.apply(ee,fe||[])).next())})}function Z(ee){return this instanceof Z?(this.v=ee,this):new Z(ee)}function ce(ee,fe,ye){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ne,ge=ye.apply(ee,fe||[]),je=[];return Ne=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),bt("next"),bt("throw"),bt("return",function tt(i){return function(yt){return Promise.resolve(yt).then(i,Pt)}}),Ne[Symbol.asyncIterator]=function(){return this},Ne;function bt(i,yt){ge[i]&&(Ne[i]=function(Ut){return new Promise(function(Kt,un){je.push([i,Ut,Kt,un])>1||Xe(i,Ut)})},yt&&(Ne[i]=yt(Ne[i])))}function Xe(i,yt){try{!function Je(i){i.value instanceof Z?Promise.resolve(i.value.v).then(rt,Pt):tn(je[0][2],i)}(ge[i](yt))}catch(Ut){tn(je[0][3],Ut)}}function rt(i){Xe("next",i)}function Pt(i){Xe("throw",i)}function tn(i,yt){i(yt),je.shift(),je.length&&Xe(je[0][0],je[0][1])}}function Te(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ye,fe=ee[Symbol.asyncIterator];return fe?fe.call(ee):(ee=function A(ee){var fe="function"==typeof Symbol&&Symbol.iterator,ye=fe&&ee[fe],ge=0;if(ye)return ye.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&ge>=ee.length&&(ee=void 0),{value:ee&&ee[ge++],done:!ee}}};throw new TypeError(fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(ee),ye={},ge("next"),ge("throw"),ge("return"),ye[Symbol.asyncIterator]=function(){return this},ye);function ge(je){ye[je]=ee[je]&&function(tt){return new Promise(function(bt,Xe){!function Ne(je,tt,bt,Xe){Promise.resolve(Xe).then(function(Je){je({value:Je,done:bt})},tt)}(bt,Xe,(tt=ee[je](tt)).done,tt.value)})}}}c.d(P,{AQ:()=>ce,Cg:()=>v,N3:()=>Z,Qj:()=>w,sH:()=>y,xN:()=>Te}),"function"==typeof SuppressedError&&SuppressedError}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.