@smals-belgium-shared/vidis-diarynote 3.4.4-snapshot.3 → 3.4.4-snapshot.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,13 +9,13 @@ Use (?: … ) instead`);if(!Oe.lineBreaks&&la.test(`
|
|
|
9
9
|
`))throw new Error("Rule should declare lineBreaks: "+la);Dt.push(M(Rr))}}var Fr=ue&&ue.fallback,zo=y&&!Fr?"ym":"gm",xl=y||Fr?"":"|";Ee===!0&&(zo+="u");var ZW=new RegExp(U(Dt)+xl,zo);return{regexp:ZW,groups:Xe,fast:fe,error:ue||ki}}function wn(F){var X=sa(ti(F));return new Pt({start:X},"start")}function Za(F,X,ue){var fe=F&&(F.push||F.next);if(fe&&!ue[fe])throw new Error("Missing state '"+fe+"' (in token '"+F.defaultType+"' of state '"+X+"')");if(F&&F.pop&&+F.pop!=1)throw new Error("pop must be 1 (in token '"+F.defaultType+"' of state '"+X+"')")}function Xa(F,X){var ue=F.$all?ti(F.$all):[];delete F.$all;var fe=Object.getOwnPropertyNames(F);X||(X=fe[0]);for(var Pe=Object.create(null),Ee=0;Ee<fe.length;Ee++){var Xe=fe[Ee];Pe[Xe]=ti(F[Xe]).concat(ue)}for(var Ee=0;Ee<fe.length;Ee++)for(var Xe=fe[Ee],Dt=Pe[Xe],ot=Object.create(null),Oe=0;Oe<Dt.length;Oe++){var Yt=Dt[Oe];if(Yt.include){var Pr=[Oe,1];if(Yt.include!==Xe&&!ot[Yt.include]){ot[Yt.include]=!0;var Ea=Pe[Yt.include];if(!Ea)throw new Error("Cannot include nonexistent state '"+Yt.include+"' (in state '"+Xe+"')");for(var Wn=0;Wn<Ea.length;Wn++){var Rr=Ea[Wn];Dt.indexOf(Rr)===-1&&Pr.push(Rr)}}Dt.splice.apply(Dt,Pr),Oe--}}for(var la=Object.create(null),Ee=0;Ee<fe.length;Ee++){var Xe=fe[Ee];la[Xe]=sa(Pe[Xe],!0)}for(var Ee=0;Ee<fe.length;Ee++){for(var Vo=fe[Ee],Fr=la[Vo],zo=Fr.groups,Oe=0;Oe<zo.length;Oe++)Za(zo[Oe],Vo,la);for(var xl=Object.getOwnPropertyNames(Fr.fast),Oe=0;Oe<xl.length;Oe++)Za(Fr.fast[xl[Oe]],Vo,la)}return new Pt(la,X)}function Qa(F){for(var X=typeof Map<"u",ue=X?new Map:Object.create(null),fe=Object.getOwnPropertyNames(F),Pe=0;Pe<fe.length;Pe++){var Ee=fe[Pe],Xe=F[Ee],Dt=Array.isArray(Xe)?Xe:[Xe];Dt.forEach(function(ot){if(typeof ot!="string")throw new Error("keyword must be string (in keyword '"+Ee+"')");X?ue.set(ot,Ee):ue[ot]=Ee})}return function(ot){return X?ue.get(ot):ue[ot]}}var Pt=function(F,X){this.startState=X,this.states=F,this.buffer="",this.stack=[],this.reset()};Pt.prototype.reset=function(F,X){return this.buffer=F||"",this.index=0,this.line=X?X.line:1,this.col=X?X.col:1,this.queuedToken=X?X.queuedToken:null,this.queuedText=X?X.queuedText:"",this.queuedThrow=X?X.queuedThrow:null,this.setState(X?X.state:this.startState),this.stack=X&&X.stack?X.stack.slice():[],this},Pt.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}},Pt.prototype.setState=function(F){if(!(!F||this.state===F)){this.state=F;var X=this.states[F];this.groups=X.groups,this.error=X.error,this.re=X.regexp,this.fast=X.fast}},Pt.prototype.popState=function(){this.setState(this.stack.pop())},Pt.prototype.pushState=function(F){this.stack.push(this.state),this.setState(F)};var yl=y?function(F,X){return F.exec(X)}:function(F,X){var ue=F.exec(X);return ue[0].length===0?null:ue};Pt.prototype._getGroup=function(F){for(var X=this.groups.length,ue=0;ue<X;ue++)if(F[ue+1]!==void 0)return this.groups[ue];throw new Error("Cannot find token type for matched text")};function _l(){return this.value}if(Pt.prototype.next=function(){var F=this.index;if(this.queuedGroup){var X=this._token(this.queuedGroup,this.queuedText,F);return this.queuedGroup=null,this.queuedText="",X}var ue=this.buffer;if(F!==ue.length){var Xe=this.fast[ue.charCodeAt(F)];if(Xe)return this._token(Xe,ue.charAt(F),F);var fe=this.re;fe.lastIndex=F;var Pe=yl(fe,ue),Ee=this.error;if(Pe==null)return this._token(Ee,ue.slice(F,ue.length),F);var Xe=this._getGroup(Pe),Dt=Pe[0];return Ee.fallback&&Pe.index!==F?(this.queuedGroup=Xe,this.queuedText=Dt,this._token(Ee,ue.slice(F,Pe.index),F)):this._token(Xe,Dt,F)}},Pt.prototype._token=function(F,X,ue){var fe=0;if(F.lineBreaks){var Pe=/\n/g,Ee=1;if(X===`
|
|
10
10
|
`)fe=1;else for(;Pe.exec(X);)fe++,Ee=Pe.lastIndex}var Xe={type:typeof F.type=="function"&&F.type(X)||F.defaultType,value:typeof F.value=="function"?F.value(X):X,text:X,toString:_l,offset:ue,lineBreaks:fe,line:this.line,col:this.col},Dt=X.length;if(this.index+=Dt,this.line+=fe,fe!==0?this.col=Dt-Ee+1:this.col+=Dt,F.shouldThrow){var ot=new Error(this.formatError(Xe,"invalid syntax"));throw ot}return F.pop?this.popState():F.push?this.pushState(F.push):F.next&&this.setState(F.next),Xe},typeof Symbol<"u"&&Symbol.iterator){var Ja=function(F){this.lexer=F};Ja.prototype.next=function(){var F=this.lexer.next();return{value:F,done:!F}},Ja.prototype[Symbol.iterator]=function(){return this},Pt.prototype[Symbol.iterator]=function(){return new Ja(this)}}return Pt.prototype.formatError=function(fe,X){if(fe==null)var ue=this.buffer.slice(this.index),fe={text:ue,offset:this.index,lineBreaks:ue.indexOf(`
|
|
11
11
|
`)===-1?0:1,line:this.line,col:this.col};var Pe=2,Ee=Math.max(fe.line-Pe,1),Xe=fe.line+Pe,Dt=String(Xe).length,ot=Ge(this.buffer,this.line-fe.line+Pe+1).slice(0,5),Oe=[];Oe.push(X+" at line "+fe.line+" col "+fe.col+":"),Oe.push("");for(var Yt=0;Yt<ot.length;Yt++){var Pr=ot[Yt],Ea=Ee+Yt;Oe.push(De(String(Ea),Dt)+" "+Pr),Ea===fe.line&&Oe.push(De("",Dt+fe.col+1)+"^")}return Oe.join(`
|
|
12
|
-
`)},Pt.prototype.clone=function(){return new Pt(this.states,this.state)},Pt.prototype.has=function(F){return!0},{compile:wn,states:Xa,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Qa}})})(Zf);var bW=Zf.exports;(function(p){var f=su&&su.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let b=f(bW);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=b.default.states(p.states)})(Kf),Object.defineProperty(Fo,"__esModule",{value:!0});var Xf=Fo.parse=Fo.ParseError=void 0;let Qf=Kf,fl=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),lu=p=>p==="plural"||p==="select"||p==="selectordinal";function yW(p,f){let b="",y="";for(let _ of f){let k=_.ctx.text;switch(y+=k,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=k;break;default:throw new ri(p,`Unsupported part in strict mode function arg style: ${k}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let _W=["number","date","time","spellout","ordinal","duration"],Jf=["zero","one","two","few","many","other"];class ri extends Error{constructor(f,b){super(Qf.lexer.formatError(f,b))}}Fo.ParseError=ri;class xW{constructor(f,b){var y,_,k,C;this.lexer=Qf.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:Jf,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:Jf,this.strict=(k=b==null?void 0:b.strict)!==null&&k!==void 0?k:!1,this.strictPluralKeys=(C=b==null?void 0:b.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new ri(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let _=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let k=`The ${b} case ${y} is not valid in this locale`;throw new ri(f,k)}}}parseSelect(f,b,y,_){let{value:k}=f,C={type:_,arg:k,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let A of this.lexer)switch(A.type){case"offset":if(_==="select")throw new ri(A,"Unexpected plural offset for select");if(C.cases.length>0)throw new ri(A,"Plural offset must be set before cases");C.pluralOffset=Number(A.value),y.text+=A.text,y.lineBreaks+=A.lineBreaks;break;case"case":{this.checkSelectKey(A,_,A.value),C.cases.push({key:A.value,tokens:this.parseBody(b),ctx:fl(A)});break}case"end":return C;default:throw new ri(A,`Unexpected lexer token: ${A.type}`)}throw new ri(null,"Unexpected message end")}parseArgToken(f,b){let y=fl(f),_=this.lexer.next();if(!_)throw new ri(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!_W.includes(_.value)){let k=`Invalid strict mode function arg type: ${_.value}`;throw new ri(f,k)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let k=this.lexer.next();if(!k)throw new ri(null,"Unexpected message end");if(k.type!=="end")throw new ri(k,`Unexpected lexer token: ${k.type}`);if(y.text+=k.text,lu(_.value.toLowerCase()))throw new ri(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(lu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new ri(_,C)}let k=this.parseBody(this.strict?!1:b);return this.strict&&k.length>0&&(k=yW(f,k)),{type:"function",arg:f.value,key:_.value,param:k,ctx:y}}case"select":if(lu(_.value))return this.parseSelect(f,b,y,_.value);throw new ri(_,`Unexpected select type ${_.value}`);default:throw new ri(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){let y=[],_=null;for(let k of this.lexer)if(k.type==="argument")_&&(_=null),y.push(this.parseArgToken(k,f));else if(k.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:fl(k)});else{if(k.type==="end"&&!b)return y;{let C=k.value;if(!f&&k.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let A=`Unsupported escape pattern: ${C}`;throw new ri(k,A)}C=k.text}_?(_.value+=C,_.ctx.text+=k.text,_.ctx.lineBreaks+=k.lineBreaks):(_={type:"content",value:C,ctx:fl(k)},y.push(_))}}if(b)return y;throw new ri(null,"Unexpected message end")}}function wW(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new xW(p,f).parse()}Xf=Fo.parse=wW;function Lo(p){return Lo[p]||(Lo[p]=new Intl.NumberFormat(p))}function SW(p,f,b){return Lo(p).format(f-b)}function kW(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Lo(p).format(_)}function EW(p,f,b,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var k=b(p,_);return k in y?y[k]:y.other}function CW(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function DW(p,f){for(var b=0;b<p.length;++b)if(!f||f[p[b]]===void 0)throw new Error("Message requires argument '".concat(p[b],"'"))}var IW=Object.freeze({__proto__:null,_nf:Lo,number:SW,plural:EW,reqArgs:DW,select:CW,strictNumber:kW});function AW(p,f,b){var y={day:"numeric",month:"short",year:"numeric"};switch(b){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function OW(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var b=p%60,y=[Math.round(b)===b?b:b.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(k){return Number(k)<10?"0"+String(k):String(k)}).join(":")}var cu={};function gl(p,f){var b=String(p)+JSON.stringify(f);return cu[b]||(cu[b]=new Intl.NumberFormat(p,f)),cu[b]}function TW(p,f,b,y){var _=b&&b.split(":")||[],k=_[0],C=_[1],A={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return gl(f,A[k]||{}).format(p)}var NW=function(p,f,b){return gl(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},MW=function(p,f){return gl(f,{maximumFractionDigits:0}).format(p)},PW=function(p,f){return gl(f,{style:"percent"}).format(p)};function RW(p,f,b){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(b){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var du=Object.freeze({__proto__:null,date:AW,duration:OW,numberCurrency:NW,numberFmt:TW,numberInteger:MW,numberPercent:PW,time:RW}),FW={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}},uu=vW(FW);function LW(p){let f=0;for(let b=0;b<p.length;++b){let y=p.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function xn(p,f){f&&(p+=" "+LW(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return uu.ES3[b]||uu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function hu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!uu.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var VW=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],zW=new RegExp("^"+VW.join("|^"));function jW(p,f){var b=zW.test(f),y=JSON.stringify(b?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var BW="@messageformat/runtime",HW="@messageformat/runtime/lib/cardinals",eg="@messageformat/runtime/lib/plurals",$W="@messageformat/runtime/lib/formatters",qW=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,b,y){var _,k,C=this,A=this.options,M=A.localeCodeFromKey,U=A.requireAllArguments,me=A.strict,De=A.strictPluralKeys;if(typeof f=="object"){var Ge={};try{for(var ae=i(Object.keys(f)),yt=ae.next();!yt.done;yt=ae.next()){var zt=yt.value,ti=M?M(zt):zt,ki=y&&ti&&y[ti]||b;Ge[zt]=this.compile(f[zt],ki,y)}}catch(Pt){_={error:Pt}}finally{try{yt&&!yt.done&&(k=ae.return)&&k.call(ae)}finally{if(_)throw _.error}}return Ge}this.plural=b;var sa={cardinal:b.cardinals,ordinal:b.ordinals,strict:me,strictPluralKeys:De};this.arguments=[];var wn=Xf(f,sa).map(function(Pt){return C.token(Pt,null)}),Za=this.arguments.length>0,Xa=this.concatenate(wn,!0);if(U&&Za){this.setRuntimeFn("reqArgs");var Qa=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Qa,", d); return ").concat(Xa,"; }")}return"(".concat(Za?"d":"",") => ").concat(Xa)},p.prototype.cases=function(f,b){var y=this,_=!0,k=f.cases.map(function(me){var De=me.key,Ge=me.tokens;De==="other"&&(_=!1);var ae=Ge.map(function(yt){return y.token(yt,b)});return"".concat(hu(null,De.replace(/^=/,"")),": ").concat(y.concatenate(ae,!1))});if(_){var C=f.type,A=this.plural,M=A.cardinals,U=A.ordinals;if(C==="select"||C==="plural"&&M.includes("other")||C==="selectordinal"&&U.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(k.join(", ")," }")},p.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,k=y.lc,C,A;switch("arg"in f?(this.arguments.push(f.arg),C=[hu("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?jW(String(C[0]),k):String(C[0]);case"select":A="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":A="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":A="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var M=this.options.customFormatters[f.key],U=M&&"module"in M&&typeof M.module=="function";if(!M){if(f.key==="date"){A=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){A=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var me=this.getFormatterArg(f,b);me&&C.push(me)}A=U?xn("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(A,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),hu("d",b.arg),b.pluralOffset||0],this.options.strict?(A="strictNumber",C.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(A="number",this.setRuntimeFn("number"));break}if(!A)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(A,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,b){if(xn(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},p.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,k=_.getCardinal,C=_.getPlural,A=_.isDefault,M,U,me;if(!b&&A&&k){if(y)return;M=function(De){return k(De)},U=HW,me=function(){return String(k)}}else{if(y&&(!A||y.module===eg))return;M=function(De,Ge){return C(De,Ge)},U=A?eg:C.module||null,me=function(){return String(C)}}this.runtime[f]=Object.assign(M,{id:f,module:U,toString:me,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(IW[f],{id:f,module:BW,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,k,C,A=this,M=f.key,U=f.param,me=this.options.customFormatters[M]||tg(M)&&du[M];if(!me||!U)return null;var De="arg"in me&&me.arg||"string";if(De==="options"){var Ge="";try{for(var ae=i(U),yt=ae.next();!yt.done;yt=ae.next()){var zt=yt.value;if(zt.type==="content")Ge+=zt.value;else throw new SyntaxError("Expected literal options for ".concat(M," formatter"))}}catch(Ja){y={error:Ja}}finally{try{yt&&!yt.done&&(_=ae.return)&&_.call(ae)}finally{if(y)throw y.error}}var ti={};try{for(var ki=i(Ge.split(",")),sa=ki.next();!sa.done;sa=ki.next()){var wn=sa.value,Za=wn.indexOf(":");if(Za===-1)ti[wn.trim()]=null;else{var Xa=wn.substring(0,Za).trim(),Qa=wn.substring(Za+1).trim();if(Qa==="true")ti[Xa]=!0;else if(Qa==="false")ti[Xa]=!1;else if(Qa==="null")ti[Xa]=null;else{var Pt=Number(Qa);ti[Xa]=Number.isFinite(Pt)?Pt:Qa}}}}catch(Ja){k={error:Ja}}finally{try{sa&&!sa.done&&(C=ki.return)&&C.call(ki)}finally{if(k)throw k.error}}return JSON.stringify(ti)}else{var yl=U.map(function(Ja){return A.token(Ja,b)});if(De==="raw")return"[".concat(yl.join(", "),"]");var _l=yl.join(" + ");return _l?"(".concat(_l,").trim()"):'""'}},p.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),n(n({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:xn(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(tg(f))this.runtime[f]=Object.assign(du[f],{type:"formatter"},{id:f,module:$W});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,b,y){var _=this,k=f.param,C=this.plural.locale,A=k&&k.length===1&&k[0];if(A&&A.type==="content"&&/^\s*::/.test(A.value)){var M=A.value.trim().substr(2),U=xn("date_".concat(C,"_").concat(M),!0);if(!this.runtimeIncludes(U,"formatter")){var me=Jt(C,M,this.options.timeZone);this.runtime[U]=Object.assign(me,{id:U,module:null,toString:function(){return Vt(C,M,_.options.timeZone)},type:"formatter"})}return U}if(b.push(JSON.stringify(C)),k&&k.length>0){y&&this.options.strict&&(y=null);var De=k.map(function(Ge){return _.token(Ge,y)});b.push("("+(De.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,b,y){var _=this,k=f.param,C=this.plural.locale;if(!k||k.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),k.length===1&&k[0].type==="content"){var A=k[0].value.trim();switch(A){case"currency":return b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var M=A.match(/^currency:([A-Z]+)$/);if(M)return b.push(JSON.stringify(M[1])),this.setFormatter("numberCurrency"),"numberCurrency";var U=xn("number_".concat(C,"_").concat(A),!0);if(!this.runtimeIncludes(U,"formatter")){var me=this.options.currency,De=fW(C,A,me);this.runtime[U]=Object.assign(De,{id:null,module:null,toString:function(){return gW(C,A,me)},type:"formatter"})}return U}y&&this.options.strict&&(y=null);var Ge=k.map(function(ae){return _.token(ae,y)});return b.push("("+(Ge.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function tg(p){return p in du}let Y=p=>p==1?"one":"other",Ua=p=>p==0||p==1?"one":"other",Sa=p=>p>=0&&p<=1?"one":"other",li=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},tt=p=>"other",Ga=p=>p==1?"one":p==2?"two":"other";var UW=Object.freeze({__proto__:null,af:Y,ak:Ua,am:Sa,an:Y,ar:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Sa,asa:Y,ast:li,az:Y,bal:Y,be:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":b&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:Y,bez:Y,bg:Y,bho:Ua,bm:tt,bn:Sa,bo:tt,br:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),k=b&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&b&&k==0?"many":"other"},brx:Y,bs:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},ca:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},ce:Y,ceb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:Y,chr:Y,ckb:Y,cs:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),b=f[0],y=Number(f[0])==p;return p==1||!y&&(b==0||b==1)?"one":"other"},de:li,doi:Sa,dsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-2),C=y.slice(-2);return _&&k==1||C==1?"one":_&&k==2||C==2?"two":_&&(k==3||k==4)||C==3||C==4?"few":"other"},dv:Y,dz:tt,ee:Y,el:Y,en:li,eo:Y,es:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1?"one":b!=0&&_==0&&y?"many":"other"},et:li,eu:Y,fa:Sa,ff:p=>p>=0&&p<2?"one":"other",fi:li,fil:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:Y,fr:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p>=0&&p<2?"one":b!=0&&_==0&&y?"many":"other"},fur:Y,fy:li,ga:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:li,gsw:Y,gu:Sa,guw:Ua,gv:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(k==0||k==20||k==40||k==60||k==80)?"few":y?"other":"many"},ha:Y,haw:Y,he:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:Sa,hnj:tt,hr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-2),C=y.slice(-2);return _&&k==1||C==1?"one":_&&k==2||C==2?"two":_&&(k==3||k==4)||C==3||C==4?"few":"other"},hu:Y,hy:p=>p>=0&&p<2?"one":"other",ia:li,id:tt,ig:tt,ii:tt,io:li,is:p=>{let f=String(p).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,k=b.slice(-1),C=b.slice(-2);return _&&k==1&&C!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},iu:Ga,ja:tt,jbo:tt,jgo:Y,jmc:Y,jv:tt,jw:tt,ka:Y,kab:p=>p>=0&&p<2?"one":"other",kaj:Y,kcg:Y,kde:tt,kea:tt,kk:Y,kkj:Y,kl:Y,km:tt,kn:Sa,ko:tt,ks:Y,ksb:Y,ksh:p=>p==0?"zero":p==1?"one":"other",ku:Y,kw:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),k=b&&f[0].slice(-5),C=b&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||b&&_==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&C==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:Y,lag:p=>{let f=String(p).split("."),b=f[0];return p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:Y,lg:Y,lij:li,lkt:tt,ln:Ua,lo:tt,lt:p=>{let f=String(p).split("."),b=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),k=y&&f[0].slice(-2);return _==1&&(k<11||k>19)?"one":_>=2&&_<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,k=_&&f[0].slice(-1),C=_&&f[0].slice(-2),A=b.slice(-2),M=b.slice(-1);return _&&k==0||C>=11&&C<=19||y==2&&A>=11&&A<=19?"zero":k==1&&C!=11||y==2&&M==1&&A!=11||y!=2&&M==1?"one":"other"},mas:Y,mg:Ua,mgo:Y,mk:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":"other"},ml:Y,mn:Y,mo:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:Y,ms:tt,mt:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:tt,nah:Y,naq:Ga,nb:Y,nd:Y,ne:Y,nl:li,nn:Y,nnh:Y,no:Y,nqo:tt,nr:Y,nso:Ua,ny:Y,nyn:Y,om:Y,or:Y,os:Y,osa:tt,pa:Ua,pap:Y,pcm:Sa,pl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&k>=12&&k<=14?"many":"other"},prg:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,k=_&&f[0].slice(-1),C=_&&f[0].slice(-2),A=b.slice(-2),M=b.slice(-1);return _&&k==0||C>=11&&C<=19||y==2&&A>=11&&A<=19?"zero":k==1&&C!=11||y==2&&M==1&&A!=11||y!=2&&M==1?"one":"other"},ps:Y,pt:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return b==0||b==1?"one":b!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},rm:Y,ro:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:Y,ru:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1&&k!=11?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&k>=11&&k<=14?"many":"other"},rwk:Y,sah:tt,saq:Y,sat:Ga,sc:li,scn:li,sd:Y,sdh:Y,se:Ga,seh:Y,ses:tt,sg:tt,sh:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},shi:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"";return p==0||p==1||b==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:Ga,smi:Ga,smj:Ga,smn:Ga,sms:Ga,sn:Y,so:Y,sq:Y,sr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},ss:Y,ssy:Y,st:Y,su:tt,sv:li,sw:li,syr:Y,ta:Y,te:Y,teo:Y,th:tt,ti:Ua,tig:Y,tk:Y,tl:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:Y,to:tt,tpi:tt,tr:Y,ts:Y,tzm:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:Y,uk:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1&&k!=11?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&k>=11&&k<=14?"many":"other"},und:tt,ur:li,uz:Y,ve:Y,vec:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},vi:tt,vo:Y,vun:Y,wa:Ua,wae:Y,wo:tt,xh:Y,xog:Y,yi:li,yo:tt,yue:tt,zh:tt,zu:Sa});let Ya="zero",ee="one",Ct="two",je="few",Be="many",L="other",z={cardinal:[ee,L],ordinal:[L]},Yn={cardinal:[ee,L],ordinal:[ee,L]},at={cardinal:[L],ordinal:[L]},ka={cardinal:[ee,Ct,L],ordinal:[L]};var ig=Object.freeze({__proto__:null,af:z,ak:z,am:z,an:z,ar:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[L]},ars:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[L]},as:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},asa:z,ast:z,az:{cardinal:[ee,L],ordinal:[ee,je,Be,L]},bal:Yn,be:{cardinal:[ee,je,Be,L],ordinal:[je,L]},bem:z,bez:z,bg:z,bho:z,bm:at,bn:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},bo:at,br:{cardinal:[ee,Ct,je,Be,L],ordinal:[L]},brx:z,bs:{cardinal:[ee,je,L],ordinal:[L]},ca:{cardinal:[ee,Be,L],ordinal:[ee,Ct,je,L]},ce:z,ceb:z,cgg:z,chr:z,ckb:z,cs:{cardinal:[ee,je,Be,L],ordinal:[L]},cy:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[Ya,ee,Ct,je,Be,L]},da:z,de:z,doi:z,dsb:{cardinal:[ee,Ct,je,L],ordinal:[L]},dv:z,dz:at,ee:z,el:z,en:{cardinal:[ee,L],ordinal:[ee,Ct,je,L]},eo:z,es:{cardinal:[ee,Be,L],ordinal:[L]},et:z,eu:z,fa:z,ff:z,fi:z,fil:Yn,fo:z,fr:{cardinal:[ee,Be,L],ordinal:[ee,L]},fur:z,fy:z,ga:{cardinal:[ee,Ct,je,Be,L],ordinal:[ee,L]},gd:{cardinal:[ee,Ct,je,L],ordinal:[ee,Ct,je,L]},gl:z,gsw:z,gu:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},guw:z,gv:{cardinal:[ee,Ct,je,Be,L],ordinal:[L]},ha:z,haw:z,he:ka,hi:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},hnj:at,hr:{cardinal:[ee,je,L],ordinal:[L]},hsb:{cardinal:[ee,Ct,je,L],ordinal:[L]},hu:Yn,hy:Yn,ia:z,id:at,ig:at,ii:at,io:z,is:z,it:{cardinal:[ee,Be,L],ordinal:[Be,L]},iu:ka,ja:at,jbo:at,jgo:z,jmc:z,jv:at,jw:at,ka:{cardinal:[ee,L],ordinal:[ee,Be,L]},kab:z,kaj:z,kcg:z,kde:at,kea:at,kk:{cardinal:[ee,L],ordinal:[Be,L]},kkj:z,kl:z,km:at,kn:z,ko:at,ks:z,ksb:z,ksh:{cardinal:[Ya,ee,L],ordinal:[L]},ku:z,kw:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[ee,Be,L]},ky:z,lag:{cardinal:[Ya,ee,L],ordinal:[L]},lb:z,lg:z,lij:{cardinal:[ee,L],ordinal:[Be,L]},lkt:at,ln:z,lo:{cardinal:[L],ordinal:[ee,L]},lt:{cardinal:[ee,je,Be,L],ordinal:[L]},lv:{cardinal:[Ya,ee,L],ordinal:[L]},mas:z,mg:z,mgo:z,mk:{cardinal:[ee,L],ordinal:[ee,Ct,Be,L]},ml:z,mn:z,mo:{cardinal:[ee,je,L],ordinal:[ee,L]},mr:{cardinal:[ee,L],ordinal:[ee,Ct,je,L]},ms:{cardinal:[L],ordinal:[ee,L]},mt:{cardinal:[ee,Ct,je,Be,L],ordinal:[L]},my:at,nah:z,naq:ka,nb:z,nd:z,ne:Yn,nl:z,nn:z,nnh:z,no:z,nqo:at,nr:z,nso:z,ny:z,nyn:z,om:z,or:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},os:z,osa:at,pa:z,pap:z,pcm:z,pl:{cardinal:[ee,je,Be,L],ordinal:[L]},prg:{cardinal:[Ya,ee,L],ordinal:[L]},ps:z,pt:{cardinal:[ee,Be,L],ordinal:[L]},pt_PT:{cardinal:[ee,Be,L],ordinal:[L]},rm:z,ro:{cardinal:[ee,je,L],ordinal:[ee,L]},rof:z,ru:{cardinal:[ee,je,Be,L],ordinal:[L]},rwk:z,sah:at,saq:z,sat:ka,sc:{cardinal:[ee,L],ordinal:[Be,L]},scn:{cardinal:[ee,L],ordinal:[Be,L]},sd:z,sdh:z,se:ka,seh:z,ses:at,sg:at,sh:{cardinal:[ee,je,L],ordinal:[L]},shi:{cardinal:[ee,je,L],ordinal:[L]},si:z,sk:{cardinal:[ee,je,Be,L],ordinal:[L]},sl:{cardinal:[ee,Ct,je,L],ordinal:[L]},sma:ka,smi:ka,smj:ka,smn:ka,sms:ka,sn:z,so:z,sq:{cardinal:[ee,L],ordinal:[ee,Be,L]},sr:{cardinal:[ee,je,L],ordinal:[L]},ss:z,ssy:z,st:z,su:at,sv:Yn,sw:z,syr:z,ta:z,te:z,teo:z,th:at,ti:z,tig:z,tk:{cardinal:[ee,L],ordinal:[je,L]},tl:Yn,tn:z,to:at,tpi:at,tr:z,ts:z,tzm:z,ug:z,uk:{cardinal:[ee,je,Be,L],ordinal:[je,L]},und:at,ur:z,uz:z,ve:z,vec:{cardinal:[ee,Be,L],ordinal:[Be,L]},vi:{cardinal:[L],ordinal:[ee,L]},vo:z,vun:z,wa:z,wae:z,wo:at,xh:z,xog:z,yi:z,yo:at,yue:at,zh:at,zu:z});let te=(p,f)=>f?"other":p==1?"one":"other",Wa=(p,f)=>f?"other":p==0||p==1?"one":"other",Mr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Wi=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},nt=(p,f)=>"other",Ka=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var vl=Object.freeze({__proto__:null,af:te,ak:Wa,am:Mr,an:te,ar:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:te,ast:Wi,az:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-1),k=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||k==20||k==50||k==70||k==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==900?"few":y==0||_==6||k==40||k==60||k==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2);return f?(_==2||_==3)&&k!=12&&k!=13?"few":"other":_==1&&k!=11?"one":_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||_>=5&&_<=9||k>=11&&k<=14?"many":"other"},bem:te,bez:te,bg:te,bho:Wa,bm:nt,bn:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",bo:nt,br:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2),C=y&&b[0].slice(-6);return f?"other":_==1&&k!=11&&k!=71&&k!=91?"one":_==2&&k!=12&&k!=72&&k!=92?"two":(_==3||_==4||_==9)&&(k<10||k>19)&&(k<70||k>79)&&(k<90||k>99)?"few":p!=0&&y&&C==0?"many":"other"},brx:te,bs:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},ca:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},ce:te,ceb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=_.slice(-1);return f?"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&A!=4&&A!=6&&A!=9?"one":"other"},cgg:te,chr:te,ckb:te,cs:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let b=String(p).split("."),y=b[0],_=Number(b[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:Wi,doi:Mr,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-2),A=_.slice(-2);return f?"other":k&&C==1||A==1?"one":k&&C==2||A==2?"two":k&&(C==3||C==4)||A==3||A==4?"few":"other"},dv:te,dz:nt,ee:te,el:te,en:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?k==1&&C!=11?"one":k==2&&C!=12?"two":k==3&&C!=13?"few":"other":p==1&&y?"one":"other"},eo:te,es:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":p==1?"one":y!=0&&k==0&&_?"many":"other"},et:Wi,eu:te,fa:Mr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Wi,fil:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=_.slice(-1);return f?p==1?"one":"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&A!=4&&A!=6&&A!=9?"one":"other"},fo:te,fr:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&k==0&&_?"many":"other"},fur:te,fy:Wi,ga:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Wi,gsw:te,gu:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",guw:Wa,gv:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":_&&k==1?"one":_&&k==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:te,haw:te,he:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:nt,hr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},hsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-2),A=_.slice(-2);return f?"other":k&&C==1||A==1?"one":k&&C==2||A==2?"two":k&&(C==3||C==4)||A==3||A==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:Wi,id:nt,ig:nt,ii:nt,io:Wi,is:(p,f)=>{let b=String(p).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),k=Number(b[0])==p,C=y.slice(-1),A=y.slice(-2);return f?"other":k&&C==1&&A!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},iu:Ka,ja:nt,jbo:nt,jgo:te,jmc:te,jv:nt,jw:nt,ka:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:te,kcg:te,kde:nt,kea:nt,kk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:te,kl:te,km:nt,kn:Mr,ko:nt,ks:te,ksb:te,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:te,kw:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2),k=y&&b[0].slice(-3),C=y&&b[0].slice(-5),A=y&&b[0].slice(-6);return f?y&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||y&&k==0&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&A==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:te,lag:(p,f)=>{let b=String(p).split("."),y=b[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:te,lg:te,lij:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:nt,ln:Wa,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":k==1&&(C<11||C>19)?"one":k>=2&&k<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,k=Number(b[0])==p,C=k&&b[0].slice(-1),A=k&&b[0].slice(-2),M=y.slice(-2),U=y.slice(-1);return f?"other":k&&C==0||A>=11&&A<=19||_==2&&M>=11&&M<=19?"zero":C==1&&A!=11||_==2&&U==1&&M!=11||_!=2&&U==1?"one":"other"},mas:te,mg:Wa,mgo:te,mk:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?C==1&&A!=11?"one":C==2&&A!=12?"two":(C==7||C==8)&&A!=17&&A!=18?"many":"other":k&&C==1&&A!=11||M==1&&U!=11?"one":"other"},ml:te,mn:te,mo:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&k>=1&&k<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:nt,nah:te,naq:Ka,nb:te,nd:te,ne:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:Wi,nn:te,nnh:te,no:te,nqo:nt,nr:te,nso:Wa,ny:te,nyn:te,om:te,or:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:te,osa:nt,pa:Wa,pap:te,pcm:Mr,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&k>=2&&k<=4&&(C<12||C>14)?"few":_&&y!=1&&(k==0||k==1)||_&&k>=5&&k<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,k=Number(b[0])==p,C=k&&b[0].slice(-1),A=k&&b[0].slice(-2),M=y.slice(-2),U=y.slice(-1);return f?"other":k&&C==0||A>=11&&A<=19||_==2&&M>=11&&M<=19?"zero":C==1&&A!=11||_==2&&U==1&&M!=11||_!=2&&U==1?"one":"other"},ps:te,pt:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&k==0&&_?"many":"other"},pt_PT:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},rm:te,ro:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&k>=1&&k<=19?"few":"other"},rof:te,ru:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":_&&k==1&&C!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)?"few":_&&k==0||_&&k>=5&&k<=9||_&&C>=11&&C<=14?"many":"other"},rwk:te,sah:nt,saq:te,sat:Ka,sc:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:te,sdh:te,se:Ka,seh:te,ses:nt,sg:nt,sh:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},shi:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-2);return f?"other":_&&k==1?"one":_&&k==2?"two":_&&(k==3||k==4)||!_?"few":"other"},sma:Ka,smi:Ka,smj:Ka,smn:Ka,sms:Ka,sn:te,so:te,sq:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2);return f?p==1?"one":_==4&&k!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},ss:te,ssy:te,st:te,su:nt,sv:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(k==1||k==2)&&C!=11&&C!=12?"one":"other":p==1&&y?"one":"other"},sw:Wi,syr:te,ta:te,te,teo:te,th:nt,ti:Wa,tig:te,tk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=_.slice(-1);return f?p==1?"one":"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&A!=4&&A!=6&&A!=9?"one":"other"},tn:te,to:nt,tpi:nt,tr:te,ts:te,tzm:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:te,uk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=Number(b[0])==p,C=k&&b[0].slice(-1),A=k&&b[0].slice(-2),M=y.slice(-1),U=y.slice(-2);return f?C==3&&A!=13?"few":"other":_&&M==1&&U!=11?"one":_&&M>=2&&M<=4&&(U<12||U>14)?"few":_&&M==0||_&&M>=5&&M<=9||_&&U>=11&&U<=14?"many":"other"},und:nt,ur:Wi,uz:te,ve:te,vec:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:te,vun:te,wa:Wa,wae:te,wo:nt,xh:te,xog:te,yi:Wi,yo:nt,yue:nt,zh:nt,zu:Mr});function pu(p){if(typeof p!="string"||p.length<2)throw new RangeError("Invalid language tag: ".concat(p));if(p.startsWith("pt-PT"))return"pt-PT";var f=p.match(/.+?(?=[-_])/);return f?f[0]:p}function bl(p){if(typeof p=="function"){var f=pu(p.name);return{isDefault:!1,id:xn(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=pu(p),y=xn(b);return WW(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:UW[y],getPlural:vl[y],cardinals:ig[y].cardinal,ordinals:ig[y].ordinal}:null}function GW(p){var f=Object.keys(vl).filter(function(b){return b!==p});return f.unshift(p),f.map(bl)}function YW(p){var f=pu(p);return xn(f)in vl}function WW(p){return p in vl}var KW=function(){function p(f,b){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:b&&b.strictNumberSign||!1,strictPluralKeys:!0},b),f==="*")this.plurals=GW(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(bl).filter(Boolean);else if(f){var y=bl(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=bl(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,b){var y=b?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var b=Array.isArray(f)?f:[f];return b.filter(YW)},p.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new qW(this.options),k="return "+_.compile(f,this.plurals[0]),C=[],A=[];try{for(var M=i(Object.entries(_.runtime)),U=M.next();!U.done;U=M.next()){var me=a(U.value,2),De=me[0],Ge=me[1];C.push(De),A.push(Ge)}}catch(yt){b={error:yt}}finally{try{U&&!U.done&&(y=M.return)&&y.call(M)}finally{if(b)throw b.error}}var ae=new(Function.bind.apply(Function,r(r([void 0],a(C),!1),[k],!1)));return ae.apply(void 0,r([],a(A),!1))},p.defaultLocale="en",p}();return KW})}),Ui=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}var n=function i(a,r){t(this,i),this.data=a,this.text=r.text||a,this.options=r};e.default=n}),lK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function E(N,V){for(var R=0;R<V.length;R++){var oe=V[R];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(N,oe.key,oe)}}return function(N,V,R){return V&&E(N.prototype,V),R&&E(N,R),N}}(),n=Ui(),i=a(n);function a(E){return E&&E.__esModule?E:{default:E}}function r(E,N){if(!(E instanceof N))throw new TypeError("Cannot call a class as a function")}function s(E,N){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:E}function l(E,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N)}var c=function(E){l(N,E);function N(V,R){return r(this,N),V=V.toUpperCase(),R.mod43&&(V+=g(w(V))),s(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,V,R))}return t(N,[{key:"encode",value:function(){for(var V=m("*"),R=0;R<this.data.length;R++)V+=m(this.data[R])+"0";return V+=m("*"),{data:V,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),N}(i.default),d=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],u=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(E){return v(x(E))}function v(E){return u[E].toString(2)}function g(E){return d[E]}function x(E){return d.indexOf(E)}function w(E){for(var N=0,V=0;V<E.length;V++)N+=x(E[V]);return N=N%43,N}e.CODE39=c}),Ns=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function n(d,u,m){return u in d?Object.defineProperty(d,u,{value:m,enumerable:!0,configurable:!0,writable:!0}):d[u]=m,d}var i=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var s=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},n(t,s,i),n(t,l,a),n(t,c,r),t),e.SWAP={101:i,100:a,99:r},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),od=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=Ui(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){s(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(w){return w.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var w=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+w.result+m.getBar((w.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var w=void 0,E=void 0;if(v[0]>=200){E=v.shift()-105;var N=a.SWAP[E];N!==void 0?w=m.next(v,g+1,N):((x===a.SET_A||x===a.SET_B)&&E===a.SHIFT&&(v[0]=x===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),w=m.next(v,g+1,x))}else E=m.correctIndex(v,x),w=m.next(v,g+1,x);var V=m.getBar(E),R=E*g;return{result:V+w.result,checksum:R+w.checksum}}}]),m}(i.default);e.default=d}),cK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ns(),n=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},i=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,c){var d=c?t.A_CHARS:t.B_CHARS,u=l.match(new RegExp("^("+d+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+s(l.substring(u[1].length));var m=l.match(new RegExp("^"+d+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(c?205:206)+r(l.substring(m.length),!c)}function s(l){var c=a(l),d=c.length;if(d===l.length)return l;l=l.substring(d);var u=n(l)>=i(l);return c+String.fromCharCode(u?206:205)+r(l,u)}e.default=function(l){var c=void 0,d=a(l).length;if(d>=2)c=t.C_START_CHAR+s(l);else{var u=n(l)>i(l);c=(u?t.A_START_CHAR:t.B_START_CHAR)+r(l,u)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),dK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=od(),n=r(t),i=cK(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){if(s(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(n.default);e.default=d}),uK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=od(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),hK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=od(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),pK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=od(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),mK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=dK(),n=d(t),i=uK(),a=d(i),r=hK(),s=d(r),l=pK(),c=d(l);function d(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=a.default,e.CODE128B=s.default,e.CODE128C=c.default}),Ms=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),Ps=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ms(),n=function(i,a,r){var s=i.split("").map(function(c,d){return t.BINARIES[a[d]]}).map(function(c,d){return c?c[i[d]]:""});if(r){var l=i.length-1;s=s.map(function(c,d){return d<l?c+r:c})}return s.join("")};e.default=n}),vy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=Ms(),i=Ps(),a=l(i),r=Ui(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function u(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){u(g,v);function g(x,w){c(this,g);var E=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.fontSize=!w.flat&&w.fontSize>w.width*10?w.width*10:w.fontSize,E.guardHeight=w.height+E.fontSize/2+w.textMargin,E}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,w){return this.text.substr(x,w)}},{key:"leftEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"rightText",value:function(x,w){return this.text.substr(x,w)}},{key:"rightEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},w={height:this.guardHeight};return[{data:n.SIDE_BIN,options:w},{data:this.leftEncode(),text:this.leftText(),options:x},{data:n.MIDDLE_BIN,options:w},{data:this.rightEncode(),text:this.rightText(),options:x},{data:n.SIDE_BIN,options:w}]}},{key:"encodeFlat",value:function(){var x=[n.SIDE_BIN,this.leftEncode(),n.MIDDLE_BIN,this.rightEncode(),n.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),g}(s.default);e.default=m}),fK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=function v(g,x,w){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,x);if(E===void 0){var N=Object.getPrototypeOf(g);return N===null?void 0:v(N,x,w)}else{if("value"in E)return E.value;var V=E.get;return V===void 0?void 0:V.call(w)}},i=Ms(),a=vy(),r=s(a);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var u=function(v){var g=v.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,w,E){return E%2?x+w*3:x+w},0);return(10-g%10)%10},m=function(v){d(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=u(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.lastChar=w.lastChar,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===u(this.data)}},{key:"leftText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),w=i.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,w)}},{key:"rightText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(x.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(x.push({data:"00"}),x.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),x}}]),g}(r.default);e.default=m}),gK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var w=g[x];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),n=function m(v,g,x){v===null&&(v=Function.prototype);var w=Object.getOwnPropertyDescriptor(v,g);if(w===void 0){var E=Object.getPrototypeOf(v);return E===null?void 0:m(E,g,x)}else{if("value"in w)return w.value;var N=w.get;return N===void 0?void 0:N.call(x)}},i=vy(),a=r(i);function r(m){return m&&m.__esModule?m:{default:m}}function s(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function c(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var d=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,x,w){return w%2?g+x:g+x*3},0);return(10-v%10)%10},u=function(m){c(v,m);function v(g,x){return s(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=d(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,x))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=u}),vK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,w){for(var E=0;E<w.length;E++){var N=w[E];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,N.key,N)}}return function(x,w,E){return w&&g(x.prototype,w),E&&g(x,E),x}}(),n=Ms(),i=Ps(),a=l(i),r=Ui(),s=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,x){if(!(g instanceof x))throw new TypeError("Cannot call a class as a function")}function d(g,x){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:g}function u(g,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);g.prototype=Object.create(x&&x.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(g,x):g.__proto__=x)}var m=function(g){var x=g.split("").map(function(w){return+w}).reduce(function(w,E,N){return N%2?w+E*9:w+E*3},0);return x%10},v=function(g){u(x,g);function x(w,E){return c(this,x),d(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,w,E))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var w=n.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),x}(s.default);e.default=v}),bK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=Ms(),i=Ps(),a=l(i),r=Ui(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function u(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){u(g,v);function g(x,w){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(s.default);e.default=m}),by=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}();e.checksum=m;var n=Ps(),i=s(n),a=Ui(),r=s(a);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var u=function(v){d(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.displayValue=w.displayValue,w.fontSize>w.width*10?E.fontSize=w.width*10:E.fontSize=w.fontSize,E.guardHeight=w.height+E.fontSize/2+w.textMargin,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var x="";return x+="101",x+=(0,i.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,i.default)(this.data.substr(6,6),"RRRRRR"),x+="101",{data:x,text:this.text}}},{key:"guardedEncoding",value:function(){var x=[];return this.displayValue&&x.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),x.push({data:"101"+(0,i.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),x.push({data:"01010",options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,i.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&x.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),x}}]),g}(r.default);function m(v){var g=0,x;for(x=1;x<11;x+=2)g+=parseInt(v[x]);for(x=0;x<11;x+=2)g+=parseInt(v[x])*3;return(10-g%10)%10}e.default=u}),yK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(E,N){for(var V=0;V<N.length;V++){var R=N[V];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(E,R.key,R)}}return function(E,N,V){return N&&w(E.prototype,N),V&&w(E,V),E}}(),n=Ps(),i=l(n),a=Ui(),r=l(a),s=by();function l(w){return w&&w.__esModule?w:{default:w}}function c(w,E){if(!(w instanceof E))throw new TypeError("Cannot call a class as a function")}function d(w,E){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:w}function u(w,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);w.prototype=Object.create(E&&E.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(w,E):w.__proto__=E)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(w){u(E,w);function E(N,V){c(this,E);var R=d(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,N,V));if(R.isValid=!1,N.search(/^[0-9]{6}$/)!==-1)R.middleDigits=N,R.upcA=x(N,"0"),R.text=V.text||""+R.upcA[0]+N+R.upcA[R.upcA.length-1],R.isValid=!0;else if(N.search(/^[01][0-9]{7}$/)!==-1)if(R.middleDigits=N.substring(1,N.length-1),R.upcA=x(R.middleDigits,N[0]),R.upcA[R.upcA.length-1]===N[N.length-1])R.isValid=!0;else return d(R);else return d(R);return R.displayValue=V.displayValue,V.fontSize>V.width*10?R.fontSize=V.width*10:R.fontSize=V.fontSize,R.guardHeight=V.height+R.fontSize/2+V.textMargin,R}return t(E,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var N="";return N+="101",N+=this.encodeMiddleDigits(),N+="010101",{data:N,text:this.text}}},{key:"guardedEncoding",value:function(){var N=[];return this.displayValue&&N.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),N.push({data:"101",options:{height:this.guardHeight}}),N.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),N.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&N.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),N}},{key:"encodeMiddleDigits",value:function(){var N=this.upcA[0],V=this.upcA[this.upcA.length-1],R=v[parseInt(V)][parseInt(N)];return(0,i.default)(this.middleDigits,R)}}]),E}(r.default);function x(w,E){for(var N=parseInt(w[w.length-1]),V=m[N],R="",oe=0,xe=0;xe<V.length;xe++){var Me=V[xe];Me==="X"?R+=w[oe++]:R+=Me}return R=""+E+R,""+R+(0,s.checksum)(R)}e.default=g}),_K=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=fK(),n=g(t),i=gK(),a=g(i),r=vK(),s=g(r),l=bK(),c=g(l),d=by(),u=g(d),m=yK(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=n.default,e.EAN8=a.default,e.EAN5=s.default,e.EAN2=c.default,e.UPC=u.default,e.UPCE=v.default}),xK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),yy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=xK(),i=Ui(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data:n.START_BIN+g+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=n.BINARIES[v[1]];return n.BINARIES[v[0]].split("").map(function(x,w){return(x==="1"?"111":"1")+(g[w]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=d}),wK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=yy(),i=a(n);function a(u){return u&&u.__esModule?u:{default:u}}function r(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function s(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function l(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var c=function(u){var m=u.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,x){return v+g*(3-x%2*2)},0);return Math.ceil(m/10)*10-m},d=function(u){l(m,u);function m(v,g){return r(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=c(v)),s(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),m}(i.default);e.default=d}),SK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=yy(),n=r(t),i=wK(),a=r(i);function r(s){return s&&s.__esModule?s:{default:s}}e.ITF=n.default,e.ITF14=a.default}),Rs=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=Ui(),i=a(n);function a(u){return u&&u.__esModule?u:{default:u}}function r(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function s(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function l(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var c=function(u){l(m,u);function m(v,g){return r(this,m),s(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),w=x.toString(2);w=d(w,4-w.length);for(var E=0;E<w.length;E++)v+=w[E]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(i.default);function d(u,m){for(var v=0;v<m;v++)u="0"+u;return u}e.default=c}),sd=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=n;function t(i){for(var a=0,r=0;r<i.length;r++){var s=parseInt(i[r]);(r+i.length)%2===0?a+=s:a+=s*2%10+Math.floor(s*2/10)}return(10-a%10)%10}function n(i){for(var a=0,r=[2,3,4,5,6,7],s=0;s<i.length;s++){var l=parseInt(i[i.length-1-s]);a+=r[s%r.length]*l}return(11-a%11)%11}}),kK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod10)(m),v))}return u}(n.default);e.default=c}),EK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod11)(m),v))}return u}(n.default);e.default=c}),CK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),m+=(0,i.mod10)(m),m+=(0,i.mod10)(m),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),DK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),m+=(0,i.mod11)(m),m+=(0,i.mod10)(m),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),IK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Rs(),n=m(t),i=kK(),a=m(i),r=EK(),s=m(r),l=CK(),c=m(l),d=DK(),u=m(d);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=n.default,e.MSI10=a.default,e.MSI11=s.default,e.MSI1010=c.default,e.MSI1110=u.default}),AK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Ui(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){r(this,u);var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v));return g.number=parseInt(m,10),g}return t(u,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(i.default);e.pharmacode=c}),OK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Ui(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){r(this,u),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(u,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),u}(i.default);e.codabar=c}),TK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),_y=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=TK(),i=Ui(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(E){return n.MULTI_SYMBOLS[E]||E}),g=v.map(function(E){return m.getEncoding(E)}).join(""),x=m.checksum(v,20),w=m.checksum(v.concat(x),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(x)+m.getEncoding(w)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return n.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return n.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return n.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var x=v.slice().reverse().reduce(function(w,E,N){var V=N%g+1;return w+m.symbolValue(E)*V},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=d}),NK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=_y(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return t(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(i.default);e.default=c}),MK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=_y(),n=r(t),i=NK(),a=r(i);function r(s){return s&&s.__esModule?s:{default:s}}e.CODE93=n.default,e.CODE93FullASCII=a.default}),PK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Ui(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return t(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(i.default);e.GenericBarcode=c}),RK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=lK(),n=mK(),i=_K(),a=SK(),r=IK(),s=AK(),l=OK(),c=MK(),d=PK();e.default={CODE39:t.CODE39,CODE128:n.CODE128,CODE128A:n.CODE128A,CODE128B:n.CODE128B,CODE128C:n.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:s.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:d.GenericBarcode}}),ld=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])}return n};e.default=function(n,i){return t({},n,i)}}),FK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=[];function a(r){if(Array.isArray(r))for(var s=0;s<r.length;s++)a(r[s]);else r.text=r.text||"",r.data=r.data||"",i.push(r)}return a(n),i}}),LK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){return n.marginTop=n.marginTop||n.margin,n.marginBottom=n.marginBottom||n.margin,n.marginRight=n.marginRight||n.margin,n.marginLeft=n.marginLeft||n.margin,n}}),xy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in i)i.hasOwnProperty(a)&&(a=i[a],typeof n[a]=="string"&&(n[a]=parseInt(n[a],10)));return typeof n.displayValue=="string"&&(n.displayValue=n.displayValue!="false"),n}}),wy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=t}),VK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=xy(),n=r(t),i=wy(),a=r(i);function r(l){return l&&l.__esModule?l:{default:l}}function s(l){var c={};for(var d in a.default)a.default.hasOwnProperty(d)&&(l.hasAttribute("jsbarcode-"+d.toLowerCase())&&(c[d]=l.getAttribute("jsbarcode-"+d.toLowerCase())),l.hasAttribute("data-"+d.toLowerCase())&&(c[d]=l.getAttribute("data-"+d.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,n.default)(c),c}e.default=s}),Sy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=ld(),n=i(t);function i(u){return u&&u.__esModule?u:{default:u}}function a(u,m){return m.height+(m.displayValue&&u.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(u,m,v){if(v.displayValue&&m<u){if(v.textAlign=="center")return Math.floor((u-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(u-m)}return 0}function s(u,m,v){for(var g=0;g<u.length;g++){var x=u[g],w=(0,n.default)(m,x.options),E;w.displayValue?E=d(x.text,w,v):E=0;var N=x.data.length*w.width;x.width=Math.ceil(Math.max(E,N)),x.height=a(x,w),x.barcodePadding=r(E,N,w)}}function l(u){for(var m=0,v=0;v<u.length;v++)m+=u[v].width;return m}function c(u){for(var m=0,v=0;v<u.length;v++)u[v].height>m&&(m=u[v].height);return m}function d(u,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var x=g.measureText(u);if(!x)return 0;var w=x.width;return w}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=s,e.getTotalWidthOfEncodings=l}),zK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,u){for(var m=0;m<u.length;m++){var v=u[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}return function(d,u,m){return u&&c(d.prototype,u),m&&c(d,m),d}}(),n=ld(),i=r(n),a=Sy();function r(c){return c&&c.__esModule?c:{default:c}}function s(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(d,u,m){s(this,c),this.canvas=d,this.encodings=u,this.options=m}return t(c,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var d=0;d<this.encodings.length;d++){var u=(0,i.default)(this.options,this.encodings[d].options);this.drawCanvasBarcode(u,this.encodings[d]),this.drawCanvasText(u,this.encodings[d]),this.moveCanvasDrawing(this.encodings[d])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var d=this.canvas.getContext("2d");d.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,d);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=u+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,d.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(d.fillStyle=this.options.background,d.fillRect(0,0,this.canvas.width,this.canvas.height)),d.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(d,u){var m=this.canvas.getContext("2d"),v=u.data,g;d.textPosition=="top"?g=d.marginTop+d.fontSize+d.textMargin:g=d.marginTop,m.fillStyle=d.lineColor;for(var x=0;x<v.length;x++){var w=x*d.width+u.barcodePadding;v[x]==="1"?m.fillRect(w,g,d.width,d.height):v[x]&&m.fillRect(w,g,d.width,d.height*v[x])}}},{key:"drawCanvasText",value:function(d,u){var m=this.canvas.getContext("2d"),v=d.fontOptions+" "+d.fontSize+"px "+d.font;if(d.displayValue){var g,x;d.textPosition=="top"?x=d.marginTop+d.fontSize-d.textMargin:x=d.height+d.textMargin+d.marginTop+d.fontSize,m.font=v,d.textAlign=="left"||u.barcodePadding>0?(g=0,m.textAlign="left"):d.textAlign=="right"?(g=u.width-1,m.textAlign="right"):(g=u.width/2,m.textAlign="center"),m.fillText(u.text,g,x)}}},{key:"moveCanvasDrawing",value:function(d){var u=this.canvas.getContext("2d");u.translate(d.width,0)}},{key:"restoreCanvas",value:function(){var d=this.canvas.getContext("2d");d.restore()}}]),c}();e.default=l}),jK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=ld(),i=r(n),a=Sy();function r(d){return d&&d.__esModule?d:{default:d}}function s(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function d(u,m,v){s(this,d),this.svg=u,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(d,[{key:"render",value:function(){var u=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,i.default)(this.options,v.options),x=this.createGroup(u,g.marginTop,this.svg);this.setGroupOptions(x,g),this.drawSvgBarcode(x,g,v),this.drawSVGText(x,g,v),u+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(u,m,v){var g=v.data,x;m.textPosition=="top"?x=m.fontSize+m.textMargin:x=0;for(var w=0,E=0,N=0;N<g.length;N++)E=N*m.width+v.barcodePadding,g[N]==="1"?w++:w>0&&(this.drawRect(E-m.width*w,x,m.width*w,m.height,u),w=0);w>0&&this.drawRect(E-m.width*(w-1),x,m.width*w,m.height,u)}},{key:"drawSVGText",value:function(u,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,w;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?w=m.fontSize-m.textMargin:w=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",w),g.appendChild(this.document.createTextNode(v.text)),u.appendChild(g)}}},{key:"setSvgAttributes",value:function(u,m){var v=this.svg;v.setAttribute("width",u+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+u+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1"),v.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(u,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+u+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(u,m){u.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(u,m,v,g,x){var w=this.document.createElementNS(l,"rect");return w.setAttribute("x",u),w.setAttribute("y",m),w.setAttribute("width",v),w.setAttribute("height",g),x.appendChild(w),w}}]),d}();e.default=c}),BK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&a(r.prototype,s),l&&a(r,l),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r,s,l){n(this,a),this.object=r,this.encodings=s,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=i}),HK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=zK(),n=l(t),i=jK(),a=l(i),r=BK(),s=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:a.default,ObjectRenderer:s.default}}),ky=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function n(l,c){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:l}function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(l,c):l.__proto__=c)}var a=function(l){i(c,l);function c(d,u){t(this,c);var m=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return m.name="InvalidInputException",m.symbology=d,m.input=u,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return c}(Error),r=function(l){i(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="InvalidElementException",d.message="Not supported type to render on",d}return c}(Error),s=function(l){i(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="NoElementException",d.message="No element to render on.",d}return c}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=s}),$K=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},n=VK(),i=l(n),a=HK(),r=l(a),s=ky();function l(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof m=="string")return d(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(c(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return u(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,i.default)(m),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,i.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.default.ObjectRenderer};throw new s.InvalidElementException}}function d(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],x=0;x<v.length;x++)g.push(c(v[x]));return g}}function u(m){var v=document.createElement("canvas");return{element:v,options:(0,i.default)(m),renderer:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=c}),qK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&a(r.prototype,s),l&&a(r,l),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r){n(this,a),this.api=r}return t(a,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var s=r.apply(void 0,arguments);return this.api._options.valid(!0),s}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=i}),UK=be((e,t)=>{var n=RK(),i=R(n),a=ld(),r=R(a),s=FK(),l=R(s),c=LK(),d=R(c),u=$K(),m=R(u),v=xy(),g=R(v),x=qK(),w=R(x),E=ky(),N=wy(),V=R(N);function R(re){return re&&re.__esModule?re:{default:re}}var oe=function(){},xe=function(re,J,Ve){var j=new oe;if(typeof re>"u")throw Error("No element to render on was provided.");return j._renderProperties=(0,m.default)(re),j._encodings=[],j._options=V.default,j._errorHandler=new w.default(j),typeof J<"u"&&(Ve=Ve||{},Ve.format||(Ve.format=vt()),j.options(Ve)[Ve.format](J,Ve).render()),j};xe.getModule=function(re){return i.default[re]};for(Me in i.default)i.default.hasOwnProperty(Me)&&Jt(i.default,Me);var Me;function Jt(re,J){oe.prototype[J]=oe.prototype[J.toUpperCase()]=oe.prototype[J.toLowerCase()]=function(Ve,j){var G=this;return G._errorHandler.wrapBarcodeCall(function(){j.text=typeof j.text>"u"?void 0:""+j.text;var ie=(0,r.default)(G._options,j);ie=(0,g.default)(ie);var $e=re[J],ht=Vt(Ve,$e,ie);return G._encodings.push(ht),G})}}function Vt(re,J,Ve){re=""+re;var j=new J(re,Ve);if(!j.valid())throw new E.InvalidInputException(j.constructor.name,re);var G=j.encode();G=(0,l.default)(G);for(var ie=0;ie<G.length;ie++)G[ie].options=(0,r.default)(Ve,G[ie].options);return G}function vt(){return i.default.CODE128?"CODE128":Object.keys(i.default)[0]}oe.prototype.options=function(re){return this._options=(0,r.default)(this._options,re),this},oe.prototype.blank=function(re){var J=new Array(re+1).join("0");return this._encodings.push({data:J}),this},oe.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var re;for(var J in this._renderProperties){re=this._renderProperties[J];var Ve=(0,r.default)(this._options,re.options);Ve.format=="auto"&&(Ve.format=vt()),this._errorHandler.wrapBarcodeCall(function(){var j=Ve.value,G=i.default[Ve.format.toUpperCase()],ie=Vt(j,G,Ve);Gt(re,ie,Ve)})}}},oe.prototype.render=function(){if(!this._renderProperties)throw new E.NoElementException;if(Array.isArray(this._renderProperties))for(var re=0;re<this._renderProperties.length;re++)Gt(this._renderProperties[re],this._encodings,this._options);else Gt(this._renderProperties,this._encodings,this._options);return this},oe.prototype._defaults=V.default;function Gt(re,J,Ve){J=(0,l.default)(J);for(var j=0;j<J.length;j++)J[j].options=(0,r.default)(Ve,J[j].options),(0,d.default)(J[j].options);(0,d.default)(Ve);var G=re.renderer,ie=new G(re.element,J,Ve);ie.render(),re.afterRender&&re.afterRender()}typeof window<"u"&&(window.JsBarcode=xe),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(re,J){var Ve=[];return jQuery(this).each(function(){Ve.push(this)}),xe(Ve,re,J)}),t.exports=xe});function Lp(e,t){return Object.is(e,t)}var jt=null,Ql=!1,Vp=1,fi=Symbol("SIGNAL");function He(e){let t=jt;return jt=e,t}function GK(){return jt}var go={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Fs(e){if(Ql)throw new Error("");if(jt===null)return;jt.consumerOnSignalRead(e);let t=jt.nextProducerIndex++;if(hd(jt),t<jt.producerNode.length&&jt.producerNode[t]!==e&&cs(jt)){let n=jt.producerNode[t];ud(n,jt.producerIndexOfThis[t])}jt.producerNode[t]!==e&&(jt.producerNode[t]=e,jt.producerIndexOfThis[t]=cs(jt)?Dy(e,jt,t):0),jt.producerLastReadVersion[t]=e.version}function YK(){Vp++}function Ls(e){if(!(cs(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Vp)){if(!e.producerMustRecompute(e)&&!zp(e)){gc(e);return}e.producerRecomputeValue(e),gc(e)}}function Ey(e){if(e.liveConsumerNode===void 0)return;let t=Ql;Ql=!0;try{for(let n of e.liveConsumerNode)n.dirty||WK(n)}finally{Ql=t}}function Cy(){return(jt==null?void 0:jt.consumerAllowSignalWrites)!==!1}function WK(e){var t;e.dirty=!0,Ey(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function gc(e){e.dirty=!1,e.lastCleanEpoch=Vp}function ls(e){return e&&(e.nextProducerIndex=0),He(e)}function cd(e,t){if(He(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(cs(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ud(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function zp(e){hd(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Ls(n),i!==n.version))return!0}return!1}function dd(e){if(hd(e),cs(e))for(let t=0;t<e.producerNode.length;t++)ud(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Dy(e,t,n){if(Iy(e),e.liveConsumerNode.length===0&&Ay(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=Dy(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ud(e,t){if(Iy(e),e.liveConsumerNode.length===1&&Ay(e))for(let i=0;i<e.producerNode.length;i++)ud(e.producerNode[i],e.producerIndexOfThis[i]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let i=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];hd(a),a.producerIndexOfThis[i]=t}}function cs(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function hd(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Iy(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Ay(e){return e.producerNode!==void 0}function Oy(e,t){let n=Object.create(KK);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(Ls(n),Fs(n),n.value===Tn)throw n.error;return n.value};return i[fi]=n,i}var sr=Symbol("UNSET"),Kr=Symbol("COMPUTING"),Tn=Symbol("ERRORED"),KK=Qe(Q({},go),{value:sr,dirty:!0,error:null,equal:Lp,kind:"computed",producerMustRecompute(e){return e.value===sr||e.value===Kr},producerRecomputeValue(e){if(e.value===Kr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Kr;let n=ls(e),i,a=!1;try{i=e.computation(),He(null),a=t!==sr&&t!==Tn&&i!==Tn&&e.equal(t,i)}catch(r){i=Tn,e.error=r}finally{cd(e,n)}if(a){e.value=t;return}e.value=i,e.version++}});function ZK(){throw new Error}var Ty=ZK;function Ny(e){Ty(e)}function XK(e){Ty=e}function QK(e,t){let n=Object.create(Py);n.value=e,t!==void 0&&(n.equal=t);let i=()=>(Fs(n),n.value);return i[fi]=n,i}function Vs(e,t){Cy()||Ny(e),e.equal(e.value,t)||(e.value=t,JK(e))}function My(e,t){Cy()||Ny(e),Vs(e,t(e.value))}var Py=Qe(Q({},go),{equal:Lp,value:void 0,kind:"signal"});function JK(e){e.version++,YK(),Ey(e)}function lg(e,t,n){let i=Object.create(iZ);i.source=e,i.computation=t,n!=null&&(i.equal=n);let a=()=>{if(Ls(i),Fs(i),i.value===Tn)throw i.error;return i.value};return a[fi]=i,a}function eZ(e,t){Ls(e),Vs(e,t),gc(e)}function tZ(e,t){Ls(e),My(e,t),gc(e)}var iZ=Qe(Q({},go),{value:sr,dirty:!0,error:null,equal:Lp,kind:"linkedSignal",producerMustRecompute(e){return e.value===sr||e.value===Kr},producerRecomputeValue(e){if(e.value===Kr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Kr;let n=ls(e),i;try{let a=e.source(),r=t===sr||t===Tn?void 0:{source:e.sourceValue,value:t};i=e.computation(a,r),e.sourceValue=a}catch(a){i=Tn,e.error=a}finally{cd(e,n)}if(t!==sr&&i!==Tn&&e.equal(t,i)){e.value=t;return}e.value=i,e.version++}});function aZ(e){let t=He(null);try{return e()}finally{He(t)}}var _h;function Jl(){return _h}function kn(e){let t=_h;return _h=e,t}var Ry=Symbol("NotFound");function wt(e){return typeof e=="function"}function jp(e){let t=e(n=>{Error.call(n),n.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var mu=jp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
12
|
+
`)},Pt.prototype.clone=function(){return new Pt(this.states,this.state)},Pt.prototype.has=function(F){return!0},{compile:wn,states:Xa,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Qa}})})(Zf);var bW=Zf.exports;(function(p){var f=su&&su.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let b=f(bW);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=b.default.states(p.states)})(Kf),Object.defineProperty(Fo,"__esModule",{value:!0});var Xf=Fo.parse=Fo.ParseError=void 0;let Qf=Kf,fl=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),lu=p=>p==="plural"||p==="select"||p==="selectordinal";function yW(p,f){let b="",y="";for(let _ of f){let k=_.ctx.text;switch(y+=k,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=k;break;default:throw new ri(p,`Unsupported part in strict mode function arg style: ${k}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let _W=["number","date","time","spellout","ordinal","duration"],Jf=["zero","one","two","few","many","other"];class ri extends Error{constructor(f,b){super(Qf.lexer.formatError(f,b))}}Fo.ParseError=ri;class xW{constructor(f,b){var y,_,k,C;this.lexer=Qf.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:Jf,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:Jf,this.strict=(k=b==null?void 0:b.strict)!==null&&k!==void 0?k:!1,this.strictPluralKeys=(C=b==null?void 0:b.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new ri(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let _=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let k=`The ${b} case ${y} is not valid in this locale`;throw new ri(f,k)}}}parseSelect(f,b,y,_){let{value:k}=f,C={type:_,arg:k,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let A of this.lexer)switch(A.type){case"offset":if(_==="select")throw new ri(A,"Unexpected plural offset for select");if(C.cases.length>0)throw new ri(A,"Plural offset must be set before cases");C.pluralOffset=Number(A.value),y.text+=A.text,y.lineBreaks+=A.lineBreaks;break;case"case":{this.checkSelectKey(A,_,A.value),C.cases.push({key:A.value,tokens:this.parseBody(b),ctx:fl(A)});break}case"end":return C;default:throw new ri(A,`Unexpected lexer token: ${A.type}`)}throw new ri(null,"Unexpected message end")}parseArgToken(f,b){let y=fl(f),_=this.lexer.next();if(!_)throw new ri(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!_W.includes(_.value)){let k=`Invalid strict mode function arg type: ${_.value}`;throw new ri(f,k)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let k=this.lexer.next();if(!k)throw new ri(null,"Unexpected message end");if(k.type!=="end")throw new ri(k,`Unexpected lexer token: ${k.type}`);if(y.text+=k.text,lu(_.value.toLowerCase()))throw new ri(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(lu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new ri(_,C)}let k=this.parseBody(this.strict?!1:b);return this.strict&&k.length>0&&(k=yW(f,k)),{type:"function",arg:f.value,key:_.value,param:k,ctx:y}}case"select":if(lu(_.value))return this.parseSelect(f,b,y,_.value);throw new ri(_,`Unexpected select type ${_.value}`);default:throw new ri(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){let y=[],_=null;for(let k of this.lexer)if(k.type==="argument")_&&(_=null),y.push(this.parseArgToken(k,f));else if(k.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:fl(k)});else{if(k.type==="end"&&!b)return y;{let C=k.value;if(!f&&k.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let A=`Unsupported escape pattern: ${C}`;throw new ri(k,A)}C=k.text}_?(_.value+=C,_.ctx.text+=k.text,_.ctx.lineBreaks+=k.lineBreaks):(_={type:"content",value:C,ctx:fl(k)},y.push(_))}}if(b)return y;throw new ri(null,"Unexpected message end")}}function wW(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new xW(p,f).parse()}Xf=Fo.parse=wW;function Lo(p){return Lo[p]||(Lo[p]=new Intl.NumberFormat(p))}function SW(p,f,b){return Lo(p).format(f-b)}function kW(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Lo(p).format(_)}function EW(p,f,b,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var k=b(p,_);return k in y?y[k]:y.other}function CW(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function DW(p,f){for(var b=0;b<p.length;++b)if(!f||f[p[b]]===void 0)throw new Error("Message requires argument '".concat(p[b],"'"))}var IW=Object.freeze({__proto__:null,_nf:Lo,number:SW,plural:EW,reqArgs:DW,select:CW,strictNumber:kW});function AW(p,f,b){var y={day:"numeric",month:"short",year:"numeric"};switch(b){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function OW(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var b=p%60,y=[Math.round(b)===b?b:b.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(k){return Number(k)<10?"0"+String(k):String(k)}).join(":")}var cu={};function gl(p,f){var b=String(p)+JSON.stringify(f);return cu[b]||(cu[b]=new Intl.NumberFormat(p,f)),cu[b]}function TW(p,f,b,y){var _=b&&b.split(":")||[],k=_[0],C=_[1],A={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return gl(f,A[k]||{}).format(p)}var NW=function(p,f,b){return gl(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},MW=function(p,f){return gl(f,{maximumFractionDigits:0}).format(p)},PW=function(p,f){return gl(f,{style:"percent"}).format(p)};function RW(p,f,b){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(b){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var du=Object.freeze({__proto__:null,date:AW,duration:OW,numberCurrency:NW,numberFmt:TW,numberInteger:MW,numberPercent:PW,time:RW}),FW={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}},uu=vW(FW);function LW(p){let f=0;for(let b=0;b<p.length;++b){let y=p.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function xn(p,f){f&&(p+=" "+LW(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return uu.ES3[b]||uu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function hu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!uu.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var VW=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],zW=new RegExp("^"+VW.join("|^"));function jW(p,f){var b=zW.test(f),y=JSON.stringify(b?"":"");return"".concat(y," + ").concat(p," + ").concat(y)}var BW="@messageformat/runtime",HW="@messageformat/runtime/lib/cardinals",eg="@messageformat/runtime/lib/plurals",$W="@messageformat/runtime/lib/formatters",qW=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,b,y){var _,k,C=this,A=this.options,M=A.localeCodeFromKey,U=A.requireAllArguments,me=A.strict,De=A.strictPluralKeys;if(typeof f=="object"){var Ge={};try{for(var ae=i(Object.keys(f)),yt=ae.next();!yt.done;yt=ae.next()){var zt=yt.value,ti=M?M(zt):zt,ki=y&&ti&&y[ti]||b;Ge[zt]=this.compile(f[zt],ki,y)}}catch(Pt){_={error:Pt}}finally{try{yt&&!yt.done&&(k=ae.return)&&k.call(ae)}finally{if(_)throw _.error}}return Ge}this.plural=b;var sa={cardinal:b.cardinals,ordinal:b.ordinals,strict:me,strictPluralKeys:De};this.arguments=[];var wn=Xf(f,sa).map(function(Pt){return C.token(Pt,null)}),Za=this.arguments.length>0,Xa=this.concatenate(wn,!0);if(U&&Za){this.setRuntimeFn("reqArgs");var Qa=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Qa,", d); return ").concat(Xa,"; }")}return"(".concat(Za?"d":"",") => ").concat(Xa)},p.prototype.cases=function(f,b){var y=this,_=!0,k=f.cases.map(function(me){var De=me.key,Ge=me.tokens;De==="other"&&(_=!1);var ae=Ge.map(function(yt){return y.token(yt,b)});return"".concat(hu(null,De.replace(/^=/,"")),": ").concat(y.concatenate(ae,!1))});if(_){var C=f.type,A=this.plural,M=A.cardinals,U=A.ordinals;if(C==="select"||C==="plural"&&M.includes("other")||C==="selectordinal"&&U.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(k.join(", ")," }")},p.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,k=y.lc,C,A;switch("arg"in f?(this.arguments.push(f.arg),C=[hu("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?jW(String(C[0]),k):String(C[0]);case"select":A="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":A="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":A="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var M=this.options.customFormatters[f.key],U=M&&"module"in M&&typeof M.module=="function";if(!M){if(f.key==="date"){A=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){A=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var me=this.getFormatterArg(f,b);me&&C.push(me)}A=U?xn("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(A,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),hu("d",b.arg),b.pluralOffset||0],this.options.strict?(A="strictNumber",C.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(A="number",this.setRuntimeFn("number"));break}if(!A)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(A,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,b){if(xn(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},p.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,k=_.getCardinal,C=_.getPlural,A=_.isDefault,M,U,me;if(!b&&A&&k){if(y)return;M=function(De){return k(De)},U=HW,me=function(){return String(k)}}else{if(y&&(!A||y.module===eg))return;M=function(De,Ge){return C(De,Ge)},U=A?eg:C.module||null,me=function(){return String(C)}}this.runtime[f]=Object.assign(M,{id:f,module:U,toString:me,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(IW[f],{id:f,module:BW,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,k,C,A=this,M=f.key,U=f.param,me=this.options.customFormatters[M]||tg(M)&&du[M];if(!me||!U)return null;var De="arg"in me&&me.arg||"string";if(De==="options"){var Ge="";try{for(var ae=i(U),yt=ae.next();!yt.done;yt=ae.next()){var zt=yt.value;if(zt.type==="content")Ge+=zt.value;else throw new SyntaxError("Expected literal options for ".concat(M," formatter"))}}catch(Ja){y={error:Ja}}finally{try{yt&&!yt.done&&(_=ae.return)&&_.call(ae)}finally{if(y)throw y.error}}var ti={};try{for(var ki=i(Ge.split(",")),sa=ki.next();!sa.done;sa=ki.next()){var wn=sa.value,Za=wn.indexOf(":");if(Za===-1)ti[wn.trim()]=null;else{var Xa=wn.substring(0,Za).trim(),Qa=wn.substring(Za+1).trim();if(Qa==="true")ti[Xa]=!0;else if(Qa==="false")ti[Xa]=!1;else if(Qa==="null")ti[Xa]=null;else{var Pt=Number(Qa);ti[Xa]=Number.isFinite(Pt)?Pt:Qa}}}}catch(Ja){k={error:Ja}}finally{try{sa&&!sa.done&&(C=ki.return)&&C.call(ki)}finally{if(k)throw k.error}}return JSON.stringify(ti)}else{var yl=U.map(function(Ja){return A.token(Ja,b)});if(De==="raw")return"[".concat(yl.join(", "),"]");var _l=yl.join(" + ");return _l?"(".concat(_l,").trim()"):'""'}},p.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),n(n({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:xn(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(tg(f))this.runtime[f]=Object.assign(du[f],{type:"formatter"},{id:f,module:$W});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,b,y){var _=this,k=f.param,C=this.plural.locale,A=k&&k.length===1&&k[0];if(A&&A.type==="content"&&/^\s*::/.test(A.value)){var M=A.value.trim().substr(2),U=xn("date_".concat(C,"_").concat(M),!0);if(!this.runtimeIncludes(U,"formatter")){var me=Jt(C,M,this.options.timeZone);this.runtime[U]=Object.assign(me,{id:U,module:null,toString:function(){return Vt(C,M,_.options.timeZone)},type:"formatter"})}return U}if(b.push(JSON.stringify(C)),k&&k.length>0){y&&this.options.strict&&(y=null);var De=k.map(function(Ge){return _.token(Ge,y)});b.push("("+(De.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,b,y){var _=this,k=f.param,C=this.plural.locale;if(!k||k.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),k.length===1&&k[0].type==="content"){var A=k[0].value.trim();switch(A){case"currency":return b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var M=A.match(/^currency:([A-Z]+)$/);if(M)return b.push(JSON.stringify(M[1])),this.setFormatter("numberCurrency"),"numberCurrency";var U=xn("number_".concat(C,"_").concat(A),!0);if(!this.runtimeIncludes(U,"formatter")){var me=this.options.currency,De=fW(C,A,me);this.runtime[U]=Object.assign(De,{id:null,module:null,toString:function(){return gW(C,A,me)},type:"formatter"})}return U}y&&this.options.strict&&(y=null);var Ge=k.map(function(ae){return _.token(ae,y)});return b.push("("+(Ge.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function tg(p){return p in du}let Y=p=>p==1?"one":"other",Ua=p=>p==0||p==1?"one":"other",Sa=p=>p>=0&&p<=1?"one":"other",li=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},tt=p=>"other",Ga=p=>p==1?"one":p==2?"two":"other";var UW=Object.freeze({__proto__:null,af:Y,ak:Ua,am:Sa,an:Y,ar:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Sa,asa:Y,ast:li,az:Y,bal:Y,be:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":b&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:Y,bez:Y,bg:Y,bho:Ua,bm:tt,bn:Sa,bo:tt,br:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),k=b&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&b&&k==0?"many":"other"},brx:Y,bs:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},ca:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},ce:Y,ceb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:Y,chr:Y,ckb:Y,cs:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),b=f[0],y=Number(f[0])==p;return p==1||!y&&(b==0||b==1)?"one":"other"},de:li,doi:Sa,dsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-2),C=y.slice(-2);return _&&k==1||C==1?"one":_&&k==2||C==2?"two":_&&(k==3||k==4)||C==3||C==4?"few":"other"},dv:Y,dz:tt,ee:Y,el:Y,en:li,eo:Y,es:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1?"one":b!=0&&_==0&&y?"many":"other"},et:li,eu:Y,fa:Sa,ff:p=>p>=0&&p<2?"one":"other",fi:li,fil:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:Y,fr:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p>=0&&p<2?"one":b!=0&&_==0&&y?"many":"other"},fur:Y,fy:li,ga:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:li,gsw:Y,gu:Sa,guw:Ua,gv:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(k==0||k==20||k==40||k==60||k==80)?"few":y?"other":"many"},ha:Y,haw:Y,he:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:Sa,hnj:tt,hr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-2),C=y.slice(-2);return _&&k==1||C==1?"one":_&&k==2||C==2?"two":_&&(k==3||k==4)||C==3||C==4?"few":"other"},hu:Y,hy:p=>p>=0&&p<2?"one":"other",ia:li,id:tt,ig:tt,ii:tt,io:li,is:p=>{let f=String(p).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,k=b.slice(-1),C=b.slice(-2);return _&&k==1&&C!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},iu:Ga,ja:tt,jbo:tt,jgo:Y,jmc:Y,jv:tt,jw:tt,ka:Y,kab:p=>p>=0&&p<2?"one":"other",kaj:Y,kcg:Y,kde:tt,kea:tt,kk:Y,kkj:Y,kl:Y,km:tt,kn:Sa,ko:tt,ks:Y,ksb:Y,ksh:p=>p==0?"zero":p==1?"one":"other",ku:Y,kw:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),k=b&&f[0].slice(-5),C=b&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||b&&_==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&C==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:Y,lag:p=>{let f=String(p).split("."),b=f[0];return p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:Y,lg:Y,lij:li,lkt:tt,ln:Ua,lo:tt,lt:p=>{let f=String(p).split("."),b=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),k=y&&f[0].slice(-2);return _==1&&(k<11||k>19)?"one":_>=2&&_<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,k=_&&f[0].slice(-1),C=_&&f[0].slice(-2),A=b.slice(-2),M=b.slice(-1);return _&&k==0||C>=11&&C<=19||y==2&&A>=11&&A<=19?"zero":k==1&&C!=11||y==2&&M==1&&A!=11||y!=2&&M==1?"one":"other"},mas:Y,mg:Ua,mgo:Y,mk:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":"other"},ml:Y,mn:Y,mo:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:Y,ms:tt,mt:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:tt,nah:Y,naq:Ga,nb:Y,nd:Y,ne:Y,nl:li,nn:Y,nnh:Y,no:Y,nqo:tt,nr:Y,nso:Ua,ny:Y,nyn:Y,om:Y,or:Y,os:Y,osa:tt,pa:Ua,pap:Y,pcm:Sa,pl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&k>=12&&k<=14?"many":"other"},prg:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,k=_&&f[0].slice(-1),C=_&&f[0].slice(-2),A=b.slice(-2),M=b.slice(-1);return _&&k==0||C>=11&&C<=19||y==2&&A>=11&&A<=19?"zero":k==1&&C!=11||y==2&&M==1&&A!=11||y!=2&&M==1?"one":"other"},ps:Y,pt:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return b==0||b==1?"one":b!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},rm:Y,ro:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:Y,ru:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1&&k!=11?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&k>=11&&k<=14?"many":"other"},rwk:Y,sah:tt,saq:Y,sat:Ga,sc:li,scn:li,sd:Y,sdh:Y,se:Ga,seh:Y,ses:tt,sg:tt,sh:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},shi:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"";return p==0||p==1||b==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:Ga,smi:Ga,smj:Ga,smn:Ga,sms:Ga,sn:Y,so:Y,sq:Y,sr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),A=y.slice(-1),M=y.slice(-2);return _&&k==1&&C!=11||A==1&&M!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||A>=2&&A<=4&&(M<12||M>14)?"few":"other"},ss:Y,ssy:Y,st:Y,su:tt,sv:li,sw:li,syr:Y,ta:Y,te:Y,teo:Y,th:tt,ti:Ua,tig:Y,tk:Y,tl:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:Y,to:tt,tpi:tt,tr:Y,ts:Y,tzm:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:Y,uk:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1&&k!=11?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&k>=11&&k<=14?"many":"other"},und:tt,ur:li,uz:Y,ve:Y,vec:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},vi:tt,vo:Y,vun:Y,wa:Ua,wae:Y,wo:tt,xh:Y,xog:Y,yi:li,yo:tt,yue:tt,zh:tt,zu:Sa});let Ya="zero",ee="one",Ct="two",je="few",Be="many",L="other",z={cardinal:[ee,L],ordinal:[L]},Yn={cardinal:[ee,L],ordinal:[ee,L]},at={cardinal:[L],ordinal:[L]},ka={cardinal:[ee,Ct,L],ordinal:[L]};var ig=Object.freeze({__proto__:null,af:z,ak:z,am:z,an:z,ar:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[L]},ars:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[L]},as:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},asa:z,ast:z,az:{cardinal:[ee,L],ordinal:[ee,je,Be,L]},bal:Yn,be:{cardinal:[ee,je,Be,L],ordinal:[je,L]},bem:z,bez:z,bg:z,bho:z,bm:at,bn:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},bo:at,br:{cardinal:[ee,Ct,je,Be,L],ordinal:[L]},brx:z,bs:{cardinal:[ee,je,L],ordinal:[L]},ca:{cardinal:[ee,Be,L],ordinal:[ee,Ct,je,L]},ce:z,ceb:z,cgg:z,chr:z,ckb:z,cs:{cardinal:[ee,je,Be,L],ordinal:[L]},cy:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[Ya,ee,Ct,je,Be,L]},da:z,de:z,doi:z,dsb:{cardinal:[ee,Ct,je,L],ordinal:[L]},dv:z,dz:at,ee:z,el:z,en:{cardinal:[ee,L],ordinal:[ee,Ct,je,L]},eo:z,es:{cardinal:[ee,Be,L],ordinal:[L]},et:z,eu:z,fa:z,ff:z,fi:z,fil:Yn,fo:z,fr:{cardinal:[ee,Be,L],ordinal:[ee,L]},fur:z,fy:z,ga:{cardinal:[ee,Ct,je,Be,L],ordinal:[ee,L]},gd:{cardinal:[ee,Ct,je,L],ordinal:[ee,Ct,je,L]},gl:z,gsw:z,gu:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},guw:z,gv:{cardinal:[ee,Ct,je,Be,L],ordinal:[L]},ha:z,haw:z,he:ka,hi:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},hnj:at,hr:{cardinal:[ee,je,L],ordinal:[L]},hsb:{cardinal:[ee,Ct,je,L],ordinal:[L]},hu:Yn,hy:Yn,ia:z,id:at,ig:at,ii:at,io:z,is:z,it:{cardinal:[ee,Be,L],ordinal:[Be,L]},iu:ka,ja:at,jbo:at,jgo:z,jmc:z,jv:at,jw:at,ka:{cardinal:[ee,L],ordinal:[ee,Be,L]},kab:z,kaj:z,kcg:z,kde:at,kea:at,kk:{cardinal:[ee,L],ordinal:[Be,L]},kkj:z,kl:z,km:at,kn:z,ko:at,ks:z,ksb:z,ksh:{cardinal:[Ya,ee,L],ordinal:[L]},ku:z,kw:{cardinal:[Ya,ee,Ct,je,Be,L],ordinal:[ee,Be,L]},ky:z,lag:{cardinal:[Ya,ee,L],ordinal:[L]},lb:z,lg:z,lij:{cardinal:[ee,L],ordinal:[Be,L]},lkt:at,ln:z,lo:{cardinal:[L],ordinal:[ee,L]},lt:{cardinal:[ee,je,Be,L],ordinal:[L]},lv:{cardinal:[Ya,ee,L],ordinal:[L]},mas:z,mg:z,mgo:z,mk:{cardinal:[ee,L],ordinal:[ee,Ct,Be,L]},ml:z,mn:z,mo:{cardinal:[ee,je,L],ordinal:[ee,L]},mr:{cardinal:[ee,L],ordinal:[ee,Ct,je,L]},ms:{cardinal:[L],ordinal:[ee,L]},mt:{cardinal:[ee,Ct,je,Be,L],ordinal:[L]},my:at,nah:z,naq:ka,nb:z,nd:z,ne:Yn,nl:z,nn:z,nnh:z,no:z,nqo:at,nr:z,nso:z,ny:z,nyn:z,om:z,or:{cardinal:[ee,L],ordinal:[ee,Ct,je,Be,L]},os:z,osa:at,pa:z,pap:z,pcm:z,pl:{cardinal:[ee,je,Be,L],ordinal:[L]},prg:{cardinal:[Ya,ee,L],ordinal:[L]},ps:z,pt:{cardinal:[ee,Be,L],ordinal:[L]},pt_PT:{cardinal:[ee,Be,L],ordinal:[L]},rm:z,ro:{cardinal:[ee,je,L],ordinal:[ee,L]},rof:z,ru:{cardinal:[ee,je,Be,L],ordinal:[L]},rwk:z,sah:at,saq:z,sat:ka,sc:{cardinal:[ee,L],ordinal:[Be,L]},scn:{cardinal:[ee,L],ordinal:[Be,L]},sd:z,sdh:z,se:ka,seh:z,ses:at,sg:at,sh:{cardinal:[ee,je,L],ordinal:[L]},shi:{cardinal:[ee,je,L],ordinal:[L]},si:z,sk:{cardinal:[ee,je,Be,L],ordinal:[L]},sl:{cardinal:[ee,Ct,je,L],ordinal:[L]},sma:ka,smi:ka,smj:ka,smn:ka,sms:ka,sn:z,so:z,sq:{cardinal:[ee,L],ordinal:[ee,Be,L]},sr:{cardinal:[ee,je,L],ordinal:[L]},ss:z,ssy:z,st:z,su:at,sv:Yn,sw:z,syr:z,ta:z,te:z,teo:z,th:at,ti:z,tig:z,tk:{cardinal:[ee,L],ordinal:[je,L]},tl:Yn,tn:z,to:at,tpi:at,tr:z,ts:z,tzm:z,ug:z,uk:{cardinal:[ee,je,Be,L],ordinal:[je,L]},und:at,ur:z,uz:z,ve:z,vec:{cardinal:[ee,Be,L],ordinal:[Be,L]},vi:{cardinal:[L],ordinal:[ee,L]},vo:z,vun:z,wa:z,wae:z,wo:at,xh:z,xog:z,yi:z,yo:at,yue:at,zh:at,zu:z});let te=(p,f)=>f?"other":p==1?"one":"other",Wa=(p,f)=>f?"other":p==0||p==1?"one":"other",Mr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Wi=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},nt=(p,f)=>"other",Ka=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var vl=Object.freeze({__proto__:null,af:te,ak:Wa,am:Mr,an:te,ar:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:te,ast:Wi,az:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-1),k=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||k==20||k==50||k==70||k==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==900?"few":y==0||_==6||k==40||k==60||k==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2);return f?(_==2||_==3)&&k!=12&&k!=13?"few":"other":_==1&&k!=11?"one":_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||_>=5&&_<=9||k>=11&&k<=14?"many":"other"},bem:te,bez:te,bg:te,bho:Wa,bm:nt,bn:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",bo:nt,br:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2),C=y&&b[0].slice(-6);return f?"other":_==1&&k!=11&&k!=71&&k!=91?"one":_==2&&k!=12&&k!=72&&k!=92?"two":(_==3||_==4||_==9)&&(k<10||k>19)&&(k<70||k>79)&&(k<90||k>99)?"few":p!=0&&y&&C==0?"many":"other"},brx:te,bs:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},ca:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},ce:te,ceb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=_.slice(-1);return f?"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&A!=4&&A!=6&&A!=9?"one":"other"},cgg:te,chr:te,ckb:te,cs:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let b=String(p).split("."),y=b[0],_=Number(b[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:Wi,doi:Mr,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-2),A=_.slice(-2);return f?"other":k&&C==1||A==1?"one":k&&C==2||A==2?"two":k&&(C==3||C==4)||A==3||A==4?"few":"other"},dv:te,dz:nt,ee:te,el:te,en:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?k==1&&C!=11?"one":k==2&&C!=12?"two":k==3&&C!=13?"few":"other":p==1&&y?"one":"other"},eo:te,es:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":p==1?"one":y!=0&&k==0&&_?"many":"other"},et:Wi,eu:te,fa:Mr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Wi,fil:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=_.slice(-1);return f?p==1?"one":"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&A!=4&&A!=6&&A!=9?"one":"other"},fo:te,fr:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&k==0&&_?"many":"other"},fur:te,fy:Wi,ga:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Wi,gsw:te,gu:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",guw:Wa,gv:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":_&&k==1?"one":_&&k==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:te,haw:te,he:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:nt,hr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},hsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-2),A=_.slice(-2);return f?"other":k&&C==1||A==1?"one":k&&C==2||A==2?"two":k&&(C==3||C==4)||A==3||A==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:Wi,id:nt,ig:nt,ii:nt,io:Wi,is:(p,f)=>{let b=String(p).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),k=Number(b[0])==p,C=y.slice(-1),A=y.slice(-2);return f?"other":k&&C==1&&A!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},iu:Ka,ja:nt,jbo:nt,jgo:te,jmc:te,jv:nt,jw:nt,ka:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:te,kcg:te,kde:nt,kea:nt,kk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:te,kl:te,km:nt,kn:Mr,ko:nt,ks:te,ksb:te,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:te,kw:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2),k=y&&b[0].slice(-3),C=y&&b[0].slice(-5),A=y&&b[0].slice(-6);return f?y&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||y&&k==0&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&A==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:te,lag:(p,f)=>{let b=String(p).split("."),y=b[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:te,lg:te,lij:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:nt,ln:Wa,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":k==1&&(C<11||C>19)?"one":k>=2&&k<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,k=Number(b[0])==p,C=k&&b[0].slice(-1),A=k&&b[0].slice(-2),M=y.slice(-2),U=y.slice(-1);return f?"other":k&&C==0||A>=11&&A<=19||_==2&&M>=11&&M<=19?"zero":C==1&&A!=11||_==2&&U==1&&M!=11||_!=2&&U==1?"one":"other"},mas:te,mg:Wa,mgo:te,mk:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?C==1&&A!=11?"one":C==2&&A!=12?"two":(C==7||C==8)&&A!=17&&A!=18?"many":"other":k&&C==1&&A!=11||M==1&&U!=11?"one":"other"},ml:te,mn:te,mo:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&k>=1&&k<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:nt,nah:te,naq:Ka,nb:te,nd:te,ne:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:Wi,nn:te,nnh:te,no:te,nqo:nt,nr:te,nso:Wa,ny:te,nyn:te,om:te,or:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:te,osa:nt,pa:Wa,pap:te,pcm:Mr,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&k>=2&&k<=4&&(C<12||C>14)?"few":_&&y!=1&&(k==0||k==1)||_&&k>=5&&k<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,k=Number(b[0])==p,C=k&&b[0].slice(-1),A=k&&b[0].slice(-2),M=y.slice(-2),U=y.slice(-1);return f?"other":k&&C==0||A>=11&&A<=19||_==2&&M>=11&&M<=19?"zero":C==1&&A!=11||_==2&&U==1&&M!=11||_!=2&&U==1?"one":"other"},ps:te,pt:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&k==0&&_?"many":"other"},pt_PT:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},rm:te,ro:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&k>=1&&k<=19?"few":"other"},rof:te,ru:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":_&&k==1&&C!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)?"few":_&&k==0||_&&k>=5&&k<=9||_&&C>=11&&C<=14?"many":"other"},rwk:te,sah:nt,saq:te,sat:Ka,sc:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:te,sdh:te,se:Ka,seh:te,ses:nt,sg:nt,sh:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},shi:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-2);return f?"other":_&&k==1?"one":_&&k==2?"two":_&&(k==3||k==4)||!_?"few":"other"},sma:Ka,smi:Ka,smj:Ka,smn:Ka,sms:Ka,sn:te,so:te,sq:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2);return f?p==1?"one":_==4&&k!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=y.slice(-2),M=_.slice(-1),U=_.slice(-2);return f?"other":k&&C==1&&A!=11||M==1&&U!=11?"one":k&&C>=2&&C<=4&&(A<12||A>14)||M>=2&&M<=4&&(U<12||U>14)?"few":"other"},ss:te,ssy:te,st:te,su:nt,sv:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(k==1||k==2)&&C!=11&&C!=12?"one":"other":p==1&&y?"one":"other"},sw:Wi,syr:te,ta:te,te,teo:te,th:nt,ti:Wa,tig:te,tk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),A=_.slice(-1);return f?p==1?"one":"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&A!=4&&A!=6&&A!=9?"one":"other"},tn:te,to:nt,tpi:nt,tr:te,ts:te,tzm:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:te,uk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=Number(b[0])==p,C=k&&b[0].slice(-1),A=k&&b[0].slice(-2),M=y.slice(-1),U=y.slice(-2);return f?C==3&&A!=13?"few":"other":_&&M==1&&U!=11?"one":_&&M>=2&&M<=4&&(U<12||U>14)?"few":_&&M==0||_&&M>=5&&M<=9||_&&U>=11&&U<=14?"many":"other"},und:nt,ur:Wi,uz:te,ve:te,vec:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:te,vun:te,wa:Wa,wae:te,wo:nt,xh:te,xog:te,yi:Wi,yo:nt,yue:nt,zh:nt,zu:Mr});function pu(p){if(typeof p!="string"||p.length<2)throw new RangeError("Invalid language tag: ".concat(p));if(p.startsWith("pt-PT"))return"pt-PT";var f=p.match(/.+?(?=[-_])/);return f?f[0]:p}function bl(p){if(typeof p=="function"){var f=pu(p.name);return{isDefault:!1,id:xn(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=pu(p),y=xn(b);return WW(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:UW[y],getPlural:vl[y],cardinals:ig[y].cardinal,ordinals:ig[y].ordinal}:null}function GW(p){var f=Object.keys(vl).filter(function(b){return b!==p});return f.unshift(p),f.map(bl)}function YW(p){var f=pu(p);return xn(f)in vl}function WW(p){return p in vl}var KW=function(){function p(f,b){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:b&&b.strictNumberSign||!1,strictPluralKeys:!0},b),f==="*")this.plurals=GW(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(bl).filter(Boolean);else if(f){var y=bl(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=bl(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,b){var y=b?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var b=Array.isArray(f)?f:[f];return b.filter(YW)},p.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new qW(this.options),k="return "+_.compile(f,this.plurals[0]),C=[],A=[];try{for(var M=i(Object.entries(_.runtime)),U=M.next();!U.done;U=M.next()){var me=a(U.value,2),De=me[0],Ge=me[1];C.push(De),A.push(Ge)}}catch(yt){b={error:yt}}finally{try{U&&!U.done&&(y=M.return)&&y.call(M)}finally{if(b)throw b.error}}var ae=new(Function.bind.apply(Function,r(r([void 0],a(C),!1),[k],!1)));return ae.apply(void 0,r([],a(A),!1))},p.defaultLocale="en",p}();return KW})}),Ui=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}var n=function i(a,r){t(this,i),this.data=a,this.text=r.text||a,this.options=r};e.default=n}),lK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function E(N,V){for(var R=0;R<V.length;R++){var oe=V[R];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(N,oe.key,oe)}}return function(N,V,R){return V&&E(N.prototype,V),R&&E(N,R),N}}(),n=Ui(),i=a(n);function a(E){return E&&E.__esModule?E:{default:E}}function r(E,N){if(!(E instanceof N))throw new TypeError("Cannot call a class as a function")}function s(E,N){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:E}function l(E,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N)}var c=function(E){l(N,E);function N(V,R){return r(this,N),V=V.toUpperCase(),R.mod43&&(V+=g(w(V))),s(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,V,R))}return t(N,[{key:"encode",value:function(){for(var V=m("*"),R=0;R<this.data.length;R++)V+=m(this.data[R])+"0";return V+=m("*"),{data:V,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),N}(i.default),d=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],u=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(E){return v(x(E))}function v(E){return u[E].toString(2)}function g(E){return d[E]}function x(E){return d.indexOf(E)}function w(E){for(var N=0,V=0;V<E.length;V++)N+=x(E[V]);return N=N%43,N}e.CODE39=c}),Ns=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function n(d,u,m){return u in d?Object.defineProperty(d,u,{value:m,enumerable:!0,configurable:!0,writable:!0}):d[u]=m,d}var i=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var s=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},n(t,s,i),n(t,l,a),n(t,c,r),t),e.SWAP={101:i,100:a,99:r},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),od=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=Ui(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){s(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(w){return w.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var w=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+w.result+m.getBar((w.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var w=void 0,E=void 0;if(v[0]>=200){E=v.shift()-105;var N=a.SWAP[E];N!==void 0?w=m.next(v,g+1,N):((x===a.SET_A||x===a.SET_B)&&E===a.SHIFT&&(v[0]=x===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),w=m.next(v,g+1,x))}else E=m.correctIndex(v,x),w=m.next(v,g+1,x);var V=m.getBar(E),R=E*g;return{result:V+w.result,checksum:R+w.checksum}}}]),m}(i.default);e.default=d}),cK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ns(),n=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},i=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,c){var d=c?t.A_CHARS:t.B_CHARS,u=l.match(new RegExp("^("+d+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+s(l.substring(u[1].length));var m=l.match(new RegExp("^"+d+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(c?205:206)+r(l.substring(m.length),!c)}function s(l){var c=a(l),d=c.length;if(d===l.length)return l;l=l.substring(d);var u=n(l)>=i(l);return c+String.fromCharCode(u?206:205)+r(l,u)}e.default=function(l){var c=void 0,d=a(l).length;if(d>=2)c=t.C_START_CHAR+s(l);else{var u=n(l)>i(l);c=(u?t.A_START_CHAR:t.B_START_CHAR)+r(l,u)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),dK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=od(),n=r(t),i=cK(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){if(s(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(n.default);e.default=d}),uK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=od(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),hK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=od(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),pK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=od(),i=r(n),a=Ns();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),mK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=dK(),n=d(t),i=uK(),a=d(i),r=hK(),s=d(r),l=pK(),c=d(l);function d(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=a.default,e.CODE128B=s.default,e.CODE128C=c.default}),Ms=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]}),Ps=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ms(),n=function(i,a,r){var s=i.split("").map(function(c,d){return t.BINARIES[a[d]]}).map(function(c,d){return c?c[i[d]]:""});if(r){var l=i.length-1;s=s.map(function(c,d){return d<l?c+r:c})}return s.join("")};e.default=n}),vy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=Ms(),i=Ps(),a=l(i),r=Ui(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function u(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){u(g,v);function g(x,w){c(this,g);var E=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.fontSize=!w.flat&&w.fontSize>w.width*10?w.width*10:w.fontSize,E.guardHeight=w.height+E.fontSize/2+w.textMargin,E}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,w){return this.text.substr(x,w)}},{key:"leftEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"rightText",value:function(x,w){return this.text.substr(x,w)}},{key:"rightEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},w={height:this.guardHeight};return[{data:n.SIDE_BIN,options:w},{data:this.leftEncode(),text:this.leftText(),options:x},{data:n.MIDDLE_BIN,options:w},{data:this.rightEncode(),text:this.rightText(),options:x},{data:n.SIDE_BIN,options:w}]}},{key:"encodeFlat",value:function(){var x=[n.SIDE_BIN,this.leftEncode(),n.MIDDLE_BIN,this.rightEncode(),n.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),g}(s.default);e.default=m}),fK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=function v(g,x,w){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,x);if(E===void 0){var N=Object.getPrototypeOf(g);return N===null?void 0:v(N,x,w)}else{if("value"in E)return E.value;var V=E.get;return V===void 0?void 0:V.call(w)}},i=Ms(),a=vy(),r=s(a);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var u=function(v){var g=v.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,w,E){return E%2?x+w*3:x+w},0);return(10-g%10)%10},m=function(v){d(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=u(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.lastChar=w.lastChar,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===u(this.data)}},{key:"leftText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),w=i.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,w)}},{key:"rightText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(x.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(x.push({data:"00"}),x.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),x}}]),g}(r.default);e.default=m}),gK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var w=g[x];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),n=function m(v,g,x){v===null&&(v=Function.prototype);var w=Object.getOwnPropertyDescriptor(v,g);if(w===void 0){var E=Object.getPrototypeOf(v);return E===null?void 0:m(E,g,x)}else{if("value"in w)return w.value;var N=w.get;return N===void 0?void 0:N.call(x)}},i=vy(),a=r(i);function r(m){return m&&m.__esModule?m:{default:m}}function s(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function c(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var d=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,x,w){return w%2?g+x:g+x*3},0);return(10-v%10)%10},u=function(m){c(v,m);function v(g,x){return s(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=d(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,x))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=u}),vK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,w){for(var E=0;E<w.length;E++){var N=w[E];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,N.key,N)}}return function(x,w,E){return w&&g(x.prototype,w),E&&g(x,E),x}}(),n=Ms(),i=Ps(),a=l(i),r=Ui(),s=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,x){if(!(g instanceof x))throw new TypeError("Cannot call a class as a function")}function d(g,x){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:g}function u(g,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);g.prototype=Object.create(x&&x.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(g,x):g.__proto__=x)}var m=function(g){var x=g.split("").map(function(w){return+w}).reduce(function(w,E,N){return N%2?w+E*9:w+E*3},0);return x%10},v=function(g){u(x,g);function x(w,E){return c(this,x),d(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,w,E))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var w=n.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),x}(s.default);e.default=v}),bK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=Ms(),i=Ps(),a=l(i),r=Ui(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function u(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){u(g,v);function g(x,w){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(s.default);e.default=m}),by=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}();e.checksum=m;var n=Ps(),i=s(n),a=Ui(),r=s(a);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var u=function(v){d(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.displayValue=w.displayValue,w.fontSize>w.width*10?E.fontSize=w.width*10:E.fontSize=w.fontSize,E.guardHeight=w.height+E.fontSize/2+w.textMargin,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var x="";return x+="101",x+=(0,i.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,i.default)(this.data.substr(6,6),"RRRRRR"),x+="101",{data:x,text:this.text}}},{key:"guardedEncoding",value:function(){var x=[];return this.displayValue&&x.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),x.push({data:"101"+(0,i.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),x.push({data:"01010",options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,i.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&x.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),x}}]),g}(r.default);function m(v){var g=0,x;for(x=1;x<11;x+=2)g+=parseInt(v[x]);for(x=0;x<11;x+=2)g+=parseInt(v[x])*3;return(10-g%10)%10}e.default=u}),yK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(E,N){for(var V=0;V<N.length;V++){var R=N[V];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(E,R.key,R)}}return function(E,N,V){return N&&w(E.prototype,N),V&&w(E,V),E}}(),n=Ps(),i=l(n),a=Ui(),r=l(a),s=by();function l(w){return w&&w.__esModule?w:{default:w}}function c(w,E){if(!(w instanceof E))throw new TypeError("Cannot call a class as a function")}function d(w,E){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:w}function u(w,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);w.prototype=Object.create(E&&E.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(w,E):w.__proto__=E)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(w){u(E,w);function E(N,V){c(this,E);var R=d(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,N,V));if(R.isValid=!1,N.search(/^[0-9]{6}$/)!==-1)R.middleDigits=N,R.upcA=x(N,"0"),R.text=V.text||""+R.upcA[0]+N+R.upcA[R.upcA.length-1],R.isValid=!0;else if(N.search(/^[01][0-9]{7}$/)!==-1)if(R.middleDigits=N.substring(1,N.length-1),R.upcA=x(R.middleDigits,N[0]),R.upcA[R.upcA.length-1]===N[N.length-1])R.isValid=!0;else return d(R);else return d(R);return R.displayValue=V.displayValue,V.fontSize>V.width*10?R.fontSize=V.width*10:R.fontSize=V.fontSize,R.guardHeight=V.height+R.fontSize/2+V.textMargin,R}return t(E,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var N="";return N+="101",N+=this.encodeMiddleDigits(),N+="010101",{data:N,text:this.text}}},{key:"guardedEncoding",value:function(){var N=[];return this.displayValue&&N.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),N.push({data:"101",options:{height:this.guardHeight}}),N.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),N.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&N.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),N}},{key:"encodeMiddleDigits",value:function(){var N=this.upcA[0],V=this.upcA[this.upcA.length-1],R=v[parseInt(V)][parseInt(N)];return(0,i.default)(this.middleDigits,R)}}]),E}(r.default);function x(w,E){for(var N=parseInt(w[w.length-1]),V=m[N],R="",oe=0,xe=0;xe<V.length;xe++){var Me=V[xe];Me==="X"?R+=w[oe++]:R+=Me}return R=""+E+R,""+R+(0,s.checksum)(R)}e.default=g}),_K=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=fK(),n=g(t),i=gK(),a=g(i),r=vK(),s=g(r),l=bK(),c=g(l),d=by(),u=g(d),m=yK(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=n.default,e.EAN8=a.default,e.EAN5=s.default,e.EAN2=c.default,e.UPC=u.default,e.UPCE=v.default}),xK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]}),yy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=xK(),i=Ui(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data:n.START_BIN+g+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=n.BINARIES[v[1]];return n.BINARIES[v[0]].split("").map(function(x,w){return(x==="1"?"111":"1")+(g[w]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=d}),wK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=yy(),i=a(n);function a(u){return u&&u.__esModule?u:{default:u}}function r(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function s(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function l(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var c=function(u){var m=u.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,x){return v+g*(3-x%2*2)},0);return Math.ceil(m/10)*10-m},d=function(u){l(m,u);function m(v,g){return r(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=c(v)),s(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),m}(i.default);e.default=d}),SK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=yy(),n=r(t),i=wK(),a=r(i);function r(s){return s&&s.__esModule?s:{default:s}}e.ITF=n.default,e.ITF14=a.default}),Rs=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=Ui(),i=a(n);function a(u){return u&&u.__esModule?u:{default:u}}function r(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function s(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function l(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var c=function(u){l(m,u);function m(v,g){return r(this,m),s(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),w=x.toString(2);w=d(w,4-w.length);for(var E=0;E<w.length;E++)v+=w[E]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(i.default);function d(u,m){for(var v=0;v<m;v++)u="0"+u;return u}e.default=c}),sd=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=n;function t(i){for(var a=0,r=0;r<i.length;r++){var s=parseInt(i[r]);(r+i.length)%2===0?a+=s:a+=s*2%10+Math.floor(s*2/10)}return(10-a%10)%10}function n(i){for(var a=0,r=[2,3,4,5,6,7],s=0;s<i.length;s++){var l=parseInt(i[i.length-1-s]);a+=r[s%r.length]*l}return(11-a%11)%11}}),kK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod10)(m),v))}return u}(n.default);e.default=c}),EK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod11)(m),v))}return u}(n.default);e.default=c}),CK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),m+=(0,i.mod10)(m),m+=(0,i.mod10)(m),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),DK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Rs(),n=a(t),i=sd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),m+=(0,i.mod11)(m),m+=(0,i.mod10)(m),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),IK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Rs(),n=m(t),i=kK(),a=m(i),r=EK(),s=m(r),l=CK(),c=m(l),d=DK(),u=m(d);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=n.default,e.MSI10=a.default,e.MSI11=s.default,e.MSI1010=c.default,e.MSI1110=u.default}),AK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Ui(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){r(this,u);var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v));return g.number=parseInt(m,10),g}return t(u,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(i.default);e.pharmacode=c}),OK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Ui(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){r(this,u),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(u,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),u}(i.default);e.codabar=c}),TK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],e.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],e.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"":["(%)","T"]}}),_y=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=TK(),i=Ui(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(E){return n.MULTI_SYMBOLS[E]||E}),g=v.map(function(E){return m.getEncoding(E)}).join(""),x=m.checksum(v,20),w=m.checksum(v.concat(x),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(x)+m.getEncoding(w)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return n.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return n.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return n.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var x=v.slice().reverse().reduce(function(w,E,N){var V=N%g+1;return w+m.symbolValue(E)*V},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=d}),NK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=_y(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return t(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(i.default);e.default=c}),MK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=_y(),n=r(t),i=NK(),a=r(i);function r(s){return s&&s.__esModule?s:{default:s}}e.CODE93=n.default,e.CODE93FullASCII=a.default}),PK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Ui(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return t(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(i.default);e.GenericBarcode=c}),RK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=lK(),n=mK(),i=_K(),a=SK(),r=IK(),s=AK(),l=OK(),c=MK(),d=PK();e.default={CODE39:t.CODE39,CODE128:n.CODE128,CODE128A:n.CODE128A,CODE128B:n.CODE128B,CODE128C:n.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:s.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:d.GenericBarcode}}),ld=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])}return n};e.default=function(n,i){return t({},n,i)}}),FK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=[];function a(r){if(Array.isArray(r))for(var s=0;s<r.length;s++)a(r[s]);else r.text=r.text||"",r.data=r.data||"",i.push(r)}return a(n),i}}),LK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){return n.marginTop=n.marginTop||n.margin,n.marginBottom=n.marginBottom||n.margin,n.marginRight=n.marginRight||n.margin,n.marginLeft=n.marginLeft||n.margin,n}}),xy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in i)i.hasOwnProperty(a)&&(a=i[a],typeof n[a]=="string"&&(n[a]=parseInt(n[a],10)));return typeof n.displayValue=="string"&&(n.displayValue=n.displayValue!="false"),n}}),wy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=t}),VK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=xy(),n=r(t),i=wy(),a=r(i);function r(l){return l&&l.__esModule?l:{default:l}}function s(l){var c={};for(var d in a.default)a.default.hasOwnProperty(d)&&(l.hasAttribute("jsbarcode-"+d.toLowerCase())&&(c[d]=l.getAttribute("jsbarcode-"+d.toLowerCase())),l.hasAttribute("data-"+d.toLowerCase())&&(c[d]=l.getAttribute("data-"+d.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,n.default)(c),c}e.default=s}),Sy=be(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=ld(),n=i(t);function i(u){return u&&u.__esModule?u:{default:u}}function a(u,m){return m.height+(m.displayValue&&u.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(u,m,v){if(v.displayValue&&m<u){if(v.textAlign=="center")return Math.floor((u-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(u-m)}return 0}function s(u,m,v){for(var g=0;g<u.length;g++){var x=u[g],w=(0,n.default)(m,x.options),E;w.displayValue?E=d(x.text,w,v):E=0;var N=x.data.length*w.width;x.width=Math.ceil(Math.max(E,N)),x.height=a(x,w),x.barcodePadding=r(E,N,w)}}function l(u){for(var m=0,v=0;v<u.length;v++)m+=u[v].width;return m}function c(u){for(var m=0,v=0;v<u.length;v++)u[v].height>m&&(m=u[v].height);return m}function d(u,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var x=g.measureText(u);if(!x)return 0;var w=x.width;return w}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=s,e.getTotalWidthOfEncodings=l}),zK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,u){for(var m=0;m<u.length;m++){var v=u[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}return function(d,u,m){return u&&c(d.prototype,u),m&&c(d,m),d}}(),n=ld(),i=r(n),a=Sy();function r(c){return c&&c.__esModule?c:{default:c}}function s(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(d,u,m){s(this,c),this.canvas=d,this.encodings=u,this.options=m}return t(c,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var d=0;d<this.encodings.length;d++){var u=(0,i.default)(this.options,this.encodings[d].options);this.drawCanvasBarcode(u,this.encodings[d]),this.drawCanvasText(u,this.encodings[d]),this.moveCanvasDrawing(this.encodings[d])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var d=this.canvas.getContext("2d");d.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,d);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=u+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,d.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(d.fillStyle=this.options.background,d.fillRect(0,0,this.canvas.width,this.canvas.height)),d.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(d,u){var m=this.canvas.getContext("2d"),v=u.data,g;d.textPosition=="top"?g=d.marginTop+d.fontSize+d.textMargin:g=d.marginTop,m.fillStyle=d.lineColor;for(var x=0;x<v.length;x++){var w=x*d.width+u.barcodePadding;v[x]==="1"?m.fillRect(w,g,d.width,d.height):v[x]&&m.fillRect(w,g,d.width,d.height*v[x])}}},{key:"drawCanvasText",value:function(d,u){var m=this.canvas.getContext("2d"),v=d.fontOptions+" "+d.fontSize+"px "+d.font;if(d.displayValue){var g,x;d.textPosition=="top"?x=d.marginTop+d.fontSize-d.textMargin:x=d.height+d.textMargin+d.marginTop+d.fontSize,m.font=v,d.textAlign=="left"||u.barcodePadding>0?(g=0,m.textAlign="left"):d.textAlign=="right"?(g=u.width-1,m.textAlign="right"):(g=u.width/2,m.textAlign="center"),m.fillText(u.text,g,x)}}},{key:"moveCanvasDrawing",value:function(d){var u=this.canvas.getContext("2d");u.translate(d.width,0)}},{key:"restoreCanvas",value:function(){var d=this.canvas.getContext("2d");d.restore()}}]),c}();e.default=l}),jK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=ld(),i=r(n),a=Sy();function r(d){return d&&d.__esModule?d:{default:d}}function s(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function d(u,m,v){s(this,d),this.svg=u,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(d,[{key:"render",value:function(){var u=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,i.default)(this.options,v.options),x=this.createGroup(u,g.marginTop,this.svg);this.setGroupOptions(x,g),this.drawSvgBarcode(x,g,v),this.drawSVGText(x,g,v),u+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(u,m,v){var g=v.data,x;m.textPosition=="top"?x=m.fontSize+m.textMargin:x=0;for(var w=0,E=0,N=0;N<g.length;N++)E=N*m.width+v.barcodePadding,g[N]==="1"?w++:w>0&&(this.drawRect(E-m.width*w,x,m.width*w,m.height,u),w=0);w>0&&this.drawRect(E-m.width*(w-1),x,m.width*w,m.height,u)}},{key:"drawSVGText",value:function(u,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,w;g.setAttribute("font-family",m.font),g.setAttribute("font-size",m.fontSize),m.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),m.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),m.textPosition=="top"?w=m.fontSize-m.textMargin:w=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",w),g.appendChild(this.document.createTextNode(v.text)),u.appendChild(g)}}},{key:"setSvgAttributes",value:function(u,m){var v=this.svg;v.setAttribute("width",u+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+u+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1")}},{key:"createGroup",value:function(u,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+u+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(u,m){u.setAttribute("fill",m.lineColor)}},{key:"drawRect",value:function(u,m,v,g,x){var w=this.document.createElementNS(l,"rect");return w.setAttribute("x",u),w.setAttribute("y",m),w.setAttribute("width",v),w.setAttribute("height",g),x.appendChild(w),w}}]),d}();e.default=c}),BK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&a(r.prototype,s),l&&a(r,l),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r,s,l){n(this,a),this.object=r,this.encodings=s,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=i}),HK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=zK(),n=l(t),i=jK(),a=l(i),r=BK(),s=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:a.default,ObjectRenderer:s.default}}),ky=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function n(l,c){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:l}function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(l,c):l.__proto__=c)}var a=function(l){i(c,l);function c(d,u){t(this,c);var m=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return m.name="InvalidInputException",m.symbology=d,m.input=u,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return c}(Error),r=function(l){i(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="InvalidElementException",d.message="Not supported type to render on",d}return c}(Error),s=function(l){i(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="NoElementException",d.message="No element to render on.",d}return c}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=s}),$K=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},n=VK(),i=l(n),a=HK(),r=l(a),s=ky();function l(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof m=="string")return d(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(c(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return u(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,i.default)(m),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,i.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.default.ObjectRenderer};throw new s.InvalidElementException}}function d(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],x=0;x<v.length;x++)g.push(c(v[x]));return g}}function u(m){var v=document.createElement("canvas");return{element:v,options:(0,i.default)(m),renderer:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=c}),qK=be(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&a(r.prototype,s),l&&a(r,l),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r){n(this,a),this.api=r}return t(a,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var s=r.apply(void 0,arguments);return this.api._options.valid(!0),s}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=i}),UK=be((e,t)=>{var n=RK(),i=R(n),a=ld(),r=R(a),s=FK(),l=R(s),c=LK(),d=R(c),u=$K(),m=R(u),v=xy(),g=R(v),x=qK(),w=R(x),E=ky(),N=wy(),V=R(N);function R(re){return re&&re.__esModule?re:{default:re}}var oe=function(){},xe=function(re,J,Ve){var j=new oe;if(typeof re>"u")throw Error("No element to render on was provided.");return j._renderProperties=(0,m.default)(re),j._encodings=[],j._options=V.default,j._errorHandler=new w.default(j),typeof J<"u"&&(Ve=Ve||{},Ve.format||(Ve.format=vt()),j.options(Ve)[Ve.format](J,Ve).render()),j};xe.getModule=function(re){return i.default[re]};for(Me in i.default)i.default.hasOwnProperty(Me)&&Jt(i.default,Me);var Me;function Jt(re,J){oe.prototype[J]=oe.prototype[J.toUpperCase()]=oe.prototype[J.toLowerCase()]=function(Ve,j){var G=this;return G._errorHandler.wrapBarcodeCall(function(){j.text=typeof j.text>"u"?void 0:""+j.text;var ie=(0,r.default)(G._options,j);ie=(0,g.default)(ie);var $e=re[J],ht=Vt(Ve,$e,ie);return G._encodings.push(ht),G})}}function Vt(re,J,Ve){re=""+re;var j=new J(re,Ve);if(!j.valid())throw new E.InvalidInputException(j.constructor.name,re);var G=j.encode();G=(0,l.default)(G);for(var ie=0;ie<G.length;ie++)G[ie].options=(0,r.default)(Ve,G[ie].options);return G}function vt(){return i.default.CODE128?"CODE128":Object.keys(i.default)[0]}oe.prototype.options=function(re){return this._options=(0,r.default)(this._options,re),this},oe.prototype.blank=function(re){var J=new Array(re+1).join("0");return this._encodings.push({data:J}),this},oe.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var re;for(var J in this._renderProperties){re=this._renderProperties[J];var Ve=(0,r.default)(this._options,re.options);Ve.format=="auto"&&(Ve.format=vt()),this._errorHandler.wrapBarcodeCall(function(){var j=Ve.value,G=i.default[Ve.format.toUpperCase()],ie=Vt(j,G,Ve);Gt(re,ie,Ve)})}}},oe.prototype.render=function(){if(!this._renderProperties)throw new E.NoElementException;if(Array.isArray(this._renderProperties))for(var re=0;re<this._renderProperties.length;re++)Gt(this._renderProperties[re],this._encodings,this._options);else Gt(this._renderProperties,this._encodings,this._options);return this},oe.prototype._defaults=V.default;function Gt(re,J,Ve){J=(0,l.default)(J);for(var j=0;j<J.length;j++)J[j].options=(0,r.default)(Ve,J[j].options),(0,d.default)(J[j].options);(0,d.default)(Ve);var G=re.renderer,ie=new G(re.element,J,Ve);ie.render(),re.afterRender&&re.afterRender()}typeof window<"u"&&(window.JsBarcode=xe),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(re,J){var Ve=[];return jQuery(this).each(function(){Ve.push(this)}),xe(Ve,re,J)}),t.exports=xe});function Lp(e,t){return Object.is(e,t)}var jt=null,Ql=!1,Vp=1,fi=Symbol("SIGNAL");function He(e){let t=jt;return jt=e,t}function GK(){return jt}var go={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Fs(e){if(Ql)throw new Error("");if(jt===null)return;jt.consumerOnSignalRead(e);let t=jt.nextProducerIndex++;if(hd(jt),t<jt.producerNode.length&&jt.producerNode[t]!==e&&cs(jt)){let n=jt.producerNode[t];ud(n,jt.producerIndexOfThis[t])}jt.producerNode[t]!==e&&(jt.producerNode[t]=e,jt.producerIndexOfThis[t]=cs(jt)?Dy(e,jt,t):0),jt.producerLastReadVersion[t]=e.version}function YK(){Vp++}function Ls(e){if(!(cs(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Vp)){if(!e.producerMustRecompute(e)&&!zp(e)){gc(e);return}e.producerRecomputeValue(e),gc(e)}}function Ey(e){if(e.liveConsumerNode===void 0)return;let t=Ql;Ql=!0;try{for(let n of e.liveConsumerNode)n.dirty||WK(n)}finally{Ql=t}}function Cy(){return(jt==null?void 0:jt.consumerAllowSignalWrites)!==!1}function WK(e){var t;e.dirty=!0,Ey(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function gc(e){e.dirty=!1,e.lastCleanEpoch=Vp}function ls(e){return e&&(e.nextProducerIndex=0),He(e)}function cd(e,t){if(He(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(cs(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ud(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function zp(e){hd(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Ls(n),i!==n.version))return!0}return!1}function dd(e){if(hd(e),cs(e))for(let t=0;t<e.producerNode.length;t++)ud(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Dy(e,t,n){if(Iy(e),e.liveConsumerNode.length===0&&Ay(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=Dy(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ud(e,t){if(Iy(e),e.liveConsumerNode.length===1&&Ay(e))for(let i=0;i<e.producerNode.length;i++)ud(e.producerNode[i],e.producerIndexOfThis[i]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let i=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];hd(a),a.producerIndexOfThis[i]=t}}function cs(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function hd(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Iy(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Ay(e){return e.producerNode!==void 0}function Oy(e,t){let n=Object.create(KK);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(Ls(n),Fs(n),n.value===Tn)throw n.error;return n.value};return i[fi]=n,i}var sr=Symbol("UNSET"),Kr=Symbol("COMPUTING"),Tn=Symbol("ERRORED"),KK=Qe(Q({},go),{value:sr,dirty:!0,error:null,equal:Lp,kind:"computed",producerMustRecompute(e){return e.value===sr||e.value===Kr},producerRecomputeValue(e){if(e.value===Kr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Kr;let n=ls(e),i,a=!1;try{i=e.computation(),He(null),a=t!==sr&&t!==Tn&&i!==Tn&&e.equal(t,i)}catch(r){i=Tn,e.error=r}finally{cd(e,n)}if(a){e.value=t;return}e.value=i,e.version++}});function ZK(){throw new Error}var Ty=ZK;function Ny(e){Ty(e)}function XK(e){Ty=e}function QK(e,t){let n=Object.create(Py);n.value=e,t!==void 0&&(n.equal=t);let i=()=>(Fs(n),n.value);return i[fi]=n,i}function Vs(e,t){Cy()||Ny(e),e.equal(e.value,t)||(e.value=t,JK(e))}function My(e,t){Cy()||Ny(e),Vs(e,t(e.value))}var Py=Qe(Q({},go),{equal:Lp,value:void 0,kind:"signal"});function JK(e){e.version++,YK(),Ey(e)}function lg(e,t,n){let i=Object.create(iZ);i.source=e,i.computation=t,n!=null&&(i.equal=n);let a=()=>{if(Ls(i),Fs(i),i.value===Tn)throw i.error;return i.value};return a[fi]=i,a}function eZ(e,t){Ls(e),Vs(e,t),gc(e)}function tZ(e,t){Ls(e),My(e,t),gc(e)}var iZ=Qe(Q({},go),{value:sr,dirty:!0,error:null,equal:Lp,kind:"linkedSignal",producerMustRecompute(e){return e.value===sr||e.value===Kr},producerRecomputeValue(e){if(e.value===Kr)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Kr;let n=ls(e),i;try{let a=e.source(),r=t===sr||t===Tn?void 0:{source:e.sourceValue,value:t};i=e.computation(a,r),e.sourceValue=a}catch(a){i=Tn,e.error=a}finally{cd(e,n)}if(t!==sr&&i!==Tn&&e.equal(t,i)){e.value=t;return}e.value=i,e.version++}});function aZ(e){let t=He(null);try{return e()}finally{He(t)}}var _h;function Jl(){return _h}function kn(e){let t=_h;return _h=e,t}var Ry=Symbol("NotFound");function wt(e){return typeof e=="function"}function jp(e){let t=e(n=>{Error.call(n),n.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var mu=jp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
13
13
|
${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
|
|
14
14
|
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function vc(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ct=class xh{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let r of n)r.remove(this);else n.remove(this);let{initialTeardown:i}=this;if(wt(i))try{i()}catch(r){t=r instanceof mu?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{cg(r)}catch(s){t=t??[],s instanceof mu?t=[...t,...s.errors]:t.push(s)}}if(t)throw new mu(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cg(t);else{if(t instanceof xh){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&vc(n,t)}remove(t){let{_finalizers:n}=this;n&&vc(n,t),t instanceof xh&&t._removeParent(this)}};ct.EMPTY=(()=>{let e=new ct;return e.closed=!0,e})();var Fy=ct.EMPTY;function Ly(e){return e instanceof ct||e&&"closed"in e&&wt(e.remove)&&wt(e.add)&&wt(e.unsubscribe)}function cg(e){wt(e)?e():e.unsubscribe()}var nZ={Promise:void 0},rZ={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Vy(e){rZ.setTimeout(()=>{throw e})}function wh(){}function ec(e){e()}var Bp=class extends ct{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ly(e)&&e.add(this)):this.destination=lZ}static create(e,t,n){return new ds(e,t,n)}next(e){this.isStopped?void 0:this._next(e)}error(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))}complete(){this.isStopped?void 0:(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},oZ=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){wl(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){wl(n)}else wl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){wl(t)}}},ds=class extends Bp{constructor(e,t,n){super();let i;wt(e)||!e?i={next:e??void 0,error:t??void 0,complete:n??void 0}:i=e,this.destination=new oZ(i)}};function wl(e){Vy(e)}function sZ(e){throw e}var lZ={closed:!0,next:wh,error:sZ,complete:wh},Hp=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Dr(e){return e}function cZ(e){return e.length===0?Dr:e.length===1?e[0]:function(t){return e.reduce((n,i)=>i(n),t)}}var Ot=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,a){let r=uZ(n)?n:new ds(n,i,a);return ec(()=>{let{operator:s,source:l}=this;r.add(s?s.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=dg(i),new i((a,r)=>{let s=new ds({next:l=>{try{n(l)}catch(c){r(c),s.unsubscribe()}},error:r,complete:a});this.subscribe(s)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[Hp](){return this}pipe(...n){return cZ(n)(this)}toPromise(n){return n=dg(n),new n((i,a)=>{let r;this.subscribe(s=>r=s,s=>a(s),()=>i(r))})}}return e.create=t=>new e(t),e})();function dg(e){var t;return(t=e??nZ.Promise)!==null&&t!==void 0?t:Promise}function dZ(e){return e&&wt(e.next)&&wt(e.error)&&wt(e.complete)}function uZ(e){return e&&e instanceof Bp||dZ(e)&&Ly(e)}function hZ(e){return wt(e==null?void 0:e.lift)}function Xt(e){return t=>{if(hZ(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function $t(e,t,n,i,a){return new pZ(e,t,n,i,a)}var pZ=class extends Bp{constructor(e,t,n,i,a,r){super(e),this.onFinalize=a,this.shouldUnsubscribe=r,this._next=t?function(s){try{t(s)}catch(l){e.error(l)}}:super._next,this._error=i?function(s){try{i(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}},mZ=jp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),ce=(()=>{class e extends Ot{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new ug(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new mZ}next(n){ec(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){ec(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){ec(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:i,isStopped:a,observers:r}=this;return i||a?Fy:(this.currentObservers=null,r.push(n),new ct(()=>{this.currentObservers=null,vc(r,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:a,isStopped:r}=this;i?n.error(a):r&&n.complete()}asObservable(){let n=new Ot;return n.source=this,n}}return e.create=(t,n)=>new ug(t,n),e})(),ug=class extends ce{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.next)===null||n===void 0||n.call(t,e)}error(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.error)===null||n===void 0||n.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,n;return(n=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&n!==void 0?n:Fy}},rr=class extends ce{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}},$p={now(){return($p.delegate||Date).now()},delegate:void 0},qp=class extends ce{constructor(e=1/0,t=1/0,n=$p){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:a,_windowTime:r}=this;t||(n.push(e),!i&&n.push(a.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,a=i.slice();for(let r=0;r<a.length&&!e.closed;r+=n?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:i}=this,a=(i?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!i){let r=t.now(),s=0;for(let l=1;l<n.length&&n[l]<=r;l+=2)s=l;s&&n.splice(0,s+1)}}},fZ=class extends ct{constructor(e,t){super()}schedule(e,t=0){return this}},Sh={setInterval(e,t,...n){let{delegate:i}=Sh;return i!=null&&i.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return clearInterval(e)},delegate:void 0},gZ=class extends fZ{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;let i=this.id,a=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(a,i,t)),this.pending=!0,this.delay=t,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,n=0){return Sh.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return t;t!=null&&Sh.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,t);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i;try{this.work(e)}catch(a){n=!0,i=a||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,vc(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},kh=class zy{constructor(t,n=zy.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}};kh.now=$p.now;var vZ=class extends kh{constructor(e,t=kh.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},Up=new vZ(gZ),bZ=Up,pd=new Ot(e=>e.complete());function jy(e){return e&&wt(e.schedule)}function Gp(e){return e[e.length-1]}function By(e){return wt(Gp(e))?e.pop():void 0}function zs(e){return jy(Gp(e))?e.pop():void 0}function yZ(e,t){return typeof Gp(e)=="number"?e.pop():t}function _Z(e,t,n,i){function a(r){return r instanceof n?r:new n(function(s){s(r)})}return new(n||(n=Promise))(function(r,s){function l(u){try{d(i.next(u))}catch(m){s(m)}}function c(u){try{d(i.throw(u))}catch(m){s(m)}}function d(u){u.done?r(u.value):a(u.value).then(l,c)}d((i=i.apply(e,[])).next())})}function hg(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Zr(e){return this instanceof Zr?(this.v=e,this):new Zr(e)}function xZ(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),a,r=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),a[Symbol.asyncIterator]=function(){return this},a;function s(g){return function(x){return Promise.resolve(x).then(g,m)}}function l(g,x){i[g]&&(a[g]=function(w){return new Promise(function(E,N){r.push([g,w,E,N])>1||c(g,w)})},x&&(a[g]=x(a[g])))}function c(g,x){try{d(i[g](x))}catch(w){v(r[0][3],w)}}function d(g){g.value instanceof Zr?Promise.resolve(g.value.v).then(u,m):v(r[0][2],g)}function u(g){c("next",g)}function m(g){c("throw",g)}function v(g,x){g(x),r.shift(),r.length&&c(r[0][0],r[0][1])}}function wZ(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof hg=="function"?hg(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(s){return new Promise(function(l,c){s=e[r](s),a(l,c,s.done,s.value)})}}function a(r,s,l,c){Promise.resolve(c).then(function(d){r({value:d,done:l})},s)}}var Hy=e=>e&&typeof e.length=="number"&&typeof e!="function";function $y(e){return wt(e==null?void 0:e.then)}function qy(e){return wt(e[Hp])}function Uy(e){return Symbol.asyncIterator&&wt(e==null?void 0:e[Symbol.asyncIterator])}function Gy(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function SZ(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Yy=SZ();function Wy(e){return wt(e==null?void 0:e[Yy])}function Ky(e){return xZ(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:i}=yield Zr(t.read());if(i)return yield Zr(void 0);yield yield Zr(n)}}finally{t.releaseLock()}})}function Zy(e){return wt(e==null?void 0:e.getReader)}function Mi(e){if(e instanceof Ot)return e;if(e!=null){if(qy(e))return kZ(e);if(Hy(e))return EZ(e);if($y(e))return CZ(e);if(Uy(e))return Xy(e);if(Wy(e))return DZ(e);if(Zy(e))return IZ(e)}throw Gy(e)}function kZ(e){return new Ot(t=>{let n=e[Hp]();if(wt(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function EZ(e){return new Ot(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function CZ(e){return new Ot(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Vy)})}function DZ(e){return new Ot(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xy(e){return new Ot(t=>{AZ(e,t).catch(n=>t.error(n))})}function IZ(e){return Xy(Ky(e))}function AZ(e,t){var n,i,a,r;return _Z(this,void 0,void 0,function*(){try{for(n=wZ(e);i=yield n.next(),!i.done;){let s=i.value;if(t.next(s),t.closed)return}}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(a)throw a.error}}t.complete()})}function dn(e,t,n,i=0,a=!1){let r=t.schedule(function(){n(),a?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!a)return r}function Qy(e,t=0){return Xt((n,i)=>{n.subscribe($t(i,a=>dn(i,e,()=>i.next(a),t),()=>dn(i,e,()=>i.complete(),t),a=>dn(i,e,()=>i.error(a),t)))})}function Jy(e,t=0){return Xt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function OZ(e,t){return Mi(e).pipe(Jy(t),Qy(t))}function TZ(e,t){return Mi(e).pipe(Jy(t),Qy(t))}function NZ(e,t){return new Ot(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function MZ(e,t){return new Ot(n=>{let i;return dn(n,t,()=>{i=e[Yy](),dn(n,t,()=>{let a,r;try{({value:a,done:r}=i.next())}catch(s){n.error(s);return}r?n.complete():n.next(a)},0,!0)}),()=>wt(i==null?void 0:i.return)&&i.return()})}function e0(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ot(n=>{dn(n,t,()=>{let i=e[Symbol.asyncIterator]();dn(n,t,()=>{i.next().then(a=>{a.done?n.complete():n.next(a.value)})},0,!0)})})}function PZ(e,t){return e0(Ky(e),t)}function RZ(e,t){if(e!=null){if(qy(e))return OZ(e,t);if(Hy(e))return NZ(e,t);if($y(e))return TZ(e,t);if(Uy(e))return e0(e,t);if(Wy(e))return MZ(e,t);if(Zy(e))return PZ(e,t)}throw Gy(e)}function Hn(e,t){return t?RZ(e,t):Mi(e)}function ft(...e){let t=zs(e);return Hn(e,t)}function t0(e,t){let n=wt(e)?e:()=>e,i=a=>a.error(n());return new Ot(i)}function as(e){return!!e&&(e instanceof Ot||wt(e.lift)&&wt(e.subscribe))}var Yp=jp(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function FZ(e,t){return new Promise((n,i)=>{let a=!1,r;e.subscribe({next:s=>{r=s,a=!0},error:i,complete:()=>{a?n(r):i(new Yp)}})})}function LZ(e){return e instanceof Date&&!isNaN(e)}function xt(e,t){return Xt((n,i)=>{let a=0;n.subscribe($t(i,r=>{i.next(e.call(t,r,a++))}))})}var{isArray:VZ}=Array;function zZ(e,t){return VZ(t)?e(...t):e(t)}function i0(e){return xt(t=>zZ(e,t))}var{isArray:jZ}=Array,{getPrototypeOf:BZ,prototype:HZ,keys:$Z}=Object;function a0(e){if(e.length===1){let t=e[0];if(jZ(t))return{args:t,keys:null};if(qZ(t)){let n=$Z(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function qZ(e){return e&&typeof e=="object"&&BZ(e)===HZ}function n0(e,t){return e.reduce((n,i,a)=>(n[i]=t[a],n),{})}function UZ(...e){let t=zs(e),n=By(e),{args:i,keys:a}=a0(e);if(i.length===0)return Hn([],t);let r=new Ot(GZ(i,t,a?s=>n0(a,s):Dr));return n?r.pipe(i0(n)):r}function GZ(e,t,n=Dr){return i=>{pg(t,()=>{let{length:a}=e,r=new Array(a),s=a,l=a;for(let c=0;c<a;c++)pg(t,()=>{let d=Hn(e[c],t),u=!1;d.subscribe($t(i,m=>{r[c]=m,u||(u=!0,l--),l||i.next(n(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}function pg(e,t,n){e?dn(n,e,t):t()}function YZ(e,t,n,i,a,r,s,l){let c=[],d=0,u=0,m=!1,v=()=>{m&&!c.length&&!d&&t.complete()},g=w=>d<i?x(w):c.push(w),x=w=>{d++;let E=!1;Mi(n(w,u++)).subscribe($t(t,N=>{t.next(N)},()=>{E=!0},void 0,()=>{if(E)try{for(d--;c.length&&d<i;){let N=c.shift();s?dn(t,s,()=>x(N)):x(N)}v()}catch(N){t.error(N)}}))};return e.subscribe($t(t,g,()=>{m=!0,v()})),()=>{}}function us(e,t,n=1/0){return wt(t)?us((i,a)=>xt((r,s)=>t(i,r,a,s))(Mi(e(i,a))),n):(typeof t=="number"&&(n=t),Xt((i,a)=>YZ(i,a,e,n)))}function r0(e=1/0){return us(Dr,e)}function WZ(){return r0(1)}function hs(...e){return WZ()(Hn(e,zs(e)))}function ps(e){return new Ot(t=>{Mi(e()).subscribe(t)})}function Wp(...e){let t=By(e),{args:n,keys:i}=a0(e),a=new Ot(r=>{let{length:s}=n;if(!s){r.complete();return}let l=new Array(s),c=s,d=s;for(let u=0;u<s;u++){let m=!1;Mi(n[u]).subscribe($t(r,v=>{m||(m=!0,d--),l[u]=v},()=>c--,void 0,()=>{(!c||!m)&&(d||r.next(i?n0(i,l):l),r.complete())}))}});return t?a.pipe(i0(t)):a}function KZ(e=0,t,n=bZ){let i=-1;return t!=null&&(jy(t)?n=t:i=t),new Ot(a=>{let r=LZ(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){a.closed||(a.next(s++),0<=i?this.schedule(void 0,i):a.complete())},r)})}function Ji(...e){let t=zs(e),n=yZ(e,1/0),i=e;return i.length?i.length===1?Mi(i[0]):r0(n)(Hn(i,t)):pd}function oi(e,t){return Xt((n,i)=>{let a=0;n.subscribe($t(i,r=>e.call(t,r,a++)&&i.next(r)))})}function ZZ(e){return Xt((t,n)=>{let i=!1,a=null,r=null,s=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,i){i=!1;let d=a;a=null,n.next(d)}s&&n.complete()},c=()=>{r=null,s&&n.complete()};t.subscribe($t(n,d=>{i=!0,a=d,r||Mi(e(d)).subscribe(r=$t(n,l,c))},()=>{s=!0,(!i||!r||r.closed)&&n.complete()}))})}function o0(e,t=Up){return ZZ(()=>KZ(e,t))}function md(e){return Xt((t,n)=>{let i=null,a=!1,r;i=t.subscribe($t(n,void 0,void 0,s=>{r=Mi(e(s,md(e)(t))),i?(i.unsubscribe(),i=null,r.subscribe(n)):a=!0})),a&&(i.unsubscribe(),i=null,r.subscribe(n))})}function s0(e,t){return wt(t)?us(e,t,1):us(e,1)}function l0(e,t=Up){return Xt((n,i)=>{let a=null,r=null,s=null,l=()=>{if(a){a.unsubscribe(),a=null;let d=r;r=null,i.next(d)}};function c(){let d=s+e,u=t.now();if(u<d){a=this.schedule(void 0,d-u),i.add(a);return}l()}n.subscribe($t(i,d=>{r=d,s=t.now(),a||(a=t.schedule(c,e),i.add(a))},()=>{l(),i.complete()},void 0,()=>{r=a=null}))})}function XZ(e){return Xt((t,n)=>{let i=!1;t.subscribe($t(n,a=>{i=!0,n.next(a)},()=>{i||n.next(e),n.complete()}))})}function mi(e){return e<=0?()=>pd:Xt((t,n)=>{let i=0;t.subscribe($t(n,a=>{++i<=e&&(n.next(a),e<=i&&n.complete())}))})}function QZ(e,t=Dr){return e=e??JZ,Xt((n,i)=>{let a,r=!0;n.subscribe($t(i,s=>{let l=t(s);(r||!e(a,l))&&(r=!1,a=l,i.next(s))}))})}function JZ(e,t){return e===t}function eX(e=tX){return Xt((t,n)=>{let i=!1;t.subscribe($t(n,a=>{i=!0,n.next(a)},()=>i?n.complete():n.error(e())))})}function tX(){return new Yp}function c0(e){return Xt((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function iX(e,t){let n=arguments.length>=2;return i=>i.pipe(Dr,mi(1),n?XZ(t):eX(()=>new Yp))}function aX(){return Xt((e,t)=>{let n,i=!1;e.subscribe($t(t,a=>{let r=n;n=a,i&&t.next([r,a]),i=!0}))})}function d0(e={}){let{connector:t=()=>new ce,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:a=!0}=e;return r=>{let s,l,c,d=0,u=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),s=c=void 0,u=m=!1},x=()=>{let w=s;g(),w==null||w.unsubscribe()};return Xt((w,E)=>{d++,!m&&!u&&v();let N=c=c??t();E.add(()=>{d--,d===0&&!m&&!u&&(l=fu(x,a))}),N.subscribe(E),!s&&d>0&&(s=new ds({next:V=>N.next(V),error:V=>{m=!0,v(),l=fu(g,n,V),N.error(V)},complete:()=>{u=!0,v(),l=fu(g,i),N.complete()}}),Mi(w).subscribe(s))})(r)}}function fu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new ds({next:()=>{i.unsubscribe(),e()}});return Mi(t(...n)).subscribe(i)}function bc(e,t,n){let i,a=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:a=!1,scheduler:n}=e:i=e??1/0,d0({connector:()=>new qp(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function u0(e){return oi((t,n)=>e<=n)}function ea(...e){let t=zs(e);return Xt((n,i)=>{(t?hs(e,n,t):hs(e,n)).subscribe(i)})}function pr(e,t){return Xt((n,i)=>{let a=null,r=0,s=!1,l=()=>s&&!a&&i.complete();n.subscribe($t(i,c=>{a==null||a.unsubscribe();let d=0,u=r++;Mi(e(c,u)).subscribe(a=$t(i,m=>i.next(t?t(c,m,u,d++):m),()=>{a=null,l()}))},()=>{s=!0,l()}))})}function At(e){return Xt((t,n)=>{Mi(e).subscribe($t(n,()=>n.complete(),wh)),!n.closed&&t.subscribe(n)})}function nX(e,t=!1){return Xt((n,i)=>{let a=0;n.subscribe($t(i,r=>{let s=e(r,a++);(s||t)&&i.next(r),!s&&i.complete()}))})}function tc(e,t,n){let i=wt(e)||t||n?{next:e,error:t,complete:n}:e;return i?Xt((a,r)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let l=!0;a.subscribe($t(r,c=>{var d;(d=i.next)===null||d===void 0||d.call(i,c),r.next(c)},()=>{var c;l=!1,(c=i.complete)===null||c===void 0||c.call(i),r.complete()},c=>{var d;l=!1,(d=i.error)===null||d===void 0||d.call(i,c),r.error(c)},()=>{var c,d;l&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(d=i.finalize)===null||d===void 0||d.call(i)}))}):Dr}var h0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Z=class extends Error{constructor(t,n){super(p0(t,n));o(this,"code");this.code=t}};function rX(e){return`NG0${Math.abs(e)}`}function p0(e,t){return`${rX(e)}${t?": "+t:""}`}var fd=Symbol("InputSignalNode#UNSET"),m0=Qe(Q({},Py),{transformFn:void 0,applyValueToInputSignal(e,t){Vs(e,t)}});function f0(e,t){let n=Object.create(m0);n.value=e,n.transformFn=t==null?void 0:t.transform;function i(){if(Fs(n),n.value===fd){let a=null;throw new Z(-950,a)}return n.value}return i[fi]=n,i}function js(e){return{toString:e}.toString()}var Sl="__parameters__";function oX(e){return function(...t){}}function g0(e,t,n){return js(()=>{let i=oX();function a(...r){if(this instanceof a)return i.apply(this,r),this;let s=new a(...r);return l.annotation=s,l;function l(c,d,u){let m=c.hasOwnProperty(Sl)?c[Sl]:Object.defineProperty(c,Sl,{value:[]})[Sl];for(;m.length<=u;)m.push(null);return(m[u]=m[u]||[]).push(s),c}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var Dn=globalThis;function St(e){for(let t in e)if(e[t]===St)return t;throw Error("Could not find renamed property on target object.")}function sX(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ta(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ta).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let i=n.indexOf(`
|
|
15
15
|
`);return i>=0?n.slice(0,i):n}function Eh(e,t){return e?t?`${e} ${t}`:e:t||""}var lX=St({__forward_ref__:St});function mn(e){return e.__forward_ref__=mn,e.toString=function(){return ta(this())},e}function ci(e){return v0(e)?e():e}function v0(e){return typeof e=="function"&&e.hasOwnProperty(lX)&&e.__forward_ref__===mn}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kp(e){return mg(e,b0)||mg(e,y0)}function mg(e,t){return e.hasOwnProperty(t)?e[t]:null}function cX(e){return e&&(e[b0]||e[y0])||null}function fg(e){return e&&(e.hasOwnProperty(gg)||e.hasOwnProperty(dX))?e[gg]:null}var b0=St({ɵprov:St}),gg=St({ɵinj:St}),y0=St({ngInjectableDef:St}),dX=St({ngInjectorDef:St}),$=class{constructor(e,t){o(this,"_desc");o(this,"ngMetadataName","InjectionToken");o(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=q({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function _0(e){return e&&!!e.ɵproviders}var uX=St({ɵcmp:St}),hX=St({ɵdir:St}),pX=St({ɵpipe:St}),yc=St({ɵfac:St}),ns=St({__NG_ELEMENT_ID__:St}),vg=St({__NG_ENV_ID__:St});function Ma(e){return typeof e=="string"?e:e==null?"":String(e)}function mX(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ma(e)}function x0(e,t){throw new Z(-200,e)}function Zp(e,t){throw new Z(-201,!1)}var Ue=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ue||{}),Ch;function w0(){return Ch}function Ai(e){let t=Ch;return Ch=e,t}function S0(e,t,n){let i=Kp(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&Ue.Optional)return null;if(t!==void 0)return t;Zp()}var fX={},ur=fX,Dh="__NG_DI_FLAG__",k0=class{constructor(e){o(this,"injector");this.injector=e}retrieve(e,t){let n=t;return this.injector.get(e,n.optional?Ry:ur,n)}},_c="ngTempTokenPath",gX="ngTokenPath",vX=/\n/gm,bX="ɵ",bg="__source";function yX(e,t=Ue.Default){if(Jl()===void 0)throw new Z(-203,!1);if(Jl()===null)return S0(e,void 0,t);{let n=Jl(),i;return n instanceof k0?i=n.injector:i=n,i.get(e,t&Ue.Optional?null:void 0,t)}}function pe(e,t=Ue.Default){return(w0()||yX)(ci(e),t)}function S(e,t=Ue.Default){return pe(e,gd(t))}function gd(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ih(e){let t=[];for(let n=0;n<e.length;n++){let i=ci(e[n]);if(Array.isArray(i)){if(i.length===0)throw new Z(900,!1);let a,r=Ue.Default;for(let s=0;s<i.length;s++){let l=i[s],c=_X(l);typeof c=="number"?c===-1?a=l.token:r|=c:a=l}t.push(pe(a,r))}else t.push(pe(i))}return t}function E0(e,t){return e[Dh]=t,e.prototype[Dh]=t,e}function _X(e){return e[Dh]}function xX(e,t,n,i){let a=e[_c];throw t[bg]&&a.unshift(t[bg]),e.message=wX(`
|
|
16
16
|
`+e.message,a,n,i),e[gX]=a,e[_c]=null,e}function wX(e,t,n,i=null){e=e&&e.charAt(0)===`
|
|
17
17
|
`&&e.charAt(1)==bX?e.slice(2):e;let a=ta(t);if(Array.isArray(t))a=t.map(ta).join(" -> ");else if(typeof t=="object"){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let l=t[s];r.push(s+":"+(typeof l=="string"?JSON.stringify(l):ta(l)))}a=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${e.replace(vX,`
|
|
18
|
-
`)}`}var C0=E0(g0("Optional"),8),D0=E0(g0("SkipSelf"),4);function mr(e,t){return e.hasOwnProperty(yc)?e[yc]:null}function SX(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],r=t[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}function kX(e){return e.flat(Number.POSITIVE_INFINITY)}function Xp(e,t){e.forEach(n=>Array.isArray(n)?Xp(n,t):t(n))}function I0(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function EX(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function CX(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(a===1)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=n,e[t+1]=i}}function vd(e,t,n){let i=Bs(e,t);return i>=0?e[i|1]=n:(i=~i,CX(e,i,t,n)),i}function gu(e,t){let n=Bs(e,t);if(n>=0)return e[n|1]}function Bs(e,t){return DX(e,t,1)}function DX(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){let r=i+(a-i>>1),s=e[r<<n];if(t===s)return r<<n;s>t?a=r:i=r+1}return~(a<<n)}var La={},Di=[],wc=new $(""),A0=new $("",-1),O0=new $(""),T0=class{get(e,t=ur){if(t===ur){let n=new Error(`NullInjectorError: No provider for ${ta(e)}!`);throw n.name="NullInjectorError",n}return t}};function no(e){return e[uX]||null}function N0(e){return e[hX]||null}function IX(e){return e[pX]||null}function Qp(e){return{ɵproviders:e}}function AX(...e){return{ɵproviders:M0(!0,e),ɵfromNgModule:!0}}function M0(e,...t){let n=[],i=new Set,a,r=s=>{n.push(s)};return Xp(t,s=>{let l=s;Ah(l,r,[],i)&&(a||(a=[]),a.push(l))}),a!==void 0&&P0(a,r),n}function P0(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:a}=e[n];Jp(a,r=>{t(r,i)})}}function Ah(e,t,n,i){if(e=ci(e),!e)return!1;let a=null,r=fg(e),s=!r&&no(e);if(!r&&!s){let c=e.ngModule;if(r=fg(c),r)a=c;else return!1}else{if(s&&!s.standalone)return!1;a=e}let l=i.has(a);if(s){if(l)return!1;if(i.add(a),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)Ah(d,t,n,i)}}else if(r){if(r.imports!=null&&!l){i.add(a);let d;try{Xp(r.imports,u=>{Ah(u,t,n,i)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&P0(d,t)}if(!l){let d=mr(a)||(()=>new a);t({provide:a,useFactory:d,deps:Di},a),t({provide:O0,useValue:a,multi:!0},a),t({provide:wc,useValue:()=>pe(a),multi:!0},a)}let c=r.providers;if(c!=null&&!l){let d=e;Jp(c,u=>{t(u,d)})}}else return!1;return a!==e&&e.providers!==void 0}function Jp(e,t){for(let n of e)_0(n)&&(n=n.ɵproviders),Array.isArray(n)?Jp(n,t):t(n)}var OX=St({provide:String,useValue:St});function R0(e){return e!==null&&typeof e=="object"&&OX in e}function TX(e){return!!(e&&e.useExisting)}function NX(e){return!!(e&&e.useFactory)}function ro(e){return typeof e=="function"}function MX(e){return!!e.useClass}var em=new $(""),ic={},yg={},vu;function bd(){return vu===void 0&&(vu=new T0),vu}var Va=class{},tm=class extends Va{constructor(t,n,i,a){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=i,this.scopes=a,Th(t,s=>this.processProvider(s)),this.records.set(A0,Ur(void 0,this)),a.has("environment")&&this.records.set(Va,Ur(void 0,this));let r=this.records.get(em);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(O0,Di,Ue.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let i=n;return this.get(t,i.optional?Ry:ur,i)}destroy(){Xo(this),this._destroyed=!0;let t=He(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),He(t)}}onDestroy(t){return Xo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Xo(this);let n=kn(this),i=Ai(void 0);try{return t()}finally{kn(n),Ai(i)}}get(t,n=ur,i=Ue.Default){if(Xo(this),t.hasOwnProperty(vg))return t[vg](this);i=gd(i);let a=kn(this),r=Ai(void 0);try{if(!(i&Ue.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=VX(t)&&Kp(t);c&&this.injectableDefInScope(c)?l=Ur(Oh(t),ic):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,i)}let s=i&Ue.Self?bd():this.parent;return n=i&Ue.Optional&&n===ur?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[_c]=s[_c]||[]).unshift(ta(t)),a)throw s;return xX(s,t,"R3InjectorError",this.source)}else throw s}finally{Ai(r),kn(a)}}resolveInjectorInitializers(){let t=He(null),n=kn(this),i=Ai(void 0);try{let a=this.get(wc,Di,Ue.Self);for(let r of a)r()}finally{kn(n),Ai(i),He(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(ta(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ci(t);let n=ro(t)?t:ci(t&&t.provide),i=RX(t);if(!ro(t)&&t.multi===!0){let a=this.records.get(n);a||(a=Ur(void 0,ic,!0),a.factory=()=>Ih(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let a=He(null);try{return n.value===yg?x0(ta(t)):n.value===ic&&(n.value=yg,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&LX(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{He(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ci(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Oh(e){let t=Kp(e),n=t!==null?t.factory:mr(e);if(n!==null)return n;if(e instanceof $)throw new Z(204,!1);if(e instanceof Function)return PX(e);throw new Z(204,!1)}function PX(e){if(e.length>0)throw new Z(204,!1);let t=cX(e);return t!==null?()=>t.factory(e):()=>new e}function RX(e){if(R0(e))return Ur(void 0,e.useValue);{let t=F0(e);return Ur(t,ic)}}function F0(e,t,n){let i;if(ro(e)){let a=ci(e);return mr(a)||Oh(a)}else if(R0(e))i=()=>ci(e.useValue);else if(NX(e))i=()=>e.useFactory(...Ih(e.deps||[]));else if(TX(e))i=(a,r)=>pe(ci(e.useExisting),r!==void 0&&r&Ue.Optional?Ue.Optional:void 0);else{let a=ci(e&&(e.useClass||e.provide));if(FX(e))i=()=>new a(...Ih(e.deps));else return mr(a)||Oh(a)}return i}function Xo(e){if(e.destroyed)throw new Z(205,!1)}function Ur(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function FX(e){return!!e.deps}function LX(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function VX(e){return typeof e=="function"||typeof e=="object"&&e instanceof $}function Th(e,t){for(let n of e)Array.isArray(n)?Th(n,t):n&&_0(n)?Th(n.ɵproviders,t):t(n)}function yd(e,t){let n;e instanceof tm?(Xo(e),n=e):n=new k0(e);let i=kn(n),a=Ai(void 0);try{return t()}finally{kn(i),Ai(a)}}function L0(){return w0()!==void 0||Jl()!=null}function Hs(e){if(!L0())throw new Z(-203,!1)}function zX(e){return typeof e=="function"}var fn=0,Te=1,ke=2,vi=3,ma=4,Pi=5,oo=6,Xr=7,ii=8,so=9,hn=10,Tt=11,ms=12,_g=13,vo=14,Hi=15,fr=16,Gr=17,fa=18,_d=19,V0=20,Nn=21,bu=22,rn=23,ia=24,Mn=25,qt=26,z0=1,gr=7,Sc=8,lo=9,gi=10;function Pn(e){return Array.isArray(e)&&typeof e[z0]=="object"}function gn(e){return Array.isArray(e)&&e[z0]===!0}function im(e){return(e.flags&4)!==0}function bo(e){return e.componentOffset>-1}function xd(e){return(e.flags&1)===1}function za(e){return!!e.template}function kc(e){return(e[ke]&512)!==0}function yo(e){return(e[ke]&256)===256}var jX=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function j0(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var bi=(()=>{let e=()=>B0;return e.ngInherit=!0,e})();function B0(e){return e.type.prototype.ngOnChanges&&(e.setInput=HX),BX}function BX(){let e=$0(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===La)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function HX(e,t,n,i,a){let r=this.declaredInputs[i],s=$0(e)||$X(e,{previous:La,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new jX(d&&d.currentValue,n,c===La),j0(e,t,a,n)}var H0="__ngSimpleChanges__";function $0(e){return e[H0]||null}function $X(e,t){return e[H0]=t}var vr=function(e,t=null,n){},q0="svg",qX="math";function ja(e){for(;Array.isArray(e);)e=e[fn];return e}function U0(e,t){return ja(t[e])}function qa(e,t){return ja(t[e.index])}function am(e,t){return e.data[t]}function wd(e,t){return e[t]}function nm(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Ba(e,t){let n=t[e];return Pn(n)?n:n[fn]}function UX(e){return(e[ke]&4)===4}function rm(e){return(e[ke]&128)===128}function GX(e){return gn(e[vi])}function br(e,t){return t==null?null:e[t]}function G0(e){e[Gr]=0}function om(e){e[ke]&1024||(e[ke]|=1024,rm(e)&&_o(e))}function YX(e,t){for(;e>0;)t=t[vo],e--;return t}function $s(e){var t;return!!(e[ke]&9216||(t=e[ia])!=null&&t.dirty)}function Nh(e){var t;(t=e[hn].changeDetectionScheduler)==null||t.notify(8),e[ke]&64&&(e[ke]|=1024),$s(e)&&_o(e)}function _o(e){var n;(n=e[hn].changeDetectionScheduler)==null||n.notify(0);let t=yr(e);for(;t!==null&&!(t[ke]&8192||(t[ke]|=8192,!rm(t)));)t=yr(t)}function Y0(e,t){if(yo(e))throw new Z(911,!1);e[Nn]===null&&(e[Nn]=[]),e[Nn].push(t)}function WX(e,t){if(e[Nn]===null)return;let n=e[Nn].indexOf(t);n!==-1&&e[Nn].splice(n,1)}function yr(e){let t=e[vi];return gn(t)?t[vi]:t}function sm(e){return e[Xr]??(e[Xr]=[])}function lm(e){return e.cleanup??(e.cleanup=[])}function KX(e,t,n,i){let a=sm(t);a.push(n),e.firstCreatePass&&lm(e).push(i,a.length-1)}var Le={lFrame:t_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Mh=!1;function ZX(){return Le.lFrame.elementDepthCount}function XX(){Le.lFrame.elementDepthCount++}function QX(){Le.lFrame.elementDepthCount--}function JX(){return Le.bindingsEnabled}function W0(){return Le.skipHydrationRootTNode!==null}function eQ(e){return Le.skipHydrationRootTNode===e}function tQ(){Le.skipHydrationRootTNode=null}function ye(){return Le.lFrame.lView}function gt(){return Le.lFrame.tView}function ge(e){return Le.lFrame.contextLView=e,e[ii]}function ve(e){return Le.lFrame.contextLView=null,e}function yi(){let e=K0();for(;e!==null&&e.type===64;)e=e.parent;return e}function K0(){return Le.lFrame.currentTNode}function iQ(){let e=Le.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $n(e,t){let n=Le.lFrame;n.currentTNode=e,n.isParent=t}function cm(){return Le.lFrame.isParent}function dm(){Le.lFrame.isParent=!1}function Z0(){return Le.lFrame.contextLView}function X0(){return Mh}function Ec(e){let t=Mh;return Mh=e,t}function xo(){let e=Le.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Q0(){return Le.lFrame.bindingIndex}function aQ(e){return Le.lFrame.bindingIndex=e}function Ir(){return Le.lFrame.bindingIndex++}function Sd(e){let t=Le.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nQ(){return Le.lFrame.inI18n}function rQ(e,t){let n=Le.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ph(t)}function oQ(){return Le.lFrame.currentDirectiveIndex}function Ph(e){Le.lFrame.currentDirectiveIndex=e}function sQ(e){let t=Le.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function um(){return Le.lFrame.currentQueryIndex}function kd(e){Le.lFrame.currentQueryIndex=e}function lQ(e){let t=e[Te];return t.type===2?t.declTNode:t.type===1?e[Pi]:null}function J0(e,t,n){if(n&Ue.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(n&Ue.Host))&&(a=lQ(r),!(a===null||(r=r[vo],a.type&10))););if(a===null)return!1;t=a,e=r}let i=Le.lFrame=e_();return i.currentTNode=t,i.lView=e,!0}function hm(e){let t=e_(),n=e[Te];Le.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function e_(){let e=Le.lFrame,t=e===null?null:e.child;return t===null?t_(e):t}function t_(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function i_(){let e=Le.lFrame;return Le.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var a_=i_;function pm(){let e=i_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function cQ(e){return(Le.lFrame.contextLView=YX(e,Le.lFrame.contextLView))[ii]}function ga(){return Le.lFrame.selectedIndex}function _r(e){Le.lFrame.selectedIndex=e}function qs(){let e=Le.lFrame;return am(e.tView,e.selectedIndex)}function un(){Le.lFrame.currentNamespace=q0}function Rh(){dQ()}function dQ(){Le.lFrame.currentNamespace=null}function uQ(){return Le.lFrame.currentNamespace}var n_=!0;function Ed(){return n_}function Cd(e){n_=e}function hQ(e,t,n){let{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(i){let s=B0(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,a),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function mm(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let a=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function ac(e,t,n){r_(e,t,3,n)}function nc(e,t,n,i){(e[ke]&3)===n&&r_(e,t,n,i)}function yu(e,t){let n=e[ke];(n&3)===t&&(n&=16383,n+=1,e[ke]=n)}function r_(e,t,n,i){let a=i!==void 0?e[Gr]&65535:0,r=i??-1,s=t.length-1,l=0;for(let c=a;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],i!=null&&l>=i)break}else t[c]<0&&(e[Gr]+=65536),(l<r||r==-1)&&(pQ(e,n,t,c),e[Gr]=(e[Gr]&4294901760)+c+2),c++}function xg(e,t){let n=He(null);try{t.call(e)}finally{He(n)}}function pQ(e,t,n,i){let a=n[i]<0,r=n[i+1],s=a?-n[i]:n[i],l=e[s];a?e[ke]>>14<e[Gr]>>16&&(e[ke]&3)===t&&(e[ke]+=16384,xg(l,r)):xg(l,r)}var Qr=-1,Us=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function mQ(e){return(e.flags&8)!==0}function fQ(e){return(e.flags&16)!==0}function gQ(e,t,n){let i=0;for(;i<n.length;){let a=n[i];if(typeof a=="number"){if(a!==0)break;i++;let r=n[i++],s=n[i++],l=n[i++];e.setAttribute(t,s,l,r)}else{let r=a,s=n[++i];vQ(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),i++}}return i}function o_(e){return e===3||e===4||e===6}function vQ(e){return e.charCodeAt(0)===64}function co(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let a=t[i];typeof a=="number"?n=a:n===0||(n===-1||n===2?wg(e,n,a,null,t[++i]):wg(e,n,a,null,null))}}return e}function wg(e,t,n,i,a){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),a!==null&&e.splice(r++,0,a)}function s_(e){return e!==Qr}function Cc(e){return e&32767}function bQ(e){return e>>16}function Dc(e,t){let n=bQ(e),i=t;for(;n>0;)i=i[vo],n--;return i}var Fh=!0;function Ic(e){let t=Fh;return Fh=e,t}var yQ=256,l_=yQ-1,c_=5,_Q=0,Ta={};function xQ(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(ns)&&(i=n[ns]),i==null&&(i=n[ns]=_Q++);let a=i&l_,r=1<<a;t.data[e+(a>>c_)]|=r}function Ac(e,t){let n=d_(e,t);if(n!==-1)return n;let i=t[Te];i.firstCreatePass&&(e.injectorIndex=t.length,_u(i.data,e),_u(t,null),_u(i.blueprint,null));let a=fm(e,t),r=e.injectorIndex;if(s_(a)){let s=Cc(a),l=Dc(a,t),c=l[Te].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=a,r}function _u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function d_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function fm(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;a!==null;){if(i=f_(a),i===null)return Qr;if(n++,a=a[vo],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return Qr}function Lh(e,t,n){xQ(e,t,n)}function wQ(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let i=n.length,a=0;for(;a<i;){let r=n[a];if(o_(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<i&&typeof n[a]=="string";)a++;else{if(r===t)return n[a+1];a=a+2}}}return null}function u_(e,t,n){if(n&Ue.Optional||e!==void 0)return e;Zp()}function h_(e,t,n,i){if(n&Ue.Optional&&i===void 0&&(i=null),(n&(Ue.Self|Ue.Host))===0){let a=e[so],r=Ai(void 0);try{return a?a.get(t,i,n&Ue.Optional):S0(t,i,n&Ue.Optional)}finally{Ai(r)}}return u_(i,t,n)}function p_(e,t,n,i=Ue.Default,a){if(e!==null){if(t[ke]&2048&&!(i&Ue.Self)){let s=CQ(e,t,n,i,Ta);if(s!==Ta)return s}let r=m_(e,t,n,i,Ta);if(r!==Ta)return r}return h_(t,n,i,a)}function m_(e,t,n,i,a){let r=kQ(n);if(typeof r=="function"){if(!J0(t,e,i))return i&Ue.Host?u_(a,n,i):h_(t,n,i,a);try{let s;if(s=r(i),s==null&&!(i&Ue.Optional))Zp(n);else return s}finally{a_()}}else if(typeof r=="number"){let s=null,l=d_(e,t),c=Qr,d=i&Ue.Host?t[Hi][Pi]:null;for((l===-1||i&Ue.SkipSelf)&&(c=l===-1?fm(e,t):t[l+8],c===Qr||!kg(i,!1)?l=-1:(s=t[Te],l=Cc(c),t=Dc(c,t)));l!==-1;){let u=t[Te];if(Sg(r,l,u.data)){let m=SQ(l,t,n,s,i,d);if(m!==Ta)return m}c=t[l+8],c!==Qr&&kg(i,t[Te].data[l+8]===d)&&Sg(r,l,t)?(s=u,l=Cc(c),t=Dc(c,t)):l=-1}}return a}function SQ(e,t,n,i,a,r){let s=t[Te],l=s.data[e+8],c=i==null?bo(l)&&Fh:i!=s&&(l.type&3)!==0,d=a&Ue.Host&&r===l,u=rc(l,s,n,c,d);return u!==null?fs(t,s,u,l,a):Ta}function rc(e,t,n,i,a){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,m=i?l:l+u,v=a?l+u:d;for(let g=m;g<v;g++){let x=s[g];if(g<c&&n===x||g>=c&&x.type===n)return g}if(a){let g=s[c];if(g&&za(g)&&g.type===n)return c}return null}function fs(e,t,n,i,a){let r=e[n],s=t.data;if(r instanceof Us){let l=r;l.resolving&&x0(mX(s[n]));let c=Ic(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?Ai(l.injectImpl):null;J0(e,i,Ue.Default);try{r=e[n]=l.factory(void 0,a,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&hQ(n,s[n],t)}finally{d!==null&&Ai(d),Ic(c),l.resolving=!1,a_()}}return r}function kQ(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ns)?e[ns]:void 0;return typeof t=="number"?t>=0?t&l_:EQ:t}function Sg(e,t,n){let i=1<<e;return!!(n[t+(e>>c_)]&i)}function kg(e,t){return!(e&Ue.Self)&&!(e&Ue.Host&&t)}var rs=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return p_(this._tNode,this._lView,e,gd(n),t)}};function EQ(){return new rs(yi(),ye())}function Qt(e){return js(()=>{let t=e.prototype.constructor,n=t[yc]||Vh(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){let r=a[yc]||Vh(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function Vh(e){return v0(e)?()=>{let t=Vh(ci(e));return t&&t()}:mr(e)}function CQ(e,t,n,i,a){let r=e,s=t;for(;r!==null&&s!==null&&s[ke]&2048&&!kc(s);){let l=m_(r,s,n,i|Ue.Self,Ta);if(l!==Ta)return l;let c=r.parent;if(!c){let d=s[V0];if(d){let u=d.get(n,Ta,i);if(u!==Ta)return u}c=f_(s),s=s[vo]}r=c}return a}function f_(e){let t=e[Te],n=t.type;return n===2?t.declTNode:n===1?e[Pi]:null}function DQ(e){return wQ(yi(),e)}function Eg(e,t=null,n=null,i){let a=IQ(e,t,n,i);return a.resolveInjectorInitializers(),a}function IQ(e,t=null,n=null,i,a=new Set){let r=[n||Di,AX(e)];return i=i||(typeof e=="object"?void 0:ta(e)),new tm(r,t||bd(),i||null,a)}var Ca,lt=(Ca=class{static create(t,n){if(Array.isArray(t))return Eg({name:""},n,t,"");{let i=t.name??"";return Eg({name:i},t.parent,t.providers,i)}}},o(Ca,"THROW_IF_NOT_FOUND",ur),o(Ca,"NULL",new T0),o(Ca,"ɵprov",q({token:Ca,providedIn:"any",factory:()=>pe(A0)})),o(Ca,"__NG_ELEMENT_ID__",-1),Ca),gm=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>DQ(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},AQ=new $("");AQ.__NG_ELEMENT_ID__=e=>{let t=yi();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Ue.Optional)return null;throw new Z(204,!1)};var g_=!1,$i=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",OQ),o(e,"__NG_ENV_ID__",n=>n),e})(),v_=class extends $i{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return yo(n)?(t(),()=>{}):(Y0(n,t),()=>WX(n,t))}};function OQ(){return new v_(ye())}var wo=class{},b_=new $("",{providedIn:"root",factory:()=>!1}),y_=new $(""),__=new $(""),Gs=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new rr(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}has(i){return this.pendingTasks.has(i)}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),TQ=class extends ce{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,L0()&&(this.destroyRef=S($i,{optional:!0})??void 0,this.pendingTasks=S(Gs,{optional:!0})??void 0)}emit(t){let n=He(null);try{super.next(t)}finally{He(n)}}subscribe(t,n,i){var c,d,u;let a=t,r=n||(()=>null),s=i;if(t&&typeof t=="object"){let m=t;a=(c=m.next)==null?void 0:c.bind(m),r=(d=m.error)==null?void 0:d.bind(m),s=(u=m.complete)==null?void 0:u.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:a,error:r,complete:s});return t instanceof ct&&t.add(l),l}wrapInTimeout(t){return n=>{var a;let i=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(n)}finally{i!==void 0&&((r=this.pendingTasks)==null||r.remove(i))}})}}},le=TQ;function gs(...e){}function x_(e){let t,n;function i(){e=gs;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Cg(e){return queueMicrotask(()=>e()),()=>{e=gs}}var vm="isAngularZone",Oc=vm+"_ID",NQ=0,Ne=class zh{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le(!1));o(this,"onMicrotaskEmpty",new le(!1));o(this,"onStable",new le(!1));o(this,"onError",new le(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=g_}=t;if(typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!a&&i,s.shouldCoalesceRunChangeDetection=a,s.callbackScheduled=!1,s.scheduleInRootZone=r,RQ(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(vm)===!0}static assertInAngularZone(){if(!zh.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(zh.isInAngularZone())throw new Z(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+a,t,MQ,gs,gs);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},MQ={};function bm(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function PQ(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){x_(()=>{e.callbackScheduled=!1,jh(e),e.isCheckStableRunning=!0,bm(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jh(e)}function RQ(e){let t=()=>{PQ(e)},n=NQ++;e._inner=e._inner.fork({name:"angular",properties:{[vm]:!0,[Oc]:n,[Oc+n]:!0},onInvokeTask:(i,a,r,s,l,c)=>{if(LQ(c))return i.invokeTask(r,s,l,c);try{return Dg(e),i.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ig(e)}},onInvoke:(i,a,r,s,l,c,d)=>{try{return Dg(e),i.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!VQ(c)&&t(),Ig(e)}},onHasTask:(i,a,r,s)=>{i.hasTask(r,s),a===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,jh(e),bm(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,a,r,s)=>(i.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function jh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ig(e){e._nesting--,bm(e)}var FQ=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le);o(this,"onMicrotaskEmpty",new le);o(this,"onStable",new le);o(this,"onError",new le)}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}};function LQ(e){return w_(e,"__ignore_ng_zone__")}function VQ(e){return w_(e,"__scheduler_tick__")}function w_(e,t){var n,i;return!Array.isArray(e)||e.length!==1?!1:((i=(n=e[0])==null?void 0:n.data)==null?void 0:i[t])===!0}var va=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},zQ=new $("",{providedIn:"root",factory:()=>{let e=S(Ne),t=S(va);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),S_=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",S(va,{optional:!0}));o(this,"destroyRef",S($i));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,i;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((i=this.listeners)==null||i.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(p0(953,!1));return}if(this.listeners===null)return;let t=He(null);try{for(let i of this.listeners)try{i(e)}catch(a){(n=this.errorHandler)==null||n.handleError(a)}}finally{He(t)}}};function Ag(e){return new S_}function Og(e,t){return f0(e,t)}function jQ(e){return f0(fd,e)}var It=(Og.required=jQ,Og);function BQ(){return So(yi(),ye())}function So(e,t){return new ze(qa(e,t))}var ze=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",BQ),e})();function k_(e){return e instanceof ze?e.nativeElement:e}function vs(e){return typeof e=="function"&&e[fi]!==void 0}function Pa(e,t){let n=QK(e,t==null?void 0:t.equal),i=n[fi];return n.set=a=>Vs(i,a),n.update=a=>My(i,a),n.asReadonly=ym.bind(n),n}function ym(){let e=this[fi];if(e.readonlyFn===void 0){let t=()=>this();t[fi]=e,e.readonlyFn=t}return e.readonlyFn}function E_(e){return vs(e)&&typeof e.set=="function"}function HQ(){return this._results[Symbol.iterator]()}var py,Tc=(py=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,py,HQ);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ce)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=kX(e);(this._changesDetected=!SX(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function C_(e){return(e.flags&128)===128}var D_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(D_||{}),I_=new Map,$Q=0;function qQ(){return $Q++}function UQ(e){I_.set(e[_d],e)}function Bh(e){I_.delete(e[_d])}var Tg="__ngContext__";function ko(e,t){Pn(t)?(e[Tg]=t[_d],UQ(t)):e[Tg]=t}function A_(e){return T_(e[ms])}function O_(e){return T_(e[ma])}function T_(e){for(;e!==null&&!gn(e);)e=e[ma];return e}var Hh;function GQ(e){Hh=e}function N_(){if(Hh!==void 0)return Hh;if(typeof document<"u")return document;throw new Z(210,!1)}var Dd=new $("",{providedIn:"root",factory:()=>YQ}),YQ="ng",M_=new $(""),Id=new $("",{providedIn:"platform",factory:()=>"unknown"}),Gi=new $(""),_m=new $("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=N_().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),P_=!1,WQ=new $("",{providedIn:"root",factory:()=>P_}),xm=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(xm||{}),Ys=new $(""),Ng=new Set;function Ar(e){var t;Ng.has(e)||(Ng.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var wm=(()=>{class e{constructor(n,i){o(this,"view");o(this,"node");this.view=n,this.node=i}}return o(e,"__NG_ELEMENT_ID__",KQ),e})();function KQ(){return new wm(ye(),yi())}var Yr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Yr||{}),R_=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var i;(i=this.impl)==null||i.execute()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),ZQ=[Yr.EarlyRead,Yr.Write,Yr.MixedReadWrite,Yr.Read],XQ=(()=>{const t=class t{constructor(){o(this,"ngZone",S(Ne));o(this,"scheduler",S(wo));o(this,"errorHandler",S(va,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);S(Ys,{optional:!0})}execute(){var i;this.sequences.size>0,this.executing=!0;for(let a of ZQ)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[a];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(i=this.errorHandler)==null||i.handleError(s)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(i){let{view:a}=i;a!==void 0?((a[Mn]??(a[Mn]=[])).push(i),_o(a),a[ke]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,a){return a?a.run(xm.AFTER_NEXT_RENDER,i):i()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),QQ=class{constructor(e,t,n,i,a,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=i,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,n;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(n=this.view)==null?void 0:n[Mn];e&&(this.view[Mn]=e.filter(i=>i!==this))}};function Sm(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterRender"),F_(e,n,t,!1)}function xr(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterNextRender"),F_(e,n,t,!0)}function JQ(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function F_(e,t,n,i){let a=t.get(R_);a.impl??(a.impl=t.get(XQ));let r=t.get(Ys,null,{optional:!0}),s=(n==null?void 0:n.phase)??Yr.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get($i):null,c=t.get(wm,null,{optional:!0}),d=new QQ(a.impl,JQ(e,s),c==null?void 0:c.view,i,l,r==null?void 0:r.snapshot(null));return a.impl.register(d),d}var eJ=()=>null;function L_(e,t,n=!1){return eJ()}function V_(e,t){let n=e.contentQueries;if(n!==null){let i=He(null);try{for(let a=0;a<n.length;a+=2){let r=n[a],s=n[a+1];if(s!==-1){let l=e.data[s];kd(r),l.contentQueries(2,t[s],s)}}}finally{He(i)}}}function $h(e,t,n){kd(0);let i=He(null);try{t(e,n)}finally{He(i)}}function km(e,t,n){if(im(t)){let i=He(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let s=a;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{He(i)}}}var on=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(on||{}),kl;function tJ(){if(kl===void 0&&(kl=null,Dn.trustedTypes))try{kl=Dn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}function Ad(e){var t;return((t=tJ())==null?void 0:t.createHTML(e))||e}var El;function iJ(){if(El===void 0&&(El=null,Dn.trustedTypes))try{El=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return El}function Mg(e){var t;return((t=iJ())==null?void 0:t.createHTML(e))||e}var Or=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${h0})`}},aJ=class extends Or{getTypeName(){return"HTML"}},nJ=class extends Or{getTypeName(){return"Style"}},rJ=class extends Or{getTypeName(){return"Script"}},oJ=class extends Or{getTypeName(){return"URL"}},sJ=class extends Or{getTypeName(){return"ResourceURL"}};function nn(e){return e instanceof Or?e.changingThisBreaksApplicationSecurity:e}function or(e,t){let n=lJ(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${h0})`)}return n===t}function lJ(e){return e instanceof Or&&e.getTypeName()||null}function cJ(e){return new aJ(e)}function dJ(e){return new nJ(e)}function uJ(e){return new rJ(e)}function hJ(e){return new oJ(e)}function pJ(e){return new sJ(e)}function mJ(e){let t=new gJ(e);return vJ()?new fJ(t):t}var fJ=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ad(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},gJ=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ad(e),t}};function vJ(){try{return!!new window.DOMParser().parseFromString(Ad(""),"text/html")}catch{return!1}}var bJ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Em(e){return e=String(e),e.match(bJ)?e:"unsafe:"+e}function vn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ws(...e){let t={};for(let n of e)for(let i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}var z_=vn("area,br,col,hr,img,wbr"),j_=vn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),B_=vn("rp,rt"),yJ=Ws(B_,j_),_J=Ws(j_,vn("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")),xJ=Ws(B_,vn("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")),Pg=Ws(z_,_J,xJ,yJ),H_=vn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wJ=vn("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"),SJ=vn("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"),kJ=Ws(H_,wJ,SJ),EJ=vn("script,style,template"),CJ=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){i.push(t),t=AJ(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=IJ(t);if(a){t=a;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Rg(e).toLowerCase();if(!Pg.hasOwnProperty(t))return this.sanitizedSomething=!0,!EJ.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let i=0;i<n.length;i++){let a=n.item(i),r=a.name,s=r.toLowerCase();if(!kJ.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=a.value;H_[s]&&(l=Em(l)),this.buf.push(" ",r,'="',Fg(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Rg(e).toLowerCase();Pg.hasOwnProperty(t)&&!z_.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Fg(e))}};function DJ(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function IJ(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $_(t);return t}function AJ(e){let t=e.firstChild;if(t&&DJ(e,t))throw $_(t);return t}function Rg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function $_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var OJ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TJ=/([^\#-~ |!])/g;function Fg(e){return e.replace(/&/g,"&").replace(OJ,function(t){let n=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(TJ,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Cl;function q_(e,t){let n=null;try{Cl=Cl||mJ(e);let i=t?String(t):"";n=Cl.getInertBodyElement(i);let a=5,r=i;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=Cl.getInertBodyElement(i)}while(i!==r);let s=new CJ().sanitizeChildren(Lg(n)||n);return Ad(s)}finally{if(n){let i=Lg(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}function Lg(e){return"content"in e&&NJ(e)?e.content:null}function NJ(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var MJ=/^>|^->|<!--|-->|--!>|<!-$/g,PJ=/(<|>)/g,RJ="$1";function FJ(e){return e.replace(MJ,t=>t.replace(PJ,RJ))}function LJ(e,t){return e.createText(t)}function VJ(e,t,n){e.setValue(t,n)}function zJ(e,t){return e.createComment(FJ(t))}function U_(e,t,n){return e.createElement(t,n)}function Nc(e,t,n,i,a){e.insertBefore(t,n,i,a)}function G_(e,t,n){e.appendChild(t,n)}function Vg(e,t,n,i,a){i!==null?Nc(e,t,n,i,a):G_(e,t,n)}function jJ(e,t,n){e.removeChild(null,t,n)}function BJ(e,t,n){e.setAttribute(t,"style",n)}function HJ(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Y_(e,t,n){let{mergedAttrs:i,classes:a,styles:r}=n;i!==null&&gQ(e,t,i),a!==null&&HJ(e,t,a),r!==null&&BJ(e,t,r)}var Oi=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}(Oi||{});function $J(e){let t=W_();return t?Mg(t.sanitize(Oi.HTML,e)||""):or(e,"HTML")?Mg(nn(e)):q_(N_(),Ma(e))}function qJ(e){let t=W_();return t?t.sanitize(Oi.URL,e)||"":or(e,"URL")?nn(e):Em(Ma(e))}function W_(){let e=ye();return e&&e[hn].sanitizer}function UJ(e,t,n){let i=e.length;for(;;){let a=e.indexOf(t,n);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===i||e.charCodeAt(a+r)<=32)return a}n=a+1}}var K_="ng-template";function GJ(e,t,n,i){let a=0;if(i){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&UJ(t[a+1].toLowerCase(),n,0)!==-1)return!0}else if(Cm(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Cm(e){return e.type===4&&e.value!==K_}function YJ(e,t,n){let i=e.type===4&&!n?K_:e.value;return t===i}function WJ(e,t,n){let i=4,a=e.attrs,r=a!==null?XJ(a):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!ca(i)&&!ca(c))return!1;if(s&&ca(c))continue;s=!1,i=c|i&1;continue}if(!s)if(i&4){if(i=2|i&1,c!==""&&!YJ(e,c,n)||c===""&&t.length===1){if(ca(i))return!1;s=!0}}else if(i&8){if(a===null||!GJ(e,a,c,n)){if(ca(i))return!1;s=!0}}else{let d=t[++l],u=KJ(c,a,Cm(e),n);if(u===-1){if(ca(i))return!1;s=!0;continue}if(d!==""){let m;if(u>r?m="":m=a[u+1].toLowerCase(),i&2&&d!==m){if(ca(i))return!1;s=!0}}}}return ca(i)||s}function ca(e){return(e&1)===0}function KJ(e,t,n,i){if(t===null)return-1;let a=0;if(i||!n){let r=!1;for(;a<t.length;){let s=t[a];if(s===e)return a;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(s===4)break;if(s===0){a+=4;continue}}a+=r?1:2}return-1}else return QJ(t,e)}function Z_(e,t,n=!1){for(let i=0;i<t.length;i++)if(WJ(e,t[i],n))return!0;return!1}function ZJ(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function XJ(e){for(let t=0;t<e.length;t++){let n=e[t];if(o_(n))return t}return e.length}function QJ(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function JJ(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function zg(e,t){return e?":not("+t.trim()+")":t}function eee(e){let t=e[0],n=1,i=2,a="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(i&2){let l=e[++n];a+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else i&8?a+="."+s:i&4&&(a+=" "+s);else a!==""&&!ca(s)&&(t+=zg(r,a),a=""),i=s,r=r||!ca(i);n++}return a!==""&&(t+=zg(r,a)),t}function tee(e){return e.map(eee).join(",")}function iee(e){let t=[],n=[],i=1,a=2;for(;i<e.length;){let r=e[i];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++i]):a===8&&n.push(r);else{if(!ca(a))break;a=r}i++}return n.length&&t.push(1,...n),t}var _i={};function Dm(e,t,n,i,a,r,s,l,c,d,u){let m=qt+i,v=m+a,g=aee(m,v),x=typeof d=="function"?d():d;return g[Te]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:x,incompleteFirstPass:!1,ssrId:u}}function aee(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:_i);return n}function nee(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Dm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Im(e,t,n,i,a,r,s,l,c,d,u){let m=t.blueprint.slice();return m[fn]=a,m[ke]=i|4|128|8|64|1024,(d!==null||e&&e[ke]&2048)&&(m[ke]|=2048),G0(m),m[vi]=m[vo]=e,m[ii]=n,m[hn]=s||e&&e[hn],m[Tt]=l||e&&e[Tt],m[so]=c||e&&e[so]||null,m[Pi]=r,m[_d]=qQ(),m[oo]=u,m[V0]=d,m[Hi]=t.type==2?e[Hi]:m,m}function ree(e,t,n){let i=qa(t,e),a=nee(n),r=e[hn].rendererFactory,s=Am(e,Im(e,a,null,X_(n),i,t,null,r.createRenderer(i,n),null,null,null));return e[t.index]=s}function X_(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Q_(e,t,n,i){if(n===0)return-1;let a=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return a}function Am(e,t){return e[ms]?e[_g][ma]=t:e[ms]=t,e[_g]=t,t}function D(e=1){J_(gt(),ye(),ga()+e)}function J_(e,t,n,i){if((t[ke]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ac(t,a,n)}else{let a=e.preOrderHooks;a!==null&&nc(t,a,0,n)}_r(n)}var Od=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Od||{});function qh(e,t,n,i){let a=He(null);try{let[r,s,l]=e.inputs[n],c=null;s&Od.SignalBased&&(c=t[r][fi]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):l!==null&&(i=l.call(t,i)),e.setInput!==null?e.setInput(t,c,i,n,r):j0(t,c,r,i)}finally{He(a)}}function ex(e,t,n,i,a){let r=ga(),s=i&2;try{_r(-1),s&&t.length>qt&&J_(e,t,qt,!1),vr(s?2:0,a),n(i,a)}finally{_r(r)}}function Td(e,t,n){cee(e,t,n),(n.flags&64)===64&&dee(e,t,n)}function Om(e,t,n=qa){let i=t.localNames;if(i!==null){let a=t.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],l=s===-1?n(t,e):e[s];e[a++]=l}}}function oee(e,t,n,i){let a=i.get(WQ,P_)||n===on.ShadowDom;return e.selectRootElement(t,a)}function see(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nd(e,t,n,i,a,r,s,l){if(!l&&Nm(t,e,n,i,a)){bo(t)&&lee(n,t.index);return}if(t.type&3){let c=qa(t,n);i=see(i),a=s!=null?s(a,t.value||"",i):a,r.setProperty(c,i,a)}else t.type&12}function lee(e,t){let n=Ba(t,e);n[ke]&16||(n[ke]|=64)}function cee(e,t,n){let i=n.directiveStart,a=n.directiveEnd;bo(n)&&ree(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ac(n,t);let r=n.initialInputs;for(let s=i;s<a;s++){let l=e.data[s],c=fs(t,e,s,n);if(ko(c,t),r!==null&&mee(t,s-i,c,l,n,r),za(l)){let d=Ba(n.index,t);d[ii]=fs(t,e,s,n)}}}function dee(e,t,n){let i=n.directiveStart,a=n.directiveEnd,r=n.index,s=oQ();try{_r(r);for(let l=i;l<a;l++){let c=e.data[l],d=t[l];Ph(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&uee(c,d)}}finally{_r(-1),Ph(s)}}function uee(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Tm(e,t){let n=e.directiveRegistry,i=null;if(n)for(let a=0;a<n.length;a++){let r=n[a];Z_(t,r.selectors,!1)&&(i??(i=[]),za(r)?i.unshift(r):i.push(r))}return i}function hee(e,t,n,i,a,r){let s=qa(e,t);pee(t[Tt],s,r,e.value,n,i,a)}function pee(e,t,n,i,a,r,s){if(r==null)e.removeAttribute(t,a,n);else{let l=s==null?Ma(r):s(r,i||"",a);e.setAttribute(t,a,l,n)}}function mee(e,t,n,i,a,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];qh(i,n,c,d)}}function fee(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function Nm(e,t,n,i,a){var c,d;let r=(c=e.inputs)==null?void 0:c[i],s=(d=e.hostDirectiveInputs)==null?void 0:d[i],l=!1;if(s)for(let u=0;u<s.length;u+=2){let m=s[u],v=s[u+1],g=t.data[m];qh(g,n[m],v,a),l=!0}if(r)for(let u of r){let m=n[u],v=t.data[u];qh(v,m,i,a),l=!0}return l}function gee(e,t){let n=Ba(t,e),i=n[Te];vee(i,n);let a=n[fn];a!==null&&n[oo]===null&&(n[oo]=L_(a,n[so])),Mm(i,n,n[ii]),vr(19,n[ii])}function vee(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Mm(e,t,n){var i;hm(t);try{let a=e.viewQuery;a!==null&&$h(1,a,n);let r=e.template;r!==null&&ex(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(i=t[fa])==null||i.finishViewCreation(e),e.staticContentQueries&&V_(e,t),e.staticViewQueries&&$h(2,e.viewQuery,n);let s=e.components;s!==null&&bee(t,s)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[ke]&=-5,pm()}}function bee(e,t){for(let n=0;n<t.length;n++)gee(e,t[n])}function Ks(e,t,n,i){let a=He(null);try{let r=t.tView,s=e[ke]&4096?4096:16,l=Im(e,r,n,s,null,t,null,null,(i==null?void 0:i.injector)??null,(i==null?void 0:i.embeddedViewInjector)??null,(i==null?void 0:i.dehydratedView)??null),c=e[t.index];l[fr]=c;let d=e[fa];return d!==null&&(l[fa]=d.createEmbeddedView(r)),Mm(r,l,n),l}finally{He(a)}}function uo(e,t){return!t||t.firstChild===null||C_(e)}var yee;function Pm(e,t){return yee(e,t)}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{});function Rm(e){return(e.flags&32)===32}function Wr(e,t,n,i,a){if(i!=null){let r,s=!1;gn(i)?r=i:Pn(i)&&(s=!0,i=i[fn]);let l=ja(i);e===0&&n!==null?a==null?G_(t,n,l):Nc(t,n,l,a||null,!0):e===1&&n!==null?Nc(t,n,l,a||null,!0):e===2?jJ(t,l,s):e===3&&t.destroyNode(l),r!=null&&Aee(t,e,r,n,a)}}function _ee(e,t){tx(e,t),t[fn]=null,t[Pi]=null}function xee(e,t,n,i,a,r){i[fn]=a,i[Pi]=t,Rd(e,i,n,1,a,r)}function tx(e,t){var n;(n=t[hn].changeDetectionScheduler)==null||n.notify(9),Rd(e,t,t[Tt],2,null,null)}function wee(e){let t=e[ms];if(!t)return xu(e[Te],e);for(;t;){let n=null;if(Pn(t))n=t[ms];else{let i=t[gi];i&&(n=i)}if(!n){for(;t&&!t[ma]&&t!==e;)Pn(t)&&xu(t[Te],t),t=t[vi];t===null&&(t=e),Pn(t)&&xu(t[Te],t),n=t&&t[ma]}t=n}}function Fm(e,t){let n=e[lo],i=n.indexOf(t);n.splice(i,1)}function Md(e,t){if(yo(t))return;let n=t[Tt];n.destroyNode&&Rd(e,t,n,3,null,null),wee(t)}function xu(e,t){if(yo(t))return;let n=He(null);try{t[ke]&=-129,t[ke]|=256,t[ia]&&dd(t[ia]),kee(e,t),See(e,t),t[Te].type===1&&t[Tt].destroy();let i=t[fr];if(i!==null&&gn(t[vi])){i!==t[vi]&&Fm(i,t);let a=t[fa];a!==null&&a.detachView(e)}Bh(t)}finally{He(n)}}function See(e,t){let n=e.cleanup,i=t[Xr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?i[l]():i[-l].unsubscribe(),s+=2}else{let l=i[n[s+1]];n[s].call(l)}i!==null&&(t[Xr]=null);let a=t[Nn];if(a!==null){t[Nn]=null;for(let s=0;s<a.length;s++){let l=a[s];l()}}let r=t[rn];if(r!==null){t[rn]=null;for(let s of r)s.destroy()}}function kee(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let a=t[n[i]];if(!(a instanceof Us)){let r=n[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=a[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(a)}finally{}}}}function ix(e,t,n){return Eee(e,t.parent,n)}function Eee(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[fn];if(bo(i)){let{encapsulation:a}=e.data[i.directiveStart+i.componentOffset];if(a===on.None||a===on.Emulated)return null}return qa(i,n)}function ax(e,t,n){return Dee(e,t,n)}function Cee(e,t,n){return e.type&40?qa(e,n):null}var Dee=Cee;function Pd(e,t,n,i){let a=ix(e,i,t),r=t[Tt],s=i.parent||t[Pi],l=ax(s,i,t);if(a!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Vg(r,a,n[c],l,!1);else Vg(r,a,n,l,!1)}function Qo(e,t){if(t!==null){let n=t.type;if(n&3)return qa(t,e);if(n&4)return Uh(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return Qo(e,i);{let a=e[t.index];return gn(a)?Uh(-1,a):ja(a)}}else{if(n&128)return Qo(e,t.next);if(n&32)return Pm(t,e)()||ja(e[t.index]);{let i=nx(e,t);if(i!==null){if(Array.isArray(i))return i[0];let a=yr(e[Hi]);return Qo(a,i)}else return Qo(e,t.next)}}}return null}function nx(e,t){if(t!==null){let n=e[Hi][Pi],i=t.projection;return n.projection[i]}return null}function Uh(e,t){let n=gi+e+1;if(n<t.length){let i=t[n],a=i[Te].firstChild;if(a!==null)return Qo(i,a)}return t[gr]}function Lm(e,t,n,i,a,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=i[n.index],c=n.type;if(s&&t===0&&(l&&ko(ja(l),i),n.flags|=2),!Rm(n))if(c&8)Lm(e,t,n.child,i,a,r,!1),Wr(t,e,a,l,r);else if(c&32){let d=Pm(n,i),u;for(;u=d();)Wr(t,e,a,u,r);Wr(t,e,a,l,r)}else c&16?rx(e,t,i,n,a,r):Wr(t,e,a,l,r);n=s?n.projectionNext:n.next}}function Rd(e,t,n,i,a,r){Lm(n,i,e.firstChild,t,a,r,!1)}function Iee(e,t,n){let i=t[Tt],a=ix(e,n,t),r=n.parent||t[Pi],s=ax(r,n,t);rx(i,0,t,n,a,s)}function rx(e,t,n,i,a,r){let s=n[Hi],l=s[Pi].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Wr(t,e,a,d,r)}else{let c=l,d=s[vi];C_(i)&&(c.flags|=128),Lm(e,t,c,d,a,r,!0)}}function Aee(e,t,n,i,a){let r=n[gr],s=ja(n);r!==s&&Wr(t,e,i,r,a);for(let l=gi;l<n.length;l++){let c=n[l];Rd(c[Te],c,e,t,i,r)}}function Oee(e,t,n,i,a){if(t)a?e.addClass(n,i):e.removeClass(n,i);else{let r=i.indexOf("-")===-1?void 0:In.DashCase;a==null?e.removeStyle(n,i,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=In.Important),e.setStyle(n,i,a,r))}}function Mc(e,t,n,i,a=!1){for(;n!==null;){if(n.type===128){n=a?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&i.push(ja(r)),gn(r)&&Tee(r,i);let s=n.type;if(s&8)Mc(e,t,n.child,i);else if(s&32){let l=Pm(n,t),c;for(;c=l();)i.push(c)}else if(s&16){let l=nx(t,n);if(Array.isArray(l))i.push(...l);else{let c=yr(t[Hi]);Mc(c[Te],c,l,i,!0)}}n=a?n.projectionNext:n.next}return i}function Tee(e,t){for(let n=gi;n<e.length;n++){let i=e[n],a=i[Te].firstChild;a!==null&&Mc(i[Te],i,a,t)}e[gr]!==e[fn]&&t.push(e[gr])}function ox(e){if(e[Mn]!==null){for(let t of e[Mn])t.impl.addSequence(t);e[Mn].length=0}}var sx=[];function Nee(e){return e[ia]??Mee(e)}function Mee(e){let t=sx.pop()??Object.create(Ree);return t.lView=e,t}function Pee(e){e.lView[ia]!==e&&(e.lView=null,sx.push(e))}var Ree=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{_o(e.lView)},consumerOnSignalRead(){this.lView[ia]=this}});function Fee(e){let t=e[ia]??Object.create(Lee);return t.lView=e,t}var Lee=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=yr(e.lView);for(;t&&!lx(t[Te]);)t=yr(t);t&&om(t)},consumerOnSignalRead(){this.lView[ia]=this}});function lx(e){return e.type!==2}function cx(e){if(e[rn]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[rn])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[ke]&8192)}}var Vee=100;function dx(e,t=!0,n=0){var a,r;let i=e[hn].rendererFactory;(a=i.begin)==null||a.call(i);try{zee(e,n)}catch(s){throw t&&fee(e,s),s}finally{(r=i.end)==null||r.call(i)}}function zee(e,t){let n=X0();try{Ec(!0),Gh(e,t);let i=0;for(;$s(e);){if(i===Vee)throw new Z(103,!1);i++,Gh(e,1)}}finally{Ec(n)}}function jee(e,t,n,i){if(yo(t))return;let a=t[ke],r=!1,s=!1;hm(t);let l=!0,c=null,d=null;lx(e)?(d=Nee(t),c=ls(d)):GK()===null?(l=!1,d=Fee(t),c=ls(d)):t[ia]&&(dd(t[ia]),t[ia]=null);try{G0(t),aQ(e.bindingStartIndex),n!==null&&ex(e,t,n,2,i);let u=(a&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&ac(t,g,null)}else{let g=e.preOrderHooks;g!==null&&nc(t,g,0,null),yu(t,0)}if(s||Bee(t),cx(t),ux(t,0),e.contentQueries!==null&&V_(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&ac(t,g)}else{let g=e.contentHooks;g!==null&&nc(t,g,1),yu(t,1)}$ee(e,t);let m=e.components;m!==null&&px(t,m,0);let v=e.viewQuery;if(v!==null&&$h(2,v,i),!r)if(u){let g=e.viewCheckHooks;g!==null&&ac(t,g)}else{let g=e.viewHooks;g!==null&&nc(t,g,2),yu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bu]){for(let g of t[bu])g();t[bu]=null}r||(ox(t),t[ke]&=-73)}catch(u){throw _o(t),u}finally{d!==null&&(cd(d,c),l&&Pee(d)),pm()}}function ux(e,t){for(let n=A_(e);n!==null;n=O_(n))for(let i=gi;i<n.length;i++){let a=n[i];hx(a,t)}}function Bee(e){for(let t=A_(e);t!==null;t=O_(t)){if(!(t[ke]&2))continue;let n=t[lo];for(let i=0;i<n.length;i++){let a=n[i];om(a)}}}function Hee(e,t,n){let i=Ba(t,e);hx(i,n),vr(19,i[ii])}function hx(e,t){rm(e)&&Gh(e,t)}function Gh(e,t){let n=e[Te],i=e[ke],a=e[ia],r=!!(t===0&&i&16);if(r||(r=!!(i&64&&t===0)),r||(r=!!(i&1024)),r||(r=!!(a!=null&&a.dirty&&zp(a))),r||(r=!1),a&&(a.dirty=!1),e[ke]&=-9217,r)jee(n,e,n.template,e[ii]);else if(i&8192){cx(e),ux(e,1);let s=n.components;s!==null&&px(e,s,1),ox(e)}}function px(e,t,n){for(let i=0;i<t.length;i++)Hee(e,t[i],n)}function $ee(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let a=n[i];if(a<0)_r(~a);else{let r=a,s=n[++i],l=n[++i];rQ(s,r);let c=t[r];vr(24,c),l(2,c),vr(25,c)}}}finally{_r(-1)}}function Vm(e,t){var i;let n=X0()?64:1088;for((i=e[hn].changeDetectionScheduler)==null?void 0:i.notify(t);e;){e[ke]|=n;let a=yr(e);if(kc(e)&&!a)return e;e=a}return null}function mx(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function fx(e,t){let n=gi+t;if(n<e.length)return e[n]}function Zs(e,t,n,i=!0){let a=t[Te];if(qee(a,t,e,n),i){let s=Uh(n,e),l=t[Tt],c=l.parentNode(e[gr]);c!==null&&xee(a,e[Pi],l,t,c,s)}let r=t[oo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function gx(e,t){let n=bs(e,t);return n!==void 0&&Md(n[Te],n),n}function bs(e,t){if(e.length<=gi)return;let n=gi+t,i=e[n];if(i){let a=i[fr];a!==null&&a!==e&&Fm(a,i),t>0&&(e[n-1][ma]=i[ma]);let r=xc(e,gi+t);_ee(i[Te],i);let s=r[fa];s!==null&&s.detachView(r[Te]),i[vi]=null,i[ma]=null,i[ke]&=-129}return i}function qee(e,t,n,i){let a=gi+i,r=n.length;i>0&&(n[a-1][ma]=t),i<r-gi?(t[ma]=n[a],I0(n,gi+i,t)):(n.push(t),t[ma]=null),t[vi]=n;let s=t[fr];s!==null&&n!==s&&vx(s,t);let l=t[fa];l!==null&&l.insertView(e),Nh(t),t[ke]|=128}function vx(e,t){let n=e[lo],i=t[vi];if(Pn(i))e[ke]|=2;else{let a=i[vi][Hi];t[Hi]!==a&&(e[ke]|=2)}n===null?e[lo]=[t]:n.push(t)}var ys=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[Te];return Mc(t,e,t.firstChild,[])}get context(){return this._lView[ii]}set context(e){this._lView[ii]=e}get destroyed(){return yo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[vi];if(gn(e)){let t=e[Sc],n=t?t.indexOf(this):-1;n>-1&&(bs(e,n),xc(t,n))}this._attachedToViewContainer=!1}Md(this._lView[Te],this._lView)}onDestroy(e){Y0(this._lView,e)}markForCheck(){Vm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ke]&=-129}reattach(){Nh(this._lView),this._lView[ke]|=128}detectChanges(){this._lView[ke]|=1024,dx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=kc(this._lView),t=this._lView[fr];t!==null&&!e&&Fm(t,this._lView),tx(this._lView[Te],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=kc(this._lView),n=this._lView[fr];n!==null&&!t&&vx(n,this._lView),Nh(this._lView)}};function Uee(e){return $s(e._lView)||!!(e._lView[ke]&64)}function Gee(e){om(e._cdRefInjectingView||e._lView)}var Ln=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Kee),e})(),Yee=Ln,Wee=class extends Yee{constructor(t,n,i){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){let a=Ks(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new ys(a)}};function Kee(){return Fd(yi(),ye())}function Fd(e,t){return e.type&4?new Wee(t,e,So(e,t)):null}function Eo(e,t,n,i,a){let r=e.data[t];if(r===null)r=Zee(e,t,n,i,a),nQ()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=i,r.attrs=a;let s=iQ();r.injectorIndex=s===null?-1:s.injectorIndex}return $n(r,!0),r}function Zee(e,t,n,i,a){let r=K0(),s=cm(),l=s?r:r&&r.parent,c=e.data[t]=Qee(e,l,n,t,i,a);return Xee(e,c,r,s),c}function Xee(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Qee(e,t,n,i,a,r){let s=t?t.injectorIndex:-1,l=0;return W0()&&(l|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Jee=()=>null;function ho(e,t){return Jee()}var ete=class{},bx=class{},tte=class{resolveComponentFactory(e){throw Error(`No component factory found for ${ta(e)}.`)}},bh,Xs=(bh=class{},o(bh,"NULL",new tte),bh),na=class{},ra=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>ite()),e})();function ite(){let e=ye(),t=yi(),n=Ba(t.index,e);return(Pn(n)?n:e)[Tt]}var ate=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),wu={},nte=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=gd(n);let i=this.injector.get(e,wu,n);return i!==wu||t===wu?i:this.parentInjector.get(e,t,n)}};function Yh(e,t,n){let i=n?e.styles:null,a=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)a=Eh(a,l);else if(r==2){let c=l,d=t[++s];i=Eh(i,c+": "+d+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}function Je(e,t=Ue.Default){let n=ye();if(n===null)return pe(e,t);let i=yi();return p_(i,n,ci(e),t)}function rte(){let e="invalid";throw new Error(e)}function zm(e,t,n,i,a){let r=i===null?null:{"":-1},s=a(e,n);if(s!==null){let l,c=null,d=null,u=ste(s);u===null?l=s:[l,c,d]=u,dte(e,t,n,l,r,c,d)}r!==null&&i!==null&&ote(n,i,r)}function ote(e,t,n){let i=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=n[t[a+1]];if(r==null)throw new Z(-301,!1);i.push(t[a],r)}}function ste(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&za(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let i=null,a=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(i??(i=[]),a??(a=new Map),r??(r=new Map),lte(s,i,r,a)),s===t&&(i??(i=[]),i.push(s));return i!==null?(i.push(...t===null?e:e.slice(1)),[i,a,r]):null}function lte(e,t,n,i){let a=t.length;e.findHostDirectiveDefs(e,t,i),n.set(e,[a,t.length-1])}function cte(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function dte(e,t,n,i,a,r,s){let l=i.length,c=!1;for(let v=0;v<l;v++){let g=i[v];!c&&za(g)&&(c=!0,cte(e,n,v)),Lh(Ac(n,t),e,g.type)}gte(n,e.data.length,l);for(let v=0;v<l;v++){let g=i[v];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,m=Q_(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=i[v];if(n.mergedAttrs=co(n.mergedAttrs,g.hostAttrs),hte(e,n,t,m,g),fte(m,g,a),s!==null&&s.has(g)){let[w,E]=s.get(g);n.directiveToIndex.set(g.type,[m,w+n.directiveStart,E+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let x=g.type.prototype;!d&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),m++}ute(e,n,r)}function ute(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let a=e.data[i];if(n===null||!n.has(a))jg(0,t,a,i),jg(1,t,a,i),Hg(t,i,!1);else{let r=n.get(a);Bg(0,t,r,i),Bg(1,t,r,i),Hg(t,i,!0)}}}function jg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(i),yx(t,r)}}function Bg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(i,r),yx(t,s)}}function yx(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Hg(e,t,n){let{attrs:i,inputs:a,hostDirectiveInputs:r}=e;if(i===null||!n&&a===null||n&&r===null||Cm(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<i.length;){let c=i[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&a.hasOwnProperty(c)){let d=a[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,i[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],i[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function hte(e,t,n,i,a){e.data[i]=a;let r=a.factory||(a.factory=mr(a.type)),s=new Us(r,za(a),Je);e.blueprint[i]=s,n[i]=s,pte(e,t,i,Q_(e,n,a.hostVars,_i),a)}function pte(e,t,n,i,a){let r=a.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;mte(s)!=l&&s.push(l),s.push(n,i,r)}}function mte(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fte(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;za(t)&&(n[""]=e)}}function gte(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _x(e,t,n,i,a,r,s,l){let c=t.consts,d=br(c,s),u=Eo(t,e,2,i,d);return zm(t,n,u,br(c,l),a),u.mergedAttrs=co(u.mergedAttrs,u.attrs),u.attrs!==null&&Yh(u,u.attrs,!1),u.mergedAttrs!==null&&Yh(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function xx(e,t){mm(e,t),im(t)&&e.queries.elementEnd(t)}var vte=class extends Xs{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=no(t);return new jm(n,this.ngModule)}};function bte(e){return Object.keys(e).map(t=>{let[n,i,a]=e[t],r={propName:n,templateName:t,isSignal:(i&Od.SignalBased)!==0};return a&&(r.transform=a),r})}function yte(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _te(e,t,n){let i=t instanceof Va?t:t==null?void 0:t.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new nte(n,i):n}function xte(e){let t=e.get(na,null);if(t===null)throw new Z(407,!1);let n=e.get(ate,null),i=e.get(wo,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i}}function wte(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return U_(t,n,n==="svg"?q0:n==="math"?qX:null)}var jm=class extends bx{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=tee(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=bte(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=yte(this.componentDef.outputs)),this.cachedOutputs}create(t,n,i,a){let r=He(null);try{let s=this.componentDef,l=i?["ng-version","19.2.17"]:iee(this.componentDef.selectors[0]),c=Dm(0,null,null,1,0,null,null,null,null,[l],null),d=_te(s,a||this.ngModule,t),u=xte(d),m=u.rendererFactory.createRenderer(null,s),v=i?oee(m,i,s.encapsulation,d):wte(s,m),g=Im(null,c,null,512|X_(s),null,null,u,m,d,null,L_(v,d,!0));g[qt]=v,hm(g);let x=null;try{let w=_x(qt,c,g,"#host",()=>[this.componentDef],!0,0);v&&(Y_(m,v,w),ko(v,g)),Td(c,g,w),km(c,w,g),xx(c,w),n!==void 0&&kte(w,this.ngContentSelectors,n),x=Ba(w.index,g),g[ii]=x[ii],Mm(c,g,null)}catch(w){throw x!==null&&Bh(x),Bh(g),w}finally{vr(23),pm()}return new Ste(this.componentType,g)}finally{He(r)}}},Ste=class extends ete{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=am(n[Te],qt),this.location=So(this._tNode,n),this.instance=Ba(this._tNode.index,n)[ii],this.hostView=this.changeDetectorRef=new ys(n,void 0,!1),this.componentType=t}setInput(t,n){let i=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let a=this._rootLView;Nm(i,a[Te],a,t,n),this.previousInputValues.set(t,n);let r=Ba(i.index,a);Vm(r,1)}get injector(){return new rs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function kte(e,t,n){let i=e.projection=[];for(let a=0;a<t.length;a++){let r=n[a];i.push(r!=null&&r.length?Array.from(r):null)}}var bn=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Ete),e})();function Ete(){let e=yi();return Sx(e,ye())}var Cte=bn,wx=class extends Cte{constructor(t,n,i){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new rs(this._hostTNode,this._hostLView)}get parentInjector(){let t=fm(this._hostTNode,this._hostLView);if(s_(t)){let n=Dc(t,this._hostLView),i=Cc(t),a=n[Te].data[i+8];return new rs(a,n)}else return new rs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$g(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-gi}createEmbeddedView(t,n,i){let a,r;typeof i=="number"?a=i:i!=null&&(a=i.index,r=i.injector);let s=ho(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,a,uo(this._hostTNode,s)),l}createComponent(t,n,i,a,r){let s=t&&!zX(t),l;if(s)l=n;else{let x=n||{};l=x.index,i=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let c=s?t:new jm(no(t)),d=i||this.parentInjector;if(!r&&c.ngModule==null){let x=(s?d:this.parentInjector).get(Va,null);x&&(r=x)}let u=no(c.componentType??{}),m=ho(this._lContainer,(u==null?void 0:u.id)??null),v=null,g=c.create(d,a,v,r);return this.insertImpl(g.hostView,l,uo(this._hostTNode,m)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let a=t._lView;if(GX(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[vi],d=new wx(c,c[Pi],c[vi]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Zs(s,a,r,i),t.attachToViewContainerRef(),I0(Su(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$g(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);i&&(xc(Su(this._lContainer),n),Md(i[Te],i))}detach(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);return i&&xc(Su(this._lContainer),n)!=null?new ys(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function $g(e){return e[Sc]}function Su(e){return e[Sc]||(e[Sc]=[])}function Sx(e,t){let n,i=t[e.index];return gn(i)?n=i:(n=mx(i,t,null,e),t[e.index]=n,Am(t,n)),Ite(n,t,e,i),new wx(n,e,t)}function Dte(e,t){let n=e[Tt],i=n.createComment(""),a=qa(t,e),r=n.parentNode(a);return Nc(n,r,i,n.nextSibling(a),!1),i}var Ite=Ate;function Ate(e,t,n,i){if(e[gr])return;let a;n.type&8?a=ja(i):a=Dte(t,n),e[gr]=a}var Ote=class kx{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new kx(this.queryList)}setDirty(){this.queryList.setDirty()}},Tte=class Ex{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let i=t.contentQueries!==null?t.contentQueries[0]:n.length,a=[];for(let r=0;r<i;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];a.push(l.clone())}return new Ex(a)}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++)Hm(t,n).matches!==null&&this.queries[n].setDirty()}},Cx=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=zte(e):this.predicate=e}},Nte=class Dx{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){let a=n!==null?n.length:0,r=this.getByIndex(i).embeddedTView(t,a);r&&(r.indexInDeclarationView=i,n!==null?n.push(r):n=[r])}return n!==null?new Dx(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Mte=class Ix{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);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 Ix(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==n;)i=i.parent;return n===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let i=this.metadata.predicate;if(Array.isArray(i))for(let a=0;a<i.length;a++){let r=i[a];this.matchTNodeWithReadOption(t,n,Pte(n,r)),this.matchTNodeWithReadOption(t,n,rc(n,t,r,!1,!1))}else i===Ln?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,rc(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(i!==null){let a=this.metadata.read;if(a!==null)if(a===ze||a===bn||a===Ln&&n.type&4)this.addMatch(n.index,-2);else{let r=rc(n,t,a,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Pte(e,t){let n=e.localNames;if(n!==null){for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1]}return null}function Rte(e,t){return e.type&11?So(e,t):e.type&4?Fd(e,t):null}function Fte(e,t,n,i){return n===-1?Rte(t,e):n===-2?Lte(e,t,i):fs(e,e[Te],n,t)}function Lte(e,t,n){if(n===ze)return So(t,e);if(n===Ln)return Fd(t,e);if(n===bn)return Sx(t,e)}function Ax(e,t,n,i){let a=t[fa].queries[i];if(a.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(Fte(t,u,s[c+1],n.metadata.read))}}a.matches=l}return a.matches}function Wh(e,t,n,i){let a=e.queries.getByIndex(n),r=a.matches;if(r!==null){let s=Ax(e,t,a,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)i.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let m=gi;m<u.length;m++){let v=u[m];v[fr]===v[vi]&&Wh(v[Te],v,d,i)}if(u[lo]!==null){let m=u[lo];for(let v=0;v<m.length;v++){let g=m[v];Wh(g[Te],g,d,i)}}}}}return i}function Bm(e,t){return e[fa].queries[t].queryList}function Ox(e,t,n){let i=new Tc((n&4)===4);return KX(e,t,i,i.destroy),(t[fa]??(t[fa]=new Tte)).queries.push(new Ote(i))-1}function Vte(e,t,n){let i=gt();return i.firstCreatePass&&(Nx(i,new Cx(e,t,n),-1),(t&2)===2&&(i.staticViewQueries=!0)),Ox(i,ye(),t)}function Tx(e,t,n,i){let a=gt();if(a.firstCreatePass){let r=yi();Nx(a,new Cx(t,n,i),r.index),jte(a,e)}return Ox(a,ye(),n)}function zte(e){return e.split(",").map(t=>t.trim())}function Nx(e,t,n){e.queries===null&&(e.queries=new Nte),e.queries.track(new Mte(t,n))}function jte(e,t){let n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}function Hm(e,t){return e.queries.getByIndex(t)}function Mx(e,t){let n=e[Te],i=Hm(n,t);return i.crossesNgTemplate?Wh(n,e,t,[]):Ax(n,e,i,t)}function Px(e,t,n){let i,a=Oy(()=>{i._dirtyCounter();let r=qte(i,e);if(t&&r===void 0)throw new Z(-951,!1);return r});return i=a[fi],i._dirtyCounter=Pa(0),i._flatValue=void 0,a}function Bte(e){return Px(!0,!1)}function Hte(e){return Px(!0,!0)}function $te(e,t){let n=e[fi];n._lView=ye(),n._queryIndex=t,n._queryList=Bm(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(i=>i+1))}function qte(e,t){let n=e._lView,i=e._queryIndex;if(n===void 0||i===void 0||n[ke]&4)return t?void 0:Di;let a=Bm(n,i),r=Mx(n,i);return a.reset(r,k_),t?a.first:a._changesDetected||e._flatValue===void 0?e._flatValue=a.toArray():e._flatValue}function qg(e,t){return Bte()}function Ute(e,t){return Hte()}var Gte=(qg.required=Ute,qg);function Rx(e,t){let n=Object.create(m0),i=new S_;n.value=e;function a(){return Fs(n),Ug(n.value),n.value}return a[fi]=n,a.asReadonly=ym.bind(a),a.set=r=>{n.equal(n.value,r)||(Vs(n,r),i.emit(r))},a.update=r=>{Ug(n.value),a.set(r(n.value))},a.subscribe=i.subscribe.bind(i),a.destroyRef=i.destroyRef,a}function Ug(e){if(e===fd)throw new Z(952,!1)}function Gg(e,t){return Rx(e)}function Yte(e){return Rx(fd)}var Wte=(Gg.required=Yte,Gg),_s=class{},Fx=class extends _s{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new vte(this));o(this,"instance",null);let n=new tm([...t.providers,{provide:_s,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],t.parent||bd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Kte(e,t,n=null){return new Fx({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Zte=(()=>{const t=class t{constructor(i){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let a=M0(!1,i.type),r=a.length>0?Kte([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",q({token:t,providedIn:"environment",factory:()=>new t(pe(Va))}));let e=t;return e})();function Ce(e){return js(()=>{let t=Lx(e),n=Qe(Q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===D_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Zte).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||Di,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ar("NgStandalone"),Vx(n);let i=e.dependencies;return n.directiveDefs=Yg(i,!1),n.pipeDefs=Yg(i,!0),n.id=tie(n),n})}function Xte(e){return no(e)||N0(e)}function Qte(e){return e!==null}function Et(e){return js(()=>({type:e.type,bootstrap:e.bootstrap||Di,declarations:e.declarations||Di,imports:e.imports||Di,exports:e.exports||Di,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jte(e,t){if(e==null)return La;let n={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i],r,s,l,c;Array.isArray(a)?(l=a[0],r=a[1],s=a[2]??r,c=a[3]||null):(r=a,s=a,l=Od.None,c=null),n[r]=[i,l,c],t[r]=s}return n}function eie(e){if(e==null)return La;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Se(e){return js(()=>{let t=Lx(e);return Vx(t),t})}function Co(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Lx(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||La,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Di,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jte(e.inputs,t),outputs:eie(e.outputs),debugInfo:null}}function Vx(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function Yg(e,t){if(!e)return null;let n=t?IX:Xte;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(Qte)}function tie(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of i.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function iie(e){return Object.getPrototypeOf(e.prototype).constructor}function Ft(e){let t=iie(e.type),n=!0,i=[e];for(;t;){let a;if(za(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(n){i.push(a);let s=e;s.inputs=ku(e.inputs),s.declaredInputs=ku(e.declaredInputs),s.outputs=ku(e.outputs);let l=a.hostBindings;l&&sie(e,l);let c=a.viewQuery,d=a.contentQueries;if(c&&rie(e,c),d&&oie(e,d),aie(e,a),sX(e.outputs,a.outputs),za(a)&&a.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===Ft&&(n=!1)}}t=Object.getPrototypeOf(t)}nie(i)}function aie(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function nie(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=co(a.hostAttrs,n=co(n,a.hostAttrs))}}function ku(e){return e===La?{}:e===Di?[]:e}function rie(e,t){let n=e.viewQuery;n?e.viewQuery=(i,a)=>{t(i,a),n(i,a)}:e.viewQuery=t}function oie(e,t){let n=e.contentQueries;n?e.contentQueries=(i,a,r)=>{t(i,a,r),n(i,a,r)}:e.contentQueries=t}function sie(e,t){let n=e.hostBindings;n?e.hostBindings=(i,a)=>{t(i,a),n(i,a)}:e.hostBindings=t}function lie(e){let t=n=>{let i=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=zx,n.hostDirectives=i?e.map(Kh):[e]):i?n.hostDirectives.unshift(...e.map(Kh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function zx(e,t,n){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i=="function"){let a=i();for(let r of a)Wg(Kh(r),t,n)}else Wg(i,t,n)}function Wg(e,t,n){let i=N0(e.directive);cie(i.declaredInputs,e.inputs),zx(i,t,n),n.set(i,e),t.push(i)}function Kh(e){return typeof e=="function"?{directive:ci(e),inputs:La,outputs:La}:{directive:ci(e.directive),inputs:Kg(e.inputs),outputs:Kg(e.outputs)}}function Kg(e){if(e===void 0||e.length===0)return La;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function cie(e,t){for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],a=e[n];e[i]=a}}function jx(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ld(e,t,n){return e[t]=n}function Bx(e,t){return e[t]}function Ni(e,t,n){let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function xs(e,t,n,i){let a=Ni(e,t,n);return Ni(e,t+1,i)||a}function die(e,t,n,i,a){let r=xs(e,t,n,i);return Ni(e,t+2,a)||r}function uie(e,t,n,i,a,r){let s=xs(e,t,n,i);return xs(e,t+2,a,r)||s}function hie(e,t,n,i,a,r,s,l,c){let d=t.consts,u=Eo(t,e,4,s||null,l||null);zm(t,n,u,br(d,c),Tm),u.mergedAttrs=co(u.mergedAttrs,u.attrs),mm(t,u);let m=u.tView=Dm(2,u,i,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),m.queries=t.queries.embeddedTView(u)),u}function Hx(e,t,n,i,a,r,s,l,c,d){let u=n+qt,m=t.firstCreatePass?hie(u,t,e,i,a,r,s,l,c):t.data[u];$n(m,!1);let v=pie(t,e);Ed()&&Pd(t,e,v,m),ko(v,e);let g=mx(v,e,v,m);return e[u]=g,Am(e,g),xd(m)&&Td(t,e,m),c!=null&&Om(e,m,d),m}function ne(e,t,n,i,a,r,s,l){let c=ye(),d=gt(),u=br(d.consts,r);return Hx(c,d,e,t,n,i,a,u,s,l),ne}var pie=mie;function mie(e,t,n,i){return Cd(!0),t[Tt].createComment("")}var fie=new $(""),$x=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new gie}));let e=t;return e})(),gie=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Vd(e){return!!e&&typeof e.then=="function"}function qx(e){return!!e&&typeof e.subscribe=="function"}var vie=new $(""),Ux=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((i,a)=>{this.resolve=i,this.reject=a}));o(this,"appInits",S(vie,{optional:!0})??[]);o(this,"injector",S(lt))}runInitializers(){if(this.initialized)return;let i=[];for(let r of this.appInits){let s=yd(this.injector,r);if(Vd(s))i.push(s);else if(qx(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});i.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(r=>{this.reject(r)}),i.length===0&&a(),this.initialized=!0}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bie=new $("");function yie(){XK(()=>{throw new Z(600,!1)})}function _ie(e){return e.isBoundToModule}var xie=10,Vn=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",S(zQ));o(this,"afterRenderManager",S(R_));o(this,"zonelessEnabled",S(b_));o(this,"rootEffectScheduler",S($x));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new ce);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",S(Gs).hasPendingTasks.pipe(xt(i=>!i)));o(this,"_injector",S(Va));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let i=He(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,He(i),this.afterTick.next()}});S(Ys,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let i;return new Promise(a=>{i=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{i.unsubscribe()})}get injector(){return this._injector}bootstrap(i,a){return this.bootstrapImpl(i,a)}bootstrapImpl(i,a,r=lt.NULL){let s=i instanceof bx;if(!this._injector.get(Ux).done){let g="";throw new Z(405,g)}let l;s?l=i:l=this._injector.get(Xs).resolveComponentFactory(i),this.componentTypes.push(l.componentType);let c=_ie(l)?void 0:this._injector.get(_s),d=a||l.selector,u=l.create(r,[],d,c),m=u.location.nativeElement,v=u.injector.get(fie,null);return v==null||v.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),oc(this.components,u),v==null||v.unregisterApplication(m)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(xm.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(na,null,{optional:!0}));let i=0;for(;this.dirtyFlags!==0&&i++<xie;)this.synchronizeOnce()}synchronizeOnce(){var i,a,r,s;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)wie(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(i=this._rendererFactory)==null?void 0:i.begin)==null||a.call(i),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:i})=>$s(i))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(i){let a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){let a=i;oc(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(bie,[]).forEach(a=>a(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>oc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Z(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function oc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wie(e,t,n,i){!n&&!$s(e)||dx(e,t,n&&!i?0:1)}function _e(e,t,n,i){let a=ye(),r=Ir();if(Ni(a,r,t)){gt();let s=qs();hee(s,a,e,t,n,i)}return _e}function $m(e,t,n,i){return Ni(e,Ir(),n)?t+Ma(n)+i:_i}function Sie(e,t,n,i,a,r){let s=Q0(),l=xs(e,s,n,a);return Sd(2),l?t+Ma(n)+i+Ma(a)+r:_i}function kie(e,t,n,i,a,r,s,l){let c=Q0(),d=die(e,c,n,a,s);return Sd(3),d?t+Ma(n)+i+Ma(a)+r+Ma(s)+l:_i}function Dl(e,t){return e<<17|t<<2}function wr(e){return e>>17&32767}function Eie(e){return(e&2)==2}function Cie(e,t){return e&131071|t<<17}function Zh(e){return e|2}function po(e){return(e&131068)>>2}function Eu(e,t){return e&-131069|t<<2}function Die(e){return(e&1)===1}function Xh(e){return e|1}function Iie(e,t,n,i,a,r){let s=r?t.classBindings:t.styleBindings,l=wr(s),c=po(s);e[i]=n;let d=!1,u;if(Array.isArray(n)){let m=n;u=m[1],(u===null||Bs(m,u)>0)&&(d=!0)}else u=n;if(a)if(c!==0){let m=wr(e[l+1]);e[i+1]=Dl(m,l),m!==0&&(e[m+1]=Eu(e[m+1],i)),e[l+1]=Cie(e[l+1],i)}else e[i+1]=Dl(l,0),l!==0&&(e[l+1]=Eu(e[l+1],i)),l=i;else e[i+1]=Dl(c,0),l===0?l=i:e[c+1]=Eu(e[c+1],i),c=i;d&&(e[i+1]=Zh(e[i+1])),Zg(e,u,i,!0),Zg(e,u,i,!1),Aie(t,u,e,i,r),s=Dl(l,c),r?t.classBindings=s:t.styleBindings=s}function Aie(e,t,n,i,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Bs(r,t)>=0&&(n[i+1]=Xh(n[i+1]))}function Zg(e,t,n,i){let a=e[n+1],r=t===null,s=i?wr(a):po(a),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];Oie(c,t)&&(l=!0,e[s+1]=i?Xh(d):Zh(d)),s=i?wr(d):po(d)}l&&(e[n+1]=i?Zh(a):Xh(a))}function Oie(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bs(e,t)>=0:!1}var pa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tie(e){return e.substring(pa.key,pa.keyEnd)}function Nie(e){return Mie(e),Gx(e,Yx(e,0,pa.textEnd))}function Gx(e,t){let n=pa.textEnd;return n===t?-1:(t=pa.keyEnd=Pie(e,pa.key=t,n),Yx(e,t,n))}function Mie(e){pa.key=0,pa.keyEnd=0,pa.value=0,pa.valueEnd=0,pa.textEnd=e.length}function Yx(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pie(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function W(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return W}function Qh(e,t,n,i,a){Nm(t,e,n,a?"class":"style",i)}function zd(e,t,n){return Kx(e,t,n,!1),zd}function We(e,t){return Kx(e,t,null,!0),We}function Sr(e){Zx(jie,Wx,e,!0)}function Wx(e,t){for(let n=Nie(t);n>=0;n=Gx(t,n))vd(e,Tie(t),!0)}function Kx(e,t,n,i){let a=ye(),r=gt(),s=Sd(2);if(r.firstUpdatePass&&Qx(r,e,s,i),t!==_i&&Ni(a,s,t)){let l=r.data[ga()];Jx(r,l,a,a[Tt],e,a[s+1]=Hie(t,n),i,s)}}function Zx(e,t,n,i){let a=gt(),r=Sd(2);a.firstUpdatePass&&Qx(a,null,r,i);let s=ye();if(n!==_i&&Ni(s,r,n)){let l=a.data[ga()];if(e1(l,i)&&!Xx(a,r)){let c=l.classesWithoutHost;c!==null&&(n=Eh(c,n||"")),Qh(a,l,s,n,i)}else Bie(a,l,s,s[Tt],s[r+1],s[r+1]=zie(e,t,n),i,r)}}function Xx(e,t){return t>=e.expandoStartIndex}function Qx(e,t,n,i){let a=e.data;if(a[n+1]===null){let r=a[ga()],s=Xx(e,n);e1(r,i)&&t===null&&!s&&(t=!1),t=Rie(a,r,t,i),Iie(a,r,t,n,s,i)}}function Rie(e,t,n,i){let a=sQ(e),r=i?t.residualClasses:t.residualStyles;if(a===null)(i?t.classBindings:t.styleBindings)===0&&(n=Cu(null,e,t,n,i),n=ws(n,t.attrs,i),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==a)if(n=Cu(a,e,t,n,i),r===null){let l=Fie(e,t,i);l!==void 0&&Array.isArray(l)&&(l=Cu(null,e,t,l[1],i),l=ws(l,t.attrs,i),Lie(e,t,i,l))}else r=Vie(e,t,i)}return r!==void 0&&(i?t.residualClasses=r:t.residualStyles=r),n}function Fie(e,t,n){let i=n?t.classBindings:t.styleBindings;if(po(i)!==0)return e[wr(i)]}function Lie(e,t,n,i){let a=n?t.classBindings:t.styleBindings;e[wr(a)]=i}function Vie(e,t,n){let i,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let s=e[r].hostAttrs;i=ws(i,s,n)}return ws(i,t.attrs,n)}function Cu(e,t,n,i,a){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],i=ws(i,r.hostAttrs,a),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),i}function ws(e,t,n){let i=n?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?a=s:a===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vd(e,s,n?!0:t[++r]))}return e===void 0?null:e}function zie(e,t,n){if(n==null||n==="")return Di;let i=[],a=nn(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(i,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(i,r,a[r]);else typeof a=="string"&&t(i,a);return i}function jie(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&vd(e,i,n)}function Bie(e,t,n,i,a,r,s,l){a===_i&&(a=Di);let c=0,d=0,u=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;u!==null||m!==null;){let v=c<a.length?a[c+1]:void 0,g=d<r.length?r[d+1]:void 0,x=null,w;u===m?(c+=2,d+=2,v!==g&&(x=m,w=g)):m===null||u!==null&&u<m?(c+=2,x=u):(d+=2,x=m,w=g),x!==null&&Jx(e,t,n,i,x,w,s,l),u=c<a.length?a[c]:null,m=d<r.length?r[d]:null}}function Jx(e,t,n,i,a,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=Die(d)?Xg(c,t,n,a,po(d),s):void 0;if(!Pc(u)){Pc(r)||Eie(d)&&(r=Xg(c,null,n,a,l,s));let m=U0(ga(),n);Oee(i,s,m,a,r)}}function Xg(e,t,n,i,a,r){let s=t===null,l;for(;a>0;){let c=e[a],d=Array.isArray(c),u=d?c[1]:c,m=u===null,v=n[a+1];v===_i&&(v=m?Di:void 0);let g=m?gu(v,i):u===i?v:void 0;if(d&&!Pc(g)&&(g=gu(c,i)),Pc(g)&&(l=g,s))return l;let x=e[a+1];a=s?wr(x):po(x)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=gu(c,i))}return l}function Pc(e){return e!==void 0}function Hie(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ta(nn(e)))),e}function e1(e,t){return(e.flags&(t?8:16))!==0}function $ie(e,t,n){let i=ye(),a=$m(i,e,t,n);Zx(vd,Wx,a,!0)}var qie=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),i=Math.max(e,t),a=this.detach(i);if(i-n>1){let r=this.detach(n);this.attach(n,a),this.attach(i,r)}else this.attach(n,a)}move(e,t){this.attach(t,this.detach(e))}};function Du(e,t,n,i,a){return e===n&&Object.is(t,i)?1:Object.is(a(e,t),a(n,i))?-1:0}function Uie(e,t,n){let i,a,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=Du(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let m=e.at(s),v=t[l],g=Du(s,m,l,v,n);if(g!==0){g<0&&e.updateValue(s,v),s--,l--;continue}let x=n(r,c),w=n(s,m),E=n(r,d);if(Object.is(E,w)){let N=n(l,v);Object.is(N,x)?(e.swap(r,s),e.updateValue(s,v),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(i??(i=new ev),a??(a=Jg(e,r,s,n)),Jh(e,i,r,E))e.updateValue(r,d),r++,s++;else if(a.has(E))i.set(x,e.detach(r)),s--;else{let N=e.create(r,t[r]);e.attach(r,N),r++,s++}}for(;r<=l;)Qg(e,i,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,m=Du(r,d,r,u,n);if(m!==0)m<0&&e.updateValue(r,u),r++,c=l.next();else{i??(i=new ev),a??(a=Jg(e,r,s,n));let v=n(r,u);if(Jh(e,i,r,v))e.updateValue(r,u),r++,s++,c=l.next();else if(!a.has(v))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);i.set(g,e.detach(r)),s--}}}for(;!c.done;)Qg(e,i,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));i==null||i.forEach(l=>{e.destroy(l)})}function Jh(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function Qg(e,t,n,i,a){if(Jh(e,t,i,n(i,a)))e.updateValue(i,a);else{let r=e.create(i,a);e.attach(i,r)}}function Jg(e,t,n,i){let a=new Set;for(let r=t;r<=n;r++)a.add(i(r,e.at(r)));return a}var ev=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}};function se(e,t){Ar("NgControlFlow");let n=ye(),i=Ir(),a=n[i]!==_i?n[i]:-1,r=a!==-1?Rc(n,qt+a):void 0,s=0;if(Ni(n,i,e)){let l=He(null);try{if(r!==void 0&&gx(r,s),e!==-1){let c=qt+e,d=Rc(n,c),u=ep(n[Te],c),m=ho(d,u.tView.ssrId),v=Ks(n,u,t,{dehydratedView:m});Zs(d,v,s,uo(u,m))}}finally{He(l)}}else if(r!==void 0){let l=fx(r,s);l!==void 0&&(l[ii]=t)}}var Gie=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-gi}};function ba(e,t){return t}var Yie=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ri(e,t,n,i,a,r,s,l,c,d,u,m,v){Ar("NgControlFlow");let g=ye(),x=gt(),w=c!==void 0,E=ye(),N=l?s.bind(E[Hi][ii]):s,V=new Yie(w,N);E[qt+e]=V,Hx(g,x,e+1,t,n,i,a,br(x.consts,r))}var Wie=class extends qie{constructor(t,n,i){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-gi}at(t){return this.getLView(t)[ii].$implicit}attach(t,n){let i=n[oo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Zs(this.lContainer,n,t,uo(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Kie(this.lContainer,t)}create(t,n){var r;let i=ho(this.lContainer,this.templateTNode.tView.ssrId),a=Ks(this.hostLView,this.templateTNode,new Gie(this.lContainer,n,t),{dehydratedView:i});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var n;Md(t[Te],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[ii].$implicit=n}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ii].$index=t}getLView(t){return Zie(this.lContainer,t)}};function Fi(e){let t=He(null),n=ga();try{let i=ye(),a=i[Te],r=i[n],s=n+1,l=Rc(i,s);if(r.liveCollection===void 0){let d=ep(a,s);r.liveCollection=new Wie(l,i,d)}else r.liveCollection.reset();let c=r.liveCollection;if(Uie(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=Ir(),u=c.length===0;if(Ni(i,d,u)){let m=n+2,v=Rc(i,m);if(u){let g=ep(a,m),x=ho(v,g.tView.ssrId),w=Ks(i,g,void 0,{dehydratedView:x});Zs(v,w,0,uo(g,x))}else gx(v,0)}}}finally{He(t)}}function Rc(e,t){return e[t]}function Kie(e,t){return bs(e,t)}function Zie(e,t){return fx(e,t)}function ep(e,t){return am(e,t)}function I(e,t,n,i){let a=ye(),r=gt(),s=qt+e,l=a[Tt],c=r.firstCreatePass?_x(s,r,a,t,Tm,JX(),n,i):r.data[s],d=Xie(r,a,c,l,t);a[s]=d;let u=xd(c);return $n(c,!0),Y_(l,d,c),!Rm(c)&&Ed()&&Pd(r,a,d,c),(ZX()===0||u)&&ko(d,a),XX(),u&&(Td(r,a,c),km(r,c,a)),i!==null&&Om(a,c),I}function T(){let e=yi();cm()?dm():(e=e.parent,$n(e,!1));let t=e;eQ(t)&&tQ(),QX();let n=gt();return n.firstCreatePass&&xx(n,t),t.classesWithoutHost!=null&&mQ(t)&&Qh(n,t,ye(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&fQ(t)&&Qh(n,t,ye(),t.stylesWithoutHost,!1),T}function he(e,t,n,i){return I(e,t,n,i),T(),he}var Xie=(e,t,n,i,a,r)=>(Cd(!0),U_(i,a,uQ()));function Qie(e,t,n,i,a){let r=t.consts,s=br(r,i),l=Eo(t,e,8,"ng-container",s);s!==null&&Yh(l,s,!0);let c=br(r,a);return zm(t,n,l,c,Tm),l.mergedAttrs=co(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function t1(e,t,n){let i=ye(),a=gt(),r=e+qt,s=a.firstCreatePass?Qie(r,a,i,t,n):a.data[r];$n(s,!0);let l=Jie(a,i);return i[r]=l,Ed()&&Pd(a,i,l,s),ko(l,i),xd(s)&&(Td(a,i,s),km(a,s,i)),n!=null&&Om(i,s),t1}function i1(){let e=yi(),t=gt();return cm()?dm():(e=e.parent,$n(e,!1)),t.firstCreatePass&&(mm(t,e),im(e)&&t.queries.elementEnd(e)),i1}function Qs(e,t,n){return t1(e,t,n),i1(),Qs}var Jie=(e,t,n,i)=>(Cd(!0),zJ(t[Tt],""));function Ke(){return ye()}function yn(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!0)}return yn}var Kn=void 0;function eae(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var tae=["en",[["a","p"],["AM","PM"],Kn],[["AM","PM"],Kn,Kn],[["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"]],Kn,[["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"]],Kn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Kn,"{1} 'at' {0}",Kn],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",eae],os={};function iae(e,t,n){typeof t!="string"&&(n=t,t=e[Zt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),os[t]=e,n&&(os[t][Zt.ExtraData]=n)}function ya(e){let t=aae(e),n=tv(t);if(n)return n;let i=t.split("-")[0];if(n=tv(i),n)return n;if(i==="en")return tae;throw new Z(701,!1)}function tv(e){return e in os||(os[e]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[e]),os[e]}var Zt=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}(Zt||{});function aae(e){return e.toLowerCase().replace(/_/g,"-")}var tp="en-US";function nae(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function iv(e,t,n){return function i(a){if(a===Function)return n;let r=bo(e)?Ba(e.index,t):t;Vm(r,5);let s=t[ii],l=av(t,s,n,a),c=i.__ngNextListenerFn__;for(;c;)l=av(t,s,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function av(e,t,n,i){let a=He(null);try{return vr(6,t,n),n(i)!==!1}catch(r){return rae(e,r),!1}finally{He(a)}}function rae(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function nv(e,t,n,i,a,r){let s=t[n],l=t[Te],c=l.data[n].outputs[i],d=s[c],u=l.firstCreatePass?lm(l):null,m=sm(t),v=d.subscribe(r),g=m.length;m.push(r,v),u&&u.push(a,e.index,g,-(g+1))}function de(e,t,n,i){let a=ye(),r=gt(),s=yi();return a1(r,a,a[Tt],s,e,t,i),de}function oae(e,t,n,i){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let s=a[r];if(s===n&&a[r+1]===i){let l=t[Xr],c=a[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function a1(e,t,n,i,a,r,s){var m,v;let l=xd(i),c=e.firstCreatePass?lm(e):null,d=sm(t),u=!0;if(i.type&3||s){let g=qa(i,t),x=s?s(g):g,w=d.length,E=s?V=>s(ja(V[i.index])):i.index,N=null;if(!s&&l&&(N=oae(e,t,a,i.index)),N!==null){let V=N.__ngLastListenerFn__||N;V.__ngNextListenerFn__=r,N.__ngLastListenerFn__=r,u=!1}else{r=iv(i,t,r);let V=n.listen(x,a,r);d.push(r,V),c&&c.push(a,E,w,w+1)}}else r=iv(i,t,r);if(u){let g=(m=i.outputs)==null?void 0:m[a],x=(v=i.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let E=x[w],N=x[w+1];nv(i,t,E,N,a,r)}if(g&&g.length)for(let w of g)nv(i,t,w,a,a,r)}}function P(e=1){return cQ(e)}function sae(e,t){let n=null,i=ZJ(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){n=a;continue}if(i===null?Z_(e,r,!0):JJ(i,r))return a}return n}function Li(e){let t=ye()[Hi][Pi];if(!t.projection){let n=e?e.length:1,i=t.projection=EX(n,null),a=i.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?sae(r,e):0;s!==null&&(a[s]?a[s].projectionNext=r:i[s]=r,a[s]=r)}r=r.next}}}function dt(e,t=0,n,i,a,r){let s=ye(),l=gt(),c=null,d=Eo(l,qt+e,16,null,null);d.projection===null&&(d.projection=t),dm();let u=!s[oo]||W0();s[Hi][Pi].projection[d.projection]===null&&c!==null?lae(s,l,c):u&&!Rm(d)&&Iee(l,s,d)}function lae(e,t,n){let i=qt+n,a=t.data[i],r=e[i],s=ho(r,a.tView.ssrId),l=Ks(e,a,void 0,{dehydratedView:s});Zs(r,l,0,uo(a,s))}function jd(e,t,n){return n1(e,"",t,"",n),jd}function n1(e,t,n,i,a){let r=ye(),s=$m(r,t,n,i);if(s!==_i){let l=gt(),c=qs();Nd(l,c,r,e,s,r[Tt],a,!1)}return n1}function pi(e,t,n,i){Tx(e,t,n,i)}function mt(e,t,n){Vte(e,t,n)}function Re(e){let t=ye(),n=gt(),i=um();kd(i+1);let a=Hm(n,i);if(e.dirty&&UX(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Mx(t,i);e.reset(r,k_),e.notifyOnChanges()}return!0}return!1}function Fe(){return Bm(ye(),um())}function cae(e,t,n,i,a){$te(t,Tx(e,n,i,a))}function dae(e=1){kd(um()+e)}function Qi(e){let t=Z0();return wd(t,qt+e)}function B(e,t=""){let n=ye(),i=gt(),a=e+qt,r=i.firstCreatePass?Eo(i,a,1,t,null):i.data[a],s=uae(i,n,r,t);n[a]=s,Ed()&&Pd(i,n,s,r),$n(r,!1)}var uae=(e,t,n,i,a)=>(Cd(!0),LJ(t[Tt],i));function we(e){return Ie("",e,""),we}function Ie(e,t,n){let i=ye(),a=$m(i,e,t,n);return a!==_i&&qm(i,ga(),a),Ie}function kr(e,t,n,i,a){let r=ye(),s=Sie(r,e,t,n,i,a);return s!==_i&&qm(r,ga(),s),kr}function r1(e,t,n,i,a,r,s){let l=ye(),c=kie(l,e,t,n,i,a,r,s);return c!==_i&&qm(l,ga(),c),r1}function qm(e,t,n){let i=U0(t,e);VJ(e[Tt],i,n)}function Ha(e,t,n){E_(t)&&(t=t());let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return Ha}function pn(e,t){let n=E_(e);return n&&e.set(t),n}function $a(e,t){let n=ye(),i=gt(),a=yi();return a1(i,n,n[Tt],a,e,t),$a}var o1={};function Um(e){let t=gt(),n=ye(),i=e+qt,a=Eo(t,i,128,null,null);return $n(a,!1),nm(t,n,i,o1),Um}function rv(e){Ar("NgLet");let t=gt(),n=ye(),i=ga();return nm(t,n,i,e),e}function ov(e){let t=Z0(),n=wd(t,qt+e);if(n===o1)throw new Z(314,!1);return n}function hae(e,t,n){let i=gt();if(i.firstCreatePass){let a=za(e);ip(n,i.data,i.blueprint,a,!0),ip(t,i.data,i.blueprint,a,!1)}}function ip(e,t,n,i,a){if(e=ci(e),Array.isArray(e))for(let r=0;r<e.length;r++)ip(e[r],t,n,i,a);else{let r=gt(),s=ye(),l=yi(),c=ro(e)?e:ci(e.provide),d=F0(e),u=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(ro(e)||!e.multi){let g=new Us(d,a,Je),x=Au(c,t,a?u:u+v,m);x===-1?(Lh(Ac(l,s),r,c),Iu(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[x]=g,s[x]=g)}else{let g=Au(c,t,u+v,m),x=Au(c,t,u,u+v),w=g>=0&&n[g],E=x>=0&&n[x];if(a&&!E||!a&&!w){Lh(Ac(l,s),r,c);let N=fae(a?mae:pae,n.length,a,i,d);!a&&E&&(n[x].providerFactory=N),Iu(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=s1(n[a?x:g],d,!a&&i);Iu(r,e,g>-1?g:x,N)}!a&&i&&E&&n[x].componentProviders++}}}function Iu(e,t,n,i){let a=ro(t),r=MX(t);if(a||r){let s=(r?ci(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[i,s]):l[c+1].push(i,s)}else l.push(n,s)}}}function s1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Au(e,t,n,i){for(let a=n;a<i;a++)if(t[a]===e)return a;return-1}function pae(e,t,n,i,a){return ap(this.multi,[])}function mae(e,t,n,i,a){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=fs(i,i[Te],this.providerFactory.index,a);s=c.slice(0,l),ap(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],ap(r,s);return s}function ap(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function fae(e,t,n,i,a){let r=new Us(e,n,Je);return r.multi=[],r.index=t,r.componentProviders=0,s1(r,a,i&&!n),r}function xi(e,t=[]){return n=>{n.providersResolver=(i,a)=>hae(i,a?a(e):e,t)}}function l1(e,t,n){let i=xo()+e,a=ye();return a[i]===_i?Ld(a,i,t()):Bx(a,i)}function Fc(e,t,n,i){return d1(ye(),xo(),e,t,n,i)}function gae(e,t,n,i,a){return u1(ye(),xo(),e,t,n,i,a)}function vae(e,t,n,i,a,r,s,l){let c=xo()+e,d=ye(),u=uie(d,c,n,i,a,r);return Ni(d,c+4,s)||u?Ld(d,c+5,t(n,i,a,r,s)):Bx(d,c+5)}function c1(e,t){let n=e[t];return n===_i?void 0:n}function d1(e,t,n,i,a,r){let s=t+n;return Ni(e,s,a)?Ld(e,s+1,r?i.call(r,a):i(a)):c1(e,s+1)}function u1(e,t,n,i,a,r,s){let l=t+n;return xs(e,l,a,r)?Ld(e,l+2,s?i.call(s,a,r):i(a,r)):c1(e,l+2)}function H(e,t){let n=gt(),i,a=e+qt;n.firstCreatePass?(i=bae(t,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];let r=i.factory||(i.factory=mr(i.type)),s=Ai(Je);try{let l=Ic(!1),c=r();return Ic(l),nm(n,ye(),a,c),c}finally{Ai(s)}}function bae(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function K(e,t,n){let i=e+qt,a=ye(),r=wd(a,i);return h1(a,i)?d1(a,xo(),t,r.transform,n,r):r.transform(n)}function qn(e,t,n,i){let a=e+qt,r=ye(),s=wd(r,a);return h1(r,a)?u1(r,xo(),t,s.transform,n,i,s):s.transform(n,i)}function h1(e,t){return e[Te].data[t].pure}function np(e,t){return Fd(e,t)}var yae=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},sv=new yae("19.2.17"),_ae=(()=>{const t=class t{constructor(){o(this,"zone",S(Ne));o(this,"changeDetectionScheduler",S(wo));o(this,"applicationRef",S(Vn));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;(i=this._onMicrotaskEmptySubscription)==null||i.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xae({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(Qe(Q({},wae()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:wc,multi:!0,useFactory:()=>{let i=S(_ae,{optional:!0});return()=>i.initialize()}},{provide:wc,multi:!0,useFactory:()=>{let i=S(Sae);return()=>{i.initialize()}}},t===!0?{provide:y_,useValue:!0}:[],{provide:__,useValue:n??g_}]}function wae(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Sae=(()=>{const t=class t{constructor(){o(this,"subscription",new ct);o(this,"initialized",!1);o(this,"zone",S(Ne));o(this,"pendingTasks",S(Gs))}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),i??(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),kae=(()=>{var t;const n=class n{constructor(){o(this,"appRef",S(Vn));o(this,"taskService",S(Gs));o(this,"ngZone",S(Ne));o(this,"zonelessEnabled",S(b_));o(this,"tracing",S(Ys,{optional:!0}));o(this,"disableScheduling",S(y_,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new ct);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Oc):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(__,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof FQ||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?Cg:x_;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Oc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Cg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(a){return new(a||n)}),o(n,"ɵprov",q({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function Eae(){return typeof $localize<"u"&&$localize.locale||tp}var Bd=new $("",{providedIn:"root",factory:()=>S(Bd,Ue.Optional|Ue.SkipSelf)||Eae()}),rp=new $(""),Cae=new $("");function jo(e){return!e.moduleRef}function Dae(e){let t=jo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{jo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(va,null),a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:r=>{i.handleError(r)}})}),jo(e)){let r=()=>t.destroy(),s=e.platformInjector.get(rp);s.add(r),t.onDestroy(()=>{a.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(rp);s.add(r),e.moduleRef.onDestroy(()=>{oc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),s.delete(r)})}return Aae(i,n,()=>{let r=t.get(Ux);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(Bd,tp);if(nae(s||tp),!t.get(Cae,!0))return jo(e)?t.get(Vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(jo(e)){let l=t.get(Vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Iae(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Iae(e,t){let n=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Z(-403,!1);t.push(e)}function Aae(e,t,n){try{let i=n();return Vd(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}var sc=null;function Oae(e=[],t){return lt.create({name:t,providers:[{provide:em,useValue:"platform"},{provide:rp,useValue:new Set([()=>sc=null])},...e]})}function Tae(e=[]){if(sc)return sc;let t=Oae(e);return sc=t,yie(),Nae(t),t}function Nae(e){let t=e.get(M_,null);yd(e,()=>{t==null||t.forEach(n=>n())})}function Mae(){return!1}var Lt=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Pae),e})();function Pae(e){return Rae(yi(),ye(),(e&16)===16)}function Rae(e,t,n){if(bo(e)&&!n){let i=Ba(e.index,t);return new ys(i,i)}else if(e.type&175){let i=t[Hi];return new ys(i,t)}return null}var Fae=class{constructor(){}supports(e){return e instanceof Map||jx(e)}create(){return new Lae}},Lae=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||jx(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(i,n);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,t);let a=i._prev,r=i._next;return a&&(a._next=r),r&&(r._prev=a),i._next=null,i._prev=null,i}let n=new Vae(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},Vae=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function lv(){return new p1([new Fae])}var p1=(()=>{const t=class t{constructor(i){o(this,"factories");this.factories=i}static create(i,a){if(a){let r=a.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:a=>t.create(i,a||lv()),deps:[[t,new D0,new C0]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a)return a;throw new Z(901,!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:lv}));let e=t;return e})();function zae(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Tae(i),s=[xae({}),{provide:wo,useExisting:kae},...n||[]],l=new Fx({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return Dae({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function qe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ha(e){return aZ(e)}function Ti(e,t){return Oy(e,t==null?void 0:t.equal)}var my,jae=(my=fi,class{constructor(e){o(this,my);this[fi]=e}destroy(){this[fi].destroy()}});function m1(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt),i=(t==null?void 0:t.manualCleanup)!==!0?n.get($i):null,a,r=n.get(wm,null,{optional:!0}),s=n.get(wo);return r!==null&&!(t!=null&&t.forceRoot)?(a=$ae(r.view,s,e),i instanceof v_&&i._lView===r.view&&(i=null)):a=qae(e,n.get($x),s),a.injector=n,i!==null&&(a.onDestroyFn=i.onDestroy(()=>a.destroy())),new jae(a)}var f1=Qe(Q({},go),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:gs,run(){if(this.dirty=!1,this.hasRun&&!zp(this))return;this.hasRun=!0;let e=i=>(this.cleanupFns??(this.cleanupFns=[])).push(i),t=ls(this),n=Ec(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ec(n),cd(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Bae=Qe(Q({},f1),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){dd(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Hae=Qe(Q({},f1),{consumerMarkedDirty(){this.view[ke]|=8192,_o(this.view),this.notifier.notify(13)},destroy(){var e;dd(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[rn])==null||e.delete(this)}});function $ae(e,t,n){let i=Object.create(Hae);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=n,e[rn]??(e[rn]=new Set),e[rn].add(i),i.consumerMarkedDirty(i),i}function qae(e,t,n){let i=Object.create(Bae);return i.fn=e,i.scheduler=t,i.notifier=n,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}var Uae=e=>e;function Gae(e,t){if(typeof e=="function"){let n=lg(e,Uae,t==null?void 0:t.equal);return cv(n)}else{let n=lg(e.source,e.computation,e.equal);return cv(n)}}function cv(e){let t=e[fi],n=e;return n.set=i=>eZ(t,i),n.update=i=>tZ(t,i),n.asReadonly=ym.bind(e),n}function g1(e,t){let n=no(e),i=t.elementInjector||bd();return new jm(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}var Yae={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function Wae(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Kae(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ou;function Zae(e,t){if(!Ou){let n=Element.prototype;Ou=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ou.call(e,t):!1}function Xae(e){let t={};return e.forEach(({propName:n,templateName:i,transform:a})=>{t[Wae(i)]=[n,a]}),t}function Qae(e,t){return t.get(Xs).resolveComponentFactory(e).inputs}function Jae(e,t){let n=e.childNodes,i=t.map(()=>[]),a=-1;t.some((r,s)=>r==="*"?(a=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=ene(l,t,a);c!==-1&&i[c].push(l)}return i}function ene(e,t,n){let i=n;return Kae(e)&&t.some((a,r)=>a!=="*"&&Zae(e,a)?(i=r,!0):!1),i}var tne=10,ine=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Xs).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new ane(this.componentFactory,e,this.inputMap)}},ane=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new qp(1));o(this,"events",this.eventEmitters.pipe(pr(e=>Ji(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(Vn),this.cdScheduler=t.get(wo),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Yae.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},tne))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),Uee(this.componentRef.hostView)&&(Gee(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=lt.create({providers:[],parent:this.injector}),n=Jae(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:i})=>{let a=e.instance[n];return new Ot(r=>{let s=a.subscribe(l=>r.next({name:i,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},nne=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function rne(e,t){let n=Qae(e,t.injector),i=t.strategyFactory||new ine(e,t.injector),a=Xae(n);class r extends nne{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let m=this[d];delete this[d],c.setInputValue(d,m,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,m){let[v,g]=a[c];this.ngElementStrategy.setInputValue(v,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(a)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var et=new $(""),v1=null;function hr(){return v1}function one(e){v1??(v1=e)}var sne=class{},b1=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(lne),providedIn:"platform"}));let e=t;return e})(),lne=(()=>{const t=class t extends b1{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",S(et));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hr().getBaseHref(this._doc)}onPopState(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,s){this._history.pushState(a,r,s)}replaceState(a,r,s){this._history.replaceState(a,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function y1(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function dv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function lr(e){return e&&e[0]!=="?"?`?${e}`:e}var Gm=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(dne),providedIn:"root"}));let e=t;return e})(),cne=new $(""),dne=(()=>{const t=class t extends Gm{constructor(a,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=S(et).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return y1(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+lr(this._platformLocation.search),s=this._platformLocation.hash;return s&&a?`${r}${s}`:r}pushState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.pushState(a,r,c)}replaceState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.replaceState(a,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,a)}};o(t,"ɵfac",function(a){return new(a||t)(pe(b1),pe(cne,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_1=(()=>{const t=class t{constructor(i){o(this,"_subject",new ce);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=i;let a=this._locationStrategy.getBaseHref();this._basePath=pne(dv(uv(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var i;(i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,a=""){return this.path()==this.normalize(i+lr(a))}normalize(i){return t.stripTrailingSlash(hne(this._basePath,uv(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,a="",r=null){this._locationStrategy.pushState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}replaceState(i,a="",r=null){this._locationStrategy.replaceState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",a){this._urlChangeListeners.forEach(r=>r(i,a))}subscribe(i,a,r){return this._subject.subscribe({next:i,error:a??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",lr),o(t,"joinWithSlash",y1),o(t,"stripTrailingSlash",dv),o(t,"ɵfac",function(i){return new(i||t)(pe(Gm))}),o(t,"ɵprov",q({token:t,factory:()=>une(),providedIn:"root"}));let e=t;return e})();function une(){return new _1(pe(Gm))}function hne(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function uv(e){return e.replace(/\/index.html$/,"")}function pne(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Ei=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Ei||{}),ut=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ut||{}),zi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(zi||{}),Hd={MinusSign:5};function mne(e){return ya(e)[Zt.LocaleId]}function fne(e,t,n){let i=ya(e),a=[i[Zt.DayPeriodsFormat],i[Zt.DayPeriodsStandalone]],r=aa(a,t);return aa(r,n)}function gne(e,t,n){let i=ya(e),a=[i[Zt.DaysFormat],i[Zt.DaysStandalone]],r=aa(a,t);return aa(r,n)}function vne(e,t,n){let i=ya(e),a=[i[Zt.MonthsFormat],i[Zt.MonthsStandalone]],r=aa(a,t);return aa(r,n)}function bne(e,t){let n=ya(e)[Zt.Eras];return aa(n,t)}function Il(e,t){let n=ya(e);return aa(n[Zt.DateFormat],t)}function Al(e,t){let n=ya(e);return aa(n[Zt.TimeFormat],t)}function Ol(e,t){let n=ya(e)[Zt.DateTimeFormat];return aa(n,t)}function $d(e,t){return ya(e)[Zt.NumberSymbols][t]}function x1(e){if(!e[Zt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Zt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yne(e){let t=ya(e);return x1(t),(t[Zt.ExtraData][2]||[]).map(n=>typeof n=="string"?Tu(n):[Tu(n[0]),Tu(n[1])])}function _ne(e,t,n){let i=ya(e);x1(i);let a=[i[Zt.ExtraData][0],i[Zt.ExtraData][1]],r=aa(a,t)||[];return aa(r,n)||[]}function aa(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Tu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var xne=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Lr={},wne=/((?:[^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 Sne(e,t,n,i){let a=Nne(e);t=tn(n,t)||t;let r=[],s;for(;t;)if(s=wne.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=a.getTimezoneOffset();i&&(l=S1(i,l),a=Tne(a,i));let c="";return r.forEach(d=>{let u=Ane(d);c+=u?u(a,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Lc(e,t,n){let i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function tn(e,t){let n=mne(e);if(Lr[n]??(Lr[n]={}),Lr[n][t])return Lr[n][t];let i="";switch(t){case"shortDate":i=Il(e,zi.Short);break;case"mediumDate":i=Il(e,zi.Medium);break;case"longDate":i=Il(e,zi.Long);break;case"fullDate":i=Il(e,zi.Full);break;case"shortTime":i=Al(e,zi.Short);break;case"mediumTime":i=Al(e,zi.Medium);break;case"longTime":i=Al(e,zi.Long);break;case"fullTime":i=Al(e,zi.Full);break;case"short":let a=tn(e,"shortTime"),r=tn(e,"shortDate");i=Tl(Ol(e,zi.Short),[a,r]);break;case"medium":let s=tn(e,"mediumTime"),l=tn(e,"mediumDate");i=Tl(Ol(e,zi.Medium),[s,l]);break;case"long":let c=tn(e,"longTime"),d=tn(e,"longDate");i=Tl(Ol(e,zi.Long),[c,d]);break;case"full":let u=tn(e,"fullTime"),m=tn(e,"fullDate");i=Tl(Ol(e,zi.Full),[u,m]);break}return i&&(Lr[n][t]=i),i}function Tl(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),e}function ua(e,t,n="-",i,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return i&&(s=s.slice(s.length-t)),r+s}function kne(e,t){return ua(e,3).substring(0,t)}function Wt(e,t,n=0,i=!1,a=!1){return function(r,s){let l=Ene(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return kne(l,t);let c=$d(s,Hd.MinusSign);return ua(l,t,c,i,a)}}function Ene(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function pt(e,t,n=Ei.Format,i=!1){return function(a,r){return Cne(a,r,e,t,n,i)}}function Cne(e,t,n,i,a,r){switch(n){case 2:return vne(t,a,i)[e.getMonth()];case 1:return gne(t,a,i)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=yne(t),u=_ne(t,a,i),m=d.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=s>=g.hours&&l>=g.minutes,E=s<x.hours||s===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&E)return!0}else if(w||E)return!0}else if(v.hours===s&&v.minutes===l)return!0;return!1});if(m!==-1)return u[m]}return fne(t,a,i)[s<12?0:1];case 3:return bne(t,i)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Nl(e){return function(t,n,i){let a=-1*i,r=$d(n,Hd.MinusSign),s=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+ua(s,2,r)+ua(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+ua(s,1,r);case 2:return"GMT"+(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);case 3:return i===0?"Z":(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Dne=0,lc=4;function Ine(e){let t=Lc(e,Dne,1).getDay();return Lc(e,0,1+(t<=lc?lc:lc+7)-t)}function w1(e){let t=e.getDay(),n=t===0?-3:lc-t;return Lc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Nu(e,t=!1){return function(n,i){let a;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();a=1+Math.floor((s+r)/7)}else{let r=w1(n),s=Ine(r.getFullYear()),l=r.getTime()-s.getTime();a=1+Math.round(l/6048e5)}return ua(a,e,$d(i,Hd.MinusSign))}}function Ml(e,t=!1){return function(n,i){let a=w1(n).getFullYear();return ua(a,e,$d(i,Hd.MinusSign),t)}}var Mu={};function Ane(e){if(Mu[e])return Mu[e];let t;switch(e){case"G":case"GG":case"GGG":t=pt(3,ut.Abbreviated);break;case"GGGG":t=pt(3,ut.Wide);break;case"GGGGG":t=pt(3,ut.Narrow);break;case"y":t=Wt(0,1,0,!1,!0);break;case"yy":t=Wt(0,2,0,!0,!0);break;case"yyy":t=Wt(0,3,0,!1,!0);break;case"yyyy":t=Wt(0,4,0,!1,!0);break;case"Y":t=Ml(1);break;case"YY":t=Ml(2,!0);break;case"YYY":t=Ml(3);break;case"YYYY":t=Ml(4);break;case"M":case"L":t=Wt(1,1,1);break;case"MM":case"LL":t=Wt(1,2,1);break;case"MMM":t=pt(2,ut.Abbreviated);break;case"MMMM":t=pt(2,ut.Wide);break;case"MMMMM":t=pt(2,ut.Narrow);break;case"LLL":t=pt(2,ut.Abbreviated,Ei.Standalone);break;case"LLLL":t=pt(2,ut.Wide,Ei.Standalone);break;case"LLLLL":t=pt(2,ut.Narrow,Ei.Standalone);break;case"w":t=Nu(1);break;case"ww":t=Nu(2);break;case"W":t=Nu(1,!0);break;case"d":t=Wt(2,1);break;case"dd":t=Wt(2,2);break;case"c":case"cc":t=Wt(7,1);break;case"ccc":t=pt(1,ut.Abbreviated,Ei.Standalone);break;case"cccc":t=pt(1,ut.Wide,Ei.Standalone);break;case"ccccc":t=pt(1,ut.Narrow,Ei.Standalone);break;case"cccccc":t=pt(1,ut.Short,Ei.Standalone);break;case"E":case"EE":case"EEE":t=pt(1,ut.Abbreviated);break;case"EEEE":t=pt(1,ut.Wide);break;case"EEEEE":t=pt(1,ut.Narrow);break;case"EEEEEE":t=pt(1,ut.Short);break;case"a":case"aa":case"aaa":t=pt(0,ut.Abbreviated);break;case"aaaa":t=pt(0,ut.Wide);break;case"aaaaa":t=pt(0,ut.Narrow);break;case"b":case"bb":case"bbb":t=pt(0,ut.Abbreviated,Ei.Standalone,!0);break;case"bbbb":t=pt(0,ut.Wide,Ei.Standalone,!0);break;case"bbbbb":t=pt(0,ut.Narrow,Ei.Standalone,!0);break;case"B":case"BB":case"BBB":t=pt(0,ut.Abbreviated,Ei.Format,!0);break;case"BBBB":t=pt(0,ut.Wide,Ei.Format,!0);break;case"BBBBB":t=pt(0,ut.Narrow,Ei.Format,!0);break;case"h":t=Wt(3,1,-12);break;case"hh":t=Wt(3,2,-12);break;case"H":t=Wt(3,1);break;case"HH":t=Wt(3,2);break;case"m":t=Wt(4,1);break;case"mm":t=Wt(4,2);break;case"s":t=Wt(5,1);break;case"ss":t=Wt(5,2);break;case"S":t=Wt(6,1);break;case"SS":t=Wt(6,2);break;case"SSS":t=Wt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Nl(0);break;case"ZZZZZ":t=Nl(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Nl(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Nl(2);break;default:return null}return Mu[e]=t,t}function S1(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function One(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tne(e,t,n){let i=e.getTimezoneOffset(),a=S1(t,i);return One(e,-1*(a-i))}function Nne(e){if(hv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,s=1]=e.split("-").map(l=>+l);return Lc(a,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let i;if(i=e.match(xne))return Mne(i)}let t=new Date(e);if(!hv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Mne(e){let t=new Date(0),n=0,i=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-i,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function hv(e){return e instanceof Date&&!isNaN(e.valueOf())}var Pu=/\s+/,pv=[],Js=(()=>{const t=class t{constructor(i,a){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",pv);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=i,this._renderer=a}set klass(i){this.initialClasses=i!=null?i.trim().split(Pu):pv}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(Pu):i}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let a of i)this._updateState(a,!0);else if(i!=null)for(let a of Object.keys(i))this._updateState(a,!!i[a]);this._applyStateDiff()}_updateState(i,a){let r=this.stateMap.get(i);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(i,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let a=i[0],r=i[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(i,a){i=i.trim(),i.length>0&&i.split(Pu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Pne=(()=>{const t=class t{constructor(i,a,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=i,this._differs=a,this._renderer=r}set ngStyle(i){this._ngStyle=i,!this._differ&&i&&(this._differ=this._differs.find(i).create())}ngDoCheck(){if(this._differ){let i=this._differ.diff(this._ngStyle);i&&this._applyChanges(i)}}_setStyle(i,a){let[r,s]=i.split("."),l=r.indexOf("-")===-1?void 0:In.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${a}${s}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(i){i.forEachRemovedItem(a=>this._setStyle(a.key,null)),i.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),i.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(p1),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),k1=(()=>{const t=class t{constructor(i){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=i}ngOnChanges(i){if(this._shouldRecreateView(i)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(i,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};o(t,"ɵfac",function(i){return new(i||t)(Je(bn))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bi]}));let e=t;return e})();function E1(e,t){return new Z(2100,!1)}var Rne=class{createSubscription(e,t){return ha(()=>e.subscribe({next:t,error:n=>{throw n}}))}dispose(e){ha(()=>e.unsubscribe())}},Fne=class{createSubscription(e,t){return e.then(n=>t==null?void 0:t(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},Lne=new Fne,Vne=new Rne,C1=(()=>{const t=class t{constructor(i){o(this,"_ref");o(this,"_latestValue",null);o(this,"markForCheckOnValueUpdate",!0);o(this,"_subscription",null);o(this,"_obj",null);o(this,"_strategy",null);this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){if(!this._obj){if(i)try{this.markForCheckOnValueUpdate=!1,this._subscribe(i)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,a=>this._updateLatestValue(i,a))}_selectStrategy(i){if(Vd(i))return Lne;if(qx(i))return Vne;throw E1()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,a){var r;i===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((r=this._ref)==null||r.markForCheck()))}};o(t,"ɵfac",function(i){return new(i||t)(Je(Lt,16))}),o(t,"ɵpipe",Co({name:"async",type:t,pure:!1}));let e=t;return e})(),zne="mediumDate",jne=new $(""),Bne=new $(""),D1=(()=>{const t=class t{constructor(i,a,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=i,this.defaultTimezone=a,this.defaultOptions=r}transform(i,a,r,s){var l,c;if(i==null||i===""||i!==i)return null;try{let d=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??zne,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return Sne(i,d,s||this.locale,u)}catch(d){throw E1(t,d.message)}}};o(t,"ɵfac",function(i){return new(i||t)(Je(Bd,16),Je(jne,24),Je(Bne,24))}),o(t,"ɵpipe",Co({name:"date",type:t,pure:!0}));let e=t;return e})(),I1=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",Et({type:t})),o(t,"ɵinj",kt({}));let e=t;return e})();function A1(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[a,r]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var O1="browser",Hne="server";function $ne(e){return e===O1}function T1(e){return e===Hne}var N1=class{};function qd(e,t,n){return iae(e,t,n)}var op=new $(""),M1=(()=>{const t=class t{constructor(i,a){o(this,"_zone");o(this,"_plugins");o(this,"_eventNameToPlugin",new Map);this._zone=a,i.forEach(r=>{r.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,a,r,s){return this._findPluginFor(a).addEventListener(i,a,r,s)}getZone(){return this._zone}_findPluginFor(i){let a=this._eventNameToPlugin.get(i);if(a)return a;if(a=this._plugins.find(r=>r.supports(i)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(i,a),a}};o(t,"ɵfac",function(i){return new(i||t)(pe(op),pe(Ne))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),P1=class{constructor(e){o(this,"_doc");o(this,"manager");this._doc=e}},cc="ng-app-id";function mv(e){for(let t of e)t.remove()}function fv(e,t){let n=t.createElement("style");return n.textContent=e,n}function qne(e,t,n,i){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${cc}="${t}"],link[${cc}="${t}"]`);if(a)for(let s of a)s.removeAttribute(cc),s instanceof HTMLLinkElement?i.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&n.set(s.textContent,{usage:0,elements:[s]})}function sp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var R1=(()=>{const t=class t{constructor(i,a,r,s={}){o(this,"doc");o(this,"appId");o(this,"nonce");o(this,"inline",new Map);o(this,"external",new Map);o(this,"hosts",new Set);o(this,"isServer");this.doc=i,this.appId=a,this.nonce=r,this.isServer=T1(s),qne(i,a,this.inline,this.external),this.hosts.add(i.head)}addStyles(i,a){for(let r of i)this.addUsage(r,this.inline,fv);a==null||a.forEach(r=>this.addUsage(r,this.external,sp))}removeStyles(i,a){for(let r of i)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(i,a,r){let s=a.get(i);s?s.usage++:a.set(i,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(i,this.doc)))})}removeUsage(i,a){let r=a.get(i);r&&(r.usage--,r.usage<=0&&(mv(r.elements),a.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])mv(i);this.hosts.clear()}addHost(i){this.hosts.add(i);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(i,fv(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(i,sp(a,this.doc)))}removeHost(i){this.hosts.delete(i)}addElement(i,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(cc,this.appId),i.appendChild(a)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(Dd),pe(_m,8),pe(Id))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Ru={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ym=/%COMP%/g,F1="%COMP%",Une=`_nghost-${F1}`,Gne=`_ngcontent-${F1}`,Yne=!0,Wne=new $("",{providedIn:"root",factory:()=>Yne});function Kne(e){return Gne.replace(Ym,e)}function Zne(e){return Une.replace(Ym,e)}function L1(e,t){return t.map(n=>n.replace(Ym,e))}var lp=(()=>{const t=class t{constructor(i,a,r,s,l,c,d,u=null,m=null){o(this,"eventManager");o(this,"sharedStylesHost");o(this,"appId");o(this,"removeStylesOnCompDestroy");o(this,"doc");o(this,"platformId");o(this,"ngZone");o(this,"nonce");o(this,"tracingService");o(this,"rendererByCompId",new Map);o(this,"defaultRenderer");o(this,"platformIsServer");this.eventManager=i,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=l,this.platformId=c,this.ngZone=d,this.nonce=u,this.tracingService=m,this.platformIsServer=T1(c),this.defaultRenderer=new Wm(i,l,d,this.platformIsServer,this.tracingService)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===on.ShadowDom&&(a=Qe(Q({},a),{encapsulation:on.Emulated}));let r=this.getOrCreateRenderer(i,a);return r instanceof vv?r.applyToHost(i):r instanceof cp&&r.applyStyles(),r}getOrCreateRenderer(i,a){let r=this.rendererByCompId,s=r.get(a.id);if(!s){let l=this.doc,c=this.ngZone,d=this.eventManager,u=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case on.Emulated:s=new vv(d,u,a,this.appId,m,l,c,v,g);break;case on.ShadowDom:return new Xne(d,u,i,a,l,c,this.nonce,v,g);default:s=new cp(d,u,a,m,l,c,v,g);break}r.set(a.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}};o(t,"ɵfac",function(i){return new(i||t)(pe(M1),pe(R1),pe(Dd),pe(Wne),pe(et),pe(Id),pe(Ne),pe(_m),pe(Ys,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Wm=class{constructor(e,t,n,i,a){o(this,"eventManager");o(this,"doc");o(this,"ngZone");o(this,"platformIsServer");o(this,"tracingService");o(this,"data",Object.create(null));o(this,"throwOnSyntheticProps",!0);o(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Ru[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(gv(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(gv(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new Z(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;let a=Ru[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let i=Ru[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(In.DashCase|In.Important)?e.style.setProperty(t,n,i&In.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&In.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,i){var r;if(typeof e=="string"&&(e=hr().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(n);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function gv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Xne=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var v;super(t,r,s,c,d);o(this,"sharedStylesHost");o(this,"hostEl");o(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=a.styles;u=L1(a.id,u);for(let g of u){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=sp(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},cp=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var m;super(t,r,s,l,c);o(this,"sharedStylesHost");o(this,"removeStylesOnCompDestroy");o(this,"styles");o(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=a;let u=i.styles;this.styles=d?L1(d,u):u,this.styleUrls=(m=i.getExternalStyles)==null?void 0:m.call(i,d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vv=class extends cp{constructor(t,n,i,a,r,s,l,c,d){let u=a+"-"+i.id;super(t,n,i,r,s,l,c,d,u);o(this,"contentAttr");o(this,"hostAttr");this.contentAttr=Kne(u),this.hostAttr=Zne(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}},Qne=class V1 extends sne{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}static makeCurrent(){one(new V1)}onAndCancel(n,i,a,r){return n.addEventListener(i,a,r),()=>{n.removeEventListener(i,a,r)}}dispatchEvent(n,i){n.dispatchEvent(i)}remove(n){n.remove()}createElement(n,i){return i=i||this.getDefaultDocument(),i.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,i){return i==="window"?window:i==="document"?n:i==="body"?n.body:null}getBaseHref(n){let i=Jne();return i==null?null:ere(i)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return A1(document.cookie,n)}},Jo=null;function Jne(){return Jo=Jo||document.head.querySelector("base"),Jo?Jo.getAttribute("href"):null}function ere(e){return new URL(e,document.baseURI).pathname}var tre=(()=>{const t=class t{build(){return new XMLHttpRequest}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),ire=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,r,s){return i.addEventListener(a,r,s),()=>this.removeEventListener(i,a,r,s)}removeEventListener(i,a,r,s){return i.removeEventListener(a,r,s)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),bv=["alt","control","meta","shift"],are={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},nre={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},rre=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,a,r,s){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hr().onAndCancel(i,l.domEventName,c,s))}static parseEventName(i){let a=i.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),bv.forEach(u=>{let m=a.indexOf(u);m>-1&&(a.splice(m,1),l+=u+".")}),l+=s,a.length!=0||s.length===0)return null;let d={};return d.domEventName=r,d.fullKey=l,d}static matchEventFullKeyCode(i,a){let r=are[i.key]||i.key,s="";return a.indexOf("code.")>-1&&(r=i.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),bv.forEach(l=>{if(l!==r){let c=nre[l];c(i)&&(s+=l+".")}}),s+=r,s===a)}static eventCallback(i,a,r){return s=>{t.matchEventFullKeyCode(s,i)&&r.runGuarded(()=>a(s))}}static _normalizeKey(i){return i==="esc"?"escape":i}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function ore(e){return zae(sre(e))}function sre(e){return{appProviders:[...hre,...(e==null?void 0:e.providers)??[]],platformProviders:ure}}function lre(){Qne.makeCurrent()}function cre(){return new va}function dre(){return GQ(document),document}var ure=[{provide:Id,useValue:O1},{provide:M_,useValue:lre,multi:!0},{provide:et,useFactory:dre}],hre=[{provide:em,useValue:"root"},{provide:va,useFactory:cre},{provide:op,useClass:ire,multi:!0,deps:[et]},{provide:op,useClass:rre,multi:!0,deps:[et]},lp,R1,M1,{provide:na,useExisting:lp},{provide:N1,useClass:tre},[]],Km=class{},z1=class{},zn=class dc{constructor(t){o(this,"headers");o(this,"normalizedNames",new Map);o(this,"lazyInit");o(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
18
|
+
`)}`}var C0=E0(g0("Optional"),8),D0=E0(g0("SkipSelf"),4);function mr(e,t){return e.hasOwnProperty(yc)?e[yc]:null}function SX(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],r=t[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}function kX(e){return e.flat(Number.POSITIVE_INFINITY)}function Xp(e,t){e.forEach(n=>Array.isArray(n)?Xp(n,t):t(n))}function I0(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function EX(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function CX(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(a===1)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=n,e[t+1]=i}}function vd(e,t,n){let i=Bs(e,t);return i>=0?e[i|1]=n:(i=~i,CX(e,i,t,n)),i}function gu(e,t){let n=Bs(e,t);if(n>=0)return e[n|1]}function Bs(e,t){return DX(e,t,1)}function DX(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){let r=i+(a-i>>1),s=e[r<<n];if(t===s)return r<<n;s>t?a=r:i=r+1}return~(a<<n)}var La={},Di=[],wc=new $(""),A0=new $("",-1),O0=new $(""),T0=class{get(e,t=ur){if(t===ur){let n=new Error(`NullInjectorError: No provider for ${ta(e)}!`);throw n.name="NullInjectorError",n}return t}};function no(e){return e[uX]||null}function N0(e){return e[hX]||null}function IX(e){return e[pX]||null}function Qp(e){return{ɵproviders:e}}function AX(...e){return{ɵproviders:M0(!0,e),ɵfromNgModule:!0}}function M0(e,...t){let n=[],i=new Set,a,r=s=>{n.push(s)};return Xp(t,s=>{let l=s;Ah(l,r,[],i)&&(a||(a=[]),a.push(l))}),a!==void 0&&P0(a,r),n}function P0(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:a}=e[n];Jp(a,r=>{t(r,i)})}}function Ah(e,t,n,i){if(e=ci(e),!e)return!1;let a=null,r=fg(e),s=!r&&no(e);if(!r&&!s){let c=e.ngModule;if(r=fg(c),r)a=c;else return!1}else{if(s&&!s.standalone)return!1;a=e}let l=i.has(a);if(s){if(l)return!1;if(i.add(a),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)Ah(d,t,n,i)}}else if(r){if(r.imports!=null&&!l){i.add(a);let d;try{Xp(r.imports,u=>{Ah(u,t,n,i)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&P0(d,t)}if(!l){let d=mr(a)||(()=>new a);t({provide:a,useFactory:d,deps:Di},a),t({provide:O0,useValue:a,multi:!0},a),t({provide:wc,useValue:()=>pe(a),multi:!0},a)}let c=r.providers;if(c!=null&&!l){let d=e;Jp(c,u=>{t(u,d)})}}else return!1;return a!==e&&e.providers!==void 0}function Jp(e,t){for(let n of e)_0(n)&&(n=n.ɵproviders),Array.isArray(n)?Jp(n,t):t(n)}var OX=St({provide:String,useValue:St});function R0(e){return e!==null&&typeof e=="object"&&OX in e}function TX(e){return!!(e&&e.useExisting)}function NX(e){return!!(e&&e.useFactory)}function ro(e){return typeof e=="function"}function MX(e){return!!e.useClass}var em=new $(""),ic={},yg={},vu;function bd(){return vu===void 0&&(vu=new T0),vu}var Va=class{},tm=class extends Va{constructor(t,n,i,a){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=i,this.scopes=a,Th(t,s=>this.processProvider(s)),this.records.set(A0,Ur(void 0,this)),a.has("environment")&&this.records.set(Va,Ur(void 0,this));let r=this.records.get(em);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(O0,Di,Ue.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let i=n;return this.get(t,i.optional?Ry:ur,i)}destroy(){Xo(this),this._destroyed=!0;let t=He(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),He(t)}}onDestroy(t){return Xo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Xo(this);let n=kn(this),i=Ai(void 0);try{return t()}finally{kn(n),Ai(i)}}get(t,n=ur,i=Ue.Default){if(Xo(this),t.hasOwnProperty(vg))return t[vg](this);i=gd(i);let a=kn(this),r=Ai(void 0);try{if(!(i&Ue.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=VX(t)&&Kp(t);c&&this.injectableDefInScope(c)?l=Ur(Oh(t),ic):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,i)}let s=i&Ue.Self?bd():this.parent;return n=i&Ue.Optional&&n===ur?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[_c]=s[_c]||[]).unshift(ta(t)),a)throw s;return xX(s,t,"R3InjectorError",this.source)}else throw s}finally{Ai(r),kn(a)}}resolveInjectorInitializers(){let t=He(null),n=kn(this),i=Ai(void 0);try{let a=this.get(wc,Di,Ue.Self);for(let r of a)r()}finally{kn(n),Ai(i),He(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(ta(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ci(t);let n=ro(t)?t:ci(t&&t.provide),i=RX(t);if(!ro(t)&&t.multi===!0){let a=this.records.get(n);a||(a=Ur(void 0,ic,!0),a.factory=()=>Ih(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let a=He(null);try{return n.value===yg?x0(ta(t)):n.value===ic&&(n.value=yg,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&LX(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{He(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ci(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Oh(e){let t=Kp(e),n=t!==null?t.factory:mr(e);if(n!==null)return n;if(e instanceof $)throw new Z(204,!1);if(e instanceof Function)return PX(e);throw new Z(204,!1)}function PX(e){if(e.length>0)throw new Z(204,!1);let t=cX(e);return t!==null?()=>t.factory(e):()=>new e}function RX(e){if(R0(e))return Ur(void 0,e.useValue);{let t=F0(e);return Ur(t,ic)}}function F0(e,t,n){let i;if(ro(e)){let a=ci(e);return mr(a)||Oh(a)}else if(R0(e))i=()=>ci(e.useValue);else if(NX(e))i=()=>e.useFactory(...Ih(e.deps||[]));else if(TX(e))i=(a,r)=>pe(ci(e.useExisting),r!==void 0&&r&Ue.Optional?Ue.Optional:void 0);else{let a=ci(e&&(e.useClass||e.provide));if(FX(e))i=()=>new a(...Ih(e.deps));else return mr(a)||Oh(a)}return i}function Xo(e){if(e.destroyed)throw new Z(205,!1)}function Ur(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function FX(e){return!!e.deps}function LX(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function VX(e){return typeof e=="function"||typeof e=="object"&&e instanceof $}function Th(e,t){for(let n of e)Array.isArray(n)?Th(n,t):n&&_0(n)?Th(n.ɵproviders,t):t(n)}function yd(e,t){let n;e instanceof tm?(Xo(e),n=e):n=new k0(e);let i=kn(n),a=Ai(void 0);try{return t()}finally{kn(i),Ai(a)}}function L0(){return w0()!==void 0||Jl()!=null}function Hs(e){if(!L0())throw new Z(-203,!1)}function zX(e){return typeof e=="function"}var fn=0,Te=1,ke=2,vi=3,ma=4,Pi=5,oo=6,Xr=7,ii=8,so=9,hn=10,Tt=11,ms=12,_g=13,vo=14,Hi=15,fr=16,Gr=17,fa=18,_d=19,V0=20,Nn=21,bu=22,rn=23,ia=24,Mn=25,qt=26,z0=1,gr=7,Sc=8,lo=9,gi=10;function Pn(e){return Array.isArray(e)&&typeof e[z0]=="object"}function gn(e){return Array.isArray(e)&&e[z0]===!0}function im(e){return(e.flags&4)!==0}function bo(e){return e.componentOffset>-1}function xd(e){return(e.flags&1)===1}function za(e){return!!e.template}function kc(e){return(e[ke]&512)!==0}function yo(e){return(e[ke]&256)===256}var jX=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function j0(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var bi=(()=>{let e=()=>B0;return e.ngInherit=!0,e})();function B0(e){return e.type.prototype.ngOnChanges&&(e.setInput=HX),BX}function BX(){let e=$0(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===La)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function HX(e,t,n,i,a){let r=this.declaredInputs[i],s=$0(e)||$X(e,{previous:La,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new jX(d&&d.currentValue,n,c===La),j0(e,t,a,n)}var H0="__ngSimpleChanges__";function $0(e){return e[H0]||null}function $X(e,t){return e[H0]=t}var vr=function(e,t=null,n){},q0="svg",qX="math";function ja(e){for(;Array.isArray(e);)e=e[fn];return e}function U0(e,t){return ja(t[e])}function qa(e,t){return ja(t[e.index])}function am(e,t){return e.data[t]}function wd(e,t){return e[t]}function nm(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Ba(e,t){let n=t[e];return Pn(n)?n:n[fn]}function UX(e){return(e[ke]&4)===4}function rm(e){return(e[ke]&128)===128}function GX(e){return gn(e[vi])}function br(e,t){return t==null?null:e[t]}function G0(e){e[Gr]=0}function om(e){e[ke]&1024||(e[ke]|=1024,rm(e)&&_o(e))}function YX(e,t){for(;e>0;)t=t[vo],e--;return t}function $s(e){var t;return!!(e[ke]&9216||(t=e[ia])!=null&&t.dirty)}function Nh(e){var t;(t=e[hn].changeDetectionScheduler)==null||t.notify(8),e[ke]&64&&(e[ke]|=1024),$s(e)&&_o(e)}function _o(e){var n;(n=e[hn].changeDetectionScheduler)==null||n.notify(0);let t=yr(e);for(;t!==null&&!(t[ke]&8192||(t[ke]|=8192,!rm(t)));)t=yr(t)}function Y0(e,t){if(yo(e))throw new Z(911,!1);e[Nn]===null&&(e[Nn]=[]),e[Nn].push(t)}function WX(e,t){if(e[Nn]===null)return;let n=e[Nn].indexOf(t);n!==-1&&e[Nn].splice(n,1)}function yr(e){let t=e[vi];return gn(t)?t[vi]:t}function sm(e){return e[Xr]??(e[Xr]=[])}function lm(e){return e.cleanup??(e.cleanup=[])}function KX(e,t,n,i){let a=sm(t);a.push(n),e.firstCreatePass&&lm(e).push(i,a.length-1)}var Le={lFrame:t_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Mh=!1;function ZX(){return Le.lFrame.elementDepthCount}function XX(){Le.lFrame.elementDepthCount++}function QX(){Le.lFrame.elementDepthCount--}function JX(){return Le.bindingsEnabled}function W0(){return Le.skipHydrationRootTNode!==null}function eQ(e){return Le.skipHydrationRootTNode===e}function tQ(){Le.skipHydrationRootTNode=null}function ye(){return Le.lFrame.lView}function gt(){return Le.lFrame.tView}function ge(e){return Le.lFrame.contextLView=e,e[ii]}function ve(e){return Le.lFrame.contextLView=null,e}function yi(){let e=K0();for(;e!==null&&e.type===64;)e=e.parent;return e}function K0(){return Le.lFrame.currentTNode}function iQ(){let e=Le.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function $n(e,t){let n=Le.lFrame;n.currentTNode=e,n.isParent=t}function cm(){return Le.lFrame.isParent}function dm(){Le.lFrame.isParent=!1}function Z0(){return Le.lFrame.contextLView}function X0(){return Mh}function Ec(e){let t=Mh;return Mh=e,t}function xo(){let e=Le.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Q0(){return Le.lFrame.bindingIndex}function aQ(e){return Le.lFrame.bindingIndex=e}function Ir(){return Le.lFrame.bindingIndex++}function Sd(e){let t=Le.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nQ(){return Le.lFrame.inI18n}function rQ(e,t){let n=Le.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ph(t)}function oQ(){return Le.lFrame.currentDirectiveIndex}function Ph(e){Le.lFrame.currentDirectiveIndex=e}function sQ(e){let t=Le.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function um(){return Le.lFrame.currentQueryIndex}function kd(e){Le.lFrame.currentQueryIndex=e}function lQ(e){let t=e[Te];return t.type===2?t.declTNode:t.type===1?e[Pi]:null}function J0(e,t,n){if(n&Ue.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(n&Ue.Host))&&(a=lQ(r),!(a===null||(r=r[vo],a.type&10))););if(a===null)return!1;t=a,e=r}let i=Le.lFrame=e_();return i.currentTNode=t,i.lView=e,!0}function hm(e){let t=e_(),n=e[Te];Le.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function e_(){let e=Le.lFrame,t=e===null?null:e.child;return t===null?t_(e):t}function t_(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function i_(){let e=Le.lFrame;return Le.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var a_=i_;function pm(){let e=i_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function cQ(e){return(Le.lFrame.contextLView=YX(e,Le.lFrame.contextLView))[ii]}function ga(){return Le.lFrame.selectedIndex}function _r(e){Le.lFrame.selectedIndex=e}function qs(){let e=Le.lFrame;return am(e.tView,e.selectedIndex)}function un(){Le.lFrame.currentNamespace=q0}function Rh(){dQ()}function dQ(){Le.lFrame.currentNamespace=null}function uQ(){return Le.lFrame.currentNamespace}var n_=!0;function Ed(){return n_}function Cd(e){n_=e}function hQ(e,t,n){let{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(i){let s=B0(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,a),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function mm(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let a=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function ac(e,t,n){r_(e,t,3,n)}function nc(e,t,n,i){(e[ke]&3)===n&&r_(e,t,n,i)}function yu(e,t){let n=e[ke];(n&3)===t&&(n&=16383,n+=1,e[ke]=n)}function r_(e,t,n,i){let a=i!==void 0?e[Gr]&65535:0,r=i??-1,s=t.length-1,l=0;for(let c=a;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],i!=null&&l>=i)break}else t[c]<0&&(e[Gr]+=65536),(l<r||r==-1)&&(pQ(e,n,t,c),e[Gr]=(e[Gr]&4294901760)+c+2),c++}function xg(e,t){let n=He(null);try{t.call(e)}finally{He(n)}}function pQ(e,t,n,i){let a=n[i]<0,r=n[i+1],s=a?-n[i]:n[i],l=e[s];a?e[ke]>>14<e[Gr]>>16&&(e[ke]&3)===t&&(e[ke]+=16384,xg(l,r)):xg(l,r)}var Qr=-1,Us=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function mQ(e){return(e.flags&8)!==0}function fQ(e){return(e.flags&16)!==0}function gQ(e,t,n){let i=0;for(;i<n.length;){let a=n[i];if(typeof a=="number"){if(a!==0)break;i++;let r=n[i++],s=n[i++],l=n[i++];e.setAttribute(t,s,l,r)}else{let r=a,s=n[++i];vQ(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),i++}}return i}function o_(e){return e===3||e===4||e===6}function vQ(e){return e.charCodeAt(0)===64}function co(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let a=t[i];typeof a=="number"?n=a:n===0||(n===-1||n===2?wg(e,n,a,null,t[++i]):wg(e,n,a,null,null))}}return e}function wg(e,t,n,i,a){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),a!==null&&e.splice(r++,0,a)}function s_(e){return e!==Qr}function Cc(e){return e&32767}function bQ(e){return e>>16}function Dc(e,t){let n=bQ(e),i=t;for(;n>0;)i=i[vo],n--;return i}var Fh=!0;function Ic(e){let t=Fh;return Fh=e,t}var yQ=256,l_=yQ-1,c_=5,_Q=0,Ta={};function xQ(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(ns)&&(i=n[ns]),i==null&&(i=n[ns]=_Q++);let a=i&l_,r=1<<a;t.data[e+(a>>c_)]|=r}function Ac(e,t){let n=d_(e,t);if(n!==-1)return n;let i=t[Te];i.firstCreatePass&&(e.injectorIndex=t.length,_u(i.data,e),_u(t,null),_u(i.blueprint,null));let a=fm(e,t),r=e.injectorIndex;if(s_(a)){let s=Cc(a),l=Dc(a,t),c=l[Te].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=a,r}function _u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function d_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function fm(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;a!==null;){if(i=f_(a),i===null)return Qr;if(n++,a=a[vo],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return Qr}function Lh(e,t,n){xQ(e,t,n)}function wQ(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let i=n.length,a=0;for(;a<i;){let r=n[a];if(o_(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<i&&typeof n[a]=="string";)a++;else{if(r===t)return n[a+1];a=a+2}}}return null}function u_(e,t,n){if(n&Ue.Optional||e!==void 0)return e;Zp()}function h_(e,t,n,i){if(n&Ue.Optional&&i===void 0&&(i=null),(n&(Ue.Self|Ue.Host))===0){let a=e[so],r=Ai(void 0);try{return a?a.get(t,i,n&Ue.Optional):S0(t,i,n&Ue.Optional)}finally{Ai(r)}}return u_(i,t,n)}function p_(e,t,n,i=Ue.Default,a){if(e!==null){if(t[ke]&2048&&!(i&Ue.Self)){let s=CQ(e,t,n,i,Ta);if(s!==Ta)return s}let r=m_(e,t,n,i,Ta);if(r!==Ta)return r}return h_(t,n,i,a)}function m_(e,t,n,i,a){let r=kQ(n);if(typeof r=="function"){if(!J0(t,e,i))return i&Ue.Host?u_(a,n,i):h_(t,n,i,a);try{let s;if(s=r(i),s==null&&!(i&Ue.Optional))Zp(n);else return s}finally{a_()}}else if(typeof r=="number"){let s=null,l=d_(e,t),c=Qr,d=i&Ue.Host?t[Hi][Pi]:null;for((l===-1||i&Ue.SkipSelf)&&(c=l===-1?fm(e,t):t[l+8],c===Qr||!kg(i,!1)?l=-1:(s=t[Te],l=Cc(c),t=Dc(c,t)));l!==-1;){let u=t[Te];if(Sg(r,l,u.data)){let m=SQ(l,t,n,s,i,d);if(m!==Ta)return m}c=t[l+8],c!==Qr&&kg(i,t[Te].data[l+8]===d)&&Sg(r,l,t)?(s=u,l=Cc(c),t=Dc(c,t)):l=-1}}return a}function SQ(e,t,n,i,a,r){let s=t[Te],l=s.data[e+8],c=i==null?bo(l)&&Fh:i!=s&&(l.type&3)!==0,d=a&Ue.Host&&r===l,u=rc(l,s,n,c,d);return u!==null?fs(t,s,u,l,a):Ta}function rc(e,t,n,i,a){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,m=i?l:l+u,v=a?l+u:d;for(let g=m;g<v;g++){let x=s[g];if(g<c&&n===x||g>=c&&x.type===n)return g}if(a){let g=s[c];if(g&&za(g)&&g.type===n)return c}return null}function fs(e,t,n,i,a){let r=e[n],s=t.data;if(r instanceof Us){let l=r;l.resolving&&x0(mX(s[n]));let c=Ic(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?Ai(l.injectImpl):null;J0(e,i,Ue.Default);try{r=e[n]=l.factory(void 0,a,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&hQ(n,s[n],t)}finally{d!==null&&Ai(d),Ic(c),l.resolving=!1,a_()}}return r}function kQ(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ns)?e[ns]:void 0;return typeof t=="number"?t>=0?t&l_:EQ:t}function Sg(e,t,n){let i=1<<e;return!!(n[t+(e>>c_)]&i)}function kg(e,t){return!(e&Ue.Self)&&!(e&Ue.Host&&t)}var rs=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return p_(this._tNode,this._lView,e,gd(n),t)}};function EQ(){return new rs(yi(),ye())}function Qt(e){return js(()=>{let t=e.prototype.constructor,n=t[yc]||Vh(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){let r=a[yc]||Vh(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function Vh(e){return v0(e)?()=>{let t=Vh(ci(e));return t&&t()}:mr(e)}function CQ(e,t,n,i,a){let r=e,s=t;for(;r!==null&&s!==null&&s[ke]&2048&&!kc(s);){let l=m_(r,s,n,i|Ue.Self,Ta);if(l!==Ta)return l;let c=r.parent;if(!c){let d=s[V0];if(d){let u=d.get(n,Ta,i);if(u!==Ta)return u}c=f_(s),s=s[vo]}r=c}return a}function f_(e){let t=e[Te],n=t.type;return n===2?t.declTNode:n===1?e[Pi]:null}function DQ(e){return wQ(yi(),e)}function Eg(e,t=null,n=null,i){let a=IQ(e,t,n,i);return a.resolveInjectorInitializers(),a}function IQ(e,t=null,n=null,i,a=new Set){let r=[n||Di,AX(e)];return i=i||(typeof e=="object"?void 0:ta(e)),new tm(r,t||bd(),i||null,a)}var Ca,lt=(Ca=class{static create(t,n){if(Array.isArray(t))return Eg({name:""},n,t,"");{let i=t.name??"";return Eg({name:i},t.parent,t.providers,i)}}},o(Ca,"THROW_IF_NOT_FOUND",ur),o(Ca,"NULL",new T0),o(Ca,"ɵprov",q({token:Ca,providedIn:"any",factory:()=>pe(A0)})),o(Ca,"__NG_ELEMENT_ID__",-1),Ca),gm=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>DQ(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},AQ=new $("");AQ.__NG_ELEMENT_ID__=e=>{let t=yi();if(t===null)throw new Z(204,!1);if(t.type&2)return t.value;if(e&Ue.Optional)return null;throw new Z(204,!1)};var g_=!1,$i=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",OQ),o(e,"__NG_ENV_ID__",n=>n),e})(),v_=class extends $i{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return yo(n)?(t(),()=>{}):(Y0(n,t),()=>WX(n,t))}};function OQ(){return new v_(ye())}var wo=class{},b_=new $("",{providedIn:"root",factory:()=>!1}),y_=new $(""),__=new $(""),Gs=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new rr(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}has(i){return this.pendingTasks.has(i)}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),TQ=class extends ce{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,L0()&&(this.destroyRef=S($i,{optional:!0})??void 0,this.pendingTasks=S(Gs,{optional:!0})??void 0)}emit(t){let n=He(null);try{super.next(t)}finally{He(n)}}subscribe(t,n,i){var c,d,u;let a=t,r=n||(()=>null),s=i;if(t&&typeof t=="object"){let m=t;a=(c=m.next)==null?void 0:c.bind(m),r=(d=m.error)==null?void 0:d.bind(m),s=(u=m.complete)==null?void 0:u.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:a,error:r,complete:s});return t instanceof ct&&t.add(l),l}wrapInTimeout(t){return n=>{var a;let i=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(n)}finally{i!==void 0&&((r=this.pendingTasks)==null||r.remove(i))}})}}},le=TQ;function gs(...e){}function x_(e){let t,n;function i(){e=gs;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Cg(e){return queueMicrotask(()=>e()),()=>{e=gs}}var vm="isAngularZone",Oc=vm+"_ID",NQ=0,Ne=class zh{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le(!1));o(this,"onMicrotaskEmpty",new le(!1));o(this,"onStable",new le(!1));o(this,"onError",new le(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=g_}=t;if(typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!a&&i,s.shouldCoalesceRunChangeDetection=a,s.callbackScheduled=!1,s.scheduleInRootZone=r,RQ(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(vm)===!0}static assertInAngularZone(){if(!zh.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(zh.isInAngularZone())throw new Z(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+a,t,MQ,gs,gs);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},MQ={};function bm(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function PQ(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){x_(()=>{e.callbackScheduled=!1,jh(e),e.isCheckStableRunning=!0,bm(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),jh(e)}function RQ(e){let t=()=>{PQ(e)},n=NQ++;e._inner=e._inner.fork({name:"angular",properties:{[vm]:!0,[Oc]:n,[Oc+n]:!0},onInvokeTask:(i,a,r,s,l,c)=>{if(LQ(c))return i.invokeTask(r,s,l,c);try{return Dg(e),i.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ig(e)}},onInvoke:(i,a,r,s,l,c,d)=>{try{return Dg(e),i.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!VQ(c)&&t(),Ig(e)}},onHasTask:(i,a,r,s)=>{i.hasTask(r,s),a===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,jh(e),bm(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,a,r,s)=>(i.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function jh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Dg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ig(e){e._nesting--,bm(e)}var FQ=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new le);o(this,"onMicrotaskEmpty",new le);o(this,"onStable",new le);o(this,"onError",new le)}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}};function LQ(e){return w_(e,"__ignore_ng_zone__")}function VQ(e){return w_(e,"__scheduler_tick__")}function w_(e,t){var n,i;return!Array.isArray(e)||e.length!==1?!1:((i=(n=e[0])==null?void 0:n.data)==null?void 0:i[t])===!0}var va=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},zQ=new $("",{providedIn:"root",factory:()=>{let e=S(Ne),t=S(va);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),S_=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",S(va,{optional:!0}));o(this,"destroyRef",S($i));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Z(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,i;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((i=this.listeners)==null||i.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(p0(953,!1));return}if(this.listeners===null)return;let t=He(null);try{for(let i of this.listeners)try{i(e)}catch(a){(n=this.errorHandler)==null||n.handleError(a)}}finally{He(t)}}};function Ag(e){return new S_}function Og(e,t){return f0(e,t)}function jQ(e){return f0(fd,e)}var It=(Og.required=jQ,Og);function BQ(){return So(yi(),ye())}function So(e,t){return new ze(qa(e,t))}var ze=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",BQ),e})();function k_(e){return e instanceof ze?e.nativeElement:e}function vs(e){return typeof e=="function"&&e[fi]!==void 0}function Pa(e,t){let n=QK(e,t==null?void 0:t.equal),i=n[fi];return n.set=a=>Vs(i,a),n.update=a=>My(i,a),n.asReadonly=ym.bind(n),n}function ym(){let e=this[fi];if(e.readonlyFn===void 0){let t=()=>this();t[fi]=e,e.readonlyFn=t}return e.readonlyFn}function E_(e){return vs(e)&&typeof e.set=="function"}function HQ(){return this._results[Symbol.iterator]()}var py,Tc=(py=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,py,HQ);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ce)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=kX(e);(this._changesDetected=!SX(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function C_(e){return(e.flags&128)===128}var D_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(D_||{}),I_=new Map,$Q=0;function qQ(){return $Q++}function UQ(e){I_.set(e[_d],e)}function Bh(e){I_.delete(e[_d])}var Tg="__ngContext__";function ko(e,t){Pn(t)?(e[Tg]=t[_d],UQ(t)):e[Tg]=t}function A_(e){return T_(e[ms])}function O_(e){return T_(e[ma])}function T_(e){for(;e!==null&&!gn(e);)e=e[ma];return e}var Hh;function GQ(e){Hh=e}function N_(){if(Hh!==void 0)return Hh;if(typeof document<"u")return document;throw new Z(210,!1)}var Dd=new $("",{providedIn:"root",factory:()=>YQ}),YQ="ng",M_=new $(""),Id=new $("",{providedIn:"platform",factory:()=>"unknown"}),Gi=new $(""),_m=new $("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=N_().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),P_=!1,WQ=new $("",{providedIn:"root",factory:()=>P_}),xm=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(xm||{}),Ys=new $(""),Ng=new Set;function Ar(e){var t;Ng.has(e)||(Ng.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var wm=(()=>{class e{constructor(n,i){o(this,"view");o(this,"node");this.view=n,this.node=i}}return o(e,"__NG_ELEMENT_ID__",KQ),e})();function KQ(){return new wm(ye(),yi())}var Yr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Yr||{}),R_=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var i;(i=this.impl)==null||i.execute()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),ZQ=[Yr.EarlyRead,Yr.Write,Yr.MixedReadWrite,Yr.Read],XQ=(()=>{const t=class t{constructor(){o(this,"ngZone",S(Ne));o(this,"scheduler",S(wo));o(this,"errorHandler",S(va,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);S(Ys,{optional:!0})}execute(){var i;this.sequences.size>0,this.executing=!0;for(let a of ZQ)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[a];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(i=this.errorHandler)==null||i.handleError(s)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(i){let{view:a}=i;a!==void 0?((a[Mn]??(a[Mn]=[])).push(i),_o(a),a[ke]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,a){return a?a.run(xm.AFTER_NEXT_RENDER,i):i()}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),QQ=class{constructor(e,t,n,i,a,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=i,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,n;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(n=this.view)==null?void 0:n[Mn];e&&(this.view[Mn]=e.filter(i=>i!==this))}};function Sm(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterRender"),F_(e,n,t,!1)}function xr(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt);return Ar("NgAfterNextRender"),F_(e,n,t,!0)}function JQ(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function F_(e,t,n,i){let a=t.get(R_);a.impl??(a.impl=t.get(XQ));let r=t.get(Ys,null,{optional:!0}),s=(n==null?void 0:n.phase)??Yr.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get($i):null,c=t.get(wm,null,{optional:!0}),d=new QQ(a.impl,JQ(e,s),c==null?void 0:c.view,i,l,r==null?void 0:r.snapshot(null));return a.impl.register(d),d}var eJ=()=>null;function L_(e,t,n=!1){return eJ()}function V_(e,t){let n=e.contentQueries;if(n!==null){let i=He(null);try{for(let a=0;a<n.length;a+=2){let r=n[a],s=n[a+1];if(s!==-1){let l=e.data[s];kd(r),l.contentQueries(2,t[s],s)}}}finally{He(i)}}}function $h(e,t,n){kd(0);let i=He(null);try{t(e,n)}finally{He(i)}}function km(e,t,n){if(im(t)){let i=He(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let s=a;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{He(i)}}}var on=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(on||{}),kl;function tJ(){if(kl===void 0&&(kl=null,Dn.trustedTypes))try{kl=Dn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}function Ad(e){var t;return((t=tJ())==null?void 0:t.createHTML(e))||e}var El;function iJ(){if(El===void 0&&(El=null,Dn.trustedTypes))try{El=Dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return El}function Mg(e){var t;return((t=iJ())==null?void 0:t.createHTML(e))||e}var Or=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${h0})`}},aJ=class extends Or{getTypeName(){return"HTML"}},nJ=class extends Or{getTypeName(){return"Style"}},rJ=class extends Or{getTypeName(){return"Script"}},oJ=class extends Or{getTypeName(){return"URL"}},sJ=class extends Or{getTypeName(){return"ResourceURL"}};function nn(e){return e instanceof Or?e.changingThisBreaksApplicationSecurity:e}function or(e,t){let n=lJ(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${h0})`)}return n===t}function lJ(e){return e instanceof Or&&e.getTypeName()||null}function cJ(e){return new aJ(e)}function dJ(e){return new nJ(e)}function uJ(e){return new rJ(e)}function hJ(e){return new oJ(e)}function pJ(e){return new sJ(e)}function mJ(e){let t=new gJ(e);return vJ()?new fJ(t):t}var fJ=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ad(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},gJ=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Ad(e),t}};function vJ(){try{return!!new window.DOMParser().parseFromString(Ad(""),"text/html")}catch{return!1}}var bJ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Em(e){return e=String(e),e.match(bJ)?e:"unsafe:"+e}function vn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ws(...e){let t={};for(let n of e)for(let i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}var z_=vn("area,br,col,hr,img,wbr"),j_=vn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),B_=vn("rp,rt"),yJ=Ws(B_,j_),_J=Ws(j_,vn("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")),xJ=Ws(B_,vn("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")),Pg=Ws(z_,_J,xJ,yJ),H_=vn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wJ=vn("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"),SJ=vn("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"),kJ=Ws(H_,wJ,SJ),EJ=vn("script,style,template"),CJ=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){i.push(t),t=AJ(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=IJ(t);if(a){t=a;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Rg(e).toLowerCase();if(!Pg.hasOwnProperty(t))return this.sanitizedSomething=!0,!EJ.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let i=0;i<n.length;i++){let a=n.item(i),r=a.name,s=r.toLowerCase();if(!kJ.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=a.value;H_[s]&&(l=Em(l)),this.buf.push(" ",r,'="',Fg(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Rg(e).toLowerCase();Pg.hasOwnProperty(t)&&!z_.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Fg(e))}};function DJ(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function IJ(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $_(t);return t}function AJ(e){let t=e.firstChild;if(t&&DJ(e,t))throw $_(t);return t}function Rg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function $_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var OJ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TJ=/([^\#-~ |!])/g;function Fg(e){return e.replace(/&/g,"&").replace(OJ,function(t){let n=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(TJ,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Cl;function q_(e,t){let n=null;try{Cl=Cl||mJ(e);let i=t?String(t):"";n=Cl.getInertBodyElement(i);let a=5,r=i;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=Cl.getInertBodyElement(i)}while(i!==r);let s=new CJ().sanitizeChildren(Lg(n)||n);return Ad(s)}finally{if(n){let i=Lg(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}function Lg(e){return"content"in e&&NJ(e)?e.content:null}function NJ(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var MJ=/^>|^->|<!--|-->|--!>|<!-$/g,PJ=/(<|>)/g,RJ="$1";function FJ(e){return e.replace(MJ,t=>t.replace(PJ,RJ))}function LJ(e,t){return e.createText(t)}function VJ(e,t,n){e.setValue(t,n)}function zJ(e,t){return e.createComment(FJ(t))}function U_(e,t,n){return e.createElement(t,n)}function Nc(e,t,n,i,a){e.insertBefore(t,n,i,a)}function G_(e,t,n){e.appendChild(t,n)}function Vg(e,t,n,i,a){i!==null?Nc(e,t,n,i,a):G_(e,t,n)}function jJ(e,t,n){e.removeChild(null,t,n)}function BJ(e,t,n){e.setAttribute(t,"style",n)}function HJ(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Y_(e,t,n){let{mergedAttrs:i,classes:a,styles:r}=n;i!==null&&gQ(e,t,i),a!==null&&HJ(e,t,a),r!==null&&BJ(e,t,r)}var Oi=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}(Oi||{});function $J(e){let t=W_();return t?Mg(t.sanitize(Oi.HTML,e)||""):or(e,"HTML")?Mg(nn(e)):q_(N_(),Ma(e))}function qJ(e){let t=W_();return t?t.sanitize(Oi.URL,e)||"":or(e,"URL")?nn(e):Em(Ma(e))}function W_(){let e=ye();return e&&e[hn].sanitizer}function UJ(e,t,n){let i=e.length;for(;;){let a=e.indexOf(t,n);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===i||e.charCodeAt(a+r)<=32)return a}n=a+1}}var K_="ng-template";function GJ(e,t,n,i){let a=0;if(i){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&UJ(t[a+1].toLowerCase(),n,0)!==-1)return!0}else if(Cm(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Cm(e){return e.type===4&&e.value!==K_}function YJ(e,t,n){let i=e.type===4&&!n?K_:e.value;return t===i}function WJ(e,t,n){let i=4,a=e.attrs,r=a!==null?XJ(a):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!ca(i)&&!ca(c))return!1;if(s&&ca(c))continue;s=!1,i=c|i&1;continue}if(!s)if(i&4){if(i=2|i&1,c!==""&&!YJ(e,c,n)||c===""&&t.length===1){if(ca(i))return!1;s=!0}}else if(i&8){if(a===null||!GJ(e,a,c,n)){if(ca(i))return!1;s=!0}}else{let d=t[++l],u=KJ(c,a,Cm(e),n);if(u===-1){if(ca(i))return!1;s=!0;continue}if(d!==""){let m;if(u>r?m="":m=a[u+1].toLowerCase(),i&2&&d!==m){if(ca(i))return!1;s=!0}}}}return ca(i)||s}function ca(e){return(e&1)===0}function KJ(e,t,n,i){if(t===null)return-1;let a=0;if(i||!n){let r=!1;for(;a<t.length;){let s=t[a];if(s===e)return a;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(s===4)break;if(s===0){a+=4;continue}}a+=r?1:2}return-1}else return QJ(t,e)}function Z_(e,t,n=!1){for(let i=0;i<t.length;i++)if(WJ(e,t[i],n))return!0;return!1}function ZJ(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function XJ(e){for(let t=0;t<e.length;t++){let n=e[t];if(o_(n))return t}return e.length}function QJ(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function JJ(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function zg(e,t){return e?":not("+t.trim()+")":t}function eee(e){let t=e[0],n=1,i=2,a="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(i&2){let l=e[++n];a+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else i&8?a+="."+s:i&4&&(a+=" "+s);else a!==""&&!ca(s)&&(t+=zg(r,a),a=""),i=s,r=r||!ca(i);n++}return a!==""&&(t+=zg(r,a)),t}function tee(e){return e.map(eee).join(",")}function iee(e){let t=[],n=[],i=1,a=2;for(;i<e.length;){let r=e[i];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++i]):a===8&&n.push(r);else{if(!ca(a))break;a=r}i++}return n.length&&t.push(1,...n),t}var _i={};function Dm(e,t,n,i,a,r,s,l,c,d,u){let m=qt+i,v=m+a,g=aee(m,v),x=typeof d=="function"?d():d;return g[Te]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:x,incompleteFirstPass:!1,ssrId:u}}function aee(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:_i);return n}function nee(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Dm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Im(e,t,n,i,a,r,s,l,c,d,u){let m=t.blueprint.slice();return m[fn]=a,m[ke]=i|4|128|8|64|1024,(d!==null||e&&e[ke]&2048)&&(m[ke]|=2048),G0(m),m[vi]=m[vo]=e,m[ii]=n,m[hn]=s||e&&e[hn],m[Tt]=l||e&&e[Tt],m[so]=c||e&&e[so]||null,m[Pi]=r,m[_d]=qQ(),m[oo]=u,m[V0]=d,m[Hi]=t.type==2?e[Hi]:m,m}function ree(e,t,n){let i=qa(t,e),a=nee(n),r=e[hn].rendererFactory,s=Am(e,Im(e,a,null,X_(n),i,t,null,r.createRenderer(i,n),null,null,null));return e[t.index]=s}function X_(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Q_(e,t,n,i){if(n===0)return-1;let a=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return a}function Am(e,t){return e[ms]?e[_g][ma]=t:e[ms]=t,e[_g]=t,t}function D(e=1){J_(gt(),ye(),ga()+e)}function J_(e,t,n,i){if((t[ke]&3)===3){let a=e.preOrderCheckHooks;a!==null&&ac(t,a,n)}else{let a=e.preOrderHooks;a!==null&&nc(t,a,0,n)}_r(n)}var Od=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Od||{});function qh(e,t,n,i){let a=He(null);try{let[r,s,l]=e.inputs[n],c=null;s&Od.SignalBased&&(c=t[r][fi]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):l!==null&&(i=l.call(t,i)),e.setInput!==null?e.setInput(t,c,i,n,r):j0(t,c,r,i)}finally{He(a)}}function ex(e,t,n,i,a){let r=ga(),s=i&2;try{_r(-1),s&&t.length>qt&&J_(e,t,qt,!1),vr(s?2:0,a),n(i,a)}finally{_r(r)}}function Td(e,t,n){cee(e,t,n),(n.flags&64)===64&&dee(e,t,n)}function Om(e,t,n=qa){let i=t.localNames;if(i!==null){let a=t.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],l=s===-1?n(t,e):e[s];e[a++]=l}}}function oee(e,t,n,i){let a=i.get(WQ,P_)||n===on.ShadowDom;return e.selectRootElement(t,a)}function see(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nd(e,t,n,i,a,r,s,l){if(!l&&Nm(t,e,n,i,a)){bo(t)&&lee(n,t.index);return}if(t.type&3){let c=qa(t,n);i=see(i),a=s!=null?s(a,t.value||"",i):a,r.setProperty(c,i,a)}else t.type&12}function lee(e,t){let n=Ba(t,e);n[ke]&16||(n[ke]|=64)}function cee(e,t,n){let i=n.directiveStart,a=n.directiveEnd;bo(n)&&ree(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Ac(n,t);let r=n.initialInputs;for(let s=i;s<a;s++){let l=e.data[s],c=fs(t,e,s,n);if(ko(c,t),r!==null&&mee(t,s-i,c,l,n,r),za(l)){let d=Ba(n.index,t);d[ii]=fs(t,e,s,n)}}}function dee(e,t,n){let i=n.directiveStart,a=n.directiveEnd,r=n.index,s=oQ();try{_r(r);for(let l=i;l<a;l++){let c=e.data[l],d=t[l];Ph(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&uee(c,d)}}finally{_r(-1),Ph(s)}}function uee(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Tm(e,t){let n=e.directiveRegistry,i=null;if(n)for(let a=0;a<n.length;a++){let r=n[a];Z_(t,r.selectors,!1)&&(i??(i=[]),za(r)?i.unshift(r):i.push(r))}return i}function hee(e,t,n,i,a,r){let s=qa(e,t);pee(t[Tt],s,r,e.value,n,i,a)}function pee(e,t,n,i,a,r,s){if(r==null)e.removeAttribute(t,a,n);else{let l=s==null?Ma(r):s(r,i||"",a);e.setAttribute(t,a,l,n)}}function mee(e,t,n,i,a,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];qh(i,n,c,d)}}function fee(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function Nm(e,t,n,i,a){var c,d;let r=(c=e.inputs)==null?void 0:c[i],s=(d=e.hostDirectiveInputs)==null?void 0:d[i],l=!1;if(s)for(let u=0;u<s.length;u+=2){let m=s[u],v=s[u+1],g=t.data[m];qh(g,n[m],v,a),l=!0}if(r)for(let u of r){let m=n[u],v=t.data[u];qh(v,m,i,a),l=!0}return l}function gee(e,t){let n=Ba(t,e),i=n[Te];vee(i,n);let a=n[fn];a!==null&&n[oo]===null&&(n[oo]=L_(a,n[so])),Mm(i,n,n[ii]),vr(19,n[ii])}function vee(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Mm(e,t,n){var i;hm(t);try{let a=e.viewQuery;a!==null&&$h(1,a,n);let r=e.template;r!==null&&ex(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(i=t[fa])==null||i.finishViewCreation(e),e.staticContentQueries&&V_(e,t),e.staticViewQueries&&$h(2,e.viewQuery,n);let s=e.components;s!==null&&bee(t,s)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[ke]&=-5,pm()}}function bee(e,t){for(let n=0;n<t.length;n++)gee(e,t[n])}function Ks(e,t,n,i){let a=He(null);try{let r=t.tView,s=e[ke]&4096?4096:16,l=Im(e,r,n,s,null,t,null,null,(i==null?void 0:i.injector)??null,(i==null?void 0:i.embeddedViewInjector)??null,(i==null?void 0:i.dehydratedView)??null),c=e[t.index];l[fr]=c;let d=e[fa];return d!==null&&(l[fa]=d.createEmbeddedView(r)),Mm(r,l,n),l}finally{He(a)}}function uo(e,t){return!t||t.firstChild===null||C_(e)}var yee;function Pm(e,t){return yee(e,t)}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{});function Rm(e){return(e.flags&32)===32}function Wr(e,t,n,i,a){if(i!=null){let r,s=!1;gn(i)?r=i:Pn(i)&&(s=!0,i=i[fn]);let l=ja(i);e===0&&n!==null?a==null?G_(t,n,l):Nc(t,n,l,a||null,!0):e===1&&n!==null?Nc(t,n,l,a||null,!0):e===2?jJ(t,l,s):e===3&&t.destroyNode(l),r!=null&&Aee(t,e,r,n,a)}}function _ee(e,t){tx(e,t),t[fn]=null,t[Pi]=null}function xee(e,t,n,i,a,r){i[fn]=a,i[Pi]=t,Rd(e,i,n,1,a,r)}function tx(e,t){var n;(n=t[hn].changeDetectionScheduler)==null||n.notify(9),Rd(e,t,t[Tt],2,null,null)}function wee(e){let t=e[ms];if(!t)return xu(e[Te],e);for(;t;){let n=null;if(Pn(t))n=t[ms];else{let i=t[gi];i&&(n=i)}if(!n){for(;t&&!t[ma]&&t!==e;)Pn(t)&&xu(t[Te],t),t=t[vi];t===null&&(t=e),Pn(t)&&xu(t[Te],t),n=t&&t[ma]}t=n}}function Fm(e,t){let n=e[lo],i=n.indexOf(t);n.splice(i,1)}function Md(e,t){if(yo(t))return;let n=t[Tt];n.destroyNode&&Rd(e,t,n,3,null,null),wee(t)}function xu(e,t){if(yo(t))return;let n=He(null);try{t[ke]&=-129,t[ke]|=256,t[ia]&&dd(t[ia]),kee(e,t),See(e,t),t[Te].type===1&&t[Tt].destroy();let i=t[fr];if(i!==null&&gn(t[vi])){i!==t[vi]&&Fm(i,t);let a=t[fa];a!==null&&a.detachView(e)}Bh(t)}finally{He(n)}}function See(e,t){let n=e.cleanup,i=t[Xr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?i[l]():i[-l].unsubscribe(),s+=2}else{let l=i[n[s+1]];n[s].call(l)}i!==null&&(t[Xr]=null);let a=t[Nn];if(a!==null){t[Nn]=null;for(let s=0;s<a.length;s++){let l=a[s];l()}}let r=t[rn];if(r!==null){t[rn]=null;for(let s of r)s.destroy()}}function kee(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let a=t[n[i]];if(!(a instanceof Us)){let r=n[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=a[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(a)}finally{}}}}function ix(e,t,n){return Eee(e,t.parent,n)}function Eee(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[fn];if(bo(i)){let{encapsulation:a}=e.data[i.directiveStart+i.componentOffset];if(a===on.None||a===on.Emulated)return null}return qa(i,n)}function ax(e,t,n){return Dee(e,t,n)}function Cee(e,t,n){return e.type&40?qa(e,n):null}var Dee=Cee;function Pd(e,t,n,i){let a=ix(e,i,t),r=t[Tt],s=i.parent||t[Pi],l=ax(s,i,t);if(a!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Vg(r,a,n[c],l,!1);else Vg(r,a,n,l,!1)}function Qo(e,t){if(t!==null){let n=t.type;if(n&3)return qa(t,e);if(n&4)return Uh(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return Qo(e,i);{let a=e[t.index];return gn(a)?Uh(-1,a):ja(a)}}else{if(n&128)return Qo(e,t.next);if(n&32)return Pm(t,e)()||ja(e[t.index]);{let i=nx(e,t);if(i!==null){if(Array.isArray(i))return i[0];let a=yr(e[Hi]);return Qo(a,i)}else return Qo(e,t.next)}}}return null}function nx(e,t){if(t!==null){let n=e[Hi][Pi],i=t.projection;return n.projection[i]}return null}function Uh(e,t){let n=gi+e+1;if(n<t.length){let i=t[n],a=i[Te].firstChild;if(a!==null)return Qo(i,a)}return t[gr]}function Lm(e,t,n,i,a,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=i[n.index],c=n.type;if(s&&t===0&&(l&&ko(ja(l),i),n.flags|=2),!Rm(n))if(c&8)Lm(e,t,n.child,i,a,r,!1),Wr(t,e,a,l,r);else if(c&32){let d=Pm(n,i),u;for(;u=d();)Wr(t,e,a,u,r);Wr(t,e,a,l,r)}else c&16?rx(e,t,i,n,a,r):Wr(t,e,a,l,r);n=s?n.projectionNext:n.next}}function Rd(e,t,n,i,a,r){Lm(n,i,e.firstChild,t,a,r,!1)}function Iee(e,t,n){let i=t[Tt],a=ix(e,n,t),r=n.parent||t[Pi],s=ax(r,n,t);rx(i,0,t,n,a,s)}function rx(e,t,n,i,a,r){let s=n[Hi],l=s[Pi].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Wr(t,e,a,d,r)}else{let c=l,d=s[vi];C_(i)&&(c.flags|=128),Lm(e,t,c,d,a,r,!0)}}function Aee(e,t,n,i,a){let r=n[gr],s=ja(n);r!==s&&Wr(t,e,i,r,a);for(let l=gi;l<n.length;l++){let c=n[l];Rd(c[Te],c,e,t,i,r)}}function Oee(e,t,n,i,a){if(t)a?e.addClass(n,i):e.removeClass(n,i);else{let r=i.indexOf("-")===-1?void 0:In.DashCase;a==null?e.removeStyle(n,i,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=In.Important),e.setStyle(n,i,a,r))}}function Mc(e,t,n,i,a=!1){for(;n!==null;){if(n.type===128){n=a?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&i.push(ja(r)),gn(r)&&Tee(r,i);let s=n.type;if(s&8)Mc(e,t,n.child,i);else if(s&32){let l=Pm(n,t),c;for(;c=l();)i.push(c)}else if(s&16){let l=nx(t,n);if(Array.isArray(l))i.push(...l);else{let c=yr(t[Hi]);Mc(c[Te],c,l,i,!0)}}n=a?n.projectionNext:n.next}return i}function Tee(e,t){for(let n=gi;n<e.length;n++){let i=e[n],a=i[Te].firstChild;a!==null&&Mc(i[Te],i,a,t)}e[gr]!==e[fn]&&t.push(e[gr])}function ox(e){if(e[Mn]!==null){for(let t of e[Mn])t.impl.addSequence(t);e[Mn].length=0}}var sx=[];function Nee(e){return e[ia]??Mee(e)}function Mee(e){let t=sx.pop()??Object.create(Ree);return t.lView=e,t}function Pee(e){e.lView[ia]!==e&&(e.lView=null,sx.push(e))}var Ree=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{_o(e.lView)},consumerOnSignalRead(){this.lView[ia]=this}});function Fee(e){let t=e[ia]??Object.create(Lee);return t.lView=e,t}var Lee=Qe(Q({},go),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=yr(e.lView);for(;t&&!lx(t[Te]);)t=yr(t);t&&om(t)},consumerOnSignalRead(){this.lView[ia]=this}});function lx(e){return e.type!==2}function cx(e){if(e[rn]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[rn])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[ke]&8192)}}var Vee=100;function dx(e,t=!0,n=0){var a,r;let i=e[hn].rendererFactory;(a=i.begin)==null||a.call(i);try{zee(e,n)}catch(s){throw t&&fee(e,s),s}finally{(r=i.end)==null||r.call(i)}}function zee(e,t){let n=X0();try{Ec(!0),Gh(e,t);let i=0;for(;$s(e);){if(i===Vee)throw new Z(103,!1);i++,Gh(e,1)}}finally{Ec(n)}}function jee(e,t,n,i){if(yo(t))return;let a=t[ke],r=!1,s=!1;hm(t);let l=!0,c=null,d=null;lx(e)?(d=Nee(t),c=ls(d)):GK()===null?(l=!1,d=Fee(t),c=ls(d)):t[ia]&&(dd(t[ia]),t[ia]=null);try{G0(t),aQ(e.bindingStartIndex),n!==null&&ex(e,t,n,2,i);let u=(a&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&ac(t,g,null)}else{let g=e.preOrderHooks;g!==null&&nc(t,g,0,null),yu(t,0)}if(s||Bee(t),cx(t),ux(t,0),e.contentQueries!==null&&V_(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&ac(t,g)}else{let g=e.contentHooks;g!==null&&nc(t,g,1),yu(t,1)}$ee(e,t);let m=e.components;m!==null&&px(t,m,0);let v=e.viewQuery;if(v!==null&&$h(2,v,i),!r)if(u){let g=e.viewCheckHooks;g!==null&&ac(t,g)}else{let g=e.viewHooks;g!==null&&nc(t,g,2),yu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[bu]){for(let g of t[bu])g();t[bu]=null}r||(ox(t),t[ke]&=-73)}catch(u){throw _o(t),u}finally{d!==null&&(cd(d,c),l&&Pee(d)),pm()}}function ux(e,t){for(let n=A_(e);n!==null;n=O_(n))for(let i=gi;i<n.length;i++){let a=n[i];hx(a,t)}}function Bee(e){for(let t=A_(e);t!==null;t=O_(t)){if(!(t[ke]&2))continue;let n=t[lo];for(let i=0;i<n.length;i++){let a=n[i];om(a)}}}function Hee(e,t,n){let i=Ba(t,e);hx(i,n),vr(19,i[ii])}function hx(e,t){rm(e)&&Gh(e,t)}function Gh(e,t){let n=e[Te],i=e[ke],a=e[ia],r=!!(t===0&&i&16);if(r||(r=!!(i&64&&t===0)),r||(r=!!(i&1024)),r||(r=!!(a!=null&&a.dirty&&zp(a))),r||(r=!1),a&&(a.dirty=!1),e[ke]&=-9217,r)jee(n,e,n.template,e[ii]);else if(i&8192){cx(e),ux(e,1);let s=n.components;s!==null&&px(e,s,1),ox(e)}}function px(e,t,n){for(let i=0;i<t.length;i++)Hee(e,t[i],n)}function $ee(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let a=n[i];if(a<0)_r(~a);else{let r=a,s=n[++i],l=n[++i];rQ(s,r);let c=t[r];vr(24,c),l(2,c),vr(25,c)}}}finally{_r(-1)}}function Vm(e,t){var i;let n=X0()?64:1088;for((i=e[hn].changeDetectionScheduler)==null?void 0:i.notify(t);e;){e[ke]|=n;let a=yr(e);if(kc(e)&&!a)return e;e=a}return null}function mx(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function fx(e,t){let n=gi+t;if(n<e.length)return e[n]}function Zs(e,t,n,i=!0){let a=t[Te];if(qee(a,t,e,n),i){let s=Uh(n,e),l=t[Tt],c=l.parentNode(e[gr]);c!==null&&xee(a,e[Pi],l,t,c,s)}let r=t[oo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function gx(e,t){let n=bs(e,t);return n!==void 0&&Md(n[Te],n),n}function bs(e,t){if(e.length<=gi)return;let n=gi+t,i=e[n];if(i){let a=i[fr];a!==null&&a!==e&&Fm(a,i),t>0&&(e[n-1][ma]=i[ma]);let r=xc(e,gi+t);_ee(i[Te],i);let s=r[fa];s!==null&&s.detachView(r[Te]),i[vi]=null,i[ma]=null,i[ke]&=-129}return i}function qee(e,t,n,i){let a=gi+i,r=n.length;i>0&&(n[a-1][ma]=t),i<r-gi?(t[ma]=n[a],I0(n,gi+i,t)):(n.push(t),t[ma]=null),t[vi]=n;let s=t[fr];s!==null&&n!==s&&vx(s,t);let l=t[fa];l!==null&&l.insertView(e),Nh(t),t[ke]|=128}function vx(e,t){let n=e[lo],i=t[vi];if(Pn(i))e[ke]|=2;else{let a=i[vi][Hi];t[Hi]!==a&&(e[ke]|=2)}n===null?e[lo]=[t]:n.push(t)}var ys=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[Te];return Mc(t,e,t.firstChild,[])}get context(){return this._lView[ii]}set context(e){this._lView[ii]=e}get destroyed(){return yo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[vi];if(gn(e)){let t=e[Sc],n=t?t.indexOf(this):-1;n>-1&&(bs(e,n),xc(t,n))}this._attachedToViewContainer=!1}Md(this._lView[Te],this._lView)}onDestroy(e){Y0(this._lView,e)}markForCheck(){Vm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ke]&=-129}reattach(){Nh(this._lView),this._lView[ke]|=128}detectChanges(){this._lView[ke]|=1024,dx(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=kc(this._lView),t=this._lView[fr];t!==null&&!e&&Fm(t,this._lView),tx(this._lView[Te],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=e;let t=kc(this._lView),n=this._lView[fr];n!==null&&!t&&vx(n,this._lView),Nh(this._lView)}};function Uee(e){return $s(e._lView)||!!(e._lView[ke]&64)}function Gee(e){om(e._cdRefInjectingView||e._lView)}var Ln=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Kee),e})(),Yee=Ln,Wee=class extends Yee{constructor(t,n,i){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){let a=Ks(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new ys(a)}};function Kee(){return Fd(yi(),ye())}function Fd(e,t){return e.type&4?new Wee(t,e,So(e,t)):null}function Eo(e,t,n,i,a){let r=e.data[t];if(r===null)r=Zee(e,t,n,i,a),nQ()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=i,r.attrs=a;let s=iQ();r.injectorIndex=s===null?-1:s.injectorIndex}return $n(r,!0),r}function Zee(e,t,n,i,a){let r=K0(),s=cm(),l=s?r:r&&r.parent,c=e.data[t]=Qee(e,l,n,t,i,a);return Xee(e,c,r,s),c}function Xee(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Qee(e,t,n,i,a,r){let s=t?t.injectorIndex:-1,l=0;return W0()&&(l|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Jee=()=>null;function ho(e,t){return Jee()}var ete=class{},bx=class{},tte=class{resolveComponentFactory(e){throw Error(`No component factory found for ${ta(e)}.`)}},bh,Xs=(bh=class{},o(bh,"NULL",new tte),bh),na=class{},ra=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>ite()),e})();function ite(){let e=ye(),t=yi(),n=Ba(t.index,e);return(Pn(n)?n:e)[Tt]}var ate=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),wu={},nte=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=gd(n);let i=this.injector.get(e,wu,n);return i!==wu||t===wu?i:this.parentInjector.get(e,t,n)}};function Yh(e,t,n){let i=n?e.styles:null,a=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)a=Eh(a,l);else if(r==2){let c=l,d=t[++s];i=Eh(i,c+": "+d+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}function Je(e,t=Ue.Default){let n=ye();if(n===null)return pe(e,t);let i=yi();return p_(i,n,ci(e),t)}function rte(){let e="invalid";throw new Error(e)}function zm(e,t,n,i,a){let r=i===null?null:{"":-1},s=a(e,n);if(s!==null){let l,c=null,d=null,u=ste(s);u===null?l=s:[l,c,d]=u,dte(e,t,n,l,r,c,d)}r!==null&&i!==null&&ote(n,i,r)}function ote(e,t,n){let i=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=n[t[a+1]];if(r==null)throw new Z(-301,!1);i.push(t[a],r)}}function ste(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&za(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let i=null,a=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(i??(i=[]),a??(a=new Map),r??(r=new Map),lte(s,i,r,a)),s===t&&(i??(i=[]),i.push(s));return i!==null?(i.push(...t===null?e:e.slice(1)),[i,a,r]):null}function lte(e,t,n,i){let a=t.length;e.findHostDirectiveDefs(e,t,i),n.set(e,[a,t.length-1])}function cte(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function dte(e,t,n,i,a,r,s){let l=i.length,c=!1;for(let v=0;v<l;v++){let g=i[v];!c&&za(g)&&(c=!0,cte(e,n,v)),Lh(Ac(n,t),e,g.type)}gte(n,e.data.length,l);for(let v=0;v<l;v++){let g=i[v];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,m=Q_(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=i[v];if(n.mergedAttrs=co(n.mergedAttrs,g.hostAttrs),hte(e,n,t,m,g),fte(m,g,a),s!==null&&s.has(g)){let[w,E]=s.get(g);n.directiveToIndex.set(g.type,[m,w+n.directiveStart,E+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let x=g.type.prototype;!d&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),m++}ute(e,n,r)}function ute(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let a=e.data[i];if(n===null||!n.has(a))jg(0,t,a,i),jg(1,t,a,i),Hg(t,i,!1);else{let r=n.get(a);Bg(0,t,r,i),Bg(1,t,r,i),Hg(t,i,!0)}}}function jg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(i),yx(t,r)}}function Bg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(i,r),yx(t,s)}}function yx(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Hg(e,t,n){let{attrs:i,inputs:a,hostDirectiveInputs:r}=e;if(i===null||!n&&a===null||n&&r===null||Cm(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<i.length;){let c=i[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&a.hasOwnProperty(c)){let d=a[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,i[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],i[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function hte(e,t,n,i,a){e.data[i]=a;let r=a.factory||(a.factory=mr(a.type)),s=new Us(r,za(a),Je);e.blueprint[i]=s,n[i]=s,pte(e,t,i,Q_(e,n,a.hostVars,_i),a)}function pte(e,t,n,i,a){let r=a.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;mte(s)!=l&&s.push(l),s.push(n,i,r)}}function mte(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function fte(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;za(t)&&(n[""]=e)}}function gte(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _x(e,t,n,i,a,r,s,l){let c=t.consts,d=br(c,s),u=Eo(t,e,2,i,d);return zm(t,n,u,br(c,l),a),u.mergedAttrs=co(u.mergedAttrs,u.attrs),u.attrs!==null&&Yh(u,u.attrs,!1),u.mergedAttrs!==null&&Yh(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function xx(e,t){mm(e,t),im(t)&&e.queries.elementEnd(t)}var vte=class extends Xs{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=no(t);return new jm(n,this.ngModule)}};function bte(e){return Object.keys(e).map(t=>{let[n,i,a]=e[t],r={propName:n,templateName:t,isSignal:(i&Od.SignalBased)!==0};return a&&(r.transform=a),r})}function yte(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _te(e,t,n){let i=t instanceof Va?t:t==null?void 0:t.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new nte(n,i):n}function xte(e){let t=e.get(na,null);if(t===null)throw new Z(407,!1);let n=e.get(ate,null),i=e.get(wo,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i}}function wte(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return U_(t,n,n==="svg"?q0:n==="math"?qX:null)}var jm=class extends bx{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=tee(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=bte(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=yte(this.componentDef.outputs)),this.cachedOutputs}create(t,n,i,a){let r=He(null);try{let s=this.componentDef,l=i?["ng-version","19.2.18"]:iee(this.componentDef.selectors[0]),c=Dm(0,null,null,1,0,null,null,null,null,[l],null),d=_te(s,a||this.ngModule,t),u=xte(d),m=u.rendererFactory.createRenderer(null,s),v=i?oee(m,i,s.encapsulation,d):wte(s,m),g=Im(null,c,null,512|X_(s),null,null,u,m,d,null,L_(v,d,!0));g[qt]=v,hm(g);let x=null;try{let w=_x(qt,c,g,"#host",()=>[this.componentDef],!0,0);v&&(Y_(m,v,w),ko(v,g)),Td(c,g,w),km(c,w,g),xx(c,w),n!==void 0&&kte(w,this.ngContentSelectors,n),x=Ba(w.index,g),g[ii]=x[ii],Mm(c,g,null)}catch(w){throw x!==null&&Bh(x),Bh(g),w}finally{vr(23),pm()}return new Ste(this.componentType,g)}finally{He(r)}}},Ste=class extends ete{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=am(n[Te],qt),this.location=So(this._tNode,n),this.instance=Ba(this._tNode.index,n)[ii],this.hostView=this.changeDetectorRef=new ys(n,void 0,!1),this.componentType=t}setInput(t,n){let i=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let a=this._rootLView;Nm(i,a[Te],a,t,n),this.previousInputValues.set(t,n);let r=Ba(i.index,a);Vm(r,1)}get injector(){return new rs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function kte(e,t,n){let i=e.projection=[];for(let a=0;a<t.length;a++){let r=n[a];i.push(r!=null&&r.length?Array.from(r):null)}}var bn=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Ete),e})();function Ete(){let e=yi();return Sx(e,ye())}var Cte=bn,wx=class extends Cte{constructor(t,n,i){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new rs(this._hostTNode,this._hostLView)}get parentInjector(){let t=fm(this._hostTNode,this._hostLView);if(s_(t)){let n=Dc(t,this._hostLView),i=Cc(t),a=n[Te].data[i+8];return new rs(a,n)}else return new rs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$g(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-gi}createEmbeddedView(t,n,i){let a,r;typeof i=="number"?a=i:i!=null&&(a=i.index,r=i.injector);let s=ho(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,a,uo(this._hostTNode,s)),l}createComponent(t,n,i,a,r){let s=t&&!zX(t),l;if(s)l=n;else{let x=n||{};l=x.index,i=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let c=s?t:new jm(no(t)),d=i||this.parentInjector;if(!r&&c.ngModule==null){let x=(s?d:this.parentInjector).get(Va,null);x&&(r=x)}let u=no(c.componentType??{}),m=ho(this._lContainer,(u==null?void 0:u.id)??null),v=null,g=c.create(d,a,v,r);return this.insertImpl(g.hostView,l,uo(this._hostTNode,m)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let a=t._lView;if(GX(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[vi],d=new wx(c,c[Pi],c[vi]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return Zs(s,a,r,i),t.attachToViewContainerRef(),I0(Su(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$g(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);i&&(xc(Su(this._lContainer),n),Md(i[Te],i))}detach(t){let n=this._adjustIndex(t,-1),i=bs(this._lContainer,n);return i&&xc(Su(this._lContainer),n)!=null?new ys(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function $g(e){return e[Sc]}function Su(e){return e[Sc]||(e[Sc]=[])}function Sx(e,t){let n,i=t[e.index];return gn(i)?n=i:(n=mx(i,t,null,e),t[e.index]=n,Am(t,n)),Ite(n,t,e,i),new wx(n,e,t)}function Dte(e,t){let n=e[Tt],i=n.createComment(""),a=qa(t,e),r=n.parentNode(a);return Nc(n,r,i,n.nextSibling(a),!1),i}var Ite=Ate;function Ate(e,t,n,i){if(e[gr])return;let a;n.type&8?a=ja(i):a=Dte(t,n),e[gr]=a}var Ote=class kx{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new kx(this.queryList)}setDirty(){this.queryList.setDirty()}},Tte=class Ex{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let i=t.contentQueries!==null?t.contentQueries[0]:n.length,a=[];for(let r=0;r<i;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];a.push(l.clone())}return new Ex(a)}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++)Hm(t,n).matches!==null&&this.queries[n].setDirty()}},Cx=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=zte(e):this.predicate=e}},Nte=class Dx{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){let a=n!==null?n.length:0,r=this.getByIndex(i).embeddedTView(t,a);r&&(r.indexInDeclarationView=i,n!==null?n.push(r):n=[r])}return n!==null?new Dx(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Mte=class Ix{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);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 Ix(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==n;)i=i.parent;return n===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let i=this.metadata.predicate;if(Array.isArray(i))for(let a=0;a<i.length;a++){let r=i[a];this.matchTNodeWithReadOption(t,n,Pte(n,r)),this.matchTNodeWithReadOption(t,n,rc(n,t,r,!1,!1))}else i===Ln?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,rc(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(i!==null){let a=this.metadata.read;if(a!==null)if(a===ze||a===bn||a===Ln&&n.type&4)this.addMatch(n.index,-2);else{let r=rc(n,t,a,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Pte(e,t){let n=e.localNames;if(n!==null){for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1]}return null}function Rte(e,t){return e.type&11?So(e,t):e.type&4?Fd(e,t):null}function Fte(e,t,n,i){return n===-1?Rte(t,e):n===-2?Lte(e,t,i):fs(e,e[Te],n,t)}function Lte(e,t,n){if(n===ze)return So(t,e);if(n===Ln)return Fd(t,e);if(n===bn)return Sx(t,e)}function Ax(e,t,n,i){let a=t[fa].queries[i];if(a.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(Fte(t,u,s[c+1],n.metadata.read))}}a.matches=l}return a.matches}function Wh(e,t,n,i){let a=e.queries.getByIndex(n),r=a.matches;if(r!==null){let s=Ax(e,t,a,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)i.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let m=gi;m<u.length;m++){let v=u[m];v[fr]===v[vi]&&Wh(v[Te],v,d,i)}if(u[lo]!==null){let m=u[lo];for(let v=0;v<m.length;v++){let g=m[v];Wh(g[Te],g,d,i)}}}}}return i}function Bm(e,t){return e[fa].queries[t].queryList}function Ox(e,t,n){let i=new Tc((n&4)===4);return KX(e,t,i,i.destroy),(t[fa]??(t[fa]=new Tte)).queries.push(new Ote(i))-1}function Vte(e,t,n){let i=gt();return i.firstCreatePass&&(Nx(i,new Cx(e,t,n),-1),(t&2)===2&&(i.staticViewQueries=!0)),Ox(i,ye(),t)}function Tx(e,t,n,i){let a=gt();if(a.firstCreatePass){let r=yi();Nx(a,new Cx(t,n,i),r.index),jte(a,e)}return Ox(a,ye(),n)}function zte(e){return e.split(",").map(t=>t.trim())}function Nx(e,t,n){e.queries===null&&(e.queries=new Nte),e.queries.track(new Mte(t,n))}function jte(e,t){let n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}function Hm(e,t){return e.queries.getByIndex(t)}function Mx(e,t){let n=e[Te],i=Hm(n,t);return i.crossesNgTemplate?Wh(n,e,t,[]):Ax(n,e,i,t)}function Px(e,t,n){let i,a=Oy(()=>{i._dirtyCounter();let r=qte(i,e);if(t&&r===void 0)throw new Z(-951,!1);return r});return i=a[fi],i._dirtyCounter=Pa(0),i._flatValue=void 0,a}function Bte(e){return Px(!0,!1)}function Hte(e){return Px(!0,!0)}function $te(e,t){let n=e[fi];n._lView=ye(),n._queryIndex=t,n._queryList=Bm(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(i=>i+1))}function qte(e,t){let n=e._lView,i=e._queryIndex;if(n===void 0||i===void 0||n[ke]&4)return t?void 0:Di;let a=Bm(n,i),r=Mx(n,i);return a.reset(r,k_),t?a.first:a._changesDetected||e._flatValue===void 0?e._flatValue=a.toArray():e._flatValue}function qg(e,t){return Bte()}function Ute(e,t){return Hte()}var Gte=(qg.required=Ute,qg);function Rx(e,t){let n=Object.create(m0),i=new S_;n.value=e;function a(){return Fs(n),Ug(n.value),n.value}return a[fi]=n,a.asReadonly=ym.bind(a),a.set=r=>{n.equal(n.value,r)||(Vs(n,r),i.emit(r))},a.update=r=>{Ug(n.value),a.set(r(n.value))},a.subscribe=i.subscribe.bind(i),a.destroyRef=i.destroyRef,a}function Ug(e){if(e===fd)throw new Z(952,!1)}function Gg(e,t){return Rx(e)}function Yte(e){return Rx(fd)}var Wte=(Gg.required=Yte,Gg),_s=class{},Fx=class extends _s{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new vte(this));o(this,"instance",null);let n=new tm([...t.providers,{provide:_s,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],t.parent||bd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Kte(e,t,n=null){return new Fx({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Zte=(()=>{const t=class t{constructor(i){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let a=M0(!1,i.type),r=a.length>0?Kte([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",q({token:t,providedIn:"environment",factory:()=>new t(pe(Va))}));let e=t;return e})();function Ce(e){return js(()=>{let t=Lx(e),n=Qe(Q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===D_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Zte).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||Di,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ar("NgStandalone"),Vx(n);let i=e.dependencies;return n.directiveDefs=Yg(i,!1),n.pipeDefs=Yg(i,!0),n.id=tie(n),n})}function Xte(e){return no(e)||N0(e)}function Qte(e){return e!==null}function Et(e){return js(()=>({type:e.type,bootstrap:e.bootstrap||Di,declarations:e.declarations||Di,imports:e.imports||Di,exports:e.exports||Di,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jte(e,t){if(e==null)return La;let n={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i],r,s,l,c;Array.isArray(a)?(l=a[0],r=a[1],s=a[2]??r,c=a[3]||null):(r=a,s=a,l=Od.None,c=null),n[r]=[i,l,c],t[r]=s}return n}function eie(e){if(e==null)return La;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Se(e){return js(()=>{let t=Lx(e);return Vx(t),t})}function Co(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Lx(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||La,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Di,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jte(e.inputs,t),outputs:eie(e.outputs),debugInfo:null}}function Vx(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function Yg(e,t){if(!e)return null;let n=t?IX:Xte;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(Qte)}function tie(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of i.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function iie(e){return Object.getPrototypeOf(e.prototype).constructor}function Ft(e){let t=iie(e.type),n=!0,i=[e];for(;t;){let a;if(za(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Z(903,!1);a=t.ɵdir}if(a){if(n){i.push(a);let s=e;s.inputs=ku(e.inputs),s.declaredInputs=ku(e.declaredInputs),s.outputs=ku(e.outputs);let l=a.hostBindings;l&&sie(e,l);let c=a.viewQuery,d=a.contentQueries;if(c&&rie(e,c),d&&oie(e,d),aie(e,a),sX(e.outputs,a.outputs),za(a)&&a.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===Ft&&(n=!1)}}t=Object.getPrototypeOf(t)}nie(i)}function aie(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function nie(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=co(a.hostAttrs,n=co(n,a.hostAttrs))}}function ku(e){return e===La?{}:e===Di?[]:e}function rie(e,t){let n=e.viewQuery;n?e.viewQuery=(i,a)=>{t(i,a),n(i,a)}:e.viewQuery=t}function oie(e,t){let n=e.contentQueries;n?e.contentQueries=(i,a,r)=>{t(i,a,r),n(i,a,r)}:e.contentQueries=t}function sie(e,t){let n=e.hostBindings;n?e.hostBindings=(i,a)=>{t(i,a),n(i,a)}:e.hostBindings=t}function lie(e){let t=n=>{let i=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=zx,n.hostDirectives=i?e.map(Kh):[e]):i?n.hostDirectives.unshift(...e.map(Kh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function zx(e,t,n){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i=="function"){let a=i();for(let r of a)Wg(Kh(r),t,n)}else Wg(i,t,n)}function Wg(e,t,n){let i=N0(e.directive);cie(i.declaredInputs,e.inputs),zx(i,t,n),n.set(i,e),t.push(i)}function Kh(e){return typeof e=="function"?{directive:ci(e),inputs:La,outputs:La}:{directive:ci(e.directive),inputs:Kg(e.inputs),outputs:Kg(e.outputs)}}function Kg(e){if(e===void 0||e.length===0)return La;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function cie(e,t){for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],a=e[n];e[i]=a}}function jx(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ld(e,t,n){return e[t]=n}function Bx(e,t){return e[t]}function Ni(e,t,n){let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function xs(e,t,n,i){let a=Ni(e,t,n);return Ni(e,t+1,i)||a}function die(e,t,n,i,a){let r=xs(e,t,n,i);return Ni(e,t+2,a)||r}function uie(e,t,n,i,a,r){let s=xs(e,t,n,i);return xs(e,t+2,a,r)||s}function hie(e,t,n,i,a,r,s,l,c){let d=t.consts,u=Eo(t,e,4,s||null,l||null);zm(t,n,u,br(d,c),Tm),u.mergedAttrs=co(u.mergedAttrs,u.attrs),mm(t,u);let m=u.tView=Dm(2,u,i,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),m.queries=t.queries.embeddedTView(u)),u}function Hx(e,t,n,i,a,r,s,l,c,d){let u=n+qt,m=t.firstCreatePass?hie(u,t,e,i,a,r,s,l,c):t.data[u];$n(m,!1);let v=pie(t,e);Ed()&&Pd(t,e,v,m),ko(v,e);let g=mx(v,e,v,m);return e[u]=g,Am(e,g),xd(m)&&Td(t,e,m),c!=null&&Om(e,m,d),m}function ne(e,t,n,i,a,r,s,l){let c=ye(),d=gt(),u=br(d.consts,r);return Hx(c,d,e,t,n,i,a,u,s,l),ne}var pie=mie;function mie(e,t,n,i){return Cd(!0),t[Tt].createComment("")}var fie=new $(""),$x=(()=>{const t=class t{};o(t,"ɵprov",q({token:t,providedIn:"root",factory:()=>new gie}));let e=t;return e})(),gie=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Vd(e){return!!e&&typeof e.then=="function"}function qx(e){return!!e&&typeof e.subscribe=="function"}var vie=new $(""),Ux=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((i,a)=>{this.resolve=i,this.reject=a}));o(this,"appInits",S(vie,{optional:!0})??[]);o(this,"injector",S(lt))}runInitializers(){if(this.initialized)return;let i=[];for(let r of this.appInits){let s=yd(this.injector,r);if(Vd(s))i.push(s);else if(qx(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});i.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(r=>{this.reject(r)}),i.length===0&&a(),this.initialized=!0}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bie=new $("");function yie(){XK(()=>{throw new Z(600,!1)})}function _ie(e){return e.isBoundToModule}var xie=10,Vn=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",S(zQ));o(this,"afterRenderManager",S(R_));o(this,"zonelessEnabled",S(b_));o(this,"rootEffectScheduler",S($x));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new ce);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",S(Gs).hasPendingTasks.pipe(xt(i=>!i)));o(this,"_injector",S(Va));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var a;if(this._runningTick)throw new Z(101,!1);let i=He(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,He(i),this.afterTick.next()}});S(Ys,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let i;return new Promise(a=>{i=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{i.unsubscribe()})}get injector(){return this._injector}bootstrap(i,a){return this.bootstrapImpl(i,a)}bootstrapImpl(i,a,r=lt.NULL){let s=i instanceof bx;if(!this._injector.get(Ux).done){let g="";throw new Z(405,g)}let l;s?l=i:l=this._injector.get(Xs).resolveComponentFactory(i),this.componentTypes.push(l.componentType);let c=_ie(l)?void 0:this._injector.get(_s),d=a||l.selector,u=l.create(r,[],d,c),m=u.location.nativeElement,v=u.injector.get(fie,null);return v==null||v.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),oc(this.components,u),v==null||v.unregisterApplication(m)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(xm.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(na,null,{optional:!0}));let i=0;for(;this.dirtyFlags!==0&&i++<xie;)this.synchronizeOnce()}synchronizeOnce(){var i,a,r,s;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)wie(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(i=this._rendererFactory)==null?void 0:i.begin)==null||a.call(i),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:i})=>$s(i))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(i){let a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){let a=i;oc(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(bie,[]).forEach(a=>a(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>oc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Z(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function oc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wie(e,t,n,i){!n&&!$s(e)||dx(e,t,n&&!i?0:1)}function _e(e,t,n,i){let a=ye(),r=Ir();if(Ni(a,r,t)){gt();let s=qs();hee(s,a,e,t,n,i)}return _e}function $m(e,t,n,i){return Ni(e,Ir(),n)?t+Ma(n)+i:_i}function Sie(e,t,n,i,a,r){let s=Q0(),l=xs(e,s,n,a);return Sd(2),l?t+Ma(n)+i+Ma(a)+r:_i}function kie(e,t,n,i,a,r,s,l){let c=Q0(),d=die(e,c,n,a,s);return Sd(3),d?t+Ma(n)+i+Ma(a)+r+Ma(s)+l:_i}function Dl(e,t){return e<<17|t<<2}function wr(e){return e>>17&32767}function Eie(e){return(e&2)==2}function Cie(e,t){return e&131071|t<<17}function Zh(e){return e|2}function po(e){return(e&131068)>>2}function Eu(e,t){return e&-131069|t<<2}function Die(e){return(e&1)===1}function Xh(e){return e|1}function Iie(e,t,n,i,a,r){let s=r?t.classBindings:t.styleBindings,l=wr(s),c=po(s);e[i]=n;let d=!1,u;if(Array.isArray(n)){let m=n;u=m[1],(u===null||Bs(m,u)>0)&&(d=!0)}else u=n;if(a)if(c!==0){let m=wr(e[l+1]);e[i+1]=Dl(m,l),m!==0&&(e[m+1]=Eu(e[m+1],i)),e[l+1]=Cie(e[l+1],i)}else e[i+1]=Dl(l,0),l!==0&&(e[l+1]=Eu(e[l+1],i)),l=i;else e[i+1]=Dl(c,0),l===0?l=i:e[c+1]=Eu(e[c+1],i),c=i;d&&(e[i+1]=Zh(e[i+1])),Zg(e,u,i,!0),Zg(e,u,i,!1),Aie(t,u,e,i,r),s=Dl(l,c),r?t.classBindings=s:t.styleBindings=s}function Aie(e,t,n,i,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Bs(r,t)>=0&&(n[i+1]=Xh(n[i+1]))}function Zg(e,t,n,i){let a=e[n+1],r=t===null,s=i?wr(a):po(a),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];Oie(c,t)&&(l=!0,e[s+1]=i?Xh(d):Zh(d)),s=i?wr(d):po(d)}l&&(e[n+1]=i?Zh(a):Xh(a))}function Oie(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bs(e,t)>=0:!1}var pa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tie(e){return e.substring(pa.key,pa.keyEnd)}function Nie(e){return Mie(e),Gx(e,Yx(e,0,pa.textEnd))}function Gx(e,t){let n=pa.textEnd;return n===t?-1:(t=pa.keyEnd=Pie(e,pa.key=t,n),Yx(e,t,n))}function Mie(e){pa.key=0,pa.keyEnd=0,pa.value=0,pa.valueEnd=0,pa.textEnd=e.length}function Yx(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Pie(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function W(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return W}function Qh(e,t,n,i,a){Nm(t,e,n,a?"class":"style",i)}function zd(e,t,n){return Kx(e,t,n,!1),zd}function We(e,t){return Kx(e,t,null,!0),We}function Sr(e){Zx(jie,Wx,e,!0)}function Wx(e,t){for(let n=Nie(t);n>=0;n=Gx(t,n))vd(e,Tie(t),!0)}function Kx(e,t,n,i){let a=ye(),r=gt(),s=Sd(2);if(r.firstUpdatePass&&Qx(r,e,s,i),t!==_i&&Ni(a,s,t)){let l=r.data[ga()];Jx(r,l,a,a[Tt],e,a[s+1]=Hie(t,n),i,s)}}function Zx(e,t,n,i){let a=gt(),r=Sd(2);a.firstUpdatePass&&Qx(a,null,r,i);let s=ye();if(n!==_i&&Ni(s,r,n)){let l=a.data[ga()];if(e1(l,i)&&!Xx(a,r)){let c=l.classesWithoutHost;c!==null&&(n=Eh(c,n||"")),Qh(a,l,s,n,i)}else Bie(a,l,s,s[Tt],s[r+1],s[r+1]=zie(e,t,n),i,r)}}function Xx(e,t){return t>=e.expandoStartIndex}function Qx(e,t,n,i){let a=e.data;if(a[n+1]===null){let r=a[ga()],s=Xx(e,n);e1(r,i)&&t===null&&!s&&(t=!1),t=Rie(a,r,t,i),Iie(a,r,t,n,s,i)}}function Rie(e,t,n,i){let a=sQ(e),r=i?t.residualClasses:t.residualStyles;if(a===null)(i?t.classBindings:t.styleBindings)===0&&(n=Cu(null,e,t,n,i),n=ws(n,t.attrs,i),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==a)if(n=Cu(a,e,t,n,i),r===null){let l=Fie(e,t,i);l!==void 0&&Array.isArray(l)&&(l=Cu(null,e,t,l[1],i),l=ws(l,t.attrs,i),Lie(e,t,i,l))}else r=Vie(e,t,i)}return r!==void 0&&(i?t.residualClasses=r:t.residualStyles=r),n}function Fie(e,t,n){let i=n?t.classBindings:t.styleBindings;if(po(i)!==0)return e[wr(i)]}function Lie(e,t,n,i){let a=n?t.classBindings:t.styleBindings;e[wr(a)]=i}function Vie(e,t,n){let i,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let s=e[r].hostAttrs;i=ws(i,s,n)}return ws(i,t.attrs,n)}function Cu(e,t,n,i,a){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],i=ws(i,r.hostAttrs,a),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),i}function ws(e,t,n){let i=n?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?a=s:a===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vd(e,s,n?!0:t[++r]))}return e===void 0?null:e}function zie(e,t,n){if(n==null||n==="")return Di;let i=[],a=nn(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(i,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(i,r,a[r]);else typeof a=="string"&&t(i,a);return i}function jie(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&vd(e,i,n)}function Bie(e,t,n,i,a,r,s,l){a===_i&&(a=Di);let c=0,d=0,u=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;u!==null||m!==null;){let v=c<a.length?a[c+1]:void 0,g=d<r.length?r[d+1]:void 0,x=null,w;u===m?(c+=2,d+=2,v!==g&&(x=m,w=g)):m===null||u!==null&&u<m?(c+=2,x=u):(d+=2,x=m,w=g),x!==null&&Jx(e,t,n,i,x,w,s,l),u=c<a.length?a[c]:null,m=d<r.length?r[d]:null}}function Jx(e,t,n,i,a,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=Die(d)?Xg(c,t,n,a,po(d),s):void 0;if(!Pc(u)){Pc(r)||Eie(d)&&(r=Xg(c,null,n,a,l,s));let m=U0(ga(),n);Oee(i,s,m,a,r)}}function Xg(e,t,n,i,a,r){let s=t===null,l;for(;a>0;){let c=e[a],d=Array.isArray(c),u=d?c[1]:c,m=u===null,v=n[a+1];v===_i&&(v=m?Di:void 0);let g=m?gu(v,i):u===i?v:void 0;if(d&&!Pc(g)&&(g=gu(c,i)),Pc(g)&&(l=g,s))return l;let x=e[a+1];a=s?wr(x):po(x)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=gu(c,i))}return l}function Pc(e){return e!==void 0}function Hie(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ta(nn(e)))),e}function e1(e,t){return(e.flags&(t?8:16))!==0}function $ie(e,t,n){let i=ye(),a=$m(i,e,t,n);Zx(vd,Wx,a,!0)}var qie=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),i=Math.max(e,t),a=this.detach(i);if(i-n>1){let r=this.detach(n);this.attach(n,a),this.attach(i,r)}else this.attach(n,a)}move(e,t){this.attach(t,this.detach(e))}};function Du(e,t,n,i,a){return e===n&&Object.is(t,i)?1:Object.is(a(e,t),a(n,i))?-1:0}function Uie(e,t,n){let i,a,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=Du(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let m=e.at(s),v=t[l],g=Du(s,m,l,v,n);if(g!==0){g<0&&e.updateValue(s,v),s--,l--;continue}let x=n(r,c),w=n(s,m),E=n(r,d);if(Object.is(E,w)){let N=n(l,v);Object.is(N,x)?(e.swap(r,s),e.updateValue(s,v),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(i??(i=new ev),a??(a=Jg(e,r,s,n)),Jh(e,i,r,E))e.updateValue(r,d),r++,s++;else if(a.has(E))i.set(x,e.detach(r)),s--;else{let N=e.create(r,t[r]);e.attach(r,N),r++,s++}}for(;r<=l;)Qg(e,i,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,m=Du(r,d,r,u,n);if(m!==0)m<0&&e.updateValue(r,u),r++,c=l.next();else{i??(i=new ev),a??(a=Jg(e,r,s,n));let v=n(r,u);if(Jh(e,i,r,v))e.updateValue(r,u),r++,s++,c=l.next();else if(!a.has(v))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);i.set(g,e.detach(r)),s--}}}for(;!c.done;)Qg(e,i,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));i==null||i.forEach(l=>{e.destroy(l)})}function Jh(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function Qg(e,t,n,i,a){if(Jh(e,t,i,n(i,a)))e.updateValue(i,a);else{let r=e.create(i,a);e.attach(i,r)}}function Jg(e,t,n,i){let a=new Set;for(let r=t;r<=n;r++)a.add(i(r,e.at(r)));return a}var ev=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}};function se(e,t){Ar("NgControlFlow");let n=ye(),i=Ir(),a=n[i]!==_i?n[i]:-1,r=a!==-1?Rc(n,qt+a):void 0,s=0;if(Ni(n,i,e)){let l=He(null);try{if(r!==void 0&&gx(r,s),e!==-1){let c=qt+e,d=Rc(n,c),u=ep(n[Te],c),m=ho(d,u.tView.ssrId),v=Ks(n,u,t,{dehydratedView:m});Zs(d,v,s,uo(u,m))}}finally{He(l)}}else if(r!==void 0){let l=fx(r,s);l!==void 0&&(l[ii]=t)}}var Gie=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-gi}};function ba(e,t){return t}var Yie=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ri(e,t,n,i,a,r,s,l,c,d,u,m,v){Ar("NgControlFlow");let g=ye(),x=gt(),w=c!==void 0,E=ye(),N=l?s.bind(E[Hi][ii]):s,V=new Yie(w,N);E[qt+e]=V,Hx(g,x,e+1,t,n,i,a,br(x.consts,r))}var Wie=class extends qie{constructor(t,n,i){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-gi}at(t){return this.getLView(t)[ii].$implicit}attach(t,n){let i=n[oo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Zs(this.lContainer,n,t,uo(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Kie(this.lContainer,t)}create(t,n){var r;let i=ho(this.lContainer,this.templateTNode.tView.ssrId),a=Ks(this.hostLView,this.templateTNode,new Gie(this.lContainer,n,t),{dehydratedView:i});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var n;Md(t[Te],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[ii].$implicit=n}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ii].$index=t}getLView(t){return Zie(this.lContainer,t)}};function Fi(e){let t=He(null),n=ga();try{let i=ye(),a=i[Te],r=i[n],s=n+1,l=Rc(i,s);if(r.liveCollection===void 0){let d=ep(a,s);r.liveCollection=new Wie(l,i,d)}else r.liveCollection.reset();let c=r.liveCollection;if(Uie(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=Ir(),u=c.length===0;if(Ni(i,d,u)){let m=n+2,v=Rc(i,m);if(u){let g=ep(a,m),x=ho(v,g.tView.ssrId),w=Ks(i,g,void 0,{dehydratedView:x});Zs(v,w,0,uo(g,x))}else gx(v,0)}}}finally{He(t)}}function Rc(e,t){return e[t]}function Kie(e,t){return bs(e,t)}function Zie(e,t){return fx(e,t)}function ep(e,t){return am(e,t)}function I(e,t,n,i){let a=ye(),r=gt(),s=qt+e,l=a[Tt],c=r.firstCreatePass?_x(s,r,a,t,Tm,JX(),n,i):r.data[s],d=Xie(r,a,c,l,t);a[s]=d;let u=xd(c);return $n(c,!0),Y_(l,d,c),!Rm(c)&&Ed()&&Pd(r,a,d,c),(ZX()===0||u)&&ko(d,a),XX(),u&&(Td(r,a,c),km(r,c,a)),i!==null&&Om(a,c),I}function T(){let e=yi();cm()?dm():(e=e.parent,$n(e,!1));let t=e;eQ(t)&&tQ(),QX();let n=gt();return n.firstCreatePass&&xx(n,t),t.classesWithoutHost!=null&&mQ(t)&&Qh(n,t,ye(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&fQ(t)&&Qh(n,t,ye(),t.stylesWithoutHost,!1),T}function he(e,t,n,i){return I(e,t,n,i),T(),he}var Xie=(e,t,n,i,a,r)=>(Cd(!0),U_(i,a,uQ()));function Qie(e,t,n,i,a){let r=t.consts,s=br(r,i),l=Eo(t,e,8,"ng-container",s);s!==null&&Yh(l,s,!0);let c=br(r,a);return zm(t,n,l,c,Tm),l.mergedAttrs=co(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function t1(e,t,n){let i=ye(),a=gt(),r=e+qt,s=a.firstCreatePass?Qie(r,a,i,t,n):a.data[r];$n(s,!0);let l=Jie(a,i);return i[r]=l,Ed()&&Pd(a,i,l,s),ko(l,i),xd(s)&&(Td(a,i,s),km(a,s,i)),n!=null&&Om(i,s),t1}function i1(){let e=yi(),t=gt();return cm()?dm():(e=e.parent,$n(e,!1)),t.firstCreatePass&&(mm(t,e),im(e)&&t.queries.elementEnd(e)),i1}function Qs(e,t,n){return t1(e,t,n),i1(),Qs}var Jie=(e,t,n,i)=>(Cd(!0),zJ(t[Tt],""));function Ke(){return ye()}function yn(e,t,n){let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!0)}return yn}var Kn=void 0;function eae(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var tae=["en",[["a","p"],["AM","PM"],Kn],[["AM","PM"],Kn,Kn],[["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"]],Kn,[["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"]],Kn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Kn,"{1} 'at' {0}",Kn],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",eae],os={};function iae(e,t,n){typeof t!="string"&&(n=t,t=e[Zt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),os[t]=e,n&&(os[t][Zt.ExtraData]=n)}function ya(e){let t=aae(e),n=tv(t);if(n)return n;let i=t.split("-")[0];if(n=tv(i),n)return n;if(i==="en")return tae;throw new Z(701,!1)}function tv(e){return e in os||(os[e]=Dn.ng&&Dn.ng.common&&Dn.ng.common.locales&&Dn.ng.common.locales[e]),os[e]}var Zt=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}(Zt||{});function aae(e){return e.toLowerCase().replace(/_/g,"-")}var tp="en-US";function nae(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function iv(e,t,n){return function i(a){if(a===Function)return n;let r=bo(e)?Ba(e.index,t):t;Vm(r,5);let s=t[ii],l=av(t,s,n,a),c=i.__ngNextListenerFn__;for(;c;)l=av(t,s,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function av(e,t,n,i){let a=He(null);try{return vr(6,t,n),n(i)!==!1}catch(r){return rae(e,r),!1}finally{He(a)}}function rae(e,t){let n=e[so],i=n?n.get(va,null):null;i&&i.handleError(t)}function nv(e,t,n,i,a,r){let s=t[n],l=t[Te],c=l.data[n].outputs[i],d=s[c],u=l.firstCreatePass?lm(l):null,m=sm(t),v=d.subscribe(r),g=m.length;m.push(r,v),u&&u.push(a,e.index,g,-(g+1))}function de(e,t,n,i){let a=ye(),r=gt(),s=yi();return a1(r,a,a[Tt],s,e,t,i),de}function oae(e,t,n,i){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let s=a[r];if(s===n&&a[r+1]===i){let l=t[Xr],c=a[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function a1(e,t,n,i,a,r,s){var m,v;let l=xd(i),c=e.firstCreatePass?lm(e):null,d=sm(t),u=!0;if(i.type&3||s){let g=qa(i,t),x=s?s(g):g,w=d.length,E=s?V=>s(ja(V[i.index])):i.index,N=null;if(!s&&l&&(N=oae(e,t,a,i.index)),N!==null){let V=N.__ngLastListenerFn__||N;V.__ngNextListenerFn__=r,N.__ngLastListenerFn__=r,u=!1}else{r=iv(i,t,r);let V=n.listen(x,a,r);d.push(r,V),c&&c.push(a,E,w,w+1)}}else r=iv(i,t,r);if(u){let g=(m=i.outputs)==null?void 0:m[a],x=(v=i.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let w=0;w<x.length;w+=2){let E=x[w],N=x[w+1];nv(i,t,E,N,a,r)}if(g&&g.length)for(let w of g)nv(i,t,w,a,a,r)}}function P(e=1){return cQ(e)}function sae(e,t){let n=null,i=ZJ(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){n=a;continue}if(i===null?Z_(e,r,!0):JJ(i,r))return a}return n}function Li(e){let t=ye()[Hi][Pi];if(!t.projection){let n=e?e.length:1,i=t.projection=EX(n,null),a=i.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?sae(r,e):0;s!==null&&(a[s]?a[s].projectionNext=r:i[s]=r,a[s]=r)}r=r.next}}}function dt(e,t=0,n,i,a,r){let s=ye(),l=gt(),c=null,d=Eo(l,qt+e,16,null,null);d.projection===null&&(d.projection=t),dm();let u=!s[oo]||W0();s[Hi][Pi].projection[d.projection]===null&&c!==null?lae(s,l,c):u&&!Rm(d)&&Iee(l,s,d)}function lae(e,t,n){let i=qt+n,a=t.data[i],r=e[i],s=ho(r,a.tView.ssrId),l=Ks(e,a,void 0,{dehydratedView:s});Zs(r,l,0,uo(a,s))}function jd(e,t,n){return n1(e,"",t,"",n),jd}function n1(e,t,n,i,a){let r=ye(),s=$m(r,t,n,i);if(s!==_i){let l=gt(),c=qs();Nd(l,c,r,e,s,r[Tt],a,!1)}return n1}function pi(e,t,n,i){Tx(e,t,n,i)}function mt(e,t,n){Vte(e,t,n)}function Re(e){let t=ye(),n=gt(),i=um();kd(i+1);let a=Hm(n,i);if(e.dirty&&UX(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=Mx(t,i);e.reset(r,k_),e.notifyOnChanges()}return!0}return!1}function Fe(){return Bm(ye(),um())}function cae(e,t,n,i,a){$te(t,Tx(e,n,i,a))}function dae(e=1){kd(um()+e)}function Qi(e){let t=Z0();return wd(t,qt+e)}function B(e,t=""){let n=ye(),i=gt(),a=e+qt,r=i.firstCreatePass?Eo(i,a,1,t,null):i.data[a],s=uae(i,n,r,t);n[a]=s,Ed()&&Pd(i,n,s,r),$n(r,!1)}var uae=(e,t,n,i,a)=>(Cd(!0),LJ(t[Tt],i));function we(e){return Ie("",e,""),we}function Ie(e,t,n){let i=ye(),a=$m(i,e,t,n);return a!==_i&&qm(i,ga(),a),Ie}function kr(e,t,n,i,a){let r=ye(),s=Sie(r,e,t,n,i,a);return s!==_i&&qm(r,ga(),s),kr}function r1(e,t,n,i,a,r,s){let l=ye(),c=kie(l,e,t,n,i,a,r,s);return c!==_i&&qm(l,ga(),c),r1}function qm(e,t,n){let i=U0(t,e);VJ(e[Tt],i,n)}function Ha(e,t,n){E_(t)&&(t=t());let i=ye(),a=Ir();if(Ni(i,a,t)){let r=gt(),s=qs();Nd(r,s,i,e,t,i[Tt],n,!1)}return Ha}function pn(e,t){let n=E_(e);return n&&e.set(t),n}function $a(e,t){let n=ye(),i=gt(),a=yi();return a1(i,n,n[Tt],a,e,t),$a}var o1={};function Um(e){let t=gt(),n=ye(),i=e+qt,a=Eo(t,i,128,null,null);return $n(a,!1),nm(t,n,i,o1),Um}function rv(e){Ar("NgLet");let t=gt(),n=ye(),i=ga();return nm(t,n,i,e),e}function ov(e){let t=Z0(),n=wd(t,qt+e);if(n===o1)throw new Z(314,!1);return n}function hae(e,t,n){let i=gt();if(i.firstCreatePass){let a=za(e);ip(n,i.data,i.blueprint,a,!0),ip(t,i.data,i.blueprint,a,!1)}}function ip(e,t,n,i,a){if(e=ci(e),Array.isArray(e))for(let r=0;r<e.length;r++)ip(e[r],t,n,i,a);else{let r=gt(),s=ye(),l=yi(),c=ro(e)?e:ci(e.provide),d=F0(e),u=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(ro(e)||!e.multi){let g=new Us(d,a,Je),x=Au(c,t,a?u:u+v,m);x===-1?(Lh(Ac(l,s),r,c),Iu(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[x]=g,s[x]=g)}else{let g=Au(c,t,u+v,m),x=Au(c,t,u,u+v),w=g>=0&&n[g],E=x>=0&&n[x];if(a&&!E||!a&&!w){Lh(Ac(l,s),r,c);let N=fae(a?mae:pae,n.length,a,i,d);!a&&E&&(n[x].providerFactory=N),Iu(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=s1(n[a?x:g],d,!a&&i);Iu(r,e,g>-1?g:x,N)}!a&&i&&E&&n[x].componentProviders++}}}function Iu(e,t,n,i){let a=ro(t),r=MX(t);if(a||r){let s=(r?ci(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[i,s]):l[c+1].push(i,s)}else l.push(n,s)}}}function s1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Au(e,t,n,i){for(let a=n;a<i;a++)if(t[a]===e)return a;return-1}function pae(e,t,n,i,a){return ap(this.multi,[])}function mae(e,t,n,i,a){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=fs(i,i[Te],this.providerFactory.index,a);s=c.slice(0,l),ap(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],ap(r,s);return s}function ap(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function fae(e,t,n,i,a){let r=new Us(e,n,Je);return r.multi=[],r.index=t,r.componentProviders=0,s1(r,a,i&&!n),r}function xi(e,t=[]){return n=>{n.providersResolver=(i,a)=>hae(i,a?a(e):e,t)}}function l1(e,t,n){let i=xo()+e,a=ye();return a[i]===_i?Ld(a,i,t()):Bx(a,i)}function Fc(e,t,n,i){return d1(ye(),xo(),e,t,n,i)}function gae(e,t,n,i,a){return u1(ye(),xo(),e,t,n,i,a)}function vae(e,t,n,i,a,r,s,l){let c=xo()+e,d=ye(),u=uie(d,c,n,i,a,r);return Ni(d,c+4,s)||u?Ld(d,c+5,t(n,i,a,r,s)):Bx(d,c+5)}function c1(e,t){let n=e[t];return n===_i?void 0:n}function d1(e,t,n,i,a,r){let s=t+n;return Ni(e,s,a)?Ld(e,s+1,r?i.call(r,a):i(a)):c1(e,s+1)}function u1(e,t,n,i,a,r,s){let l=t+n;return xs(e,l,a,r)?Ld(e,l+2,s?i.call(s,a,r):i(a,r)):c1(e,l+2)}function H(e,t){let n=gt(),i,a=e+qt;n.firstCreatePass?(i=bae(t,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];let r=i.factory||(i.factory=mr(i.type)),s=Ai(Je);try{let l=Ic(!1),c=r();return Ic(l),nm(n,ye(),a,c),c}finally{Ai(s)}}function bae(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function K(e,t,n){let i=e+qt,a=ye(),r=wd(a,i);return h1(a,i)?d1(a,xo(),t,r.transform,n,r):r.transform(n)}function qn(e,t,n,i){let a=e+qt,r=ye(),s=wd(r,a);return h1(r,a)?u1(r,xo(),t,s.transform,n,i,s):s.transform(n,i)}function h1(e,t){return e[Te].data[t].pure}function np(e,t){return Fd(e,t)}var yae=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},sv=new yae("19.2.18"),_ae=(()=>{const t=class t{constructor(){o(this,"zone",S(Ne));o(this,"changeDetectionScheduler",S(wo));o(this,"applicationRef",S(Vn));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;(i=this._onMicrotaskEmptySubscription)==null||i.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xae({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ne(Qe(Q({},wae()),{scheduleInRootZone:n}))),[{provide:Ne,useFactory:e},{provide:wc,multi:!0,useFactory:()=>{let i=S(_ae,{optional:!0});return()=>i.initialize()}},{provide:wc,multi:!0,useFactory:()=>{let i=S(Sae);return()=>{i.initialize()}}},t===!0?{provide:y_,useValue:!0}:[],{provide:__,useValue:n??g_}]}function wae(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var Sae=(()=>{const t=class t{constructor(){o(this,"subscription",new ct);o(this,"initialized",!1);o(this,"zone",S(Ne));o(this,"pendingTasks",S(Gs))}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),i??(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),kae=(()=>{var t;const n=class n{constructor(){o(this,"appRef",S(Vn));o(this,"taskService",S(Gs));o(this,"ngZone",S(Ne));o(this,"zonelessEnabled",S(b_));o(this,"tracing",S(Ys,{optional:!0}));o(this,"disableScheduling",S(y_,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new ct);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Oc):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(__,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof FQ||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?Cg:x_;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Oc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Cg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(a){return new(a||n)}),o(n,"ɵprov",q({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function Eae(){return typeof $localize<"u"&&$localize.locale||tp}var Bd=new $("",{providedIn:"root",factory:()=>S(Bd,Ue.Optional|Ue.SkipSelf)||Eae()}),rp=new $(""),Cae=new $("");function jo(e){return!e.moduleRef}function Dae(e){let t=jo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{jo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(va,null),a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:r=>{i.handleError(r)}})}),jo(e)){let r=()=>t.destroy(),s=e.platformInjector.get(rp);s.add(r),t.onDestroy(()=>{a.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(rp);s.add(r),e.moduleRef.onDestroy(()=>{oc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),s.delete(r)})}return Aae(i,n,()=>{let r=t.get(Ux);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(Bd,tp);if(nae(s||tp),!t.get(Cae,!0))return jo(e)?t.get(Vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(jo(e)){let l=t.get(Vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Iae(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Iae(e,t){let n=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new Z(-403,!1);t.push(e)}function Aae(e,t,n){try{let i=n();return Vd(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}var sc=null;function Oae(e=[],t){return lt.create({name:t,providers:[{provide:em,useValue:"platform"},{provide:rp,useValue:new Set([()=>sc=null])},...e]})}function Tae(e=[]){if(sc)return sc;let t=Oae(e);return sc=t,yie(),Nae(t),t}function Nae(e){let t=e.get(M_,null);yd(e,()=>{t==null||t.forEach(n=>n())})}function Mae(){return!1}var Lt=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Pae),e})();function Pae(e){return Rae(yi(),ye(),(e&16)===16)}function Rae(e,t,n){if(bo(e)&&!n){let i=Ba(e.index,t);return new ys(i,i)}else if(e.type&175){let i=t[Hi];return new ys(i,t)}return null}var Fae=class{constructor(){}supports(e){return e instanceof Map||jx(e)}create(){return new Lae}},Lae=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||jx(e)))throw new Z(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(i,n);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,t);let a=i._prev,r=i._next;return a&&(a._next=r),r&&(r._prev=a),i._next=null,i._prev=null,i}let n=new Vae(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},Vae=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function lv(){return new p1([new Fae])}var p1=(()=>{const t=class t{constructor(i){o(this,"factories");this.factories=i}static create(i,a){if(a){let r=a.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:a=>t.create(i,a||lv()),deps:[[t,new D0,new C0]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a)return a;throw new Z(901,!1)}};o(t,"ɵprov",q({token:t,providedIn:"root",factory:lv}));let e=t;return e})();function zae(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??Tae(i),s=[xae({}),{provide:wo,useExisting:kae},...n||[]],l=new Fx({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return Dae({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function qe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sn(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ha(e){return aZ(e)}function Ti(e,t){return Oy(e,t==null?void 0:t.equal)}var my,jae=(my=fi,class{constructor(e){o(this,my);this[fi]=e}destroy(){this[fi].destroy()}});function m1(e,t){!(t!=null&&t.injector)&&Hs();let n=(t==null?void 0:t.injector)??S(lt),i=(t==null?void 0:t.manualCleanup)!==!0?n.get($i):null,a,r=n.get(wm,null,{optional:!0}),s=n.get(wo);return r!==null&&!(t!=null&&t.forceRoot)?(a=$ae(r.view,s,e),i instanceof v_&&i._lView===r.view&&(i=null)):a=qae(e,n.get($x),s),a.injector=n,i!==null&&(a.onDestroyFn=i.onDestroy(()=>a.destroy())),new jae(a)}var f1=Qe(Q({},go),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:gs,run(){if(this.dirty=!1,this.hasRun&&!zp(this))return;this.hasRun=!0;let e=i=>(this.cleanupFns??(this.cleanupFns=[])).push(i),t=ls(this),n=Ec(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ec(n),cd(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Bae=Qe(Q({},f1),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){dd(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Hae=Qe(Q({},f1),{consumerMarkedDirty(){this.view[ke]|=8192,_o(this.view),this.notifier.notify(13)},destroy(){var e;dd(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[rn])==null||e.delete(this)}});function $ae(e,t,n){let i=Object.create(Hae);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=n,e[rn]??(e[rn]=new Set),e[rn].add(i),i.consumerMarkedDirty(i),i}function qae(e,t,n){let i=Object.create(Bae);return i.fn=e,i.scheduler=t,i.notifier=n,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}var Uae=e=>e;function Gae(e,t){if(typeof e=="function"){let n=lg(e,Uae,t==null?void 0:t.equal);return cv(n)}else{let n=lg(e.source,e.computation,e.equal);return cv(n)}}function cv(e){let t=e[fi],n=e;return n.set=i=>eZ(t,i),n.update=i=>tZ(t,i),n.asReadonly=ym.bind(e),n}function g1(e,t){let n=no(e),i=t.elementInjector||bd();return new jm(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}var Yae={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function Wae(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Kae(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Ou;function Zae(e,t){if(!Ou){let n=Element.prototype;Ou=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Ou.call(e,t):!1}function Xae(e){let t={};return e.forEach(({propName:n,templateName:i,transform:a})=>{t[Wae(i)]=[n,a]}),t}function Qae(e,t){return t.get(Xs).resolveComponentFactory(e).inputs}function Jae(e,t){let n=e.childNodes,i=t.map(()=>[]),a=-1;t.some((r,s)=>r==="*"?(a=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=ene(l,t,a);c!==-1&&i[c].push(l)}return i}function ene(e,t,n){let i=n;return Kae(e)&&t.some((a,r)=>a!=="*"&&Zae(e,a)?(i=r,!0):!1),i}var tne=10,ine=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(Xs).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new ane(this.componentFactory,e,this.inputMap)}},ane=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new qp(1));o(this,"events",this.eventEmitters.pipe(pr(e=>Ji(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ne),this.appRef=this.injector.get(Vn),this.cdScheduler=t.get(wo),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Yae.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},tne))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){if(this.componentRef===null){this.initialInputValues.set(e,t);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),Uee(this.componentRef.hostView)&&(Gee(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=lt.create({providers:[],parent:this.injector}),n=Jae(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:n,templateName:i})=>{let a=e.instance[n];return new Ot(r=>{let s=a.subscribe(l=>r.next({name:i,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},nne=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function rne(e,t){let n=Qae(e,t.injector),i=t.strategyFactory||new ine(e,t.injector),a=Xae(n);class r extends nne{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let m=this[d];delete this[d],c.setInputValue(d,m,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,m){let[v,g]=a[c];this.ngElementStrategy.setInputValue(v,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(a)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var et=new $(""),v1=null;function hr(){return v1}function one(e){v1??(v1=e)}var sne=class{},b1=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(lne),providedIn:"platform"}));let e=t;return e})(),lne=(()=>{const t=class t extends b1{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",S(et));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hr().getBaseHref(this._doc)}onPopState(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=hr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,s){this._history.pushState(a,r,s)}replaceState(a,r,s){this._history.replaceState(a,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function y1(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function dv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function lr(e){return e&&e[0]!=="?"?`?${e}`:e}var Gm=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:()=>S(dne),providedIn:"root"}));let e=t;return e})(),cne=new $(""),dne=(()=>{const t=class t extends Gm{constructor(a,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=S(et).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return y1(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+lr(this._platformLocation.search),s=this._platformLocation.hash;return s&&a?`${r}${s}`:r}pushState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.pushState(a,r,c)}replaceState(a,r,s,l){let c=this.prepareExternalUrl(s+lr(l));this._platformLocation.replaceState(a,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,a)}};o(t,"ɵfac",function(a){return new(a||t)(pe(b1),pe(cne,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_1=(()=>{const t=class t{constructor(i){o(this,"_subject",new ce);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=i;let a=this._locationStrategy.getBaseHref();this._basePath=pne(dv(uv(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var i;(i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,a=""){return this.path()==this.normalize(i+lr(a))}normalize(i){return t.stripTrailingSlash(hne(this._basePath,uv(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,a="",r=null){this._locationStrategy.pushState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}replaceState(i,a="",r=null){this._locationStrategy.replaceState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+lr(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",a){this._urlChangeListeners.forEach(r=>r(i,a))}subscribe(i,a,r){return this._subject.subscribe({next:i,error:a??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",lr),o(t,"joinWithSlash",y1),o(t,"stripTrailingSlash",dv),o(t,"ɵfac",function(i){return new(i||t)(pe(Gm))}),o(t,"ɵprov",q({token:t,factory:()=>une(),providedIn:"root"}));let e=t;return e})();function une(){return new _1(pe(Gm))}function hne(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function uv(e){return e.replace(/\/index.html$/,"")}function pne(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Ei=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Ei||{}),ut=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ut||{}),zi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(zi||{}),Hd={MinusSign:5};function mne(e){return ya(e)[Zt.LocaleId]}function fne(e,t,n){let i=ya(e),a=[i[Zt.DayPeriodsFormat],i[Zt.DayPeriodsStandalone]],r=aa(a,t);return aa(r,n)}function gne(e,t,n){let i=ya(e),a=[i[Zt.DaysFormat],i[Zt.DaysStandalone]],r=aa(a,t);return aa(r,n)}function vne(e,t,n){let i=ya(e),a=[i[Zt.MonthsFormat],i[Zt.MonthsStandalone]],r=aa(a,t);return aa(r,n)}function bne(e,t){let n=ya(e)[Zt.Eras];return aa(n,t)}function Il(e,t){let n=ya(e);return aa(n[Zt.DateFormat],t)}function Al(e,t){let n=ya(e);return aa(n[Zt.TimeFormat],t)}function Ol(e,t){let n=ya(e)[Zt.DateTimeFormat];return aa(n,t)}function $d(e,t){return ya(e)[Zt.NumberSymbols][t]}function x1(e){if(!e[Zt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Zt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yne(e){let t=ya(e);return x1(t),(t[Zt.ExtraData][2]||[]).map(n=>typeof n=="string"?Tu(n):[Tu(n[0]),Tu(n[1])])}function _ne(e,t,n){let i=ya(e);x1(i);let a=[i[Zt.ExtraData][0],i[Zt.ExtraData][1]],r=aa(a,t)||[];return aa(r,n)||[]}function aa(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Tu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var xne=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Lr={},wne=/((?:[^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 Sne(e,t,n,i){let a=Nne(e);t=tn(n,t)||t;let r=[],s;for(;t;)if(s=wne.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=a.getTimezoneOffset();i&&(l=S1(i,l),a=Tne(a,i));let c="";return r.forEach(d=>{let u=Ane(d);c+=u?u(a,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Lc(e,t,n){let i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function tn(e,t){let n=mne(e);if(Lr[n]??(Lr[n]={}),Lr[n][t])return Lr[n][t];let i="";switch(t){case"shortDate":i=Il(e,zi.Short);break;case"mediumDate":i=Il(e,zi.Medium);break;case"longDate":i=Il(e,zi.Long);break;case"fullDate":i=Il(e,zi.Full);break;case"shortTime":i=Al(e,zi.Short);break;case"mediumTime":i=Al(e,zi.Medium);break;case"longTime":i=Al(e,zi.Long);break;case"fullTime":i=Al(e,zi.Full);break;case"short":let a=tn(e,"shortTime"),r=tn(e,"shortDate");i=Tl(Ol(e,zi.Short),[a,r]);break;case"medium":let s=tn(e,"mediumTime"),l=tn(e,"mediumDate");i=Tl(Ol(e,zi.Medium),[s,l]);break;case"long":let c=tn(e,"longTime"),d=tn(e,"longDate");i=Tl(Ol(e,zi.Long),[c,d]);break;case"full":let u=tn(e,"fullTime"),m=tn(e,"fullDate");i=Tl(Ol(e,zi.Full),[u,m]);break}return i&&(Lr[n][t]=i),i}function Tl(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),e}function ua(e,t,n="-",i,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return i&&(s=s.slice(s.length-t)),r+s}function kne(e,t){return ua(e,3).substring(0,t)}function Wt(e,t,n=0,i=!1,a=!1){return function(r,s){let l=Ene(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return kne(l,t);let c=$d(s,Hd.MinusSign);return ua(l,t,c,i,a)}}function Ene(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function pt(e,t,n=Ei.Format,i=!1){return function(a,r){return Cne(a,r,e,t,n,i)}}function Cne(e,t,n,i,a,r){switch(n){case 2:return vne(t,a,i)[e.getMonth()];case 1:return gne(t,a,i)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=yne(t),u=_ne(t,a,i),m=d.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=s>=g.hours&&l>=g.minutes,E=s<x.hours||s===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&E)return!0}else if(w||E)return!0}else if(v.hours===s&&v.minutes===l)return!0;return!1});if(m!==-1)return u[m]}return fne(t,a,i)[s<12?0:1];case 3:return bne(t,i)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Nl(e){return function(t,n,i){let a=-1*i,r=$d(n,Hd.MinusSign),s=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+ua(s,2,r)+ua(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+ua(s,1,r);case 2:return"GMT"+(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);case 3:return i===0?"Z":(a>=0?"+":"")+ua(s,2,r)+":"+ua(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var Dne=0,lc=4;function Ine(e){let t=Lc(e,Dne,1).getDay();return Lc(e,0,1+(t<=lc?lc:lc+7)-t)}function w1(e){let t=e.getDay(),n=t===0?-3:lc-t;return Lc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Nu(e,t=!1){return function(n,i){let a;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();a=1+Math.floor((s+r)/7)}else{let r=w1(n),s=Ine(r.getFullYear()),l=r.getTime()-s.getTime();a=1+Math.round(l/6048e5)}return ua(a,e,$d(i,Hd.MinusSign))}}function Ml(e,t=!1){return function(n,i){let a=w1(n).getFullYear();return ua(a,e,$d(i,Hd.MinusSign),t)}}var Mu={};function Ane(e){if(Mu[e])return Mu[e];let t;switch(e){case"G":case"GG":case"GGG":t=pt(3,ut.Abbreviated);break;case"GGGG":t=pt(3,ut.Wide);break;case"GGGGG":t=pt(3,ut.Narrow);break;case"y":t=Wt(0,1,0,!1,!0);break;case"yy":t=Wt(0,2,0,!0,!0);break;case"yyy":t=Wt(0,3,0,!1,!0);break;case"yyyy":t=Wt(0,4,0,!1,!0);break;case"Y":t=Ml(1);break;case"YY":t=Ml(2,!0);break;case"YYY":t=Ml(3);break;case"YYYY":t=Ml(4);break;case"M":case"L":t=Wt(1,1,1);break;case"MM":case"LL":t=Wt(1,2,1);break;case"MMM":t=pt(2,ut.Abbreviated);break;case"MMMM":t=pt(2,ut.Wide);break;case"MMMMM":t=pt(2,ut.Narrow);break;case"LLL":t=pt(2,ut.Abbreviated,Ei.Standalone);break;case"LLLL":t=pt(2,ut.Wide,Ei.Standalone);break;case"LLLLL":t=pt(2,ut.Narrow,Ei.Standalone);break;case"w":t=Nu(1);break;case"ww":t=Nu(2);break;case"W":t=Nu(1,!0);break;case"d":t=Wt(2,1);break;case"dd":t=Wt(2,2);break;case"c":case"cc":t=Wt(7,1);break;case"ccc":t=pt(1,ut.Abbreviated,Ei.Standalone);break;case"cccc":t=pt(1,ut.Wide,Ei.Standalone);break;case"ccccc":t=pt(1,ut.Narrow,Ei.Standalone);break;case"cccccc":t=pt(1,ut.Short,Ei.Standalone);break;case"E":case"EE":case"EEE":t=pt(1,ut.Abbreviated);break;case"EEEE":t=pt(1,ut.Wide);break;case"EEEEE":t=pt(1,ut.Narrow);break;case"EEEEEE":t=pt(1,ut.Short);break;case"a":case"aa":case"aaa":t=pt(0,ut.Abbreviated);break;case"aaaa":t=pt(0,ut.Wide);break;case"aaaaa":t=pt(0,ut.Narrow);break;case"b":case"bb":case"bbb":t=pt(0,ut.Abbreviated,Ei.Standalone,!0);break;case"bbbb":t=pt(0,ut.Wide,Ei.Standalone,!0);break;case"bbbbb":t=pt(0,ut.Narrow,Ei.Standalone,!0);break;case"B":case"BB":case"BBB":t=pt(0,ut.Abbreviated,Ei.Format,!0);break;case"BBBB":t=pt(0,ut.Wide,Ei.Format,!0);break;case"BBBBB":t=pt(0,ut.Narrow,Ei.Format,!0);break;case"h":t=Wt(3,1,-12);break;case"hh":t=Wt(3,2,-12);break;case"H":t=Wt(3,1);break;case"HH":t=Wt(3,2);break;case"m":t=Wt(4,1);break;case"mm":t=Wt(4,2);break;case"s":t=Wt(5,1);break;case"ss":t=Wt(5,2);break;case"S":t=Wt(6,1);break;case"SS":t=Wt(6,2);break;case"SSS":t=Wt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Nl(0);break;case"ZZZZZ":t=Nl(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Nl(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Nl(2);break;default:return null}return Mu[e]=t,t}function S1(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function One(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tne(e,t,n){let i=e.getTimezoneOffset(),a=S1(t,i);return One(e,-1*(a-i))}function Nne(e){if(hv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,s=1]=e.split("-").map(l=>+l);return Lc(a,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let i;if(i=e.match(xne))return Mne(i)}let t=new Date(e);if(!hv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Mne(e){let t=new Date(0),n=0,i=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-i,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function hv(e){return e instanceof Date&&!isNaN(e.valueOf())}var Pu=/\s+/,pv=[],Js=(()=>{const t=class t{constructor(i,a){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",pv);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=i,this._renderer=a}set klass(i){this.initialClasses=i!=null?i.trim().split(Pu):pv}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(Pu):i}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let a of i)this._updateState(a,!0);else if(i!=null)for(let a of Object.keys(i))this._updateState(a,!!i[a]);this._applyStateDiff()}_updateState(i,a){let r=this.stateMap.get(i);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(i,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let a=i[0],r=i[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(i,a){i=i.trim(),i.length>0&&i.split(Pu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),Pne=(()=>{const t=class t{constructor(i,a,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=i,this._differs=a,this._renderer=r}set ngStyle(i){this._ngStyle=i,!this._differ&&i&&(this._differ=this._differs.find(i).create())}ngDoCheck(){if(this._differ){let i=this._differ.diff(this._ngStyle);i&&this._applyChanges(i)}}_setStyle(i,a){let[r,s]=i.split("."),l=r.indexOf("-")===-1?void 0:In.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${a}${s}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(i){i.forEachRemovedItem(a=>this._setStyle(a.key,null)),i.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),i.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};o(t,"ɵfac",function(i){return new(i||t)(Je(ze),Je(p1),Je(ra))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),k1=(()=>{const t=class t{constructor(i){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=i}ngOnChanges(i){if(this._shouldRecreateView(i)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(i,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};o(t,"ɵfac",function(i){return new(i||t)(Je(bn))}),o(t,"ɵdir",Se({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[bi]}));let e=t;return e})();function E1(e,t){return new Z(2100,!1)}var Rne=class{createSubscription(e,t){return ha(()=>e.subscribe({next:t,error:n=>{throw n}}))}dispose(e){ha(()=>e.unsubscribe())}},Fne=class{createSubscription(e,t){return e.then(n=>t==null?void 0:t(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},Lne=new Fne,Vne=new Rne,C1=(()=>{const t=class t{constructor(i){o(this,"_ref");o(this,"_latestValue",null);o(this,"markForCheckOnValueUpdate",!0);o(this,"_subscription",null);o(this,"_obj",null);o(this,"_strategy",null);this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){if(!this._obj){if(i)try{this.markForCheckOnValueUpdate=!1,this._subscribe(i)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,a=>this._updateLatestValue(i,a))}_selectStrategy(i){if(Vd(i))return Lne;if(qx(i))return Vne;throw E1()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,a){var r;i===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((r=this._ref)==null||r.markForCheck()))}};o(t,"ɵfac",function(i){return new(i||t)(Je(Lt,16))}),o(t,"ɵpipe",Co({name:"async",type:t,pure:!1}));let e=t;return e})(),zne="mediumDate",jne=new $(""),Bne=new $(""),D1=(()=>{const t=class t{constructor(i,a,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=i,this.defaultTimezone=a,this.defaultOptions=r}transform(i,a,r,s){var l,c;if(i==null||i===""||i!==i)return null;try{let d=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??zne,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return Sne(i,d,s||this.locale,u)}catch(d){throw E1(t,d.message)}}};o(t,"ɵfac",function(i){return new(i||t)(Je(Bd,16),Je(jne,24),Je(Bne,24))}),o(t,"ɵpipe",Co({name:"date",type:t,pure:!0}));let e=t;return e})(),I1=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",Et({type:t})),o(t,"ɵinj",kt({}));let e=t;return e})();function A1(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[a,r]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var O1="browser",Hne="server";function $ne(e){return e===O1}function T1(e){return e===Hne}var N1=class{};function qd(e,t,n){return iae(e,t,n)}var op=new $(""),M1=(()=>{const t=class t{constructor(i,a){o(this,"_zone");o(this,"_plugins");o(this,"_eventNameToPlugin",new Map);this._zone=a,i.forEach(r=>{r.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,a,r,s){return this._findPluginFor(a).addEventListener(i,a,r,s)}getZone(){return this._zone}_findPluginFor(i){let a=this._eventNameToPlugin.get(i);if(a)return a;if(a=this._plugins.find(r=>r.supports(i)),!a)throw new Z(5101,!1);return this._eventNameToPlugin.set(i,a),a}};o(t,"ɵfac",function(i){return new(i||t)(pe(op),pe(Ne))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),P1=class{constructor(e){o(this,"_doc");o(this,"manager");this._doc=e}},cc="ng-app-id";function mv(e){for(let t of e)t.remove()}function fv(e,t){let n=t.createElement("style");return n.textContent=e,n}function qne(e,t,n,i){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${cc}="${t}"],link[${cc}="${t}"]`);if(a)for(let s of a)s.removeAttribute(cc),s instanceof HTMLLinkElement?i.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&n.set(s.textContent,{usage:0,elements:[s]})}function sp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var R1=(()=>{const t=class t{constructor(i,a,r,s={}){o(this,"doc");o(this,"appId");o(this,"nonce");o(this,"inline",new Map);o(this,"external",new Map);o(this,"hosts",new Set);o(this,"isServer");this.doc=i,this.appId=a,this.nonce=r,this.isServer=T1(s),qne(i,a,this.inline,this.external),this.hosts.add(i.head)}addStyles(i,a){for(let r of i)this.addUsage(r,this.inline,fv);a==null||a.forEach(r=>this.addUsage(r,this.external,sp))}removeStyles(i,a){for(let r of i)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(i,a,r){let s=a.get(i);s?s.usage++:a.set(i,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(i,this.doc)))})}removeUsage(i,a){let r=a.get(i);r&&(r.usage--,r.usage<=0&&(mv(r.elements),a.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])mv(i);this.hosts.clear()}addHost(i){this.hosts.add(i);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(i,fv(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(i,sp(a,this.doc)))}removeHost(i){this.hosts.delete(i)}addElement(i,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(cc,this.appId),i.appendChild(a)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(Dd),pe(_m,8),pe(Id))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Ru={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ym=/%COMP%/g,F1="%COMP%",Une=`_nghost-${F1}`,Gne=`_ngcontent-${F1}`,Yne=!0,Wne=new $("",{providedIn:"root",factory:()=>Yne});function Kne(e){return Gne.replace(Ym,e)}function Zne(e){return Une.replace(Ym,e)}function L1(e,t){return t.map(n=>n.replace(Ym,e))}var lp=(()=>{const t=class t{constructor(i,a,r,s,l,c,d,u=null,m=null){o(this,"eventManager");o(this,"sharedStylesHost");o(this,"appId");o(this,"removeStylesOnCompDestroy");o(this,"doc");o(this,"platformId");o(this,"ngZone");o(this,"nonce");o(this,"tracingService");o(this,"rendererByCompId",new Map);o(this,"defaultRenderer");o(this,"platformIsServer");this.eventManager=i,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=l,this.platformId=c,this.ngZone=d,this.nonce=u,this.tracingService=m,this.platformIsServer=T1(c),this.defaultRenderer=new Wm(i,l,d,this.platformIsServer,this.tracingService)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===on.ShadowDom&&(a=Qe(Q({},a),{encapsulation:on.Emulated}));let r=this.getOrCreateRenderer(i,a);return r instanceof vv?r.applyToHost(i):r instanceof cp&&r.applyStyles(),r}getOrCreateRenderer(i,a){let r=this.rendererByCompId,s=r.get(a.id);if(!s){let l=this.doc,c=this.ngZone,d=this.eventManager,u=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case on.Emulated:s=new vv(d,u,a,this.appId,m,l,c,v,g);break;case on.ShadowDom:return new Xne(d,u,i,a,l,c,this.nonce,v,g);default:s=new cp(d,u,a,m,l,c,v,g);break}r.set(a.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}};o(t,"ɵfac",function(i){return new(i||t)(pe(M1),pe(R1),pe(Dd),pe(Wne),pe(et),pe(Id),pe(Ne),pe(_m),pe(Ys,8))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Wm=class{constructor(e,t,n,i,a){o(this,"eventManager");o(this,"doc");o(this,"ngZone");o(this,"platformIsServer");o(this,"tracingService");o(this,"data",Object.create(null));o(this,"throwOnSyntheticProps",!0);o(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Ru[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(gv(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(gv(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new Z(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;let a=Ru[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let i=Ru[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(In.DashCase|In.Important)?e.style.setProperty(t,n,i&In.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&In.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,i){var r;if(typeof e=="string"&&(e=hr().getGlobalEventTarget(this.doc,e),!e))throw new Z(5102,!1);let a=this.decoratePreventDefault(n);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function gv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Xne=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var v;super(t,r,s,c,d);o(this,"sharedStylesHost");o(this,"hostEl");o(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=a.styles;u=L1(a.id,u);for(let g of u){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=sp(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},cp=class extends Wm{constructor(t,n,i,a,r,s,l,c,d){var m;super(t,r,s,l,c);o(this,"sharedStylesHost");o(this,"removeStylesOnCompDestroy");o(this,"styles");o(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=a;let u=i.styles;this.styles=d?L1(d,u):u,this.styleUrls=(m=i.getExternalStyles)==null?void 0:m.call(i,d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vv=class extends cp{constructor(t,n,i,a,r,s,l,c,d){let u=a+"-"+i.id;super(t,n,i,r,s,l,c,d,u);o(this,"contentAttr");o(this,"hostAttr");this.contentAttr=Kne(u),this.hostAttr=Zne(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}},Qne=class V1 extends sne{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}static makeCurrent(){one(new V1)}onAndCancel(n,i,a,r){return n.addEventListener(i,a,r),()=>{n.removeEventListener(i,a,r)}}dispatchEvent(n,i){n.dispatchEvent(i)}remove(n){n.remove()}createElement(n,i){return i=i||this.getDefaultDocument(),i.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,i){return i==="window"?window:i==="document"?n:i==="body"?n.body:null}getBaseHref(n){let i=Jne();return i==null?null:ere(i)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return A1(document.cookie,n)}},Jo=null;function Jne(){return Jo=Jo||document.head.querySelector("base"),Jo?Jo.getAttribute("href"):null}function ere(e){return new URL(e,document.baseURI).pathname}var tre=(()=>{const t=class t{build(){return new XMLHttpRequest}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),ire=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,r,s){return i.addEventListener(a,r,s),()=>this.removeEventListener(i,a,r,s)}removeEventListener(i,a,r,s){return i.removeEventListener(a,r,s)}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),bv=["alt","control","meta","shift"],are={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},nre={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},rre=(()=>{const t=class t extends P1{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,a,r,s){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hr().onAndCancel(i,l.domEventName,c,s))}static parseEventName(i){let a=i.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),bv.forEach(u=>{let m=a.indexOf(u);m>-1&&(a.splice(m,1),l+=u+".")}),l+=s,a.length!=0||s.length===0)return null;let d={};return d.domEventName=r,d.fullKey=l,d}static matchEventFullKeyCode(i,a){let r=are[i.key]||i.key,s="";return a.indexOf("code.")>-1&&(r=i.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),bv.forEach(l=>{if(l!==r){let c=nre[l];c(i)&&(s+=l+".")}}),s+=r,s===a)}static eventCallback(i,a,r){return s=>{t.matchEventFullKeyCode(s,i)&&r.runGuarded(()=>a(s))}}static _normalizeKey(i){return i==="esc"?"escape":i}};o(t,"ɵfac",function(i){return new(i||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function ore(e){return zae(sre(e))}function sre(e){return{appProviders:[...hre,...(e==null?void 0:e.providers)??[]],platformProviders:ure}}function lre(){Qne.makeCurrent()}function cre(){return new va}function dre(){return GQ(document),document}var ure=[{provide:Id,useValue:O1},{provide:M_,useValue:lre,multi:!0},{provide:et,useFactory:dre}],hre=[{provide:em,useValue:"root"},{provide:va,useFactory:cre},{provide:op,useClass:ire,multi:!0,deps:[et]},{provide:op,useClass:rre,multi:!0,deps:[et]},lp,R1,M1,{provide:na,useExisting:lp},{provide:N1,useClass:tre},[]],Km=class{},z1=class{},zn=class dc{constructor(t){o(this,"headers");o(this,"normalizedNames",new Map);o(this,"lazyInit");o(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
19
19
|
`).forEach(n=>{let i=n.indexOf(":");if(i>0){let a=n.slice(0,i),r=n.slice(i+1).trim();this.addHeaderEntry(a,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.addHeaderEntry(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof dc?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new dc;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof dc?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let a=(t.op==="a"?this.headers.get(n):void 0)||[];a.push(...i),this.headers.set(n,a);break;case"d":let r=t.value;if(!r)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(l=>r.indexOf(l)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(n):this.headers.set(i,[n])}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(r=>r.toString()),a=t.toLowerCase();this.headers.set(a,i),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}},pre=class{encodeKey(e){return yv(e)}encodeValue(e){return yv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function mre(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let a=i.indexOf("="),[r,s]=a==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,a)),t.decodeValue(i.slice(a+1))],l=n.get(r)||[];l.push(s),n.set(r,l)}),n}var fre=/%(\d[a-f0-9])/gi,gre={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function yv(e){return encodeURIComponent(e).replace(fre,(t,n)=>gre[n]??t)}function Pl(e){return`${e}`}var Jr=class j1{constructor(t={}){o(this,"map");o(this,"encoder");o(this,"updates",null);o(this,"cloneFrom",null);if(this.encoder=t.encoder||new pre,t.fromString){if(t.fromObject)throw new Z(2805,!1);this.map=mre(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],a=Array.isArray(i)?i.map(Pl):[Pl(i)];this.map.set(n,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(i=>{let a=t[i];Array.isArray(a)?a.forEach(r=>{n.push({param:i,value:r,op:"a"})}):n.push({param:i,value:a,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new j1({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Pl(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],a=i.indexOf(Pl(t.value));a!==-1&&i.splice(a,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},vre=class{constructor(){o(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function bre(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _v(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function xv(e){return typeof Blob<"u"&&e instanceof Blob}function wv(e){return typeof FormData<"u"&&e instanceof FormData}function yre(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Sv="Content-Type",kv="Accept",B1="X-Request-URL",H1="text/plain",$1="application/json",_re=`${$1}, ${H1}, */*`,Fu=class q1{constructor(t,n,i,a){o(this,"url");o(this,"body",null);o(this,"headers");o(this,"context");o(this,"reportProgress",!1);o(this,"withCredentials",!1);o(this,"responseType","json");o(this,"method");o(this,"params");o(this,"urlWithParams");o(this,"transferCache");this.url=n,this.method=t.toUpperCase();let r;if(bre(this.method)||a?(this.body=i!==void 0?i:null,r=a):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??(this.headers=new zn),this.context??(this.context=new vre),!this.params)this.params=new Jr,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let l=n.indexOf("?"),c=l===-1?"?":l<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||_v(this.body)||xv(this.body)||wv(this.body)||yre(this.body)?this.body:this.body instanceof Jr?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||wv(this.body)?null:xv(this.body)?this.body.type||null:_v(this.body)?null:typeof this.body=="string"?H1:this.body instanceof Jr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?$1:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,d=t.headers||this.headers,u=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(d=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),d)),t.setParams&&(u=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),u)),new q1(n,i,s,{params:u,headers:d,context:m,reportProgress:c,responseType:a,withCredentials:l,transferCache:r})}},eo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(eo||{}),Zm=class{constructor(e,t=200,n="OK"){o(this,"headers");o(this,"status");o(this,"statusText");o(this,"url");o(this,"ok");o(this,"type");this.headers=e.headers||new zn,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},xre=class U1 extends Zm{constructor(n={}){super(n);o(this,"type",eo.ResponseHeader)}clone(n={}){return new U1({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Xm=class G1 extends Zm{constructor(n={}){super(n);o(this,"body");o(this,"type",eo.Response);this.body=n.body!==void 0?n.body:null}clone(n={}){return new G1({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ev=class extends Zm{constructor(t){super(t,0,"Unknown Error");o(this,"name","HttpErrorResponse");o(this,"message");o(this,"error");o(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},wre=200,Sre=204;function Lu(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var el=(()=>{const t=class t{constructor(i){o(this,"handler");this.handler=i}request(i,a,r={}){let s;if(i instanceof Fu)s=i;else{let d;r.headers instanceof zn?d=r.headers:d=new zn(r.headers);let u;r.params&&(r.params instanceof Jr?u=r.params:u=new Jr({fromObject:r.params})),s=new Fu(i,a,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:u,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=ft(s).pipe(s0(d=>this.handler.handle(d)));if(i instanceof Fu||r.observe==="events")return l;let c=l.pipe(oi(d=>d instanceof Xm));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(xt(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Z(2806,!1);return d.body}));case"blob":return c.pipe(xt(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Z(2807,!1);return d.body}));case"text":return c.pipe(xt(d=>{if(d.body!==null&&typeof d.body!="string")throw new Z(2808,!1);return d.body}));case"json":default:return c.pipe(xt(d=>d.body))}case"response":return c;default:throw new Z(2809,!1)}}delete(i,a={}){return this.request("DELETE",i,a)}get(i,a={}){return this.request("GET",i,a)}head(i,a={}){return this.request("HEAD",i,a)}jsonp(i,a){return this.request("JSONP",i,{params:new Jr().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,a={}){return this.request("OPTIONS",i,a)}patch(i,a,r={}){return this.request("PATCH",i,Lu(r,a))}post(i,a,r={}){return this.request("POST",i,Lu(r,a))}put(i,a,r={}){return this.request("PUT",i,Lu(r,a))}};o(t,"ɵfac",function(i){return new(i||t)(pe(Km))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),kre=new $("");function Ere(e,t){return t(e)}function Cre(e,t,n){return(i,a)=>yd(n,()=>t(i,r=>e(r,a)))}var Qm=new $(""),Dre=new $(""),Ire=new $("",{providedIn:"root",factory:()=>!0}),Cv=(()=>{const t=class t extends Km{constructor(a,r){super();o(this,"backend");o(this,"injector");o(this,"chain",null);o(this,"pendingTasks",S(Gs));o(this,"contributeToStability",S(Ire));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Qm),...this.injector.get(Dre,[])]));this.chain=r.reduceRight((s,l)=>Cre(s,l,this.injector),Ere)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(a,s=>this.backend.handle(s)).pipe(c0(()=>this.pendingTasks.remove(r)))}else return this.chain(a,r=>this.backend.handle(r))}};o(t,"ɵfac",function(a){return new(a||t)(pe(z1),pe(Va))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Are=/^\)\]\}',?\n/,Ore=RegExp(`^${B1}:`,"m");function Tre(e){return"responseURL"in e&&e.responseURL?e.responseURL:Ore.test(e.getAllResponseHeaders())?e.getResponseHeader(B1):null}var Dv=(()=>{const t=class t{constructor(i){o(this,"xhrFactory");this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new Z(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?Hn(a.ɵloadImpl()):ft(null)).pipe(pr(()=>new Ot(r=>{let s=a.build();if(s.open(i.method,i.urlWithParams),i.withCredentials&&(s.withCredentials=!0),i.headers.forEach((w,E)=>s.setRequestHeader(w,E.join(","))),i.headers.has(kv)||s.setRequestHeader(kv,_re),!i.headers.has(Sv)){let w=i.detectContentTypeHeader();w!==null&&s.setRequestHeader(Sv,w)}if(i.responseType){let w=i.responseType.toLowerCase();s.responseType=w!=="json"?w:"text"}let l=i.serializeBody(),c=null,d=()=>{if(c!==null)return c;let w=s.statusText||"OK",E=new zn(s.getAllResponseHeaders()),N=Tre(s)||i.url;return c=new xre({headers:E,status:s.status,statusText:w,url:N}),c},u=()=>{let{headers:w,status:E,statusText:N,url:V}=d(),R=null;E!==Sre&&(R=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=R?wre:0);let oe=E>=200&&E<300;if(i.responseType==="json"&&typeof R=="string"){let xe=R;R=R.replace(Are,"");try{R=R!==""?JSON.parse(R):null}catch(Me){R=xe,oe&&(oe=!1,R={error:Me,text:R})}}oe?(r.next(new Xm({body:R,headers:w,status:E,statusText:N,url:V||void 0})),r.complete()):r.error(new Ev({error:R,headers:w,status:E,statusText:N,url:V||void 0}))},m=w=>{let{url:E}=d(),N=new Ev({error:w,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});r.error(N)},v=!1,g=w=>{v||(r.next(d()),v=!0);let E={type:eo.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),i.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),r.next(E)},x=w=>{let E={type:eo.UploadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),r.next(E)};return s.addEventListener("load",u),s.addEventListener("error",m),s.addEventListener("timeout",m),s.addEventListener("abort",m),i.reportProgress&&(s.addEventListener("progress",g),l!==null&&s.upload&&s.upload.addEventListener("progress",x)),s.send(l),r.next({type:eo.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",u),s.removeEventListener("timeout",m),i.reportProgress&&(s.removeEventListener("progress",g),l!==null&&s.upload&&s.upload.removeEventListener("progress",x)),s.readyState!==s.DONE&&s.abort()}})))}};o(t,"ɵfac",function(i){return new(i||t)(pe(N1))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Y1=new $(""),Nre="XSRF-TOKEN",Mre=new $("",{providedIn:"root",factory:()=>Nre}),Pre="X-XSRF-TOKEN",Rre=new $("",{providedIn:"root",factory:()=>Pre}),W1=class{},Fre=(()=>{const t=class t{constructor(i,a){o(this,"doc");o(this,"cookieName");o(this,"lastCookieString","");o(this,"lastToken",null);o(this,"parseCount",0);this.doc=i,this.cookieName=a}getToken(){let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=A1(i,this.cookieName),this.lastCookieString=i),this.lastToken}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(Mre))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Lre=/^(?:https?:)?\/\//i;function Vre(e,t){if(!S(Y1)||e.method==="GET"||e.method==="HEAD"||Lre.test(e.url))return t(e);let n=S(W1).getToken(),i=S(Rre);return n!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,n)})),t(e)}var K1=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(K1||{});function zre(e,t){return{ɵkind:e,ɵproviders:t}}function jre(...e){let t=[el,Dv,Cv,{provide:Km,useExisting:Cv},{provide:z1,useFactory:()=>S(kre,{optional:!0})??S(Dv)},{provide:Qm,useValue:Vre,multi:!0},{provide:Y1,useValue:!0},{provide:W1,useClass:Fre}];for(let n of e)t.push(...n.ɵproviders);return Qp(t)}function Bre(e){return zre(K1.Interceptors,e.map(t=>({provide:Qm,useValue:t,multi:!0})))}var Z1=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:function(i){let a=null;return i?a=new(i||t):a=pe(Hre),a},providedIn:"root"}));let e=t;return e})(),Hre=(()=>{const t=class t extends Z1{constructor(a){super();o(this,"_doc");this._doc=a}sanitize(a,r){if(r==null)return null;switch(a){case Oi.NONE:return r;case Oi.HTML:return or(r,"HTML")?nn(r):q_(this._doc,String(r)).toString();case Oi.STYLE:return or(r,"Style")?nn(r):r;case Oi.SCRIPT:if(or(r,"Script"))return nn(r);throw new Z(5200,!1);case Oi.URL:return or(r,"URL")?nn(r):Em(String(r));case Oi.RESOURCE_URL:if(or(r,"ResourceURL"))return nn(r);throw new Z(5201,!1);default:throw new Z(5202,!1)}}bypassSecurityTrustHtml(a){return cJ(a)}bypassSecurityTrustStyle(a){return dJ(a)}bypassSecurityTrustScript(a){return uJ(a)}bypassSecurityTrustUrl(a){return hJ(a)}bypassSecurityTrustResourceUrl(a){return pJ(a)}};o(t,"ɵfac",function(a){return new(a||t)(pe(et))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),tl=class{},$re=(()=>{const t=class t extends tl{getTranslation(i){return ft({})}};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),X1=class{},qre=(()=>{const t=class t{handle(i){return i.key}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Vc(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,i=typeof t,a,r,s;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(r=0;r<a;r++)if(!Vc(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;s=Object.create(null);for(r in e){if(!Vc(e[r],t[r]))return!1;s[r]=!0}for(r in t)if(!(r in s)&&typeof t[r]<"u")return!1;return!0}return!1}function An(e){return typeof e<"u"&&e!==null}function il(e){return uc(e)&&!Jm(e)&&e!==null}function uc(e){return typeof e=="object"}function Jm(e){return Array.isArray(e)}function ef(e){return typeof e=="string"}function Ure(e){return typeof e=="function"}function dp(e,t){let n=Object.assign({},e);return uc(e)?(uc(e)&&uc(t)&&Object.keys(t).forEach(i=>{il(t[i])?i in e?n[i]=dp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):dp({},t)}function up(e,t){let n=t.split(".");t="";do t+=n.shift(),An(e)&&An(e[t])&&(il(e[t])||Jm(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function Gre(e,t,n){let i=t.split("."),a=e;for(let r=0;r<i.length;r++){let s=i[r];r===i.length-1?a[s]=n:((!a[s]||!il(a[s]))&&(a[s]={}),a=a[s])}}var tf=class{},Yre=(()=>{const t=class t extends tf{constructor(){super(...arguments);o(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(ef(a))return this.interpolateString(a,r);if(Ure(a))return this.interpolateFunction(a,r)}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(s,l)=>{let c=up(r,l);return An(c)?c:s}):a}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),al=class{},Wre=(()=>{const t=class t extends al{compile(i,a){return i}compileTranslations(i,a){return i}};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),hp=class{constructor(){o(this,"defaultLang");o(this,"currentLang",this.defaultLang);o(this,"translations",{});o(this,"langs",[]);o(this,"onTranslationChange",new le);o(this,"onLangChange",new le);o(this,"onDefaultLangChange",new le)}},Q1=new $("ISOLATE_TRANSLATE_SERVICE"),J1=new $("USE_DEFAULT_LANG"),ew=new $("DEFAULT_LANGUAGE"),tw=new $("USE_EXTEND"),Bo=e=>as(e)?e:ft(e),Un=(()=>{const t=class t{constructor(i,a,r,s,l,c=!0,d=!1,u=!1,m){o(this,"store");o(this,"currentLoader");o(this,"compiler");o(this,"parser");o(this,"missingTranslationHandler");o(this,"useDefaultLang");o(this,"extend");o(this,"loadingTranslations");o(this,"pending",!1);o(this,"_translationRequests",{});o(this,"lastUseLanguage",null);this.store=i,this.currentLoader=a,this.compiler=r,this.parser=s,this.missingTranslationHandler=l,this.useDefaultLang=c,this.extend=u,d&&(this.store=new hp),m&&this.setDefaultLang(m)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(i){this.store.defaultLang=i}get currentLang(){return this.store.currentLang}set currentLang(i){this.store.currentLang=i}get langs(){return this.store.langs}set langs(i){this.store.langs=i}get translations(){return this.store.translations}set translations(i){this.store.translations=i}setDefaultLang(i){if(i===this.defaultLang)return;let a=this.retrieveTranslations(i);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=i),a.pipe(mi(1)).subscribe(()=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(this.lastUseLanguage=i,i===this.currentLang)return ft(this.translations[i]);this.currentLang||(this.currentLang=i);let a=this.retrieveTranslations(i);return as(a)?(a.pipe(mi(1)).subscribe(()=>{this.changeLang(i)}),a):(this.changeLang(i),ft(this.translations[i]))}changeLang(i){i===this.lastUseLanguage&&(this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i))}retrieveTranslations(i){if(typeof this.translations[i]>"u"||this.extend)return this._translationRequests[i]=this._translationRequests[i]||this.loadAndCompileTranslations(i),this._translationRequests[i]}getTranslation(i){return this.loadAndCompileTranslations(i)}loadAndCompileTranslations(i){this.pending=!0;let a=this.currentLoader.getTranslation(i).pipe(bc(1),mi(1));return this.loadingTranslations=a.pipe(xt(r=>this.compiler.compileTranslations(r,i)),bc(1),mi(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?Q(Q({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(i,a,r=!1){let s=this.compiler.compileTranslations(a,i);(r||this.extend)&&this.translations[i]?this.translations[i]=dp(this.translations[i],s):this.translations[i]=s,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){let a=i.filter(r=>!this.langs.includes(r));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(i,a,r){let s;if(i&&(s=this.runInterpolation(up(i,a),r)),s===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.runInterpolation(up(this.translations[this.defaultLang],a),r)),s===void 0){let l={key:a,translateService:this};typeof r<"u"&&(l.interpolateParams=r),s=this.missingTranslationHandler.handle(l)}return s!==void 0?s:a}runInterpolation(i,a){if(Jm(i))return i.map(r=>this.runInterpolation(r,a));if(il(i)){let r={};for(let s in i){let l=this.runInterpolation(i[s],a);l!==void 0&&(r[s]=l)}return r}else return this.parser.interpolate(i,a)}getParsedResult(i,a,r){if(a instanceof Array){let s={},l=!1;for(let d of a)s[d]=this.getParsedResultForKey(i,d,r),l=l||as(s[d]);if(!l)return s;let c=a.map(d=>Bo(s[d]));return Wp(c).pipe(xt(d=>{let u={};return d.forEach((m,v)=>{u[a[v]]=m}),u}))}return this.getParsedResultForKey(i,a,r)}get(i,a){if(!An(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(s0(r=>Bo(this.getParsedResult(r,i,a)))):Bo(this.getParsedResult(this.translations[this.currentLang],i,a))}getStreamOnTranslationChange(i,a){if(!An(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return hs(ps(()=>this.get(i,a)),this.onTranslationChange.pipe(pr(r=>{let s=this.getParsedResult(r.translations,i,a);return Bo(s)})))}stream(i,a){if(!An(i)||!i.length)throw new Error('Parameter "key" required');return hs(ps(()=>this.get(i,a)),this.onLangChange.pipe(pr(r=>{let s=this.getParsedResult(r.translations,i,a);return Bo(s)})))}instant(i,a){if(!An(i)||i.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],i,a);return as(r)?Array.isArray(i)?i.reduce((s,l)=>(s[l]=l,s),{}):i:r}set(i,a,r=this.currentLang){Gre(this.translations[r],i,ef(a)?this.compiler.compile(a,r):this.compiler.compileTranslations(a,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.loadAndCompileTranslations(i)}resetLang(i){delete this._translationRequests[i],delete this.translations[i]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let i=this.getBrowserCultureLang();return i?i.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};o(t,"ɵfac",function(i){return new(i||t)(pe(hp),pe(tl),pe(al),pe(tf),pe(X1),pe(J1),pe(Q1),pe(tw),pe(ew))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_a=(()=>{const t=class t{constructor(i,a){o(this,"translate");o(this,"_ref");o(this,"value","");o(this,"lastKey",null);o(this,"lastParams",[]);o(this,"onTranslationChange");o(this,"onLangChange");o(this,"onDefaultLangChange");this.translate=i,this._ref=a}updateValue(i,a,r){let s=l=>{this.value=l!==void 0?l:i,this.lastKey=i,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,i,a);as(l)?l.subscribe(s):s(l)}this.translate.get(i,a).subscribe(s)}transform(i,...a){if(!i||!i.length)return i;if(Vc(i,this.lastKey)&&Vc(a,this.lastParams))return this.value;let r;if(An(a[0])&&a.length)if(ef(a[0])&&a[0].length){let s=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(s)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else il(a[0])&&(r=a[0]);return this.lastKey=i,this.lastParams=a,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,r,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r))})),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()}};o(t,"ɵfac",function(i){return new(i||t)(Je(Un,16),Je(Lt,16))}),o(t,"ɵpipe",Co({name:"translate",type:t,pure:!1})),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),Kre=(e={})=>Qp([e.loader||{provide:tl,useClass:$re},e.compiler||{provide:al,useClass:Wre},e.parser||{provide:tf,useClass:Yre},e.missingTranslationHandler||{provide:X1,useClass:qre},hp,{provide:Q1,useValue:e.isolate},{provide:J1,useValue:e.useDefaultLang},{provide:tw,useValue:e.extend},{provide:ew,useValue:e.defaultLanguage},Un]),Zre=gy(sK(),1),Xre=new $("MESSAGE_FORMAT_CONFIG"),Qre={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Jre=(()=>{const t=class t extends al{constructor(i){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:r,strictNumberSign:s,currency:l,strictPluralKeys:c,throwOnError:d,fallbackPrefix:u}=Q(Q({},Qre),i);this.messageFormatOptions={customFormatters:a,biDiSupport:r,strict:s,currency:l,strictPluralKeys:c},this.throwOnError=!!d,this.fallbackPrefix=u}compile(i,a){if(this.fallbackPrefix&&i.startsWith(this.fallbackPrefix))return i.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(a).compile(i)}catch(s){if(this.throwOnError)throw s;console.error(s),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${i}'`),r=toe(i,a)}return this.throwOnError||(r=eoe(r,i)),r}compileTranslations(i,a){return typeof i=="string"?this.compile(i,a):Object.keys(i).reduce((r,s)=>{let l=i[s];return r[s]=this.compileTranslations(l,a),r},{})}getMessageFormatInstance(i){return this.mfCache.has(i)||this.mfCache.set(i,new Zre.default(i,this.messageFormatOptions)),this.mfCache.get(i)}};t.ɵfac=function(i){return new(i||t)(pe(Xre,8))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})();function eoe(e,t){return n=>{let i=t;try{i=e(n)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${n}'`)}return i}}function toe(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}function Do(e){e||(Hs(),e=S($i));let t=new Ot(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(At(t))}function ioe(e,t){var c;let n=!(t!=null&&t.manualCleanup);n&&!(t!=null&&t.injector)&&Hs();let i=n?((c=t==null?void 0:t.injector)==null?void 0:c.get($i))??S($i):null,a=aoe(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=Pa({kind:0},{equal:a}):r=Pa({kind:1,value:t==null?void 0:t.initialValue},{equal:a});let s,l=e.subscribe({next:d=>r.set({kind:1,value:d}),error:d=>{if(t!=null&&t.rejectErrors)throw d;r.set({kind:2,error:d})},complete:()=>{s==null||s()}});if(t!=null&&t.requireSync&&r().kind===0)throw new Z(601,!1);return s=i==null?void 0:i.onDestroy(l.unsubscribe.bind(l)),Ti(()=>{let d=r();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new Z(601,!1)}},{equal:t==null?void 0:t.equal})}function aoe(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}function iw(e){return e.buttons===0||e.detail===0}function aw(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Vu;function noe(){if(Vu==null){let e=typeof document<"u"?document.head:null;Vu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Vu}function roe(e){if(noe()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function to(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function Ra(e){return e.composedPath?e.composedPath()[0]:e.target}function hi(e,t,n,i,a){let r=parseInt(sv.major),s=parseInt(sv.minor);return r>19||r===19&&s>0||r===0&&s===0?e.listen(t,n,i,a):(t.addEventListener(n,i,a),()=>{t.removeEventListener(n,i,a)})}var pp;try{pp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{pp=!1}var Ut=(()=>{const t=class t{constructor(){o(this,"_platformId",S(Id));o(this,"isBrowser",this._platformId?$ne(this._platformId):typeof document=="object"&&!!document);o(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));o(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));o(this,"BLINK",this.isBrowser&&!!(window.chrome||pp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);o(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);o(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));o(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));o(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);o(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ho;function ooe(){if(Ho==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ho=!0}))}finally{Ho=Ho||!1}return Ho}function Ud(e){return ooe()?e:!!e.capture}function zc(e,t=0){return soe(e)?Number(e):arguments.length===2?t:0}function soe(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Rn(e){return e instanceof ze?e.nativeElement:e}var loe=new $("cdk-input-modality-detector-options"),coe={ignoreKeys:[18,17,224,91,16]},nw=650,zu={passive:!0,capture:!0},doe=(()=>{const t=class t{constructor(){o(this,"_platform",S(Ut));o(this,"_listenerCleanups");o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new rr(null));o(this,"_options");o(this,"_lastTouchMs",0);o(this,"_onKeydown",i=>{var a,r;(r=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&r.some(s=>s===i.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ra(i))});o(this,"_onMousedown",i=>{Date.now()-this._lastTouchMs<nw||(this._modality.next(iw(i)?"keyboard":"mouse"),this._mostRecentTarget=Ra(i))});o(this,"_onTouchstart",i=>{if(aw(i)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ra(i)});let i=S(Ne),a=S(et),r=S(loe,{optional:!0});if(this._options=Q(Q({},coe),r),this.modalityDetected=this._modality.pipe(u0(1)),this.modalityChanged=this.modalityDetected.pipe(QZ()),this._platform.isBrowser){let s=S(na).createRenderer(null,null);this._listenerCleanups=i.runOutsideAngular(()=>[hi(s,a,"keydown",this._onKeydown,zu),hi(s,a,"mousedown",this._onMousedown,zu),hi(s,a,"touchstart",this._onTouchstart,zu)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var i;this._modality.complete(),(i=this._listenerCleanups)==null||i.forEach(a=>a())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hc=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(hc||{}),uoe=new $("cdk-focus-monitor-default-options"),Rl=Ud({passive:!0,capture:!0}),nl=(()=>{const t=class t{constructor(){o(this,"_ngZone",S(Ne));o(this,"_platform",S(Ut));o(this,"_inputModalityDetector",S(doe));o(this,"_origin",null);o(this,"_lastFocusOrigin");o(this,"_windowFocused",!1);o(this,"_windowFocusTimeoutId");o(this,"_originTimeoutId");o(this,"_originFromTouchInteraction",!1);o(this,"_elementInfo",new Map);o(this,"_monitoredElementCount",0);o(this,"_rootNodeFocusListenerCount",new Map);o(this,"_detectionMode");o(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});o(this,"_document",S(et,{optional:!0}));o(this,"_stopInputModalityDetector",new ce);o(this,"_rootNodeFocusAndBlurListener",i=>{let a=Ra(i);for(let r=a;r;r=r.parentElement)i.type==="focus"?this._onFocus(i,r):this._onBlur(i,r)});let i=S(uoe,{optional:!0});this._detectionMode=(i==null?void 0:i.detectionMode)||hc.IMMEDIATE}monitor(i,a=!1){let r=Rn(i);if(!this._platform.isBrowser||r.nodeType!==1)return ft();let s=roe(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return a&&(l.checkChildren=!0),l.subject;let c={checkChildren:a,subject:new ce,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(i){let a=Rn(i),r=this._elementInfo.get(a);r&&(r.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(r))}focusVia(i,a,r){let s=Rn(i),l=this._getDocument().activeElement;s===l?this._getClosestElementsInfo(s).forEach(([c,d])=>this._originChanged(c,a,d)):(this._setOrigin(a),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((i,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===hc.EVENTUAL||!!(i!=null&&i.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(i,a){i.classList.toggle("cdk-focused",!!a),i.classList.toggle("cdk-touch-focused",a==="touch"),i.classList.toggle("cdk-keyboard-focused",a==="keyboard"),i.classList.toggle("cdk-mouse-focused",a==="mouse"),i.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(i,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&a,this._detectionMode===hc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?nw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(i,a){let r=this._elementInfo.get(a),s=Ra(i);!r||!r.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),r)}_onBlur(i,a){let r=this._elementInfo.get(a);!r||r.checkChildren&&i.relatedTarget instanceof Node&&a.contains(i.relatedTarget)||(this._setClasses(a),this._emitOrigin(r,null))}_emitOrigin(i,a){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(a))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let a=i.rootNode,r=this._rootNodeFocusListenerCount.get(a)||0;r||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Rl),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Rl)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(At(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(i){let a=i.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let r=this._rootNodeFocusListenerCount.get(a);r>1?this._rootNodeFocusListenerCount.set(a,r-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Rl),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Rl),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,a,r){this._setClasses(i,a),this._emitOrigin(r,a),this._lastFocusOrigin=a}_getClosestElementsInfo(i){let a=[];return this._elementInfo.forEach((r,s)=>{(s===i||r.checkChildren&&s.contains(i))&&a.push([s,r])}),a}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:a,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!a||a===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let s=i.labels;if(s){for(let l=0;l<s.length;l++)if(s[l].contains(a))return!0}return!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hoe=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_focusMonitor",S(nl));o(this,"_monitorSubscription");o(this,"_focusOrigin",null);o(this,"cdkFocusChange",new le)}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let i=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(i,i.nodeType===1&&i.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(a=>{this._focusOrigin=a,this.cdkFocusChange.emit(a)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),Fl=new WeakMap,Vi=(()=>{const t=class t{constructor(){o(this,"_appRef");o(this,"_injector",S(lt));o(this,"_environmentInjector",S(Va))}load(i){let a=this._appRef=this._appRef||this._injector.get(Vn),r=Fl.get(a);r||(r={loaders:new Set,refs:[]},Fl.set(a,r),a.onDestroy(()=>{var s;(s=Fl.get(a))==null||s.refs.forEach(l=>l.destroy()),Fl.delete(a)})),r.loaders.has(i)||(r.loaders.add(i),r.refs.push(g1(i,{environmentInjector:this._environmentInjector})))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Tr=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
20
20
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function jc(e){return Array.isArray(e)?e:[e]}var Iv=new Set,Zn,poe=(()=>{const t=class t{constructor(){o(this,"_platform",S(Ut));o(this,"_nonce",S(_m,{optional:!0}));o(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):foe}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&moe(i,this._nonce),this._matchMedia(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function moe(e,t){if(!Iv.has(e))try{Zn||(Zn=document.createElement("style"),t&&Zn.setAttribute("nonce",t),Zn.setAttribute("type","text/css"),document.head.appendChild(Zn)),Zn.sheet&&(Zn.sheet.insertRule(`@media ${e} {body{ }}`,0),Iv.add(e))}catch(n){console.error(n)}}function foe(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var rw=(()=>{const t=class t{constructor(){o(this,"_mediaMatcher",S(poe));o(this,"_zone",S(Ne));o(this,"_queries",new Map);o(this,"_destroySubject",new ce)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return Av(jc(i)).some(a=>this._registerQuery(a).mql.matches)}observe(i){let a=Av(jc(i)).map(s=>this._registerQuery(s).observable),r=UZ(a);return r=hs(r.pipe(mi(1)),r.pipe(u0(1),l0(0))),r.pipe(xt(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let a=this._mediaMatcher.matchMedia(i),r={observable:new Ot(s=>{let l=c=>this._zone.run(()=>s.next(c));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(ea(a),xt(({matches:s})=>({query:i,matches:s})),At(this._destroySubject)),mql:a};return this._queries.set(i,r),r}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Av(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}var goe=(()=>{const t=class t{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ow=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",Et({type:t})),o(t,"ɵinj",kt({providers:[goe]}));let e=t;return e})(),sw=(()=>{const t=class t{constructor(){o(this,"_platform",S(Ut))}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return boe(i)&&getComputedStyle(i).visibility==="visible"}isTabbable(i){if(!this._platform.isBrowser)return!1;let a=voe(Coe(i));if(a&&(Ov(a)===-1||!this.isVisible(a)))return!1;let r=i.nodeName.toLowerCase(),s=Ov(i);return i.hasAttribute("contenteditable")?s!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!koe(i)?!1:r==="audio"?i.hasAttribute("controls")?s!==-1:!1:r==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||i.hasAttribute("controls"):i.tabIndex>=0}isFocusable(i,a){return Eoe(i)&&!this.isDisabled(i)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function voe(e){try{return e.frameElement}catch{return null}}function boe(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function yoe(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function _oe(e){return woe(e)&&e.type=="hidden"}function xoe(e){return Soe(e)&&e.hasAttribute("href")}function woe(e){return e.nodeName.toLowerCase()=="input"}function Soe(e){return e.nodeName.toLowerCase()=="a"}function lw(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Ov(e){if(!lw(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function koe(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function Eoe(e){return _oe(e)?!1:yoe(e)||xoe(e)||e.hasAttribute("contenteditable")||lw(e)}function Coe(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Doe=class{constructor(e,t,n,i,a=!1,r){o(this,"_element");o(this,"_checker");o(this,"_ngZone");o(this,"_document");o(this,"_injector");o(this,"_startAnchor");o(this,"_endAnchor");o(this,"_hasAttached",!1);o(this,"startAnchorListener",()=>this.focusLastTabbableElement());o(this,"endAnchorListener",()=>this.focusFirstTabbableElement());o(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._injector=r,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let n=this._getFirstTabbableElement(t);return n==null||n.focus(e),!!n}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=0;n<t.length;n++){let i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=t.length-1;n>=0;n--){let i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?xr(e,{injector:this._injector}):setTimeout(e)}},cw=(()=>{const t=class t{constructor(){o(this,"_checker",S(sw));o(this,"_ngZone",S(Ne));o(this,"_document",S(et));o(this,"_injector",S(lt));S(Vi).load(Tr)}create(i,a=!1){return new Doe(i,this._checker,this._ngZone,this._document,a,this._injector)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ioe=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_focusTrapFactory",S(cw));o(this,"focusTrap");o(this,"_previouslyFocusedElement",null);o(this,"autoCapture");S(Ut).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}get enabled(){var i;return((i=this.focusTrap)==null?void 0:i.enabled)||!1}set enabled(i){this.focusTrap&&(this.focusTrap.enabled=i)}ngOnDestroy(){var i;(i=this.focusTrap)==null||i.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){var i;(i=this.focusTrap)==null||i.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(i){var r;let a=i.autoCapture;a&&!a.firstChange&&this.autoCapture&&((r=this.focusTrap)!=null&&r.hasAttached())&&this._captureFocus()}_captureFocus(){var i;this._previouslyFocusedElement=to(),(i=this.focusTrap)==null||i.focusInitialElementWhenReady()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",qe],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",qe]},exportAs:["cdkTrapFocus"],features:[bi]}));let e=t;return e})(),Aoe=new $("liveAnnouncerElement",{providedIn:"root",factory:Ooe});function Ooe(){return null}var Toe=new $("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Noe=0,dw=(()=>{const t=class t{constructor(){o(this,"_ngZone",S(Ne));o(this,"_defaultOptions",S(Toe,{optional:!0}));o(this,"_liveElement");o(this,"_document",S(et));o(this,"_previousTimeout");o(this,"_currentPromise");o(this,"_currentResolve");let i=S(Aoe,{optional:!0});this._liveElement=i||this._createLiveElement()}announce(i,...a){let r=this._defaultOptions,s,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[s,l]=a,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var c;this._liveElement.textContent=i,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(c=this._currentResolve)==null||c.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var i,a;clearTimeout(this._previousTimeout),(i=this._liveElement)==null||i.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let i="cdk-live-announcer-element",a=this._document.getElementsByClassName(i),r=this._document.createElement("div");for(let s=0;s<a.length;s++)a[s].remove();return r.classList.add(i),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${Noe++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(i){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<a.length;r++){let s=a[r],l=s.getAttribute("aria-owns");l?l.indexOf(i)===-1&&s.setAttribute("aria-owns",l+" "+i):s.setAttribute("aria-owns",i)}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ir=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(ir||{}),Tv="cdk-high-contrast-black-on-white",Nv="cdk-high-contrast-white-on-black",ju="cdk-high-contrast-active",uw=(()=>{const t=class t{constructor(){o(this,"_platform",S(Ut));o(this,"_hasCheckedHighContrastMode");o(this,"_document",S(et));o(this,"_breakpointSubscription");this._breakpointSubscription=S(rw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ir.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let a=this._document.defaultView||window,r=a&&a.getComputedStyle?a.getComputedStyle(i):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(i.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ir.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ir.BLACK_ON_WHITE}return ir.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(ju,Tv,Nv),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===ir.BLACK_ON_WHITE?i.add(ju,Tv):a===ir.WHITE_ON_BLACK&&i.add(ju,Nv)}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hw=(()=>{const t=class t{constructor(){S(uw)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",Et({type:t})),o(t,"ɵinj",kt({imports:[ow]}));let e=t;return e})(),Bu={},wi=(()=>{const t=class t{constructor(){o(this,"_appId",S(Dd))}getId(i){return this._appId!=="ng"&&(i+=this._appId),Bu.hasOwnProperty(i)||(Bu[i]=0),`${i}${Bu[i]++}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Moe=200,Poe=class{constructor(e,t){o(this,"_letterKeyStream",new ce);o(this,"_items",[]);o(this,"_selectedItemIndex",-1);o(this,"_pressedLetters",[]);o(this,"_skipPredicateFn");o(this,"_selectedItem",new ce);o(this,"selectedItem",this._selectedItem);let n=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:Moe;t!=null&&t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(tc(t=>this._pressedLetters.push(t)),l0(e),oi(()=>this._pressedLetters.length>0),xt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var n,i;for(let a=1;a<this._items.length+1;a++){let r=(this._selectedItemIndex+a)%this._items.length,s=this._items[r];if(!((n=this._skipPredicateFn)!=null&&n.call(this,s))&&((i=s.getLabel)==null?void 0:i.call(s).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(s);break}}this._pressedLetters=[]})}};function Ii(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var pw=class{constructor(e,t){o(this,"_items");o(this,"_activeItemIndex",-1);o(this,"_activeItem",Pa(null));o(this,"_wrap",!1);o(this,"_typeaheadSubscription",ct.EMPTY);o(this,"_itemChangesSubscription");o(this,"_vertical",!0);o(this,"_horizontal");o(this,"_allowedModifierKeys",[]);o(this,"_homeAndEnd",!1);o(this,"_pageUpAndDown",{enabled:!1,delta:10});o(this,"_effectRef");o(this,"_typeahead");o(this,"_skipPredicateFn",e=>e.disabled);o(this,"tabOut",new ce);o(this,"change",new ce);this._items=e,e instanceof Tc?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):vs(e)&&(this._effectRef=m1(()=>this._itemsChanged(e()),{injector:t}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new Poe(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){var i,a;let t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}else return;default:(n||Ii(e,"shiftKey"))&&((i=this._typeahead)==null||i.handleKey(e));return}(a=this._typeahead)==null||a.reset(),e.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(e){var a;let t=this._getItemsArray(),n=typeof e=="number"?e:t.indexOf(e),i=t[n];this._activeItem.set(i??null),this._activeItemIndex=n,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(n)}destroy(){var e,t,n;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),(n=this._typeahead)==null||n.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let n=1;n<=t.length;n++){let i=(this._activeItemIndex+e*n+t.length)%t.length,a=t[i];if(!this._skipPredicateFn(a)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=t,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return vs(this._items)?this._items():this._items instanceof Tc?this._items.toArray():this._items}_itemsChanged(e){var n,i;(n=this._typeahead)==null||n.setItems(e);let t=this._activeItem();if(t){let a=e.indexOf(t);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(a))}}},Roe=class extends pw{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Foe=class extends pw{constructor(){super(...arguments);o(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},mw=" ";function fw(e,t,n){let i=Bc(e,t);n=n.trim(),!i.some(a=>a.trim()===n)&&(i.push(n),e.setAttribute(t,i.join(mw)))}function mp(e,t,n){let i=Bc(e,t);n=n.trim();let a=i.filter(r=>r!==n);a.length?e.setAttribute(t,a.join(mw)):e.removeAttribute(t)}function Bc(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var gw="cdk-describedby-message",Ll="cdk-describedby-host",fp=0,Loe=(()=>{const t=class t{constructor(){o(this,"_platform",S(Ut));o(this,"_document",S(et));o(this,"_messageRegistry",new Map);o(this,"_messagesContainer",null);o(this,"_id",`${fp++}`);S(Vi).load(Tr),this._id=S(Dd)+"-"+fp++}describe(i,a,r){if(!this._canBeDescribed(i,a))return;let s=Hu(a,r);typeof a!="string"?(Mv(a,this._id),this._messageRegistry.set(s,{messageElement:a,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(a,r),this._isElementDescribedByMessage(i,s)||this._addMessageReference(i,s)}removeDescription(i,a,r){var l;if(!a||!this._isElementNode(i))return;let s=Hu(a,r);if(this._isElementDescribedByMessage(i,s)&&this._removeMessageReference(i,s),typeof a=="string"){let c=this._messageRegistry.get(s);c&&c.referenceCount===0&&this._deleteMessageElement(s)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var a;let i=this._document.querySelectorAll(`[${Ll}="${this._id}"]`);for(let r=0;r<i.length;r++)this._removeCdkDescribedByReferenceIds(i[r]),i[r].removeAttribute(Ll);(a=this._messagesContainer)==null||a.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(i,a){let r=this._document.createElement("div");Mv(r,this._id),r.textContent=i,a&&r.setAttribute("role",a),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Hu(i,a),{messageElement:r,referenceCount:0})}_deleteMessageElement(i){var a,r;(r=(a=this._messageRegistry.get(i))==null?void 0:a.messageElement)==null||r.remove(),this._messageRegistry.delete(i)}_createMessagesContainer(){if(this._messagesContainer)return;let i="cdk-describedby-message-container",a=this._document.querySelectorAll(`.${i}[platform="server"]`);for(let s=0;s<a.length;s++)a[s].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(i),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(i){let a=Bc(i,"aria-describedby").filter(r=>r.indexOf(gw)!=0);i.setAttribute("aria-describedby",a.join(" "))}_addMessageReference(i,a){let r=this._messageRegistry.get(a);fw(i,"aria-describedby",r.messageElement.id),i.setAttribute(Ll,this._id),r.referenceCount++}_removeMessageReference(i,a){let r=this._messageRegistry.get(a);r.referenceCount--,mp(i,"aria-describedby",r.messageElement.id),i.removeAttribute(Ll)}_isElementDescribedByMessage(i,a){let r=Bc(i,"aria-describedby"),s=this._messageRegistry.get(a),l=s&&s.messageElement.id;return!!l&&r.indexOf(l)!=-1}_canBeDescribed(i,a){if(!this._isElementNode(i))return!1;if(a&&typeof a=="object")return!0;let r=a==null?"":`${a}`.trim(),s=i.getAttribute("aria-label");return r?!s||s.trim()!==r:!1}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Hu(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function Mv(e,t){e.id||(e.id=`${gw}-${t}-${fp++}`)}var Da=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(Da||{}),Vl,Xn;function vw(){if(Xn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Xn=!1,Xn;if("scrollBehavior"in document.documentElement.style)Xn=!0;else{let e=Element.prototype.scrollTo;e?Xn=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Xn=!1}}return Xn}function $o(){if(typeof document!="object"||!document)return Da.NORMAL;if(Vl==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),Vl=Da.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Vl=e.scrollLeft===0?Da.NEGATED:Da.INVERTED),e.remove()}return Vl}function Pv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Vr,Rv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Fv(){if(Vr)return Vr;if(typeof document!="object"||!document)return Vr=new Set(Rv),Vr;let e=document.createElement("input");return Vr=new Set(Rv.filter(t=>(e.setAttribute("type",t),e.type===t))),Vr}function io(e){return e!=null&&`${e}`!="false"}function Kt(e){return e==null?"":typeof e=="string"?e:`${e}px`}function Voe(e,t=/\s+/){let n=[];if(e!=null){let i=Array.isArray(e)?e:`${e}`.split(t);for(let a of i){let r=`${a}`.trim();r&&n.push(r)}}return n}var Zi=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(Zi||{}),zoe=class{constructor(e,t,n,i=!1){o(this,"_renderer");o(this,"element");o(this,"config");o(this,"_animationForciblyDisabledThroughCss");o(this,"state",Zi.HIDDEN);this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},Lv=Ud({passive:!0,capture:!0}),joe=class{constructor(){o(this,"_events",new Map);o(this,"_delegateEventHandler",e=>{var n;let t=Ra(e);t&&((n=this._events.get(e.type))==null||n.forEach((i,a)=>{(a===t||a.contains(t))&&i.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,n,i){let a=this._events.get(t);if(a){let r=a.get(n);r?r.add(i):a.set(n,new Set([i]))}else this._events.set(t,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Lv)})}removeHandler(e,t,n){let i=this._events.get(e);if(!i)return;let a=i.get(t);a&&(a.delete(n),a.size===0&&i.delete(t),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Lv)))}},Hc={enterDuration:225,exitDuration:150},Boe=800,Vv=Ud({passive:!0,capture:!0}),zv=["mousedown","touchstart"],jv=["mouseup","mouseleave","touchend","touchcancel"],Hoe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
21
21
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),On,bw=(On=class{constructor(t,n,i,a,r){o(this,"_target");o(this,"_ngZone");o(this,"_platform");o(this,"_containerElement");o(this,"_triggerElement");o(this,"_isPointerDown",!1);o(this,"_activeRipples",new Map);o(this,"_mostRecentTransientRipple");o(this,"_lastTouchStartEvent");o(this,"_pointerUpEventsRegistered",!1);o(this,"_containerRect");this._target=t,this._ngZone=n,this._platform=a,a.isBrowser&&(this._containerElement=Rn(i)),r&&r.get(Vi).load(Hoe)}fadeInRipple(t,n,i={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Q(Q({},Hc),i.animation);i.centered&&(t=a.left+a.width/2,n=a.top+a.height/2);let s=i.radius||$oe(t,n,a),l=t-a.left,c=n-a.top,d=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${l-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,i.color!=null&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(u);let m=window.getComputedStyle(u),v=m.transitionProperty,g=m.transitionDuration,x=v==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,w=new zoe(this,u,i,x);u.style.transform="scale3d(1, 1, 1)",w.state=Zi.FADING_IN,i.persistent||(this._mostRecentTransientRipple=w);let E=null;return!x&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>{E&&(E.fallbackTimer=null),clearTimeout(R),this._finishRippleTransition(w)},V=()=>this._destroyRipple(w),R=setTimeout(V,d+100);u.addEventListener("transitionend",N),u.addEventListener("transitioncancel",V),E={onTransitionEnd:N,onTransitionCancel:V,fallbackTimer:R}}),this._activeRipples.set(w,E),(x||!d)&&this._finishRippleTransition(w),w}fadeOutRipple(t){if(t.state===Zi.FADING_OUT||t.state===Zi.HIDDEN)return;let n=t.element,i=Q(Q({},Hc),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=Zi.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=Rn(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,zv.forEach(i=>{On._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{jv.forEach(n=>{this._triggerElement.addEventListener(n,this,Vv)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Zi.FADING_IN?this._startFadeOutTransition(t):t.state===Zi.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=Zi.VISIBLE,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Zi.HIDDEN,n!==null&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){let n=iw(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Boe;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!aw(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let n=t.state===Zi.VISIBLE||t.config.terminateOnPointerUp&&t.state===Zi.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(zv.forEach(n=>On._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(jv.forEach(n=>t.removeEventListener(n,this,Vv)),this._pointerUpEventsRegistered=!1))}},o(On,"_eventManager",new joe),On);function $oe(e,t,n){let i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),a=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+a*a)}var af=new $("mat-ripple-global-options"),qoe=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_animationMode",S(Gi,{optional:!0}));o(this,"color");o(this,"unbounded");o(this,"centered");o(this,"radius",0);o(this,"animation");o(this,"_disabled",!1);o(this,"_trigger");o(this,"_rippleRenderer");o(this,"_globalOptions");o(this,"_isInitialized",!1);let i=S(Ne),a=S(Ut),r=S(af,{optional:!0}),s=S(lt);this._globalOptions=r||{},this._rippleRenderer=new bw(this,i,this._elementRef,a,s)}get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}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:Q(Q(Q({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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(i,a=0,r){return typeof i=="number"?this._rippleRenderer.fadeInRipple(i,a,Q(Q({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Q(Q({},this.rippleConfig),i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-ripple-unbounded",a.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"]}));let e=t;return e})(),Uoe={capture:!0},Goe=["focus","mousedown","mouseenter","touchstart"],$u="mat-ripple-loader-uninitialized",qu="mat-ripple-loader-class-name",Bv="mat-ripple-loader-centered",zl="mat-ripple-loader-disabled",yw=(()=>{const t=class t{constructor(){o(this,"_document",S(et));o(this,"_animationMode",S(Gi,{optional:!0}));o(this,"_globalRippleOptions",S(af,{optional:!0}));o(this,"_platform",S(Ut));o(this,"_ngZone",S(Ne));o(this,"_injector",S(lt));o(this,"_eventCleanups");o(this,"_hosts",new Map);o(this,"_onInteraction",i=>{var r;let a=Ra(i);if(a instanceof HTMLElement){let s=a.closest(`[${$u}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);s&&this._createRipple(s)}});let i=S(na).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Goe.map(a=>hi(i,this._document,a,this._onInteraction,Uoe)))}ngOnDestroy(){let i=this._hosts.keys();for(let a of i)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(i,a){var r;i.setAttribute($u,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(a.className||!i.hasAttribute(qu))&&i.setAttribute(qu,a.className||""),a.centered&&i.setAttribute(Bv,""),a.disabled&&i.setAttribute(zl,"")}setDisabled(i,a){let r=this._hosts.get(i);r?(r.target.rippleDisabled=a,!a&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(i))):a?i.setAttribute(zl,""):i.removeAttribute(zl)}_createRipple(i){var v,g,x;if(!this._document||this._hosts.has(i))return;(v=i.querySelector(".mat-ripple"))==null||v.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",i.getAttribute(qu)),i.append(a);let r=this._animationMode==="NoopAnimations",s=this._globalRippleOptions,l=r?0:((g=s==null?void 0:s.animation)==null?void 0:g.enterDuration)??Hc.enterDuration,c=r?0:((x=s==null?void 0:s.animation)==null?void 0:x.exitDuration)??Hc.exitDuration,d={rippleDisabled:r||(s==null?void 0:s.disabled)||i.hasAttribute(zl),rippleConfig:{centered:i.hasAttribute(Bv),terminateOnPointerUp:s==null?void 0:s.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:c}}},u=new bw(d,this._ngZone,a,this._platform,this._injector),m=!d.rippleDisabled;m&&u.setupTriggerEvents(i),this._hosts.set(i,{target:d,renderer:u,hasSetUpEvents:m}),i.removeAttribute($u)}destroyRipple(i){let a=this._hosts.get(i);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rl=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|