From 4c203786e294d0b0e5cb63251ccc611c602b5ac2 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Sat, 14 Sep 2024 17:31:10 +0200 Subject: [PATCH] Work on IUA --- angular/src/app/fhirConfig.service.ts | 15 +++++++++++++++ angular/src/app/mag/mag.component.ts | 5 +++-- src/main/resources/static/index.html | 2 +- .../resources/static/main.02addadb5bfb7b47.js | 1 + .../resources/static/main.8a6673335e446905.js | 1 - 5 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/static/main.02addadb5bfb7b47.js delete mode 100644 src/main/resources/static/main.8a6673335e446905.js diff --git a/angular/src/app/fhirConfig.service.ts b/angular/src/app/fhirConfig.service.ts index c30fd0f..4bcd8bb 100644 --- a/angular/src/app/fhirConfig.service.ts +++ b/angular/src/app/fhirConfig.service.ts @@ -83,6 +83,21 @@ export class FhirConfigService { } as AuthConfig; } + getAuthCodeFlowConfigForEHS(): AuthConfig { + return { + loginUrl: 'https://ehealthsuisse.ihe-europe.net/iua-simulator/rest/ch/authorize', + tokenEndpoint: 'https://ehealthsuisse.ihe-europe.net/iua-simulator/rest/ch/token', + clientId: this.getClientSecret(), + redirectUri: location.origin + location.pathname, + customQueryParams: { + aud: location.origin + location.pathname, + }, + responseType: 'code', + showDebugInformation: true, + timeoutFactor: 0.75, + } as AuthConfig; + } + getAuthCodeFlowConfig(provider: string): AuthConfig { const idpAlias = provider ? ("/alias/" + provider) : ""; return { diff --git a/angular/src/app/mag/mag.component.ts b/angular/src/app/mag/mag.component.ts index 2dc216c..5cae04a 100644 --- a/angular/src/app/mag/mag.component.ts +++ b/angular/src/app/mag/mag.component.ts @@ -570,8 +570,9 @@ export class MagComponent implements OnInit { async onAuthenticate() { this.cache(); this.scopes = null; - const authCodeFlowConfig = await this.fhirConfigService.getAuthCodeFlowConfigFromMetadata('https://ehealthsuisse.ihe-europe.net/iua-simulator/rest/ch/.well-known'); - console.log(authCodeFlowConfig); + //const authCodeFlowConfig = await + // this.fhirConfigService.getAuthCodeFlowConfigFromMetadata('https://ehealthsuisse.ihe-europe.net/iua-simulator/rest/ch/.well-known'); + const authCodeFlowConfig = this.fhirConfigService.getAuthCodeFlowConfigForEHS(); authCodeFlowConfig.scope = `person_id=${this.targetIdentifier2Value}^^^&2.16.756.5.30.1.127.3.10.3&ISO purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM subject_role=urn:oid:2.16.756.5.30.1.127.3.10.6|`; if (this.authenticate.value === 'HCP') { authCodeFlowConfig.scope += `HCP`; diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 08138ef..8fcf054 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -18,5 +18,5 @@ - + diff --git a/src/main/resources/static/main.02addadb5bfb7b47.js b/src/main/resources/static/main.02addadb5bfb7b47.js new file mode 100644 index 0000000..dc8336c --- /dev/null +++ b/src/main/resources/static/main.02addadb5bfb7b47.js @@ -0,0 +1 @@ +(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{9473:(Ie,B)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.Ucum=void 0,B.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'',closeEmphHTML_:"",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},1995:(Ie,B,a)=>{"use strict";B.R=void 0;var c=a(9473),d=a(4864);class g{constructor(h){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==h)this.assignZero();else if(h instanceof Array){if(h.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(h)}`);this.dimVec_=[];for(let f=0;f=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[h]=1}}setElementAt(h,f){if(!d(h)||h<0||h>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${h})`);this.dimVec_||this.assignZero(),null==f&&(f=1),this.dimVec_[h]=f}getElementAt(h){if(!d(h)||h<0||h>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${h})`);let f=null;return this.dimVec_&&(f=this.dimVec_[h]),f}getProperty(h){return this["_"===h.charAt(h.length-1)?h:h+"_"]}toString(){let h=null;return this.dimVec_&&(h="["+this.dimVec_.join(", ")+"]"),h}add(h){if(!h instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof h} instead of a Dimension object`);if(this.dimVec_&&h.dimVec_)for(let f=0;f{"use strict";B.DP=function u(v){const b=v&&v.config;if(b){if(b.length&&v.data){const p=g(b);return v.data.map(h.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function h(v,b){let p={};return v.forEach((_,l)=>{let y=p;for(let x=0;x<_.length-1;x++)y=y[_[x]]=y[_[x]]||{};y[_[_.length-1]]=b[l]}),p}},3407:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.Prefix=void 0,a(9473),B.Prefix=class c{constructor(g){if(null==g.code_||null==g.name_||null==g.value_||void 0===g.exp_)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=g.code_,this.ciCode_=g.ciCode_,this.name_=g.name_,this.printSymbol_=g.printSymbol_,this.value_="string"==typeof g.value_?parseFloat(g.value_):g.value_,this.exp_=g.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(g){return this.code_===g.code_&&this.ciCode_===g.ciCode_&&this.name_===g.name_&&this.printSymbol_===g.printSymbol_&&this.value_===g.value_&&this.exp_===g.exp_}}},8902:(Ie,B)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.PrefixTables=B.PrefixTablesFactory=void 0;class a{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let g="",r=Object.keys(this.byValue_),h=r.length;for(let f=0;f{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var n=new class a{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(d){return d-273.15},cnvFrom:function(d){return d+273.15}},this.funcs.degf={cnvTo:function(d){return d-459.67},cnvFrom:function(d){return d+459.67}},this.funcs.degre={cnvTo:function(d){return d-273.15},cnvFrom:function(d){return d+273.15}},this.funcs.ph={cnvTo:function(d){return-Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,-d)}},this.funcs.ln={cnvTo:function(d){return Math.log(d)},cnvFrom:function(d){return Math.exp(d)}},this.funcs["2ln"]={cnvTo:function(d){return 2*Math.log(d)},cnvFrom:function(d){return Math.exp(d/2)}},this.funcs.lg={cnvTo:function(d){return Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d)}},this.funcs["10lg"]={cnvTo:function(d){return 10*Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d/10)}},this.funcs["20lg"]={cnvTo:function(d){return 20*Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d/20)}},this.funcs["2lg"]={cnvTo:function(d){return 2*Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(d){return Math.log(d)/Math.LN2},cnvFrom:function(d){return Math.pow(2,d)}},this.funcs["100tan"]={cnvTo:function(d){return 100*Math.tan(d)},cnvFrom:function(d){return Math.atan(d/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(d){return Math.sqrt(d)},cnvFrom:function(d){return d*d}},this.funcs.inv={cnvTo:function(d){return 1/d},cnvFrom:function(d){return 1/d}},this.funcs.hpX={cnvTo:function(d){return-this.funcs.lg(d)},cnvFrom:function(d){return Math.pow(10,-d)}},this.funcs.hpC={cnvTo:function(d){return-this.func.ln(d)/this.funcs.ln(100)},cnvFrom:function(d){return Math.pow(100,-d)}},this.funcs.hpM={cnvTo:function(d){return-this.funcs.ln(d)/this.funcs.ln(1e3)},cnvFrom:function(d){return Math.pow(1e3,-d)}},this.funcs.hpQ={cnvTo:function(d){return-this.funcs.ln(d)/this.funcs.ln(5e4)},cnvFrom:function(d){return Math.pow(5e4,-d)}}}forName(d){d=d.toLowerCase();let g=this.funcs[d];if(null===g)throw new Error(`Requested function ${d} is not defined`);return g}isDefined(d){return d=d.toLowerCase(),null!==this.funcs[d]}};B.default=n},6361:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.isNumericString=function c(r){let h=""+r;return!isNaN(h)&&!isNaN(parseFloat(h))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let h={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){h.status="succeeded";let v=u.units.length;h.units=[];for(let b=0;b{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.ucumJsonDefs=B.UcumJsonDefs=void 0;var n=a(3407),c=a(8902),d=a(5744),g=a(7894),r=a(5601).DP;class h{loadJsonDefs(){const v=a(8210);if(v.prefixes=r(v.prefixes),v.units=r(v.units),0===g.UnitTables.getInstance().unitsCount()){let b=c.PrefixTables.getInstance(),p=v.prefixes,_=p.length;for(let D=0;D<_;D++){let S=new n.Prefix(p[D]);b.add(S)}let l=g.UnitTables.getInstance(),y=v.units,x=y.length;for(let D=0;D{"use strict";B.n=void 0;var c=a(8929),d=function r(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var p=g();if(p&&p.has(b))return p.get(b);var _={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in b)if(Object.prototype.hasOwnProperty.call(b,y)){var x=l?Object.getOwnPropertyDescriptor(b,y):null;x&&(x.get||x.set)?Object.defineProperty(_,y,x):_[y]=b[y]}return _.default=b,p&&p.set(b,_),_}(a(6361));function g(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return g=function(){return b},b}var h=a(9473).Ucum,f=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===f.getInstance().unitsCount()&&c.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=u.getInstance()}useHTMLInMessages(p){void 0===p&&(p=!0),this.uStrParser_.useHTMLInMessages(p)}useBraceMsgForEachString(p){void 0===p&&(p=!0),this.uStrParser_.useBraceMsgForEachString(p)}validateUnitString(p,_,l){void 0===_&&(_=!1),void 0===l&&(l="validate");let y=this.getSpecifiedUnit(p,l,_),x=y.unit,D={};return D=x?{status:y.origString===p?"valid":"invalid",ucumCode:y.origString,unit:{code:x.csCode_,name:x.name_,guidance:x.guidance_}}:{status:y.origString&&null!==y.origString?"invalid":"error",ucumCode:null},y.suggestions&&(D.suggestions=y.suggestions),D.msg=y.retMsg,D}convertUnitTo(p,_,l,y,x){void 0===y&&(y=!1),void 0===x&&(x=null);let D={status:"failed",toVal:null,msg:[]};if(p&&(p=p.trim()),(!p||""==p)&&(D.status="error",D.msg.push('No "from" unit expression specified.')),(null===_||isNaN(_)||"number"!=typeof _&&!d.isNumericString(_))&&(D.status="error",D.msg.push('No "from" value, or an invalid "from" value, was specified.')),l&&(l=l.trim()),(!l||""==l)&&(D.status="error",D.msg.push('No "to" unit expression specified.')),"error"!==D.status)try{let S=null,E=this.getSpecifiedUnit(p,"convert",y);S=E.unit,E.retMsg&&(D.msg=D.msg.concat(E.retMsg)),E.suggestions&&(D.suggestions={},D.suggestions.from=E.suggestions),S||D.msg.push(`Unable to find a unit for ${p}, so no conversion could be performed.`);let I=null;if(E=this.getSpecifiedUnit(l,"convert",y),I=E.unit,E.retMsg&&(D.msg=D.msg.concat(E.retMsg)),E.suggestions&&(D.suggestions||(D.suggestions={}),D.suggestions.to=E.suggestions),I||D.msg.push(`Unable to find a unit for ${l}, so no conversion could be performed.`),S&&I)try{if(x){if(0!==S.moleExp_&&0!==I.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(0===S.moleExp_&&0===I.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!S.isMoleMassCommensurable(I))throw new Error(`Sorry. ${p} cannot be converted to ${l}.`);D.toVal=0!==S.moleExp_?S.convertMolToMass(_,I,x):S.convertMassToMol(_,I,x)}else D.toVal=I.convertFrom(_,S);D.status="succeeded",D.fromUnit=S,D.toUnit=I}catch(X){D.status="failed",D.msg.push(X.message)}}catch(S){D.status=S.message==h.needMoleWeightMsg_?"failed":"error",D.msg.push(S.message)}return D}checkSynonyms(p){let _={};return null==p?(_.status="error",_.msg="No term specified for synonym search."):_=d.getSynonyms(p),_}getSpecifiedUnit(p,_,l){void 0===l&&(l=!1);let y={retMsg:[]};if(p){let x=f.getInstance();p=p.trim();let D=x.getUnitByCode(p);if(D)y.unit=D,y.origString=p;else try{let S=this.uStrParser_.parseString(p,_,l);y.unit=S[0],y.origString=S[1],S[2]&&(y.retMsg=S[2]),y.suggestions=S[3]}catch(S){console.log(`Unit requested for unit string ${p}.request unsuccessful; error thrown = `+S.message),y.retMsg.unshift(`${p} is not a valid unit. ${S.message}`)}}else y.retMsg.push("No unit string specified.");return y}commensurablesList(p){let _=[],l=null,y=this.getSpecifiedUnit(p,"validate",!1),x=y.unit;if(y.retMsg.length>0&&(_=y.retMsg),x){let D=null,S=x.getProperty("dim_");if(S){try{D=S.getProperty("dimVec_")}catch(E){_.push(E.message),"Dimension does not have requested property(dimVec_)"===E.message&&(D=null)}D&&(l=f.getInstance().getUnitsByDimension(D))}else _.push("No commensurable units were found for "+p)}else _.push(`Could not find unit ${p}.`);return[l,_]}}B.n=v,v.getInstance=function(){return new v}},2207:(Ie,B,a)=>{"use strict";B.ng=void 0,a(9473);var d=a(9741).n;B.ng=d,a(7894)},5744:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.Unit=void 0;var n=function r(p){return p&&p.__esModule?p:{default:p}}(a(5568)),c=function g(p){if(p&&p.__esModule)return p;if(null===p||"object"!=typeof p&&"function"!=typeof p)return{default:p};var _=d();if(_&&_.has(p))return _.get(p);var l={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in p)if(Object.prototype.hasOwnProperty.call(p,x)){var D=y?Object.getOwnPropertyDescriptor(p,x):null;D&&(D.get||D.set)?Object.defineProperty(l,x,D):l[x]=p[x]}return l.default=p,_&&_.set(p,l),l}(a(6361));function d(){if("function"!=typeof WeakMap)return null;var p=new WeakMap;return d=function(){return p},p}var u,h=a(9473).Ucum,f=a(1995).R,v=a(4864);class b{constructor(_={}){this.isBase_=_.isBase_||!1,this.name_=_.name_||"",this.csCode_=_.csCode_||"",this.ciCode_=_.ciCode_||"",this.property_=_.property_||"",this.magnitude_=_.magnitude_||1,this.dim_=null==_.dim_?new f:void 0!==_.dim_.dimVec_?new f(_.dim_.dimVec_):_.dim_ instanceof f?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new f(_.dim_):new f,this.printSymbol_=_.printSymbol_||null,this.class_=_.class_||null,this.isMetric_=_.isMetric_||!1,this.variable_=_.variable_||null,this.cnv_=_.cnv_||null,this.cnvPfx_=_.cnvPfx_||1,this.isSpecial_=_.isSpecial_||!1,this.isArbitrary_=_.isArbitrary_||!1,this.moleExp_=_.moleExp_||0,this.synonyms_=_.synonyms_||null,this.source_=_.source_||null,this.loincProperty_=_.loincProperty_||null,this.category_=_.category_||null,this.guidance_=_.guidance_||null,this.csUnitString_=_.csUnitString_||null,this.ciUnitString_=_.ciUnitString_||null,this.baseFactorStr_=_.baseFactorStr_||null,this.baseFactor_=_.baseFactor_||null,this.defError_=_.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new f),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(_){for(let l in _){let y="_"===!l.charAt(l.length-1)?l+"_":l;if(!this.hasOwnProperty(y))throw new Error(`Parameter error; ${l} is not a property of a Unit`);this[y]=_[l]}}clone(){let _=new b;return Object.getOwnPropertyNames(this).forEach(l=>{"dim_"===l?_.dim_=this.dim_?this.dim_.clone():null:_[l]=this[l]}),_}assign(_){Object.getOwnPropertyNames(_).forEach(l=>{"dim_"===l?this.dim_=_.dim_?_.dim_.clone():null:this[l]=_[l]})}equals(_){return this.magnitude_===_.magnitude_&&this.cnv_===_.cnv_&&this.cnvPfx_===_.cnvPfx_&&(null===this.dim_&&null===_.dim_||this.dim_.equals(_.dim_))}fullEquals(_){let l=Object.keys(this).sort(),y=Object.keys(_).sort(),x=l.length,D=x===y.length;for(let S=0;S0){let l=_.replace("/","!").replace(".","/").replace("!",".");switch(l.charAt(0)){case".":_=l.substr(1);break;case"/":_=l;break;default:_="/"+l}}return _}_concatStrs(_,l,y,x,D){return this._buildOneString(_,x,D)+l+this._buildOneString(y,x,D)}_buildOneString(_,l,y){let x="";return x=c.isNumericString(_)||"("===_.charAt(0)||"["===_.charAt(0)?_:/[./* ]/.test(_)?l+_+y:_,x}power(_){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let y=this.csCode_.match(/([./]|[^./]+)/g),x=y.length;for(let D=0;D=0;X--){let $=parseInt(S[X]);if(!v($)){if(("-"===S[X]||"+"===S[X])&&X--,X{"use strict";B.T=void 0;var c=function g(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var p=d();if(p&&p.has(b))return p.get(b);var _={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in b)if(Object.prototype.hasOwnProperty.call(b,y)){var x=l?Object.getOwnPropertyDescriptor(b,y):null;x&&(x.get||x.set)?Object.defineProperty(_,y,x):_[y]=b[y]}return _.default=b,p&&p.set(b,_),_}(a(6361));function d(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return d=function(){return b},b}var r=a(9473).Ucum,h=a(5744).Unit,f=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=f.getInstance(),this.pfxTabs_=u.getInstance(),this.openEmph_=r.openEmph_,this.closeEmph_=r.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}useHTMLInMessages(p){void 0===p||p?(this.openEmph_=r.openEmphHTML_,this.closeEmph_=r.closeEmphHTML_):(this.openEmph_=r.openEmph_,this.closeEmph_=r.closeEmph_)}useBraceMsgForEachString(p){this.bracesMsg_=void 0===p||p?r.bracesMsg_:""}parseString(p,_,l){if(""===(p=p.trim())||null===p)throw new Error("Please specify a unit expression to be validated.");"validate"===_?(this.vcMsgStart_=r.valMsgStart_,this.vcMsgEnd_=r.valMsgEnd_):(this.vcMsgStart_=r.cnvMsgStart_,this.vcMsgEnd_=r.cnvMsgEnd_),this.suggestions_=void 0===l||!1===l?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let y=p,x=[];if(p=this._getAnnotations(p),this.retMsg_.length>0)x[0]=null,x[1]=null;else{let S=null;for(S in r.specUnits_)for(;-1!==p.indexOf(S);)p=p.replace(S,r.specUnits_[S]);if(p.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");x=this._parseTheString(p,y);let E=x[0];(c.isIntegerUnit(E)||"number"==typeof E)&&(E=new h({csCode_:y,magnitude_:E,name_:y}),x[0]=E)}return x[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(x[3]=this.suggestions_),x}_parseTheString(p,_){let l=null,y=this.retMsg_.length>0,x=this._processParens(p,_);y=x[2];let D=[];if(!y){let S=this._makeUnitsArray(p=x[0],_=x[1]);if(y=S[2],!y){D=S[0],_=S[1];let E=D.length;for(let I=0;I=0){let $=this._getParensUnit(X,_);y||(y=$[1]),y||(D[I].un=$[0])}else{let $=this._makeUnit(X,_);null===$[0]?y=!0:(D[I].un=$[0],_=$[1])}}}}return y||(null===D[0]||" "===D[0]||null==D[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${_}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),y=!0),y||(l=this._performUnitArithmetic(D,_)),[l,_]}_getAnnotations(p){let _=p.indexOf("{");for(;_>=0;){let y=p.indexOf("}");if(y<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+p.substr(_)+this.closeEmph_),_=-1;else{let x=p.substring(_,y+1),D=this.annotations_.length.toString();p=p.replace(x,this.braceFlag_+D+this.braceFlag_),this.annotations_.push(x),_=p.indexOf("{")}}let l=p.indexOf("}");return l>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+p.substring(0,l+1)+this.closeEmph_),p}_processParens(p,_){let l=[],y=0,x=!1,D=this.parensUnits_.length,S=0;for(;""!==p&&!x;){let E=0,I=0,X=p.indexOf("(");if(X<0){let $=p.indexOf(")");if($>=0){let ee=`Missing open parenthesis for close parenthesis at ${p.substring(0,$+S)}${this.openEmph_}${p.substr($,1)}${this.closeEmph_}`;$0&&(l[y++]=p.substr(0,X));let ee=0,ie=X+1;for(;ie<$&&E!=I;ie++)"("===p[ie]?E+=1:")"===p[ie]&&(I+=1);if(E===I){ee=ie,l[y++]=this.parensFlag_+D.toString()+this.parensFlag_;let A=this._parseTheString(p.substring(X+1,ee-1),_);null===A[0]?x=!0:(_=A[1],this.parensUnits_[D++]=A[0],p=p.substr(ee),S=ee)}else l.push(_.substr(X)),this.retMsg_.push(`Missing close parenthesis for open parenthesis at ${_.substring(0,X+S)}${this.openEmph_}${_.substr(X,1)}${this.closeEmph_}${_.substr(X+1)}`),x=!0}}return x&&(this.parensUnits_=[]),[l.join(""),_,x]}_makeUnitsArray(p,_){let l=p.match(/([./]|[^./]+)/g),y=!1,x=[],D=/(^[0-9]+)(\[?[a-zA-Z\_0-9a-zA-Z\_]+\]?$)/;if("/"===l[0]?l.unshift("1"):"."===l[0]&&(this.retMsg_.push(`${_} is not a valid UCUM code. The multiplication operator at the beginning of the expression is not valid. A multiplication operator must appear only between two codes.`),y=!0),!y){if(!c.isNumericString(l[0])){let S=l[0].match(D);if(S&&3===S.length&&""!==S[1]&&""!==S[2]&&0!==S[2].indexOf(this.braceFlag_)){let E=S[2];if(!y&&-1!==S[2].indexOf(this.parensFlag_)){let I=this._getParensUnit(S[2],_);S[2]=I[0].csCode_,E=`(${S[2]})`,y=I[1]}y||(this.retMsg_.push(`${S[1]}${E} is not a valid UCUM code. ${this.vcMsgStart_}${S[1]}.${E}${this.vcMsgEnd_}`),_=_.replace(`${S[1]}${E}`,`${S[1]}.${E}`),l[0]=S[2],l.unshift(S[1],"."))}}if(!y){let S=l.length;x=[{op:"",un:l[0]}];for(let E=1;E0&&(I=p.substr(0,E-1));let X=p.lastIndexOf(this.parensFlag_),$=null;X+this.pFlagLen_=0){let ie=this._getAnnoText(I,_);if(ie[1]||ie[2])throw new Error(`Text found before the parentheses (${I}) included an annotation along with other text for parenthetical unit ${x.csCode_}`);this.retMsg_.push(`The annotation ${ie[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(p+=ie[0])+this.vcMsgEnd_)}else this.suggestions_?l="succeeded"!==this._getSuggestions(I):(this.retMsg_.push(`${I} preceding the unit code ${p} is invalid. Unable to make a substitution.`),l=!0);if($)if($.indexOf(this.braceFlag_)>=0){let ie=this._getAnnoText($,_);if(ie[1]||ie[2])throw new Error(`Text found after the parentheses (${$}) included an annotation along with other text for parenthetical unit ${x.csCode_}`);p+=ie[0]}else c.isNumericString($)?(p+=$,x=x.power(Number($)),this.retMsg_.push(`An exponent (${$}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+p+this.vcMsgEnd_)):this.suggestions_?l="succeeded"!==this._getSuggestions(I):(this.retMsg_.push(`Text ${$} following the unit code ${p} is invalid. Unable to make a substitution.`),l=!0);return l||(x?c.isIntegerUnit(x)?x=new h({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new h({csCode_:p,magnitude_:1,name_:p})),[x,l]}_getAnnoText(p,_){let l=p.indexOf(this.braceFlag_),y=l>0?p.substring(0,l):null;0!==l&&(p=p.substr(l));let x=p.indexOf(this.braceFlag_,1),D=x+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${S} found in ${p} that was created from ${_}`);return[p=this.annotations_[E],y,D]}_getSuggestions(p){let _=c.getSynonyms(p);if("succeeded"===_.status){let l={};l.msg=`${p} is not a valid UCUM code. We found possible units that might be what was meant:`,l.invalidUnit=p;let y=_.units.length;l.units=[];for(let x=0;x=0){let y=this._getUnitWithAnnotation(p,_);l=y[0],l&&(_=y[1])}else{if(p.indexOf("^")>-1){let y=p.replace("^","*");l=this.utabs_.getUnitByCode(y),l&&(l=l.clone(),l.csCode_=l.csCode_.replace("*","^"),l.ciCode_=l.ciCode_.replace("*","^"))}if(!l){let y="["+p+"]";l=this.utabs_.getUnitByCode(y),l&&(l=l.clone(),_=_.replace(p,y),this.retMsg_.push(`${p} is not a valid unit expression, but ${y} is.\n`+this.vcMsgStart_+`${y} (${l.name_})${this.vcMsgEnd_}`))}if(!l){let y=this.utabs_.getUnitByName(p);if(y&&y.length>0){l=y[0].clone();let x="The UCUM code for "+p+" is "+l.csCode_+".\n"+this.vcMsgStart_+l.csCode_+this.vcMsgEnd_,D=!1;for(let I=0;I"+Ae+"",csCode_:Re+Ae,ciCode_:U+Ae,printSymbol_:Me+""+Ae+""})}}else l=null,this.suggestions_?this._getSuggestions(y):this.retMsg_.push(`${y} is not a valid UCUM code.`)}}return[l,_]}_getUnitWithAnnotation(p,_){let l=null,y=this._getAnnoText(p,_),x=y[0],D=y[1],S=y[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let E=this.retMsg_.length;if(D||S)if(D&&!S)if(c.isIntegerUnit(D))l=D;else{let I=this._makeUnit(D,_);I[0]?(l=I[0],l.csCode_+=x,_=I[1]):this.retMsg_.push(`Unable to find a unit for ${D} that precedes the annotation ${x}.`)}else if(!D&&S)if(c.isIntegerUnit(S))l=S+x,this.retMsg_.push(`The annotation ${x} before the ``${S} is invalid.\n`+this.vcMsgStart_+l+this.vcMsgEnd_);else{let I=this._makeUnit(S,_);I[0]?(l=I[0],l.csCode_+=x,_=l.csCode_,this.retMsg_.push(`The annotation ${x} before the unit code is invalid.\n`+this.vcMsgStart_+l.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${D} that follows the annotation ${x}.`)}else this.retMsg_.push(`Unable to find a unit for ${D}${x}${S}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let I="["+x.substring(1,x.length-1)+"]",X=this._makeUnit(I,_);X[0]?(l=X[0],_=_.replace(x,I),this.retMsg_.push(`${x} is not a valid unit expression, but ${I} is.\n`+this.vcMsgStart_+`${I} (${l.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>E&&this.retMsg_.pop(),p=1,l=1)}return[l,_]}_performUnitArithmetic(p,_){let l=p[0].un;c.isIntegerUnit(l)&&(l=new h({csCode_:l,magnitude_:Number(l),name_:l}));let y=p.length,x=!1;for(let D=1;D{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.UnitTables=void 0;var n=a(9473).Ucum,d=new class c{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(h){h.name_&&this.addUnitName(h),this.addUnitCode(h),this.addUnitString(h);try{h.dim_.getProperty("dimVec_")&&this.addUnitDimension(h)}catch{}}addUnitName(h){let f=h.name_;if(!f)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${h.csCode_}.`);this.unitNames_[f]?this.unitNames_[f].push(h):this.unitNames_[f]=[h]}addUnitCode(h){let f=h.csCode_;if(!f)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[f])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${f}`);if(this.unitCodes_[f]=h,this.codeOrder_.push(f),"g"==f){let u=h.dim_.dimVec_,v=0;for(;v=1&&(u=h.substr(f+n.codeSep_.length),h=h.substr(0,f));let v=this.unitNames_[h];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=f),"dim_"===h[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[h[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(h,f){void 0===h&&(h=!1),void 0===f&&(f="|");let u="",v=this.codeOrder_.length,b="csCode"+f;h&&(b+="ciCode"+f),b+="name"+f,h&&(b+="isBase"+f),b+="magnitude"+f+"dimension"+f+"from unit(s)"+f+"value"+f+"function"+f,h&&(b+="property"+f+"printSymbol"+f+"synonyms"+f+"source"+f+"class"+f+"isMetric"+f+"variable"+f+"isSpecial"+f+"isAbitrary"+f),b+="comment",u=b+"\n";for(let p=0;p{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.AppComponent=void 0;const n=a(655),r=(a(7088),a(9515),a(5187),n.__importStar(a(5879))),h=n.__importStar(a(9515)),f=n.__importStar(a(7088)),u=n.__importStar(a(5187)),v=n.__importStar(a(4505)),b=n.__importStar(a(617)),p=n.__importStar(a(6718)),_=n.__importStar(a(1274));B.AppComponent=(()=>{class y{constructor(D,S,E){D.setDefaultLang("de"),D.use(D.getBrowserLang());const I=new URLSearchParams(window.location.search);I.has("code")&&I.has("state")&&E.navigate(["/mag"],{queryParams:{code:I.get("code"),state:I.get("state")}});let X=location.origin+location.pathname;X.endsWith("/")?X+="fhir":X+="/fhir",console.log("note: using fhir base "+X),S.changeMagMicroService(X)}}return y.\u0275fac=function(D){return new(D||y)(r.\u0275\u0275directiveInject(h.TranslateService),r.\u0275\u0275directiveInject(f.FhirConfigService),r.\u0275\u0275directiveInject(u.Router))},y.\u0275cmp=r.\u0275\u0275defineComponent({type:y,selectors:[["app-root"]],decls:38,vars:1,consts:[["color","primary","role","header"],["routerLink","/",1,"home-link"],[1,"logo-container"],["src","assets/mag_weiss.svg"],[1,"example-fill-remaining-space"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","routerLink","/"],["mat-menu-item","","routerLink","/CapabilityStatement"],["mat-menu-item","","routerLink","/mag"],["mat-menu-item","","routerLink","/patients"],["mat-menu-item","","routerLink","/settings"],[1,"mat-typography"]],template:function(D,S){if(1&D&&(r.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),r.\u0275\u0275element(3,"img",3),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(4,"span",4),r.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),r.\u0275\u0275text(8,"more_vert"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),r.\u0275\u0275text(13,"home"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(14,"span"),r.\u0275\u0275text(15,"Home"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),r.\u0275\u0275text(18,"info"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(19,"span"),r.\u0275\u0275text(20,"CapabilityStatement"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),r.\u0275\u0275text(23,"search"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(24,"span"),r.\u0275\u0275text(25,"Mobile Access Gateway ..."),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),r.\u0275\u0275text(28,"people"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(29,"span"),r.\u0275\u0275text(30,"search Patients ..."),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),r.\u0275\u0275text(33,"settings"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(34,"span"),r.\u0275\u0275text(35,"Settings"),r.\u0275\u0275elementEnd()()()()(),r.\u0275\u0275elementStart(36,"main",12),r.\u0275\u0275element(37,"router-outlet"),r.\u0275\u0275elementEnd()),2&D){const E=r.\u0275\u0275reference(10);r.\u0275\u0275advance(6),r.\u0275\u0275property("matMenuTriggerFor",E)}},dependencies:[v.MatLegacyButton,b.MatIcon,p.MatLegacyMenu,p.MatLegacyMenuItem,p.MatLegacyMenuTrigger,_.MatToolbar,u.RouterOutlet,u.RouterLink],styles:[".example-fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}mat-toolbar[_ngcontent-%COMP%]{padding-left:0}mat-toolbar[_ngcontent-%COMP%] .home-link[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:flex;height:100%;width:160px;justify-content:center;align-items:center}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:calc(100% - 1.2em)}main[_ngcontent-%COMP%]{width:100%;margin:0 auto}@media screen and (min-width: 1020px){main[_ngcontent-%COMP%]{padding:3rem 0;width:1000px}}"]}),y})()},8629:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.AppModule=B.createTranslateLoader=void 0;const n=a(655),c=a(9862),d=a(5187),g=a(9515),r=a(5061),h=a(6401),f=a(6938),u=a(6459),v=a(8290),b=a(3835),p=a(6208),_=a(9949),l=a(5152),y=a(6381),x=n.__importStar(a(5879)),I=(n.__importStar(a(5187)),n.__importStar(a(9515)),n.__importStar(a(6381)),[{path:"",component:u.HomeComponent},{path:"patients",component:v.PatientsComponent},{path:"CapabilityStatement",component:f.CapabilityStatementComponent},{path:"settings",component:b.SettingsComponent},{path:"mag",component:l.MagComponent}]);function X(ee){return new r.TranslateHttpLoader(ee,"./assets/i18n/",".json")}B.createTranslateLoader=X,B.AppModule=(()=>{class ee{}return ee.\u0275fac=function(A){return new(A||ee)},ee.\u0275mod=x.\u0275\u0275defineNgModule({type:ee,bootstrap:[h.AppComponent]}),ee.\u0275inj=x.\u0275\u0275defineInjector({providers:[{provide:_.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>n.__importStar(a(6548))),lineNumbersLoader:()=>Promise.resolve().then(()=>n.__importStar(a(4028))),languages:{json:()=>Promise.resolve().then(()=>n.__importStar(a(5454))),xml:()=>Promise.resolve().then(()=>n.__importStar(a(5149)))}}}],imports:[p.SharedModule,c.HttpClientModule,_.HighlightModule,d.RouterModule.forRoot(I,{useHash:!0}),g.TranslateModule.forRoot({loader:{provide:g.TranslateLoader,useFactory:X,deps:[c.HttpClient]}}),y.OAuthModule.forRoot()]}),ee})()},6938:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.CapabilityStatementComponent=void 0;const n=a(655),d=(a(7088),n.__importStar(a(5879))),g=n.__importStar(a(7088)),r=n.__importStar(a(6814)),h=n.__importStar(a(9025)),f=n.__importStar(a(4187)),u=n.__importStar(a(9949));function v(_,l){if(1&_&&(d.\u0275\u0275elementStart(0,"li"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_){const y=l.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate1(" ",y.diagnostics," ")}}function b(_,l){if(1&_&&(d.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),d.\u0275\u0275template(2,v,2,1,"li",3),d.\u0275\u0275elementEnd()()),2&_){const y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("ngForOf",y.operationOutcome.issue)}}B.CapabilityStatementComponent=(()=>{class _{constructor(y){this.data=y,this.client=y.getMobileAccessGatewayClient(),this.client.capabilityStatement().then(x=>{this.operationOutcome=void 0,this.capabilitystatement=x}).catch(x=>{this.capabilitystatement=void 0,this.operationOutcome=x.response.data})}getJson(){return JSON.stringify(this.capabilitystatement,null,2)}ngOnInit(){}ngOnDestroy(){}}return _.\u0275fac=function(y){return new(y||_)(d.\u0275\u0275directiveInject(g.FhirConfigService))},_.\u0275cmp=d.\u0275\u0275defineComponent({type:_,selectors:[["app-capability-statement"]],decls:8,vars:4,consts:[[1,"display"],[3,"highlight","lineNumbers"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(y,x){1&y&&(d.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(5,"pre"),d.\u0275\u0275element(6,"code",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(7,b,3,1,"mat-error",2),d.\u0275\u0275elementEnd()()),2&y&&(d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate(x.client.baseUrl),d.\u0275\u0275advance(2),d.\u0275\u0275property("highlight",x.getJson())("lineNumbers",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",x.operationOutcome))},dependencies:[r.NgForOf,r.NgIf,h.MatLegacyCard,h.MatLegacyCardHeader,h.MatLegacyCardContent,h.MatLegacyCardTitle,f.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const c=a(655),d=c.__importDefault(a(8907)),g=c.__importStar(a(5879));B.FhirConfigService=(()=>{class h{constructor(){}changeFhirMicroService(u){localStorage.setItem("fhirMicroServer",u)}changeMagMicroService(u){localStorage.setItem("magMicroService",u)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}getMobileAccessGatewayIDPEnumerationUrl(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/idps")}getMobileAccessGatewayLoginUrl(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/authorize")}getMobileAccessGatewayTokenEndpoint(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/token")}getMobileAccessGatewayAssertionEndpoint(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/assertion")}getRedirectUri(){return location.origin+location.pathname+"#/mag"}getClientId(){return this.getRedirectUri().indexOf("localhost")>=0?"matchboxdev":"matchbox"}getClientSecret(){return"cd8455fc-e294-465a-8c86-35ae468c6b2f"}getFhirClient(){return new d.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new d.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfigFromMetadata(u){var v=this;return n(function*(){const b=yield fetch(u).then(p=>p.json());return console.log(b),{loginUrl:b.authorization_endpoint,tokenEndpoint:b.token_endpoint,clientId:v.getClientSecret(),redirectUri:location.origin+location.pathname,responseType:"code",showDebugInformation:!0,timeoutFactor:.75}})()}getAuthCodeFlowConfigForEHS(){return{loginUrl:"https://ehealthsuisse.ihe-europe.net/iua-simulator/rest/ch/authorize",tokenEndpoint:"https://ehealthsuisse.ihe-europe.net/iua-simulator/rest/ch/token",clientId:this.getClientSecret(),redirectUri:location.origin+location.pathname,customQueryParams:{aud:location.origin+location.pathname},responseType:"code",showDebugInformation:!0,timeoutFactor:.75}}getAuthCodeFlowConfig(u){const v=u?"/alias/"+u:"";return{loginUrl:this.getMobileAccessGatewayLoginUrl()+v,redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint()+v,clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return h.\u0275fac=function(u){return new(u||h)},h.\u0275prov=g.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},7973:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirPathService=void 0;const n=a(655),c=a(8921),d=n.__importStar(a(5879));B.FhirPathService=(()=>{class r{evaluate(f,u){return(0,c.evaluate)(f,u,null)}evaluateToString(f,u){const v=this.evaluate(f,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(f){return this.evaluateToString(f,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(f){return this.evaluateToString(f,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(f){return new(f||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},6459:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.HomeComponent=void 0;const c=a(655),g=(a(5187),c.__importDefault(a(4147))),r=c.__importStar(a(5879)),h=c.__importStar(a(5187)),f=c.__importStar(a(9025)),u=c.__importStar(a(617)),v=c.__importStar(a(6718));B.HomeComponent=(()=>{class p{constructor(l){this.router=l,this.version=g.default.version}update(l){}tabChanged(l){console.log("tabChangeEvent => ",l),console.log("index => ",l.index),this.update(l.index)}ngOnInit(){var l=this;return n(function*(){l.update(0)})()}}return p.\u0275fac=function(l){return new(l||p)(r.\u0275\u0275directiveInject(h.Router))},p.\u0275cmp=r.\u0275\u0275defineComponent({type:p,selectors:[["app-home"]],decls:17,vars:1,consts:[[1,"primary"],["mat-menu-item","","routerLink","/mag"],["mat-menu-item","","routerLink","/settings"],["href","https://www.ahdis.ch"]],template:function(l,y){1&l&&(r.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),r.\u0275\u0275text(4,"search"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"span"),r.\u0275\u0275text(6,"Mobile Access Gateway ..."),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),r.\u0275\u0275text(9,"settings"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"span"),r.\u0275\u0275text(11,"Settings"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(12,"mat-card-footer")(13,"p"),r.\u0275\u0275text(14),r.\u0275\u0275elementStart(15,"a",3),r.\u0275\u0275text(16,"contact"),r.\u0275\u0275elementEnd()()()()),2&l&&(r.\u0275\u0275advance(14),r.\u0275\u0275textInterpolate1("version: ",y.version," "))},dependencies:[f.MatLegacyCard,f.MatLegacyCardContent,f.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,h.RouterLink],styles:[".mat-card.primary[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{display:flex;flex-direction:column}.mat-card.primary[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .mat-subheading-2[_ngcontent-%COMP%]{margin:1rem 0 0}.mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] mat-tab-body>div{box-shadow:0 0 5px -3px #000 inset}.mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}.mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-top:1rem;margin:0}"]}),p})()},5152:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.MagComponent=B.toLocaleDateTime=B.toLocaleTime=B.toLocaleHHMM=B.toLocaleDate=void 0;const c=a(655),r=(a(5879),a(7088),a(6223)),f=(a(7973),a(9862)),u=a(5918),v=a(9256),b=a(2214),p=a(6381),l=(a(5187),c.__importStar(a(5879))),y=c.__importStar(a(7088)),x=c.__importStar(a(7973)),D=c.__importStar(a(9862)),S=c.__importStar(a(6381)),E=c.__importStar(a(5187)),I=c.__importStar(a(6814)),X=c.__importStar(a(6223)),$=c.__importStar(a(4505)),ee=c.__importStar(a(9025)),ie=c.__importStar(a(4187)),A=c.__importStar(a(617)),U=c.__importStar(a(2400)),Me=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),he=c.__importStar(a(9009));function H(dt,bt){1&dt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",44),l.\u0275\u0275elementContainerEnd())}function W(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",30),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Oe);const ot=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ot.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275element(2,"br"),l.\u0275\u0275text(3,"\xa0"),l.\u0275\u0275element(4,"br"),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==Oe.patient.name[0]?null:Oe.patient.name[0].given," ",null==Oe.patient.name[0]?null:Oe.patient.name[0].family,", ",Oe.patient.birthDate," ")}}function we(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,pe,5,3,"div",3),l.\u0275\u0275elementStart(2,"div")(3,"mat-form-field",1)(4,"mat-label"),l.\u0275\u0275text(5,"sourceIdentifier system"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(6,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(7," \xa0 "),l.\u0275\u0275elementStart(8,"mat-form-field",1)(9,"mat-label"),l.\u0275\u0275text(10,"sourceIdentifier value"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(11,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(12,"div")(13,"mat-form-field",1)(14,"mat-label"),l.\u0275\u0275text(15,"managingOrganization oid"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(16,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(17," \xa0 "),l.\u0275\u0275elementStart(18,"mat-form-field",1)(19,"mat-label"),l.\u0275\u0275text(20,"managingOrganization name"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(21,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(22,"mat-card-actions")(23,"button",4),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Oe);const ot=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ot.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",Oe.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceManagingOrganizationName)}}function Ee(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"option",45),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275property("value",Oe.id),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",Oe.name," ")}}function Be(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",46),l.\u0275\u0275elementEnd()()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",Oe.getScopes())}}function G(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function re(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",Oe.content[0].attachment.title," ")}}function se(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function ye(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",48),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",Oe.description," ")}}function He(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",49),l.\u0275\u0275text(1,"Content-Type"),l.\u0275\u0275elementEnd())}function Ze(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",49)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",Oe.content[0].attachment.contentType," ")}}function Qe(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",50),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function We(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",50)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",Oe.content[0].format.code," ")}}function tt(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",51),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function Mt(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",51)(1,"button",52),l.\u0275\u0275listener("click",function(){const At=l.\u0275\u0275restoreView(Oe).$implicit,Nt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Nt.onRemove(At))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",52),l.\u0275\u0275listener("click",function(){const At=l.\u0275\u0275restoreView(Oe).$implicit,Nt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Nt.onReplace(At))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",52),l.\u0275\u0275listener("click",function(){const At=l.\u0275\u0275restoreView(Oe).$implicit,Nt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Nt.onDownloadDocumentReferenceAttachment(At))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ft(dt,bt){1&dt&&l.\u0275\u0275element(0,"mat-header-row")}function gt(dt,bt){1&dt&&l.\u0275\u0275element(0,"mat-row")}function Bt(dt,bt){1&dt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",44),l.\u0275\u0275elementContainerEnd())}function Tt(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",30),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Oe);const ot=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ot.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function kt(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",Oe.replaceDocumentReference.identifier[0].value," ")}}function Le(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",Oe.descr,": ",Oe.existingUuid," -> ",Oe.newUuid," ")}}function ct(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Oe.errMsgAssignPatient)}}function ze(dt,bt){1&dt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",44),l.\u0275\u0275elementContainerEnd())}function at(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Oe.errMsg)}}const N=function(){return["title","name","contentType","formatCode","action"]},oe=dt=>String(Math.floor(Math.abs(dt))).padStart(2,"0");function ue(dt){const bt=-dt.getTimezoneOffset(),Oe=bt>=0?"+":"-",ge=`${oe(bt/60)}:${oe(bt%60)}`;return`${(0,B.toLocaleDate)(dt)}T${(0,B.toLocaleTime)(dt)}${Oe}${ge}`}B.toLocaleDate=dt=>`${dt.getFullYear()}-${oe(dt.getMonth()+1)}-${oe(dt.getDate())}`,B.toLocaleHHMM=dt=>`${oe(dt.getHours())}:${oe(dt.getMinutes())}`,B.toLocaleTime=dt=>`${(0,B.toLocaleHHMM)(dt)}:${oe(dt.getSeconds())}`,B.toLocaleDateTime=ue,B.MagComponent=(()=>{class dt{constructor(Oe,ge,ot,At,Nt,zt){if(this.data=Oe,this.fhirPathService=ge,this.http=ot,this.cd=At,this.oauthService=Nt,this.router=zt,this.LS_OAUTH_CONF_KEY="magOAuthConf",this.searchGivenValue="",this.searchFamilyValue="",this.replaceUuids=new Array,this.pageIndex=0,this.dataSource=new b.MatLegacyTableDataSource,this.length=100,this.pageSize=10,this.inMhdQueryProgress=!1,this.inMhdUploadProgress=!1,this.inPixmProgress=!1,this.mag=Oe.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(ae=>this.setJson(JSON.stringify(ae,null,2))),this.sourceIdentifierSystem=new r.UntypedFormControl,this.sourceIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceIdentifierValue=new r.UntypedFormControl,this.sourceIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierValue","MAGMED001")),this.sourceAddIdentifierSystem=new r.UntypedFormControl,this.sourceAddIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceAddIdentifierValue=new r.UntypedFormControl,this.sourceAddIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierValue","MAGMED001")),this.sourceManagingOrganizationOid=new r.UntypedFormControl,this.sourceManagingOrganizationOid.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationOid","urn:oid:1.3.6.1.4.1.21367.2017.2.7.109")),this.sourceManagingOrganizationName=new r.UntypedFormControl,this.sourceManagingOrganizationName.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationName","TESTORG")),this.targetIdentifierSystem=new r.UntypedFormControl,this.targetIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifierSystem","urn:oid:2.16.756.5.30.1.191.1.0.2.1")),this.targetIdentifier2System=new r.UntypedFormControl,this.targetIdentifier2System.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifier2System","urn:oid:2.16.756.5.30.1.127.3.10.3")),this.serviceStartFrom=new r.UntypedFormControl,this.serviceStartFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartFrom","")),this.serviceStartTo=new r.UntypedFormControl,this.serviceStartTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartTo","")),this.serviceEndFrom=new r.UntypedFormControl,this.serviceEndFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndFrom","")),this.serviceEndTo=new r.UntypedFormControl,this.serviceEndTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndTo","")),this.authenticate=new r.UntypedFormControl,this.authenticate.setValue(this.getLocalStorageItemOrDefault("mag.authenticate","HCP")),this.provider=new r.UntypedFormControl,this.provider.setValue(this.getLocalStorageItemOrDefault("mag.provider","")),this.documentType=new r.UntypedFormControl,this.documentType.setValue(this.getLocalStorageItemOrDefault("mag.documentType","APPC")),this.documentConfidentiality=new r.UntypedFormControl,this.documentConfidentiality.setValue(this.getLocalStorageItemOrDefault("mag.documentConfidentiality","NORM")),this.targetIdentifierValue=this.getLocalStorageItemOrDefault("mag.targetIdentifierValue",""),this.targetIdentifier2Value=this.getLocalStorageItemOrDefault("mag.targetIdentifier2Value",""),this.targetId=this.getLocalStorageItemOrDefault("mag.targetId",""),this.iheSourceId=new r.UntypedFormControl,this.iheSourceId.setValue("urn:oid:2.16.756.5.30.1.145.20.1"),this.searchGiven=new r.UntypedFormControl,this.searchFamily=new r.UntypedFormControl,this.documentTitle=new r.UntypedFormControl,this.documentTitle.setValue(this.getLocalStorageItemOrDefault("mag.documentTitle","Titel")),this.documentDescription=new r.UntypedFormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentDescription","Description")),this.masterIdentifier=new r.UntypedFormControl,this.masterIdentifier.setValue((0,u.v4)()),this.creationTime=new r.UntypedFormControl,this.creationTime.setValue(ue(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=Oe,null!==localStorage.getItem(this.LS_OAUTH_CONF_KEY)){const ae=JSON.parse(localStorage.getItem(this.LS_OAUTH_CONF_KEY));this.oauthService.configure(ae),this.oauthService.tryLoginCodeFlow().then(Ce=>{this.scopes=this.oauthService.getGrantedScopes()})}this.oauthService.events.subscribe(ae=>{ae instanceof p.OAuthErrorEvent?console.error(ae):console.warn(ae)}),this.pdf="",this.replaceDocumentReference=null,this.http.get(this.data.getMobileAccessGatewayIDPEnumerationUrl(),{responseType:"json"}).subscribe({next:ae=>{this.idps=ae,this.provider.setValue(this.getLocalStorageItemOrDefault("mag.provider",""))},error:ae=>{this.idps=[{id:"",name:"Default"}],this.provider.setValue("")}})}cache(){this.setLocaleStorageItem("mag.sourceIdentifierSystem",this.sourceIdentifierSystem.value),this.setLocaleStorageItem("mag.sourceIdentifierValue",this.sourceIdentifierValue.value),this.setLocaleStorageItem("mag.targetIdentifierSystem",this.targetIdentifierSystem.value),this.setLocaleStorageItem("mag.targetIdentifier2System",this.targetIdentifier2System.value),this.setLocaleStorageItem("mag.targetIdentifierValue",this.targetIdentifierValue),this.setLocaleStorageItem("mag.targetIdentifier2Value",this.targetIdentifier2Value),this.setLocaleStorageItem("mag.targetId",this.targetId),this.setLocaleStorageItem("mag.authenticate",this.authenticate.value),this.setLocaleStorageItem("mag.provider",this.provider.value),this.setLocaleStorageItem("mag.documentType",this.documentType.value),this.setLocaleStorageItem("mag.documentConfidentiality",this.documentConfidentiality.value),this.setLocaleStorageItem("mag.sourceAddIdentifierSystem",this.sourceAddIdentifierSystem.value),this.setLocaleStorageItem("mag.sourceAddIdentifierValue",this.sourceAddIdentifierValue.value),this.setLocaleStorageItem("mag.sourceManagingOrganizationOid",this.sourceManagingOrganizationOid.value),this.setLocaleStorageItem("mag.sourceManagingOrganizationName",this.sourceManagingOrganizationName.value),this.setLocaleStorageItem("mag.serviceStartFrom",this.serviceStartFrom.value),this.setLocaleStorageItem("mag.serviceStartTo",this.serviceStartTo.value),this.setLocaleStorageItem("mag.serviceEndFrom",this.serviceEndFrom.value),this.setLocaleStorageItem("mag.serviceEndTo",this.serviceEndTo.value),this.setLocaleStorageItem("mag.languageCode",this.languageCode.value)}getLocalStorageItemOrDefault(Oe,ge){return localStorage.getItem(Oe)||ge}setLocaleStorageItem(Oe,ge){return localStorage.setItem(Oe,ge),ge}setJson(Oe){this.json=Oe}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(Oe){this.inPixmProgress=!1,this.setJson(JSON.stringify(Oe,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(Oe,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(Oe,"parameter.valueIdentifier.where(system='"+this.targetIdentifier2System.value+"').value"),null!=this.targetIdentifierValue&&null==this.targetIdentifier2Value&&"urn:oid:2.16.756.5.30.1.127.3.10.3"===this.sourceIdentifierSystem.value&&(this.targetIdentifier2Value=this.sourceIdentifierValue.value),this.targetId=this.fhirPathService.evaluateToString(Oe,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(Oe){this.inPixmProgress=!1,this.patient=Oe,this.setJson(JSON.stringify(Oe,null,2)),this.cache()}setPIXmFeedAddResult(Oe){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(Oe,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let Oe="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+Oe,resourceType:"Patient",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(ge=>this.setPixmQueryResult(ge)).catch(ge=>{this.setJson(JSON.stringify(ge,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const Oe=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:Oe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}})}onFetchPatient(){var Oe=this;return n(function*(){Oe.patient=void 0,Oe.inPixmProgress=!0,Oe.cache();try{Oe.patient=yield Oe.getPatient(),Oe.setPatientFetchResult(Oe.patient)}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.cache(),Oe.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let Oe={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ge={resourceType:"Organization",id:"org",identifier:[{system:this.sourceManagingOrganizationOid.value}],name:this.sourceManagingOrganizationName.value};null==this.patient.contained&&(this.patient.contained=new Array),this.patient.contained.push(ge),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:Oe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(ot=>this.setPIXmFeedAddResult(ot)).catch(ot=>{this.setJson(JSON.stringify(ot,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){var Oe=this;return n(function*(){Oe.cache(),Oe.scopes=null;const ge=Oe.fhirConfigService.getAuthCodeFlowConfigForEHS();ge.scope=`person_id=${Oe.targetIdentifier2Value}^^^&2.16.756.5.30.1.127.3.10.3&ISO purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM subject_role=urn:oid:2.16.756.5.30.1.127.3.10.6|`,"HCP"===Oe.authenticate.value?(ge.scope+="HCP",localStorage.setItem(Oe.LS_OAUTH_CONF_KEY,JSON.stringify(ge)),Oe.oauthService.configure(ge),Oe.oauthService.initCodeFlow()):"Patient"===Oe.authenticate.value?(ge.scope+="PAT",localStorage.setItem(Oe.LS_OAUTH_CONF_KEY,JSON.stringify(ge)),Oe.oauthService.configure(ge),Oe.oauthService.initCodeFlow()):"TCU"===Oe.authenticate.value?Oe.getSamlToken().then(ot=>Oe.json=ot):console.error("Unknown authentication type")})()}onRenewToken(){this.oauthService.refreshToken().then(Oe=>console.log(Oe))}getAppcDocument(Oe,ge){return`Test policy setdescription emergencyurn:e-health-suisse:2022:policies:pmp:emedication-accessdescription hcp7601002860123urn:gs1:gln2027-02-03urn:e-health-suisse:2015:policies:exclusion-listdescription groupurn:oid:1.2.32032-01-01urn:e-health-suisse:2022:policies:pmp:emedication-access`}createAppc(){this.uploadBase64="",this.errMsgAssignPatient="",null!=this.targetIdentifier2Value?(this.uploadContentType="text/xml",this.documentTitle.setValue("Policy document"),this.documentType.setValue("APPC"),this.documentConfidentiality.setValue("NORM"),this.masterIdentifier.setValue("urn:uuid:"+(0,u.v4)()),this.xml=this.getAppcDocument(this.targetIdentifier2Value,this.masterIdentifier.value),this.setJson(this.xml)):this.errMsgAssignPatient="Error: select first Patient with PIXm Query"}getSimulatedSamlPmpAssertion(Oe,ge){return v.Base64.encode(`xua.hin.chUyqzdpLkYUMscBO0bEP6FwnKnlUscVCD70GL3uP6aSY=GFShEG4In1usnXJfapND3dvlNP9Nvw4MfuXHzauiKlqzfyGveiaoRvZMO3reKUw08ogOzEssNbOF uDwITr5LsH1sHJg3q85fWPNHjXJvC3eup1fIKvTs7YzxXkdWruF2ZeDJ970PuPJPc59ljSOA+UFx Z8ZaRINNp6FJcU3Xkqs=MIIDjTCCAvagAwIBAgICAI0wDQYJKoZIhvcNAQENBQAwRTELMAkGA1UEBhMCQ0gxDDAKBgNVBAoM A0lIRTEoMCYGA1UEAwwfZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldCBDQTAeFw0xOTA0MDEx MjQxMThaFw0yOTA0MDExMjQxMThaMCkxCzAJBgNVBAYTAkNIMQwwCgYDVQQKDANJSEUxDDAKBgNV BAMMA0lEUDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhmmz4AEhbH+80Nf5QLjvP9/Cukcv rk5ONVZ9hQjz2OeBGBiW6TdKrwX6GIY0ue6zN6mRFuRycKi4A0aVWsO+s4ByQPsnnXx4JKXYGkoS ny7hgyxHxsEHiBZlMQLoqJ3jKYAR1SgLfdBEghAaDFEKF8hp8hwBMAp/WJY7eaZpXS0CAwEAAaOC AaYwggGiMB0GA1UdEQQWMBSCEmlkcC5paGUtZXVyb3BlLm5ldDBKBgNVHR8EQzBBMD+gPaA7hjlo dHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmww SAYJYIZIAYb4QgEEBDsWOWh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3Mv Y3JsLzIyL2NhY3JsLmNybDBIBglghkgBhvhCAQMEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmlo ZS1ldXJvcGUubmV0L2dzcy9jcmwvMjIvY2FjcmwuY3JsMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQD AgTwMBEGCWCGSAGG+EIBAQQEAwIF4DAdBgNVHQ4EFgQU4Kj/ojx2cO5W9/hOlSFUVh8jT1gwHwYD VR0jBBgwFoAUKJfv3d4xWGxW8oZG4hHkPjhxXy8wMwYDVR0lBCwwKgYIKwYBBQUHAwIGCCsGAQUF BwMEBgorBgEEAYI3FAICBggrBgEFBQcDATANBgkqhkiG9w0BAQ0FAAOBgQAvAQf3kRfC5hMAWFuK ZKV7fOLklivFoELOl96i9O29i5wCEeiClubfH9X7nnfvKukhWdi0MFkRZqgLRXN1iDY6iKC6MnZH TUN6qgskn6m3S0rsRXN8/My/EM+lmcFR1/IWhHtW+aERI0XoXR8GrY/QSmn3TWgHfO6qLdrUEfvV ew==${ge}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ge}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(Oe,ge,ot){return v.Base64.encode(`xua.hin.chUyqzdpLkYUMscBO0bEP6FwnKnlUscVCD70GL3uP6aSY=KedJuTob5gtvYx9qM3k3gm7kbLBwVbEQRl26S2tmXjqNND7MRGtoew==2000040030829urn:oid:1.3.6.1.4.1.343urn:e-health-suisse:token-audience:all-communitiesurn:oid:1.3.6.1.4.1.343urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified${ot}^^^&2.16.756.5.30.1.127.3.10.3&ISOOliver EggerCentre hospitalier universitaire vaudoisahdis agurn:oid:1.1.44.17.205urn:oid:2.16.756.5.30.1.145urn:oid:2.16.756.5.30.1.191.1.0`)}getEprikTcuAssertion(Oe){var ge=this;return n(function*(){const At=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),zt=yield(yield fetch(ge.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${Oe}^^^&2.16.756.5.30.1.127.3.10.3&ISO purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|AUTO subject_role=urn:oid:2.16.756.5.30.1.127.3.10.6|TCU principal_id=2000040030829 principal=Oliver+Egger`,Accept:"application/json;charset=UTF-8","Content-Type":"application/xml;charset=UTF-8"},body:At})).json();return Promise.resolve(zt.access_token)})()}setBundle(Oe){Oe?(this.bundle=Oe,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ge=>ge.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(Oe){this.setJson(JSON.stringify(Oe,null,2)),this.setBundle(Oe)}findDocumentReferences(){var Oe=this;return n(function*(){let ge={status:"current",_count:500,"patient.identifier":encodeURIComponent(Oe.targetIdentifierSystem.value+"|"+Oe.targetIdentifierValue)},ot=yield Oe.getSamlToken();return Oe.mag.search({resourceType:"DocumentReference",searchParams:ge,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+ot}}})})()}onFindDocumentReferences(){var Oe=this;return n(function*(){Oe.replaceDocumentReference=null,Oe.inMhdQueryProgress=!0,Oe.pdf="";try{const ge=yield Oe.findDocumentReferences();Oe.setDocumentReferenceResult(ge),Oe.inMhdQueryProgress=!1}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.setBundle(null),Oe.inMhdQueryProgress=!1}})()}findMedicationList(Oe){var ge=this;return n(function*(){let ot="patient.identifier="+encodeURIComponent(ge.targetIdentifierSystem.value+"|"+ge.targetIdentifierValue)+(Oe?"&format="+encodeURIComponent(Oe):"");ge.serviceStartFrom.value?.length>0&&(ot+=`&serviceStartFrom=${encodeURIComponent(ge.serviceStartFrom.value)}`),ge.serviceStartTo.value?.length>0&&(ot+=`&serviceStartTo=${encodeURIComponent(ge.serviceStartTo.value)}`),ge.serviceEndFrom.value?.length>0&&(ot+=`&serviceEndFrom=${encodeURIComponent(ge.serviceEndFrom.value)}`),ge.serviceEndTo.value?.length>0&&(ot+=`&serviceEndTo=${encodeURIComponent(ge.serviceEndTo.value)}`);const At=yield ge.getSamlToken();return ge.mag.operation({name:"$find-medication-list?status=current&"+ot,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+At}}})})()}onFindMedicationList(){var Oe=this;return n(function*(){Oe.pdf="",Oe.inMhdQueryProgress=!0,Oe.cache();try{const ge=yield Oe.findMedicationList();Oe.setDocumentReferenceResult(ge),ge.entry&&1==ge.entry.length&&(yield Oe.downloadDocumentReferenceAttachment(ge.entry[0].resource)),Oe.inMhdQueryProgress=!1}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.setBundle(null),Oe.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var Oe=this;return n(function*(){Oe.pdf="",Oe.inMhdQueryProgress=!0,Oe.cache();try{const ge=yield Oe.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(Oe.setDocumentReferenceResult(ge),ge.entry&&1==ge.entry.length){const ot=yield Oe.downloadDocumentReferenceAttachment(ge.entry[0].resource),At=JSON.parse(ot);Oe.pdf=Oe.fhirPathService.evaluateToString(At,"entry.resource.where(resourceType='Binary').data")}Oe.inMhdQueryProgress=!1}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.setBundle(null),Oe.inMhdQueryProgress=!1}})()}getSamlToken(){var Oe=this;return n(function*(){return"HCP"===Oe.authenticate.value||"Patient"===Oe.authenticate.value?Promise.resolve(Oe.oauthService.getAccessToken()):"TCU"===Oe.authenticate.value?Oe.getEprikTcuAssertion(Oe.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(Oe){var ge=this;return n(function*(){let At=(Oe.content&&Oe.content.length>0?Oe.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Nt=At.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const zt=Oe.content&&Oe.content.length>0?Oe.content[0].attachment?.contentType:"";if(ge.selectedDocumentReference=Oe,"application/pdf"===zt){const Ne=Oe.content&&Oe.content.length>0?Oe.content[0].attachment.title:"undefined",$e=ge,ae=yield ge.getSamlToken(),lt=yield(yield fetch(Nt,{cache:"no-store",headers:{Authorization:"Bearer "+ae,Accept:"application/pdf"}})).blob();return new Promise((_e,Ye)=>{let De=new FileReader;De.onload=()=>{$e.downloadPdf(De.result.toString(),Ne),_e(De.result)},De.onerror=Ye,De.readAsDataURL(lt)})}{const Ne=yield ge.getSamlToken(),ae={responseType:"text",headers:(new f.HttpHeaders).set("Authorization","Bearer "+Ne)};return new Promise((Ce,lt)=>{ge.http.get(At,ae).subscribe({next:_e=>{ge.xml=_e,ge.setJson(_e),Ce(ge.xml)},error:_e=>{lt(_e)}})})}})()}onReplace(Oe){var ge=this;return n(function*(){ge.replaceDocumentReference=Oe})()}onRemove(Oe){var ge=this;return n(function*(){ge.replaceDocumentReference=null;let ot={...Oe};ge.inMhdQueryProgress=!0,null==ot.extension&&(ot.extension=new Array),ot.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ge.iheSourceId.value}}),ot.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType",valueCodeableConcept:{coding:[{system:"http://snomed.info/sct",code:"71388002",display:"Procedure (procedure)"}],text:"Procedure (procedure)"}}),ot.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-deletionstatus",valueCoding:{system:"http://fhir.ch/ig/ch-epr-mhealth/CodeSysteme/ch-ehealth-codesystem-deletionstatus",code:"deletionRequested"}}),ot.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole",valueCoding:{system:"urn:oid:2.16.756.5.30.1.127.3.10.6",code:"HCP",display:"Healthcare professional"}});const At=yield ge.getSamlToken();try{let Nt=yield ge.mag.update({resourceType:"DocumentReference",id:ot.id,body:ot,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+At}}});ge.setJson(JSON.stringify(Nt,null,2)),ge.inMhdQueryProgress=!1,ge.onFindDocumentReferences()}catch(Nt){ge.setJson(JSON.stringify(Nt.response.data,null,2)),ge.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(Oe){var ge=this;return n(function*(){ge.replaceDocumentReference=null,ge.inMhdQueryProgress=!0,yield ge.downloadDocumentReferenceAttachment(Oe),ge.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(Oe,ge){const ot=document.createElement("a");ot.href=Oe,ot.download=`${ge}.pdf`,ot.click()}onPdf(){this.downloadPdf(`data:application/pdf;base64,${this.pdf}`,this.selectedDocumentReference.content&&this.selectedDocumentReference.content.length>0?this.selectedDocumentReference.content[0].attachment.title:"undefined")}generateOidFromUuid(){let ge=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ge).toString()}`}getDocumentReferenceType(){switch(this.documentType.value){case"APPC":case"PDF":case"PADV":return{coding:[{system:"http://snomed.info/sct",code:"419891008",display:"Record artifact"}]};case"MTP":return{coding:[{system:"http://snomed.info/sct",code:"761931002",display:"Medication treatment plan report (record artifact)"}]};case"DIS":return{coding:[{system:"http://snomed.info/sct",code:"294121000195110",display:"Medication dispense document (record artifact)"}]};case"PRE":return{coding:[{system:"http://snomed.info/sct",code:"761938008",display:"Medicinal Prescription record (record artifact)"}]}}return null}getDocumentConfidentiality(){switch(this.documentConfidentiality.value){case"NORM":return{coding:[{system:"http://snomed.info/sct",code:"17621005",display:"Normally accessible"}]};case"RESTRICTED":return{coding:[{system:"http://snomed.info/sct",code:"263856008",display:"Restricted accessible"}]};case"SECRET":return{coding:[{system:"urn:oid:2.16.756.5.30.1.127.3.4",code:"1141000195107",display:"Secret"}]}}return null}getDocumentReferenceCategory(){switch(this.documentType.value){case"APPC":return{coding:[{system:"http://snomed.info/sct",code:"371537001",display:"Consent report (record artifact)"}]};case"MTP":case"DIS":case"PRE":case"PADV":return{coding:[{system:"http://snomed.info/sct",code:"440545006",display:"Prescription record"}]};case"PDF":return{coding:[{system:"http://snomed.info/sct",code:"405624007",display:"Administrative documentation"}]}}return null}getDocumentReferenceContentFormat(){switch(this.documentType.value){case"APPC":return{system:"urn:oid:1.3.6.1.4.1.19376.1.2.3",code:"urn:ihe:iti:appc:2016:consent",display:"Advanced Patient Privacy Consents"};case"MTP":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:mtp:2022"};case"DIS":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:dis:2022"};case"PRE":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:pre:2022"};case"PADV":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:padv:2022"};case"PDF":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:EPR_Unstructured_Document"}}return null}addFile(Oe){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===Oe.contentType||Oe.name.endsWith(".json")||"text/xml"===Oe.contentType||Oe.name.endsWith(".xml"))this.addText(Oe);else{var ge=new FileReader;const ot=this;ge.readAsDataURL(Oe.blob),ge.onloadend=function(){let At=ge.result.toString();At.startsWith("data:application/pdf;base64,")&&(ot.uploadBase64=At.substring(28),ot.uploadContentType="application/pdf",ot.documentType.setValue("PDF"))}}}addText(Oe){const ge=new FileReader;ge.readAsText(Oe.blob);const ot=this;this.documentTitle.setValue(Oe.name),this.creationTime.setValue(ue(new Date)),ge.onload=()=>{("application/json"===Oe.contentType||Oe.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ge.result)),("text/xml"===Oe.contentType||Oe.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",ot.documentType.setValue("XML"),ot.xml=ge.result,ot.setJson(ot.xml))}}getResource(Oe,ge){return Oe.entry.filter(ot=>ot.fullUrl.endsWith(ge)).pop()?.resource}autoDetectFormat(Oe){this.documentType.setValue("JSON");const ge=JSON.parse(Oe);this.setJson(Oe),ge.hasOwnProperty("resourceType")&&"Bundle"===ge.resourceType&&this.autoDetectBundle(ge)}autoDetectBundle(Oe){if(this.creationTime.setValue(Oe.timestamp),this.masterIdentifier.setValue(Oe.identifier.value),"document"===Oe.type&&Oe.entry?.length>0){const ge=Oe.entry[0].resource,ot=ge.type.coding.find(At=>"http://snomed.info/sct"===At.system);if(ge.language&&this.languageCode.setValue(ge.language),!ot)return;switch(ot.code){case"761931002":return this.uploadBundle=Oe,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=Oe,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=Oe,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=Oe,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var Oe=this;return n(function*(){if(Oe.inMhdUploadProgress=!0,Oe.errMsgAssignPatient="",null==Oe.patient&&(Oe.patient=yield Oe.getPatient()),null==Oe.patient)return void(Oe.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==Oe.uploadBundle)return void(Oe.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ge=Oe.uploadBundle.entry.filter($e=>"Patient"===$e.resource.resourceType),ot={...Oe.patient};ot.identifier=Oe.patient.identifier.filter($e=>$e.system===Oe.sourceIdentifierSystem.value),ot.identifier.find($e=>$e.system===Oe.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},ot.name=Array(),ot.name[0]=Oe.patient.name[0],ge.forEach($e=>{const ae=$e.resource.id;$e.resource={...ot},$e.resource.id=ae});let At=JSON.stringify(Oe.uploadBundle,null,2);const Nt=Oe.uploadBundle.identifier.value,zt="urn:uuid:"+(0,u.v4)(),Ne=Oe.replaceUuids.findIndex($e=>$e.existingUuid==Nt);-1==Ne?Oe.replaceUuids.push({descr:Oe.documentType.value,existingUuid:Nt,newUuid:zt}):Oe.replaceUuids[Ne]={descr:Oe.documentType.value,existingUuid:Nt,newUuid:zt},Oe.replaceUuids.forEach($e=>At=At.split($e.existingUuid).join($e.newUuid)),Oe.masterIdentifier.setValue(zt),Oe.setJson(At),Oe.inMhdUploadProgress=!1})()}createMhdTransaction(){var Oe=this;return n(function*(){Oe.inMhdUploadProgress=!0;let ge={resourceType:"Bundle",meta:{profile:["http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle"]},type:"transaction",entry:[{fullUrl:"$1",resource:{resourceType:"Binary",contentType:"$1.2",data:"$2"},request:{method:"POST",url:"Binary"}},{fullUrl:"$3",resource:{resourceType:"List",extension:[],identifier:[{use:"official",system:"urn:ietf:rfc:3986",value:"$5"},{use:"usual",system:"urn:ietf:rfc:3986",value:"$6"}],status:"current",mode:"working",code:{coding:[{system:"http://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes",code:"submissionset",display:"SubmissionSet as a FHIR List"}]},subject:{reference:"$7"},date:"$8",entry:[{item:{reference:"#9"}}]},request:{method:"POST",url:"List"}},{fullUrl:"#9",resource:{resourceType:"DocumentReference",contained:[{resourceType:"Patient",id:"1",identifier:[{system:"$10",value:"$10"},{system:"$11",value:"$11"}]}],extension:[],masterIdentifier:{value:"$12"},identifier:[{use:"usual",system:"urn:ietf:rfc:3986",value:"$14"}],status:"current",category:[],subject:{reference:"#7"},relatesTo:[],author:[],date:"$8",description:"Upload",securityLabel:[],content:[{attachment:{contentType:"$1.2",language:"$1.3",url:"$1",creation:"$8"}}],context:{facilityType:{coding:[{system:"http://snomed.info/sct",code:"264358009",display:"General practice premises(environment)"}]},practiceSetting:{coding:[{system:"http://snomed.info/sct",code:"394802001",display:"General medicine(qualifier value)"}]},sourcePatientInfo:{reference:"#1"}}},request:{method:"POST",url:"DocumentReference"}}]},ot="urn:uuid:"+(0,u.v4)();ge.entry[0].fullUrl=ot;const At=ge.entry[0].resource;At.contentType=Oe.uploadContentType,At.data=Oe.uploadBase64?.length>0?Oe.uploadBase64:v.Base64.encode(Oe.json);let Nt=(0,u.v4)();ge.entry[1].fullUrl="urn:uid:"+Nt;const zt=ge.entry[1].resource;zt.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:Oe.iheSourceId.value}}),zt.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole",valueCoding:{system:"urn:oid:2.16.756.5.30.1.127.3.10.6",code:"HCP",display:"Healthcare professional"}}),zt.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType",valueCodeableConcept:{coding:[{system:"http://snomed.info/sct",code:"71388002",display:"Procedure (procedure)"}],text:"Procedure (procedure)"}});let Ne="urn:uuid:"+(0,u.v4)();zt.identifier[0].value=Ne;let $e="urn:oid:"+Oe.generateOidFromUuid();zt.identifier[1].value=$e,zt.subject.reference=Oe.targetId;let ae=ue(new Date);zt.date=ae;let Ce="urn:uuid:"+(0,u.v4)();zt.entry[0].item.reference=Ce,ge.entry[2].fullUrl=Ce;const lt=ge.entry[2].resource;lt.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole",valueCoding:{system:"urn:oid:2.16.756.5.30.1.127.3.10.6",code:"HCP",display:"Healthcare professional"}}),null!=Oe.replaceDocumentReference?lt.relatesTo.push({code:"replaces",target:{reference:Oe.replaceDocumentReference.identifier[0].value}}):delete lt.relatesTo;const _e=lt.contained[0];if(_e.identifier[0].system=Oe.sourceIdentifierSystem.value,_e.identifier[0].value=Oe.sourceIdentifierValue.value,_e.identifier[1].system=Oe.targetIdentifierSystem.value,_e.identifier[1].value=Oe.targetIdentifierValue,Oe.patient&&(_e.birthDate=Oe.patient.birthDate,_e.gender=Oe.patient.gender,_e.name=Oe.patient.name,_e.address=Oe.patient.address),null!=Oe.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(Oe.documentType.value)){const K=Oe.uploadBundle.entry[0].resource;if(K?.author&&K.author[0].reference){const ve=Oe.getResource(Oe.uploadBundle,K.author[0].reference);if(ve&&"PractitionerRole"==ve.resourceType){let ut={...ve};delete ut.text,ut.id="practrole";const Pt=Oe.getResource(Oe.uploadBundle,ut.organization?.reference),qe=Oe.getResource(Oe.uploadBundle,ut.practitioner?.reference);if(Pt){let et={...Pt};et.id="org",delete et.text,ut.organization.reference="#org",lt.contained.push(et)}if(qe){let et={...qe};et.id="pract",delete et.text,ut.practitioner.reference="#pract",lt.contained.push(et)}lt.contained.push(ut),lt.author.push({reference:"#practrole"})}}}0==lt.author.length&&delete lt.author;let Ye=Oe.masterIdentifier.value.toLocaleLowerCase();lt.masterIdentifier.value=Ye;let De="urn:oid:"+Oe.generateOidFromUuid();lt.identifier[0].value=De,lt.subject.reference=Oe.targetId,lt.date=ae,lt.content[0].attachment.url=ot,lt.content[0].attachment.contentType=Oe.uploadContentType,lt.content[0].attachment.language=Oe.languageCode.value,lt.content[0].attachment.title=Oe.documentTitle.value;let F=ge.entry[2].resource;F.date=Oe.creationTime.value,F.type=Oe.getDocumentReferenceType(),F.category.push(Oe.getDocumentReferenceCategory()),F.content[0].format=Oe.getDocumentReferenceContentFormat(),F.content[0].attachment.creation=Oe.creationTime.value,F.description=Oe.documentDescription.value,F.securityLabel[0]=Oe.getDocumentConfidentiality();const V=yield Oe.getSamlToken();Oe.mag.transaction({body:ge,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+V}}}).then(K=>{Oe.setJson(JSON.stringify(K,null,2)),Oe.inMhdUploadProgress=!1}).catch(K=>{Oe.setJson(JSON.stringify(K,null,2)),Oe.inMhdUploadProgress=!1})})()}}return dt.\u0275fac=function(Oe){return new(Oe||dt)(l.\u0275\u0275directiveInject(y.FhirConfigService),l.\u0275\u0275directiveInject(x.FhirPathService),l.\u0275\u0275directiveInject(D.HttpClient),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(S.OAuthService),l.\u0275\u0275directiveInject(E.Router))},dt.\u0275cmp=l.\u0275\u0275defineComponent({type:dt,selectors:[["app-mag"]],decls:205,vars:40,consts:[[1,"display"],[1,"column50"],["matInput","",3,"formControl"],[4,"ngIf"],["mat-raised-button","","color","primary","type","submit",3,"click"],["matNativeControl","","required","",3,"formControl"],["value","Patient"],["value","HCP"],["value","TCU"],["matNativeControl","",3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"dataSource"],["table",""],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",4,"matCellDef"],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","contentType"],["class","contentType",4,"matHeaderCellDef"],["class","contentType",4,"matCellDef"],["matColumnDef","formatCode"],["class","formatCode",4,"matHeaderCellDef"],["class","formatCode",4,"matCellDef"],["matColumnDef","action"],["class","res",4,"matHeaderCellDef"],["class","res",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["mat-raised-button","","type","submit",3,"click"],[3,"addFiles"],["value","APPC"],["value","MTP"],["value","DIS"],["value","PRE"],["value","PADV"],["value","PDF"],["value","NORM"],["value","RESTRICTED"],["value","SECRET"],["href","https://profiles.ihe.net/ITI/MHD/4.0.2/StructureDefinition-ihe-sourceId.html"],[4,"ngFor","ngForOf"],[3,"highlight","lineNumbers"],["mode","indeterminate"],[3,"value"],[3,"highlight"],[1,"title"],[1,"name"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(Oe,ge){1&Oe&&(l.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),l.\u0275\u0275text(4,"Mobile Access Gateway - Patient Identifiers"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(5,"div")(6,"mat-form-field",1)(7,"mat-label"),l.\u0275\u0275text(8,"sourceIdentifier system"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(9,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(10," \xa0 "),l.\u0275\u0275elementStart(11,"mat-form-field",1)(12,"mat-label"),l.\u0275\u0275text(13,"sourceIdentifier value"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(14,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(15,"div")(16,"mat-form-field",1)(17,"mat-label"),l.\u0275\u0275text(18,"targetIdentifier system (MPI-ID)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(19,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(20),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(21,"div")(22,"mat-form-field",1)(23,"mat-label"),l.\u0275\u0275text(24,"targetIdentifier system (EPR-SPID)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(25,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(26),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(27,"div")(28,"div"),l.\u0275\u0275text(29),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(30,H,2,0,"ng-container",3),l.\u0275\u0275elementStart(31,"mat-card-actions")(32,"button",4),l.\u0275\u0275listener("click",function(){return ge.onPIXmQuery()}),l.\u0275\u0275text(33," PIXm Query "),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(34,W,3,0,"ng-container",3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(35,we,25,5,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(36,"mat-card",0)(37,"mat-card-content")(38,"mat-card-header")(39,"mat-card-title"),l.\u0275\u0275text(40,"Mobile Access Gateway - Authenticate"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(41,"div")(42,"mat-form-field",1)(43,"mat-label"),l.\u0275\u0275text(44,"Authenticate/Authorize"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(45,"select",5)(46,"option",6),l.\u0275\u0275text(47,"Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(48,"option",7),l.\u0275\u0275text(49,"HCP"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(50,"option",8),l.\u0275\u0275text(51,"TCU"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275text(52," \xa0 "),l.\u0275\u0275elementStart(53,"mat-form-field",1)(54,"mat-label"),l.\u0275\u0275text(55,"Provider"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(56,"select",9),l.\u0275\u0275template(57,Ee,2,2,"option",10),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275template(58,Be,3,1,"div",3),l.\u0275\u0275elementStart(59,"mat-card-actions")(60,"button",4),l.\u0275\u0275listener("click",function(){return ge.onAuthenticate()}),l.\u0275\u0275text(61," Authenticate "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(62,"button",4),l.\u0275\u0275listener("click",function(){return ge.onRenewToken()}),l.\u0275\u0275text(63," Renew the token "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(64,"mat-card",0)(65,"mat-card-content")(66,"mat-card-header")(67,"mat-card-title"),l.\u0275\u0275text(68,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(69,"mat-table",11,12),l.\u0275\u0275elementContainerStart(71,13),l.\u0275\u0275template(72,G,2,0,"mat-header-cell",14),l.\u0275\u0275template(73,re,3,1,"mat-cell",15),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(74,16),l.\u0275\u0275template(75,se,2,0,"mat-header-cell",17),l.\u0275\u0275template(76,ye,2,1,"mat-cell",18),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(77,19),l.\u0275\u0275template(78,He,2,0,"mat-header-cell",20),l.\u0275\u0275template(79,Ze,3,1,"mat-cell",21),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(80,22),l.\u0275\u0275template(81,Qe,2,0,"mat-header-cell",23),l.\u0275\u0275template(82,We,3,1,"mat-cell",24),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(83,25),l.\u0275\u0275template(84,tt,2,0,"mat-header-cell",26),l.\u0275\u0275template(85,Mt,10,0,"mat-cell",27),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(86,Ft,1,0,"mat-header-row",28),l.\u0275\u0275template(87,gt,1,0,"mat-row",29),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(88,Bt,2,0,"ng-container",3),l.\u0275\u0275elementStart(89,"mat-card-actions")(90,"button",30),l.\u0275\u0275listener("click",function(){return ge.onFindDocumentReferences()}),l.\u0275\u0275text(91," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(92,"div")(93,"mat-form-field",1)(94,"mat-label"),l.\u0275\u0275text(95,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(96,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(97," \xa0 "),l.\u0275\u0275elementStart(98,"mat-form-field",1)(99,"mat-label"),l.\u0275\u0275text(100,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(101,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(102,"div")(103,"mat-form-field",1)(104,"mat-label"),l.\u0275\u0275text(105,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(106,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(107," \xa0 "),l.\u0275\u0275elementStart(108,"mat-form-field",1)(109,"mat-label"),l.\u0275\u0275text(110,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(111,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(112,"mat-card-actions")(113,"button",30),l.\u0275\u0275listener("click",function(){return ge.onFindMedicationList()}),l.\u0275\u0275text(114," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(115,"button",30),l.\u0275\u0275listener("click",function(){return ge.onFindMedicationCard()}),l.\u0275\u0275text(116," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(117,Tt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(118,"mat-card",0)(119,"mat-card-content")(120,"mat-card-header")(121,"mat-card-title"),l.\u0275\u0275text(122,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(123,"app-upload",31),l.\u0275\u0275listener("addFiles",function(At){return ge.addFile(At)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(124,"div")(125,"mat-form-field",1)(126,"mat-label"),l.\u0275\u0275text(127,"Title"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(128,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(129,"div")(130,"mat-form-field",1)(131,"mat-label"),l.\u0275\u0275text(132,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(133,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(134,"div")(135,"mat-form-field",1)(136,"mat-label"),l.\u0275\u0275text(137,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(138,"select",5)(139,"option",32),l.\u0275\u0275text(140,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(141,"option",33),l.\u0275\u0275text(142,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(143,"option",34),l.\u0275\u0275text(144,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(145,"option",35),l.\u0275\u0275text(146,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"option",36),l.\u0275\u0275text(148,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(149,"option",37),l.\u0275\u0275text(150,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(151,"div")(152,"mat-form-field",1)(153,"mat-label"),l.\u0275\u0275text(154,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(155,"select",5)(156,"option",38),l.\u0275\u0275text(157,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(158,"option",39),l.\u0275\u0275text(159,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(160,"option",40),l.\u0275\u0275text(161,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(162,"div")(163,"mat-form-field",1)(164,"mat-label"),l.\u0275\u0275text(165,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(166,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(167,"div")(168,"mat-form-field",1)(169,"mat-label"),l.\u0275\u0275text(170,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(171,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(172,"div")(173,"mat-form-field",1)(174,"mat-label"),l.\u0275\u0275text(175,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(176,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(177,"div")(178,"mat-form-field",1)(179,"mat-label"),l.\u0275\u0275text(180,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(181,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(182,"\xa0 "),l.\u0275\u0275elementStart(183,"a",41),l.\u0275\u0275text(184,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(185,kt,2,1,"div",3),l.\u0275\u0275template(186,Le,2,3,"div",42),l.\u0275\u0275template(187,ct,2,1,"div",3),l.\u0275\u0275template(188,ze,2,0,"ng-container",3),l.\u0275\u0275elementStart(189,"div")(190,"button",30),l.\u0275\u0275listener("click",function(){return ge.assignMobileAccessPatient()}),l.\u0275\u0275text(191," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(192,"\xa0 "),l.\u0275\u0275elementStart(193,"button",30),l.\u0275\u0275listener("click",function(){return ge.createMhdTransaction()}),l.\u0275\u0275text(194," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(195,"button",30),l.\u0275\u0275listener("click",function(){return ge.createAppc()}),l.\u0275\u0275text(196," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(197,"mat-card",0)(198,"mat-card-content")(199,"mat-card-header")(200,"mat-card-title"),l.\u0275\u0275text(201,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(202,at,2,1,"div",3),l.\u0275\u0275elementStart(203,"pre"),l.\u0275\u0275element(204,"code",43),l.\u0275\u0275elementEnd()()()),2&Oe&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ge.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ge.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ge.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ge.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ge.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ge.authenticate),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ge.provider),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ge.idps),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.getScopes()),l.\u0275\u0275advance(11),l.\u0275\u0275property("dataSource",ge.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(38,N)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(39,N)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ge.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ge.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ge.documentTitle),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ge.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ge.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ge.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ge.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ge.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ge.getJson())("lineNumbers",!0))},dependencies:[I.NgForOf,I.NgIf,X.NgSelectOption,X.\u0275NgSelectMultipleOption,X.DefaultValueAccessor,X.SelectControlValueAccessor,X.NgControlStatus,X.RequiredValidator,X.FormControlDirective,$.MatLegacyButton,ee.MatLegacyCard,ee.MatLegacyCardHeader,ee.MatLegacyCardContent,ee.MatLegacyCardTitle,ee.MatLegacyCardActions,ie.MatLegacyFormField,ie.MatLegacyLabel,A.MatIcon,U.MatLegacyInput,Me.MatLegacyTable,Me.MatLegacyHeaderCellDef,Me.MatLegacyHeaderRowDef,Me.MatLegacyColumnDef,Me.MatLegacyCellDef,Me.MatLegacyRowDef,Me.MatLegacyHeaderCell,Me.MatLegacyCell,Me.MatLegacyHeaderRow,Me.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,he.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),dt})()},3068:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.PatientDetailComponent=void 0;const n=a(655),c=n.__importStar(a(5879)),d=n.__importStar(a(6814)),g=n.__importStar(a(9025));function r(f,u){if(1&f&&(c.\u0275\u0275elementStart(0,"mat-card",1)(1,"mat-card-content")(2,"pre"),c.\u0275\u0275text(3),c.\u0275\u0275pipe(4,"json"),c.\u0275\u0275elementEnd()()()),2&f){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class f{constructor(){}ngOnInit(){}}return f.\u0275fac=function(v){return new(v||f)},f.\u0275cmp=c.\u0275\u0275defineComponent({type:f,selectors:[["app-patient-detail"]],inputs:{patient:"patient"},decls:1,vars:1,consts:[["class","Patient",4,"ngIf"],[1,"Patient"]],template:function(v,b){1&v&&c.\u0275\u0275template(0,r,5,3,"mat-card",0),2&v&&c.\u0275\u0275property("ngIf",b.patient)},dependencies:[d.NgIf,g.MatLegacyCard,g.MatLegacyCardContent,d.JsonPipe]}),f})()},8290:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.PatientsComponent=void 0;const n=a(655),d=(a(7088),a(2214)),g=a(6223),r=a(1385),h=n.__importStar(a(5879)),f=n.__importStar(a(7088)),u=n.__importStar(a(6223)),v=n.__importStar(a(9025)),b=n.__importStar(a(4187)),p=n.__importStar(a(2400)),_=n.__importStar(a(9559)),l=n.__importStar(a(2214)),y=n.__importStar(a(3068));function x(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Family"),h.\u0275\u0275elementEnd())}function D(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Given"),h.\u0275\u0275elementEnd())}function E(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Birthdate"),h.\u0275\u0275elementEnd())}function X(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Street"),h.\u0275\u0275elementEnd())}function ee(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"City"),h.\u0275\u0275elementEnd())}function A(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(he,H){1&he&&h.\u0275\u0275element(0,"mat-header-row")}function Me(he,H){if(1&he){const W=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"mat-row",16),h.\u0275\u0275listener("click",function(){const Ee=h.\u0275\u0275restoreView(W).$implicit,Be=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Be.selectRow(Ee))}),h.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class he{constructor(W){this.data=W,this.searched=!1,this.dataSource=new d.MatLegacyTableDataSource,this.length=100,this.pageSize=10,this.pageIndex=0,this.query={_count:this.pageSize,_summary:"true",_sort:"family"},this.pageSizeOptions=[this.pageSize],this.searchNameValue="",this.searchGivenValue="",this.searchFamilyValue="",this.client=W.getMobileAccessGatewayClient(),this.searchName=new g.UntypedFormControl,this.searchName.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(pe=>this.search()),this.searchGiven=new g.UntypedFormControl,this.searchGiven.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(pe=>this.search()),this.searchFamily=new g.UntypedFormControl,this.searchFamily.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(pe=>this.search()),this.search()}search(){let W={...this.query};this.searchName.value&&(W={...W,name:this.searchName.value}),this.searchFamily.value&&(W={...W,family:this.searchFamily.value}),this.searchGiven.value&&(W={...W,given:this.searchGiven.value}),this.client.search({resourceType:"Patient",searchParams:W}).then(pe=>(this.pageIndex=0,this.setBundle(pe),pe))}getPatientFamilyName(W){const pe=W.resource;return pe.name&&pe.name.length>0&&pe.name[0].family?pe.name[0].family:""}getPatientGivenNames(W){const pe=W.resource;return pe.name&&pe.name.length>0&&pe.name[0].given?W.resource.name[0].given.join(" "):""}getPatientBirthDate(W){const pe=W.resource;return pe.birthDate?pe.birthDate:""}getPatientAddressLines(W){const pe=W.resource;return pe.address&&pe.address.length>0&&pe.address[0].line?pe.address[0].line.join(", "):""}getPatientAddressCity(W){const pe=W.resource;return pe.address&&pe.address.length>0&&pe.address[0].city?pe.address[0].city:""}selectRow(W){this.client.read({resourceType:"Patient",id:W.resource.id}).then(Ee=>{this.selectedPatient=Ee})}goToPage(W){W.pageIndex>this.pageIndex?this.client.nextPage({bundle:this.bundle}).then(pe=>{this.pageIndex=W.pageIndex,this.setBundle(pe),console.log("next page called ")}):this.client.prevPage({bundle:this.bundle}).then(pe=>{this.pageIndex=W.pageIndex,this.setBundle(pe),console.log("previous page called ")})}setBundle(W){this.bundle=W,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry,this.selectedPatient=void 0}ngOnInit(){}}return he.\u0275fac=function(W){return new(W||he)(h.\u0275\u0275directiveInject(f.FhirConfigService))},he.\u0275cmp=h.\u0275\u0275defineComponent({type:he,selectors:[["app-patients"]],decls:40,vars:13,consts:[[1,"Search"],["matInput","",3,"formControl"],[1,"Patients"],[3,"dataSource"],["table",""],["matColumnDef","familyNameCol"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","givenNamesCol"],["matColumnDef","birthDateCol"],["matColumnDef","addressLinesCol"],["matColumnDef","addressCityCol"],[4,"matHeaderRowDef"],[3,"click",4,"matRowDef","matRowDefColumns"],[3,"pageIndex","length","pageSize","pageSizeOptions","page"],[3,"patient"],[3,"click"]],template:function(W,pe){1&W&&(h.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),h.\u0275\u0275text(4,"Name"),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(5,"input",1),h.\u0275\u0275elementEnd(),h.\u0275\u0275text(6," \xa0 "),h.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),h.\u0275\u0275text(9,"Family"),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(10,"input",1),h.\u0275\u0275elementEnd(),h.\u0275\u0275text(11," \xa0 "),h.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),h.\u0275\u0275text(14,"Given"),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(15,"input",1),h.\u0275\u0275elementEnd(),h.\u0275\u0275text(16," \xa0 "),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),h.\u0275\u0275elementContainerStart(21,5),h.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),h.\u0275\u0275template(23,D,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(24,8),h.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),h.\u0275\u0275template(26,E,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(27,9),h.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),h.\u0275\u0275template(29,X,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(30,10),h.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),h.\u0275\u0275template(32,ee,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(33,11),h.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),h.\u0275\u0275template(35,A,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275template(36,U,1,0,"mat-header-row",12),h.\u0275\u0275template(37,Me,1,0,"mat-row",13),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(38,"mat-paginator",14),h.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),h.\u0275\u0275elementEnd()()(),h.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(h.\u0275\u0275advance(5),h.\u0275\u0275property("formControl",pe.searchName),h.\u0275\u0275advance(5),h.\u0275\u0275property("formControl",pe.searchFamily),h.\u0275\u0275advance(5),h.\u0275\u0275property("formControl",pe.searchGiven),h.\u0275\u0275advance(4),h.\u0275\u0275property("dataSource",pe.dataSource),h.\u0275\u0275advance(17),h.\u0275\u0275property("matHeaderRowDef",h.\u0275\u0275pureFunction0(11,Re)),h.\u0275\u0275advance(1),h.\u0275\u0275property("matRowDefColumns",h.\u0275\u0275pureFunction0(12,Re)),h.\u0275\u0275advance(1),h.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),h.\u0275\u0275advance(1),h.\u0275\u0275property("patient",pe.selectedPatient))},dependencies:[u.DefaultValueAccessor,u.NgControlStatus,u.FormControlDirective,v.MatLegacyCard,v.MatLegacyCardContent,b.MatLegacyFormField,b.MatLegacyLabel,p.MatLegacyInput,_.MatLegacyPaginator,l.MatLegacyTable,l.MatLegacyHeaderCellDef,l.MatLegacyHeaderRowDef,l.MatLegacyColumnDef,l.MatLegacyCellDef,l.MatLegacyRowDef,l.MatLegacyHeaderCell,l.MatLegacyCell,l.MatLegacyHeaderRow,l.MatLegacyRow,y.PatientDetailComponent]}),he})()},3835:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.SettingsComponent=void 0;const n=a(655),d=(a(7088),n.__importDefault(a(563))),r=(a(5187),n.__importStar(a(5879))),h=n.__importStar(a(7088)),f=n.__importStar(a(5187)),u=n.__importStar(a(6814)),v=n.__importStar(a(6223)),b=n.__importStar(a(4678)),p=n.__importStar(a(9025)),_=n.__importStar(a(4187)),l=n.__importStar(a(1798));function y(D,S){if(1&D&&(r.\u0275\u0275elementStart(0,"mat-option",2),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&D){const E=S.$implicit;r.\u0275\u0275property("value",E),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",E," ")}}B.SettingsComponent=(()=>{class D{constructor(E,I){this.data=E,this.router=I,this.mobileAccessGateways=["https://test.ahdis.ch/mag-cara/fhir","https://test.ahdis.ch/eprik-proxy-cara/camel/mag-cara/fhir","https://test.ahdis.ch/mag-pmp2/fhir","https://test.ahdis.ch/eprik-proxy-cara/camel/mag-pmp/fhir","https://test.ahdis.ch/mag-bfh/fhir","https://test.ahdis.ch/mag-test/fhir","https://test.ahdis.ch/mag-test-emedo/fhir","http://localhost:8080/matchbox/fhir","http://localhost:9090/mag-pmp2/fhir","http://localhost:9090/mag-cara/fhir","http://localhost:18002/eprik-proxy-cara/camel/mag-pmp/fhir"],this.client=E.getMobileAccessGatewayClient()}ngOnInit(){this.baseUrlMag=this.data.getMobileAccessGatewayService()}getMagSelectedValue(){return this.baseUrlMag}setMagSelectedValue(E){(0,d.default)("setting new server to "+E),this.data.changeMagMicroService(E)}}return D.\u0275fac=function(E){return new(E||D)(r.\u0275\u0275directiveInject(h.FhirConfigService),r.\u0275\u0275directiveInject(f.Router))},D.\u0275cmp=r.\u0275\u0275defineComponent({type:D,selectors:[["app-settings"]],decls:7,vars:2,consts:[["placeholder","Mobile Access Gateway","name","selectmag",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(E,I){1&E&&(r.\u0275\u0275elementStart(0,"mat-card")(1,"mat-card-content")(2,"form")(3,"mat-form-field")(4,"mat-select",0),r.\u0275\u0275listener("ngModelChange",function($){return I.setMagSelectedValue($)}),r.\u0275\u0275template(5,y,2,2,"mat-option",1),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(6,"br"),r.\u0275\u0275elementEnd()()()),2&E&&(r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",I.getMagSelectedValue()),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",I.mobileAccessGateways))},dependencies:[u.NgForOf,v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.NgModel,v.NgForm,b.MatLegacyOption,p.MatLegacyCard,p.MatLegacyCardContent,_.MatLegacyFormField,l.MatLegacySelect]}),D})()},6208:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.SharedModule=void 0;const n=a(655),c=a(6814),d=a(6223),g=a(349),r=a(6593),h=a(9241),f=a(4505),u=a(9025),v=a(4021),b=a(3680),p=a(5616),_=a(6385),l=a(4187),y=a(617),x=a(2400),D=a(6718),S=a(9559),E=a(1036),I=a(1798),X=a(1830),$=a(4433),ee=a(2214),ie=a(8615),A=a(1274),U=a(9515),Me=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,h.MatLegacyAutocompleteModule,f.MatLegacyButtonModule,u.MatLegacyCardModule,v.MatLegacyCheckboxModule,_.MatDividerModule,l.MatLegacyFormFieldModule,y.MatIconModule,x.MatLegacyInputModule,D.MatLegacyMenuModule,S.MatLegacyPaginatorModule,I.MatLegacySelectModule,$.MatLegacySliderModule,X.MatLegacySlideToggleModule,ee.MatLegacyTableModule,A.MatToolbarModule,ie.MatLegacyTabsModule,p.MatDatepickerModule,b.MatNativeDateModule,E.MatLegacyRadioModule,Me.MatLegacyProgressSpinnerModule];B.SharedModule=(()=>{class W{}return W.\u0275fac=function(we){return new(we||W)},W.\u0275mod=Re.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=Re.\u0275\u0275defineInjector({imports:[Ae,c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,h.MatLegacyAutocompleteModule,f.MatLegacyButtonModule,u.MatLegacyCardModule,v.MatLegacyCheckboxModule,_.MatDividerModule,l.MatLegacyFormFieldModule,y.MatIconModule,x.MatLegacyInputModule,D.MatLegacyMenuModule,S.MatLegacyPaginatorModule,I.MatLegacySelectModule,$.MatLegacySliderModule,X.MatLegacySlideToggleModule,ee.MatLegacyTableModule,A.MatToolbarModule,ie.MatLegacyTabsModule,p.MatDatepickerModule,b.MatNativeDateModule,E.MatLegacyRadioModule,Me.MatLegacyProgressSpinnerModule]}),W})()},9009:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.UploadComponent=void 0;const c=a(655),d=a(5879),g=c.__importStar(a(5879)),r=c.__importStar(a(4505)),h=c.__importStar(a(617));B.UploadComponent=(()=>{class u{constructor(){this.addFiles=new d.EventEmitter,this.dragCounter=0}checkStatus(b){if(!b.ok)throw new Error(`HTTP ${b.status} - ${b.statusText}`);return b}onDrop(b){b.preventDefault(),this.dragCounter=0;const p=b.target.files||b.dataTransfer.items;if(p)for(let l=0;l0))},dependencies:[r.MatLegacyButton,h.MatIcon],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.attachment-field[_ngcontent-%COMP%]{border-radius:5px;background:#e6e7e1}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%]{border-bottom:1px solid #dedede;display:flex;align-items:center;height:40px}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-name[_ngcontent-%COMP%]{flex:1;padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-size[_ngcontent-%COMP%]:last-child{margin-right:1rem}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;line-height:inherit}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]{text-align:center;padding:2rem;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone.file-over[_ngcontent-%COMP%]{background:#dadcd3;outline:solid #32a1ce}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{line-height:3rem}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .bold-text[_ngcontent-%COMP%]{font-weight:700}"],changeDetection:0}),u})()},553:(Ie,B)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.environment=void 0,B.environment={production:!0}},4913:(Ie,B,a)=>{"use strict";const d=a(655).__importStar(a(6593)),g=a(5879),r=a(8629);a(553).environment.production&&(0,g.enableProdMode)(),d.platformBrowser().bootstrapModule(r.AppModule).catch(f=>console.log(f))},5899:Ie=>{function B(){}Ie.exports=B,Ie.exports.HttpsAgent=B},6357:(Ie,B,a)=>{const{Token:n}=a(6205),c=a(9042),{Interval:d}=a(9173);class g{}Ie.exports=class r extends g{constructor(f){super(),this.tokenSource=f,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(f){}reset(){this.seek(0)}seek(f){this.lazyInit(),this.index=this.adjustSeekIndex(f)}get(f){return this.lazyInit(),this.tokens[f]}consume(){let f=!1;if(f=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(f){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=f;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(f){return f}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(f){this.tokenSource=f,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(f,u){if(this.sync(f),f>=this.tokens.length)return-1;let v=this.tokens[f];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(f+=1),v=this.tokens[f]}return f}previousTokenOnChannel(f,u){for(;f>=0&&this.tokens[f].channel!==u;)f-=1;return f}getHiddenTokensToRight(f,u){if(void 0===u&&(u=-1),this.lazyInit(),f<0||f>=this.tokens.length)throw f+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(f+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(f+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(f,u){if(void 0===u&&(u=-1),this.lazyInit(),f<0||f>=this.tokens.length)throw f+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(f-1,c.DEFAULT_TOKEN_CHANNEL);return v===f-1?null:this.filterForChannel(v+1,f-1,u)}filterForChannel(f,u,v){const b=[];for(let p=f;p=this.tokens.length&&(v=this.tokens.length-1);let b="";for(let p=u;p{const n=a(6205).CommonToken;class c{}class d extends c{constructor(r){super(),this.copyText=void 0!==r&&r}create(r,h,f,u,v,b,p,_){const l=new n(r,h,u,v,b);return l.line=p,l.column=_,null!==f?l.text=f:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,h){const f=new n(null,r);return f.text=h,f}}d.DEFAULT=new d,Ie.exports=d},7456:(Ie,B,a)=>{const n=a(6205).Token,c=a(6357);Ie.exports=class d extends c{constructor(r,h){super(r),this.channel=void 0===h?n.DEFAULT_CHANNEL:h}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let h=this.index,f=1;for(;f<=r;)h=this.previousTokenOnChannel(h-1,this.channel),f+=1;return h<0?null:this.tokens[h]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let h=this.index,f=1;for(;f{const{Token:n}=a(6205);a(6419),a(9182),Ie.exports=class c{constructor(g,r){if(this.name="",this.strdata=g,this.decodeToUnicodeCodePoints=r||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let h=0;h=this._size)throw"cannot consume EOF";this._index+=1}LA(g){if(0===g)return 0;g<0&&(g+=1);const r=this._index+g-1;return r<0||r>=this._size?n.EOF:this.data[r]}LT(g){return this.LA(g)}mark(){return-1}release(g){}seek(g){this._index=g<=this._index?g:Math.min(g,this._size)}getText(g,r){if(r>=this._size&&(r=this._size-1),g>=this._size)return"";if(this.decodeToUnicodeCodePoints){let h="";for(let f=g;f<=r;f++)h+=String.fromCodePoint(this.data[f]);return h}return this.strdata.slice(g,r+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},9173:(Ie,B,a)=>{const{Token:n}=a(6205);class c{constructor(r,h){this.start=r,this.stop=h}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(h),this),this}reduce(r){if(r=f.stop?(this.intervals.splice(r+1,1),this.reduce(r)):h.stop>=f.start&&(this.intervals[r]=new c(h.start,f.stop),this.intervals.splice(r+1,1))}}complement(r,h){const f=new d;return f.addInterval(new c(r,h+1)),null!==this.intervals&&this.intervals.forEach(u=>f.removeRange(u)),f}contains(r){if(null===this.intervals)return!1;for(let h=0;hu.start&&r.stop=u.stop?(this.intervals.splice(h,1),h-=1):r.start":"'"+String.fromCharCode(f.start)+"'":"'"+String.fromCharCode(f.start)+"'..'"+String.fromCharCode(f.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let h=0;h":f.start.toString():f.start.toString()+".."+(f.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,h){const f=[];for(let u=0;u1?"{"+f.join(", ")+"}":f[0]}elementName(r,h,f){return f===n.EOF?"":f===n.EPSILON?"":r[f]||h[f]}get length(){return this.intervals.map(r=>r.length).reduce((r,h)=>r+h)}}Ie.exports={Interval:c,IntervalSet:d}},4589:(Ie,B,a)=>{const{Set:n,BitSet:c}=a(3340),{Token:d}=a(6205),{ATNConfig:g}=a(7745),{IntervalSet:r}=a(9173),{RuleStopState:h}=a(5516),{RuleTransition:f,NotSetTransition:u,WildcardTransition:v,AbstractPredicateTransition:b}=a(6850),{predictionContextFromRuleContext:p,PredictionContext:_,SingletonPredictionContext:l}=a(6185);class y{constructor(D){this.atn=D}getDecisionLookahead(D){if(null===D)return null;const S=D.transitions.length,E=[];for(let I=0;I{const{Token:n}=a(6205),c=a(9495),d=a(9882),{RecognitionException:g}=a(5858),{LexerNoViableAltException:r}=a(5858);class f extends c{constructor(v){super(),this._input=v,this._factory=d.DEFAULT,this._tokenFactorySourcePair=[this,v],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=n.DEFAULT_CHANNEL,this._type=n.INVALID_TYPE,this._modeStack=[],this._mode=f.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=f.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const v=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let b=!1;for(;;){this._type=n.INVALID_TYPE;let p=f.SKIP;try{p=this._interp.match(this._input,this._mode)}catch(_){if(!(_ instanceof g))throw console.log(_.stack),_;this.notifyListeners(_),this.recover(_)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=p),this._type===f.SKIP){b=!0;break}if(this._type!==f.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=f.SKIP}more(){this._type=f.MORE}mode(v){this._mode=v}pushMode(v){this._interp.debug&&console.log("pushMode "+v),this._modeStack.push(this._mode),this.mode(v)}popMode(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(v){this._token=v}emit(){const v=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(v),v}emitEOF(){const p=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(p),p}getCharIndex(){return this._input.index}getAllTokens(){const v=[];let b=this.nextToken();for(;b.type!==n.EOF;)v.push(b),b=this.nextToken();return v}notifyListeners(v){const _=this._input.getText(this._tokenStartCharIndex,this._input.index),l="token recognition error at: '"+this.getErrorDisplay(_)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,l,v)}getErrorDisplay(v){const b=[];for(let p=0;p":"\n"===v?"\\n":"\t"===v?"\\t":"\r"===v?"\\r":v}getCharErrorDisplay(v){return"'"+this.getErrorDisplayForChar(v)+"'"}recover(v){this._input.LA(1)!==n.EOF&&(v instanceof r?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(v){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=v,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(v){this._type=v}get line(){return this._interp.line}set line(v){this._interp.line=v}get column(){return this._interp.column}set column(v){this._interp.column=v}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(v){this._text=v}}f.DEFAULT_MODE=0,f.MORE=-2,f.SKIP=-3,f.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,f.HIDDEN=n.HIDDEN_CHANNEL,f.MIN_CHAR_VALUE=0,f.MAX_CHAR_VALUE=1114111,Ie.exports=f},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:h}=a(2487),f=a(7499),u=a(2905),v=a(9042);class b extends c{constructor(l){super(),this.parser=l}enterEveryRule(l){console.log("enter "+this.parser.ruleNames[l.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(l){console.log("consume "+l.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(l){console.log("exit "+this.parser.ruleNames[l.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}Ie.exports=(()=>{class _ extends r{constructor(y){super(),this._input=null,this._errHandler=new h,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(y)}reset(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()}match(y){let x=this.getCurrentToken();return x.type===y?(this._errHandler.reportMatch(this),this.consume()):(x=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===x.tokenIndex&&this._ctx.addErrorNode(x)),x}matchWildcard(){let y=this.getCurrentToken();return y.type>0?(this._errHandler.reportMatch(this),this.consume()):(y=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===y.tokenIndex&&this._ctx.addErrorNode(y)),y}getParseListeners(){return this._parseListeners||[]}addParseListener(y){if(null===y)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(y)}removeParseListener(y){if(null!==this._parseListeners){const x=this._parseListeners.indexOf(y);x>=0&&this._parseListeners.splice(x,1),0===this._parseListeners.length&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(null!==this._parseListeners){const y=this._ctx;this._parseListeners.forEach(function(x){x.enterEveryRule(y),y.enterRule(x)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const y=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(x){y.exitRule(x),x.exitEveryRule(y)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(y){this._input.tokenSource._factory=y}getATNWithBypassAlts(){const y=this.getSerializedATN();if(null===y)throw"The current parser does not support an ATN with bypass alternatives.";let x=this.bypassAltsAtnCache[y];if(null===x){const D=new u;D.generateRuleBypassTransitions=!0,x=new f(D).deserialize(y),this.bypassAltsAtnCache[y]=x}return x}compileParseTreePattern(y,x,D){if(null===(D=D||null)&&null!==this.getTokenStream()){const E=this.getTokenStream().tokenSource;E instanceof v&&(D=E)}if(null===D)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(D,this).compile(y,x)}getInputStream(){return this.getTokenStream()}setInputStream(y){this.setTokenStream(y)}getTokenStream(){return this._input}setTokenStream(y){this._input=null,this.reset(),this._input=y}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(y,x,D){D=D||null,null===(x=x||null)&&(x=this.getCurrentToken()),this._syntaxErrors+=1;const S=x.line,E=x.column;this.getErrorListenerDispatch().syntaxError(this,x,S,E,y,D)}consume(){const y=this.getCurrentToken();y.type!==n.EOF&&this.getInputStream().consume();const x=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||x){let D;D=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(y):this._ctx.addTokenNode(y),D.invokingState=this.state,x&&this._parseListeners.forEach(function(S){D instanceof g||void 0!==D.isErrorNode&&D.isErrorNode()?S.visitErrorNode(D):D instanceof d&&S.visitTerminal(D)})}return y}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(y,x,D){this.state=x,this._ctx=y,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(y,x){y.setAltNumber(x),this.buildParseTrees&&this._ctx!==y&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(y)),this._ctx=y}getPrecedence(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(y,x,D,S){this.state=x,this._precedenceStack.push(S),this._ctx=y,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(y,x,D){const S=this._ctx;S.parentCtx=y,S.invokingState=x,S.stop=this._input.LT(-1),this._ctx=y,this._ctx.start=S.start,this.buildParseTrees&&this._ctx.addChild(S),this.triggerEnterRuleEvent()}unrollRecursionContexts(y){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const x=this._ctx,D=this.getParseListeners();if(null!==D&&D.length>0)for(;this._ctx!==y;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=y;x.parentCtx=y,this.buildParseTrees&&null!==y&&y.addChild(x)}getInvokingContext(y){let x=this._ctx;for(;null!==x;){if(x.ruleIndex===y)return x;x=x.parentCtx}return null}precpred(y,x){return x>=this._precedenceStack[this._precedenceStack.length-1]}inContext(y){return!1}isExpectedToken(y){const x=this._interp.atn;let D=this._ctx,E=x.nextTokens(x.states[this.state]);if(E.contains(y))return!0;if(!E.contains(n.EPSILON))return!1;for(;null!==D&&D.invokingState>=0&&E.contains(n.EPSILON);){if(E=x.nextTokens(x.states[D.invokingState].transitions[0].followState),E.contains(y))return!0;D=D.parentCtx}return!(!E.contains(n.EPSILON)||y!==n.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const y=this._interp.atn;return y.nextTokens(y.states[this.state])}getRuleIndex(y){const x=this.getRuleIndexMap()[y];return null!==x?x:-1}getRuleInvocationStack(y){null===(y=y||null)&&(y=this._ctx);const x=[];for(;null!==y;){const D=y.ruleIndex;x.push(D<0?"n/a":this.ruleNames[D]),y=y.parentCtx}return x}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let y=!1;for(let x=0;x0&&(y&&console.log(),this.printer.println("Decision "+D.decision+":"),this.printer.print(D.toString(this.literalNames,this.symbolicNames)),y=!0)}}getSourceName(){return this._input.sourceName}setTrace(y){y?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new b(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return _.bypassAltsAtnCache={},_})()},7293:(Ie,B,a)=>{const n=a(13),c=a(5829),d=c.INVALID_INTERVAL,g=c.TerminalNode,r=c.TerminalNodeImpl,h=c.ErrorNodeImpl,f=a(9173).Interval;class u extends n{constructor(p,_){super(p=p||null,_=_||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(p){this.parentCtx=p.parentCtx,this.invokingState=p.invokingState,this.children=null,this.start=p.start,this.stop=p.stop,p.children&&(this.children=[],p.children.map(function(_){_ instanceof h&&(this.children.push(_),_.parentCtx=this)},this))}enterRule(p){}exitRule(p){}addChild(p){return null===this.children&&(this.children=[]),this.children.push(p),p}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(p){const _=new r(p);return this.addChild(_),_.parentCtx=this,_}addErrorNode(p){const _=new h(p);return this.addChild(_),_.parentCtx=this,_}getChild(p,_){if(null===this.children||p<0||p>=this.children.length)return null;if(null===(_=_||null))return this.children[p];for(let l=0;l=this.children.length)return null;for(let l=0;l{const n=a(13),{Hash:c,Map:d,equalArrays:g}=a(3340);class r{constructor(I){this.cachedHashCode=I}isEmpty(){return this===r.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===r.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(I){I.update(this.cachedHashCode)}}r.EMPTY=null,r.EMPTY_RETURN_STATE=2147483647,r.globalNodeCount=1,r.id=r.globalNodeCount;class f extends r{constructor(I,X){let $=0;const ee=new c;null!==I?ee.update(I,X):ee.update(1),$=ee.finish(),super($),this.parentCtx=I,this.returnState=X}getParent(I){return this.parentCtx}getReturnState(I){return this.returnState}equals(I){return this===I||I instanceof f&&this.hashCode()===I.hashCode()&&this.returnState===I.returnState&&(null==this.parentCtx?null==I.parentCtx:this.parentCtx.equals(I.parentCtx))}toString(){const I=null===this.parentCtx?"":this.parentCtx.toString();return 0===I.length?this.returnState===r.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+I}get length(){return 1}static create(I,X){return X===r.EMPTY_RETURN_STATE&&null===I?r.EMPTY:new f(I,X)}}class u extends f{constructor(){super(null,r.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(I){return null}getReturnState(I){return this.returnState}equals(I){return this===I}toString(){return"$"}}r.EMPTY=new u;class v extends r{constructor(I,X){const $=new c;return $.update(I,X),super($.finish()),this.parents=I,this.returnStates=X,this}isEmpty(){return this.returnStates[0]===r.EMPTY_RETURN_STATE}getParent(I){return this.parents[I]}getReturnState(I){return this.returnStates[I]}equals(I){return this===I||I instanceof v&&this.hashCode()===I.hashCode()&&g(this.returnStates,I.returnStates)&&g(this.parents,I.parents)}toString(){if(this.isEmpty())return"[]";{let I="[";for(let X=0;X0&&(I+=", "),this.returnStates[X]!==r.EMPTY_RETURN_STATE?(I+=this.returnStates[X],null!==this.parents[X]?I=I+" "+this.parents[X]:I+="null"):I+="$";return I+"]"}}get length(){return this.returnStates.length}}Ie.exports={merge:function p(E,I,X,$){if(E===I)return E;if(E instanceof f&&I instanceof f)return function _(E,I,X,$){if(null!==$){let ie=$.get(E,I);if(null!==ie||(ie=$.get(I,E),null!==ie))return ie}const ee=function l(E,I,X){if(X){if(E===r.EMPTY||I===r.EMPTY)return r.EMPTY}else{if(E===r.EMPTY&&I===r.EMPTY)return r.EMPTY;if(E===r.EMPTY)return new v([I.parentCtx,null],[I.returnState,r.EMPTY_RETURN_STATE]);if(I===r.EMPTY)return new v([E.parentCtx,null],[E.returnState,r.EMPTY_RETURN_STATE])}return null}(E,I,X);if(null!==ee)return null!==$&&$.set(E,I,ee),ee;if(E.returnState===I.returnState){const ie=p(E.parentCtx,I.parentCtx,X,$);if(ie===E.parentCtx)return E;if(ie===I.parentCtx)return I;const A=f.create(ie,E.returnState);return null!==$&&$.set(E,I,A),A}{let ie=null;if((E===I||null!==E.parentCtx&&E.parentCtx===I.parentCtx)&&(ie=E.parentCtx),null!==ie){const Re=[E.returnState,I.returnState];E.returnState>I.returnState&&(Re[0]=I.returnState,Re[1]=E.returnState);const he=new v([ie,ie],Re);return null!==$&&$.set(E,I,he),he}const A=[E.returnState,I.returnState];let U=[E.parentCtx,I.parentCtx];E.returnState>I.returnState&&(A[0]=I.returnState,A[1]=E.returnState,U=[I.parentCtx,E.parentCtx]);const Me=new v(U,A);return null!==$&&$.set(E,I,Me),Me}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof f&&(E=new v([E.getParent()],[E.returnState])),I instanceof f&&(I=new v([I.getParent()],[I.returnState])),function y(E,I,X,$){if(null!==$){let Ae=$.get(E,I);if(null!==Ae||(Ae=$.get(I,E),null!==Ae))return Ae}let ee=0,ie=0,A=0,U=[],Me=[];for(;ee{const{Token:n}=a(6205),{ConsoleErrorListener:c}=a(7967),{ProxyErrorListener:d}=a(7967);Ie.exports=(()=>{class r{constructor(){this._listeners=[c.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(f){"4.9.3"!==f&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+f)}addErrorListener(f){this._listeners.push(f)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const f=this.getLiteralNames(),u=this.getSymbolicNames(),v=f.length>u.length?f.length:u.length;this.tokenNames=[];for(let b=0;b";let u=f.text;return null===u&&(u=f.type===n.EOF?"":"<"+f.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(f,u,v){return!0}precpred(f,u){return!0}get state(){return this._stateNumber}set state(f){this._stateNumber=f}}return r.tokenTypeMapCache={},r.ruleIndexMapCache={},r})()},13:(Ie,B,a)=>{const{RuleNode:n}=a(5829),{INVALID_INTERVAL:c}=a(5829),d=a(5140);Ie.exports=class g extends n{constructor(h,f){super(),this.parentCtx=h||null,this.invokingState=f||-1}depth(){let h=0,f=this;for(;null!==f;)f=f.parentCtx,h+=1;return h}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(h){return h.getText()}).join("")}getAltNumber(){return 0}setAltNumber(h){}getChild(h){return null}getChildCount(){return 0}accept(h){return h.visitChildren(this)}toStringTree(h,f){return d.toStringTree(this,h,f)}toString(h,f){h=h||null,f=f||null;let u=this,v="[";for(;null!==u&&u!==f;){if(null===h)u.isEmpty()||(v+=u.invokingState);else{const b=u.ruleIndex;v+=b>=0&&b{let B=(()=>{class n{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(d){this._text=d}}return n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,n})();Ie.exports={Token:B,CommonToken:(()=>{class n extends B{constructor(d,g,r,h,f){super(),this.source=void 0!==d?d:n.EMPTY_SOURCE,this.type=void 0!==g?g:null,this.channel=void 0!==r?r:B.DEFAULT_CHANNEL,this.start=void 0!==h?h:-1,this.stop=void 0!==f?f:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=d[0].line,this.column=d[0].column):this.column=-1}clone(){const d=new n(this.source,this.type,this.channel,this.start,this.stop);return d.tokenIndex=this.tokenIndex,d.line=this.line,d.column=this.column,d.text=this.text,d}toString(){let d=this.text;return d=null!==d?d.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+d+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(null!==this._text)return this._text;const d=this.getInputStream();if(null===d)return null;const g=d.size;return this.start"}set text(d){this._text=d}}return n.EMPTY_SOURCE=[null,null],n})()}},3340:Ie=>{function B(l){return null===l?"null":l}function a(l){return Array.isArray(l)?"["+l.map(B).join(", ")+"]":"null"}function n(l,y){return l?l.equals(y):l==y}function c(l){return l?l.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const l=this.toString();let y,x;const D=3&l.length,S=l.length-D;let E=String.prototype.seed;const I=3432918353,X=461845907;let $=0;for(;$>>16)*I&65535)<<16)&4294967295,x=x<<15|x>>>17,x=(65535&x)*X+(((x>>>16)*X&65535)<<16)&4294967295,E^=x,E=E<<13|E>>>19,y=5*(65535&E)+((5*(E>>>16)&65535)<<16)&4294967295,E=27492+(65535&y)+((58964+(y>>>16)&65535)<<16);switch(x=0,D){case 3:x^=(255&l.charCodeAt($+2))<<16;case 2:x^=(255&l.charCodeAt($+1))<<8;case 1:x^=255&l.charCodeAt($),x=(65535&x)*I+(((x>>>16)*I&65535)<<16)&4294967295,x=x<<15|x>>>17,x=(65535&x)*X+(((x>>>16)*X&65535)<<16)&4294967295,E^=x}return E^=l.length,E^=E>>>16,E=2246822507*(65535&E)+((2246822507*(E>>>16)&65535)<<16)&4294967295,E^=E>>>13,E=3266489909*(65535&E)+((3266489909*(E>>>16)&65535)<<16)&4294967295,E^=E>>>16,E>>>0};class g{constructor(){this.data=[]}add(y){this.data[y]=!0}or(y){const x=this;Object.keys(y.data).map(function(D){x.add(D)})}remove(y){delete this.data[y]}contains(y){return!0===this.data[y]}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){const y=new u;return y.update(this.values()),y.finish()}equals(y){return y instanceof g&&this.hashCode()===y.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class r{constructor(y,x){this.data={},this.hashFunction=y||c,this.equalsFunction=x||n}put(y,x){const D="hash_"+this.hashFunction(y);if(D in this.data){const S=this.data[D];for(let E=0;E>>17,D*=461845907,this.count=this.count+1;let S=this.hash^D;S=S<<13|S>>>19,S=5*S+3864292196,this.hash=S}}}finish(){let y=this.hash^4*this.count;return y^=y>>>16,y*=2246822507,y^=y>>>13,y*=3266489909,y^=y>>>16,y}}Ie.exports={Hash:u,Set:class d{constructor(y,x){this.data={},this.hashFunction=y||c,this.equalsFunction=x||n}add(y){const D="hash_"+this.hashFunction(y);if(D in this.data){const S=this.data[D];for(let E=0;E{const n=a(4589),{IntervalSet:c}=a(9173),{Token:d}=a(6205);Ie.exports=(()=>{class r{constructor(f,u){this.grammarType=f,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(f,u){return new n(this).LOOK(f,null,u)}nextTokensNoContext(f){return null!==f.nextTokenWithinRule||(f.nextTokenWithinRule=this.nextTokensInContext(f,null),f.nextTokenWithinRule.readOnly=!0),f.nextTokenWithinRule}nextTokens(f,u){return void 0===u?this.nextTokensNoContext(f):this.nextTokensInContext(f,u)}addState(f){null!==f&&(f.atn=this,f.stateNumber=this.states.length),this.states.push(f)}removeState(f){this.states[f.stateNumber]=null}defineDecisionState(f){return this.decisionToState.push(f),f.decision=this.decisionToState.length-1,f.decision}getDecisionState(f){return 0===this.decisionToState.length?null:this.decisionToState[f]}getExpectedTokens(f,u){if(f<0||f>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[f]);if(!b.contains(d.EPSILON))return b;const p=new c;for(p.addSet(b),p.removeOne(d.EPSILON);null!==u&&u.invokingState>=0&&b.contains(d.EPSILON);)b=this.nextTokens(this.states[u.invokingState].transitions[0].followState),p.addSet(b),p.removeOne(d.EPSILON),u=u.parentCtx;return b.contains(d.EPSILON)&&p.addOne(d.EOF),p}}return r.INVALID_ALT_NUMBER=0,r})()},7745:(Ie,B,a)=>{const{DecisionState:n}=a(5516),{SemanticContext:c}=a(9454),{Hash:d}=a(3340);function g(f,u){if(null===f){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=f.state||null,v.alt=void 0===f.alt?null:f.alt,v.context=f.context||null,v.semanticContext=f.semanticContext||null,u&&(v.reachesIntoOuterContext=f.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=f.precedenceFilterSuppressed||!1),v}}class r{constructor(u,v){this.checkContext(u,v),u=g(u),v=g(v,!0),this.state=null!==u.state?u.state:v.state,this.alt=null!==u.alt?u.alt:v.alt,this.context=null!==u.context?u.context:v.context,this.semanticContext=null!==u.semanticContext?u.semanticContext:null!==v.semanticContext?v.semanticContext:c.NONE,this.reachesIntoOuterContext=v.reachesIntoOuterContext,this.precedenceFilterSuppressed=v.precedenceFilterSuppressed}checkContext(u,v){null==u.context&&(null===v||null==v.context)&&(this.context=null)}hashCode(){const u=new d;return this.updateHashCode(u),u.finish()}updateHashCode(u){u.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(u){return this===u||u instanceof r&&this.state.stateNumber===u.state.stateNumber&&this.alt===u.alt&&(null===this.context?null===u.context:this.context.equals(u.context))&&this.semanticContext.equals(u.semanticContext)&&this.precedenceFilterSuppressed===u.precedenceFilterSuppressed}hashCodeForConfigSet(){const u=new d;return u.update(this.state.stateNumber,this.alt,this.semanticContext),u.finish()}equalsForConfigSet(u){return this===u||u instanceof r&&this.state.stateNumber===u.state.stateNumber&&this.alt===u.alt&&this.semanticContext.equals(u.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==c.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class h extends r{constructor(u,v){return super(u,v),this.lexerActionExecutor=u.lexerActionExecutor||(null!==v?v.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==v&&this.checkNonGreedyDecision(v,this.state),this.hashCodeForConfigSet=h.prototype.hashCode,this.equalsForConfigSet=h.prototype.equals,this}updateHashCode(u){u.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(u){return this===u||u instanceof h&&this.passedThroughNonGreedyDecision===u.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(u.lexerActionExecutor):!u.lexerActionExecutor)&&super.equals(u)}checkNonGreedyDecision(u,v){return u.passedThroughNonGreedyDecision||v instanceof n&&v.nonGreedy}}Ie.exports.ATNConfig=r,Ie.exports.LexerATNConfig=h},4280:(Ie,B,a)=>{const n=a(9800),c=a(3340),{SemanticContext:d}=a(9454),{merge:g}=a(6185);function r(v){return v.hashCodeForConfigSet()}function h(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class f{constructor(b){this.configLookup=new c.Set(r,h),this.fullCtx=void 0===b||b,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(b,p){if(void 0===p&&(p=null),this.readOnly)throw"This set is readonly";b.semanticContext!==d.NONE&&(this.hasSemanticContext=!0),b.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const _=this.configLookup.add(b);if(_===b)return this.cachedHashCode=-1,this.configs.push(b),!0;const y=g(_.context,b.context,!this.fullCtx,p);return _.reachesIntoOuterContext=Math.max(_.reachesIntoOuterContext,b.reachesIntoOuterContext),b.precedenceFilterSuppressed&&(_.precedenceFilterSuppressed=!0),_.context=y,!0}getStates(){const b=new c.Set;for(let p=0;p{class B{constructor(n){void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions}}B.defaultOptions=new B,B.defaultOptions.readOnly=!0,Ie.exports=B},7499:(Ie,B,a)=>{const{Token:n}=a(6205),c=a(9800),d=a(8729),{ATNState:g,BasicState:r,DecisionState:h,BlockStartState:f,BlockEndState:u,LoopEndState:v,RuleStartState:b,RuleStopState:p,TokensStartState:_,PlusLoopbackState:l,StarLoopbackState:y,StarLoopEntryState:x,PlusBlockStartState:D,StarBlockStartState:S,BasicBlockStartState:E}=a(5516),{Transition:I,AtomTransition:X,SetTransition:$,NotSetTransition:ee,RuleTransition:ie,RangeTransition:A,ActionTransition:U,EpsilonTransition:Me,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:he}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:se,LexerPopModeAction:ye,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",We=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Mt=Qe;function Ft(kt,Le){const ct=[];return ct[kt-1]=Le,ct.map(function(ze){return Le})}const Tt=function Bt(){const kt=[];for(let Le=0;Le<256;Le++)kt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return kt}();Ie.exports=class gt{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,ct){const ze=We.indexOf(Le);return!(ze<0)&&We.indexOf(ct)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const ct=this.readATN();this.readStates(ct),this.readRules(ct),this.readModes(ct);const ze=[];return this.readSets(ct,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(ct,ze,this.readInt32.bind(this)),this.readEdges(ct,ze),this.readDecisions(ct),this.readLexerActions(ct),this.markPrecedenceDecisions(ct),this.verifyATN(ct),this.deserializationOptions.generateRuleBypassTransitions&&ct.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(ct),this.verifyATN(ct)),ct}reset(Le){const ze=Le.split("").map(function(at){const N=at.charCodeAt(0);return N>1?N-2:N+65534});ze[0]=Le.charCodeAt(0),this.data=ze,this.pos=0}checkVersion(){const Le=this.readInt();if(3!==Le)throw"Could not deserialize ATN with version "+Le+" (expected 3)."}checkUUID(){const Le=this.readUUID();if(We.indexOf(Le)<0)throw Mt;this.uuid=Le}readATN(){const Le=this.readInt(),ct=this.readInt();return new c(Le,ct)}readStates(Le){let ct,ze,at;const N=[],oe=[],Y=this.readInt();for(let ue=0;ue0;)N.addTransition(Q.transitions[ue-1]),Q.transitions=Q.transitions.slice(-1);Le.ruleToStartState[ct].addTransition(new Me(N)),oe.addTransition(new Me(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[ct])),N.addTransition(new Me(Te))}stateIsEndStateFor(Le,ct){if(Le.ruleIndex!==ct||!(Le instanceof x))return null;const ze=Le.transitions[Le.transitions.length-1].target;return ze instanceof v&&ze.epsilonOnlyTransitions&&ze.transitions[0].target instanceof p?Le:null}markPrecedenceDecisions(Le){for(let ct=0;ct=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,ct){if(!Le)throw null==ct&&(ct="IllegalState"),ct}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Le=[];for(let ct=7;ct>=0;ct--){const ze=this.readInt();Le[2*ct+1]=255&ze,Le[2*ct]=ze>>8&255}return Tt[Le[0]]+Tt[Le[1]]+Tt[Le[2]]+Tt[Le[3]]+"-"+Tt[Le[4]]+Tt[Le[5]]+"-"+Tt[Le[6]]+Tt[Le[7]]+"-"+Tt[Le[8]]+Tt[Le[9]]+"-"+Tt[Le[10]]+Tt[Le[11]]+Tt[Le[12]]+Tt[Le[13]]+Tt[Le[14]]+Tt[Le[15]]}edgeFactory(Le,ct,ze,at,N,oe,Y,ne){const Q=Le.states[at];switch(ct){case I.EPSILON:return new Me(Q);case I.RANGE:return new A(Q,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,Q);case I.PREDICATE:return new Ae(Q,N,oe,0!==Y);case I.PRECEDENCE:return new he(Q,N);case I.ATOM:return new X(Q,0!==Y?n.EOF:N);case I.ACTION:return new U(Q,N,oe,0!==Y);case I.SET:return new $(Q,ne[N]);case I.NOT_SET:return new ee(Q,ne[N]);case I.WILDCARD:return new Re(Q);default:throw"The specified transition type: "+ct+" is not valid."}}stateFactory(Le,ct){if(null===this.stateFactories){const ze=[];ze[g.INVALID_TYPE]=null,ze[g.BASIC]=()=>new r,ze[g.RULE_START]=()=>new b,ze[g.BLOCK_START]=()=>new E,ze[g.PLUS_BLOCK_START]=()=>new D,ze[g.STAR_BLOCK_START]=()=>new S,ze[g.TOKEN_START]=()=>new _,ze[g.RULE_STOP]=()=>new p,ze[g.BLOCK_END]=()=>new u,ze[g.STAR_LOOP_BACK]=()=>new y,ze[g.STAR_LOOP_ENTRY]=()=>new x,ze[g.PLUS_LOOP_BACK]=()=>new l,ze[g.LOOP_END]=()=>new v,this.stateFactories=ze}if(Le>this.stateFactories.length||null===this.stateFactories[Le])throw"The specified state type "+Le+" is not valid.";{const ze=this.stateFactories[Le]();if(null!==ze)return ze.ruleIndex=ct,ze}}lexerActionFactory(Le,ct,ze){if(null===this.actionFactories){const at=[];at[pe.CHANNEL]=(N,oe)=>new Ee(N),at[pe.CUSTOM]=(N,oe)=>new Be(N,oe),at[pe.MODE]=(N,oe)=>new He(N),at[pe.MORE]=(N,oe)=>G.INSTANCE,at[pe.POP_MODE]=(N,oe)=>ye.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new se(N),at[pe.SKIP]=(N,oe)=>we.INSTANCE,at[pe.TYPE]=(N,oe)=>new re(N),this.actionFactories=at}if(Le>this.actionFactories.length||null===this.actionFactories[Le])throw"The specified lexer action type "+Le+" is not valid.";return this.actionFactories[Le](ct,ze)}}},4675:(Ie,B,a)=>{const{DFAState:n}=a(5468),{ATNConfigSet:c}=a(4280),{getCachedPredictionContext:d}=a(6185),{Map:g}=a(3340);class r{constructor(f,u){return this.atn=f,this.sharedContextCache=u,this}getCachedContext(f){if(null===this.sharedContextCache)return f;const u=new g;return d(f,this.sharedContextCache,u)}}r.ERROR=new n(2147483647,new c),Ie.exports=r},5516:Ie=>{let a=(()=>{class x{constructor(){this.atn=null,this.stateNumber=x.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(S){return S instanceof x&&this.stateNumber===S.stateNumber}isNonGreedyExitState(){return!1}addTransition(S,E){void 0===E&&(E=-1),0===this.transitions.length?this.epsilonOnlyTransitions=S.isEpsilon:this.epsilonOnlyTransitions!==S.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===E?this.transitions.push(S):this.transitions.splice(E,1,S)}}return x.INVALID_TYPE=0,x.BASIC=1,x.RULE_START=2,x.BLOCK_START=3,x.PLUS_BLOCK_START=4,x.STAR_BLOCK_START=5,x.TOKEN_START=6,x.RULE_STOP=7,x.BLOCK_END=8,x.STAR_LOOP_BACK=9,x.STAR_LOOP_ENTRY=10,x.PLUS_LOOP_BACK=11,x.LOOP_END=12,x.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],x.INVALID_STATE_NUMBER=-1,x})();class c extends a{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class d extends c{constructor(){return super(),this.endState=null,this}}Ie.exports={ATNState:a,BasicState:class n extends a{constructor(){super(),this.stateType=a.BASIC}},DecisionState:c,BlockStartState:d,BlockEndState:class r extends a{constructor(){return super(),this.stateType=a.BLOCK_END,this.startState=null,this}},LoopEndState:class l extends a{constructor(){return super(),this.stateType=a.LOOP_END,this.loopBackState=null,this}},RuleStartState:class f extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class h extends a{constructor(){return super(),this.stateType=a.RULE_STOP,this}},TokensStartState:class y extends c{constructor(){return super(),this.stateType=a.TOKEN_START,this}},PlusLoopbackState:class u extends c{constructor(){return super(),this.stateType=a.PLUS_LOOP_BACK,this}},StarLoopbackState:class p extends a{constructor(){return super(),this.stateType=a.STAR_LOOP_BACK,this}},StarLoopEntryState:class _ extends c{constructor(){return super(),this.stateType=a.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class v extends d{constructor(){return super(),this.stateType=a.PLUS_BLOCK_START,this.loopBackState=null,this}},StarBlockStartState:class b extends d{constructor(){return super(),this.stateType=a.STAR_BLOCK_START,this}},BasicBlockStartState:class g extends d{constructor(){return super(),this.stateType=a.BLOCK_START,this}}}},8729:Ie=>{Ie.exports={LEXER:0,PARSER:1}},9462:(Ie,B,a)=>{const{Token:n}=a(6205),c=a(9042),d=a(9800),g=a(4675),{DFAState:r}=a(5468),{OrderedATNConfigSet:h}=a(4280),{PredictionContext:f}=a(6185),{SingletonPredictionContext:u}=a(6185),{RuleStopState:v}=a(5516),{LexerATNConfig:b}=a(7745),{Transition:p}=a(6850),_=a(5168),{LexerNoViableAltException:l}=a(5858);function y(S){S.index=-1,S.line=0,S.column=-1,S.dfaState=null}class x{constructor(){y(this)}reset(){y(this)}}Ie.exports=(()=>{class S extends g{constructor(I,X,$,ee){super(X,ee),this.decisionToDFA=$,this.recog=I,this.startIndex=-1,this.line=1,this.column=0,this.mode=c.DEFAULT_MODE,this.prevAccept=new x}copyState(I){this.column=I.column,this.line=I.line,this.mode=I.mode,this.startIndex=I.startIndex}match(I,X){this.match_calls+=1,this.mode=X;const $=I.mark();try{this.startIndex=I.index,this.prevAccept.reset();const ee=this.decisionToDFA[X];return null===ee.s0?this.matchATN(I):this.execATN(I,ee.s0)}finally{I.release($)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=c.DEFAULT_MODE}matchATN(I){const X=this.atn.modeToStartState[this.mode];S.debug&&console.log("matchATN mode "+this.mode+" start: "+X);const $=this.mode,ee=this.computeStartState(I,X),ie=ee.hasSemanticContext;ee.hasSemanticContext=!1;const A=this.addDFAState(ee);ie||(this.decisionToDFA[this.mode].s0=A);const U=this.execATN(I,A);return S.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[$].toLexerString()),U}execATN(I,X){S.debug&&console.log("start state closure="+X.configs),X.isAcceptState&&this.captureSimState(this.prevAccept,I,X);let $=I.LA(1),ee=X;for(;;){S.debug&&console.log("execATN loop starting closure: "+ee.configs);let ie=this.getExistingTargetState(ee,$);if(null===ie&&(ie=this.computeTargetState(I,ee,$)),ie===g.ERROR||($!==n.EOF&&this.consume(I),ie.isAcceptState&&(this.captureSimState(this.prevAccept,I,ie),$===n.EOF)))break;$=I.LA(1),ee=ie}return this.failOrAccept(this.prevAccept,I,ee.configs,$)}getExistingTargetState(I,X){if(null===I.edges||XS.MAX_DFA_EDGE)return null;let $=I.edges[X-S.MIN_DFA_EDGE];return void 0===$&&($=null),S.debug&&null!==$&&console.log("reuse state "+I.stateNumber+" edge to "+$.stateNumber),$}computeTargetState(I,X,$){const ee=new h;return this.getReachableConfigSet(I,X.configs,ee,$),0===ee.items.length?(ee.hasSemanticContext||this.addDFAEdge(X,$,g.ERROR),g.ERROR):this.addDFAEdge(X,$,null,ee)}failOrAccept(I,X,$,ee){if(null!==this.prevAccept.dfaState)return this.accept(X,I.dfaState.lexerActionExecutor,this.startIndex,I.index,I.line,I.column),I.dfaState.prediction;if(ee===n.EOF&&X.index===this.startIndex)return n.EOF;throw new l(this.recog,X,this.startIndex,$)}getReachableConfigSet(I,X,$,ee){let ie=d.INVALID_ALT_NUMBER;for(let A=0;AS.MAX_DFA_EDGE||(S.debug&&console.log("EDGE "+I+" -> "+$+" upon "+X),null===I.edges&&(I.edges=[]),I.edges[X-S.MIN_DFA_EDGE]=$),$}addDFAState(I){const X=new r(null,I);let $=null;for(let U=0;U{const B={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class a{constructor(p){this.actionType=p,this.isPositionDependent=!1}hashCode(){const p=new Hash;return this.updateHashCode(p),p.finish()}updateHashCode(p){p.update(this.actionType)}equals(p){return this===p}}class n extends a{constructor(){super(B.SKIP)}execute(p){p.skip()}toString(){return"skip"}}n.INSTANCE=new n;class c extends a{constructor(p){super(B.TYPE),this.type=p}execute(p){p.type=this.type}updateHashCode(p){p.update(this.actionType,this.type)}equals(p){return this===p||p instanceof c&&this.type===p.type}toString(){return"type("+this.type+")"}}class d extends a{constructor(p){super(B.PUSH_MODE),this.mode=p}execute(p){p.pushMode(this.mode)}updateHashCode(p){p.update(this.actionType,this.mode)}equals(p){return this===p||p instanceof d&&this.mode===p.mode}toString(){return"pushMode("+this.mode+")"}}class g extends a{constructor(){super(B.POP_MODE)}execute(p){p.popMode()}toString(){return"popMode"}}g.INSTANCE=new g;class r extends a{constructor(){super(B.MORE)}execute(p){p.more()}toString(){return"more"}}r.INSTANCE=new r;class h extends a{constructor(p){super(B.MODE),this.mode=p}execute(p){p.mode(this.mode)}updateHashCode(p){p.update(this.actionType,this.mode)}equals(p){return this===p||p instanceof h&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class f extends a{constructor(p,_){super(B.CUSTOM),this.ruleIndex=p,this.actionIndex=_,this.isPositionDependent=!0}execute(p){p.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(p){p.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(p){return this===p||p instanceof f&&this.ruleIndex===p.ruleIndex&&this.actionIndex===p.actionIndex}}class u extends a{constructor(p){super(B.CHANNEL),this.channel=p}execute(p){p._channel=this.channel}updateHashCode(p){p.update(this.actionType,this.channel)}equals(p){return this===p||p instanceof u&&this.channel===p.channel}toString(){return"channel("+this.channel+")"}}class v extends a{constructor(p,_){super(_.actionType),this.offset=p,this.action=_,this.isPositionDependent=!0}execute(p){this.action.execute(p)}updateHashCode(p){p.update(this.actionType,this.offset,this.action)}equals(p){return this===p||p instanceof v&&this.offset===p.offset&&this.action===p.action}}Ie.exports={LexerActionType:B,LexerSkipAction:n,LexerChannelAction:u,LexerCustomAction:f,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:h}},5168:(Ie,B,a)=>{const{hashStuff:n}=a(3340),{LexerIndexedCustomAction:c}=a(201);class d{constructor(r){return this.lexerActions=null===r?[]:r,this.cachedHashCode=n(r),this}fixOffsetBeforeMatch(r){let h=null;for(let f=0;f{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:h,RuleStopState:f}=a(5516),{ATNConfig:u}=a(7745),{ATNConfigSet:v}=a(4280),{Token:b}=a(6205),{DFAState:p,PredPrediction:_}=a(5468),l=a(4675),y=a(5359),x=a(13),{SemanticContext:S}=(a(7293),a(9454)),{PredictionContext:E}=a(6185),{Interval:I}=a(9173),{Transition:X,SetTransition:$,NotSetTransition:ee,RuleTransition:ie,ActionTransition:A}=a(6850),{NoViableAltException:U}=a(5858),{SingletonPredictionContext:Me,predictionContextFromRuleContext:Re}=a(6185);Ie.exports=class Ae extends l{constructor(H,W,pe,we){super(W,we),this.parser=H,this.decisionToDFA=pe,this.predictionMode=y.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(H,W,pe){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+W+" exec LA(1)=="+this.getLookaheadName(H)+" line "+H.LT(1).line+":"+H.LT(1).column),this._input=H,this._startIndex=H.index,this._outerContext=pe;const we=this.decisionToDFA[W];this._dfa=we;const Ee=H.mark(),Be=H.index;try{let G;if(G=we.precedenceDfa?we.getPrecedenceStartState(this.parser.getPrecedence()):we.s0,null===G){null===pe&&(pe=x.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+we.decision+" exec LA(1)=="+this.getLookaheadName(H)+", outerContext="+pe.toString(this.parser.ruleNames));let ye=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ye,ye=this.applyPrecedenceFilter(ye),G=this.addDFAState(we,new p(null,ye)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ye)),we.s0=G)}const re=this.execATN(we,G,H,Be,pe);return this.debug&&console.log("DFA after predictATN: "+we.toString(this.parser.literalNames,this.parser.symbolicNames)),re}finally{this._dfa=null,this.mergeCache=null,H.seek(Be),H.release(Ee)}}execATN(H,W,pe,we,Ee){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+H.decision+" exec LA(1)=="+this.getLookaheadName(pe)+" line "+pe.LT(1).line+":"+pe.LT(1).column);let Be,G=W;this.debug&&console.log("s0 = "+W);let re=pe.LA(1);for(;;){let se=this.getExistingTargetState(G,re);if(null===se&&(se=this.computeTargetState(H,G,re)),se===l.ERROR){const ye=this.noViableAlt(pe,Ee,G.configs,we);if(pe.seek(we),Be=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(G.configs,Ee),Be!==r.INVALID_ALT_NUMBER)return Be;throw ye}if(se.requiresFullContext&&this.predictionMode!==y.SLL){let ye=null;if(null!==se.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ye=this.evalSemanticContext(se.predicates,Ee,!0),1===ye.length)return this.debug&&console.log("Full LL avoided"),ye.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+se);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ye,se.configs,we,pe.index),Be=this.execATNWithFullContext(H,se,Ze,pe,we,Ee),Be}if(se.isAcceptState){if(null===se.predicates)return se.prediction;const ye=pe.index;pe.seek(we);const He=this.evalSemanticContext(se.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,se.configs,we);return 1===He.length||this.reportAmbiguity(H,se,we,ye,!1,He,se.configs),He.minValue()}G=se,re!==b.EOF&&(pe.consume(),re=pe.LA(1))}}getExistingTargetState(H,W){const pe=H.edges;return null===pe?null:pe[W+1]||null}computeTargetState(H,W,pe){const we=this.computeReachSet(W.configs,pe,!1);if(null===we)return this.addDFAEdge(H,W,pe,l.ERROR),l.ERROR;let Ee=new p(null,we);const Be=this.getUniqueAlt(we);if(this.debug){const G=y.getConflictingAltSubsets(we);console.log("SLL altSubSets="+n.arrayToString(G)+", configs="+we+", predict="+Be+", allSubsetsConflict="+y.allSubsetsConflict(G)+", conflictingAlts="+this.getConflictingAlts(we))}return Be!==r.INVALID_ALT_NUMBER?(Ee.isAcceptState=!0,Ee.configs.uniqueAlt=Be,Ee.prediction=Be):y.hasSLLConflictTerminatingPrediction(this.predictionMode,we)&&(Ee.configs.conflictingAlts=this.getConflictingAlts(we),Ee.requiresFullContext=!0,Ee.isAcceptState=!0,Ee.prediction=Ee.configs.conflictingAlts.minValue()),Ee.isAcceptState&&Ee.configs.hasSemanticContext&&(this.predicateDFAState(Ee,this.atn.getDecisionState(H.decision)),null!==Ee.predicates&&(Ee.prediction=r.INVALID_ALT_NUMBER)),Ee=this.addDFAEdge(H,W,pe,Ee),Ee}predicateDFAState(H,W){const pe=W.transitions.length,we=this.getConflictingAltsOrUniqueAlt(H.configs),Ee=this.getPredsForAmbigAlts(we,H.configs,pe);null!==Ee?(H.predicates=this.getPredicatePredictions(we,Ee),H.prediction=r.INVALID_ALT_NUMBER):H.prediction=we.minValue()}execATNWithFullContext(H,W,pe,we,Ee,Be){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+pe);let se,re=!1,ye=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(se=this.computeReachSet(ye,He,!0),null===se){const We=this.noViableAlt(we,Be,ye,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ye,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw We}const Qe=y.getConflictingAltSubsets(se);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),se.uniqueAlt=this.getUniqueAlt(se),se.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=se.uniqueAlt;break}if(this.predictionMode!==y.LL_EXACT_AMBIG_DETECTION){if(Ze=y.resolvesToJustOneViableAlt(Qe),Ze!==r.INVALID_ALT_NUMBER)break}else if(y.allSubsetsConflict(Qe)&&y.allSubsetsEqual(Qe)){re=!0,Ze=y.getSingleViableAlt(Qe);break}ye=se,He!==b.EOF&&(we.consume(),He=we.LA(1))}return se.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,se,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,se),Ze)}computeReachSet(H,W,pe){this.debug&&console.log("in computeReachSet, starting closure: "+H),null===this.mergeCache&&(this.mergeCache=new g);const we=new v(pe);let Ee=null;for(let G=0;G0&&(Be=this.getAltThatFinishedDecisionEntryRule(Ee),Be!==r.INVALID_ALT_NUMBER)?Be:r.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(H){const W=[];for(let pe=0;pe0||we.state instanceof f&&we.context.hasEmptyPath())&&W.indexOf(we.alt)<0&&W.push(we.alt)}return 0===W.length?r.INVALID_ALT_NUMBER:Math.min.apply(null,W)}splitAccordingToSemanticValidity(H,W){const pe=new v(H.fullCtx),we=new v(H.fullCtx);for(let Ee=0;Ee50))throw"problem";if(H.state instanceof f){if(!H.context.isEmpty()){for(let re=0;re=0&&(Qe+=1)}this.closureCheckingStopState(Ze,W,pe,He,Ee,Qe,G)}}}canDropLoopEntryEdgeInLeftRecursiveRule(H){const W=H.state;if(W.stateType!==h.STAR_LOOP_ENTRY||W.stateType!==h.STAR_LOOP_ENTRY||!W.isPrecedenceDecision||H.context.isEmpty()||H.context.hasEmptyPath())return!1;const pe=H.context.length;for(let G=0;G=0?this.parser.ruleNames[H]:""}getEpsilonTarget(H,W,pe,we,Ee,Be){switch(W.serializationType){case X.RULE:return this.ruleTransition(H,W);case X.PRECEDENCE:return this.precedenceTransition(H,W,pe,we,Ee);case X.PREDICATE:return this.predTransition(H,W,pe,we,Ee);case X.ACTION:return this.actionTransition(H,W);case X.EPSILON:return new u({state:W.target},H);case X.ATOM:case X.RANGE:case X.SET:return Be&&W.matches(b.EOF,0,1)?new u({state:W.target},H):null;default:return null}}actionTransition(H,W){return this.debug&&console.log("ACTION edge "+W.ruleIndex+":"+(-1===W.actionIndex?65535:W.actionIndex)),new u({state:W.target},H)}precedenceTransition(H,W,pe,we,Ee){this.debug&&(console.log("PRED (collectPredicates="+pe+") "+W.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let Be=null;if(pe&&we)if(Ee){const G=this._input.index;this._input.seek(this._startIndex);const re=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(G),re&&(Be=new u({state:W.target},H))}else{const G=S.andContext(H.semanticContext,W.getPredicate());Be=new u({state:W.target,semanticContext:G},H)}else Be=new u({state:W.target},H);return this.debug&&console.log("config from pred transition="+Be),Be}predTransition(H,W,pe,we,Ee){this.debug&&(console.log("PRED (collectPredicates="+pe+") "+W.ruleIndex+":"+W.predIndex+", ctx dependent="+W.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let Be=null;if(pe&&(W.isCtxDependent&&we||!W.isCtxDependent))if(Ee){const G=this._input.index;this._input.seek(this._startIndex);const re=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(G),re&&(Be=new u({state:W.target},H))}else{const G=S.andContext(H.semanticContext,W.getPredicate());Be=new u({state:W.target,semanticContext:G},H)}else Be=new u({state:W.target},H);return this.debug&&console.log("config from pred transition="+Be),Be}ruleTransition(H,W){this.debug&&console.log("CALL rule "+this.getRuleName(W.target.ruleIndex)+", ctx="+H.context);const we=Me.create(H.context,W.followState.stateNumber);return new u({state:W.target,context:we},H)}getConflictingAlts(H){const W=y.getConflictingAltSubsets(H);return y.getAlts(W)}getConflictingAltsOrUniqueAlt(H){let W=null;return H.uniqueAlt!==r.INVALID_ALT_NUMBER?(W=new d,W.add(H.uniqueAlt)):W=H.conflictingAlts,W}getTokenName(H){if(H===b.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(H>=this.parser.literalNames.length&&H>=this.parser.symbolicNames.length))return(this.parser.literalNames[H]||this.parser.symbolicNames[H])+"<"+H+">";console.log(H+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+H}getLookaheadName(H){return this.getTokenName(H.LA(1))}dumpDeadEndConfigs(H){console.log("dead end configs: ");const W=H.getDeadEndConfigs();for(let pe=0;pe0){const Be=we.state.transitions[0];Be instanceof AtomTransition?Ee="Atom "+this.getTokenName(Be.label):Be instanceof $&&(Ee=(Be instanceof ee?"~":"")+"Set "+Be.set)}console.error(we.toString(this.parser,!0)+":"+Ee)}}noViableAlt(H,W,pe,we){return new U(this.parser,H,H.get(we),H.LT(1),pe,W)}getUniqueAlt(H){let W=r.INVALID_ALT_NUMBER;for(let pe=0;pe "+we+" upon "+this.getTokenName(pe)),null===we?null:(we=this.addDFAState(H,we),null===W||pe<-1||pe>this.atn.maxTokenType||(null===W.edges&&(W.edges=[]),W.edges[pe+1]=we,this.debug&&console.log("DFA=\n"+H.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),we)}addDFAState(H,W){if(W===l.ERROR)return W;const pe=H.states.get(W);return null!==pe?pe:(W.stateNumber=H.states.length,W.configs.readOnly||(W.configs.optimizeConfigs(this),W.configs.setReadonly(!0)),H.states.add(W),this.debug&&console.log("adding new DFA state: "+W),W)}reportAttemptingFullContext(H,W,pe,we,Ee){if(this.debug||this.retry_debug){const Be=new I(we,Ee+1);console.log("reportAttemptingFullContext decision="+H.decision+":"+pe+", input="+this.parser.getTokenStream().getText(Be))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,H,we,Ee,W,pe)}reportContextSensitivity(H,W,pe,we,Ee){if(this.debug||this.retry_debug){const Be=new I(we,Ee+1);console.log("reportContextSensitivity decision="+H.decision+":"+pe+", input="+this.parser.getTokenStream().getText(Be))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,H,we,Ee,W,pe)}reportAmbiguity(H,W,pe,we,Ee,Be,G){if(this.debug||this.retry_debug){const re=new I(pe,we+1);console.log("reportAmbiguity "+Be+":"+G+", input="+this.parser.getTokenStream().getText(re))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,H,pe,we,Ee,Be,G)}}},5359:(Ie,B,a)=>{const{Map:n,BitSet:c,AltDict:d,hashStuff:g}=a(3340),r=a(9800),{RuleStopState:h}=a(5516),{ATNConfigSet:f}=a(4280),{ATNConfig:u}=a(7745),{SemanticContext:v}=a(9454),b={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(p,_){if(b.allConfigsInRuleStopStates(_))return!0;if(p===b.SLL&&_.hasSemanticContext){const y=new f;for(let x=0;x<_.items.length;x++){let D=_.items[x];D=new u({semanticContext:v.NONE},D),y.add(D)}_=y}const l=b.getConflictingAltSubsets(_);return b.hasConflictingAltSet(l)&&!b.hasStateAssociatedWithOneAlt(_)},hasConfigInRuleStopState:function(p){for(let _=0;_1)return!0;return!1},allSubsetsEqual:function(p){let _=null;for(let l=0;l{const{Set:n,Hash:c,equalArrays:d}=a(3340);class g{hashCode(){const b=new c;return this.updateHashCode(b),b.finish()}evaluate(b,p){}evalPrecedence(b,p){return this}static andContext(b,p){if(null===b||b===g.NONE)return p;if(null===p||p===g.NONE)return b;const _=new f(b,p);return 1===_.opnds.length?_.opnds[0]:_}static orContext(b,p){if(null===b)return p;if(null===p)return b;if(b===g.NONE||p===g.NONE)return g.NONE;const _=new u(b,p);return 1===_.opnds.length?_.opnds[0]:_}}class r extends g{constructor(b,p,_){super(),this.ruleIndex=void 0===b?-1:b,this.predIndex=void 0===p?-1:p,this.isCtxDependent=void 0!==_&&_}evaluate(b,p){return b.sempred(this.isCtxDependent?p:null,this.ruleIndex,this.predIndex)}updateHashCode(b){b.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(b){return this===b||b instanceof r&&this.ruleIndex===b.ruleIndex&&this.predIndex===b.predIndex&&this.isCtxDependent===b.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}g.NONE=new r;class h extends g{constructor(b){super(),this.precedence=void 0===b?0:b}evaluate(b,p){return b.precpred(p,this.precedence)}evalPrecedence(b,p){return b.precpred(p,this.precedence)?g.NONE:null}compareTo(b){return this.precedence-b.precedence}updateHashCode(b){b.update(this.precedence)}equals(b){return this===b||b instanceof h&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof h&&p.push(_)}),p}}class f extends g{constructor(b,p){super();const _=new n;b instanceof f?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof f?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=h.filterPrecedencePredicates(_);if(l.length>0){let y=null;l.map(function(x){(null===y||x.precedencep.toString());return(b.length>3?b.slice(3):b).join("&&")}}class u extends g{constructor(b,p){super();const _=new n;b instanceof u?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof u?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=h.filterPrecedencePredicates(_);if(l.length>0){const y=l.sort(function(D,S){return D.compareTo(S)});_.add(y[y.length-1])}this.opnds=Array.from(_.values())}equals(b){return this===b||b instanceof u&&d(this.opnds,b.opnds)}updateHashCode(b){b.update(this.opnds,"OR")}evaluate(b,p){for(let _=0;_p.toString());return(b.length>3?b.slice(3):b).join("||")}}Ie.exports={SemanticContext:g,PrecedencePredicate:h,Predicate:r}},6850:(Ie,B,a)=>{const{Token:n}=a(6205),{IntervalSet:c}=a(9173),{Predicate:d,PrecedencePredicate:g}=a(9454);class r{constructor(E){if(null==E)throw"target cannot be null.";this.target=E,this.isEpsilon=!1,this.label=null}}r.EPSILON=1,r.RANGE=2,r.RULE=3,r.PREDICATE=4,r.ATOM=5,r.ACTION=6,r.SET=7,r.NOT_SET=8,r.WILDCARD=9,r.PRECEDENCE=10,r.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],r.serializationTypes={EpsilonTransition:r.EPSILON,RangeTransition:r.RANGE,RuleTransition:r.RULE,PredicateTransition:r.PREDICATE,AtomTransition:r.ATOM,ActionTransition:r.ACTION,SetTransition:r.SET,NotSetTransition:r.NOT_SET,WildcardTransition:r.WILDCARD,PrecedencePredicateTransition:r.PRECEDENCE};class b extends r{constructor(E){super(E)}}class l extends r{constructor(E,I){super(E),this.serializationType=r.SET,null!=I?this.label=I:(this.label=new c,this.label.addOne(n.INVALID_TYPE))}matches(E,I,X){return this.label.contains(E)}toString(){return this.label.toString()}}Ie.exports={Transition:r,AtomTransition:class h extends r{constructor(E,I){super(E),this.label_=I,this.label=this.makeLabel(),this.serializationType=r.ATOM}makeLabel(){const E=new c;return E.addOne(this.label_),E}matches(E,I,X){return this.label_===E}toString(){return this.label_}},SetTransition:l,NotSetTransition:class y extends l{constructor(E,I){super(E,I),this.serializationType=r.NOT_SET}matches(E,I,X){return E>=I&&E<=X&&!super.matches(E,I,X)}toString(){return"~"+super.toString()}},RuleTransition:class f extends r{constructor(E,I,X,$){super(E),this.ruleIndex=I,this.precedence=X,this.followState=$,this.serializationType=r.RULE,this.isEpsilon=!0}matches(E,I,X){return!1}},ActionTransition:class _ extends r{constructor(E,I,X,$){super(E),this.serializationType=r.ACTION,this.ruleIndex=I,this.actionIndex=void 0===X?-1:X,this.isCtxDependent=void 0!==$&&$,this.isEpsilon=!0}matches(E,I,X){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class u extends r{constructor(E,I){super(E),this.serializationType=r.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=I}matches(E,I,X){return!1}toString(){return"epsilon"}},RangeTransition:class v extends r{constructor(E,I,X){super(E),this.serializationType=r.RANGE,this.start=I,this.stop=X,this.label=this.makeLabel()}makeLabel(){const E=new c;return E.addRange(this.start,this.stop),E}matches(E,I,X){return E>=this.start&&E<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class x extends r{constructor(E){super(E),this.serializationType=r.WILDCARD}matches(E,I,X){return E>=I&&E<=X}toString(){return"."}},PredicateTransition:class p extends b{constructor(E,I,X,$){super(E),this.serializationType=r.PREDICATE,this.ruleIndex=I,this.predIndex=X,this.isCtxDependent=$,this.isEpsilon=!0}matches(E,I,X){return!1}getPredicate(){return new d(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class D extends b{constructor(E,I){super(E),this.serializationType=r.PRECEDENCE,this.precedence=I,this.isEpsilon=!0}matches(E,I,X){return!1}getPredicate(){return new g(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:b}},871:(Ie,B,a)=>{B.ATN=a(9800),B.ATNDeserializer=a(7499),B.LexerATNSimulator=a(9462),B.ParserATNSimulator=a(6877),B.PredictionMode=a(5359)},5343:(Ie,B,a)=>{const{Set:n}=a(3340),{DFAState:c}=a(5468),{StarLoopEntryState:d}=a(5516),{ATNConfigSet:g}=a(4280),{DFASerializer:r}=a(7279),{LexerDFASerializer:h}=a(7279);Ie.exports=class f{constructor(v,b){if(void 0===b&&(b=0),this.atnStartState=v,this.decision=b,this._states=new n,this.s0=null,this.precedenceDfa=!1,v instanceof d&&v.isPrecedenceDecision){this.precedenceDfa=!0;const p=new c(null,new g);p.edges=[],p.isAcceptState=!1,p.requiresFullContext=!1,this.s0=p}}getPrecedenceStartState(v){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return v<0||v>=this.s0.edges.length?null:this.s0.edges[v]||null}setPrecedenceStartState(v,b){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";v<0||(this.s0.edges[v]=b)}setPrecedenceDfa(v){if(this.precedenceDfa!==v){if(this._states=new n,v){const b=new c(null,new g);b.edges=[],b.isAcceptState=!1,b.requiresFullContext=!1,this.s0=b}else this.s0=null;this.precedenceDfa=v}}sortedStates(){return this._states.values().sort(function(b,p){return b.stateNumber-p.stateNumber})}toString(v,b){return v=v||null,b=b||null,null===this.s0?"":new r(this,v,b).toString()}toLexerString(){return null===this.s0?"":new h(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,h,f){this.dfa=r,this.literalNames=h||[],this.symbolicNames=f||[]}toString(){if(null===this.dfa.s0)return null;let r="";const h=this.dfa.sortedStates();for(let f=0;f"),r=r.concat(this.getStateString(p)),r=r.concat("\n"))}}}return 0===r.length?null:r}getEdgeLabel(r){return 0===r?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[r-1]||this.symbolicNames[r-1]:String.fromCharCode(r-1)}getStateString(r){const h=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?h+"=>"+n.arrayToString(r.predicates):h+"=>"+r.prediction.toString():h}}Ie.exports={DFASerializer:c,LexerDFASerializer:class d extends c{constructor(r){super(r,null)}getEdgeLabel(r){return"'"+String.fromCharCode(r)+"'"}}}},5468:(Ie,B,a)=>{const{ATNConfigSet:n}=a(4280),{Hash:c,Set:d}=a(3340);class r{constructor(f,u){return null===f&&(f=-1),null===u&&(u=new n),this.stateNumber=f,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const f=new d;if(null!==this.configs)for(let u=0;u{B.DFA=a(5343),B.DFASerializer=a(7279).DFASerializer,B.LexerDFASerializer=a(7279).LexerDFASerializer,B.PredPrediction=a(5468).PredPrediction},9935:(Ie,B,a)=>{const{BitSet:n}=a(3340),{ErrorListener:c}=a(7967),{Interval:d}=a(9173);Ie.exports=class g extends c{constructor(h){super(),this.exactOnly=h=h||!0}reportAmbiguity(h,f,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(h,f)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+h.getTokenStream().getText(new d(u,v))+"'";h.notifyErrorListeners(l)}reportAttemptingFullContext(h,f,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(h,f)+", input='"+h.getTokenStream().getText(new d(u,v))+"'";h.notifyErrorListeners(_)}reportContextSensitivity(h,f,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(h,f)+", input='"+h.getTokenStream().getText(new d(u,v))+"'";h.notifyErrorListeners(_)}getDecisionDescription(h,f){const u=f.decision,v=f.atnStartState.ruleIndex,b=h.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(h,f){if(null!==h)return h;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,h,f,u){}reportAmbiguity(d,g,r,h,f,u,v){}reportAttemptingFullContext(d,g,r,h,f,u){}reportContextSensitivity(d,g,r,h,f,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,h,f,u){console.error("line "+r+":"+h+" "+f)}}a.INSTANCE=new a,Ie.exports={ErrorListener:B,ConsoleErrorListener:a,ProxyErrorListener:class n extends B{constructor(d){if(super(),null===d)throw"delegates";return this.delegates=d,this}syntaxError(d,g,r,h,f,u){this.delegates.map(v=>v.syntaxError(d,g,r,h,f,u))}reportAmbiguity(d,g,r,h,f,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,h,f,u,v))}reportAttemptingFullContext(d,g,r,h,f,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,h,f,u))}reportContextSensitivity(d,g,r,h,f,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,h,f,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:h}=a(5516),{Interval:f,IntervalSet:u}=a(9173);class v{reset(l){}recoverInline(l){}recover(l,y){}sync(l){}inErrorRecoveryMode(l){}reportError(l){}}class b extends v{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(l){this.endErrorCondition(l)}beginErrorCondition(l){this.errorRecoveryMode=!0}inErrorRecoveryMode(l){return this.errorRecoveryMode}endErrorCondition(l){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(l){this.endErrorCondition(l)}reportError(l,y){this.inErrorRecoveryMode(l)||(this.beginErrorCondition(l),y instanceof c?this.reportNoViableAlternative(l,y):y instanceof d?this.reportInputMismatch(l,y):y instanceof g?this.reportFailedPredicate(l,y):(console.log("unknown recognition error type: "+y.constructor.name),console.log(y.stack),l.notifyErrorListeners(y.getOffendingToken(),y.getMessage(),y)))}recover(l,y){this.lastErrorIndex===l.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(l.state)>=0&&l.consume(),this.lastErrorIndex=l._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(l.state);const x=this.getErrorRecoverySet(l);this.consumeUntil(l,x)}sync(l){if(this.inErrorRecoveryMode(l))return;const y=l._interp.atn.states[l.state],x=l.getTokenStream().LA(1),D=l.atn.nextTokens(y);if(D.contains(x))return this.nextTokensContext=null,void(this.nextTokenState=h.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case h.BLOCK_START:case h.STAR_BLOCK_START:case h.PLUS_BLOCK_START:case h.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case h.PLUS_LOOP_BACK:case h.STAR_LOOP_BACK:this.reportUnwantedToken(l);const S=new u;S.addSet(l.getExpectedTokens());const E=S.addSet(this.getErrorRecoverySet(l));this.consumeUntil(l,E)}}reportNoViableAlternative(l,y){const x=l.getTokenStream();let D;D=null!==x?y.startToken.type===n.EOF?"":x.getText(new f(y.startToken.tokenIndex,y.offendingToken.tokenIndex)):"";const S="no viable alternative at input "+this.escapeWSAndQuote(D);l.notifyErrorListeners(S,y.offendingToken,y)}reportInputMismatch(l,y){const x="mismatched input "+this.getTokenErrorDisplay(y.offendingToken)+" expecting "+y.getExpectedTokens().toString(l.literalNames,l.symbolicNames);l.notifyErrorListeners(x,y.offendingToken,y)}reportFailedPredicate(l,y){l.notifyErrorListeners("rule "+l.ruleNames[l._ctx.ruleIndex]+" "+y.message,y.offendingToken,y)}reportUnwantedToken(l){if(this.inErrorRecoveryMode(l))return;this.beginErrorCondition(l);const y=l.getCurrentToken(),S="extraneous input "+this.getTokenErrorDisplay(y)+" expecting "+this.getExpectedTokens(l).toString(l.literalNames,l.symbolicNames);l.notifyErrorListeners(S,y,null)}reportMissingToken(l){if(this.inErrorRecoveryMode(l))return;this.beginErrorCondition(l);const y=l.getCurrentToken(),D="missing "+this.getExpectedTokens(l).toString(l.literalNames,l.symbolicNames)+" at "+this.getTokenErrorDisplay(y);l.notifyErrorListeners(D,y,null)}recoverInline(l){const y=this.singleTokenDeletion(l);if(null!==y)return l.consume(),y;if(this.singleTokenInsertion(l))return this.getMissingSymbol(l);throw new d(l)}singleTokenInsertion(l){const y=l.getTokenStream().LA(1),x=l._interp.atn;return!!x.nextTokens(x.states[l.state].transitions[0].target,l._ctx).contains(y)&&(this.reportMissingToken(l),!0)}singleTokenDeletion(l){const y=l.getTokenStream().LA(2);if(this.getExpectedTokens(l).contains(y)){this.reportUnwantedToken(l),l.consume();const D=l.getCurrentToken();return this.reportMatch(l),D}return null}getMissingSymbol(l){const y=l.getCurrentToken(),D=this.getExpectedTokens(l).first();let S;S=D===n.EOF?"":"";let E=y;const I=l.getTokenStream().LT(-1);return E.type===n.EOF&&null!==I&&(E=I),l.getTokenFactory().create(E.source,D,S,n.DEFAULT_CHANNEL,-1,-1,E.line,E.column)}getExpectedTokens(l){return l.getExpectedTokens()}getTokenErrorDisplay(l){if(null===l)return"";let y=l.text;return null===y&&(y=l.type===n.EOF?"":"<"+l.type+">"),this.escapeWSAndQuote(y)}escapeWSAndQuote(l){return"'"+(l=(l=(l=l.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}getErrorRecoverySet(l){const y=l._interp.atn;let x=l._ctx;const D=new u;for(;null!==x&&x.invokingState>=0;){const I=y.nextTokens(y.states[x.invokingState].transitions[0].followState);D.addSet(I),x=x.parentCtx}return D.removeOne(n.EPSILON),D}consumeUntil(l,y){let x=l.getTokenStream().LA(1);for(;x!==n.EOF&&!y.contains(x);)l.consume(),x=l.getTokenStream().LA(1)}}Ie.exports={BailErrorStrategy:class p extends b{constructor(){super()}recover(l,y){let x=l._ctx;for(;null!==x;)x.exception=y,x=x.parentCtx;throw new r(y)}recoverInline(l){this.recover(l,new d(l))}sync(l){}},DefaultErrorStrategy:b}},5858:(Ie,B,a)=>{const{PredicateTransition:n}=a(6850),{Interval:c}=a(9173).Interval;class d extends Error{constructor(p){super(p.message),Error.captureStackTrace?Error.captureStackTrace(this,d):new Error,this.message=p.message,this.recognizer=p.recognizer,this.input=p.input,this.ctx=p.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}function f(b,p){return null!==p?p:"failed predicate: {"+b+"}?"}class v extends Error{constructor(){super(),Error.captureStackTrace(this,v)}}Ie.exports={RecognitionException:d,NoViableAltException:class r extends d{constructor(p,_,l,y,x,D){D=D||p._ctx,y=y||p.getCurrentToken(),l=l||p.getCurrentToken(),_=_||p.getInputStream(),super({message:"",recognizer:p,input:_,ctx:D}),this.deadEndConfigs=x,this.startToken=l,this.offendingToken=y}},LexerNoViableAltException:class g extends d{constructor(p,_,l,y){super({message:"",recognizer:p,input:_,ctx:null}),this.startIndex=l,this.deadEndConfigs=y}toString(){let p="";return this.startIndex>=0&&this.startIndex{Ie.exports.RecognitionException=a(5858).RecognitionException,Ie.exports.NoViableAltException=a(5858).NoViableAltException,Ie.exports.LexerNoViableAltException=a(5858).LexerNoViableAltException,Ie.exports.InputMismatchException=a(5858).InputMismatchException,Ie.exports.FailedPredicateException=a(5858).FailedPredicateException,Ie.exports.DiagnosticErrorListener=a(9935),Ie.exports.BailErrorStrategy=a(2487).BailErrorStrategy,Ie.exports.DefaultErrorStrategy=a(2487).DefaultErrorStrategy,Ie.exports.ErrorListener=a(7967).ErrorListener},6419:()=>{String.prototype.codePointAt||function(){"use strict";var Ie=function(){let a;try{const n={},c=Object.defineProperty;a=c(n,n,n)&&c}catch{}return a}();const B=function(a){if(null==this)throw TypeError();const n=String(this),c=n.length;let d=a?Number(a):0;if(d!=d&&(d=0),d<0||d>=c)return;const g=n.charCodeAt(d);let r;return g>=55296&&g<=56319&&c>d+1&&(r=n.charCodeAt(d+1),r>=56320&&r<=57343)?1024*(g-55296)+r-56320+65536:g};Ie?Ie(String.prototype,"codePointAt",{value:B,configurable:!0,writable:!0}):String.prototype.codePointAt=B}()},9182:()=>{String.fromCodePoint||function(){const Ie=function(){let c;try{const d={},g=Object.defineProperty;c=g(d,d,d)&&g}catch{}return c}(),B=String.fromCharCode,a=Math.floor,n=function(c){const g=[];let r,h,f=-1;const u=arguments.length;if(!u)return"";let v="";for(;++f1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),h=b%1024+56320,g.push(r,h)),(f+1===u||g.length>16384)&&(v+=B.apply(null,g),g.length=0)}return v};Ie?Ie(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()},5829:(Ie,B,a)=>{const{Token:n}=a(6205),{Interval:c}=a(9173),d=new c(-1,-2);class g{}class r extends g{constructor(){super()}}class h extends r{constructor(){super()}}class u extends h{constructor(){super()}}class v extends u{constructor(){super()}}class _ extends u{constructor(D){super(),this.parentCtx=null,this.symbol=D}getChild(D){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(null===this.symbol)return d;const D=this.symbol.tokenIndex;return new c(D,D)}getChildCount(){return 0}accept(D){return D.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===n.EOF?"":this.symbol.text}}class y{walk(D,S){if(S instanceof v||void 0!==S.isErrorNode&&S.isErrorNode())D.visitErrorNode(S);else if(S instanceof u)D.visitTerminal(S);else{this.enterRule(D,S);for(let I=0;I{const n=a(3340),{Token:c}=a(6205),{ErrorNode:d,TerminalNode:g,RuleNode:r}=a(5829),h={toStringTree:function(f,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=h.getNodeText(f,u);b=n.escapeWhitespace(b,!1);const p=f.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=h.toStringTree(f.getChild(0),u),_=_.concat(b));for(let l=1;l{const n=a(5829),c=a(5140);Ie.exports={...n,Trees:c}},9807:function(){var Ie;Ie=typeof self<"u"?self:this,function(a){var n_searchParams="URLSearchParams"in Ie,n_iterable="Symbol"in Ie&&"iterator"in Symbol,n_blob="FileReader"in Ie&&"Blob"in Ie&&function(){try{return new Blob,!0}catch{return!1}}(),n_formData="FormData"in Ie,n_arrayBuffer="ArrayBuffer"in Ie;if(n_arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=ArrayBuffer.isView||function(A){return A&&d.indexOf(Object.prototype.toString.call(A))>-1};function r(A){if("string"!=typeof A&&(A=String(A)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(A))throw new TypeError("Invalid character in header field name");return A.toLowerCase()}function h(A){return"string"!=typeof A&&(A=String(A)),A}function f(A){var U={next:function(){var Me=A.shift();return{done:void 0===Me,value:Me}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Me){this.append(Me,U)},this):Array.isArray(A)?A.forEach(function(U){this.append(U[0],U[1])},this):A&&Object.getOwnPropertyNames(A).forEach(function(U){this.append(U,A[U])},this)}function v(A){if(A.bodyUsed)return Promise.reject(new TypeError("Already read"));A.bodyUsed=!0}function b(A){return new Promise(function(U,Me){A.onload=function(){U(A.result)},A.onerror=function(){Me(A.error)}})}function p(A){var U=new FileReader,Me=b(U);return U.readAsArrayBuffer(A),Me}function y(A){if(A.slice)return A.slice(0);var U=new Uint8Array(A.byteLength);return U.set(new Uint8Array(A)),U.buffer}function x(){return this.bodyUsed=!1,this._initBody=function(A){this._bodyInit=A,A?"string"==typeof A?this._bodyText=A:n_blob&&Blob.prototype.isPrototypeOf(A)?this._bodyBlob=A:n_formData&&FormData.prototype.isPrototypeOf(A)?this._bodyFormData=A:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(A)?this._bodyText=A.toString():n_arrayBuffer&&n_blob&&function c(A){return A&&DataView.prototype.isPrototypeOf(A)}(A)?(this._bodyArrayBuffer=y(A.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(A)||g(A))?this._bodyArrayBuffer=y(A):this._bodyText=A=Object.prototype.toString.call(A):this._bodyText="",this.headers.get("content-type")||("string"==typeof A?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n_searchParams&&URLSearchParams.prototype.isPrototypeOf(A)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var A=v(this);if(A)return A;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var A=v(this);if(A)return A;if(this._bodyBlob)return function _(A){var U=new FileReader,Me=b(U);return U.readAsText(A),Me}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Me=new Array(U.length),Re=0;Re-1?U:A}(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&Me)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Me)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Me){if(Me){var Re=Me.split("="),Ae=Re.shift().replace(/\+/g," "),he=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(he))}}),U}function X(A){var U=new u;return A.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(Re){var Ae=Re.split(":"),he=Ae.shift().trim();if(he){var H=Ae.join(":").trim();U.append(he,H)}}),U}function $(A,U){U||(U={}),this.type="default",this.status=void 0===U.status?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new u(U.headers),this.url=U.url||"",this._initBody(A)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},x.call(E.prototype),x.call($.prototype),$.prototype.clone=function(){return new $(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},$.error=function(){var A=new $(null,{status:0,statusText:""});return A.type="error",A};var ee=[301,302,303,307,308];$.redirect=function(A,U){if(-1===ee.indexOf(U))throw new RangeError("Invalid status code");return new $(null,{status:U,headers:{location:A}})},a.DOMException=Ie.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,Me){this.message=U,this.name=Me;var Re=Error(U);this.stack=Re.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function ie(A,U){return new Promise(function(Me,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var he=new XMLHttpRequest;function H(){he.abort()}he.onload=function(){var W={status:he.status,statusText:he.statusText,headers:X(he.getAllResponseHeaders()||"")};W.url="responseURL"in he?he.responseURL:W.headers.get("X-Request-URL"),Me(new $("response"in he?he.response:he.responseText,W))},he.onerror=function(){Re(new TypeError("Network request failed"))},he.ontimeout=function(){Re(new TypeError("Network request failed"))},he.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},he.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?he.withCredentials=!0:"omit"===Ae.credentials&&(he.withCredentials=!1),"responseType"in he&&n_blob&&(he.responseType="blob"),Ae.headers.forEach(function(W,pe){he.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),he.onreadystatechange=function(){4===he.readyState&&Ae.signal.removeEventListener("abort",H)}),he.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}ie.polyfill=!0,Ie.fetch||(Ie.fetch=ie,Ie.Headers=u,Ie.Request=E,Ie.Response=$),a.Headers=u,a.Request=E,a.Response=$,a.fetch=ie,Object.defineProperty(a,"__esModule",{value:!0})}({})},7098:Ie=>{Ie.exports=function(n){var c=new Date(n.getTime()),d=c.getTimezoneOffset();return c.setSeconds(0,0),6e4*d+c.getTime()%6e4}},2860:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d),h=Number(g);return r.setDate(r.getDate()+h),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var h=Number(r);return n(g,36e5*h)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),h=Number(g);return new Date(r+h)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var h=Number(r);return n(g,6e4*h)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var h=n(g),f=Number(r),u=h.getMonth()+f,v=new Date(0);v.setFullYear(h.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return h.setMonth(u,Math.min(b,h.getDate())),h}},3857:(Ie,B,a)=>{var n=a(3895);Ie.exports=function c(d,g){var r=Number(g);return n(d,1e3*r)}},338:(Ie,B,a)=>{var n=a(2860);Ie.exports=function c(d,g){var r=Number(g);return n(d,7*r)}},3763:(Ie,B,a)=>{var n=a(1277);Ie.exports=function c(d,g){var r=Number(g);return n(d,12*r)}},7255:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d){var g=n(d),r=g.getFullYear(),h=g.getMonth(),f=new Date(0);return f.setFullYear(r,h+1,0),f.setHours(0,0,0,0),f.getDate()}},4853:Ie=>{Ie.exports=function B(a){return a instanceof Date}},1420:(Ie,B,a)=>{var n=a(7098),c=a(4853),d=36e5,g=6e4,h=/[T ]/,f=/:/,u=/^(\d{2})$/,v=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],b=/^(\d{4})/,p=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],_=/^-(\d{2})$/,l=/^-?(\d{3})$/,y=/^-?(\d{2})-?(\d{2})$/,x=/^-?W(\d{2})$/,D=/^-?W(\d{2})-?(\d{1})$/,S=/^(\d{2}([.,]\d*)?)$/,E=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,I=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,X=/([Z+-].*)$/,$=/^(Z)$/,ee=/^([+-])(\d{2})$/,ie=/^([+-])(\d{2}):?(\d{2})$/;function H(W,pe,we){pe=pe||0,we=we||0;var Ee=new Date(0);Ee.setUTCFullYear(W,0,4);var G=7*pe+we+1-(Ee.getUTCDay()||7);return Ee.setUTCDate(Ee.getUTCDate()+G),Ee}Ie.exports=function A(W,pe){if(c(W))return new Date(W.getTime());if("string"!=typeof W)return new Date(W);var Ee=(pe||{}).additionalDigits;Ee=null==Ee?2:Number(Ee);var Be=function U(W){var Ee,pe={},we=W.split(h);if(f.test(we[0])?(pe.date=null,Ee=we[0]):(pe.date=we[0],Ee=we[1]),Ee){var Be=X.exec(Ee);Be?(pe.time=Ee.replace(Be[1],""),pe.timezone=Be[1]):pe.time=Ee}return pe}(W),G=function Me(W,pe){var Be,we=v[pe],Ee=p[pe];if(Be=b.exec(W)||Ee.exec(W)){var G=Be[1];return{year:parseInt(G,10),restDateString:W.slice(G.length)}}if(Be=u.exec(W)||we.exec(W)){var re=Be[1];return{year:100*parseInt(re,10),restDateString:W.slice(re.length)}}return{year:null}}(Be.date,Ee),ye=function Re(W,pe){if(null===pe)return null;var we,Ee,Be;if(0===W.length)return(Ee=new Date(0)).setUTCFullYear(pe),Ee;if(we=_.exec(W))return Ee=new Date(0),Be=parseInt(we[1],10)-1,Ee.setUTCFullYear(pe,Be),Ee;if(we=l.exec(W)){Ee=new Date(0);var re=parseInt(we[1],10);return Ee.setUTCFullYear(pe,0,re),Ee}if(we=y.exec(W)){Ee=new Date(0),Be=parseInt(we[1],10)-1;var se=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,se),Ee}return(we=x.exec(W))?H(pe,parseInt(we[1],10)-1):(we=D.exec(W))?H(pe,parseInt(we[1],10)-1,parseInt(we[2],10)-1):null}(G.restDateString,G.year);if(ye){var Qe,He=ye.getTime(),Ze=0;if(Be.time&&(Ze=function Ae(W){var pe,we,Ee;if(pe=S.exec(W))return(we=parseFloat(pe[1].replace(",",".")))%24*d;if(pe=E.exec(W))return we=parseInt(pe[1],10),Ee=parseFloat(pe[2].replace(",",".")),we%24*d+Ee*g;if(pe=I.exec(W)){we=parseInt(pe[1],10),Ee=parseInt(pe[2],10);var Be=parseFloat(pe[3].replace(",","."));return we%24*d+Ee*g+1e3*Be}return null}(Be.time)),Be.timezone)Qe=function he(W){var pe,we;return(pe=$.exec(W))?0:(pe=ee.exec(W))?(we=60*parseInt(pe[2],10),"+"===pe[1]?-we:we):(pe=ie.exec(W))?(we=60*parseInt(pe[2],10)+parseInt(pe[3],10),"+"===pe[1]?-we:we):0}(Be.timezone)*g;else{var We=He+Ze,tt=new Date(We);Qe=n(tt);var Mt=new Date(We);Mt.setDate(tt.getDate()+1);var Ft=n(Mt)-n(tt);Ft>0&&(Qe+=Ft)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;f.splice(1,0,u,"color: inherit");let v=0,b=0;f[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),f.splice(b,0,u)},B.save=function d(f){try{f?B.storage.setItem("debug",f):B.storage.removeItem("debug")}catch{}},B.load=function g(){let f;try{f=B.storage.getItem("debug")}catch{}return!f&&typeof process<"u"&&"env"in process&&(f=process.env.DEBUG),f},B.useColors=function n(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},B.storage=function r(){try{return localStorage}catch{}}(),B.destroy=(()=>{let f=!1;return()=>{f||(f=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),B.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],B.log=console.debug||console.log||(()=>{}),Ie.exports=a(6018)(B);const{formatters:h}=Ie.exports;h.j=function(f){try{return JSON.stringify(f)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}},6018:(Ie,B,a)=>{Ie.exports=function n(c){function g(_){let l,x,D,y=null;function S(...E){if(!S.enabled)return;const I=S,X=Number(new Date);I.diff=X-(l||X),I.prev=l,I.curr=X,l=X,E[0]=g.coerce(E[0]),"string"!=typeof E[0]&&E.unshift("%O");let ee=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(A,U)=>{if("%%"===A)return"%";ee++;const Me=g.formatters[U];return"function"==typeof Me&&(A=Me.call(I,E[ee]),E.splice(ee,1),ee--),A}),g.formatArgs.call(I,E),(I.log||g.log).apply(I,E)}return S.namespace=_,S.useColors=g.useColors(),S.color=g.selectColor(_),S.extend=r,S.destroy=g.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==y?y:(x!==g.namespaces&&(x=g.namespaces,D=g.enabled(_)),D),set:E=>{y=E}}),"function"==typeof g.init&&g.init(S),S}function r(_,l){const y=g(this.namespace+(typeof l>"u"?":":l)+_);return y.log=this.log,y}function v(_){return _.toString().substring(2,_.toString().length-2).replace(/\.\*\?$/,"*")}return g.debug=g,g.default=g,g.coerce=function b(_){return _ instanceof Error?_.stack||_.message:_},g.disable=function f(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function h(_){let l;g.save(_),g.namespaces=_,g.names=[],g.skips=[];const y=("string"==typeof _?_:"").split(/[\s,]+/),x=y.length;for(l=0;l{g[_]=c[_]}),g.names=[],g.skips=[],g.formatters={},g.selectColor=function d(_){let l=0;for(let y=0;y<_.length;y++)l=(l<<5)-l+_.charCodeAt(y),l|=0;return g.colors[Math.abs(l)%g.colors.length]},g.enable(g.load()),g}},4989:Ie=>{"use strict";var B="%[a-f0-9]{2}",a=new RegExp("("+B+")|([^%]+?)","gi"),n=new RegExp("("+B+")+","gi");function c(r,h){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var f=r.slice(0,h=h||1),u=r.slice(h);return Array.prototype.concat.call([],c(f),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var h=r.match(a)||[],f=1;f"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),l=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function E(){var oe=setTimeout;return function(){return oe(X,1)}}var I=new Array(1e3);function X(){for(var oe=0;oe{Ie.exports=class B{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,c){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:c}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,c){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:c}})}supportFor({resourceType:n,capabilityType:c,where:d}={}){let g;if(g=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!g)return!1;const r=g[c];if(d&&r){const h=Object.keys(d)[0];return void 0!==r.find(u=>u[h]===d[h])}return void 0!==r}interactionsFor({resourceType:n}={}){const c=this.resourceCapabilities({resourceType:n});return void 0===c?[]:c.interaction.map(d=>d.code)}searchParamsFor({resourceType:n}={}){const c=this.resourceCapabilities({resourceType:n});return void 0===c||void 0===c.searchParam?[]:c.searchParam.map(d=>d.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(g=>g.type===n)}capabilityContents({resourceType:n,capabilityType:c}={}){const d=this.resourceCapabilities({resourceType:n});if(void 0!==d)return d[c]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},8907:(Ie,B,a)=>{var n=a(7156).default;const c=a(133),{authFromCapability:d,authFromWellKnown:g}=a(6686),r=a(8237),h=a(7681),f=a(1370),{createQueryString:u,validResourceType:v}=a(9047),{FetchQueue:b}=a(1335),{deprecatePaginationArgs:p,deprecateHeaders:_}=a(3820),l=a(6836);Ie.exports=class y{constructor({baseUrl:D,customHeaders:S,requestOptions:E,requestSigner:I,bearerToken:X}={}){this.httpClient=new r({baseUrl:D,customHeaders:S,requestOptions:E,requestSigner:I}),X&&(this.httpClient.bearerToken=X),this.resolver=new h(this),this.pagination=new f(this.httpClient)}static httpFor(D){return{request:r.requestFor(D),response:r.responseFor(D)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(D){this.httpClient&&(this.httpClient.baseUrl=D)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(D){this.httpClient.customHeaders=D}set bearerToken(D){this.httpClient.bearerToken=D}resolve({reference:D,context:S,headers:E,options:I={}}={}){return this.resolver.resolve({reference:D,context:S,options:_(I,E)})}smartAuthMetadata({headers:D,options:S={}}={}){var E=this;return n(function*(){const I={options:_(S,D)};I.options.headers||(I.options.headers={}),I.options.headers.accept="application/fhir+json,application/json";const X=E.baseUrl.replace(/\/*$/,"/"),$=new b,ee=$.buildJob(),ie=$.buildJob(),A=$.buildJob(),U=[];return new Promise((Me,Re)=>{function Ae(he){U.push(he)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(he=>($.safeAbortOthers(ie),Me(g(he)))).catch(he=>Ae(he)),E.capabilityStatement(ee.addSignalOption(I)).then(he=>($.safeAbortOthers(ee),Me(d(he)))).catch(he=>Ae(he)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(he=>($.safeAbortOthers(A),Me(g(he)))).catch(he=>Ae(he))})})()}capabilityStatement({headers:D,options:S={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",_(S,D))),this.metadata}request(D,{method:S="GET",options:E={},body:I}={}){return E.method&&E.method!==S&&console.warn(`WARNING: 'options.method' has been specified: ${E.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(S,D,E,I)}read({resourceType:D,id:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/${S}`,_(I,E))}vread({resourceType:D,id:S,version:E,headers:I,options:X={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/${S}/_history/${E}`,_(X,I))}create({resourceType:D,body:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.post(D,S,_(I,E))}delete({resourceType:D,id:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.delete(`${D}/${S}`,_(I,E))}update({resourceType:D,id:S,searchParams:E,body:I,headers:X,options:$={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);if(S&&E)throw new Error("Conditional update with search params cannot be with id",D);if(E){const ee=u(E);return this.httpClient.put(`${D}?${ee}`,I,_($,X))}return this.httpClient.put(`${D}/${S}`,I,_($,X))}patch({resourceType:D,id:S,JSONPatch:E,headers:I,options:X={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);const ee={..._(X,I).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${D}/${S}`,E,{...X,headers:ee})}batch({body:D,headers:S,options:E={}}={}){return this.httpClient.post("/",D,_(E,S))}transaction({body:D,headers:S,options:E={}}={}){return this.httpClient.post("/",D,_(E,S))}operation({name:D,resourceType:S,id:E,method:I="POST",input:X,options:$={}}={}){const ee=["/"];if(S){if(!v(S))throw new Error("Invalid resourceType",S);ee.push(`${S}/`)}return E&&ee.push(`${E}/`),ee.push(`${D.startsWith("$")?D:`$${D}`}`),"POST"===I.toUpperCase()?this.httpClient.post(ee.join(""),X,$):"GET"===I.toUpperCase()?(X&&ee.push(`?${c.stringify(X)}`),this.httpClient.get(ee.join(""),$)):void 0}nextPage(D,S){const{bundle:E,options:I={}}=p(D,S);return this.pagination.nextPage(E,I)}prevPage(D,S){const{bundle:E,options:I={}}=p(D,S);return this.pagination.prevPage(E,I)}search({resourceType:D,compartment:S,searchParams:E,headers:I,options:X={}}={}){if(D&&!v(D))throw new Error("Invalid resourceType",D);if(S&&D)return this.compartmentSearch({resourceType:D,compartment:S,searchParams:E,options:_(X,I)});if(D)return this.resourceSearch({resourceType:D,searchParams:E,options:_(X,I)});if(E instanceof Object&&Object.keys(E).length>0)return this.systemSearch({searchParams:E,options:_(X,I)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:D,searchParams:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);let X=D;return I.postSearch&&(X+="/_search"),this.baseSearch({searchPath:X,searchParams:S,headers:E,options:I})}systemSearch({searchParams:D,headers:S,options:E={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:D,headers:S,options:E})}compartmentSearch({resourceType:D,compartment:S,searchParams:E,headers:I,options:X={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);const{resourceType:$,id:ee}=S;if(!v($))throw new Error("Invalid compartmentType",$);let ie=`/${$}/${ee}/${D}`;return X.postSearch&&(ie+="/_search"),this.baseSearch({searchPath:ie,searchParams:E,headers:I,options:X})}baseSearch({searchPath:D,searchParams:S,headers:E,options:I}){const X=u(S),$=_(I,E);return this[I.postSearch?"postSearch":"getSearch"](D,X,$)}postSearch(D,S,E){const X={"Content-Type":"application/x-www-form-urlencoded",...E.headers},$={...E,headers:X};return this.httpClient.post(D,S,$)}getSearch(D,S,E){let I=D;return S&&(I+=`?${S}`),this.httpClient.get(I,E)}history({resourceType:D,id:S,headers:E,options:I={}}={}){if(D&&!v(D))throw new Error("Invalid resourceType",D);return S&&D?this.resourceHistory({resourceType:D,id:S,options:_(I,E)}):D?this.typeHistory({resourceType:D,options:_(I,E)}):this.systemHistory({options:_(I,E)})}resourceHistory({resourceType:D,id:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/${S}/_history`,_(I,E))}typeHistory({resourceType:D,headers:S,options:E={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/_history`,_(E,S))}systemHistory({headers:D,options:S={}}={}){return this.httpClient.get("_history",_(S,D))}},Ie.exports.CapabilityTool=l},3820:Ie=>{Ie.exports={deprecateHeaders:(n,c)=>c?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(c,null," ")),{headers:c,...n}):n,deprecatePaginationArgs:(n,c)=>{if(Object.prototype.hasOwnProperty.call(n,"resourceType")){console.warn("WARNING: positional parameters for pagination methods are deprecated and will be removed in the next major version. Call with ({ bundle, options }) rather than (bundle, headers)");const d={bundle:n};return c&&(d.options={headers:c}),d}return n}}},1335:(Ie,B,a)=>{const{AbortController:n}=a(4783);class c{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(r){return{signal:this.controller.signal,...r}}safeAbort(){this.resolving||this.controller.abort()}}Ie.exports={FetchQueue:class d{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const r=new c;return this.numJobs=this.jobs.push(r),r}safeAbortOthers(r){r.resolving=!0;for(let h=0,f=this.numJobs;h{Ie.exports={fhirReferenceRegEx:/^((http|https):\/\/([A-Za-z0-9\\.:%$]*\/)*)?(Account|ActivityDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodySite|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Conformance|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DataElement|DecisionSupportRule|DecisionSupportServiceModule|DetectedIssue|Device|DeviceComponent|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseRequest|DeviceUseStatement|DiagnosticOrder|DiagnosticReport|DiagnosticRequest|DocumentManifest|DocumentReference|EffectEvidenceSynthesis|EligibilityRequest|EligibilityResponse|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EntryDefinition|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExpansionProfile|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceRequest|GuidanceResponse|HealthcareService|ImagingExcerpt|ImagingManifest|ImagingObjectSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|ImplementationGuideInput|ImplementationGuideOutput|InsurancePlan|Invoice|ItemInstance|Library|Linkage|List|Location|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationOrder|MedicationRequest|MedicationStatement|MedicinalProduct|MedicinalProductAuthorization|MedicinalProductClinicals|MedicinalProductContraindication|MedicinalProductDeviceSpec|MedicinalProductIndication|MedicinalProductIngredient|MedicinalProductInteraction|MedicinalProductManufactured|MedicinalProductPackaged|MedicinalProductPharmaceutical|MedicinalProductUndesirableEffect|MessageDefinition|MessageHeader|ModuleDefinition|ModuleMetadata|MolecularSequence|NamingSystem|NutritionOrder|NutritionRequest|Observation|ObservationDefinition|OccupationalData|OperationDefinition|OperationOutcome|Order|OrderResponse|OrderSet|Organization|OrganizationAffiliation|OrganizationRole|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|ProcedureRequest|ProcessRequest|ProcessResponse|ProductPlan|Protocol|Provenance|Questionnaire|QuestionnaireResponse|ReferralRequest|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|RiskEvidenceSynthesis|Schedule|SearchParameter|Sequence|ServiceDefinition|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SubstanceSpecification|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|UserSession|ValueSet|VerificationResult|VisionPrescription)\/[A-Za-z0-9\-.]{1,256}(\/_history\/[A-Za-z0-9\-.]{1,256})?$/}},8237:(Ie,B,a)=>{var n=a(7156).default;a(1098).polyfill(),a(9807);const{logRequestError:c,logRequestInfo:d,logResponseInfo:g}=a(1566),r={accept:"application/fhir+json"},h="__response",f="__request";let v,b,u=!1;try{v=a(5899),b=a(5899).HttpsAgent,u=!0}catch{d("HTTP Agent is not available")}const p=new WeakMap;function l({status:x,data:D,method:S,headers:E,url:I}){const X={response:{status:x,data:D},config:{method:S,url:I,headers:E}};return c(X),X}Ie.exports=class Xl{static lcKeys(D){return D&&Object.keys(D).reduce((S,E)=>(S[E.toLowerCase()]=D[E],S),{})}constructor({baseUrl:D,customHeaders:S={},requestOptions:E={},requestSigner:I}){this.baseUrl=D,this.customHeaders=S,this.baseRequestOptions=E,this.requestSigner=I}set baseUrl(D){if(!D)throw new Error("baseUrl cannot be blank");if("string"!=typeof D)throw new Error("baseUrl must be a string");this.baseUrlValue=D}get baseUrl(){return this.baseUrlValue}static responseFor(D){return D[h]}static requestFor(D){return D[f]}set bearerToken(D){this.authHeader={authorization:`Bearer ${D}`}}requestBuilder(D,S,E,I){const X={...this.baseRequestOptions,...E,method:D,body:(x=I,"string"==typeof x?x:JSON.stringify(x))};var x;let $={};return u||($={keepalive:!Object.prototype.hasOwnProperty.call(X,"keepalive")||X.keepalive}),Object.assign(X,$,{headers:new Headers(this.mergeHeaders(E.headers))},function _(x,D={}){const S={baseUrl:x,agentOptions:D};return u?(p.get(S)||(x.startsWith("https")?p.set(S,{agent:new b(D)}):p.set(S,{agent:new v(D)})),p.get(S)):{}}(this.baseUrl,X)),this.requestSigner&&this.requestSigner(S,X),new Request(S,X)}request(D,S,E={},I){var X=this;return n(function*(){const $=X.expandUrl(S),ee=X.requestBuilder(D,$,E,I);d(D,$,ee.headers);const ie=yield fetch(ee),{status:A,headers:U}=ie;g({status:A,response:ie});const Me=yield ie.text();let Re={};if(Me)try{Re=JSON.parse(Me)}catch{throw Re=Me,l({status:A,data:Re,method:D,headers:U,url:$})}if(!ie.ok)throw l({status:A,data:Re,method:D,headers:U,url:$});return Object.defineProperty(Re,h,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,f,{writable:!1,enumerable:!1,value:ee}),Re})()}get(D,S){var E=this;return n(function*(){return E.request("GET",D,S)})()}delete(D,S){var E=this;return n(function*(){return E.request("DELETE",D,S)})()}put(D,S,E={}){var I=this;return n(function*(){const X={"content-type":"application/fhir+json",...Xl.lcKeys(E.headers)},$={...E,headers:X};return I.request("PUT",D,$,S)})()}post(D,S,E={}){var I=this;return n(function*(){const X={"content-type":"application/fhir+json",...Xl.lcKeys(E.headers)},$={...E,headers:X};return I.request("POST",D,$,S)})()}patch(D,S,E){var I=this;return n(function*(){return I.request("PATCH",D,E,S)})()}expandUrl(D=""){return D.toLowerCase().startsWith("http")?D:this.baseUrl.endsWith("/")&&D.startsWith("/")?this.baseUrl+D.slice(1):this.baseUrl.endsWith("/")||D.startsWith("/")?this.baseUrl+D:`${this.baseUrl}/${D}`}mergeHeaders(D){const{lcKeys:S}=Xl;return{...S(r),...S(this.authHeader),...S(this.customHeaders),...S(D)}}}},1566:(Ie,B,a)=>{const n=a(3187),c=a(563)("fhir-kit-client:error"),d=a(563)("fhir-kit-client:info");function g(b){return n(b)}function r(b){return g(b.raw&&"function"==typeof b.raw?b.raw():b)}Ie.exports={logRequestError:function h(b){c.enabled&&(c("!!! Error"),b.response&&c(` Status: ${b.response.status}`),b.config&&(c(` ${b.config.method.toUpperCase()}: ${b.config.url}`),c(` Headers: ${r(b.config.headers)}`)),b.response&&b.response.data&&c(g(b.response.data)),c("!!! Request Error"))},logRequestInfo:function f(b,p,_){d.enabled&&(p&&d(`Request: ${b.toUpperCase()} ${p.toString()}`),d(`Request Headers: ${r(_)}`))},logResponseInfo:function u(b){d.enabled&&(d(`Response: ${b.status}`),b.data&&d(g(b.data)))},logError:function v(b){c.enabled&&c(b)}}},1370:Ie=>{Ie.exports=class B{constructor(n){this.httpClient=n}nextPage(n,{headers:c}={}){const d=n.link.find(g=>"next"===g.relation);return d?this.httpClient.get(d.url,{headers:c}):void 0}prevPage(n,{headers:c}={}){const d=n.link.find(g=>g.relation.match(/^prev(ious)?$/));return d?this.httpClient.get(d.url,{headers:c}):void 0}}},7681:(Ie,B,a)=>{var n=a(7156).default;const{splitReference:c}=a(9047),{deprecateHeaders:d}=a(3820);Ie.exports=class{constructor(g){this.client=g}resolve({reference:g,context:r,headers:h,options:f={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(f,h)):u.client.httpClient.get(g,d(f,h)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(f,h))})()}resolveAbsoluteReference(g,r){var h=this;return n(function*(){if(g.startsWith(h.client.baseUrl))return h.client.httpClient.get(g,r);const{baseUrl:f,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:f}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const h=g.slice(1),f=r.contained.find(u=>u.id===h);if(f)return f}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,h){var f=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:f.resolve({reference:g,options:h})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const h={};try{return r.rest.forEach(f=>{f.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":h.authorizeUrl=new URL(v.valueUri);break;case"token":h.tokenUrl=new URL(v.valueUri);break;case"register":h.registerUrl=new URL(v.valueUri);break;case"manage":h.manageUrl=new URL(v.valueUri)}})}),h}catch(f){return c(f),h}},authFromWellKnown:function g(r){const{authorization_endpoint:h,token_endpoint:f,registration_endpoint:u}=r;return{authorizeUrl:h&&new URL(h),tokenUrl:f&&new URL(f),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(h){if(h instanceof Object&&Object.keys(h).length>0)return n.stringify(h)},splitReference:function d(h){if(!h.match(c))throw new Error(`${h} is not a recognized FHIR reference`);let f,u=h;h.startsWith("http")&&([,f]=c.exec(h),u=h.slice(f.length),f.endsWith("/")&&(f=f.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:f,resourceType:v,id:b}},validResourceType:function g(h){return!h.startsWith("/")&&!h.includes(":")&&/\S/.test(h)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,h,f){return r.reduce((u,v,b)=>(this.$index=b,this.$total=h(v)),this.$total=f)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,h=>c.plus(g.arraify(h),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,h=>{const f=g.arraify(h),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(f,u)?f:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,h=>{const f=g.arraify(h),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(f,u)?f:u}])},n.avgFn=function(r){return c.div(n.sumFn(r),n.countFn(r))},Ie.exports=n},500:(Ie,B,a)=>{var n=a(2825),c={};function d(g,r){if(0==r.length)return!0;for(var h=0;h1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(r));return d(g,r)},c.in=function(g,r){if(0==g.length)return[];if(0==r.length)return!1;if(g.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(r));return d(r,g)},Ie.exports=c},8330:(Ie,B,a)=>{const n={},{distinctFn:c}=a(5073),d=a(6190);n.union=function(g,r){return c(g.concat(r))},n.combineFn=function(g,r){return g.concat(r)},n.intersect=function(g,r){let h=[];const f=g.length;let u=r.length;if(f&&u){let v={};r.forEach(b=>{const p=d(b);v[p]?u--:v[p]=!0});for(let b=0;b0;++b){let p=g[b],_=d(p);v[_]&&(h.push(p),v[_]=!1,u--)}}return h},Ie.exports=n},9285:Ie=>{Ie.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}},1605:(Ie,B,a)=>{var n={};const c=a(4217),d=a(9285),g=c.FP_Date,r=c.FP_DateTime,h=c.FP_Time;n.now=function(){if(!d.now){var u=r.isoDateTime(d.nowDate);d.now=new r(u)}return d.now},n.today=function(){if(!d.today){var u=g.isoDate(d.nowDate);d.today=new g(u)}return d.today},n.timeOfDay=function(){if(!d.timeOfDay){const u=r.isoTime(d.nowDate);d.timeOfDay=new h(u)}return d.timeOfDay},Ie.exports=n},2825:(Ie,B,a)=>{var c=a(4217).FP_Type,d=a(5827),g=a(4192),r=Array.prototype.slice,h=Object.keys,f=function(y){return"[object Arguments]"==Object.prototype.toString.call(y)};function u(y){return"string"==typeof y||y instanceof String}function v(y){return!isNaN(parseFloat(y))&&isFinite(y)}function b(y){return y.toUpperCase().replace(/\s+/," ")}function _(y){return null==y}Ie.exports=function p(y,x,D){if(D||(D={}),(y=d.valDataConverted(y))===(x=d.valDataConverted(x)))return!0;if(D.fuzzy){if(u(y)&&u(x))return b(y)==b(x);if(v(y)&&v(x))return g.isEquivalent(y,x)}else if("number"==typeof y&&"number"==typeof x)return g.isEqual(y,x);if(y instanceof Date&&x instanceof Date)return y.getTime()===x.getTime();if(!y||!x||"object"!=typeof y&&"object"!=typeof x)return y===x;var S=y instanceof c,E=x instanceof c;return S&&E?D.fuzzy?y.equivalentTo(x):y.equals(x):!S&&!E&&function l(y,x,D){var S,E;if(_(y)||_(x)||y.prototype!==x.prototype)return!1;if(f(y)||f(x))return p(y=f(y)?r.call(y):y,x=f(x)?r.call(x):x,D);try{var I=h(y),X=h(x)}catch{return!1}if(I.length!=X.length)return!1;for(I.sort(),X.sort(),S=I.length-1;S>=0;S--)if(I[S]!=X[S])return!1;if(1===I.length)return p(y[E=I[0]],x[E],D);for(S=I.length-1;S>=0;S--)if(!p(y[E=I[S]],x[E],D))return!1;return typeof y==typeof x}(y,x,D)}},5117:(Ie,B,a)=>{var n=a(5827),c=a(2825),d=a(4217);const g=d.FP_Type,r=d.FP_Date,h=d.FP_DateTime;var f={};function u(p,_){return n.isEmpty(p)||n.isEmpty(_)?[]:c(p,_)}function v(p,_){return n.isEmpty(p)&&n.isEmpty(_)?[!0]:n.isEmpty(p)||n.isEmpty(_)?[]:c(p,_,{fuzzy:!0})}function b(p,_){n.assertAtMostOne(p,"Singleton was expected"),n.assertAtMostOne(_,"Singleton was expected"),p=n.valDataConverted(p[0]),_=n.valDataConverted(_[0]);let l=p.constructor===r?h:p.constructor,y=_.constructor===r?h:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}f.equal=function(p,_){return u(p,_)},f.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},f.equival=function(p,_){return v(p,_)},f.unequival=function(p,_){return!v(p,_)},f.lt=function(p,_){if(!p.length||!_.length)return[];const[l,y]=b(p,_);if(l instanceof g){const x=l.compare(y);return null===x?[]:x<0}return l0}return l>y},f.lte=function(p,_){if(!p.length||!_.length)return[];const[l,y]=b(p,_);if(l instanceof g){const x=l.compare(y);return null===x?[]:x<=0}return l<=y},f.gte=function(p,_){if(!p.length||!_.length)return[];const[l,y]=b(p,_);if(l instanceof g){const x=l.compare(y);return null===x?[]:x>=0}return l>=y},Ie.exports=f},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),h={};function f(u,v){const b=u.length;let p=b<=v.length;if(p&&b){const _=v.reduce((l,y)=>(l[r(y)]=!0,l),{});p=!u.some(l=>!_[r(l)])}return p}h.emptyFn=n.isEmpty,h.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},h.existsMacro=function(u,v){var b=u;return v?h.existsMacro(c(u,v)):!n.isEmpty(b)},h.allMacro=function(u,v){for(let b=0,p=u.length;b{const{version:n}=a(82),c=a(7661),d=a(5827);a(4835);const g=a(9285);let r={},h=a(631),f=a(5073),u=a(4258),v=a(8330),b=a(6777),p=a(5117),_=a(500),l=a(7353),y=a(4702),x=a(3774),D=a(1605),S=a(2804);const E=a(4217),{FP_Date:I,FP_DateTime:X,FP_Time:$,FP_Quantity:ee,FP_Type:ie,ResourceNode:A,TypeInfo:U}=E;let Me=A.makeResNode;function Re(re,se,ye,He){if("Expr"===ye)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ye)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ye){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ye)return r.TypeSpecifier(re,se,He);re.$this=se;const Ze=r.doEval(re,se,He);if("Any"===ye)return Ze;if(Array.isArray(ye)){if(0===Ze.length)return[];ye=ye[0]}return b.singleton(Ze,ye)}function he(re){return null==re||d.isEmpty(re)}function H(re,se,ye,He){var Ze=r.invocationTable[se];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var We=Ze.arity[Qe];if(We){for(var tt=[],Mt=0;MtMt?.__path__?Me(Mt,Mt?.__path__):Mt),We={context:Qe,ucum:"http://unitsofmeasure.org"};ye&&(ye=Object.keys(ye).reduce((Mt,Ft)=>(Mt[Ft]=Array.isArray(ye[Ft])?ye[Ft].map(gt=>gt?.__path__?Me(gt,gt.__path__):gt):ye[Ft]?.__path__?Me(ye[Ft],ye[Ft].__path__):ye[Ft],Mt),{}));let tt={dataRoot:Qe,vars:Object.assign(We,ye),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,se.children[0]).map(Mt=>{let Ft=Mt instanceof A?Mt.path:null;return(Mt=d.valData(Mt))instanceof ie&&Ze.resolveInternalTypes&&(Mt=Mt.toString()),Ft&&"object"==typeof Mt&&Object.defineProperty(Mt,"__path__",{value:Ft}),Mt})}function Be(re,se,ye){if(ye={resolveInternalTypes:!0,...ye},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const We=re.base?Me(Ze,re.base):Ze;return U.model=se,pe(We,He,Qe,se,ye)}}{const He=W(re);return function(Ze,Qe){return U.model=se,pe(Ze,He,Qe,se,ye)}}}r.invocationTable={empty:{fn:h.emptyFn},not:{fn:h.notFn},exists:{fn:h.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:h.allMacro,arity:{1:["Expr"]}},allTrue:{fn:h.allTrueFn},anyTrue:{fn:h.anyTrueFn},allFalse:{fn:h.allFalseFn},anyFalse:{fn:h.anyFalseFn},subsetOf:{fn:h.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:h.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:h.isDistinctFn},distinct:{fn:f.distinctFn},count:{fn:u.countFn},where:{fn:f.whereMacro,arity:{1:["Expr"]}},extension:{fn:f.extension,arity:{1:["String"]}},select:{fn:f.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:u.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:u.sumFn},min:{fn:u.minFn},max:{fn:u.maxFn},avg:{fn:u.avgFn},single:{fn:f.singleFn},first:{fn:f.firstFn},last:{fn:f.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:f.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:f.tailFn},take:{fn:f.takeFn,arity:{1:["Integer"]}},skip:{fn:f.skipFn,arity:{1:["Integer"]}},combine:{fn:v.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:v.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:v.intersect,arity:{1:["AnyAtRoot"]}},iif:{fn:b.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:b.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:b.toInteger},toDecimal:{fn:b.toDecimal},toString:{fn:b.toString},toDate:{fn:b.toDate},toDateTime:{fn:b.toDateTime},toTime:{fn:b.toTime},toBoolean:{fn:b.toBoolean},toQuantity:{fn:b.toQuantity,arity:{0:[],1:["String"]}},hasValue:{fn:b.hasValueFn},convertsToBoolean:{fn:b.createConvertsToFn(b.toBoolean,"boolean")},convertsToInteger:{fn:b.createConvertsToFn(b.toInteger,"number")},convertsToDecimal:{fn:b.createConvertsToFn(b.toDecimal,"number")},convertsToString:{fn:b.createConvertsToFn(b.toString,"string")},convertsToDate:{fn:b.createConvertsToFn(b.toDate,I)},convertsToDateTime:{fn:b.createConvertsToFn(b.toDateTime,X)},convertsToTime:{fn:b.createConvertsToFn(b.toTime,$)},convertsToQuantity:{fn:b.createConvertsToFn(b.toQuantity,ee)},indexOf:{fn:y.indexOf,arity:{1:["String"]}},substring:{fn:y.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:y.startsWith,arity:{1:["String"]}},endsWith:{fn:y.endsWith,arity:{1:["String"]}},contains:{fn:y.containsFn,arity:{1:["String"]}},upper:{fn:y.upper},lower:{fn:y.lower},replace:{fn:y.replace,arity:{2:["String","String"]}},matches:{fn:y.matches,arity:{1:["String"]}},replaceMatches:{fn:y.replaceMatches,arity:{2:["String","String"]}},length:{fn:y.length},toChars:{fn:y.toChars},join:{fn:y.joinFn,arity:{0:[],1:["String"]}},split:{fn:y.splitFn,arity:{1:["String"]}},trim:{fn:y.trimFn},encode:{fn:y.encodeFn,arity:{1:["String"]}},decode:{fn:y.decodeFn,arity:{1:["String"]}},abs:{fn:l.abs},ceiling:{fn:l.ceiling},exp:{fn:l.exp},floor:{fn:l.floor},ln:{fn:l.ln},log:{fn:l.log,arity:{1:["Number"]},nullable:!0},power:{fn:l.power,arity:{1:["Number"]},nullable:!0},round:{fn:l.round,arity:{1:["Number"]}},sqrt:{fn:l.sqrt},truncate:{fn:l.truncate},now:{fn:D.now},today:{fn:D.today},timeOfDay:{fn:D.timeOfDay},repeat:{fn:f.repeatMacro,arity:{1:["Expr"]}},children:{fn:x.children},descendants:{fn:x.descendants},"|":{fn:v.union,arity:{2:["Any","Any"]}},"=":{fn:p.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:p.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:p.equival,arity:{2:["Any","Any"]}},"!~":{fn:p.unequival,arity:{2:["Any","Any"]}},"<":{fn:p.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:p.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:p.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:p.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:_.contains,arity:{2:["Any","Any"]}},inOp:{fn:_.in,arity:{2:["Any","Any"]}},isOp:{fn:E.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:E.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:l.amp,arity:{2:["String","String"]}},"+":{fn:l.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:l.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:l.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:l.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:l.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:l.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:S.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:S.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:S.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:S.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},r.InvocationExpression=function(re,se,ye){return ye.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},se)},r.TermExpression=function(re,se,ye){return se&&(se=se.map(He=>He instanceof Object&&He.resourceType?Me(He,He.resourceType):He)),r.doEval(re,se,ye.children[0])},r.PolarityExpression=function(re,se,ye){var He=ye.terminalNodeText[0],Ze=r.doEval(re,se,ye.children[0]);if(1!==Ze.length)throw new Error("Unary "+He+" can only be applied to an individual number.");if("number"!=typeof Ze[0]||isNaN(Ze[0]))throw new Error("Unary "+He+" can only be applied to a number.");return"-"===He&&(Ze[0]=-Ze[0]),Ze},r.TypeSpecifier=function(re,se,ye){let He,Ze;const Qe=ye.text.split(".").map(We=>We.replace(/(^`|`$)/g,""));switch(Qe.length){case 2:[He,Ze]=Qe;break;case 1:[Ze]=Qe;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(ye))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,se,ye){var Qe=r.Identifier(re,se,ye.children[0].children[0])[0],We=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==We?[]:We instanceof Array?We:[We]},r.LiteralTerm=function(re,se,ye){var He=ye.children[0];return He?r.doEval(re,se,He):[ye.text]},r.StringLiteral=function(re,se,ye){var He=ye.text.replace(/(^'|'$)/g,"");return[He=He.replace(/\\(u\d{4}|.)/g,function(Ze,Qe){switch(Ze){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return Qe.length>1?String.fromCharCode("0x"+Qe.slice(1)):Qe}})]},r.BooleanLiteral=function(re,se,ye){return"true"===ye.text?[!0]:[!1]},r.QuantityLiteral=function(re,se,ye){var He=ye.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],We=Qe.terminalNodeText[0];return!We&&Qe.children&&(We=Qe.children[0].terminalNodeText[0]),[new ee(Ze,We)]},r.DateTimeLiteral=function(re,se,ye){var He=ye.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,se,ye){var He=ye.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,se,ye){return[Number(ye.text)]},r.Identifier=function(re,se,ye){return[ye.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,se,ye){return r.doEval(re,se,ye.children[0])},r.MemberInvocation=function(re,se,ye){const He=r.doEval(re,se,ye.children[0])[0],Ze=re.model;if(se){if(d.isCapitalized(He))return se.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=se.path||se.__path__;return se.reduce(function(We,tt){var Mt=(tt=Me(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Mt];Tt&&(Mt=Tt)}let Ft,gt,Bt=Ze&&Ze.choiceTypePaths[Mt];if(Bt)for(let Tt of Bt){let kt=He+Tt;if(Ft=tt.data?.[kt],gt=tt.data?.["_"+kt],void 0!==Ft||void 0!==gt){Mt+=Tt;break}}else Ft=tt.data?.[He],gt=tt.data?.["_"+He],void 0===Ft&&void 0===gt&&(Ft=tt._data[He]),"extension"===He&&(Mt="Extension");return Mt=Ze&&Ze.path2Type[Mt]||Mt,(d.isSome(Ft)||d.isSome(gt))&&(Array.isArray(Ft)?We=We.concat(Ft.map((Tt,kt)=>Me(Tt,Mt,gt&>[kt]))):We.push(Me(Ft,Mt,gt))),We},[])}}return[]},r.IndexerExpression=function(re,se,ye){const Ze=ye.children[1];var Qe=r.doEval(re,se,ye.children[0]),We=r.doEval(re,se,Ze);if(d.isEmpty(We))return[];var tt=parseInt(We[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,se,ye){return ye.children.map(function(He){return r.doEval(re,se,He)})},r.realizeParams=function(re,se,ye){return ye&&ye[0]&&ye[0].children?ye[0].children.map(function(He){return r.doEval(re,se,He)}):[]},r.FunctionInvocation=function(re,se,ye){var He=r.doEval(re,se,ye.children[0]);const Ze=He[0];return He.shift(),function Ae(re,se,ye,He){var Qe,Ze=r.invocationTable[se];if(Ze){if(Ze.arity){var We=He?He.length:0,tt=Ze.arity[We];if(tt){for(var Mt=[],Ft=0;Ft{const ye=U.fromValue(se?.__path__?new A(se,se.__path__):se);return`${ye.namespace}.${ye.name}`})},ucumUtils:a(2207).ng.getInstance()}},5073:(Ie,B,a)=>{const n=a(5827),{TypeInfo:c,ResourceNode:d}=a(4217),g=a(6190);Ie.exports={whereMacro:function(h,f){return!1===h||h?n.flatten(h.filter((u,v)=>(this.$index=v,f(u)[0]))):[]},extension:function(h,f){return!1!==h&&!h||!f?[]:n.flatten(h.map((u,v)=>{this.$index=v;const b=u&&(u.data&&u.data.extension||u._data&&u._data.extension);return b?b.filter(p=>p.url===f).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(h,f){return!1===h||h?n.flatten(h.map((u,v)=>(this.$index=v,f(u)))):[]},repeatMacro:function(h,f){if(!1!==h&&!h)return[];let u=[];const v={},b=h.length;for(let p=0;p{const y=g(l),x=!v[y];return x&&(v[y]=!0),x})}while(u.lengthc.fromValue(u).is(f))},distinctFn:function(h){let f=[];if(h.length>0){let u={};for(let v=0,b=h.length;v{const n=a(2207).ng.getInstance(),{roundToMaxPrecision:c}=a(4192),{valDataConverted:d}=a(5827),{FP_Type:g,FP_Quantity:r}=a(4217);function f(u){if("number"==typeof(u=d(u)))return c(u);if(u instanceof Date)return u.toISOString();if(u instanceof r){const v=r._yearMonthConversionFactor[u.unit];if(v)return"_!yearMonth!_:"+v*u.value;{const b=r.toUcumQuantity(u.value,u.unit),p=n.getSpecifiedUnit(b.unit).unit;return"_!"+p.property_+"!_:"+p.magnitude_*b.value}}return u instanceof g?u.toString():"object"==typeof u?Array.isArray(u)?u.map(f):Object.keys(u).sort().reduce((v,b)=>(v[b]=f(u[b]),v),{}):u}Ie.exports=function h(u){return JSON.stringify(f(u))}},2804:Ie=>{Ie.exports={orOp:function(a,n){if(Array.isArray(n)){if(!0===a)return!0;if(!1===a)return[];if(Array.isArray(a))return[]}return Array.isArray(a)?!0===n||[]:a||n},andOp:function(a,n){if(Array.isArray(n)){if(!0===a)return[];if(!1===a)return!1;if(Array.isArray(a))return[]}return Array.isArray(a)?!0===n&&[]:a&&n},xorOp:function(a,n){return Array.isArray(a)||Array.isArray(n)?[]:a&&!n||!a&&n},impliesOp:function(a,n){if(Array.isArray(n)){if(!0===a)return[];if(!1===a)return!0;if(Array.isArray(a))return[]}return Array.isArray(a)?!0===n||[]:!1===a||a&&n}}},7353:(Ie,B,a)=>{var n=a(4217);let{FP_TimeBase:c,FP_Quantity:d}=n;const g=a(5827);var r={};function h(u){let v=g.valData(u);if("number"!=typeof v){if(1==v.length&&"number"==typeof(v=g.valData(v[0])))return v;throw new Error("Expected number, but got "+JSON.stringify(v||u))}return v}function f(u){return"number"!=typeof u&&0==u.length}r.amp=function(u,v){return(u||"")+(v||"")},r.plus=function(u,v){if(1==u.length&&1==v.length){var b=g.valDataConverted(u[0]),p=g.valDataConverted(v[0]);if("string"==typeof b&&"string"==typeof p||"number"==typeof b&&"number"==typeof p)return b+p;if(b instanceof c&&p instanceof d)return b.plus(p)}throw new Error("Cannot "+JSON.stringify(u)+" + "+JSON.stringify(v))},r.minus=function(u,v){if(1==u.length&&1==v.length){var b=g.valDataConverted(u[0]),p=g.valDataConverted(v[0]);if("number"==typeof b&&"number"==typeof p)return b-p;if(b instanceof c&&p instanceof d)return b.plus(new d(-p.value,p.unit))}throw new Error("Cannot "+JSON.stringify(u)+" - "+JSON.stringify(v))},r.mul=function(u,v){return u*v},r.div=function(u,v){return 0===v?[]:u/v},r.intdiv=function(u,v){return 0===v?[]:Math.floor(u/v)},r.mod=function(u,v){return 0===v?[]:u%v},r.abs=function(u){if(f(u))return[];{let v=h(u);return Math.abs(v)}},r.ceiling=function(u){if(f(u))return[];{let v=h(u);return Math.ceil(v)}},r.exp=function(u){if(f(u))return[];{let v=h(u);return Math.exp(v)}},r.floor=function(u){if(f(u))return[];{let v=h(u);return Math.floor(v)}},r.ln=function(u){if(f(u))return[];{let v=h(u);return Math.log(v)}},r.log=function(u,v){if(f(u)||f(v))return[];{let b=h(u),p=h(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(f(u)||f(v))return[];{let b=h(u),p=h(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(f(u))return[];{let b=h(u);if(f(v))return Math.round(b);{let p=h(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(f(u))return[];{let v=h(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(f(u))return[];{let v=h(u);return Math.trunc(v)}},Ie.exports=r},6777:(Ie,B,a)=>{var n=a(5827),c=a(4217);const{FP_Quantity:d}=c;var g={iifMacro:function(x,D,S,E){return n.isTrue(D(x))?S(x):E?E(x):[]},traceFn:function(x,D,S){return this.customTraceFn?this.customTraceFn(S?S(x):x,D??""):S?console.log("TRACE:["+(D||"")+"]",JSON.stringify(S(x),null," ")):console.log("TRACE:["+(D||"")+"]",JSON.stringify(x,null," ")),x}},r=/^[+-]?\d+$/;g.toInteger=function(x){if(1!==x.length)return[];var D=n.valData(x[0]);return!1===D?0:!0===D?1:"number"==typeof D?Number.isInteger(D)?D:[]:"string"==typeof D&&r.test(D)?parseInt(D):[]};const h=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;g.toQuantity=function(x,D){let S;if(D&&!d.mapTimeUnitsToUCUMCode[D]&&(D=`'${D}'`),x.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===x.length){var E=n.valDataConverted(x[0]);let I;if("number"==typeof E)S=new d(E,"'1'");else if(E instanceof d)S=E;else if("boolean"==typeof E)S=new d(E?1:0,"'1'");else if("string"==typeof E&&(I=h.exec(E))){const $=I[5],ee=I[6];(!ee||d.mapTimeUnitsToUCUMCode[ee])&&(S=new d(Number(I[1]),$||ee||"'1'"))}S&&D&&S.unit!==D&&(S=d.convUnitTo(S.unit,S.value,D))}return S||[]};var u=/^[+-]?\d+(\.\d+)?$/;function v(x){let D=x.slice(3);g["to"+D]=function(S){var E=[];if(S.length>1)throw Error("to "+D+" called for a collection of length "+S.length);if(1===S.length){var I=c[x].checkString(n.valData(S[0]));I&&(E=I)}return E}}g.toDecimal=function(x){if(1!==x.length)return[];var D=n.valData(x[0]);return!1===D?0:!0===D?1:"number"==typeof D?D:"string"==typeof D&&u.test(D)?parseFloat(D):[]},g.toString=function(x){return 1!==x.length?[]:n.valDataConverted(x[0]).toString()},v("FP_Date"),v("FP_DateTime"),v("FP_Time");const b=["true","t","yes","y","1","1.0"].reduce((x,D)=>(x[D]=!0,x),{}),p=["false","f","no","n","0","0.0"].reduce((x,D)=>(x[D]=!0,x),{});g.toBoolean=function(x){if(1!==x.length)return[];const D=n.valData(x[0]);switch(typeof D){case"boolean":return D;case"number":if(1===D)return!0;if(0===D)return!1;break;case"string":const S=D.toLowerCase();if(b[S])return!0;if(p[S])return!1}return[]},g.createConvertsToFn=function(x,D){return"string"==typeof D?function(S){return 1!==S.length?[]:typeof x(S)===D}:function(S){return 1!==S.length?[]:x(S)instanceof D}};const _={Integer:function(x){const D=n.valData(x[0]);if(Number.isInteger(D))return D},Boolean:function(x){const D=n.valData(x[0]);return!0===D||!1===D?D:1===x.length||void 0},Number:function(x){const D=n.valData(x[0]);if("number"==typeof D)return D},String:function(x){const D=n.valData(x[0]);if("string"==typeof D)return D}};g.singleton=function(x,D){if(x.length>1)throw new Error("Unexpected collection"+JSON.stringify(x)+"; expected singleton of type "+D);if(0===x.length)return[];const S=_[D];if(S){const E=S(x);if(void 0!==E)return E;throw new Error(`Expected ${D.toLowerCase()}, but got: ${JSON.stringify(x)}`)}throw new Error("Not supported type "+D)};const l=new Set(["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url"]);function y(x){switch(typeof x){case"string":case"number":case"boolean":return!0;default:return!1}}g.hasValueFn=function(x){return 1===x.length?this.model?[l.has(x[0].path)]:[y(n.valData(x[0]))]:[!1]},Ie.exports=g},3774:(Ie,B,a)=>{const n=a(5827),{ResourceNode:c}=a(4217);let d=c.makeResNode;var g={children:function(r){let h=this.model;return r.reduce(function(f,u){let v=n.valData(u);if(u=d(u),"object"==typeof v){for(var b of Object.keys(v)){var p=v[b],_=u.path+"."+b;if(h){let l=h.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?f.push.apply(f,p.map(l=>d(l,_))):f.push(d(p,_))}return f}return f},[])},descendants:function(r){for(var h=g.children.call(this,r),f=[];h.length>0;)f.push.apply(f,h),h=g.children.call(this,h);return f}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const h=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!h)return 0;const f=h[2];return Math.max(0,("0"===f?0:(f||"").length)-(h[3]||0))}function n(g,r){const h=Math.pow(10,r);return Math.round(g*h)/h}const d=B.roundToMaxPrecision=function(g){return 1e-8*Math.round(g/1e-8)};B.isEquivalent=function(g,r){if(Number.isInteger(g)&&Number.isInteger(r))return g===r;const h=Math.min(a(g),a(r));return 0===h?Math.round(g)===Math.round(r):n(g,h)===n(r,h)},B.isEqual=function(g,r){return d(g)===d(r)},Ie.exports=B},5815:(Ie,B,a)=>{B.atn=a(871),B.codepointat=a(6419),B.dfa=a(7061),B.fromcodepoint=a(9182),B.tree=a(9804),B.error=a(6405),B.Token=a(6205).Token,B.CommonToken=a(6205).CommonToken,B.InputStream=a(1466),B.CommonTokenStream=a(7456),B.Lexer=a(9042),B.Parser=a(111);var n=a(6185);B.PredictionContextCache=n.PredictionContextCache,B.ParserRuleContext=a(7293),B.Interval=a(9173).Interval,B.IntervalSet=a(9173).IntervalSet,B.Utils=a(3340),B.LL1Analyzer=a(4589).LL1Analyzer},2472:(Ie,B,a)=>{var n=a(8416).default;const c=a(5815),d=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x02A\u0203\b\x01\x04\x02\t\x02\x04\x03\t\x03","\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07","\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04","\f\t\f\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10","\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13","\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17","\t\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1a\t\x1a","\x04\x1b\t\x1b\x04\x1c\t\x1c\x04\x1d\t\x1d\x04\x1e",'\t\x1e\x04\x1f\t\x1f\x04 \t \x04!\t!\x04"\t"\x04#',"\t#\x04$\t$\x04%\t%\x04&\t&\x04'\t'\x04(\t(\x04)\t)\x04","*\t*\x04+\t+\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x04","1\t1\x042\t2\x043\t3\x044\t4\x045\t5\x046\t6\x047\t7\x04","8\t8\x049\t9\x04:\t:\x04;\t;\x04<\t<\x04=\t=\x04>\t>\x04","?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x03\x02\x03","\x02\x03\x03\x03\x03\x03\x04\x03\x04\x03\x05\x03","\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\b\x03","\b\x03\t\x03\t\x03\t\x03\t\x03\n\x03\n\x03\n\x03\n\x03","\v\x03\v\x03\f\x03\f\x03\r\x03\r\x03\r\x03\x0e","\x03\x0e\x03\x0f\x03\x0f\x03\x10\x03\x10\x03\x10","\x03\x11\x03\x11\x03\x11\x03\x12\x03\x12\x03\x12","\x03\x13\x03\x13\x03\x14\x03\x14\x03\x15\x03\x15","\x03\x15\x03\x16\x03\x16\x03\x16\x03\x17\x03\x17","\x03\x17\x03\x18\x03\x18\x03\x18\x03\x18\x03\x18","\x03\x18\x03\x18\x03\x18\x03\x18\x03\x19\x03\x19","\x03\x19\x03\x19\x03\x1a\x03\x1a\x03\x1a\x03\x1b","\x03\x1b\x03\x1b\x03\x1b\x03\x1c\x03\x1c\x03\x1c","\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1d","\x03\x1d\x03\x1e\x03\x1e\x03\x1f\x03\x1f\x03 ",'\x03 \x03!\x03!\x03!\x03!\x03!\x03"\x03"\x03"\x03','"\x03"\x03"\x03#\x03#\x03$\x03$\x03$\x03$\x03$',"\x03$\x03%\x03%\x03%\x03%\x03%\x03%\x03%\x03&\x03","&\x03&\x03&\x03&\x03&\x03&\x03'\x03'\x03(\x03(\x03","(\x03(\x03(\x03)\x03)\x03)\x03)\x03)\x03)\x03*\x03","*\x03*\x03*\x03*\x03+\x03+\x03+\x03+\x03,\x03,\x03",",\x03,\x03,\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03",".\x03.\x03.\x03.\x03.\x03.\x03.\x03/\x03/\x03/\x03","/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x030\x03","0\x030\x030\x030\x030\x031\x031\x031\x031\x031\x03","1\x031\x032\x032\x032\x032\x032\x032\x033\x033\x03","3\x033\x033\x034\x034\x034\x034\x034\x034\x035\x03","5\x035\x035\x035\x035\x035\x035\x036\x036\x036\x03","6\x036\x036\x036\x036\x037\x037\x037\x037\x037\x03","7\x037\x037\x037\x037\x037\x037\x037\x038\x038\x03","8\x038\x038\x038\x038\x038\x038\x038\x038\x038\x03","8\x058\u0183\n8\x058\u0185\n8\x058\u0187\n8\x038\x058\u018a","\n8\x039\x039\x039\x039\x03:\x03:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x03:\x06:\u019a\n:\r:\x0e:\u019b\x05",":\u019e\n:\x05:\u01a0\n:\x05:\u01a2\n:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x05:\u01ab\n:\x03;\x05;\u01ae\n;\x03",";\x07;\u01b1\n;\f;\x0e;\u01b4\v;\x03<\x03<\x03<\x07","<\u01b9\n<\f<\x0e<\u01bc\v<\x03<\x03<\x03=\x03=\x03","=\x07=\u01c3\n=\f=\x0e=\u01c6\v=\x03=\x03=\x03>\x06",">\u01cb\n>\r>\x0e>\u01cc\x03>\x03>\x06>\u01d1\n>\r>\x0e>\u01d2","\x05>\u01d5\n>\x03?\x06?\u01d8\n?\r?\x0e?\u01d9\x03?\x03","?\x03@\x03@\x03@\x03@\x07@\u01e2\n@\f@\x0e@\u01e5\v","@\x03@\x03@\x03@\x03@\x03@\x03A\x03A\x03A\x03A\x07","A\u01f0\nA\fA\x0eA\u01f3\vA\x03A\x03A\x03B\x03B\x03","B\x05B\u01fa\nB\x03C\x03C\x03C\x03C\x03C\x03C\x03D\x03","D\x03\u01e3\x02E\x03\x03\x05\x04\x07\x05\t\x06\v","\x07\r\b\x0f\t\x11\n\x13\v\x15\f\x17\r\x19\x0e\x1b","\x0f\x1d\x10\x1f\x11!\x12#\x13%\x14'\x15)\x16+","\x17-\x18/\x191\x1a3\x1b5\x1c7\x1d9\x1e;\x1f= ?!A","\"C#E$G%I&K'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:s\x02u;w}","?\x7f@\x81A\x83\x02\x85\x02\x87\x02\x03\x02\f\x03","\x022;\x04\x02--//\x05\x02C\\aac|\x06\x022;C\\aac|\x04",'\x02^^bb\x03\x02))\x05\x02\v\f\x0f\x0f""\x04\x02',"\f\f\x0f\x0f\n\x02))11^^bbhhppttvv\x05\x022;CHch\x02\u0214","\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02","\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02","\x02\v\x03\x02\x02\x02\x02\r\x03\x02\x02\x02","\x02\x0f\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02","\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02","\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02","\x02\x1b\x03\x02\x02\x02\x02\x1d\x03\x02\x02\x02","\x02\x1f\x03\x02\x02\x02\x02!\x03\x02\x02\x02","\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x02","'\x03\x02\x02\x02\x02)\x03\x02\x02\x02\x02+\x03","\x02\x02\x02\x02-\x03\x02\x02\x02\x02/\x03\x02","\x02\x02\x021\x03\x02\x02\x02\x023\x03\x02\x02","\x02\x025\x03\x02\x02\x02\x027\x03\x02\x02\x02","\x029\x03\x02\x02\x02\x02;\x03\x02\x02\x02\x02","=\x03\x02\x02\x02\x02?\x03\x02\x02\x02\x02A\x03","\x02\x02\x02\x02C\x03\x02\x02\x02\x02E\x03\x02","\x02\x02\x02G\x03\x02\x02\x02\x02I\x03\x02\x02","\x02\x02K\x03\x02\x02\x02\x02M\x03\x02\x02\x02","\x02O\x03\x02\x02\x02\x02Q\x03\x02\x02\x02\x02","S\x03\x02\x02\x02\x02U\x03\x02\x02\x02\x02W\x03","\x02\x02\x02\x02Y\x03\x02\x02\x02\x02[\x03\x02","\x02\x02\x02]\x03\x02\x02\x02\x02_\x03\x02\x02","\x02\x02a\x03\x02\x02\x02\x02c\x03\x02\x02\x02","\x02e\x03\x02\x02\x02\x02g\x03\x02\x02\x02\x02","i\x03\x02\x02\x02\x02k\x03\x02\x02\x02\x02m\x03","\x02\x02\x02\x02o\x03\x02\x02\x02\x02q\x03\x02","\x02\x02\x02u\x03\x02\x02\x02\x02w\x03\x02\x02","\x02\x02y\x03\x02\x02\x02\x02{\x03\x02\x02\x02","\x02}\x03\x02\x02\x02\x02\x7f\x03\x02\x02\x02","\x02\x81\x03\x02\x02\x02\x03\x89\x03\x02\x02\x02","\x05\x8b\x03\x02\x02\x02\x07\x8d\x03\x02\x02\x02","\t\x8f\x03\x02\x02\x02\v\x91\x03\x02\x02\x02","\r\x93\x03\x02\x02\x02\x0f\x95\x03\x02\x02\x02","\x11\x97\x03\x02\x02\x02\x13\x9b\x03\x02\x02\x02","\x15\x9f\x03\x02\x02\x02\x17\xa1\x03\x02\x02\x02","\x19\xa3\x03\x02\x02\x02\x1b\xa6\x03\x02\x02\x02","\x1d\xa8\x03\x02\x02\x02\x1f\xaa\x03\x02\x02\x02","!\xad\x03\x02\x02\x02#\xb0\x03\x02\x02\x02%\xb3","\x03\x02\x02\x02'\xb5\x03\x02\x02\x02)\xb7\x03","\x02\x02\x02+\xba\x03\x02\x02\x02-\xbd\x03\x02","\x02\x02/\xc0\x03\x02\x02\x021\xc9\x03\x02\x02","\x023\xcd\x03\x02\x02\x025\xd0\x03\x02\x02\x02","7\xd4\x03\x02\x02\x029\xdc\x03\x02\x02\x02;\xde","\x03\x02\x02\x02=\xe0\x03\x02\x02\x02?\xe2\x03","\x02\x02\x02A\xe4\x03\x02\x02\x02C\xe9\x03\x02","\x02\x02E\xef\x03\x02\x02\x02G\xf1\x03\x02\x02","\x02I\xf7\x03\x02\x02\x02K\xfe\x03\x02\x02\x02","M\u0105\x03\x02\x02\x02O\u0107\x03\x02\x02\x02Q\u010c","\x03\x02\x02\x02S\u0112\x03\x02\x02\x02U\u0117\x03","\x02\x02\x02W\u011b\x03\x02\x02\x02Y\u0120\x03\x02","\x02\x02[\u0127\x03\x02\x02\x02]\u012e\x03\x02\x02","\x02_\u013a\x03\x02\x02\x02a\u0140\x03\x02\x02\x02","c\u0147\x03\x02\x02\x02e\u014d\x03\x02\x02\x02g\u0152","\x03\x02\x02\x02i\u0158\x03\x02\x02\x02k\u0160\x03","\x02\x02\x02m\u0168\x03\x02\x02\x02o\u0175\x03\x02","\x02\x02q\u018b\x03\x02\x02\x02s\u018f\x03\x02\x02","\x02u\u01ad\x03\x02\x02\x02w\u01b5\x03\x02\x02\x02","y\u01bf\x03\x02\x02\x02{\u01ca\x03\x02\x02\x02}\u01d7","\x03\x02\x02\x02\x7f\u01dd\x03\x02\x02\x02\x81\u01eb","\x03\x02\x02\x02\x83\u01f6\x03\x02\x02\x02\x85\u01fb","\x03\x02\x02\x02\x87\u0201\x03\x02\x02\x02\x89\x8a","\x070\x02\x02\x8a\x04\x03\x02\x02\x02\x8b\x8c","\x07]\x02\x02\x8c\x06\x03\x02\x02\x02\x8d\x8e","\x07_\x02\x02\x8e\b\x03\x02\x02\x02\x8f\x90\x07","-\x02\x02\x90\n\x03\x02\x02\x02\x91\x92\x07/\x02","\x02\x92\f\x03\x02\x02\x02\x93\x94\x07,\x02\x02","\x94\x0e\x03\x02\x02\x02\x95\x96\x071\x02\x02","\x96\x10\x03\x02\x02\x02\x97\x98\x07f\x02\x02","\x98\x99\x07k\x02\x02\x99\x9a\x07x\x02\x02\x9a","\x12\x03\x02\x02\x02\x9b\x9c\x07o\x02\x02\x9c","\x9d\x07q\x02\x02\x9d\x9e\x07f\x02\x02\x9e\x14","\x03\x02\x02\x02\x9f\xa0\x07(\x02\x02\xa0\x16","\x03\x02\x02\x02\xa1\xa2\x07~\x02\x02\xa2\x18","\x03\x02\x02\x02\xa3\xa4\x07>\x02\x02\xa4\xa5","\x07?\x02\x02\xa5\x1a\x03\x02\x02\x02\xa6\xa7","\x07>\x02\x02\xa7\x1c\x03\x02\x02\x02\xa8\xa9","\x07@\x02\x02\xa9\x1e\x03\x02\x02\x02\xaa\xab","\x07@\x02\x02\xab\xac\x07?\x02\x02\xac \x03\x02","\x02\x02\xad\xae\x07k\x02\x02\xae\xaf\x07u\x02",'\x02\xaf"\x03\x02\x02\x02\xb0\xb1\x07c\x02\x02',"\xb1\xb2\x07u\x02\x02\xb2$\x03\x02\x02\x02\xb3","\xb4\x07?\x02\x02\xb4&\x03\x02\x02\x02\xb5\xb6","\x07\x80\x02\x02\xb6(\x03\x02\x02\x02\xb7\xb8","\x07#\x02\x02\xb8\xb9\x07?\x02\x02\xb9*\x03\x02","\x02\x02\xba\xbb\x07#\x02\x02\xbb\xbc\x07\x80","\x02\x02\xbc,\x03\x02\x02\x02\xbd\xbe\x07k\x02","\x02\xbe\xbf\x07p\x02\x02\xbf.\x03\x02\x02\x02","\xc0\xc1\x07e\x02\x02\xc1\xc2\x07q\x02\x02\xc2","\xc3\x07p\x02\x02\xc3\xc4\x07v\x02\x02\xc4\xc5","\x07c\x02\x02\xc5\xc6\x07k\x02\x02\xc6\xc7\x07","p\x02\x02\xc7\xc8\x07u\x02\x02\xc80\x03\x02\x02","\x02\xc9\xca\x07c\x02\x02\xca\xcb\x07p\x02\x02","\xcb\xcc\x07f\x02\x02\xcc2\x03\x02\x02\x02\xcd","\xce\x07q\x02\x02\xce\xcf\x07t\x02\x02\xcf4\x03","\x02\x02\x02\xd0\xd1\x07z\x02\x02\xd1\xd2\x07","q\x02\x02\xd2\xd3\x07t\x02\x02\xd36\x03\x02\x02","\x02\xd4\xd5\x07k\x02\x02\xd5\xd6\x07o\x02\x02","\xd6\xd7\x07r\x02\x02\xd7\xd8\x07n\x02\x02\xd8","\xd9\x07k\x02\x02\xd9\xda\x07g\x02\x02\xda\xdb","\x07u\x02\x02\xdb8\x03\x02\x02\x02\xdc\xdd\x07","*\x02\x02\xdd:\x03\x02\x02\x02\xde\xdf\x07+\x02","\x02\xdf<\x03\x02\x02\x02\xe0\xe1\x07}\x02\x02","\xe1>\x03\x02\x02\x02\xe2\xe3\x07\x7f\x02\x02","\xe3@\x03\x02\x02\x02\xe4\xe5\x07v\x02\x02\xe5","\xe6\x07t\x02\x02\xe6\xe7\x07w\x02\x02\xe7\xe8","\x07g\x02\x02\xe8B\x03\x02\x02\x02\xe9\xea\x07","h\x02\x02\xea\xeb\x07c\x02\x02\xeb\xec\x07n\x02","\x02\xec\xed\x07u\x02\x02\xed\xee\x07g\x02\x02","\xeeD\x03\x02\x02\x02\xef\xf0\x07'\x02\x02\xf0","F\x03\x02\x02\x02\xf1\xf2\x07&\x02\x02\xf2\xf3","\x07v\x02\x02\xf3\xf4\x07j\x02\x02\xf4\xf5\x07","k\x02\x02\xf5\xf6\x07u\x02\x02\xf6H\x03\x02\x02","\x02\xf7\xf8\x07&\x02\x02\xf8\xf9\x07k\x02\x02","\xf9\xfa\x07p\x02\x02\xfa\xfb\x07f\x02\x02\xfb","\xfc\x07g\x02\x02\xfc\xfd\x07z\x02\x02\xfdJ\x03","\x02\x02\x02\xfe\xff\x07&\x02\x02\xff\u0100\x07","v\x02\x02\u0100\u0101\x07q\x02\x02\u0101\u0102\x07v\x02","\x02\u0102\u0103\x07c\x02\x02\u0103\u0104\x07n\x02\x02","\u0104L\x03\x02\x02\x02\u0105\u0106\x07.\x02\x02\u0106","N\x03\x02\x02\x02\u0107\u0108\x07{\x02\x02\u0108\u0109","\x07g\x02\x02\u0109\u010a\x07c\x02\x02\u010a\u010b\x07","t\x02\x02\u010bP\x03\x02\x02\x02\u010c\u010d\x07o\x02","\x02\u010d\u010e\x07q\x02\x02\u010e\u010f\x07p\x02\x02","\u010f\u0110\x07v\x02\x02\u0110\u0111\x07j\x02\x02\u0111","R\x03\x02\x02\x02\u0112\u0113\x07y\x02\x02\u0113\u0114","\x07g\x02\x02\u0114\u0115\x07g\x02\x02\u0115\u0116\x07","m\x02\x02\u0116T\x03\x02\x02\x02\u0117\u0118\x07f\x02","\x02\u0118\u0119\x07c\x02\x02\u0119\u011a\x07{\x02\x02","\u011aV\x03\x02\x02\x02\u011b\u011c\x07j\x02\x02\u011c","\u011d\x07q\x02\x02\u011d\u011e\x07w\x02\x02\u011e\u011f","\x07t\x02\x02\u011fX\x03\x02\x02\x02\u0120\u0121\x07","o\x02\x02\u0121\u0122\x07k\x02\x02\u0122\u0123\x07p\x02","\x02\u0123\u0124\x07w\x02\x02\u0124\u0125\x07v\x02\x02","\u0125\u0126\x07g\x02\x02\u0126Z\x03\x02\x02\x02\u0127","\u0128\x07u\x02\x02\u0128\u0129\x07g\x02\x02\u0129\u012a","\x07e\x02\x02\u012a\u012b\x07q\x02\x02\u012b\u012c\x07","p\x02\x02\u012c\u012d\x07f\x02\x02\u012d\\\x03\x02\x02","\x02\u012e\u012f\x07o\x02\x02\u012f\u0130\x07k\x02\x02","\u0130\u0131\x07n\x02\x02\u0131\u0132\x07n\x02\x02\u0132","\u0133\x07k\x02\x02\u0133\u0134\x07u\x02\x02\u0134\u0135","\x07g\x02\x02\u0135\u0136\x07e\x02\x02\u0136\u0137\x07","q\x02\x02\u0137\u0138\x07p\x02\x02\u0138\u0139\x07f\x02","\x02\u0139^\x03\x02\x02\x02\u013a\u013b\x07{\x02\x02","\u013b\u013c\x07g\x02\x02\u013c\u013d\x07c\x02\x02\u013d","\u013e\x07t\x02\x02\u013e\u013f\x07u\x02\x02\u013f`\x03","\x02\x02\x02\u0140\u0141\x07o\x02\x02\u0141\u0142\x07","q\x02\x02\u0142\u0143\x07p\x02\x02\u0143\u0144\x07v\x02","\x02\u0144\u0145\x07j\x02\x02\u0145\u0146\x07u\x02\x02","\u0146b\x03\x02\x02\x02\u0147\u0148\x07y\x02\x02\u0148","\u0149\x07g\x02\x02\u0149\u014a\x07g\x02\x02\u014a\u014b","\x07m\x02\x02\u014b\u014c\x07u\x02\x02\u014cd\x03\x02","\x02\x02\u014d\u014e\x07f\x02\x02\u014e\u014f\x07c\x02","\x02\u014f\u0150\x07{\x02\x02\u0150\u0151\x07u\x02\x02","\u0151f\x03\x02\x02\x02\u0152\u0153\x07j\x02\x02\u0153","\u0154\x07q\x02\x02\u0154\u0155\x07w\x02\x02\u0155\u0156","\x07t\x02\x02\u0156\u0157\x07u\x02\x02\u0157h\x03\x02","\x02\x02\u0158\u0159\x07o\x02\x02\u0159\u015a\x07k\x02","\x02\u015a\u015b\x07p\x02\x02\u015b\u015c\x07w\x02\x02","\u015c\u015d\x07v\x02\x02\u015d\u015e\x07g\x02\x02\u015e","\u015f\x07u\x02\x02\u015fj\x03\x02\x02\x02\u0160\u0161","\x07u\x02\x02\u0161\u0162\x07g\x02\x02\u0162\u0163\x07","e\x02\x02\u0163\u0164\x07q\x02\x02\u0164\u0165\x07p\x02","\x02\u0165\u0166\x07f\x02\x02\u0166\u0167\x07u\x02\x02","\u0167l\x03\x02\x02\x02\u0168\u0169\x07o\x02\x02\u0169","\u016a\x07k\x02\x02\u016a\u016b\x07n\x02\x02\u016b\u016c","\x07n\x02\x02\u016c\u016d\x07k\x02\x02\u016d\u016e\x07","u\x02\x02\u016e\u016f\x07g\x02\x02\u016f\u0170\x07e\x02","\x02\u0170\u0171\x07q\x02\x02\u0171\u0172\x07p\x02\x02","\u0172\u0173\x07f\x02\x02\u0173\u0174\x07u\x02\x02\u0174","n\x03\x02\x02\x02\u0175\u0176\x07B\x02\x02\u0176\u0177","\t\x02\x02\x02\u0177\u0178\t\x02\x02\x02\u0178\u0179\t\x02","\x02\x02\u0179\u0186\t\x02\x02\x02\u017a\u017b\x07/\x02","\x02\u017b\u017c\t\x02\x02\x02\u017c\u0184\t\x02\x02\x02","\u017d\u017e\x07/\x02\x02\u017e\u017f\t\x02\x02\x02\u017f","\u0182\t\x02\x02\x02\u0180\u0181\x07V\x02\x02\u0181\u0183","\x05s:\x02\u0182\u0180\x03\x02\x02\x02\u0182\u0183\x03","\x02\x02\x02\u0183\u0185\x03\x02\x02\x02\u0184\u017d\x03","\x02\x02\x02\u0184\u0185\x03\x02\x02\x02\u0185\u0187\x03","\x02\x02\x02\u0186\u017a\x03\x02\x02\x02\u0186\u0187\x03","\x02\x02\x02\u0187\u0189\x03\x02\x02\x02\u0188\u018a\x07","\\\x02\x02\u0189\u0188\x03\x02\x02\x02\u0189\u018a\x03","\x02\x02\x02\u018ap\x03\x02\x02\x02\u018b\u018c\x07","B\x02\x02\u018c\u018d\x07V\x02\x02\u018d\u018e\x05s:\x02","\u018er\x03\x02\x02\x02\u018f\u0190\t\x02\x02\x02\u0190","\u01a1\t\x02\x02\x02\u0191\u0192\x07<\x02\x02\u0192\u0193","\t\x02\x02\x02\u0193\u019f\t\x02\x02\x02\u0194\u0195\x07","<\x02\x02\u0195\u0196\t\x02\x02\x02\u0196\u019d\t\x02\x02","\x02\u0197\u0199\x070\x02\x02\u0198\u019a\t\x02\x02\x02","\u0199\u0198\x03\x02\x02\x02\u019a\u019b\x03\x02\x02\x02","\u019b\u0199\x03\x02\x02\x02\u019b\u019c\x03\x02\x02\x02","\u019c\u019e\x03\x02\x02\x02\u019d\u0197\x03\x02\x02\x02","\u019d\u019e\x03\x02\x02\x02\u019e\u01a0\x03\x02\x02\x02","\u019f\u0194\x03\x02\x02\x02\u019f\u01a0\x03\x02\x02\x02","\u01a0\u01a2\x03\x02\x02\x02\u01a1\u0191\x03\x02\x02\x02","\u01a1\u01a2\x03\x02\x02\x02\u01a2\u01aa\x03\x02\x02\x02","\u01a3\u01ab\x07\\\x02\x02\u01a4\u01a5\t\x03\x02\x02\u01a5","\u01a6\t\x02\x02\x02\u01a6\u01a7\t\x02\x02\x02\u01a7\u01a8","\x07<\x02\x02\u01a8\u01a9\t\x02\x02\x02\u01a9\u01ab\t\x02","\x02\x02\u01aa\u01a3\x03\x02\x02\x02\u01aa\u01a4\x03\x02","\x02\x02\u01aa\u01ab\x03\x02\x02\x02\u01abt\x03\x02","\x02\x02\u01ac\u01ae\t\x04\x02\x02\u01ad\u01ac\x03\x02","\x02\x02\u01ae\u01b2\x03\x02\x02\x02\u01af\u01b1\t\x05","\x02\x02\u01b0\u01af\x03\x02\x02\x02\u01b1\u01b4\x03\x02","\x02\x02\u01b2\u01b0\x03\x02\x02\x02\u01b2\u01b3\x03\x02","\x02\x02\u01b3v\x03\x02\x02\x02\u01b4\u01b2\x03\x02","\x02\x02\u01b5\u01ba\x07b\x02\x02\u01b6\u01b9\x05\x83","B\x02\u01b7\u01b9\n\x06\x02\x02\u01b8\u01b6\x03\x02\x02","\x02\u01b8\u01b7\x03\x02\x02\x02\u01b9\u01bc\x03\x02\x02","\x02\u01ba\u01b8\x03\x02\x02\x02\u01ba\u01bb\x03\x02\x02","\x02\u01bb\u01bd\x03\x02\x02\x02\u01bc\u01ba\x03\x02\x02","\x02\u01bd\u01be\x07b\x02\x02\u01bex\x03\x02\x02\x02","\u01bf\u01c4\x07)\x02\x02\u01c0\u01c3\x05\x83B\x02\u01c1","\u01c3\n\x07\x02\x02\u01c2\u01c0\x03\x02\x02\x02\u01c2","\u01c1\x03\x02\x02\x02\u01c3\u01c6\x03\x02\x02\x02\u01c4","\u01c2\x03\x02\x02\x02\u01c4\u01c5\x03\x02\x02\x02\u01c5","\u01c7\x03\x02\x02\x02\u01c6\u01c4\x03\x02\x02\x02\u01c7","\u01c8\x07)\x02\x02\u01c8z\x03\x02\x02\x02\u01c9\u01cb","\t\x02\x02\x02\u01ca\u01c9\x03\x02\x02\x02\u01cb\u01cc","\x03\x02\x02\x02\u01cc\u01ca\x03\x02\x02\x02\u01cc\u01cd","\x03\x02\x02\x02\u01cd\u01d4\x03\x02\x02\x02\u01ce\u01d0","\x070\x02\x02\u01cf\u01d1\t\x02\x02\x02\u01d0\u01cf\x03","\x02\x02\x02\u01d1\u01d2\x03\x02\x02\x02\u01d2\u01d0\x03","\x02\x02\x02\u01d2\u01d3\x03\x02\x02\x02\u01d3\u01d5\x03","\x02\x02\x02\u01d4\u01ce\x03\x02\x02\x02\u01d4\u01d5\x03","\x02\x02\x02\u01d5|\x03\x02\x02\x02\u01d6\u01d8\t\b\x02","\x02\u01d7\u01d6\x03\x02\x02\x02\u01d8\u01d9\x03\x02\x02","\x02\u01d9\u01d7\x03\x02\x02\x02\u01d9\u01da\x03\x02\x02","\x02\u01da\u01db\x03\x02\x02\x02\u01db\u01dc\b?\x02\x02","\u01dc~\x03\x02\x02\x02\u01dd\u01de\x071\x02\x02\u01de","\u01df\x07,\x02\x02\u01df\u01e3\x03\x02\x02\x02\u01e0","\u01e2\v\x02\x02\x02\u01e1\u01e0\x03\x02\x02\x02\u01e2","\u01e5\x03\x02\x02\x02\u01e3\u01e4\x03\x02\x02\x02\u01e3","\u01e1\x03\x02\x02\x02\u01e4\u01e6\x03\x02\x02\x02\u01e5","\u01e3\x03\x02\x02\x02\u01e6\u01e7\x07,\x02\x02\u01e7","\u01e8\x071\x02\x02\u01e8\u01e9\x03\x02\x02\x02\u01e9","\u01ea\b@\x02\x02\u01ea\x80\x03\x02\x02\x02\u01eb\u01ec","\x071\x02\x02\u01ec\u01ed\x071\x02\x02\u01ed\u01f1\x03","\x02\x02\x02\u01ee\u01f0\n\t\x02\x02\u01ef\u01ee\x03\x02","\x02\x02\u01f0\u01f3\x03\x02\x02\x02\u01f1\u01ef\x03\x02","\x02\x02\u01f1\u01f2\x03\x02\x02\x02\u01f2\u01f4\x03\x02","\x02\x02\u01f3\u01f1\x03\x02\x02\x02\u01f4\u01f5\bA\x02","\x02\u01f5\x82\x03\x02\x02\x02\u01f6\u01f9\x07^\x02","\x02\u01f7\u01fa\t\n\x02\x02\u01f8\u01fa\x05\x85C\x02\u01f9","\u01f7\x03\x02\x02\x02\u01f9\u01f8\x03\x02\x02\x02\u01fa","\x84\x03\x02\x02\x02\u01fb\u01fc\x07w\x02\x02\u01fc","\u01fd\x05\x87D\x02\u01fd\u01fe\x05\x87D\x02\u01fe\u01ff","\x05\x87D\x02\u01ff\u0200\x05\x87D\x02\u0200\x86\x03","\x02\x02\x02\u0201\u0202\t\v\x02\x02\u0202\x88\x03","\x02\x02\x02\x1a\x02\u0182\u0184\u0186\u0189\u019b\u019d\u019f","\u01a1\u01aa\u01ad\u01b0\u01b2\u01b8\u01ba\u01c2\u01c4\u01cc\u01d2\u01d4","\u01d9\u01e3\u01f1\u01f9\x03\x02\x03\x02"].join(""),g=(new c.atn.ATNDeserializer).deserialize(d),r=g.decisionToState.map((f,u)=>new c.dfa.DFA(f,u));class h extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(h,"grammarFileName","FHIRPath.g4"),n(h,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(h,"modeNames",["DEFAULT_MODE"]),n(h,"literalNames",[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),n(h,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),n(h,"ruleNames",["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","T__53","DATETIME","TIME","TIMEFORMAT","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT","ESC","UNICODE","HEX"]),h.EOF=c.Token.EOF,h.T__0=1,h.T__1=2,h.T__2=3,h.T__3=4,h.T__4=5,h.T__5=6,h.T__6=7,h.T__7=8,h.T__8=9,h.T__9=10,h.T__10=11,h.T__11=12,h.T__12=13,h.T__13=14,h.T__14=15,h.T__15=16,h.T__16=17,h.T__17=18,h.T__18=19,h.T__19=20,h.T__20=21,h.T__21=22,h.T__22=23,h.T__23=24,h.T__24=25,h.T__25=26,h.T__26=27,h.T__27=28,h.T__28=29,h.T__29=30,h.T__30=31,h.T__31=32,h.T__32=33,h.T__33=34,h.T__34=35,h.T__35=36,h.T__36=37,h.T__37=38,h.T__38=39,h.T__39=40,h.T__40=41,h.T__41=42,h.T__42=43,h.T__43=44,h.T__44=45,h.T__45=46,h.T__46=47,h.T__47=48,h.T__48=49,h.T__49=50,h.T__50=51,h.T__51=52,h.T__52=53,h.T__53=54,h.DATETIME=55,h.TIME=56,h.IDENTIFIER=57,h.DELIMITEDIDENTIFIER=58,h.STRING=59,h.NUMBER=60,h.WS=61,h.COMMENT=62,h.LINE_COMMENT=63,Ie.exports=h},6647:(Ie,B,a)=>{const n=a(5815);Ie.exports=class c extends n.tree.ParseTreeListener{enterEntireExpression(g){}exitEntireExpression(g){}enterIndexerExpression(g){}exitIndexerExpression(g){}enterPolarityExpression(g){}exitPolarityExpression(g){}enterAdditiveExpression(g){}exitAdditiveExpression(g){}enterMultiplicativeExpression(g){}exitMultiplicativeExpression(g){}enterUnionExpression(g){}exitUnionExpression(g){}enterOrExpression(g){}exitOrExpression(g){}enterAndExpression(g){}exitAndExpression(g){}enterMembershipExpression(g){}exitMembershipExpression(g){}enterInequalityExpression(g){}exitInequalityExpression(g){}enterInvocationExpression(g){}exitInvocationExpression(g){}enterEqualityExpression(g){}exitEqualityExpression(g){}enterImpliesExpression(g){}exitImpliesExpression(g){}enterTermExpression(g){}exitTermExpression(g){}enterTypeExpression(g){}exitTypeExpression(g){}enterInvocationTerm(g){}exitInvocationTerm(g){}enterLiteralTerm(g){}exitLiteralTerm(g){}enterExternalConstantTerm(g){}exitExternalConstantTerm(g){}enterParenthesizedTerm(g){}exitParenthesizedTerm(g){}enterNullLiteral(g){}exitNullLiteral(g){}enterBooleanLiteral(g){}exitBooleanLiteral(g){}enterStringLiteral(g){}exitStringLiteral(g){}enterNumberLiteral(g){}exitNumberLiteral(g){}enterDateTimeLiteral(g){}exitDateTimeLiteral(g){}enterTimeLiteral(g){}exitTimeLiteral(g){}enterQuantityLiteral(g){}exitQuantityLiteral(g){}enterExternalConstant(g){}exitExternalConstant(g){}enterMemberInvocation(g){}exitMemberInvocation(g){}enterFunctionInvocation(g){}exitFunctionInvocation(g){}enterThisInvocation(g){}exitThisInvocation(g){}enterIndexInvocation(g){}exitIndexInvocation(g){}enterTotalInvocation(g){}exitTotalInvocation(g){}enterFunctn(g){}exitFunctn(g){}enterParamList(g){}exitParamList(g){}enterQuantity(g){}exitQuantity(g){}enterUnit(g){}exitUnit(g){}enterDateTimePrecision(g){}exitDateTimePrecision(g){}enterPluralDateTimePrecision(g){}exitPluralDateTimePrecision(g){}enterTypeSpecifier(g){}exitTypeSpecifier(g){}enterQualifiedIdentifier(g){}exitQualifiedIdentifier(g){}enterIdentifier(g){}exitIdentifier(g){}}},8827:(Ie,B,a)=>{var n=a(8416).default;const c=a(5815),d=a(6647),g=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x03A\x9c\x04\x02\t\x02\x04\x03\t\x03\x04\x04","\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07","\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f","\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10\t\x10","\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03","\x03\x03\x05\x03(\n\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x07\x03","P\n\x03\f\x03\x0e\x03S\v\x03\x03\x04\x03\x04\x03","\x04\x03\x04\x03\x04\x03\x04\x03\x04\x05\x04\\","\n\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05","\x03\x05\x03\x05\x03\x05\x05\x05f\n\x05\x03\x06","\x03\x06\x03\x06\x05\x06k\n\x06\x03\x07\x03\x07","\x03\x07\x03\x07\x03\x07\x05\x07r\n\x07\x03\b\x03","\b\x03\b\x05\bw\n\b\x03\b\x03\b\x03\t\x03\t\x03\t\x07","\t~\n\t\f\t\x0e\t\x81\v\t\x03\n\x03\n\x05\n\x85\n\n","\x03\v\x03\v\x03\v\x05\v\x8a\n\v\x03","\f\x03\f\x03\r\x03\r\x03\x0e\x03\x0e\x03\x0f\x03","\x0f\x03\x0f\x07\x0f\x95\n\x0f\f\x0f\x0e\x0f\x98","\v\x0f\x03\x10\x03\x10\x03\x10\x02\x03\x04\x11","\x02\x04\x06\b\n\f\x0e\x10\x12\x14\x16\x18\x1a\x1c","\x1e\x02\x0e\x03\x02\x06\x07\x03\x02\b\v\x04","\x02\x06\x07\f\f\x03\x02\x0e\x11\x03\x02\x14\x17","\x03\x02\x18\x19\x03\x02\x1b\x1c\x03\x02\x12\x13",'\x03\x02"#\x03\x02)0\x03\x0218\x05\x02\x12\x13',"\x18\x19;<\x02\xad\x02 \x03\x02\x02\x02\x04'\x03","\x02\x02\x02\x06[\x03\x02\x02\x02\be\x03\x02\x02","\x02\ng\x03\x02\x02\x02\fq\x03\x02\x02\x02\x0es","\x03\x02\x02\x02\x10z\x03\x02\x02\x02\x12\x82","\x03\x02\x02\x02\x14\x89\x03\x02\x02\x02\x16\x8b","\x03\x02\x02\x02\x18\x8d\x03\x02\x02\x02\x1a\x8f","\x03\x02\x02\x02\x1c\x91\x03\x02\x02\x02\x1e\x99",'\x03\x02\x02\x02 !\x05\x04\x03\x02!"\x07\x02\x02','\x03"\x03\x03\x02\x02\x02#$\b\x03\x01\x02$(\x05',"\x06\x04\x02%&\t\x02\x02\x02&(\x05\x04\x03\r'#\x03","\x02\x02\x02'%\x03\x02\x02\x02(Q\x03\x02\x02\x02",")*\f\f\x02\x02*+\t\x03\x02\x02+P\x05\x04\x03\r,-\f\v","\x02\x02-.\t\x04\x02\x02.P\x05\x04\x03\f/0\f\n\x02","\x0201\x07\r\x02\x021P\x05\x04\x03\v23\f\t\x02\x02","34\t\x05\x02\x024P\x05\x04\x03\n56\f\x07\x02\x026","7\t\x06\x02\x027P\x05\x04\x03\b89\f\x06\x02\x029:","\t\x07\x02\x02:P\x05\x04\x03\x07;<\f\x05\x02\x02","<=\x07\x1a\x02\x02=P\x05\x04\x03\x06>?\f\x04\x02","\x02?@\t\b\x02\x02@P\x05\x04\x03\x05AB\f\x03\x02\x02","BC\x07\x1d\x02\x02CP\x05\x04\x03\x04DE\f\x0f\x02","\x02EF\x07\x03\x02\x02FP\x05\f\x07\x02GH\f\x0e\x02","\x02HI\x07\x04\x02\x02IJ\x05\x04\x03\x02JK\x07\x05","\x02\x02KP\x03\x02\x02\x02LM\f\b\x02\x02MN\t\t\x02","\x02NP\x05\x1a\x0e\x02O)\x03\x02\x02\x02O,\x03\x02","\x02\x02O/\x03\x02\x02\x02O2\x03\x02\x02\x02O5\x03","\x02\x02\x02O8\x03\x02\x02\x02O;\x03\x02\x02\x02","O>\x03\x02\x02\x02OA\x03\x02\x02\x02OD\x03\x02\x02","\x02OG\x03\x02\x02\x02OL\x03\x02\x02\x02PS\x03\x02","\x02\x02QO\x03\x02\x02\x02QR\x03\x02\x02\x02R\x05","\x03\x02\x02\x02SQ\x03\x02\x02\x02T\\\x05\f\x07","\x02U\\\x05\b\x05\x02V\\\x05\n\x06\x02WX\x07\x1e\x02","\x02XY\x05\x04\x03\x02YZ\x07\x1f\x02\x02Z\\\x03","\x02\x02\x02[T\x03\x02\x02\x02[U\x03\x02\x02\x02","[V\x03\x02\x02\x02[W\x03\x02\x02\x02\\\x07\x03\x02","\x02\x02]^\x07 \x02\x02^f\x07!\x02\x02_f\t\n\x02\x02","`f\x07=\x02\x02af\x07>\x02\x02bf\x079\x02\x02cf\x07",":\x02\x02df\x05\x12\n\x02e]\x03\x02\x02\x02e_\x03","\x02\x02\x02e`\x03\x02\x02\x02ea\x03\x02\x02\x02","eb\x03\x02\x02\x02ec\x03\x02\x02\x02ed\x03\x02\x02","\x02f\t\x03\x02\x02\x02gj\x07$\x02\x02hk\x05\x1e","\x10\x02ik\x07=\x02\x02jh\x03\x02\x02\x02ji\x03","\x02\x02\x02k\v\x03\x02\x02\x02lr\x05\x1e\x10","\x02mr\x05\x0e\b\x02nr\x07%\x02\x02or\x07&\x02\x02","pr\x07'\x02\x02ql\x03\x02\x02\x02qm\x03\x02\x02","\x02qn\x03\x02\x02\x02qo\x03\x02\x02\x02qp\x03\x02","\x02\x02r\r\x03\x02\x02\x02st\x05\x1e\x10\x02tv","\x07\x1e\x02\x02uw\x05\x10\t\x02vu\x03\x02\x02\x02","vw\x03\x02\x02\x02wx\x03\x02\x02\x02xy\x07\x1f\x02","\x02y\x0f\x03\x02\x02\x02z\x7f\x05\x04\x03\x02","{|\x07(\x02\x02|~\x05\x04\x03\x02}{\x03\x02\x02","\x02~\x81\x03\x02\x02\x02\x7f}\x03\x02\x02\x02","\x7f\x80\x03\x02\x02\x02\x80\x11\x03\x02\x02\x02","\x81\x7f\x03\x02\x02\x02\x82\x84\x07>\x02\x02","\x83\x85\x05\x14\v\x02\x84\x83\x03\x02\x02\x02","\x84\x85\x03\x02\x02\x02\x85\x13\x03\x02\x02\x02","\x86\x8a\x05\x16\f\x02\x87\x8a\x05\x18\r\x02\x88","\x8a\x07=\x02\x02\x89\x86\x03\x02\x02\x02\x89","\x87\x03\x02\x02\x02\x89\x88\x03\x02\x02\x02\x8a","\x15\x03\x02\x02\x02\x8b\x8c\t\v\x02\x02\x8c","\x17\x03\x02\x02\x02\x8d\x8e\t\f\x02\x02\x8e\x19","\x03\x02\x02\x02\x8f\x90\x05\x1c\x0f\x02\x90\x1b","\x03\x02\x02\x02\x91\x96\x05\x1e\x10\x02\x92\x93","\x07\x03\x02\x02\x93\x95\x05\x1e\x10\x02\x94\x92","\x03\x02\x02\x02\x95\x98\x03\x02\x02\x02\x96\x94","\x03\x02\x02\x02\x96\x97\x03\x02\x02\x02\x97\x1d","\x03\x02\x02\x02\x98\x96\x03\x02\x02\x02\x99\x9a","\t\r\x02\x02\x9a\x1f\x03\x02\x02\x02\x0e'OQ[ejqv","\x7f\x84\x89\x96"].join(""),r=(new c.atn.ATNDeserializer).deserialize(g),h=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),f=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,h,f),this.ruleNames=u.ruleNames,this.literalNames=u.literalNames,this.symbolicNames=u.symbolicNames}get atn(){return r}sempred(N,oe,Y){if(1===oe)return this.expression_sempred(N,Y);throw"No predicate with index:"+oe}expression_sempred(N,oe){switch(oe){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,5);case 5:return this.precpred(this._ctx,4);case 6:return this.precpred(this._ctx,3);case 7:return this.precpred(this._ctx,2);case 8:return this.precpred(this._ctx,1);case 9:return this.precpred(this._ctx,13);case 10:return this.precpred(this._ctx,12);case 11:return this.precpred(this._ctx,6);default:throw"No predicate with index:"+oe}}entireExpression(){let N=new v(this,this._ctx,this.state);this.enterRule(N,0,u.RULE_entireExpression);try{this.enterOuterAlt(N,1),this.state=30,this.expression(0),this.state=31,this.match(u.EOF)}catch(oe){if(!(oe instanceof c.error.RecognitionException))throw oe;N.exception=oe,this._errHandler.reportError(this,oe),this._errHandler.recover(this,oe)}finally{this.exitRule()}return N}expression(N){void 0===N&&(N=0);const oe=this._ctx,Y=this.state;let ne=new b(this,this._ctx,Y),Q=ne;this.enterRecursionRule(ne,2,u.RULE_expression,N);var Te=0;try{switch(this.enterOuterAlt(ne,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case u.T__15:case u.T__16:case u.T__21:case u.T__22:case u.T__27:case u.T__29:case u.T__31:case u.T__32:case u.T__33:case u.T__34:case u.T__35:case u.T__36:case u.DATETIME:case u.TIME:case u.IDENTIFIER:case u.DELIMITEDIDENTIFIER:case u.STRING:case u.NUMBER:ne=new ie(this,ne),this._ctx=ne,Q=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,Q=ne,this.state=35,(Te=this._input.LA(1))===u.T__3||Te===u.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new c.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Ct=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Ct&&Ct!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===Ct)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),Q=ne,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(ne=new y(this,new b(this,oe,Y)),this.pushNewRecursionContext(ne,2,u.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new c.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(Te=this._input.LA(1)))&&1<'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),n(u,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),n(u,"ruleNames",["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"]),u.EOF=c.Token.EOF,u.T__0=1,u.T__1=2,u.T__2=3,u.T__3=4,u.T__4=5,u.T__5=6,u.T__6=7,u.T__7=8,u.T__8=9,u.T__9=10,u.T__10=11,u.T__11=12,u.T__12=13,u.T__13=14,u.T__14=15,u.T__15=16,u.T__16=17,u.T__17=18,u.T__18=19,u.T__19=20,u.T__20=21,u.T__21=22,u.T__22=23,u.T__23=24,u.T__24=25,u.T__25=26,u.T__26=27,u.T__27=28,u.T__28=29,u.T__29=30,u.T__30=31,u.T__31=32,u.T__32=33,u.T__33=34,u.T__34=35,u.T__35=36,u.T__36=37,u.T__37=38,u.T__38=39,u.T__39=40,u.T__40=41,u.T__41=42,u.T__42=43,u.T__43=44,u.T__44=45,u.T__45=46,u.T__46=47,u.T__47=48,u.T__48=49,u.T__49=50,u.T__50=51,u.T__51=52,u.T__52=53,u.T__53=54,u.DATETIME=55,u.TIME=56,u.IDENTIFIER=57,u.DELIMITEDIDENTIFIER=58,u.STRING=59,u.NUMBER=60,u.WS=61,u.COMMENT=62,u.LINE_COMMENT=63,u.RULE_entireExpression=0,u.RULE_expression=1,u.RULE_term=2,u.RULE_literal=3,u.RULE_externalConstant=4,u.RULE_invocation=5,u.RULE_functn=6,u.RULE_paramList=7,u.RULE_quantity=8,u.RULE_unit=9,u.RULE_dateTimePrecision=10,u.RULE_pluralDateTimePrecision=11,u.RULE_typeSpecifier=12,u.RULE_qualifiedIdentifier=13,u.RULE_identifier=14;class v extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_entireExpression}expression(){return this.getTypedRuleContext(b,0)}EOF(){return this.getToken(u.EOF,0)}enterRule(N){N instanceof d&&N.enterEntireExpression(this)}exitRule(N){N instanceof d&&N.exitEntireExpression(this)}}class b extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_expression}copyFrom(N){super.copyFrom(N)}}class p extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterIndexerExpression(this)}exitRule(N){N instanceof d&&N.exitIndexerExpression(this)}}u.IndexerExpressionContext=p;class _ extends b{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}enterRule(N){N instanceof d&&N.enterPolarityExpression(this)}exitRule(N){N instanceof d&&N.exitPolarityExpression(this)}}u.PolarityExpressionContext=_;class l extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterAdditiveExpression(this)}exitRule(N){N instanceof d&&N.exitAdditiveExpression(this)}}u.AdditiveExpressionContext=l;class y extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterMultiplicativeExpression(this)}exitRule(N){N instanceof d&&N.exitMultiplicativeExpression(this)}}u.MultiplicativeExpressionContext=y;class x extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterUnionExpression(this)}exitRule(N){N instanceof d&&N.exitUnionExpression(this)}}u.UnionExpressionContext=x;class D extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterOrExpression(this)}exitRule(N){N instanceof d&&N.exitOrExpression(this)}}u.OrExpressionContext=D;class S extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterAndExpression(this)}exitRule(N){N instanceof d&&N.exitAndExpression(this)}}u.AndExpressionContext=S;class E extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterMembershipExpression(this)}exitRule(N){N instanceof d&&N.exitMembershipExpression(this)}}u.MembershipExpressionContext=E;class I extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterInequalityExpression(this)}exitRule(N){N instanceof d&&N.exitInequalityExpression(this)}}u.InequalityExpressionContext=I;class X extends b{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(N){N instanceof d&&N.enterInvocationExpression(this)}exitRule(N){N instanceof d&&N.exitInvocationExpression(this)}}u.InvocationExpressionContext=X;class $ extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterEqualityExpression(this)}exitRule(N){N instanceof d&&N.exitEqualityExpression(this)}}u.EqualityExpressionContext=$;class ee extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterImpliesExpression(this)}exitRule(N){N instanceof d&&N.exitImpliesExpression(this)}}u.ImpliesExpressionContext=ee;class ie extends b{constructor(N,oe){super(N),super.copyFrom(oe)}term(){return this.getTypedRuleContext(U,0)}enterRule(N){N instanceof d&&N.enterTermExpression(this)}exitRule(N){N instanceof d&&N.exitTermExpression(this)}}u.TermExpressionContext=ie;class A extends b{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}typeSpecifier(){return this.getTypedRuleContext(Le,0)}enterRule(N){N instanceof d&&N.enterTypeExpression(this)}exitRule(N){N instanceof d&&N.exitTypeExpression(this)}}u.TypeExpressionContext=A;class U extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_term}copyFrom(N){super.copyFrom(N)}}class Me extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(se,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Me;class Re extends U{constructor(N,oe){super(N),super.copyFrom(oe)}literal(){return this.getTypedRuleContext(H,0)}enterRule(N){N instanceof d&&N.enterLiteralTerm(this)}exitRule(N){N instanceof d&&N.exitLiteralTerm(this)}}u.LiteralTermContext=Re;class Ae extends U{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}enterRule(N){N instanceof d&&N.enterParenthesizedTerm(this)}exitRule(N){N instanceof d&&N.exitParenthesizedTerm(this)}}u.ParenthesizedTermContext=Ae;class he extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=he;class H extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_literal}copyFrom(N){super.copyFrom(N)}}class W extends H{constructor(N,oe){super(N),super.copyFrom(oe)}TIME(){return this.getToken(u.TIME,0)}enterRule(N){N instanceof d&&N.enterTimeLiteral(this)}exitRule(N){N instanceof d&&N.exitTimeLiteral(this)}}u.TimeLiteralContext=W;class pe extends H{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterNullLiteral(this)}exitRule(N){N instanceof d&&N.exitNullLiteral(this)}}u.NullLiteralContext=pe;class we extends H{constructor(N,oe){super(N),super.copyFrom(oe)}DATETIME(){return this.getToken(u.DATETIME,0)}enterRule(N){N instanceof d&&N.enterDateTimeLiteral(this)}exitRule(N){N instanceof d&&N.exitDateTimeLiteral(this)}}u.DateTimeLiteralContext=we;class Ee extends H{constructor(N,oe){super(N),super.copyFrom(oe)}STRING(){return this.getToken(u.STRING,0)}enterRule(N){N instanceof d&&N.enterStringLiteral(this)}exitRule(N){N instanceof d&&N.exitStringLiteral(this)}}u.StringLiteralContext=Ee;class Be extends H{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterBooleanLiteral(this)}exitRule(N){N instanceof d&&N.exitBooleanLiteral(this)}}u.BooleanLiteralContext=Be;class G extends H{constructor(N,oe){super(N),super.copyFrom(oe)}NUMBER(){return this.getToken(u.NUMBER,0)}enterRule(N){N instanceof d&&N.enterNumberLiteral(this)}exitRule(N){N instanceof d&&N.exitNumberLiteral(this)}}u.NumberLiteralContext=G;class re extends H{constructor(N,oe){super(N),super.copyFrom(oe)}quantity(){return this.getTypedRuleContext(gt,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class se extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_externalConstant}identifier(){return this.getTypedRuleContext(ze,0)}STRING(){return this.getToken(u.STRING,0)}enterRule(N){N instanceof d&&N.enterExternalConstant(this)}exitRule(N){N instanceof d&&N.exitExternalConstant(this)}}class ye extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_invocation}copyFrom(N){super.copyFrom(N)}}class He extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterTotalInvocation(this)}exitRule(N){N instanceof d&&N.exitTotalInvocation(this)}}u.TotalInvocationContext=He;class Ze extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterThisInvocation(this)}exitRule(N){N instanceof d&&N.exitThisInvocation(this)}}u.ThisInvocationContext=Ze;class Qe extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterIndexInvocation(this)}exitRule(N){N instanceof d&&N.exitIndexInvocation(this)}}u.IndexInvocationContext=Qe;class We extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Mt,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=We;class tt extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}identifier(){return this.getTypedRuleContext(ze,0)}enterRule(N){N instanceof d&&N.enterMemberInvocation(this)}exitRule(N){N instanceof d&&N.exitMemberInvocation(this)}}u.MemberInvocationContext=tt;class Mt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_functn}identifier(){return this.getTypedRuleContext(ze,0)}paramList(){return this.getTypedRuleContext(Ft,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Ft extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),n(this,"expression",function(ne){return void 0===ne&&(ne=null),null===ne?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,ne)}),this.parser=N,this.ruleIndex=u.RULE_paramList}enterRule(N){N instanceof d&&N.enterParamList(this)}exitRule(N){N instanceof d&&N.exitParamList(this)}}class gt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_quantity}NUMBER(){return this.getToken(u.NUMBER,0)}unit(){return this.getTypedRuleContext(Bt,0)}enterRule(N){N instanceof d&&N.enterQuantity(this)}exitRule(N){N instanceof d&&N.exitQuantity(this)}}class Bt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_unit}dateTimePrecision(){return this.getTypedRuleContext(Tt,0)}pluralDateTimePrecision(){return this.getTypedRuleContext(kt,0)}STRING(){return this.getToken(u.STRING,0)}enterRule(N){N instanceof d&&N.enterUnit(this)}exitRule(N){N instanceof d&&N.exitUnit(this)}}class Tt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_dateTimePrecision}enterRule(N){N instanceof d&&N.enterDateTimePrecision(this)}exitRule(N){N instanceof d&&N.exitDateTimePrecision(this)}}class kt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_pluralDateTimePrecision}enterRule(N){N instanceof d&&N.enterPluralDateTimePrecision(this)}exitRule(N){N instanceof d&&N.exitPluralDateTimePrecision(this)}}class Le extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_typeSpecifier}qualifiedIdentifier(){return this.getTypedRuleContext(ct,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class ct extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),n(this,"identifier",function(ne){return void 0===ne&&(ne=null),null===ne?this.getTypedRuleContexts(ze):this.getTypedRuleContext(ze,ne)}),this.parser=N,this.ruleIndex=u.RULE_qualifiedIdentifier}enterRule(N){N instanceof d&&N.enterQualifiedIdentifier(this)}exitRule(N){N instanceof d&&N.exitQualifiedIdentifier(this)}}class ze extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_identifier}IDENTIFIER(){return this.getToken(u.IDENTIFIER,0)}DELIMITEDIDENTIFIER(){return this.getToken(u.DELIMITEDIDENTIFIER,0)}enterRule(N){N instanceof d&&N.enterIdentifier(this)}exitRule(N){N instanceof d&&N.exitIdentifier(this)}}u.EntireExpressionContext=v,u.ExpressionContext=b,u.TermContext=U,u.LiteralContext=H,u.ExternalConstantContext=se,u.InvocationContext=ye,u.FunctnContext=Mt,u.ParamListContext=Ft,u.QuantityContext=gt,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=kt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=ct,u.IdentifierContext=ze,Ie.exports=u},7661:(Ie,B,a)=>{const n=a(5815),c=a(2472),d=a(8827),g=a(6647);class r extends n.error.ErrorListener{constructor(u){super(),this.errors=u}syntaxError(u,v,b,p,_,l){this.errors.push([u,v,b,p,_,l])}}Ie.exports={parse:function(f){var u=new n.InputStream(f),v=new c(u),b=new n.CommonTokenStream(v),p=new d(b);p.buildParseTrees=!0;var _=[],l=new r(_);v.removeErrorListeners(),v.addErrorListener(l),p.removeErrorListeners(),p.addErrorListener(l);var y=p.entireExpression();class x extends g{constructor(){super()}}var S,D={},E=[D];for(let $ of Object.getOwnPropertyNames(g.prototype))$.startsWith("enter")?x.prototype[$]=function(ee){let ie=E[E.length-1];(S={type:$.slice(5)}).text=ee.getText(),ie.children||(ie.children=[]),ie.children.push(S),E.push(S),S.terminalNodeText=[];for(let U of ee.children)U.symbol&&S.terminalNodeText.push(U.getText())}:$.startsWith("exit")&&(x.prototype[$]=function(){E.pop()});var I=new x;if(n.tree.ParseTreeWalker.DEFAULT.walk(I,y),_.length>0){let $=[];for(let ee=0,ie=_.length;ee{const Ie=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(B){return"number"==typeof B&&isFinite(B)&&Math.floor(B)===B},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(B,a){return this.indexOf(B,a=a||0)===a}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(B,a){var n=this.toString();(void 0===a||a>n.length)&&(a=n.length);var c=n.indexOf(B,a-=B.length);return-1!==c&&c===a}}),String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(){return-1!==this.indexOf.apply(this,arguments)}}),Object.assign||Object.defineProperty(Object,"assign",{value:function(B){if(null==B)throw new TypeError("Cannot convert undefined or null to object");return Ie(arguments,1).reduce(function(a,n){return Object.keys(Object(n)).forEach(function(c){a[c]=n[c]}),a},Object(B))}}),typeof btoa>"u"&&(global.btoa=function(B){return new Buffer.from(B,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(B){return new Buffer.from(B,"base64").toString("binary")})},4702:(Ie,B,a)=>{const n=a(5827),c=a(6777),d={},g={};d.indexOf=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(f,u,v){const b=c.singleton(f,"String");return n.isEmpty(b)||n.isEmpty(u)||u<0||u>=b.length?[]:void 0===v||n.isEmpty(v)?b.substring(u):b.substring(u,u+v)},d.startsWith=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(f,u){return void 0===u&&(u=""),f.map(b=>{const p=n.valData(b);if("string"==typeof p)return p;throw new Error("Join requires a collection of strings.")}).join(u)},d.splitFn=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(v)?[]:"urlbase64"===u||"base64url"===u?btoa(v).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===u?btoa(v):"hex"===u?Array.from(v).map(b=>b.charCodeAt(0)<128?b.charCodeAt(0).toString(16):encodeURIComponent(b).replace(/%/g,"")).join(""):[]},d.decodeFn=function(f,u){const v=c.singleton(f,"String");if(n.isEmpty(v))return[];if("urlbase64"===u||"base64url"===u)return atob(v.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===u)return atob(v);if("hex"===u){if(v.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+v.match(/.{2}/g).join("%"))}return[]},d.matches=!1===new RegExp("").dotAll?function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(f){return g[f]||(g[f]=f.replace(/\./g,(u,v,b)=>{const _=b.substr(0,v).replace(/\\\\/g,"").replace(/\\[\][]/g,""),l="\\"===_[_.length-1],y=_.lastIndexOf("["),x=_.lastIndexOf("]");return l||y>x?".":"[^]"})),g[f]}(u)).test(v)},d.replace=function(f,u,v){const b=c.singleton(f,"String");if(n.isEmpty(u)||n.isEmpty(v)||n.isEmpty(b))return[];const p=new RegExp(n.escapeStringForRegExp(u),"g");return b.replace(p,v)},d.replaceMatches=function(f,u,v){const b=c.singleton(f,"String");if(n.isEmpty(u)||n.isEmpty(v)||n.isEmpty(b))return[];const p=new RegExp(u,"g");return b.replace(p,v)},d.length=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.split("")},Ie.exports=d},4217:(Ie,B,a)=>{var n=a(8416).default;const c=a(3745),d=a(2207).ng.getInstance(),g=a(4192);let h="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",f=new RegExp("^T?"+h+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+h+")?)?)?Z?$"),v=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$");class b{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class p extends b{constructor(A,U){super(),this.asStr=A+" "+U,this.value=A,this.unit=U}equals(A){if(!(A instanceof this.constructor))return!1;if(this.unit===A.unit)return g.isEqual(this.value,A.value);const U=this._compareYearsAndMonths(A);if(U)return U.isEqual;const Me=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Me.unit);return"succeeded"===Ae.status&&g.isEqual(Me.value,Ae.toVal)}equivalentTo(A){if(!(A instanceof this.constructor))return!1;if(this.unit===A.unit)return g.isEquivalent(this.value,A.value);const U=p.getEquivalentUcumUnitCode(this.unit),Me=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Me,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Me=p._yearMonthConversionFactor[A.unit];return U&&Me?{isEqual:g.isEqual(this.value*U,A.value*Me)}:null}}const _=/^'|'$/g;p.getEquivalentUcumUnitCode=function(ie){return p.mapTimeUnitsToUCUMCode[ie]||ie.replace(_,"")},p.toUcumQuantity=function(ie,A){const U=p._calendarDuration2Seconds[A];return U?{value:U*ie,unit:"s"}:{value:ie,unit:A.replace(_,"")}},p.convUnitTo=function(ie,A,U){const Me=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Me&&Re)return new p(Me*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],he=p._calendarDuration2Seconds[U];if(he){if(Ae)return new p(Ae*A/he,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/he,U)}}else{const H=Ae?d.convertUnitTo("s",Ae*A,U.replace(/^'|'$/g,"")):d.convertUnitTo(ie.replace(/^'|'$/g,""),A,U.replace(/^'|'$/g,""));if("succeeded"===H.status)return new p(H.toVal,U)}return null},p._calendarDuration2Seconds={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60,second:1,millisecond:.001},p._yearMonthConversionFactor={years:12,months:1,year:12,month:1},p.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},p.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},p.mapTimeUnitsToUCUMCode=Object.keys(p.mapUCUMCodeToTimeUnits).reduce(function(ie,A){return ie[p.mapUCUMCodeToTimeUnits[A]]=A,ie[p.mapUCUMCodeToTimeUnits[A]+"s"]=A,ie},{});class l extends b{constructor(A){super(),this.asStr=A}plus(A){let Me=p.arithmeticDurationUnits[A.unit];if(!Me)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(p.arithmeticDurationUnits));const Re=this.constructor,Ae=Re._timeUnitToDatePrecision[Me];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let he=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(he=Math.trunc(he)),this._getPrecision()2?new y(he)._getTimeParts():this._getTimeParts(),pe=Re>2?new y(H)._getTimeParts():A._getTimeParts(),we=0;we<=Ae&&!1!==U;++we)U=W[we]==pe[we];U&&(U=void 0)}}else U=!1;return U}equivalentTo(A){var U=A instanceof this.constructor;return U&&(U=this._getPrecision()==A._getPrecision())&&(U=this._getDateObj().getTime()==A._getDateObj().getTime()),U}compare(A){var U=this._getPrecision(),Me=A._getPrecision(),Re=U<=Me?this._getDateObj().getTime():this._dateAtPrecision(Me).getTime(),Ae=Me<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Me&&Re===Ae?null:Re-Ae}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(A,U){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(A),this.timeMatchData))for(let Me=U;Me>=0&&void 0===this.precision;--Me)this.timeMatchData[Me]&&(this.precision=Me);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Me=A[4];if(Me){let H=U[0];U[0]=H.slice(0,H.length-Me.length)}var Re=A[1];if(Re){let H=U[0];U[0]=H.slice(0,H.length-Re.length),U[1]=Re;var Ae=A[2];if(Ae){U[1]=Re.slice(0,Re.length-Ae.length),U[2]=Ae;var he=A[3];he&&(U[2]=Ae.slice(0,Ae.length-he.length),U[3]=he)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Me,Re,Ae,he,H,W){var pe=new Date(A,U,Me,Re,Ae,he,H);if(W){var we=pe.getTimezoneOffset(),Ee=0;if("Z"!=W){var Be=W.split(":"),G=parseInt(Be[0]);Ee=parseInt(Be[1]),G<0&&(Ee=-Ee),Ee+=60*G}pe=c(pe,-we-Ee)}return pe}}l.timeUnitToAddFn={year:a(3763),month:a(1277),week:a(338),day:a(2860),hour:a(6888),minute:a(3745),second:a(3857),millisecond:a(3895)};let y=(()=>{class ie extends l{constructor(U){super(U)}compare(U){if(!(U instanceof ie))throw"Invalid comparison of a DateTime with something else";return super.compare(U)}_getMatchData(){return super._getMatchData(u,5)}_getTimeParts(){if(!this.timeParts){let Me=this._getMatchData(),Re=Me[0];this.timeParts=[Re];var U=Me[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Me[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let he=Me[3];he&&(this.timeParts[2]=Ae.slice(0,Ae.length-he.length),"T"===he[0]&&(Me[3]=he.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Me.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Me=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),he=parseInt(Me[0]),H=Ae>0?parseInt(Me[1].slice(1))-1:0,W=Ae>1?parseInt(Me[2].slice(1)):1,pe=Ae>2?parseInt(Me[3]):0,we=Ae>3?parseInt(Me[4].slice(1)):0,Ee=Ae>4?parseInt(Me[5].slice(1)):0,Be=Me.length>6?parseInt(Me[6].slice(1)):0,G=this._createDate(he,H,W,pe,we,Ee,Be,Re);return U0?G.getMonth():0,W=U>1?G.getDate():1,pe=U>2?G.getHours():0,we=U>3?G.getMinutes():0,G=new Date(he,H,W,pe,we)),G}}return ie.checkString=function(A){let U=new ie(A);return U._getMatchData()||(U=null),U},ie._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},ie._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],ie})(),x=(()=>{class ie extends l{constructor(U){"T"==U[0]&&(U=U.slice(1)),super(U)}compare(U){if(!(U instanceof ie))throw"Invalid comparison of a time with something else";return super.compare(U)}_dateAtPrecision(U){var Me=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Me[0]),we=Ae>0?parseInt(Me[1].slice(1)):0,Ee=Ae>1?parseInt(Me[2].slice(1)):0,Be=Me.length>3?parseInt(Me[3].slice(1)):0,G=this._createDate(2010,0,1,pe,we,Ee,Be,Re);return Re&&(G.setYear(2010),G.setMonth(0),G.setDate(1)),U0?G.getMinutes():0,G=new Date(2010,0,1,pe,we)),G}_getMatchData(){return super._getMatchData(f,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return ie.checkString=function(A){let U=new ie(A);return U._getMatchData()||(U=null),U},ie._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},ie._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],ie})();function D(ie,A){var U=ie;return 3===A&&ie<100&&(U="0"+ie),ie<10&&(U="0"+U),U}y.isoDateTime=function(ie,A){void 0===A&&(A=5);var U=""+ie.getFullYear();if(A>0&&(U+="-"+D(ie.getMonth()+1),A>1&&(U+="-"+D(ie.getDate()),A>2&&(U+="T"+y.isoTime(ie,A-3)))),A>2){var Me=ie.getTimezoneOffset(),Re=Me<0?"+":"-",Ae=(Me=Math.abs(Me))%60;U+=Re+D((Me-Ae)/60)+":"+D(Ae)}return U},y.isoTime=function(ie,A){void 0===A&&(A=2);let U=""+D(ie.getHours());return A>0&&(U+=":"+D(ie.getMinutes()),A>1&&(U+=":"+D(ie.getSeconds()),ie.getMilliseconds()&&(U+="."+D(ie.getMilliseconds(),3)))),U};let S=(()=>{class ie extends y{constructor(U){super(U)}_getMatchData(){return l.prototype._getMatchData.apply(this,[v,2])}}return ie.checkString=function(A){let U=new ie(A);return U._getMatchData()||(U=null),U},ie.isoDate=function(A,U){return(void 0===U||U>2)&&(U=2),y.isoDateTime(A,U)},ie})(),E=(()=>{class ie{constructor(U,Me,Re){U?.resourceType&&(Me=U.resourceType),this.path=Me,this.data=U,this._data=Re||{}}getTypeInfo(){const U=I.FHIR;return/^System\.(.*)$/.test(this.path)?new I({namespace:I.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new I({namespace:U,name:this.path}):I.model?new I({namespace:U,name:"BackboneElement"}):I.createByValueInNamespace({namespace:U,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var U=this.data;if(I.isType(this.path,"Quantity")){if("http://unitsofmeasure.org"===U?.system&&"number"==typeof U.value&&"string"==typeof U.code){if(void 0!==U.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");U=new p(U.value,p.mapUCUMCodeToTimeUnits[U.code]||"'"+U.code+"'")}}else"date"===this.path?U=S.checkString(U)||U:"dateTime"===this.path?U=y.checkString(U)||U:"time"===this.path&&(U=x.checkString(U)||U);return U}}return ie.makeResNode=function(A,U,Me){return A instanceof ie?A:new ie(A,U,Me)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Me}){this.name=U,this.namespace=Me}is(U){return U instanceof ie&&(!this.namespace||!U.namespace||this.namespace===U.namespace)&&(!ie.model||this.namespace&&this.namespace!==ie.FHIR?this.name===U.name:ie.isType(this.name,U.name))}}return n(ie,"model",null),ie.isType=function(A,U){do{if(A===U)return!0}while(A=ie.model?.type2Parent[A]);return!1},ie.System="System",ie.FHIR="FHIR",ie.createByValueInNamespace=function({namespace:A,value:U}){let Me=typeof U;return Number.isInteger(U)?Me="integer":"number"===Me?Me="decimal":U instanceof S?Me="date":U instanceof y?Me="dateTime":U instanceof x?Me="time":U instanceof p&&(Me="Quantity"),A===ie.System&&(Me=Me.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Me})},ie.fromValue=function(A){return A instanceof E?A.getTypeInfo():ie.createByValueInNamespace({namespace:ie.System,value:A})},ie})();Ie.exports={FP_Type:b,FP_TimeBase:l,FP_Date:S,FP_DateTime:y,FP_Time:x,FP_Quantity:p,timeRE:f,dateTimeRE:u,ResourceNode:E,TypeInfo:I,typeFn:function X(ie){return ie.map(A=>I.fromValue(A))},isFn:function $(ie,A){if(0===ie.length)return[];if(ie.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(ie));return I.fromValue(ie[0]).is(A)},asFn:function ee(ie,A){if(0===ie.length)return[];if(ie.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(ie));return I.fromValue(ie[0]).is(A)?ie:[]}}},5827:(Ie,B,a)=>{const n={},c=a(4217);let{ResourceNode:d}=c;n.raiseError=function(g,r){throw(r=r?r+": ":"")+g},n.assertAtMostOne=function(g,r){g.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(g),r)},n.assertType=function(g,r,h){let f=this.valData(g);if(r.indexOf(typeof f)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,h)}return f},n.isEmpty=function(g){return Array.isArray(g)&&0==g.length},n.isSome=function(g){return null!=g&&!n.isEmpty(g)},n.isTrue=function(g){return null!=g&&(!0===g||1==g.length&&!0===g[0])},n.isFalse=function(g){return null!=g&&(!1===g||1==g.length&&!1===g[0])},n.isCapitalized=function(g){return g&&g[0]===g[0].toUpperCase()},n.flatten=function(g){return g.reduce(function(r,h){return Array.isArray(h)?r=r.concat(h):r.push(h),r},[])},n.arraify=function(g){return Array.isArray(g)?g:n.isSome(g)?[g]:[]},n.valData=function(g){return g instanceof d?g.data:g},n.valDataConverted=function(g){return g instanceof d&&(g=g.convertData()),g},n.escapeStringForRegExp=function(g){return g.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},Ie.exports=n},220:Ie=>{"use strict";Ie.exports=function(B,a){for(var n={},c=Object.keys(B),d=Array.isArray(a),g=0;g{"use strict";Ie.exports=Number.isFinite||function(B){return!("number"!=typeof B||B!=B||B===1/0||B===-1/0)}},4864:(Ie,B,a)=>{var n=a(9136);Ie.exports=Number.isInteger||function(c){return"number"==typeof c&&n(c)&&Math.floor(c)===c}},3187:(Ie,B)=>{function n(c,d){var g=[],r=[];return null==d&&(d=function(h,f){return g[0]===f?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(f)).join(".")+"]"}),function(h,f){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,h):r.push(h),~g.indexOf(f)&&(f=d.call(this,h,f))}else g.push(f);return null==c?f:c.call(this,h,f)}}(Ie.exports=function a(c,d,g,r){return JSON.stringify(c,n(d,r),g)}).getSerialize=n},7253:Ie=>{var B=1e3,a=60*B,n=60*a,c=24*n;function f(u,v,b){if(!(u0)return function g(u){if(!((u=String(u)).length>100)){var v=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(u);if(v){var b=parseFloat(v[1]);switch((v[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*b;case"days":case"day":case"d":return b*c;case"hours":case"hour":case"hrs":case"hr":case"h":return b*n;case"minutes":case"minute":case"mins":case"min":case"m":return b*a;case"seconds":case"second":case"secs":case"sec":case"s":return b*B;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}(u);if("number"===b&&!1===isNaN(u))return v.long?function h(u){return f(u,c,"day")||f(u,n,"hour")||f(u,a,"minute")||f(u,B,"second")||u+" ms"}(u):function r(u){return u>=c?Math.round(u/c)+"d":u>=n?Math.round(u/n)+"h":u>=a?Math.round(u/a)+"m":u>=B?Math.round(u/B)+"s":u+"ms"}(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))}},4783:Ie=>{"use strict";const B=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!B)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!B.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');Ie.exports.AbortController=B.AbortController},133:(Ie,B,a)=>{"use strict";const n=a(8385),c=a(4989),d=a(6144),g=a(220),h=Symbol("encodeFragmentIdentifier");function v(E){if("string"!=typeof E||1!==E.length)throw new TypeError("arrayFormatSeparator must be single character string")}function b(E,I){return I.encode?I.strict?n(E):encodeURIComponent(E):E}function p(E,I){return I.decode?c(E):E}function _(E){return Array.isArray(E)?E.sort():"object"==typeof E?_(Object.keys(E)).sort((I,X)=>Number(I)-Number(X)).map(I=>E[I]):E}function l(E){const I=E.indexOf("#");return-1!==I&&(E=E.slice(0,I)),E}function x(E){const I=(E=l(E)).indexOf("?");return-1===I?"":E.slice(I+1)}function D(E,I){return I.parseNumbers&&!Number.isNaN(Number(E))&&"string"==typeof E&&""!==E.trim()?E=Number(E):I.parseBooleans&&null!==E&&("true"===E.toLowerCase()||"false"===E.toLowerCase())&&(E="true"===E.toLowerCase()),E}function S(E,I){v((I=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},I)).arrayFormatSeparator);const X=function u(E){let I;switch(E.arrayFormat){case"index":return(X,$,ee)=>{I=/\[(\d*)\]$/.exec(X),X=X.replace(/\[\d*\]$/,""),I?(void 0===ee[X]&&(ee[X]={}),ee[X][I[1]]=$):ee[X]=$};case"bracket":return(X,$,ee)=>{I=/(\[\])$/.exec(X),ee[X=X.replace(/\[\]$/,"")]=I?void 0!==ee[X]?[].concat(ee[X],$):[$]:$};case"colon-list-separator":return(X,$,ee)=>{I=/(:list)$/.exec(X),ee[X=X.replace(/:list$/,"")]=I?void 0!==ee[X]?[].concat(ee[X],$):[$]:$};case"comma":case"separator":return(X,$,ee)=>{const ie="string"==typeof $&&$.includes(E.arrayFormatSeparator),A="string"==typeof $&&!ie&&p($,E).includes(E.arrayFormatSeparator);$=A?p($,E):$;const U=ie||A?$.split(E.arrayFormatSeparator).map(Me=>p(Me,E)):null===$?$:p($,E);ee[X]=U};case"bracket-separator":return(X,$,ee)=>{const ie=/(\[\])$/.test(X);if(X=X.replace(/\[\]$/,""),!ie)return void(ee[X]=$&&p($,E));const A=null===$?[]:$.split(E.arrayFormatSeparator).map(U=>p(U,E));ee[X]=void 0!==ee[X]?[].concat(ee[X],A):A};default:return(X,$,ee)=>{ee[X]=void 0!==ee[X]?[].concat(ee[X],$):$}}}(I),$=Object.create(null);if("string"!=typeof E||!(E=E.trim().replace(/^[?#&]/,"")))return $;for(const ee of E.split("&")){if(""===ee)continue;let[ie,A]=d(I.decode?ee.replace(/\+/g," "):ee,"=");A=void 0===A?null:["comma","separator","bracket-separator"].includes(I.arrayFormat)?A:p(A,I),X(p(ie,I),A,$)}for(const ee of Object.keys($)){const ie=$[ee];if("object"==typeof ie&&null!==ie)for(const A of Object.keys(ie))ie[A]=D(ie[A],I);else $[ee]=D(ie,I)}return!1===I.sort?$:(!0===I.sort?Object.keys($).sort():Object.keys($).sort(I.sort)).reduce((ee,ie)=>{const A=$[ie];return ee[ie]=A&&"object"==typeof A&&!Array.isArray(A)?_(A):A,ee},Object.create(null))}B.extract=x,B.parse=S,B.stringify=(E,I)=>{if(!E)return"";v((I=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},I)).arrayFormatSeparator);const X=A=>I.skipNull&&(E=>null==E)(E[A])||I.skipEmptyString&&""===E[A],$=function f(E){switch(E.arrayFormat){case"index":return I=>(X,$)=>{const ee=X.length;return void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,[b(I,E),"[",ee,"]"].join("")]:[...X,[b(I,E),"[",b(ee,E),"]=",b($,E)].join("")]};case"bracket":return I=>(X,$)=>void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,[b(I,E),"[]"].join("")]:[...X,[b(I,E),"[]=",b($,E)].join("")];case"colon-list-separator":return I=>(X,$)=>void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,[b(I,E),":list="].join("")]:[...X,[b(I,E),":list=",b($,E)].join("")];case"comma":case"separator":case"bracket-separator":{const I="bracket-separator"===E.arrayFormat?"[]=":"=";return X=>($,ee)=>void 0===ee||E.skipNull&&null===ee||E.skipEmptyString&&""===ee?$:(ee=null===ee?"":ee,0===$.length?[[b(X,E),I,b(ee,E)].join("")]:[[$,b(ee,E)].join(E.arrayFormatSeparator)])}default:return I=>(X,$)=>void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,b(I,E)]:[...X,[b(I,E),"=",b($,E)].join("")]}}(I),ee={};for(const A of Object.keys(E))X(A)||(ee[A]=E[A]);const ie=Object.keys(ee);return!1!==I.sort&&ie.sort(I.sort),ie.map(A=>{const U=E[A];return void 0===U?"":null===U?b(A,I):Array.isArray(U)?0===U.length&&"bracket-separator"===I.arrayFormat?b(A,I)+"[]":U.reduce($(A),[]).join("&"):b(A,I)+"="+b(U,I)}).filter(A=>A.length>0).join("&")},B.parseUrl=(E,I)=>{I=Object.assign({decode:!0},I);const[X,$]=d(E,"#");return Object.assign({url:X.split("?")[0]||"",query:S(x(E),I)},I&&I.parseFragmentIdentifier&&$?{fragmentIdentifier:p($,I)}:{})},B.stringifyUrl=(E,I)=>{I=Object.assign({encode:!0,strict:!0,[h]:!0},I);const X=l(E.url).split("?")[0]||"",$=B.extract(E.url),ee=B.parse($,{sort:!1}),ie=Object.assign(ee,E.query);let A=B.stringify(ie,I);A&&(A=`?${A}`);let U=function y(E){let I="";const X=E.indexOf("#");return-1!==X&&(I=E.slice(X)),I}(E.url);return E.fragmentIdentifier&&(U=`#${I[h]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[h]:!1},X);const{url:$,query:ee,fragmentIdentifier:ie}=B.parseUrl(E,X);return B.stringifyUrl({url:$,query:g(ee,I),fragmentIdentifier:ie},X)},B.exclude=(E,I,X)=>{const $=Array.isArray(I)?ee=>!I.includes(ee):(ee,ie)=>!I(ee,ie);return B.pick(E,$,X)}},5619:(Ie,B,a)=>{"use strict";a.d(B,{X:()=>c});var n=a(8645);class c extends n.x{constructor(g){super(),this._value=g}get value(){return this.getValue()}_subscribe(g){const r=super._subscribe(g);return!r.closed&&g.next(this._value),r}getValue(){const{hasError:g,thrownError:r,_value:h}=this;if(g)throw r;return this._throwIfClosed(),h}next(g){super.next(this._value=g)}}},5592:(Ie,B,a)=>{"use strict";a.d(B,{y:()=>u});var n=a(305),c=a(7394),d=a(4850),g=a(8407),r=a(2653),h=a(4674),f=a(1441);let u=(()=>{class _{constructor(y){y&&(this._subscribe=y)}lift(y){const x=new _;return x.source=this,x.operator=y,x}subscribe(y,x,D){const S=function p(_){return _&&_ instanceof n.Lv||function b(_){return _&&(0,h.m)(_.next)&&(0,h.m)(_.error)&&(0,h.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,f.x)(()=>{const{operator:E,source:I}=this;S.add(E?E.call(S,I):I?this._subscribe(S):this._trySubscribe(S))}),S}_trySubscribe(y){try{return this._subscribe(y)}catch(x){y.error(x)}}forEach(y,x){return new(x=v(x))((D,S)=>{const E=new n.Hp({next:I=>{try{y(I)}catch(X){S(X),E.unsubscribe()}},error:S,complete:D});this.subscribe(E)})}_subscribe(y){var x;return null===(x=this.source)||void 0===x?void 0:x.subscribe(y)}[d.L](){return this}pipe(...y){return(0,g.U)(y)(this)}toPromise(y){return new(y=v(y))((x,D)=>{let S;this.subscribe(E=>S=E,E=>D(E),()=>x(S))})}}return _.create=l=>new _(l),_})();function v(_){var l;return null!==(l=_??r.config.Promise)&&void 0!==l?l:Promise}},7328:(Ie,B,a)=>{"use strict";a.d(B,{t:()=>d});var n=a(8645),c=a(4552);class d extends n.x{constructor(r=1/0,h=1/0,f=c.l){super(),this._bufferSize=r,this._windowTime=h,this._timestampProvider=f,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=h===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,h)}next(r){const{isStopped:h,_buffer:f,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;h||(f.push(r),!u&&f.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const h=this._innerSubscribe(r),{_infiniteTimeWindow:f,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>f});var n=a(5592),c=a(7394);const g=(0,a(2306).d)(v=>function(){v(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var r=a(9039),h=a(1441);let f=(()=>{class v extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const _=new u(this,this);return _.operator=p,_}_throwIfClosed(){if(this.closed)throw new g}next(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:_,isStopped:l,observers:y}=this;return _||l?c.Lc:(this.currentObservers=null,y.push(p),new c.w0(()=>{this.currentObservers=null,(0,r.P)(y,p)}))}_checkFinalizedStatuses(p){const{hasError:_,thrownError:l,isStopped:y}=this;_?p.error(l):y&&p.complete()}asObservable(){const p=new n.y;return p.source=this,p}}return v.create=(b,p)=>new u(b,p),v})();class u extends f{constructor(b,p){super(),this.destination=b,this.source=p}next(b){var p,_;null===(_=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===_||_.call(p,b)}error(b){var p,_;null===(_=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===_||_.call(p,b)}complete(){var b,p;null===(p=null===(b=this.destination)||void 0===b?void 0:b.complete)||void 0===p||p.call(b)}_subscribe(b){var p,_;return null!==(_=null===(p=this.source)||void 0===p?void 0:p.subscribe(b))&&void 0!==_?_:c.Lc}}},305:(Ie,B,a)=>{"use strict";a.d(B,{Hp:()=>D,Lv:()=>_});var n=a(4674),c=a(7394),d=a(2653),g=a(3894),r=a(2420);const h=v("C",void 0,void 0);function v($,ee,ie){return{kind:$,value:ee,error:ie}}var b=a(7599),p=a(1441);class _ extends c.w0{constructor(ee){super(),this.isStopped=!1,ee?(this.destination=ee,(0,c.Nn)(ee)&&ee.add(this)):this.destination=X}static create(ee,ie,A){return new D(ee,ie,A)}next(ee){this.isStopped?I(function u($){return v("N",$,void 0)}(ee),this):this._next(ee)}error(ee){this.isStopped?I(function f($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(h,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ee){this.destination.next(ee)}_error(ee){try{this.destination.error(ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const l=Function.prototype.bind;function y($,ee){return l.call($,ee)}class x{constructor(ee){this.partialObserver=ee}next(ee){const{partialObserver:ie}=this;if(ie.next)try{ie.next(ee)}catch(A){S(A)}}error(ee){const{partialObserver:ie}=this;if(ie.error)try{ie.error(ee)}catch(A){S(A)}else S(ee)}complete(){const{partialObserver:ee}=this;if(ee.complete)try{ee.complete()}catch(ie){S(ie)}}}class D extends _{constructor(ee,ie,A){let U;if(super(),(0,n.m)(ee)||!ee)U={next:ee??void 0,error:ie??void 0,complete:A??void 0};else{let Me;this&&d.config.useDeprecatedNextContext?(Me=Object.create(ee),Me.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Me),error:ee.error&&y(ee.error,Me),complete:ee.complete&&y(ee.complete,Me)}):U=ee}this.destination=new x(U)}}function S($){d.config.useDeprecatedSynchronousErrorHandling?(0,p.O)($):(0,g.h)($)}function I($,ee){const{onStoppedNotification:ie}=d.config;ie&&b.z.setTimeout(()=>ie($,ee))}const X={closed:!0,next:r.Z,error:function E($){throw $},complete:r.Z}},7394:(Ie,B,a)=>{"use strict";a.d(B,{Lc:()=>h,w0:()=>r,Nn:()=>f});var n=a(4674);const d=(0,a(2306).d)(v=>function(p){v(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((_,l)=>`${l+1}) ${_.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var g=a(9039);class r{constructor(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let b;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const y of p)y.remove(this);else p.remove(this);const{initialTeardown:_}=this;if((0,n.m)(_))try{_()}catch(y){b=y instanceof d?y.errors:[y]}const{_finalizers:l}=this;if(l){this._finalizers=null;for(const y of l)try{u(y)}catch(x){b=b??[],x instanceof d?b=[...b,...x.errors]:b.push(x)}}if(b)throw new d(b)}}add(b){var p;if(b&&b!==this)if(this.closed)u(b);else{if(b instanceof r){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(b)}}_hasParent(b){const{_parentage:p}=this;return p===b||Array.isArray(p)&&p.includes(b)}_addParent(b){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(b),p):p?[p,b]:b}_removeParent(b){const{_parentage:p}=this;p===b?this._parentage=null:Array.isArray(p)&&(0,g.P)(p,b)}remove(b){const{_finalizers:p}=this;p&&(0,g.P)(p,b),b instanceof r&&b._removeParent(this)}}r.EMPTY=(()=>{const v=new r;return v.closed=!0,v})();const h=r.EMPTY;function f(v){return v instanceof r||v&&"closed"in v&&(0,n.m)(v.remove)&&(0,n.m)(v.add)&&(0,n.m)(v.unsubscribe)}function u(v){(0,n.m)(v)?v():v.unsubscribe()}},2653:(Ie,B,a)=>{"use strict";a.d(B,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Ie,B,a)=>{"use strict";a.d(B,{c:()=>h});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class h extends n.y{constructor(u,v){super(),this.source=u,this.subjectFactory=v,this._subject=null,this._refCount=0,this._connection=null,(0,r.A)(u)&&(this.lift=u.lift)}_subscribe(u){return this.getSubject().subscribe(u)}getSubject(){const u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:u}=this;this._subject=this._connection=null,u?.unsubscribe()}connect(){let u=this._connection;if(!u){u=this._connection=new c.w0;const v=this.getSubject();u.add(this.source.subscribe((0,g.x)(v,void 0,()=>{this._teardown(),v.complete()},b=>{this._teardown(),v.error(b)},()=>this._teardown()))),u.closed&&(this._connection=null,u=c.w0.EMPTY)}return u}refCount(){return(0,d.x)()(this)}}},2572:(Ie,B,a)=>{"use strict";a.d(B,{a:()=>b,l:()=>p});var n=a(5592),c=a(7453),d=a(2459),g=a(2737),r=a(7400),h=a(9940),f=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,h.yG)(l),x=(0,h.jO)(l),{args:D,keys:S}=(0,c.D)(l);if(0===D.length)return(0,d.D)([],y);const E=new n.y(p(D,y,S?I=>(0,f.n)(S,I):g.y));return x?E.pipe((0,r.Z)(x)):E}function p(l,y,x=g.y){return D=>{_(y,()=>{const{length:S}=l,E=new Array(S);let I=S,X=S;for(let $=0;${const ee=(0,d.D)(l[$],y);let ie=!1;ee.subscribe((0,u.x)(D,A=>{E[$]=A,ie||(ie=!0,X--),X||D.next(x(E.slice()))},()=>{--I||D.complete()}))},D)},D)}}function _(l,y,x){l?(0,v.f)(x,l,y):y()}},34:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>g});var n=a(1948),c=a(9940),d=a(2459);function g(...r){return(0,n.u)()((0,d.D)(r,(0,c.yG)(r)))}},4911:(Ie,B,a)=>{"use strict";a.d(B,{P:()=>d});var n=a(5592),c=a(4829);function d(g){return new n.y(r=>{(0,c.Xf)(g()).subscribe(r)})}},6232:(Ie,B,a)=>{"use strict";a.d(B,{E:()=>c});const c=new(a(5592).y)(r=>r.complete())},9315:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>u});var n=a(5592),c=a(7453),d=a(4829),g=a(9940),r=a(8251),h=a(7400),f=a(2714);function u(...v){const b=(0,g.jO)(v),{args:p,keys:_}=(0,c.D)(v),l=new n.y(y=>{const{length:x}=p;if(!x)return void y.complete();const D=new Array(x);let S=x,E=x;for(let I=0;I{X||(X=!0,E--),D[I]=$},()=>S--,void 0,()=>{(!S||!X)&&(E||y.next(_?(0,f.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,h.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),h=a(5592),u=a(4971),v=a(4674),b=a(7103);function _(ie,A){if(!ie)throw new Error("Iterable cannot be null");return new h.y(U=>{(0,b.f)(U,A,()=>{const Me=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Me.next().then(Re=>{Re.done?U.complete():U.next(Re.value)})},0,!0)})})}var l=a(8382),y=a(4026),x=a(4266),D=a(3664),S=a(5726),E=a(9853),I=a(541);function ee(ie,A){return A?function $(ie,A){if(null!=ie){if((0,l.c)(ie))return function g(ie,A){return(0,n.Xf)(ie).pipe((0,d.R)(A),(0,c.Q)(A))}(ie,A);if((0,x.z)(ie))return function f(ie,A){return new h.y(U=>{let Me=0;return A.schedule(function(){Me===ie.length?U.complete():(U.next(ie[Me++]),U.closed||this.schedule())})})}(ie,A);if((0,y.t)(ie))return function r(ie,A){return(0,n.Xf)(ie).pipe((0,d.R)(A),(0,c.Q)(A))}(ie,A);if((0,S.D)(ie))return _(ie,A);if((0,D.T)(ie))return function p(ie,A){return new h.y(U=>{let Me;return(0,b.f)(U,A,()=>{Me=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Me.next())}catch(he){return void U.error(he)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Me?.return)&&Me.return()})}(ie,A);if((0,I.L)(ie))return function X(ie,A){return _((0,I.Q)(ie),A)}(ie,A)}throw(0,E.z)(ie)}(ie,A):(0,n.Xf)(ie)}},2438:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>b});var n=a(4829),c=a(5592),d=a(9769),g=a(4266),r=a(4674),h=a(7400);const f=["addListener","removeListener"],u=["addEventListener","removeEventListener"],v=["on","off"];function b(x,D,S,E){if((0,r.m)(S)&&(E=S,S=void 0),E)return b(x,D,S).pipe((0,h.Z)(E));const[I,X]=function y(x){return(0,r.m)(x.addEventListener)&&(0,r.m)(x.removeEventListener)}(x)?u.map($=>ee=>x[$](D,ee,S)):function _(x){return(0,r.m)(x.addListener)&&(0,r.m)(x.removeListener)}(x)?f.map(p(x,D)):function l(x){return(0,r.m)(x.on)&&(0,r.m)(x.off)}(x)?v.map(p(x,D)):[];if(!I&&(0,g.z)(x))return(0,d.z)($=>b($,D,S))((0,n.Xf)(x));if(!I)throw new TypeError("Invalid event target");return new c.y($=>{const ee=(...ie)=>$.next(1X(ee)})}function p(x,D){return S=>E=>x[S](D,E)}},4829:(Ie,B,a)=>{"use strict";a.d(B,{Xf:()=>l});var n=a(655),c=a(4266),d=a(4026),g=a(5592),r=a(8382),h=a(5726),f=a(9853),u=a(3664),v=a(541),b=a(4674),p=a(3894),_=a(4850);function l($){if($ instanceof g.y)return $;if(null!=$){if((0,r.c)($))return function y($){return new g.y(ee=>{const ie=$[_.L]();if((0,b.m)(ie.subscribe))return ie.subscribe(ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($);if((0,c.z)($))return function x($){return new g.y(ee=>{for(let ie=0;ie<$.length&&!ee.closed;ie++)ee.next($[ie]);ee.complete()})}($);if((0,d.t)($))return function D($){return new g.y(ee=>{$.then(ie=>{ee.closed||(ee.next(ie),ee.complete())},ie=>ee.error(ie)).then(null,p.h)})}($);if((0,h.D)($))return E($);if((0,u.T)($))return function S($){return new g.y(ee=>{for(const ie of $)if(ee.next(ie),ee.closed)return;ee.complete()})}($);if((0,v.L)($))return function I($){return E((0,v.Q)($))}($)}throw(0,f.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Me;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(ie=(0,n.__asyncValues)($);!(A=yield ie.next()).done;)if(ee.next(A.value),ee.closed)return}catch(Re){U={error:Re}}finally{try{A&&!A.done&&(Me=ie.return)&&(yield Me.call(ie))}finally{if(U)throw U.error}}ee.complete()})})($,ee).catch(ie=>ee.error(ie))})}},3019:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>h});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function h(...f){const u=(0,g.yG)(f),v=(0,g._6)(f,1/0),b=f;return b.length?1===b.length?(0,c.Xf)(b[0]):(0,n.J)(v)((0,r.D)(b,u)):d.E}},2096:(Ie,B,a)=>{"use strict";a.d(B,{of:()=>d});var n=a(9940),c=a(2459);function d(...g){const r=(0,n.yG)(g);return(0,c.D)(g,r)}},3684:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>h,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...f){return 1===(f=(0,d.k)(f)).length?(0,c.Xf)(f[0]):new n.y(h(f))}function h(f){return u=>{let v=[];for(let b=0;v&&!u.closed&&b{if(v){for(let _=0;_{"use strict";a.d(B,{_:()=>d});var n=a(5592),c=a(4674);function d(g,r){const h=(0,c.m)(g)?g:()=>g,f=u=>u.error(h());return new n.y(r?u=>r.schedule(f,0,u):f)}},9080:(Ie,B,a)=>{"use strict";a.d(B,{H:()=>r});var n=a(5592),c=a(6321),d=a(671),g=a(93);function r(h=0,f,u=c.P){let v=-1;return null!=f&&((0,d.K)(f)?u=f:v=f),new n.y(b=>{let p=(0,g.q)(h)?+h-u.now():h;p<0&&(p=0);let _=0;return u.schedule(function(){b.closed||(b.next(_++),0<=v?this.schedule(void 0,v):b.complete())},p)})}},9278:(Ie,B,a)=>{"use strict";a.d(B,{$:()=>f});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),h=a(9940);function f(...u){const v=(0,h.jO)(u),b=(0,d.k)(u);return b.length?new n.y(p=>{let _=b.map(()=>[]),l=b.map(()=>!1);p.add(()=>{_=l=null});for(let y=0;!p.closed&&y{if(_[y].push(x),_.every(D=>D.length)){const D=_.map(S=>S.shift());p.next(v?v(...D):D),_.some((S,E)=>!S.length&&l[E])&&p.complete()}},()=>{l[y]=!0,!_[y].length&&p.complete()}));return()=>{_=l=null}}):g.E}},8251:(Ie,B,a)=>{"use strict";a.d(B,{Q:()=>d,x:()=>c});var n=a(305);function c(g,r,h,f,u){return new d(g,r,h,f,u)}class d extends n.Lv{constructor(r,h,f,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=h?function(p){try{h(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:h}=this;super.unsubscribe(),!h&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}},6301:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>g});var n=a(9360),c=a(4829),d=a(8251);function g(r){return(0,n.e)((h,f)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,f.next(y)}p&&f.complete()},l=()=>{b=null,p&&f.complete()};h.subscribe((0,d.x)(f,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(f,_,l))},()=>{p=!0,(!u||!b||b.closed)&&f.complete()}))})}},8672:(Ie,B,a)=>{"use strict";a.d(B,{e:()=>g});var n=a(6321),c=a(6301),d=a(9080);function g(r,h=n.z){return(0,c.U)(()=>(0,d.H)(r,h))}},6306:(Ie,B,a)=>{"use strict";a.d(B,{K:()=>g});var n=a(4829),c=a(8251),d=a(9360);function g(r){return(0,d.e)((h,f)=>{let b,u=null,v=!1;u=h.subscribe((0,c.x)(f,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(h))),u?(u.unsubscribe(),u=null,b.subscribe(f)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(f))})}},1948:(Ie,B,a)=>{"use strict";a.d(B,{u:()=>c});var n=a(7537);function c(){return(0,n.J)(1)}},6328:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>d});var n=a(9769),c=a(4674);function d(g,r){return(0,c.m)(r)?(0,n.z)(g,r,1):(0,n.z)(g,1)}},3620:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>g});var n=a(6321),c=a(9360),d=a(8251);function g(r,h=n.z){return(0,c.e)((f,u)=>{let v=null,b=null,p=null;const _=()=>{if(v){v.unsubscribe(),v=null;const y=b;b=null,u.next(y)}};function l(){const y=p+r,x=h.now();if(x{b=y,p=h.now(),v||(v=h.schedule(l,r),u.add(v))},()=>{_(),u.complete()},void 0,()=>{b=v=null}))})}},3572:(Ie,B,a)=>{"use strict";a.d(B,{d:()=>d});var n=a(9360),c=a(8251);function d(g){return(0,n.e)((r,h)=>{let f=!1;r.subscribe((0,c.x)(h,u=>{f=!0,h.next(u)},()=>{f||h.next(g),h.complete()}))})}},7547:(Ie,B,a)=>{"use strict";a.d(B,{g:()=>g});var n=a(6321),c=a(4610),d=a(9080);function g(r,h=n.z){const f=(0,d.H)(r,h);return(0,c.j)(()=>f)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>f});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),h=a(4829);function f(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(f(u))):(0,r.z)((b,p)=>(0,h.Xf)(u(b,p)).pipe((0,c.q)(1),(0,g.h)(b)))}},3997:(Ie,B,a)=>{"use strict";a.d(B,{x:()=>g});var n=a(2737),c=a(9360),d=a(8251);function g(h,f=n.y){return h=h??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=f(_);(p||!h(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(h,f){return h===f}},2181:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>d});var n=a(9360),c=a(8251);function d(g,r){return(0,n.e)((h,f)=>{let u=0;h.subscribe((0,c.x)(f,v=>g.call(r,v,u++)&&f.next(v)))})}},4716:(Ie,B,a)=>{"use strict";a.d(B,{x:()=>c});var n=a(9360);function c(d){return(0,n.e)((g,r)=>{try{g.subscribe(r)}finally{r.add(d)}})}},1374:(Ie,B,a)=>{"use strict";a.d(B,{P:()=>f});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),h=a(2737);function f(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):h.y,(0,d.q)(1),b?(0,g.d)(v):(0,r.T)(()=>new n.K))}},7538:(Ie,B,a)=>{"use strict";a.d(B,{l:()=>g});var n=a(9360),c=a(8251),d=a(2420);function g(){return(0,n.e)((r,h)=>{r.subscribe((0,c.x)(h,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>f});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),h=a(2737);function f(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):h.y,(0,d.h)(1),b?(0,r.d)(v):(0,g.T)(()=>new n.K))}},7398:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>d});var n=a(9360),c=a(8251);function d(g,r){return(0,n.e)((h,f)=>{let u=0;h.subscribe((0,c.x)(f,v=>{f.next(g.call(r,v,u++))}))})}},975:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>c});var n=a(7398);function c(d){return(0,n.U)(()=>d)}},7537:(Ie,B,a)=>{"use strict";a.d(B,{J:()=>d});var n=a(9769),c=a(2737);function d(g=1/0){return(0,n.z)(c.y,g)}},564:(Ie,B,a)=>{"use strict";a.d(B,{p:()=>g});var n=a(4829),c=a(7103),d=a(8251);function g(r,h,f,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&h.complete()},E=X=>y{b&&h.next(X),y++;let $=!1;(0,n.Xf)(f(X,x++)).subscribe((0,d.x)(h,ee=>{v?.(ee),b?E(ee):h.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){h.error(ee)}}))};return r.subscribe((0,d.x)(h,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>h});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function h(f,u,v=1/0){return(0,r.m)(u)?h((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(f(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,f,v)))}},3093:(Ie,B,a)=>{"use strict";a.d(B,{Q:()=>g});var n=a(7103),c=a(9360),d=a(8251);function g(r,h=0){return(0,c.e)((f,u)=>{f.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),h),()=>(0,n.f)(u,r,()=>u.complete(),h),v=>(0,n.f)(u,r,()=>u.error(v),h)))})}},6196:(Ie,B,a)=>{"use strict";a.d(B,{x:()=>d});var n=a(9360),c=a(8251);function d(){return(0,n.e)((g,r)=>{let h=null;g._refCount++;const f=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(h=null);const u=g._connection,v=h;h=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(f),f.closed||(h=g.connect())})}},6424:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>d});var n=a(9360),c=a(9732);function d(g,r){return(0,n.e)((0,c.U)(g,r,arguments.length>=2,!0))}},9732:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>c});var n=a(8251);function c(d,g,r,h,f){return(u,v)=>{let b=r,p=g,_=0;u.subscribe((0,n.x)(v,l=>{const y=_++;p=b?d(p,l,y):(b=!0,l),h&&v.next(p)},f&&(()=>{b&&v.next(p),v.complete()})))}}},3020:(Ie,B,a)=>{"use strict";a.d(B,{B:()=>r});var n=a(4829),c=a(8645),d=a(305),g=a(9360);function r(f={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=f;return _=>{let l,y,x,D=0,S=!1,E=!1;const I=()=>{y?.unsubscribe(),y=void 0},X=()=>{I(),l=x=void 0,S=E=!1},$=()=>{const ee=l;X(),ee?.unsubscribe()};return(0,g.e)((ee,ie)=>{D++,!E&&!S&&I();const A=x=x??u();ie.add(()=>{D--,0===D&&!E&&!S&&(y=h($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=h(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=h(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function h(f,u,...v){if(!0===u)return void f();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),f()}});return(0,n.Xf)(u(...v)).subscribe(b)}},7081:(Ie,B,a)=>{"use strict";a.d(B,{d:()=>d});var n=a(7328),c=a(3020);function d(g,r,h){let f,u=!1;return g&&"object"==typeof g?({bufferSize:f=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:h}=g):f=g??1/0,(0,c.B)({connector:()=>new n.t(f,r,h),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},836:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>c});var n=a(2181);function c(d){return(0,n.h)((g,r)=>d<=r)}},7921:(Ie,B,a)=>{"use strict";a.d(B,{O:()=>g});var n=a(34),c=a(9940),d=a(9360);function g(...r){const h=(0,c.yG)(r);return(0,d.e)((f,u)=>{(h?(0,n.z)(r,f,h):(0,n.z)(r,f)).subscribe(u)})}},5137:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>c});var n=a(9360);function c(d,g=0){return(0,n.e)((r,h)=>{h.add(d.schedule(()=>r.subscribe(h),g))})}},4664:(Ie,B,a)=>{"use strict";a.d(B,{w:()=>g});var n=a(4829),c=a(9360),d=a(8251);function g(r,h){return(0,c.e)((f,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();f.subscribe((0,d.x)(u,l=>{v?.unsubscribe();let y=0;const x=b++;(0,n.Xf)(r(l,x)).subscribe(v=(0,d.x)(u,D=>u.next(h?h(l,D,x,y++):D),()=>{v=null,_()}))},()=>{p=!0,_()}))})}},8180:(Ie,B,a)=>{"use strict";a.d(B,{q:()=>g});var n=a(6232),c=a(9360),d=a(8251);function g(r){return r<=0?()=>n.E:(0,c.e)((h,f)=>{let u=0;h.subscribe((0,d.x)(f,v=>{++u<=r&&(f.next(v),r<=u&&f.complete())}))})}},4418:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>g});var n=a(6232),c=a(9360),d=a(8251);function g(r){return r<=0?()=>n.E:(0,c.e)((h,f)=>{let u=[];h.subscribe((0,d.x)(f,v=>{u.push(v),r{for(const v of u)f.next(v);f.complete()},void 0,()=>{u=null}))})}},9773:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>r});var n=a(9360),c=a(8251),d=a(4829),g=a(2420);function r(h){return(0,n.e)((f,u)=>{(0,d.Xf)(h).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&f.subscribe(u)})}},812:(Ie,B,a)=>{"use strict";a.d(B,{o:()=>d});var n=a(9360),c=a(8251);function d(g,r=!1){return(0,n.e)((h,f)=>{let u=0;h.subscribe((0,c.x)(f,v=>{const b=g(v,u++);(b||r)&&f.next(v),!b&&f.complete()}))})}},9397:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>r});var n=a(4674),c=a(9360),d=a(8251),g=a(2737);function r(h,f,u){const v=(0,n.m)(h)||f||u?{next:h,error:f,complete:u}:h;return v?(0,c.e)((b,p)=>{var _;null===(_=v.subscribe)||void 0===_||_.call(v);let l=!0;b.subscribe((0,d.x)(p,y=>{var x;null===(x=v.next)||void 0===x||x.call(v,y),p.next(y)},()=>{var y;l=!1,null===(y=v.complete)||void 0===y||y.call(v),p.complete()},y=>{var x;l=!1,null===(x=v.error)||void 0===x||x.call(v,y),p.error(y)},()=>{var y,x;l&&(null===(y=v.unsubscribe)||void 0===y||y.call(v)),null===(x=v.finalize)||void 0===x||x.call(v)}))}):g.y}},3026:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>g});var n=a(6973),c=a(9360),d=a(8251);function g(h=r){return(0,c.e)((f,u)=>{let v=!1;f.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(h())))})}function r(){return new n.K}},5178:(Ie,B,a)=>{"use strict";a.d(B,{V:()=>v});var n=a(6321),c=a(93),d=a(9360),g=a(4829),r=a(2306),h=a(8251),f=a(7103);const u=(0,r.d)(p=>function(l=null){p(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=l});function v(p,_){const{first:l,each:y,with:x=b,scheduler:D=_??n.z,meta:S=null}=(0,c.q)(p)?{first:p}:"number"==typeof p?{each:p}:p;if(null==l&&null==y)throw new TypeError("No timeout provided.");return(0,d.e)((E,I)=>{let X,$,ee=null,ie=0;const A=U=>{$=(0,f.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Me){I.error(Me)}},U)};X=E.subscribe((0,h.x)(I,U=>{$?.unsubscribe(),ie++,I.next(ee=U),y>0&&A(y)},void 0,void 0,()=>{$?.closed||$?.unsubscribe(),ee=null})),!ie&&A(null!=l?"number"==typeof l?l:+l-D.now():y)})}function b(p){throw new u(p)}},1954:(Ie,B,a)=>{"use strict";a.d(B,{o:()=>r});var n=a(7394);class c extends n.w0{constructor(f,u){super()}schedule(f,u=0){return this}}const d={setInterval(h,f,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(h,f,...u):setInterval(h,f,...u)},clearInterval(h){const{delegate:f}=d;return(f?.clearInterval||clearInterval)(h)},delegate:void 0};var g=a(9039);class r extends c{constructor(f,u){super(f,u),this.scheduler=f,this.work=u,this.pending=!1}schedule(f,u=0){var v;if(this.closed)return this;this.state=f;const b=this.id,p=this.scheduler;return null!=b&&(this.id=this.recycleAsyncId(p,b,u)),this.pending=!0,this.delay=u,this.id=null!==(v=this.id)&&void 0!==v?v:this.requestAsyncId(p,this.id,u),this}requestAsyncId(f,u,v=0){return d.setInterval(f.flush.bind(f,this),v)}recycleAsyncId(f,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(f,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(f,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(f,u){let b,v=!1;try{this.work(f)}catch(p){v=!0,b=p||new Error("Scheduled action threw falsy error")}if(v)return this.unsubscribe(),b}unsubscribe(){if(!this.closed){const{id:f,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=f&&(this.id=this.recycleAsyncId(u,f,null)),this.delay=null,super.unsubscribe()}}}},2631:(Ie,B,a)=>{"use strict";a.d(B,{v:()=>d});var n=a(4552);class c{constructor(r,h=c.now){this.schedulerActionCtor=r,this.now=h}schedule(r,h=0,f){return new this.schedulerActionCtor(this,r).schedule(f,h)}}c.now=n.l.now;class d extends c{constructor(r,h=c.now){super(r,h),this.actions=[],this._active=!1}flush(r){const{actions:h}=this;if(this._active)return void h.push(r);let f;this._active=!0;do{if(f=r.execute(r.state,r.delay))break}while(r=h.shift());if(this._active=!1,f){for(;r=h.shift();)r.unsubscribe();throw f}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>f});var n=a(1954),c=a(7394);const d={schedule(v){let b=requestAnimationFrame,p=cancelAnimationFrame;const{delegate:_}=d;_&&(b=_.requestAnimationFrame,p=_.cancelAnimationFrame);const l=b(y=>{p=void 0,v(y)});return new c.w0(()=>p?.(l))},requestAnimationFrame(...v){const{delegate:b}=d;return(b?.requestAnimationFrame||requestAnimationFrame)(...v)},cancelAnimationFrame(...v){const{delegate:b}=d;return(b?.cancelAnimationFrame||cancelAnimationFrame)(...v)},delegate:void 0};var r=a(2631);const f=new class h extends r.v{flush(b){this._active=!0;const p=this._scheduled;this._scheduled=void 0;const{actions:_}=this;let l;b=b||_.shift();do{if(l=b.execute(b.state,b.delay))break}while((b=_[0])&&b.id===p&&_.shift());if(this._active=!1,l){for(;(b=_[0])&&b.id===p&&_.shift();)b.unsubscribe();throw l}}}(class g extends n.o{constructor(b,p){super(b,p),this.scheduler=b,this.work=p}requestAsyncId(b,p,_=0){return null!==_&&_>0?super.requestAsyncId(b,p,_):(b.actions.push(this),b._scheduled||(b._scheduled=d.requestAnimationFrame(()=>b.flush(void 0))))}recycleAsyncId(b,p,_=0){var l;if(null!=_?_>0:this.delay>0)return super.recycleAsyncId(b,p,_);const{actions:y}=b;null!=p&&(null===(l=y[y.length-1])||void 0===l?void 0:l.id)!==p&&(d.cancelAnimationFrame(p),b._scheduled=void 0)}})},6410:(Ie,B,a)=>{"use strict";a.d(B,{E:()=>y});var n=a(1954);let d,c=1;const g={};function r(D){return D in g&&(delete g[D],!0)}const h={setImmediate(D){const S=c++;return g[S]=!0,d||(d=Promise.resolve()),d.then(()=>r(S)&&D()),S},clearImmediate(D){r(D)}},{setImmediate:u,clearImmediate:v}=h,b={setImmediate(...D){const{delegate:S}=b;return(S?.setImmediate||u)(...D)},clearImmediate(D){const{delegate:S}=b;return(S?.clearImmediate||v)(D)},delegate:void 0};var _=a(2631);const y=new class l extends _.v{flush(S){this._active=!0;const E=this._scheduled;this._scheduled=void 0;const{actions:I}=this;let X;S=S||I.shift();do{if(X=S.execute(S.state,S.delay))break}while((S=I[0])&&S.id===E&&I.shift());if(this._active=!1,X){for(;(S=I[0])&&S.id===E&&I.shift();)S.unsubscribe();throw X}}}(class p extends n.o{constructor(S,E){super(S,E),this.scheduler=S,this.work=E}requestAsyncId(S,E,I=0){return null!==I&&I>0?super.requestAsyncId(S,E,I):(S.actions.push(this),S._scheduled||(S._scheduled=b.setImmediate(S.flush.bind(S,void 0))))}recycleAsyncId(S,E,I=0){var X;if(null!=I?I>0:this.delay>0)return super.recycleAsyncId(S,E,I);const{actions:$}=S;null!=E&&(null===(X=$[$.length-1])||void 0===X?void 0:X.id)!==E&&(b.clearImmediate(E),S._scheduled===E&&(S._scheduled=void 0))}})},6321:(Ie,B,a)=>{"use strict";a.d(B,{P:()=>g,z:()=>d});var n=a(1954);const d=new(a(2631).v)(n.o),g=d},4552:(Ie,B,a)=>{"use strict";a.d(B,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>n});const n={setTimeout(c,d,...g){const{delegate:r}=n;return r?.setTimeout?r.setTimeout(c,d,...g):setTimeout(c,d,...g)},clearTimeout(c){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(c)},delegate:void 0}},4971:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>c});const c=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ie,B,a)=>{"use strict";a.d(B,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Ie,B,a)=>{"use strict";a.d(B,{K:()=>c});const c=(0,a(2306).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Ie,B,a)=>{"use strict";a.d(B,{_6:()=>h,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(f){return f[f.length-1]}function g(f){return(0,n.m)(d(f))?f.pop():void 0}function r(f){return(0,c.K)(d(f))?f.pop():void 0}function h(f,u){return"number"==typeof d(f)?f.pop():u}},7453:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>r});const{isArray:n}=Array,{getPrototypeOf:c,prototype:d,keys:g}=Object;function r(f){if(1===f.length){const u=f[0];if(n(u))return{args:u,keys:null};if(function h(f){return f&&"object"==typeof f&&c(f)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:f,keys:null}}},7728:(Ie,B,a)=>{"use strict";a.d(B,{k:()=>c});const{isArray:n}=Array;function c(d){return 1===d.length&&n(d[0])?d[0]:d}},9039:(Ie,B,a)=>{"use strict";function n(c,d){if(c){const g=c.indexOf(d);0<=g&&c.splice(g,1)}}a.d(B,{P:()=>n})},2306:(Ie,B,a)=>{"use strict";function n(c){const g=c(r=>{Error.call(r),r.stack=(new Error).stack});return g.prototype=Object.create(Error.prototype),g.prototype.constructor=g,g}a.d(B,{d:()=>n})},2714:(Ie,B,a)=>{"use strict";function n(c,d){return c.reduce((g,r,h)=>(g[r]=d[h],g),{})}a.d(B,{n:()=>n})},1441:(Ie,B,a)=>{"use strict";a.d(B,{O:()=>g,x:()=>d});var n=a(2653);let c=null;function d(r){if(n.config.useDeprecatedSynchronousErrorHandling){const h=!c;if(h&&(c={errorThrown:!1,error:null}),r(),h){const{errorThrown:f,error:u}=c;if(c=null,f)throw u}}else r()}function g(r){n.config.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=r)}},7103:(Ie,B,a)=>{"use strict";function n(c,d,g,r=0,h=!1){const f=d.schedule(function(){g(),h?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(f),!h)return f}a.d(B,{f:()=>n})},2737:(Ie,B,a)=>{"use strict";function n(c){return c}a.d(B,{y:()=>n})},4266:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>n});const n=c=>c&&"number"==typeof c.length&&"function"!=typeof c},5726:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>c});var n=a(4674);function c(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},93:(Ie,B,a)=>{"use strict";function n(c){return c instanceof Date&&!isNaN(c)}a.d(B,{q:()=>n})},4674:(Ie,B,a)=>{"use strict";function n(c){return"function"==typeof c}a.d(B,{m:()=>n})},8382:(Ie,B,a)=>{"use strict";a.d(B,{c:()=>d});var n=a(4850),c=a(4674);function d(g){return(0,c.m)(g[n.L])}},3664:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>d});var n=a(4971),c=a(4674);function d(g){return(0,c.m)(g?.[n.h])}},2664:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>d});var n=a(5592),c=a(4674);function d(g){return!!g&&(g instanceof n.y||(0,c.m)(g.lift)&&(0,c.m)(g.subscribe))}},4026:(Ie,B,a)=>{"use strict";a.d(B,{t:()=>c});var n=a(4674);function c(d){return(0,n.m)(d?.then)}},541:(Ie,B,a)=>{"use strict";a.d(B,{L:()=>g,Q:()=>d});var n=a(655),c=a(4674);function d(r){return(0,n.__asyncGenerator)(this,arguments,function*(){const f=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(f.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{f.releaseLock()}})}function g(r){return(0,c.m)(r?.getReader)}},671:(Ie,B,a)=>{"use strict";a.d(B,{K:()=>c});var n=a(4674);function c(d){return d&&(0,n.m)(d.schedule)}},9360:(Ie,B,a)=>{"use strict";a.d(B,{A:()=>c,e:()=>d});var n=a(4674);function c(g){return(0,n.m)(g?.lift)}function d(g){return r=>{if(c(r))return r.lift(function(h){try{return g(h,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>g});var n=a(7398);const{isArray:c}=Array;function g(r){return(0,n.U)(h=>function d(r,h){return c(h)?r(...h):r(h)}(r,h))}},2420:(Ie,B,a)=>{"use strict";function n(){}a.d(B,{Z:()=>n})},8407:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>d,z:()=>c});var n=a(2737);function c(...g){return d(g)}function d(g){return 0===g.length?n.y:1===g.length?g[0]:function(h){return g.reduce((f,u)=>u(f),h)}}},3894:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>d});var n=a(2653),c=a(7599);function d(g){c.z.setTimeout(()=>{const{onUnhandledError:r}=n.config;if(!r)throw g;r(g)})}},9853:(Ie,B,a)=>{"use strict";function n(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(B,{z:()=>n})},1385:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{audit:()=>n.U,auditTime:()=>c.e,buffer:()=>f,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>he,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>se,concatWith:()=>ye,connect:()=>tt,count:()=>Mt,debounce:()=>Ft,debounceTime:()=>gt.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>kt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>Q.x,distinctUntilKeyChanged:()=>ue,elementAt:()=>ge,endWith:()=>At,every:()=>Nt,exhaust:()=>ae,exhaustAll:()=>$e,exhaustMap:()=>Ne,expand:()=>lt,filter:()=>dt.h,finalize:()=>_e.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>K,ignoreElements:()=>ve.l,isEmpty:()=>ut,last:()=>Pt.Z,map:()=>zt.U,mapTo:()=>qe.h,materialize:()=>et,max:()=>Ve,merge:()=>Lt,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>_t,pairwise:()=>mt,partition:()=>nn,pluck:()=>cn,publish:()=>sn,publishBehavior:()=>wn,publishLast:()=>_i,publishReplay:()=>ti,race:()=>Tn,raceWith:()=>mn,reduce:()=>A,refCount:()=>ri.x,repeat:()=>Wn,repeatWhen:()=>mi,retry:()=>Yn,retryWhen:()=>wi,sample:()=>ai,sampleTime:()=>xt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>le.d,single:()=>un,skip:()=>gn.T,skipLast:()=>pn,skipUntil:()=>si,skipWhile:()=>jn,startWith:()=>Fn.O,subscribeOn:()=>bi.R,switchAll:()=>Fi,switchMap:()=>Ti.w,switchMapTo:()=>Gi,switchScan:()=>fn,take:()=>Oe.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>bt.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Rt,timestamp:()=>te,toArray:()=>Me,window:()=>Pe,windowCount:()=>rt,windowTime:()=>Zt,windowToggle:()=>Pn,windowWhen:()=>ji,withLatestFrom:()=>Pi,zip:()=>Qi,zipAll:()=>Ui,zipWith:()=>ir});var n=a(6301),c=a(8672),d=a(9360),g=a(2420),r=a(8251),h=a(4829);function f(wt){return(0,d.e)((vt,pt)=>{let St=[];return vt.subscribe((0,r.x)(pt,Ht=>St.push(Ht),()=>{pt.next(St),pt.complete()})),(0,h.Xf)(wt).subscribe((0,r.x)(pt,()=>{const Ht=St;St=[],pt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((pt,St)=>{let Ht=[],Yt=0;pt.subscribe((0,r.x)(St,Jt=>{let yn=null;Yt++%vt==0&&Ht.push([]);for(const vn of Ht)vn.push(Jt),wt<=vn.length&&(yn=yn??[],yn.push(vn));if(yn)for(const vn of yn)(0,u.P)(Ht,vn),St.next(vn)},()=>{for(const Jt of Ht)St.next(Jt);St.complete()},void 0,()=>{Ht=null}))})}var b=a(7394),p=a(6321),_=a(9940),l=a(7103);function y(wt,...vt){var pt,St;const Ht=null!==(pt=(0,_.yG)(vt))&&void 0!==pt?pt:p.z,Yt=null!==(St=vt[0])&&void 0!==St?St:null,Jt=vt[1]||1/0;return(0,d.e)((yn,vn)=>{let Vn=[],On=!1;const vi=qn=>{const{buffer:ni,subs:oi}=qn;oi.unsubscribe(),(0,u.P)(Vn,qn),vn.next(ni),On&&ui()},ui=()=>{if(Vn){const qn=new b.w0;vn.add(qn);const oi={buffer:[],subs:qn};Vn.push(oi),(0,l.f)(qn,Ht,()=>vi(oi),wt)}};null!==Yt&&Yt>=0?(0,l.f)(vn,Ht,ui,Yt,!0):On=!0,ui();const Mi=(0,r.x)(vn,qn=>{const ni=Vn.slice();for(const oi of ni){const{buffer:Ii}=oi;Ii.push(qn),Jt<=Ii.length&&vi(oi)}},()=>{for(;Vn?.length;)vn.next(Vn.shift().buffer);Mi?.unsubscribe(),vn.complete(),vn.unsubscribe()},void 0,()=>Vn=null);yn.subscribe(Mi)})}function x(wt,vt){return(0,d.e)((pt,St)=>{const Ht=[];(0,h.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,h.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),pt.subscribe((0,r.x)(St,Yt=>{for(const Jt of Ht)Jt.push(Yt)},()=>{for(;Ht.length>0;)St.next(Ht.shift());St.complete()}))})}function D(wt){return(0,d.e)((vt,pt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&&pt.next(Jt),(0,h.Xf)(wt()).subscribe(Ht=(0,r.x)(pt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(pt,Jt=>St?.push(Jt),()=>{St&&pt.next(St),pt.complete()},void 0,()=>St=Ht=null))})}var S=a(6306),E=a(2572),I=a(2737),X=a(7400),$=a(8407),ee=a(9769),ie=a(9732);function A(wt,vt){return(0,d.e)((0,ie.U)(wt,vt,arguments.length>=2,!1,!0))}const U=(wt,vt)=>(wt.push(vt),wt);function Me(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Me(),(0,ee.z)(pt=>wt(pt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const he=Ae;var H=a(7728);function W(...wt){const vt=(0,_.jO)(wt);return vt?(0,$.z)(W(...wt),(0,X.Z)(vt)):(0,d.e)((pt,St)=>{(0,E.l)([pt,...(0,H.k)(wt)])(St)})}function pe(...wt){return W(...wt)}var we=a(1948),Ee=a(2459);function Be(...wt){const vt=(0,_.yG)(wt);return(0,d.e)((pt,St)=>{(0,we.u)()((0,Ee.D)([pt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function se(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ye(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const We={connector:()=>new He.x};function tt(wt,vt=We){const{connector:pt}=vt;return(0,d.e)((St,Ht)=>{const Yt=pt();(0,h.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Mt(wt){return A((vt,pt,St)=>!wt||wt(pt,St)?vt+1:vt,0)}function Ft(wt){return(0,d.e)((vt,pt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,pt.next(yn)}};vt.subscribe((0,r.x)(pt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(pt,Jt,g.Z),(0,h.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),pt.complete()},void 0,()=>{Ht=Yt=null}))})}var gt=a(3620),Bt=a(3572),Tt=a(7547),kt=a(4610),Le=a(6232),ct=a(2096),ze=a(8504);class N{constructor(vt,pt,St){this.kind=vt,this.value=pt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,pt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?pt?.(Jt):St?.()}accept(vt,pt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,pt,St)}toObservable(){const{kind:vt,value:pt,error:St}=this,Ht="N"===vt?(0,ct.of)(pt):"E"===vt?(0,ze._)(()=>St):"C"===vt?Le.E:0;if(!Ht)throw new TypeError(`Unexpected notification kind ${vt}`);return Ht}static createNext(vt){return new N("N",vt)}static createError(vt){return new N("E",void 0,vt)}static createComplete(){return N.completeNotification}}function oe(wt,vt){var pt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(pt=vt.next)||void 0===pt||pt.call(vt,Jt):"E"===Yt?null===(St=vt.error)||void 0===St||St.call(vt,yn):null===(Ht=vt.complete)||void 0===Ht||Ht.call(vt)}function Y(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,pt=>oe(pt,vt)))})}function ne(wt,vt){return(0,d.e)((pt,St)=>{const Ht=new Set;pt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,h.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var Q=a(3997);function ue(wt,vt){return(0,Q.x)((pt,St)=>vt?vt(pt[wt],St[wt]):pt[wt]===St[wt])}var Te=a(2306);const Ct=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var dt=a(2181),bt=a(3026),Oe=a(8180);function ge(wt,vt){if(wt<0)throw new Ct;const pt=arguments.length>=2;return St=>St.pipe((0,dt.h)((Ht,Yt)=>Yt===wt),(0,Oe.q)(1),pt?(0,Bt.d)(vt):(0,bt.T)(()=>new Ct))}var ot=a(34);function At(...wt){return vt=>(0,ot.z)(vt,(0,ct.of)(...wt))}function Nt(wt,vt){return(0,d.e)((pt,St)=>{let Ht=0;pt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,pt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var zt=a(7398);function Ne(wt,vt){return vt?pt=>pt.pipe(Ne((St,Ht)=>(0,h.Xf)(wt(St,Ht)).pipe((0,zt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((pt,St)=>{let Ht=0,Yt=null,Jt=!1;pt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,h.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function $e(){return Ne(I.y)}const ae=$e;var Ce=a(564);function lt(wt,vt=1/0,pt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,Ce.p)(St,Ht,wt,vt,void 0,!0,pt))}var _e=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,pt){const St="index"===pt;return(Ht,Yt)=>{let Jt=0;Ht.subscribe((0,r.x)(Yt,yn=>{const vn=Jt++;wt.call(vt,yn,vn,Ht)&&(Yt.next(St?vn:yn),Yt.complete())},()=>{Yt.next(St?-1:void 0),Yt.complete()}))}}function F(wt,vt){return(0,d.e)(De(wt,vt,"index"))}var V=a(1374);function K(wt,vt,pt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:pt,element:Jt,connector:St}=vt):Jt=vt;const yn=new Map,vn=qn=>{yn.forEach(qn),qn(Yt)},Vn=qn=>vn(ni=>ni.error(qn));let On=0,vi=!1;const ui=new r.Q(Yt,qn=>{try{const ni=wt(qn);let oi=yn.get(ni);if(!oi){yn.set(ni,oi=St?St():new He.x);const Ii=function Mi(qn,ni){const oi=new Ze.y(Ii=>{On++;const Zi=ni.subscribe(Ii);return()=>{Zi.unsubscribe(),0==--On&&vi&&ui.unsubscribe()}});return oi.key=qn,oi}(ni,oi);if(Yt.next(Ii),pt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,h.Xf)(pt(Ii)).subscribe(Zi))}}oi.next(Jt?Jt(qn):qn)}catch(ni){Vn(ni)}},()=>vn(qn=>qn.complete()),Vn,()=>yn.clear(),()=>(vi=!0,0===On));Ht.subscribe(ui)})}var ve=a(7538);function ut(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Pt=a(2032),qe=a(975);function et(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,pt=>{vt.next(N.createNext(pt))},()=>{vt.next(N.createComplete()),vt.complete()},pt=>{vt.next(N.createError(pt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,pt)=>wt(vt,pt)>0?vt:pt:(vt,pt)=>vt>pt?vt:pt)}var yt=a(7537);function Lt(...wt){const vt=(0,_.yG)(wt),pt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(pt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,pt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,pt):("number"==typeof vt&&(pt=vt),(0,ee.z)(()=>wt,pt))}function Sn(wt,vt,pt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,Ce.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),pt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return Lt(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,pt)=>wt(vt,pt)<0?vt:pt:(vt,pt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:pt}):St=>new xi.c(St,pt)}var Vi=a(3093);const _t=function Et(...wt){const vt=(0,H.k)(wt);return pt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(pt=>{let St=0;const Ht=()=>{if(St{let pt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=pt;pt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(pt,St)=>!wt.call(vt,pt,St)}function nn(wt,vt){return pt=>[(0,dt.h)(wt,vt)(pt),(0,dt.h)(qt(wt,vt))(pt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,zt.U)(pt=>{let St=pt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const pt=new Nn.X(wt);return new xi.c(vt,()=>pt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:pt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;pt?vt.error(Yt):(Jt||yn)&&(St&&vt.next(Ht),vt.complete())}next(vt){this.isStopped||(this._value=vt,this._hasValue=!0)}complete(){const{_hasValue:vt,_value:pt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(pt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,pt,St){pt&&!(0,re.m)(pt)&&(St=pt);const Ht=(0,re.m)(pt)?pt:void 0;return Yt=>fi(new $n.t(wt,vt,St),Ht)(Yt)}var an=a(3684);function mn(...wt){return wt.length?(0,d.e)((vt,pt)=>{(0,an.R)([vt,...wt])(pt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let pt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:pt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=pt){const Vn="number"==typeof pt?(0,Rn.H)(pt):(0,h.Xf)(pt(Yt)),On=(0,r.x)(Ht,()=>{On.unsubscribe(),vn()});Vn.subscribe(On)}else vn()},vn=()=>{let Vn=!1;Jt=St.subscribe((0,r.x)(Ht,void 0,()=>{++Yt{let St,Yt,Ht=!1,Jt=!1,yn=!1;const vn=()=>yn&&Jt&&(pt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(pt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,h.Xf)(wt(Yt)).subscribe((0,r.x)(pt,()=>{St?On():Ht=!0},()=>{Jt=!0,vn()}))),Yt).next()})),Ht&&(St.unsubscribe(),St=null,Ht=!1,On())};On()})}function Yn(wt=1/0){let vt;vt=wt&&"object"==typeof wt?wt:{count:wt};const{count:pt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return pt<=0?I.y:(0,d.e)((Yt,Jt)=>{let vn,yn=0;const Vn=()=>{let On=!1;vn=Yt.subscribe((0,r.x)(Jt,vi=>{Ht&&(yn=0),Jt.next(vi)},void 0,vi=>{if(yn++{vn?(vn.unsubscribe(),vn=null,Vn()):On=!0};if(null!=St){const Mi="number"==typeof St?(0,Rn.H)(St):(0,h.Xf)(St(vi,yn)),qn=(0,r.x)(Jt,()=>{qn.unsubscribe(),ui()},()=>{Jt.complete()});Mi.subscribe(qn)}else ui()}else Jt.error(vi)})),On&&(vn.unsubscribe(),vn=null,Vn())};Vn()})}function wi(wt){return(0,d.e)((vt,pt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(pt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,h.Xf)(wt(Yt)).subscribe((0,r.x)(pt,()=>St?Jt():Ht=!0))),Yt&&Yt.next(yn)})),Ht&&(St.unsubscribe(),St=null,Ht=!1,Jt())};Jt()})}var ri=a(6196);function ai(wt){return(0,d.e)((vt,pt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(pt,Yt=>{St=!0,Ht=Yt})),(0,h.Xf)(wt).subscribe((0,r.x)(pt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,pt.next(Yt)}},g.Z))})}function xt(wt,vt=p.z){return ai(function Ni(wt=0,vt=p.z){return wt<0&&(wt=0),(0,Rn.H)(wt,wt,vt)}(wt,vt))}var jt=a(6424);function ke(wt,vt=((pt,St)=>pt===St)){return(0,d.e)((pt,St)=>{const Ht={buffer:[],complete:!1},Yt={buffer:[],complete:!1},Jt=vn=>{St.next(vn),St.complete()},yn=(vn,Vn)=>{const On=(0,r.x)(St,vi=>{const{buffer:ui,complete:Mi}=Vn;0===ui.length?Mi?Jt(!1):vn.buffer.push(vi):!vt(vi,ui.shift())&&Jt(!1)},()=>{vn.complete=!0;const{complete:vi,buffer:ui}=Vn;vi&&Jt(0===ui.length),On?.unsubscribe()});return On};pt.subscribe(yn(Ht,Yt)),(0,h.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),le=a(7081),Xe=a(6973);const Ot=(0,Te.d)(wt=>function(pt){wt(this),this.name="SequenceError",this.message=pt}),Wt=(0,Te.d)(wt=>function(pt){wt(this),this.name="NotFoundError",this.message=pt});function un(wt){return(0,d.e)((vt,pt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(pt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&&pt.error(new Ot("Too many matching values")),St=!0,Ht=yn)},()=>{St?(pt.next(Ht),pt.complete()):pt.error(Yt?new Wt("No matching values"):new Xe.K)}))})}var gn=a(836);function pn(wt){return wt<=0?I.y:(0,d.e)((vt,pt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(pt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,pt)=>{let St=!1;const Ht=(0,r.x)(pt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,h.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(pt,Yt=>St&&pt.next(Yt)))})}function jn(wt){return(0,d.e)((vt,pt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(pt,Yt=>(St||(St=!wt(Yt,Ht++)))&&pt.next(Yt)))})}var Fn=a(7921),bi=a(5137),Ti=a(4664);function Fi(){return(0,Ti.w)(I.y)}function Gi(wt,vt){return(0,re.m)(vt)?(0,Ti.w)(()=>wt,vt):(0,Ti.w)(()=>wt)}function fn(wt,vt){return(0,d.e)((pt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(pt).subscribe(St),()=>{Ht=null}})}var Cn=a(4418),tn=a(9773),En=a(812),ei=a(9397);function Ei(wt,vt){return(0,d.e)((pt,St)=>{const{leading:Ht=!0,trailing:Yt=!1}=vt??{};let Jt=!1,yn=null,vn=null,Vn=!1;const On=()=>{vn?.unsubscribe(),vn=null,Yt&&(Mi(),Vn&&St.complete())},vi=()=>{vn=null,Vn&&St.complete()},ui=qn=>vn=(0,h.Xf)(wt(qn)).subscribe((0,r.x)(St,On,vi)),Mi=()=>{if(Jt){Jt=!1;const qn=yn;yn=null,St.next(qn),!Vn&&ui(qn)}};pt.subscribe((0,r.x)(St,qn=>{Jt=!0,yn=qn,(!vn||vn.closed)&&(Ht?Mi():ui(qn))},()=>{Vn=!0,(!(Yt&&Jt&&vn)||vn.closed)&&St.complete()}))})}function tr(wt,vt=p.z,pt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,pt)}function Ai(wt=p.z){return(0,d.e)((vt,pt)=>{let St=wt.now();vt.subscribe((0,r.x)(pt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,pt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,pt){this.value=vt,this.interval=pt}}var yi=a(5178),Je=a(93);function Rt(wt,vt,pt){let St,Ht,Yt;if(pt=pt??p.P,(0,Je.q)(wt)?St=wt:"number"==typeof wt&&(Ht=wt),!vt)throw new TypeError("No observable provided to switch to");if(Yt=()=>vt,null==St&&null==Ht)throw new TypeError("No timeout provided.");return(0,yi.V)({first:St,each:Ht,scheduler:pt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,zt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Pe(wt){return(0,d.e)((vt,pt)=>{let St=new He.x;pt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),pt.error(Yt)};return vt.subscribe((0,r.x)(pt,Yt=>St?.next(Yt),()=>{St.complete(),pt.complete()},Ht)),(0,h.Xf)(wt).subscribe((0,r.x)(pt,()=>{St.complete(),pt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function rt(wt,vt=0){const pt=vt>0?vt:wt;return(0,d.e)((St,Ht)=>{let Yt=[new He.x],Jt=[],yn=0;Ht.next(Yt[0].asObservable()),St.subscribe((0,r.x)(Ht,vn=>{for(const On of Yt)On.next(vn);const Vn=yn-wt+1;if(Vn>=0&&Vn%pt==0&&Yt.shift().complete(),++yn%pt==0){const On=new He.x;Yt.push(On),Ht.next(On.asObservable())}},()=>{for(;Yt.length>0;)Yt.shift().complete();Ht.complete()},vn=>{for(;Yt.length>0;)Yt.shift().error(vn);Ht.error(vn)},()=>{Jt=null,Yt=null}))})}function Zt(wt,...vt){var pt,St;const Ht=null!==(pt=(0,_.yG)(vt))&&void 0!==pt?pt:p.z,Yt=null!==(St=vt[0])&&void 0!==St?St:null,Jt=vt[1]||1/0;return(0,d.e)((yn,vn)=>{let Vn=[],On=!1;const vi=ni=>{const{window:oi,subs:Ii}=ni;oi.complete(),Ii.unsubscribe(),(0,u.P)(Vn,ni),On&&ui()},ui=()=>{if(Vn){const ni=new b.w0;vn.add(ni);const oi=new He.x,Ii={window:oi,subs:ni,seen:0};Vn.push(Ii),vn.next(oi.asObservable()),(0,l.f)(ni,Ht,()=>vi(Ii),wt)}};null!==Yt&&Yt>=0?(0,l.f)(vn,Ht,ui,Yt,!0):On=!0,ui();const Mi=ni=>Vn.slice().forEach(ni),qn=ni=>{Mi(({window:oi})=>ni(oi)),ni(vn),vn.unsubscribe()};return yn.subscribe((0,r.x)(vn,ni=>{Mi(oi=>{oi.window.next(ni),Jt<=++oi.seen&&vi(oi)})},()=>qn(ni=>ni.complete()),ni=>qn(oi=>oi.error(ni)))),()=>{Vn=null}})}function Pn(wt,vt){return(0,d.e)((pt,St)=>{const Ht=[],Yt=Jt=>{for(;0{const yn=new He.x;Ht.push(yn);const vn=new b.w0;let On;try{On=(0,h.Xf)(vt(Jt))}catch(vi){return void Yt(vi)}St.next(yn.asObservable()),vn.add(On.subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,yn),yn.complete(),vn.unsubscribe()},g.Z,Yt)))},g.Z)),pt.subscribe((0,r.x)(St,Jt=>{const yn=Ht.slice();for(const vn of yn)vn.next(Jt)},()=>{for(;0{for(;0{let St,Ht;const Yt=yn=>{St.error(yn),pt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,pt.next(St.asObservable());try{yn=(0,h.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(pt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(pt,yn=>St.next(yn),()=>{St.complete(),pt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((pt,St)=>{const Ht=wt.length,Yt=new Array(Ht);let Jt=wt.map(()=>!1),yn=!1;for(let vn=0;vn{Yt[vn]=Vn,!yn&&!Jt[vn]&&(Jt[vn]=!0,(yn=Jt.every(I.y))&&(Jt=null))},g.Z));pt.subscribe((0,r.x)(St,vn=>{if(yn){const Vn=[vn,...Yt];St.next(vt?vt(...Vn):Vn)}}))})}var Li=a(9278);function Qi(...wt){return(0,d.e)((vt,pt)=>{(0,Li.$)(vt,...wt).subscribe(pt)})}function Ui(wt){return Re(Li.$,wt)}function ir(...wt){return Qi(...wt)}},6144:Ie=>{"use strict";Ie.exports=(B,a)=>{if("string"!=typeof B||"string"!=typeof a)throw new TypeError("Expected the arguments to be of type `string`");if(""===a)return[B];const n=B.indexOf(a);return-1===n?[B]:[B.slice(0,n),B.slice(n+a.length)]}},8385:Ie=>{"use strict";Ie.exports=B=>encodeURIComponent(B).replace(/[!'()*]/g,a=>`%${a.charCodeAt(0).toString(16).toUpperCase()}`)},5918:(Ie,B,a)=>{"use strict";let n;a.r(B),a.d(B,{NIL:()=>Bt,parse:()=>E,stringify:()=>b,v1:()=>D,v3:()=>re,v4:()=>Ze,v5:()=>gt,validate:()=>h,version:()=>kt});const c=new Uint8Array(16);function d(){if(!n&&(n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(c)}const g=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,h=function r(Le){return"string"==typeof Le&&g.test(Le)},f=[];for(let Le=0;Le<256;++Le)f.push((Le+256).toString(16).slice(1));function u(Le,ct=0){return(f[Le[ct+0]]+f[Le[ct+1]]+f[Le[ct+2]]+f[Le[ct+3]]+"-"+f[Le[ct+4]]+f[Le[ct+5]]+"-"+f[Le[ct+6]]+f[Le[ct+7]]+"-"+f[Le[ct+8]]+f[Le[ct+9]]+"-"+f[Le[ct+10]]+f[Le[ct+11]]+f[Le[ct+12]]+f[Le[ct+13]]+f[Le[ct+14]]+f[Le[ct+15]]).toLowerCase()}const b=function v(Le,ct=0){const ze=u(Le,ct);if(!h(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,ct,ze){let at=ct&&ze||0;const N=ct||new Array(16);let oe=(Le=Le||{}).node||p,Y=void 0!==Le.clockseq?Le.clockseq:_;if(null==oe||null==Y){const dt=Le.random||(Le.rng||d)();null==oe&&(oe=p=[1|dt[0],dt[1],dt[2],dt[3],dt[4],dt[5]]),null==Y&&(Y=_=16383&(dt[6]<<8|dt[7]))}let ne=void 0!==Le.msecs?Le.msecs:Date.now(),Q=void 0!==Le.nsecs?Le.nsecs:y+1;const ue=ne-l+(Q-y)/1e4;if(ue<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ue<0||ne>l)&&void 0===Le.nsecs&&(Q=0),Q>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=Q,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+Q)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const Ct=ne/4294967296*1e4&268435455;N[at++]=Ct>>>8&255,N[at++]=255&Ct,N[at++]=Ct>>>24&15|16,N[at++]=Ct>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let dt=0;dt<6;++dt)N[at+dt]=oe[dt];return ct||u(N)},E=function S(Le){if(!h(Le))throw TypeError("Invalid UUID");let ct;const ze=new Uint8Array(16);return ze[0]=(ct=parseInt(Le.slice(0,8),16))>>>24,ze[1]=ct>>>16&255,ze[2]=ct>>>8&255,ze[3]=255&ct,ze[4]=(ct=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255&ct,ze[6]=(ct=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255&ct,ze[8]=(ct=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255&ct,ze[10]=(ct=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=ct/4294967296&255,ze[12]=ct>>>24&255,ze[13]=ct>>>16&255,ze[14]=ct>>>8&255,ze[15]=255&ct,ze};function ee(Le,ct,ze){function at(N,oe,Y,ne){var Q;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const ct=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,ct){const ze=(65535&Le)+(65535&ct);return(Le>>16)+(ct>>16)+(ze>>16)<<16|65535&ze}function H(Le,ct,ze,at,N,oe){return Ae(function he(Le,ct){return Le<>>32-ct}(Ae(Ae(ct,Le),Ae(at,oe)),N),ze)}function W(Le,ct,ze,at,N,oe,Y){return H(ct&ze|~ct&at,Le,ct,N,oe,Y)}function pe(Le,ct,ze,at,N,oe,Y){return H(ct&at|ze&~at,Le,ct,N,oe,Y)}function we(Le,ct,ze,at,N,oe,Y){return H(ct^ze^at,Le,ct,N,oe,Y)}function Ee(Le,ct,ze,at,N,oe,Y){return H(ze^(ct|~at),Le,ct,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const ct=unescape(encodeURIComponent(Le));Le=new Uint8Array(ct.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);ct.push(Y)}return ct}(function Me(Le,ct){Le[ct>>5]|=128<>5]|=(255&Le[at/8])<>>32-ct}const gt=ee("v5",80,function tt(Le){const ct=[1518500249,1859775393,2400959708,3395469782],ze=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof Le){const Y=unescape(encodeURIComponent(Le));Le=[];for(let ne=0;ne>>0;dt=Ct,Ct=Te,Te=We(ue,30)>>>0,ue=Q,Q=ge}ze[0]=ze[0]+Q>>>0,ze[1]=ze[1]+ue>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+Ct>>>0,ze[4]=ze[4]+dt>>>0}return[ze[0]>>24&255,ze[0]>>16&255,ze[0]>>8&255,255&ze[0],ze[1]>>24&255,ze[1]>>16&255,ze[1]>>8&255,255&ze[1],ze[2]>>24&255,ze[2]>>16&255,ze[2]>>8&255,255&ze[2],ze[3]>>24&255,ze[3]>>16&255,ze[3]>>8&255,255&ze[3],ze[4]>>24&255,ze[4]>>16&255,ze[4]>>8&255,255&ze[4]]}),Bt="00000000-0000-0000-0000-000000000000",kt=function Tt(Le){if(!h(Le))throw TypeError("Invalid UUID");return parseInt(Le.slice(14,15),16)}},655:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{__addDisposableResource:()=>pe,__assign:()=>d,__asyncDelegator:()=>ie,__asyncGenerator:()=>ee,__asyncValues:()=>A,__await:()=>$,__awaiter:()=>_,__classPrivateFieldGet:()=>he,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>f,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>h,__propKey:()=>v,__read:()=>S,__rest:()=>g,__runInitializers:()=>u,__setFunctionName:()=>b,__spread:()=>E,__spreadArray:()=>X,__spreadArrays:()=>I,__values:()=>D,default:()=>Be});var n=function(G,re){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ye){se.__proto__=ye}||function(se,ye){for(var He in ye)Object.prototype.hasOwnProperty.call(ye,He)&&(se[He]=ye[He])})(G,re)};function c(G,re){if("function"!=typeof re&&null!==re)throw new TypeError("Class extends value "+String(re)+" is not a constructor or null");function se(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(se.prototype=re.prototype,new se)}var d=function(){return d=Object.assign||function(re){for(var se,ye=1,He=arguments.length;ye=0;We--)(Qe=G[We])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,se,Ze):Qe(re,se))||Ze);return He>3&&Ze&&Object.defineProperty(re,se,Ze),Ze}function h(G,re){return function(se,ye){re(se,ye,G)}}function f(G,re,se,ye,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var gt,We=ye.kind,tt="getter"===We?"get":"setter"===We?"set":"value",Mt=!re&&G?ye.static?G:G.prototype:null,Ft=re||(Mt?Object.getOwnPropertyDescriptor(Mt,ye.name):{}),Bt=!1,Tt=se.length-1;Tt>=0;Tt--){var kt={};for(var Le in ye)kt[Le]="access"===Le?{}:ye[Le];for(var Le in ye.access)kt.access[Le]=ye.access[Le];kt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var ct=(0,se[Tt])("accessor"===We?{get:Ft.get,set:Ft.set}:Ft[tt],kt);if("accessor"===We){if(void 0===ct)continue;if(null===ct||"object"!=typeof ct)throw new TypeError("Object expected");(gt=Qe(ct.get))&&(Ft.get=gt),(gt=Qe(ct.set))&&(Ft.set=gt),(gt=Qe(ct.init))&&He.unshift(gt)}else(gt=Qe(ct))&&("field"===We?He.unshift(gt):Ft[tt]=gt)}Mt&&Object.defineProperty(Mt,ye.name,Ft),Bt=!0}function u(G,re,se){for(var ye=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Mt[0]||2===Mt[0])){se=0;continue}if(3===Mt[0]&&(!Ze||Mt[1]>Ze[0]&&Mt[1]=G.length&&(G=void 0),{value:G&&G[ye++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var se="function"==typeof Symbol&&G[Symbol.iterator];if(!se)return G;var He,Qe,ye=se.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ye.next()).done;)Ze.push(He.value)}catch(We){Qe={error:We}}finally{try{He&&!He.done&&(se=ye.return)&&se.call(ye)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||We(Bt,Tt)})})}function We(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Mt,Ft):gt(Ze[0][2],Bt)}(ye[Bt](Tt))}catch(kt){gt(Ze[0][3],kt)}}function Mt(Bt){We("next",Bt)}function Ft(Bt){We("throw",Bt)}function gt(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&We(Ze[0][0],Ze[0][1])}}function ie(G){var re,se;return re={},ye("next"),ye("throw",function(He){throw He}),ye("return"),re[Symbol.iterator]=function(){return this},re;function ye(He,Ze){re[He]=G[He]?function(Qe){return(se=!se)?{value:$(G[He](Qe)),done:!1}:Ze?Ze(Qe):Qe}:Ze}}function A(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var se,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),se={},ye("next"),ye("throw"),ye("return"),se[Symbol.asyncIterator]=function(){return this},se);function ye(Ze){se[Ze]=G[Ze]&&function(Qe){return new Promise(function(We,tt){!function He(Ze,Qe,We,tt){Promise.resolve(tt).then(function(Mt){Ze({value:Mt,done:We})},Qe)}(We,tt,(Qe=G[Ze](Qe)).done,Qe.value)})}}}function U(G,re){return Object.defineProperty?Object.defineProperty(G,"raw",{value:re}):G.raw=re,G}var Me=Object.create?function(G,re){Object.defineProperty(G,"default",{enumerable:!0,value:re})}:function(G,re){G.default=re};function Re(G){if(G&&G.__esModule)return G;var re={};if(null!=G)for(var se in G)"default"!==se&&Object.prototype.hasOwnProperty.call(G,se)&&y(re,G,se);return Me(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function he(G,re,se,ye){if("a"===se&&!ye)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ye:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===se?ye:"a"===se?ye.call(G):ye?ye.value:re.get(G)}function H(G,re,se,ye,He){if("m"===ye)throw new TypeError("Private method is not writable");if("a"===ye&&!He)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof re?G!==re||!He:!re.has(G))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===ye?He.call(G,se):He?He.value=se:re.set(G,se),se}function W(G,re){if(null===re||"object"!=typeof re&&"function"!=typeof re)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof G?re===G:G.has(re)}function pe(G,re,se){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ye;if(se){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ye=re[Symbol.asyncDispose]}if(void 0===ye){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ye=re[Symbol.dispose]}if("function"!=typeof ye)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ye,async:se})}else se&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,se){var ye=new Error(se);return ye.name="SuppressedError",ye.error=G,ye.suppressed=re,ye};function Ee(G){function re(ye){G.error=G.hasError?new we(ye,G.error,"An error was suppressed during disposal."):ye,G.hasError=!0}return function se(){for(;G.stack.length;){var ye=G.stack.pop();try{var He=ye.dispose&&ye.dispose.call(ye.value);if(ye.async)return Promise.resolve(He).then(se,function(Ze){return re(Ze),se()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:h,__metadata:p,__awaiter:_,__generator:l,__createBinding:y,__exportStar:x,__values:D,__read:S,__spread:E,__spreadArrays:I,__spreadArray:X,__await:$,__asyncGenerator:ee,__asyncDelegator:ie,__asyncValues:A,__makeTemplateObject:U,__importStar:Re,__importDefault:Ae,__classPrivateFieldGet:he,__classPrivateFieldSet:H,__classPrivateFieldIn:W,__addDisposableResource:pe,__disposeResources:Ee}},6548:Ie=>{function B(F){return F instanceof Map?F.clear=F.delete=F.set=function(){throw new Error("map is read-only")}:F instanceof Set&&(F.add=F.clear=F.delete=function(){throw new Error("set is read-only")}),Object.freeze(F),Object.getOwnPropertyNames(F).forEach(V=>{const K=F[V],ve=typeof K;("object"===ve||"function"===ve)&&!Object.isFrozen(K)&&B(K)}),F}class a{constructor(V){void 0===V.data&&(V.data={}),this.data=V.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(F){return F.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function c(F,...V){const K=Object.create(null);for(const ve in F)K[ve]=F[ve];return V.forEach(function(ve){for(const ut in ve)K[ut]=ve[ut]}),K}const g=F=>!!F.scope;class h{constructor(V,K){this.buffer="",this.classPrefix=K.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const K=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const K=F.split(".");return[`${V}${K.shift()}`,...K.map((ve,ut)=>`${ve}${"_".repeat(ut+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(K)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const f=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=f(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(V){this.top.children.push(V)}openNode(V){const K=f({scope:V});this.add(K),this.stack.push(K)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(V){return this.constructor._walk(V,this.rootNode)}static _walk(V,K){return"string"==typeof K?V.addText(K):K.children&&(V.openNode(K),K.children.forEach(ve=>this._walk(V,ve)),V.closeNode(K)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(K=>"string"==typeof K)?V.children=[V.children.join("")]:V.children.forEach(K=>{u._collapse(K)}))}}class v extends u{constructor(V){super(),this.options=V}addText(V){""!==V&&this.add(V)}startScope(V){this.openNode(V)}endScope(){this.closeNode()}__addSublanguage(V,K){const ve=V.root;K&&(ve.scope=`language:${K}`),this.add(ve)}toHTML(){return new h(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function b(F){return F?"string"==typeof F?F:F.source:null}function p(F){return y("(?=",F,")")}function _(F){return y("(?:",F,")*")}function l(F){return y("(?:",F,")?")}function y(...F){return F.map(K=>b(K)).join("")}function D(...F){return"("+(function x(F){const V=F[F.length-1];return"object"==typeof V&&V.constructor===Object?(F.splice(F.length-1,1),V):{}}(F).capture?"":"?:")+F.map(ve=>b(ve)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let K=0;return F.map(ve=>{K+=1;const ut=K;let Pt=b(ve),qe="";for(;Pt.length>0;){const et=I.exec(Pt);if(!et){qe+=Pt;break}qe+=Pt.substring(0,et.index),Pt=Pt.substring(et.index+et[0].length),"\\"===et[0][0]&&et[1]?qe+="\\"+String(Number(et[1])+ut):(qe+=et[0],"("===et[0]&&K++)}return qe}).map(ve=>`(${ve})`).join(V)}const ee="[a-zA-Z]\\w*",ie="[a-zA-Z_]\\w*",A="\\b\\d+(\\.\\d+)?",U="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Me="\\b(0b[01]+)",he={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[he]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[he]},we=function(F,V,K={}){const ve=c({scope:"comment",begin:F,end:V,contains:[]},K);ve.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ut=D("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return ve.contains.push({begin:y(/[ ]+/,"(",ut,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ve},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Mt=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:ee,UNDERSCORE_IDENT_RE:ie,NUMBER_RE:A,C_NUMBER_RE:U,BINARY_NUMBER_RE:Me,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(F={})=>{const V=/^#![ ]*\//;return F.binary&&(F.begin=y(V,/.*\b/,F.binary,/\b.*/)),c({scope:"meta",begin:V,end:/$/,relevance:0,"on:begin":(K,ve)=>{0!==K.index&&ve.ignoreMatch()}},F)},BACKSLASH_ESCAPE:he,APOS_STRING_MODE:H,QUOTE_STRING_MODE:W,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:we,C_LINE_COMMENT_MODE:Ee,C_BLOCK_COMMENT_MODE:Be,HASH_COMMENT_MODE:G,NUMBER_MODE:{scope:"number",begin:A,relevance:0},C_NUMBER_MODE:{scope:"number",begin:U,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:Me,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[he,{begin:/\[/,end:/\]/,relevance:0,contains:[he]}]}]},TITLE_MODE:{scope:"title",begin:ee,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:ie,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ie,relevance:0},END_SAME_AS_BEGIN:function(F){return Object.assign(F,{"on:begin":(V,K)=>{K.data._beginMatch=V[1]},"on:end":(V,K)=>{K.data._beginMatch!==V[1]&&K.ignoreMatch()}})}});function Ft(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function gt(F,V){void 0!==F.className&&(F.scope=F.className,delete F.className)}function Bt(F,V){V&&F.beginKeywords&&(F.begin="\\b("+F.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",F.__beforeBegin=Ft,F.keywords=F.keywords||F.beginKeywords,delete F.beginKeywords,void 0===F.relevance&&(F.relevance=0))}function Tt(F,V){Array.isArray(F.illegal)&&(F.illegal=D(...F.illegal))}function kt(F,V){if(F.match){if(F.begin||F.end)throw new Error("begin & end are not supported with match");F.begin=F.match,delete F.match}}function Le(F,V){void 0===F.relevance&&(F.relevance=1)}const ct=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const K=Object.assign({},F);Object.keys(F).forEach(ve=>{delete F[ve]}),F.keywords=K.keywords,F.begin=y(K.beforeMatch,p(K.begin)),F.starts={relevance:0,contains:[Object.assign(K,{endsParent:!0})]},F.relevance=0,delete K.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,K=at){const ve=Object.create(null);return"string"==typeof F?ut(K,F.split(" ")):Array.isArray(F)?ut(K,F):Object.keys(F).forEach(function(Pt){Object.assign(ve,N(F[Pt],V,Pt))}),ve;function ut(Pt,qe){V&&(qe=qe.map(et=>et.toLowerCase())),qe.forEach(function(et){const Ve=et.split("|");ve[Ve[0]]=[Pt,oe(Ve[0],Ve[1])]})}}function oe(F,V){return V?Number(V):function Y(F){return ze.includes(F.toLowerCase())}(F)?0:1}const ne={},Q=F=>{console.error(F)},ue=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},Ct=new Error;function dt(F,V,{key:K}){let ve=0;const ut=F[K],Pt={},qe={};for(let et=1;et<=V.length;et++)qe[et+ve]=ut[et],Pt[et+ve]=!0,ve+=S(V[et-1]);F[K]=qe,F[K]._emit=Pt,F[K]._multi=!0}function ot(F){(function ge(F){F.scope&&"object"==typeof F.scope&&null!==F.scope&&(F.beginScope=F.scope,delete F.scope)})(F),"string"==typeof F.beginScope&&(F.beginScope={_wrap:F.beginScope}),"string"==typeof F.endScope&&(F.endScope={_wrap:F.endScope}),function bt(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw Q("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ct;if("object"!=typeof F.beginScope||null===F.beginScope)throw Q("beginScope must be object"),Ct;dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function Oe(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw Q("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ct;if("object"!=typeof F.endScope||null===F.endScope)throw Q("endScope must be object"),Ct;dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function At(F){function V(qe,et){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(et?"g":""))}class K{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(et,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,et]),this.matchAt+=S(et)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const et=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(et,{joinWith:"|"}),!0),this.lastIndex=0}exec(et){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(et);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),Lt=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,Lt)}}class ve{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(et){if(this.multiRegexes[et])return this.multiRegexes[et];const Ve=new K;return this.rules.slice(et).forEach(([yt,Lt])=>Ve.addRule(yt,Lt)),Ve.compile(),this.multiRegexes[et]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(et,Ve){this.rules.push([et,Ve]),"begin"===Ve.type&&this.count++}exec(et){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(et);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const Lt=this.getMatcher(0);Lt.lastIndex=this.lastIndex+1,yt=Lt.exec(et)}return yt&&(this.regexIndex+=yt.position+1,this.regexIndex===this.count&&this.considerAll()),yt}}if(F.compilerExtensions||(F.compilerExtensions=[]),F.contains&&F.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return F.classNameAliases=c(F.classNameAliases||{}),function Pt(qe,et){const Ve=qe;if(qe.isCompiled)return Ve;[gt,kt,ot,ct].forEach(Lt=>Lt(qe,et)),F.compilerExtensions.forEach(Lt=>Lt(qe,et)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(Lt=>Lt(qe,et)),qe.isCompiled=!0;let yt=null;return"object"==typeof qe.keywords&&qe.keywords.$pattern&&(qe.keywords=Object.assign({},qe.keywords),yt=qe.keywords.$pattern,delete qe.keywords.$pattern),yt=yt||/\w+/,qe.keywords&&(qe.keywords=N(qe.keywords,F.case_insensitive)),Ve.keywordPatternRe=V(yt,!0),et&&(qe.begin||(qe.begin=/\B|\b/),Ve.beginRe=V(Ve.begin),!qe.end&&!qe.endsWithParent&&(qe.end=/\B|\b/),qe.end&&(Ve.endRe=V(Ve.end)),Ve.terminatorEnd=b(Ve.end)||"",qe.endsWithParent&&et.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+et.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(Lt){return function zt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Nt(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===Lt?qe:Lt)})),qe.contains.forEach(function(Lt){Pt(Lt,Ve)}),qe.starts&&Pt(qe.starts,et),Ve.matcher=function ut(qe){const et=new ve;return qe.contains.forEach(Ve=>et.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&et.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&et.addRule(qe.illegal,{type:"illegal"}),et}(Ve),Ve}(F)}function Nt(F){return!!F&&(F.endsWithParent||Nt(F.starts))}class $e extends Error{constructor(V,K){super(V),this.name="HTMLInjectionError",this.html=K}}const ae=n,Ce=c,lt=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),K=Object.create(null),ve=[];let ut=!0;const Pt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let et={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:v};function Ve(an){return et.noHighlightRe.test(an)}function Lt(an,mn,Tn){let Rn="",Wn="";"object"==typeof mn?(Rn=an,Tn=mn.ignoreIllegals,Wn=mn.language):(Te("10.7.0","highlight(lang, code, ...args) has been deprecated."),Te("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Wn=an,Rn=mn),void 0===Tn&&(Tn=!0);const mi={code:Rn,language:Wn};$n("before:highlight",mi);const Yn=mi.result?mi.result:on(mi.language,mi.code,Tn);return Yn.code=mi.code,$n("after:highlight",Yn),Yn}function on(an,mn,Tn,Rn){const Wn=Object.create(null);function mi(fn,Cn){return fn.keywords[Cn]}function Yn(){if(!pn.keywords)return void jn.addText(Fn);let fn=0;pn.keywordPatternRe.lastIndex=0;let Cn=pn.keywordPatternRe.exec(Fn),tn="";for(;Cn;){tn+=Fn.substring(fn,Cn.index);const En=Wt.case_insensitive?Cn[0].toLowerCase():Cn[0],ei=mi(pn,En);if(ei){const[Ei,tr]=ei;jn.addText(tn),tn="",Wn[En]=(Wn[En]||0)+1,Wn[En]<=7&&(bi+=tr),Ei.startsWith("_")?tn+=Cn[0]:ai(Cn[0],Wt.classNameAliases[Ei]||Ei)}else tn+=Cn[0];fn=pn.keywordPatternRe.lastIndex,Cn=pn.keywordPatternRe.exec(Fn)}tn+=Fn.substring(fn),jn.addText(tn)}function ri(){null!=pn.subLanguage?function wi(){if(""===Fn)return;let fn=null;if("string"==typeof pn.subLanguage){if(!V[pn.subLanguage])return void jn.addText(Fn);fn=on(pn.subLanguage,Fn,!0,si[pn.subLanguage]),si[pn.subLanguage]=fn._top}else fn=Sn(Fn,pn.subLanguage.length?pn.subLanguage:null);pn.relevance>0&&(bi+=fn.relevance),jn.__addSublanguage(fn._emitter,fn.language)}():Yn(),Fn=""}function ai(fn,Cn){""!==fn&&(jn.startScope(Cn),jn.addText(fn),jn.endScope())}function Ni(fn,Cn){let tn=1;const En=Cn.length-1;for(;tn<=En;){if(!fn._emit[tn]){tn++;continue}const ei=Wt.classNameAliases[fn[tn]]||fn[tn],Ei=Cn[tn];ei?ai(Ei,ei):(Fn=Ei,Yn(),Fn=""),tn++}}function xt(fn,Cn){return fn.scope&&"string"==typeof fn.scope&&jn.openNode(Wt.classNameAliases[fn.scope]||fn.scope),fn.beginScope&&(fn.beginScope._wrap?(ai(Fn,Wt.classNameAliases[fn.beginScope._wrap]||fn.beginScope._wrap),Fn=""):fn.beginScope._multi&&(Ni(fn.beginScope,Cn),Fn="")),pn=Object.create(fn,{parent:{value:pn}}),pn}function jt(fn,Cn,tn){let En=function E(F,V){const K=F&&F.exec(V);return K&&0===K.index}(fn.endRe,tn);if(En){if(fn["on:end"]){const ei=new a(fn);fn["on:end"](Cn,ei),ei.isMatchIgnored&&(En=!1)}if(En){for(;fn.endsParent&&fn.parent;)fn=fn.parent;return fn}}if(fn.endsWithParent)return jt(fn.parent,Cn,tn)}function ke(fn){return 0===pn.matcher.regexIndex?(Fn+=fn[0],1):(Gi=!0,0)}function me(fn){const Cn=fn[0],tn=mn.substring(fn.index),En=jt(pn,fn,tn);if(!En)return lt;const ei=pn;pn.endScope&&pn.endScope._wrap?(ri(),ai(Cn,pn.endScope._wrap)):pn.endScope&&pn.endScope._multi?(ri(),Ni(pn.endScope,fn)):ei.skip?Fn+=Cn:(ei.returnEnd||ei.excludeEnd||(Fn+=Cn),ri(),ei.excludeEnd&&(Fn=Cn));do{pn.scope&&jn.closeNode(),!pn.skip&&!pn.subLanguage&&(bi+=pn.relevance),pn=pn.parent}while(pn!==En.parent);return En.starts&&xt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function Ot(fn,Cn){const tn=Cn&&Cn[0];if(Fn+=fn,null==tn)return ri(),0;if("begin"===Xe.type&&"end"===Cn.type&&Xe.index===Cn.index&&""===tn){if(Fn+=mn.slice(Cn.index,Cn.index+1),!ut){const En=new Error(`0 width match regex (${an})`);throw En.languageName=an,En.badRule=Xe.rule,En}return 1}if(Xe=Cn,"begin"===Cn.type)return function O(fn){const Cn=fn[0],tn=fn.rule,En=new a(tn),ei=[tn.__beforeBegin,tn["on:begin"]];for(const Ei of ei)if(Ei&&(Ei(fn,En),En.isMatchIgnored))return ke(Cn);return tn.skip?Fn+=Cn:(tn.excludeBegin&&(Fn+=Cn),ri(),!tn.returnBegin&&!tn.excludeBegin&&(Fn=Cn)),xt(tn,fn),tn.returnBegin?0:Cn.length}(Cn);if("illegal"===Cn.type&&!Tn){const En=new Error('Illegal lexeme "'+tn+'" for mode "'+(pn.scope||"")+'"');throw En.mode=pn,En}if("end"===Cn.type){const En=me(Cn);if(En!==lt)return En}if("illegal"===Cn.type&&""===tn)return 1;if(Fi>1e5&&Fi>3*Cn.index)throw new Error("potential infinite loop, way more iterations than matches");return Fn+=tn,tn.length}const Wt=cn(an);if(!Wt)throw Q(Pt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=At(Wt);let gn="",pn=Rn||un;const si={},jn=new et.__emitter(et);!function le(){const fn=[];for(let Cn=pn;Cn!==Wt;Cn=Cn.parent)Cn.scope&&fn.unshift(Cn.scope);fn.forEach(Cn=>jn.openNode(Cn))}();let Fn="",bi=0,Ti=0,Fi=0,Gi=!1;try{if(Wt.__emitTokens)Wt.__emitTokens(mn,jn);else{for(pn.matcher.considerAll();;){Fi++,Gi?Gi=!1:pn.matcher.considerAll(),pn.matcher.lastIndex=Ti;const fn=pn.matcher.exec(mn);if(!fn)break;const tn=Ot(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}Ot(mn.substring(Ti))}return jn.finalize(),gn=jn.toHTML(),{language:an,value:gn,relevance:bi,illegal:!1,_emitter:jn,_top:pn}}catch(fn){if(fn.message&&fn.message.includes("Illegal"))return{language:an,value:ae(mn),illegal:!0,relevance:0,_illegalBy:{message:fn.message,index:Ti,context:mn.slice(Ti-100,Ti+100),mode:fn.mode,resultSoFar:gn},_emitter:jn};if(ut)return{language:an,value:ae(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||et.languages||Object.keys(V);const Tn=function xn(an){const mn={value:ae(an),illegal:!1,relevance:0,_top:qe,_emitter:new et.__emitter(et)};return mn._emitter.addText(an),mn}(an),Rn=mn.filter(cn).filter(Nn).map(ri=>on(ri,an,!1));Rn.unshift(Tn);const Wn=Rn.sort((ri,ai)=>{if(ri.relevance!==ai.relevance)return ai.relevance-ri.relevance;if(ri.language&&ai.language){if(cn(ri.language).supersetOf===ai.language)return 1;if(cn(ai.language).supersetOf===ri.language)return-1}return 0}),[mi,Yn]=Wn,wi=mi;return wi.secondBest=Yn,wi}function Mn(an){let mn=null;const Tn=function yt(an){let mn=an.className+" ";mn+=an.parentNode?an.parentNode.className:"";const Tn=et.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ue(Pt.replace("{}",Tn[1])),ue("Falling back to no-highlight mode for this block.",an)),Rn?Tn[1]:"no-highlight"}return mn.split(/\s+/).find(Rn=>Ve(Rn)||cn(Rn))}(an);if(Ve(Tn))return;if($n("before:highlightElement",{el:an,language:Tn}),an.children.length>0&&(et.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(an)),et.throwUnescapedHTML))throw new $e("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?Lt(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&K[mn]||Tn;an.classList.add("hljs"),an.classList.add(`language-${Rn}`)}(an,Tn,Wn.language),an.result={language:Wn.language,re:Wn.relevance,relevance:Wn.relevance},Wn.secondBest&&(an.secondBest={language:Wn.secondBest.language,relevance:Wn.secondBest.relevance}),$n("after:highlightElement",{el:an,result:Wn,text:Rn})}let Yi=!1;function Et(){"loading"!==document.readyState?document.querySelectorAll(et.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[K[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{K[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;ve.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function _t(){Yi&&Et()},!1),Object.assign(F,{highlight:Lt,highlightAuto:Sn,highlightAll:Et,highlightElement:Mn,highlightBlock:function ti(an){return Te("10.7.0","highlightBlock will be removed entirely in v12.0"),Te("10.7.0","Please use highlightElement now."),Mn(an)},configure:function xi(an){et=Ce(et,an)},initHighlighting:()=>{Et(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){Et(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function mt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(Q("Language definition for '{}' could not be registered.".replace("{}",an)),!ut)throw Rn;Q(Rn),Tn=qe}Tn.name||(Tn.name=an),V[an]=Tn,Tn.rawDefinition=mn.bind(null,F),Tn.aliases&&sn(Tn.aliases,{languageName:an})},unregisterLanguage:function qt(an){delete V[an];for(const mn of Object.keys(K))K[mn]===an&&delete K[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:Ce,addPlugin:function Xn(an){(function wn(an){an["before:highlightBlock"]&&!an["before:highlightElement"]&&(an["before:highlightElement"]=mn=>{an["before:highlightBlock"](Object.assign({block:mn.el},mn))}),an["after:highlightBlock"]&&!an["after:highlightElement"]&&(an["after:highlightElement"]=mn=>{an["after:highlightBlock"](Object.assign({block:mn.el},mn))})})(an),ve.push(an)},removePlugin:function _i(an){const mn=ve.indexOf(an);-1!==mn&&ve.splice(mn,1)}}),F.debugMode=function(){ut=!1},F.safeMode=function(){ut=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Mt)"object"==typeof Mt[an]&&B(Mt[an]);return Object.assign(F,Mt),F},De=Ye({});De.newInstance=()=>Ye({}),Ie.exports=De,De.HighlightJS=De,De.default=De},5454:Ie=>{Ie.exports=function B(a){const d=["true","false","null"],g={scope:"literal",beginKeywords:d.join(" ")};return{name:"JSON",keywords:{literal:d},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},a.QUOTE_STRING_MODE,g,a.C_NUMBER_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},5149:Ie=>{Ie.exports=function B(a){const n=a.regex,c=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),g={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=a.inherit(r,{begin:/\(/,end:/\)/}),f=a.inherit(a.APOS_STRING_MODE,{className:"string"}),u=a.inherit(a.QUOTE_STRING_MODE,{className:"string"}),v={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,u,f,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,h,u,f]}]}]},a.COMMENT(//,{relevance:10}),{begin://,relevance:10},g,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[u]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[v],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[v],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:c,relevance:0,starts:v}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(c,/>/))),contains:[{className:"name",begin:c,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},7156:Ie=>{function B(n,c,d,g,r,h,f){try{var u=n[h](f),v=u.value}catch(b){return void d(b)}u.done?c(v):Promise.resolve(v).then(g,r)}Ie.exports=function a(n){return function(){var c=this,d=arguments;return new Promise(function(g,r){var h=n.apply(c,d);function f(v){B(h,g,r,f,u,"next",v)}function u(v){B(h,g,r,f,u,"throw",v)}f(void 0)})}},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},8416:(Ie,B,a)=>{var n=a(4062);Ie.exports=function c(d,g,r){return(g=n(g))in d?Object.defineProperty(d,g,{value:r,enumerable:!0,configurable:!0,writable:!0}):d[g]=r,d},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},5036:(Ie,B,a)=>{var n=a(8698).default;Ie.exports=function c(d,g){if("object"!==n(d)||null===d)return d;var r=d[Symbol.toPrimitive];if(void 0!==r){var h=r.call(d,g||"default");if("object"!==n(h))return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===g?String:Number)(d)},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},4062:(Ie,B,a)=>{var n=a(8698).default,c=a(5036);Ie.exports=function d(g){var r=c(g,"string");return"symbol"===n(r)?r:String(r)},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},8698:Ie=>{function B(a){return Ie.exports=B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports,B(a)}Ie.exports=B,Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},6825:(Ie,B,a)=>{"use strict";a.d(B,{F4:()=>b,IO:()=>x,LC:()=>c,SB:()=>v,X$:()=>g,ZE:()=>E,ZN:()=>S,_j:()=>n,eR:()=>p,jt:()=>r,k1:()=>I,l3:()=>d,oB:()=>u,pV:()=>l,ru:()=>h,vP:()=>f});class n{}class c{}const d="*";function g(X,$){return{type:7,name:X,definitions:$,options:{}}}function r(X,$=null){return{type:4,styles:$,timings:X}}function h(X,$=null){return{type:3,steps:X,options:$}}function f(X,$=null){return{type:2,steps:X,options:$}}function u(X){return{type:6,styles:X,offset:null}}function v(X,$,ee){return{type:0,name:X,styles:$,options:ee}}function b(X){return{type:5,steps:X}}function p(X,$,ee=null){return{type:1,expr:X,animation:$,options:ee}}function l(X=null){return{type:9,options:X}}function x(X,$,ee=null){return{type:11,selector:X,animation:$,options:ee}}class S{constructor($=0,ee=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=$+ee}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(ie=>ie()),ee.length=0}}class E{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let ee=0,ie=0,A=0;const U=this.players.length;0==U?queueMicrotask(()=>this._onFinish()):this.players.forEach(Me=>{Me.onDone(()=>{++ee==U&&this._onFinish()}),Me.onDestroy(()=>{++ie==U&&this._onDestroy()}),Me.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Me,Re)=>Math.max(Me,Re.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const ee=$*this.totalTime;this.players.forEach(ie=>{const A=ie.totalTime?Math.min(1,ee/ie.totalTime):1;ie.setPosition(A)})}getPosition(){const $=this.players.reduce((ee,ie)=>null===ee||ie.totalTime>ee.totalTime?ie:ee,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(ie=>ie()),ee.length=0}}const I="!"},4300:(Ie,B,a)=>{"use strict";a.d(B,{$s:()=>Ae,Em:()=>we,Kd:()=>ot,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>$e,mK:()=>kt,qm:()=>_e,rt:()=>Ye,s1:()=>pe,tE:()=>Ne,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),h=a(5619),f=a(2096),u=a(6028),v=a(9397),b=a(3620),p=a(2181),_=a(7398),l=a(8180),y=a(836),x=a(3997),D=a(9773),S=a(2495),E=a(7131),I=a(1088);const X=" ";function $(De,F,V){const K=ie(De,F);K.some(ve=>ve.trim()==V.trim())||(K.push(V.trim()),De.setAttribute(F,K.join(X)))}function ee(De,F,V){const ve=ie(De,F).filter(ut=>ut!=V.trim());ve.length?De.setAttribute(F,ve.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Me="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,K){this._platform=K,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,K,ve){if(!this._canBeDescribed(V,K))return;const ut=he(K,ve);"string"!=typeof K?(H(K,this._id),this._messageRegistry.set(ut,{messageElement:K,referenceCount:0})):this._messageRegistry.has(ut)||this._createMessageElement(K,ve),this._isElementDescribedByMessage(V,ut)||this._addMessageReference(V,ut)}removeDescription(V,K,ve){if(!K||!this._isElementNode(V))return;const ut=he(K,ve);if(this._isElementDescribedByMessage(V,ut)&&this._removeMessageReference(V,ut),"string"==typeof K){const Pt=this._messageRegistry.get(ut);Pt&&0===Pt.referenceCount&&this._deleteMessageElement(ut)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Me}="${this._id}"]`);for(let K=0;K0!=ve.indexOf(U));V.setAttribute("aria-describedby",K.join(" "))}_addMessageReference(V,K){const ve=this._messageRegistry.get(K);$(V,"aria-describedby",ve.messageElement.id),V.setAttribute(Me,this._id),ve.referenceCount++}_removeMessageReference(V,K){const ve=this._messageRegistry.get(K);ve.referenceCount--,ee(V,"aria-describedby",ve.messageElement.id),V.removeAttribute(Me)}_isElementDescribedByMessage(V,K){const ve=ie(V,"aria-describedby"),ut=this._messageRegistry.get(K),Pt=ut&&ut.messageElement.id;return!!Pt&&-1!=ve.indexOf(Pt)}_canBeDescribed(V,K){if(!this._isElementNode(V))return!1;if(K&&"object"==typeof K)return!0;const ve=null==K?"":`${K}`.trim(),ut=V.getAttribute("aria-label");return!(!ve||ut&&ut.trim()===ve)}_isElementNode(V){return V.nodeType===this._document.ELEMENT_NODE}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(n.DOCUMENT),c.\u0275\u0275inject(d.t4))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function he(De,F){return"string"==typeof De?`${F||""}/${De}`:De}function H(De,F){De.id||(De.id=`${U}-${F}-${Re++}`)}class W{constructor(F){this._items=F,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new g.x,this._typeaheadSubscription=r.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=V=>V.disabled,this._pressedLetters=[],this.tabOut=new g.x,this.change=new g.x,F instanceof c.QueryList&&(this._itemChangesSubscription=F.changes.subscribe(V=>{if(this._activeItem){const ve=V.toArray().indexOf(this._activeItem);ve>-1&&ve!==this._activeItemIndex&&(this._activeItemIndex=ve)}}))}skipPredicate(F){return this._skipPredicateFn=F,this}withWrap(F=!0){return this._wrap=F,this}withVerticalOrientation(F=!0){return this._vertical=F,this}withHorizontalOrientation(F){return this._horizontal=F,this}withAllowedModifierKeys(F){return this._allowedModifierKeys=F,this}withTypeAhead(F=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,v.b)(V=>this._pressedLetters.push(V)),(0,b.b)(F),(0,p.h)(()=>this._pressedLetters.length>0),(0,_.U)(()=>this._pressedLetters.join(""))).subscribe(V=>{const K=this._getItemsArray();for(let ve=1;ve!F[ut]||this._allowedModifierKeys.indexOf(ut)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&ve){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&ve){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&ve){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&ve){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&ve){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&ve){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&ve){const ut=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ut>0?ut:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&ve){const ut=this._activeItemIndex+this._pageUpAndDown.delta,Pt=this._getItemsArray().length;this._setActiveItemByIndex(ut=u.A&&V<=u.Z||V>=u.xE&&V<=u.aO)&&this._letterKeyStream.next(String.fromCharCode(V))))}this._pressedLetters=[],F.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(F){const V=this._getItemsArray(),K="number"==typeof F?F:V.indexOf(F);this._activeItem=V[K]??null,this._activeItemIndex=K}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(F){this._wrap?this._setActiveInWrapMode(F):this._setActiveInDefaultMode(F)}_setActiveInWrapMode(F){const V=this._getItemsArray();for(let K=1;K<=V.length;K++){const ve=(this._activeItemIndex+F*K+V.length)%V.length;if(!this._skipPredicateFn(V[ve]))return void this.setActiveItem(ve)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const K=this._getItemsArray();if(K[F]){for(;this._skipPredicateFn(K[F]);)if(!K[F+=V])return;this.setActiveItem(F)}}_getItemsArray(){return this._items instanceof c.QueryList?this._items.toArray():this._items}}class pe extends W{setActiveItem(F){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(F),this.activeItem&&this.activeItem.setActiveStyles()}}class we extends W{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(F){return this._origin=F,this}setActiveItem(F){super.setActiveItem(F),this.activeItem&&this.activeItem.focus(this._origin)}}let Be=(()=>{class De{constructor(V){this._platform=V}isDisabled(V){return V.hasAttribute("disabled")}isVisible(V){return function re(De){return!!(De.offsetWidth||De.offsetHeight||"function"==typeof De.getClientRects&&De.getClientRects().length)}(V)&&"visible"===getComputedStyle(V).visibility}isTabbable(V){if(!this._platform.isBrowser)return!1;const K=function G(De){try{return De.frameElement}catch{return null}}(function gt(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(K&&(-1===tt(K)||!this.isVisible(K)))return!1;let ve=V.nodeName.toLowerCase(),ut=tt(V);return V.hasAttribute("contenteditable")?-1!==ut:!("iframe"===ve||"object"===ve||this._platform.WEBKIT&&this._platform.IOS&&!function Mt(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===ve?!!V.hasAttribute("controls")&&-1!==ut:"video"===ve?-1!==ut&&(null!==ut||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,K){return function Ft(De){return!function ye(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function se(De){let F=De.nodeName.toLowerCase();return"input"===F||"select"===F||"button"===F||"textarea"===F}(De)||function He(De){return function Qe(De){return"a"==De.nodeName.toLowerCase()}(De)&&De.hasAttribute("href")}(De)||De.hasAttribute("contenteditable")||We(De))}(V)&&!this.isDisabled(V)&&(K?.ignoreVisibility||this.isVisible(V))}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(d.t4))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function We(De){if(!De.hasAttribute("tabindex")||void 0===De.tabIndex)return!1;let F=De.getAttribute("tabindex");return!(!F||isNaN(parseInt(F,10)))}function tt(De){if(!We(De))return null;const F=parseInt(De.getAttribute("tabindex")||"",10);return isNaN(F)?-1:F}class Bt{get enabled(){return this._enabled}set enabled(F){this._enabled=F,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(F,this._startAnchor),this._toggleAnchorTabIndex(F,this._endAnchor))}constructor(F,V,K,ve,ut=!1){this._element=F,this._checker=V,this._ngZone=K,this._document=ve,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ut||this.attachAnchors()}destroy(){const F=this._startAnchor,V=this._endAnchor;F&&(F.removeEventListener("focus",this.startAnchorListener),F.remove()),V&&(V.removeEventListener("focus",this.endAnchorListener),V.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(F){return new Promise(V=>{this._executeOnStable(()=>V(this.focusInitialElement(F)))})}focusFirstTabbableElementWhenReady(F){return new Promise(V=>{this._executeOnStable(()=>V(this.focusFirstTabbableElement(F)))})}focusLastTabbableElementWhenReady(F){return new Promise(V=>{this._executeOnStable(()=>V(this.focusLastTabbableElement(F)))})}_getRegionBoundary(F){const V=this._element.querySelectorAll(`[cdk-focus-region-${F}], [cdkFocusRegion${F}], [cdk-focus-${F}]`);return"start"==F?V.length?V[0]:this._getFirstTabbableElement(this._element):V.length?V[V.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(F){const V=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(V){if(!this._checker.isFocusable(V)){const K=this._getFirstTabbableElement(V);return K?.focus(F),!!K}return V.focus(F),!0}return this.focusFirstTabbableElement(F)}focusFirstTabbableElement(F){const V=this._getRegionBoundary("start");return V&&V.focus(F),!!V}focusLastTabbableElement(F){const V=this._getRegionBoundary("end");return V&&V.focus(F),!!V}hasAttached(){return this._hasAttached}_getFirstTabbableElement(F){if(this._checker.isFocusable(F)&&this._checker.isTabbable(F))return F;const V=F.children;for(let K=0;K=0;K--){const ve=V[K].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[K]):null;if(ve)return ve}return null}_createAnchor(){const F=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,F),F.classList.add("cdk-visually-hidden"),F.classList.add("cdk-focus-trap-anchor"),F.setAttribute("aria-hidden","true"),F}_toggleAnchorTabIndex(F,V){F?V.setAttribute("tabindex","0"):V.removeAttribute("tabindex")}toggleAnchors(F){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(F,this._startAnchor),this._toggleAnchorTabIndex(F,this._endAnchor))}_executeOnStable(F){this._ngZone.isStable?F():this._ngZone.onStable.pipe((0,l.q)(1)).subscribe(F)}}let Tt=(()=>{class De{constructor(V,K,ve){this._checker=V,this._ngZone=K,this._document=ve}create(V,K=!1){return new Bt(V,this._checker,this._ngZone,this._document,K)}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(Be),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(n.DOCUMENT))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),kt=(()=>{class De{get enabled(){return this.focusTrap.enabled}set enabled(V){this.focusTrap.enabled=(0,S.Ig)(V)}get autoCapture(){return this._autoCapture}set autoCapture(V){this._autoCapture=(0,S.Ig)(V)}constructor(V,K,ve){this._elementRef=V,this._focusTrapFactory=K,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(V){const K=V.autoCapture;K&&!K.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,d.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(Tt),c.\u0275\u0275directiveInject(n.DOCUMENT))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[c.\u0275\u0275NgOnChangesFeature]}),De})();function oe(De){return 0===De.buttons||0===De.offsetX&&0===De.offsetY}function Y(De){const F=De.touches&&De.touches[0]||De.changedTouches&&De.changedTouches[0];return!(!F||-1!==F.identifier||null!=F.radiusX&&1!==F.radiusX||null!=F.radiusY&&1!==F.radiusY)}const ne=new c.InjectionToken("cdk-input-modality-detector-options"),Q={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let Ct=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,K,ve,ut){this._platform=V,this._mostRecentTarget=null,this._modality=new h.X(null),this._lastTouchMs=0,this._onKeydown=Pt=>{this._options?.ignoreKeys?.some(qe=>qe===Pt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Pt))},this._onMousedown=Pt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Pt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Pt))},this._onTouchstart=Pt=>{Y(Pt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Pt))},this._options={...Q,...ut},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&K.runOutsideAngular(()=>{ve.addEventListener("keydown",this._onKeydown,Te),ve.addEventListener("mousedown",this._onMousedown,Te),ve.addEventListener("touchstart",this._onTouchstart,Te)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Te),document.removeEventListener("mousedown",this._onMousedown,Te),document.removeEventListener("touchstart",this._onTouchstart,Te))}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(d.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(n.DOCUMENT),c.\u0275\u0275inject(ne,8))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();const dt=new c.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function bt(){return null}}),Oe=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ge=0,ot=(()=>{class De{constructor(V,K,ve,ut){this._ngZone=K,this._defaultOptions=ut,this._document=ve,this._liveElement=V||this._createLiveElement()}announce(V,...K){const ve=this._defaultOptions;let ut,Pt;return 1===K.length&&"number"==typeof K[0]?Pt=K[0]:[ut,Pt]=K,this.clear(),clearTimeout(this._previousTimeout),ut||(ut=ve&&ve.politeness?ve.politeness:"polite"),null==Pt&&ve&&(Pt=ve.duration),this._liveElement.setAttribute("aria-live",ut),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(qe=>this._currentResolve=qe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=V,"number"==typeof Pt&&(this._previousTimeout=setTimeout(()=>this.clear(),Pt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const V="cdk-live-announcer-element",K=this._document.getElementsByClassName(V),ve=this._document.createElement("div");for(let ut=0;ut .cdk-overlay-container [aria-modal="true"]');for(let ve=0;ve{class De{constructor(V,K,ve,ut,Pt){this._ngZone=V,this._platform=K,this._inputModalityDetector=ve,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new g.x,this._rootNodeFocusAndBlurListener=qe=>{for(let Ve=(0,d.sA)(qe);Ve;Ve=Ve.parentElement)"focus"===qe.type?this._onFocus(qe,Ve):this._onBlur(qe,Ve)},this._document=ut,this._detectionMode=Pt?.detectionMode||0}monitor(V,K=!1){const ve=(0,S.fI)(V);if(!this._platform.isBrowser||1!==ve.nodeType)return(0,f.of)();const ut=(0,d.kV)(ve)||this._getDocument(),Pt=this._elementInfo.get(ve);if(Pt)return K&&(Pt.checkChildren=!0),Pt.subject;const qe={checkChildren:K,subject:new g.x,rootNode:ut};return this._elementInfo.set(ve,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const K=(0,S.fI)(V),ve=this._elementInfo.get(K);ve&&(ve.subject.complete(),this._setClasses(K),this._elementInfo.delete(K),this._removeGlobalListeners(ve))}focusVia(V,K,ve){const ut=(0,S.fI)(V);ut===this._getDocument().activeElement?this._getClosestElementsInfo(ut).forEach(([qe,et])=>this._originChanged(qe,K,et)):(this._setOrigin(K),"function"==typeof ut.focus&&ut.focus(ve))}ngOnDestroy(){this._elementInfo.forEach((V,K)=>this.stopMonitoring(K))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(V){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(V)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:V&&this._isLastInteractionFromInputLabel(V)?"mouse":"program"}_shouldBeAttributedToTouch(V){return 1===this._detectionMode||!!V?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(V,K){V.classList.toggle("cdk-focused",!!K),V.classList.toggle("cdk-touch-focused","touch"===K),V.classList.toggle("cdk-keyboard-focused","keyboard"===K),V.classList.toggle("cdk-mouse-focused","mouse"===K),V.classList.toggle("cdk-program-focused","program"===K)}_setOrigin(V,K=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&K,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,K){const ve=this._elementInfo.get(K),ut=(0,d.sA)(V);!ve||!ve.checkChildren&&K!==ut||this._originChanged(K,this._getFocusOrigin(ut),ve)}_onBlur(V,K){const ve=this._elementInfo.get(K);!ve||ve.checkChildren&&V.relatedTarget instanceof Node&&K.contains(V.relatedTarget)||(this._setClasses(K),this._emitOrigin(ve,null))}_emitOrigin(V,K){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(K))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const K=V.rootNode,ve=this._rootNodeFocusListenerCount.get(K)||0;ve||this._ngZone.runOutsideAngular(()=>{K.addEventListener("focus",this._rootNodeFocusAndBlurListener,zt),K.addEventListener("blur",this._rootNodeFocusAndBlurListener,zt)}),this._rootNodeFocusListenerCount.set(K,ve+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(ut=>{this._setOrigin(ut,!0)}))}_removeGlobalListeners(V){const K=V.rootNode;if(this._rootNodeFocusListenerCount.has(K)){const ve=this._rootNodeFocusListenerCount.get(K);ve>1?this._rootNodeFocusListenerCount.set(K,ve-1):(K.removeEventListener("focus",this._rootNodeFocusAndBlurListener,zt),K.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zt),this._rootNodeFocusListenerCount.delete(K))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,K,ve){this._setClasses(V,K),this._emitOrigin(ve,K),this._lastFocusOrigin=K}_getClosestElementsInfo(V){const K=[];return this._elementInfo.forEach((ve,ut)=>{(ut===V||ve.checkChildren&&ut.contains(V))&&K.push([ut,ve])}),K}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:K,mostRecentModality:ve}=this._inputModalityDetector;if("mouse"!==ve||!K||K===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const ut=V.labels;if(ut)for(let Pt=0;Pt{class De{constructor(V,K){this._elementRef=V,this._focusMonitor=K,this._focusOrigin=null,this.cdkFocusChange=new c.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const V=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(V,1===V.nodeType&&V.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(K=>{this._focusOrigin=K,this.cdkFocusChange.emit(K)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(Ne))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const ae="cdk-high-contrast-black-on-white",Ce="cdk-high-contrast-white-on-black",lt="cdk-high-contrast-active";let _e=(()=>{class De{constructor(V,K){this._platform=V,this._document=K,this._breakpointSubscription=(0,c.inject)(I.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const V=this._document.createElement("div");V.style.backgroundColor="rgb(1,2,3)",V.style.position="absolute",this._document.body.appendChild(V);const K=this._document.defaultView||window,ve=K&&K.getComputedStyle?K.getComputedStyle(V):null,ut=(ve&&ve.backgroundColor||"").replace(/ /g,"");switch(V.remove(),ut){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const V=this._document.body.classList;V.remove(lt,ae,Ce),this._hasCheckedHighContrastMode=!0;const K=this.getHighContrastMode();1===K?V.add(lt,ae):2===K&&V.add(lt,Ce)}}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(d.t4),c.\u0275\u0275inject(n.DOCUMENT))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Ye=(()=>{class De{constructor(V){V._applyBodyHighContrastModeCssClasses()}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(_e))},De.\u0275mod=c.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=c.\u0275\u0275defineInjector({imports:[E.Q8]}),De})()},9388:(Ie,B,a)=>{"use strict";a.d(B,{Is:()=>f,vT:()=>v});var n=a(5879),c=a(6814);const d=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function g(){return(0,n.inject)(c.DOCUMENT)}}),r=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function h(b){const p=b?.toLowerCase()||"";return"auto"===p&&typeof navigator<"u"&&navigator?.language?r.test(navigator.language)?"rtl":"ltr":"rtl"===p?"rtl":"ltr"}((_.body?_.body.dir:null)||(_.documentElement?_.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return b.\u0275fac=function(_){return new(_||b)(n.\u0275\u0275inject(d,8))},b.\u0275prov=n.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),v=(()=>{class b{}return b.\u0275fac=function(_){return new(_||b)},b.\u0275mod=n.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=n.\u0275\u0275defineInjector({}),b})()},2495:(Ie,B,a)=>{"use strict";a.d(B,{Eq:()=>r,HM:()=>h,Ig:()=>c,du:()=>u,fI:()=>f,su:()=>d,t6:()=>g});var n=a(5879);function c(v){return null!=v&&"false"!=`${v}`}function d(v,b=0){return g(v)?Number(v):b}function g(v){return!isNaN(parseFloat(v))&&!isNaN(Number(v))}function r(v){return Array.isArray(v)?v:[v]}function h(v){return null==v?"":"string"==typeof v?v:`${v}px`}function f(v){return v instanceof n.ElementRef?v.nativeElement:v}function u(v,b=/\s+/){const p=[];if(null!=v){const _=Array.isArray(v)?v:`${v}`.split(b);for(const l of _){const y=`${l}`.trim();y&&p.push(y)}}return p}},8337:(Ie,B,a)=>{"use strict";a.d(B,{A8:()=>p,Ov:()=>v,Z9:()=>r,eX:()=>u,k:()=>_,o2:()=>g,yy:()=>f});var n=a(3168),c=a(8645),d=a(5879);class g{}function r(l){return l&&"function"==typeof l.connect&&!(l instanceof n.c)}class f{applyChanges(y,x,D,S,E){y.forEachOperation((I,X,$)=>{let ee,ie;if(null==I.previousIndex){const A=D(I,X,$);ee=x.createEmbeddedView(A.templateRef,A.context,A.index),ie=1}else null==$?(x.remove(X),ie=3):(ee=x.get(X),x.move(ee,$),ie=2);E&&E({context:ee?.context,operation:ie,record:I})})}detach(){}}class u{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(y,x,D,S,E){y.forEachOperation((I,X,$)=>{let ee,ie;null==I.previousIndex?(ee=this._insertView(()=>D(I,X,$),$,x,S(I)),ie=ee?1:0):null==$?(this._detachAndCacheView(X,x),ie=3):(ee=this._moveView(X,$,x,S(I)),ie=2),E&&E({context:ee?.context,operation:ie,record:I})})}detach(){for(const y of this._viewCache)y.destroy();this._viewCache=[]}_insertView(y,x,D,S){const E=this._insertViewFromCache(x,D);if(E)return void(E.context.$implicit=S);const I=y();return D.createEmbeddedView(I.templateRef,I.context,I.index)}_detachAndCacheView(y,x){const D=x.detach(y);this._maybeCacheView(D,x)}_moveView(y,x,D,S){const E=D.get(y);return D.move(E,x),E.context.$implicit=S,E}_maybeCacheView(y,x){if(this._viewCache.lengththis._markSelected(E)):this._markSelected(x[0]),this._selectedToEmit.length=0)}select(...y){this._verifyValueAssignment(y),y.forEach(D=>this._markSelected(D));const x=this._hasQueuedChanges();return this._emitChangeEvent(),x}deselect(...y){this._verifyValueAssignment(y),y.forEach(D=>this._unmarkSelected(D));const x=this._hasQueuedChanges();return this._emitChangeEvent(),x}setSelection(...y){this._verifyValueAssignment(y);const x=this.selected,D=new Set(y);y.forEach(E=>this._markSelected(E)),x.filter(E=>!D.has(E)).forEach(E=>this._unmarkSelected(E));const S=this._hasQueuedChanges();return this._emitChangeEvent(),S}toggle(y){return this.isSelected(y)?this.deselect(y):this.select(y)}clear(y=!0){this._unmarkAll();const x=this._hasQueuedChanges();return y&&this._emitChangeEvent(),x}isSelected(y){return this._selection.has(this._getConcreteValue(y))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(y){this._multiple&&this.selected&&this._selected.sort(y)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(y){y=this._getConcreteValue(y),this.isSelected(y)||(this._multiple||this._unmarkAll(),this.isSelected(y)||this._selection.add(y),this._emitChanges&&this._selectedToEmit.push(y))}_unmarkSelected(y){y=this._getConcreteValue(y),this.isSelected(y)&&(this._selection.delete(y),this._emitChanges&&this._deselectedToEmit.push(y))}_unmarkAll(){this.isEmpty()||this._selection.forEach(y=>this._unmarkSelected(y))}_verifyValueAssignment(y){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(y){if(this.compareWith){for(let x of this._selection)if(this.compareWith(y,x))return x;return y}return y}}let p=(()=>{class l{constructor(){this._listeners=[]}notify(x,D){for(let S of this._listeners)S(x,D)}listen(x){return this._listeners.push(x),()=>{this._listeners=this._listeners.filter(D=>x!==D)}}ngOnDestroy(){this._listeners=[]}}return l.\u0275fac=function(x){return new(x||l)},l.\u0275prov=d.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const _=new d.InjectionToken("_ViewRepeater")},6028:(Ie,B,a)=>{"use strict";a.d(B,{A:()=>ye,JH:()=>X,JU:()=>h,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>Oe,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>bt,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>f,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,h=16,f=17,u=18,p=27,_=32,l=33,y=34,x=35,D=36,S=37,E=38,I=39,X=40,U=48,Ee=57,ye=65,bt=90,Oe=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(xt=>ai[xt]):ai.altKey||ai.shiftKey||ai.ctrlKey||ai.metaKey}},1088:(Ie,B,a)=>{"use strict";a.d(B,{Yg:()=>X,u3:()=>ee});var n=a(5879),c=a(2495),d=a(8645),g=a(2572),r=a(34),h=a(5592),f=a(8180),u=a(836),v=a(3620),b=a(7398),p=a(7921),_=a(9773),l=a(2831);const x=new Set;let D,S=(()=>{class ie{constructor(U,Me){this._platform=U,this._nonce=Me,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):I}matchMedia(U){return(this._platform.WEBKIT||this._platform.BLINK)&&function E(ie,A){if(!x.has(ie))try{D||(D=document.createElement("style"),A&&(D.nonce=A),D.setAttribute("type","text/css"),document.head.appendChild(D)),D.sheet&&(D.sheet.insertRule(`@media ${ie} {body{ }}`,0),x.add(ie))}catch(U){console.error(U)}}(U,this._nonce),this._matchMedia(U)}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275inject(l.t4),n.\u0275\u0275inject(n.CSP_NONCE,8))},ie.\u0275prov=n.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function I(ie){return{matches:"all"===ie||""===ie,media:ie,addListener:()=>{},removeListener:()=>{}}}let X=(()=>{class ie{constructor(U,Me){this._mediaMatcher=U,this._zone=Me,this._queries=new Map,this._destroySubject=new d.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(U){return $((0,c.Eq)(U)).some(Re=>this._registerQuery(Re).mql.matches)}observe(U){const Re=$((0,c.Eq)(U)).map(he=>this._registerQuery(he).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,f.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(he=>{const H={matches:!1,breakpoints:{}};return he.forEach(({matches:W,query:pe})=>{H.matches=H.matches||W,H.breakpoints[pe]=W}),H}))}_registerQuery(U){if(this._queries.has(U))return this._queries.get(U);const Me=this._mediaMatcher.matchMedia(U),Ae={observable:new h.y(he=>{const H=W=>this._zone.run(()=>he.next(W));return Me.addListener(H),()=>{Me.removeListener(H)}}).pipe((0,p.O)(Me),(0,b.U)(({matches:he})=>({query:U,matches:he})),(0,_.R)(this._destroySubject)),mql:Me};return this._queries.set(U,Ae),Ae}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275inject(S),n.\u0275\u0275inject(n.NgZone))},ie.\u0275prov=n.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function $(ie){return ie.map(A=>A.split(",")).reduce((A,U)=>A.concat(U)).map(A=>A.trim())}const ee={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7131:(Ie,B,a)=>{"use strict";a.d(B,{Q8:()=>v,wD:()=>u});var n=a(2495),c=a(5879),d=a(5592),g=a(8645),r=a(3620);let h=(()=>{class b{create(_){return typeof MutationObserver>"u"?null:new MutationObserver(_)}}return b.\u0275fac=function(_){return new(_||b)},b.\u0275prov=c.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),f=(()=>{class b{constructor(_){this._mutationObserverFactory=_,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((_,l)=>this._cleanupObserver(l))}observe(_){const l=(0,n.fI)(_);return new d.y(y=>{const D=this._observeElement(l).subscribe(y);return()=>{D.unsubscribe(),this._unobserveElement(l)}})}_observeElement(_){if(this._observedElements.has(_))this._observedElements.get(_).count++;else{const l=new g.x,y=this._mutationObserverFactory.create(x=>l.next(x));y&&y.observe(_,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(_,{observer:y,stream:l,count:1})}return this._observedElements.get(_).stream}_unobserveElement(_){this._observedElements.has(_)&&(this._observedElements.get(_).count--,this._observedElements.get(_).count||this._cleanupObserver(_))}_cleanupObserver(_){if(this._observedElements.has(_)){const{observer:l,stream:y}=this._observedElements.get(_);l&&l.disconnect(),y.complete(),this._observedElements.delete(_)}}}return b.\u0275fac=function(_){return new(_||b)(c.\u0275\u0275inject(h))},b.\u0275prov=c.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),u=(()=>{class b{get disabled(){return this._disabled}set disabled(_){this._disabled=(0,n.Ig)(_),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(_){this._debounce=(0,n.su)(_),this._subscribe()}constructor(_,l,y){this._contentObserver=_,this._elementRef=l,this._ngZone=y,this.event=new c.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const _=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?_.pipe((0,r.b)(this.debounce)):_).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return b.\u0275fac=function(_){return new(_||b)(c.\u0275\u0275directiveInject(f),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone))},b.\u0275dir=c.\u0275\u0275defineDirective({type:b,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),b})(),v=(()=>{class b{}return b.\u0275fac=function(_){return new(_||b)},b.\u0275mod=c.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=c.\u0275\u0275defineInjector({providers:[h]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>se,aV:()=>Bt,pI:()=>ct,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),h=a(2181),f=a(8180),u=a(9773),v=a(812),b=a(9388),p=a(8484),_=a(8645),l=a(7394),y=a(3019),x=a(6028);const D=(0,r.Mq)();class S{constructor(ne,Q){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Q}attach(){}enable(){if(this._canBeEnabled()){const ne=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ne.style.left||"",this._previousHTMLStyles.top=ne.style.top||"",ne.style.left=(0,g.HM)(-this._previousScrollPosition.left),ne.style.top=(0,g.HM)(-this._previousScrollPosition.top),ne.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ne=this._document.documentElement,ue=ne.style,Te=this._document.body.style,Ct=ue.scrollBehavior||"",dt=Te.scrollBehavior||"";this._isEnabled=!1,ue.left=this._previousHTMLStyles.left,ue.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ue.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ue.scrollBehavior=Ct,Te.scrollBehavior=dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Q=this._document.body,ue=this._viewportRuler.getViewportSize();return Q.scrollHeight>ue.height||Q.scrollWidth>ue.width}}class I{constructor(ne,Q,ue,Te){this._scrollDispatcher=ne,this._ngZone=Q,this._viewportRuler=ue,this._config=Te,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ne){this._overlayRef=ne}enable(){if(this._scrollSubscription)return;const ne=this._scrollDispatcher.scrolled(0).pipe((0,h.h)(Q=>!Q||!this._overlayRef.overlayElement.contains(Q.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const Q=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Q-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ne.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class X{enable(){}disable(){}attach(){}}function $(Y,ne){return ne.some(Q=>Y.bottomQ.bottom||Y.rightQ.right)}function ee(Y,ne){return ne.some(Q=>Y.topQ.bottom||Y.leftQ.right)}class ie{constructor(ne,Q,ue,Te){this._scrollDispatcher=ne,this._viewportRuler=Q,this._ngZone=ue,this._config=Te,this._scrollSubscription=null}attach(ne){this._overlayRef=ne}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Q=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ue,height:Te}=this._viewportRuler.getViewportSize();$(Q,[{width:ue,height:Te,bottom:Te,right:ue,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let A=(()=>{class Y{constructor(Q,ue,Te,Ct){this._scrollDispatcher=Q,this._viewportRuler=ue,this._ngZone=Te,this.noop=()=>new X,this.close=dt=>new I(this._scrollDispatcher,this._ngZone,this._viewportRuler,dt),this.block=()=>new S(this._viewportRuler,this._document),this.reposition=dt=>new ie(this._scrollDispatcher,this._viewportRuler,this._ngZone,dt),this._document=Ct}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(n.mF),d.\u0275\u0275inject(n.rL),d.\u0275\u0275inject(d.NgZone),d.\u0275\u0275inject(c.DOCUMENT))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();class U{constructor(ne){if(this.scrollStrategy=new X,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ne){const Q=Object.keys(ne);for(const ue of Q)void 0!==ne[ue]&&(this[ue]=ne[ue])}}}class Ae{constructor(ne,Q){this.connectionPair=ne,this.scrollableViewProperties=Q}}let W=(()=>{class Y{constructor(Q){this._attachedOverlays=[],this._document=Q}ngOnDestroy(){this.detach()}add(Q){this.remove(Q),this._attachedOverlays.push(Q)}remove(Q){const ue=this._attachedOverlays.indexOf(Q);ue>-1&&this._attachedOverlays.splice(ue,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(c.DOCUMENT))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),pe=(()=>{class Y extends W{constructor(Q,ue){super(Q),this._ngZone=ue,this._keydownListener=Te=>{const Ct=this._attachedOverlays;for(let dt=Ct.length-1;dt>-1;dt--)if(Ct[dt]._keydownEvents.observers.length>0){const bt=Ct[dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>bt.next(Te)):bt.next(Te);break}}}add(Q){super.add(Q),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(d.NgZone,8))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),we=(()=>{class Y extends W{constructor(Q,ue,Te){super(Q),this._platform=ue,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=Ct=>{this._pointerDownEventTarget=(0,r.sA)(Ct)},this._clickListener=Ct=>{const dt=(0,r.sA)(Ct),bt="click"===Ct.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:dt;this._pointerDownEventTarget=null;const Oe=this._attachedOverlays.slice();for(let ge=Oe.length-1;ge>-1;ge--){const ot=Oe[ge];if(ot._outsidePointerEvents.observers.length<1||!ot.hasAttached())continue;if(ot.overlayElement.contains(dt)||ot.overlayElement.contains(bt))break;const At=ot._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>At.next(Ct)):At.next(Ct)}}}add(Q){if(super.add(Q),!this._isAttached){const ue=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ue)):this._addEventListeners(ue),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ue.style.cursor,ue.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Q=this._document.body;Q.removeEventListener("pointerdown",this._pointerDownListener,!0),Q.removeEventListener("click",this._clickListener,!0),Q.removeEventListener("auxclick",this._clickListener,!0),Q.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Q.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Q){Q.addEventListener("pointerdown",this._pointerDownListener,!0),Q.addEventListener("click",this._clickListener,!0),Q.addEventListener("auxclick",this._clickListener,!0),Q.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(r.t4),d.\u0275\u0275inject(d.NgZone,8))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),Ee=(()=>{class Y{constructor(Q,ue){this._platform=ue,this._document=Q}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Q="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${Q}[platform="server"], .${Q}[platform="test"]`);for(let Ct=0;Ctthis._backdropClick.next(At),this._backdropTransitionendHandler=At=>{this._disposeBackdrop(At.target)},this._keydownEvents=new _.x,this._outsidePointerEvents=new _.x,Te.scrollStrategy&&(this._scrollStrategy=Te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Te.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ne){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Q=this._portalOutlet.attach(ne);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Q?.onDestroy&&Q.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Q}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ne=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ne}dispose(){const ne=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,ne&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ne){ne!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ne,this.hasAttached()&&(ne.attach(this),this.updatePosition()))}updateSize(ne){this._config={...this._config,...ne},this._updateElementSize()}setDirection(ne){this._config={...this._config,direction:ne},this._updateElementDirection()}addPanelClass(ne){this._pane&&this._toggleClasses(this._pane,ne,!0)}removePanelClass(ne){this._pane&&this._toggleClasses(this._pane,ne,!1)}getDirection(){const ne=this._config.direction;return ne?"string"==typeof ne?ne:ne.value:"ltr"}updateScrollStrategy(ne){ne!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ne,this.hasAttached()&&(ne.attach(this),ne.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ne=this._pane.style;ne.width=(0,g.HM)(this._config.width),ne.height=(0,g.HM)(this._config.height),ne.minWidth=(0,g.HM)(this._config.minWidth),ne.minHeight=(0,g.HM)(this._config.minHeight),ne.maxWidth=(0,g.HM)(this._config.maxWidth),ne.maxHeight=(0,g.HM)(this._config.maxHeight)}_togglePointerEvents(ne){this._pane.style.pointerEvents=ne?"":"none"}_attachBackdrop(){const ne="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(ne)})}):this._backdropElement.classList.add(ne)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ne=this._backdropElement;if(ne){if(this._animationsDisabled)return void this._disposeBackdrop(ne);ne.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ne.addEventListener("transitionend",this._backdropTransitionendHandler)}),ne.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ne)},500))}}_toggleClasses(ne,Q,ue){const Te=(0,g.Eq)(Q||[]).filter(Ct=>!!Ct);Te.length&&(ue?ne.classList.add(...Te):ne.classList.remove(...Te))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ne=this._ngZone.onStable.pipe((0,u.R)((0,y.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ne.unsubscribe())})})}_disposeScrollStrategy(){const ne=this._scrollStrategy;ne&&(ne.disable(),ne.detach&&ne.detach())}_disposeBackdrop(ne){ne&&(ne.removeEventListener("click",this._backdropClickHandler),ne.removeEventListener("transitionend",this._backdropTransitionendHandler),ne.remove(),this._backdropElement===ne&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const G="cdk-overlay-connected-position-bounding-box",re=/([A-Za-z%]+)$/;class se{get positions(){return this._preferredPositions}constructor(ne,Q,ue,Te,Ct){this._viewportRuler=Q,this._document=ue,this._platform=Te,this._overlayContainer=Ct,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new _.x,this._resizeSubscription=l.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ne)}attach(ne){this._validatePositions(),ne.hostElement.classList.add(G),this._overlayRef=ne,this._boundingBox=ne.hostElement,this._pane=ne.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ne=this._originRect,Q=this._overlayRect,ue=this._viewportRect,Te=this._containerRect,Ct=[];let dt;for(let bt of this._preferredPositions){let Oe=this._getOriginPoint(ne,Te,bt),ge=this._getOverlayPoint(Oe,Q,bt),ot=this._getOverlayFit(ge,Q,ue,bt);if(ot.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(bt,Oe);this._canFitWithFlexibleDimensions(ot,ge,ue)?Ct.push({position:bt,origin:Oe,overlayRect:Q,boundingBoxRect:this._calculateBoundingBoxRect(Oe,bt)}):(!dt||dt.overlayFit.visibleAreaOe&&(Oe=ot,bt=ge)}return this._isPushed=!1,void this._applyPosition(bt.position,bt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(dt.position,dt.originPoint);this._applyPosition(dt.position,dt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ye(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(G),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ne=this._lastPosition;if(ne){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Q=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,Q)}else this.apply()}withScrollableContainers(ne){return this._scrollables=ne,this}withPositions(ne){return this._preferredPositions=ne,-1===ne.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ne){return this._viewportMargin=ne,this}withFlexibleDimensions(ne=!0){return this._hasFlexibleDimensions=ne,this}withGrowAfterOpen(ne=!0){return this._growAfterOpen=ne,this}withPush(ne=!0){return this._canPush=ne,this}withLockedPosition(ne=!0){return this._positionLocked=ne,this}setOrigin(ne){return this._origin=ne,this}withDefaultOffsetX(ne){return this._offsetX=ne,this}withDefaultOffsetY(ne){return this._offsetY=ne,this}withTransformOriginOn(ne){return this._transformOriginSelector=ne,this}_getOriginPoint(ne,Q,ue){let Te,Ct;if("center"==ue.originX)Te=ne.left+ne.width/2;else{const dt=this._isRtl()?ne.right:ne.left,bt=this._isRtl()?ne.left:ne.right;Te="start"==ue.originX?dt:bt}return Q.left<0&&(Te-=Q.left),Ct="center"==ue.originY?ne.top+ne.height/2:"top"==ue.originY?ne.top:ne.bottom,Q.top<0&&(Ct-=Q.top),{x:Te,y:Ct}}_getOverlayPoint(ne,Q,ue){let Te,Ct;return Te="center"==ue.overlayX?-Q.width/2:"start"===ue.overlayX?this._isRtl()?-Q.width:0:this._isRtl()?0:-Q.width,Ct="center"==ue.overlayY?-Q.height/2:"top"==ue.overlayY?0:-Q.height,{x:ne.x+Te,y:ne.y+Ct}}_getOverlayFit(ne,Q,ue,Te){const Ct=Ze(Q);let{x:dt,y:bt}=ne,Oe=this._getOffset(Te,"x"),ge=this._getOffset(Te,"y");Oe&&(dt+=Oe),ge&&(bt+=ge);let Nt=0-bt,zt=bt+Ct.height-ue.height,Ne=this._subtractOverflows(Ct.width,0-dt,dt+Ct.width-ue.width),$e=this._subtractOverflows(Ct.height,Nt,zt),ae=Ne*$e;return{visibleArea:ae,isCompletelyWithinViewport:Ct.width*Ct.height===ae,fitsInViewportVertically:$e===Ct.height,fitsInViewportHorizontally:Ne==Ct.width}}_canFitWithFlexibleDimensions(ne,Q,ue){if(this._hasFlexibleDimensions){const Te=ue.bottom-Q.y,Ct=ue.right-Q.x,dt=He(this._overlayRef.getConfig().minHeight),bt=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=dt&&dt<=Te)&&(ne.fitsInViewportHorizontally||null!=bt&&bt<=Ct)}return!1}_pushOverlayOnScreen(ne,Q,ue){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(Q),Ct=this._viewportRect,dt=Math.max(ne.x+Te.width-Ct.width,0),bt=Math.max(ne.y+Te.height-Ct.height,0),Oe=Math.max(Ct.top-ue.top-ne.y,0),ge=Math.max(Ct.left-ue.left-ne.x,0);let ot=0,At=0;return ot=Te.width<=Ct.width?ge||-dt:ne.xNe&&!this._isInitialRender&&!this._growAfterOpen&&(dt=ne.y-Ne/2)}if("end"===Q.overlayX&&!Te||"start"===Q.overlayX&&Te)Nt=ue.width-ne.x+this._viewportMargin,ot=ne.x-this._viewportMargin;else if("start"===Q.overlayX&&!Te||"end"===Q.overlayX&&Te)At=ne.x,ot=ue.right-ne.x;else{const zt=Math.min(ue.right-ne.x+ue.left,ne.x),Ne=this._lastBoundingBoxSize.width;ot=2*zt,At=ne.x-zt,ot>Ne&&!this._isInitialRender&&!this._growAfterOpen&&(At=ne.x-Ne/2)}return{top:dt,left:At,bottom:bt,right:Nt,width:ot,height:Ct}}_setBoundingBoxStyles(ne,Q){const ue=this._calculateBoundingBoxRect(ne,Q);!this._isInitialRender&&!this._growAfterOpen&&(ue.height=Math.min(ue.height,this._lastBoundingBoxSize.height),ue.width=Math.min(ue.width,this._lastBoundingBoxSize.width));const Te={};if(this._hasExactPosition())Te.top=Te.left="0",Te.bottom=Te.right=Te.maxHeight=Te.maxWidth="",Te.width=Te.height="100%";else{const Ct=this._overlayRef.getConfig().maxHeight,dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ue.height),Te.top=(0,g.HM)(ue.top),Te.bottom=(0,g.HM)(ue.bottom),Te.width=(0,g.HM)(ue.width),Te.left=(0,g.HM)(ue.left),Te.right=(0,g.HM)(ue.right),Te.alignItems="center"===Q.overlayX?"center":"end"===Q.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===Q.overlayY?"center":"bottom"===Q.overlayY?"flex-end":"flex-start",Ct&&(Te.maxHeight=(0,g.HM)(Ct)),dt&&(Te.maxWidth=(0,g.HM)(dt))}this._lastBoundingBoxSize=ue,ye(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ye(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ye(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,Q){const ue={},Te=this._hasExactPosition(),Ct=this._hasFlexibleDimensions,dt=this._overlayRef.getConfig();if(Te){const ot=this._viewportRuler.getViewportScrollPosition();ye(ue,this._getExactOverlayY(Q,ne,ot)),ye(ue,this._getExactOverlayX(Q,ne,ot))}else ue.position="static";let bt="",Oe=this._getOffset(Q,"x"),ge=this._getOffset(Q,"y");Oe&&(bt+=`translateX(${Oe}px) `),ge&&(bt+=`translateY(${ge}px)`),ue.transform=bt.trim(),dt.maxHeight&&(Te?ue.maxHeight=(0,g.HM)(dt.maxHeight):Ct&&(ue.maxHeight="")),dt.maxWidth&&(Te?ue.maxWidth=(0,g.HM)(dt.maxWidth):Ct&&(ue.maxWidth="")),ye(this._pane.style,ue)}_getExactOverlayY(ne,Q,ue){let Te={top:"",bottom:""},Ct=this._getOverlayPoint(Q,this._overlayRect,ne);return this._isPushed&&(Ct=this._pushOverlayOnScreen(Ct,this._overlayRect,ue)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(Ct.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(Ct.y),Te}_getExactOverlayX(ne,Q,ue){let dt,Te={left:"",right:""},Ct=this._getOverlayPoint(Q,this._overlayRect,ne);return this._isPushed&&(Ct=this._pushOverlayOnScreen(Ct,this._overlayRect,ue)),dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===dt?Te.right=this._document.documentElement.clientWidth-(Ct.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(Ct.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),Q=this._pane.getBoundingClientRect(),ue=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ue),isOriginOutsideView:$(ne,ue),isOverlayClipped:ee(Q,ue),isOverlayOutsideView:$(Q,ue)}}_subtractOverflows(ne,...Q){return Q.reduce((ue,Te)=>ue-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,Q=this._document.documentElement.clientHeight,ue=this._viewportRuler.getViewportScrollPosition();return{top:ue.top+this._viewportMargin,left:ue.left+this._viewportMargin,right:ue.left+ne-this._viewportMargin,bottom:ue.top+Q-this._viewportMargin,width:ne-2*this._viewportMargin,height:Q-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,Q){return"x"===Q?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(Q=>{""!==Q&&-1===this._appliedPanelClasses.indexOf(Q)&&(this._appliedPanelClasses.push(Q),this._pane.classList.add(Q))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ne=>{this._pane.classList.remove(ne)}),this._appliedPanelClasses=[])}_getOriginRect(){const ne=this._origin;if(ne instanceof d.ElementRef)return ne.nativeElement.getBoundingClientRect();if(ne instanceof Element)return ne.getBoundingClientRect();const Q=ne.width||0,ue=ne.height||0;return{top:ne.y,bottom:ne.y+ue,left:ne.x,right:ne.x+Q,height:ue,width:Q}}}function ye(Y,ne){for(let Q in ne)ne.hasOwnProperty(Q)&&(Y[Q]=ne[Q]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,Q]=Y.split(re);return Q&&"px"!==Q?null:parseFloat(ne)}return Y||null}function Ze(Y){return{top:Math.floor(Y.top),right:Math.floor(Y.right),bottom:Math.floor(Y.bottom),left:Math.floor(Y.left),width:Math.floor(Y.width),height:Math.floor(Y.height)}}const tt="cdk-global-overlay-wrapper";class Mt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const Q=ne.getConfig();this._overlayRef=ne,this._width&&!Q.width&&ne.updateSize({width:this._width}),this._height&&!Q.height&&ne.updateSize({height:this._height}),ne.hostElement.classList.add(tt),this._isDisposed=!1}top(ne=""){return this._bottomOffset="",this._topOffset=ne,this._alignItems="flex-start",this}left(ne=""){return this._xOffset=ne,this._xPosition="left",this}bottom(ne=""){return this._topOffset="",this._bottomOffset=ne,this._alignItems="flex-end",this}right(ne=""){return this._xOffset=ne,this._xPosition="right",this}start(ne=""){return this._xOffset=ne,this._xPosition="start",this}end(ne=""){return this._xOffset=ne,this._xPosition="end",this}width(ne=""){return this._overlayRef?this._overlayRef.updateSize({width:ne}):this._width=ne,this}height(ne=""){return this._overlayRef?this._overlayRef.updateSize({height:ne}):this._height=ne,this}centerHorizontally(ne=""){return this.left(ne),this._xPosition="center",this}centerVertically(ne=""){return this.top(ne),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ne=this._overlayRef.overlayElement.style,Q=this._overlayRef.hostElement.style,ue=this._overlayRef.getConfig(),{width:Te,height:Ct,maxWidth:dt,maxHeight:bt}=ue,Oe=!("100%"!==Te&&"100vw"!==Te||dt&&"100%"!==dt&&"100vw"!==dt),ge=!("100%"!==Ct&&"100vh"!==Ct||bt&&"100%"!==bt&&"100vh"!==bt),ot=this._xPosition,At=this._xOffset,Nt="rtl"===this._overlayRef.getConfig().direction;let zt="",Ne="",$e="";Oe?$e="flex-start":"center"===ot?($e="center",Nt?Ne=At:zt=At):Nt?"left"===ot||"end"===ot?($e="flex-end",zt=At):("right"===ot||"start"===ot)&&($e="flex-start",Ne=At):"left"===ot||"start"===ot?($e="flex-start",zt=At):("right"===ot||"end"===ot)&&($e="flex-end",Ne=At),ne.position=this._cssPosition,ne.marginLeft=Oe?"0":zt,ne.marginTop=ge?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=Oe?"0":Ne,Q.justifyContent=$e,Q.alignItems=ge?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,Q=this._overlayRef.hostElement,ue=Q.style;Q.classList.remove(tt),ue.justifyContent=ue.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Ft=(()=>{class Y{constructor(Q,ue,Te,Ct){this._viewportRuler=Q,this._document=ue,this._platform=Te,this._overlayContainer=Ct}global(){return new Mt}flexibleConnectedTo(Q){return new se(Q,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(n.rL),d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(r.t4),d.\u0275\u0275inject(Ee))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),gt=0,Bt=(()=>{class Y{constructor(Q,ue,Te,Ct,dt,bt,Oe,ge,ot,At,Nt,zt){this.scrollStrategies=Q,this._overlayContainer=ue,this._componentFactoryResolver=Te,this._positionBuilder=Ct,this._keyboardDispatcher=dt,this._injector=bt,this._ngZone=Oe,this._document=ge,this._directionality=ot,this._location=At,this._outsideClickDispatcher=Nt,this._animationsModuleType=zt}create(Q){const ue=this._createHostElement(),Te=this._createPaneElement(ue),Ct=this._createPortalOutlet(Te),dt=new U(Q);return dt.direction=dt.direction||this._directionality.value,new Be(Ct,ue,Te,dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Q){const ue=this._document.createElement("div");return ue.id="cdk-overlay-"+gt++,ue.classList.add("cdk-overlay-pane"),Q.appendChild(ue),ue}_createHostElement(){const Q=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Q),Q}_createPortalOutlet(Q){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(Q,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Ft),d.\u0275\u0275inject(pe),d.\u0275\u0275inject(d.Injector),d.\u0275\u0275inject(d.NgZone),d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(b.Is),d.\u0275\u0275inject(c.Location),d.\u0275\u0275inject(we),d.\u0275\u0275inject(d.ANIMATION_MODULE_TYPE,8))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const Tt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],kt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(Q){this.elementRef=Q}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275directiveInject(d.ElementRef))},Y.\u0275dir=d.\u0275\u0275defineDirective({type:Y,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),Y})(),ct=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(Q){this._offsetX=Q,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Q){this._offsetY=Q,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Q){this._hasBackdrop=(0,g.Ig)(Q)}get lockPosition(){return this._lockPosition}set lockPosition(Q){this._lockPosition=(0,g.Ig)(Q)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Q){this._flexibleDimensions=(0,g.Ig)(Q)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Q){this._growAfterOpen=(0,g.Ig)(Q)}get push(){return this._push}set push(Q){this._push=(0,g.Ig)(Q)}constructor(Q,ue,Te,Ct,dt){this._overlay=Q,this._dir=dt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=l.w0.EMPTY,this._attachSubscription=l.w0.EMPTY,this._detachSubscription=l.w0.EMPTY,this._positionSubscription=l.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new d.EventEmitter,this.positionChange=new d.EventEmitter,this.attach=new d.EventEmitter,this.detach=new d.EventEmitter,this.overlayKeydown=new d.EventEmitter,this.overlayOutsideClick=new d.EventEmitter,this._templatePortal=new p.UE(ue,Te),this._scrollStrategyFactory=Ct,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Q){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Q.origin&&this.open&&this._position.apply()),Q.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const Q=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Q.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Q.detachments().subscribe(()=>this.detach.emit()),Q.keydownEvents().subscribe(ue=>{this.overlayKeydown.next(ue),ue.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ue)&&(ue.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ue=>{this.overlayOutsideClick.next(ue)})}_buildConfig(){const Q=this._position=this.positionStrategy||this._createPositionStrategy(),ue=new U({direction:this._dir,positionStrategy:Q,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ue.width=this.width),(this.height||0===this.height)&&(ue.height=this.height),(this.minWidth||0===this.minWidth)&&(ue.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ue.minHeight=this.minHeight),this.backdropClass&&(ue.backdropClass=this.backdropClass),this.panelClass&&(ue.panelClass=this.panelClass),ue}_updatePositionStrategy(Q){const ue=this.positions.map(Te=>({originX:Te.originX,originY:Te.originY,overlayX:Te.overlayX,overlayY:Te.overlayY,offsetX:Te.offsetX||this.offsetX,offsetY:Te.offsetY||this.offsetY,panelClass:Te.panelClass||void 0}));return Q.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ue).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Q=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Q),Q}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Le?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Q=>{this.backdropClick.emit(Q)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,v.o)(()=>this.positionChange.observers.length>0)).subscribe(Q=>{this.positionChange.emit(Q),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(kt),d.\u0275\u0275directiveInject(b.Is,8))},Y.\u0275dir=d.\u0275\u0275defineDirective({type:Y,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[d.\u0275\u0275NgOnChangesFeature]}),Y})();const at={provide:kt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(Q){return new(Q||Y)},Y.\u0275mod=d.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=d.\u0275\u0275defineInjector({providers:[Bt,at],imports:[b.vT,p.eL,n.Cl,n.Cl]}),Y})()},2831:(Ie,B,a)=>{"use strict";a.d(B,{Mq:()=>y,Oy:()=>$,ht:()=>I,i$:()=>p,kV:()=>E,qK:()=>u,sA:()=>X,t4:()=>g});var n=a(5879),c=a(6814);let d;try{d=typeof Intl<"u"&&Intl.v8BreakIterator}catch{d=!1}let h,g=(()=>{class ee{constructor(A){this._platformId=A,this.isBrowser=this._platformId?(0,c.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!d)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return ee.\u0275fac=function(A){return new(A||ee)(n.\u0275\u0275inject(n.PLATFORM_ID))},ee.\u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();const f=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(h)return h;if("object"!=typeof document||!document)return h=new Set(f),h;let ee=document.createElement("input");return h=new Set(f.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),h}let v,l,D;function p(ee){return function b(){if(null==v&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>v=!0}))}finally{v=v||!1}return v}()?ee:!!ee.capture}function y(){if(null==l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return l=!1,l;if("scrollBehavior"in document.documentElement.style)l=!0;else{const ee=Element.prototype.scrollTo;l=!!ee&&!/\{\s*\[native code\]\s*\}/.test(ee.toString())}}return l}function E(ee){if(function S(){if(null==D){const ee=typeof document<"u"?document.head:null;D=!(!ee||!ee.createShadowRoot&&!ee.attachShadow)}return D}()){const ie=ee.getRootNode?ee.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function I(){let ee=typeof document<"u"&&document?document.activeElement:null;for(;ee&&ee.shadowRoot;){const ie=ee.shadowRoot.activeElement;if(ie===ee)break;ee=ie}return ee}function X(ee){return ee.composedPath?ee.composedPath()[0]:ee.target}function $(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Ie,B,a)=>{"use strict";a.d(B,{C5:()=>b,Pl:()=>I,UE:()=>p,eL:()=>$,ig:()=>S,u0:()=>x});var n=a(5879),c=a(6814);class v{attach(A){return this._attachedHost=A,A.attach(this)}detach(){let A=this._attachedHost;null!=A&&(this._attachedHost=null,A.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(A){this._attachedHost=A}}class b extends v{constructor(A,U,Me,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Me,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Me,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Me,this.injector=Re}get origin(){return this.templateRef.elementRef}attach(A,U=this.context){return this.context=U,super.attach(A)}detach(){return this.context=void 0,super.detach()}}class _ extends v{constructor(A){super(),this.element=A instanceof n.ElementRef?A.nativeElement:A}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(A){return A instanceof b?(this._attachedPortal=A,this.attachComponentPortal(A)):A instanceof p?(this._attachedPortal=A,this.attachTemplatePortal(A)):this.attachDomPortal&&A instanceof _?(this._attachedPortal=A,this.attachDomPortal(A)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(A){this._disposeFn=A}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class x extends l{constructor(A,U,Me,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Me,this._defaultInjector=Re,this.attachDomPortal=he=>{const H=he.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=he,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Me=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Me,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Me.create(A.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(Re.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Re.hostView),Re.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Re)),this._attachedPortal=A,Re}attachTemplatePortal(A){let U=A.viewContainerRef,Me=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Me.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Me.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Me);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Me}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Me){super(U,Me)}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},ie.\u0275dir=n.\u0275\u0275defineDirective({type:ie,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ie})(),I=(()=>{class ie extends l{constructor(U,Me,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Me,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const he=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),he.parentNode.insertBefore(H,he),this._getRootNode().appendChild(he),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(he,H)})},this._document=Re}get portal(){return this._attachedPortal}set portal(U){this.hasAttached()&&!U&&!this._isInitialized||(this.hasAttached()&&super.detach(),U&&super.attach(U),this._attachedPortal=U||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(U){U.setAttachedHost(this);const Me=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),he=Me.createComponent(Ae,Me.length,U.injector||Me.injector,U.projectableNodes||void 0);return Me!==this._viewContainerRef&&this._getRootNode().appendChild(he.hostView.rootNodes[0]),super.setDisposeFn(()=>he.destroy()),this._attachedPortal=U,this._attachedRef=he,this.attached.emit(he),he}attachTemplatePortal(U){U.setAttachedHost(this);const Me=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Me,this.attached.emit(Me),Me}_getRootNode(){const U=this._viewContainerRef.element.nativeElement;return U.nodeType===U.ELEMENT_NODE?U:U.parentNode}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(c.DOCUMENT))},ie.\u0275dir=n.\u0275\u0275defineDirective({type:ie,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ie})(),$=(()=>{class ie{}return ie.\u0275fac=function(U){return new(U||ie)},ie.\u0275mod=n.\u0275\u0275defineNgModule({type:ie}),ie.\u0275inj=n.\u0275\u0275defineInjector({}),ie})()},6672:(Ie,B,a)=>{"use strict";a.d(B,{Cl:()=>Be,ZD:()=>Ee,mF:()=>$,rL:()=>A});var n=a(2495),c=a(5879),d=a(8645),g=a(2096),r=a(5592),h=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(se,ye,He){this._ngZone=se,this._platform=ye,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(se){this.scrollContainers.has(se)||this.scrollContainers.set(se,se.elementScrolled().subscribe(()=>this._scrolled.next(se)))}deregister(se){const ye=this.scrollContainers.get(se);ye&&(ye.unsubscribe(),this.scrollContainers.delete(se))}scrolled(se=20){return this._platform.isBrowser?new r.y(ye=>{this._globalSubscription||this._addGlobalListener();const He=se>0?this._scrolled.pipe((0,v.e)(se)).subscribe(ye):this._scrolled.subscribe(ye);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((se,ye)=>this.deregister(ye)),this._scrolled.complete()}ancestorScrolled(se,ye){const He=this.getAncestorScrollContainers(se);return this.scrolled(ye).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(se){const ye=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,se)&&ye.push(Ze)}),ye}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(se,ye){let He=(0,n.fI)(ye),Ze=se.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const se=this._getWindow();return(0,h.R)(se.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(se){return new(se||G)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(p.t4),c.\u0275\u0275inject(_.DOCUMENT,8))},G.\u0275prov=c.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),A=(()=>{class G{constructor(se,ye,He){this._platform=se,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ye.runOutsideAngular(()=>{if(se.isBrowser){const Ze=this._getWindow();Ze.addEventListener("resize",this._changeListener),Ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const se=this._getWindow();se.removeEventListener("resize",this._changeListener),se.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const se={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),se}getViewportRect(){const se=this.getViewportScrollPosition(),{width:ye,height:He}=this.getViewportSize();return{top:se.top,left:se.left,bottom:se.top+He,right:se.left+ye,height:He,width:ye}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const se=this._document,ye=this._getWindow(),He=se.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||se.body.scrollTop||ye.scrollY||He.scrollTop||0,left:-Ze.left||se.body.scrollLeft||ye.scrollX||He.scrollLeft||0}}change(se=20){return se>0?this._change.pipe((0,v.e)(se)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const se=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:se.innerWidth,height:se.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(se){return new(se||G)(c.\u0275\u0275inject(p.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(_.DOCUMENT,8))},G.\u0275prov=c.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Ee=(()=>{class G{}return G.\u0275fac=function(se){return new(se||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(se){return new(se||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({imports:[l.vT,Ee,l.vT,Ee]}),G})()},6263:(Ie,B,a)=>{"use strict";a.d(B,{Ky:()=>b,Lq:()=>f});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const h=(0,n.i$)({passive:!0});let f=(()=>{class p{constructor(l,y){this._platform=l,this._ngZone=y,this._monitoredElements=new Map}monitor(l){if(!this._platform.isBrowser)return g.E;const y=(0,d.fI)(l),x=this._monitoredElements.get(y);if(x)return x.subject;const D=new r.x,S="cdk-text-field-autofilled",E=I=>{"cdk-text-field-autofill-start"!==I.animationName||y.classList.contains(S)?"cdk-text-field-autofill-end"===I.animationName&&y.classList.contains(S)&&(y.classList.remove(S),this._ngZone.run(()=>D.next({target:I.target,isAutofilled:!1}))):(y.classList.add(S),this._ngZone.run(()=>D.next({target:I.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{y.addEventListener("animationstart",E,h),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,h)}}),D}stopMonitoring(l){const y=(0,d.fI)(l),x=this._monitoredElements.get(y);x&&(x.unlisten(),x.subject.complete(),y.classList.remove("cdk-text-field-autofill-monitored"),y.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(y))}ngOnDestroy(){this._monitoredElements.forEach((l,y)=>this.stopMonitoring(y))}}return p.\u0275fac=function(l){return new(l||p)(c.\u0275\u0275inject(n.t4),c.\u0275\u0275inject(c.NgZone))},p.\u0275prov=c.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),b=(()=>{class p{}return p.\u0275fac=function(l){return new(l||p)},p.\u0275mod=c.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=c.\u0275\u0275defineInjector({}),p})()},6814:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{APP_BASE_HREF:()=>y,AsyncPipe:()=>Fn,BrowserPlatformLocation:()=>v,CommonModule:()=>ji,CurrencyPipe:()=>te,DATE_PIPE_DEFAULT_OPTIONS:()=>tn,DATE_PIPE_DEFAULT_TIMEZONE:()=>Cn,DOCUMENT:()=>h,DatePipe:()=>En,DecimalPipe:()=>Rt,FormStyle:()=>U,FormatWidth:()=>Re,HashLocationStrategy:()=>D,I18nPluralPipe:()=>Ei,I18nSelectPipe:()=>tr,IMAGE_CONFIG:()=>Bi,IMAGE_LOADER:()=>Ii,JsonPipe:()=>Ai,KeyValuePipe:()=>yi,LOCATION_INITIALIZED:()=>u,Location:()=>S,LocationStrategy:()=>l,LowerCasePipe:()=>bi,NgClass:()=>an,NgComponentOutlet:()=>mn,NgFor:()=>Wn,NgForOf:()=>Wn,NgForOfContext:()=>Rn,NgIf:()=>wi,NgIfContext:()=>ri,NgLocaleLocalization:()=>wn,NgLocalization:()=>sn,NgOptimizedImage:()=>qi,NgPlural:()=>me,NgPluralCase:()=>le,NgStyle:()=>Xe,NgSwitch:()=>xt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>Ot,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>f,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Me,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>he,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>Ct,formatNumber:()=>Et,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>We,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ye,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>kt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Ft,getLocaleTimeFormat:()=>se,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>pt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>Ke,registerLocaleData:()=>Xn,\u0275DomAdapter:()=>r,\u0275NullViewportScroller:()=>vn,\u0275PLATFORM_BROWSER_ID:()=>Pi,\u0275PLATFORM_SERVER_ID:()=>Li,\u0275PLATFORM_WORKER_APP_ID:()=>Qi,\u0275PLATFORM_WORKER_UI_ID:()=>Ui,\u0275getDOM:()=>d,\u0275parseCookieValue:()=>_i,\u0275setRootDomAdapter:()=>g});var n=a(5879);let c=null;function d(){return c}function g(L){c||(c=L)}class r{}const h=new n.InjectionToken("DocumentToken");let f=(()=>{class L{historyGo(Z){throw new Error("Not implemented")}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return(0,n.inject)(v)},providedIn:"platform"}),L})();const u=new n.InjectionToken("Location Initialized");let v=(()=>{class L extends f{constructor(){super(),this._doc=(0,n.inject)(h),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Z){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("popstate",Z,!1),()=>Ue.removeEventListener("popstate",Z)}onHashChange(Z){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("hashchange",Z,!1),()=>Ue.removeEventListener("hashchange",Z)}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(Z){this._location.pathname=Z}pushState(Z,Ue,ht){this._history.pushState(Z,Ue,ht)}replaceState(Z,Ue,ht){this._history.replaceState(Z,Ue,ht)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Z=0){this._history.go(Z)}getState(){return this._history.state}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return new L},providedIn:"platform"}),L})();function b(L,xe){if(0==L.length)return xe;if(0==xe.length)return L;let Z=0;return L.endsWith("/")&&Z++,xe.startsWith("/")&&Z++,2==Z?L+xe.substring(1):1==Z?L+xe:L+"/"+xe}function p(L){const xe=L.match(/#|\?|$/),Z=xe&&xe.index||L.length;return L.slice(0,Z-("/"===L[Z-1]?1:0))+L.slice(Z)}function _(L){return L&&"?"!==L[0]?"?"+L:L}let l=(()=>{class L{historyGo(Z){throw new Error("Not implemented")}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return(0,n.inject)(x)},providedIn:"root"}),L})();const y=new n.InjectionToken("appBaseHref");let x=(()=>{class L extends l{constructor(Z,Ue){super(),this._platformLocation=Z,this._removeListenerFns=[],this._baseHref=Ue??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(h).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Z){this._removeListenerFns.push(this._platformLocation.onPopState(Z),this._platformLocation.onHashChange(Z))}getBaseHref(){return this._baseHref}prepareExternalUrl(Z){return b(this._baseHref,Z)}path(Z=!1){const Ue=this._platformLocation.pathname+_(this._platformLocation.search),ht=this._platformLocation.hash;return ht&&Z?`${Ue}${ht}`:Ue}pushState(Z,Ue,ht,Gt){const Kt=this.prepareExternalUrl(ht+_(Gt));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,Gt){const Kt=this.prepareExternalUrl(ht+_(Gt));this._platformLocation.replaceState(Z,Ue,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Z=0){this._platformLocation.historyGo?.(Z)}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(f),n.\u0275\u0275inject(y,8))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),D=(()=>{class L extends l{constructor(Z,Ue){super(),this._platformLocation=Z,this._baseHref="",this._removeListenerFns=[],null!=Ue&&(this._baseHref=Ue)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Z){this._removeListenerFns.push(this._platformLocation.onPopState(Z),this._platformLocation.onHashChange(Z))}getBaseHref(){return this._baseHref}path(Z=!1){let Ue=this._platformLocation.hash;return null==Ue&&(Ue="#"),Ue.length>0?Ue.substring(1):Ue}prepareExternalUrl(Z){const Ue=b(this._baseHref,Z);return Ue.length>0?"#"+Ue:Ue}pushState(Z,Ue,ht,Gt){let Kt=this.prepareExternalUrl(ht+_(Gt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,Gt){let Kt=this.prepareExternalUrl(ht+_(Gt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.replaceState(Z,Ue,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Z=0){this._platformLocation.historyGo?.(Z)}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(f),n.\u0275\u0275inject(y,8))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac}),L})(),S=(()=>{class L{constructor(Z){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Z;const Ue=this._locationStrategy.getBaseHref();this._basePath=function $(L){if(new RegExp("^(https?:)?//").test(L)){const[,Z]=L.split(/\/\/[^\/]+/);return Z}return L}(p(X(Ue))),this._locationStrategy.onPopState(ht=>{this._subject.emit({url:this.path(!0),pop:!0,state:ht.state,type:ht.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Z=!1){return this.normalize(this._locationStrategy.path(Z))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Z,Ue=""){return this.path()==this.normalize(Z+_(Ue))}normalize(Z){return L.stripTrailingSlash(function I(L,xe){if(!L||!xe.startsWith(L))return xe;const Z=xe.substring(L.length);return""===Z||["/",";","?","#"].includes(Z[0])?Z:xe}(this._basePath,X(Z)))}prepareExternalUrl(Z){return Z&&"/"!==Z[0]&&(Z="/"+Z),this._locationStrategy.prepareExternalUrl(Z)}go(Z,Ue="",ht=null){this._locationStrategy.pushState(ht,"",Z,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+_(Ue)),ht)}replaceState(Z,Ue="",ht=null){this._locationStrategy.replaceState(ht,"",Z,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+_(Ue)),ht)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Z=0){this._locationStrategy.historyGo?.(Z)}onUrlChange(Z){return this._urlChangeListeners.push(Z),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ue=>{this._notifyUrlChangeListeners(Ue.url,Ue.state)})),()=>{const Ue=this._urlChangeListeners.indexOf(Z);this._urlChangeListeners.splice(Ue,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Z="",Ue){this._urlChangeListeners.forEach(ht=>ht(Z,Ue))}subscribe(Z,Ue,ht){return this._subject.subscribe({next:Z,error:Ue,complete:ht})}}return L.normalizeQueryParams=_,L.joinWithSlash=b,L.stripTrailingSlash=p,L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(l))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return function E(){return new S((0,n.\u0275\u0275inject)(l))}()},providedIn:"root"}),L})();function X(L){return L.replace(/\/index.html$/,"")}const ee={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var ie=function(L){return L[L.Decimal=0]="Decimal",L[L.Percent=1]="Percent",L[L.Currency=2]="Currency",L[L.Scientific=3]="Scientific",L}(ie||{}),A=function(L){return L[L.Zero=0]="Zero",L[L.One=1]="One",L[L.Two=2]="Two",L[L.Few=3]="Few",L[L.Many=4]="Many",L[L.Other=5]="Other",L}(A||{}),U=function(L){return L[L.Format=0]="Format",L[L.Standalone=1]="Standalone",L}(U||{}),Me=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Me||{}),Re=function(L){return L[L.Short=0]="Short",L[L.Medium=1]="Medium",L[L.Long=2]="Long",L[L.Full=3]="Full",L}(Re||{}),Ae=function(L){return L[L.Decimal=0]="Decimal",L[L.Group=1]="Group",L[L.List=2]="List",L[L.PercentSign=3]="PercentSign",L[L.PlusSign=4]="PlusSign",L[L.MinusSign=5]="MinusSign",L[L.Exponential=6]="Exponential",L[L.SuperscriptingExponent=7]="SuperscriptingExponent",L[L.PerMille=8]="PerMille",L[L.Infinity=9]="Infinity",L[L.NaN=10]="NaN",L[L.TimeSeparator=11]="TimeSeparator",L[L.CurrencyDecimal=12]="CurrencyDecimal",L[L.CurrencyGroup=13]="CurrencyGroup",L}(Ae||{}),he=function(L){return L[L.Sunday=0]="Sunday",L[L.Monday=1]="Monday",L[L.Tuesday=2]="Tuesday",L[L.Wednesday=3]="Wednesday",L[L.Thursday=4]="Thursday",L[L.Friday=5]="Friday",L[L.Saturday=6]="Saturday",L}(he||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),Gt=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le(Gt,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),Gt=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le(Gt,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),Gt=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le(Gt,Z)}function Ee(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.Eras],xe)}function Be(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function G(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.WeekendRange]}function re(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.DateFormat],xe)}function se(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ye(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.DateTimeFormat],xe)}function He(L,xe){const Z=(0,n.\u0275findLocaleData)(L),Ue=Z[n.\u0275LocaleDataIndex.NumberSymbols][xe];if(typeof Ue>"u"){if(xe===Ae.CurrencyDecimal)return Z[n.\u0275LocaleDataIndex.NumberSymbols][Ae.Decimal];if(xe===Ae.CurrencyGroup)return Z[n.\u0275LocaleDataIndex.NumberSymbols][Ae.Group]}return Ue}function Ze(L,xe){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.NumberFormats][xe]}function Qe(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function We(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Ft=n.\u0275getLocalePluralCase;function gt(L){if(!L[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${L[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bt(L){const xe=(0,n.\u0275findLocaleData)(L);return gt(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?ct(Ue):[ct(Ue[0]),ct(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);gt(Ue);const Gt=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le(Gt,Z)||[]}function kt(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.Directionality]}function Le(L,xe){for(let Z=xe;Z>-1;Z--)if(typeof L[Z]<"u")return L[Z];throw new Error("Locale data API: locale data undefined")}function ct(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Mt(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.Currencies]}(Z)[L]||ee[L]||[],ht=Ue[1];return"narrow"===xe&&"string"==typeof ht?ht:Ue[0]||L}const at=2;function N(L){let xe;const Z=ee[L];return Z&&(xe=Z[2]),"number"==typeof xe?xe:at}const oe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},ne=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Q=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(Q||{}),ue=function(L){return L[L.FullYear=0]="FullYear",L[L.Month=1]="Month",L[L.Date=2]="Date",L[L.Hours=3]="Hours",L[L.Minutes=4]="Minutes",L[L.Seconds=5]="Seconds",L[L.FractionalSeconds=6]="FractionalSeconds",L[L.Day=7]="Day",L}(ue||{}),Te=function(L){return L[L.DayPeriods=0]="DayPeriods",L[L.Days=1]="Days",L[L.Months=2]="Months",L[L.Eras=3]="Eras",L}(Te||{});function Ct(L,xe,Z,Ue){let ht=function Pt(L){if(et(L))return L;if("number"==typeof L&&!isNaN(L))return new Date(L);if("string"==typeof L){if(L=L.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(L)){const[ht,Gt=1,Kt=1]=L.split("-").map(Un=>+Un);return dt(ht,Gt-1,Kt)}const Z=parseFloat(L);if(!isNaN(L-Z))return new Date(Z);let Ue;if(Ue=L.match(oe))return function qe(L){const xe=new Date(0);let Z=0,Ue=0;const ht=L[8]?xe.setUTCFullYear:xe.setFullYear,Gt=L[8]?xe.setUTCHours:xe.setHours;L[9]&&(Z=Number(L[9]+L[10]),Ue=Number(L[9]+L[11])),ht.call(xe,Number(L[1]),Number(L[2])-1,Number(L[3]));const Kt=Number(L[4]||0)-Z,Un=Number(L[5]||0)-Ue,ki=Number(L[6]||0),Hi=Math.floor(1e3*parseFloat("0."+(L[7]||0)));return Gt.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!et(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=bt(Z,xe)||xe;let Un,Kt=[];for(;xe;){if(Un=ne.exec(xe),!Un){Kt.push(xe);break}{Kt=Kt.concat(Un.slice(1));const Ci=Kt.pop();if(!Ci)break;xe=Ci}}let ki=ht.getTimezoneOffset();Ue&&(ki=K(Ue,ki),ht=function ut(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function ve(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(K(xe,ht)-ht))}(ht,Ue,!0));let Hi="";return Kt.forEach(Ci=>{const Jn=function V(L){if(F[L])return F[L];let xe;switch(L){case"G":case"GG":case"GGG":xe=zt(Te.Eras,Me.Abbreviated);break;case"GGGG":xe=zt(Te.Eras,Me.Wide);break;case"GGGGG":xe=zt(Te.Eras,Me.Narrow);break;case"y":xe=At(ue.FullYear,1,0,!1,!0);break;case"yy":xe=At(ue.FullYear,2,0,!0,!0);break;case"yyy":xe=At(ue.FullYear,3,0,!1,!0);break;case"yyyy":xe=At(ue.FullYear,4,0,!1,!0);break;case"Y":xe=De(1);break;case"YY":xe=De(2,!0);break;case"YYY":xe=De(3);break;case"YYYY":xe=De(4);break;case"M":case"L":xe=At(ue.Month,1,1);break;case"MM":case"LL":xe=At(ue.Month,2,1);break;case"MMM":xe=zt(Te.Months,Me.Abbreviated);break;case"MMMM":xe=zt(Te.Months,Me.Wide);break;case"MMMMM":xe=zt(Te.Months,Me.Narrow);break;case"LLL":xe=zt(Te.Months,Me.Abbreviated,U.Standalone);break;case"LLLL":xe=zt(Te.Months,Me.Wide,U.Standalone);break;case"LLLLL":xe=zt(Te.Months,Me.Narrow,U.Standalone);break;case"w":xe=Ye(1);break;case"ww":xe=Ye(2);break;case"W":xe=Ye(1,!0);break;case"d":xe=At(ue.Date,1);break;case"dd":xe=At(ue.Date,2);break;case"c":case"cc":xe=At(ue.Day,1);break;case"ccc":xe=zt(Te.Days,Me.Abbreviated,U.Standalone);break;case"cccc":xe=zt(Te.Days,Me.Wide,U.Standalone);break;case"ccccc":xe=zt(Te.Days,Me.Narrow,U.Standalone);break;case"cccccc":xe=zt(Te.Days,Me.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=zt(Te.Days,Me.Abbreviated);break;case"EEEE":xe=zt(Te.Days,Me.Wide);break;case"EEEEE":xe=zt(Te.Days,Me.Narrow);break;case"EEEEEE":xe=zt(Te.Days,Me.Short);break;case"a":case"aa":case"aaa":xe=zt(Te.DayPeriods,Me.Abbreviated);break;case"aaaa":xe=zt(Te.DayPeriods,Me.Wide);break;case"aaaaa":xe=zt(Te.DayPeriods,Me.Narrow);break;case"b":case"bb":case"bbb":xe=zt(Te.DayPeriods,Me.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=zt(Te.DayPeriods,Me.Wide,U.Standalone,!0);break;case"bbbbb":xe=zt(Te.DayPeriods,Me.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=zt(Te.DayPeriods,Me.Abbreviated,U.Format,!0);break;case"BBBB":xe=zt(Te.DayPeriods,Me.Wide,U.Format,!0);break;case"BBBBB":xe=zt(Te.DayPeriods,Me.Narrow,U.Format,!0);break;case"h":xe=At(ue.Hours,1,-12);break;case"hh":xe=At(ue.Hours,2,-12);break;case"H":xe=At(ue.Hours,1);break;case"HH":xe=At(ue.Hours,2);break;case"m":xe=At(ue.Minutes,1);break;case"mm":xe=At(ue.Minutes,2);break;case"s":xe=At(ue.Seconds,1);break;case"ss":xe=At(ue.Seconds,2);break;case"S":xe=At(ue.FractionalSeconds,1);break;case"SS":xe=At(ue.FractionalSeconds,2);break;case"SSS":xe=At(ue.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=$e(Q.Short);break;case"ZZZZZ":xe=$e(Q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=$e(Q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=$e(Q.Long);break;default:return null}return F[L]=xe,xe}(Ci);Hi+=Jn?Jn(ht,Z,ki):"''"===Ci?"'":Ci.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Hi}function dt(L,xe,Z){const Ue=new Date(0);return Ue.setFullYear(L,xe,Z),Ue.setHours(0,0,0),Ue}function bt(L,xe){const Z=H(L);if(Y[Z]=Y[Z]||{},Y[Z][xe])return Y[Z][xe];let Ue="";switch(xe){case"shortDate":Ue=re(L,Re.Short);break;case"mediumDate":Ue=re(L,Re.Medium);break;case"longDate":Ue=re(L,Re.Long);break;case"fullDate":Ue=re(L,Re.Full);break;case"shortTime":Ue=se(L,Re.Short);break;case"mediumTime":Ue=se(L,Re.Medium);break;case"longTime":Ue=se(L,Re.Long);break;case"fullTime":Ue=se(L,Re.Full);break;case"short":const ht=bt(L,"shortTime"),Gt=bt(L,"shortDate");Ue=Oe(ye(L,Re.Short),[ht,Gt]);break;case"medium":const Kt=bt(L,"mediumTime"),Un=bt(L,"mediumDate");Ue=Oe(ye(L,Re.Medium),[Kt,Un]);break;case"long":const ki=bt(L,"longTime"),Hi=bt(L,"longDate");Ue=Oe(ye(L,Re.Long),[ki,Hi]);break;case"full":const Ci=bt(L,"fullTime"),Jn=bt(L,"fullDate");Ue=Oe(ye(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function Oe(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function ge(L,xe,Z="-",Ue,ht){let Gt="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,Gt=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ue.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ue.FractionalSeconds)return function ot(L,xe){return ge(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return ge(Un,xe,ki,Ue,ht)}}function zt(L,xe,Z=U.Format,Ue=!1){return function(ht,Gt){return function Ne(L,xe,Z,Ue,ht,Gt){switch(Z){case Te.Months:return we(xe,ht,Ue)[L.getMonth()];case Te.Days:return pe(xe,ht,Ue)[L.getDay()];case Te.DayPeriods:const Kt=L.getHours(),Un=L.getMinutes();if(Gt){const Hi=Bt(xe),Ci=Tt(xe,ht,Ue),Jn=Hi.findIndex(Ji=>{if(Array.isArray(Ji)){const[Oi,er]=Ji,Pr=Kt>=Oi.hours&&Un>=Oi.minutes,Dr=Kt0?Math.floor(ht/60):Math.ceil(ht/60);switch(L){case Q.Short:return(ht>=0?"+":"")+ge(Kt,2,Gt)+ge(Math.abs(ht%60),2,Gt);case Q.ShortGMT:return"GMT"+(ht>=0?"+":"")+ge(Kt,1,Gt);case Q.Long:return"GMT"+(ht>=0?"+":"")+ge(Kt,2,Gt)+":"+ge(Math.abs(ht%60),2,Gt);case Q.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+ge(Kt,2,Gt)+":"+ge(Math.abs(ht%60),2,Gt);default:throw new Error(`Unknown zone width "${L}"`)}}}const ae=0,Ce=4;function _e(L){return dt(L.getFullYear(),L.getMonth(),L.getDate()+(Ce-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const Gt=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+Gt)/7)}else{const Gt=_e(Z),Kt=function lt(L){const xe=dt(L,ae,1).getDay();return dt(L,0,1+(xe<=Ce?Ce:Ce+7)-xe)}(Gt.getFullYear()),Un=Gt.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return ge(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return ge(_e(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function K(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function et(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,Lt=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,Gt,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,Gt,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(Lt))>-1&&(xe=xe.replace(Lt,"")),(Gt=xe.search(/e/i))>0?(ht<0&&(ht=Gt),ht+=+xe.slice(Gt+1),xe=xe.substring(0,Gt)):ht<0&&(ht=xe.length),Gt=0;xe.charAt(Gt)===on;Gt++);if(Gt===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=Gt,Ue=[],Kt=0;Gt<=Un;Gt++,Kt++)Ue[Kt]=Number(xe.charAt(Gt))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function mt(L){if(0===L.digits[0])return L;const xe=L.digits.length-L.integerLen;return L.exponent?L.exponent+=2:(0===xe?L.digits.push(0,0):1===xe&&L.digits.push(0),L.integerLen+=2),L}(Hi));let Ci=xe.minInt,Jn=xe.minFrac,Ji=xe.maxFrac;if(Gt){const pr=Gt.match(Ve);if(null===pr)throw new Error(`${Gt} is not a valid digit info`);const Qr=pr[1],Nr=pr[3],Zr=pr[5];null!=Qr&&(Ci=cn(Qr)),null!=Nr&&(Jn=cn(Nr)),null!=Zr?Ji=cn(Zr):null!=Nr&&Jn>Ji&&(Ji=Jn)}!function nn(L,xe,Z){if(xe>Z)throw new Error(`The minimum number of digits after fraction (${xe}) is higher than the maximum (${Z}).`);let Ue=L.digits,ht=Ue.length-L.integerLen;const Gt=Math.min(Math.max(xe,ht),Z);let Kt=Gt+L.integerLen,Un=Ue[Kt];if(Kt>0){Ue.splice(Math.max(L.integerLen,Kt));for(let Jn=Kt;Jn=5)if(Kt-1<0){for(let Jn=0;Jn>Kt;Jn--)Ue.unshift(0),L.integerLen++;Ue.unshift(1),L.integerLen++}else Ue[Kt-1]++;for(;ht=Hi?er.pop():ki=!1),Ji>=10?1:0},0);Ci&&(Ue.unshift(Ci),L.integerLen++)}(Hi,Jn,Ji);let Oi=Hi.digits,er=Hi.integerLen;const Pr=Hi.exponent;let Dr=[];for(ki=Oi.every(pr=>!pr);er0?Dr=Oi.splice(er,Oi.length):(Dr=Oi,Oi=[0]);const Zn=[];for(Oi.length>=xe.lgSize&&Zn.unshift(Oi.splice(-xe.lgSize,Oi.length).join(""));Oi.length>xe.gSize;)Zn.unshift(Oi.splice(-xe.gSize,Oi.length).join(""));Oi.length&&Zn.unshift(Oi.join("")),Un=Zn.join(He(Z,Ue)),Dr.length&&(Un+=He(Z,ht)+Dr.join("")),Pr&&(Un+=He(Z,Ae.Exponential)+"+"+Pr)}else Un=He(Z,Ae.Infinity);return Un=L<0&&!ki?xe.negPre+Un+xe.negSuf:xe.posPre+Un+xe.posSuf,Un}function Vi(L,xe,Z,Ue,ht){const Kt=_t(Ze(xe,ie.Currency),He(xe,Ae.MinusSign));return Kt.minFrac=N(Ue),Kt.maxFrac=Kt.minFrac,fi(L,Kt,xe,Ae.CurrencyGroup,Ae.CurrencyDecimal,ht).replace(Mn,Z).replace(Mn,"").trim()}function Yi(L,xe,Z){return fi(L,_t(Ze(xe,ie.Percent),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z,!0).replace(new RegExp(xi,"g"),He(xe,Ae.PercentSign))}function Et(L,xe,Z){return fi(L,_t(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function _t(L,xe="-"){const Z={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ue=L.split(xn),ht=Ue[0],Gt=Ue[1],Kt=-1!==ht.indexOf(Lt)?ht.split(Lt):[ht.substring(0,ht.lastIndexOf(on)+1),ht.substring(ht.lastIndexOf(on)+1)],Un=Kt[0],ki=Kt[1]||"";Z.posPre=Un.substring(0,Un.indexOf(_n));for(let Ci=0;Ci{class L{}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(Z){let Ue=null;return Z?Ue=new Z:(ht=n.\u0275\u0275inject(n.LOCALE_ID),Ue=new wn(ht)),Ue;var ht},providedIn:"root"}),L})();function Nn(L,xe,Z,Ue){let ht=`=${L}`;if(xe.indexOf(ht)>-1||(ht=Z.getPluralCategory(L,Ue),xe.indexOf(ht)>-1))return ht;if(xe.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${L}"`)}let wn=(()=>{class L extends sn{constructor(Z){super(),this.locale=Z}getPluralCategory(Z,Ue){switch(Ft(Ue||this.locale)(Z)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(n.LOCALE_ID))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac}),L})();function Xn(L,xe,Z){return(0,n.\u0275registerLocaleData)(L,xe,Z)}function _i(L,xe){xe=encodeURIComponent(xe);for(const Z of L.split(";")){const Ue=Z.indexOf("="),[ht,Gt]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent(Gt)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,Gt){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=Gt,this.initialClasses=ti,this.stateMap=new Map}set klass(Z){this.initialClasses=null!=Z?Z.trim().split($n):ti}set ngClass(Z){this.rawClass="string"==typeof Z?Z.trim().split($n):Z}ngDoCheck(){for(const Ue of this.initialClasses)this._updateState(Ue,!0);const Z=this.rawClass;if(Array.isArray(Z)||Z instanceof Set)for(const Ue of Z)this._updateState(Ue,!0);else if(null!=Z)for(const Ue of Object.keys(Z))this._updateState(Ue,!!Z[Ue]);this._applyStateDiff()}_updateState(Z,Ue){const ht=this.stateMap.get(Z);void 0!==ht?(ht.enabled!==Ue&&(ht.changed=!0,ht.enabled=Ue),ht.touched=!0):this.stateMap.set(Z,{enabled:Ue,changed:!0,touched:!0})}_applyStateDiff(){for(const Z of this.stateMap){const Ue=Z[0],ht=Z[1];ht.changed?(this._toggleClass(Ue,ht.enabled),ht.changed=!1):ht.touched||(ht.enabled&&this._toggleClass(Ue,!1),this.stateMap.delete(Ue)),ht.touched=!1}}_toggleClass(Z,Ue){(Z=Z.trim()).length>0&&Z.split($n).forEach(ht=>{Ue?this._renderer.addClass(this._ngEl.nativeElement,ht):this._renderer.removeClass(this._ngEl.nativeElement,ht)})}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),L})(),mn=(()=>{class L{constructor(Z){this._viewContainerRef=Z,this.ngComponentOutlet=null}ngOnChanges(Z){const{_viewContainerRef:Ue,ngComponentOutletNgModule:ht,ngComponentOutletNgModuleFactory:Gt}=this;if(Ue.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Kt=this.ngComponentOutletInjector||Ue.parentInjector;(Z.ngComponentOutletNgModule||Z.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=ht?(0,n.createNgModule)(ht,Tn(Kt)):Gt?Gt.create(Tn(Kt)):void 0),this._componentRef=Ue.createComponent(this.ngComponentOutlet,{index:Ue.length,injector:Kt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),L})();function Tn(L){return L.get(n.NgModuleRef).injector}class Rn{constructor(xe,Z,Ue,ht){this.$implicit=xe,this.ngForOf=Z,this.index=Ue,this.count=ht}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Wn=(()=>{class L{set ngForOf(Z){this._ngForOf=Z,this._ngForOfDirty=!0}set ngForTrackBy(Z){this._trackByFn=Z}get ngForTrackBy(){return this._trackByFn}constructor(Z,Ue,ht){this._viewContainer=Z,this._template=Ue,this._differs=ht,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Z){Z&&(this._template=Z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Z=this._ngForOf;!this._differ&&Z&&(this._differ=this._differs.find(Z).create(this.ngForTrackBy))}if(this._differ){const Z=this._differ.diff(this._ngForOf);Z&&this._applyChanges(Z)}}_applyChanges(Z){const Ue=this._viewContainer;Z.forEachOperation((ht,Gt,Kt)=>{if(null==ht.previousIndex)Ue.createEmbeddedView(this._template,new Rn(ht.item,this._ngForOf,-1,-1),null===Kt?void 0:Kt);else if(null==Kt)Ue.remove(null===Gt?void 0:Gt);else if(null!==Gt){const Un=Ue.get(Gt);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,Gt=Ue.length;ht{mi(Ue.get(ht.currentIndex),ht)})}static ngTemplateContextGuard(Z,Ue){return!0}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),L})();function mi(L,xe){L.context.$implicit=xe.item}let wi=(()=>{class L{constructor(Z,Ue){this._viewContainer=Z,this._context=new ri,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ue}set ngIf(Z){this._context.$implicit=this._context.ngIf=Z,this._updateView()}set ngIfThen(Z){ai("ngIfThen",Z),this._thenTemplateRef=Z,this._thenViewRef=null,this._updateView()}set ngIfElse(Z){ai("ngIfElse",Z),this._elseTemplateRef=Z,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Z,Ue){return!0}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),L})();class ri{constructor(){this.$implicit=null,this.ngIf=null}}function ai(L,xe){if(xe&&!xe.createEmbeddedView)throw new Error(`${L} must be a TemplateRef, but received '${(0,n.\u0275stringify)(xe)}'.`)}class Ni{constructor(xe,Z){this._viewContainerRef=xe,this._templateRef=Z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(xe){xe&&!this._created?this.create():!xe&&this._created&&this.destroy()}}let xt=(()=>{class L{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Z){this._ngSwitch=Z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Z){this._defaultViews.push(Z)}_matchCase(Z){const Ue=Z==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ue,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ue}_updateDefaultCases(Z){if(this._defaultViews.length>0&&Z!==this._defaultUsed){this._defaultUsed=Z;for(const Ue of this._defaultViews)Ue.enforceState(Z)}}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),L})(),jt=(()=>{class L{constructor(Z,Ue,ht){this.ngSwitch=ht,ht._addCase(),this._view=new Ni(Z,Ue)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(xt,9))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),L})(),ke=(()=>{class L{constructor(Z,Ue,ht){ht._addDefault(new Ni(Z,Ue))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(xt,9))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngSwitchDefault",""]],standalone:!0}),L})(),me=(()=>{class L{constructor(Z){this._localization=Z,this._caseViews={}}set ngPlural(Z){this._updateView(Z)}addCase(Z,Ue){this._caseViews[Z]=Ue}_updateView(Z){this._clearViews();const ht=Nn(Z,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[ht])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Z){Z&&(this._activeView=Z,this._activeView.create())}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(sn))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),L})(),le=(()=>{class L{constructor(Z,Ue,ht,Gt){this.value=Z;const Kt=!isNaN(Number(Z));Gt.addCase(Kt?`=${Z}`:Z,new Ni(ht,Ue))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(me,1))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngPluralCase",""]],standalone:!0}),L})(),Xe=(()=>{class L{constructor(Z,Ue,ht){this._ngEl=Z,this._differs=Ue,this._renderer=ht,this._ngStyle=null,this._differ=null}set ngStyle(Z){this._ngStyle=Z,!this._differ&&Z&&(this._differ=this._differs.find(Z).create())}ngDoCheck(){if(this._differ){const Z=this._differ.diff(this._ngStyle);Z&&this._applyChanges(Z)}}_setStyle(Z,Ue){const[ht,Gt]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,Gt?`${Ue}${Gt}`:Ue,Kt):this._renderer.removeStyle(this._ngEl.nativeElement,ht,Kt)}_applyChanges(Z){Z.forEachRemovedItem(Ue=>this._setStyle(Ue.key,null)),Z.forEachAddedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue)),Z.forEachChangedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),L})(),Ot=(()=>{class L{constructor(Z){this._viewContainerRef=Z,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Z){if(Z.ngTemplateOutlet||Z.ngTemplateOutletInjector){const Ue=this._viewContainerRef;if(this._viewRef&&Ue.remove(Ue.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ht,ngTemplateOutletContext:Gt,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,Gt,Kt?{injector:Kt}:void 0)}else this._viewRef=null}else this._viewRef&&Z.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),L})();function un(L,xe){return new n.\u0275RuntimeError(2100,!1)}class gn{createSubscription(xe,Z){return(0,n.untracked)(()=>xe.subscribe({next:Z,error:Ue=>{throw Ue}}))}dispose(xe){(0,n.untracked)(()=>xe.unsubscribe())}}class pn{createSubscription(xe,Z){return xe.then(Z,Ue=>{throw Ue})}dispose(xe){}}const si=new pn,jn=new gn;let Fn=(()=>{class L{constructor(Z){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Z}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Z){return this._obj?Z!==this._obj?(this._dispose(),this.transform(Z)):this._latestValue:(Z&&this._subscribe(Z),this._latestValue)}_subscribe(Z){this._obj=Z,this._strategy=this._selectStrategy(Z),this._subscription=this._strategy.createSubscription(Z,Ue=>this._updateLatestValue(Z,Ue))}_selectStrategy(Z){if((0,n.\u0275isPromise)(Z))return si;if((0,n.\u0275isSubscribable)(Z))return jn;throw un()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Z,Ue){Z===this._obj&&(this._latestValue=Ue,this._ref.markForCheck())}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:L,pure:!1,standalone:!0}),L})(),bi=(()=>{class L{transform(Z){if(null==Z)return null;if("string"!=typeof Z)throw un();return Z.toLowerCase()}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:L,pure:!0,standalone:!0}),L})();const Ti=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Fi=(()=>{class L{transform(Z){if(null==Z)return null;if("string"!=typeof Z)throw un();return Z.replace(Ti,Ue=>Ue[0].toUpperCase()+Ue.slice(1).toLowerCase())}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:L,pure:!0,standalone:!0}),L})(),Gi=(()=>{class L{transform(Z){if(null==Z)return null;if("string"!=typeof Z)throw un();return Z.toUpperCase()}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:L,pure:!0,standalone:!0}),L})();const Cn=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),tn=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let En=(()=>{class L{constructor(Z,Ue,ht){this.locale=Z,this.defaultTimezone=Ue,this.defaultOptions=ht}transform(Z,Ue,ht,Gt){if(null==Z||""===Z||Z!=Z)return null;try{return Ct(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",Gt||this.locale,ht??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Kt){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Cn,24),n.\u0275\u0275directiveInject(tn,24))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:L,pure:!0,standalone:!0}),L})();const ei=/#/g;let Ei=(()=>{class L{constructor(Z){this._localization=Z}transform(Z,Ue,ht){if(null==Z)return"";if("object"!=typeof Ue||null===Ue)throw un();return Ue[Nn(Z,Object.keys(Ue),this._localization,ht)].replace(ei,Z.toString())}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(sn,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:L,pure:!0,standalone:!0}),L})(),tr=(()=>{class L{transform(Z,Ue){if(null==Z)return"";if("object"!=typeof Ue||"string"!=typeof Z)throw un();return Ue.hasOwnProperty(Z)?Ue[Z]:Ue.hasOwnProperty("other")?Ue.other:""}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:L,pure:!0,standalone:!0}),L})(),Ai=(()=>{class L{transform(Z){return JSON.stringify(Z,null,2)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:L,pure:!1,standalone:!0}),L})(),yi=(()=>{class L{constructor(Z){this.differs=Z,this.keyValues=[],this.compareFn=Je}transform(Z,Ue=Je){if(!Z||!(Z instanceof Map)&&"object"!=typeof Z)return null;this.differ||(this.differ=this.differs.find(Z).create());const ht=this.differ.diff(Z),Gt=Ue!==this.compareFn;return ht&&(this.keyValues=[],ht.forEachItem(Kt=>{this.keyValues.push(function ar(L,xe){return{key:L,value:xe}}(Kt.key,Kt.currentValue))})),(ht||Gt)&&(this.keyValues.sort(Ue),this.compareFn=Ue),this.keyValues}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:L,pure:!1,standalone:!0}),L})();function Je(L,xe){const Z=L.key,Ue=xe.key;if(Z===Ue)return 0;if(void 0===Z)return 1;if(void 0===Ue)return-1;if(null===Z)return 1;if(null===Ue)return-1;if("string"==typeof Z&&"string"==typeof Ue)return Z{class L{constructor(Z){this._locale=Z}transform(Z,Ue,ht){if(!Pe(Z))return null;ht=ht||this._locale;try{return Et(rt(Z),ht,Ue)}catch(Gt){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:L,pure:!0,standalone:!0}),L})(),C=(()=>{class L{constructor(Z){this._locale=Z}transform(Z,Ue,ht){if(!Pe(Z))return null;ht=ht||this._locale;try{return Yi(rt(Z),ht,Ue)}catch(Gt){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:L,pure:!0,standalone:!0}),L})(),te=(()=>{class L{constructor(Z,Ue="USD"){this._locale=Z,this._defaultCurrencyCode=Ue}transform(Z,Ue=this._defaultCurrencyCode,ht="symbol",Gt,Kt){if(!Pe(Z))return null;Kt=Kt||this._locale,"boolean"==typeof ht&&(ht=ht?"symbol":"code");let Un=Ue||this._defaultCurrencyCode;"code"!==ht&&(Un="symbol"===ht||"symbol-narrow"===ht?ze(Un,"symbol"===ht?"wide":"narrow",Kt):ht);try{return Vi(rt(Z),Kt,Un,Ue,Gt)}catch(ki){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:L,pure:!0,standalone:!0}),L})();function Pe(L){return!(null==L||""===L||L!=L)}function rt(L){if("string"==typeof L&&!isNaN(Number(L)-parseFloat(L)))return Number(L);if("number"!=typeof L)throw new Error(`${L} is not a number`);return L}let Zt=(()=>{class L{transform(Z,Ue,ht){if(null==Z)return null;if(!this.supports(Z))throw un();return Z.slice(Ue,ht)}supports(Z){return"string"==typeof Z||Array.isArray(Z)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:L,pure:!1,standalone:!0}),L})(),ji=(()=>{class L{}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275mod=n.\u0275\u0275defineNgModule({type:L}),L.\u0275inj=n.\u0275\u0275defineInjector({}),L})();const Pi="browser",Li="server",Qi="browserWorkerApp",Ui="browserWorkerUi";function ir(L){return L===Pi}function wt(L){return L===Li}function vt(L){return L===Qi}function pt(L){return L===Ui}const St=new n.Version("16.1.7");let Ht=(()=>{class L{}return L.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:L,providedIn:"root",factory:()=>new Yt((0,n.\u0275\u0275inject)(h),window)}),L})();class Yt{constructor(xe,Z){this.document=xe,this.window=Z,this.offset=()=>[0,0]}setOffset(xe){this.offset=Array.isArray(xe)?()=>xe:xe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(xe){this.supportsScrolling()&&this.window.scrollTo(xe[0],xe[1])}scrollToAnchor(xe){if(!this.supportsScrolling())return;const Z=function yn(L,xe){const Z=L.getElementById(xe)||L.getElementsByName(xe)[0];if(Z)return Z;if("function"==typeof L.createTreeWalker&&L.body&&"function"==typeof L.body.attachShadow){const Ue=L.createTreeWalker(L.body,NodeFilter.SHOW_ELEMENT);let ht=Ue.currentNode;for(;ht;){const Gt=ht.shadowRoot;if(Gt){const Kt=Gt.getElementById(xe)||Gt.querySelector(`[name="${xe}"]`);if(Kt)return Kt}ht=Ue.nextNode()}}return null}(this.document,xe);Z&&(this.scrollToElement(Z),Z.focus())}setHistoryScrollRestoration(xe){if(this.supportScrollRestoration()){const Z=this.window.history;Z&&Z.scrollRestoration&&(Z.scrollRestoration=xe)}}scrollToElement(xe){const Z=xe.getBoundingClientRect(),Ue=Z.left+this.window.pageXOffset,ht=Z.top+this.window.pageYOffset,Gt=this.offset();this.window.scrollTo(Ue-Gt[0],ht-Gt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const xe=Jt(this.window.history)||Jt(Object.getPrototypeOf(this.window.history));return!(!xe||!xe.writable&&!xe.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Jt(L){return Object.getOwnPropertyDescriptor(L,"scrollRestoration")}class vn{setOffset(xe){}getScrollPosition(){return[0,0]}scrollToPosition(xe){}scrollToAnchor(xe){}setHistoryScrollRestoration(xe){}}class Vn{}function ni(L){return L.startsWith("/")?L.slice(1):L}const oi=L=>L.src,Ii=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>oi});function Zi(L,xe){return function(Ue){return function Mi(L){if("string"!=typeof L||""===L.trim())return!1;try{return new URL(L),!0}catch{return!1}}(Ue)||function Vr(L,xe){throw new n.\u0275RuntimeError(2959,!1)}(),Ue=function qn(L){return L.endsWith("/")?L.slice(0,-1):L}(Ue),[{provide:Ii,useValue:Kt=>(function vi(L){return/^https?:\/\//.test(L)}(Kt.src)&&function no(L,xe){throw new n.\u0275RuntimeError(2959,!1)}(),L(Ue,{...Kt,src:ni(Kt.src)}))}]}}const Oo=Zi(jr);function jr(L,xe){let Z="format=auto";return xe.width&&(Z+=`,width=${xe.width}`),`${L}/cdn-cgi/image/${Z}/${xe.src}`}const po=Zi(io);function io(L,xe){let Z="f_auto,q_auto";return xe.width&&(Z+=`,w_${xe.width}`),`${L}/image/upload/${Z}/${xe.src}`}const go=Zi(_o);function _o(L,xe){const{src:Z,width:Ue}=xe;let ht;return ht=Ue?[L,`tr:w-${Ue}`,Z]:[L,Z],ht.join("/")}const Ke=Zi(Xt);function Xt(L,xe){const Z=new URL(`${L}/${xe.src}`);return Z.searchParams.set("auto","format"),xe.width&&Z.searchParams.set("w",xe.width.toString()),Z.href}const bo=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),T=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let P=(()=>{class L{constructor(){this.preloadedImages=(0,n.inject)(T),this.document=(0,n.inject)(h)}createPreloadLinkTag(Z,Ue,ht,Gt){if(this.preloadedImages.has(Ue))return;this.preloadedImages.add(Ue);const Kt=Z.createElement("link");Z.setAttribute(Kt,"as","image"),Z.setAttribute(Kt,"href",Ue),Z.setAttribute(Kt,"rel","preload"),Z.setAttribute(Kt,"fetchpriority","high"),Gt&&Z.setAttribute(Kt,"imageSizes",Gt),ht&&Z.setAttribute(Kt,"imageSrcset",ht),Z.appendChild(this.document.head,Kt)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const Fe=/^((\s*\d+w\s*(,|$)){1,})$/,Qt=[1,2],ii={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Bi=new n.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>ii});let qi=(()=>{class L{constructor(){this.imageLoader=(0,n.inject)(Ii),this.config=function Ki(L){let xe={};return L.breakpoints&&(xe.breakpoints=L.breakpoints.sort((Z,Ue)=>Z-Ue)),Object.assign({},ii,L,xe)}((0,n.inject)(Bi)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=wt((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(P),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Z=this.getRewrittenSrc();let Ue;this.setHostAttribute("src",Z),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?Ue=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Ue=this.getAutomaticSrcset()),Ue&&this.setHostAttribute("srcset",Ue),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,Z,Ue,this.sizes)}ngOnChanges(Z){}callImageLoader(Z){let Ue=Z;return this.loaderParams&&(Ue.loaderParams=this.loaderParams),this.imageLoader(Ue)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Z=Fe.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ht=>""!==ht).map(ht=>{ht=ht.trim();const Gt=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Gt})} ${ht}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Z}=this.config;let Ue=Z;return"100vw"===this.sizes?.trim()&&(Ue=Z.filter(Gt=>Gt>=640)),Ue.map(Gt=>`${this.callImageLoader({src:this.ngSrc,width:Gt})} ${Gt}w`).join(", ")}getFixedSrcset(){return Qt.map(Ue=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Ue})} ${Ue}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==oi&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(Z,Ue){this.renderer.setAttribute(this.imgElement,Z,Ue)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(Z,Ue){2&Z&&n.\u0275\u0275styleProp("position",Ue.fill?"absolute":null)("width",Ue.fill?"100%":null)("height",Ue.fill?"100%":null)("inset",Ue.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]}),L})()},9862:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{FetchBackend:()=>We,HTTP_INTERCEPTORS:()=>kt,HttpBackend:()=>x,HttpClient:()=>ye,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>Lt,HttpContext:()=>Me,HttpContextToken:()=>U,HttpErrorResponse:()=>re,HttpEventType:()=>we,HttpFeatureKind:()=>De,HttpHandler:()=>y,HttpHeaderResponse:()=>Be,HttpHeaders:()=>D,HttpParams:()=>A,HttpRequest:()=>pe,HttpResponse:()=>G,HttpResponseBase:()=>Ee,HttpUrlEncodingCodec:()=>E,HttpXhrBackend:()=>At,HttpXsrfTokenExtractor:()=>Ce,JsonpClientBackend:()=>dt,JsonpInterceptor:()=>Oe,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>K,withInterceptorsFromDi:()=>ut,withJsonpSupport:()=>et,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Pt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),h=a(6328),f=a(2181),u=a(7398),v=a(4716),b=a(4664),p=a(9397),_=a(1374),l=a(6814);class y{}class x{}class D{constructor(_t){this.normalizedNames=new Map,this.lazyUpdate=null,_t?"string"==typeof _t?this.lazyInit=()=>{this.headers=new Map,_t.split("\n").forEach(mt=>{const qt=mt.indexOf(":");if(qt>0){const nn=mt.slice(0,qt),cn=nn.toLowerCase(),sn=mt.slice(qt+1).trim();this.maybeSetNormalizedName(nn,cn),this.headers.has(cn)?this.headers.get(cn).push(sn):this.headers.set(cn,[sn])}})}:typeof Headers<"u"&&_t instanceof Headers?(this.headers=new Map,_t.forEach((mt,qt)=>{this.setHeaderEntries(qt,mt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(_t).forEach(([mt,qt])=>{this.setHeaderEntries(mt,qt)})}:this.headers=new Map}has(_t){return this.init(),this.headers.has(_t.toLowerCase())}get(_t){this.init();const mt=this.headers.get(_t.toLowerCase());return mt&&mt.length>0?mt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(_t){return this.init(),this.headers.get(_t.toLowerCase())||null}append(_t,mt){return this.clone({name:_t,value:mt,op:"a"})}set(_t,mt){return this.clone({name:_t,value:mt,op:"s"})}delete(_t,mt){return this.clone({name:_t,value:mt,op:"d"})}maybeSetNormalizedName(_t,mt){this.normalizedNames.has(mt)||this.normalizedNames.set(mt,_t)}init(){this.lazyInit&&(this.lazyInit instanceof D?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(mt=>{this.headers.set(mt,_t.headers.get(mt)),this.normalizedNames.set(mt,_t.normalizedNames.get(mt))})}clone(_t){const mt=new D;return mt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,mt.lazyUpdate=(this.lazyUpdate||[]).concat([_t]),mt}applyUpdate(_t){const mt=_t.name.toLowerCase();switch(_t.op){case"a":case"s":let qt=_t.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(_t.name,mt);const nn=("a"===_t.op?this.headers.get(mt):void 0)||[];nn.push(...qt),this.headers.set(mt,nn);break;case"d":const cn=_t.value;if(cn){let sn=this.headers.get(mt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(mt),this.normalizedNames.delete(mt)):this.headers.set(mt,sn)}else this.headers.delete(mt),this.normalizedNames.delete(mt)}}setHeaderEntries(_t,mt){const qt=(Array.isArray(mt)?mt:[mt]).map(cn=>cn.toString()),nn=_t.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(_t,nn)}forEach(_t){this.init(),Array.from(this.normalizedNames.keys()).forEach(mt=>_t(this.normalizedNames.get(mt),this.headers.get(mt)))}}class E{encodeKey(_t){return ee(_t)}encodeValue(_t){return ee(_t)}decodeKey(_t){return decodeURIComponent(_t)}decodeValue(_t){return decodeURIComponent(_t)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(Et){return encodeURIComponent(Et).replace(X,(_t,mt)=>$[mt]??_t)}function ie(Et){return`${Et}`}class A{constructor(_t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=_t.encoder||new E,_t.fromString){if(_t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(Et,_t){const mt=new Map;return Et.length>0&&Et.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[_t.decodeKey(nn),""]:[_t.decodeKey(nn.slice(0,cn)),_t.decodeValue(nn.slice(cn+1))],wn=mt.get(sn)||[];wn.push(Nn),mt.set(sn,wn)}),mt}(_t.fromString,this.encoder)}else _t.fromObject?(this.map=new Map,Object.keys(_t.fromObject).forEach(mt=>{const qt=_t.fromObject[mt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(mt,nn)})):this.map=null}has(_t){return this.init(),this.map.has(_t)}get(_t){this.init();const mt=this.map.get(_t);return mt?mt[0]:null}getAll(_t){return this.init(),this.map.get(_t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(_t,mt){return this.clone({param:_t,value:mt,op:"a"})}appendAll(_t){const mt=[];return Object.keys(_t).forEach(qt=>{const nn=_t[qt];Array.isArray(nn)?nn.forEach(cn=>{mt.push({param:qt,value:cn,op:"a"})}):mt.push({param:qt,value:nn,op:"a"})}),this.clone(mt)}set(_t,mt){return this.clone({param:_t,value:mt,op:"s"})}delete(_t,mt){return this.clone({param:_t,value:mt,op:"d"})}toString(){return this.init(),this.keys().map(_t=>{const mt=this.encoder.encodeKey(_t);return this.map.get(_t).map(qt=>mt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(_t=>""!==_t).join("&")}clone(_t){const mt=new A({encoder:this.encoder});return mt.cloneFrom=this.cloneFrom||this,mt.updates=(this.updates||[]).concat(_t),mt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const mt=("a"===_t.op?this.map.get(_t.param):void 0)||[];mt.push(ie(_t.value)),this.map.set(_t.param,mt);break;case"d":if(void 0===_t.value){this.map.delete(_t.param);break}{let qt=this.map.get(_t.param)||[];const nn=qt.indexOf(ie(_t.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(_t.param,qt):this.map.delete(_t.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(_t){this.defaultValue=_t}}class Me{constructor(){this.map=new Map}set(_t,mt){return this.map.set(_t,mt),this}get(_t){return this.map.has(_t)||this.map.set(_t,_t.defaultValue()),this.map.get(_t)}delete(_t){return this.map.delete(_t),this}has(_t){return this.map.has(_t)}keys(){return this.map.keys()}}function Ae(Et){return typeof ArrayBuffer<"u"&&Et instanceof ArrayBuffer}function he(Et){return typeof Blob<"u"&&Et instanceof Blob}function H(Et){return typeof FormData<"u"&&Et instanceof FormData}class pe{constructor(_t,mt,qt,nn){let cn;if(this.url=mt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=_t.toUpperCase(),function Re(Et){switch(Et){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||nn?(this.body=void 0!==qt?qt:null,cn=nn):cn=qt,cn&&(this.reportProgress=!!cn.reportProgress,this.withCredentials=!!cn.withCredentials,cn.responseType&&(this.responseType=cn.responseType),cn.headers&&(this.headers=cn.headers),cn.context&&(this.context=cn.context),cn.params&&(this.params=cn.params)),this.headers||(this.headers=new D),this.context||(this.context=new Me),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=mt;else{const Nn=mt.indexOf("?");this.urlWithParams=mt+(-1===Nn?"?":Nn$n.set(ti,_t.setHeaders[ti]),wn)),_t.setParams&&(Xn=Object.keys(_t.setParams).reduce(($n,ti)=>$n.set(ti,_t.setParams[ti]),Xn)),new pe(mt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(Et){return Et[Et.Sent=0]="Sent",Et[Et.UploadProgress=1]="UploadProgress",Et[Et.ResponseHeader=2]="ResponseHeader",Et[Et.DownloadProgress=3]="DownloadProgress",Et[Et.Response=4]="Response",Et[Et.User=5]="User",Et}(we||{});class Ee{constructor(_t,mt=200,qt="OK"){this.headers=_t.headers||new D,this.status=void 0!==_t.status?_t.status:mt,this.statusText=_t.statusText||qt,this.url=_t.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(_t={}){super(_t),this.type=we.ResponseHeader}clone(_t={}){return new Be({headers:_t.headers||this.headers,status:void 0!==_t.status?_t.status:this.status,statusText:_t.statusText||this.statusText,url:_t.url||this.url||void 0})}}class G extends Ee{constructor(_t={}){super(_t),this.type=we.Response,this.body=void 0!==_t.body?_t.body:null}clone(_t={}){return new G({body:void 0!==_t.body?_t.body:this.body,headers:_t.headers||this.headers,status:void 0!==_t.status?_t.status:this.status,statusText:_t.statusText||this.statusText,url:_t.url||this.url||void 0})}}class re extends Ee{constructor(_t){super(_t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${_t.url||"(unknown url)"}`:`Http failure response for ${_t.url||"(unknown url)"}: ${_t.status} ${_t.statusText}`,this.error=_t.error||null}}function se(Et,_t){return{body:_t,headers:Et.headers,context:Et.context,observe:Et.observe,params:Et.params,reportProgress:Et.reportProgress,responseType:Et.responseType,withCredentials:Et.withCredentials}}let ye=(()=>{class Et{constructor(mt){this.handler=mt}request(mt,qt,nn={}){let cn;if(mt instanceof pe)cn=mt;else{let wn,Xn;wn=nn.headers instanceof D?nn.headers:new D(nn.headers),nn.params&&(Xn=nn.params instanceof A?nn.params:new A({fromObject:nn.params})),cn=new pe(mt,qt,void 0!==nn.body?nn.body:null,{headers:wn,context:nn.context,params:Xn,reportProgress:nn.reportProgress,responseType:nn.responseType||"json",withCredentials:nn.withCredentials})}const sn=(0,d.of)(cn).pipe((0,h.b)(wn=>this.handler.handle(wn)));if(mt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,f.h)(wn=>wn instanceof G));switch(nn.observe||"body"){case"body":switch(cn.responseType){case"arraybuffer":return Nn.pipe((0,u.U)(wn=>{if(null!==wn.body&&!(wn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wn.body}));case"blob":return Nn.pipe((0,u.U)(wn=>{if(null!==wn.body&&!(wn.body instanceof Blob))throw new Error("Response is not a Blob.");return wn.body}));case"text":return Nn.pipe((0,u.U)(wn=>{if(null!==wn.body&&"string"!=typeof wn.body)throw new Error("Response is not a string.");return wn.body}));default:return Nn.pipe((0,u.U)(wn=>wn.body))}case"response":return Nn;default:throw new Error(`Unreachable: unhandled observe type ${nn.observe}}`)}}delete(mt,qt={}){return this.request("DELETE",mt,qt)}get(mt,qt={}){return this.request("GET",mt,qt)}head(mt,qt={}){return this.request("HEAD",mt,qt)}jsonp(mt,qt){return this.request("JSONP",mt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(mt,qt={}){return this.request("OPTIONS",mt,qt)}patch(mt,qt,nn={}){return this.request("PATCH",mt,se(nn,qt))}post(mt,qt,nn={}){return this.request("POST",mt,se(nn,qt))}put(mt,qt,nn={}){return this.request("PUT",mt,se(nn,qt))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(y))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();const He=/^\)\]\}',?\n/;function Qe(Et){if(Et.url)return Et.url;const _t="X-Request-URL".toLocaleLowerCase();return Et.headers.get(_t)}let We=(()=>{class Et{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(mt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(mt,nn.signal,qt).then(Mt,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(mt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(mt);let Nn;try{const mn=cn.fetchImpl(mt.urlWithParams,{signal:qt,...sn});(function Ft(Et){Et.then(Mt,Mt)})(mn),nn.next({type:we.Sent}),Nn=yield mn}catch(mn){return void nn.error(new re({error:mn,status:mn.status??0,statusText:mn.statusText,url:mt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??mt.urlWithParams;let $n=Nn.status,ti=null;if(mt.reportProgress&&nn.next(new Be({headers:wn,status:$n,statusText:Xn,url:_i})),Nn.body){const mn=Nn.headers.get("content-length"),Tn=[],Rn=Nn.body.getReader();let mi,Yn,Wn=0;const wi=typeof Zone<"u"&&Zone.current;yield cn.ngZone.runOutsideAngular((0,n.Z)(function*(){for(;;){const{done:ai,value:Ni}=yield Rn.read();if(ai)break;if(Tn.push(Ni),Wn+=Ni.length,mt.reportProgress){Yn="text"===mt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const xt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(xt):xt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(mt,ri)}catch(ai){return void nn.error(new re({error:ai,headers:new D(Nn.headers),status:Nn.status,statusText:Nn.statusText,url:Qe(Nn)??mt.urlWithParams}))}}0===$n&&($n=ti?200:0),$n>=200&&$n<300?(nn.next(new G({body:ti,headers:wn,status:$n,statusText:Xn,url:_i})),nn.complete()):nn.error(new re({error:ti,headers:wn,status:$n,statusText:Xn,url:_i}))})()}parseBody(mt,qt){switch(mt.responseType){case"json":const nn=(new TextDecoder).decode(qt).replace(He,"");return""===nn?null:JSON.parse(nn);case"text":return(new TextDecoder).decode(qt);case"blob":return new Blob([qt]);case"arraybuffer":return qt.buffer}}createRequestInit(mt){const qt={},nn=mt.withCredentials?"include":void 0;if(mt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=mt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:mt.serializeBody(),method:mt.method,headers:qt,credentials:nn}}concatChunks(mt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of mt)nn.set(sn,cn),cn+=sn.length;return nn}}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();class tt{}function Mt(){}function gt(Et,_t){return _t(Et)}function Bt(Et,_t){return(mt,qt)=>_t.intercept(mt,{handle:nn=>Et(nn,qt)})}const kt=new c.InjectionToken(""),Le=new c.InjectionToken(""),ct=new c.InjectionToken("");function ze(){let Et=null;return(_t,mt)=>{null===Et&&(Et=((0,c.inject)(kt,{optional:!0})??[]).reduceRight(Bt,gt));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return Et(_t,mt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class Et extends y{constructor(mt,qt){super(),this.backend=mt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(mt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(ct,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(Et,_t,mt){return(qt,nn)=>mt.runInContext(()=>_t(qt,cn=>Et(cn,nn)))}(cn,sn,this.injector),gt)}const qt=this.pendingTasks.add();return this.chain(mt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})(),N=0;class Te{}function Ct(){return"object"==typeof window?window:{}}let dt=(()=>{class Et{constructor(mt,qt){this.callbackMap=mt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(mt){if("JSONP"!==mt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==mt.responseType)throw new Error("JSONP requests must use Json response type.");if(mt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=mt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${nn}$1`),sn=this.document.createElement("script");sn.src=cn;let Nn=null,wn=!1;this.callbackMap[nn]=ti=>{delete this.callbackMap[nn],Nn=ti,wn=!0};const Xn=()=>{sn.parentNode&&sn.parentNode.removeChild(sn),delete this.callbackMap[nn]};return sn.addEventListener("load",ti=>{this.resolvedPromise.then(()=>{Xn(),wn?(qt.next(new G({body:Nn,status:200,statusText:"OK",url:cn})),qt.complete()):qt.error(new re({url:cn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),sn.addEventListener("error",ti=>{Xn(),qt.error(new re({error:ti,status:0,statusText:"JSONP Error",url:cn}))}),this.document.body.appendChild(sn),qt.next({type:we.Sent}),()=>{wn||this.removeListeners(sn),Xn()}})}removeListeners(mt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(mt)}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();function bt(Et,_t){return"JSONP"===Et.method?(0,c.inject)(dt).handle(Et):_t(Et)}let Oe=(()=>{class Et{constructor(mt){this.injector=mt}intercept(mt,qt){return this.injector.runInContext(()=>bt(mt,nn=>qt.handle(nn)))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(c.EnvironmentInjector))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();const ge=/^\)\]\}',?\n/;let At=(()=>{class Et{constructor(mt){this.xhrFactory=mt}handle(mt){if("JSONP"===mt.method)throw new c.\u0275RuntimeError(-2800,!1);const qt=this.xhrFactory;return(qt.\u0275loadImpl?(0,r.D)(qt.\u0275loadImpl()):(0,d.of)(null)).pipe((0,b.w)(()=>new g.y(cn=>{const sn=qt.build();if(sn.open(mt.method,mt.urlWithParams),mt.withCredentials&&(sn.withCredentials=!0),mt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),mt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!mt.headers.has("Content-Type")){const Tn=mt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(mt.responseType){const Tn=mt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=mt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function ot(Et){return"responseURL"in Et&&Et.responseURL?Et.responseURL:/^X-Request-URL:/m.test(Et.getAllResponseHeaders())?Et.getResponseHeader("X-Request-URL"):null}(sn)||mt.url;return wn=new Be({headers:Rn,status:sn.status,statusText:Tn,url:Wn}),wn},_i=()=>{let{headers:Tn,status:Rn,statusText:Wn,url:mi}=Xn(),Yn=null;204!==Rn&&(Yn=typeof sn.response>"u"?sn.responseText:sn.response),0===Rn&&(Rn=Yn?200:0);let wi=Rn>=200&&Rn<300;if("json"===mt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(ge,"");try{Yn=""!==Yn?JSON.parse(Yn):null}catch(ai){Yn=ri,wi&&(wi=!1,Yn={error:ai,text:Yn})}}wi?(cn.next(new G({body:Yn,headers:Tn,status:Rn,statusText:Wn,url:mi||void 0})),cn.complete()):cn.error(new re({error:Yn,headers:Tn,status:Rn,statusText:Wn,url:mi||void 0}))},$n=Tn=>{const{url:Rn}=Xn(),Wn=new re({error:Tn,status:sn.status||0,statusText:sn.statusText||"Unknown Error",url:Rn||void 0});cn.error(Wn)};let ti=!1;const an=Tn=>{ti||(cn.next(Xn()),ti=!0);let Rn={type:we.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Rn.total=Tn.total),"text"===mt.responseType&&sn.responseText&&(Rn.partialText=sn.responseText),cn.next(Rn)},mn=Tn=>{let Rn={type:we.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Rn.total=Tn.total),cn.next(Rn)};return sn.addEventListener("load",_i),sn.addEventListener("error",$n),sn.addEventListener("timeout",$n),sn.addEventListener("abort",$n),mt.reportProgress&&(sn.addEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.addEventListener("progress",mn)),sn.send(Nn),cn.next({type:we.Sent}),()=>{sn.removeEventListener("error",$n),sn.removeEventListener("abort",$n),sn.removeEventListener("load",_i),sn.removeEventListener("timeout",$n),mt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(l.XhrFactory))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();const Nt=new c.InjectionToken("XSRF_ENABLED"),zt="XSRF-TOKEN",Ne=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>zt}),$e="X-XSRF-TOKEN",ae=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>$e});class Ce{}let lt=(()=>{class Et{constructor(mt,qt,nn){this.doc=mt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const mt=this.doc.cookie||"";return mt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(mt,this.cookieName),this.lastCookieString=mt),this.lastToken}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Ne))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();function _e(Et,_t){const mt=Et.url.toLowerCase();if(!(0,c.inject)(Nt)||"GET"===Et.method||"HEAD"===Et.method||mt.startsWith("http://")||mt.startsWith("https://"))return _t(Et);const qt=(0,c.inject)(Ce).getToken(),nn=(0,c.inject)(ae);return null!=qt&&!Et.headers.has(nn)&&(Et=Et.clone({headers:Et.headers.set(nn,qt)})),_t(Et)}let Ye=(()=>{class Et{constructor(mt){this.injector=mt}intercept(mt,qt){return this.injector.runInContext(()=>_e(mt,nn=>qt.handle(nn)))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(c.EnvironmentInjector))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();var De=function(Et){return Et[Et.Interceptors=0]="Interceptors",Et[Et.LegacyInterceptors=1]="LegacyInterceptors",Et[Et.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Et[Et.NoXsrfProtection=3]="NoXsrfProtection",Et[Et.JsonpSupport=4]="JsonpSupport",Et[Et.RequestsMadeViaParent=5]="RequestsMadeViaParent",Et[Et.Fetch=6]="Fetch",Et}(De||{});function F(Et,_t){return{\u0275kind:Et,\u0275providers:_t}}function V(...Et){const _t=[ye,At,at,{provide:y,useExisting:at},{provide:x,useExisting:At},{provide:Le,useValue:_e,multi:!0},{provide:Nt,useValue:!0},{provide:Ce,useClass:lt}];for(const mt of Et)_t.push(...mt.\u0275providers);return(0,c.makeEnvironmentProviders)(_t)}function K(Et){return F(De.Interceptors,Et.map(_t=>({provide:Le,useValue:_t,multi:!0})))}const ve=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function ut(){return F(De.LegacyInterceptors,[{provide:ve,useFactory:ze},{provide:Le,useExisting:ve,multi:!0}])}function Pt({cookieName:Et,headerName:_t}){const mt=[];return void 0!==Et&&mt.push({provide:Ne,useValue:Et}),void 0!==_t&&mt.push({provide:ae,useValue:_t}),F(De.CustomXsrfConfiguration,mt)}function qe(){return F(De.NoXsrfProtection,[{provide:Nt,useValue:!1}])}function et(){return F(De.JsonpSupport,[dt,{provide:Te,useFactory:Ct},{provide:Le,useValue:bt,multi:!0}])}function Ve(){return F(De.RequestsMadeViaParent,[{provide:x,useFactory:()=>(0,c.inject)(y,{skipSelf:!0,optional:!0})}])}function yt(){return F(De.Fetch,[We,{provide:x,useExisting:We}])}let Lt=(()=>{class Et{static disable(){return{ngModule:Et,providers:[qe().\u0275providers]}}static withOptions(mt={}){return{ngModule:Et,providers:Pt(mt).\u0275providers}}}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275mod=c.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:kt,useExisting:Ye,multi:!0},{provide:Ce,useClass:lt},Pt({cookieName:zt,headerName:$e}).\u0275providers,{provide:Nt,useValue:!0}]}),Et})(),on=(()=>{class Et{}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275mod=c.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(ut())]}),Et})(),xn=(()=>{class Et{}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275mod=c.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=c.\u0275\u0275defineInjector({providers:[et().\u0275providers]}),Et})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(Et,_t){const{isCacheActive:mt}=(0,c.inject)(Sn);if(!mt||!_n.includes(Et.method))return _t(Et);const qt=(0,c.inject)(c.TransferState),nn=function fi(Et){const{params:_t,method:mt,responseType:qt,url:nn}=Et,Nn=function Vi(Et){let _t=0;for(const mt of Et)_t=Math.imul(31,_t)+mt.charCodeAt(0)<<0;return _t+=2147483648,_t.toString()}(mt+"."+qt+"."+nn+"?"+_t.keys().sort().map(wn=>`${wn}=${_t.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(Et),cn=qt.get(nn,null);if(cn){let sn=cn.body;switch(cn.responseType){case"arraybuffer":sn=(new TextEncoder).encode(cn.body).buffer;break;case"blob":sn=new Blob([cn.body])}return(0,d.of)(new G({body:sn,headers:new D(cn.headers),status:cn.status,statusText:cn.statusText,url:cn.url}))}return _t(Et).pipe((0,p.b)(sn=>{sn instanceof G&&qt.set(nn,{body:sn.body,headers:xi(sn.headers),status:sn.status,statusText:sn.statusText,url:sn.url||"",responseType:Et.responseType})}))}function xi(Et){const _t={};for(const mt of Et.keys()){const qt=Et.getAll(mt);null!==qt&&(_t[mt]=qt)}return _t}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:ct,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Et=(0,c.inject)(c.ApplicationRef),_t=(0,c.inject)(Sn);return()=>{Et.isStable.pipe((0,_.P)(mt=>mt)).toPromise().then(()=>{_t.isCacheActive=!1})}}}]}},5879:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ANIMATION_MODULE_TYPE:()=>qy,APP_BOOTSTRAP_LISTENER:()=>ah,APP_ID:()=>tm,APP_INITIALIZER:()=>a_,ApplicationInitStatus:()=>Gl,ApplicationModule:()=>lE,ApplicationRef:()=>Ia,Attribute:()=>Lh,COMPILER_OPTIONS:()=>d_,CSP_NONCE:()=>Jy,CUSTOM_ELEMENTS_SCHEMA:()=>Kh,ChangeDetectionStrategy:()=>xn,ChangeDetectorRef:()=>V_,Compiler:()=>Dx,CompilerFactory:()=>wx,Component:()=>mx,ComponentFactory:()=>ml,ComponentFactoryResolver:()=>ss,ComponentRef:()=>cm,ContentChild:()=>yb,ContentChildren:()=>bb,DEFAULT_CURRENCY_CODE:()=>Mx,DebugElement:()=>Ts,DebugEventListener:()=>Kx,DebugNode:()=>lh,DefaultIterableDiffer:()=>W_,DestroyRef:()=>Cu,Directive:()=>o_,ENVIRONMENT_INITIALIZER:()=>is,ElementRef:()=>ls,EmbeddedViewRef:()=>Wx,EnvironmentInjector:()=>Vo,ErrorHandler:()=>la,EventEmitter:()=>ho,Host:()=>Bh,HostBinding:()=>bx,HostListener:()=>yx,INJECTOR:()=>Vc,Inject:()=>Fh,InjectFlags:()=>ue,Injectable:()=>wv,InjectionToken:()=>zi,Injector:()=>Ao,Input:()=>gx,IterableDiffers:()=>fh,KeyValueDiffers:()=>mh,LOCALE_ID:()=>Wl,MissingTranslationStrategy:()=>l_,ModuleWithComponentFactories:()=>u_,NO_ERRORS_SCHEMA:()=>Yh,NgModule:()=>vx,NgModuleFactory:()=>H0,NgModuleRef:()=>wa,NgProbeToken:()=>Rx,NgZone:()=>Ir,Optional:()=>Gs,Output:()=>_x,PACKAGE_ROOT_URL:()=>Xy,PLATFORM_ID:()=>Zc,PLATFORM_INITIALIZER:()=>nm,Pipe:()=>px,PlatformRef:()=>sh,Query:()=>Ga,QueryList:()=>jl,Renderer2:()=>fv,RendererFactory2:()=>dm,RendererStyleFlags2:()=>Js,Sanitizer:()=>hm,SecurityContext:()=>Uo,Self:()=>Uh,SimpleChange:()=>Er,SkipSelf:()=>Ws,TRANSLATIONS:()=>xx,TRANSLATIONS_FORMAT:()=>Ex,TemplateRef:()=>Ds,Testability:()=>Ox,TestabilityRegistry:()=>M_,TransferState:()=>rs,Type:()=>Oh,VERSION:()=>mm,Version:()=>fm,ViewChild:()=>Cb,ViewChildren:()=>vb,ViewContainerRef:()=>zl,ViewEncapsulation:()=>Sn,ViewRef:()=>H_,asNativeElements:()=>Yx,assertInInjectionContext:()=>Sm,assertPlatform:()=>A_,booleanAttribute:()=>yE,computed:()=>en,createComponent:()=>AE,createEnvironmentInjector:()=>G0,createNgModule:()=>z0,createNgModuleRef:()=>bM,createPlatform:()=>T_,createPlatformFactory:()=>S_,defineInjectable:()=>Tt,destroyPlatform:()=>Fx,effect:()=>Zm,enableProdMode:()=>Hx,forwardRef:()=>D,getDebugNode:()=>Sa,getModuleFactory:()=>zx,getNgModuleById:()=>$x,getPlatform:()=>Kl,importProvidersFrom:()=>Qf,inject:()=>ut,isDevMode:()=>jx,isSignal:()=>bo,isStandalone:()=>jn,makeEnvironmentProviders:()=>jc,makeStateKey:()=>ev,mergeApplicationConfig:()=>kE,numberAttribute:()=>vE,platformCore:()=>sE,provideZoneChangeDetection:()=>U_,reflectComponentType:()=>LE,resolveForwardRef:()=>S,runInInjectionContext:()=>vv,setTestabilityGetter:()=>x_,signal:()=>nr,untracked:()=>Mr,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>rh,\u0275ComponentFactory:()=>ml,\u0275Console:()=>s_,\u0275DEFAULT_LOCALE_ID:()=>$o,\u0275ENABLED_SSR_FEATURES:()=>im,\u0275INJECTOR_SCOPE:()=>Gc,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>us,\u0275InitialRenderPendingTasks:()=>c_,\u0275LContext:()=>nf,\u0275LifecycleHooksFeature:()=>op,\u0275LocaleDataIndex:()=>Da,\u0275NG_COMP_DEF:()=>xi,\u0275NG_DIR_DEF:()=>fi,\u0275NG_ELEMENT_ID:()=>_t,\u0275NG_INJ_DEF:()=>Y,\u0275NG_MOD_DEF:()=>Yi,\u0275NG_PIPE_DEF:()=>Vi,\u0275NG_PROV_DEF:()=>oe,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>pl,\u0275NO_CHANGE:()=>gi,\u0275NgModuleFactory:()=>Vl,\u0275NoopNgZone:()=>__,\u0275ReflectionCapabilities:()=>Nh,\u0275Render3ComponentFactory:()=>fa,\u0275Render3ComponentRef:()=>rp,\u0275Render3NgModuleRef:()=>Bl,\u0275RuntimeError:()=>ee,\u0275TESTABILITY:()=>v_,\u0275TESTABILITY_GETTER:()=>C_,\u0275ViewRef:()=>ha,\u0275XSS_SECURITY_URL:()=>$,\u0275_sanitizeHtml:()=>Vf,\u0275_sanitizeUrl:()=>sl,\u0275allowSanitizationBypassAndThrow:()=>ra,\u0275annotateForHydration:()=>dE,\u0275bypassSanitizationTrustHtml:()=>Ty,\u0275bypassSanitizationTrustResourceUrl:()=>Ly,\u0275bypassSanitizationTrustScript:()=>Sy,\u0275bypassSanitizationTrustStyle:()=>Iy,\u0275bypassSanitizationTrustUrl:()=>Ay,\u0275clearResolutionOfComponentResourcesQueue:()=>$h,\u0275compileComponent:()=>Kg,\u0275compileDirective:()=>eh,\u0275compileNgModule:()=>Hg,\u0275compileNgModuleDefs:()=>zg,\u0275compileNgModuleFactory:()=>E_,\u0275compilePipe:()=>i_,\u0275convertToBitFlags:()=>Pt,\u0275createInjector:()=>cu,\u0275defaultIterableDiffers:()=>oE,\u0275defaultKeyValueDiffers:()=>aE,\u0275detectChanges:()=>Xm,\u0275devModeEqual:()=>fp,\u0275findLocaleData:()=>Td,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Vg,\u0275formatRuntimeError:()=>ie,\u0275getDebugNode:()=>Sa,\u0275getDirectives:()=>X0,\u0275getHostElement:()=>Bd,\u0275getInjectableDef:()=>Le,\u0275getLContext:()=>wr,\u0275getLocaleCurrencyCode:()=>MC,\u0275getLocalePluralCase:()=>f0,\u0275getSanitizationBypassType:()=>Of,\u0275getUnknownElementStrictMode:()=>Vb,\u0275getUnknownPropertyStrictMode:()=>Hb,\u0275global:()=>ge,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>ct,\u0275isNgModule:()=>Yd,\u0275isPromise:()=>zu,\u0275isSubscribable:()=>Dp,\u0275noSideEffects:()=>on,\u0275patchComponentDefWithScope:()=>qd,\u0275publishDefaultGlobalUtils:()=>Ix,\u0275publishGlobalUtil:()=>Wr,\u0275registerLocaleData:()=>CC,\u0275resetCompiledComponents:()=>nx,\u0275resetJitOptions:()=>qM,\u0275resolveComponentResources:()=>Hh,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Ub,\u0275setAlternateWeakRefImpl:()=>de,\u0275setClassMetadata:()=>J0,\u0275setCurrentInjector:()=>F,\u0275setDocument:()=>Cy,\u0275setLocaleId:()=>Id,\u0275setUnknownElementStrictMode:()=>Bb,\u0275setUnknownPropertyStrictMode:()=>jb,\u0275store:()=>vp,\u0275stringify:()=>l,\u0275transitiveScopesFor:()=>Go,\u0275unregisterLocaleData:()=>xC,\u0275unwrapSafeValue:()=>vo,\u0275withDomHydration:()=>bE,\u0275\u0275CopyDefinitionFeature:()=>sp,\u0275\u0275FactoryTarget:()=>Po,\u0275\u0275HostDirectivesFeature:()=>lp,\u0275\u0275InheritDefinitionFeature:()=>Mu,\u0275\u0275InputTransformsFeature:()=>hp,\u0275\u0275NgOnChangesFeature:()=>fr,\u0275\u0275ProvidersFeature:()=>j0,\u0275\u0275StandaloneFeature:()=>W0,\u0275\u0275advance:()=>Tm,\u0275\u0275attribute:()=>Eu,\u0275\u0275attributeInterpolate1:()=>Du,\u0275\u0275attributeInterpolate2:()=>wu,\u0275\u0275attributeInterpolate3:()=>Tu,\u0275\u0275attributeInterpolate4:()=>Iu,\u0275\u0275attributeInterpolate5:()=>Su,\u0275\u0275attributeInterpolate6:()=>Au,\u0275\u0275attributeInterpolate7:()=>Lu,\u0275\u0275attributeInterpolate8:()=>ku,\u0275\u0275attributeInterpolateV:()=>Ou,\u0275\u0275classMap:()=>Bp,\u0275\u0275classMapInterpolate1:()=>Yp,\u0275\u0275classMapInterpolate2:()=>Qp,\u0275\u0275classMapInterpolate3:()=>Zp,\u0275\u0275classMapInterpolate4:()=>Xp,\u0275\u0275classMapInterpolate5:()=>qp,\u0275\u0275classMapInterpolate6:()=>Jp,\u0275\u0275classMapInterpolate7:()=>e0,\u0275\u0275classMapInterpolate8:()=>t0,\u0275\u0275classMapInterpolateV:()=>n0,\u0275\u0275classProp:()=>od,\u0275\u0275contentQuery:()=>Og,\u0275\u0275defineComponent:()=>jt,\u0275\u0275defineDirective:()=>Wt,\u0275\u0275defineInjectable:()=>Bt,\u0275\u0275defineInjector:()=>kt,\u0275\u0275defineNgModule:()=>le,\u0275\u0275definePipe:()=>un,\u0275\u0275directiveInject:()=>ua,\u0275\u0275disableBindings:()=>Is,\u0275\u0275element:()=>ju,\u0275\u0275elementContainer:()=>Hu,\u0275\u0275elementContainerEnd:()=>Al,\u0275\u0275elementContainerStart:()=>Sl,\u0275\u0275elementEnd:()=>Il,\u0275\u0275elementStart:()=>Tl,\u0275\u0275enableBindings:()=>ec,\u0275\u0275getCurrentView:()=>Ep,\u0275\u0275getInheritedFactory:()=>Sh,\u0275\u0275hostProperty:()=>Dd,\u0275\u0275i18n:()=>N0,\u0275\u0275i18nApply:()=>U0,\u0275\u0275i18nAttributes:()=>F0,\u0275\u0275i18nEnd:()=>kd,\u0275\u0275i18nExp:()=>Od,\u0275\u0275i18nPostprocess:()=>B0,\u0275\u0275i18nStart:()=>Ld,\u0275\u0275inject:()=>K,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>ve,\u0275\u0275listener:()=>$u,\u0275\u0275loadQuery:()=>Rg,\u0275\u0275namespaceHTML:()=>_r,\u0275\u0275namespaceMathML:()=>$i,\u0275\u0275namespaceSVG:()=>Kn,\u0275\u0275nextContext:()=>Sp,\u0275\u0275ngDeclareClassMetadata:()=>ME,\u0275\u0275ngDeclareComponent:()=>xE,\u0275\u0275ngDeclareDirective:()=>CE,\u0275\u0275ngDeclareFactory:()=>EE,\u0275\u0275ngDeclareInjectable:()=>wE,\u0275\u0275ngDeclareInjector:()=>TE,\u0275\u0275ngDeclareNgModule:()=>IE,\u0275\u0275ngDeclarePipe:()=>SE,\u0275\u0275pipe:()=>pg,\u0275\u0275pipeBind1:()=>gg,\u0275\u0275pipeBind2:()=>_g,\u0275\u0275pipeBind3:()=>bg,\u0275\u0275pipeBind4:()=>yg,\u0275\u0275pipeBindV:()=>vg,\u0275\u0275projection:()=>Lp,\u0275\u0275projectionDef:()=>Ap,\u0275\u0275property:()=>Bu,\u0275\u0275propertyInterpolate:()=>Wu,\u0275\u0275propertyInterpolate1:()=>Ll,\u0275\u0275propertyInterpolate2:()=>Ku,\u0275\u0275propertyInterpolate3:()=>Yu,\u0275\u0275propertyInterpolate4:()=>Qu,\u0275\u0275propertyInterpolate5:()=>Zu,\u0275\u0275propertyInterpolate6:()=>Xu,\u0275\u0275propertyInterpolate7:()=>qu,\u0275\u0275propertyInterpolate8:()=>Ju,\u0275\u0275propertyInterpolateV:()=>ed,\u0275\u0275pureFunction0:()=>eg,\u0275\u0275pureFunction1:()=>tg,\u0275\u0275pureFunction2:()=>ng,\u0275\u0275pureFunction3:()=>ig,\u0275\u0275pureFunction4:()=>rg,\u0275\u0275pureFunction5:()=>og,\u0275\u0275pureFunction6:()=>ag,\u0275\u0275pureFunction7:()=>sg,\u0275\u0275pureFunction8:()=>lg,\u0275\u0275pureFunctionV:()=>cg,\u0275\u0275queryRefresh:()=>Lg,\u0275\u0275reference:()=>Cp,\u0275\u0275registerNgModuleType:()=>_c,\u0275\u0275resetView:()=>ka,\u0275\u0275resolveBody:()=>lu,\u0275\u0275resolveDocument:()=>ym,\u0275\u0275resolveWindow:()=>bm,\u0275\u0275restoreView:()=>La,\u0275\u0275sanitizeHtml:()=>jf,\u0275\u0275sanitizeResourceUrl:()=>Bc,\u0275\u0275sanitizeScript:()=>zf,\u0275\u0275sanitizeStyle:()=>Hf,\u0275\u0275sanitizeUrl:()=>Uc,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Wf,\u0275\u0275setComponentScope:()=>ke,\u0275\u0275setNgModuleScope:()=>Xe,\u0275\u0275styleMap:()=>Jr,\u0275\u0275styleMapInterpolate1:()=>r0,\u0275\u0275styleMapInterpolate2:()=>o0,\u0275\u0275styleMapInterpolate3:()=>a0,\u0275\u0275styleMapInterpolate4:()=>s0,\u0275\u0275styleMapInterpolate5:()=>l0,\u0275\u0275styleMapInterpolate6:()=>c0,\u0275\u0275styleMapInterpolate7:()=>u0,\u0275\u0275styleMapInterpolate8:()=>d0,\u0275\u0275styleMapInterpolateV:()=>h0,\u0275\u0275styleProp:()=>rd,\u0275\u0275stylePropInterpolate1:()=>gd,\u0275\u0275stylePropInterpolate2:()=>_d,\u0275\u0275stylePropInterpolate3:()=>bd,\u0275\u0275stylePropInterpolate4:()=>yd,\u0275\u0275stylePropInterpolate5:()=>vd,\u0275\u0275stylePropInterpolate6:()=>Cd,\u0275\u0275stylePropInterpolate7:()=>Md,\u0275\u0275stylePropInterpolate8:()=>xd,\u0275\u0275stylePropInterpolateV:()=>Ed,\u0275\u0275syntheticHostListener:()=>Gu,\u0275\u0275syntheticHostProperty:()=>wd,\u0275\u0275template:()=>_p,\u0275\u0275templateRefExtractor:()=>Ug,\u0275\u0275text:()=>Wp,\u0275\u0275textInterpolate:()=>sd,\u0275\u0275textInterpolate1:()=>Rl,\u0275\u0275textInterpolate2:()=>ld,\u0275\u0275textInterpolate3:()=>cd,\u0275\u0275textInterpolate4:()=>ud,\u0275\u0275textInterpolate5:()=>dd,\u0275\u0275textInterpolate6:()=>hd,\u0275\u0275textInterpolate7:()=>fd,\u0275\u0275textInterpolate8:()=>md,\u0275\u0275textInterpolateV:()=>pd,\u0275\u0275trustConstantHtml:()=>$f,\u0275\u0275trustConstantResourceUrl:()=>Gf,\u0275\u0275validateIframeAttribute:()=>Sf,\u0275\u0275viewQuery:()=>kg});var n=a(8645),c=a(7394),d=a(5619),g=a(5592),r=a(3019),h=a(2096),f=a(3020),u=a(4664),v=a(3997),b=a(1374);function p(e){for(let t in e)if(e[t]===p)return t;throw Error("Could not find renamed property on target object.")}function _(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function l(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(l).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function y(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const x=p({__forward_ref__:p});function D(e){return e.__forward_ref__=D,e.toString=function(){return l(this())},e}function S(e){return E(e)?e():e}function E(e){return"function"==typeof e&&e.hasOwnProperty(x)&&e.__forward_ref__===D}function I(e){return e&&!!e.\u0275providers}const $="https://g.co/ng/security#xss";class ee extends Error{constructor(t,i){super(ie(t,i)),this.code=t}}function ie(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function A(e){return"string"==typeof e?e:null==e?"":String(e)}function U(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():A(e)}function he(e,t){throw new ee(-201,!1)}function tt(e,t,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${t} <=Actual]`))}function Bt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Tt=Bt;function kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function ct(e){return null!==Le(e)}function ze(e,t){return e.hasOwnProperty(t)?e[t]:null}function N(e){return e&&(e.hasOwnProperty(Y)||e.hasOwnProperty(Q))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),Q=p({ngInjectorDef:p});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||{});let Te;function Ct(){return Te}function dt(e){const t=Te;return Te=e,t}function bt(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ue.Optional?null:void 0!==t?t:void he(l(e))}const ge=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),zt={},Ne="__NG_DI_FLAG__",$e="ngTempTokenPath",Ce=/\n/gm,_e="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ue.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?bt(e,void 0,t):Ye.get(e,t&ue.Optional?null:void 0,t)}function K(e,t=ue.Default){return(Ct()||V)(S(e),t)}function ve(e){throw new ee(202,!1)}function ut(e,t=ue.Default){return K(e,Pt(t))}function Pt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function qe(e){const t=[];for(let i=0;it){M=m-1;break}}}for(;mm?"":s[ft+1].toLowerCase();const $t=8&o?Ut:null;if($t&&-1!==qt($t,be,0)||2&o&&be!==Ut){if(mn(o))return!1;M=!0}}}}else{if(!M&&!mn(o)&&!mn(z))return!1;if(M&&mn(z))continue;M=!1,o=z|1&o}}return mn(o)||M}function mn(e){return 0==(1&e)}function Tn(e,t,i,o){if(null===t)return-1;let s=0;if(o||!i){let m=!1;for(;s-1)for(i++;i0?'="'+R+'"':"")+"]"}else 8&o?s+="."+M:4&o&&(s+=" "+M);else""!==s&&!mn(M)&&(t+=ri(m,s),s=""),o=M,m=m||!mn(o);i++}return""!==s&&(t+=ri(m,s)),t}function jt(e){return on(()=>{const t=bi(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===xn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Sn.Emulated,styles:e.styles||Mn,_:null,schemas:e.schemas||null,tView:null,id:""};Ti(i);const o=e.dependencies;return i.directiveDefs=Fi(o,!1),i.pipeDefs=Fi(o,!0),i.id=function fn(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const s of i)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function ke(e,t,i){const o=e.\u0275cmp;o.directiveDefs=Fi(t,!1),o.pipeDefs=Fi(i,!0)}function O(e){return gn(e)||pn(e)}function me(e){return null!==e}function le(e){return on(()=>({type:e.type,bootstrap:e.bootstrap||Mn,declarations:e.declarations||Mn,imports:e.imports||Mn,exports:e.exports||Mn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xe(e,t){return on(()=>{const i=Fn(e,!0);i.declarations=t.declarations||Mn,i.imports=t.imports||Mn,i.exports=t.exports||Mn})}function Ot(e,t){if(null==e)return _n;const i={};for(const o in e)if(e.hasOwnProperty(o)){let s=e[o],m=s;Array.isArray(s)&&(m=s[1],s=s[0]),i[s]=o,t&&(t[s]=m)}return i}function Wt(e){return on(()=>{const t=bi(e);return Ti(t),t})}function un(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function gn(e){return e[xi]||null}function pn(e){return e[fi]||null}function si(e){return e[Vi]||null}function jn(e){const t=gn(e)||pn(e)||si(e);return null!==t&&t.standalone}function Fn(e,t){const i=e[Yi]||null;if(!i&&!0===t)throw new Error(`Type ${l(e)} does not have '\u0275mod' property.`);return i}function bi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||_n,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Mn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ot(e.inputs,t),outputs:Ot(e.outputs)}}function Ti(e){e.features?.forEach(t=>t(e))}function Fi(e,t){if(!e)return null;const i=t?si:O;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(me)}const Gi=new Map,Cn=0,tn=1,En=2,ei=3,Ei=4,tr=5,Ai=6,ar=7,yi=8,Je=9,Rt=10,C=11,te=12,Pe=13,rt=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,pt=25,Ht=1,Yt=2,Jt=7,vn=9,Vn=10,On=11;function ui(e){return Array.isArray(e)&&"object"==typeof e[Ht]}function Mi(e){return Array.isArray(e)&&!0===e[Ht]}function qn(e){return 0!=(4&e.flags)}function ni(e){return e.componentOffset>-1}function oi(e){return 1==(1&e.flags)}function Ii(e){return!!e.template}function Zi(e){return 0!=(512&e[En])}function Vr(e){return 16==(16&e.type)}function or(e,t){return e.hasOwnProperty(Et)?e[Et]:null}const Cr=Symbol("SIGNAL");function bo(e){return"function"==typeof e&&void 0!==e[Cr]}function Rr(e,t,i={}){return t[Cr]=e,Object.assign(t,i)}function oo(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let T=ge.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function de(e){}let Fe=0,nt=null,It=!1;function Dt(e){const t=nt;return nt=e,t}class Qt{constructor(){this.id=Fe++,this.ref=function P(e){return new T(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,i]of this.producers){const o=i.producerNode.deref();if(null!=o&&i.atTrackingVersion===this.trackingVersion){if(o.producerPollStatus(i.seenValueVersion))return!0}else this.producers.delete(t),o?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=It;It=!0;try{for(const[i,o]of this.consumers){const s=o.consumerNode.deref();null!=s&&s.trackingVersion===o.atTrackingVersion?s.onConsumerDependencyMayHaveChanged():(this.consumers.delete(i),s?.producers.delete(this.id))}}finally{It=t}}producerAccessed(){if(It)throw new Error("");if(null===nt)return;let t=nt.producers.get(this.id);void 0===t?(t={consumerNode:nt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:nt.trackingVersion},nt.producers.set(this.id,t),this.consumers.set(nt.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=nt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==nt?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}function en(e,t){const i=new li(e,t?.equal??oo);return Rr(i,i.signal.bind(i))}const In=Symbol("UNSET"),Ln=Symbol("COMPUTING"),pi=Symbol("ERRORED");class li extends Qt{constructor(t,i){super(),this.computation=t,this.equal=i,this.value=In,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==In&&this.value!==Ln&&!this.consumerPollProducersForChange())return void(this.stale=!1);this.recomputeValue()}}recomputeValue(){if(this.value===Ln)throw new Error("Detected cycle in computations.");const t=this.value;this.value=Ln,this.trackingVersion++;const i=Dt(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Dt(i)}this.stale=!1,t!==In&&t!==pi&&o!==pi&&this.equal(t,o)?this.value=t:(this.value=o,this.valueVersion++)}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===pi)throw this.error;return this.value}}let ii=function Gn(){throw new Error};function Bi(){ii()}class sr extends Qt{constructor(t,i){super(),this.value=t,this.equal=i,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(t){this.producerUpdatesAllowed||Bi(),this.equal(this.value,t)||(this.value=t,this.valueVersion++,this.producerMayHaveChanged())}update(t){this.producerUpdatesAllowed||Bi(),this.set(t(this.value))}mutate(t){this.producerUpdatesAllowed||Bi(),t(this.value),this.valueVersion++,this.producerMayHaveChanged()}asReadonly(){return void 0===this.readonlySignal&&(this.readonlySignal=Rr(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}}function nr(e,t){const i=new sr(e,t?.equal??oo);return Rr(i,i.signal.bind(i),{set:i.set.bind(i),update:i.update.bind(i),mutate:i.mutate.bind(i),asReadonly:i.asReadonly.bind(i)})}function Mr(e){const t=Dt(null);try{return e()}finally{Dt(t)}}const rr=()=>{};class xr extends Qt{constructor(t,i,o){super(),this.watch=t,this.schedule=i,this.dirty=!1,this.cleanupFn=rr,this.registerOnCleanup=s=>{this.cleanupFn=s},this.consumerAllowSignalWrites=o}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Dt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Dt(t)}}cleanup(){this.cleanupFn()}}class Er{constructor(t,i,o){this.previousValue=t,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function fr(){return yo}function yo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lr),Yr}function Yr(){const e=ao(this),t=e?.current;if(t){const i=e.previous;if(i===_n)e.previous=t;else for(let o in t)i[o]=t[o];e.current=null,this.ngOnChanges(t)}}function Lr(e,t,i,o){const s=this.declaredInputs[i],m=ao(e)||function Bn(e,t){return e[kr]=t}(e,{previous:_n,current:null}),M=m.current||(m.current={}),R=m.previous,z=R[s];M[s]=new Er(z&&z.currentValue,t,R===_n),e[o]=t}fr.ngInherit=!0;const kr="__ngSimpleChanges__";function ao(e){return e[kr]||null}let Hn=null;const Qn=e=>{Hn=e},ci=function(e,t,i){Hn?.(e,t,i)},Xi="svg",mr="math";function di(e){for(;Array.isArray(e);)e=e[Cn];return e}function xe(e,t){return di(t[e])}function Z(e,t){return di(t[e.index])}function ht(e,t){return e.data[t]}function Gt(e,t){return e[t]}function Kt(e,t){const i=t[e];return ui(i)?i:i[Cn]}function Ci(e,t){return null==t?null:e[t]}function Jn(e){e[ji]=0}function Ji(e){1024&e[En]||(e[En]|=1024,er(e,1))}function Oi(e){1024&e[En]&&(e[En]&=-1025,er(e,-1))}function er(e,t){let i=e[ei];if(null===i)return;i[tr]+=t;let o=i;for(i=i[ei];null!==i&&(1===t&&1===o[tr]||-1===t&&0===o[tr]);)i[tr]+=t,o=i,i=i[ei]}function Pr(e,t){if(256==(256&e[En]))throw new ee(911,!1);null===e[Ui]&&(e[Ui]=[]),e[Ui].push(t)}const Zn={lFrame:j(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Aa(){return Zn.bindingsEnabled}function gr(){return null!==Zn.skipHydrationRootTNode}function ec(){Zn.bindingsEnabled=!0}function Is(){Zn.bindingsEnabled=!1}function dn(){return Zn.lFrame.lView}function Di(){return Zn.lFrame.tView}function La(e){return Zn.lFrame.contextLView=e,e[yi]}function ka(e){return Zn.lFrame.contextLView=null,e}function lr(){let e=Oa();for(;null!==e&&64===e.type;)e=e.parent;return e}function Oa(){return Zn.lFrame.currentTNode}function Eo(){const e=Zn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function zr(e,t){const i=Zn.lFrame;i.currentTNode=e,i.isParent=t}function Ra(){return Zn.lFrame.isParent}function Pa(){Zn.lFrame.isParent=!1}function hr(){const e=Zn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xr(){return Zn.lFrame.bindingIndex}function Ls(e){return Zn.lFrame.bindingIndex=e}function Do(){return Zn.lFrame.bindingIndex++}function qr(e){const t=Zn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function ks(e){Zn.lFrame.inI18n=e}function ic(e,t){const i=Zn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Ua(t)}function Ua(e){Zn.lFrame.currentDirectiveIndex=e}function Ba(e){const t=Zn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Os(){return Zn.lFrame.currentQueryIndex}function Va(e){Zn.lFrame.currentQueryIndex=e}function rc(e){const t=e[tn];return 2===t.type?t.declTNode:1===t.type?e[Ai]:null}function Rs(e,t,i){if(i&ue.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ue.Host||(s=rc(m),null===s||(m=m[rt],10&s.type))););if(null===s)return!1;t=s,e=m}const o=Zn.lFrame=k();return o.currentTNode=t,o.lView=e,!0}function ja(e){const t=k(),i=e[tn];Zn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function k(){const e=Zn.lFrame,t=null===e?null:e.child;return null===t?j(e):t}function j(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function w(){const e=Zn.lFrame;return Zn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const q=w;function Se(){const e=w();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 Vt(){return Zn.lFrame.selectedIndex}function hn(e){Zn.lFrame.selectedIndex=e}function An(){const e=Zn.lFrame;return ht(e.tView,e.selectedIndex)}function Kn(){Zn.lFrame.currentNamespace=Xi}function $i(){Zn.lFrame.currentNamespace=mr}function _r(){!function Ha(){Zn.lFrame.currentNamespace=null}()}function wo(){return Zn.lFrame.currentNamespace}let To=!0;function Io(){return To}function Fr(e){To=e}function Ps(e,t){for(let i=t.directiveStart,o=t.directiveEnd;i=o)break}else t[z]<0&&(e[ji]+=65536),(R>13>16&&(3&e[En])===t&&(e[En]+=8192,bh(R,m)):bh(R,m)}const Ko=-1;class za{constructor(t,i,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function yh(e){return e!==Ko}function Us(e){return 32767&e}function Bs(e,t){let i=function ub(e){return e>>16}(e),o=t;for(;i>0;)o=o[rt],i--;return o}let sc=!0;function Vs(e){const t=sc;return sc=e,t}const vh=255,Ch=5;let db=0;const so={};function js(e,t){const i=Mh(e,t);if(-1!==i)return i;const o=t[tn];o.firstCreatePass&&(e.injectorIndex=t.length,lc(o.data,e),lc(t,null),lc(o.blueprint,null));const s=cc(e,t),m=e.injectorIndex;if(yh(s)){const M=Us(s),R=Bs(s,t),z=R[tn].data;for(let be=0;be<8;be++)t[m+be]=R[M+be]|z[M+be]}return t[m+8]=s,m}function lc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,s=t;for(;null!==s;){if(o=Ah(s),null===o)return Ko;if(i++,s=s[rt],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return Ko}function uc(e,t,i){!function hb(e,t,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(_t)&&(o=i[_t]),null==o&&(o=i[_t]=db++);const s=o&vh;t.data[e+(s>>Ch)]|=1<=0?t&vh:gb:t}(i);if("function"==typeof m){if(!Rs(t,e,o))return o&ue.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ue.Optional)return M;he()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,be=o&ue.Host?t[Zt][Ai]:null;for((-1===R||o&ue.SkipSelf)&&(z=-1===R?cc(e,t):t[R+8],z!==Ko&&Ih(o,!1)?(M=t[tn],R=Us(z),t=Bs(z,t)):R=-1);-1!==R;){const Ge=t[tn];if(Th(m,R,Ge.data)){const ft=mb(R,t,i,M,o,be);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===be)&&Th(m,R,t)?(M=Ge,R=Us(z),t=Bs(z,t)):R=-1}}return s}function mb(e,t,i,o,s,m){const M=t[tn],R=M.data[e+8],Ge=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ue.Host&&m===R);return null!==Ge?Ro(t,M,Ge,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,Ge=m>>20,Ut=s?R+Ge:e.directiveEnd;for(let $t=o?R:R+Ge;$t=z&&rn.type===i)return $t}if(s){const $t=M[z];if($t&&Ii($t)&&$t.type===i)return z}return null}function Ro(e,t,i,o){let s=e[i];const m=t.data;if(function sb(e){return e instanceof za}(s)){const M=s;M.resolving&&function Me(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ee(-200,`Circular dependency in DI detected for ${e}${i}`)}(U(m[i]));const R=Vs(M.canSeeViewProviders);M.resolving=!0;const z=M.injectImpl?dt(M.injectImpl):null;Rs(e,o,ue.Default);try{s=e[i]=M.factory(void 0,m,e,o),t.firstCreatePass&&i>=o.directiveStart&&function ob(e,t,i){const{ngOnChanges:o,ngOnInit:s,ngDoCheck:m}=t.type.prototype;if(o){const M=yo(t);(i.preOrderHooks??=[]).push(e,M),(i.preOrderCheckHooks??=[]).push(e,M)}s&&(i.preOrderHooks??=[]).push(0-e,s),m&&((i.preOrderHooks??=[]).push(e,m),(i.preOrderCheckHooks??=[]).push(e,m))}(i,m[i],t)}finally{null!==z&&dt(z),Vs(R),M.resolving=!1,q()}}return s}function Th(e,t,i){return!!(i[t+(e>>Ch)]&1<{const t=e.prototype.constructor,i=t[Et]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[Et]||dc(s);if(m&&m!==i)return m;s=Object.getPrototypeOf(s)}return m=>new m})}function dc(e){return E(e)?()=>{const t=dc(S(e));return t&&t()}:or(e)}function Ah(e){const t=e[tn],i=t.type;return 2===i?t.declTNode:1===i?e[Ai]:null}function hc(e){return function fb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const o=i.length;let s=0;for(;s{const m=fc(t);function M(...R){if(this instanceof M)return m.call(this,...R),this;const z=new M(...R);return function(Ge){return s&&s(Ge,...R),(Ge.hasOwnProperty(Qo)?Ge[Qo]:Object.defineProperty(Ge,Qo,{value:[]})[Qo]).push(z),o&&o(Ge),Ge}}return i&&(M.prototype=Object.create(i.prototype)),M.prototype.ngMetadataName=e,M.annotationCls=M,M})}function fc(e){return function(...i){if(e){const o=e(...i);for(const s in o)this[s]=o[s]}}}function qo(e,t,i){return on(()=>{const o=fc(t);function s(...m){if(this instanceof s)return o.apply(this,m),this;const M=new s(...m);return R.annotation=M,R;function R(z,be,Ge){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=Ge;)ft.push(null);return(ft[Ge]=ft[Ge]||[]).push(M),z}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function So(e,t,i,o){return on(()=>{const s=fc(t);function m(...M){if(this instanceof m)return s.apply(this,M),this;const R=new m(...M);return function z(be,Ge){if(void 0===be)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=be.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[Ge]=Ut.hasOwnProperty(Ge)&&Ut[Ge]||[],Ut[Ge].unshift(R),o&&o(be,Ge,...M)}}return i&&(m.prototype=Object.create(i.prototype)),m.prototype.ngMetadataName=e,m.annotationCls=m,m})}const Lh=qo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>hc(e)}));class Ga{}const bb=So("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),Ga),yb=So("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Ga),vb=So("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),Ga),Cb=So("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Ga);var Po=function(e){return e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule",e}(Po||{});function cr(e){const t=ge.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Oh=Function;function Wa(e){return"function"==typeof e}function $r(e){return e.flat(Number.POSITIVE_INFINITY)}function Ka(e,t){e.forEach(i=>Array.isArray(i)?Ka(i,t):t(i))}function Rh(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ya(e,t){const i=[];for(let o=0;o=0?e[1|o]=i:(o=~o,function wb(e,t,i,o){let s=e.length;if(s==t)e.push(i,o);else if(1===s)e.push(o,e[0]),e[0]=i;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=i,e[t+1]=o}}(e,o,t,i)),o}function mc(e,t){const i=Jo(e,t);if(i>=0)return e[1|i]}function Jo(e,t){return function Ph(e,t,i){let o=0,s=e.length>>i;for(;s!==o;){const m=o+(s-o>>1),M=e[m<t?s=m:o=m+1}return~(s<new t(...i)}_zipTypesAndAnnotations(t,i){let o;o=Ya(typeof t>"u"?i.length:t.length);for(let s=0;s"u"?[]:t[s]&&t[s]!=Object?[t[s]]:[],i&&null!=i[s]&&(o[s]=o[s].concat(i[s]));return o}_ownParameters(t,i){if(function Lb(e){return Tb.test(e)||Ab.test(e)||Ib.test(e)&&!Sb.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const s=t.ctorParameters;if(s&&s!==i.ctorParameters){const R="function"==typeof s?s():s,z=R.map(Ge=>Ge&&Ge.type),be=R.map(Ge=>Ge&&pc(Ge.decorators));return this._zipTypesAndAnnotations(z,be)}const m=t.hasOwnProperty(Zo)&&t[Zo],M=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return M||m?this._zipTypesAndAnnotations(M,m):Ya(t.length)}parameters(t){if(!Wa(t))return[];const i=$s(t);let o=this._ownParameters(t,i);return!o&&i!==Object&&(o=this.parameters(i)),o||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let o=t.annotations;return"function"==typeof o&&o.annotations&&(o=o.annotations),o}return t.decorators&&t.decorators!==i.decorators?pc(t.decorators):t.hasOwnProperty(Qo)?t[Qo]:null}annotations(t){if(!Wa(t))return[];const i=$s(t),o=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(o)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let o=t.propMetadata;return"function"==typeof o&&o.propMetadata&&(o=o.propMetadata),o}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const o=t.propDecorators,s={};return Object.keys(o).forEach(m=>{s[m]=pc(o[m])}),s}return t.hasOwnProperty(Xo)?t[Xo]:null}propMetadata(t){if(!Wa(t))return{};const i=$s(t),o={};if(i!==Object){const m=this.propMetadata(i);Object.keys(m).forEach(M=>{o[M]=m[M]})}const s=this._ownPropMetadata(t,i);return s&&Object.keys(s).forEach(m=>{const M=[];o.hasOwnProperty(m)&&M.push(...o[m]),M.push(...s[m]),o[m]=M}),o}ownPropMetadata(t){return Wa(t)&&this._ownPropMetadata(t,$s(t))||{}}hasLifecycleHook(t,i){return t instanceof Oh&&i in t.prototype}}function pc(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function $s(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Fh=et(qo("Inject",e=>({token:e})),-1),Gs=et(qo("Optional"),8),Uh=et(qo("Self"),2),Ws=et(qo("SkipSelf"),4),Bh=et(qo("Host"),1);let Vh=null;function gc(){return Vh=Vh||new Nh}function Ks(e){return jh(gc().parameters(e))}function jh(e){return e.map(t=>function kb(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i{const M=[];s.templateUrl&&M.push(o(s.templateUrl).then(ft=>{s.template=ft}));const R=s.styleUrls,z=s.styles||(s.styles=[]),be=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then($t=>{z[be+Ut]=$t,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const Ge=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push(Ge)}),$h(),Promise.all(t).then(()=>{})}let ea=new Map;const Qa=new Set;function zh(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function $h(){const e=ea;return ea=new Map,e}function Pb(e){return"string"==typeof e?e:e.text()}const Ys=new Map;let Gh=!0;function _c(e,t){(function Fb(e,t,i){if(t&&t!==i&&Gh)throw new Error(`Duplicate module registered for ${e} - ${l(t)} vs ${l(t.name)}`)})(t,Ys.get(t)||null,e),Ys.set(t,e)}function Wh(e){return Ys.get(e)}function Ub(e){Gh=!e}const Kh={name:"custom-elements"},Yh={name:"no-errors-schema"};let bc=!1;function Bb(e){bc=e}function Vb(){return bc}let yc=!1;function jb(e){yc=e}function Hb(){return yc}const ta="ngSkipHydration";function qh(e){const t=ta.toLowerCase(),i=e.mergedAttrs;if(null===i)return!1;for(let o=0;o|^->||--!>|)/,Wb="\u200b$1\u200b";const vc=new Map;let Kb=0;function tf(e){return vc.get(e)||null}class nf{get lView(){return tf(this.lViewId)}constructor(t,i,o){this.lViewId=t,this.nodeIndex=i,this.native=o}}function wr(e){let t=Za(e);if(t){if(ui(t)){const i=t;let o,s,m;if(sf(e)){if(o=cf(i,e),-1==o)throw new Error("The provided component was not found in the application");s=e}else if(function Xb(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(o=function Jb(e,t){let i=e[tn].firstChild;for(;i;){const s=i.directiveEnd;for(let m=i.directiveStart;m=0){const R=di(m[M]),z=Cc(m,M,R);br(R,z),t=z;break}}}}return t||null}function Cc(e,t,i){return new nf(e[Li],t,i)}function rf(e){let i,t=Za(e);if(ui(t)){const o=t,s=cf(o,e);i=Kt(s,o);const m=Cc(o,s,i[Cn]);m.component=e,br(e,m),br(m.native,m)}else i=Kt(t.nodeIndex,t.lView);return i}const Mc="__ngContext__";function br(e,t){ui(t)?(e[Mc]=t[Li],function Qb(e){vc.set(e[Li],e)}(t)):e[Mc]=t}function Za(e){const t=e[Mc];return"number"==typeof t?tf(t):t||null}function af(e){const t=Za(e);return t?ui(t)?t:t.lView:null}function sf(e){return e&&e.constructor&&e.constructor.\u0275cmp}function lf(e,t){const i=e[tn];for(let o=pt;ot.replace(Gb,Wb))}(t))}function tl(e,t,i){return e.createElement(t,i)}function pf(e,t){const i=e[vn],o=i.indexOf(t);Oi(t),i.splice(o,1)}function wc(e,t){if(e.length<=On)return;const i=On+t,o=e[i];if(o){const s=o[Pn];null!==s&&s!==e&&pf(s,o),t>0&&(e[i-1][Ei]=o[Ei]);const m=zs(e,On+t);!function oy(e,t){Ja(e,t,t[C],2,null,null),t[Cn]=null,t[Ai]=null}(o[tn],o);const M=m[Pi];null!==M&&M.detachView(m[tn]),o[ei]=null,o[Ei]=null,o[En]&=-129}return o}function gf(e,t){if(!(256&t[En])){const i=t[C];t[wt]?.destroy(),t[vt]?.destroy(),i.destroyNode&&Ja(e,t,i,3,null,null),function ly(e){let t=e[te];if(!t)return Tc(e[tn],e);for(;t;){let i=null;if(ui(t))i=t[te];else{const o=t[On];o&&(i=o)}if(!i){for(;t&&!t[Ei]&&t!==e;)ui(t)&&Tc(t[tn],t),t=t[ei];null===t&&(t=e),ui(t)&&Tc(t[tn],t),i=t&&t[Ei]}t=i}}(t)}}function Tc(e,t){if(!(256&t[En])){t[En]&=-129,t[En]|=256,function hy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[M]():o[-M].unsubscribe(),m+=2}else i[m].call(o[i[m+1]]);null!==o&&(t[ar]=null);const s=t[Ui];if(null!==s){t[Ui]=null;for(let m=0;m-1){const{encapsulation:m}=e.data[o.directiveStart+s];if(m===Sn.None||m===Sn.Emulated)return null}return Z(o,i)}}function No(e,t,i,o,s){e.insertBefore(t,i,o,s)}function bf(e,t,i){e.appendChild(t,i)}function yf(e,t,i,o,s){null!==o?No(e,t,i,o,s):bf(e,t,i)}function nl(e,t){return e.parentNode(t)}function vf(e,t,i){return Mf(e,t,i)}function Cf(e,t,i){return 40&e.type?Z(e,i):null}let Sc,ol,Oc,al,Mf=Cf;function xf(e,t){Mf=e,Sc=t}function il(e,t,i,o){const s=Ic(e,o,t),m=t[C],R=vf(o.parent||t[Ai],o,t);if(null!=s)if(Array.isArray(i))for(let z=0;ze,createScript:e=>e,createScriptURL:e=>e})}catch{}return ol}function ia(e){return kc()?.createHTML(e)||e}function Sf(e,t,i){const o=dn(),s=An(),m=Z(s,o);if(2===s.type&&"iframe"===t.toLowerCase()){const M=m;throw M.src="",M.srcdoc=ia(""),rl(o[C],M),new ee(-910,!1)}return e}function Cy(e){Oc=e}function es(){if(void 0!==Oc)return Oc;if(typeof document<"u")return document;throw new ee(210,!1)}function Rc(){if(void 0===al&&(al=null,ge.trustedTypes))try{al=ge.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return al}function Af(e){return Rc()?.createHTML(e)||e}function Lf(e){return Rc()?.createScript(e)||e}function kf(e){return Rc()?.createScriptURL(e)||e}class Fo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$})`}}class My extends Fo{getTypeName(){return"HTML"}}class xy extends Fo{getTypeName(){return"Style"}}class Ey extends Fo{getTypeName(){return"Script"}}class Dy extends Fo{getTypeName(){return"URL"}}class wy extends Fo{getTypeName(){return"ResourceURL"}}function vo(e){return e instanceof Fo?e.changingThisBreaksApplicationSecurity:e}function ra(e,t){const i=Of(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${$})`)}return i===t}function Of(e){return e instanceof Fo&&e.getTypeName()||null}function Ty(e){return new My(e)}function Iy(e){return new xy(e)}function Sy(e){return new Ey(e)}function Ay(e){return new Dy(e)}function Ly(e){return new wy(e)}function Rf(e){const t=new Oy(e);return function Ry(){try{return!!(new window.DOMParser).parseFromString(ia(""),"text/html")}catch{return!1}}()?new ky(t):t}class ky{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(ia(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class Oy{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=ia(t),i}}const Py=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sl(e){return(e=String(e)).match(Py)?e:"unsafe:"+e}function Co(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function ts(...e){const t={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(t[o]=!0);return t}const Pf=Co("area,br,col,hr,img,wbr"),Nf=Co("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ff=Co("rp,rt"),Pc=ts(Pf,ts(Nf,Co("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")),ts(Ff,Co("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")),ts(Ff,Nf)),Nc=Co("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Uf=ts(Nc,Co("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"),Co("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")),Ny=Co("script,style,template");class Fy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let s=this.checkClobberedElement(i,i.nextSibling);if(s){i=s;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Pc.hasOwnProperty(i))return this.sanitizedSomething=!0,!Ny.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=t.attributes;for(let s=0;s"),!0}endElement(t){const i=t.nodeName.toLowerCase();Pc.hasOwnProperty(i)&&!Pf.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(Bf(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const Uy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,By=/([^\#-~ |!])/g;function Bf(e){return e.replace(/&/g,"&").replace(Uy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(By,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ll;function Vf(e,t){let i=null;try{ll=ll||Rf(e);let o=t?String(t):"";i=ll.getInertBodyElement(o);let s=5,m=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=m,m=i.innerHTML,i=ll.getInertBodyElement(o)}while(o!==m);return ia((new Fy).sanitizeChildren(Fc(i)||i))}finally{if(i){const o=Fc(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Fc(e){return"content"in e&&function Vy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Uo=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}(Uo||{});function jf(e){const t=ns();return t?Af(t.sanitize(Uo.HTML,e)||""):ra(e,"HTML")?Af(vo(e)):Vf(es(),A(e))}function Hf(e){const t=ns();return t?t.sanitize(Uo.STYLE,e)||"":ra(e,"Style")?vo(e):A(e)}function Uc(e){const t=ns();return t?t.sanitize(Uo.URL,e)||"":ra(e,"URL")?vo(e):sl(A(e))}function Bc(e){const t=ns();if(t)return kf(t.sanitize(Uo.RESOURCE_URL,e)||"");if(ra(e,"ResourceURL"))return kf(vo(e));throw new ee(904,!1)}function zf(e){const t=ns();if(t)return Lf(t.sanitize(Uo.SCRIPT,e)||"");if(ra(e,"Script"))return Lf(vo(e));throw new ee(905,!1)}function $f(e){return ia(e[0])}function Gf(e){return function vy(e){return kc()?.createScriptURL(e)||e}(e[0])}function Wf(e,t,i){return function jy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bc:Uc}(t,i)(e)}function ns(){const e=dn();return e&&e[Rt].sanitizer}class zi{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Bt({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const is=new zi("ENVIRONMENT_INITIALIZER"),Vc=new zi("INJECTOR",-1),Kf=new zi("INJECTOR_DEF_TYPES");class Yf{get(t,i=zt){if(i===zt){const o=new Error(`NullInjectorError: No provider for ${l(t)}!`);throw o.name="NullInjectorError",o}return i}}function jc(e){return{\u0275providers:e}}function Qf(...e){return{\u0275providers:Zf(0,e),\u0275fromNgModule:!0}}function Zf(e,...t){const i=[],o=new Set;let s;return Ka(t,m=>{const M=m;Hc(M,i,[],o)&&(s||=[],s.push(M))}),void 0!==s&&Xf(s,i),i}function Xf(e,t){for(let i=0;i{t.push(m)})}}function Hc(e,t,i,o){if(!(e=S(e)))return!1;let s=null,m=N(e);const M=!m&&gn(e);if(m||M){if(M&&!M.standalone)return!1;s=e}else{const z=e.ngModule;if(m=N(z),!m)return!1;s=z}const R=o.has(s);if(M){if(R)return!1;if(o.add(s),M.dependencies){const z="function"==typeof M.dependencies?M.dependencies():M.dependencies;for(const be of z)Hc(be,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let be;o.add(s);try{Ka(m.imports,Ge=>{Hc(Ge,t,i,o)&&(be||=[],be.push(Ge))})}finally{}void 0!==be&&Xf(be,t)}if(!R){const be=or(s)||(()=>new s);t.push({provide:s,useFactory:be,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>K(s),multi:!0})}const z=m.providers;null==z||R||zc(z,Ge=>{t.push(Ge)})}}return s!==e&&void 0!==e.providers}function zc(e,t){for(let i of e)I(i)&&(i=i.\u0275providers),Array.isArray(i)?zc(i,t):t(i)}const Hy=p({provide:String,useValue:p});function $c(e){return null!==e&&"object"==typeof e&&Hy in e}function Bo(e){return"function"==typeof e}const Gc=new zi("Set Injector scope."),cl={},$y={};let Wc;function ul(){return void 0===Wc&&(Wc=new Yf),Wc}class Vo{}class Kc extends Vo{get destroyed(){return this._destroyed}constructor(t,i,o,s){super(),this.parent=i,this.source=o,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Qc(t,M=>this.processProvider(M)),this.records.set(Vc,oa(void 0,this)),s.has("environment")&&this.records.set(Vo,oa(void 0,this));const m=this.records.get(Gc);null!=m&&"string"==typeof m.value&&this.scopes.add(m.value),this.injectorDefTypes=new Set(this.get(Kf.multi,Mn,ue.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=F(this),o=dt(void 0);try{return t()}finally{F(i),dt(o)}}get(t,i=zt,o=ue.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(mt))return t[mt](this);o=Pt(o);const s=F(this),m=dt(void 0);try{if(!(o&ue.SkipSelf)){let R=this.records.get(t);if(void 0===R){const z=function Qy(e){return"function"==typeof e||"object"==typeof e&&e instanceof zi}(t)&&Le(t);R=z&&this.injectableDefInScope(z)?oa(Yc(t),cl):null,this.records.set(t,R)}if(null!=R)return this.hydrate(t,R)}return(o&ue.Self?ul():this.parent).get(t,i=o&ue.Optional&&i===zt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[$e]=M[$e]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[$e];throw t[_e]&&s.unshift(t[_e]),e.message=function Lt(e,t,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=l(t);if(Array.isArray(t))s=t.map(l).join(" -> ");else if("object"==typeof t){let m=[];for(let M in t)if(t.hasOwnProperty(M)){let R=t[M];m.push(M+":"+("string"==typeof R?JSON.stringify(R):l(R)))}s=`{${m.join(", ")}}`}return`${i}${o?"("+o+")":""}[${s}]: ${e.replace(Ce,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[$e]=null,e}(M,t,"R3InjectorError",this.source)}throw M}finally{dt(m),F(s)}}resolveInjectorInitializers(){const t=F(this),i=dt(void 0);try{const o=this.get(is.multi,Mn,ue.Self);for(const s of o)s()}finally{F(t),dt(i)}}toString(){const t=[],i=this.records;for(const o of i.keys())t.push(l(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processProvider(t){let i=Bo(t=S(t))?t:S(t&&t.provide);const o=function Wy(e){return $c(e)?oa(void 0,e.useValue):oa(em(e),cl)}(t);if(Bo(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=oa(void 0,cl,!0),s.factory=()=>qe(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,i){return i.value===cl&&(i.value=$y,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Yy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=S(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Yc(e){const t=Le(e),i=null!==t?t.factory:or(e);if(null!==i)return i;if(e instanceof zi)throw new ee(204,!1);if(e instanceof Function)return function Gy(e){const t=e.length;if(t>0)throw Ya(t,"?"),new ee(204,!1);const i=function at(e){return e&&(e[oe]||e[ne])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new ee(204,!1)}function em(e,t,i){let o;if(Bo(e)){const s=S(e);return or(s)||Yc(s)}if($c(e))o=()=>S(e.useValue);else if(function Jf(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...qe(e.deps||[]));else if(function qf(e){return!(!e||!e.useExisting)}(e))o=()=>K(S(e.useExisting));else{const s=S(e&&(e.useClass||e.provide));if(!function Ky(e){return!!e.deps}(e))return or(s)||Yc(s);o=()=>new s(...qe(e.deps))}return o}function oa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Qc(e,t){for(const i of e)Array.isArray(i)?Qc(i,t):i&&I(i)?Qc(i.\u0275providers,t):t(i)}const tm=new zi("AppId",{providedIn:"root",factory:()=>Zy}),Zy="ng",nm=new zi("Platform Initializer"),Zc=new zi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Xy=new zi("Application Packages Root URL"),qy=new zi("AnimationModuleType"),Jy=new zi("CSP nonce",{providedIn:"root",factory:()=>es().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),im=new zi("",{providedIn:"root",factory:()=>new Set});function ev(e){return e}function tv(){const e=new rs;return"browser"===ut(Zc)&&(e.store=function nv(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}return{}}(es(),ut(tm))),e}let rs=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(i,o){return void 0!==this.store[i]?this.store[i]:o}set(i,o){this.store[i]=o}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,o){this.onSerializeCallbacks[i]=o}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function iv(e,t){const i=e.getAttribute(iu);if(null==i)return null;let o={};if(""!==i){const m=t.get(rs,null,{optional:!0});null!==m&&(o=m.get(nu,[])[Number(i)])}const s={data:o,firstChild:e.firstChild??null};return e.removeAttribute(iu),s}function am(e,t){return om(e,t)}function sm(e){let t=e._lView;return 2===t[tn].type?null:(Zi(t)&&(t=t[pt]),Mi(t)&&(t=t[Cn]),t)}function ru(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function ou(e,t){return e.segmentHeads?.[t]??null}function lm(e,t){return e.data[os]?.[t]??null}function au(e,t){const i=lm(e,t)??[];let o=0;for(let s of i)o+=s[as]*(s[dl]??1);return o}function fl(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[hl];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class cm{}class ml{}class uv{resolveComponentFactory(t){throw function cv(e){const t=Error(`No component factory found for ${l(e)}.`);return t.ngComponent=e,t}(t)}}let ss=(()=>{class e{}return e.NULL=new uv,e})();function dv(){return sa(lr(),dn())}function sa(e,t){return new ls(Z(e,t))}let ls=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=dv,e})();function hv(e){return e instanceof ls?e.nativeElement:e}class dm{}let fv=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function mv(){const e=dn(),i=Kt(lr().index,e);return(ui(i)?i:e)[C]}(),e})(),hm=(()=>{class e{}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:()=>null}),e})();class fm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mm=new fm("16.1.7"),pl={};function cs(e){for(;e;){e[En]|=64;const t=Xa(e);if(Zi(e)&&!t)return e;e=t}return null}function su(e){return e.ngOriginalError}class la{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&su(t);for(;i&&su(i);)i=su(i);return i||null}}const us=new zi(""),_m=new zi("",{providedIn:"root",factory:()=>!1});function bm(e){return e.ownerDocument.defaultView}function ym(e){return e.ownerDocument}function lu(e){return e.ownerDocument.body}function Mo(e){return e instanceof Function?e():e}class xm extends Qt{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){cs(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,i,o){const s=Dt(this);this.trackingVersion++;try{t(i,o)}finally{Dt(s)}}destroy(){this.trackingVersion++}}let gl=null;function Em(){return gl??=new xm,gl}function Dm(e,t){return e[t]??Em()}function wm(e,t){const i=Em();i.hasReadASignal&&(e[t]=gl,i.lView=e,gl=new xm)}const gi={};function Tm(e){Im(Di(),dn(),Vt()+e,!1)}function Im(e,t,i,o){if(!o)if(3==(3&t[En])){const m=e.preOrderCheckHooks;null!==m&&Ns(t,m,i)}else{const m=e.preOrderHooks;null!==m&&Fs(t,m,0,i)}hn(i)}function vv(e,t){e instanceof Kc&&e.assertNotDestroyed();const i=F(e),o=dt(void 0);try{return t()}finally{F(i),dt(o)}}function Sm(e){if(!Ct()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:kt,\u0275\u0275inject:K,\u0275\u0275invalidFactoryDep:ve,resolveForwardRef:S};const Mv=p({provide:String,useValue:p});function Lm(e){return void 0!==e.useClass}function km(e){return void 0!==e.useFactory}const wv=$a("Injectable",void 0,void 0,void 0,(e,t)=>function Cv(e,t){let i=null,o=null;e.hasOwnProperty(oe)||Object.defineProperty(e,oe,{get:()=>(null===i&&(i=cr().compileInjectable(Am,`ng:///${e.name}/\u0275prov.js`,function Dv(e,t){const i=t||{providedIn:null},o={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Lm(i)||km(i))&&void 0!==i.deps&&(o.deps=jh(i.deps)),Lm(i)?o.useClass=i.useClass:function xv(e){return Mv in e}(i)?o.useValue=i.useValue:km(i)?o.useFactory=i.useFactory:function Ev(e){return void 0!==e.useExisting}(i)&&(o.useExisting=i.useExisting),o}(e,t))),i)}),e.hasOwnProperty(Et)||Object.defineProperty(e,Et,{get:()=>{if(null===o){const s=cr();o=s.compileFactory(Am,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Ks(e),target:s.FactoryTarget.Injectable})}return o},configurable:!0})}(e,t));function cu(e,t=null,i=null,o){const s=Om(e,t,i,o);return s.resolveInjectorInitializers(),s}function Om(e,t=null,i=null,o,s=new Set){const m=[i||Mn,Qf(e)];return o=o||("object"==typeof e?void 0:l(e)),new Kc(m,t||ul(),o||null,s)}let Ao=(()=>{class e{static create(i,o){if(Array.isArray(i))return cu({name:""},o,i,"");{const s=i.name??"";return cu({name:s},i.parent,i.providers,s)}}}return e.THROW_IF_NOT_FOUND=zt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>K(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ue.Default){const i=dn();return null===i?K(e,t):Dh(lr(),i,S(e),t)}function Rm(){throw new Error("invalid")}function _l(e,t,i,o,s,m,M,R,z,be,Ge){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==be||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[rt]=e,ft[yi]=i,ft[Rt]=M||e&&e[Rt],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=Ge,ft[Qi]=be,ft[Zt]=2==t.type?e[Zt]:ft,ft}function da(e,t,i,o,s){let m=e.data[t];if(null===m)m=uu(e,t,i,o,s),function nc(){return Zn.lFrame.inI18n}()&&(m.flags|=32);else if(64&m.type){m.type=i,m.value=o,m.attrs=s;const M=Eo();m.injectorIndex=null===M?-1:M.injectorIndex}return zr(m,!0),m}function uu(e,t,i,o,s){const m=Oa(),M=Ra(),z=e.data[t]=function Rv(e,t,i,o,s,m){let M=t?t.injectorIndex:-1,R=0;return gr()&&(R|=128),{type:i,index:o,insertBeforeIndex:null,injectorIndex:M,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:R,providerIndexes:0,value:s,attrs:m,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,M?m:m&&m.parent,i,t,o,s);return null===e.firstChild&&(e.firstChild=z),null!==m&&(M?null==m.child&&null!==z.parent&&(m.child=z):null===m.next&&(m.next=z,z.prev=m)),z}function ds(e,t,i,o){if(0===i)return-1;const s=t.length;for(let m=0;mpt&&Im(e,t,pt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const be=Dt(null);try{i(o,s)}finally{Dt(be)}}}finally{R&&null===t[wt]&&wm(t,wt),hn(M),ci(R?3:1,s)}}function du(e,t,i){if(qn(t)){const o=Dt(null);try{const m=t.directiveEnd;for(let M=t.directiveStart;Mnull;function Lv(e){Jh(e)?Df(e):function av(e){const t=es(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(m){const M=function ov(e){return e.textContent?.replace(/\s/gm,"")}(m);return"ngetn"===M||"ngtns"===M?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let o;const s=[];for(;o=i.nextNode();)s.push(o);for(const m of s)"ngetn"===m.textContent?m.replaceWith(t.createTextNode("")):m.remove()}(e)}function Um(e,t,i,o){for(let s in e)if(e.hasOwnProperty(s)){i=null===i?{}:i;const m=e[s];null===o?Bm(i,t,s,m):o.hasOwnProperty(s)&&Bm(i,t,o[s],m)}return i}function Bm(e,t,i,o){e.hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}function Br(e,t,i,o,s,m,M,R){const z=Z(t,i);let Ge,be=t.inputs;!R&&null!=be&&(Ge=be[o])?(yu(e,i,Ge,o,s),ni(t)&&function Fv(e,t){const i=Kt(t,e);16&i[En]||(i[En]|=64)}(i,t.index)):3&t.type&&(o=function Nv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),s=null!=M?M(s,t.value||"",o):s,m.setProperty(z,o,s))}function pu(e,t,i,o){if(Aa()){const s=null===o?null:{"":-1},m=function zv(e,t){const i=e.directiveRegistry;let o=null,s=null;if(i)for(let m=0;m0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(M)!=R&&M.push(R),M.push(i,o,m)}}(e,t,o,ds(e,i,s.hostVars,gi),s)}function lo(e,t,i,o,s,m){const M=Z(e,t);_u(t[C],M,m,e.value,i,o,s)}function _u(e,t,i,o,s,m,M){if(null==m)e.removeAttribute(t,s,i);else{const R=null==M?A(m):M(m,o||"",s);e.setAttribute(t,s,R,i)}}function Qv(e,t,i,o,s,m){const M=m[t];if(null!==M)for(let R=0;R{class e{}return e.__NG_ELEMENT_ID__=t1,e.__NG_ENV_ID__=t=>t,e})();class e1 extends Cu{constructor(t){super(),this._lView=t}onDestroy(t){return Pr(this._lView,t),()=>function Dr(e,t){if(null===e[Ui])return;const i=e[Ui].indexOf(t);-1!==i&&e[Ui].splice(i,1)}(this._lView,t)}}function t1(){return new e1(dn())}let Qm=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,o,s){const m=typeof Zone>"u"?null:Zone.current,M=new xr(i,be=>{this.all.has(be)&&this.queue.set(be,m)},s);let R;this.all.add(M),M.notify();const z=()=>{M.cleanup(),R?.(),this.all.delete(M),this.queue.delete(M)};return R=o?.onDestroy(z),{destroy:z}}flush(){if(0!==this.queue.size)for(const[i,o]of this.queue)this.queue.delete(i),o?o.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:()=>new e}),e})();function Zm(e,t){!t?.injector&&Sm();const i=t?.injector??ut(Ao),o=i.get(Qm),s=!0!==t?.manualCleanup?i.get(Cu):null;return o.create(e,s,!!t?.allowSignalWrites)}function yl(e,t,i){let o=i?e.styles:null,s=i?e.classes:null,m=0;if(null!==t)for(let M=0;M0){Jm(e,1);const s=e[tn].components;null!==s&&tp(e,s,1)}}function tp(e,t,i){for(let o=0;o-1&&(wc(t,o),zs(i,o))}this._attachedToViewContainer=!1}gf(this._lView[tn],this._lView)}onDestroy(t){Pr(this._lView,t)}markForCheck(){cs(this._cdRefInjectingView||this._lView)}detach(){this._lView[En]&=-129}reattach(){this._lView[En]|=128}detectChanges(){vl(this._lView[tn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sy(e,t){Ja(e,t,t[C],2,null,null)}(this._lView[tn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ee(902,!1);this._appRef=t}}class o1 extends ha{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;vl(t[tn],t,t[yi],!1)}checkNoChanges(){}get context(){return null}}class np extends ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=gn(t);return new fa(i,this.ngModule)}}function ip(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class s1{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,o){o=Pt(o);const s=this.injector.get(t,pl,o);return s!==pl||i===pl?s:this.parentInjector.get(t,i,o)}}class fa extends ml{get inputs(){const t=this.componentDef,i=t.inputTransforms,o=ip(t.inputs);if(null!==i)for(const s of o)i.hasOwnProperty(s.propName)&&(s.transform=i[s.propName]);return o}get outputs(){return ip(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Ni(e){return e.map(ai).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,o,s){let m=(s=s||this.ngModule)instanceof Vo?s:s?.injector;m&&null!==this.componentDef.getStandaloneInjector&&(m=this.componentDef.getStandaloneInjector(m)||m);const M=m?new s1(t,m):t,R=M.get(dm,null);if(null===R)throw new ee(407,!1);const Ge={rendererFactory:R,sanitizer:M.get(hm,null),effectManager:M.get(Qm,null)},ft=R.createRenderer(null,this.componentDef),Ut=this.componentDef.selectors[0][0]||"div",$t=o?function Sv(e,t,i,o){const m=o.get(_m,!1)||i===Sn.ShadowDom,M=e.selectRootElement(t,m);return function Av(e){Fm(e)}(M),M}(ft,o,this.componentDef.encapsulation,M):tl(ft,Ut,function a1(e){const t=e.toLowerCase();return"svg"===t?Xi:"math"===t?mr:null}(Ut)),kn=this.componentDef.signals?4608:this.componentDef.onPush?576:528,zn=mu(0,null,null,1,0,null,null,null,null,null,null),ln=_l(null,zn,null,kn,null,null,Ge,ft,M,null,null);let hi,Si;ja(ln);try{const Ri=this.componentDef;let vr,Zl=null;Ri.findHostDirectiveDefs?(vr=[],Zl=new Map,Ri.findHostDirectiveDefs(Ri,vr,Zl),vr.push(Ri)):vr=[Ri];const OE=function l1(e,t){const i=e[tn],o=pt;return e[o]=t,da(i,o,2,"#host",null)}(ln,$t),RE=function c1(e,t,i,o,s,m,M){const R=s[tn];!function u1(e,t,i,o){for(const s of e)t.mergedAttrs=Nn(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(yl(t,t.mergedAttrs,!0),null!==i&&If(o,i,t))}(o,e,t,M);let z=null;null!==t&&(z=am(t,s[Je]));const be=m.rendererFactory.createRenderer(t,i);let Ge=16;i.signals?Ge=4096:i.onPush&&(Ge=64);const ft=_l(s,Nm(i),null,Ge,s[e.index],e,m,be,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,$t,Ri,vr,ln,Ge,ft);Si=ht(zn,pt),$t&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function xt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,$t,o),void 0!==i&&function f1(e,t,i){const o=e.projection=[];for(let s=0;s=0;o--){const s=e[o];s.hostVars=t+=s.hostVars,s.hostAttrs=Nn(s.hostAttrs,i=Nn(i,s.hostAttrs))}}(o)}function Cl(e){return e===_n?{}:e===Mn?[]:e}function p1(e,t){const i=e.viewQuery;e.viewQuery=i?(o,s)=>{t(o,s),i(o,s)}:t}function g1(e,t){const i=e.contentQueries;e.contentQueries=i?(o,s,m)=>{t(o,s,m),i(o,s,m)}:t}function _1(e,t){const i=e.hostBindings;e.hostBindings=i?(o,s)=>{t(o,s),i(o,s)}:t}const b1=["providersResolver"],y1=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function sp(e){let i,t=ap(e.type);i=Ii(e)?t.\u0275cmp:t.\u0275dir;const o=e;for(const s of b1)o[s]=i[s];if(Ii(i))for(const s of y1)o[s]=i[s]}function lp(e){return t=>{t.findHostDirectiveDefs=cp,t.hostDirectives=(Array.isArray(e)?e:e()).map(i=>"function"==typeof i?{directive:S(i),inputs:_n,outputs:_n}:{directive:S(i.directive),inputs:up(i.inputs),outputs:up(i.outputs)})}}function cp(e,t,i){if(null!==e.hostDirectives)for(const o of e.hostDirectives){const s=pn(o.directive);v1(s.declaredInputs,o.inputs),cp(s,t,i),i.set(s,o),t.push(s)}}function up(e){if(void 0===e||0===e.length)return _n;const t={};for(let i=0;i${t}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function x1(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(e.type)})`}}function ms(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const o=i.tagName.toLowerCase(),s=function S1(e){const t=[];for(let i=0;i${t}`;case Node.TEXT_NODE:const m=i.textContent?gs(i.textContent):"";return"#text"+(m?`(${m})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${gs(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function gs(e,t=50){return e?(e=function A1(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}const L1=new RegExp(`^(\\d+)*(${qc}|${Xc})*(.*)`);function Fu(e){return e.index-pt}function Dl(e,t,i,o){let s=null;const m=Fu(o),M=e.data[tu];if(M?.[m])s=function N1(e,t){const[i,...o]=function O1(e){const t=e.match(L1),[i,o,s,m]=t,M=o?parseInt(o,10):s,R=[];for(const[z,be,Ge]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt(Ge,10)||1;R.push(be,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+pt]),function P1(e,t){let i=e;for(let o=0;o0&&i[s-1]===o?i[s]=(i[s]||1)+1:i.push(o,"")}return i.join("")}(i,o)}function U1(e,t){const i=e.parent;let o,s,m;null!==i&&3&i.type?(o=i.index,s=di(t[o]),m=A(o-pt)):(o=m=Xc,s=t[Zt][Cn]);let M=di(t[e.index]);if(12&e.type){const z=qa(t,e);z&&(M=z)}let R=gp(s,M,m);if(null===R&&s!==M&&(R=gp(s.ownerDocument.body,M,qc),null===R))throw function D1(e,t){const o=`${function Nu(e,t,i){const o=" ";let s="";t.prev?(s+=" \u2026\n",s+=o+Pu(t.prev)+"\n"):t.type&&12&t.type&&(s+=" \u2026\n"),i?(s+=o+Pu(t)+"\n",s+=o+`\x3c!-- container --\x3e ${Ru}\n`):s+=o+Pu(t)+` ${Ru}\n`,s+=" \u2026\n";const m=t.type?Ic(e[tn],t,e):null;return m&&(s=ms(m,"\n"+s)),s}(e,t,!1)}\n\n`,s=function ps(e){return`To fix this problem:\n * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new ee(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+o+s)}(t,e);return R}function _p(e,t,i,o,s,m,M,R){const z=dn(),be=Di(),Ge=e+pt,ft=be.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const be=t.consts,Ge=da(t,e,4,M||null,Ci(be,R));pu(t,i,Ge,Ci(be,z)),Ps(t,Ge);const ft=Ge.tView=mu(2,Ge,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,be,null);return null!==t.queries&&(t.queries.template(t,Ge),ft.queries=t.queries.embeddedTView(Ge)),Ge}(Ge,be,z,t,i,o,s,m,M):be.data[Ge];zr(ft,!1);const Ut=bp(be,z,ft,e);Io()&&il(be,z,Ut,ft),br(Ut,z),bl(z,z[Ge]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(be,z,ft),null!=M&&fu(z,ft,R)}let bp=yp;function yp(e,t,i,o){return Fr(!0),t[C].createComment("")}function V1(e,t,i,o){const s=t[ir],m=!s||gr()||fl(s,o);if(Fr(m),m)return yp(0,t);const M=s.data[eu]?.[o]??null;null!==M&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=M);const R=Dl(s,e,t,i);return ru(s,o,R),wl(au(s,o),R)}function vp(e,t,i,o){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=o}function Cp(e){return Gt(function As(){return Zn.lFrame.contextLView}(),pt+e)}function Bu(e,t,i){const o=dn();return yr(o,Do(),t)&&Br(Di(),An(),o,e,t,o[C],i,!1),Bu}function Vu(e,t,i,o,s){const M=s?"class":"style";yu(e,i,t.inputs[M],M,o)}function Tl(e,t,i,o){const s=dn(),m=Di(),M=pt+e,R=s[C],z=m.firstCreatePass?function H1(e,t,i,o,s,m){const M=t.consts,z=da(t,e,2,o,Ci(M,s));return pu(t,i,z,Ci(M,m)),null!==z.attrs&&yl(z,z.attrs,!1),null!==z.mergedAttrs&&yl(z,z.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,z),z}(M,m,s,t,i,o):m.data[M],be=Mp(m,s,z,R,t,e);s[M]=be;const Ge=oi(z);return zr(z,!0),If(R,be,z),32!=(32&z.flags)&&Io()&&il(m,s,be,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(be,s),function Zr(){Zn.lFrame.elementDepthCount++}(),Ge&&(hu(m,s,z),du(m,z,s)),null!==o&&fu(s,z),Tl}function Il(){let e=lr();Ra()?Pa():(e=e.parent,zr(e,!1));const t=e;(function Jl(e){return Zn.skipHydrationRootTNode===e})(t)&&function Ss(){Zn.skipHydrationRootTNode=null}(),function ql(){Zn.lFrame.elementDepthCount--}();const i=Di();return i.firstCreatePass&&(Ps(i,e),qn(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function lb(e){return 0!=(8&e.flags)}(t)&&Vu(i,t,dn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function cb(e){return 0!=(16&e.flags)}(t)&&Vu(i,t,dn(),t.stylesWithoutHost,!1),Il}function ju(e,t,i,o){return Tl(e,t,i,o),Il(),ju}let Mp=(e,t,i,o,s,m)=>(Fr(!0),tl(o,s,wo()));function z1(e,t,i,o,s,m){const M=t[ir],R=!M||gr()||fl(M,m);if(Fr(R),R)return tl(o,s,wo());const z=Dl(M,e,t,i);return lm(M,m)&&ru(M,m,z.nextSibling),M&&(qh(i)||Jh(z))&&ni(i)&&(function tc(e){Zn.skipHydrationRootTNode=e}(i),Df(z)),z}function Sl(e,t,i){const o=dn(),s=Di(),m=e+pt,M=s.firstCreatePass?function G1(e,t,i,o,s){const m=t.consts,M=Ci(m,o),R=da(t,e,8,"ng-container",M);return null!==M&&yl(R,M,!0),pu(t,i,R,Ci(m,s)),null!==t.queries&&t.queries.elementStart(t,R),R}(m,s,o,t,i):s.data[m];zr(M,!0);const R=xp(s,o,M,e);return o[m]=R,Io()&&il(s,o,R,M),br(R,o),oi(M)&&(hu(s,o,M),du(s,M,o)),null!=i&&fu(o,M),Sl}function Al(){let e=lr();const t=Di();return Ra()?Pa():(e=e.parent,zr(e,!1)),t.firstCreatePass&&(Ps(t,e),qn(e)&&t.queries.elementEnd(e)),Al}function Hu(e,t,i){return Sl(e,t,i),Al(),Hu}let xp=(e,t,i,o)=>(Fr(!0),Dc(t[C],""));function W1(e,t,i,o){let s;const m=t[ir],M=!m||gr();if(Fr(M),M)return Dc(t[C],"");const R=Dl(m,e,t,i),z=function lv(e,t){const i=e.data;let o=i[Jc]?.[t]??null;return null===o&&i[os]?.[t]&&(o=au(e,t)),o}(m,o);return ru(m,o,R),s=wl(z,R),s}function Ep(){return dn()}function zu(e){return!!e&&"function"==typeof e.then}function Dp(e){return!!e&&"function"==typeof e.subscribe}function $u(e,t,i,o){const s=dn(),m=Di(),M=lr();return wp(m,s,s[C],M,e,t,o),$u}function Gu(e,t){const i=lr(),o=dn(),s=Di();return wp(s,o,Km(Ba(s.data),i,o),i,e,t),Gu}function wp(e,t,i,o,s,m,M){const R=oi(o),be=e.firstCreatePass&&Wm(e),Ge=t[yi],ft=Gm(t);let Ut=!0;if(3&o.type||M){const bn=Z(o,t),kn=M?M(bn):bn,zn=ft.length,ln=M?Si=>M(di(Si[o.index])):o.index;let hi=null;if(!M&&R&&(hi=function Y1(e,t,i,o){const s=e.cleanup;if(null!=s)for(let m=0;mz?R[z]:null}"string"==typeof M&&(m+=2)}return null}(e,t,s,o.index)),null!==hi)(hi.__ngLastListenerFn__||hi).__ngNextListenerFn__=m,hi.__ngLastListenerFn__=m,Ut=!1;else{m=Ip(o,t,Ge,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),be&&be.push(s,ln,zn,zn+1)}}else m=Ip(o,t,Ge,m,!1);const $t=o.outputs;let rn;if(Ut&&null!==$t&&(rn=$t[s])){const bn=rn.length;if(bn)for(let kn=0;kn-1?Kt(e.index,t):t);let z=Tp(t,i,o,M),be=m.__ngNextListenerFn__;for(;be;)z=Tp(t,i,be,M)&&z,be=be.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function it(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[rt],e--;return t}(e,Zn.lFrame.contextLView))[yi]}(e)}function Q1(e,t){let i=null;const o=function Wn(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let s=0;s>17&32767}function td(e){return 2|e}function Ho(e){return(131068&e)>>2}function nd(e,t){return-131069&e|t<<2}function id(e){return 1|e}function kp(e,t,i,o,s){const m=e[i+1],M=null===t;let R=o?Lo(m):Ho(m),z=!1;for(;0!==R&&(!1===z||M);){const Ge=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id(Ge):td(Ge)),R=o?Lo(Ge):Ho(Ge)}z&&(e[i+1]=o?td(m):id(m))}function tC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Jo(e,t)>=0}const ur={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Op(e){return e.substring(ur.key,ur.keyEnd)}function nC(e){return e.substring(ur.value,ur.valueEnd)}function Rp(e,t){const i=ur.textEnd;return i===t?-1:(t=ur.keyEnd=function oC(e,t,i){for(;t32;)t++;return t}(e,ur.key=t,i),xa(e,t,i))}function Pp(e,t){const i=ur.textEnd;let o=ur.key=xa(e,t,i);return i===o?-1:(o=ur.keyEnd=function aC(e,t,i){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,i),o=Fp(e,o,i),o=ur.value=xa(e,o,i),o=ur.valueEnd=function sC(e,t,i){let o=-1,s=-1,m=-1,M=t,R=M;for(;M32&&(R=M),m=s,s=o,o=-33&z}return R}(e,o,i),Fp(e,o,i))}function Np(e){ur.key=0,ur.keyEnd=0,ur.value=0,ur.valueEnd=0,ur.textEnd=e.length}function xa(e,t,i){for(;t=0;i=Pp(t,i))Hp(e,Op(t),nC(t))}function Bp(e){to(mC,uo,e,!0)}function uo(e,t){for(let i=function iC(e){return Np(e),Rp(e,xa(e,0,ur.textEnd))}(t);i>=0;i=Rp(t,i))Ur(e,Op(t),!0)}function eo(e,t,i,o){const s=dn(),m=Di(),M=qr(2);m.firstUpdatePass&&jp(m,e,M,o),t!==gi&&yr(s,M,t)&&zp(m,m.data[Vt()],s,s[C],e,s[M+1]=function gC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=l(vo(e)))),e}(t,i),o,M)}function to(e,t,i,o){const s=Di(),m=qr(2);s.firstUpdatePass&&jp(s,null,m,o);const M=dn();if(i!==gi&&yr(M,m,i)){const R=s.data[Vt()];if(Gp(R,o)&&!Vp(s,m)){let z=o?R.classesWithoutHost:R.stylesWithoutHost;null!==z&&(i=y(z,i||"")),Vu(s,R,M,i,o)}else!function pC(e,t,i,o,s,m,M,R){s===gi&&(s=Mn);let z=0,be=0,Ge=0=e.expandoStartIndex}function jp(e,t,i,o){const s=e.data;if(null===s[i+1]){const m=s[Vt()],M=Vp(e,i);Gp(m,o)&&null===t&&!M&&(t=!1),t=function cC(e,t,i,o){const s=Ba(e);let m=o?t.residualClasses:t.residualStyles;if(null===s)0===(o?t.classBindings:t.styleBindings)&&(i=_s(i=ad(null,e,t,i,o),t.attrs,o),m=null);else{const M=t.directiveStylingLast;if(-1===M||e[M]!==s)if(i=ad(s,e,t,i,o),null===m){let z=function uC(e,t,i){const o=i?t.classBindings:t.styleBindings;if(0!==Ho(o))return e[Lo(o)]}(e,t,o);void 0!==z&&Array.isArray(z)&&(z=ad(null,e,t,z[1],o),z=_s(z,t.attrs,o),function dC(e,t,i,o){e[Lo(i?t.classBindings:t.styleBindings)]=o}(e,t,o,z))}else m=function hC(e,t,i){let o;const s=t.directiveEnd;for(let m=1+t.directiveStylingLast;m0)&&(be=!0)):Ge=i,s)if(0!==z){const Ut=Lo(e[R+1]);e[o+1]=kl(Ut,R),0!==Ut&&(e[Ut+1]=nd(e[Ut+1],o)),e[R+1]=function X1(e,t){return 131071&e|t<<17}(e[R+1],o)}else e[o+1]=kl(R,0),0!==R&&(e[R+1]=nd(e[R+1],o)),R=o;else e[o+1]=kl(z,0),0===R?R=o:e[z+1]=nd(e[z+1],o),z=o;be&&(e[o+1]=td(e[o+1])),kp(e,Ge,o,!0),kp(e,Ge,o,!1),function eC(e,t,i,o,s){const m=s?e.residualClasses:e.residualStyles;null!=m&&"string"==typeof t&&Jo(m,t)>=0&&(i[o+1]=id(i[o+1]))}(t,Ge,e,o,m),M=kl(R,z),m?t.classBindings=M:t.styleBindings=M}(s,m,t,i,M,o)}}function ad(e,t,i,o,s){let m=null;const M=i.directiveEnd;let R=i.directiveStylingLast;for(-1===R?R=i.directiveStart:R++;R0;){const z=e[s],be=Array.isArray(z),Ge=be?z[1]:z,ft=null===Ge;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let $t=ft?mc(Ut,o):Ge===o?Ut:void 0;if(be&&!Ol($t)&&($t=mc(z,o)),Ol($t)&&(R=$t,M))return R;const rn=e[s+1];s=M?Lo(rn):Ho(rn)}if(null!==t){let z=m?t.residualClasses:t.residualStyles;null!=z&&(R=mc(z,o))}return R}function Ol(e){return void 0!==e}function Gp(e,t){return 0!=(e.flags&(t?8:16))}function Wp(e,t=""){const i=dn(),o=Di(),s=e+pt,m=o.firstCreatePass?da(o,s,1,t,null):o.data[s],M=Kp(o,i,m,t,e);i[s]=M,Io()&&il(o,i,M,m),zr(m,!1)}let Kp=(e,t,i,o,s)=>(Fr(!0),el(t[C],o));function _C(e,t,i,o,s){const m=t[ir],M=!m||gr()||fl(m,s);return Fr(M),M?el(t[C],o):Dl(m,e,t,i)}function sd(e){return Rl("",e,""),sd}function Rl(e,t,i){const o=dn(),s=pa(o,e,t,i);return s!==gi&&xo(o,Vt(),s),Rl}function ld(e,t,i,o,s){const m=dn(),M=ga(m,e,t,i,o,s);return M!==gi&&xo(m,Vt(),M),ld}function cd(e,t,i,o,s,m,M){const R=dn(),z=_a(R,e,t,i,o,s,m,M);return z!==gi&&xo(R,Vt(),z),cd}function ud(e,t,i,o,s,m,M,R,z){const be=dn(),Ge=ba(be,e,t,i,o,s,m,M,R,z);return Ge!==gi&&xo(be,Vt(),Ge),ud}function dd(e,t,i,o,s,m,M,R,z,be,Ge){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,be,Ge);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){const $t=dn(),rn=va($t,e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut);return rn!==gi&&xo($t,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn);return ln!==gi&&xo(zn,Vt(),ln),md}function pd(e){const t=dn(),i=ma(t,e);return i!==gi&&xo(t,Vt(),i),pd}function Yp(e,t,i){to(Ur,uo,pa(dn(),e,t,i),!0)}function Qp(e,t,i,o,s){to(Ur,uo,ga(dn(),e,t,i,o,s),!0)}function Zp(e,t,i,o,s,m,M){to(Ur,uo,_a(dn(),e,t,i,o,s,m,M),!0)}function Xp(e,t,i,o,s,m,M,R,z){to(Ur,uo,ba(dn(),e,t,i,o,s,m,M,R,z),!0)}function qp(e,t,i,o,s,m,M,R,z,be,Ge){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,be,Ge),!0)}function Jp(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn),!0)}function n0(e){to(Ur,uo,ma(dn(),e),!0)}function r0(e,t,i){Jr(pa(dn(),e,t,i))}function o0(e,t,i,o,s){Jr(ga(dn(),e,t,i,o,s))}function a0(e,t,i,o,s,m,M){Jr(_a(dn(),e,t,i,o,s,m,M))}function s0(e,t,i,o,s,m,M,R,z){Jr(ba(dn(),e,t,i,o,s,m,M,R,z))}function l0(e,t,i,o,s,m,M,R,z,be,Ge){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,be,Ge))}function c0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn))}function d0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn))}function h0(e){Jr(ma(dn(),e))}function gd(e,t,i,o,s){return eo(e,pa(dn(),t,i,o),s,!1),gd}function _d(e,t,i,o,s,m,M){return eo(e,ga(dn(),t,i,o,s,m),M,!1),_d}function bd(e,t,i,o,s,m,M,R,z){return eo(e,_a(dn(),t,i,o,s,m,M,R),z,!1),bd}function yd(e,t,i,o,s,m,M,R,z,be,Ge){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,be),Ge,!1),yd}function vd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,be,Ge,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn,zn),ln,!1),xd}function Ed(e,t,i){return eo(e,ma(dn(),t),i,!1),Ed}function Dd(e,t,i){const o=dn();return yr(o,Do(),t)&&Br(Di(),An(),o,e,t,o[C],i,!0),Dd}function wd(e,t,i){const o=dn();if(yr(o,Do(),t)){const m=Di(),M=An();Br(m,M,o,e,t,Km(Ba(m.data),M,o),i,!0)}return wd}const zo=void 0;var vC=["en",[["a","p"],["AM","PM"],zo],[["AM","PM"],zo,zo],[["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"]],zo,[["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"]],zo,[["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}",zo,"{1} 'at' {0}",zo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function yC(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Ea={};function CC(e,t,i){"string"!=typeof t&&(i=t,t=e[Da.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ea[t]=e,i&&(Ea[t][Da.ExtraData]=i)}function Td(e){const t=function EC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=m0(t);if(i)return i;const o=t.split("-")[0];if(i=m0(o),i)return i;if("en"===o)return vC;throw new ee(701,!1)}function MC(e){return Td(e)[Da.CurrencyCode]||null}function f0(e){return Td(e)[Da.PluralCase]}function m0(e){return e in Ea||(Ea[e]=ge.ng&&ge.ng.common&&ge.ng.common.locales&&ge.ng.common.locales[e]),Ea[e]}function xC(){Ea={}}var Da=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}(Da||{});const DC=["zero","one","two","few","many"],$o="en-US",Pl={marker:"element"},Nl={marker:"ICU"};var Or=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Or||{});let p0=$o;function Id(e){(function We(e,t){null==e&&tt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(p0=e.toLowerCase().replace(/_/g,"-"))}function g0(e,t,i){const o=t.insertBeforeIndex,s=Array.isArray(o)?o[0]:o;return null===s?Cf(e,0,i):di(i[s])}function _0(e,t,i,o,s){const m=t.insertBeforeIndex;if(Array.isArray(m)){let M=o,R=null;if(3&t.type||(R=M,M=s),null!==M&&-1===t.componentOffset)for(let z=1;z1)for(let i=e.length-2;i>=0;i--){const o=e[i];y0(o)||SC(o,t)&&null===AC(o)&&LC(o,t.index)}}function y0(e){return!(64&e.type)}function SC(e,t){return y0(t)||e.index>t.index}function AC(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function LC(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(xf(g0,_0),e.insertBeforeIndex=t)}function bs(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function RC(e,t,i){const o=uu(e,i,64,null,null);return b0(t,o),o}function Fl(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function v0(e){return e>>>17}function C0(e){return(131070&e)>>>1}let ys=0,vs=0;function x0(e,t,i,o){const s=i[C];let M,m=null;for(let R=0;R>>1,i),null,null,$t,rn,null)}else switch(z){case Nl:const be=t[++R],Ge=t[++R];null===i[Ge]&&br(i[Ge]=Dc(s,be),i);break;case Pl:const ft=t[++R],Ut=t[++R];null===i[Ut]&&br(i[Ut]=tl(s,ft,null),i)}}}function E0(e,t,i,o,s){for(let m=0;m>>2;switch(3&Ge){case 1:const Ut=i[++be],$t=i[++be],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,$t):Br(e,rn,t,Ut,z,t[C],$t,!1);break;case 0:const bn=t[ft];null!==bn&&mf(t[C],bn,z);break;case 2:BC(e,bs(e,ft),t,z);break;case 3:D0(e,bs(e,ft),o,t)}}}}else{const z=i[m+1];if(z>0&&3==(3&z)){const Ge=bs(e,z>>>2);t[Ge.currentCaseLViewIndex]<0&&D0(e,Ge,o,t)}}m+=R}}function D0(e,t,i,o){let s=o[t.currentCaseLViewIndex];if(null!==s){let m=ys;s<0&&(s=o[t.currentCaseLViewIndex]=~s,m=-1),E0(e,o,t.update[s],i,m)}}function BC(e,t,i,o){const s=function VC(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const o=function wC(e,t){const i=f0(t)(parseInt(e,10)),o=DC[i];return void 0!==o?o:"other"}(t,function IC(){return p0}());i=e.cases.indexOf(o),-1===i&&"other"!==o&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,o);if(Fl(t,i)!==s&&(w0(e,t,i),i[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const M=i[t.anchorIdx];M&&x0(e,t.create[s],i,M)}}function w0(e,t,i){let o=Fl(t,i);if(null!==o){const s=t.remove[o];for(let m=0;m0){const R=xe(M,i);null!==R&&rl(i[C],R)}else w0(e,bs(e,~M),i)}}}function jC(){const e=[];let i,o,t=-1;function m(R,z){t=0;const be=Fl(R,z);o=null!==be?R.remove[be]:Mn}function M(){if(t0?i[R]:(e.push(t,o),m(i[tn].data[~R],i),M())}return 0===e.length?null:(o=e.pop(),t=e.pop(),M())}return function s(R,z){for(i=z;e.length;)e.pop();return m(R.value,z),M}}const Ul=/\ufffd(\d+):?\d*\ufffd/gi,HC=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,zC=/\ufffd(\d+)\ufffd/,I0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Cs="\ufffd",$C=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,GC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,WC=/\uE500/g;function S0(e,t,i,o,s,m,M){const R=ds(e,o,1,null);let z=R<i.length&&i.push(z)}return{type:o,mainBinding:s,cases:t,values:i}}function Sd(e){if(!e)return[];let t=0;const i=[],o=[],s=/[{}]/g;let m;for(s.lastIndex=0;m=s.exec(e);){const R=m.index;if("}"==m[0]){if(i.pop(),0==i.length){const z=e.substring(t,R);I0.test(z)?o.push(eM(z)):o.push(z),t=R+1}}else{if(0==i.length){const z=e.substring(t,R);o.push(z),t=R+1}i.push("{")}}const M=e.substring(t);return o.push(M),o}function tM(e,t,i,o,s,m,M,R){const z=[],be=[],Ge=[];t.cases.push(m),t.create.push(z),t.remove.push(be),t.update.push(Ge);const Ut=Rf(es()).getInertBodyElement(M),$t=Fc(Ut)||Ut;return $t?O0(e,t,i,o,z,be,Ge,$t,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,be,Ge){let ft=0,Ut=R.firstChild;for(;Ut;){const $t=ds(e,i,1,null);switch(Ut.nodeType){case Node.ELEMENT_NODE:const rn=Ut,bn=rn.tagName.toLowerCase();if(Pc.hasOwnProperty(bn)){Ad(s,Pl,bn,z,$t),e.data[$t]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[Ge];null===ft&&(ft=e[Ge]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),be&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,Ge,R&&8&R.type?s[R.index]:null),ks(!0)}function kd(){ks(!1)}function N0(e,t,i){Ld(e,t,i),kd()}function F0(e,t){const i=Di(),o=Ci(i.consts,t);!function ZC(e,t,i){const s=lr().index,m=[];if(e.firstCreatePass&&null===e.data[t]){for(let M=0;M0){const o=e.data[i];E0(e,t,Array.isArray(o)?o:o.update,Xr()-vs-1,ys)}ys=0,vs=0}(Di(),dn(),e+pt)}function B0(e,t={}){return function fM(e,t={}){let i=e;if(aM.test(e)){const o={},s=[P0];i=i.replace(sM,(m,M,R)=>{const z=M||R,be=o[z]||[];if(be.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);be.push([zn,ln,bn])}),o[z]=be),!be.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const Ge=s[s.length-1];let ft=0;for(let bn=0;bnt.hasOwnProperty(m)?`${s}${t[m]}${z}`:o),i=i.replace(cM,(o,s)=>t.hasOwnProperty(s)?t[s]:o),i=i.replace(uM,(o,s)=>{if(t.hasOwnProperty(s)){const m=t[s];if(!m.length)throw new Error(`i18n postprocess: unmatched ICU - ${o} with key: ${s}`);return m.shift()}return o})),i}(e,t)}function Rd(e,t,i,o,s){if(e=S(e),Array.isArray(e))for(let m=0;m>20;if(Bo(e)||!e.multi){const $t=new za(z,s,ua),rn=Nd(R,t,s?Ge:Ge+Ut,ft);-1===rn?(uc(js(be,M),m,R),Pd(m,e,t.length),t.push(R),be.directiveStart++,be.directiveEnd++,s&&(be.providerIndexes+=1048576),i.push($t),M.push($t)):(i[rn]=$t,M[rn]=$t)}else{const $t=Nd(R,t,Ge+Ut,ft),rn=Nd(R,t,Ge,Ge+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!($t>=0&&i[$t])){uc(js(be,M),m,R);const zn=function _M(e,t,i,o,s){const m=new za(e,i,ua);return m.multi=[],m.index=t,m.componentProviders=0,V0(m,s,o&&!i),m}(s?gM:pM,i.length,s,o,z);!s&&kn&&(i[rn].providerFactory=zn),Pd(m,e,t.length,0),t.push(R),be.directiveStart++,be.directiveEnd++,s&&(be.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,$t>-1?$t:rn,V0(i[s?rn:$t],z,!s&&o));!s&&o&&kn&&i[rn].componentProviders++}}}function Pd(e,t,i,o){const s=Bo(t),m=function zy(e){return!!e.useClass}(t);if(s||m){const z=(m?S(t.useClass):t).prototype.ngOnDestroy;if(z){const be=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const Ge=be.indexOf(i);-1===Ge?be.push(i,[o,z]):be[Ge+1].push(o,z)}else be.push(i,z)}}}function V0(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Nd(e,t,i,o){for(let s=i;s{i.providersResolver=(o,s)=>function mM(e,t,i){const o=Di();if(o.firstCreatePass){const s=Ii(e);Rd(i,o.data,o.blueprint,s,!0),Rd(t,o.data,o.blueprint,s,!1)}}(o,s?s(e):e,t)}}class wa{}class H0{}function z0(e,t){return new Bl(e,t??null,[])}const bM=z0;class Bl extends wa{constructor(t,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new np(this);const s=Fn(t);this._bootstrapComponents=Mo(s.bootstrap),this._r3Injector=Om(t,i,[{provide:wa,useValue:this},{provide:ss,useValue:this.componentFactoryResolver},...o],l(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Vl extends H0{constructor(t){super(),this.moduleType=t}create(t){return new Bl(this.moduleType,t,[])}}class $0 extends wa{constructor(t){super(),this.componentFactoryResolver=new np(this),this.instance=null;const i=new Kc([...t.providers,{provide:wa,useValue:this},{provide:ss,useValue:this.componentFactoryResolver}],t.parent||ul(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function G0(e,t,i=null){return new $0({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let vM=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=Zf(0,i.type),s=o.length>0?G0([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,s)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Bt({token:e,providedIn:"environment",factory:()=>new e(K(Vo))}),e})();function W0(e){e.getStandaloneInjector=t=>t.get(vM).getOrCreateStandaloneInjector(e)}function Ud(e){const t=wr(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function ey(e,t){const i=t[tn].data[e],{directiveStart:o,componentOffset:s}=i;return s>-1?t[o+s]:null}(t.nodeIndex,i)}return t.component}function K0(e){!function wM(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=wr(e),i=t?t.lView:null;return null===i?null:i[yi]}function Y0(e){const t=wr(e);let o,i=t?t.lView:null;if(null===i)return null;for(;2===i[tn].type&&(o=Xa(i));)i=o;return 512&i[En]?null:i[yi]}function Q0(e){const t=af(e);return null!==t?[ry(t)]:[]}function Z0(e){const t=wr(e),i=t?t.lView:null;return null===i?Ao.NULL:new Yo(i[tn].data[t.nodeIndex],i)}function X0(e){if(e instanceof Text)return[];const t=wr(e),i=t?t.lView:null;if(null===i)return[];const o=i[tn],s=t.nodeIndex;return o?.data[s]?(void 0===t.directives&&(t.directives=uf(s,i)),null===t.directives?[]:[...t.directives]):[]}function MM(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=gn(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?xn.OnPush:xn.Default};const o=pn(t);return o?{inputs:o.inputs,outputs:o.outputs}:null}function Bd(e){return wr(e).native}function q0(e){const t=wr(e),i=null===t?null:t.lView;if(null===i)return[];const s=i[ar],m=i[tn].cleanup,M=[];if(m&&s)for(let R=0;R=0?"dom":"output"})}}return M.sort(EM),M}function EM(e,t){return e.name==t.name?0:e.name{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==i&&(s.ctorParameters=i),null!==o&&(s.propDecorators=s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?{...s.propDecorators,...o}:o)})}function eg(e,t,i){const o=hr()+e,s=dn();return s[o]===gi?co(s,o,i?t.call(i):t()):fs(s,o)}function tg(e,t,i,o){return ug(dn(),hr(),e,t,i,o)}function ng(e,t,i,o,s){return dg(dn(),hr(),e,t,i,o,s)}function ig(e,t,i,o,s,m){return hg(dn(),hr(),e,t,i,o,s,m)}function rg(e,t,i,o,s,m,M){return fg(dn(),hr(),e,t,i,o,s,m,M)}function og(e,t,i,o,s,m,M,R){const z=hr()+e,be=dn(),Ge=Gr(be,z,i,o,s,m);return yr(be,z+4,M)||Ge?co(be,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(be,z+5)}function ag(e,t,i,o,s,m,M,R,z){const be=hr()+e,Ge=dn(),ft=Gr(Ge,be,i,o,s,m);return jo(Ge,be+4,M,R)||ft?co(Ge,be+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs(Ge,be+6)}function sg(e,t,i,o,s,m,M,R,z,be){const Ge=hr()+e,ft=dn();let Ut=Gr(ft,Ge,i,o,s,m);return xl(ft,Ge+4,M,R,z)||Ut?co(ft,Ge+7,be?t.call(be,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,Ge+7)}function lg(e,t,i,o,s,m,M,R,z,be,Ge){const ft=hr()+e,Ut=dn(),$t=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,be)||$t?co(Ut,ft+8,Ge?t.call(Ge,i,o,s,m,M,R,z,be):t(i,o,s,m,M,R,z,be)):fs(Ut,ft+8)}function cg(e,t,i,o){return mg(dn(),hr(),e,t,i,o)}function xs(e,t){const i=e[t];return i===gi?void 0:i}function ug(e,t,i,o,s,m){const M=t+i;return yr(e,M,s)?co(e,M+1,m?o.call(m,s):o(s)):xs(e,M+1)}function dg(e,t,i,o,s,m,M){const R=t+i;return jo(e,R,s,m)?co(e,R+2,M?o.call(M,s,m):o(s,m)):xs(e,R+2)}function hg(e,t,i,o,s,m,M,R){const z=t+i;return xl(e,z,s,m,M)?co(e,z+3,R?o.call(R,s,m,M):o(s,m,M)):xs(e,z+3)}function fg(e,t,i,o,s,m,M,R,z){const be=t+i;return Gr(e,be,s,m,M,R)?co(e,be+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,be+4)}function mg(e,t,i,o,s,m){let M=t+i,R=!1;for(let z=0;z=0;i--){const o=t[i];if(e===o.name)return o}}(t,i.pipeRegistry),i.data[s]=o,o.onDestroy&&(i.destroyHooks??=[]).push(s,o.onDestroy)):o=i.data[s];const m=o.factory||(o.factory=or(o.type)),M=dt(ua);try{const R=Vs(!1),z=m();return Vs(R),vp(i,dn(),s,z),z}finally{dt(M)}}function gg(e,t,i){const o=e+pt,s=dn(),m=Gt(s,o);return Es(s,o)?ug(s,hr(),t,m.transform,i,m):m.transform(i)}function _g(e,t,i,o){const s=e+pt,m=dn(),M=Gt(m,s);return Es(m,s)?dg(m,hr(),t,M.transform,i,o,M):M.transform(i,o)}function bg(e,t,i,o,s){const m=e+pt,M=dn(),R=Gt(M,m);return Es(M,m)?hg(M,hr(),t,R.transform,i,o,s,R):R.transform(i,o,s)}function yg(e,t,i,o,s,m){const M=e+pt,R=dn(),z=Gt(R,M);return Es(R,M)?fg(R,hr(),t,z.transform,i,o,s,m,z):z.transform(i,o,s,m)}function vg(e,t,i){const o=e+pt,s=dn(),m=Gt(s,o);return Es(s,o)?mg(s,hr(),t,m.transform,i,m):m.transform.apply(m,i)}function Es(e,t){return e[tn].data[t].pure}function Vd(e){return t=>{setTimeout(e,void 0,t)}}const ho=class IM extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,o){let s=t,m=i||(()=>null),M=o;if(t&&"object"==typeof t){const z=t;s=z.next?.bind(z),m=z.error?.bind(z),M=z.complete?.bind(z)}this.__isAsync&&(m=Vd(m),s&&(s=Vd(s)),M&&(M=Vd(M)));const R=super.subscribe({next:s,error:m,complete:M});return t instanceof c.w0&&t.add(R),R}};function SM(){return this._results[Symbol.iterator]()}class jl{get changes(){return this._changes||(this._changes=new ho)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=jl.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=SM)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const o=this;o.dirty=!1;const s=$r(t);(this._changesDetected=!function Eb(e,t,i){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=kM,e})();const AM=Ds,LM=class extends AM{constructor(t,i,o){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i,null)}createEmbeddedViewImpl(t,i,o){const M=this._declarationTContainer.tView,R=_l(this._declarationLView,M,t,4096&this._declarationLView[En]?4096:16,null,M.declTNode,null,null,null,i||null,o||null);R[Pn]=this._declarationLView[this._declarationTContainer.index];const be=this._declarationLView[Pi];return null!==be&&(R[Pi]=be.createEmbeddedView(M)),vu(M,R,t),new ha(R)}};function kM(){return Hl(lr(),dn())}function Hl(e,t){return 4&e.type?new LM(t,e,sa(e,t)):null}function Cg(e){const t=e[Vn]??[],o=e[ei][C];for(const s of t)OM(s,o);e[Vn]=Mn}function OM(e,t){let i=0,o=e.firstChild;if(o){const s=e.data[as];for(;inull;function FM(e,t){const i=e[Vn]??[];return t&&0!==i.length?i[0].data[rm]===t?i.shift():(Cg(e),null):null}function xg(e,t){return Mg(e,t)}let zl=(()=>{class e{}return e.__NG_ELEMENT_ID__=BM,e})();function BM(){return wg(lr(),dn())}const VM=zl,Eg=class extends VM{constructor(t,i,o){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=o}get element(){return sa(this._hostTNode,this._hostLView)}get injector(){return new Yo(this._hostTNode,this._hostLView)}get parentInjector(){const t=cc(this._hostTNode,this._hostLView);if(yh(t)){const i=Bs(t,this._hostLView),o=Us(t);return new Yo(i[tn].data[o+8],i)}return new Yo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Dg(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-On}createEmbeddedView(t,i,o){let s,m;"number"==typeof o?s=o:null!=o&&(s=o.index,m=o.injector);const M=xg(this._lContainer,t.ssrId),R=t.createEmbeddedViewImpl(i||{},m,M),z=!!M&&!Xs(this._hostTNode);return this.insertImpl(R,s,z),R}createComponent(t,i,o,s,m){const M=t&&!Wa(t);let R;if(M)R=i;else{const bn=i||{};R=bn.index,o=bn.injector,s=bn.projectableNodes,m=bn.environmentInjector||bn.ngModuleRef}const z=M?t:new fa(gn(t)),be=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?be:this.parentInjector).get(Vo,null);kn&&(m=kn)}const Ge=gn(z.componentType??{}),ft=xg(this._lContainer,Ge?.id??null),$t=z.create(be,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl($t.hostView,R,rn),$t}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,o){const s=t._lView,m=s[tn];if(function Hi(e){return Mi(e[ei])}(s)){const z=this.indexOf(t);if(-1!==z)this.detach(z);else{const be=s[ei],Ge=new Eg(be,be[Ai],be[ei]);Ge.detach(Ge.indexOf(t))}}const M=this._adjustIndex(i),R=this._lContainer;if(function cy(e,t,i,o){const s=On+o,m=i.length;o>0&&(i[s-1][Ei]=t),o0&&(m.firstChild=e,e=wl(o[as],e)),i.push(m)}return[e,i]}(z,be);e[Jt]=Ge,e[Vn]=ft}class zd{constructor(t){this.queryList=t,this.matches=null}clone(){return new zd(this.queryList)}setDirty(){this.queryList.setDirty()}}class $d{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const o=null!==t.contentQueries?t.contentQueries[0]:i.length,s=[];for(let m=0;m0)o.push(M[R/2]);else{const be=m[R+1],Ge=t[-z];for(let ft=On;ft({\u0275\u0275attribute:Eu,\u0275\u0275attributeInterpolate1:Du,\u0275\u0275attributeInterpolate2:wu,\u0275\u0275attributeInterpolate3:Tu,\u0275\u0275attributeInterpolate4:Iu,\u0275\u0275attributeInterpolate5:Su,\u0275\u0275attributeInterpolate6:Au,\u0275\u0275attributeInterpolate7:Lu,\u0275\u0275attributeInterpolate8:ku,\u0275\u0275attributeInterpolateV:Ou,\u0275\u0275defineComponent:jt,\u0275\u0275defineDirective:Wt,\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:kt,\u0275\u0275defineNgModule:le,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:K,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:ve,\u0275\u0275templateRefExtractor:Ug,\u0275\u0275resetView:ka,\u0275\u0275HostDirectivesFeature:lp,\u0275\u0275NgOnChangesFeature:fr,\u0275\u0275ProvidersFeature:j0,\u0275\u0275CopyDefinitionFeature:sp,\u0275\u0275InheritDefinitionFeature:Mu,\u0275\u0275InputTransformsFeature:hp,\u0275\u0275StandaloneFeature:W0,\u0275\u0275nextContext:Sp,\u0275\u0275namespaceHTML:_r,\u0275\u0275namespaceMathML:$i,\u0275\u0275namespaceSVG:Kn,\u0275\u0275enableBindings:ec,\u0275\u0275disableBindings:Is,\u0275\u0275elementStart:Tl,\u0275\u0275elementEnd:Il,\u0275\u0275element:ju,\u0275\u0275elementContainerStart:Sl,\u0275\u0275elementContainerEnd:Al,\u0275\u0275elementContainer:Hu,\u0275\u0275pureFunction0:eg,\u0275\u0275pureFunction1:tg,\u0275\u0275pureFunction2:ng,\u0275\u0275pureFunction3:ig,\u0275\u0275pureFunction4:rg,\u0275\u0275pureFunction5:og,\u0275\u0275pureFunction6:ag,\u0275\u0275pureFunction7:sg,\u0275\u0275pureFunction8:lg,\u0275\u0275pureFunctionV:cg,\u0275\u0275getCurrentView:Ep,\u0275\u0275restoreView:La,\u0275\u0275listener:$u,\u0275\u0275projection:Lp,\u0275\u0275syntheticHostProperty:wd,\u0275\u0275syntheticHostListener:Gu,\u0275\u0275pipeBind1:gg,\u0275\u0275pipeBind2:_g,\u0275\u0275pipeBind3:bg,\u0275\u0275pipeBind4:yg,\u0275\u0275pipeBindV:vg,\u0275\u0275projectionDef:Ap,\u0275\u0275hostProperty:Dd,\u0275\u0275property:Bu,\u0275\u0275propertyInterpolate:Wu,\u0275\u0275propertyInterpolate1:Ll,\u0275\u0275propertyInterpolate2:Ku,\u0275\u0275propertyInterpolate3:Yu,\u0275\u0275propertyInterpolate4:Qu,\u0275\u0275propertyInterpolate5:Zu,\u0275\u0275propertyInterpolate6:Xu,\u0275\u0275propertyInterpolate7:qu,\u0275\u0275propertyInterpolate8:Ju,\u0275\u0275propertyInterpolateV:ed,\u0275\u0275pipe:pg,\u0275\u0275queryRefresh:Lg,\u0275\u0275viewQuery:kg,\u0275\u0275loadQuery:Rg,\u0275\u0275contentQuery:Og,\u0275\u0275reference:Cp,\u0275\u0275classMap:Bp,\u0275\u0275classMapInterpolate1:Yp,\u0275\u0275classMapInterpolate2:Qp,\u0275\u0275classMapInterpolate3:Zp,\u0275\u0275classMapInterpolate4:Xp,\u0275\u0275classMapInterpolate5:qp,\u0275\u0275classMapInterpolate6:Jp,\u0275\u0275classMapInterpolate7:e0,\u0275\u0275classMapInterpolate8:t0,\u0275\u0275classMapInterpolateV:n0,\u0275\u0275styleMap:Jr,\u0275\u0275styleMapInterpolate1:r0,\u0275\u0275styleMapInterpolate2:o0,\u0275\u0275styleMapInterpolate3:a0,\u0275\u0275styleMapInterpolate4:s0,\u0275\u0275styleMapInterpolate5:l0,\u0275\u0275styleMapInterpolate6:c0,\u0275\u0275styleMapInterpolate7:u0,\u0275\u0275styleMapInterpolate8:d0,\u0275\u0275styleMapInterpolateV:h0,\u0275\u0275styleProp:rd,\u0275\u0275stylePropInterpolate1:gd,\u0275\u0275stylePropInterpolate2:_d,\u0275\u0275stylePropInterpolate3:bd,\u0275\u0275stylePropInterpolate4:yd,\u0275\u0275stylePropInterpolate5:vd,\u0275\u0275stylePropInterpolate6:Cd,\u0275\u0275stylePropInterpolate7:Md,\u0275\u0275stylePropInterpolate8:xd,\u0275\u0275stylePropInterpolateV:Ed,\u0275\u0275classProp:od,\u0275\u0275advance:Tm,\u0275\u0275template:_p,\u0275\u0275text:Wp,\u0275\u0275textInterpolate:sd,\u0275\u0275textInterpolate1:Rl,\u0275\u0275textInterpolate2:ld,\u0275\u0275textInterpolate3:cd,\u0275\u0275textInterpolate4:ud,\u0275\u0275textInterpolate5:dd,\u0275\u0275textInterpolate6:hd,\u0275\u0275textInterpolate7:fd,\u0275\u0275textInterpolate8:md,\u0275\u0275textInterpolateV:pd,\u0275\u0275i18n:N0,\u0275\u0275i18nAttributes:F0,\u0275\u0275i18nExp:Od,\u0275\u0275i18nStart:Ld,\u0275\u0275i18nEnd:kd,\u0275\u0275i18nApply:U0,\u0275\u0275i18nPostprocess:B0,\u0275\u0275resolveWindow:bm,\u0275\u0275resolveDocument:ym,\u0275\u0275resolveBody:lu,\u0275\u0275setComponentScope:ke,\u0275\u0275setNgModuleScope:Xe,\u0275\u0275registerNgModuleType:_c,\u0275\u0275sanitizeHtml:jf,\u0275\u0275sanitizeStyle:Hf,\u0275\u0275sanitizeResourceUrl:Bc,\u0275\u0275sanitizeScript:zf,\u0275\u0275sanitizeUrl:Uc,\u0275\u0275sanitizeUrlOrResourceUrl:Wf,\u0275\u0275trustConstantHtml:$f,\u0275\u0275trustConstantResourceUrl:Gf,\u0275\u0275validateIframeAttribute:Sf,forwardRef:D,resolveForwardRef:S}))();let Ta=null;function qM(){Ta=null}function Yd(e){return!!Fn(e)}const ws=[];let Qd=!1;function Vg(){if(!Qd){Qd=!0;try{for(let e=ws.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=ws[e];i.declarations&&i.declarations.every(jg)&&(ws.splice(e,1),ix(t,i))}}finally{Qd=!1}}}function jg(e){return Array.isArray(e)?e.every(jg):!!S(e)}function Hg(e,t={}){zg(e,t),void 0!==t.id&&_c(e,t.id),function JM(e,t){ws.push({moduleType:e,ngModule:t})}(e,t)}function zg(e,t,i=!1){const o=$r(t.declarations||Mn);let s=null;Object.defineProperty(e,Yi,{configurable:!0,get:()=>(null===s&&(s=cr().compileNgModule(Tr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:$r(t.bootstrap||Mn).map(S),declarations:o.map(S),imports:$r(t.imports||Mn).map(S).map(Wg),exports:$r(t.exports||Mn).map(S).map(Wg),schemas:t.schemas?$r(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])),s)});let m=null;Object.defineProperty(e,Et,{get:()=>{if(null===m){const R=cr();m=R.compileFactory(Tr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Ks(e),target:R.FactoryTarget.NgModule,typeArgumentCount:0})}return m},configurable:!1});let M=null;Object.defineProperty(e,Y,{get:()=>{if(null===M){const R={name:e.name,type:e,providers:t.providers||Mn,imports:[(t.imports||Mn).map(S),(t.exports||Mn).map(S)]};M=cr().compileInjector(Tr,`ng:///${e.name}/\u0275inj.js`,R)}return M},configurable:!1})}let $l=new WeakMap,Xd=new WeakMap;function nx(){$l=new WeakMap,Xd=new WeakMap,ws.length=0,Gi.clear()}function ix(e,t){const i=$r(t.declarations||Mn),o=Go(e);i.forEach(s=>{(s=S(s)).hasOwnProperty(xi)?qd(gn(s),o):!s.hasOwnProperty(fi)&&!s.hasOwnProperty(Vi)&&(s.ngSelectorScope=e)})}function qd(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(xi)?gn(i):pn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>si(i)),e.schemas=t.schemas,e.tView=null}function Go(e){if(Yd(e))return function rx(e){const t=Fn(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Mo(t.imports).forEach(o=>{const s=Go(o);s.exported.directives.forEach(m=>i.compilation.directives.add(m)),s.exported.pipes.forEach(m=>i.compilation.pipes.add(m))}),Mo(t.declarations).forEach(o=>{si(o)?i.compilation.pipes.add(o):i.compilation.directives.add(o)}),Mo(t.exports).forEach(o=>{const s=o;if(Yd(s)){const m=Go(s);m.exported.directives.forEach(M=>{i.compilation.directives.add(M),i.exported.directives.add(M)}),m.exported.pipes.forEach(M=>{i.compilation.pipes.add(M),i.exported.pipes.add(M)})}else si(s)?i.exported.pipes.add(s):i.exported.directives.add(s)}),t.transitiveCompileScopes=i,i}(e);if(jn(e)){if(null!==(gn(e)||pn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==si(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function Wg(e){return function Bg(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let Jd=0;function Kg(e,t){let i=null;(function Ob(e,t){zh(t)&&(ea.set(e,t),Qa.add(e))})(e,t),Qg(e,t),Object.defineProperty(e,xi,{get:()=>{if(null===i){const o=cr();if(zh(t)){const be=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&be.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&be.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),be.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(be.join("\n"))}const s=function XM(){return Ta}();let m=t.preserveWhitespaces;void 0===m&&(m=null!==s&&void 0!==s.preserveWhitespaces&&s.preserveWhitespaces);let M=t.encapsulation;void 0===M&&(M=null!==s&&void 0!==s.defaultEncapsulation?s.defaultEncapsulation:Sn.Emulated);const R=t.templateUrl||`ng:///${e.name}/template.html`,z={...Zg(e,t),typeSourceSpan:o.createParseSourceSpan("Component",e.name,R),template:t.template||"",preserveWhitespaces:m,styles:t.styles||Mn,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:M,interpolation:t.interpolation,viewProviders:t.viewProviders||null};Jd++;try{if(z.usesInheritance&&Xg(e),i=o.compileComponent(Tr,R,z),t.standalone){const be=$r(t.imports||Mn),{directiveDefs:Ge,pipeDefs:ft}=function ax(e,t){let i=null,o=null;return{directiveDefs:()=>{if(null===i){i=[gn(e)];const M=new Set([e]);for(const R of t){const z=S(R);if(!M.has(z))if(M.add(z),Fn(z)){const be=Go(z);for(const Ge of be.exported.directives){const ft=gn(Ge)||pn(Ge);ft&&!M.has(Ge)&&(M.add(Ge),i.push(ft))}}else{const be=gn(z)||pn(z);be&&i.push(be)}}}return i},pipeDefs:()=>{if(null===o){o=[];const M=new Set;for(const R of t){const z=S(R);if(!M.has(z))if(M.add(z),Fn(z)){const be=Go(z);for(const Ge of be.exported.pipes){const ft=si(Ge);ft&&!M.has(Ge)&&(M.add(Ge),o.push(ft))}}else{const be=si(z);be&&o.push(be)}}}return o}}}(e,be);i.directiveDefs=Ge,i.pipeDefs=ft,i.dependencies=()=>be.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const be=Go(e.ngSelectorScope);qd(i,be)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${U(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function eh(e,t){let i=null;Qg(e,t||{}),Object.defineProperty(e,fi,{get:()=>{if(null===i){const o=Yg(e,t||{});i=cr().compileDirective(Tr,o.sourceMapUrl,o.metadata)}return i},configurable:!1})}function Yg(e,t){const i=e&&e.name,o=`ng:///${i}/\u0275dir.js`,s=cr(),m=Zg(e,t);return m.typeSourceSpan=s.createParseSourceSpan("Directive",i,o),m.usesInheritance&&Xg(e),{metadata:m,sourceMapUrl:o}}function Qg(e,t){let i=null;Object.defineProperty(e,Et,{get:()=>{if(null===i){const o=Yg(e,t),s=cr();i=s.compileFactory(Tr,`ng:///${e.name}/\u0275fac.js`,{name:o.metadata.name,type:o.metadata.type,typeArgumentCount:0,deps:Ks(e),target:s.FactoryTarget.Directive})}return i},configurable:!1})}function lx(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Zg(e,t){const i=gc(),o=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||_n,propMetadata:o,inputs:t.inputs||Mn,outputs:t.outputs||Mn,queries:qg(e,o,Jg),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!lx(e),exportAs:dx(t.exportAs),providers:t.providers||null,viewQueries:qg(e,o,e_),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(s=>"function"==typeof s?{directive:s}:s)||null}}function Xg(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!pn(i)&&!gn(i)&&fx(i)&&eh(i,null),i=Object.getPrototypeOf(i)}function cx(e){return"string"==typeof e?n_(e):S(e)}function ux(e,t){return{propertyName:e,predicate:cx(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function qg(e,t,i){const o=[];for(const s in t)if(t.hasOwnProperty(s)){const m=t[s];m.forEach(M=>{if(i(M)){if(!M.selector)throw new Error(`Can't construct a query for the property "${s}" of "${U(e)}" since the query selector wasn't defined.`);if(m.some(t_))throw new Error("Cannot combine @Input decorators with query decorators");o.push(ux(s,M))}})}return o}function dx(e){return void 0===e?null:n_(e)}function Jg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function e_(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function t_(e){return"Input"===e.ngMetadataName}function n_(e){return e.split(",").map(t=>t.trim())}const hx=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function fx(e){const t=gc();if(hx.some(o=>t.hasLifecycleHook(e,o)))return!0;const i=t.propMetadata(e);for(const o in i){const s=i[o];for(let m=0;m{if(null===o){const s=r_(e,t),m=cr();o=m.compileFactory(Tr,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s.type,typeArgumentCount:0,deps:Ks(e),target:m.FactoryTarget.Pipe})}return o},configurable:!1}),Object.defineProperty(e,Vi,{get:()=>{if(null===i){const s=r_(e,t);i=cr().compilePipe(Tr,`ng:///${s.name}/\u0275pipe.js`,s)}return i},configurable:!1})}function r_(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const o_=$a("Directive",(e={})=>e,void 0,void 0,(e,t)=>eh(e,t)),mx=$a("Component",(e={})=>({changeDetection:xn.Default,...e}),o_,void 0,(e,t)=>Kg(e,t)),px=$a("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>i_(e,t)),gx=So("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),_x=So("Output",e=>({alias:e})),bx=So("HostBinding",e=>({hostPropertyName:e})),yx=So("HostListener",(e,t)=>({eventName:e,args:t})),vx=$a("NgModule",e=>e,void 0,void 0,(e,t)=>Hg(e,t)),a_=new zi("Application Initializer");let Gl=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=ut(a_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const s of this.appInits){const m=s();if(zu(m))i.push(m);else if(Dp(m)){const M=new Promise((R,z)=>{m.subscribe({complete:R,error:z})});i.push(M)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(s=>{this.reject(s)}),0===i.length&&o(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),s_=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Wl=new zi("LocaleId",{providedIn:"root",factory:()=>ut(Wl,ue.Optional|ue.SkipSelf)||function Cx(){return typeof $localize<"u"&&$localize.locale||$o}()}),Mx=new zi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),xx=new zi("Translations"),Ex=new zi("TranslationsFormat");var l_=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(l_||{});let c_=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new d.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class u_{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let Dx=(()=>{class e{compileModuleSync(i){return new Vl(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),m=Mo(Fn(i).declarations).reduce((M,R)=>{const z=gn(R);return z&&M.push(new fa(z)),M},[]);return new u_(o,m)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const d_=new zi("compilerOptions");class wx{}function Tx(e){cs(rf(e)),Q0(e).forEach(t=>Xm(t))}const h_="ng";let f_=!1;function Ix(){f_||(f_=!0,Wr("\u0275setProfiler",Qn),Wr("getDirectiveMetadata",MM),Wr("getComponent",Ud),Wr("getContext",K0),Wr("getListeners",q0),Wr("getOwningComponent",Y0),Wr("getHostElement",Bd),Wr("getInjector",Z0),Wr("getRootComponents",Q0),Wr("getDirectives",X0),Wr("applyChanges",Tx))}function Wr(e,t){if((typeof COMPILED>"u"||!COMPILED)&&ge){let o=ge[h_];o||(o=ge[h_]={}),o[e]=t}}function m_(...e){}class Ir{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ho(!1),this.onMicrotaskEmpty=new ho(!1),this.onStable=new ho(!1),this.onError=new ho(!1),typeof Zone>"u")throw new ee(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function Sx(){const e="function"==typeof ge.requestAnimationFrame;let t=ge[e?"requestAnimationFrame":"setTimeout"],i=ge[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const s=i[Zone.__symbol__("OriginalDelegate")];s&&(i=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function kx(e){const t=()=>{!function Lx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,nh(e),e.isCheckStableRunning=!0,th(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),nh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,s,m,M,R)=>{try{return p_(e),i.invokeTask(s,m,M,R)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===m.type||e.shouldCoalesceRunChangeDetection)&&t(),g_(e)}},onInvoke:(i,o,s,m,M,R,z)=>{try{return p_(e),i.invoke(s,m,M,R,z)}finally{e.shouldCoalesceRunChangeDetection&&t(),g_(e)}},onHasTask:(i,o,s,m)=>{i.hasTask(s,m),o===s&&("microTask"==m.change?(e._hasPendingMicrotasks=m.microTask,nh(e),th(e)):"macroTask"==m.change&&(e.hasPendingMacrotasks=m.macroTask))},onHandleError:(i,o,s,m)=>(i.handleError(s,m),e.runOutsideAngular(()=>e.onError.emit(m)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ir.isInAngularZone())throw new ee(909,!1)}static assertNotInAngularZone(){if(Ir.isInAngularZone())throw new ee(909,!1)}run(t,i,o){return this._inner.run(t,i,o)}runTask(t,i,o,s){const m=this._inner,M=m.scheduleEventTask("NgZoneEvent: "+s,t,Ax,m_,m_);try{return m.runTask(M,i,o)}finally{m.cancelTask(M)}}runGuarded(t,i,o){return this._inner.runGuarded(t,i,o)}runOutsideAngular(t){return this._outer.run(t)}}const Ax={};function th(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function nh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function p_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function g_(e){e._nesting--,th(e)}class __{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ho,this.onMicrotaskEmpty=new ho,this.onStable=new ho,this.onError=new ho}run(t,i,o){return t.apply(i,o)}runGuarded(t,i,o){return t.apply(i,o)}runOutsideAngular(t){return t()}runTask(t,i,o,s){return t.apply(i,o)}}const b_=new zi("",{providedIn:"root",factory:y_});function y_(){const e=ut(Ir);let t=!0;const i=new g.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),o=new g.y(s=>{let m;e.runOutsideAngular(()=>{m=e.onStable.subscribe(()=>{Ir.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const M=e.onUnstable.subscribe(()=>{Ir.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{m.unsubscribe(),M.unsubscribe()}});return(0,r.T)(i,o.pipe((0,f.B)()))}const v_=new zi(""),C_=new zi("");let Ox=(()=>{class e{constructor(i,o,s){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ih||(x_(s),s.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ir.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,s){let m=-1;o&&o>0&&(m=setTimeout(()=>{this._callbacks=this._callbacks.filter(M=>M.timeoutId!==m),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:m,updateCb:s})}whenStable(i,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,s){return[]}}return e.\u0275fac=function(i){return new(i||e)(K(Ir),K(M_),K(C_))},e.\u0275prov=Bt({token:e,factory:e.\u0275fac}),e})(),M_=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){return ih?.findTestabilityInTree(this,i,o)??null}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function x_(e){ih=e}let ih,ko=null;const rh=new zi("AllowMultipleToken"),oh=new zi("PlatformDestroyListeners"),ah=new zi("appBootstrapListener");function E_(e,t,i){const o=new Vl(i);return Promise.resolve(o)}function D_(){!function qi(e){ii=e}(()=>{throw new ee(600,!1)})}function w_(e){return e.isBoundToModule}class Rx{constructor(t,i){this.name=t,this.token=i}}function T_(e){if(ko&&!ko.get(rh,!1))throw new ee(400,!1);D_(),ko=e;const t=e.get(sh);return I_(e),t}function I_(e){e.get(nm,null)?.forEach(i=>i())}function Nx(e){try{const{rootComponent:t,appProviders:i,platformProviders:o}=e,s=function Px(e=[]){if(ko)return ko;const t=L_(e);return ko=t,D_(),I_(t),t}(o),m=[U_(),...i||[]],R=new $0({providers:m,parent:s,debugName:"",runEnvironmentInitializers:!1}).injector,z=R.get(Ir);return z.run(()=>{R.resolveInjectorInitializers();const be=R.get(la,null);let Ge;z.runOutsideAngular(()=>{Ge=z.onError.subscribe({next:$t=>{be.handleError($t)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{Ge.unsubscribe(),Ut.delete(ft)}),O_(be,z,()=>{const $t=R.get(Gl);return $t.runInitializers(),$t.donePromise.then(()=>{Id(R.get(Wl,$o)||$o);const bn=R.get(Ia);return void 0!==t&&bn.bootstrap(t),bn})})})}catch(t){return Promise.reject(t)}}function S_(e,t,i=[]){const o=`Platform: ${t}`,s=new zi(o);return(m=[])=>{let M=Kl();if(!M||M.injector.get(rh,!1)){const R=[...i,...m,{provide:s,useValue:!0}];e?e(R):T_(L_(R,o))}return A_()}}function A_(e){const t=Kl();if(!t)throw new ee(401,!1);return t}function L_(e=[],t){return Ao.create({name:t,providers:[{provide:Gc,useValue:"platform"},{provide:oh,useValue:new Set([()=>ko=null])},...e]})}function Fx(){Kl()?.destroy()}function Kl(){return ko?.get(sh)??null}let sh=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const s=function Ux(e="zone.js",t){return"noop"===e?new __:"zone.js"===e?new Ir(t):e}(o?.ngZone,k_({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return s.run(()=>{const m=function yM(e,t,i){return new Bl(e,t,i)}(i.moduleType,this.injector,F_(()=>s)),M=m.injector.get(la,null);return s.runOutsideAngular(()=>{const R=s.onError.subscribe({next:z=>{M.handleError(z)}});m.onDestroy(()=>{Yl(this._modules,m),R.unsubscribe()})}),O_(M,s,()=>{const R=m.injector.get(Gl);return R.runInitializers(),R.donePromise.then(()=>(Id(m.injector.get(Wl,$o)||$o),this._moduleDoBootstrap(m),m))})})}bootstrapModule(i,o=[]){const s=R_({},o);return E_(0,0,i).then(m=>this.bootstrapModuleFactory(m,s))}_moduleDoBootstrap(i){const o=i.injector.get(Ia);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!i.instance.ngDoBootstrap)throw new ee(-403,!1);i.instance.ngDoBootstrap(o)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(oh,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(K(Ao))},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function k_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function O_(e,t,i){try{const o=i();return zu(o)?o.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}function R_(e,t){return Array.isArray(t)?t.reduce(R_,e):{...e,...t}}let Ia=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ut(N_),this.zoneIsStable=ut(b_),this.componentTypes=[],this.components=[],this.isStable=ut(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,h.of)(!1):this.zoneIsStable),(0,v.x)(),(0,f.B)()),this._injector=ut(Vo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const s=i instanceof ml;if(!this._injector.get(Gl).done)throw!s&&jn(i),new ee(405,!1);let M;M=s?i:this._injector.get(ss).resolveComponentFactory(i),this.componentTypes.push(M.componentType);const R=w_(M)?void 0:this._injector.get(wa),be=M.create(Ao.NULL,[],o||M.selector,R),Ge=be.location.nativeElement,ft=be.injector.get(v_,null);return ft?.registerApplication(Ge),be.onDestroy(()=>{this.detachView(be.hostView),Yl(this.components,be),ft?.unregisterApplication(Ge)}),this._loadComponent(be),be}tick(){if(this._runningTick)throw new ee(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Yl(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(ah,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Yl(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new ee(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Yl(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const N_=new zi("",{providedIn:"root",factory:()=>ut(la).handleError.bind(void 0)});function Bx(){const e=ut(Ir),t=ut(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=ut(Ir),this.applicationRef=ut(Ia)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function F_(e){return[{provide:Ir,useFactory:e},{provide:is,multi:!0,useFactory:()=>{const t=ut(Vx,{optional:!0});return()=>t.initialize()}},{provide:N_,useFactory:Bx},{provide:b_,useFactory:y_}]}function U_(e){return jc([[],F_(()=>new Ir(k_(e)))])}function jx(){return!1}function Hx(){}function zx(e){const t=Wh(e);if(!t)throw B_(e);return new Vl(t)}function $x(e){const t=Wh(e);if(!t)throw B_(e);return t}function B_(e){return new Error(`No module with ID ${e} loaded`)}let V_=(()=>{class e{}return e.__NG_ELEMENT_ID__=j_,e})();function j_(e){return function Gx(e,t,i){if(ni(e)&&!i){const o=Kt(e.index,t);return new ha(o,o)}return 47&e.type?new ha(t[Zt],t):null}(lr(),dn(),16==(16&e))}class H_ extends V_{}class Wx extends H_{}class Kx{constructor(t,i){this.name=t,this.callback=i}}function Yx(e){return e.map(t=>t.nativeElement)}class lh{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ts(t):null}get injector(){return Z0(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Ud(t)||Y0(t))}get context(){return Ud(this.nativeNode)||K0(this.nativeNode)}get listeners(){return q0(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function xM(e){const t=wr(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function ty(e,t){const i=e[tn].data[t];if(i&&i.localNames){const o={};let s=i.index+1;for(let m=0;m1){let Ge=z[1];for(let ft=1;ftt[m]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let o=0;o{if(m.name===t){const M=m.callback;M.call(o,i),s.push(M)}}),"function"==typeof o.eventListeners&&o.eventListeners(t).forEach(m=>{if(-1!==m.toString().indexOf("__ngUnwrap__")){const M=m("__ngUnwrap__");return-1===s.indexOf(M)&&M.call(o,i)}})}}function Zx(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function z_(e,t,i,o){const s=wr(e.nativeNode),m=s?s.lView:null;null!==m?Wo(m[tn].data[s.nodeIndex],m,t,i,o,e.nativeNode):uh(e.nativeNode,t,i,o)}function Wo(e,t,i,o,s,m){const M=function Ue(e,t){const i=null===e?-1:e.index;return-1!==i?di(t[i]):null}(e,t);if(11&e.type){if(ch(M,i,o,s,m),ni(e)){const z=Kt(e.index,t);z&&z[tn].firstChild&&Wo(z[tn].firstChild,z,i,o,s,m)}else e.child&&Wo(e.child,t,i,o,s,m),M&&uh(M,i,o,s);const R=t[e.index];Mi(R)&&$_(R,i,o,s,m)}else if(4&e.type){const R=t[e.index];ch(R[Jt],i,o,s,m),$_(R,i,o,s,m)}else if(16&e.type){const R=t[Zt],be=R[Ai].projection[e.projection];if(Array.isArray(be))for(let Ge of be)ch(Ge,i,o,s,m);else if(be){const Ge=R[ei];Wo(Ge[tn].data[be.index],Ge,i,o,s,m)}}else e.child&&Wo(e.child,t,i,o,s,m);if(m!==M){const R=2&e.flags?e.projectionNext:e.next;R&&Wo(R,t,i,o,s,m)}}function $_(e,t,i,o,s){for(let m=On;mt;class W_{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||qx}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,o=this._removalsHead,s=0,m=null;for(;i||o;){const M=!o||i&&i.currentIndex{M=this._trackByFn(s,R),null!==i&&Object.is(i.trackById,M)?(o&&(i=this._verifyReinsertion(i,R,M,s)),Object.is(i.item,R)||this._addIdentityChange(i,R)):(i=this._mismatch(i,R,M,s),o=!0),i=i._next,s++}),this.length=s;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,o,s){let m;return null===t?m=this._itTail:(m=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,m,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,s))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,m,s)):t=this._addAfter(new Jx(i,o),m,s),t}_verifyReinsertion(t,i,o,s){let m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==m?t=this._reinsertAfter(m,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,m=t._nextRemoved;return null===s?this._removalsHead=m:s._nextRemoved=m,null===m?this._removalsTail=s:m._prevRemoved=s,this._insertAfter(t,i,o),this._addToMoves(t,o),t}_moveAfter(t,i,o){return this._unlink(t),this._insertAfter(t,i,o),this._addToMoves(t,o),t}_addAfter(t,i,o){return this._insertAfter(t,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,o){const s=null===i?this._itHead:i._next;return t._next=s,t._prev=i,null===s?this._itTail=t:s._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new K_),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,o=t._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new K_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Jx{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class eE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const i=t._prevDup,o=t._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class K_{constructor(){this.map=new Map}put(t){const i=t.trackById;let o=this.map.get(i);o||(o=new eE,this.map.set(i,o)),o.add(t)}get(t,i){const s=this.map.get(t);return s?s.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Y_(e,t,i){const o=e.previousIndex;if(null===o)return o;let s=0;return i&&o{if(i&&i.key===s)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const m=this._getOrCreateRecordForKey(s,o);i=this._insertBeforeOrAppend(i,m)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const o=t._prev;return i._next=t,i._prev=o,t._prev=i,o&&(o._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,i);const m=s._prev,M=s._next;return m&&(m._next=M),M&&(M._prev=m),s._next=null,s._prev=null,s}const o=new nE(t);return this._records.set(t,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(o=>i(t[o],o))}}class nE{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Z_(){return new fh([new G_])}let fh=(()=>{class e{constructor(i){this.factories=i}static create(i,o){if(null!=o){const s=o.factories.slice();i=i.concat(s)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Z_()),deps:[[e,new Ws,new Gs]]}}find(i){const o=this.factories.find(s=>s.supports(i));if(null!=o)return o;throw new ee(901,!1)}}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:Z_}),e})();function X_(){return new mh([new Q_])}let mh=(()=>{class e{constructor(i){this.factories=i}static create(i,o){if(o){const s=o.factories.slice();i=i.concat(s)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||X_()),deps:[[e,new Ws,new Gs]]}}find(i){const o=this.factories.find(s=>s.supports(i));if(o)return o;throw new ee(901,!1)}}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:X_}),e})();const iE=[new Q_],oE=new fh([new G_]),aE=new mh(iE),sE=S_(null,"core",[]);let lE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(K(Ia))},e.\u0275mod=le({type:e}),e.\u0275inj=kt({}),e})();class cE{constructor(){this.views=[],this.indexByContent=new Map}add(t){const i=JSON.stringify(t);if(!this.indexByContent.has(i)){const o=this.views.length;return this.views.push(t),this.indexByContent.set(i,o),o}return this.indexByContent.get(i)}getAll(){return this.views}}let uE=0;function q_(e){return e.ssrId||(e.ssrId="t"+uE++),e.ssrId}function J_(e,t,i){const o=[];return hs(e,t,i,o),o.length}function dE(e,t){const i=new cE,o=new Map,s=e._views;for(const R of s){const z=sm(R);if(null!==z){const be=z[Cn];be&&!be.hasAttribute(ta)&&(gh(be,z,{serializedViewCollection:i,corruptedTextNodes:o}),mE(o,t))}}const m=i.getAll();e.injector.get(rs).set(nu,m)}function hE(e,t){const i=[];let o="";for(let s=On;s0&&Ge===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=Ge,i.push(be)}return i}function ph(e,t,i){const o=t.index-pt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-pt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=pt;s{let e=!0;return Ql()&&(e=!!ut(rs,{optional:!0})?.get(nu,null)),e&&ut(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&ut(us)&&function gE(){ib||(ib=!0,function rv(){om=iv}(),function $1(){Mp=z1}(),function bC(){Kp=_C}(),function K1(){xp=W1}(),function j1(){bp=V1}(),function zM(){Tg=HM}(),function UM(){Mg=FM}(),function kv(){Fm=Lv}())}()},multi:!0},{provide:_m,useFactory:()=>Ql()&&ut(us)},{provide:ah,useFactory:()=>{if(Ql()&&ut(us)){const e=ut(Ia);return ut(Ao),()=>{(function _E(e,t){return e.isStable.pipe((0,b.P)(o=>o)).toPromise().then(()=>{})})(e).then(()=>{!function PM(e){const t=e._views;for(const i of t){const o=sm(i);null!==o&&null!==o[Cn]&&jd(o)}}(e)})}}return()=>{}},multi:!0}])}function yE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function vE(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function CE(e){return cr().compileDirectiveDeclaration(Tr,`ng:///${e.type.name}/\u0275fac.js`,e)}function ME(e){J0(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function xE(e){return cr().compileComponentDeclaration(Tr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function EE(e){return cr(function DE(e){switch(e){case Po.Directive:return"directive";case Po.Component:return"component";case Po.Injectable:return"injectable";case Po.Pipe:return"pipe";case Po.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Tr,`ng:///${e.type.name}/\u0275fac.js`,e)}function wE(e){return cr().compileInjectableDeclaration(Tr,`ng:///${e.type.name}/\u0275prov.js`,e)}function TE(e){return cr().compileInjectorDeclaration(Tr,`ng:///${e.type.name}/\u0275inj.js`,e)}function IE(e){return cr().compileNgModuleDeclaration(Tr,`ng:///${e.type.name}/\u0275mod.js`,e)}function SE(e){return cr().compilePipeDeclaration(Tr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function AE(e,t){const i=gn(e),o=t.elementInjector||ul();return new fa(i).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function LE(e){const t=gn(e);if(!t)return null;const i=new fa(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function kE(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{AbstractControl:()=>ut,AbstractControlDirective:()=>gt,AbstractFormGroupDirective:()=>xt,COMPOSITION_BUFFER_MODE:()=>l,CheckboxControlValueAccessor:()=>b,CheckboxRequiredValidator:()=>On,ControlContainer:()=>Bt,DefaultValueAccessor:()=>y,EmailValidator:()=>ui,FormArray:()=>Hr,FormArrayName:()=>yi,FormBuilder:()=>io,FormControl:()=>ri,FormControlDirective:()=>En,FormControlName:()=>C,FormGroup:()=>Pt,FormGroupDirective:()=>Ei,FormGroupName:()=>Ai,FormRecord:()=>Ve,FormsModule:()=>go,MaxLengthValidator:()=>oi,MaxValidator:()=>Ht,MinLengthValidator:()=>qn,MinValidator:()=>Jt,NG_ASYNC_VALIDATORS:()=>E,NG_VALIDATORS:()=>S,NG_VALUE_ACCESSOR:()=>u,NgControl:()=>Tt,NgControlStatus:()=>ze,NgControlStatusGroup:()=>at,NgForm:()=>mi,NgModel:()=>un,NgModelGroup:()=>Xe,NgSelectOption:()=>Pn,NonNullableFormBuilder:()=>ro,NumberValueAccessor:()=>si,PatternValidator:()=>Zi,RadioControlValueAccessor:()=>Fi,RangeValueAccessor:()=>fn,ReactiveFormsModule:()=>_o,RequiredValidator:()=>Vn,SelectControlValueAccessor:()=>Zt,SelectMultipleControlValueAccessor:()=>Ui,UntypedFormArray:()=>fo,UntypedFormBuilder:()=>Sr,UntypedFormControl:()=>ai,UntypedFormGroup:()=>qe,VERSION:()=>Ar,Validators:()=>X,isFormArray:()=>mo,isFormControl:()=>Ni,isFormGroup:()=>et,isFormRecord:()=>yt,\u0275InternalFormsSharedModule:()=>jr,\u0275NgNoValidate:()=>gn,\u0275NgSelectMultipleOption:()=>ir});var n=a(5879),c=a(6814),d=a(2459),g=a(9315),r=a(7398);let h=(()=>{class fe{constructor(J,Ke){this._renderer=J,this._elementRef=Ke,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,Ke){this._renderer.setProperty(this._elementRef.nativeElement,J,Ke)}registerOnTouched(J){this.onTouched=J}registerOnChange(J){this.onChange=J}setDisabledState(J){this.setProperty("disabled",J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe}),fe})(),f=(()=>{class fe extends h{}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const u=new n.InjectionToken("NgValueAccessor"),v={provide:u,useExisting:(0,n.forwardRef)(()=>b),multi:!0};let b=(()=>{class fe extends f{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(Dn){return Ke.onChange(Dn.target.checked)})("blur",function(){return Ke.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([v]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const p={provide:u,useExisting:(0,n.forwardRef)(()=>y),multi:!0},l=new n.InjectionToken("CompositionEventMode");let y=(()=>{class fe extends h{constructor(J,Ke,Xt){super(J,Ke),this._compositionMode=Xt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function _(){const fe=(0,c.\u0275getDOM)()?(0,c.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(fe.toLowerCase())}())}writeValue(J){this.setProperty("value",J??"")}_handleInput(J){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(J)}_compositionStart(){this._composing=!0}_compositionEnd(J){this._composing=!1,this._compositionMode&&this.onChange(J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(l,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("input",function(Dn){return Ke._handleInput(Dn.target.value)})("blur",function(){return Ke.onTouched()})("compositionstart",function(){return Ke._compositionStart()})("compositionend",function(Dn){return Ke._compositionEnd(Dn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([p]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function x(fe){return null==fe||("string"==typeof fe||Array.isArray(fe))&&0===fe.length}function D(fe){return null!=fe&&"number"==typeof fe.length}const S=new n.InjectionToken("NgValidators"),E=new n.InjectionToken("NgAsyncValidators"),I=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class X{static min(ce){return $(ce)}static max(ce){return ee(ce)}static required(ce){return ie(ce)}static requiredTrue(ce){return A(ce)}static email(ce){return U(ce)}static minLength(ce){return Me(ce)}static maxLength(ce){return Re(ce)}static pattern(ce){return Ae(ce)}static nullValidator(ce){return null}static compose(ce){return G(ce)}static composeAsync(ce){return se(ce)}}function $(fe){return ce=>{if(x(ce.value)||x(fe))return null;const J=parseFloat(ce.value);return!isNaN(J)&&J{if(x(ce.value)||x(fe))return null;const J=parseFloat(ce.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:ce.value}}:null}}function ie(fe){return x(fe.value)?{required:!0}:null}function A(fe){return!0===fe.value?null:{required:!0}}function U(fe){return x(fe.value)||I.test(fe.value)?null:{email:!0}}function Me(fe){return ce=>x(ce.value)||!D(ce.value)?null:ce.value.lengthD(ce.value)&&ce.value.length>fe?{maxlength:{requiredLength:fe,actualLength:ce.value.length}}:null}function Ae(fe){if(!fe)return he;let ce,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),ce=new RegExp(J)):(J=fe.toString(),ce=fe),Ke=>{if(x(Ke.value))return null;const Xt=Ke.value;return ce.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function he(fe){return null}function H(fe){return null!=fe}function W(fe){return(0,n.\u0275isPromise)(fe)?(0,d.D)(fe):fe}function pe(fe){let ce={};return fe.forEach(J=>{ce=null!=J?{...ce,...J}:ce}),0===Object.keys(ce).length?null:ce}function we(fe,ce){return ce.map(J=>J(fe))}function Be(fe){return fe.map(ce=>function Ee(fe){return!fe.validate}(ce)?ce:J=>ce.validate(J))}function G(fe){if(!fe)return null;const ce=fe.filter(H);return 0==ce.length?null:function(J){return pe(we(J,ce))}}function re(fe){return null!=fe?G(Be(fe)):null}function se(fe){if(!fe)return null;const ce=fe.filter(H);return 0==ce.length?null:function(J){const Ke=we(J,ce).map(W);return(0,g.D)(Ke).pipe((0,r.U)(pe))}}function ye(fe){return null!=fe?se(Be(fe)):null}function He(fe,ce){return null===fe?[ce]:Array.isArray(fe)?[...fe,ce]:[fe,ce]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function We(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,ce){return Array.isArray(fe)?fe.includes(ce):fe===ce}function Mt(fe,ce){const J=We(ce);return We(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Ft(fe,ce){return We(ce).filter(J=>!tt(fe,J))}class gt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ce){this._rawValidators=ce||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(ce){this._rawAsyncValidators=ce||[],this._composedAsyncValidatorFn=ye(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ce){this._onDestroyCallbacks.push(ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ce=>ce()),this._onDestroyCallbacks=[]}reset(ce=void 0){this.control&&this.control.reset(ce)}hasError(ce,J){return!!this.control&&this.control.hasError(ce,J)}getError(ce,J){return this.control?this.control.getError(ce,J):null}}class Bt extends gt{get formDirective(){return null}get path(){return null}}class Tt extends gt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class kt{constructor(ce){this._cd=ce}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ze=(()=>{class fe extends kt{constructor(J){super(J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Tt,2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275classProp("ng-untouched",Ke.isUntouched)("ng-touched",Ke.isTouched)("ng-pristine",Ke.isPristine)("ng-dirty",Ke.isDirty)("ng-valid",Ke.isValid)("ng-invalid",Ke.isInvalid)("ng-pending",Ke.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends kt{constructor(J){super(J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275classProp("ng-untouched",Ke.isUntouched)("ng-touched",Ke.isTouched)("ng-pristine",Ke.isPristine)("ng-dirty",Ke.isDirty)("ng-valid",Ke.isValid)("ng-invalid",Ke.isInvalid)("ng-pending",Ke.isPending)("ng-submitted",Ke.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const $e="VALID",ae="INVALID",Ce="PENDING",lt="DISABLED";function _e(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,ce){return(V(ce)?ce.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function K(fe,ce,J){const Ke=fe.controls;if(!(ce?Object.keys(Ke):Ke).length)throw new n.\u0275RuntimeError(1e3,"");if(!Ke[J])throw new n.\u0275RuntimeError(1001,"")}function ve(fe,ce,J){fe._forEachChild((Ke,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class ut{constructor(ce,J){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ce),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(ce){this._rawValidators=this._composedValidatorFn=ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=ce}get parent(){return this._parent}get valid(){return this.status===$e}get invalid(){return this.status===ae}get pending(){return this.status==Ce}get disabled(){return this.status===lt}get enabled(){return this.status!==lt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ce){this._assignValidators(ce)}setAsyncValidators(ce){this._assignAsyncValidators(ce)}addValidators(ce){this.setValidators(Mt(ce,this._rawValidators))}addAsyncValidators(ce){this.setAsyncValidators(Mt(ce,this._rawAsyncValidators))}removeValidators(ce){this.setValidators(Ft(ce,this._rawValidators))}removeAsyncValidators(ce){this.setAsyncValidators(Ft(ce,this._rawAsyncValidators))}hasValidator(ce){return tt(this._rawValidators,ce)}hasAsyncValidator(ce){return tt(this._rawAsyncValidators,ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ce={}){this.touched=!0,this._parent&&!ce.onlySelf&&this._parent.markAsTouched(ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ce=>ce.markAllAsTouched())}markAsUntouched(ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}markAsDirty(ce={}){this.pristine=!1,this._parent&&!ce.onlySelf&&this._parent.markAsDirty(ce)}markAsPristine(ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}markAsPending(ce={}){this.status=Ce,!1!==ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ce.onlySelf&&this._parent.markAsPending(ce)}disable(ce={}){const J=this._parentMarkedDirty(ce.onlySelf);this.status=lt,this.errors=null,this._forEachChild(Ke=>{Ke.disable({...ce,onlySelf:!0})}),this._updateValue(),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ce,skipPristineCheck:J}),this._onDisabledChange.forEach(Ke=>Ke(!0))}enable(ce={}){const J=this._parentMarkedDirty(ce.onlySelf);this.status=$e,this._forEachChild(Ke=>{Ke.enable({...ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent}),this._updateAncestors({...ce,skipPristineCheck:J}),this._onDisabledChange.forEach(Ke=>Ke(!1))}_updateAncestors(ce){this._parent&&!ce.onlySelf&&(this._parent.updateValueAndValidity(ce),ce.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ce){this._parent=ce}getRawValue(){return this.value}updateValueAndValidity(ce={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===$e||this.status===Ce)&&this._runAsyncValidator(ce.emitEvent)),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.updateValueAndValidity(ce)}_updateTreeValidity(ce={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lt:$e}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ce){if(this.asyncValidator){this.status=Ce,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(Ke=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ke,{emitEvent:ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ce,J={}){this.errors=ce,this._updateControlsErrors(!1!==J.emitEvent)}get(ce){let J=ce;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((Ke,Xt)=>Ke&&Ke._find(Xt),this)}getError(ce,J){const Ke=J?this.get(J):this;return Ke&&Ke.errors?Ke.errors[ce]:null}hasError(ce,J){return!!this.getError(ce,J)}get root(){let ce=this;for(;ce._parent;)ce=ce._parent;return ce}_updateControlsErrors(ce){this.status=this._calculateStatus(),ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ce)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?lt:this.errors?ae:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ce)?Ce:this._anyControlsHaveStatus(ae)?ae:$e}_anyControlsHaveStatus(ce){return this._anyControls(J=>J.status===ce)}_anyControlsDirty(){return this._anyControls(ce=>ce.dirty)}_anyControlsTouched(){return this._anyControls(ce=>ce.touched)}_updatePristine(ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}_updateTouched(ce={}){this.touched=this._anyControlsTouched(),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}_registerOnCollectionChange(ce){this._onCollectionChange=ce}_setUpdateStrategy(ce){V(ce)&&null!=ce.updateOn&&(this._updateOn=ce.updateOn)}_parentMarkedDirty(ce){return!ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ce){return null}_assignValidators(ce){this._rawValidators=Array.isArray(ce)?ce.slice():ce,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ye(fe):fe||null}(this._rawAsyncValidators)}}class Pt extends ut{constructor(ce,J,Ke){super(_e(J),De(Ke,J)),this.controls=ce,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ce,J){return this.controls[ce]?this.controls[ce]:(this.controls[ce]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(ce,J,Ke={}){this.registerControl(ce,J),this.updateValueAndValidity({emitEvent:Ke.emitEvent}),this._onCollectionChange()}removeControl(ce,J={}){this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),delete this.controls[ce],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(ce,J,Ke={}){this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),delete this.controls[ce],J&&this.registerControl(ce,J),this.updateValueAndValidity({emitEvent:Ke.emitEvent}),this._onCollectionChange()}contains(ce){return this.controls.hasOwnProperty(ce)&&this.controls[ce].enabled}setValue(ce,J={}){ve(this,0,ce),Object.keys(ce).forEach(Ke=>{K(this,!0,Ke),this.controls[Ke].setValue(ce[Ke],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(ce,J={}){null!=ce&&(Object.keys(ce).forEach(Ke=>{const Xt=this.controls[Ke];Xt&&Xt.patchValue(ce[Ke],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(ce={},J={}){this._forEachChild((Ke,Xt)=>{Ke.reset(ce[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(ce,J,Ke)=>(ce[Ke]=J.getRawValue(),ce))}_syncPendingControls(){let ce=this._reduceChildren(!1,(J,Ke)=>!!Ke._syncPendingControls()||J);return ce&&this.updateValueAndValidity({onlySelf:!0}),ce}_forEachChild(ce){Object.keys(this.controls).forEach(J=>{const Ke=this.controls[J];Ke&&ce(Ke,J)})}_setUpControls(){this._forEachChild(ce=>{ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ce){for(const[J,Ke]of Object.entries(this.controls))if(this.contains(J)&&ce(Ke))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,Ke,Xt)=>((Ke.enabled||this.disabled)&&(J[Xt]=Ke.value),J))}_reduceChildren(ce,J){let Ke=ce;return this._forEachChild((Xt,Dn)=>{Ke=J(Ke,Xt,Dn)}),Ke}_allControlsDisabled(){for(const ce of Object.keys(this.controls))if(this.controls[ce].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ce){return this.controls.hasOwnProperty(ce)?this.controls[ce]:null}}const qe=Pt,et=fe=>fe instanceof Pt;class Ve extends Pt{}const yt=fe=>fe instanceof Ve,Lt=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,ce){return[...ce.path,fe]}function Sn(fe,ce,J=on){fi(fe,ce),ce.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&ce.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,ce){ce.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&_t(fe,ce)})}(fe,ce),function mt(fe,ce){const J=(Ke,Xt)=>{ce.valueAccessor.writeValue(Ke),Xt&&ce.viewToModelUpdate(Ke)};fe.registerOnChange(J),ce._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,ce),function Et(fe,ce){ce.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&_t(fe,ce),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,ce),function xi(fe,ce){if(ce.valueAccessor.setDisabledState){const J=Ke=>{ce.valueAccessor.setDisabledState(Ke)};fe.registerOnDisabledChange(J),ce._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,ce)}function _n(fe,ce,J=!0){const Ke=()=>{};ce.valueAccessor&&(ce.valueAccessor.registerOnChange(Ke),ce.valueAccessor.registerOnTouched(Ke)),Vi(fe,ce),fe&&(ce._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,ce){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(ce)})}function fi(fe,ce){const J=Ze(fe);null!==ce.validator?fe.setValidators(He(J,ce.validator)):"function"==typeof J&&fe.setValidators([J]);const Ke=Qe(fe);null!==ce.asyncValidator?fe.setAsyncValidators(He(Ke,ce.asyncValidator)):"function"==typeof Ke&&fe.setAsyncValidators([Ke]);const Xt=()=>fe.updateValueAndValidity();Mn(ce._rawValidators,Xt),Mn(ce._rawAsyncValidators,Xt)}function Vi(fe,ce){let J=!1;if(null!==fe){if(null!==ce.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==ce.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==ce.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==ce.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const Ke=()=>{};return Mn(ce._rawValidators,Ke),Mn(ce._rawAsyncValidators,Ke),J}function _t(fe,ce){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,ce){fi(fe,ce)}function _i(fe,ce){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(ce,J.currentValue)}function ti(fe,ce){fe._syncPendingControls(),ce.forEach(J=>{const Ke=J.control;"submit"===Ke.updateOn&&Ke._pendingChange&&(J.viewToModelUpdate(Ke._pendingValue),Ke._pendingChange=!1)})}function an(fe,ce){if(!ce)return null;let J,Ke,Xt;return Array.isArray(ce),ce.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===f}(Dn)?Ke=Dn:Xt=Dn}),Xt||Ke||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,Ke,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Pt({},re(J),ye(Ke))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(J){Wn.then(()=>{const Ke=this._findContainer(J.path);J.control=Ke.registerControl(J.name,J.control),Sn(J.control,J,this.callSetDisabledState),J.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(J)})}getControl(J){return this.form.get(J.path)}removeControl(J){Wn.then(()=>{const Ke=this._findContainer(J.path);Ke&&Ke.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const Ke=this._findContainer(J.path),Xt=new Pt({});qt(Xt,J),Ke.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const Ke=this._findContainer(J.path);Ke&&Ke.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,Ke){Wn.then(()=>{this.form.get(J.path).setValue(Ke)})}setValue(J){this.control.setValue(J)}onSubmit(J){return this.submitted=!0,ti(this.form,this._directives),this.ngSubmit.emit(J),"dialog"===J?.target?.method}onReset(){this.resetForm()}resetForm(J=void 0){this.form.reset(J),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(J){return J.pop(),J.length?this.form.get(J):this.form}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("submit",function(Dn){return Ke.onSubmit(Dn)})("reset",function(){return Ke.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,ce){const J=fe.indexOf(ce);J>-1&&fe.splice(J,1)}function wi(fe){return"object"==typeof fe&&null!==fe&&2===Object.keys(fe).length&&"value"in fe&&"disabled"in fe}const ri=class extends ut{constructor(ce=null,J,Ke){super(_e(J),De(Ke,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ce),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(ce)?ce.value:ce)}setValue(ce,J={}){this.value=this._pendingValue=ce,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(Ke=>Ke(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(ce,J={}){this.setValue(ce,J)}reset(ce=this.defaultValue,J={}){this._applyFormState(ce),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ce){this._onChange.push(ce)}_unregisterOnChange(ce){Yn(this._onChange,ce)}registerOnDisabledChange(ce){this._onDisabledChange.push(ce)}_unregisterOnDisabledChange(ce){Yn(this._onDisabledChange,ce)}_forEachChild(ce){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ce){wi(ce)?(this.value=this._pendingValue=ce.value,ce.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ce}},ai=ri,Ni=fe=>fe instanceof ri;let xt=(()=>{class fe extends Bt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const le={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends xt{constructor(J,Ke,Xt){super(),this.name="",this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt)}_checkParentType(){}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,5),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([le]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,Ke,Xt,Dn,Wi,dr){super(),this._changeDetectorRef=Wi,this.callSetDisabledState=dr,this.control=new ri,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt),this.valueAccessor=an(0,Dn)}ngOnChanges(J){if(this._checkForErrors(),!this._registered||"name"in J){if(this._registered&&(this._checkName(),this.formDirective)){const Ke=J.name.previousValue;this.formDirective.removeControl({name:Ke,path:this._getPath(Ke)})}this._setUpControl()}"isDisabled"in J&&this._updateDisabled(J),_i(J,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(J){this.viewModel=J,this.update.emit(J)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Sn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(J){Wt.then(()=>{this.control.setValue(J,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(J){const Ke=J.isDisabled.currentValue,Xt=0!==Ke&&(0,n.booleanAttribute)(Ke);Wt.then(()=>{Xt&&!this.control.disabled?this.control.disable():!Xt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(J){return this._parent?xn(J,this._parent):[J]}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,9),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(u,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})(),gn=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),fe})();const pn={provide:u,useExisting:(0,n.forwardRef)(()=>si),multi:!0};let si=(()=>{class fe extends f{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=Ke=>{J(""==Ke?null:parseFloat(Ke))}}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("input",function(Dn){return Ke.onChange(Dn.target.value)})("blur",function(){return Ke.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([pn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const jn={provide:u,useExisting:(0,n.forwardRef)(()=>Fi),multi:!0};let bi=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({}),fe})(),Ti=(()=>{class fe{constructor(){this._accessors=[]}add(J,Ke){this._accessors.push([J,Ke])}remove(J){for(let Ke=this._accessors.length-1;Ke>=0;--Ke)if(this._accessors[Ke][1]===J)return void this._accessors.splice(Ke,1)}select(J){this._accessors.forEach(Ke=>{this._isSameGroup(Ke,J)&&Ke[1]!==J&&Ke[1].fireUncheck(J.value)})}_isSameGroup(J,Ke){return!!J[0].control&&J[0]._parent===Ke._control._parent&&J[1].name===Ke.name}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:bi}),fe})(),Fi=(()=>{class fe extends f{constructor(J,Ke,Xt,Dn){super(J,Ke),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(Lt,{optional:!0})??on}ngOnInit(){this._control=this._injector.get(Tt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(J){this._state=J===this.value,this.setProperty("checked",this._state)}registerOnChange(J){this._fn=J,this.onChange=()=>{J(this.value),this._registry.select(this)}}setDisabledState(J){(this.setDisabledStateFired||J||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",J),this.setDisabledStateFired=!0}fireUncheck(J){this.writeValue(J)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ti),n.\u0275\u0275directiveInject(n.Injector))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(){return Ke.onChange()})("blur",function(){return Ke.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([jn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Gi={provide:u,useExisting:(0,n.forwardRef)(()=>fn),multi:!0};let fn=(()=>{class fe extends f{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=Ke=>{J(""==Ke?null:parseFloat(Ke))}}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(Dn){return Ke.onChange(Dn.target.value)})("input",function(Dn){return Ke.onChange(Dn.target.value)})("blur",function(){return Ke.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Gi]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Cn=new n.InjectionToken("NgModelWithFormControlWarning"),tn={provide:Tt,useExisting:(0,n.forwardRef)(()=>En)};let En=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,Ke,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(Ke),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const Ke=J.form.previousValue;Ke&&_n(Ke,this,!1),Sn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}_i(J,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_n(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(J){this.viewModel=J,this.update.emit(J)}_isControlChanged(J){return J.hasOwnProperty("form")}}return fe._ngModelWarningSentOnce=!1,fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(u,10),n.\u0275\u0275directiveInject(Cn,8),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([tn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const ei={provide:Bt,useExisting:(0,n.forwardRef)(()=>Ei)};let Ei=(()=>{class fe extends Bt{constructor(J,Ke,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(J),this._setAsyncValidators(Ke)}ngOnChanges(J){this._checkFormPresent(),J.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Vi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(J){const Ke=this.form.get(J.path);return Sn(Ke,J,this.callSetDisabledState),Ke.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),Ke}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,ce){const J=fe.indexOf(ce);J>-1&&fe.splice(J,1)}(this.directives,J)}addFormGroup(J){this._setUpFormContainer(J)}removeFormGroup(J){this._cleanUpFormContainer(J)}getFormGroup(J){return this.form.get(J.path)}addFormArray(J){this._setUpFormContainer(J)}removeFormArray(J){this._cleanUpFormContainer(J)}getFormArray(J){return this.form.get(J.path)}updateModel(J,Ke){this.form.get(J.path).setValue(Ke)}onSubmit(J){return this.submitted=!0,ti(this.form,this.directives),this.ngSubmit.emit(J),"dialog"===J?.target?.method}onReset(){this.resetForm()}resetForm(J=void 0){this.form.reset(J),this.submitted=!1}_updateDomValue(){this.directives.forEach(J=>{const Ke=J.control,Xt=this.form.get(J.path);Ke!==Xt&&(_n(Ke||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const Ke=this.form.get(J.path);qt(Ke,J),Ke.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const Ke=this.form.get(J.path);Ke&&function nn(fe,ce){return Vi(fe,ce)}(Ke,J)&&Ke.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fi(this.form,this),this._oldForm&&Vi(this._oldForm,this)}_checkFormPresent(){}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("submit",function(Dn){return Ke.onSubmit(Dn)})("reset",function(){return Ke.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([ei]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const tr={provide:Bt,useExisting:(0,n.forwardRef)(()=>Ai)};let Ai=(()=>{class fe extends xt{constructor(J,Ke,Xt){super(),this.name=null,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt)}_checkParentType(){Je(this._parent)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([tr]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const ar={provide:Bt,useExisting:(0,n.forwardRef)(()=>yi)};let yi=(()=>{class fe extends Bt{constructor(J,Ke,Xt){super(),this.name=null,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return xn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Je(this._parent)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([ar]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Je(fe){return!(fe instanceof Ai||fe instanceof Ei||fe instanceof yi)}const Rt={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,Ke,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Wi,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt),this.valueAccessor=an(0,Dn)}ngOnChanges(J){this._added||this._setUpControl(),_i(J,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(J){this.viewModel=J,this.update.emit(J)}get path(){return xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return fe._ngModelWarningSentOnce=!1,fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(u,10),n.\u0275\u0275directiveInject(Cn,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Rt]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Pe(fe,ce){return null==fe?`${ce}`:(ce&&"object"==typeof ce&&(ce="Object"),`${fe}: ${ce}`.slice(0,50))}let Zt=(()=>{class fe extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){this.value=J;const Xt=Pe(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=Ke=>{this.value=this._getOptionValue(Ke),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const Ke of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ke),J))return Ke;return null}_getOptionValue(J){const Ke=function rt(fe){return fe.split(":")[0]}(J);return this._optionMap.has(Ke)?this._optionMap.get(Ke):J}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(Dn){return Ke.onChange(Dn.target.value)})("blur",function(){return Ke.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,Ke,Xt){this._element=J,this._renderer=Ke,this._select=Xt,this._select&&(this.id=this._select._registerOption())}set ngValue(J){null!=this._select&&(this._select._optionMap.set(this.id,J),this._setElementValue(Pe(this.id,J)),this._select.writeValue(this._select.value))}set value(J){this._setElementValue(J),this._select&&this._select.writeValue(this._select.value)}_setElementValue(J){this._renderer.setProperty(this._element.nativeElement,"value",J)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Zt,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),fe})();const ji={provide:u,useExisting:(0,n.forwardRef)(()=>Ui),multi:!0};function Pi(fe,ce){return null==fe?`${ce}`:("string"==typeof ce&&(ce=`'${ce}'`),ce&&"object"==typeof ce&&(ce="Object"),`${fe}: ${ce}`.slice(0,50))}let Ui=(()=>{class fe extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let Ke;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));Ke=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else Ke=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(Ke)}registerOnChange(J){this.onChange=Ke=>{const Xt=[],Dn=Ke.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,Ke,Xt){this._element=J,this._renderer=Ke,this._select=Xt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(J){null!=this._select&&(this._value=J,this._setElementValue(Pi(this.id,J)),this._select.writeValue(this._select.value))}set value(J){this._select?(this._value=J,this._setElementValue(Pi(this.id,J)),this._select.writeValue(this._select.value)):this._setElementValue(J)}_setElementValue(J){this._renderer.setProperty(this._element.nativeElement,"value",J)}_setSelected(J){this._renderer.setProperty(this._element.nativeElement,"selected",J)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ui,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),fe})();function wt(fe){return"number"==typeof fe?fe:parseInt(fe,10)}function vt(fe){return"number"==typeof fe?fe:parseFloat(fe)}let pt=(()=>{class fe{constructor(){this._validator=he}ngOnChanges(J){if(this.inputName in J){const Ke=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(Ke),this._validator=this._enabled?this.createValidator(Ke):he,this._onChange&&this._onChange()}}validate(J){return this._validator(J)}registerOnValidatorChange(J){this._onChange=J}enabled(J){return null!=J}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();const St={provide:S,useExisting:(0,n.forwardRef)(()=>Ht),multi:!0};let Ht=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("max",Ke._enabled?Ke.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([St]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Yt={provide:S,useExisting:(0,n.forwardRef)(()=>Jt),multi:!0};let Jt=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("min",Ke._enabled?Ke.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Yt]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const yn={provide:S,useExisting:(0,n.forwardRef)(()=>Vn),multi:!0},vn={provide:S,useExisting:(0,n.forwardRef)(()=>On),multi:!0};let Vn=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("required",Ke._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([yn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),On=(()=>{class fe extends Vn{constructor(){super(...arguments),this.createValidator=J=>A}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("required",Ke._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([vn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const vi={provide:S,useExisting:(0,n.forwardRef)(()=>ui),multi:!0};let ui=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Mi={provide:S,useExisting:(0,n.forwardRef)(()=>qn),multi:!0};let qn=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Me(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("minlength",Ke._enabled?Ke.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Mi]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const ni={provide:S,useExisting:(0,n.forwardRef)(()=>oi),multi:!0};let oi=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("maxlength",Ke._enabled?Ke.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([ni]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ii={provide:S,useExisting:(0,n.forwardRef)(()=>Zi),multi:!0};let Zi=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("pattern",Ke._enabled?Ke.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ii]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),jr=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[bi]}),fe})();class Hr extends ut{constructor(ce,J,Ke){super(_e(J),De(Ke,J)),this.controls=ce,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ce){return this.controls[this._adjustIndex(ce)]}push(ce,J={}){this.controls.push(ce),this._registerControl(ce),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(ce,J,Ke={}){this.controls.splice(ce,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:Ke.emitEvent})}removeAt(ce,J={}){let Ke=this._adjustIndex(ce);Ke<0&&(Ke=0),this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),this.controls.splice(Ke,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(ce,J,Ke={}){let Xt=this._adjustIndex(ce);Xt<0&&(Xt=0),this.controls[Xt]&&this.controls[Xt]._registerOnCollectionChange(()=>{}),this.controls.splice(Xt,1),J&&(this.controls.splice(Xt,0,J),this._registerControl(J)),this.updateValueAndValidity({emitEvent:Ke.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ce,J={}){ve(this,0,ce),ce.forEach((Ke,Xt)=>{K(this,!1,Xt),this.at(Xt).setValue(Ke,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(ce,J={}){null!=ce&&(ce.forEach((Ke,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(Ke,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(ce=[],J={}){this._forEachChild((Ke,Xt)=>{Ke.reset(ce[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(ce=>ce.getRawValue())}clear(ce={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ce.emitEvent}))}_adjustIndex(ce){return ce<0?ce+this.length:ce}_syncPendingControls(){let ce=this.controls.reduce((J,Ke)=>!!Ke._syncPendingControls()||J,!1);return ce&&this.updateValueAndValidity({onlySelf:!0}),ce}_forEachChild(ce){this.controls.forEach((J,Ke)=>{ce(J,Ke)})}_updateValue(){this.value=this.controls.filter(ce=>ce.enabled||this.disabled).map(ce=>ce.value)}_anyControls(ce){return this.controls.some(J=>J.enabled&&ce(J))}_setUpControls(){this._forEachChild(ce=>this._registerControl(ce))}_allControlsDisabled(){for(const ce of this.controls)if(ce.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ce){ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange)}_find(ce){return this.at(ce)??null}}const fo=Hr,mo=fe=>fe instanceof Hr;function po(fe){return!!fe&&(void 0!==fe.asyncValidators||void 0!==fe.validators||void 0!==fe.updateOn)}let io=(()=>{class fe{constructor(){this.useNonNullable=!1}get nonNullable(){const J=new fe;return J.useNonNullable=!0,J}group(J,Ke=null){const Xt=this._reduceControls(J);let Dn={};return po(Ke)?Dn=Ke:null!==Ke&&(Dn.validators=Ke.validator,Dn.asyncValidators=Ke.asyncValidator),new Pt(Xt,Dn)}record(J,Ke=null){const Xt=this._reduceControls(J);return new Ve(Xt,Ke)}control(J,Ke,Xt){let Dn={};return this.useNonNullable?(po(Ke)?Dn=Ke:(Dn.validators=Ke,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,Ke,Xt)}array(J,Ke,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,Ke,Xt)}_reduceControls(J){const Ke={};return Object.keys(J).forEach(Xt=>{Ke[Xt]=this._createControl(J[Xt])}),Ke}_createControl(J){return J instanceof ri||J instanceof ut?J:Array.isArray(J)?this.control(J[0],J.length>1?J[1]:null,J.length>2?J[2]:null):this.control(J)}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),ro=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return(0,n.inject)(io).nonNullable},providedIn:"root"}),fe})(),Sr=(()=>{class fe extends io{group(J,Ke=null){return super.group(J,Ke)}control(J,Ke,Xt){return super.control(J,Ke,Xt)}array(J,Ke,Xt){return super.array(J,Ke,Xt)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();const Ar=new n.Version("16.1.7");let go=(()=>{class fe{static withConfig(J){return{ngModule:fe,providers:[{provide:Lt,useValue:J.callSetDisabledState??on}]}}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[jr]}),fe})(),_o=(()=>{class fe{static withConfig(J){return{ngModule:fe,providers:[{provide:Cn,useValue:J.warnOnNgModelWithFormControl??"always"},{provide:Lt,useValue:J.callSetDisabledState??on}]}}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[jr]}),fe})()},3680:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{AnimationCurves:()=>$,AnimationDurations:()=>ee,DateAdapter:()=>re,ErrorStateMatcher:()=>Ft,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>se,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>zt,MAT_OPTION_PARENT_COMPONENT:()=>ge,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>gt,MatLineModule:()=>kt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Ne,MatOption:()=>lt,MatOptionModule:()=>De,MatOptionSelectionChange:()=>ae,MatPseudoCheckbox:()=>bt,MatPseudoCheckboxModule:()=>Oe,MatRipple:()=>Ct,MatRippleModule:()=>dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>We,RippleRef:()=>Le,RippleRenderer:()=>Q,ShowOnDirtyErrorStateMatcher:()=>Mt,VERSION:()=>X,_MatOptgroupBase:()=>Nt,_MatOptionBase:()=>Ce,_countGroupLabelsBeforeOption:()=>_e,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>he,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),h=a(2831),f=a(2495),u=a(5592),v=a(8645),b=a(7921),p=a(6028);const _=["*",[["mat-option"],["ng-container"]]],l=["*","mat-option, ng-container"],y=["text"];function x(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&F){const K=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",K.disabled)("state",K.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const K=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",K.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const K=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",K.group.label,")")}}const E=[[["mat-icon"]],"*"],I=["mat-icon","*"],X=new n.Version("16.1.6");let $=(()=>{class F{}return F.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",F.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",F.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",F.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",F})(),ee=(()=>{class F{}return F.COMPLEX="375ms",F.ENTERING="225ms",F.EXITING="195ms",F})();const A=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function ie(){return!0}});let U=(()=>{class F{constructor(K,ve,ut){this._sanityChecks=ve,this._document=ut,this._hasDoneGlobalChecks=!1,K._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(K){return!(0,h.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[K])}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275inject(c.qm),n.\u0275\u0275inject(A,8),n.\u0275\u0275inject(r.DOCUMENT))},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.vT,d.vT]}),F})();function he(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,f.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(K){const ve=K||this.defaultColor;ve!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ve&&this._elementRef.nativeElement.classList.add(`mat-${ve}`),this._color=ve)}constructor(...K){super(...K),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,f.Ig)(V)}constructor(...V){super(...V),this._disableRipple=!1}}}function pe(F,V=0){return class extends F{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(K){this._tabIndex=null!=K?(0,f.su)(K):this.defaultTabIndex}constructor(...K){super(...K),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Pt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Pt!==V&&(this.errorState=Pt,this.stateChanges.next())}constructor(...V){super(...V),this.errorState=!1}}}function Ee(F){return class extends F{constructor(...V){super(...V),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new u.y(K=>{this._isInitialized?this._notifySubscriber(K):this._pendingSubscribers.push(K)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(V){V.next(),V.complete()}}}const Be=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:G});function G(){return(0,n.inject)(n.LOCALE_ID)}class re{constructor(){this._localeChanges=new v.x,this.localeChanges=this._localeChanges}getValidDateOrNull(V){return this.isDateInstance(V)&&this.isValid(V)?V:null}deserialize(V){return null==V||this.isDateInstance(V)&&this.isValid(V)?V:this.invalid()}setLocale(V){this.locale=V,this._localeChanges.next()}compareDate(V,K){return this.getYear(V)-this.getYear(K)||this.getMonth(V)-this.getMonth(K)||this.getDate(V)-this.getDate(K)}sameDate(V,K){if(V&&K){let ve=this.isValid(V),ut=this.isValid(K);return ve&&ut?!this.compareDate(V,K):ve==ut}return V==K}clampDate(V,K,ve){return K&&this.compareDate(V,K)<0?K:ve&&this.compareDate(V,ve)>0?ve:V}}const se=new n.InjectionToken("mat-date-formats"),ye=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const K=Array(F);for(let ve=0;ve{class F extends re{constructor(K,ve){super(),this.useUtcForDisplay=!1,super.setLocale(K)}getYear(K){return K.getFullYear()}getMonth(K){return K.getMonth()}getDate(K){return K.getDate()}getDayOfWeek(K){return K.getDay()}getMonthNames(K){const ve=new Intl.DateTimeFormat(this.locale,{month:K,timeZone:"utc"});return He(12,ut=>this._format(ve,new Date(2017,ut,1)))}getDateNames(){const K=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,ve=>this._format(K,new Date(2017,0,ve+1)))}getDayOfWeekNames(K){const ve=new Intl.DateTimeFormat(this.locale,{weekday:K,timeZone:"utc"});return He(7,ut=>this._format(ve,new Date(2017,0,ut+1)))}getYearName(K){const ve=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(ve,K)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(K){return this.getDate(this._createDateWithOverflow(this.getYear(K),this.getMonth(K)+1,0))}clone(K){return new Date(K.getTime())}createDate(K,ve,ut){let Pt=this._createDateWithOverflow(K,ve,ut);return Pt.getMonth(),Pt}today(){return new Date}parse(K,ve){return"number"==typeof K?new Date(K):K?new Date(Date.parse(K)):null}format(K,ve){if(!this.isValid(K))throw Error("NativeDateAdapter: Cannot format invalid date.");const ut=new Intl.DateTimeFormat(this.locale,{...ve,timeZone:"utc"});return this._format(ut,K)}addCalendarYears(K,ve){return this.addCalendarMonths(K,12*ve)}addCalendarMonths(K,ve){let ut=this._createDateWithOverflow(this.getYear(K),this.getMonth(K)+ve,this.getDate(K));return this.getMonth(ut)!=((this.getMonth(K)+ve)%12+12)%12&&(ut=this._createDateWithOverflow(this.getYear(ut),this.getMonth(ut),0)),ut}addCalendarDays(K,ve){return this._createDateWithOverflow(this.getYear(K),this.getMonth(K),this.getDate(K)+ve)}toIso8601(K){return[K.getUTCFullYear(),this._2digit(K.getUTCMonth()+1),this._2digit(K.getUTCDate())].join("-")}deserialize(K){if("string"==typeof K){if(!K)return null;if(ye.test(K)){let ve=new Date(K);if(this.isValid(ve))return ve}}return super.deserialize(K)}isDateInstance(K){return K instanceof Date}isValid(K){return!isNaN(K.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(K,ve,ut){const Pt=new Date;return Pt.setFullYear(K,ve,ut),Pt.setHours(0,0,0,0),Pt}_2digit(K){return("00"+K).slice(-2)}_format(K,ve){const ut=new Date;return ut.setUTCFullYear(ve.getFullYear(),ve.getMonth(),ve.getDate()),ut.setUTCHours(ve.getHours(),ve.getMinutes(),ve.getSeconds(),ve.getMilliseconds()),K.format(ut)}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(h.t4))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})();const Qe={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let We=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:re,useClass:Ze}]}),F})(),tt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:se,useValue:Qe}],imports:[We]}),F})(),Mt=(()=>{class F{isErrorState(K,ve){return!!(K&&K.invalid&&(K.dirty||ve&&ve.submitted))}}return F.\u0275fac=function(K){return new(K||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Ft=(()=>{class F{isErrorState(K,ve){return!!(K&&K.invalid&&(K.touched||ve&&ve.submitted))}}return F.\u0275fac=function(K){return new(K||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),gt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,K="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:ve})=>{Tt(V,`${K}-2-line`,!1),Tt(V,`${K}-3-line`,!1),Tt(V,`${K}-multi-line`,!1),2===ve||3===ve?Tt(V,`${K}-${ve}-line`,!0):ve>3&&Tt(V,`${K}-multi-line`,!0)})}function Tt(F,V,K){F.nativeElement.classList.toggle(V,K)}let kt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,K,ve,ut=!1){this._renderer=V,this.element=K,this.config=ve,this._animationForciblyDisabledThroughCss=ut,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ct=(0,h.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const K=(0,h.sA)(V);K&&this._events.get(V.type)?.forEach((ve,ut)=>{(ut===K||ut.contains(K))&&ve.forEach(Pt=>Pt.handleEvent(V))})}}addHandler(V,K,ve,ut){const Pt=this._events.get(K);if(Pt){const qe=Pt.get(ve);qe?qe.add(ut):Pt.set(ve,new Set([ut]))}else this._events.set(K,new Map([[ve,new Set([ut])]])),V.runOutsideAngular(()=>{document.addEventListener(K,this._delegateEventHandler,ct)})}removeHandler(V,K,ve){const ut=this._events.get(V);if(!ut)return;const Pt=ut.get(K);Pt&&(Pt.delete(ve),0===Pt.size&&ut.delete(K),0===ut.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,ct)))}}const at={enterDuration:225,exitDuration:150},oe=(0,h.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class Q{constructor(V,K,ve,ut){this._target=V,this._ngZone=K,this._platform=ut,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ut.isBrowser&&(this._containerElement=(0,f.fI)(ve))}fadeInRipple(V,K,ve={}){const ut=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Pt={...at,...ve.animation};ve.centered&&(V=ut.left+ut.width/2,K=ut.top+ut.height/2);const qe=ve.radius||function ue(F,V,K){const ve=Math.max(Math.abs(F-K.left),Math.abs(F-K.right)),ut=Math.max(Math.abs(V-K.top),Math.abs(V-K.bottom));return Math.sqrt(ve*ve+ut*ut)}(V,K,ut),et=V-ut.left,Ve=K-ut.top,yt=Pt.enterDuration,Lt=document.createElement("div");Lt.classList.add("mat-ripple-element"),Lt.style.left=et-qe+"px",Lt.style.top=Ve-qe+"px",Lt.style.height=2*qe+"px",Lt.style.width=2*qe+"px",null!=ve.color&&(Lt.style.backgroundColor=ve.color),Lt.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(Lt);const on=window.getComputedStyle(Lt),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===ut.width&&0===ut.height,Mn=new Le(this,Lt,ve,_n);Lt.style.transform="scale3d(1, 1, 1)",Mn.state=0,ve.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Pt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);Lt.addEventListener("transitionend",fi),Lt.addEventListener("transitioncancel",Vi),xi={onTransitionEnd:fi,onTransitionCancel:Vi}}),this._activeRipples.set(Mn,xi),(_n||!yt)&&this._finishRippleTransition(Mn),Mn}fadeOutRipple(V){if(2===V.state||3===V.state)return;const K=V.element,ve={...at,...V.config.animation};K.style.transitionDuration=`${ve.exitDuration}ms`,K.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!ve.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const K=(0,f.fI)(V);!this._platform.isBrowser||!K||K===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=K,Y.forEach(ve=>{Q._eventManager.addHandler(this._ngZone,ve,K,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(K=>{this._triggerElement.addEventListener(K,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const K=V===this._mostRecentTransientRipple,{persistent:ve}=V.config;V.state=1,!ve&&(!K||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const K=this._activeRipples.get(V)??null;this._activeRipples.delete(V),this._activeRipples.size||(this._containerRect=null),V===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),V.state=3,null!==K&&(V.element.removeEventListener("transitionend",K.onTransitionEnd),V.element.removeEventListener("transitioncancel",K.onTransitionCancel)),V.element.remove()}_onMousedown(V){const K=(0,c.X6)(V),ve=this._lastTouchStartEvent&&Date.now(){!V.config.persistent&&(1===V.state||V.config.terminateOnPointerUp&&0===V.state)&&V.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const V=this._triggerElement;V&&(Y.forEach(K=>Q._eventManager.removeHandler(K,V,this)),this._pointerUpEventsRegistered&&ne.forEach(K=>V.removeEventListener(K,this,oe)))}}Q._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let Ct=(()=>{class F{get disabled(){return this._disabled}set disabled(K){K&&this.fadeOutAllNonPersistent(),this._disabled=K,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(K){this._trigger=K,this._setupTriggerEventsIfEnabled()}constructor(K,ve,ut,Pt,qe){this._elementRef=K,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Pt||{},this._rippleRenderer=new Q(this,ve,K,ut)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(K,ve=0,ut){return"number"==typeof K?this._rippleRenderer.fadeInRipple(K,ve,{...this.rippleConfig,...ut}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...K})}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(h.t4),n.\u0275\u0275directiveInject(Te,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(K,ve){2&K&&n.\u0275\u0275classProp("mat-ripple-unbounded",ve.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),F})(),dt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),bt=(()=>{class F{constructor(K){this._animationMode=K,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(K,ve){2&K&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===ve.state)("mat-pseudo-checkbox-checked","checked"===ve.state)("mat-pseudo-checkbox-disabled",ve.disabled)("mat-pseudo-checkbox-minimal","minimal"===ve.appearance)("mat-pseudo-checkbox-full","full"===ve.appearance)("_mat-animation-noopable","NoopAnimations"===ve._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(K,ve){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),F})(),Oe=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const ge=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),ot=he(class{});let At=0,Nt=(()=>{class F extends ot{constructor(K){super(),this._labelId="mat-optgroup-label-"+At++,this._inert=K?.inertGroups??!1}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(ge,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const zt=new n.InjectionToken("MatOptgroup");let Ne=(()=>{class F extends Nt{}return F.\u0275fac=function(){let V;return function(ve){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(ve||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(K,ve){2&K&&n.\u0275\u0275attribute("role",ve._inert?null:"group")("aria-disabled",ve._inert?null:ve.disabled.toString())("aria-labelledby",ve._inert?null:ve._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:zt,useExisting:F}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:l,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(K,ve){1&K&&(n.\u0275\u0275projectionDef(_),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&K&&(n.\u0275\u0275classProp("mdc-list-item--disabled",ve.disabled),n.\u0275\u0275property("id",ve._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",ve.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0}),F})(),$e=0;class ae{constructor(V,K=!1){this.source=V,this.isUserInput=K}}let Ce=(()=>{class F{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(K){this._disabled=(0,f.Ig)(K)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(K,ve,ut,Pt){this._element=K,this._changeDetectorRef=ve,this._parent=ut,this.group=Pt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$e++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(K=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),K&&this._emitSelectionChangeEvent())}deselect(K=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),K&&this._emitSelectionChangeEvent())}focus(K,ve){const ut=this._getHostElement();"function"==typeof ut.focus&&ut.focus(ve)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(K){(K.keyCode===p.K5||K.keyCode===p.L_)&&!(0,p.Vb)(K)&&(this._selectViaInteraction(),K.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const K=this.viewValue;K!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=K)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(K=!1){this.onSelectionChange.emit(new ae(this,K))}}return F.\u0275fac=function(K){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(K,ve){if(1&K&&n.\u0275\u0275viewQuery(y,7),2&K){let ut;n.\u0275\u0275queryRefresh(ut=n.\u0275\u0275loadQuery())&&(ve._text=ut.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),lt=(()=>{class F extends Ce{constructor(K,ve,ut,Pt){super(K,ve,ut,Pt)}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ge,8),n.\u0275\u0275directiveInject(zt,8))},F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(K,ve){1&K&&n.\u0275\u0275listener("click",function(){return ve._selectViaInteraction()})("keydown",function(Pt){return ve._handleKeydown(Pt)}),2&K&&(n.\u0275\u0275hostProperty("id",ve.id),n.\u0275\u0275attribute("aria-selected",ve.selected)("aria-disabled",ve.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",ve.selected)("mat-mdc-option-multiple",ve.multiple)("mat-mdc-option-active",ve.active)("mdc-list-item--disabled",ve.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:I,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(K,ve){1&K&&(n.\u0275\u0275projectionDef(E),n.\u0275\u0275template(0,x,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,D,1,1,"mat-pseudo-checkbox",3),n.\u0275\u0275template(6,S,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&K&&(n.\u0275\u0275property("ngIf",ve.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!ve.multiple&&ve.selected&&!ve.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ve.group&&ve.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",ve._getHostElement())("matRippleDisabled",ve.disabled||ve.disableRipple))},dependencies:[Ct,r.NgIf,bt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),F})();function _e(F,V,K){if(K.length){let ve=V.toArray(),ut=K.toArray(),Pt=0;for(let qe=0;qeK+ve?Math.max(0,F-ve+V):K}let De=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[dt,r.CommonModule,U,Oe]}),F})()},5616:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{DateRange:()=>_n,DefaultMatCalendarRangeStrategy:()=>qt,MAT_DATEPICKER_SCROLL_STRATEGY:()=>ri,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>ai,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ni,MAT_DATEPICKER_VALIDATORS:()=>Wt,MAT_DATEPICKER_VALUE_ACCESSOR:()=>Ot,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>mt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Et,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>_t,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>et,MatCalendarCell:()=>K,MatCalendarHeader:()=>Wn,MatDateRangeInput:()=>ei,MatDateRangePicker:()=>Ei,MatDateSelectionModel:()=>Mn,MatDatepicker:()=>O,MatDatepickerActions:()=>ar,MatDatepickerApply:()=>tr,MatDatepickerCancel:()=>Ai,MatDatepickerContent:()=>jt,MatDatepickerInput:()=>un,MatDatepickerInputEvent:()=>me,MatDatepickerIntl:()=>V,MatDatepickerModule:()=>yi,MatDatepickerToggle:()=>pn,MatDatepickerToggleIcon:()=>gn,MatEndDate:()=>tn,MatMonthView:()=>Nn,MatMultiYearView:()=>_i,MatRangeDateSelectionModel:()=>fi,MatSingleDateSelectionModel:()=>xi,MatStartDate:()=>Cn,MatYearView:()=>Tn,matDatepickerAnimations:()=>Yn,yearsPerPage:()=>wn,yearsPerRow:()=>Xn});var n=a(4300),c=a(9594),d=a(8484),g=a(6814),r=a(5879),h=a(2831),f=a(3680);const u=["mat-button",""],v=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],b=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],D=["mat-icon-button",""],S=["*"],I={capture:!0},X=["focus","click","mouseenter","touchstart"],$="mat-button-ripple-uninitialized";let ee=(()=>{class Je{constructor(){this._document=(0,r.inject)(g.DOCUMENT,{optional:!0}),this._animationMode=(0,r.inject)(r.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,r.inject)(f.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(h.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Pe=C.target.closest(`[${$}]`);Pe&&(Pe.removeAttribute($),this._appendRipple(Pe))},this._ngZone.runOutsideAngular(()=>{for(const C of X)this._document?.addEventListener(C,this._onInteraction,I)})}ngOnDestroy(){for(const C of X)this._document?.removeEventListener(C,this._onInteraction,I)}_appendRipple(C){if(!this._document)return;const te=this._document.createElement("span");te.classList.add("mat-mdc-button-ripple");const Pe=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Pe.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new f.RippleRenderer(Pe,this._ngZone,te,this._platform).setupTriggerEvents(C),C.append(te)}_createMatRipple(C){if(!this._document)return;C.querySelector(".mat-mdc-button-ripple")?.remove(),C.removeAttribute($);const te=this._document.createElement("span");te.classList.add("mat-mdc-button-ripple");const Pe=new f.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Pe._isInitialized=!0,Pe.trigger=C,C.append(te),Pe}}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();class ie{constructor(Rt,C,te){this._button=Rt,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Rt,C){this.rippleConfig=Rt||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Me=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Re=(0,f.mixinColor)((0,f.mixinDisabled)((0,f.mixinDisableRipple)(class{constructor(Je){this._elementRef=Je}})));let Ae=(()=>{class Je extends Re{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(C){this._ripple=C}constructor(C,te,Pe,rt){super(C),this._platform=te,this._ngZone=Pe,this._animationMode=rt,this._focusMonitor=(0,r.inject)(n.tE),this._rippleLoader=(0,r.inject)(ee),this._isFab=!1;const Zt=C.nativeElement.classList;for(const Pn of Me)this._hasHostAttributes(Pn.selector)&&Pn.mdcClasses.forEach(ji=>{Zt.add(ji)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnChanges(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(C="program",te){C?this._focusMonitor.focusVia(this._elementRef.nativeElement,C,te):this._elementRef.nativeElement.focus(te)}_hasHostAttributes(...C){return C.some(te=>this._elementRef.nativeElement.hasAttribute(te))}}return Je.\u0275fac=function(C){r.\u0275\u0275invalidFactory()},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,features:[r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature]}),Je})(),pe=(()=>{class Je extends Ae{constructor(C,te,Pe,rt){super(C,te,Pe,rt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(h.t4),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(C,te){2&C&&(r.\u0275\u0275attribute("disabled",te.disabled||null),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===te._animationMode)("mat-unthemed",!te.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(v),r.\u0275\u0275element(0,"span",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementStart(2,"span",1),r.\u0275\u0275projection(3,1),r.\u0275\u0275elementEnd(),r.\u0275\u0275projection(4,2),r.\u0275\u0275element(5,"span",2)(6,"span",3)),2&C&&r.\u0275\u0275classProp("mdc-button__ripple",!te._isFab)("mdc-fab__ripple",te._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Je})(),Qe=(()=>{class Je extends Ae{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(C,te,Pe,rt){super(C,te,Pe,rt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(h.t4),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(C,te){2&C&&(r.\u0275\u0275attribute("disabled",te.disabled||null),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===te._animationMode)("mat-unthemed",!te.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:D,ngContentSelectors:S,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275element(0,"span",0),r.\u0275\u0275projection(1),r.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Je})(),tt=(()=>{class Je{}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275mod=r.\u0275\u0275defineNgModule({type:Je}),Je.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatRippleModule,f.MatCommonModule]}),Je})();var Mt=a(6672),Ft=a(8645),gt=a(7394),Bt=a(3019),Tt=a(2096),kt=a(6028),Le=a(9388),ct=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),Q=a(4516);const ue=["mat-calendar-body",""];function Te(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",3)(1,"td",4),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()),2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275styleProp("padding-top",C._cellPadding)("padding-bottom",C._cellPadding),r.\u0275\u0275attribute("colspan",C.numCols),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.label," ")}}function Ct(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"td",4),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Je){const C=r.\u0275\u0275nextContext(2);r.\u0275\u0275styleProp("padding-top",C._cellPadding)("padding-bottom",C._cellPadding),r.\u0275\u0275attribute("colspan",C._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C._firstRowOffset>=C.labelMinRequiredCells?C.label:""," ")}}function dt(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Pe){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Pe))})("focus",function(Pe){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Pe))}),r.\u0275\u0275elementStart(2,"span",10),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"span",11),r.\u0275\u0275elementEnd()()}if(2&Je){const C=Rt.$implicit,te=Rt.index,Pe=r.\u0275\u0275nextContext().index,rt=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",rt._cellWidth)("padding-top",rt._cellPadding)("padding-bottom",rt._cellPadding),r.\u0275\u0275attribute("data-mat-row",Pe)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",rt._isActiveCell(Pe,te))("mat-calendar-body-range-start",rt._isRangeStart(C.compareValue))("mat-calendar-body-range-end",rt._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",rt._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",rt._isComparisonBridgeStart(C.compareValue,Pe,te))("mat-calendar-body-comparison-bridge-end",rt._isComparisonBridgeEnd(C.compareValue,Pe,te))("mat-calendar-body-comparison-start",rt._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",rt._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",rt._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",rt._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",rt._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",rt._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",rt._isActiveCell(Pe,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",rt._isSelected(C.compareValue))("aria-current",rt.todayValue===C.compareValue?"date":null)("aria-describedby",rt._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",rt._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",rt._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",rt.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function bt(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,Ct,2,6,"td",6),r.\u0275\u0275template(2,dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Rt.$implicit,te=Rt.index,Pe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Pe._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function Oe(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"th",5)(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"span",7),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd()()),2&Je){const C=Rt.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const ge=["*"];function ot(Je,Rt){}function At(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt.activeDate=Pe)})("_userSelection",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._dateSelected(Pe))})("dragStarted",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._dragStarted(Pe))})("dragEnded",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._dragEnded(Pe))}),r.\u0275\u0275elementEnd()}if(2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",C.activeDate)("selected",C.selected)("dateFilter",C.dateFilter)("maxDate",C.maxDate)("minDate",C.minDate)("dateClass",C.dateClass)("comparisonStart",C.comparisonStart)("comparisonEnd",C.comparisonEnd)("startDateAccessibleName",C.startDateAccessibleName)("endDateAccessibleName",C.endDateAccessibleName)("activeDrag",C._activeDrag)}}function Nt(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt.activeDate=Pe)})("monthSelected",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._monthSelectedInYearView(Pe))})("selectedChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._goToDateInView(Pe,"month"))}),r.\u0275\u0275elementEnd()}if(2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",C.activeDate)("selected",C.selected)("dateFilter",C.dateFilter)("maxDate",C.maxDate)("minDate",C.minDate)("dateClass",C.dateClass)}}function zt(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt.activeDate=Pe)})("yearSelected",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._yearSelectedInMultiYearView(Pe))})("selectedChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._goToDateInView(Pe,"year"))}),r.\u0275\u0275elementEnd()}if(2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",C.activeDate)("selected",C.selected)("dateFilter",C.dateFilter)("maxDate",C.maxDate)("minDate",C.minDate)("dateClass",C.dateClass)}}function Ne(Je,Rt){}const $e=["button"];function ae(Je,Rt){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const Ce=[[["","matDatepickerToggleIcon",""]]],lt=["[matDatepickerToggleIcon]"],_e=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Rt){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Ft.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(C,te){return`${C} \u2013 ${te}`}formatYearRangeLabel(C,te){return`${C} to ${te}`}}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();class K{constructor(Rt,C,te,Pe,rt={},Zt=Rt,Pn){this.value=Rt,this.displayValue=C,this.ariaLabel=te,this.enabled=Pe,this.cssClasses=rt,this.compareValue=Zt,this.rawValue=Pn}}let ve=1;const ut=(0,h.i$)({passive:!1,capture:!0}),Pt=(0,h.i$)({passive:!0,capture:!0}),qe=(0,h.i$)({passive:!0});let et=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(h.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new r.EventEmitter,this.previewChange=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this.dragStarted=new r.EventEmitter,this.dragEnded=new r.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=Pe=>{if(this._skipNextFocus&&"focus"===Pe.type)this._skipNextFocus=!1;else if(Pe.target&&this.isRange){const rt=this._getCellFromElement(Pe.target);rt&&this._ngZone.run(()=>this.previewChange.emit({value:rt.enabled?rt:null,event:Pe}))}},this._touchmoveHandler=Pe=>{if(!this.isRange)return;const rt=Sn(Pe),Zt=rt?this._getCellFromElement(rt):null;rt!==Pe.target&&(this._didDragSinceMouseDown=!0),yt(Pe.target)&&Pe.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Pe}))},this._leaveHandler=Pe=>{null!==this.previewEnd&&this.isRange&&("blur"!==Pe.type&&(this._didDragSinceMouseDown=!0),Pe.target&&this._getCellFromElement(Pe.target)&&(!Pe.relatedTarget||!this._getCellFromElement(Pe.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Pe})))},this._mousedownHandler=Pe=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const rt=Pe.target&&this._getCellFromElement(Pe.target);!rt||!this._isInRange(rt.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:rt.rawValue,event:Pe})})},this._mouseupHandler=Pe=>{if(!this.isRange)return;const rt=yt(Pe.target);rt?rt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(rt);this.dragEnded.emit({value:Zt?.rawValue??null,event:Pe})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Pe})})},this._touchendHandler=Pe=>{const rt=Sn(Pe);rt&&this._mouseupHandler({target:rt})},this._id="mat-calendar-body-"+ve++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Pe=C.nativeElement;Pe.addEventListener("touchmove",this._touchmoveHandler,ut),Pe.addEventListener("mouseenter",this._enterHandler,Pt),Pe.addEventListener("focus",this._enterHandler,Pt),Pe.addEventListener("mouseleave",this._leaveHandler,Pt),Pe.addEventListener("blur",this._leaveHandler,Pt),Pe.addEventListener("mousedown",this._mousedownHandler,qe),Pe.addEventListener("touchstart",this._mousedownHandler,qe),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(C,te){this._didDragSinceMouseDown||C.enabled&&this.selectedValueChange.emit({value:C.value,event:te})}_emitActiveDateChange(C,te){C.enabled&&this.activeDateChange.emit({value:C.value,event:te})}_isSelected(C){return this.startValue===C||this.endValue===C}ngOnChanges(C){const te=C.numCols,{rows:Pe,numCols:rt}=this;(C.rows||te)&&(this._firstRowOffset=Pe&&Pe.length&&Pe[0].length?rt-Pe[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/rt+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/rt+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,ut),C.removeEventListener("mouseenter",this._enterHandler,Pt),C.removeEventListener("focus",this._enterHandler,Pt),C.removeEventListener("mouseleave",this._leaveHandler,Pt),C.removeEventListener("blur",this._leaveHandler,Pt),C.removeEventListener("mousedown",this._mousedownHandler,qe),C.removeEventListener("touchstart",this._mousedownHandler,qe),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(C,te){let Pe=C*this.numCols+te;return C&&(Pe-=this._firstRowOffset),Pe==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ct.q)(1)).subscribe(()=>{setTimeout(()=>{const te=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");te&&(C||(this._skipNextFocus=!0),te.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(C){return Lt(C,this.startValue,this.endValue)}_isRangeEnd(C){return on(C,this.startValue,this.endValue)}_isInRange(C){return xn(C,this.startValue,this.endValue,this.isRange)}_isComparisonStart(C){return Lt(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Pe){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let rt=this.rows[te][Pe-1];if(!rt){const Zt=this.rows[te-1];rt=Zt&&Zt[Zt.length-1]}return rt&&!this._isRangeEnd(rt.compareValue)}_isComparisonBridgeEnd(C,te,Pe){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let rt=this.rows[te][Pe+1];if(!rt){const Zt=this.rows[te+1];rt=Zt&&Zt[0]}return rt&&!this._isRangeStart(rt.compareValue)}_isComparisonEnd(C){return on(C,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(C){return xn(C,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(C){return this.comparisonStart===this.comparisonEnd&&C===this.comparisonStart}_isPreviewStart(C){return Lt(C,this.previewStart,this.previewEnd)}_isPreviewEnd(C){return on(C,this.previewStart,this.previewEnd)}_isInPreview(C){return xn(C,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(C){return this.isRange?this.startValue===C&&this.endValue===C?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===C?this._startDateLabelId:this.endValue===C?this._endDateLabelId:null:null}_getCellFromElement(C){const te=yt(C);if(te){const Pe=te.getAttribute("data-mat-row"),rt=te.getAttribute("data-mat-col");if(Pe&&rt)return this.rows[parseInt(Pe)][parseInt(rt)]}return null}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[r.\u0275\u0275NgOnChangesFeature],attrs:ue,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(C,te){1&C&&(r.\u0275\u0275template(0,Te,3,6,"tr",0),r.\u0275\u0275template(1,bt,3,2,"tr",1),r.\u0275\u0275elementStart(2,"label",2),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"label",2),r.\u0275\u0275text(5),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275property("ngIf",te._firstRowOffset=Rt&&Je===C}function xn(Je,Rt,C,te){return te&&null!==Rt&&null!==C&&Rt!==C&&Je>=Rt&&Je<=C}function Sn(Je){const Rt=Je.changedTouches[0];return document.elementFromPoint(Rt.clientX,Rt.clientY)}class _n{constructor(Rt,C){this.start=Rt,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Ft.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Pe=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Pe})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(C){return this._adapter.isDateInstance(C)&&this._adapter.isValid(C)}}return Je.\u0275fac=function(C){r.\u0275\u0275invalidFactory()},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})(),xi=(()=>{class Je extends Mn{constructor(C){super(null,C)}add(C){super.updateSelection(C,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const C=new Je(this._adapter);return C.updateSelection(this.selection,this),C}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(f.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})(),fi=(()=>{class Je extends Mn{constructor(C){super(new _n(null,null),C)}add(C){let{start:te,end:Pe}=this.selection;null==te?te=C:null==Pe?Pe=C:(te=C,Pe=null),super.updateSelection(new _n(te,Pe),this)}isValid(){const{start:C,end:te}=this.selection;return null==C&&null==te||(null!=C&&null!=te?this._isValidDateInstance(C)&&this._isValidDateInstance(te)&&this._adapter.compareDate(C,te)<=0:(null==C||this._isValidDateInstance(C))&&(null==te||this._isValidDateInstance(te)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const C=new Je(this._adapter);return C.updateSelection(this.selection,this),C}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(f.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Rt){return Je||new xi(Rt)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],f.DateAdapter],useFactory:Vi};function Et(Je,Rt){return Je||new fi(Rt)}const _t={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],f.DateAdapter],useFactory:Et},mt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Pe,end:rt}=te;return null==Pe?Pe=C:null==rt&&C&&this._dateAdapter.compareDate(C,Pe)>=0?rt=C:(Pe=C,rt=null),new _n(Pe,rt)}createPreview(C,te){let Pe=null,rt=null;return te.start&&!te.end&&C&&(Pe=te.start,rt=C),new _n(Pe,rt)}createDrag(C,te,Pe){let rt=te.start,Zt=te.end;if(!rt||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(rt,Zt),Pi=Pn.getYear(Pe)-Pn.getYear(C),Li=Pn.getMonth(Pe)-Pn.getMonth(C),Qi=Pn.getDate(Pe)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(rt=Pe,Pn.compareDate(Pe,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Pe,Pn.compareDate(Pe,rt)<0&&(rt=Pn.addCalendarYears(rt,Pi),rt=Pn.addCalendarMonths(rt,Li),rt=Pn.addCalendarDays(rt,Qi))):(rt=Pn.addCalendarYears(rt,Pi),rt=Pn.addCalendarMonths(rt,Li),rt=Pn.addCalendarDays(rt,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(rt,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(f.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:mt,deps:[[new r.Optional,new r.SkipSelf,mt],f.DateAdapter],useFactory:function nn(Je,Rt){return Je||new qt(Rt)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),this._hasSameMonthAndYear(te,this._activeDate)||this._init()}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}constructor(C,te,Pe,rt,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Pe,this._dir=rt,this._rangeStrategy=Zt,this._rerenderSubscription=gt.w0.EMPTY,this.activeDrag=null,this.selectedChange=new r.EventEmitter,this._userSelection=new r.EventEmitter,this.dragStarted=new r.EventEmitter,this.dragEnded=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ze.O)(null)).subscribe(()=>this._init())}ngOnChanges(C){const te=C.comparisonStart||C.comparisonEnd;te&&!te.firstChange&&this._setRanges(this.selected),C.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(C){const te=C.value,Pe=this._getDateFromDayOfMonth(te);let rt,Zt;this._selected instanceof _n?(rt=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):rt=Zt=this._getDateInCurrentMonth(this._selected),(rt!==te||Zt!==te)&&this.selectedChange.emit(Pe),this._userSelection.emit({value:Pe,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Pe=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Pe=this._isRtl();switch(C.keyCode){case kt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Pe?1:-1);break;case kt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Pe?-1:1);break;case kt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case kt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case kt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case kt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case kt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case kt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case kt.K5:case kt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case kt.hY:return void(null!=this._previewEnd&&!(0,kt.Vb)(C)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:C}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:C})),C.preventDefault(),C.stopPropagation()));default:return}this._dateAdapter.compareDate(te,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),C.preventDefault()}_handleCalendarBodyKeyup(C){(C.keyCode===kt.L_||C.keyCode===kt.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:C}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let C=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(C)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(C){this._matCalendarBody._focusActiveCell(C)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:C,value:te}){if(this._rangeStrategy){const Pe=te?te.rawValue:null,rt=this._rangeStrategy.createPreview(Pe,this.selected,C);if(this._previewStart=this._getCellCompareValue(rt.start),this._previewEnd=this._getCellCompareValue(rt.end),this.activeDrag&&Pe){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Pe,C);Zt&&(this._previewStart=this._getCellCompareValue(Zt.start),this._previewEnd=this._getCellCompareValue(Zt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(C){if(this.activeDrag)if(C.value){const te=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,C.value,C.event);this.dragEnded.emit({value:te??null,event:C.event})}else this.dragEnded.emit({value:null,event:C.event})}_getDateFromDayOfMonth(C){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),C)}_initWeekdays(){const C=this._dateAdapter.getFirstDayOfWeek(),te=this._dateAdapter.getDayOfWeekNames("narrow");let rt=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=rt.slice(C).concat(rt.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Pe=0,rt=this._firstWeekOffset;Pe=0)&&(!this.maxDate||this._dateAdapter.compareDate(C,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(C))}_getDateInCurrentMonth(C){return C&&this._hasSameMonthAndYear(C,this.activeDate)?this._dateAdapter.getDate(C):null}_hasSameMonthAndYear(C,te){return!(!C||!te||this._dateAdapter.getMonth(C)!=this._dateAdapter.getMonth(te)||this._dateAdapter.getYear(C)!=this._dateAdapter.getYear(te))}_getCellCompareValue(C){if(C){const te=this._dateAdapter.getYear(C),Pe=this._dateAdapter.getMonth(C),rt=this._dateAdapter.getDate(C);return new Date(te,Pe,rt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(C){C instanceof _n?(this._rangeStart=this._getCellCompareValue(C.start),this._rangeEnd=this._getCellCompareValue(C.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(C),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(C){return!this.dateFilter||this.dateFilter(C)}_clearPreview(){this._previewStart=this._previewEnd=null}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(mt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(et,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Pe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[r.\u0275\u0275NgOnChangesFeature],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(C,te){1&C&&(r.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),r.\u0275\u0275template(3,Oe,5,2,"th",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"tr"),r.\u0275\u0275element(5,"th",3),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"tbody",4),r.\u0275\u0275listener("selectedValueChange",function(rt){return te._dateSelected(rt)})("activeDateChange",function(rt){return te._updateActiveDate(rt)})("previewChange",function(rt){return te._previewChanged(rt)})("dragStarted",function(rt){return te.dragStarted.emit(rt)})("dragEnded",function(rt){return te._dragEnded(rt)})("keyup",function(rt){return te._handleCalendarBodyKeyup(rt)})("keydown",function(rt){return te._handleCalendarBodyKeydown(rt)}),r.\u0275\u0275elementEnd()()),2&C&&(r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",te._weekdays),r.\u0275\u0275advance(3),r.\u0275\u0275property("label",te._monthLabel)("rows",te._weeks)("todayValue",te._todayDate)("startValue",te._rangeStart)("endValue",te._rangeEnd)("comparisonStart",te._comparisonRangeStart)("comparisonEnd",te._comparisonRangeEnd)("previewStart",te._previewStart)("previewEnd",te._previewEnd)("isRange",te._isRange)("labelMinRequiredCells",3)("activeCell",te._dateAdapter.getDate(te.activeDate)-1)("startDateAccessibleName",te.startDateAccessibleName)("endDateAccessibleName",te.endDateAccessibleName))},dependencies:[g.NgForOf,et],encapsulation:2,changeDetection:0}),Je})();const wn=24,Xn=4;let _i=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){let te=this._activeDate;const Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),$n(this._dateAdapter,te,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C)),this._setSelectedYear(C)}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}constructor(C,te,Pe){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Pe,this._rerenderSubscription=gt.w0.EMPTY,this.selectedChange=new r.EventEmitter,this.yearSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ze.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const te=this._dateAdapter.getYear(this._activeDate)-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Pe=0,rt=[];Pethis._createCellForYear(Zt))),rt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Pe=this._dateAdapter.createDate(te,0,1),rt=this._getDateFromYear(te);this.yearSelected.emit(Pe),this.selectedChange.emit(rt)}_updateActiveDate(C){const Pe=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Pe=this._isRtl();switch(C.keyCode){case kt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pe?1:-1);break;case kt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pe?-1:1);break;case kt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case kt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case kt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case kt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case kt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case kt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case kt.K5:case kt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),C.preventDefault()}_handleCalendarBodyKeyup(C){(C.keyCode===kt.L_||C.keyCode===kt.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:C}),this._selectionKeyPressed=!1)}_getActiveCell(){return ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(C){const te=this._dateAdapter.getMonth(this.activeDate),Pe=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Pe))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Pe=this._dateAdapter.getYearName(te),rt=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new K(C,Pe,Pe,this._shouldEnableYear(C),rt)}_shouldEnableYear(C){if(null==C||this.maxDate&&C>this._dateAdapter.getYear(this.maxDate)||this.minDate&&C{class Je{get activeDate(){return this._activeDate}set activeDate(C){let te=this._activeDate;const Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),this._dateAdapter.getYear(te)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C)),this._setSelectedMonth(C)}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}constructor(C,te,Pe,rt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Pe,this._dir=rt,this._rerenderSubscription=gt.w0.EMPTY,this.selectedChange=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ze.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(C){const te=C.value,Pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Pe);const rt=this._getDateFromMonth(te);this.selectedChange.emit(rt)}_updateActiveDate(C){const Pe=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Pe=this._isRtl();switch(C.keyCode){case kt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Pe?1:-1);break;case kt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Pe?-1:1);break;case kt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case kt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case kt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case kt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case kt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case kt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case kt.K5:case kt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),C.preventDefault()}_handleCalendarBodyKeyup(C){(C.keyCode===kt.L_||C.keyCode===kt.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:C}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let C=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(te=>te.map(Pe=>this._createCellForMonth(Pe,C[Pe]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(C){return C&&this._dateAdapter.getYear(C)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(C):null}_getDateFromMonth(C){const te=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),Pe=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Pe))}_createCellForMonth(C,te){const Pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),rt=this._dateAdapter.format(Pe,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Pe,"year"):void 0;return new K(C,te.toLocaleUpperCase(),rt,this._shouldEnableMonth(C),Zt)}_shouldEnableMonth(C){const te=this._dateAdapter.getYear(this.activeDate);if(null==C||this._isYearAndMonthAfterMaxDate(te,C)||this._isYearAndMonthBeforeMinDate(te,C))return!1;if(!this.dateFilter)return!0;for(let rt=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(rt)==C;rt=this._dateAdapter.addCalendarDays(rt,1))if(this.dateFilter(rt))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Pe=this._dateAdapter.getYear(this.maxDate),rt=this._dateAdapter.getMonth(this.maxDate);return C>Pe||C===Pe&&te>rt}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Pe=this._dateAdapter.getYear(this.minDate),rt=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Pe,rt,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Pe,this._dateFormats=rt,this._id="mat-calendar-header-"+Rn++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Zt.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-wn)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:wn)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(C,te){return"month"==this.calendar.currentView?this._dateAdapter.getYear(C)==this._dateAdapter.getYear(te)&&this._dateAdapter.getMonth(C)==this._dateAdapter.getMonth(te):"year"==this.calendar.currentView?this._dateAdapter.getYear(C)==this._dateAdapter.getYear(te):$n(this._dateAdapter,C,te,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const te=this._dateAdapter.getYear(this.calendar.activeDate)-ti(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Pe=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Pe,0,1))]}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(V),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>mi)),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ge,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),r.\u0275\u0275listener("click",function(){return te.currentPeriodClicked()}),r.\u0275\u0275elementStart(3,"span",3),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(5,"svg",4),r.\u0275\u0275element(6,"polygon",5),r.\u0275\u0275elementEnd()(),r.\u0275\u0275namespaceHTML(),r.\u0275\u0275element(7,"div",6),r.\u0275\u0275projection(8),r.\u0275\u0275elementStart(9,"button",7),r.\u0275\u0275listener("click",function(){return te.previousClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"button",8),r.\u0275\u0275listener("click",function(){return te.nextClicked()}),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(11,"label",9),r.\u0275\u0275text(12),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275advance(2),r.\u0275\u0275attribute("aria-label",te.periodButtonLabel)("aria-describedby",te._periodButtonLabelId),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(te.periodButtonText),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-invert","month"!==te.calendar.currentView),r.\u0275\u0275advance(4),r.\u0275\u0275property("disabled",!te.previousEnabled()),r.\u0275\u0275attribute("aria-label",te.prevButtonLabel),r.\u0275\u0275advance(1),r.\u0275\u0275property("disabled",!te.nextEnabled()),r.\u0275\u0275attribute("aria-label",te.nextButtonLabel),r.\u0275\u0275advance(1),r.\u0275\u0275property("id",te._periodButtonLabelId),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te.periodButtonDescription))},dependencies:[pe,Qe],encapsulation:2,changeDetection:0}),Je})(),mi=(()=>{class Je{get startAt(){return this._startAt}set startAt(C){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get activeDate(){return this._clampedActiveDate}set activeDate(C){this._clampedActiveDate=this._dateAdapter.clampDate(C,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(C){const te=this._currentView!==C?C:null;this._currentView=C,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),te&&this.viewChanged.emit(te)}constructor(C,te,Pe,rt){this._dateAdapter=te,this._dateFormats=Pe,this._changeDetectorRef=rt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new r.EventEmitter,this.yearSelected=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.viewChanged=new r.EventEmitter(!0),this._userSelection=new r.EventEmitter,this._userDragDrop=new r.EventEmitter,this._activeDrag=null,this.stateChanges=new Ft.x,this._intlChanges=C.changes.subscribe(()=>{rt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new d.C5(this.headerComponent||Wn),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(C){const te=C.minDate&&!this._dateAdapter.sameDate(C.minDate.previousValue,C.minDate.currentValue)?C.minDate:void 0,Pe=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,rt=te||Pe||C.dateFilter;if(rt&&!rt.firstChange){const Zt=this._getCurrentViewComponent();Zt&&(this._changeDetectorRef.detectChanges(),Zt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(C){const te=C.value;(this.selected instanceof _n||te&&!this._dateAdapter.sameDate(te,this.selected))&&this.selectedChange.emit(te),this._userSelection.emit(C)}_yearSelectedInMultiYearView(C){this.yearSelected.emit(C)}_monthSelectedInYearView(C){this.monthSelected.emit(C)}_goToDateInView(C,te){this.activeDate=C,this.currentView=te}_dragStarted(C){this._activeDrag=C}_dragEnded(C){this._activeDrag&&(C.value&&this._userDragDrop.emit(C),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(V),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar"]],viewQuery:function(C,te){if(1&C&&(r.\u0275\u0275viewQuery(Nn,5),r.\u0275\u0275viewQuery(Tn,5),r.\u0275\u0275viewQuery(_i,5)),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te.monthView=Pe.first),r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te.yearView=Pe.first),r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te.multiYearView=Pe.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[r.\u0275\u0275ProvidersFeature([Yi]),r.\u0275\u0275NgOnChangesFeature],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(C,te){1&C&&(r.\u0275\u0275template(0,ot,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,At,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Nt,1,6,"mat-year-view",3),r.\u0275\u0275template(4,zt,1,6,"mat-multi-year-view",4),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275property("cdkPortalOutlet",te._calendarHeaderPortal),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitch",te.currentView),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","month"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","year"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","multi-year"))},dependencies:[g.NgSwitch,g.NgSwitchCase,n.kH,d.Pl,Nn,Tn,_i],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),Je})();const Yn={transformPanel:(0,oe.X$)("transformPanel",[(0,oe.eR)("void => enter-dropdown",(0,oe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,oe.F4)([(0,oe.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,oe.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,oe.eR)("void => enter-dialog",(0,oe.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,oe.F4)([(0,oe.oB)({opacity:0,transform:"scale(0.7)"}),(0,oe.oB)({transform:"none",opacity:1})]))),(0,oe.eR)("* => void",(0,oe.jt)("100ms linear",(0,oe.oB)({opacity:0})))]),fadeInCalendar:(0,oe.X$)("fadeInCalendar",[(0,oe.SB)("void",(0,oe.oB)({opacity:0})),(0,oe.SB)("enter",(0,oe.oB)({opacity:1})),(0,oe.eR)("void => *",(0,oe.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let wi=0;const ri=new r.InjectionToken("mat-datepicker-scroll-strategy");function ai(Je){return()=>Je.scrollStrategies.reposition()}const Ni={provide:ri,deps:[c.aV],useFactory:ai},xt=(0,f.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends xt{constructor(C,te,Pe,rt,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Pe,this._dateAdapter=rt,this._rangeSelectionStrategy=Zt,this._subscriptions=new gt.w0,this._animationDone=new Ft.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Pn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(C){const te=this._model.selection,Pe=C.value,rt=te instanceof _n;if(rt&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Pe,te,C.event);this._model.updateSelection(Zt,this)}else Pe&&(rt||!this._dateAdapter.sameDate(Pe,te))&&this._model.add(Pe);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(C){this._model.updateSelection(C.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(C){this._isAnimating="start"===C.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(C,te){this._model=C?this._globalModel.clone():this._globalModel,this._actionsPortal=C,te&&this._changeDetectorRef.detectChanges()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Mn),r.\u0275\u0275directiveInject(f.DateAdapter),r.\u0275\u0275directiveInject(mt,8),r.\u0275\u0275directiveInject(V))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker-content"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(mi,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._calendar=Pe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(rt){return te._handleAnimationEvent(rt)})("@transformPanel.done",function(rt){return te._handleAnimationEvent(rt)}),2&C&&(r.\u0275\u0275syntheticHostProperty("@transformPanel",te._animationState),r.\u0275\u0275classProp("mat-datepicker-content-touch",te.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(C,te){if(1&C&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),r.\u0275\u0275listener("yearSelected",function(rt){return te.datepicker._selectYear(rt)})("monthSelected",function(rt){return te.datepicker._selectMonth(rt)})("viewChanged",function(rt){return te.datepicker._viewChanged(rt)})("_userSelection",function(rt){return te._handleUserSelection(rt)})("_userDragDrop",function(rt){return te._handleUserDragDrop(rt)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Ne,0,0,"ng-template",2),r.\u0275\u0275elementStart(3,"button",3),r.\u0275\u0275listener("focus",function(){return te._closeButtonFocused=!0})("blur",function(){return te._closeButtonFocused=!1})("click",function(){return te.datepicker.close()}),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd()()),2&C){let Pe;r.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",te.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",te._actionsPortal),r.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(Pe=te._dialogLabelId)&&void 0!==Pe?Pe:void 0),r.\u0275\u0275advance(1),r.\u0275\u0275property("id",te.datepicker.id)("ngClass",te.datepicker.panelClass)("startAt",te.datepicker.startAt)("startView",te.datepicker.startView)("minDate",te.datepicker._getMinDate())("maxDate",te.datepicker._getMaxDate())("dateFilter",te.datepicker._getDateFilter())("headerComponent",te.datepicker.calendarHeaderComponent)("selected",te._getSelected())("dateClass",te.datepicker.dateClass)("comparisonStart",te.comparisonStart)("comparisonEnd",te.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",te.startDateAccessibleName)("endDateAccessibleName",te.endDateAccessibleName),r.\u0275\u0275advance(1),r.\u0275\u0275property("cdkPortalOutlet",te._actionsPortal),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("cdk-visually-hidden",!te._closeButtonFocused),r.\u0275\u0275property("color",te.color||"primary"),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te._closeButtonText)}},dependencies:[g.NgClass,pe,n.mK,d.Pl,mi],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Yn.transformPanel,Yn.fadeInCalendar]},changeDetection:0}),Je})(),ke=(()=>{class Je{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(C){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(C){this._color=C}get touchUi(){return this._touchUi}set touchUi(C){this._touchUi=(0,N.Ig)(C)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(C){const te=(0,N.Ig)(C);te!==this._disabled&&(this._disabled=te,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(C){this._restoreFocus=(0,N.Ig)(C)}get panelClass(){return this._panelClass}set panelClass(C){this._panelClass=(0,N.du)(C)}get opened(){return this._opened}set opened(C){(0,N.Ig)(C)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(C,te,Pe,rt,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Pe,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=gt.w0.EMPTY,this._document=(0,r.inject)(g.DOCUMENT),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.viewChanged=new r.EventEmitter(!0),this.openedStream=new r.EventEmitter,this.closedStream=new r.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+wi++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ft.x,this._scrollStrategy=rt}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Pe=this._overlayRef.getConfig().positionStrategy;Pe instanceof c._G&&(this._setConnectedPositions(Pe),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(C){this._model.add(C)}_selectYear(C){this.yearSelected.emit(C)}_selectMonth(C){this.monthSelected.emit(C)}_viewChanged(C){this.viewChanged.emit(C)}registerInput(C){return this._inputStateChanges.unsubscribe(),this.datepickerInput=C,this._inputStateChanges=C.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(C){this._actionsPortal=C,this._componentRef?.instance._assignActions(C,!0)}removeActions(C){C===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,h.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const C=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,te=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Pe,location:rt}=this._componentRef;Pe._startExitAnimation(),Pe._animationDone.pipe((0,ct.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||rt.nativeElement.contains(Zt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}C?setTimeout(te):te()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(C){C.datepicker=this,C.color=this.color,C._dialogLabelId=this.datepickerInput.getOverlayLabelId(),C._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const C=this.touchUi,te=new d.C5(jt,this._viewContainerRef),Pe=this._overlayRef=this._overlay.create(new c.X_({positionStrategy:C?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[C?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:C?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(C?"dialog":"popup")}));this._getCloseStream(Pe).subscribe(rt=>{rt&&rt.preventDefault(),this.close()}),Pe.keydownEvents().subscribe(rt=>{const Zt=rt.keyCode;(Zt===kt.LH||Zt===kt.JH||Zt===kt.oh||Zt===kt.SV||Zt===kt.Ku||Zt===kt.VM)&&rt.preventDefault()}),this._componentRef=Pe.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,ct.q)(1)).subscribe(()=>Pe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const C=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(C)}_setConnectedPositions(C){const te="end"===this.xPosition?"end":"start",Pe="start"===te?"end":"start",rt="above"===this.yPosition?"bottom":"top",Zt="top"===rt?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:rt},{originX:te,originY:rt,overlayX:te,overlayY:Zt},{originX:Pe,originY:Zt,overlayX:Pe,overlayY:rt},{originX:Pe,originY:rt,overlayX:Pe,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Pe=>Pe.keyCode===kt.hY&&!(0,kt.Vb)(Pe)||this.datepickerInput&&(0,kt.Vb)(Pe,"altKey")&&Pe.keyCode===kt.LH&&te.every(rt=>!(0,kt.Vb)(Pe,rt)))))}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(c.aV),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(ri),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(Mn))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[r.\u0275\u0275NgOnChangesFeature]}),Je})(),O=(()=>{class Je extends ke{}return Je.\u0275fac=function(){let Rt;return function(te){return(Rt||(Rt=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[r.\u0275\u0275ProvidersFeature([Yi,{provide:ke,useExisting:Je}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(C,te){},encapsulation:2,changeDetection:0}),Je})();class me{constructor(Rt,C){this.target=Rt,this.targetElement=C,this.value=this.target.value}}let le=(()=>{class Je{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(C){this._assignValueProgrammatically(C)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(C){const te=(0,N.Ig)(C),Pe=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Pe.blur&&Pe.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(C){this._model=C,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(te=>{if(this._shouldHandleChangeEvent(te)){const Pe=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Pe),this._cvaOnChange(Pe),this._onTouched(),this._formatValue(Pe),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Pe){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Pe,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Ft.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=gt.w0.EMPTY,this._localeSubscription=gt.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=rt=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=rt=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=rt=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),Pn=this._getMaxDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)>=0?null:{matDatepickerMax:{max:Pn,actual:Zt}}},this._lastValueValid=!1,this._localeSubscription=te.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(C){Xe(C,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(C){this._validatorOnChange=C}validate(C){return this._validator?this._validator(C):null}writeValue(C){this._assignValueProgrammatically(C)}registerOnChange(C){this._cvaOnChange=C}registerOnTouched(C){this._onTouched=C}setDisabledState(C){this.disabled=C}_onKeydown(C){(0,kt.Vb)(C,"altKey")&&C.keyCode===kt.JH&&["ctrlKey","shiftKey","metaKey"].every(rt=>!(0,kt.Vb)(C,rt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Pe=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Pe),Pe=this._dateAdapter.getValidDateOrNull(Pe);const rt=!this._dateAdapter.sameDate(Pe,this.value);!Pe||rt?this._cvaOnChange(Pe):(C&&!this.value&&this._cvaOnChange(Pe),te!==this._lastValueValid&&this._validatorOnChange()),rt&&(this._assignValue(Pe),this.dateInput.emit(new me(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new me(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(C){this._elementRef.nativeElement.value=null!=C?this._dateAdapter.format(C,this._dateFormats.display.dateInput):""}_assignValue(C){this._model?(this._assignValueToModel(C),this._pendingValue=null):this._pendingValue=C}_isValidValue(C){return!C||this._dateAdapter.isValid(C)}_parentDisabled(){return!1}_assignValueProgrammatically(C){C=this._dateAdapter.deserialize(C),this._lastValueValid=this._isValidValue(C),C=this._dateAdapter.getValidDateOrNull(C),this._assignValue(C),this._formatValue(C)}_matchesFilter(C){const te=this._getDateFilter();return!te||te(C)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275NgOnChangesFeature]}),Je})();function Xe(Je,Rt){const C=Object.keys(Je);for(let te of C){const{previousValue:Pe,currentValue:rt}=Je[te];if(!Rt.isDateInstance(Pe)||!Rt.isDateInstance(rt))return!0;if(!Rt.sameDate(Pe,rt))return!0}return!1}const Ot={provide:Y.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(()=>un),multi:!0},Wt={provide:Y.NG_VALIDATORS,useExisting:(0,r.forwardRef)(()=>un),multi:!0};let un=(()=>{class Je extends le{set matDatepicker(C){C&&(this._datepicker=C,this._closedSubscription=C.closedStream.subscribe(()=>this._onTouched()),this._registerModel(C.registerInput(this)))}get min(){return this._min}set min(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._validatorOnChange())}get max(){return this._max}set max(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._max)||(this._max=te,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(C){const te=this._matchesFilter(this.value);this._dateFilter=C,this._matchesFilter(this.value)!==te&&this._validatorOnChange()}constructor(C,te,Pe,rt){super(C,te,Pe),this._formField=rt,this._closedSubscription=gt.w0.EMPTY,this._validator=Y.Validators.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(C){return C}_assignValueToModel(C){this._model&&this._model.updateSelection(C,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(C){return C.source!==this}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("input",function(rt){return te._onInput(rt.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(rt){return te._onKeydown(rt)}),2&C&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("aria-haspopup",te._datepicker?"dialog":null)("aria-owns",(null==te._datepicker?null:te._datepicker.opened)&&te._datepicker.id||null)("min",te.min?te._dateAdapter.toIso8601(te.min):null)("max",te.max?te._dateAdapter.toIso8601(te.max):null)("data-mat-calendar",te._datepicker?te._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[r.\u0275\u0275ProvidersFeature([Ot,Wt,{provide:Q.Jk,useExisting:Je}]),r.\u0275\u0275InheritDefinitionFeature]}),Je})(),gn=(()=>{class Je{}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["","matDatepickerToggleIcon",""]]}),Je})(),pn=(()=>{class Je{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(C){this._disabled=(0,N.Ig)(C)}constructor(C,te,Pe){this._intl=C,this._changeDetectorRef=te,this._stateChanges=gt.w0.EMPTY;const rt=Number(Pe);this.tabIndex=rt||0===rt?rt:null}ngOnChanges(C){C.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(C){this.datepicker&&!this.disabled&&(this.datepicker.open(),C.stopPropagation())}_watchStateChanges(){const C=this.datepicker?this.datepicker.stateChanges:(0,Tt.of)(),te=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Tt.of)(),Pe=this.datepicker?(0,Bt.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Tt.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Bt.T)(this._intl.changes,C,te,Pe).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(V),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275injectAttribute("tabindex"))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker-toggle"]],contentQueries:function(C,te,Pe){if(1&C&&r.\u0275\u0275contentQuery(Pe,gn,5),2&C){let rt;r.\u0275\u0275queryRefresh(rt=r.\u0275\u0275loadQuery())&&(te._customIcon=rt.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery($e,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._button=Pe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(rt){return te._open(rt)}),2&C&&(r.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",te.datepicker?te.datepicker.id:null),r.\u0275\u0275classProp("mat-datepicker-toggle-active",te.datepicker&&te.datepicker.opened)("mat-accent",te.datepicker&&"accent"===te.datepicker.color)("mat-warn",te.datepicker&&"warn"===te.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:lt,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(Ce),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,ae,2,0,"svg",2),r.\u0275\u0275projection(3),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275property("disabled",te.disabled)("disableRipple",te.disableRipple),r.\u0275\u0275attribute("aria-haspopup",te.datepicker?"dialog":null)("aria-label",te.ariaLabel||te._intl.openCalendarLabel)("tabindex",te.disabled?-1:te.tabIndex),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",!te._customIcon))},dependencies:[g.NgIf,Qe],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),Je})();function si(Je){return Ti(Je,!0)}function jn(Je){return Je.nodeType===Node.ELEMENT_NODE}function Ti(Je,Rt){if(jn(Je)&&Rt){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Pe,rt)=>{const Zt=document.getElementById(rt);return Zt&&Pe.push(Zt),Pe},[]);if(te.length)return te.map(Pe=>Ti(Pe,!1)).join(" ")}if(jn(Je)){const C=Je.getAttribute("aria-label")?.trim();if(C)return C}if(function Fn(Je){return"INPUT"===Je.nodeName}(Je)||function bi(Je){return"TEXTAREA"===Je.nodeName}(Je)){if(Je.labels?.length)return Array.from(Je.labels).map(Pe=>Ti(Pe,!1)).join(" ");const C=Je.getAttribute("placeholder")?.trim();if(C)return C;const te=Je.getAttribute("title")?.trim();if(te)return te}return(Je.textContent||"").replace(/\s+/g," ").trim()}const Fi=new r.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),fn=(0,f.mixinErrorState)((()=>{class Je extends le{constructor(C,te,Pe,rt,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Pe,this._injector=rt,this._parentForm=Zt,this._parentFormGroup=Pn,this._dir=(0,r.inject)(Le.Is,{optional:!0})}ngOnInit(){const C=this._injector.get(Y.NgControl,null,{optional:!0,self:!0});C&&(this.ngControl=C)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const C=this._elementRef.nativeElement,te=C.value;return te.length>0?te:C.placeholder}_onInput(C){super._onInput(C),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:C}){return C!==this._rangeInput._startInput&&C!==this._rangeInput._endInput}_assignValueProgrammatically(C){super._assignValueProgrammatically(C),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return si(this._elementRef.nativeElement)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(Fi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,features:[r.\u0275\u0275InheritDefinitionFeature]}),Je})());let Cn=(()=>{class Je extends fn{constructor(C,te,Pe,rt,Zt,Pn,ji,Pi){super(C,te,Pe,rt,Zt,Pn,ji,Pi),this._startValidator=Li=>{const Qi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Li.value)),Ui=this._model?this._model.selection.end:null;return!Qi||!Ui||this._dateAdapter.compareDate(Qi,Ui)<=0?null:{matStartDateInvalid:{end:Ui,actual:Qi}}},this._validator=Y.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(C){return C.start}_shouldHandleChangeEvent(C){return!(!super._shouldHandleChangeEvent(C)||(C.oldValue?.start?C.selection.start&&!this._dateAdapter.compareDate(C.oldValue.start,C.selection.start):!C.selection.start))}_assignValueToModel(C){if(this._model){const te=new _n(C,this._model.selection.end);this._model.updateSelection(te,this)}}_formatValue(C){super._formatValue(C),this._rangeInput._handleChildValueChange()}_onKeydown(C){const te=this._rangeInput._endInput,Pe=this._elementRef.nativeElement,rt="rtl"!==this._dir?.value;(C.keyCode===kt.SV&&rt||C.keyCode===kt.oh&&!rt)&&Pe.selectionStart===Pe.value.length&&Pe.selectionEnd===Pe.value.length?(C.preventDefault(),te._elementRef.nativeElement.setSelectionRange(0,0),te.focus()):super._onKeydown(C)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(Fi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("input",function(rt){return te._onInput(rt.target.value)})("change",function(){return te._onChange()})("keydown",function(rt){return te._onKeydown(rt)})("blur",function(){return te._onBlur()}),2&C&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("aria-haspopup",te._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==te._rangeInput.rangePicker?null:te._rangeInput.rangePicker.opened)&&te._rangeInput.rangePicker.id||null)("min",te._getMinDate()?te._dateAdapter.toIso8601(te._getMinDate()):null)("max",te._getMaxDate()?te._dateAdapter.toIso8601(te._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275ProvidersFeature([{provide:Y.NG_VALUE_ACCESSOR,useExisting:Je,multi:!0},{provide:Y.NG_VALIDATORS,useExisting:Je,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),Je})(),tn=(()=>{class Je extends fn{constructor(C,te,Pe,rt,Zt,Pn,ji,Pi){super(C,te,Pe,rt,Zt,Pn,ji,Pi),this._endValidator=Li=>{const Qi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Li.value)),Ui=this._model?this._model.selection.start:null;return!Qi||!Ui||this._dateAdapter.compareDate(Qi,Ui)>=0?null:{matEndDateInvalid:{start:Ui,actual:Qi}}},this._validator=Y.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(C){return C.end}_shouldHandleChangeEvent(C){return!(!super._shouldHandleChangeEvent(C)||(C.oldValue?.end?C.selection.end&&!this._dateAdapter.compareDate(C.oldValue.end,C.selection.end):!C.selection.end))}_assignValueToModel(C){if(this._model){const te=new _n(this._model.selection.start,C);this._model.updateSelection(te,this)}}_onKeydown(C){const te=this._rangeInput._startInput,Pe=this._elementRef.nativeElement,rt="rtl"!==this._dir?.value;if(C.keyCode!==kt.ZH||Pe.value)if((C.keyCode===kt.oh&&rt||C.keyCode===kt.SV&&!rt)&&0===Pe.selectionStart&&0===Pe.selectionEnd){C.preventDefault();const Zt=te._elementRef.nativeElement.value.length;te._elementRef.nativeElement.setSelectionRange(Zt,Zt),te.focus()}else super._onKeydown(C);else te.focus()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(Fi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("input",function(rt){return te._onInput(rt.target.value)})("change",function(){return te._onChange()})("keydown",function(rt){return te._onKeydown(rt)})("blur",function(){return te._onBlur()}),2&C&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("aria-haspopup",te._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==te._rangeInput.rangePicker?null:te._rangeInput.rangePicker.opened)&&te._rangeInput.rangePicker.id||null)("min",te._getMinDate()?te._dateAdapter.toIso8601(te._getMinDate()):null)("max",te._getMaxDate()?te._dateAdapter.toIso8601(te._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275ProvidersFeature([{provide:Y.NG_VALUE_ACCESSOR,useExisting:Je,multi:!0},{provide:Y.NG_VALIDATORS,useExisting:Je,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),Je})(),En=0,ei=(()=>{class Je{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const C=this._startInput?._getPlaceholder()||"",te=this._endInput?._getPlaceholder()||"";return C||te?`${C} ${this.separator} ${te}`:""}get rangePicker(){return this._rangePicker}set rangePicker(C){C&&(this._model=C.registerInput(this),this._rangePicker=C,this._closedSubscription.unsubscribe(),this._closedSubscription=C.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(C){this._required=(0,N.Ig)(C)}get dateFilter(){return this._dateFilter}set dateFilter(C){const te=this._startInput,Pe=this._endInput,rt=te&&te._matchesFilter(te.value),Zt=Pe&&Pe._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==rt&&te._validatorOnChange(),Pe&&Pe._matchesFilter(Pe.value)!==Zt&&Pe._validatorOnChange()}get min(){return this._min}set min(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._revalidate())}get max(){return this._max}set max(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._max)||(this._max=te,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(C){const te=(0,N.Ig)(C);te!==this._groupDisabled&&(this._groupDisabled=te,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const C=!!this._startInput&&this._startInput.isEmpty(),te=!!this._endInput&&this._endInput.isEmpty();return C&&te}constructor(C,te,Pe,rt,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=rt,this._formField=Zt,this._closedSubscription=gt.w0.EMPTY,this.id="mat-date-range-input-"+En++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new Ft.x,Zt?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&te.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=Pe}setDescribedByIds(C){this._ariaDescribedBy=C.length?C.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,Bt.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(C){Xe(C,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(C){const te="start"===C?this._startInput:this._endInput;return te?te.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const C=this._formField;return C&&C._hasFloatingLabel()?C._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(C){this.focused=null!==C,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(C){this._startInput&&this._startInput._registerModel(C),this._endInput&&this._endInput._registerModel(C)}_isTargetRequired(C){return C?.ngControl?.control?.hasValidator(Y.Validators.required)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(Y.ControlContainer,10),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Pe){if(1&C&&(r.\u0275\u0275contentQuery(Pe,Cn,5),r.\u0275\u0275contentQuery(Pe,tn,5)),2&C){let rt;r.\u0275\u0275queryRefresh(rt=r.\u0275\u0275loadQuery())&&(te._startInput=rt.first),r.\u0275\u0275queryRefresh(rt=r.\u0275\u0275loadQuery())&&(te._endInput=rt.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(C,te){2&C&&(r.\u0275\u0275attribute("id",te.id)("aria-labelledby",te._getAriaLabelledby())("aria-describedby",te._ariaDescribedBy)("data-mat-calendar",te.rangePicker?te.rangePicker.id:null),r.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",te._shouldHidePlaceholders())("mat-date-range-input-required",te.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[r.\u0275\u0275ProvidersFeature([{provide:ne.Eo,useExisting:Je},{provide:Fi,useExisting:Je}]),r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Ye,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(_e),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(rt){return te._updateFocus(rt)}),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275projection(2),r.\u0275\u0275elementStart(3,"span",2),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"span",3),r.\u0275\u0275text(6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"div",4),r.\u0275\u0275projection(8,1),r.\u0275\u0275elementStart(9,"span",2),r.\u0275\u0275text(10),r.\u0275\u0275elementEnd()()()),2&C&&(r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(te._getInputMirrorValue("start")),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-date-range-input-separator-hidden",te._shouldHideSeparator()),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te.separator),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(te._getInputMirrorValue("end")))},dependencies:[n.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),Je})(),Ei=(()=>{class Je extends ke{_forwardContentValues(C){super._forwardContentValues(C);const te=this.datepickerInput;te&&(C.comparisonStart=te.comparisonStart,C.comparisonEnd=te.comparisonEnd,C.startDateAccessibleName=te._getStartDateAccessibleName(),C.endDateAccessibleName=te._getEndDateAccessibleName())}}return Je.\u0275fac=function(){let Rt;return function(te){return(Rt||(Rt=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([_t,cn,{provide:ke,useExisting:Je}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(C,te){},encapsulation:2,changeDetection:0}),Je})(),tr=(()=>{class Je{constructor(C){this._datepicker=C}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(ke))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(){return te._applySelection()})}}),Je})(),Ai=(()=>{class Je{constructor(C){this._datepicker=C}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(ke))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(){return te._datepicker.close()})}}),Je})(),ar=(()=>{class Je{constructor(C,te){this._datepicker=C,this._viewContainerRef=te}ngAfterViewInit(){this._portal=new d.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(ke),r.\u0275\u0275directiveInject(r.ViewContainerRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(r.TemplateRef,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._template=Pe.first)}},ngContentSelectors:ge,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,De,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),Je})(),yi=(()=>{class Je{}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275mod=r.\u0275\u0275defineNgModule({type:Je}),Je.\u0275inj=r.\u0275\u0275defineInjector({providers:[V,Ni],imports:[g.CommonModule,tt,c.U8,n.rt,d.eL,f.MatCommonModule,Mt.ZD]}),Je})()},6385:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatDivider:()=>g,MatDividerModule:()=>r});var n=a(5879),c=a(2495),d=a(3680);let g=(()=>{class h{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(u){this._vertical=(0,c.Ig)(u)}get inset(){return this._inset}set inset(u){this._inset=(0,c.Ig)(u)}}return h.\u0275fac=function(u){return new(u||h)},h.\u0275cmp=n.\u0275\u0275defineComponent({type:h,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(u,v){2&u&&(n.\u0275\u0275attribute("aria-orientation",v.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",v.vertical)("mat-divider-horizontal",!v.vertical)("mat-divider-inset",v.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(u,v){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),h})(),r=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275mod=n.\u0275\u0275defineNgModule({type:h}),h.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),h})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Ft,G_:()=>kt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Mt,UO:()=>gt,Ve:()=>G,ab:()=>H});var n=a(5879),c=a(6825);const H=new n.InjectionToken("MatError"),Ee=new n.InjectionToken("MatPrefix"),G=new n.InjectionToken("MatSuffix"),Mt={transitionMessages:(0,c.X$)("transitionMessages",[(0,c.SB)("enter",(0,c.oB)({opacity:1,transform:"translateY(0%)"})),(0,c.eR)("void => enter",[(0,c.oB)({opacity:0,transform:"translateY(-5px)"}),(0,c.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ft=(()=>{class Q{}return Q.\u0275fac=function(Te){return new(Te||Q)},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q}),Q})();function gt(){return Error("Placeholder attribute and child element were both specified.")}function Bt(Q){return Error(`A hint was already declared for 'align="${Q}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const kt=new n.InjectionToken("MatFormField")},617:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ICON_REGISTRY_PROVIDER:()=>Ae,ICON_REGISTRY_PROVIDER_FACTORY:()=>Re,MAT_ICON_DEFAULT_OPTIONS:()=>we,MAT_ICON_LOCATION:()=>Ee,MAT_ICON_LOCATION_FACTORY:()=>Be,MatIcon:()=>ye,MatIconModule:()=>He,MatIconRegistry:()=>Me,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),h=a(8504),f=a(9315),u=a(7394),v=a(9397),b=a(7398),p=a(6306),_=a(4716),l=a(3020),y=a(8180),x=a(9862),D=a(6593);const S=["*"];let E;function X(Ze){return function I(){if(void 0===E&&(E=null,typeof window<"u")){const Ze=window;void 0!==Ze.trustedTypes&&(E=Ze.trustedTypes.createPolicy("angular#components",{createHTML:Qe=>Qe}))}return E}()?.createHTML(Ze)||Ze}function $(Ze){return Error(`Unable to find icon with the name "${Ze}"`)}function ee(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function ie(Ze){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ze}".`)}function A(Ze){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ze}".`)}class U{constructor(Qe,We,tt){this.url=Qe,this.svgText=We,this.options=tt}}let Me=(()=>{class Ze{constructor(We,tt,Mt,Ft){this._httpClient=We,this._sanitizer=tt,this._errorHandler=Ft,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Mt}addSvgIcon(We,tt,Mt){return this.addSvgIconInNamespace("",We,tt,Mt)}addSvgIconLiteral(We,tt,Mt){return this.addSvgIconLiteralInNamespace("",We,tt,Mt)}addSvgIconInNamespace(We,tt,Mt,Ft){return this._addSvgIconConfig(We,tt,new U(Mt,null,Ft))}addSvgIconResolver(We){return this._resolvers.push(We),this}addSvgIconLiteralInNamespace(We,tt,Mt,Ft){const gt=this._sanitizer.sanitize(n.SecurityContext.HTML,Mt);if(!gt)throw A(Mt);const Bt=X(gt);return this._addSvgIconConfig(We,tt,new U("",Bt,Ft))}addSvgIconSet(We,tt){return this.addSvgIconSetInNamespace("",We,tt)}addSvgIconSetLiteral(We,tt){return this.addSvgIconSetLiteralInNamespace("",We,tt)}addSvgIconSetInNamespace(We,tt,Mt){return this._addSvgIconSetConfig(We,new U(tt,null,Mt))}addSvgIconSetLiteralInNamespace(We,tt,Mt){const Ft=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Ft)throw A(tt);const gt=X(Ft);return this._addSvgIconSetConfig(We,new U("",gt,Mt))}registerFontClassAlias(We,tt=We){return this._fontCssClassesByAlias.set(We,tt),this}classNameForFontAlias(We){return this._fontCssClassesByAlias.get(We)||We}setDefaultFontSetClass(...We){return this._defaultFontSetClass=We,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(We){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,We);if(!tt)throw ie(We);const Mt=this._cachedIconsByUrl.get(tt);return Mt?(0,r.of)(he(Mt)):this._loadSvgIconFromConfig(new U(We,null)).pipe((0,v.b)(Ft=>this._cachedIconsByUrl.set(tt,Ft)),(0,b.U)(Ft=>he(Ft)))}getNamedSvgIcon(We,tt=""){const Mt=H(tt,We);let Ft=this._svgIconConfigs.get(Mt);if(Ft)return this._getSvgFromConfig(Ft);if(Ft=this._getIconConfigFromResolvers(tt,We),Ft)return this._svgIconConfigs.set(Mt,Ft),this._getSvgFromConfig(Ft);const gt=this._iconSetConfigs.get(tt);return gt?this._getSvgFromIconSetConfigs(We,gt):(0,h._)($(Mt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(We){return We.svgText?(0,r.of)(he(this._svgElementFromConfig(We))):this._loadSvgIconFromConfig(We).pipe((0,b.U)(tt=>he(tt)))}_getSvgFromIconSetConfigs(We,tt){const Mt=this._extractIconWithNameFromAnySet(We,tt);if(Mt)return(0,r.of)(Mt);const Ft=tt.filter(gt=>!gt.svgText).map(gt=>this._loadSvgIconSetFromConfig(gt).pipe((0,p.K)(Bt=>{const kt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,gt.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(kt)),(0,r.of)(null)})));return(0,f.D)(Ft).pipe((0,b.U)(()=>{const gt=this._extractIconWithNameFromAnySet(We,tt);if(!gt)throw $(We);return gt}))}_extractIconWithNameFromAnySet(We,tt){for(let Mt=tt.length-1;Mt>=0;Mt--){const Ft=tt[Mt];if(Ft.svgText&&Ft.svgText.toString().indexOf(We)>-1){const gt=this._svgElementFromConfig(Ft),Bt=this._extractSvgIconFromSet(gt,We,Ft.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(We){return this._fetchIcon(We).pipe((0,v.b)(tt=>We.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(We)))}_loadSvgIconSetFromConfig(We){return We.svgText?(0,r.of)(null):this._fetchIcon(We).pipe((0,v.b)(tt=>We.svgText=tt))}_extractSvgIconFromSet(We,tt,Mt){const Ft=We.querySelector(`[id="${tt}"]`);if(!Ft)return null;const gt=Ft.cloneNode(!0);if(gt.removeAttribute("id"),"svg"===gt.nodeName.toLowerCase())return this._setSvgAttributes(gt,Mt);if("symbol"===gt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(gt),Mt);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(gt),this._setSvgAttributes(Bt,Mt)}_svgElementFromString(We){const tt=this._document.createElement("DIV");tt.innerHTML=We;const Mt=tt.querySelector("svg");if(!Mt)throw Error(" tag not found");return Mt}_toSvgElement(We){const tt=this._svgElementFromString(X("")),Mt=We.attributes;for(let Ft=0;FtX(kt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(gt)),(0,l.B)());return this._inProgressUrlFetches.set(gt,Tt),Tt}_addSvgIconConfig(We,tt,Mt){return this._svgIconConfigs.set(H(We,tt),Mt),this}_addSvgIconSetConfig(We,tt){const Mt=this._iconSetConfigs.get(We);return Mt?Mt.push(tt):this._iconSetConfigs.set(We,[tt]),this}_svgElementFromConfig(We){if(!We.svgElement){const tt=this._svgElementFromString(We.svgText);this._setSvgAttributes(tt,We.options),We.svgElement=tt}return We.svgElement}_getIconConfigFromResolvers(We,tt){for(let Mt=0;MtQe?Qe.pathname+Qe.search:""}}const G=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],re=G.map(Ze=>`[${Ze}]`).join(", "),se=/^url\(['"]?#(.*?)['"]?\)$/;let ye=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(We){this._inline=(0,d.Ig)(We)}get svgIcon(){return this._svgIcon}set svgIcon(We){We!==this._svgIcon&&(We?this._updateSvgIcon(We):this._svgIcon&&this._clearSvgElement(),this._svgIcon=We)}get fontSet(){return this._fontSet}set fontSet(We){const tt=this._cleanupFontValue(We);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(We){const tt=this._cleanupFontValue(We);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(We,tt,Mt,Ft,gt,Bt){super(We),this._iconRegistry=tt,this._location=Ft,this._errorHandler=gt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=u.w0.EMPTY,Bt&&(Bt.color&&(this.color=this.defaultColor=Bt.color),Bt.fontSet&&(this.fontSet=Bt.fontSet)),Mt||We.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(We){if(!We)return["",""];const tt=We.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${We}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const We=this._elementsWithExternalReferences;if(We&&We.size){const tt=this._location.getPathname();tt!==this._previousPath&&(this._previousPath=tt,this._prependPathToReferences(tt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(We){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(We),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(We)}_clearSvgElement(){const We=this._elementRef.nativeElement;let tt=We.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Mt=We.childNodes[tt];(1!==Mt.nodeType||"svg"===Mt.nodeName.toLowerCase())&&Mt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const We=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Mt=>Mt.length>0);this._previousFontSetClass.forEach(Mt=>We.classList.remove(Mt)),tt.forEach(Mt=>We.classList.add(Mt)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&We.classList.remove(this._previousFontIconClass),this.fontIcon&&We.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(We){return"string"==typeof We?We.trim().split(" ")[0]:We}_prependPathToReferences(We){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Mt,Ft)=>{Mt.forEach(gt=>{Ft.setAttribute(gt.name,`url('${We}#${gt.value}')`)})})}_cacheChildrenWithExternalReferences(We){const tt=We.querySelectorAll(re),Mt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ft=0;Ft{const Bt=tt[Ft],Tt=Bt.getAttribute(gt),kt=Tt?Tt.match(se):null;if(kt){let Le=Mt.get(Bt);Le||(Le=[],Mt.set(Bt,Le)),Le.push({name:gt,value:kt[1]})}})}_updateSvgIcon(We){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),We){const[tt,Mt]=this._splitIconName(We);tt&&(this._svgNamespace=tt),Mt&&(this._svgName=Mt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Mt,tt).pipe((0,y.q)(1)).subscribe(Ft=>this._setSvgElement(Ft),Ft=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Mt}! ${Ft.message}`))})}}}return Ze.\u0275fac=function(We){return new(We||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Me),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(we,8))},Ze.\u0275cmp=n.\u0275\u0275defineComponent({type:Ze,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(We,tt){2&We&&(n.\u0275\u0275attribute("data-mat-icon-type",tt._usingFontIcon()?"font":"svg")("data-mat-icon-name",tt._svgName||tt.fontIcon)("data-mat-icon-namespace",tt._svgNamespace||tt.fontSet)("fontIcon",tt._usingFontIcon()?tt.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",tt.inline)("mat-icon-no-color","primary"!==tt.color&&"accent"!==tt.color&&"warn"!==tt.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:S,decls:1,vars:0,template:function(We,tt){1&We&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),Ze})(),He=(()=>{class Ze{}return Ze.\u0275fac=function(We){return new(We||Ze)},Ze.\u0275mod=n.\u0275\u0275defineNgModule({type:Ze}),Ze.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatCommonModule,c.MatCommonModule]}),Ze})()},4516:(Ie,B,a)=>{"use strict";a.d(B,{Jk:()=>b,Nt:()=>y,b7:()=>v});var n=a(2495),c=a(2831),d=a(6263),g=a(5879),r=a(6223),h=a(3680),f=a(1043),u=a(8645);function v(D){return Error(`Input type "${D}" isn't supported by matInput.`)}const b=new g.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),p=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let _=0;const l=(0,h.mixinErrorState)(class{constructor(D,S,E,I){this._defaultErrorStateMatcher=D,this._parentForm=S,this._parentFormGroup=E,this.ngControl=I,this.stateChanges=new u.x}});let y=(()=>{class D extends l{get disabled(){return this._disabled}set disabled(E){this._disabled=(0,n.Ig)(E),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(E){this._id=E||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(r.Validators.required)??!1}set required(E){this._required=(0,n.Ig)(E)}get type(){return this._type}set type(E){this._type=E||"text",this._validateType(),!this._isTextarea&&(0,c.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(E){E!==this.value&&(this._inputValueAccessor.value=E,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(E){this._readonly=(0,n.Ig)(E)}constructor(E,I,X,$,ee,ie,A,U,Me,Re){super(ie,$,ee,X),this._elementRef=E,this._platform=I,this._autofillMonitor=U,this._formField=Re,this._uid="mat-input-"+_++,this.focused=!1,this.stateChanges=new u.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(H=>(0,c.qK)().has(H)),this._iOSKeyupListener=H=>{const W=H.target;!W.value&&0===W.selectionStart&&0===W.selectionEnd&&(W.setSelectionRange(1,1),W.setSelectionRange(0,0))};const Ae=this._elementRef.nativeElement,he=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Me.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===he,this._isTextarea="textarea"===he,this._isInFormField=!!Re,this._isNativeSelect&&(this.controlType=Ae.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(E=>{this.autofilled=E.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(E){this._elementRef.nativeElement.focus(E)}_focusChanged(E){E!==this.focused&&(this.focused=E,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const E=this._elementRef.nativeElement.value;this._previousNativeValue!==E&&(this._previousNativeValue=E,this.stateChanges.next())}_dirtyCheckPlaceholder(){const E=this._getPlaceholder();if(E!==this._previousPlaceholder){const I=this._elementRef.nativeElement;this._previousPlaceholder=E,E?I.setAttribute("placeholder",E):I.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){p.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let E=this._elementRef.nativeElement.validity;return E&&E.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const E=this._elementRef.nativeElement,I=E.options[0];return this.focused||E.multiple||!this.empty||!!(E.selectedIndex>-1&&I&&I.label)}return this.focused||!this.empty}setDescribedByIds(E){E.length?this._elementRef.nativeElement.setAttribute("aria-describedby",E.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const E=this._elementRef.nativeElement;return this._isNativeSelect&&(E.multiple||E.size>1)}}return D.\u0275fac=function(E){return new(E||D)(g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(c.t4),g.\u0275\u0275directiveInject(r.NgControl,10),g.\u0275\u0275directiveInject(r.NgForm,8),g.\u0275\u0275directiveInject(r.FormGroupDirective,8),g.\u0275\u0275directiveInject(h.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(f.G_,8))},D.\u0275dir=g.\u0275\u0275defineDirective({type:D,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(E,I){1&E&&g.\u0275\u0275listener("focus",function(){return I._focusChanged(!0)})("blur",function(){return I._focusChanged(!1)})("input",function(){return I._onInput()}),2&E&&(g.\u0275\u0275hostProperty("id",I.id)("disabled",I.disabled)("required",I.required),g.\u0275\u0275attribute("name",I.name||null)("readonly",I.readonly&&!I._isNativeSelect||null)("aria-invalid",I.empty&&I.required?null:I.errorState)("aria-required",I.required)("id",I.id),g.\u0275\u0275classProp("mat-input-server",I._isServer)("mat-mdc-form-field-textarea-control",I._isInFormField&&I._isTextarea)("mat-mdc-form-field-input-control",I._isInFormField)("mdc-text-field__input",I._isInFormField)("mat-mdc-native-select-inline",I._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:D}]),g.\u0275\u0275InheritDefinitionFeature,g.\u0275\u0275NgOnChangesFeature]}),D})()},9241:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>G,MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>re,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY:()=>tt,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>Mt,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ft,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>ct,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>We});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),h=a(9594),f=a(4300),u=a(2495),v=a(2831),p=(a(6825),a(7394)),_=a(8645),l=a(4911),y=a(3019),x=a(2096),D=a(2438),S=a(6028),E=a(8484),I=a(6223),X=a(1043),$=a(7921),ee=a(4664),ie=a(8180),A=a(2181),U=a(7398),Me=a(9397),Re=a(7547),Ae=a(9388);const he=["panel"];let we=0;class Ee{constructor(ne,Q){this.source=ne,this.option=Q}}const Be=(0,c.mixinDisableRipple)(class{}),G=new n.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:re});function re(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}let se=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Q){this._color=Q,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Q){this._autoActiveFirstOption=(0,u.Ig)(Q)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Q){this._autoSelectActiveOption=(0,u.Ig)(Q)}set classList(Q){this._classList=Q&&Q.length?(0,u.du)(Q).reduce((ue,Te)=>(ue[Te]=!0,ue),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(Q,ue,Te,Ct){super(),this._changeDetectorRef=Q,this._elementRef=ue,this._defaults=Te,this._activeOptionChanges=p.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new n.EventEmitter,this.opened=new n.EventEmitter,this.closed=new n.EventEmitter,this.optionActivated=new n.EventEmitter,this._classList={},this.id="mat-autocomplete-"+we++,this.inertGroups=Ct?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new f.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Q=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Q]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Q){this.panel&&(this.panel.nativeElement.scrollTop=Q)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Q){const ue=new Ee(this,Q);this.optionSelected.emit(ue)}_getPanelAriaLabelledby(Q){return this.ariaLabel?null:this.ariaLabelledby?(Q?Q+" ":"")+this.ariaLabelledby:Q}_setVisibilityClasses(Q){Q[this._visibleClass]=this.showPanel,Q[this._hiddenClass]=!this.showPanel}_setThemeClasses(Q){Q["mat-primary"]="primary"===this._color,Q["mat-warn"]="warn"===this._color,Q["mat-accent"]="accent"===this._color}_skipPredicate(Q){return Q.disabled}}return Y.\u0275fac=function(Q){return new(Q||Y)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(G),n.\u0275\u0275directiveInject(v.t4))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,viewQuery:function(Q,ue){if(1&Q&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(he,5)),2&Q){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ue.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ue.panel=Te.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),He=(()=>{class Y{constructor(Q){this.elementRef=Q}}return Y.\u0275fac=function(Q){return new(Q||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function We(){return Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}const tt=new n.InjectionToken("mat-autocomplete-scroll-strategy");function Mt(Y){return()=>Y.scrollStrategies.reposition()}const Ft={provide:tt,deps:[h.aV],useFactory:Mt};let gt=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Q){this._autocompleteDisabled=(0,u.Ig)(Q)}constructor(Q,ue,Te,Ct,dt,bt,Oe,ge,ot,At,Nt){this._element=Q,this._overlay=ue,this._viewContainerRef=Te,this._zone=Ct,this._changeDetectorRef=dt,this._dir=Oe,this._formField=ge,this._document=ot,this._viewportRuler=At,this._defaults=Nt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=p.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new _.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,l.P)(()=>{const zt=this.autocomplete?this.autocomplete.options:null;return zt?zt.changes.pipe((0,$.O)(zt),(0,ee.w)(()=>(0,y.T)(...zt.map(Ne=>Ne.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=zt=>{(zt.keyCode===S.hY&&!(0,S.Vb)(zt)||zt.keyCode===S.LH&&(0,S.Vb)(zt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),zt.stopPropagation(),zt.preventDefault())},this._trackedModal=null,this._scrollStrategy=bt}ngAfterViewInit(){const Q=this._getWindow();typeof Q<"u"&&this._zone.runOutsideAngular(()=>Q.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Q){Q.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Q=this._getWindow();typeof Q<"u"&&Q.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,y.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,A.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,A.h)(()=>this._overlayAttached)):(0,x.of)()).pipe((0,U.U)(Q=>Q instanceof c.MatOptionSelectionChange?Q:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,y.T)((0,D.R)(this._document,"click"),(0,D.R)(this._document,"auxclick"),(0,D.R)(this._document,"touchend")).pipe((0,A.h)(Q=>{const ue=(0,v.sA)(Q),Te=this._formField?this._formField._elementRef.nativeElement:null,Ct=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ue!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ue))&&(!Ct||!Ct.contains(ue))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ue)}))}writeValue(Q){Promise.resolve(null).then(()=>this._assignOptionValue(Q))}registerOnChange(Q){this._onChange=Q}registerOnTouched(Q){this._onTouched=Q}setDisabledState(Q){this._element.nativeElement.disabled=Q}_handleKeydown(Q){const ue=Q.keyCode,Te=(0,S.Vb)(Q);if(ue===S.hY&&!Te&&Q.preventDefault(),this.activeOption&&ue===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Q.preventDefault();else if(this.autocomplete){const Ct=this.autocomplete._keyManager.activeItem,dt=ue===S.LH||ue===S.JH;ue===S.Mf||dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Q):dt&&this._canOpen()&&this.openPanel(),(dt||this.autocomplete._keyManager.activeItem!==Ct)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Q){let ue=Q.target,Te=ue.value;"number"===ue.type&&(Te=""==Te?null:parseFloat(Te)),this._previousValue!==Te&&(this._previousValue=Te,this._pendingAutoselectedOption=null,this._onChange(Te),Te||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===Q.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Q=!1){this._formField&&"auto"===this._formField.floatLabel&&(Q?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Q=this._zone.onStable.pipe((0,ie.q)(1)),ue=this.autocomplete.options.changes.pipe((0,Me.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(Q,ue).pipe((0,ee.w)(()=>(this._zone.run(()=>{const Te=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Te!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ie.q)(1)).subscribe(Te=>this._setValueAndClose(Te))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Q){const ue=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Q):Q;this._updateNativeInputValue(ue??"")}_updateNativeInputValue(Q){this._formField?this._formField._control.value=Q:this._element.nativeElement.value=Q,this._previousValue=Q}_setValueAndClose(Q){const ue=Q?Q.source:this._pendingAutoselectedOption;ue&&(this._clearPreviousSelectedOption(ue),this._assignOptionValue(ue.value),this._onChange(ue.value),this.autocomplete._emitSelectEvent(ue),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Q,ue){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==Q&&Te.selected&&Te.deselect(ue)})}_attachOverlay(){let Q=this._overlayRef;Q?(this._positionStrategy.setOrigin(this._getConnectedElement()),Q.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Q=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Q,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Q&&Q.updateSize({width:this._getPanelWidth()})})),Q&&!Q.hasAttached()&&(Q.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ue=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ue!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Q=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Q.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Q.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new h.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Q=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Q),this._positionStrategy=Q,Q}_setStrategyPositions(Q){const ue=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,Ct=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Te},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Te}];let dt;dt="above"===this.position?Ct:"below"===this.position?ue:[...ue,...Ct],Q.withPositions(dt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Q=this.autocomplete;if(Q.autoActiveFirstOption){let ue=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!Q)return;const ue=this.autocomplete.id;this._trackedModal&&(0,f.iD)(this._trackedModal,"aria-owns",ue),(0,f.Zf)(Q,"aria-owns",ue),this._trackedModal=Q}_clearFromModal(){this._trackedModal&&((0,f.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(Q){return new(Q||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(h.aV),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(tt),n.\u0275\u0275directiveInject(Ae.Is,8),n.\u0275\u0275directiveInject(X.G_,9),n.\u0275\u0275directiveInject(g.DOCUMENT,8),n.\u0275\u0275directiveInject(r.rL),n.\u0275\u0275directiveInject(G,8))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[n.\u0275\u0275NgOnChangesFeature]}),Y})();function kt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const Q=ne.id,ue=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ue.id)("ngClass",ue._classList),n.\u0275\u0275attribute("aria-label",ue.ariaLabel||null)("aria-labelledby",ue._getPanelAriaLabelledby(Q))}}const Le=["*"];let ct=(()=>{class Y extends se{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ue||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(Q,ue,Te){if(1&Q&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&Q){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(ue.optionGroups=Ct),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(ue.options=Ct)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[n.\u0275\u0275ProvidersFeature([{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Y}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Le,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(Q,ue){1&Q&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,kt,3,4,"ng-template"))},dependencies:[g.NgClass],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),Y})();const ze={provide:I.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>at),multi:!0};let at=(()=>{class Y extends gt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ue||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(Q,ue){1&Q&&n.\u0275\u0275listener("focusin",function(){return ue._handleFocus()})("blur",function(){return ue._onTouched()})("input",function(Ct){return ue._handleInput(Ct)})("keydown",function(Ct){return ue._handleKeydown(Ct)})("click",function(){return ue._handleClick()}),2&Q&&n.\u0275\u0275attribute("autocomplete",ue.autocompleteAttribute)("role",ue.autocompleteDisabled?null:"combobox")("aria-autocomplete",ue.autocompleteDisabled?null:"list")("aria-activedescendant",ue.panelOpen&&ue.activeOption?ue.activeOption.id:null)("aria-expanded",ue.autocompleteDisabled?null:ue.panelOpen.toString())("aria-owns",ue.autocompleteDisabled||!ue.panelOpen||null==ue.autocomplete?null:ue.autocomplete.id)("aria-haspopup",ue.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[n.\u0275\u0275ProvidersFeature([ze]),n.\u0275\u0275InheritDefinitionFeature]}),Y})(),N=(()=>{class Y extends He{}return Y.\u0275fac=function(){let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ue||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(Q){return new(Q||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ft],imports:[h.U8,d.MatLegacyOptionModule,c.MatCommonModule,g.CommonModule,r.ZD,d.MatLegacyOptionModule,c.MatCommonModule]}),Y})()},4505:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatLegacyAnchor:()=>p,MatLegacyButton:()=>b,MatLegacyButtonModule:()=>_});var n=a(5879),c=a(3680),d=a(4300);const g=["mat-button",""],r=["*"],u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],v=(0,c.mixinColor)((0,c.mixinDisabled)((0,c.mixinDisableRipple)(class{constructor(l){this._elementRef=l}})));let b=(()=>{class l extends v{constructor(x,D,S){super(x),this._focusMonitor=D,this._animationMode=S,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const E of u)this._hasHostAttributes(E)&&this._getHostElement().classList.add(E);x.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(x,D){x?this._focusMonitor.focusVia(this._getHostElement(),x,D):this._getHostElement().focus(D)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...x){return x.some(D=>this._getHostElement().hasAttribute(D))}}return l.\u0275fac=function(x){return new(x||l)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},l.\u0275cmp=n.\u0275\u0275defineComponent({type:l,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(x,D){if(1&x&&n.\u0275\u0275viewQuery(c.MatRipple,5),2&x){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(D.ripple=S.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(x,D){2&x&&(n.\u0275\u0275attribute("disabled",D.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===D._animationMode)("mat-button-disabled",D.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:g,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(x,D){1&x&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&x&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",D.isRoundButton||D.isIconButton),n.\u0275\u0275property("matRippleDisabled",D._isRippleDisabled())("matRippleCentered",D.isIconButton)("matRippleTrigger",D._getHostElement()))},dependencies:[c.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),l})(),p=(()=>{class l extends b{constructor(x,D,S,E){super(D,x,S),this._ngZone=E,this._haltDisabledEvents=I=>{this.disabled&&(I.preventDefault(),I.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return l.\u0275fac=function(x){return new(x||l)(n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(n.NgZone,8))},l.\u0275cmp=n.\u0275\u0275defineComponent({type:l,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(x,D){2&x&&(n.\u0275\u0275attribute("tabindex",D.disabled?-1:D.tabIndex)("disabled",D.disabled||null)("aria-disabled",D.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===D._animationMode)("mat-button-disabled",D.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:g,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(x,D){1&x&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&x&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",D.isRoundButton||D.isIconButton),n.\u0275\u0275property("matRippleDisabled",D._isRippleDisabled())("matRippleCentered",D.isIconButton)("matRippleTrigger",D._getHostElement()))},dependencies:[c.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),l})(),_=(()=>{class l{}return l.\u0275fac=function(x){return new(x||l)},l.\u0275mod=n.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatRippleModule,c.MatCommonModule,c.MatCommonModule]}),l})()},9025:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatLegacyCard:()=>X,MatLegacyCardActions:()=>_,MatLegacyCardAvatar:()=>I,MatLegacyCardContent:()=>v,MatLegacyCardFooter:()=>l,MatLegacyCardHeader:()=>$,MatLegacyCardImage:()=>y,MatLegacyCardLgImage:()=>S,MatLegacyCardMdImage:()=>D,MatLegacyCardModule:()=>ie,MatLegacyCardSmImage:()=>x,MatLegacyCardSubtitle:()=>p,MatLegacyCardTitle:()=>b,MatLegacyCardTitleGroup:()=>ee,MatLegacyCardXlImage:()=>E});var n=a(5879),c=a(3680);const d=["*",[["mat-card-footer"]]],g=["*","mat-card-footer"],r=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],h=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],f=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],u=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let v=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),A})(),b=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),A})(),p=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),A})(),_=(()=>{class A{constructor(){this.align="start"}}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Me,Re){2&Me&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),A})(),y=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),A})(),x=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),A})(),D=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),A})(),S=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),A})(),E=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),A})(),I=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Me){this._animationMode=Me}}return A.\u0275fac=function(Me){return new(Me||A)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(Me,Re){2&Me&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Me,Re){1&Me&&(n.\u0275\u0275projectionDef(d),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),A})(),$=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:h,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Me,Re){1&Me&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),A})(),ee=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:u,decls:4,vars:0,template:function(Me,Re){1&Me&&(n.\u0275\u0275projectionDef(f),n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(2,1),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),A})(),ie=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275mod=n.\u0275\u0275defineNgModule({type:A}),A.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatCommonModule,c.MatCommonModule]}),A})()},4021:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>Me,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS:()=>v,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>b,MAT_LEGACY_CHECKBOX_REQUIRED_VALIDATOR:()=>E,MatLegacyCheckbox:()=>Re,MatLegacyCheckboxChange:()=>U,MatLegacyCheckboxModule:()=>Ae,MatLegacyCheckboxRequiredValidator:()=>I,_MatLegacyCheckboxRequiredValidatorModule:()=>X});var n=a(4300),c=a(5879),d=a(6223),g=a(3680),r=a(2495);const h=["input"],f=["label"],v=new c.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:b});function b(){return{color:"accent",clickAction:"check-indeterminate"}}let l=0;const y=b(),x=(0,g.mixinTabIndex)((0,g.mixinColor)((0,g.mixinDisableRipple)((0,g.mixinDisabled)(class{constructor(he){this._elementRef=he}}))));let D=(()=>{class he extends x{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(W){this._required=(0,r.Ig)(W)}constructor(W,pe,we,Ee,Be,G,re){super(pe),this._changeDetectorRef=we,this._ngZone=Ee,this._animationMode=G,this._options=re,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new c.EventEmitter,this.indeterminateChange=new c.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||y,this.color=this.defaultColor=this._options.color||y.color,this.tabIndex=parseInt(Be)||0,this.id=this._uniqueId=`${W}${++l}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(W){const pe=(0,r.Ig)(W);pe!=this.checked&&(this._checked=pe,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(W){const pe=(0,r.Ig)(W);pe!==this.disabled&&(this._disabled=pe,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(W){const pe=W!=this._indeterminate;this._indeterminate=(0,r.Ig)(W),pe&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(W){this.checked=!!W}registerOnChange(W){this._controlValueAccessorChangeFn=W}registerOnTouched(W){this._onTouched=W}setDisabledState(W){this.disabled=W}_transitionCheckState(W){let pe=this._currentCheckState,we=this._getAnimationTargetElement();if(pe!==W&&we&&(this._currentAnimationClass&&we.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(pe,W),this._currentCheckState=W,this._currentAnimationClass.length>0)){we.classList.add(this._currentAnimationClass);const Ee=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{we.classList.remove(Ee)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const W=this._options?.clickAction;this.disabled||"noop"===W?!this.disabled&&"noop"===W&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==W&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(W){W.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(W,pe){if("NoopAnimations"===this._animationMode)return"";switch(W){case 0:if(1===pe)return this._animationClasses.uncheckedToChecked;if(3==pe)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===pe?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===pe?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===pe?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(W){const pe=this._inputElement;pe&&(pe.nativeElement.indeterminate=W)}}return he.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},he.\u0275dir=c.\u0275\u0275defineDirective({type:he,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(h,5),c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(g.MatRipple,5)),2&W){let we;c.\u0275\u0275queryRefresh(we=c.\u0275\u0275loadQuery())&&(pe._inputElement=we.first),c.\u0275\u0275queryRefresh(we=c.\u0275\u0275loadQuery())&&(pe._labelElement=we.first),c.\u0275\u0275queryRefresh(we=c.\u0275\u0275loadQuery())&&(pe.ripple=we.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[c.\u0275\u0275InheritDefinitionFeature]}),he})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class he extends d.CheckboxRequiredValidator{}return he.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(he)))(pe||he)}}(),he.\u0275dir=c.\u0275\u0275defineDirective({type:he,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),he})(),X=(()=>{class he{}return he.\u0275fac=function(W){return new(W||he)},he.\u0275mod=c.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=c.\u0275\u0275defineInjector({}),he})();var ee=a(7131);const ie=function(he){return{enterDuration:he}},A=["*"];class U{}const Me={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class he extends D{constructor(W,pe,we,Ee,Be,G,re){super("mat-checkbox-",W,pe,Ee,Be,G,re),this._focusMonitor=we,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(W){const pe=new U;return pe.source=this,pe.checked=W,pe}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(W=>{W||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(W){W.stopPropagation(),super._handleInputClick()}focus(W,pe){W?this._focusMonitor.focusVia(this._inputElement,W,pe):this._inputElement.nativeElement.focus(pe)}}return he.\u0275fac=function(W){return new(W||he)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(n.tE),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275injectAttribute("tabindex"),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8),c.\u0275\u0275directiveInject(v,8))},he.\u0275cmp=c.\u0275\u0275defineComponent({type:he,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(W,pe){2&W&&(c.\u0275\u0275hostProperty("id",pe.id),c.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),c.\u0275\u0275classProp("mat-checkbox-indeterminate",pe.indeterminate)("mat-checkbox-checked",pe.checked)("mat-checkbox-disabled",pe.disabled)("mat-checkbox-label-before","before"==pe.labelPosition)("_mat-animation-noopable","NoopAnimations"===pe._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[c.\u0275\u0275ProvidersFeature([Me]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(W,pe){if(1&W&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),c.\u0275\u0275listener("change",function(Ee){return pe._onInteractionEvent(Ee)})("click",function(Ee){return pe._onInputClick(Ee)}),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"span",5),c.\u0275\u0275element(6,"span",6),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(7,"span",7),c.\u0275\u0275elementStart(8,"span",8),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(9,"svg",9),c.\u0275\u0275element(10,"path",10),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275element(11,"span",11),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(12,"span",12,13),c.\u0275\u0275listener("cdkObserveContent",function(){return pe._onLabelTextChange()}),c.\u0275\u0275elementStart(14,"span",14),c.\u0275\u0275text(15,"\xa0"),c.\u0275\u0275elementEnd(),c.\u0275\u0275projection(16),c.\u0275\u0275elementEnd()()),2&W){const we=c.\u0275\u0275reference(1),Ee=c.\u0275\u0275reference(13);c.\u0275\u0275attribute("for",pe.inputId),c.\u0275\u0275advance(2),c.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!Ee.textContent||!Ee.textContent.trim()),c.\u0275\u0275advance(1),c.\u0275\u0275property("id",pe.inputId)("required",pe.required)("checked",pe.checked)("disabled",pe.disabled)("tabIndex",pe.tabIndex),c.\u0275\u0275attribute("value",pe.value)("name",pe.name)("aria-label",pe.ariaLabel||null)("aria-labelledby",pe.ariaLabelledby)("aria-describedby",pe.ariaDescribedby),c.\u0275\u0275advance(2),c.\u0275\u0275property("matRippleTrigger",we)("matRippleDisabled",pe._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",c.\u0275\u0275pureFunction1(18,ie,"NoopAnimations"===pe._animationMode?0:150))}},dependencies:[g.MatRipple,ee.wD],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),he})(),Ae=(()=>{class he{}return he.\u0275fac=function(W){return new(W||he)},he.\u0275mod=c.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),he})()},4678:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LEGACY_VERSION:()=>d.VERSION,LegacyAnimationCurves:()=>d.AnimationCurves,LegacyAnimationDurations:()=>d.AnimationDurations,LegacyDateAdapter:()=>d.DateAdapter,LegacyErrorStateMatcher:()=>d.ErrorStateMatcher,LegacyNativeDateAdapter:()=>d.NativeDateAdapter,LegacyNativeDateModule:()=>d.NativeDateModule,LegacyRippleRef:()=>d.RippleRef,LegacyRippleRenderer:()=>d.RippleRenderer,LegacyShowOnDirtyErrorStateMatcher:()=>d.ShowOnDirtyErrorStateMatcher,MATERIAL_LEGACY_SANITY_CHECKS:()=>d.MATERIAL_SANITY_CHECKS,MAT_LEGACY_DATE_FORMATS:()=>d.MAT_DATE_FORMATS,MAT_LEGACY_DATE_LOCALE:()=>d.MAT_DATE_LOCALE,MAT_LEGACY_DATE_LOCALE_FACTORY:()=>d.MAT_DATE_LOCALE_FACTORY,MAT_LEGACY_NATIVE_DATE_FORMATS:()=>d.MAT_NATIVE_DATE_FORMATS,MAT_LEGACY_OPTGROUP:()=>d.MAT_OPTGROUP,MAT_LEGACY_OPTION_PARENT_COMPONENT:()=>d.MAT_OPTION_PARENT_COMPONENT,MAT_LEGACY_RIPPLE_GLOBAL_OPTIONS:()=>d.MAT_RIPPLE_GLOBAL_OPTIONS,MatLegacyCommonModule:()=>d.MatCommonModule,MatLegacyLine:()=>d.MatLine,MatLegacyLineModule:()=>d.MatLineModule,MatLegacyNativeDateModule:()=>d.MatNativeDateModule,MatLegacyOptgroup:()=>v,MatLegacyOption:()=>b,MatLegacyOptionModule:()=>p,MatLegacyOptionSelectionChange:()=>d.MatOptionSelectionChange,MatLegacyPseudoCheckbox:()=>d.MatPseudoCheckbox,MatLegacyPseudoCheckboxModule:()=>d.MatPseudoCheckboxModule,MatLegacyRipple:()=>d.MatRipple,MatLegacyRippleModule:()=>d.MatRippleModule,_MatLegacyOptgroupBase:()=>d._MatOptgroupBase,_MatLegacyOptionBase:()=>d._MatOptionBase,_countGroupLabelsBeforeLegacyOption:()=>d._countGroupLabelsBeforeOption,_getLegacyOptionScrollPosition:()=>d._getOptionScrollPosition,legacyDefaultRippleAnimationConfig:()=>d.defaultRippleAnimationConfig,legacyMixinColor:()=>d.mixinColor,legacyMixinDisableRipple:()=>d.mixinDisableRipple,legacyMixinDisabled:()=>d.mixinDisabled,legacyMixinErrorState:()=>d.mixinErrorState,legacyMixinInitialized:()=>d.mixinInitialized,legacyMixinTabIndex:()=>d.mixinTabIndex,legacySetLines:()=>d.setLines});var n=a(5879),c=a(6814),d=a(3680);const g=["*",[["mat-option"],["ng-container"]]],r=["*","mat-option, ng-container"];function h(_,l){if(1&_&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",5),2&_){const y=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",y.selected?"checked":"unchecked")("disabled",y.disabled)}}function f(_,l){if(1&_&&(n.\u0275\u0275elementStart(0,"span",6),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&_){const y=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",y.group.label,")")}}const u=["*"];let v=(()=>{class _ extends d._MatOptgroupBase{}return _.\u0275fac=function(){let l;return function(x){return(l||(l=n.\u0275\u0275getInheritedFactory(_)))(x||_)}}(),_.\u0275cmp=n.\u0275\u0275defineComponent({type:_,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(y,x){2&y&&(n.\u0275\u0275attribute("role",x._inert?null:"group")("aria-disabled",x._inert?null:x.disabled.toString())("aria-labelledby",x._inert?null:x._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",x.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:d.MAT_OPTGROUP,useExisting:_}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:r,decls:4,vars:2,consts:[["role","presentation",1,"mat-optgroup-label",3,"id"]],template:function(y,x){1&y&&(n.\u0275\u0275projectionDef(g),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&y&&(n.\u0275\u0275property("id",x._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",x.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),_})(),b=(()=>{class _ extends d._MatOptionBase{constructor(y,x,D,S){super(y,x,D,S)}}return _.\u0275fac=function(y){return new(y||_)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(d.MAT_OPTION_PARENT_COMPONENT,8),n.\u0275\u0275directiveInject(d.MAT_OPTGROUP,8))},_.\u0275cmp=n.\u0275\u0275defineComponent({type:_,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(y,x){1&y&&n.\u0275\u0275listener("click",function(){return x._selectViaInteraction()})("keydown",function(S){return x._handleKeydown(S)}),2&y&&(n.\u0275\u0275hostProperty("id",x.id),n.\u0275\u0275attribute("tabindex",x._getTabIndex())("aria-selected",x.selected)("aria-disabled",x.disabled.toString()),n.\u0275\u0275classProp("mat-selected",x.selected)("mat-option-multiple",x.multiple)("mat-active",x.active)("mat-option-disabled",x.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:u,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(y,x){1&y&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,h,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,f,2,1,"span",3),n.\u0275\u0275element(5,"div",4)),2&y&&(n.\u0275\u0275property("ngIf",x.multiple),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngIf",x.group&&x.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",x._getHostElement())("matRippleDisabled",x.disabled||x.disableRipple))},dependencies:[d.MatRipple,c.NgIf,d.MatPseudoCheckbox],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),_})(),p=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275mod=n.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatRippleModule,c.CommonModule,d.MatCommonModule,d.MatPseudoCheckboxModule]}),_})()},4187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_ERROR:()=>r.ab,MAT_LEGACY_FORM_FIELD:()=>r.G_,MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS:()=>Qe,MAT_LEGACY_PREFIX:()=>r.Px,MAT_LEGACY_SUFFIX:()=>r.Ve,MatLegacyError:()=>pe,MatLegacyFormField:()=>We,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Ft,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Mt,_MAT_LEGACY_HINT:()=>Ee,getMatLegacyFormFieldDuplicatedHintError:()=>r.Bi,getMatLegacyFormFieldMissingControlError:()=>r.Lv,getMatLegacyFormFieldPlaceholderConflictError:()=>r.UO,matLegacyFormFieldAnimations:()=>r.TN});var n=a(7131),c=a(6814),d=a(5879),g=a(3680),r=a(1043),h=a(9388),f=a(2495),u=a(8645),v=a(3019),b=a(2438),p=a(7921),_=a(9773),l=a(8180),y=a(2831);const x=["connectionContainer"],D=["inputContainer"],S=["label"];function E(gt,Bt){1>&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"div",14),d.\u0275\u0275element(2,"div",15)(3,"div",16)(4,"div",17),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(5,"div",18),d.\u0275\u0275element(6,"div",15)(7,"div",16)(8,"div",17),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}function I(gt,Bt){if(1>){const Tt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",19),d.\u0275\u0275listener("cdkObserveContent",function(){d.\u0275\u0275restoreView(Tt);const Le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Le.updateOutlineGap())}),d.\u0275\u0275projection(1,1),d.\u0275\u0275elementEnd()}if(2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(gt,Bt){if(1>&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275projection(1,2),d.\u0275\u0275elementStart(2,"span"),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd()),2>){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(gt,Bt){1>&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(gt,Bt){1>&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(gt,Bt){if(1>){const Tt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"label",20,21),d.\u0275\u0275listener("cdkObserveContent",function(){d.\u0275\u0275restoreView(Tt);const Le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Le.updateOutlineGap())}),d.\u0275\u0275template(2,X,4,1,"ng-container",12),d.\u0275\u0275template(3,$,1,0,"ng-content",12),d.\u0275\u0275template(4,ee,2,0,"span",22),d.\u0275\u0275elementEnd()}if(2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275classProp("mat-empty",Tt._control.empty&&!Tt._shouldAlwaysFloat())("mat-form-field-empty",Tt._control.empty&&!Tt._shouldAlwaysFloat())("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color),d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)("id",Tt._labelId)("ngSwitch",Tt._hasLabel()),d.\u0275\u0275attribute("for",Tt._control.id)("aria-owns",Tt._control.id),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!1),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!Tt.hideRequiredMarker&&Tt._control.required&&!Tt._control.disabled)}}function A(gt,Bt){1>&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Me(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div",27),d.\u0275\u0275template(1,Re,2,2,"div",28),d.\u0275\u0275projection(2,6),d.\u0275\u0275element(3,"div",29),d.\u0275\u0275projection(4,7),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const he=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],H=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let W=0,pe=(()=>{class gt{constructor(Tt,kt){this.id="mat-error-"+W++,Tt||kt.nativeElement.setAttribute("aria-live","polite")}}return gt.\u0275fac=function(Tt){return new(Tt||gt)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,kt){2&Tt&&d.\u0275\u0275attribute("id",kt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:gt}])]}),gt})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class gt{constructor(){this.align="start",this.id="mat-hint-"+we++}}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,kt){2&Tt&&(d.\u0275\u0275attribute("id",kt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===kt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:gt}])]}),gt})(),G=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-label"]]}),gt})(),re=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-placeholder"]]}),gt})(),se=0;const Ze=(0,g.mixinColor)(class{constructor(gt){this._elementRef=gt}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let We=(()=>{class gt extends Ze{get appearance(){return this._appearance}set appearance(Tt){const kt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&kt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,f.Ig)(Tt)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(Tt){this._hintLabel=Tt,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(Tt){Tt!==this._floatLabel&&(this._floatLabel=Tt||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(Tt){this._explicitFormFieldControl=Tt}constructor(Tt,kt,Le,ct,ze,at,N){super(Tt),this._changeDetectorRef=kt,this._dir=Le,this._defaults=ct,this._platform=ze,this._ngZone=at,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new u.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+se++,this._labelId="mat-form-field-label-"+se++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=ct?.appearance||"legacy",ct&&(this._hideRequiredMarker=!!ct.hideRequiredMarker,ct.color&&(this.color=this.defaultColor=ct.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const Tt=this._control;Tt.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${Tt.controlType}`),Tt.stateChanges.pipe((0,p.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Tt.ngControl&&Tt.ngControl.valueChanges&&Tt.ngControl.valueChanges.pipe((0,_.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,v.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,p.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,p.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,_.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(Tt){const kt=this._control?this._control.ngControl:null;return kt&&kt[Tt]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,l.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let Tt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Tt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const kt=this._hintChildren?this._hintChildren.find(ct=>"start"===ct.align):null,Le=this._hintChildren?this._hintChildren.find(ct=>"end"===ct.align):null;kt?Tt.push(kt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(kt=>kt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,kt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",ct=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=kt.querySelectorAll(`${Le}, ${ct}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:gt}])]}),gt})(),Mt=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:gt}])]}),gt})(),Ft=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275mod=d.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),gt})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>f,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),h=a(3680);let f=(()=>{class v extends c.Nt{constructor(){super(...arguments),this._legacyFormField=(0,n.inject)(d.G_,{optional:!0})}_getPlaceholder(){const p=this._legacyFormField;return p&&"legacy"===p.appearance&&!p._hasLabel?.()?null:this.placeholder}}return v.\u0275fac=function(){let b;return function(_){return(b||(b=n.\u0275\u0275getInheritedFactory(v)))(_||v)}}(),v.\u0275dir=n.\u0275\u0275defineDirective({type:v,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(p,_){2&p&&(n.\u0275\u0275attribute("data-placeholder",_.placeholder),n.\u0275\u0275classProp("mat-input-server",_._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",_._isInlineSelect()))},exportAs:["matInput"],features:[n.\u0275\u0275ProvidersFeature([{provide:d.Eo,useExisting:v}]),n.\u0275\u0275InheritDefinitionFeature]}),v})(),u=(()=>{class v{}return v.\u0275fac=function(p){return new(p||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({providers:[h.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,h.MatCommonModule,r.Ky,g.MatLegacyFormFieldModule]}),v})()},6718:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_MENU_CONTENT:()=>Be,MAT_LEGACY_MENU_DEFAULT_OPTIONS:()=>Qe,MAT_LEGACY_MENU_PANEL:()=>he,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Ft,MatLegacyMenu:()=>Q,MatLegacyMenuContent:()=>Ct,MatLegacyMenuItem:()=>ue,MatLegacyMenuModule:()=>dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ye,matLegacyMenuAnimations:()=>se,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),h=a(3019),f=a(7394),u=a(2096),v=a(6410),b=a(7921),p=a(4664),_=a(8180),l=a(9773),y=a(2181),x=a(7547),D=a(3680),S=a(6814),E=a(8484),I=a(6825),X=a(9388),$=a(9594),ee=a(2831);const ie=["mat-menu-item",""];function A(bt,Oe){1&bt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Me=["mat-icon, [matMenuItemIcon]","*"],he=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class bt extends H{constructor(ge,ot,At,Nt,zt){super(),this._elementRef=ge,this._document=ot,this._focusMonitor=At,this._parentMenu=Nt,this._changeDetectorRef=zt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Nt?.addItem?.(this)}focus(ge,ot){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._getHostElement(),ge,ot):this._getHostElement().focus(ot),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(ge){this.disabled&&(ge.preventDefault(),ge.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ge=this._elementRef.nativeElement.cloneNode(!0),ot=ge.querySelectorAll("mat-icon, .material-icons");for(let At=0;At{class bt{constructor(ge,ot,At,Nt,zt,Ne,$e){this._template=ge,this._componentFactoryResolver=ot,this._appRef=At,this._injector=Nt,this._viewContainerRef=zt,this._document=Ne,this._changeDetectorRef=$e,this._attached=new r.x}attach(ge={}){this._portal||(this._portal=new E.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new E.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const ot=this._template.elementRef.nativeElement;ot.parentNode.insertBefore(this._outlet.outletElement,ot),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ge),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(S.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt}),bt})();const se={transformMenu:(0,I.X$)("transformMenu",[(0,I.SB)("void",(0,I.oB)({opacity:0,transform:"scale(0.8)"})),(0,I.eR)("void => enter",(0,I.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,I.oB)({opacity:1,transform:"scale(1)"}))),(0,I.eR)("* => void",(0,I.jt)("100ms 25ms linear",(0,I.oB)({opacity:0})))]),fadeInItems:(0,I.X$)("fadeInItems",[(0,I.SB)("showing",(0,I.oB)({opacity:1})),(0,I.eR)("void => *",[(0,I.oB)({opacity:0}),(0,I.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ye=se.fadeInItems,He=se.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function We(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class bt{get xPosition(){return this._xPosition}set xPosition(ge){this._xPosition=ge,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ge){this._yPosition=ge,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ge){this._overlapTrigger=(0,d.Ig)(ge)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ge){this._hasBackdrop=(0,d.Ig)(ge)}set panelClass(ge){const ot=this._previousPanelClass;ot&&ot.length&&ot.split(" ").forEach(At=>{this._classList[At]=!1}),this._previousPanelClass=ge,ge&&ge.length&&(ge.split(" ").forEach(At=>{this._classList[At]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ge){this.panelClass=ge}constructor(ge,ot,At,Nt){this._elementRef=ge,this._ngZone=ot,this._changeDetectorRef=Nt,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new r.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Ze++,this.overlayPanelClass=At.overlayPanelClass||"",this._xPosition=At.xPosition,this._yPosition=At.yPosition,this.backdropClass=At.backdropClass,this._overlapTrigger=At.overlapTrigger,this._hasBackdrop=At.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new c.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,p.w)(ge=>(0,h.T)(...ge.map(ot=>ot._focused)))).subscribe(ge=>this._keyManager.updateActiveItem(ge)),this._directDescendantItems.changes.subscribe(ge=>{const ot=this._keyManager;if("enter"===this._panelAnimationState&&ot.activeItem?._hasFocus()){const At=ge.toArray(),Nt=Math.max(0,Math.min(At.length-1,ot.activeItemIndex||0));At[Nt]&&!At[Nt].disabled?ot.setActiveItem(Nt):ot.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,p.w)(ot=>(0,h.T)(...ot.map(At=>At._hovered))))}addItem(ge){}removeItem(ge){}_handleKeydown(ge){const ot=ge.keyCode,At=this._keyManager;switch(ot){case g.hY:(0,g.Vb)(ge)||(ge.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ot===g.LH||ot===g.JH)&&At.setFocusOrigin("keyboard"),void At.onKeydown(ge)}ge.stopPropagation()}focusFirstItem(ge="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let ot=null;if(this._directDescendantItems.length&&(ot=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ot||!ot.contains(document.activeElement)){const At=this._keyManager;At.setFocusOrigin(ge).setFirstItemActive(),!At.activeItem&&ot&&ot.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ge){const ot=Math.min(this._baseElevation+ge,24),At=`${this._elevationPrefix}${ot}`,Nt=Object.keys(this._classList).find(zt=>zt.startsWith(this._elevationPrefix));(!Nt||Nt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[At]=!0,this._previousElevation=At)}setPositionClasses(ge=this.xPosition,ot=this.yPosition){const At=this._classList;At["mat-menu-before"]="before"===ge,At["mat-menu-after"]="after"===ge,At["mat-menu-above"]="above"===ot,At["mat-menu-below"]="below"===ot,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ge){this._animationDone.next(ge),this._isAnimating=!1}_onAnimationStart(ge){this._isAnimating=!0,"enter"===ge.toState&&0===this._keyManager.activeItemIndex&&(ge.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(ge=>{this._directDescendantItems.reset(ge.filter(ot=>ot._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,contentQueries:function(ge,ot,At){if(1&ge&&(n.\u0275\u0275contentQuery(At,Be,5),n.\u0275\u0275contentQuery(At,W,5),n.\u0275\u0275contentQuery(At,W,4)),2&ge){let Nt;n.\u0275\u0275queryRefresh(Nt=n.\u0275\u0275loadQuery())&&(ot.lazyContent=Nt.first),n.\u0275\u0275queryRefresh(Nt=n.\u0275\u0275loadQuery())&&(ot._allItems=Nt),n.\u0275\u0275queryRefresh(Nt=n.\u0275\u0275loadQuery())&&(ot.items=Nt)}},viewQuery:function(ge,ot){if(1&ge&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&ge){let At;n.\u0275\u0275queryRefresh(At=n.\u0275\u0275loadQuery())&&(ot.templateRef=At.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),bt})();const Ft=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Ft,deps:[$.aV],useFactory:function gt(bt){return()=>bt.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class bt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ge){this.menu=ge}get menu(){return this._menu}set menu(ge){ge!==this._menu&&(this._menu=ge,this._menuCloseSubscription.unsubscribe(),ge&&(this._menuCloseSubscription=ge.close.subscribe(ot=>{this._destroyMenu(ot),("click"===ot||"tab"===ot)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ot)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ge,ot,At,Nt,zt,Ne,$e,ae,Ce){this._overlay=ge,this._element=ot,this._viewContainerRef=At,this._menuItemInstance=Ne,this._dir=$e,this._focusMonitor=ae,this._ngZone=Ce,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.w0.EMPTY,this._hoverSubscription=f.w0.EMPTY,this._menuCloseSubscription=f.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=lt=>{(0,c.yG)(lt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Nt,this._parentMaterialMenu=zt instanceof tt?zt:void 0,ot.nativeElement.addEventListener("touchstart",this._handleTouchStart,Tt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Tt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ge=this.menu;if(this._menuOpen||!ge)return;const ot=this._createOverlay(ge),At=ot.getConfig(),Nt=At.positionStrategy;this._setPosition(ge,Nt),At.hasBackdrop=null==ge.hasBackdrop?!this.triggersSubmenu():ge.hasBackdrop,ot.attach(this._getPortal(ge)),ge.lazyContent&&ge.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ge),ge instanceof tt&&(ge._startAnimation(),ge._directDescendantItems.changes.pipe((0,l.R)(ge.close)).subscribe(()=>{Nt.withLockedPosition(!1).reapplyLastPosition(),Nt.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ge,ot){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._element,ge,ot):this._element.nativeElement.focus(ot)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ge){if(!this._overlayRef||!this.menuOpen)return;const ot=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ge||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ot instanceof tt?(ot._resetAnimation(),ot.lazyContent?ot._animationDone.pipe((0,y.h)(At=>"void"===At.toState),(0,_.q)(1),(0,l.R)(ot.lazyContent._attached)).subscribe({next:()=>ot.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ot?.lazyContent?.detach())}_initMenu(ge){ge.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ge.direction=this.dir,this._setMenuElevation(ge),ge.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ge){if(ge.setElevation){let ot=0,At=ge.parentMenu;for(;At;)ot++,At=At.parentMenu;ge.setElevation(ot)}}_setIsMenuOpen(ge){ge!==this._menuOpen&&(this._menuOpen=ge,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ge),this._changeDetectorRef.markForCheck())}_createOverlay(ge){if(!this._overlayRef){const ot=this._getOverlayConfig(ge);this._subscribeToPositions(ge,ot.positionStrategy),this._overlayRef=this._overlay.create(ot),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ge){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ge.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ge.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ge,ot){ge.setPositionClasses&&ot.positionChanges.subscribe(At=>{const Nt="start"===At.connectionPair.overlayX?"after":"before",zt="top"===At.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ge.setPositionClasses(Nt,zt)):ge.setPositionClasses(Nt,zt)})}_setPosition(ge,ot){let[At,Nt]="before"===ge.xPosition?["end","start"]:["start","end"],[zt,Ne]="above"===ge.yPosition?["bottom","top"]:["top","bottom"],[$e,ae]=[zt,Ne],[Ce,lt]=[At,Nt],_e=0;if(this.triggersSubmenu()){if(lt=At="before"===ge.xPosition?"start":"end",Nt=Ce="end"===At?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}_e="bottom"===zt?this._parentInnerPadding:-this._parentInnerPadding}}else ge.overlapTrigger||($e="top"===zt?"bottom":"top",ae="top"===Ne?"bottom":"top");ot.withPositions([{originX:At,originY:$e,overlayX:Ce,overlayY:zt,offsetY:_e},{originX:Nt,originY:$e,overlayX:lt,overlayY:zt,offsetY:_e},{originX:At,originY:ae,overlayX:Ce,overlayY:Ne,offsetY:-_e},{originX:Nt,originY:ae,overlayX:lt,overlayY:Ne,offsetY:-_e}])}_menuClosingActions(){const ge=this._overlayRef.backdropClick(),ot=this._overlayRef.detachments(),At=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Nt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(zt=>zt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,h.T)(ge,At,Nt,ot)}_handleMousedown(ge){(0,c.X6)(ge)||(this._openedBy=0===ge.button?"mouse":void 0,this.triggersSubmenu()&&ge.preventDefault())}_handleKeydown(ge){const ot=ge.keyCode;(ot===g.K5||ot===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ot===g.SV&&"ltr"===this.dir||ot===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ge){this.triggersSubmenu()?(ge.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(ge=>ge===this._menuItemInstance&&!ge.disabled),(0,x.g)(0,v.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,_.q)(1),(0,x.g)(0,v.E),(0,l.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ge){return(!this._portal||this._portal.templateRef!==ge.templateRef)&&(this._portal=new E.UE(ge.templateRef,this._viewContainerRef)),this._portal}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Ft),n.\u0275\u0275directiveInject(he,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,hostVars:3,hostBindings:function(ge,ot){1&ge&&n.\u0275\u0275listener("click",function(Nt){return ot._handleClick(Nt)})("mousedown",function(Nt){return ot._handleMousedown(Nt)})("keydown",function(Nt){return ot._handleKeydown(Nt)}),2&ge&&n.\u0275\u0275attribute("aria-haspopup",ot.menu?"menu":null)("aria-expanded",ot.menuOpen)("aria-controls",ot.menuOpen?ot.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),bt})();var at=a(6672);function N(bt,Oe){if(1&bt){const ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(At){n.\u0275\u0275restoreView(ge);const Nt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Nt._handleKeydown(At))})("click",function(){n.\u0275\u0275restoreView(ge);const At=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(At.closed.emit("click"))})("@transformMenu.start",function(At){n.\u0275\u0275restoreView(ge);const Nt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Nt._onAnimationStart(At))})("@transformMenu.done",function(At){n.\u0275\u0275restoreView(ge);const Nt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Nt._onAnimationDone(At))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&bt){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ge.panelId)("ngClass",ge._classList)("@transformMenu",ge._panelAnimationState),n.\u0275\u0275attribute("aria-label",ge.ariaLabel||null)("aria-labelledby",ge.ariaLabelledby||null)("aria-describedby",ge.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(bt,Oe){1&bt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let Q=(()=>{class bt extends tt{constructor(ge,ot,At,Nt){super(ge,ot,At,Nt),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},bt.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(ge,ot){2&ge&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:he,useExisting:bt}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:oe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(ge,ot){1&ge&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,N,3,6,"ng-template"))},dependencies:[S.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[se.transformMenu,se.fadeInItems]},changeDetection:0}),bt})(),ue=(()=>{class bt extends W{}return bt.\u0275fac=function(){let Oe;return function(ot){return(Oe||(Oe=n.\u0275\u0275getInheritedFactory(bt)))(ot||bt)}}(),bt.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(ge,ot){2&ge&&(n.\u0275\u0275attribute("role",ot.role)("tabindex",ot._getTabIndex())("aria-disabled",ot.disabled.toString())("disabled",ot.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",ot._highlighted)("mat-menu-item-submenu-trigger",ot._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[n.\u0275\u0275ProvidersFeature([{provide:W,useExisting:bt}]),n.\u0275\u0275InheritDefinitionFeature],attrs:Y,ngContentSelectors:oe,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ge,ot){1&ge&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&ge&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",ot.disableRipple||ot.disabled)("matRippleTrigger",ot._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ot._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),bt})(),Te=(()=>{class bt extends Le{}return bt.\u0275fac=function(){let Oe;return function(ot){return(Oe||(Oe=n.\u0275\u0275getInheritedFactory(bt)))(ot||bt)}}(),bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),bt})(),Ct=(()=>{class bt extends G{}return bt.\u0275fac=function(){let Oe;return function(ot){return(Oe||(Oe=n.\u0275\u0275getInheritedFactory(bt)))(ot||bt)}}(),bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:bt}]),n.\u0275\u0275InheritDefinitionFeature]}),bt})(),dt=(()=>{class bt{}return bt.\u0275fac=function(ge){return new(ge||bt)},bt.\u0275mod=n.\u0275\u0275defineNgModule({type:bt}),bt.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),bt})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Ne,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>$e,MatLegacyPaginatorIntl:()=>ct,MatLegacyPaginatorModule:()=>ae,_MatLegacyPaginatorBase:()=>Q});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),h=a(9594),f=a(4300),u=a(6672),v=a(9388),b=a(1088),p=a(2831),_=a(9773),l=a(8180),y=a(2495),x=a(6028),D=a(8484),S=a(8645);a(6825);const ee=new c.InjectionToken("mat-tooltip-scroll-strategy"),A={provide:ee,deps:[h.aV],useFactory:function ie(Ce){return()=>Ce.scrollStrategies.reposition({scrollThrottle:20})}},Me=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",he=(0,p.i$)({passive:!0});let Be=(()=>{class Ce{get position(){return this._position}set position(_e){_e!==this._position&&(this._position=_e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(_e){this._positionAtOrigin=(0,y.Ig)(_e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(_e){this._disabled=(0,y.Ig)(_e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(_e){this._showDelay=(0,y.su)(_e)}get hideDelay(){return this._hideDelay}set hideDelay(_e){this._hideDelay=(0,y.su)(_e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(_e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=_e?String(_e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(_e){this._tooltipClass=_e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(_e,Ye,De,F,V,K,ve,ut,Pt,qe,et,Ve){this._overlay=_e,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=K,this._ariaDescriber=ve,this._focusMonitor=ut,this._dir=qe,this._defaultOptions=et,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new S.x,this._scrollStrategy=Pt,this._document=Ve,et&&(this._showDelay=et.showDelay,this._hideDelay=et.hideDelay,et.position&&(this.position=et.position),et.positionAtOrigin&&(this.positionAtOrigin=et.positionAtOrigin),et.touchGestures&&(this.touchGestures=et.touchGestures)),qe.change.pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,_.R)(this._destroyed)).subscribe(_e=>{_e?"keyboard"===_e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const _e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{_e.removeEventListener(Ye,De,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(_e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(_e)}show(_e=this.showDelay,Ye){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const De=this._createOverlay(Ye);this._detach(),this._portal=this._portal||new D.C5(this._tooltipComponent,this._viewContainerRef);const F=this._tooltipInstance=De.attach(this._portal).instance;F._triggerElement=this._elementRef.nativeElement,F._mouseLeaveHideDelay=this._hideDelay,F.afterHidden().pipe((0,_.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),F.show(_e)}hide(_e=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(_e):(Ye._cancelPendingAnimations(),this._detach()))}toggle(_e){this._isTooltipVisible()?this.hide():this.show(void 0,_e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(_e){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!_e)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&_e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Ye);return De.positionChanges.pipe((0,_.R)(this._destroyed)).subscribe(F=>{this._updateCurrentPositionClass(F.connectionPair),this._tooltipInstance&&F.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:De,panelClass:`${this._cssClassPrefix}-${Ae}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,_.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,_.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,_.R)(this._destroyed)).subscribe(F=>{this._isTooltipVisible()&&F.keyCode===x.hY&&!(0,x.Vb)(F)&&(F.preventDefault(),F.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(_e){const Ye=_e.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(_e){return _e}_getOrigin(){const _e=!this._dir||"ltr"==this._dir.value,Ye=this.position;let De;"above"==Ye||"below"==Ye?De={originX:"center",originY:"above"==Ye?"top":"bottom"}:"before"==Ye||"left"==Ye&&_e||"right"==Ye&&!_e?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&_e||"left"==Ye&&!_e)&&(De={originX:"end",originY:"center"});const{x:F,y:V}=this._invertPosition(De.originX,De.originY);return{main:De,fallback:{originX:F,originY:V}}}_getOverlayPosition(){const _e=!this._dir||"ltr"==this._dir.value,Ye=this.position;let De;"above"==Ye?De={overlayX:"center",overlayY:"bottom"}:"below"==Ye?De={overlayX:"center",overlayY:"top"}:"before"==Ye||"left"==Ye&&_e||"right"==Ye&&!_e?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&_e||"left"==Ye&&!_e)&&(De={overlayX:"start",overlayY:"center"});const{x:F,y:V}=this._invertPosition(De.overlayX,De.overlayY);return{main:De,fallback:{overlayX:F,overlayY:V}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,l.q)(1),(0,_.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(_e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=_e,this._tooltipInstance._markForCheck())}_invertPosition(_e,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===_e?_e="start":"start"===_e&&(_e="end"),{x:_e,y:Ye}}_updateCurrentPositionClass(_e){const{overlayY:Ye,originX:De,originY:F}=_e;let V;if(V="center"===Ye?this._dir&&"rtl"===this._dir.value?"end"===De?"left":"right":"start"===De?"left":"right":"bottom"===Ye&&"top"===F?"above":"below",V!==this._currentPosition){const K=this._overlayRef;if(K){const ve=`${this._cssClassPrefix}-${Ae}-`;K.removePanelClass(ve+this._currentPosition),K.addPanelClass(ve+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",_e=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==_e.x&&void 0!==_e.y&&(Ye=_e),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",_e=>{const Ye=_e.targetTouches?.[0],De=Ye?{x:Ye.clientX,y:Ye.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,De),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const _e=[];if(this._platformSupportsMouseEvents())_e.push(["mouseleave",Ye=>{const De=Ye.relatedTarget;(!De||!this._overlayRef?.overlayElement.contains(De))&&this.hide()}],["wheel",Ye=>this._wheelListener(Ye)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Ye=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};_e.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(_e),this._passiveListeners.push(..._e)}_addListeners(_e){_e.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(_e){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(_e.clientX,_e.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const _e=this.touchGestures;if("off"!==_e){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===_e||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===_e||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return Ce.\u0275fac=function(_e){c.\u0275\u0275invalidFactory()},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),Ce})(),re=(()=>{class Ce{constructor(_e,Ye){this._changeDetectorRef=_e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(_e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},_e)}hide(_e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},_e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:_e}){(!_e||!this._triggerElement.contains(_e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:_e}){(_e===this._showAnimation||_e===this._hideAnimation)&&this._finalizeAnimation(_e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(_e){_e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(_e){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(_e?F:De),Ye.classList.add(_e?De:F),this._isVisible=_e,_e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}_e&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(_e))}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce}),Ce})();const Ze=["tooltip"];let Qe=(()=>{class Ce extends Be{constructor(_e,Ye,De,F,V,K,ve,ut,Pt,qe,et,Ve){super(_e,Ye,De,F,V,K,ve,ut,Pt,qe,et,Ve),this._tooltipComponent=We}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(h.aV),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(u.mF),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(p.t4),c.\u0275\u0275directiveInject(f.$s),c.\u0275\u0275directiveInject(f.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Me,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(_e,Ye){2&_e&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),Ce})(),We=(()=>{class Ce extends re{constructor(_e,Ye,De){super(_e,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Ce.\u0275cmp=c.\u0275\u0275defineComponent({type:Ce,selectors:[["mat-tooltip-component"]],viewQuery:function(_e,Ye){if(1&_e&&c.\u0275\u0275viewQuery(Ze,7),2&_e){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(_e,Ye){1&_e&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&_e&&(c.\u0275\u0275attribute("mat-id-collision",null),c.\u0275\u0275styleProp("zoom",Ye.isVisible()?1:null))},features:[c.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(_e,Ye){if(1&_e&&(c.\u0275\u0275elementStart(0,"div",0,1),c.\u0275\u0275listener("animationend",function(F){return Ye._handleAnimationEnd(F)}),c.\u0275\u0275pipe(2,"async"),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()),2&_e){let De;c.\u0275\u0275classProp("mat-tooltip-handset",null==(De=c.\u0275\u0275pipeBind1(2,4,Ye._isHandset))?null:De.matches),c.\u0275\u0275property("ngClass",Ye.tooltipClass),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(Ye.message)}},dependencies:[n.NgClass,n.AsyncPipe],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),Ce})(),tt=(()=>{class Ce{}return Ce.\u0275fac=function(_e){return new(_e||Ce)},Ce.\u0275mod=c.\u0275\u0275defineNgModule({type:Ce}),Ce.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[f.rt,n.CommonModule,h.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),Ce})(),ct=(()=>{class Ce{constructor(){this.changes=new S.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(_e,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=_e*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return Ce.\u0275fac=function(_e){return new(_e||Ce)},Ce.\u0275prov=c.\u0275\u0275defineInjectable({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})();function ze(Ce){return Ce||new ct}const at={provide:ct,deps:[[new c.Optional,new c.SkipSelf,ct]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let Q=(()=>{class Ce extends ne{get pageIndex(){return this._pageIndex}set pageIndex(_e){this._pageIndex=Math.max((0,y.su)(_e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(_e){this._length=(0,y.su)(_e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(_e){this._pageSize=Math.max((0,y.su)(_e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(_e){this._pageSizeOptions=(_e||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(_e){this._hidePageSize=(0,y.Ig)(_e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(_e){this._showFirstLastButtons=(0,y.Ig)(_e)}constructor(_e,Ye,De){if(super(),this._intl=_e,this._changeDetectorRef=Ye,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new c.EventEmitter,this._intlChanges=_e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:K,showFirstLastButtons:ve}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=K&&(this._hidePageSize=K),null!=ve&&(this._showFirstLastButtons=ve)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const _e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(_e)}previousPage(){if(!this.hasPreviousPage())return;const _e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(_e)}firstPage(){if(!this.hasPreviousPage())return;const _e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(_e)}lastPage(){if(!this.hasNextPage())return;const _e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(_e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const _e=this.getNumberOfPages()-1;return this.pageIndex<_e&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(_e){const De=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/_e)||0,this.pageSize=_e,this._emitPageEvent(De)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((_e,Ye)=>_e-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(_e){this.page.emit({previousPageIndex:_e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return Ce.\u0275fac=function(_e){c.\u0275\u0275invalidFactory()},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),Ce})();var dt=a(4187),bt=a(4678);function Oe(Ce,lt){if(1&Ce&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Ce){const _e=lt.$implicit;c.\u0275\u0275property("value",_e),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",_e," ")}}function ge(Ce,lt){if(1&Ce){const _e=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(_e);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,Oe,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&Ce){const _e=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",_e._formFieldAppearance)("color",_e.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",_e.pageSize)("disabled",_e.disabled)("panelClass",_e.selectConfig.panelClass||"")("disableOptionCentering",_e.selectConfig.disableOptionCentering)("aria-label",_e._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",_e._displayedPageSizeOptions)}}function ot(Ce,lt){if(1&Ce&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Ce){const _e=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(_e.pageSize)}}function At(Ce,lt){if(1&Ce&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,ge,3,8,"mat-form-field",14),c.\u0275\u0275template(4,ot,2,1,"div",15),c.\u0275\u0275elementEnd()),2&Ce){const _e=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",_e._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",_e._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",_e._displayedPageSizeOptions.length<=1)}}function Nt(Ce,lt){if(1&Ce){const _e=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(_e);const De=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(De.firstPage())}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(1,"svg",7),c.\u0275\u0275element(2,"path",22),c.\u0275\u0275elementEnd()()}if(2&Ce){const _e=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",_e._intl.firstPageLabel)("matTooltipDisabled",_e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",_e._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",_e._intl.firstPageLabel)}}function zt(Ce,lt){if(1&Ce){const _e=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(_e);const De=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(De.lastPage())}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(1,"svg",7),c.\u0275\u0275element(2,"path",24),c.\u0275\u0275elementEnd()()}if(2&Ce){const _e=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",_e._intl.lastPageLabel)("matTooltipDisabled",_e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",_e._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",_e._intl.lastPageLabel)}}const Ne=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let $e=(()=>{class Ce extends Q{constructor(_e,Ye,De){super(_e,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(ct),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Ne,8))},Ce.\u0275cmp=c.\u0275\u0275defineComponent({type:Ce,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[c.\u0275\u0275InheritDefinitionFeature],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(_e,Ye){1&_e&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,At,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Nt,3,5,"button",5),c.\u0275\u0275elementStart(7,"button",6),c.\u0275\u0275listener("click",function(){return Ye.previousPage()}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(8,"svg",7),c.\u0275\u0275element(9,"path",8),c.\u0275\u0275elementEnd()(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(10,"button",9),c.\u0275\u0275listener("click",function(){return Ye.nextPage()}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(11,"svg",7),c.\u0275\u0275element(12,"path",10),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(13,zt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&_e&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!Ye.hidePageSize),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate1(" ",Ye._intl.getRangeLabel(Ye.pageIndex,Ye.pageSize,Ye.length)," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Ye.showFirstLastButtons),c.\u0275\u0275advance(1),c.\u0275\u0275property("matTooltip",Ye._intl.previousPageLabel)("matTooltipDisabled",Ye._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Ye._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Ye._intl.previousPageLabel),c.\u0275\u0275advance(3),c.\u0275\u0275property("matTooltip",Ye._intl.nextPageLabel)("matTooltipDisabled",Ye._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Ye._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Ye._intl.nextPageLabel),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",Ye.showFirstLastButtons))},dependencies:[n.NgForOf,n.NgIf,g.MatLegacyButton,dt.MatLegacyFormField,r.MatLegacySelect,bt.MatLegacyOption,Qe],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),Ce})(),ae=(()=>{class Ce{}return Ce.\u0275fac=function(_e){return new(_e||Ce)},Ce.\u0275mod=c.\u0275\u0275defineNgModule({type:Ce}),Ce.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),Ce})()},1438:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>b,MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>p,MatLegacyProgressSpinner:()=>A,MatLegacyProgressSpinnerModule:()=>U,MatLegacySpinner:()=>Me});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),h=a(3680);const b=new r.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:p});function p(){return{diameter:_}}const _=100;var S=a(7394);function E(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const he=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+he._spinnerAnimationLabel)("stroke-dashoffset",he._getStrokeDashOffset(),"px")("stroke-dasharray",he._getStrokeCircumference(),"px")("stroke-width",he._getCircleStrokeWidth(),"%")("transform-origin",he._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",he._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const he=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",he._getStrokeDashOffset(),"px")("stroke-dasharray",he._getStrokeCircumference(),"px")("stroke-width",he._getCircleStrokeWidth(),"%")("transform-origin",he._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",he._getCircleRadius())}}const ee=(0,h.mixinColor)(class{constructor(Re){this._elementRef=Re}},"primary");class A extends ee{get diameter(){return this._diameter}set diameter(Ae){this._diameter=(0,n.su)(Ae),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Ae){this._strokeWidth=(0,n.su)(Ae)}get value(){return"determinate"===this.mode?this._value:0}set value(Ae){this._value=Math.max(0,Math.min(100,(0,n.su)(Ae)))}constructor(Ae,he,H,W,pe,we,Ee,Be,G){super(Ae),this._document=H,this._nonce=G,this._diameter=100,this._value=0,this._resizeSubscription=S.w0.EMPTY,this.mode="determinate";const re=A._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),re.has(H.head)||re.set(H.head,new Set([100])),this._noopAnimations="NoopAnimations"===W&&!!pe&&!pe._forceAnimations,"mat-spinner"===Ae.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),pe&&(pe.color&&(this.color=this.defaultColor=pe.color),pe.diameter&&(this.diameter=pe.diameter),pe.strokeWidth&&(this.strokeWidth=pe.strokeWidth)),he.isBrowser&&he.SAFARI&&Ee&&we&&Be&&(this._resizeSubscription=Ee.change(150).subscribe(()=>{"indeterminate"===this.mode&&Be.run(()=>we.markForCheck())}))}ngOnInit(){const Ae=this._elementRef.nativeElement;this._styleRoot=(0,c.kV)(Ae)||this._document.head,this._attachStyleNode(),Ae.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Ae=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Ae} ${Ae}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(Ae){const he=50*(Ae.currentScale??1);return`${he}% ${he}%`}_attachStyleNode(){const Ae=this._styleRoot,he=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(he)){const pe=this._document.createElement("style");this._nonce&&(pe.nonce=this._nonce),pe.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),pe.textContent=this._getAnimationText(),Ae.appendChild(pe),W||(W=new Set,H.set(Ae,W)),W.add(he)}}_getAnimationText(){const Ae=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*Ae).replace(/END_VALUE/g,""+.2*Ae).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}A._diameters=new WeakMap,A.\u0275fac=function(Ae){return new(Ae||A)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(c.t4),r.\u0275\u0275directiveInject(g.DOCUMENT,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),r.\u0275\u0275directiveInject(b),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(d.rL),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.CSP_NONCE,8))},A.\u0275cmp=r.\u0275\u0275defineComponent({type:A,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(Ae,he){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===he.mode?0:null)("aria-valuemax","determinate"===he.mode?100:null)("aria-valuenow","determinate"===he.mode?he.value:null)("mode",he.mode),r.\u0275\u0275styleProp("width",he.diameter,"px")("height",he.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",he._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(Ae,he){1&Ae&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",0,1),r.\u0275\u0275template(2,E,1,11,"circle",2),r.\u0275\u0275template(3,I,1,9,"circle",3),r.\u0275\u0275elementEnd()),2&Ae&&(r.\u0275\u0275styleProp("width",he.diameter,"px")("height",he.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===he.mode),r.\u0275\u0275attribute("viewBox",he._getViewBox()),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngSwitchCase",!0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[g.NgSwitch,g.NgSwitchCase],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let U=(()=>{class Re{}return Re.\u0275fac=function(he){return new(he||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[h.MatCommonModule,g.CommonModule,h.MatCommonModule]}),Re})();const Me=A},1036:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_RADIO_DEFAULT_OPTIONS:()=>l,MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY:()=>y,MAT_LEGACY_RADIO_GROUP:()=>_,MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>A,MatLegacyRadioButton:()=>Me,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),h=a(2495);const f=["input"];let v=0;class b{constructor(he,H){this.source=he,this.value=H}}const _=new n.InjectionToken("MatRadioGroup"),l=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:y});function y(){return{color:"accent"}}let x=(()=>{class Ae{get name(){return this._name}set name(H){this._name=H,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(H){this._labelPosition="before"===H?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(H){this._value!==H&&(this._value=H,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(H){this._selected=H,this.value=H?H.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,h.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,h.Ig)(H),this._markRadiosForCheck()}constructor(H){this._changeDetector=H,this._value=null,this._name="mat-radio-group-"+v++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(H=>H===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(H=>{H.name=this.name,H._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(W=>{W.checked=this.value===W.value,W.checked&&(this._selected=W)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new b(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(H=>H._markForCheck())}writeValue(H){this.value=H,this._changeDetector.markForCheck()}registerOnChange(H){this._controlValueAccessorChangeFn=H}registerOnTouched(H){this.onTouched=H}setDisabledState(H){this.disabled=H,this._changeDetector.markForCheck()}}return Ae.\u0275fac=function(H){return new(H||Ae)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Ae.\u0275dir=n.\u0275\u0275defineDirective({type:Ae,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Ae})();class D{constructor(he){this._elementRef=he}}const S=(0,c.mixinDisableRipple)((0,c.mixinTabIndex)(D));let E=(()=>{class Ae extends S{get checked(){return this._checked}set checked(H){const W=(0,h.Ig)(H);this._checked!==W&&(this._checked=W,W&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!W&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),W&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(H){this._value!==H&&(this._value=H,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===H),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(H){this._labelPosition=H}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(H){this._setDisabled((0,h.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,h.Ig)(H)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(H){this._color=H}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(H,W,pe,we,Ee,Be,G,re){super(W),this._changeDetector=pe,this._focusMonitor=we,this._radioDispatcher=Ee,this._providerOverride=G,this._uniqueId="mat-radio-"+ ++v,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=H,this._noopAnimations="NoopAnimations"===Be,re&&(this.tabIndex=(0,h.su)(re,0))}focus(H,W){W?this._focusMonitor.focusVia(this._inputElement,W,H):this._inputElement.nativeElement.focus(H)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((H,W)=>{H!==this.id&&W===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(H=>{!H&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new b(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(H){H.stopPropagation()}_onInputInteraction(H){if(H.stopPropagation(),!this.checked&&!this.disabled){const W=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),W&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(H){this._onInputInteraction(H),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(H){this._disabled!==H&&(this._disabled=H,this._changeDetector.markForCheck())}_updateTabIndex(){const H=this.radioGroup;let W;if(W=H&&H.selected&&!this.disabled?H.selected===this?this.tabIndex:-1:this.tabIndex,W!==this._previousTabIndex){const pe=this._inputElement?.nativeElement;pe&&(pe.setAttribute("tabindex",W+""),this._previousTabIndex=W)}}}return Ae.\u0275fac=function(H){n.\u0275\u0275invalidFactory()},Ae.\u0275dir=n.\u0275\u0275defineDirective({type:Ae,viewQuery:function(H,W){if(1&H&&n.\u0275\u0275viewQuery(f,5),2&H){let pe;n.\u0275\u0275queryRefresh(pe=n.\u0275\u0275loadQuery())&&(W._inputElement=pe.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Ae})();const ee=function(Ae){return{enterDuration:Ae}},ie=["*"],A={provide:r.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>U),multi:!0};let U=(()=>{class Ae extends x{}return Ae.\u0275fac=function(){let he;return function(W){return(he||(he=n.\u0275\u0275getInheritedFactory(Ae)))(W||Ae)}}(),Ae.\u0275dir=n.\u0275\u0275defineDirective({type:Ae,selectors:[["mat-radio-group"]],contentQueries:function(H,W,pe){if(1&H&&n.\u0275\u0275contentQuery(pe,Me,5),2&H){let we;n.\u0275\u0275queryRefresh(we=n.\u0275\u0275loadQuery())&&(W._radios=we)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([A,{provide:_,useExisting:Ae}]),n.\u0275\u0275InheritDefinitionFeature]}),Ae})(),Me=(()=>{class Ae extends E{constructor(H,W,pe,we,Ee,Be,G,re){super(H,W,pe,we,Ee,Be,G,re)}}return Ae.\u0275fac=function(H){return new(H||Ae)(n.\u0275\u0275directiveInject(_,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(g.A8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(l,8),n.\u0275\u0275injectAttribute("tabindex"))},Ae.\u0275cmp=n.\u0275\u0275defineComponent({type:Ae,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(H,W){1&H&&n.\u0275\u0275listener("focus",function(){return W._inputElement.nativeElement.focus()}),2&H&&(n.\u0275\u0275attribute("tabindex",null)("id",W.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-radio-checked",W.checked)("mat-radio-disabled",W.disabled)("_mat-animation-noopable",W._noopAnimations)("mat-primary","primary"===W.color)("mat-accent","accent"===W.color)("mat-warn","warn"===W.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ie,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(H,W){if(1&H&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2),n.\u0275\u0275element(3,"span",3)(4,"span",4),n.\u0275\u0275elementStart(5,"input",5,6),n.\u0275\u0275listener("change",function(we){return W._onInputInteraction(we)})("click",function(we){return W._onInputClick(we)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(7,"span",7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(9,"span",9)(10,"span",10),n.\u0275\u0275text(11,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&H){const pe=n.\u0275\u0275reference(1);n.\u0275\u0275attribute("for",W.inputId),n.\u0275\u0275advance(5),n.\u0275\u0275property("id",W.inputId)("checked",W.checked)("disabled",W.disabled)("required",W.required),n.\u0275\u0275attribute("name",W.name)("value",W.value)("aria-label",W.ariaLabel)("aria-labelledby",W.ariaLabelledby)("aria-describedby",W.ariaDescribedby),n.\u0275\u0275advance(2),n.\u0275\u0275property("matRippleTrigger",pe)("matRippleDisabled",W._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(17,ee,W._noopAnimations?0:150)),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-radio-label-before","before"==W.labelPosition)}},dependencies:[c.MatRipple],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),Ae})(),Re=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275mod=n.\u0275\u0275defineNgModule({type:Ae}),Ae.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatRippleModule,c.MatCommonModule,c.MatCommonModule]}),Ae})()},1798:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_SELECT_CONFIG:()=>Qe,MAT_LEGACY_SELECT_SCROLL_STRATEGY:()=>He,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER:()=>We,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>ot,MatLegacySelectChange:()=>Oe,MatLegacySelectModule:()=>At,MatLegacySelectTrigger:()=>ge,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),h=a(1043),f=a(4187),u=a(6672),v=a(4300),b=a(9388),p=a(2495),_=a(8337),l=a(6028),y=a(6223),x=a(8645),D=a(4911),S=a(3019),E=a(7921),I=a(4664),X=a(8180),$=a(2181),ee=a(7398),ie=a(3997),A=a(9773),U=a(6825);const Me=["trigger"],Re=["panel"];let ye=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Nt){return()=>Nt.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),We={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Ft=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Nt,zt,Ne,$e,ae){this._elementRef=Nt,this._defaultErrorStateMatcher=zt,this._parentForm=Ne,this._parentFormGroup=$e,this.ngControl=ae,this.stateChanges=new x.x}}))));let gt=(()=>{class Nt extends Ft{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ne){this._placeholder=Ne,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Ne){this._required=(0,p.Ig)(Ne),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ne){this._multiple=(0,p.Ig)(Ne)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ne){this._disableOptionCentering=(0,p.Ig)(Ne)}get compareWith(){return this._compareWith}set compareWith(Ne){this._compareWith=Ne,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ne){this._assignValue(Ne)&&this._onChange(Ne)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ne){this._typeaheadDebounceInterval=(0,p.su)(Ne)}get id(){return this._id}set id(Ne){this._id=Ne||this._uid,this.stateChanges.next()}constructor(Ne,$e,ae,Ce,lt,_e,Ye,De,F,V,K,ve,ut,Pt){super(lt,Ce,Ye,De,V),this._viewportRuler=Ne,this._changeDetectorRef=$e,this._ngZone=ae,this._dir=_e,this._parentFormField=F,this._liveAnnouncer=ut,this._defaultOptions=Pt,this._panelOpen=!1,this._compareWith=(qe,et)=>qe===et,this._uid="mat-select-"+ye++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ye++,this._panelDoneAnimatingStream=new x.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,D.P)(()=>{const qe=this.options;return qe?qe.changes.pipe((0,E.O)(qe),(0,I.w)(()=>(0,S.T)(...qe.map(et=>et.onSelectionChange)))):this._ngZone.onStable.pipe((0,X.q)(1),(0,I.w)(()=>this.optionSelectionChanges))}),this.openedChange=new d.EventEmitter,this._openedStream=this.openedChange.pipe((0,$.h)(qe=>qe),(0,ee.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,$.h)(qe=>!qe),(0,ee.U)(()=>{})),this.selectionChange=new d.EventEmitter,this.valueChange=new d.EventEmitter,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Pt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Pt.typeaheadDebounceInterval),this._scrollStrategyFactory=ve,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(K)||0,this.id=this.id}ngOnInit(){this._selectionModel=new _.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ie.x)(),(0,A.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,A.R)(this._destroy)).subscribe(Ne=>{Ne.added.forEach($e=>$e.select()),Ne.removed.forEach($e=>$e.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ne=this._getTriggerAriaLabelledby(),$e=this.ngControl;if(Ne!==this._triggerAriaLabelledBy){const ae=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ne,Ne?ae.setAttribute("aria-labelledby",Ne):ae.removeAttribute("aria-labelledby")}$e&&(this._previousControl!==$e.control&&(void 0!==this._previousControl&&null!==$e.disabled&&$e.disabled!==this.disabled&&(this.disabled=$e.disabled),this._previousControl=$e.control),this.updateErrorState())}ngOnChanges(Ne){(Ne.disabled||Ne.userAriaDescribedBy)&&this.stateChanges.next(),Ne.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Ne=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ne)return;const $e=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",$e),(0,v.Zf)(Ne,"aria-owns",$e),this._trackedModal=Ne}_clearFromModal(){this._trackedModal&&((0,v.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ne){this._assignValue(Ne)}registerOnChange(Ne){this._onChange=Ne}registerOnTouched(Ne){this._onTouched=Ne}setDisabledState(Ne){this.disabled=Ne,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ne=this._selectionModel.selected.map($e=>$e.viewValue);return this._isRtl()&&Ne.reverse(),Ne.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ne){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ne):this._handleClosedKeydown(Ne))}_handleClosedKeydown(Ne){const $e=Ne.keyCode,ae=$e===l.JH||$e===l.LH||$e===l.oh||$e===l.SV,Ce=$e===l.K5||$e===l.L_,lt=this._keyManager;if(!lt.isTyping()&&Ce&&!(0,l.Vb)(Ne)||(this.multiple||Ne.altKey)&&ae)Ne.preventDefault(),this.open();else if(!this.multiple){const _e=this.selected;lt.onKeydown(Ne);const Ye=this.selected;Ye&&_e!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Ne){const $e=this._keyManager,ae=Ne.keyCode,Ce=ae===l.JH||ae===l.LH,lt=$e.isTyping();if(Ce&&Ne.altKey)Ne.preventDefault(),this.close();else if(lt||ae!==l.K5&&ae!==l.L_||!$e.activeItem||(0,l.Vb)(Ne))if(!lt&&this._multiple&&ae===l.A&&Ne.ctrlKey){Ne.preventDefault();const _e=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(_e?Ye.select():Ye.deselect())})}else{const _e=$e.activeItemIndex;$e.onKeydown(Ne),this._multiple&&Ce&&Ne.shiftKey&&$e.activeItem&&$e.activeItemIndex!==_e&&$e.activeItem._selectViaInteraction()}else Ne.preventDefault(),$e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,X.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ne){if(this.options.forEach($e=>$e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ne)Array.isArray(Ne),Ne.forEach($e=>this._selectOptionByValue($e)),this._sortValues();else{const $e=this._selectOptionByValue(Ne);$e?this._keyManager.updateActiveItem($e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ne){const $e=this.options.find(ae=>{if(this._selectionModel.isSelected(ae))return!1;try{return null!=ae.value&&this._compareWith(ae.value,Ne)}catch{return!1}});return $e&&this._selectionModel.select($e),$e}_assignValue(Ne){return!!(Ne!==this._value||this._multiple&&Array.isArray(Ne))&&(this.options&&this._setSelectionByValue(Ne),this._value=Ne,!0)}_skipPredicate(Ne){return Ne.disabled}_initKeyManager(){this._keyManager=new v.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ne=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Ne)).subscribe($e=>{this._onSelect($e.source,$e.isUserInput),$e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map($e=>$e._stateChanges)).pipe((0,A.R)(Ne)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ne,$e){const ae=this._selectionModel.isSelected(Ne);null!=Ne.value||this._multiple?(ae!==Ne.selected&&(Ne.selected?this._selectionModel.select(Ne):this._selectionModel.deselect(Ne)),$e&&this._keyManager.setActiveItem(Ne),this.multiple&&(this._sortValues(),$e&&this.focus())):(Ne.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ne.value)),ae!==this._selectionModel.isSelected(Ne)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ne=this.options.toArray();this._selectionModel.sort(($e,ae)=>this.sortComparator?this.sortComparator($e,ae,Ne):Ne.indexOf($e)-Ne.indexOf(ae)),this.stateChanges.next()}}_propagateChanges(Ne){let $e=null;$e=this.multiple?this.selected.map(ae=>ae.value):this.selected?this.selected.value:Ne,this._value=$e,this.valueChange.emit($e),this._onChange($e),this.selectionChange.emit(this._getChangeEvent($e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ne=-1;for(let $e=0;$e0}focus(Ne){this._elementRef.nativeElement.focus(Ne)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ne=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ne?Ne+" ":"")+this.ariaLabelledby:Ne}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ne=this._parentFormField?.getLabelId();let $e=(Ne?Ne+" ":"")+this._valueId;return this.ariaLabelledby&&($e+=" "+this.ariaLabelledby),$e}_panelDoneAnimating(Ne){this.openedChange.emit(Ne)}setDescribedByIds(Ne){Ne.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ne.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Nt.\u0275fac=function(Ne){return new(Ne||Nt)(d.\u0275\u0275directiveInject(u.rL),d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(g.ErrorStateMatcher),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(b.Is,8),d.\u0275\u0275directiveInject(y.NgForm,8),d.\u0275\u0275directiveInject(y.FormGroupDirective,8),d.\u0275\u0275directiveInject(h.G_,8),d.\u0275\u0275directiveInject(y.NgControl,10),d.\u0275\u0275injectAttribute("tabindex"),d.\u0275\u0275directiveInject(He),d.\u0275\u0275directiveInject(v.Kd),d.\u0275\u0275directiveInject(Qe,8))},Nt.\u0275dir=d.\u0275\u0275defineDirective({type:Nt,viewQuery:function(Ne,$e){if(1&Ne&&(d.\u0275\u0275viewQuery(Me,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Ne){let ae;d.\u0275\u0275queryRefresh(ae=d.\u0275\u0275loadQuery())&&($e.trigger=ae.first),d.\u0275\u0275queryRefresh(ae=d.\u0275\u0275loadQuery())&&($e.panel=ae.first),d.\u0275\u0275queryRefresh(ae=d.\u0275\u0275loadQuery())&&($e._overlayDir=ae.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[d.\u0275\u0275InheritDefinitionFeature,d.\u0275\u0275NgOnChangesFeature]}),Nt})();function Le(Nt,zt){if(1&Nt&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Nt){const Ne=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Ne.placeholder)}}function ct(Nt,zt){if(1&Nt&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Nt){const Ne=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Ne.triggerValue)}}function ze(Nt,zt){1&Nt&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Nt,zt){if(1&Nt&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,ct,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Nt){const Ne=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Ne.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Nt,zt){if(1&Nt){const Ne=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(ae){d.\u0275\u0275restoreView(Ne);const Ce=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Ce._panelDoneAnimatingStream.next(ae.toState))})("keydown",function(ae){d.\u0275\u0275restoreView(Ne);const Ce=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Ce._handleKeydown(ae))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Nt){const Ne=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Ne._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Ne._transformOrigin)("font-size",Ne._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Ne.panelClass)("@transformPanel",Ne.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Ne.id+"-panel")("aria-multiselectable",Ne.multiple)("aria-label",Ne.ariaLabel||null)("aria-labelledby",Ne._getPanelAriaLabelledby())}}const oe=[[["mat-select-trigger"]],"*"],Y=["mat-select-trigger","*"],ne={transformPanelWrap:(0,U.X$)("transformPanelWrap",[(0,U.eR)("* => void",(0,U.IO)("@transformPanel",[(0,U.pV)()],{optional:!0}))]),transformPanel:(0,U.X$)("transformPanel",[(0,U.SB)("void",(0,U.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,U.SB)("showing",(0,U.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,U.SB)("showing-multiple",(0,U.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,U.eR)("void => *",(0,U.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,U.eR)("* => void",(0,U.jt)("100ms 25ms linear",(0,U.oB)({opacity:0})))])},Q=256;class Oe{constructor(zt,Ne){this.source=zt,this.value=Ne}}let ge=(()=>{class Nt{}return Nt.\u0275fac=function(Ne){return new(Ne||Nt)},Nt.\u0275dir=d.\u0275\u0275defineDirective({type:Nt,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Nt}])]}),Nt})(),ot=(()=>{class Nt extends gt{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(Ne,$e,ae){const Ce=this._getItemHeight();return Math.min(Math.max(0,Ce*Ne-$e+Ce/2),ae)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,A.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,X.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(Ne){const $e=(0,g._countGroupLabelsBeforeOption)(Ne,this.options,this.optionGroups),ae=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Ne&&1===$e?0:(0,g._getOptionScrollPosition)((Ne+$e)*ae,ae,this.panel.nativeElement.scrollTop,Q)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Ne){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Ne)}_getChangeEvent(Ne){return new Oe(this,Ne)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Ne=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),$e=this._viewportRuler.getViewportSize(),ae=this._isRtl(),Ce=this.multiple?56:32;let lt;if(this.multiple)lt=40;else if(this.disableOptionCentering)lt=16;else{let De=this._selectionModel.selected[0]||this.options.first;lt=De&&De.group?32:16}ae||(lt*=-1);const _e=0-(Ne.left+lt-(ae?Ce:0)),Ye=Ne.right+lt-$e.width+(ae?0:Ce);_e>0?lt+=_e+8:Ye>0&&(lt-=Ye+8),this._overlayDir.offsetX=Math.round(lt),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Ne,$e,ae){const Ce=this._getItemHeight(),lt=(Ce-this._triggerRect.height)/2,_e=Math.floor(Q/Ce);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Ne*Ce:this._scrollTop===ae?(Ne-(this._getItemCount()-_e))*Ce+(Ce-(this._getItemCount()*Ce-Q)%Ce):$e-Ce/2,Math.round(-1*Ye-lt))}_checkOverlayWithinViewport(Ne){const $e=this._getItemHeight(),ae=this._viewportRuler.getViewportSize(),Ce=this._triggerRect.top-8,lt=ae.height-this._triggerRect.bottom-8,_e=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*$e,Q)-_e-this._triggerRect.height;De>lt?this._adjustPanelUp(De,lt):_e>Ce?this._adjustPanelDown(_e,Ce,Ne):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Ne,$e){const ae=Math.round(Ne-$e);this._scrollTop-=ae,this._offsetY-=ae,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Ne,$e,ae){const Ce=Math.round(Ne-$e);if(this._scrollTop+=Ce,this._offsetY+=Ce,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=ae)return this._scrollTop=ae,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Ne=this._getItemHeight(),$e=this._getItemCount(),ae=Math.min($e*Ne,Q),lt=$e*Ne-ae;let _e;_e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),_e+=(0,g._countGroupLabelsBeforeOption)(_e,this.options,this.optionGroups);const Ye=ae/2;this._scrollTop=this._calculateOverlayScroll(_e,Ye,lt),this._offsetY=this._calculateOverlayOffsetY(_e,Ye,lt),this._checkOverlayWithinViewport(lt)}_getOriginBasedOnOption(){const Ne=this._getItemHeight(),$e=(Ne-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-$e+Ne/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Nt.\u0275fac=function(){let zt;return function($e){return(zt||(zt=d.\u0275\u0275getInheritedFactory(Nt)))($e||Nt)}}(),Nt.\u0275cmp=d.\u0275\u0275defineComponent({type:Nt,selectors:[["mat-select"]],contentQueries:function(Ne,$e,ae){if(1&Ne&&(d.\u0275\u0275contentQuery(ae,tt,5),d.\u0275\u0275contentQuery(ae,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(ae,g.MAT_OPTGROUP,5)),2&Ne){let Ce;d.\u0275\u0275queryRefresh(Ce=d.\u0275\u0275loadQuery())&&($e.customTrigger=Ce.first),d.\u0275\u0275queryRefresh(Ce=d.\u0275\u0275loadQuery())&&($e.options=Ce),d.\u0275\u0275queryRefresh(Ce=d.\u0275\u0275loadQuery())&&($e.optionGroups=Ce)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Ne,$e){1&Ne&&d.\u0275\u0275listener("keydown",function(Ce){return $e._handleKeydown(Ce)})("focus",function(){return $e._onFocus()})("blur",function(){return $e._onBlur()}),2&Ne&&(d.\u0275\u0275attribute("id",$e.id)("tabindex",$e.tabIndex)("aria-controls",$e.panelOpen?$e.id+"-panel":null)("aria-expanded",$e.panelOpen)("aria-label",$e.ariaLabel||null)("aria-required",$e.required.toString())("aria-disabled",$e.disabled.toString())("aria-invalid",$e.errorState)("aria-activedescendant",$e._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",$e.disabled)("mat-select-invalid",$e.errorState)("mat-select-required",$e.required)("mat-select-empty",$e.empty)("mat-select-multiple",$e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:h.Eo,useExisting:Nt},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Nt}]),d.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Y,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ne,$e){if(1&Ne&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return $e.toggle()}),d.\u0275\u0275elementStart(3,"div",2),d.\u0275\u0275template(4,Le,2,1,"span",3),d.\u0275\u0275template(5,at,3,2,"span",4),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(6,"div",5),d.\u0275\u0275element(7,"div",6),d.\u0275\u0275elementEnd()(),d.\u0275\u0275template(8,N,4,14,"ng-template",7),d.\u0275\u0275listener("backdropClick",function(){return $e.close()})("attach",function(){return $e._onAttached()})("detach",function(){return $e.close()})),2&Ne){const ae=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",$e.panelOpen?$e.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",$e.empty),d.\u0275\u0275attribute("id",$e._valueId),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!1),d.\u0275\u0275advance(3),d.\u0275\u0275property("cdkConnectedOverlayPanelClass",$e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",$e._scrollStrategy)("cdkConnectedOverlayOrigin",ae)("cdkConnectedOverlayOpen",$e.panelOpen)("cdkConnectedOverlayPositions",$e._positions)("cdkConnectedOverlayMinWidth",$e._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",$e._offsetY)}},dependencies:[c.NgClass,c.NgSwitch,c.NgSwitchCase,c.NgSwitchDefault,n.pI,n.xu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[ne.transformPanelWrap,ne.transformPanel]},changeDetection:0}),Nt})(),At=(()=>{class Nt{}return Nt.\u0275fac=function(Ne){return new(Ne||Nt)},Nt.\u0275mod=d.\u0275\u0275defineNgModule({type:Nt}),Nt.\u0275inj=d.\u0275\u0275defineInjector({providers:[We],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,f.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Nt})()},1830:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>ie,MAT_LEGACY_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>D,MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>A,MatLegacySlideToggle:()=>Me,MatLegacySlideToggleChange:()=>U,MatLegacySlideToggleModule:()=>Re,MatLegacySlideToggleRequiredValidator:()=>S,_MatLegacySlideToggleBase:()=>y,_MatLegacySlideToggleRequiredValidatorModule:()=>E});var n=a(7131),c=a(5879),d=a(3680),g=a(4300),r=a(6223),h=a(2495);let _=0;const l=(0,d.mixinTabIndex)((0,d.mixinColor)((0,d.mixinDisableRipple)((0,d.mixinDisabled)(class{constructor(Ae){this._elementRef=Ae}}))));let y=(()=>{class Ae extends l{get required(){return this._required}set required(H){this._required=(0,h.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,h.Ig)(H),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(H,W,pe,we,Ee,Be,G){super(H),this._focusMonitor=W,this._changeDetectorRef=pe,this.defaults=Ee,this._onChange=re=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new c.EventEmitter,this.toggleChange=new c.EventEmitter,this.tabIndex=parseInt(we)||0,this.color=this.defaultColor=Ee.color||"accent",this._noopAnimations="NoopAnimations"===Be,this.id=this._uniqueId=`${G}${++_}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(H=>{"keyboard"===H||"program"===H?(this._focused=!0,this._changeDetectorRef.markForCheck()):H||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(H){this.checked=!!H}registerOnChange(H){this._onChange=H}registerOnTouched(H){this._onTouched=H}setDisabledState(H){this.disabled=H,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return Ae.\u0275fac=function(H){c.\u0275\u0275invalidFactory()},Ae.\u0275dir=c.\u0275\u0275defineDirective({type:Ae,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[c.\u0275\u0275InheritDefinitionFeature]}),Ae})();const D={provide:r.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>S),multi:!0};let S=(()=>{class Ae extends r.CheckboxRequiredValidator{}return Ae.\u0275fac=function(){let he;return function(W){return(he||(he=c.\u0275\u0275getInheritedFactory(Ae)))(W||Ae)}}(),Ae.\u0275dir=c.\u0275\u0275defineDirective({type:Ae,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([D]),c.\u0275\u0275InheritDefinitionFeature]}),Ae})(),E=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275mod=c.\u0275\u0275defineNgModule({type:Ae}),Ae.\u0275inj=c.\u0275\u0275defineInjector({}),Ae})();const X=["input"],$=function(Ae){return{enterDuration:Ae}},ee=["*"],ie=new c.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),A={provide:r.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Me),multi:!0};class U{constructor(he,H){this.source=he,this.checked=H}}let Me=(()=>{class Ae extends y{constructor(H,W,pe,we,Ee,Be){super(H,W,pe,we,Ee,Be,"mat-slide-toggle-")}_createChangeEvent(H){return new U(this,H)}_onChangeEvent(H){H.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(H){H.stopPropagation()}focus(H,W){W?this._focusMonitor.focusVia(this._inputElement,W,H):this._inputElement.nativeElement.focus(H)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return Ae.\u0275fac=function(H){return new(H||Ae)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(g.tE),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275injectAttribute("tabindex"),c.\u0275\u0275directiveInject(ie),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Ae.\u0275cmp=c.\u0275\u0275defineComponent({type:Ae,selectors:[["mat-slide-toggle"]],viewQuery:function(H,W){if(1&H&&c.\u0275\u0275viewQuery(X,5),2&H){let pe;c.\u0275\u0275queryRefresh(pe=c.\u0275\u0275loadQuery())&&(W._inputElement=pe.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(H,W){2&H&&(c.\u0275\u0275hostProperty("id",W.id),c.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),c.\u0275\u0275classProp("mat-checked",W.checked)("mat-disabled",W.disabled)("mat-slide-toggle-label-before","before"==W.labelPosition)("_mat-animation-noopable",W._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[c.\u0275\u0275ProvidersFeature([A]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ee,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(H,W){if(1&H&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),c.\u0275\u0275listener("change",function(we){return W._onChangeEvent(we)})("click",function(we){return W._onInputClick(we)}),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"span",5),c.\u0275\u0275element(6,"span",6),c.\u0275\u0275elementStart(7,"span",7),c.\u0275\u0275element(8,"span",8),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(9,"span",9,10),c.\u0275\u0275listener("cdkObserveContent",function(){return W._onLabelTextChange()}),c.\u0275\u0275elementStart(11,"span",11),c.\u0275\u0275text(12,"\xa0"),c.\u0275\u0275elementEnd(),c.\u0275\u0275projection(13),c.\u0275\u0275elementEnd()()),2&H){const pe=c.\u0275\u0275reference(1),we=c.\u0275\u0275reference(10);c.\u0275\u0275attribute("for",W.inputId),c.\u0275\u0275advance(2),c.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!we.textContent||!we.textContent.trim()),c.\u0275\u0275advance(1),c.\u0275\u0275property("id",W.inputId)("required",W.required)("tabIndex",W.tabIndex)("checked",W.checked)("disabled",W.disabled),c.\u0275\u0275attribute("name",W.name)("aria-checked",W.checked)("aria-label",W.ariaLabel)("aria-labelledby",W.ariaLabelledby)("aria-describedby",W.ariaDescribedby),c.\u0275\u0275advance(4),c.\u0275\u0275property("matRippleTrigger",pe)("matRippleDisabled",W.disableRipple||W.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",c.\u0275\u0275pureFunction1(18,$,W._noopAnimations?0:150))}},dependencies:[d.MatRipple,n.wD],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),Ae})(),Re=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275mod=c.\u0275\u0275defineNgModule({type:Ae}),Ae.\u0275inj=c.\u0275\u0275defineInjector({imports:[E,d.MatRippleModule,d.MatCommonModule,n.Q8,E,d.MatCommonModule]}),Ae})()},4433:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_SLIDER_VALUE_ACCESSOR:()=>S,MatLegacySlider:()=>X,MatLegacySliderChange:()=>E,MatLegacySliderModule:()=>Me});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),h=a(2495),f=a(6028),u=a(6223),v=a(2831),b=a(7394);const p=["sliderWrapper"],_=(0,v.i$)({passive:!1}),S={provide:u.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>X),multi:!0};class E{}const I=(0,d.mixinTabIndex)((0,d.mixinColor)((0,d.mixinDisabled)(class{constructor(Re){this._elementRef=Re}}),"accent"));let X=(()=>{class Re extends I{get invert(){return this._invert}set invert(he){this._invert=(0,h.Ig)(he)}get max(){return this._max}set max(he){this._max=(0,h.su)(he,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(he){this._min=(0,h.su)(he,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(he){this._step=(0,h.su)(he,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(he){this._thumbLabel=(0,h.Ig)(he)}get tickInterval(){return this._tickInterval}set tickInterval(he){this._tickInterval="auto"===he?"auto":"number"==typeof he||"string"==typeof he?(0,h.su)(he,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(he){if(he!==this._value){let H=(0,h.su)(he,0);this._roundToDecimal&&H!==this.min&&H!==this.max&&(H=parseFloat(H.toFixed(this._roundToDecimal))),this._value=H,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(he){this._vertical=(0,h.Ig)(he)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(he){this._focusHostElement(he)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}_shouldInvertAxis(){return this.vertical?!this.invert:this.invert}_isMinValue(){return 0===this.percent}_getThumbGap(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0}_getTrackBackgroundStyles(){const H=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._getThumbGap()}px) scale3d(${H})`}}_getTrackFillStyles(){const he=this.percent,W=this.vertical?`1, ${he}, 1`:`${he}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===he?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let he=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${he}%`:`${he}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${he/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const Be=this._shouldInvertAxis();let G;G=this.vertical?Be?"Bottom":"Top":Be?"Right":"Left",Ee[`padding${G}`]=`${this._getThumbGap()}px`}return Ee}_getThumbContainerStyles(){const he=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?he:!he)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const he=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?he:!he}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(he,H,W,pe,we,Ee,Be,G){super(he),this._focusMonitor=H,this._changeDetectorRef=W,this._dir=pe,this._ngZone=Ee,this._animationMode=G,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new c.EventEmitter,this.input=new c.EventEmitter,this.valueChange=new c.EventEmitter,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=b.w0.EMPTY,this._pointerDown=re=>{this.disabled||this._isSliding||!ee(re)&&0!==re.button||this._ngZone.run(()=>{this._touchId=ee(re)?function U(Re,Ae){for(let he=0;he{if("pointer"===this._isSliding){const se=ie(re,this._touchId);if(se){re.cancelable&&re.preventDefault();const ye=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(se),ye!=this.value&&this._emitInputEvent()}}},this._pointerUp=re=>{"pointer"===this._isSliding&&(!ee(re)||"number"!=typeof this._touchId||A(re.changedTouches,this._touchId))&&(re.cancelable&&re.preventDefault(),this._removeGlobalEvents(),this._isSliding=null,this._touchId=void 0,this._valueOnSlideStart!=this.value&&!this.disabled&&this._emitChangeEvent(),this._valueOnSlideStart=this._lastPointerEvent=null)},this._windowBlur=()=>{this._lastPointerEvent&&this._pointerUp(this._lastPointerEvent)},this._document=Be,this.tabIndex=parseInt(we)||0,Ee.runOutsideAngular(()=>{const re=he.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(he=>{this._isActive=!!he&&"keyboard"!==he,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const he=this._elementRef.nativeElement;he.removeEventListener("mousedown",this._pointerDown,_),he.removeEventListener("touchstart",this._pointerDown,_),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(he){if(this.disabled||(0,f.Vb)(he)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(he.keyCode){case f.Ku:this._increment(10);break;case f.VM:this._increment(-10);break;case f.uR:this.value=this.max;break;case f.Sd:this.value=this.min;break;case f.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case f.LH:this._increment(1);break;case f.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case f.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",he.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(he){const H=this._document,W=ee(he),we=W?"touchend":"mouseup";H.addEventListener(W?"touchmove":"mousemove",this._pointerMove,_),H.addEventListener(we,this._pointerUp,_),W&&H.addEventListener("touchcancel",this._pointerUp,_);const Ee=this._getWindow();typeof Ee<"u"&&Ee&&Ee.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const he=this._document;he.removeEventListener("mousemove",this._pointerMove,_),he.removeEventListener("mouseup",this._pointerUp,_),he.removeEventListener("touchmove",this._pointerMove,_),he.removeEventListener("touchend",this._pointerUp,_),he.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(he){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*he,this.min,this.max)}_updateValueFromPosition(he){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?he.y:he.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(we=1-we),0===we)this.value=this.min;else if(1===we)this.value=this.max;else{const Ee=this._calculateValue(we),Be=Math.round((Ee-this.min)/this.step)*this.step+this.min;this.value=this._clamp(Be,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(!this.tickInterval||!this._sliderDimensions)return;let he;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;he=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else he=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(he)?he:0}_createChangeEvent(he=this.value){let H=new E;return H.source=this,H.value=he,H}_calculatePercentage(he){const H=((he||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(he){return this.min+he*(this.max-this.min)}_clamp(he,H=0,W=1){return Math.max(H,Math.min(he,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(he){this._elementRef.nativeElement.focus(he)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(he){this.value=he}registerOnChange(he){this._controlValueAccessorChangeFn=he}registerOnTouched(he){this.onTouched=he}setDisabledState(he){this.disabled=he}}return Re.\u0275fac=function(he){return new(he||Re)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(g.tE),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(r.Is,8),c.\u0275\u0275injectAttribute("tabindex"),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(n.DOCUMENT),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Re.\u0275cmp=c.\u0275\u0275defineComponent({type:Re,selectors:[["mat-slider"]],viewQuery:function(he,H){if(1&he&&c.\u0275\u0275viewQuery(p,5),2&he){let W;c.\u0275\u0275queryRefresh(W=c.\u0275\u0275loadQuery())&&(H._sliderWrapper=W.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(he,H){1&he&&c.\u0275\u0275listener("focus",function(){return H._onFocus()})("blur",function(){return H._onBlur()})("keydown",function(pe){return H._onKeydown(pe)})("keyup",function(){return H._onKeyup()})("mouseenter",function(){return H._onMouseenter()})("selectstart",function(pe){return pe.preventDefault()}),2&he&&(c.\u0275\u0275hostProperty("tabIndex",H.tabIndex),c.\u0275\u0275attribute("aria-disabled",H.disabled)("aria-valuemax",H.max)("aria-valuemin",H.min)("aria-valuenow",H.value)("aria-valuetext",null==H.valueText?H.displayValue:H.valueText)("aria-orientation",H.vertical?"vertical":"horizontal"),c.\u0275\u0275classProp("mat-slider-disabled",H.disabled)("mat-slider-has-ticks",H.tickInterval)("mat-slider-horizontal",!H.vertical)("mat-slider-axis-inverted",H._shouldInvertAxis())("mat-slider-invert-mouse-coords",H._shouldInvertMouseCoords())("mat-slider-sliding",H._isSliding)("mat-slider-thumb-label-showing",H.thumbLabel)("mat-slider-vertical",H.vertical)("mat-slider-min-value",H._isMinValue())("mat-slider-hide-last-tick",H.disabled||H._isMinValue()&&H._getThumbGap()&&H._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===H._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",value:"value",displayWith:"displayWith",valueText:"valueText",vertical:"vertical"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[c.\u0275\u0275ProvidersFeature([S]),c.\u0275\u0275InheritDefinitionFeature],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(he,H){1&he&&(c.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2),c.\u0275\u0275element(3,"div",3)(4,"div",4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"div",5),c.\u0275\u0275element(6,"div",6),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"div",7),c.\u0275\u0275element(8,"div",8)(9,"div",9),c.\u0275\u0275elementStart(10,"div",10)(11,"span",11),c.\u0275\u0275text(12),c.\u0275\u0275elementEnd()()()()),2&he&&(c.\u0275\u0275advance(3),c.\u0275\u0275property("ngStyle",H._getTrackBackgroundStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getTrackFillStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getTicksContainerStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getTicksStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getThumbContainerStyles()),c.\u0275\u0275advance(5),c.\u0275\u0275textInterpolate(H.displayValue))},dependencies:[n.NgStyle],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid rgba(0,0,0,0);border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}'],encapsulation:2,changeDetection:0}),Re})();function $(Re){return!isNaN(Re)&&isFinite(Re)}function ee(Re){return"t"===Re.type[0]}function ie(Re,Ae){let he;return he=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,he?{x:he.clientX,y:he.clientY}:void 0}function A(Re,Ae){for(let he=0;he{class Re{}return Re.\u0275fac=function(he){return new(he||Re)},Re.\u0275mod=c.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=c.\u0275\u0275defineInjector({imports:[n.CommonModule,d.MatCommonModule,d.MatCommonModule]}),Re})()},2214:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatLegacyCell:()=>Tn,MatLegacyCellDef:()=>Xn,MatLegacyColumnDef:()=>ti,MatLegacyFooterCell:()=>mn,MatLegacyFooterCellDef:()=>$n,MatLegacyFooterRow:()=>wi,MatLegacyFooterRowDef:()=>Wn,MatLegacyHeaderCell:()=>an,MatLegacyHeaderCellDef:()=>_i,MatLegacyHeaderRow:()=>Yn,MatLegacyHeaderRowDef:()=>Rn,MatLegacyNoDataRow:()=>ai,MatLegacyRecycleRows:()=>Nn,MatLegacyRow:()=>ri,MatLegacyRowDef:()=>mi,MatLegacyTable:()=>wn,MatLegacyTableDataSource:()=>ke,MatLegacyTableModule:()=>jt,MatLegacyTextColumn:()=>Ni,_MatLegacyTableDataSource:()=>_t});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),h=a(6672),f=a(6814),u=a(8645),v=a(2459),b=a(5619),p=a(2664),_=a(2096),l=a(9773),y=a(8180);const x=[[["caption"]],[["colgroup"],["col"]]],D=["caption","colgroup, col"];function S(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",le.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",le.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(le,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const le=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=le!==this._sticky}hasStickyChanged(){const me=this._hasStickyChanged;return this._hasStickyChanged=!1,me}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...me){super(...me),this._sticky=!1,this._hasStickyChanged=!1}}}const X=new n.InjectionToken("CDK_TABLE"),$=new n.InjectionToken("text-column-options");let ee=(()=>{class O{constructor(le){this.template=le}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(le){this.template=le}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(le){this.template=le}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Me=I(U);let Re=(()=>{class O extends Me{get name(){return this._name}set name(le){this._setNameInput(le)}get stickyEnd(){return this._stickyEnd}set stickyEnd(le){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(le),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(le){super(),this._table=le,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(le){le&&(this._name=le,this.cssClassFriendlyName=le.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(le,Xe,Ot){if(1&le&&(n.\u0275\u0275contentQuery(Ot,ee,5),n.\u0275\u0275contentQuery(Ot,ie,5),n.\u0275\u0275contentQuery(Ot,A,5)),2&le){let Wt;n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe.cell=Wt.first),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=Wt.first),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe.footerCell=Wt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})();class Ae{constructor(me,le){le.nativeElement.classList.add(...me._columnCssClassName)}}let he=(()=>{class O extends Ae{constructor(le,Xe){super(le,Xe)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(Re),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),H=(()=>{class O extends Ae{constructor(le,Xe){if(super(le,Xe),1===le._table?._elementRef.nativeElement.nodeType){const Ot=le._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===Ot||"treegrid"===Ot?"gridcell":"cell")}}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(Re),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),W=(()=>{class O extends Ae{constructor(le,Xe){if(super(le,Xe),1===le._table?._elementRef.nativeElement.nodeType){const Ot=le._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===Ot||"treegrid"===Ot?"gridcell":"cell")}}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(Re),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})();class pe{constructor(){this.tasks=[],this.endTasks=[]}}const we=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ee=(()=>{class O{constructor(le){this._ngZone=le,this._currentSchedule=null,this._destroyed=new u.x}schedule(le){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(le)}scheduleEnd(le){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(le)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new pe,this._getScheduleObservable().pipe((0,l.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const le=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of le.tasks)Xe();for(const Xe of le.endTasks)Xe()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,v.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,y.q)(1))}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(le,Xe){this.template=le,this._differs=Xe}ngOnChanges(le){if(!this._columnsDiffer){const Xe=le.columns&&le.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(le){return this instanceof ye?le.headerCell.template:this instanceof Qe?le.footerCell.template:le.cell.template}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,features:[n.\u0275\u0275NgOnChangesFeature]}),O})();class re extends G{}const se=I(re);let ye=(()=>{class O extends se{constructor(le,Xe,Ot){super(le,Xe),this._table=Ot}ngOnChanges(le){super.ngOnChanges(le)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),O})();class He extends G{}const Ze=I(He);let Qe=(()=>{class O extends Ze{constructor(le,Xe,Ot){super(le,Xe),this._table=Ot}ngOnChanges(le){super.ngOnChanges(le)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),O})(),We=(()=>{class O extends G{constructor(le,Xe,Ot){super(le,Xe),this._table=Ot}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),tt=(()=>{class O{constructor(le){this._viewContainer=le,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Mt=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Ft=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),gt=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(le){this.templateRef=le,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ng-template","cdkNoDataRow",""]]}),O})();const Tt=["top","bottom","left","right"];class kt{constructor(me,le,Xe,Ot,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=le,this.direction=Xe,this._coalescedStyleScheduler=Ot,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${le}-border-elem-top`,bottom:`${le}-border-elem-bottom`,left:`${le}-border-elem-left`,right:`${le}-border-elem-right`}}clearStickyPositioning(me,le){const Xe=[];for(const Ot of me)if(Ot.nodeType===Ot.ELEMENT_NODE){Xe.push(Ot);for(let Wt=0;Wt{for(const Ot of Xe)this._removeStickyStyle(Ot,le)})}updateStickyColumns(me,le,Xe,Ot=!0){if(!me.length||!this._isBrowser||!le.some(bi=>bi)&&!Xe.some(bi=>bi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Wt=me[0],un=Wt.children.length,gn=this._getCellWidths(Wt,Ot),pn=this._getStickyStartColumnPositions(gn,le),si=this._getStickyEndColumnPositions(gn,Xe),jn=le.lastIndexOf(!0),Fn=Xe.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const bi="rtl"===this.direction,Ti=bi?"right":"left",Fi=bi?"left":"right";for(const Gi of me)for(let fn=0;fnle[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,le,Xe){if(!this._isBrowser)return;const Ot="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?le.slice().reverse():le,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{le.some(Ot=>!Ot)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,le){for(const Ot of le)me.style[Ot]="",me.classList.remove(this._borderCellCss[Ot]);Tt.some(Ot=>-1===le.indexOf(Ot)&&me.style[Ot])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,le,Xe,Ot){me.classList.add(this._stickCellCss),Ot&&me.classList.add(this._borderCellCss[le]),me.style[le]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const le={top:100,bottom:10,left:1,right:1};let Xe=0;for(const Ot of Tt)me.style[Ot]&&(Xe+=le[Ot]);return Xe?`${Xe}`:""}_getCellWidths(me,le=!0){if(!le&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],Ot=me.children;for(let Wt=0;Wt0;Wt--)le[Wt]&&(Xe[Wt]=Ot,Ot+=me[Wt]);return Xe}}const Q=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),Ct=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","headerRowOutlet",""]]}),O})(),dt=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),bt=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),ot=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(le){this._trackByFn=le}get dataSource(){return this._dataSource}set dataSource(le){this._dataSource!==le&&this._switchDataSource(le)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(le){this._multiTemplateDataRows=(0,d.Ig)(le),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(le){this._fixedLayout=(0,d.Ig)(le),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(le,Xe,Ot,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=le,this._changeDetectorRef=Xe,this._elementRef=Ot,this._dir=un,this._platform=pn,this._viewRepeater=si,this._coalescedStyleScheduler=jn,this._viewportRuler=Fn,this._stickyPositioningListener=bi,this._ngZone=Ti,this._onDestroy=new u.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new b.X({start:0,end:Number.MAX_VALUE}),Wt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=gn,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((le,Xe)=>this.trackBy?this.trackBy(Xe.dataIndex,Xe.data):Xe),this._viewportRuler.change().pipe((0,l.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Xe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Xe,this._forceRecalculateCellWidths=Xe,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(le=>{le.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const le=this._dataDiffer.diff(this._renderRows);if(!le)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(le,Xe,(Ot,Wt,un)=>this._getEmbeddedViewArgs(Ot.item,un),Ot=>Ot.item.data,Ot=>{1===Ot.operation&&Ot.context&&this._renderCellTemplateForItem(Ot.record.item.rowDef,Ot.context)}),this._updateRowIndexContext(),le.forEachIdentityChange(Ot=>{Xe.get(Ot.currentIndex).context.$implicit=Ot.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,y.q)(1),(0,l.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(le){this._customColumnDefs.add(le)}removeColumnDef(le){this._customColumnDefs.delete(le)}addRowDef(le){this._customRowDefs.add(le)}removeRowDef(le){this._customRowDefs.delete(le)}addHeaderRowDef(le){this._customHeaderRowDefs.add(le),this._headerRowDefChanged=!0}removeHeaderRowDef(le){this._customHeaderRowDefs.delete(le),this._headerRowDefChanged=!0}addFooterRowDef(le){this._customFooterRowDefs.add(le),this._footerRowDefChanged=!0}removeFooterRowDef(le){this._customFooterRowDefs.delete(le),this._footerRowDefChanged=!0}setNoDataRow(le){this._customNoDataRow=le}updateStickyHeaderRowStyles(){const le=this._getRenderedRows(this._headerRowOutlet),Ot=this._elementRef.nativeElement.querySelector("thead");Ot&&(Ot.style.display=le.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(le,["top"]),this._stickyStyler.stickRows(le,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const le=this._getRenderedRows(this._footerRowOutlet),Ot=this._elementRef.nativeElement.querySelector("tfoot");Ot&&(Ot.style.display=le.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(le,["bottom"]),this._stickyStyler.stickRows(le,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const le=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),Ot=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...le,...Xe,...Ot],["left","right"]),this._stickyColumnStylesNeedReset=!1),le.forEach((Wt,un)=>{this._addStickyColumnStyles([Wt],this._headerRowDefs[un])}),this._rowDefs.forEach(Wt=>{const un=[];for(let gn=0;gn{this._addStickyColumnStyles([Wt],this._footerRowDefs[un])}),Array.from(this._columnDefsByName.values()).forEach(Wt=>Wt.resetStickyChanged())}_getAllRenderRows(){const le=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ot=0;Ot{const gn=Ot&&Ot.has(un)?Ot.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:le,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),At(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=At(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=At(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=At(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const le=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=le[0]}_renderUpdatedColumns(){const le=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(le,!1);Xe&&this._forceRenderDataRows();const Ot=this._headerRowDefs.reduce(le,!1);Ot&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(le,!1);return Wt&&this._forceRenderFooterRows(),Xe||Ot||Wt}_switchDataSource(le){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),le||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=le}_observeRenderChanges(){if(!this.dataSource)return;let le;(0,g.Z9)(this.dataSource)?le=this.dataSource.connect(this):(0,p.b)(this.dataSource)?le=this.dataSource:Array.isArray(this.dataSource)&&(le=(0,_.of)(this.dataSource)),this._renderChangeSubscription=le.pipe((0,l.R)(this._onDestroy)).subscribe(Xe=>{this._data=Xe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((le,Xe)=>this._renderRow(this._headerRowOutlet,le,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((le,Xe)=>this._renderRow(this._footerRowOutlet,le,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(le,Xe){const Ot=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=Ot.map(gn=>gn.sticky),un=Ot.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(le,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(le){const Xe=[];for(let Ot=0;Ot!Wt.when||Wt.when(Xe,le));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,le))||this._defaultRowDef;Wt&&Ot.push(Wt)}return Ot}_getEmbeddedViewArgs(le,Xe){return{templateRef:le.rowDef.template,context:{$implicit:le.data},index:Xe}}_renderRow(le,Xe,Ot,Wt={}){const un=le.viewContainer.createEmbeddedView(Xe.template,Wt,Ot);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(le,Xe){for(let Ot of this._getCellTemplates(le))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ot,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const le=this._rowOutlet.viewContainer;for(let Xe=0,Ot=le.length;Xe{const Ot=this._columnDefsByName.get(Xe);return le.extractCellTemplate(Ot)}):[]}_applyNativeTableSections(){const le=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ot of Xe){const Wt=this._document.createElement(Ot.tag);Wt.setAttribute("role","rowgroup");for(const un of Ot.outlets)Wt.appendChild(un.elementRef.nativeElement);le.appendChild(Wt)}this._elementRef.nativeElement.appendChild(le)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const le=(Xe,Ot)=>Xe||Ot.hasStickyChanged();this._headerRowDefs.reduce(le,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(le,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(le,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new kt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,_.of)()).pipe((0,l.R)(this._onDestroy)).subscribe(Xe=>{this._stickyStyler.direction=Xe,this.updateStickyColumnStyles()})}_getOwnDefs(le){return le.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const le=this._customNoDataRow||this._noDataRow;if(!le)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const Ot=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=Ot.createEmbeddedView(le.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(le._contentClassName))}else Ot.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(c.Is,8),n.\u0275\u0275directiveInject(f.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(h.rL),n.\u0275\u0275directiveInject(Q,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(le,Xe,Ot){if(1&le&&(n.\u0275\u0275contentQuery(Ot,Bt,5),n.\u0275\u0275contentQuery(Ot,Re,5),n.\u0275\u0275contentQuery(Ot,We,5),n.\u0275\u0275contentQuery(Ot,ye,5),n.\u0275\u0275contentQuery(Ot,Qe,5)),2&le){let Wt;n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._noDataRow=Wt.first),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentColumnDefs=Wt),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentRowDefs=Wt),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentHeaderRowDefs=Wt),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentFooterRowDefs=Wt)}},viewQuery:function(le,Xe){if(1&le&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(Ct,7),n.\u0275\u0275viewQuery(dt,7),n.\u0275\u0275viewQuery(bt,7)),2&le){let Ot;n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=Ot.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(le,Xe){2&le&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Xe.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:X,useExisting:O},{provide:g.k,useClass:g.yy},{provide:we,useClass:Ee},{provide:Q,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275projectionDef(x),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Te,Ct,dt,bt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function At(O,me){return O.concat(Array.from(me))}let Nt=(()=>{class O{get name(){return this._name}set name(le){this._name=le,this._syncColumnDefName()}constructor(le,Xe){this._table=le,this._options=Xe,this.justify="start",this._options=Xe||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((le,Xe)=>le[Xe])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const le=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(le):le[0].toUpperCase()+le.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(ot,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(le,Xe){if(1&le&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&le){let Ot;n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe.columnDef=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe.cell=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe.headerCell=Ot.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,S,2,3,"th",1),n.\u0275\u0275template(2,E,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[ee,ie,Re,W,he],encapsulation:2}),O})(),Ne=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.Cl]}),O})();var $e=a(3680),ae=a(3019),Ce=a(2572),lt=a(7398);class _t extends g.o2{get data(){return this._data.value}set data(me){me=Array.isArray(me)?me:[],this._data.next(me),this._renderChangesSubscription||this._filterData(me)}get filter(){return this._filter.value}set filter(me){this._filter.next(me),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(me){this._sort=me,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(me){this._paginator=me,this._updateChangeSubscription()}constructor(me=[]){super(),this._renderData=new b.X([]),this._filter=new b.X(""),this._internalPageChanges=new u.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(le,Xe)=>{const Ot=le[Xe];if((0,d.t6)(Ot)){const Wt=Number(Ot);return Wt<9007199254740991?Wt:Ot}return Ot},this.sortData=(le,Xe)=>{const Ot=Xe.active,Wt=Xe.direction;return Ot&&""!=Wt?le.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,Ot),si=this.sortingDataAccessor(gn,Ot);const jn=typeof pn,Fn=typeof si;jn!==Fn&&("number"===jn&&(pn+=""),"number"===Fn&&(si+=""));let bi=0;return null!=pn&&null!=si?pn>si?bi=1:pn{const Ot=Object.keys(le).reduce((un,gn)=>un+le[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=Ot.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,ae.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),le=this._paginator?(0,ae.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),Ot=(0,Ce.a)([this._data,this._filter]).pipe((0,lt.U)(([gn])=>this._filterData(gn))),Wt=(0,Ce.a)([Ot,me]).pipe((0,lt.U)(([gn])=>this._orderData(gn))),un=(0,Ce.a)([Wt,le]).pipe((0,lt.U)(([gn])=>this._pageData(gn)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=un.subscribe(gn=>this._renderData.next(gn))}_filterData(me){return this.filteredData=null==this.filter||""===this.filter?me:me.filter(le=>this.filterPredicate(le,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(me){return this.sort?this.sortData(me.slice(),this.sort):me}_pageData(me){if(!this.paginator)return me;const le=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(le,le+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const le=this.paginator;if(le&&(le.length=me,le.pageIndex>0)){const Xe=Math.ceil(le.length/le.pageSize)-1||0,Ot=Math.min(le.pageIndex,Xe);Ot!==le.pageIndex&&(le.pageIndex=Ot,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}const qt=[[["caption"]],[["colgroup"],["col"]]],nn=["caption","colgroup, col"];function cn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",le.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",le.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(le,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.eX}])]}),O})(),wn=(()=>{class O extends ot{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(le,Xe){2&le&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:ot,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:Q,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275projectionDef(qt),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Te,Ct,dt,bt],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})(),Xn=(()=>{class O extends ee{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ee,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),_i=(()=>{class O extends ie{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ie,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),$n=(()=>{class O extends A{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:A,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),ti=(()=>{class O extends Re{get name(){return this._name}set name(le){this._setNameInput(le)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:O},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),an=(()=>{class O extends he{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),mn=(()=>{class O extends H{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),Tn=(()=>{class O extends W{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),Rn=(()=>{class O extends ye{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Wn=(()=>{class O extends Qe{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),mi=(()=>{class O extends We{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:We,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Mt{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Mt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{class O extends Ft{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Ft,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends gt{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:gt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ai=(()=>{class O extends Bt{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Bt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Ni=(()=>{class O extends Nt{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-text-column"]],hostVars:1,hostBindings:function(le,Xe){2&le&&n.\u0275\u0275attribute("mat-id-collision",null)},features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,cn,2,3,"th",1),n.\u0275\u0275template(2,sn,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[_i,ti,Xn,an,Tn],encapsulation:2}),O})(),jt=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ne,$e.MatCommonModule,$e.MatCommonModule]}),O})();class ke extends _t{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>_e,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>ot,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>ae,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>K,MatLegacyTabContent:()=>ai,MatLegacyTabGroup:()=>Rn,MatLegacyTabHeader:()=>Tn,MatLegacyTabLabel:()=>ri,MatLegacyTabLabelWrapper:()=>mn,MatLegacyTabLink:()=>Yn,MatLegacyTabNav:()=>mi,MatLegacyTabNavPanel:()=>wi,MatLegacyTabsModule:()=>Ni,_MAT_LEGACY_INK_BAR_POSITIONER:()=>Te,_MAT_LEGACY_INK_BAR_POSITIONER_FACTORY:()=>ue,_MatLegacyTabBase:()=>At,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>Ce,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>ut,matLegacyTabsAnimations:()=>gt});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),h=a(3680),f=a(8180),u=a(9388),v=a(7394),b=a(8645),p=a(2438),_=a(2096),l=a(3019),y=a(6232),x=a(5592),D=a(9080),S=a(7921),E=a(3997),I=a(9773),X=a(4664),$=a(836),ee=a(2181),ie=a(6825),A=a(2495),U=a(6672),Me=a(2831),Re=a(6028);function Ae(xt,jt){}const he=function(xt){return{animationDuration:xt}},H=function(xt,jt){return{value:xt,params:jt}},gt={translateTab:(0,ie.X$)("translateTab",[(0,ie.SB)("center, void, left-origin-center, right-origin-center",(0,ie.oB)({transform:"none"})),(0,ie.SB)("left",(0,ie.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ie.SB)("right",(0,ie.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ie.eR)("* => left, * => right, left => center, right => center",(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ie.eR)("void => left-origin-center",[(0,ie.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ie.eR)("void => right-origin-center",[(0,ie.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Bt=(()=>{class xt extends d.Pl{constructor(ke,O,me,le){super(ke,O,le),this._host=me,this._centeringSub=v.w0.EMPTY,this._leavingSub=v.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,S.O)(this._host._isCenterPosition(this._host._position))).subscribe(ke=>{ke&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>kt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),Tt=(()=>{class xt{set position(ke){this._positionIndex=ke,this._computePositionAnimationState()}constructor(ke,O,me){this._elementRef=ke,this._dir=O,this._dirChangeSubscription=v.w0.EMPTY,this._translateTabComplete=new b.x,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,O&&(this._dirChangeSubscription=O.change.subscribe(le=>{this._computePositionAnimationState(le),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((le,Xe)=>le.fromState===Xe.fromState&&le.toState===Xe.toState)).subscribe(le=>{this._isCenterPosition(le.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(le.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ke){const O=this._isCenterPosition(ke.toState);this._beforeCentering.emit(O),O&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ke){return"center"==ke||"left-origin-center"==ke||"right-origin-center"==ke}_computePositionAnimationState(ke=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ke?"left":"right":this._positionIndex>0?"ltr"==ke?"right":"left":"center"}_computePositionFromOrigin(ke){const O=this._getLayoutDirection();return"ltr"==O&&ke<=0||"rtl"==O&&ke>0?"left-origin-center":"right-origin-center"}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),xt})(),kt=(()=>{class xt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-body"]],viewQuery:function(ke,O){if(1&ke&&r.\u0275\u0275viewQuery(d.Pl,5),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._portalHost=me.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(le){return O._onTranslateTabStarted(le)})("@translateTab.done",function(le){return O._translateTabComplete.next(le)}),r.\u0275\u0275template(2,Ae,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&ke&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,H,O._position,r.\u0275\u0275pureFunction1(1,he,O.animationDuration)))},dependencies:[Bt],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[gt.translateTab]}}),xt})();const Le=new r.InjectionToken("MatTabContent");let ct=(()=>{class xt{constructor(ke){this.template=ke}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.TemplateRef))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:xt}])]}),xt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class xt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature]}),xt})();function ue(){return jt=>({left:jt?(jt.offsetLeft||0)+"px":"0",width:jt?(jt.offsetWidth||0)+"px":"0"})}const Te=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:ue}),Ct=(0,h.mixinDisabled)(class{});let dt=(()=>{class xt extends Ct{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();const ge=(0,h.mixinDisabled)(class{}),ot=new r.InjectionToken("MAT_TAB_GROUP");let At=(()=>{class xt extends ge{get content(){return this._contentPortal}constructor(ke,O){super(),this._viewContainerRef=ke,this._closestTabGroup=O,this.textLabel="",this._contentPortal=null,this._stateChanges=new b.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(ke){(ke.hasOwnProperty("textLabel")||ke.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new d.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ke){ke&&ke._closestTab===this&&(this._templateLabel=ke)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(ot,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,viewQuery:function(ke,O){if(1&ke&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._implicitContent=me.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature]}),xt})();const zt=(0,Me.i$)({passive:!0});let ae=(()=>{class xt{get disablePagination(){return this._disablePagination}set disablePagination(ke){this._disablePagination=(0,A.Ig)(ke)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ke){ke=(0,A.su)(ke),this._selectedIndex!=ke&&(this._selectedIndexChanged=!0,this._selectedIndex=ke,this._keyManager&&this._keyManager.updateActiveItem(ke))}constructor(ke,O,me,le,Xe,Ot,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=le,this._ngZone=Xe,this._platform=Ot,this._animationMode=Wt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new b.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new b.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Xe.runOutsideAngular(()=>{(0,p.R)(ke.nativeElement,"mouseleave").pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,p.R)(this._previousPaginator.nativeElement,"touchstart",zt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",zt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ke=this._dir?this._dir.change:(0,_.of)("ltr"),O=this._viewportRuler.change(150),me=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(me),(0,l.T)(ke,O,this._items.changes,this._itemsResized()).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),me()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(le=>{this.indexFocused.emit(le),this._setTabFocus(le)})}_itemsResized(){return"function"!=typeof ResizeObserver?y.E:this._items.changes.pipe((0,S.O)(this._items),(0,X.w)(ke=>new x.y(O=>this._ngZone.runOutsideAngular(()=>{const me=new ResizeObserver(le=>O.next(le));return ke.forEach(le=>me.observe(le.elementRef.nativeElement)),()=>{me.disconnect()}}))),(0,$.T)(1),(0,ee.h)(ke=>ke.some(O=>O.contentRect.width>0&&O.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(ke){if(!(0,Re.Vb)(ke))switch(ke.keyCode){case Re.K5:case Re.L_:if(this.focusIndex!==this.selectedIndex){const O=this._items.get(this.focusIndex);O&&!O.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ke))}break;default:this._keyManager.onKeydown(ke)}}_onContentChanges(){const ke=this._elementRef.nativeElement.textContent;ke!==this._currentTextContent&&(this._currentTextContent=ke||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(ke){!this._isValidIndex(ke)||this.focusIndex===ke||!this._keyManager||this._keyManager.setActiveItem(ke)}_isValidIndex(ke){return!this._items||!!this._items.toArray()[ke]}_setTabFocus(ke){if(this._showPaginationControls&&this._scrollToLabel(ke),this._items&&this._items.length){this._items.toArray()[ke].focus();const O=this._tabListContainer.nativeElement;O.scrollLeft="ltr"==this._getLayoutDirection()?0:O.scrollWidth-O.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ke=this.scrollDistance,O="ltr"===this._getLayoutDirection()?-ke:ke;this._tabList.nativeElement.style.transform=`translateX(${Math.round(O)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ke){this._scrollTo(ke)}_scrollHeader(ke){return this._scrollTo(this._scrollDistance+("before"==ke?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ke){this._stopInterval(),this._scrollHeader(ke)}_scrollToLabel(ke){if(this.disablePagination)return;const O=this._items?this._items.toArray()[ke]:null;if(!O)return;const me=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:le,offsetWidth:Xe}=O.elementRef.nativeElement;let Ot,Wt;"ltr"==this._getLayoutDirection()?(Ot=le,Wt=Ot+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-le,Ot=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;Otgn&&(this.scrollDistance+=Math.min(Wt-gn,Ot-un))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ke=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ke||(this.scrollDistance=0),ke!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ke}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const ke=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,O=ke?ke.elementRef.nativeElement:null;O?this._inkBar.alignToElement(O):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ke,O){O&&null!=O.button&&0!==O.button||(this._stopInterval(),(0,D.H)(650,100).pipe((0,I.R)((0,l.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:me,distance:le}=this._scrollHeader(ke);(0===le||le>=me)&&this._stopInterval()}))}_scrollTo(ke){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const O=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(O,ke)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:O,distance:this._scrollDistance}}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{disablePagination:"disablePagination"}}),xt})(),Ce=(()=>{class xt extends ae{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,O,me,le,Xe,Ot,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();const _e=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,h.mixinColor)((0,h.mixinDisableRipple)(class{constructor(xt){this._elementRef=xt}}),"primary");let F=(()=>{class xt extends De{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ke){this._dynamicHeight=(0,A.Ig)(ke)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ke){this._indexToSelect=(0,A.su)(ke,null)}get animationDuration(){return this._animationDuration}set animationDuration(ke){this._animationDuration=/^\d+$/.test(ke+"")?ke+"ms":ke}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ke){this._contentTabIndex=(0,A.su)(ke,null)}get disablePagination(){return this._disablePagination}set disablePagination(ke){this._disablePagination=(0,A.Ig)(ke)}get preserveContent(){return this._preserveContent}set preserveContent(ke){this._preserveContent=(0,A.Ig)(ke)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ke){const O=this._elementRef.nativeElement.classList;O.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),ke&&O.add("mat-tabs-with-background",`mat-background-${ke}`),this._backgroundColor=ke}constructor(ke,O,me,le){super(ke),this._changeDetectorRef=O,this._animationMode=le,this._tabs=new r.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=v.w0.EMPTY,this._tabLabelSubscription=v.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Ye++,this.animationDuration=me&&me.animationDuration?me.animationDuration:"500ms",this.disablePagination=!(!me||null==me.disablePagination)&&me.disablePagination,this.dynamicHeight=!(!me||null==me.dynamicHeight)&&me.dynamicHeight,this.contentTabIndex=me?.contentTabIndex??null,this.preserveContent=!!me?.preserveContent}ngAfterContentChecked(){const ke=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ke){const O=null==this._selectedIndex;if(!O){this.selectedTabChange.emit(this._createChangeEvent(ke));const me=this._tabBodyWrapper.nativeElement;me.style.minHeight=me.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((me,le)=>me.isActive=le===ke),O||(this.selectedIndexChange.emit(ke),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((O,me)=>{O.position=me-ke,null!=this._selectedIndex&&0==O.position&&!O.origin&&(O.origin=ke-this._selectedIndex)}),this._selectedIndex!==ke&&(this._selectedIndex=ke,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const ke=this._clampTabIndex(this._indexToSelect);if(ke===this._selectedIndex){const O=this._tabs.toArray();let me;for(let le=0;le{O[ke].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(ke))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,S.O)(this._allTabs)).subscribe(ke=>{this._tabs.reset(ke.filter(O=>O._closestTabGroup===this||!O._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(ke){const O=this._tabHeader;O&&(O.focusIndex=ke)}_focusChanged(ke){this._lastFocusedTabIndex=ke,this.focusChange.emit(this._createChangeEvent(ke))}_createChangeEvent(ke){const O=new K;return O.index=ke,this._tabs&&this._tabs.length&&(O.tab=this._tabs.toArray()[ke]),O}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,l.T)(...this._tabs.map(ke=>ke._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ke){return Math.min(this._tabs.length-1,Math.max(ke||0,0))}_getTabLabelId(ke){return`mat-tab-label-${this._groupId}-${ke}`}_getTabContentId(ke){return`mat-tab-content-${this._groupId}-${ke}`}_setTabBodyWrapperHeight(ke){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const O=this._tabBodyWrapper.nativeElement;O.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(O.style.height=ke+"px")}_removeTabBodyWrapperHeight(){const ke=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ke.clientHeight,ke.style.height="",this.animationDone.emit()}_handleClick(ke,O,me){O.focusIndex=me,ke.disabled||(this.selectedIndex=me)}_getTabIndex(ke){return ke===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(ke,O){ke&&"mouse"!==ke&&"touch"!==ke&&(this._tabHeader.focusIndex=O)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(_e,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();class K{}let ve=0,ut=(()=>{class xt extends ae{get backgroundColor(){return this._backgroundColor}set backgroundColor(ke){const O=this._elementRef.nativeElement.classList;O.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),ke&&O.add("mat-tabs-with-background",`mat-background-${ke}`),this._backgroundColor=ke}get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,le,Xe,O,me,Ot,Wt),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,S.O)(null),(0,I.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const ke=this._items.toArray();for(let O=0;O{class xt extends Pt{get active(){return this._isActive}set active(ke){const O=(0,A.Ig)(ke);O!==this._isActive&&(this._isActive=O,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(ke,O,me,le,Xe,Ot){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+ve++,this.rippleConfig=me||{},this.tabIndex=parseInt(le)||0,"NoopAnimations"===Ot&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(ke){!this.disabled||ke.keyCode!==Re.L_&&ke.keyCode!==Re.K5?this._tabNavBar.tabPanel&&ke.keyCode===Re.L_&&this.elementRef.nativeElement.click():ke.preventDefault()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(ut),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(h.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();function xn(xt,jt){1&xt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(xt,jt){}const Mn=function(xt){return{animationDuration:xt}},xi=function(xt,jt){return{value:xt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],Et=["nextPaginator"],_t=["previousPaginator"],mt=["tabBodyWrapper"],qt=["tabHeader"];function nn(xt,jt){}function cn(xt,jt){if(1&xt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&xt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(xt,jt){if(1&xt&&r.\u0275\u0275text(0),2&xt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(xt,jt){if(1&xt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),le=me.$implicit,Xe=me.index,Ot=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(Ot._handleClick(le,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,Ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ot._tabFocusChanged(me,Xe))}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,cn,1,1,"ng-template",8),r.\u0275\u0275template(3,sn,1,1,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&xt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),le=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",le.selectedIndex===O),r.\u0275\u0275property("id",le._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||le.disableRipple),r.\u0275\u0275attribute("tabIndex",le._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",le._tabs.length)("aria-controls",le._getTabContentId(O))("aria-selected",le.selectedIndex===O)("aria-label",ke.ariaLabel||null)("aria-labelledby",!ke.ariaLabel&&ke.ariaLabelledby?ke.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",ke.templateLabel)("ngIfElse",me)}}function wn(xt,jt){if(1&xt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",11),r.\u0275\u0275listener("_onCentered",function(){r.\u0275\u0275restoreView(ke);const me=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(me._removeTabBodyWrapperHeight())})("_onCentering",function(me){r.\u0275\u0275restoreView(ke);const le=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(le._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&xt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",me.selectedIndex===O),r.\u0275\u0275property("id",me._getTabContentId(O))("ngClass",ke.bodyClass)("content",ke.content)("position",ke.position)("origin",ke.origin)("animationDuration",me.animationDuration)("preserveContent",me.preserveContent),r.\u0275\u0275attribute("tabindex",null!=me.contentTabIndex&&me.selectedIndex===O?me.contentTabIndex:null)("aria-labelledby",me._getTabLabelId(O))}}const Xn=["mat-tab-nav-bar",""];let _i=(()=>{class xt{constructor(ke,O,me,le){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=le}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>{const O=this._inkBarPositioner(ke),me=this._elementRef.nativeElement;me.style.left=O.left,me.style.width=O.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)}}),xt})(),$n=(()=>{class xt extends At{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab"]],contentQueries:function(ke,O,me){if(1&ke&&(r.\u0275\u0275contentQuery(me,ze,5),r.\u0275\u0275contentQuery(me,Le,7,r.TemplateRef)),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O.templateLabel=le.first),r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._explicitContent=le.first)}},hostVars:1,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275attribute("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:at,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Sn,decls:1,vars:0,template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,xn,1,0,"ng-template"))},encapsulation:2}),xt})(),ti=(()=>{class xt extends Bt{constructor(ke,O,me,le){super(ke,O,me,le)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),an=(()=>{class xt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-body"]],viewQuery:function(ke,O){if(1&ke&&r.\u0275\u0275viewQuery(d.Pl,5),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._portalHost=me.first)}},hostAttrs:[1,"mat-tab-body"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(le){return O._onTranslateTabStarted(le)})("@translateTab.done",function(le){return O._translateTabComplete.next(le)}),r.\u0275\u0275template(2,_n,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&ke&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,xi,O._position,r.\u0275\u0275pureFunction1(1,Mn,O.animationDuration)))},dependencies:[ti],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[gt.translateTab]}}),xt})(),mn=(()=>{class xt extends dt{}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ke,O){2&ke&&(r.\u0275\u0275attribute("aria-disabled",!!O.disabled),r.\u0275\u0275classProp("mat-tab-disabled",O.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),Tn=(()=>{class xt extends Ce{constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,O,me,le,Xe,Ot,Wt)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._items=le)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(_i,7),r.\u0275\u0275viewQuery(fi,7),r.\u0275\u0275viewQuery(Vi,7),r.\u0275\u0275viewQuery(Yi,7),r.\u0275\u0275viewQuery(Et,5),r.\u0275\u0275viewQuery(_t,5)),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._inkBar=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListContainer=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabList=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListInner=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._nextPaginator=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._previousPaginator=me.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",O._showPaginationControls)("mat-tab-header-rtl","rtl"==O._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Sn,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return O._handlePaginatorClick("before")})("mousedown",function(le){return O._handlePaginatorPress("before",le)})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(le){return O._handleKeydown(le)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return O._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(le){return O._handlePaginatorPress("after",le)})("click",function(){return O._handlePaginatorClick("after")})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&ke&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",O._disableScrollBefore||O.disableRipple)("disabled",O._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",O._disableScrollAfter||O.disableRipple)("disabled",O._disableScrollAfter||null))},dependencies:[h.MatRipple,c.wD,_i],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),xt})(),Rn=(()=>{class xt extends F{constructor(ke,O,me,le){super(ke,O,me,le)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(_e,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._allTabs=le)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(mt,5),r.\u0275\u0275viewQuery(qt,5)),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabBodyWrapper=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabHeader=me.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",O.dynamicHeight)("mat-tab-group-inverted-header","below"===O.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:ot,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(ke,O){1&ke&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(le){return O._focusChanged(le)})("selectFocusedIndex",function(le){return O.selectedIndex=le}),r.\u0275\u0275template(2,Nn,5,15,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,wn,1,11,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&ke&&(r.\u0275\u0275property("selectedIndex",O.selectedIndex||0)("disableRipple",O.disableRipple)("disablePagination",O.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",O._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",O._tabs))},dependencies:[g.NgClass,g.NgForOf,g.NgIf,d.Pl,h.MatRipple,n.kH,mn,an,Tn],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),xt})(),Wn=0,mi=(()=>{class xt extends ut{constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,O,me,le,Xe,Ot,Wt)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._items=le)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(_i,7),r.\u0275\u0275viewQuery(fi,7),r.\u0275\u0275viewQuery(Vi,7),r.\u0275\u0275viewQuery(Yi,7),r.\u0275\u0275viewQuery(Et,5),r.\u0275\u0275viewQuery(_t,5)),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._inkBar=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListContainer=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabList=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListInner=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._nextPaginator=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._previousPaginator=me.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(ke,O){2&ke&&(r.\u0275\u0275attribute("role",O._getRole()),r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",O._showPaginationControls)("mat-tab-header-rtl","rtl"==O._getLayoutDirection())("mat-primary","warn"!==O.color&&"accent"!==O.color)("mat-accent","accent"===O.color)("mat-warn","warn"===O.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:Xn,ngContentSelectors:Sn,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return O._handlePaginatorClick("before")})("mousedown",function(le){return O._handlePaginatorPress("before",le)})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(le){return O._handleKeydown(le)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return O._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(le){return O._handlePaginatorPress("after",le)})("click",function(){return O._handlePaginatorClick("after")})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&ke&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",O._disableScrollBefore||O.disableRipple)("disabled",O._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",O._disableScrollAfter||O.disableRipple)("disabled",O._disableScrollAfter||null))},dependencies:[h.MatRipple,c.wD,_i],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),xt})(),Yn=(()=>{class xt extends qe{constructor(ke,O,me,le,Xe,Ot,Wt,un){super(ke,O,Xe,Ot,Wt,un),this._tabLinkRipple=new h.RippleRenderer(this,me,O,le),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(h.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(ke,O){1&ke&&r.\u0275\u0275listener("focus",function(){return O._handleFocus()})("keydown",function(le){return O._handleKeydown(le)}),2&ke&&(r.\u0275\u0275attribute("aria-controls",O._getAriaControls())("aria-current",O._getAriaCurrent())("aria-disabled",O.disabled)("aria-selected",O._getAriaSelected())("id",O.id)("tabIndex",O._getTabIndex())("role",O._getRole()),r.\u0275\u0275classProp("mat-tab-disabled",O.disabled)("mat-tab-label-active",O.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),wi=(()=>{class xt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return xt.\u0275fac=function(ke){return new(ke||xt)},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275attribute("aria-labelledby",O._activeTabId)("id",O.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Sn,decls:1,vars:0,template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),xt})(),ri=(()=>{class xt extends N{}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature]}),xt})(),ai=(()=>{class xt extends ct{}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature]}),xt})(),Ni=(()=>{class xt{}return xt.\u0275fac=function(ke){return new(ke||xt)},xt.\u0275mod=r.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,h.MatCommonModule,d.eL,h.MatRippleModule,c.Q8,n.rt,h.MatCommonModule]}),xt})()},1274:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatToolbar:()=>v,MatToolbarModule:()=>p,MatToolbarRow:()=>u,throwToolbarMixedModesError:()=>b});var n=a(5879),c=a(3680),d=a(2831),g=a(6814);const r=["*",[["mat-toolbar-row"]]],h=["*","mat-toolbar-row"],f=(0,c.mixinColor)(class{constructor(_){this._elementRef=_}});let u=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275dir=n.\u0275\u0275defineDirective({type:_,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),_})(),v=(()=>{class _ extends f{constructor(y,x,D){super(y),this._platform=x,this._document=D}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return _.\u0275fac=function(y){return new(y||_)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(d.t4),n.\u0275\u0275directiveInject(g.DOCUMENT))},_.\u0275cmp=n.\u0275\u0275defineComponent({type:_,selectors:[["mat-toolbar"]],contentQueries:function(y,x,D){if(1&y&&n.\u0275\u0275contentQuery(D,u,5),2&y){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(x._toolbarRows=S)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(y,x){2&y&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",x._toolbarRows.length>0)("mat-toolbar-single-row",0===x._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:2,vars:0,template:function(y,x){1&y&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0}),_})();function b(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}let p=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275mod=n.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatCommonModule,c.MatCommonModule]}),_})()},349:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Cr,NoopAnimationsModule:()=>Rr,provideAnimations:()=>bo,provideNoopAnimations:()=>oo,\u0275AnimationRenderer:()=>fe,\u0275AnimationRendererFactory:()=>go,\u0275BrowserAnimationBuilder:()=>mo,\u0275BrowserAnimationFactory:()=>po,\u0275InjectableAnimationEngine:()=>Ke});var n=a(5879),c=a(6593),d=a(6825);function r(je){return new n.\u0275RuntimeError(3e3,!1)}function Qe(je){switch(je.length){case 0:return new d.ZN;case 1:return je[0];default:return new d.ZE(je)}}function We(je,T,P=new Map,de=new Map){const Fe=[],nt=[];let It=-1,Dt=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Dt||new Map;Qt.forEach((pi,li)=>{let Gn=li,ii=pi;if("offset"!==li)switch(Gn=je.normalizePropertyName(Gn,Fe),ii){case d.k1:ii=P.get(li);break;case d.l3:ii=de.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||nt.push(Ln),Dt=Ln,It=en}),Fe.length)throw function he(je){return new n.\u0275RuntimeError(3502,!1)}();return nt}function tt(je,T,P,de){switch(T){case"start":je.onStart(()=>de(P&&Mt(P,"start",je)));break;case"done":je.onDone(()=>de(P&&Mt(P,"done",je)));break;case"destroy":je.onDestroy(()=>de(P&&Mt(P,"destroy",je)))}}function Mt(je,T,P){const nt=Ft(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(nt._data=It),nt}function Ft(je,T,P,de,Fe="",nt=0,It){return{element:je,triggerName:T,fromState:P,toState:de,phaseName:Fe,totalTime:nt,disabled:!!It}}function gt(je,T,P){let de=je.get(T);return de||je.set(T,de=P),de}function Bt(je){const T=je.indexOf(":");return[je.substring(1,T),je.slice(T+1)]}const Tt=(()=>typeof document>"u"?null:document.documentElement)();function kt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let ct=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=kt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const de=je.querySelector(T);return de?[de]:[]}let ue=(()=>{class je{validateStyleProperty(P){return function at(je){ct||(ct=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!ct.style&&"WebkitAppearance"in ct.style);let T=!0;return ct.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in ct.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in ct.style)),T}(P)}matchesElement(P,de){return!1}containsElement(P,de){return Y(P,de)}getParentElement(P){return kt(P)}query(P,de,Fe){return ne(P,de,Fe)}computeStyle(P,de,Fe){return Fe||""}animate(P,de,Fe,nt,It,Dt=[],Qt){return new d.ZN(Fe,nt)}}return je.\u0275fac=function(P){return new(P||je)},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})(),Te=(()=>{class je{}return je.NOOP=new ue,je})();const Ct=1e3,Oe="ng-enter",ge="ng-leave",ot="ng-trigger",At=".ng-trigger",Nt="ng-animating",zt=".ng-animating";function Ne(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:$e(parseFloat(T[1]),T[2])}function $e(je,T){return"s"===T?je*Ct:je}function ae(je,T,P){return je.hasOwnProperty("duration")?je:function Ce(je,T,P){let Fe,nt=0,It="";if("string"==typeof je){const Dt=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Dt)return T.push(r()),{duration:0,delay:0,easing:""};Fe=$e(parseFloat(Dt[1]),Dt[2]);const Qt=Dt[3];null!=Qt&&(nt=$e(parseFloat(Qt),Dt[4]));const en=Dt[5];en&&(It=en)}else Fe=je;if(!P){let Dt=!1,Qt=T.length;Fe<0&&(T.push(function h(){return new n.\u0275RuntimeError(3100,!1)}()),Dt=!0),nt<0&&(T.push(function f(){return new n.\u0275RuntimeError(3101,!1)}()),Dt=!0),Dt&&T.splice(Qt,0,r())}return{duration:Fe,delay:nt,easing:It}}(je,T,P)}function lt(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function _e(je){const T=new Map;return Object.keys(je).forEach(P=>{T.set(P,je[P])}),T}function F(je,T=new Map,P){if(P)for(let[de,Fe]of P)T.set(de,Fe);for(let[de,Fe]of je)T.set(de,Fe);return T}function V(je,T,P){T.forEach((de,Fe)=>{const nt=Lt(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[nt]),je.style[nt]=de})}function K(je,T){T.forEach((P,de)=>{const Fe=Lt(de);je.style[Fe]=""})}function ve(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Pt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Pt.exec(je);)T.push(P[1]);Pt.lastIndex=0}return T}function et(je,T,P){const de=je.toString(),Fe=de.replace(Pt,(nt,It)=>{let Dt=T[It];return null==Dt&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Dt=""),Dt.toString()});return Fe==de?je:Fe}function Ve(je){const T=[];let P=je.next();for(;!P.done;)T.push(P.value),P=je.next();return T}const yt=/-+([a-z0-9])/g;function Lt(je){return je.replace(yt,(...T)=>T[1].toUpperCase())}function _n(je,T,P){switch(T.type){case 7:return je.visitTrigger(T,P);case 0:return je.visitState(T,P);case 1:return je.visitTransition(T,P);case 2:return je.visitSequence(T,P);case 3:return je.visitGroup(T,P);case 4:return je.visitAnimate(T,P);case 5:return je.visitKeyframes(T,P);case 6:return je.visitStyle(T,P);case 8:return je.visitReference(T,P);case 9:return je.visitAnimateChild(T,P);case 10:return je.visitAnimateRef(T,P);case 11:return je.visitQuery(T,P);case 12:return je.visitStagger(T,P);default:throw function b(je){return new n.\u0275RuntimeError(3004,!1)}()}}function Mn(je,T){return window.getComputedStyle(je)[T]}const mt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(de=>function nn(je,T,P){if(":"==je[0]){const Qt=function cn(je,T){switch(je){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(P,de)=>parseFloat(de)>parseFloat(P);case":decrement":return(P,de)=>parseFloat(de) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const de=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==de||de.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=de[1],nt=de[2],It=de[3];T.push(wn(Fe,It));"<"==nt[0]&&!(Fe==mt&&It==mt)&&T.push(wn(It,Fe))}(de,P,T)):P.push(je),P}const sn=new Set(["true","1"]),Nn=new Set(["false","0"]);function wn(je,T){const P=sn.has(je)||Nn.has(je),de=sn.has(T)||Nn.has(T);return(Fe,nt)=>{let It=je==mt||je==Fe,Dt=T==mt||T==nt;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Dt&&de&&"boolean"==typeof nt&&(Dt=nt?sn.has(T):Nn.has(T)),It&&Dt}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,de){return new an(je).build(T,P,de)}class an{constructor(T){this._driver=T}build(T,P,de){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,ve(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let de=P.queryCount=0,Fe=P.depCount=0;const nt=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Dt=>{if(this._resetContextStyleTimingState(P),0==Dt.type){const Qt=Dt,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,nt.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Dt.type){const Qt=this.visitTransition(Dt,P);de+=Qt.queryCount,Fe+=Qt.depCount,It.push(Qt)}else P.errors.push(function l(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:7,name:T.name,states:nt,transitions:It,queryCount:de,depCount:Fe,options:null}}visitState(T,P){const de=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(de.containsDynamicStyles){const nt=new Set,It=Fe||{};de.styles.forEach(Dt=>{Dt instanceof Map&&Dt.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||nt.add(en)})})}),nt.size&&(Ve(nt.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:de,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const de=_n(this,ve(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:de,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(de=>_n(this,de,P)),options:Yn(T.options)}}visitGroup(T,P){const de=P.currentTime;let Fe=0;const nt=T.steps.map(It=>{P.currentTime=de;const Dt=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Dt});return P.currentTime=Fe,{type:3,steps:nt,options:Yn(T.options)}}visitAnimate(T,P){const de=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(ae(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(nt=>"{"==nt.charAt(0)&&"{"==nt.charAt(1))){const nt=wi(0,0,"");return nt.dynamic=!0,nt.strValue=P,nt}const Fe=ae(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=de;let Fe,nt=T.styles?T.styles:(0,d.oB)({});if(5==nt.type)Fe=this.visitKeyframes(nt,P);else{let It=T.styles,Dt=!1;if(!It){Dt=!0;const en={};de.easing&&(en.easing=de.easing),It=(0,d.oB)(en)}P.currentTime+=de.duration+de.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Dt,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:de,style:Fe,options:null}}visitStyle(T,P){const de=this._makeStyleAst(T,P);return this._validateStyleAst(de,P),de}_makeStyleAst(T,P){const de=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Dt of Fe)"string"==typeof Dt?Dt===d.l3?de.push(Dt):P.errors.push(new n.\u0275RuntimeError(3002,!1)):de.push(_e(Dt));let nt=!1,It=null;return de.forEach(Dt=>{if(Dt instanceof Map&&(Dt.has("easing")&&(It=Dt.get("easing"),Dt.delete("easing")),!nt))for(let Qt of Dt.values())if(Qt.toString().indexOf("{{")>=0){nt=!0;break}}),{type:6,styles:de,easing:It,offset:T.offset,containsDynamicStyles:nt,options:null}}_validateStyleAst(T,P){const de=P.currentAnimateTimings;let Fe=P.currentTime,nt=P.currentTime;de&&nt>0&&(nt-=de.duration+de.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Dt,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(nt!=Fe&&nt>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,de,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),nt=In.startTime),Ln&&en.set(Qt,{startTime:nt,endTime:Fe}),P.options&&function ut(je,T,P){const de=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(nt=>{de.hasOwnProperty(nt)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Dt,P.options,P.errors)})})}visitKeyframes(T,P){const de={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),de;let nt=0;const It=[];let Dt=!1,Qt=!1,en=0;const In=T.steps.map(qi=>{const Ki=this._makeStyleAst(qi,P);let sr=null!=Ki.offset?Ki.offset:function Wn(je){if("string"==typeof je)return null;let T=null;if(Array.isArray(je))je.forEach(P=>{if(P instanceof Map&&P.has("offset")){const de=P;T=parseFloat(de.get("offset")),de.delete("offset")}});else if(je instanceof Map&&je.has("offset")){const P=je;T=parseFloat(P.get("offset")),P.delete("offset")}return T}(Ki.styles),nr=0;return null!=sr&&(nt++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Dt=Dt||nr0&&nt{const sr=pi>0?Ki==li?1:pi*Ki:It[Ki],nr=sr*Bi;P.currentTime=Gn+ii.delay+nr,ii.duration=nr,this._validateStyleAst(qi,P),qi.offset=sr,de.styles.push(qi)}),de}visitReference(T,P){return{type:8,animation:_n(this,ve(T.animation),P),options:Yn(T.options)}}visitAnimateChild(T,P){return P.depCount++,{type:9,options:Yn(T.options)}}visitAnimateRef(T,P){return{type:10,animation:this.visitReference(T.animation,P),options:Yn(T.options)}}visitQuery(T,P){const de=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[nt,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,At).replace(/@\w+/g,P=>At+"-"+P.slice(1)).replace(/:animating/g,zt),[je,T]}(T.selector);P.currentQuerySelector=de.length?de+" "+nt:nt,gt(P.collectedStyles,P.currentQuerySelector,new Map);const Dt=_n(this,ve(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=de,{type:11,selector:nt,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Dt,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const de="full"===T.timings?{duration:0,delay:0,easing:"full"}:ae(T.timings,P.errors,!0);return{type:12,animation:_n(this,ve(T.animation),P),timings:de,options:null}}}class Rn{constructor(T){this.errors=T,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Yn(je){return je?(je=lt(je)).params&&(je.params=function Tn(je){return je?lt(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,de,Fe,nt,It=null,Dt=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:de,duration:Fe,delay:nt,totalTime:Fe+nt,easing:It,subTimeline:Dt}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let de=this._map.get(T);de||this._map.set(T,de=[]),de.push(...P)}has(T){return this._map.has(T)}clear(){this._map.clear()}}const jt=new RegExp(":enter","g"),O=new RegExp(":leave","g");function me(je,T,P,de,Fe,nt=new Map,It=new Map,Dt,Qt,en=[]){return(new le).buildKeyframes(je,T,P,de,Fe,nt,It,Dt,Qt,en)}class le{buildKeyframes(T,P,de,Fe,nt,It,Dt,Qt,en,In=[]){en=en||new ai;const Ln=new Ot(T,P,en,Fe,nt,In,[]);Ln.options=Qt;const pi=Qt.delay?Ne(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,de,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Dt.size){let Gn;for(let ii=li.length-1;ii>=0;ii--){const Bi=li[ii];if(Bi.element===P){Gn=Bi;break}}Gn&&!Gn.allowOnlyTimelineStyles()&&Gn.setStyles([Dt],null,Ln.errors,Qt)}return li.length?li.map(Gn=>Gn.buildKeyframes()):[ri(P,[],[],[],0,pi,"",!1)]}visitTrigger(T,P){}visitState(T,P){}visitTransition(T,P){}visitAnimateChild(T,P){const de=P.subInstructions.get(P.element);if(de){const Fe=P.createSubContext(T.options),nt=P.currentTimeline.currentTime,It=this._visitSubInstructions(de,Fe,Fe.options);nt!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const de=P.createSubContext(T.options);de.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,de),this.visitReference(T.animation,de),P.transformIntoNewTimeline(de.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,de){for(const Fe of T){const nt=Fe?.delay;if(nt){const It="number"==typeof nt?nt:Ne(et(nt,Fe?.params??{},P.errors));de.delayNextStep(It)}}}_visitSubInstructions(T,P,de){let nt=P.currentTimeline.currentTime;const It=null!=de.duration?Ne(de.duration):null,Dt=null!=de.delay?Ne(de.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Dt);nt=Math.max(nt,en.duration+en.delay)}),nt}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const de=P.subContextCount;let Fe=P;const nt=T.options;if(nt&&(nt.params||nt.delay)&&(Fe=P.createSubContext(nt),Fe.transformIntoNewTimeline(),null!=nt.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Ne(nt.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>de&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const de=[];let Fe=P.currentTimeline.currentTime;const nt=T.options&&T.options.delay?Ne(T.options.delay):0;T.steps.forEach(It=>{const Dt=P.createSubContext(T.options);nt&&Dt.delayNextStep(nt),_n(this,It,Dt),Fe=Math.max(Fe,Dt.currentTimeline.currentTime),de.push(Dt.currentTimeline)}),de.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const de=T.strValue;return ae(P.params?et(de,P.params,P.errors):de,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const de=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;de.delay&&(P.incrementTime(de.delay),Fe.snapshotCurrentStyles());const nt=T.style;5==nt.type?this.visitKeyframes(nt,P):(P.incrementTime(de.duration),this.visitStyle(nt,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const de=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&de.hasCurrentStyleProperties()&&de.forwardFrame();const nt=Fe&&Fe.easing||T.easing;T.isEmptyStep?de.applyEmptyStep(nt):de.setStyles(T.styles,nt,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const de=P.currentAnimateTimings,Fe=P.currentTimeline.duration,nt=de.duration,Dt=P.createSubContext().currentTimeline;Dt.easing=de.easing,T.styles.forEach(Qt=>{Dt.forwardTime((Qt.offset||0)*nt),Dt.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Dt.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Dt),P.transformIntoNewTimeline(Fe+nt),P.previousNode=T}visitQuery(T,P){const de=P.currentTimeline.currentTime,Fe=T.options||{},nt=Fe.delay?Ne(Fe.delay):0;nt&&(6===P.previousNode.type||0==de&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=de;const Dt=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Dt.length;let Qt=null;Dt.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);nt&&Ln.delayNextStep(nt),en===P.element&&(Qt=Ln.currentTimeline),_n(this,T.animation,Ln),Ln.currentTimeline.applyStylesToKeyframe(),It=Math.max(It,Ln.currentTimeline.currentTime)}),P.currentQueryIndex=0,P.currentQueryTotal=0,P.transformIntoNewTimeline(It),Qt&&(P.currentTimeline.mergeTimelineCollectedStyles(Qt),P.currentTimeline.snapshotCurrentStyles()),P.previousNode=T}visitStagger(T,P){const de=P.parentContext,Fe=P.currentTimeline,nt=T.timings,It=Math.abs(nt.duration),Dt=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(nt.duration<0?"reverse":nt.easing){case"reverse":Qt=Dt-Qt;break;case"full":Qt=de.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,de.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-de.currentTimeline.startTime)}}const Xe={};class Ot{constructor(T,P,de,Fe,nt,It,Dt,Qt){this._driver=T,this.element=P,this.subInstructions=de,this._enterClassName=Fe,this._leaveClassName=nt,this.errors=It,this.timelines=Dt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xe,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Qt||new Wt(this._driver,P,0),Dt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const de=T;let Fe=this.options;null!=de.duration&&(Fe.duration=Ne(de.duration)),null!=de.delay&&(Fe.delay=Ne(de.delay));const nt=de.params;if(nt){let It=Fe.params;It||(It=this.options.params={}),Object.keys(nt).forEach(Dt=>{(!P||!It.hasOwnProperty(Dt))&&(It[Dt]=et(nt[Dt],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const de=T.params={};Object.keys(P).forEach(Fe=>{de[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,de){const Fe=P||this.element,nt=new Ot(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,de||0));return nt.previousNode=this.previousNode,nt.currentAnimateTimings=this.currentAnimateTimings,nt.options=this._copyOptions(),nt.updateOptions(T),nt.currentQueryIndex=this.currentQueryIndex,nt.currentQueryTotal=this.currentQueryTotal,nt.parentContext=this,this.subContextCount++,nt}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,de){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(de??0)+T.delay,easing:""},nt=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(nt),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,de,Fe,nt,It){let Dt=[];if(Fe&&Dt.push(this.element),T.length>0){T=(T=T.replace(jt,"."+this._enterClassName)).replace(O,"."+this._leaveClassName);let en=this._driver.query(this.element,T,1!=de);0!==de&&(en=de<0?en.slice(en.length+de,en.length):en.slice(0,de)),Dt.push(...en)}return!nt&&0==Dt.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Dt}}class Wt{constructor(T,P,de,Fe){this._driver=T,this.element=P,this.startTime=de,this._elementTimelineStylesLookup=Fe,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(P),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(P,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(T){const P=1===this._keyframes.size&&this._pendingStyles.size;this.duration||P?(this.forwardTime(this.currentTime+T),P&&this.snapshotCurrentStyles()):this.startTime+=T}fork(T,P){return this.applyStylesToKeyframe(),new Wt(this._driver,T,P||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(T){this.applyStylesToKeyframe(),this.duration=T,this._loadKeyframe()}_updateStyle(T,P){this._localTimelineStyles.set(T,P),this._globalTimelineStyles.set(T,P),this._styleSummary.set(T,{time:this.currentTime,value:P})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(T){T&&this._previousKeyframe.set("easing",T);for(let[P,de]of this._globalTimelineStyles)this._backFill.set(P,de||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,de,Fe){P&&this._previousKeyframe.set("easing",P);const nt=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let de;return je.forEach(Fe=>{if("*"===Fe){de=de||T.keys();for(let nt of de)P.set(nt,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Dt,Qt]of It){const en=et(Qt,nt,de);this._pendingStyles.set(Dt,en),this._localTimelineStyles.has(Dt)||this._backFill.set(Dt,this._globalTimelineStyles.get(Dt)??d.l3),this._updateStyle(Dt,en)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((T,P)=>{this._currentKeyframe.set(P,T)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((T,P)=>{this._currentKeyframe.has(P)||this._currentKeyframe.set(P,T)}))}snapshotCurrentStyles(){for(let[T,P]of this._localTimelineStyles)this._pendingStyles.set(T,P),this._updateStyle(T,P)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const T=[];for(let P in this._currentKeyframe)T.push(P);return T}mergeTimelineCollectedStyles(T){T._styleSummary.forEach((P,de)=>{const Fe=this._styleSummary.get(de);(!Fe||P.time>Fe.time)&&this._updateStyle(de,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,de=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Dt,Qt)=>{const en=F(Dt,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),de||en.set("offset",Qt/this.duration),Fe.push(en)});const nt=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(de){const Dt=Fe[0],Qt=new Map(Dt);Dt.set("offset",0),Qt.set("offset",1),Fe=[Dt,Qt]}return ri(this.element,Fe,nt,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,de,Fe,nt,It,Dt=!1){super(T,P,It.delay),this.keyframes=de,this.preStyleProps=Fe,this.postStyleProps=nt,this._stretchStartingKeyframe=Dt,this.timings={duration:It.duration,delay:It.delay,easing:It.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let T=this.keyframes,{delay:P,duration:de,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const nt=[],It=de+P,Dt=P/It,Qt=F(T[0]);Qt.set("offset",0),nt.push(Qt);const en=F(T[0]);en.set("offset",gn(Dt)),nt.push(en);const In=T.length-1;for(let Ln=1;Ln<=In;Ln++){let pi=F(T[Ln]);const li=pi.get("offset");pi.set("offset",gn((P+li*de)/It)),nt.push(pi)}de=It,P=0,Fe="",T=nt}return ri(this.element,T,this.preStyleProps,this.postStyleProps,de,P,Fe,!0)}}function gn(je,T=3){const P=Math.pow(10,T-1);return Math.round(je*P)/P}class jn{}const bi=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Ti extends jn{normalizePropertyName(T,P){return Lt(T)}normalizeStyleValue(T,P,de,Fe){let nt="";const It=de.toString().trim();if(bi.has(P)&&0!==de&&"0"!==de)if("number"==typeof de)nt="px";else{const Dt=de.match(/^[+-]?[\d\.]+([a-z]*)$/);Dt&&0==Dt[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+nt}}function Fi(je,T,P,de,Fe,nt,It,Dt,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:nt,toState:de,toStyles:It,timelines:Dt,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,de){this._triggerName=T,this.ast=P,this._stateStyles=de}match(T,P,de,Fe){return function tn(je,T,P,de,Fe){return je.some(nt=>nt(T,P,de,Fe))}(this.ast.matchers,T,P,de,Fe)}buildStyles(T,P,de){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,de):new Map}build(T,P,de,Fe,nt,It,Dt,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(de,Dt&&Dt.params||Gi,Ln),ii=Qt&&Qt.params||Gi,Bi=this.buildStyles(Fe,ii,Ln),qi=new Set,Ki=new Map,sr=new Map,nr="void"===Fe,Kr={params:En(ii,pi),delay:this.ast.options?.delay},Mr=In?[]:me(T,P,this.ast.animation,nt,It,Gn,Bi,Kr,en,Ln);let rr=0;if(Mr.forEach(Er=>{rr=Math.max(Er.duration+Er.delay,rr)}),Ln.length)return Fi(P,this._triggerName,de,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=gt(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=gt(sr,fr,new Set);Er.postStyleProps.forEach(Lr=>Yr.add(Lr)),fr!==P&&qi.add(fr)});const xr=Ve(qi.values());return Fi(P,this._triggerName,de,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=lt(T);for(const de in je)je.hasOwnProperty(de)&&null!=je[de]&&(P[de]=je[de]);return P}class ei{constructor(T,P,de){this.styles=T,this.defaultParams=P,this.normalizer=de}buildStyles(T,P){const de=new Map,Fe=lt(this.defaultParams);return Object.keys(T).forEach(nt=>{const It=T[nt];null!==It&&(Fe[nt]=It)}),this.styles.styles.forEach(nt=>{"string"!=typeof nt&&nt.forEach((It,Dt)=>{It&&(It=et(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Dt,P);It=this.normalizer.normalizeStyleValue(Dt,Qt,It,P),de.set(Dt,It)})}),de}}class tr{constructor(T,P,de){this.name=T,this.ast=P,this._normalizer=de,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},de))}),ar(this.states,"true","1"),ar(this.states,"false","0"),P.transitions.forEach(Fe=>{this.transitionFactories.push(new fn(T,Fe,this.states))}),this.fallbackTransition=function Ai(je,T,P){return new fn(je,{type:1,animation:{type:2,steps:[],options:null},matchers:[(It,Dt)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,de,Fe){return this.transitionFactories.find(It=>It.match(T,P,de,Fe))||null}matchStyles(T,P,de){return this.fallbackTransition.buildStyles(T,P,de)}}function ar(je,T,P){je.has(T)?je.has(P)||je.set(P,je.get(T)):je.has(P)&&je.set(T,je.get(P))}const yi=new ai;class Je{constructor(T,P,de){this.bodyNode=T,this._driver=P,this._normalizer=de,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const de=[],nt=$n(this._driver,P,de,[]);if(de.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,nt)}_buildPlayer(T,P,de){const Fe=T.element,nt=We(this._normalizer,T.keyframes,P,de);return this._driver.animate(Fe,nt,T.duration,T.delay,T.easing,[],!0)}create(T,P,de={}){const Fe=[],nt=this._animations.get(T);let It;const Dt=new Map;if(nt?(It=me(this._driver,P,nt,Oe,ge,new Map,new Map,de,yi,Fe),It.forEach(In=>{const Ln=gt(Dt,In.element,new Map);In.postStyleProps.forEach(pi=>Ln.set(pi,null))})):(Fe.push(function W(){return new n.\u0275RuntimeError(3300,!1)}()),It=[]),Fe.length)throw function pe(je){return new n.\u0275RuntimeError(3504,!1)}();Dt.forEach((In,Ln)=>{In.forEach((pi,li)=>{In.set(li,this._driver.computeStyle(Ln,li,d.l3))})});const en=Qe(It.map(In=>{const Ln=Dt.get(In.element);return this._buildPlayer(In,new Map,Ln)}));return this._playersById.set(T,en),en.onDestroy(()=>this.destroy(T)),this.players.push(en),en}destroy(T){const P=this._getPlayer(T);P.destroy(),this._playersById.delete(T);const de=this.players.indexOf(P);de>=0&&this.players.splice(de,1)}_getPlayer(T){const P=this._playersById.get(T);if(!P)throw function we(je){return new n.\u0275RuntimeError(3301,!1)}();return P}listen(T,P,de,Fe){const nt=Ft(P,"","","");return tt(this._getPlayer(T),de,nt,Fe),()=>{}}command(T,P,de,Fe){if("register"==de)return void this.register(T,Fe[0]);if("create"==de)return void this.create(T,P,Fe[0]||{});const nt=this._getPlayer(T);switch(de){case"play":nt.play();break;case"pause":nt.pause();break;case"reset":nt.reset();break;case"restart":nt.restart();break;case"finish":nt.finish();break;case"init":nt.init();break;case"setPosition":nt.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Rt="ng-animate-queued",te="ng-animate-disabled",Pn=[],ji={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Li="__ng_removed";class Qi{get params(){return this.options.params}constructor(T,P=""){this.namespaceId=P;const de=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(de?T.value:T),de){const nt=lt(T);delete nt.value,this.options=nt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const de=this.options.params;Object.keys(P).forEach(Fe=>{null==de[Fe]&&(de[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,de){this.id=T,this.hostElement=P,this._engine=de,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,de,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==de||0==de.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(de))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const nt=gt(this._elementListeners,T,[]),It={name:P,phase:de,callback:Fe};nt.push(It);const Dt=gt(this._engine.statesByElement,T,new Map);return Dt.has(P)||(On(T,ot),On(T,ot+"-"+P),Dt.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=nt.indexOf(It);Qt>=0&&nt.splice(Qt,1),this._triggers.has(P)||Dt.delete(P)})}}register(T,P){return!this._triggers.has(T)&&(this._triggers.set(T,P),!0)}_getTrigger(T){const P=this._triggers.get(T);if(!P)throw function re(je){return new n.\u0275RuntimeError(3401,!1)}();return P}trigger(T,P,de,Fe=!0){const nt=this._getTrigger(P),It=new pt(this.id,P,T);let Dt=this._engine.statesByElement.get(T);Dt||(On(T,ot),On(T,ot+"-"+P),this._engine.statesByElement.set(T,Dt=new Map));let Qt=Dt.get(P);const en=new Qi(de,this.id);if(!(de&&de.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Dt.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),de=Object.keys(T);if(P.length!=de.length)return!1;for(let Fe=0;Fe{K(T,Bi),V(T,qi)})}return}const pi=gt(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=nt.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=nt.fallbackTransition,Gn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:T,triggerName:P,transition:li,fromState:Qt,toState:en,player:It,isFallbackTransition:Gn}),Gn||(On(T,Rt),It.onStart(()=>{vi(T,Rt)})),It.onDone(()=>{let ii=this.players.indexOf(It);ii>=0&&this.players.splice(ii,1);const Bi=this._engine.playersByElement.get(T);if(Bi){let qi=Bi.indexOf(It);qi>=0&&Bi.splice(qi,1)}}),this.players.push(It),pi.push(It),It}deregister(T){this._triggers.delete(T),this._engine.statesByElement.forEach(P=>P.delete(T)),this._elementListeners.forEach((P,de)=>{this._elementListeners.set(de,P.filter(Fe=>Fe.name!=T))})}clearElementCache(T){this._engine.statesByElement.delete(T),this._elementListeners.delete(T);const P=this._engine.playersByElement.get(T);P&&(P.forEach(de=>de.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const de=this._engine.driver.query(T,At,!0);de.forEach(Fe=>{if(Fe[Li])return;const nt=this._engine.fetchNamespacesByElement(Fe);nt.size?nt.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>de.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,de,Fe){const nt=this._engine.statesByElement.get(T),It=new Map;if(nt){const Dt=[];if(nt.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Dt.push(In)}}),Dt.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),de&&Qe(Dt).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),de=this._engine.statesByElement.get(T);if(P&&de){const Fe=new Set;P.forEach(nt=>{const It=nt.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=de.get(It)||ir,In=new Qi(Ui),Ln=new pt(this.id,It,T);this._engine.totalQueuedPlayers++,this._queue.push({element:T,triggerName:It,transition:Qt,fromState:en,toState:In,player:Ln,isFallbackTransition:!0})})}}removeNode(T,P){const de=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(de.totalAnimations){const nt=de.players.length?de.playersByQueriedElement.get(T):[];if(nt&&nt.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(de.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)de.markElementAsRemoved(this.id,T,!1,P);else{const nt=T[Li];(!nt||nt===ji)&&(de.afterFlush(()=>this.clearElementCache(T)),de.destroyInnerAnimations(T),de._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(de=>{const Fe=de.player;if(Fe.destroyed)return;const nt=de.element,It=this._elementListeners.get(nt);It&&It.forEach(Dt=>{if(Dt.name==de.triggerName){const Qt=Ft(nt,de.triggerName,de.fromState.value,de.toState.value);Qt._data=T,tt(de.player,Dt.phase,Qt,Dt.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(de)}),this._queue=[],P.sort((de,Fe)=>{const nt=de.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==nt||0==It?nt-It:this._engine.driver.containsElement(de.element,Fe.element)?1:-1})}destroy(T){this.players.forEach(P=>P.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,T)}}class vt{_onRemovalComplete(T,P){this.onRemovalComplete(T,P)}constructor(T,P,de){this.bodyNode=T,this.driver=P,this._normalizer=de,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Fe,nt)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(de=>{de.queued&&T.push(de)})}),T}createNamespace(T,P){const de=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(de,P):(this.newHostElements.set(P,de),this.collectEnterElement(P)),this._namespaceLookup[T]=de}_balanceNamespaceList(T,P){const de=this._namespaceList,Fe=this.namespacesByHostElement;if(de.length-1>=0){let It=!1,Dt=this.driver.getParentElement(P);for(;Dt;){const Qt=Fe.get(Dt);if(Qt){const en=de.indexOf(Qt);de.splice(en+1,0,T),It=!0;break}Dt=this.driver.getParentElement(Dt)}It||de.unshift(T)}else de.push(T);return Fe.set(P,T),T}register(T,P){let de=this._namespaceLookup[T];return de||(de=this.createNamespace(T,P)),de}registerTrigger(T,P,de){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,de)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const de=this._fetchNamespace(T);this.namespacesByHostElement.delete(de.hostElement);const Fe=this._namespaceList.indexOf(de);Fe>=0&&this._namespaceList.splice(Fe,1),de.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,de=this.statesByElement.get(T);if(de)for(let Fe of de.values())if(Fe.namespaceId){const nt=this._fetchNamespace(Fe.namespaceId);nt&&P.add(nt)}return P}trigger(T,P,de,Fe){if(Yt(P)){const nt=this._fetchNamespace(T);if(nt)return nt.trigger(P,de,Fe),!0}return!1}insertNode(T,P,de,Fe){if(!Yt(P))return;const nt=P[Li];if(nt&&nt.setForRemoval){nt.setForRemoval=!1,nt.setForMove=!0;const It=this.collectedLeaveElements.indexOf(P);It>=0&&this.collectedLeaveElements.splice(It,1)}if(T){const It=this._fetchNamespace(T);It&&It.insertNode(P,de)}Fe&&this.collectEnterElement(P)}collectEnterElement(T){this.collectedEnterElements.push(T)}markElementAsDisabled(T,P){P?this.disabledNodes.has(T)||(this.disabledNodes.add(T),On(T,te)):this.disabledNodes.has(T)&&(this.disabledNodes.delete(T),vi(T,te))}removeNode(T,P,de){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,de):this.markElementAsRemoved(T,P,!1,de);const nt=this.namespacesByHostElement.get(P);nt&&nt.id!==T&&nt.removeNode(P,de)}else this._onRemovalComplete(P,de)}markElementAsRemoved(T,P,de,Fe,nt){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:de,removedBeforeQueried:!1,previousTriggersValues:nt}}listen(T,P,de,Fe,nt){return Yt(P)?this._fetchNamespace(T).listen(P,de,Fe,nt):()=>{}}_buildInstruction(T,P,de,Fe,nt){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,de,Fe,T.fromState.options,T.toState.options,P,nt)}destroyInnerAnimations(T){let P=this.driver.query(T,At,!0);P.forEach(de=>this.destroyActiveAnimationsForElement(de)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,zt,!0),P.forEach(de=>this.finishActiveQueriedAnimationOnElement(de)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(de=>{de.queued?de.markedForDestroy=!0:de.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(de=>de.finish())}whenRenderingDone(){return new Promise(T=>{if(this.players.length)return Qe(this.players).onDone(()=>T());T()})}processLeaveNode(T){const P=T[Li];if(P&&P.setForRemoval){if(T[Li]=ji,P.namespaceId){this.destroyInnerAnimations(T);const de=this._fetchNamespace(P.namespaceId);de&&de.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(de=>{this.markElementAsDisabled(de,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((de,Fe)=>this._balanceNamespaceList(de,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let de=0;dede()),this._flushFns=[],this._whenQuietFns.length){const de=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{de.forEach(Fe=>Fe())}):de.forEach(Fe=>Fe())}}reportError(T){throw function se(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const de=new ai,Fe=[],nt=new Map,It=[],Dt=new Map,Qt=new Map,en=new Map,In=new Set;this.disabledNodes.forEach(Bn=>{In.add(Bn);const Hn=this.driver.query(Bn,".ng-animate-queued",!0);for(let Qn=0;Qn{const Qn=Oe+ii++;Gn.set(Hn,Qn),Bn.forEach(ci=>On(ci,Qn))});const Bi=[],qi=new Set,Ki=new Set;for(let Bn=0;Bnqi.add(ci)):Ki.add(Hn))}const sr=new Map,nr=Vn(pi,Array.from(qi));nr.forEach((Bn,Hn)=>{const Qn=ge+ii++;sr.set(Hn,Qn),Bn.forEach(ci=>On(ci,Qn))}),T.push(()=>{li.forEach((Bn,Hn)=>{const Qn=Gn.get(Hn);Bn.forEach(ci=>vi(ci,Qn))}),nr.forEach((Bn,Hn)=>{const Qn=sr.get(Hn);Bn.forEach(ci=>vi(ci,Qn))}),Bi.forEach(Bn=>{this.processLeaveNode(Bn)})});const Kr=[],Mr=[];for(let Bn=this._namespaceList.length-1;Bn>=0;Bn--)this._namespaceList[Bn].drainQueuedTransitions(P).forEach(Qn=>{const ci=Qn.player,Xi=Qn.element;if(Kr.push(ci),this.collectedEnterElements.length){const ht=Xi[Li];if(ht&&ht.setForMove){if(ht.previousTriggersValues&&ht.previousTriggersValues.has(Qn.triggerName)){const Gt=ht.previousTriggersValues.get(Qn.triggerName),Kt=this.statesByElement.get(Qn.element);if(Kt&&Kt.has(Qn.triggerName)){const Un=Kt.get(Qn.triggerName);Un.value=Gt,Kt.set(Qn.triggerName,Un)}}return void ci.destroy()}}const mr=!Ln||!this.driver.containsElement(Ln,Xi),di=sr.get(Xi),L=Gn.get(Xi),xe=this._buildInstruction(Qn,de,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>K(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>K(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);const Z=[];xe.timelines.forEach(ht=>{ht.stretchStartingKeyframe=!0,this.disabledNodes.has(ht.element)||Z.push(ht)}),xe.timelines=Z,de.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>gt(Dt,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,Gt)=>{if(ht.size){let Kt=Qt.get(Gt);Kt||Qt.set(Gt,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,Gt)=>{let Kt=en.get(Gt);Kt||en.set(Gt,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))})});if(Mr.length){const Bn=[];Mr.forEach(Hn=>{Bn.push(function He(je,T){return new n.\u0275RuntimeError(3505,!1)}())}),Kr.forEach(Hn=>Hn.destroy()),this.reportError(Bn)}const rr=new Map,xr=new Map;It.forEach(Bn=>{const Hn=Bn.element;de.has(Hn)&&(xr.set(Hn,Hn),this._beforeAnimationBuild(Bn.player.namespaceId,Bn.instruction,rr))}),Fe.forEach(Bn=>{const Hn=Bn.element;this._getPreviousPlayers(Hn,!1,Bn.namespaceId,Bn.triggerName,null).forEach(ci=>{gt(rr,Hn,[]).push(ci),ci.destroy()})});const Er=Bi.filter(Bn=>oi(Bn,Qt,en)),fr=new Map;vn(fr,this.driver,Ki,en,d.l3).forEach(Bn=>{oi(Bn,Qt,en)&&Er.push(Bn)});const Yr=new Map;li.forEach((Bn,Hn)=>{vn(Yr,this.driver,new Set(Bn),Qt,d.k1)}),Er.forEach(Bn=>{const Hn=fr.get(Bn),Qn=Yr.get(Bn);fr.set(Bn,new Map([...Hn?.entries()??[],...Qn?.entries()??[]]))});const Lr=[],kr=[],ao={};It.forEach(Bn=>{const{element:Hn,player:Qn,instruction:ci}=Bn;if(de.has(Hn)){if(In.has(Hn))return Qn.onDestroy(()=>V(Hn,ci.toStyles)),Qn.disabled=!0,Qn.overrideTotalTime(ci.totalTime),void Fe.push(Qn);let Xi=ao;if(xr.size>1){let di=Hn;const L=[];for(;di=di.parentNode;){const xe=xr.get(di);if(xe){Xi=xe;break}L.push(di)}L.forEach(xe=>xr.set(xe,Xi))}const mr=this._buildAnimation(Qn.namespaceId,ci,rr,nt,Yr,fr);if(Qn.setRealPlayer(mr),Xi===ao)Lr.push(Qn);else{const di=this.playersByElement.get(Xi);di&&di.length&&(Qn.parentPlayer=Qe(di)),Fe.push(Qn)}}else K(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=nt.get(Bn.element);if(Hn&&Hn.length){const Qn=Qe(Hn);Bn.setRealPlayer(Qn)}}),Fe.forEach(Bn=>{Bn.parentPlayer?Bn.syncPlayerEvents(Bn.parentPlayer):Bn.destroy()});for(let Bn=0;Bn!mr.destroyed);Xi.length?ui(this,Hn,Xi):this.processLeaveNode(Hn)}return Bi.length=0,Lr.forEach(Bn=>{this.players.push(Bn),Bn.onDone(()=>{Bn.destroy();const Hn=this.players.indexOf(Bn);this.players.splice(Hn,1)}),Bn.play()}),Lr}afterFlush(T){this._flushFns.push(T)}afterFlushAnimationsDone(T){this._whenQuietFns.push(T)}_getPreviousPlayers(T,P,de,Fe,nt){let It=[];if(P){const Dt=this.playersByQueriedElement.get(T);Dt&&(It=Dt)}else{const Dt=this.playersByElement.get(T);if(Dt){const Qt=!nt||nt==Ui;Dt.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(de||Fe)&&(It=It.filter(Dt=>!(de&&de!=Dt.namespaceId||Fe&&Fe!=Dt.triggerName))),It}_beforeAnimationBuild(T,P,de){const nt=P.element,It=P.isRemovalTransition?void 0:T,Dt=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==nt,Ln=gt(de,en,[]);this._getPreviousPlayers(en,In,It,Dt,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}K(nt,P.fromStyles)}_buildAnimation(T,P,de,Fe,nt,It){const Dt=P.triggerName,Qt=P.element,en=[],In=new Set,Ln=new Set,pi=P.timelines.map(Gn=>{const ii=Gn.element;In.add(ii);const Bi=ii[Li];if(Bi&&Bi.removedBeforeQueried)return new d.ZN(Gn.duration,Gn.delay);const qi=ii!==Qt,Ki=function Mi(je){const T=[];return qn(je,T),T}((de.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=nt.get(ii),nr=It.get(ii),Kr=We(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new pt(T,Dt,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{gt(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let de=je.get(T);if(de){if(de.length){const Fe=de.indexOf(P);de.splice(Fe,1)}0==de.length&&je.delete(T)}return de}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Nt));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Nt)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{gt(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,de){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,de):new d.ZN(T.duration,T.delay)}}class pt{constructor(T,P,de){this.namespaceId=T,this.triggerName=P,this.element=de,this._player=new d.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(T){this._containsRealPlayer||(this._player=T,this._queuedCallbacks.forEach((P,de)=>{P.forEach(Fe=>tt(T,de,void 0,Fe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(T.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(T){this.totalTime=T}syncPlayerEvents(T){const P=this._player;P.triggerCallback&&T.onStart(()=>P.triggerCallback("start")),T.onDone(()=>this.finish()),T.onDestroy(()=>this.destroy())}_queueEvent(T,P){gt(this._queuedCallbacks,T,[]).push(P)}onDone(T){this.queued&&this._queueEvent("done",T),this._player.onDone(T)}onStart(T){this.queued&&this._queueEvent("start",T),this._player.onStart(T)}onDestroy(T){this.queued&&this._queueEvent("destroy",T),this._player.onDestroy(T)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(T){this.queued||this._player.setPosition(T)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(T){const P=this._player;P.triggerCallback&&P.triggerCallback(T)}}function Yt(je){return je&&1===je.nodeType}function yn(je,T){const P=je.style.display;return je.style.display=T??"none",P}function vn(je,T,P,de,Fe){const nt=[];P.forEach(Qt=>nt.push(yn(Qt)));const It=[];de.forEach((Qt,en)=>{const In=new Map;Qt.forEach(Ln=>{const pi=T.computeStyle(en,Ln,Fe);In.set(Ln,pi),(!pi||0==pi.length)&&(en[Li]=Pi,It.push(en))}),je.set(en,In)});let Dt=0;return P.forEach(Qt=>yn(Qt,nt[Dt++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Dt=>P.set(Dt,[])),0==T.length)return P;const Fe=new Set(T),nt=new Map;function It(Dt){if(!Dt)return 1;let Qt=nt.get(Dt);if(Qt)return Qt;const en=Dt.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),nt.set(Dt,Qt),Qt}return T.forEach(Dt=>{const Qt=It(Dt);1!==Qt&&P.get(Qt).push(Dt)}),P}function On(je,T){je.classList?.add(T)}function vi(je,T){je.classList?.remove(T)}function ui(je,T,P){Qe(P).onDone(()=>je.processLeaveNode(T))}function qn(je,T){for(let P=0;PFe.add(nt)):T.set(je,de),P.delete(je),!0}class Ii{constructor(T,P,de){this.bodyNode=T,this._driver=P,this._normalizer=de,this._triggerCache={},this.onRemovalComplete=(Fe,nt)=>{},this._transitionEngine=new vt(T,P,de),this._timelineEngine=new Je(T,P,de),this._transitionEngine.onRemovalComplete=(Fe,nt)=>this.onRemovalComplete(Fe,nt)}registerTrigger(T,P,de,Fe,nt){const It=T+"-"+Fe;let Dt=this._triggerCache[It];if(!Dt){const Qt=[],In=$n(this._driver,nt,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Dt=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Dt}this._transitionEngine.registerTrigger(P,Fe,Dt)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,de,Fe){this._transitionEngine.insertNode(T,P,de,Fe)}onRemove(T,P,de){this._transitionEngine.removeNode(T,P,de)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,de,Fe){if("@"==de.charAt(0)){const[nt,It]=Bt(de);this._timelineEngine.command(nt,P,It,Fe)}else this._transitionEngine.trigger(T,P,de,Fe)}listen(T,P,de,Fe,nt){if("@"==de.charAt(0)){const[It,Dt]=Bt(de);return this._timelineEngine.listen(It,P,Dt,nt)}return this._transitionEngine.listen(T,P,de,Fe,nt)}flush(T=-1){this._transitionEngine.flush(T)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(T){this._transitionEngine.afterFlushAnimationsDone(T)}}let Vr=(()=>{class je{constructor(P,de,Fe){this._element=P,this._startStyles=de,this._endStyles=Fe,this._state=0;let nt=je.initialStylesByElement.get(P);nt||je.initialStylesByElement.set(P,nt=new Map),this._initialStyles=nt}start(){this._state<1&&(this._startStyles&&V(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(V(this._element,this._initialStyles),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(je.initialStylesByElement.delete(this._element),this._startStyles&&(K(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),V(this._element,this._initialStyles),this._state=3)}}return je.initialStylesByElement=new WeakMap,je})();function no(je){let T=null;return je.forEach((P,de)=>{(function Oo(je){return"display"===je||"position"===je})(de)&&(T=T||new Map,T.set(de,P))}),T}class jr{constructor(T,P,de,Fe){this.element=T,this.keyframes=P,this.options=de,this._specialStyles=Fe,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=de.duration,this._delay=de.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(T=>T()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const T=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,T,this.options),this._finalKeyframe=T.length?T[T.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(T){const P=[];return T.forEach(de=>{P.push(Object.fromEntries(de))}),P}_triggerWebAnimation(T,P,de){return T.animate(this._convertKeyframesToObject(P),de)}onStart(T){this._originalOnStartFns.push(T),this._onStartFns.push(T)}onDone(T){this._originalOnDoneFns.push(T),this._onDoneFns.push(T)}onDestroy(T){this._onDestroyFns.push(T)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(T=>T()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(T=>T()),this._onDestroyFns=[])}setPosition(T){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=T*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const T=new Map;this.hasStarted()&&this._finalKeyframe.forEach((de,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?de:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(de=>de()),P.length=0}}class Hr{validateStyleProperty(T){return!0}validateAnimatableStyleProperty(T){return!0}matchesElement(T,P){return!1}containsElement(T,P){return Y(T,P)}getParentElement(T){return kt(T)}query(T,P,de){return ne(T,P,de)}computeStyle(T,P,de){return window.getComputedStyle(T)[P]}animate(T,P,de,Fe,nt,It=[]){const Qt={duration:de,delay:Fe,fill:0==Fe?"both":"forwards"};nt&&(Qt.easing=nt);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(de,Fe)&&In.forEach(li=>{li.currentSnapshot.forEach((Gn,ii)=>en.set(ii,Gn))});let Ln=function Ye(je){return je.length?je[0]instanceof Map?je:je.map(T=>_e(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let de=T[0],Fe=[];if(P.forEach((nt,It)=>{de.has(It)||Fe.push(It),de.set(It,nt)}),Fe.length)for(let nt=1;ntIt.set(Dt,Mn(je,Dt)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,de=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(de=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||de?new Vr(je,P,de):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,de){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(de.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const de=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,de,"register",[Fe]),new po(de,this._renderer)}}return je.\u0275fac=function(P){return new(P||je)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(fo.DOCUMENT))},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})();class po extends d.LC{constructor(T,P){super(),this._id=T,this._renderer=P}create(T,P){return new io(this._id,T,P||{},this._renderer)}}class io{constructor(T,P,de,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",de)}_listen(T,P){return this._renderer.listen(this.element,`@@${this.id}:${T}`,P)}_command(T,...P){return ro(this._renderer,this.element,this.id,T,P)}onDone(T){this._listen("done",T)}onStart(T){this._listen("start",T)}onDestroy(T){this._listen("destroy",T)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(T){this._command("setPosition",T)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ro(je,T,P,de,Fe){return je.setProperty(T,`@@${P}:${de}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,de,Fe){this.delegate=P,this.engine=de,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,de.onRemovalComplete=(nt,It)=>{const Dt=It?.parentNode(nt);Dt&&It.removeChild(Dt,nt)}}createRenderer(P,de){const nt=this.delegate.createRenderer(P,de);if(!(P&&de&&de.data&&de.data.animation)){let In=this._rendererCache.get(nt);return In||(In=new _o("",nt,this.engine,()=>this._rendererCache.delete(nt)),this._rendererCache.set(nt,In)),In}const It=de.id,Dt=de.id+"-"+this._currentId;this._currentId++,this.engine.register(Dt,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Dt,P,In.name,In)};return de.data.animation.forEach(Qt),new fe(this,Dt,nt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,de,Fe){P>=0&&Pde(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(nt=>{const[It,Dt]=nt;It(Dt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([de,Fe]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return je.\u0275fac=function(P){return new(P||je)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Ii),n.\u0275\u0275inject(n.NgZone))},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})();class _o{constructor(T,P,de,Fe){this.namespaceId=T,this.delegate=P,this.engine=de,this._onDestroy=Fe}get data(){return this.delegate.data}destroyNode(T){this.delegate.destroyNode?.(T)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(T,P){return this.delegate.createElement(T,P)}createComment(T){return this.delegate.createComment(T)}createText(T){return this.delegate.createText(T)}appendChild(T,P){this.delegate.appendChild(T,P),this.engine.onInsert(this.namespaceId,P,T,!1)}insertBefore(T,P,de,Fe=!0){this.delegate.insertBefore(T,P,de),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,de){this.engine.onRemove(this.namespaceId,P,this.delegate)}selectRootElement(T,P){return this.delegate.selectRootElement(T,P)}parentNode(T){return this.delegate.parentNode(T)}nextSibling(T){return this.delegate.nextSibling(T)}setAttribute(T,P,de,Fe){this.delegate.setAttribute(T,P,de,Fe)}removeAttribute(T,P,de){this.delegate.removeAttribute(T,P,de)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,de,Fe){this.delegate.setStyle(T,P,de,Fe)}removeStyle(T,P,de){this.delegate.removeStyle(T,P,de)}setProperty(T,P,de){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!de):this.delegate.setProperty(T,P,de)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,de){return this.delegate.listen(T,P,de)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,de,Fe,nt){super(P,de,Fe,nt),this.factory=T,this.namespaceId=P}setProperty(T,P,de){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,de=void 0===de||!!de):this.engine.process(this.namespaceId,T,P.slice(1),de):this.delegate.setProperty(T,P,de)}listen(T,P,de){if("@"==P.charAt(0)){const Fe=function ce(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let nt=P.slice(1),It="";return"@"!=nt.charAt(0)&&([nt,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(nt)),this.engine.listen(this.namespaceId,Fe,nt,It,Dt=>{this.factory.scheduleListenerCallback(Dt._data||-1,de,Dt)})}return this.delegate.listen(T,P,de)}}let Ke=(()=>{class je extends Ii{constructor(P,de,Fe,nt){super(P.body,de,Fe)}ngOnDestroy(){this.flush()}}return je.\u0275fac=function(P){return new(P||je)(n.\u0275\u0275inject(fo.DOCUMENT),n.\u0275\u0275inject(Te),n.\u0275\u0275inject(jn),n.\u0275\u0275inject(n.ApplicationRef))},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})();const Wi=[{provide:d._j,useClass:mo},{provide:jn,useFactory:function Xt(){return new Ti}},{provide:Ii,useClass:Ke},{provide:n.RendererFactory2,useFactory:function Dn(je,T,P){return new go(je,T,P)},deps:[c.\u0275DomRendererFactory2,Ii,n.NgZone]}],dr=[{provide:Te,useFactory:()=>new Hr},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...Wi],or=[{provide:Te,useClass:ue},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...Wi];let Cr=(()=>{class je{static withConfig(P){return{ngModule:je,providers:P.disableAnimations?or:dr}}}return je.\u0275fac=function(P){return new(P||je)},je.\u0275mod=n.\u0275\u0275defineNgModule({type:je}),je.\u0275inj=n.\u0275\u0275defineInjector({providers:dr,imports:[c.BrowserModule]}),je})();function bo(){return[...dr]}let Rr=(()=>{class je{}return je.\u0275fac=function(P){return new(P||je)},je.\u0275mod=n.\u0275\u0275defineNgModule({type:je}),je.\u0275inj=n.\u0275\u0275defineInjector({providers:or,imports:[c.BrowserModule]}),je})();function oo(){return[...or]}},6593:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{BrowserModule:()=>ct,By:()=>ge,DomSanitizer:()=>Ce,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Nt,HAMMER_LOADER:()=>zt,HammerGestureConfig:()=>Ne,HammerModule:()=>ae,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Pt,VERSION:()=>ve,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>Oe,enableDebugTools:()=>bt,makeStateKey:()=>ut,platformBrowser:()=>Bt,provideClientHydration:()=>K,provideProtractorTestingSupport:()=>We,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>_e,\u0275HammerGesturesPlugin:()=>$e,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>gt,\u0275KeyEventsPlugin:()=>ye,\u0275SharedStylesHost:()=>D,\u0275getDOM:()=>c.\u0275getDOM,\u0275initDomAdapter:()=>tt});var n=a(5879),c=a(6814),d=a(9862);class g extends c.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class r extends g{static makeCurrent(){(0,c.\u0275setRootDomAdapter)(new r)}onAndCancel(et,Ve,yt){return et.addEventListener(Ve,yt),()=>{et.removeEventListener(Ve,yt)}}dispatchEvent(et,Ve){et.dispatchEvent(Ve)}remove(et){et.parentNode&&et.parentNode.removeChild(et)}createElement(et,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(et)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(et){return et.nodeType===Node.ELEMENT_NODE}isShadowRoot(et){return et instanceof DocumentFragment}getGlobalEventTarget(et,Ve){return"window"===Ve?window:"document"===Ve?et:"body"===Ve?et.body:null}getBaseHref(et){const Ve=function f(){return h=h||document.querySelector("base"),h?h.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const et=u.pathname;return"/"===et.charAt(0)?et:`/${et}`}(Ve)}resetBaseElement(){h=null}getUserAgent(){return window.navigator.userAgent}getCookie(et){return(0,c.\u0275parseCookieValue)(document.cookie,et)}}let u,h=null;class b{addToWindow(et){n.\u0275global.getAngularTestability=(yt,Lt=!0)=>{const on=et.findTestabilityInTree(yt,Lt);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>et.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>et.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const Lt=n.\u0275global.getAllAngularTestabilities();let on=Lt.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};Lt.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(et,Ve,yt){return null==Ve?null:et.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(et,Ve.host,!0):this.findTestabilityInTree(et,Ve.parentElement,!0):null)}}let p=(()=>{class qe{build(){return new XMLHttpRequest}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const _=new n.InjectionToken("EventManagerPlugins");let l=(()=>{class qe{constructor(Ve,yt){this._zone=yt,this._eventNameToPlugin=new Map,Ve.forEach(Lt=>{Lt.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,Lt){return this._findPluginFor(yt).addEventListener(Ve,yt,Lt)}getZone(){return this._zone}_findPluginFor(Ve){let yt=this._eventNameToPlugin.get(Ve);if(yt)return yt;if(yt=this._plugins.find(on=>on.supports(Ve)),!yt)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Ve,yt),yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(_),n.\u0275\u0275inject(n.NgZone))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();class y{constructor(et){this._doc=et}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,Lt,on={}){this.doc=Ve,this.appId=yt,this.nonce=Lt,this.platformId=on,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,c.isPlatformServer)(on),this.resetHostNodes()}addStyles(Ve){for(const yt of Ve)1===this.changeUsageCount(yt,1)&&this.onStyleAdded(yt)}removeStyles(Ve){for(const yt of Ve)this.changeUsageCount(yt,-1)<=0&&this.onStyleRemoved(yt)}ngOnDestroy(){const Ve=this.styleNodesInDOM;Ve&&(Ve.forEach(yt=>yt.remove()),Ve.clear());for(const yt of this.getAllStyles())this.onStyleRemoved(yt);this.resetHostNodes()}addHost(Ve){this.hostNodes.add(Ve);for(const yt of this.getAllStyles())this.addStyleToHost(Ve,yt)}removeHost(Ve){this.hostNodes.delete(Ve)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ve){for(const yt of this.hostNodes)this.addStyleToHost(yt,Ve)}onStyleRemoved(Ve){const yt=this.styleRef;yt.get(Ve)?.elements?.forEach(Lt=>Lt.remove()),yt.delete(Ve)}collectServerRenderedStyles(){const Ve=this.doc.head?.querySelectorAll(`style[${x}="${this.appId}"]`);if(Ve?.length){const yt=new Map;return Ve.forEach(Lt=>{null!=Lt.textContent&&yt.set(Lt.textContent,Lt)}),yt}return null}changeUsageCount(Ve,yt){const Lt=this.styleRef;if(Lt.has(Ve)){const on=Lt.get(Ve);return on.usage+=yt,on.usage}return Lt.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const Lt=this.styleNodesInDOM,on=Lt?.get(yt);if(on?.parentNode===Ve)return Lt.delete(yt),on.removeAttribute(x),on;{const xn=this.doc.createElement("style");return this.nonce&&xn.setAttribute("nonce",this.nonce),xn.textContent=yt,this.platformIsServer&&xn.setAttribute(x,this.appId),xn}}addStyleToHost(Ve,yt){const Lt=this.getStyleElement(Ve,yt);Ve.appendChild(Lt);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(Lt):on.set(yt,{elements:[Lt],usage:1})}resetHostNodes(){const Ve=this.hostNodes;Ve.clear(),Ve.add(this.doc.head)}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const S={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},E=/%COMP%/g,I="%COMP%",X=`_nghost-${I}`,$=`_ngcontent-${I}`,ie=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Me(qe,et){return et.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,Lt,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=Lt,this.removeStylesOnCompDestroy=on,this.doc=xn,this.platformId=Sn,this.ngZone=_n,this.nonce=Mn,this.rendererByCompId=new Map,this.platformIsServer=(0,c.isPlatformServer)(Sn),this.defaultRenderer=new Ae(Ve,xn,_n,this.platformIsServer)}createRenderer(Ve,yt){if(!Ve||!yt)return this.defaultRenderer;this.platformIsServer&&yt.encapsulation===n.ViewEncapsulation.ShadowDom&&(yt={...yt,encapsulation:n.ViewEncapsulation.Emulated});const Lt=this.getOrCreateRenderer(Ve,yt);return Lt instanceof Ee?Lt.applyToHost(Ve):Lt instanceof we&&Lt.applyStyles(),Lt}getOrCreateRenderer(Ve,yt){const Lt=this.rendererByCompId;let on=Lt.get(yt.id);if(!on){const xn=this.doc,Sn=this.ngZone,_n=this.eventManager,Mn=this.sharedStylesHost,xi=this.removeStylesOnCompDestroy,fi=this.platformIsServer;switch(yt.encapsulation){case n.ViewEncapsulation.Emulated:on=new Ee(_n,Mn,yt,this.appId,xi,xn,Sn,fi);break;case n.ViewEncapsulation.ShadowDom:return new pe(_n,Mn,Ve,yt,xn,Sn,this.nonce,fi);default:on=new we(_n,Mn,yt,xi,xn,Sn,fi)}Lt.set(yt.id,on)}return on}ngOnDestroy(){this.rendererByCompId.clear()}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(D),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(ie),n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();class Ae{constructor(et,Ve,yt,Lt){this.eventManager=et,this.doc=Ve,this.ngZone=yt,this.platformIsServer=Lt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(et,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,et):this.doc.createElement(et)}createComment(et){return this.doc.createComment(et)}createText(et){return this.doc.createTextNode(et)}appendChild(et,Ve){(W(et)?et.content:et).appendChild(Ve)}insertBefore(et,Ve,yt){et&&(W(et)?et.content:et).insertBefore(Ve,yt)}removeChild(et,Ve){et&&et.removeChild(Ve)}selectRootElement(et,Ve){let yt="string"==typeof et?this.doc.querySelector(et):et;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(et){return et.parentNode}nextSibling(et){return et.nextSibling}setAttribute(et,Ve,yt,Lt){if(Lt){Ve=Lt+":"+Ve;const on=S[Lt];on?et.setAttributeNS(on,Ve,yt):et.setAttribute(Ve,yt)}else et.setAttribute(Ve,yt)}removeAttribute(et,Ve,yt){if(yt){const Lt=S[yt];Lt?et.removeAttributeNS(Lt,Ve):et.removeAttribute(`${yt}:${Ve}`)}else et.removeAttribute(Ve)}addClass(et,Ve){et.classList.add(Ve)}removeClass(et,Ve){et.classList.remove(Ve)}setStyle(et,Ve,yt,Lt){Lt&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?et.style.setProperty(Ve,yt,Lt&n.RendererStyleFlags2.Important?"important":""):et.style[Ve]=yt}removeStyle(et,Ve,yt){yt&n.RendererStyleFlags2.DashCase?et.style.removeProperty(Ve):et.style[Ve]=""}setProperty(et,Ve,yt){et[Ve]=yt}setValue(et,Ve){et.nodeValue=Ve}listen(et,Ve,yt){if("string"==typeof et&&!(et=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,et)))throw new Error(`Unsupported event target ${et} for event ${Ve}`);return this.eventManager.addEventListener(et,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(et){return Ve=>{if("__ngUnwrap__"===Ve)return et;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>et(Ve)):et(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(et,Ve,yt,Lt,on,xn,Sn,_n){super(et,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Me(Lt.id,Lt.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(et){return et===this.hostEl?this.shadowRoot:et}appendChild(et,Ve){return super.appendChild(this.nodeOrShadowRoot(et),Ve)}insertBefore(et,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(et),Ve,yt)}removeChild(et,Ve){return super.removeChild(this.nodeOrShadowRoot(et),Ve)}parentNode(et){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(et)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(et,Ve,yt,Lt,on,xn,Sn,_n){super(et,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=Lt,this.styles=_n?Me(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(et,Ve,yt,Lt,on,xn,Sn,_n){const Mn=Lt+"-"+yt.id;super(et,Ve,yt,on,xn,Sn,_n,Mn),this.contentAttr=function A(qe){return $.replace(E,qe)}(Mn),this.hostAttr=function U(qe){return X.replace(E,qe)}(Mn)}applyToHost(et){this.applyStyles(),this.setAttribute(et,this.hostAttr,"")}createElement(et,Ve){const yt=super.createElement(et,Ve);return super.setAttribute(yt,this.contentAttr,""),yt}}let Be=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return!0}addEventListener(Ve,yt,Lt){return Ve.addEventListener(yt,Lt,!1),()=>this.removeEventListener(Ve,yt,Lt)}removeEventListener(Ve,yt,Lt){return Ve.removeEventListener(yt,Lt)}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const G=["alt","control","meta","shift"],re={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},se={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ye=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,Lt){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,Lt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),Lt=yt.shift();if(0===yt.length||"keydown"!==Lt&&"keyup"!==Lt)return null;const on=qe._normalizeKey(yt.pop());let xn="",Sn=yt.indexOf("code");if(Sn>-1&&(yt.splice(Sn,1),xn="code."),G.forEach(Mn=>{const xi=yt.indexOf(Mn);xi>-1&&(yt.splice(xi,1),xn+=Mn+".")}),xn+=on,0!=yt.length||0===on.length)return null;const _n={};return _n.domEventName=Lt,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let Lt=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(Lt=Ve.code,on="code."),!(null==Lt||!Lt)&&(Lt=Lt.toLowerCase()," "===Lt?Lt="space":"."===Lt&&(Lt="dot"),G.forEach(xn=>{xn!==Lt&&(0,se[xn])(Ve)&&(on+=xn+".")}),on+=Lt,on===yt)}static eventCallback(Ve,yt,Lt){return on=>{qe.matchEventFullKeyCode(on,Ve)&&Lt.runGuarded(()=>yt(on))}}static _normalizeKey(Ve){return"esc"===Ve?"escape":Ve}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();function He(qe,et){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(et)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:gt}}function We(){return[...kt]}function tt(){r.makeCurrent()}const gt=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Ft(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",gt),Tt=new n.InjectionToken(""),kt=[{provide:n.\u0275TESTABILITY_GETTER,useClass:b,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],Le=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Mt(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ye,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let ct=(()=>{class qe{constructor(Ve){}static withServerTransition(Ve){return{ngModule:qe,providers:[{provide:n.APP_ID,useValue:Ve.appId}]}}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(Tt,12))},qe.\u0275mod=n.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Le,...kt],imports:[c.CommonModule,n.ApplicationModule]}),qe})(),at=(()=>{class qe{constructor(Ve){this._doc=Ve,this._dom=(0,c.\u0275getDOM)()}addTag(Ve,yt=!1){return Ve?this._getOrCreateElement(Ve,yt):null}addTags(Ve,yt=!1){return Ve?Ve.reduce((Lt,on)=>(on&&Lt.push(this._getOrCreateElement(on,yt)),Lt),[]):[]}getTag(Ve){return Ve&&this._doc.querySelector(`meta[${Ve}]`)||null}getTags(Ve){if(!Ve)return[];const yt=this._doc.querySelectorAll(`meta[${Ve}]`);return yt?[].slice.call(yt):[]}updateTag(Ve,yt){if(!Ve)return null;yt=yt||this._parseSelector(Ve);const Lt=this.getTag(yt);return Lt?this._setMetaElementAttributes(Ve,Lt):this._getOrCreateElement(Ve,!0)}removeTag(Ve){this.removeTagElement(this.getTag(Ve))}removeTagElement(Ve){Ve&&this._dom.remove(Ve)}_getOrCreateElement(Ve,yt=!1){if(!yt){const xn=this._parseSelector(Ve),Sn=this.getTags(xn).filter(_n=>this._containsAttributes(Ve,_n))[0];if(void 0!==Sn)return Sn}const Lt=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,Lt),this._doc.getElementsByTagName("head")[0].appendChild(Lt),Lt}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(Lt=>yt.setAttribute(this._getMetaKeyMap(Lt),Ve[Lt])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(Lt=>yt.getAttribute(this._getMetaKeyMap(Lt))===Ve[Lt])}_getMetaKeyMap(Ve){return N[Ve]||Ve}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new Ve:function ze(){return new at((0,n.\u0275\u0275inject)(c.DOCUMENT))}(),yt},providedIn:"root"}),qe})();const N={httpEquiv:"http-equiv"};let Y=(()=>{class qe{constructor(Ve){this._doc=Ve}getTitle(){return this._doc.title}setTitle(Ve){this._doc.title=Ve||""}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new Ve:function oe(){return new Y((0,n.\u0275\u0275inject)(c.DOCUMENT))}(),yt},providedIn:"root"}),qe})();function ne(qe,et){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=et)}const Q=typeof window<"u"&&window||{};class ue{constructor(et,Ve){this.msPerTick=et,this.numTicks=Ve}}class Te{constructor(et){this.appRef=et.injector.get(n.ApplicationRef)}timeChangeDetection(et){const Ve=et&&et.record,yt="Change Detection",Lt=null!=Q.console.profile;Ve&&Lt&&Q.console.profile(yt);const on=Ct();let xn=0;for(;xn<5||Ct()-on<500;)this.appRef.tick(),xn++;const Sn=Ct();Ve&&Lt&&Q.console.profileEnd(yt);const _n=(Sn-on)/xn;return Q.console.log(`ran ${xn} change detection cycles`),Q.console.log(`${_n.toFixed(2)} ms per check`),new ue(_n,xn)}}function Ct(){return Q.performance&&Q.performance.now?Q.performance.now():(new Date).getTime()}const dt="profiler";function bt(qe){return ne(dt,new Te(qe)),qe}function Oe(){ne(dt,null)}class ge{static all(){return()=>!0}static css(et){return Ve=>null!=Ve.nativeElement&&function ot(qe,et){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(et)||qe.msMatchesSelector&&qe.msMatchesSelector(et)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(et))}(Ve.nativeElement,et)}static directive(et){return Ve=>-1!==Ve.providerTokens.indexOf(et)}}const At={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Nt=new n.InjectionToken("HammerGestureConfig"),zt=new n.InjectionToken("HammerLoader");let Ne=(()=>{class qe{constructor(){this.events=[],this.overrides={}}buildHammer(Ve){const yt=new Hammer(Ve,this.options);yt.get("pinch").set({enable:!0}),yt.get("rotate").set({enable:!0});for(const Lt in this.overrides)yt.get(Lt).set(this.overrides[Lt]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),$e=(()=>{class qe extends y{constructor(Ve,yt,Lt,on){super(Ve),this._config=yt,this.console=Lt,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!At.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,Lt){const on=this.manager.getZone();if(yt=yt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||on.runOutsideAngular(()=>this.loader());let xn=!1,Sn=()=>{xn=!0};return on.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?xn||(Sn=this.addEventListener(Ve,yt,Lt)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){Lt(_n)})};return xn.on(yt,Sn),()=>{xn.off(yt,Sn),"function"==typeof xn.destroy&&xn.destroy()}})}isCustomEvent(Ve){return this._config.events.indexOf(Ve)>-1}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(Nt),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(zt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),ae=(()=>{class qe{}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275mod=n.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:_,useClass:$e,multi:!0,deps:[c.DOCUMENT,Nt,n.\u0275Console,[new n.Optional,zt]]},{provide:Nt,useClass:Ne,deps:[]}]}),qe})(),Ce=(()=>{class qe{}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new(Ve||qe):n.\u0275\u0275inject(_e),yt},providedIn:"root"}),qe})(),_e=(()=>{class qe extends Ce{constructor(Ve){super(),this._doc=Ve}sanitize(Ve,yt){if(null==yt)return null;switch(Ve){case n.SecurityContext.NONE:return yt;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(yt,"HTML")?(0,n.\u0275unwrapSafeValue)(yt):(0,n.\u0275_sanitizeHtml)(this._doc,String(yt)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(yt,"Style")?(0,n.\u0275unwrapSafeValue)(yt):yt;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(yt,"Script"))return(0,n.\u0275unwrapSafeValue)(yt);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(yt,"URL")?(0,n.\u0275unwrapSafeValue)(yt):(0,n.\u0275_sanitizeUrl)(String(yt));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(yt,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(yt);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Ve){return(0,n.\u0275bypassSanitizationTrustHtml)(Ve)}bypassSecurityTrustStyle(Ve){return(0,n.\u0275bypassSanitizationTrustStyle)(Ve)}bypassSecurityTrustScript(Ve){return(0,n.\u0275bypassSanitizationTrustScript)(Ve)}bypassSecurityTrustUrl(Ve){return(0,n.\u0275bypassSanitizationTrustUrl)(Ve)}bypassSecurityTrustResourceUrl(Ve){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(Ve)}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new Ve:function lt(qe){return new _e(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,et=[]){return{\u0275kind:qe,\u0275providers:et}}function De(){return Ye(0)}function F(){return Ye(1)}function K(...qe){const et=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:Lt}of qe)Ve.add(Lt),yt.length&&et.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),et])}const ve=new n.Version("16.1.7"),ut=n.makeStateKey,Pt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>xt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>le,DefaultTitleStrategy:()=>mr,DefaultUrlSerializer:()=>Te,GuardsCheckEnd:()=>Wn,GuardsCheckStart:()=>Rn,NavigationCancel:()=>ti,NavigationEnd:()=>$n,NavigationError:()=>mn,NavigationSkipped:()=>an,NavigationStart:()=>_i,NoPreloading:()=>pr,OutletContext:()=>me,PRIMARY_OUTLET:()=>Be,PreloadAllModules:()=>Zn,PreloadingStrategy:()=>Dr,ROUTER_CONFIGURATION:()=>Z,ROUTER_INITIALIZER:()=>Fa,ROUTES:()=>kr,ResolveEnd:()=>Yn,ResolveStart:()=>mi,RouteConfigLoadEnd:()=>ri,RouteConfigLoadStart:()=>wi,RouteReuseStrategy:()=>di,Router:()=>Jn,RouterEvent:()=>Xn,RouterLink:()=>Oi,RouterLinkActive:()=>er,RouterLinkWithHref:()=>Oi,RouterModule:()=>Ls,RouterOutlet:()=>ei,RouterPreloader:()=>Qr,RouterState:()=>pn,RouterStateSnapshot:()=>Gi,RoutesRecognized:()=>Tn,Scroll:()=>ke,TitleStrategy:()=>Xi,UrlHandlingStrategy:()=>Ue,UrlSegment:()=>oe,UrlSegmentGroup:()=>N,UrlSerializer:()=>ue,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>se,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ye,mapToCanActivate:()=>Os,mapToCanActivateChild:()=>Va,mapToCanDeactivate:()=>rc,mapToCanMatch:()=>Ba,mapToResolve:()=>Rs,provideRouter:()=>ql,provideRoutes:()=>tc,withComponentInputBinding:()=>As,withDebugTracing:()=>lr,withDisabledInitialNavigation:()=>ka,withEnabledBlockingInitialNavigation:()=>La,withHashLocation:()=>Ra,withInMemoryScrolling:()=>Is,withNavigationErrorHandler:()=>Pa,withPreloading:()=>Eo,withRouterConfig:()=>zr,\u0275EmptyOutletComponent:()=>Pn,\u0275ROUTER_PROVIDERS:()=>hr,\u0275afterNextNavigation:()=>Kt});var n=a(5879),c=a(2664),d=a(2459),g=a(2096),r=a(5619),h=a(2572),f=a(6973),u=a(34),v=a(4911),b=a(8407),p=a(8504),_=a(6232),l=a(3168),y=a(8645),x=a(6814),D=a(7398),S=a(4664),E=a(8180),I=a(7921),X=a(2181),$=a(9769),ee=a(1374),ie=a(6328),A=a(9397),U=a(6306),Me=a(6424),Re=a(3572),Ae=a(2032),he=a(4418),H=a(975),W=a(4716),pe=a(6196),we=a(7537),Ee=a(6593);const Be="primary",G=Symbol("RouteTitle");class re{constructor(j){this.params=j||{}}has(j){return Object.prototype.hasOwnProperty.call(this.params,j)}get(j){if(this.has(j)){const w=this.params[j];return Array.isArray(w)?w[0]:w}return null}getAll(j){if(this.has(j)){const w=this.params[j];return Array.isArray(w)?w:[w]}return[]}get keys(){return Object.keys(this.params)}}function se(k){return new re(k)}function ye(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[it]===Se)}return k===j}function We(k){return k.length>0?k[k.length-1]:null}function tt(k){return(0,c.b)(k)?k:(0,n.\u0275isPromise)(k)?(0,d.D)(Promise.resolve(k)):(0,g.of)(k)}const Mt={exact:function Tt(k,j,w){if(!ne(k.segments,j.segments)||!ze(k.segments,j.segments,w)||k.numberOfChildren!==j.numberOfChildren)return!1;for(const q in j.children)if(!k.children[q]||!Tt(k.children[q],j.children[q],w))return!1;return!0},subset:Le},Ft={exact:function Bt(k,j){return Ze(k,j)},subset:function kt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function gt(k,j,w){return Mt[w.paths](k.root,j.root,w.matrixParams)&&Ft[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return ct(k,j,j.segments,w)}function ct(k,j,w,q){if(k.segments.length>w.length){const Se=k.segments.slice(0,w.length);return!(!ne(Se,w)||j.hasChildren()||!ze(Se,w,q))}if(k.segments.length===w.length){if(!ne(k.segments,w)||!ze(k.segments,w,q))return!1;for(const Se in j.children)if(!k.children[Se]||!Le(k.children[Se],j.children[Se],q))return!1;return!0}{const Se=w.slice(0,k.segments.length),it=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&&ct(k.children[Be],j,it,q)}}function ze(k,j,w){return j.every((q,Se)=>Ft[w](k[Se].parameters,q.parameters))}class at{constructor(j=new N([],{}),w={},q=null){this.root=j,this.queryParams=w,this.fragment=q}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=se(this.queryParams)),this._queryParamMap}toString(){return Ct.serialize(this)}}class N{constructor(j,w){this.segments=j,this.children=w,this.parent=null,Object.values(w).forEach(q=>q.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class oe{constructor(j,w){this.path=j,this.parameters=w}get parameterMap(){return this._parameterMap||(this._parameterMap=se(this.parameters)),this._parameterMap}toString(){return Ne(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ue=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return new Te},providedIn:"root"}),k})();class Te{parse(j){const w=new ve(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${bt(j.root,!0)}`,q=function ae(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${ge(w)}=${ge(Se)}`).join("&"):`${ge(w)}=${ge(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function ot(k){return encodeURI(k)}(j.fragment)}`:""}`}}const Ct=new Te;function dt(k){return k.segments.map(j=>Ne(j)).join("/")}function bt(k,j){if(!k.hasChildren())return dt(k);if(j){const w=k.children[Be]?bt(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,it])=>{Se!==Be&&q.push(`${Se}:${bt(it,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function Q(k,j){let w=[];return Object.entries(k.children).forEach(([q,Se])=>{q===Be&&(w=w.concat(j(Se,q)))}),Object.entries(k.children).forEach(([q,Se])=>{q!==Be&&(w=w.concat(j(Se,q)))}),w}(k,(q,Se)=>Se===Be?[bt(k.children[Be],!1)]:[`${Se}:${bt(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${dt(k)}/${w[0]}`:`${dt(k)}/(${w.join("//")})`}}function Oe(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ge(k){return Oe(k).replace(/%3B/gi,";")}function At(k){return Oe(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nt(k){return decodeURIComponent(k)}function zt(k){return Nt(k.replace(/\+/g,"%20"))}function Ne(k){return`${At(k.path)}${function $e(k){return Object.keys(k).map(j=>`;${At(j)}=${At(k[j])}`).join("")}(k.parameters)}`}const Ce=/^[^\/()?;#]+/;function lt(k){const j=k.match(Ce);return j?j[0]:""}const _e=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class ve{constructor(j){this.url=j,this.remaining=j}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new N([],{}):new N([],this.parseChildren())}parseQueryParams(){const j={};if(this.consumeOptional("?"))do{this.parseQueryParam(j)}while(this.consumeOptional("&"));return j}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const j=[];for(this.peekStartsWith("(")||j.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),j.push(this.parseSegment());let w={};this.peekStartsWith("/(")&&(this.capture("/"),w=this.parseParens(!0));let q={};return this.peekStartsWith("(")&&(q=this.parseParens(!1)),(j.length>0||Object.keys(w).length>0)&&(q[Be]=new N(j,w)),q}parseSegment(){const j=lt(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Nt(j),this.parseMatrixParams())}parseMatrixParams(){const j={};for(;this.consumeOptional(";");)this.parseParam(j);return j}parseParam(j){const w=function Ye(k){const j=k.match(_e);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=lt(this.remaining);Se&&(q=Se,this.capture(q))}j[Nt(w)]=Nt(q)}parseQueryParam(j){const w=function F(k){const j=k.match(De);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const st=function K(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=zt(w),it=zt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(it)}else j[Se]=it}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=lt(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let it;q.indexOf(":")>-1?(it=q.slice(0,q.indexOf(":")),this.capture(it),this.capture(":")):j&&(it=Be);const st=this.parseChildren();w[it]=1===Object.keys(st).length?st[Be]:new N([],st),this.consumeOptional("//")}return w}peekStartsWith(j){return this.remaining.startsWith(j)}consumeOptional(j){return!!this.peekStartsWith(j)&&(this.remaining=this.remaining.substring(j.length),!0)}capture(j){if(!this.consumeOptional(j))throw new n.\u0275RuntimeError(4011,!1)}}function ut(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Pt(k){const j={};for(const q of Object.keys(k.children)){const it=Pt(k.children[q]);if(q===Be&&0===it.segments.length&&it.hasChildren())for(const[st,Vt]of Object.entries(it.children))j[st]=Vt;else(it.segments.length>0||it.hasChildren())&&(j[q]=it)}return function qe(k){if(1===k.numberOfChildren&&k.children[Be]){const j=k.children[Be];return new N(k.segments.concat(j.segments),j.children)}return k}(new N(k.segments,j))}function et(k){return k instanceof at}function Ve(k,j,w=null,q=null){return Lt(yt(k),j,w,q)}function yt(k){let j;const Se=ut(function w(it){const st={};for(const hn of it.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(it.url,st);return it===k&&(j=Vt),Vt}(k.root));return j??Se}function Lt(k,j,w,q){let Se=k;for(;Se.parent;)Se=Se.parent;if(0===j.length)return Sn(Se,Se,Se,w,q);const it=function xi(k){if("string"==typeof k[0]&&1===k.length&&"/"===k[0])return new Mn(!0,0,k);let j=0,w=!1;const q=k.reduce((Se,it,st)=>{if("object"==typeof it&&null!=it){if(it.outlets){const Vt={};return Object.entries(it.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(it.segmentPath)return[...Se,it.segmentPath]}return"string"!=typeof it?[...Se,it]:0===st?(it.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,it]},[]);return new Mn(w,j,q)}(j);if(it.toRoot())return Sn(Se,Se,new N([],{}),w,q);const st=function Vi(k,j,w){if(k.isAbsolute)return new fi(j,!0,0);if(!w)return new fi(j,!1,NaN);if(null===w.parent)return new fi(w,!0,0);const q=on(k.commands[0])?0:1;return function Yi(k,j,w){let q=k,Se=j,it=w;for(;it>Se;){if(it-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-it)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(it,Se,k),Vt=st.processChildren?mt(st.segmentGroup,st.index,it.commands):_t(st.segmentGroup,st.index,it.commands);return Sn(Se,st.segmentGroup,Vt,w,q)}function on(k){return"object"==typeof k&&null!=k&&!k.outlets&&!k.segmentPath}function xn(k){return"object"==typeof k&&null!=k&&k.outlets}function Sn(k,j,w,q,Se){let st,it={};q&&Object.entries(q).forEach(([hn,An])=>{it[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=ut(Pt(st));return new at(Vt,it,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,it])=>{q[Se]=it===j?w:_n(it,j,w)}),new N(k.segments,q)}class Mn{constructor(j,w,q){if(this.isAbsolute=j,this.numberOfDoubleDots=w,this.commands=q,j&&q.length>0&&on(q[0]))throw new n.\u0275RuntimeError(4003,!1);const Se=q.find(xn);if(Se&&Se!==We(q))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fi{constructor(j,w,q){this.segmentGroup=j,this.processChildren=w,this.index=q}}function _t(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return mt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const it={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return it;const st=k.segments[Se],Vt=w[q];if(xn(Vt))break;const hn=`${Vt}`,An=q0&&void 0===hn)break;if(hn&&An&&"object"==typeof An&&void 0===An.outlets){if(!Nn(hn,An,st))return it;q+=2}else{if(!Nn(hn,{},st))return it;q++}Se++}return{match:!0,pathIndex:Se,commandIndex:q}}(k,j,w),Se=w.slice(q.commandIndex);if(q.match&&q.pathIndex{"string"==typeof st&&(st=[st]),null!==st&&(Se[it]=_t(k.children[it],j,st))}),Object.entries(k.children).forEach(([it,st])=>{void 0===q[it]&&(Se[it]=st)}),new N(k.segments,Se)}}function nn(k,j,w){const q=k.segments.slice(0,j);let Se=0;for(;Se{"string"==typeof q&&(q=[q]),null!==q&&(j[w]=nn(new N([],{}),0,q))}),j}function sn(k){const j={};return Object.entries(k).forEach(([w,q])=>j[w]=`${q}`),j}function Nn(k,j,w){return k==w.path&&Ze(j,w.parameters)}const wn="imperative";class Xn{constructor(j,w){this.id=j,this.url=w}}class _i extends Xn{constructor(j,w,q="imperative",Se=null){super(j,w),this.type=0,this.navigationTrigger=q,this.restoredState=Se}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $n extends Xn{constructor(j,w,q){super(j,w),this.urlAfterRedirects=q,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ti extends Xn{constructor(j,w,q,Se){super(j,w),this.reason=q,this.code=Se,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class an extends Xn{constructor(j,w,q,Se){super(j,w),this.reason=q,this.code=Se,this.type=16}}class mn extends Xn{constructor(j,w,q,Se){super(j,w),this.error=q,this.target=Se,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Tn extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rn extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wn extends Xn{constructor(j,w,q,Se,it){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=it,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class mi extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yn extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wi{constructor(j){this.route=j,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ri{constructor(j){this.route=j,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ai{constructor(j){this.snapshot=j,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ni{constructor(j){this.snapshot=j,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xt{constructor(j){this.snapshot=j,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jt{constructor(j){this.snapshot=j,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ke{constructor(j,w,q){this.routerEvent=j,this.position=w,this.anchor=q,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class me{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new le,this.attachRef=null}}let le=(()=>{class k{constructor(){this.contexts=new Map}onChildOutletCreated(w,q){const Se=this.getOrCreateContext(w);Se.outlet=q,this.contexts.set(w,Se)}onChildOutletDestroyed(w){const q=this.getContext(w);q&&(q.outlet=null,q.attachRef=null)}onOutletDeactivated(){const w=this.contexts;return this.contexts=new Map,w}onOutletReAttached(w){this.contexts=w}getOrCreateContext(w){let q=this.getContext(w);return q||(q=new me,this.contexts.set(w,q)),q}getContext(w){return this.contexts.get(w)||null}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();class Xe{constructor(j){this._root=j}get root(){return this._root.value}parent(j){const w=this.pathFromRoot(j);return w.length>1?w[w.length-2]:null}children(j){const w=Ot(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=Ot(j,this._root);return w&&w.children.length>0?w.children[0].value:null}siblings(j){const w=Wt(j,this._root);return w.length<2?[]:w[w.length-2].children.map(Se=>Se.value).filter(Se=>Se!==j)}pathFromRoot(j){return Wt(j,this._root).map(w=>w.value)}}function Ot(k,j){if(k===j.value)return j;for(const w of j.children){const q=Ot(k,w);if(q)return q}return null}function Wt(k,j){if(k===j.value)return[j];for(const w of j.children){const q=Wt(k,w);if(q.length)return q.unshift(j),q}return[]}class un{constructor(j,w){this.value=j,this.children=w}toString(){return`TreeNode(${this.value})`}}function gn(k){const j={};return k&&k.children.forEach(w=>j[w.value.outlet]=w),j}class pn extends Xe{constructor(j,w){super(j),this.snapshot=w,fn(this,j)}toString(){return this.snapshot.toString()}}function si(k,j){const w=function jn(k,j){const st=new Fi([],{},{},"",{},Be,j,null,{});return new Gi("",new un(st,[]))}(0,j),q=new r.X([new oe("",{})]),Se=new r.X({}),it=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,it,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,it,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=it,this.outlet=st,this.component=Vt,this._futureSnapshot=hn,this.title=this.dataSubject?.pipe((0,D.U)(An=>An[G]))??(0,g.of)(void 0),this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=it}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,D.U)(j=>se(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>se(j)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function bi(k,j="emptyOnly"){const w=k.pathFromRoot;let q=0;if("always"!==j)for(q=w.length-1;q>=1;){const Se=w[q],it=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(it.component)break;q--}}return function Ti(k){return k.reduce((j,w)=>({params:{...j.params,...w.params},data:{...j.data,...w.data},resolve:{...w.data,...j.resolve,...w.routeConfig?.data,...w._resolvedData}}),{params:{},data:{},resolve:{}})}(w.slice(q))}class Fi{get title(){return this.data?.[G]}constructor(j,w,q,Se,it,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=it,this.outlet=st,this.component=Vt,this.routeConfig=hn,this._resolve=An}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=se(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=se(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(q=>q.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Gi extends Xe{constructor(j,w){super(w),this.url=j,fn(this,w)}toString(){return Cn(this._root)}}function fn(k,j){j.value._routerState=k,j.children.forEach(w=>fn(k,w))}function Cn(k){const j=k.children.length>0?` { ${k.children.map(Cn).join(", ")} } `:"";return`${k.value}${j}`}function tn(k){if(k.snapshot){const j=k.snapshot,w=k._futureSnapshot;k.snapshot=w,Ze(j.queryParams,w.queryParams)||k.queryParamsSubject.next(w.queryParams),j.fragment!==w.fragment&&k.fragmentSubject.next(w.fragment),Ze(j.params,w.params)||k.paramsSubject.next(w.params),function He(k,j){if(k.length!==j.length)return!1;for(let w=0;wZe(w.parameters,j[q].parameters))}(k.url,j.url);return w&&!(!k.parent!=!j.parent)&&(!k.parent||En(k.parent,j.parent))}let ei=(()=>{class k{constructor(){this.activated=null,this._activatedRoute=null,this.name=Be,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(le),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(tr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(w){if(w.name){const{firstChange:q,previousValue:Se}=w.name;if(q)return;this.isTrackedInParentContexts(Se)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Se)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(w){return this.parentContexts.getContext(w)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const w=this.parentContexts.getContext(this.name);w?.route&&(w.attachRef?this.attach(w.attachRef,w.route):this.activateWith(w.route,w.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const w=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(w.instance),w}attach(w,q){this.activated=w,this._activatedRoute=q,this.location.insert(w.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(w.instance)}deactivate(){if(this.activated){const w=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(w)}}activateWith(w,q){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=w;const Se=this.location,st=w.snapshot.component,Vt=this.parentContexts.getOrCreateContext(this.name).children,hn=new Ei(w,Vt,Se.injector);this.activated=Se.createComponent(st,{index:Se.length,injector:hn,environmentInjector:q??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();class Ei{constructor(j,w,q){this.route=j,this.childContexts=w,this.parent=q}get(j,w){return j===Fn?this.route:j===le?this.childContexts:this.parent.get(j,w)}}const tr=new n.InjectionToken("");let Ai=(()=>{class k{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(w){this.unsubscribeFromRouteData(w),this.subscribeToRouteData(w)}unsubscribeFromRouteData(w){this.outletDataSubscriptions.get(w)?.unsubscribe(),this.outletDataSubscriptions.delete(w)}subscribeToRouteData(w){const{activatedRoute:q}=w,Se=(0,h.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([it,st,Vt],hn)=>(Vt={...it,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(it=>{if(!w.isActivated||!w.activatedComponentRef||w.activatedRoute!==q||null===q.component)return void this.unsubscribeFromRouteData(w);const st=(0,n.reflectComponentType)(q.component);if(st)for(const{templateName:Vt}of st.inputs)w.activatedComponentRef.setInput(Vt,it[Vt]);else this.unsubscribeFromRouteData(w)});this.outletDataSubscriptions.set(w,Se)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();function yi(k,j,w){if(w&&k.shouldReuseRoute(j.value,w.value.snapshot)){const q=w.value;q._futureSnapshot=j.value;const Se=function Je(k,j,w){return j.children.map(q=>{for(const Se of w.children)if(k.shouldReuseRoute(q.value,Se.value.snapshot))return yi(k,q,Se);return yi(k,q)})}(k,j,w);return new un(q,Se)}{if(k.shouldAttach(j.value)){const it=k.retrieve(j.value);if(null!==it){const st=it.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Rt(k){return new Fn(new r.X(k.url),new r.X(k.params),new r.X(k.queryParams),new r.X(k.fragment),new r.X(k.data),k.outlet,k.component,k)}(j.value),Se=j.children.map(it=>yi(k,it));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=et(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Pe(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Pe(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function rt(k){return Zt(k)&&et(k.url)}function Zt(k){return k&&k[C]}let Pn=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275cmp=n.\u0275\u0275defineComponent({type:k,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(w,q){1&w&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[ei],encapsulation:2}),k})();function St(k){const j=k.children&&k.children.map(St),w=j?{...k,children:j}:{...k};return!w.component&&!w.loadComponent&&(j||w.loadChildren)&&w.outlet&&w.outlet!==Be&&(w.component=Pn),w}function Ht(k){return k.outlet||Be}function Jt(k){if(!k)return null;if(k.routeConfig?._injector)return k.routeConfig._injector;for(let j=k.parent;j;j=j.parent){const w=j.routeConfig;if(w?._loadedInjector)return w._loadedInjector;if(w?._injector)return w._injector}return null}class Vn{constructor(j,w,q,Se,it){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=it}activate(j){const w=this.futureState._root,q=this.currState?this.currState._root:null;this.deactivateChildRoutes(w,q,j),tn(this.futureState.root),this.activateChildRoutes(w,q,j)}deactivateChildRoutes(j,w,q){const Se=gn(w);j.children.forEach(it=>{const st=it.value.outlet;this.deactivateRoutes(it,Se[st],q),delete Se[st]}),Object.values(Se).forEach(it=>{this.deactivateRouteAndItsChildren(it,q)})}deactivateRoutes(j,w,q){const Se=j.value,it=w?w.value:null;if(Se===it)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else it&&this.deactivateRouteAndItsChildren(w,q)}deactivateRouteAndItsChildren(j,w){j.value.component&&this.routeReuseStrategy.shouldDetach(j.value.snapshot)?this.detachAndStoreRouteSubtree(j,w):this.deactivateRouteAndOutlet(j,w)}detachAndStoreRouteSubtree(j,w){const q=w.getContext(j.value.outlet),Se=q&&j.value.component?q.children:w,it=gn(j);for(const st of Object.keys(it))this.deactivateRouteAndItsChildren(it[st],Se);if(q&&q.outlet){const st=q.outlet.detach(),Vt=q.children.onOutletDeactivated();this.routeReuseStrategy.store(j.value.snapshot,{componentRef:st,route:j,contexts:Vt})}}deactivateRouteAndOutlet(j,w){const q=w.getContext(j.value.outlet),Se=q&&j.value.component?q.children:w,it=gn(j);for(const st of Object.keys(it))this.deactivateRouteAndItsChildren(it[st],Se);q&&(q.outlet&&(q.outlet.deactivate(),q.children.onOutletDeactivated()),q.attachRef=null,q.route=null)}activateChildRoutes(j,w,q){const Se=gn(w);j.children.forEach(it=>{this.activateRoutes(it,Se[it.value.outlet],q),this.forwardEvent(new jt(it.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,it=w?w.value:null;if(tn(Se),Se===it)if(Se.component){const st=q.getOrCreateContext(Se.outlet);this.activateChildRoutes(j,w,st.children)}else this.activateChildRoutes(j,w,q);else if(Se.component){const st=q.getOrCreateContext(Se.outlet);if(this.routeReuseStrategy.shouldAttach(Se.snapshot)){const Vt=this.routeReuseStrategy.retrieve(Se.snapshot);this.routeReuseStrategy.store(Se.snapshot,null),st.children.onOutletReAttached(Vt.contexts),st.attachRef=Vt.componentRef,st.route=Vt.route.value,st.outlet&&st.outlet.attach(Vt.componentRef,Vt.route.value),tn(Vt.route.value),this.activateChildRoutes(j,null,st.children)}else{const Vt=Jt(Se.snapshot);st.attachRef=null,st.route=Se,st.injector=Vt,st.outlet&&st.outlet.activateWith(Se,st.injector),this.activateChildRoutes(j,null,st.children)}}else this.activateChildRoutes(j,null,q)}}class On{constructor(j){this.path=j,this.route=this.path[this.path.length-1]}}class vi{constructor(j,w){this.component=j,this.route=w}}function ui(k,j,w){const q=k._root;return ni(q,j?j._root:null,w,[q.value])}function qn(k,j){const w=Symbol(),q=j.get(k,w);return q===w?"function"!=typeof k||(0,n.\u0275isInjectable)(k)?j.get(k):k:q}function ni(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const it=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const it=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&it.routeConfig===st.routeConfig){const hn=function Ii(k,j,w){if("function"==typeof w)return w(k,j);switch(w){case"pathParamsChange":return!ne(k.url,j.url);case"pathParamsOrQueryParamsChange":return!ne(k.url,j.url)||!Ze(k.queryParams,j.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!En(k,j)||!Ze(k.queryParams,j.queryParams);default:return!En(k,j)}}(st,it,it.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(it.data=st.data,it._resolvedData=st._resolvedData),ni(k,j,it.component?Vt?Vt.children:null:w,q,Se),hn&&Vt&&Vt.outlet&&Vt.outlet.isActivated&&Se.canDeactivateChecks.push(new vi(Vt.outlet.component,st))}else st&&Zi(j,Vt,Se),Se.canActivateChecks.push(new On(q)),ni(k,null,it.component?Vt?Vt.children:null:w,q,Se)})(st,it[st.value.outlet],w,q.concat([st.value]),Se),delete it[st.value.outlet]}),Object.entries(it).forEach(([st,Vt])=>Zi(Vt,w.getContext(st),Se)),Se}function Zi(k,j,w){const q=gn(k),Se=k.value;Object.entries(q).forEach(([it,st])=>{Zi(st,Se.component?j?j.children.getContext(it):null:j,w)}),w.canDeactivateChecks.push(new vi(Se.component&&j&&j.outlet&&j.outlet.isActivated?j.outlet.component:null,Se))}function Vr(k){return"function"==typeof k}function ro(k){return k instanceof f.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,h.a)(k.map(j=>j.pipe((0,E.q)(1),(0,I.O)(Sr)))).pipe((0,D.U)(j=>{for(const w of j)if(!0!==w){if(w===Sr)return Sr;if(!1===w||w instanceof at)return w}return!0}),(0,X.h)(j=>j!==Sr),(0,E.q)(1)))}function dr(k){return(0,b.z)((0,A.b)(j=>{if(et(j))throw te(0,j)}),(0,D.U)(j=>!0===j))}class Cr{constructor(j){this.segmentGroup=j||null}}class bo{constructor(j){this.urlTree=j}}function Rr(k){return(0,p._)(new Cr(k))}function oo(k){return(0,p._)(new bo(k))}class P{constructor(j,w){this.urlSerializer=j,this.urlTree=w}noMatchError(j){return new n.\u0275RuntimeError(4002,!1)}lineralizeSegments(j,w){let q=[],Se=w.root;for(;;){if(q=q.concat(Se.segments),0===Se.numberOfChildren)return(0,g.of)(q);if(Se.numberOfChildren>1||!Se.children[Be])return(0,p._)(new n.\u0275RuntimeError(4e3,!1));Se=Se.children[Be]}}applyRedirectCommands(j,w,q){return this.applyRedirectCreateUrlTree(w,this.urlSerializer.parse(w),j,q)}applyRedirectCreateUrlTree(j,w,q,Se){const it=this.createSegmentGroup(j,w.root,q,Se);return new at(it,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,it])=>{if("string"==typeof it&&it.startsWith(":")){const Vt=it.substring(1);q[Se]=w[Vt]}else q[Se]=it}),q}createSegmentGroup(j,w,q,Se){const it=this.createSegments(j,w.segments,q,Se);let st={};return Object.entries(w.children).forEach(([Vt,hn])=>{st[Vt]=this.createSegmentGroup(j,hn,q,Se)}),new N(it,st)}createSegments(j,w,q,Se){return w.map(it=>it.path.startsWith(":")?this.findPosParam(j,it,Se):this.findOrReturn(it,q))}findPosParam(j,w,q){const Se=q[w.path.substring(1)];if(!Se)throw new n.\u0275RuntimeError(4001,!1);return Se}findOrReturn(j,w){let q=0;for(const Se of w){if(Se.path===j.path)return w.splice(q),Se;q++}return j}}const de={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const it=nt(k,j,w);return it.matched?(q=function ji(k,j){return k.providers&&!k._injector&&(k._injector=(0,n.createEnvironmentInjector)(k.providers,j,`Route: ${k.path}`)),k._injector??j}(j,q),function or(k,j,w,q){const Se=j.canMatch;if(!Se||0===Se.length)return(0,g.of)(!0);const it=Se.map(st=>{const Vt=qn(st,k);return tt(function mo(k){return k&&Vr(k.canMatch)}(Vt)?Vt.canMatch(j,w):k.runInContext(()=>Vt(j,w)))});return(0,g.of)(it).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?it:{...de}))):(0,g.of)(it)}function nt(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...de}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ye)(w,k,j);if(!Se)return{...de};const it={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{it[Vt]=hn.path});const st=Se.consumed.length>0?{...it,...Se.consumed[Se.consumed.length-1].parameters}:it;return{matched:!0,consumedSegments:Se.consumed,remainingSegments:w.slice(Se.consumed.length),parameters:st,positionalParamSegments:Se.posParams??{}}}function It(k,j,w,q){return w.length>0&&function en(k,j,w){return w.some(q=>Ln(k,j,q)&&Ht(q)!==Be)}(k,w,q)?{segmentGroup:new N(j,Qt(q,new N(w,k.children))),slicedSegments:[]}:0===w.length&&function In(k,j,w){return w.some(q=>Ln(k,j,q))}(k,w,q)?{segmentGroup:new N(k.segments,Dt(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Dt(k,j,w,q,Se){const it={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});it[Ht(st)]=Vt}return{...Se,...it}}function Qt(k,j){const w={};w[Be]=j;for(const q of k)if(""===q.path&&Ht(q)!==Be){const Se=new N([],{});w[Ht(q)]=Se}return w}function Ln(k,j,w){return(!(k.hasChildren()||j.length>0)||"full"!==w.pathMatch)&&""===w.path}class ii{constructor(j,w,q,Se,it,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=it,this.paramsInheritanceStrategy=st,this.urlSerializer=Vt,this.allowRedirects=!0,this.applyRedirects=new P(this.urlSerializer,this.urlTree)}noMatchError(j){return new n.\u0275RuntimeError(4002,!1)}recognize(){const j=It(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,j,Be).pipe((0,U.K)(w=>{if(w instanceof bo)return this.allowRedirects=!1,this.urlTree=w.urlTree,this.match(w.urlTree);throw w instanceof Cr?this.noMatchError(w):w}),(0,D.U)(w=>{const q=new Fi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Be,this.rootComponentType,null,{}),Se=new un(q,w),it=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,it.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(it._root),{state:it,tree:st}}))}match(j){return this.processSegmentGroup(this.injector,this.config,j.root,Be).pipe((0,U.K)(q=>{throw q instanceof Cr?this.noMatchError(q):q}))}inheritParamsAndData(j){const w=j.value,q=bi(w,this.paramsInheritanceStrategy);w.params=Object.freeze(q.params),w.data=Object.freeze(q.data),j.children.forEach(Se=>this.inheritParamsAndData(Se))}processSegmentGroup(j,w,q,Se){return 0===q.segments.length&&q.hasChildren()?this.processChildren(j,w,q):this.processSegment(j,w,q,q.segments,Se,!0)}processChildren(j,w,q){const Se=[];for(const it of Object.keys(q.children))"primary"===it?Se.unshift(it):Se.push(it);return(0,d.D)(Se).pipe((0,ie.b)(it=>{const st=q.children[it],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,it);return this.processSegmentGroup(j,Vt,st,it)}),(0,Me.R)((it,st)=>(it.push(...st),it)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(it=>{if(null===it)return Rr(q);const st=Ki(it);return function Bi(k){k.sort((j,w)=>j.value.outlet===Be?-1:w.value.outlet===Be?1:j.value.outlet.localeCompare(w.value.outlet))}(st),(0,g.of)(st)}))}processSegment(j,w,q,Se,it,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,it,st).pipe((0,U.K)(hn=>{if(hn instanceof Cr)return(0,g.of)(null);throw hn}))),(0,ee.P)(Vt=>!!Vt),(0,U.K)(Vt=>{if(ro(Vt))return function li(k,j,w){return 0===j.length&&!k.children[w]}(q,Se,it)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,it,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||nt(j,k,w).matched)}(q,Se,it,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,it,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,it,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,it,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,it,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const it=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(it):this.applyRedirects.lineralizeSegments(q,it).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,it,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=nt(w,Se,it);if(!Vt)return Rr(w);const $i=this.applyRedirects.applyRedirectCommands(hn,Se.redirectTo,Kn);return Se.redirectTo.startsWith("/")?oo($i):this.applyRedirects.lineralizeSegments(Se,$i).pipe((0,$.z)(_r=>this.processSegment(j,q,w,_r.concat(An),st,!1)))}matchSegmentAgainstRoute(j,w,q,Se,it,st){let Vt;if("**"===q.path){const hn=Se.length>0?We(Se).parameters:{},An=new Fi(Se,hn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,nr(q),Ht(q),q.component??q._loadedComponent??null,q,Kr(q));Vt=(0,g.of)({snapshot:An,consumedSegments:[],remainingSegments:[]}),w.children={}}else Vt=Fe(w,q,Se,j).pipe((0,D.U)(({matched:hn,consumedSegments:An,remainingSegments:Kn,parameters:$i})=>hn?{snapshot:new Fi(An,$i,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,nr(q),Ht(q),q.component??q._loadedComponent??null,q,Kr(q)),consumedSegments:An,remainingSegments:Kn}:null));return Vt.pipe((0,S.w)(hn=>null===hn?Rr(w):this.getChildConfig(j=q._injector??j,q,Se).pipe((0,S.w)(({routes:An})=>{const Kn=q._loadedInjector??j,{snapshot:$i,consumedSegments:_r,remainingSegments:Ha}=hn,{segmentGroup:wo,slicedSegments:To}=It(w,_r,Ha,An);if(0===To.length&&wo.hasChildren())return this.processChildren(Kn,An,wo).pipe((0,D.U)(Fr=>null===Fr?null:[new un($i,Fr)]));if(0===An.length&&0===To.length)return(0,g.of)([new un($i,[])]);const Io=Ht(q)===it;return this.processSegment(Kn,An,wo,To,Io?Be:it,!0).pipe((0,D.U)(Fr=>[new un($i,Fr)]))}))))}getChildConfig(j,w,q){return w.children?(0,g.of)({routes:w.children,injector:j}):w.loadChildren?void 0!==w._loadedRoutes?(0,g.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):function Wi(k,j,w,q){const Se=j.canLoad;if(void 0===Se||0===Se.length)return(0,g.of)(!0);const it=Se.map(st=>{const Vt=qn(st,k);return tt(function Oo(k){return k&&Vr(k.canLoad)}(Vt)?Vt.canLoad(j,w):k.runInContext(()=>Vt(j,w)))});return(0,g.of)(it).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(it=>{w._loadedRoutes=it.routes,w._loadedInjector=it.injector})):function T(k){return(0,p._)(Pe(!1,3))}())):(0,g.of)({routes:[],injector:j})}}function qi(k){const j=k.value.routeConfig;return j&&""===j.path}function Ki(k){const j=[],w=new Set;for(const q of k){if(!qi(q)){j.push(q);continue}const Se=j.find(it=>q.value.routeConfig===it.value.routeConfig);void 0!==Se?(Se.children.push(...q.children),w.add(Se)):j.push(q)}for(const q of w){const Se=Ki(q.children);j.push(new un(q.value,Se))}return j.filter(q=>!w.has(q))}function nr(k){return k.data||{}}function Kr(k){return k.resolve||{}}function Yr(k){return"string"==typeof k.title||null===k.title}function Lr(k){return(0,S.w)(j=>{const w=k(j);return w?(0,d.D)(w).pipe((0,D.U)(()=>j)):(0,g.of)(j)})}const kr=new n.InjectionToken("ROUTES");let ao=(()=>{class k{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(w){if(this.componentLoaders.get(w))return this.componentLoaders.get(w);if(w._loadedComponent)return(0,g.of)(w._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(w);const q=tt(w.loadComponent()).pipe((0,D.U)(Hn),(0,A.b)(it=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=it}),(0,W.x)(()=>{this.componentLoaders.delete(w)})),Se=new l.c(q,()=>new y.x).pipe((0,pe.x)());return this.componentLoaders.set(w,Se),Se}loadChildren(w,q){if(this.childrenLoaders.get(q))return this.childrenLoaders.get(q);if(q._loadedRoutes)return(0,g.of)({routes:q._loadedRoutes,injector:q._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(q);const it=this.loadModuleFactoryOrRoutes(q.loadChildren).pipe((0,D.U)(Vt=>{this.onLoadEndListener&&this.onLoadEndListener(q);let hn,An;return Array.isArray(Vt)?An=Vt:(hn=Vt.create(w).injector,An=hn.get(kr,[],n.InjectFlags.Self|n.InjectFlags.Optional).flat()),{routes:An.map(St),injector:hn}}),(0,W.x)(()=>{this.childrenLoaders.delete(q)})),st=new l.c(it,()=>new y.x).pipe((0,pe.x)());return this.childrenLoaders.set(q,st),st}loadModuleFactoryOrRoutes(w){return tt(w()).pipe((0,D.U)(Hn),(0,$.z)(q=>q instanceof n.NgModuleFactory||Array.isArray(q)?(0,g.of)(q):(0,d.D)(this.compiler.compileModuleAsync(q))))}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function Hn(k){return function Bn(k){return k&&"object"==typeof k&&"default"in k}(k)?k.default:k}let Qn=(()=>{class k{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new y.x,this.configLoader=(0,n.inject)(ao),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(ue),this.rootContexts=(0,n.inject)(le),this.inputBindingEnabled=null!==(0,n.inject)(tr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,g.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Se=>this.events.next(new ri(Se)),this.configLoader.onLoadStartListener=Se=>this.events.next(new wi(Se))}complete(){this.transitions?.complete()}handleNavigationRequest(w){const q=++this.navigationId;this.transitions?.next({...this.transitions.value,...w,id:q})}setupNavigations(w){return this.transitions=new r.X({id:0,currentUrlTree:w.currentUrlTree,currentRawUrl:w.currentUrlTree,extractedUrl:w.urlHandlingStrategy.extract(w.currentUrlTree),urlAfterRedirects:w.urlHandlingStrategy.extract(w.currentUrlTree),rawUrl:w.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:wn,restoredState:null,currentSnapshot:w.routerState.snapshot,targetSnapshot:null,currentRouterState:w.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,X.h)(q=>0!==q.id),(0,D.U)(q=>({...q,extractedUrl:w.urlHandlingStrategy.extract(q.rawUrl)})),(0,S.w)(q=>{let Se=!1,it=!1;return(0,g.of)(q).pipe((0,A.b)(st=>{this.currentNavigation={id:st.id,initialUrl:st.rawUrl,extractedUrl:st.extractedUrl,trigger:st.source,extras:st.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,S.w)(st=>{const Vt=w.browserUrlTree.toString(),hn=!w.navigated||st.extractedUrl.toString()!==Vt||Vt!==w.currentUrlTree.toString();if(!hn&&"reload"!==(st.extras.onSameUrlNavigation??w.onSameUrlNavigation)){const Kn="";return this.events.next(new an(st.id,w.serializeUrl(q.rawUrl),Kn,0)),w.rawUrlTree=st.rawUrl,st.resolve(null),_.E}if(w.urlHandlingStrategy.shouldProcessUrl(st.rawUrl))return ci(st.source)&&(w.browserUrlTree=st.extractedUrl),(0,g.of)(st).pipe((0,S.w)(Kn=>{const $i=this.transitions?.getValue();return this.events.next(new _i(Kn.id,this.urlSerializer.serialize(Kn.extractedUrl),Kn.source,Kn.restoredState)),$i!==this.transitions?.getValue()?_.E:Promise.resolve(Kn)}),function Mr(k,j,w,q,Se,it){return(0,$.z)(st=>function Gn(k,j,w,q,Se,it,st="emptyOnly"){return new ii(k,j,w,q,Se,st,it).recognize()}(k,j,w,q,st.extractedUrl,Se,it).pipe((0,D.U)(({state:Vt,tree:hn})=>({...st,targetSnapshot:Vt,urlAfterRedirects:hn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,w.config,this.urlSerializer,w.paramsInheritanceStrategy),(0,A.b)(Kn=>{if(q.targetSnapshot=Kn.targetSnapshot,q.urlAfterRedirects=Kn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Kn.urlAfterRedirects},"eager"===w.urlUpdateStrategy){if(!Kn.extras.skipLocationChange){const _r=w.urlHandlingStrategy.merge(Kn.urlAfterRedirects,Kn.rawUrl);w.setBrowserUrl(_r,Kn)}w.browserUrlTree=Kn.urlAfterRedirects}const $i=new Tn(Kn.id,this.urlSerializer.serialize(Kn.extractedUrl),this.urlSerializer.serialize(Kn.urlAfterRedirects),Kn.targetSnapshot);this.events.next($i)}));if(hn&&w.urlHandlingStrategy.shouldProcessUrl(w.rawUrlTree)){const{id:Kn,extractedUrl:$i,source:_r,restoredState:Ha,extras:wo}=st,To=new _i(Kn,this.urlSerializer.serialize($i),_r,Ha);this.events.next(To);const Io=si(0,this.rootComponentType).snapshot;return q={...st,targetSnapshot:Io,urlAfterRedirects:$i,extras:{...wo,skipLocationChange:!1,replaceUrl:!1}},(0,g.of)(q)}{const Kn="";return this.events.next(new an(st.id,w.serializeUrl(q.extractedUrl),Kn,1)),w.rawUrlTree=st.rawUrl,st.resolve(null),_.E}}),(0,A.b)(st=>{const Vt=new Rn(st.id,this.urlSerializer.serialize(st.extractedUrl),this.urlSerializer.serialize(st.urlAfterRedirects),st.targetSnapshot);this.events.next(Vt)}),(0,D.U)(st=>q={...st,guards:ui(st.targetSnapshot,st.currentSnapshot,this.rootContexts)}),function go(k,j){return(0,$.z)(w=>{const{targetSnapshot:q,currentSnapshot:Se,guards:{canActivateChecks:it,canDeactivateChecks:st}}=w;return 0===st.length&&0===it.length?(0,g.of)({...w,guardsResult:!0}):function _o(k,j,w,q){return(0,d.D)(k).pipe((0,$.z)(Se=>function Dn(k,j,w,q,Se){const it=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!it||0===it.length)return(0,g.of)(!0);const st=it.map(Vt=>{const hn=Jt(j)??Se,An=qn(Vt,hn);return tt(function fo(k){return k&&Vr(k.canDeactivate)}(An)?An.canDeactivate(k,j,w,q):hn.runInContext(()=>An(k,j,w,q))).pipe((0,ee.P)())});return(0,g.of)(st).pipe(Ar())}(Se.component,Se.route,w,j,q)),(0,ee.P)(Se=>!0!==Se,!0))}(st,q,Se,k).pipe((0,$.z)(Vt=>Vt&&function no(k){return"boolean"==typeof k}(Vt)?function fe(k,j,w,q){return(0,d.D)(j).pipe((0,ie.b)(Se=>(0,u.z)(function J(k,j){return null!==k&&j&&j(new ai(k)),(0,g.of)(!0)}(Se.route.parent,q),function ce(k,j){return null!==k&&j&&j(new xt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],it=j.slice(0,j.length-1).reverse().map(st=>function Mi(k){const j=k.routeConfig?k.routeConfig.canActivateChild:null;return j&&0!==j.length?{node:k,guards:j}:null}(st)).filter(st=>null!==st).map(st=>(0,v.P)(()=>{const Vt=st.guards.map(hn=>{const An=Jt(st.node)??w,Kn=qn(hn,An);return tt(function Hr(k){return k&&Vr(k.canActivateChild)}(Kn)?Kn.canActivateChild(q,k):An.runInContext(()=>Kn(q,k))).pipe((0,ee.P)())});return(0,g.of)(Vt).pipe(Ar())}));return(0,g.of)(it).pipe(Ar())}(k,Se.path,w),function Ke(k,j,w){const q=j.routeConfig?j.routeConfig.canActivate:null;if(!q||0===q.length)return(0,g.of)(!0);const Se=q.map(it=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(it,st);return tt(function jr(k){return k&&Vr(k.canActivate)}(Vt)?Vt.canActivate(j,k):st.runInContext(()=>Vt(j,k))).pipe((0,ee.P)())}));return(0,g.of)(Se).pipe(Ar())}(k,Se.route,w))),(0,ee.P)(Se=>!0!==Se,!0))}(q,it,k,j):(0,g.of)(Vt)),(0,D.U)(Vt=>({...w,guardsResult:Vt})))})}(this.environmentInjector,st=>this.events.next(st)),(0,A.b)(st=>{if(q.guardsResult=st.guardsResult,et(st.guardsResult))throw te(0,st.guardsResult);const Vt=new Wn(st.id,this.urlSerializer.serialize(st.extractedUrl),this.urlSerializer.serialize(st.urlAfterRedirects),st.targetSnapshot,!!st.guardsResult);this.events.next(Vt)}),(0,X.h)(st=>!!st.guardsResult||(w.restoreHistory(st),this.cancelNavigationTransition(st,"",3),!1)),Lr(st=>{if(st.guards.canActivateChecks.length)return(0,g.of)(st).pipe((0,A.b)(Vt=>{const hn=new mi(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(hn)}),(0,S.w)(Vt=>{let hn=!1;return(0,g.of)(Vt).pipe(function rr(k,j){return(0,$.z)(w=>{const{targetSnapshot:q,guards:{canActivateChecks:Se}}=w;if(!Se.length)return(0,g.of)(w);let it=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,it=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(it[G]=Se.title),function Er(k,j,w,q){const Se=function fr(k){return[...Object.keys(k),...Object.getOwnPropertySymbols(k)]}(k);if(0===Se.length)return(0,g.of)({});const it={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,it=qn(k,Se);return tt(it.resolve?it.resolve(j,w):Se.runInContext(()=>it(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{it[st]=Vt}))),(0,he.h)(1),(0,H.h)(it),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(it,k,j,q).pipe((0,D.U)(st=>(k._resolvedData=st,k.data=bi(k,w).resolve,Se&&Yr(Se)&&(k.data[G]=Se.title),null)))}(st.route,q,k,j)),(0,A.b)(()=>it++),(0,he.h)(1),(0,$.z)(st=>it===Se.length?(0,g.of)(w):_.E))})}(w.paramsInheritanceStrategy,this.environmentInjector),(0,A.b)({next:()=>hn=!0,complete:()=>{hn||(w.restoreHistory(Vt),this.cancelNavigationTransition(Vt,"",2))}}))}),(0,A.b)(Vt=>{const hn=new Yn(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(hn)}))}),Lr(st=>{const Vt=hn=>{const An=[];hn.routeConfig?.loadComponent&&!hn.routeConfig._loadedComponent&&An.push(this.configLoader.loadComponent(hn.routeConfig).pipe((0,A.b)(Kn=>{hn.component=Kn}),(0,D.U)(()=>{})));for(const Kn of hn.children)An.push(...Vt(Kn));return An};return(0,h.a)(Vt(st.targetSnapshot.root)).pipe((0,Re.d)(),(0,E.q)(1))}),Lr(()=>this.afterPreactivation()),(0,D.U)(st=>{const Vt=function ar(k,j,w){const q=yi(k,j._root,w?w._root:void 0);return new pn(q,j)}(w.routeReuseStrategy,st.targetSnapshot,st.currentRouterState);return q={...st,targetRouterState:Vt}}),(0,A.b)(st=>{w.currentUrlTree=st.urlAfterRedirects,w.rawUrlTree=w.urlHandlingStrategy.merge(st.urlAfterRedirects,st.rawUrl),w.routerState=st.targetRouterState,"deferred"===w.urlUpdateStrategy&&(st.extras.skipLocationChange||w.setBrowserUrl(w.rawUrlTree,st),w.browserUrlTree=st.urlAfterRedirects)}),((k,j,w,q)=>(0,D.U)(Se=>(new Vn(j,Se.targetRouterState,Se.currentRouterState,w,q).activate(k),Se)))(this.rootContexts,w.routeReuseStrategy,st=>this.events.next(st),this.inputBindingEnabled),(0,E.q)(1),(0,A.b)({next:st=>{Se=!0,this.lastSuccessfulNavigation=this.currentNavigation,w.navigated=!0,this.events.next(new $n(st.id,this.urlSerializer.serialize(st.extractedUrl),this.urlSerializer.serialize(w.currentUrlTree))),w.titleStrategy?.updateTitle(st.targetRouterState.snapshot),st.resolve(!0)},complete:()=>{Se=!0}}),(0,W.x)(()=>{Se||it||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(it=!0,Zt(st)){rt(st)||(w.navigated=!0,w.restoreHistory(q,!0));const Vt=new ti(q.id,this.urlSerializer.serialize(q.extractedUrl),st.message,st.cancellationCode);if(this.events.next(Vt),rt(st)){const hn=w.urlHandlingStrategy.merge(st.url,w.rawUrlTree),An={skipLocationChange:q.extras.skipLocationChange,replaceUrl:"eager"===w.urlUpdateStrategy||ci(q.source)};w.scheduleNavigation(hn,wn,null,An,{resolve:q.resolve,reject:q.reject,promise:q.promise})}else q.resolve(!1)}else{w.restoreHistory(q,!0);const Vt=new mn(q.id,this.urlSerializer.serialize(q.extractedUrl),st,q.targetSnapshot??void 0);this.events.next(Vt);try{q.resolve(w.errorHandler(st))}catch(hn){q.reject(hn)}}return _.E}))}))}cancelNavigationTransition(w,q,Se){const it=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(it),w.resolve(!1)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function ci(k){return k!==wn}let Xi=(()=>{class k{buildTitle(w){let q,Se=w.root;for(;void 0!==Se;)q=this.getResolvedTitleForRoute(Se)??q,Se=Se.children.find(it=>it.outlet===Be);return q}getResolvedTitleForRoute(w){return w.data[G]}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(mr)},providedIn:"root"}),k})(),mr=(()=>{class k extends Xi{constructor(w){super(),this.title=w}updateTitle(w){const q=this.buildTitle(w);void 0!==q&&this.title.setTitle(q)}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275inject(Ee.Title))},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),di=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(xe)},providedIn:"root"}),k})();class L{shouldDetach(j){return!1}store(j,w){}shouldAttach(j){return!1}retrieve(j){return null}shouldReuseRoute(j,w){return j.routeConfig===w.routeConfig}}let xe=(()=>{class k extends L{}return k.\u0275fac=function(){let j;return function(q){return(j||(j=n.\u0275\u0275getInheritedFactory(k)))(q||k)}}(),k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();const Z=new n.InjectionToken("",{providedIn:"root",factory:()=>({})});let Ue=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(ht)},providedIn:"root"}),k})(),ht=(()=>{class k{shouldProcessUrl(w){return!0}extract(w){return w}merge(w,q){return w}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();var Gt=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}(Gt||{});function Kt(k,j){k.events.pipe((0,X.h)(w=>w instanceof $n||w instanceof ti||w instanceof mn||w instanceof an),(0,D.U)(w=>w instanceof $n||w instanceof an?Gt.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?Gt.REDIRECTING:Gt.FAILED),(0,X.h)(w=>w!==Gt.REDIRECTING),(0,E.q)(1)).subscribe(()=>{j()})}function Un(k){throw k}function ki(k,j,w){return j.parse("/")}const Hi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ci={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jn=(()=>{class k{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,n.inject)(n.\u0275Console),this.isNgZoneEnabled=!1,this.options=(0,n.inject)(Z,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275InitialRenderPendingTasks),this.errorHandler=this.options.errorHandler||Un,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ki,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,n.inject)(Ue),this.routeReuseStrategy=(0,n.inject)(di),this.titleStrategy=(0,n.inject)(Xi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,n.inject)(kr,{optional:!0})?.flat()??[],this.navigationTransitions=(0,n.inject)(Qn),this.urlSerializer=(0,n.inject)(ue),this.location=(0,n.inject)(x.Location),this.componentInputBindingEnabled=!!(0,n.inject)(tr,{optional:!0}),this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new at,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=si(0,null),this.navigationTransitions.setupNavigations(this).subscribe(w=>{this.lastSuccessfulId=w.id,this.currentPageId=this.browserPageId??0},w=>{this.console.warn(`Unhandled Navigation Error: ${w}`)})}resetRootComponentType(w){this.routerState.root.component=w,this.navigationTransitions.rootComponentType=w}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const w=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),wn,w)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(w=>{const q="popstate"===w.type?"popstate":"hashchange";"popstate"===q&&setTimeout(()=>{this.navigateToSyncWithBrowser(w.url,q,w.state)},0)}))}navigateToSyncWithBrowser(w,q,Se){const it={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(it.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,it)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(w){this.config=w.map(St),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(w,q={}){const{relativeTo:Se,queryParams:it,fragment:st,queryParamsHandling:Vt,preserveFragment:hn}=q,An=hn?this.currentUrlTree.fragment:st;let $i,Kn=null;switch(Vt){case"merge":Kn={...this.currentUrlTree.queryParams,...it};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=it||null}null!==Kn&&(Kn=this.removeEmptyProps(Kn));try{$i=yt(Se?Se.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof w[0]||!w[0].startsWith("/"))&&(w=[]),$i=this.currentUrlTree.root}return Lt($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=et(w)?w:this.parseUrl(w),it=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(it,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const it=w[Se];return null!=it&&(q[Se]=it),q},{})}scheduleNavigation(w,q,Se,it,st){if(this.disposed)return Promise.resolve(!1);let Vt,hn,An;st?(Vt=st.resolve,hn=st.reject,An=st.promise):An=new Promise(($i,_r)=>{Vt=$i,hn=_r});const Kn=this.pendingTasks.add();return Kt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Kn))}),this.navigationTransitions.handleNavigationRequest({source:q,restoredState:Se,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:w,extras:it,resolve:Vt,reject:hn,promise:An,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),An.catch($i=>Promise.reject($i))}setBrowserUrl(w,q){const Se=this.urlSerializer.serialize(w);if(this.location.isCurrentPathEqualTo(Se)||q.extras.replaceUrl){const st={...q.extras.state,...this.generateNgRouterState(q.id,this.browserPageId)};this.location.replaceState(Se,"",st)}else{const it={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",it)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const it=this.currentPageId-(this.browserPageId??this.currentPageId);0!==it?this.location.historyGo(it):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===it&&(this.resetState(w),this.browserUrlTree=w.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(q&&this.resetState(w),this.resetUrlToCurrentUrlTree())}resetState(w){this.routerState=w.currentRouterState,this.currentUrlTree=w.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,w.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(w,q){return"computed"===this.canceledNavigationResolution?{navigationId:w,\u0275routerPageId:q}:{navigationId:w}}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),Oi=(()=>{class k{constructor(w,q,Se,it,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=it,this.el=st,this.locationStrategy=Vt,this.href=null,this.commands=null,this.onChanges=new y.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const hn=st.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===hn||"area"===hn,this.isAnchorElement?this.subscription=w.events.subscribe(An=>{An instanceof $n&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(w){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",w)}ngOnChanges(w){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(w){null!=w?(this.commands=Array.isArray(w)?w:[w],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(w,q,Se,it,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||it||st||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const w=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",w)}applyAttributeValue(w,q){const Se=this.renderer,it=this.el.nativeElement;null!==q?Se.setAttribute(it,w,q):Se.removeAttribute(it,w)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275directiveInject(Jn),n.\u0275\u0275directiveInject(Fn),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(x.LocationStrategy))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(w,q){1&w&&n.\u0275\u0275listener("click",function(it){return q.onClick(it.button,it.ctrlKey,it.shiftKey,it.altKey,it.metaKey)}),2&w&&n.\u0275\u0275attribute("target",q.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:["skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:["replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]}),k})(),er=(()=>{class k{get isActive(){return this._isActive}constructor(w,q,Se,it,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=it,this.link=st,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=w.events.subscribe(Vt=>{Vt instanceof $n&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,we.J)()).subscribe(w=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const w=[...this.links.toArray(),this.link].filter(q=>!!q).map(q=>q.onChanges);this.linkInputChangesSubscription=(0,d.D)(w).pipe((0,we.J)()).subscribe(q=>{this._isActive!==this.isLinkActive(this.router)(q)&&this.update()})}set routerLinkActive(w){const q=Array.isArray(w)?w:w.split(" ");this.classes=q.filter(Se=>!!Se)}ngOnChanges(w){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const w=this.hasActiveLinks();this._isActive!==w&&(this._isActive=w,this.cdr.markForCheck(),this.classes.forEach(q=>{w?this.renderer.addClass(this.element.nativeElement,q):this.renderer.removeClass(this.element.nativeElement,q)}),w&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(w))})}isLinkActive(w){const q=function Pr(k){return!!k.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Se=>!!Se.urlTree&&w.isActive(Se.urlTree,q)}hasActiveLinks(){const w=this.isLinkActive(this.router);return this.link&&w(this.link)||this.links.some(w)}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275directiveInject(Jn),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Oi,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","routerLinkActive",""]],contentQueries:function(w,q,Se){if(1&w&&n.\u0275\u0275contentQuery(Se,Oi,5),2&w){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(q.links=it)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();class Dr{}let Zn=(()=>{class k{preload(w,q){return q().pipe((0,U.K)(()=>(0,g.of)(null)))}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),pr=(()=>{class k{preload(w,q){return(0,g.of)(null)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),Qr=(()=>{class k{constructor(w,q,Se,it,st){this.router=w,this.injector=Se,this.preloadingStrategy=it,this.loader=st}setUpPreloading(){this.subscription=this.router.events.pipe((0,X.h)(w=>w instanceof $n),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(w,q){const Se=[];for(const it of q){it.providers&&!it._injector&&(it._injector=(0,n.createEnvironmentInjector)(it.providers,w,`Route: ${it.path}`));const st=it._injector??w,Vt=it._loadedInjector??st;(it.loadChildren&&!it._loadedRoutes&&void 0===it.canLoad||it.loadComponent&&!it._loadedComponent)&&Se.push(this.preloadConfig(st,it)),(it.children||it._loadedRoutes)&&Se.push(this.processRoutes(Vt,it.children??it._loadedRoutes))}return(0,d.D)(Se).pipe((0,we.J)())}preloadConfig(w,q){return this.preloadingStrategy.preload(q,()=>{let Se;Se=q.loadChildren&&void 0===q.canLoad?this.loader.loadChildren(w,q):(0,g.of)(null);const it=Se.pipe((0,$.z)(st=>null===st?(0,g.of)(void 0):(q._loadedRoutes=st.routes,q._loadedInjector=st.injector,this.processRoutes(st.injector??w,st.routes))));if(q.loadComponent&&!q._loadedComponent){const st=this.loader.loadComponent(q);return(0,d.D)([it,st]).pipe((0,we.J)())}return it})}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275inject(Jn),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Dr),n.\u0275\u0275inject(ao))},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();const Nr=new n.InjectionToken("");let Zr=(()=>{class k{constructor(w,q,Se,it,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=it,this.options=st,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},st.scrollPositionRestoration=st.scrollPositionRestoration||"disabled",st.anchorScrolling=st.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof _i?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=w.navigationTrigger,this.restoredId=w.restoredState?w.restoredState.navigationId:0):w instanceof $n?(this.lastId=w.id,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.urlAfterRedirects).fragment)):w instanceof an&&0===w.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof ke&&(w.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(w.position):w.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(w.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(w,q){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ke(w,"popstate"===this.lastSource?this.store[this.restoredId]:null,q))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return k.\u0275fac=function(w){n.\u0275\u0275invalidFactory()},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();function ql(k,...j){return(0,n.makeEnvironmentProviders)([{provide:kr,multi:!0,useValue:k},[],{provide:Fn,useFactory:Aa,deps:[Jn]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Ss},j.map(w=>w.\u0275providers)])}function Aa(k){return k.routerState.root}function gr(k,j){return{\u0275kind:k,\u0275providers:j}}function tc(k){return[{provide:kr,multi:!0,useValue:k},[]]}function Is(k={}){return gr(4,[{provide:Nr,useFactory:()=>{const w=(0,n.inject)(x.ViewportScroller),q=(0,n.inject)(n.NgZone),Se=(0,n.inject)(Qn),it=(0,n.inject)(ue);return new Zr(it,Se,w,q,k)}}])}function Ss(){const k=(0,n.inject)(n.Injector);return j=>{const w=k.get(n.ApplicationRef);if(j!==w.components[0])return;const q=k.get(Jn),Se=k.get(dn);1===k.get(Di)&&q.initialNavigation(),k.get(Oa,null,n.InjectFlags.Optional)?.setUpPreloading(),k.get(Nr,null,n.InjectFlags.Optional)?.init(),q.resetRootComponentType(w.componentTypes[0]),Se.closed||(Se.next(),Se.complete(),Se.unsubscribe())}}const dn=new n.InjectionToken("",{factory:()=>new y.x}),Di=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function La(){return gr(2,[{provide:Di,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:j=>{const w=j.get(x.LOCATION_INITIALIZED,Promise.resolve());return()=>w.then(()=>new Promise(q=>{const Se=j.get(Jn),it=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),it.closed?(0,g.of)(void 0):it),Se.initialNavigation()}))}}])}function ka(){return gr(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const j=(0,n.inject)(Jn);return()=>{j.setUpLocationChangeListener()}}},{provide:Di,useValue:2}])}function lr(){let k=[];return k=[],gr(1,k)}const Oa=new n.InjectionToken("");function Eo(k){return gr(0,[{provide:Oa,useExisting:Qr},{provide:Dr,useExisting:k}])}function zr(k){return gr(5,[{provide:Z,useValue:k}])}function Ra(){return gr(5,[{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}])}function Pa(k){return gr(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const w=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Jn).events.subscribe(q=>{q instanceof mn&&w.runInContext(()=>k(q))})}}])}function As(){return gr(8,[Ai,{provide:tr,useExisting:Ai}])}const Na=new n.InjectionToken("ROUTER_FORROOT_GUARD"),hr=[x.Location,{provide:ue,useClass:Te},Jn,le,{provide:Fn,useFactory:Aa,deps:[Jn]},ao,[]];function Xr(){return new n.NgProbeToken("Router",Jn)}let Ls=(()=>{class k{constructor(w){}static forRoot(w,q){return{ngModule:k,providers:[hr,[],{provide:kr,multi:!0,useValue:w},{provide:Na,useFactory:ks,deps:[[Jn,new n.Optional,new n.SkipSelf]]},{provide:Z,useValue:q||{}},q?.useHash?{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}:{provide:x.LocationStrategy,useClass:x.PathLocationStrategy},{provide:Nr,useFactory:()=>{const k=(0,n.inject)(x.ViewportScroller),j=(0,n.inject)(n.NgZone),w=(0,n.inject)(Z),q=(0,n.inject)(Qn),Se=(0,n.inject)(ue);return w.scrollOffset&&k.setOffset(w.scrollOffset),new Zr(Se,q,k,j,w)}},q?.preloadingStrategy?Eo(q.preloadingStrategy).\u0275providers:[],{provide:n.NgProbeToken,multi:!0,useFactory:Xr},q?.initialNavigation?ic(q):[],q?.bindToComponentInputs?As().\u0275providers:[],[{provide:Fa,useFactory:Ss},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Fa}]]}}static forChild(w){return{ngModule:k,providers:[{provide:kr,multi:!0,useValue:w}]}}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275inject(Na,8))},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({}),k})();function ks(k){return"guarded"}function ic(k){return["disabled"===k.initialNavigation?ka().\u0275providers:[],"enabledBlocking"===k.initialNavigation?La().\u0275providers:[]]}const Fa=new n.InjectionToken("");function Ba(k){return k.map(j=>(...w)=>(0,n.inject)(j).canMatch(...w))}function Os(k){return k.map(j=>(...w)=>(0,n.inject)(j).canActivate(...w))}function Va(k){return k.map(j=>(...w)=>(0,n.inject)(j).canActivateChild(...w))}function rc(k){return k.map(j=>(...w)=>(0,n.inject)(j).canDeactivate(...w))}function Rs(k){return(...j)=>(0,n.inject)(k).resolve(...j)}const ja=new n.Version("16.1.7")},9515:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{DEFAULT_LANGUAGE:()=>Ae,FakeMissingTranslationHandler:()=>D,MissingTranslationHandler:()=>x,TranslateCompiler:()=>ie,TranslateDefaultParser:()=>ee,TranslateDirective:()=>W,TranslateFakeCompiler:()=>A,TranslateFakeLoader:()=>y,TranslateLoader:()=>l,TranslateModule:()=>we,TranslateParser:()=>$,TranslatePipe:()=>pe,TranslateService:()=>H,TranslateStore:()=>U,USE_DEFAULT_LANG:()=>Re,USE_EXTEND:()=>he,USE_STORE:()=>Me});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),h=a(34),f=a(4911),u=a(8180),v=a(7081),b=a(7398),p=a(6328),_=a(4664);class l{}let y=(()=>{class Ee extends l{getTranslation(G){return(0,d.of)({})}}return(0,n.Z)(Ee,"\u0275fac",function(){let Be;return function(re){return(Be||(Be=c.\u0275\u0275getInheritedFactory(Ee)))(re||Ee)}}()),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();class x{}let D=(()=>{class Ee{handle(G){return G.key}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)}),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();function S(Ee,Be){if(Ee===Be)return!0;if(null===Ee||null===Be)return!1;if(Ee!=Ee&&Be!=Be)return!0;let se,ye,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ye in He=Object.create(null),Ee){if(!S(Ee[ye],Be[ye]))return!1;He[ye]=!0}for(ye in Be)if(!(ye in He)&&typeof Be[ye]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((se=Ee.length)==Be.length){for(ye=0;ye{I(Be[re])?re in Ee?G[re]=X(Ee[re],Be[re]):Object.assign(G,{[re]:Be[re]}):Object.assign(G,{[re]:Be[re]})}),G}class ${}let ee=(()=>{class Ee extends ${constructor(...G){super(...G),(0,n.Z)(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(G,re){let se;return se="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,se}getValue(G,re){let se="string"==typeof re?re.split("."):[re];re="";do{re+=se.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&se.length?se.length?re+=".":G=void 0:(G=G[re],re="")}while(se.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(se,ye)=>{let He=this.getValue(re,ye);return E(He)?He:se}):G}}return(0,n.Z)(Ee,"\u0275fac",function(){let Be;return function(re){return(Be||(Be=c.\u0275\u0275getInheritedFactory(Ee)))(re||Ee)}}()),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();class ie{}let A=(()=>{class Ee extends ie{compile(G,re){return G}compileTranslations(G,re){return G}}return(0,n.Z)(Ee,"\u0275fac",function(){let Be;return function(re){return(Be||(Be=c.\u0275\u0275getInheritedFactory(Ee)))(re||Ee)}}()),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();class U{constructor(){(0,n.Z)(this,"defaultLang",void 0),(0,n.Z)(this,"currentLang",this.defaultLang),(0,n.Z)(this,"translations",{}),(0,n.Z)(this,"langs",[]),(0,n.Z)(this,"onTranslationChange",new c.EventEmitter),(0,n.Z)(this,"onLangChange",new c.EventEmitter),(0,n.Z)(this,"onDefaultLangChange",new c.EventEmitter)}}const Me=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),he=new c.InjectionToken("USE_EXTEND");let H=(()=>{class Ee{get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(G){this.isolate?this._defaultLang=G:this.store.defaultLang=G}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(G){this.isolate?this._currentLang=G:this.store.currentLang=G}get langs(){return this.isolate?this._langs:this.store.langs}set langs(G){this.isolate?this._langs=G:this.store.langs=G}get translations(){return this.isolate?this._translations:this.store.translations}set translations(G){this.isolate?this._translations=G:this.store.translations=G}constructor(G,re,se,ye,He,Ze=!0,Qe=!1,We=!1,tt){(0,n.Z)(this,"store",void 0),(0,n.Z)(this,"currentLoader",void 0),(0,n.Z)(this,"compiler",void 0),(0,n.Z)(this,"parser",void 0),(0,n.Z)(this,"missingTranslationHandler",void 0),(0,n.Z)(this,"useDefaultLang",void 0),(0,n.Z)(this,"isolate",void 0),(0,n.Z)(this,"extend",void 0),(0,n.Z)(this,"loadingTranslations",void 0),(0,n.Z)(this,"pending",!1),(0,n.Z)(this,"_onTranslationChange",new c.EventEmitter),(0,n.Z)(this,"_onLangChange",new c.EventEmitter),(0,n.Z)(this,"_onDefaultLangChange",new c.EventEmitter),(0,n.Z)(this,"_defaultLang",void 0),(0,n.Z)(this,"_currentLang",void 0),(0,n.Z)(this,"_langs",[]),(0,n.Z)(this,"_translations",{}),(0,n.Z)(this,"_translationRequests",{}),this.store=G,this.currentLoader=re,this.compiler=se,this.parser=ye,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=We,tt&&this.setDefaultLang(tt)}setDefaultLang(G){if(G===this.defaultLang)return;let re=this.retrieveTranslations(G);typeof re<"u"?(null==this.defaultLang&&(this.defaultLang=G),re.pipe((0,u.q)(1)).subscribe(se=>{this.changeDefaultLang(G)})):this.changeDefaultLang(G)}getDefaultLang(){return this.defaultLang}use(G){if(G===this.currentLang)return(0,d.of)(this.translations[G]);let re=this.retrieveTranslations(G);return typeof re<"u"?(this.currentLang||(this.currentLang=G),re.pipe((0,u.q)(1)).subscribe(se=>{this.changeLang(G)}),re):(this.changeLang(G),(0,d.of)(this.translations[G]))}retrieveTranslations(G){let re;return(typeof this.translations[G]>"u"||this.extend)&&(this._translationRequests[G]=this._translationRequests[G]||this.getTranslation(G),re=this._translationRequests[G]),re}getTranslation(G){this.pending=!0;const re=this.currentLoader.getTranslation(G).pipe((0,v.d)(1),(0,u.q)(1));return this.loadingTranslations=re.pipe((0,b.U)(se=>this.compiler.compileTranslations(se,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:se=>{this.translations[G]=this.extend&&this.translations[G]?{...se,...this.translations[G]}:se,this.updateLangs(),this.pending=!1},error:se=>{this.pending=!1}}),re}setTranslation(G,re,se=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(se||this.extend)&&this.translations[G]?X(this.translations[G],re):re,this.updateLangs(),this.onTranslationChange.emit({lang:G,translations:this.translations[G]})}getLangs(){return this.langs}addLangs(G){G.forEach(re=>{-1===this.langs.indexOf(re)&&this.langs.push(re)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(G,re,se){let ye;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,se),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(We=>(0,g.b)(He[We])?He[We]:(0,d.of)(He[We]));return(0,r.D)(Qe).pipe((0,b.U)(We=>{let tt={};return We.forEach((Mt,Ft)=>{tt[re[Ft]]=Mt}),tt}))}return He}if(G&&(ye=this.parser.interpolate(this.parser.getValue(G,re),se)),typeof ye>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ye=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),se)),typeof ye>"u"){let He={key:re,translateService:this};typeof se<"u"&&(He.interpolateParams=se),ye=this.missingTranslationHandler.handle(He)}return typeof ye<"u"?ye:re}get(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,p.b)(se=>(se=this.getParsedResult(se,G,re),(0,g.b)(se)?se:(0,d.of)(se))));{let se=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(se)?se:(0,d.of)(se)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,h.z)((0,f.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(se=>{const ye=this.getParsedResult(se.translations,G,re);return"function"==typeof ye.subscribe?ye:(0,d.of)(ye)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,h.z)((0,f.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(se=>{const ye=this.getParsedResult(se.translations,G,re);return(0,g.b)(ye)?ye:(0,d.of)(ye)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let se=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(se)){if(G instanceof Array){let ye={};return G.forEach((He,Ze)=>{ye[G[Ze]]=G[Ze]}),ye}return G}return se}set(G,re,se=this.currentLang){this.translations[se][G]=this.compiler.compile(re,se),this.updateLangs(),this.onTranslationChange.emit({lang:se,translations:this.translations[se]})}changeLang(G){this.currentLang=G,this.onLangChange.emit({lang:G,translations:this.translations[G]}),null==this.defaultLang&&this.changeDefaultLang(G)}changeDefaultLang(G){this.defaultLang=G,this.onDefaultLangChange.emit({lang:G,translations:this.translations[G]})}reloadLang(G){return this.resetLang(G),this.getTranslation(G)}resetLang(G){this._translationRequests[G]=void 0,this.translations[G]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let G=window.navigator.languages?window.navigator.languages[0]:null;return G=G||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof G>"u"?void 0:(-1!==G.indexOf("-")&&(G=G.split("-")[0]),-1!==G.indexOf("_")&&(G=G.split("_")[0]),G)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let G=window.navigator.languages?window.navigator.languages[0]:null;return G=G||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,G}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)(c.\u0275\u0275inject(U),c.\u0275\u0275inject(l),c.\u0275\u0275inject(ie),c.\u0275\u0275inject($),c.\u0275\u0275inject(x),c.\u0275\u0275inject(Re),c.\u0275\u0275inject(Me),c.\u0275\u0275inject(he),c.\u0275\u0275inject(Ae))}),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})(),W=(()=>{class Ee{set translate(G){G&&(this.key=G,this.checkNodes())}set translateParams(G){S(this.currentParams,G)||(this.currentParams=G,this.checkNodes(!0))}constructor(G,re,se){(0,n.Z)(this,"translateService",void 0),(0,n.Z)(this,"element",void 0),(0,n.Z)(this,"_ref",void 0),(0,n.Z)(this,"key",void 0),(0,n.Z)(this,"lastParams",void 0),(0,n.Z)(this,"currentParams",void 0),(0,n.Z)(this,"onLangChangeSub",void 0),(0,n.Z)(this,"onDefaultLangChangeSub",void 0),(0,n.Z)(this,"onTranslationChangeSub",void 0),this.translateService=G,this.element=re,this._ref=se,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ye=>{ye.lang===this.translateService.currentLang&&this.checkNodes(!0,ye.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ye=>{this.checkNodes(!0,ye.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ye=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let se=this.element.nativeElement.childNodes;se.length||(this.setContent(this.element.nativeElement,this.key),se=this.element.nativeElement.childNodes);for(let ye=0;ye{He!==G&&(re.lastKey=G),re.originalContent||(re.originalContent=this.getContent(re)),re.currentValue=E(He)?He:re.originalContent||G,this.setContent(re,this.key?re.currentValue:re.originalContent.replace(G,re.currentValue)),this._ref.markForCheck()};if(E(se)){let He=this.translateService.getParsedResult(se,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ye}):ye(He)}else this.translateService.get(G,this.currentParams).subscribe(ye)}}getContent(G){return E(G.textContent)?G.textContent:G.data}setContent(G,re){E(G.textContent)?G.textContent=re:G.data=re}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)(c.\u0275\u0275directiveInject(H),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))}),(0,n.Z)(Ee,"\u0275dir",c.\u0275\u0275defineDirective({type:Ee,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})),Ee})(),pe=(()=>{class Ee{constructor(G,re){(0,n.Z)(this,"translate",void 0),(0,n.Z)(this,"_ref",void 0),(0,n.Z)(this,"value",""),(0,n.Z)(this,"lastKey",null),(0,n.Z)(this,"lastParams",[]),(0,n.Z)(this,"onTranslationChange",void 0),(0,n.Z)(this,"onLangChange",void 0),(0,n.Z)(this,"onDefaultLangChange",void 0),this.translate=G,this._ref=re}updateValue(G,re,se){let ye=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(se){let He=this.translate.getParsedResult(se,G,re);(0,g.b)(He.subscribe)?He.subscribe(ye):ye(He)}this.translate.get(G,re).subscribe(ye)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let se;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ye=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{se=JSON.parse(ye)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(se=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,se),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ye=>{this.lastKey&&ye.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,se,ye.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ye=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,se,ye.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,se))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)(c.\u0275\u0275directiveInject(H,16),c.\u0275\u0275directiveInject(c.ChangeDetectorRef,16))}),(0,n.Z)(Ee,"\u0275pipe",c.\u0275\u0275definePipe({name:"translate",type:Ee,pure:!1})),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})(),we=(()=>{class Ee{static forRoot(G={}){return{ngModule:Ee,providers:[G.loader||{provide:l,useClass:y},G.compiler||{provide:ie,useClass:A},G.parser||{provide:$,useClass:ee},G.missingTranslationHandler||{provide:x,useClass:D},U,{provide:Me,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:he,useValue:G.extend},{provide:Ae,useValue:G.defaultLanguage},H]}}static forChild(G={}){return{ngModule:Ee,providers:[G.loader||{provide:l,useClass:y},G.compiler||{provide:ie,useClass:A},G.parser||{provide:$,useClass:ee},G.missingTranslationHandler||{provide:x,useClass:D},{provide:Me,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:he,useValue:G.extend},{provide:Ae,useValue:G.defaultLanguage},H]}}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)}),(0,n.Z)(Ee,"\u0275mod",c.\u0275\u0275defineNgModule({type:Ee})),(0,n.Z)(Ee,"\u0275inj",c.\u0275\u0275defineInjector({})),Ee})()},5061:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{TranslateHttpLoader:()=>c});var n=a(1180);class c{constructor(g,r="/assets/i18n/",h=".json"){(0,n.Z)(this,"http",void 0),(0,n.Z)(this,"prefix",void 0),(0,n.Z)(this,"suffix",void 0),this.http=g,this.prefix=r,this.suffix=h}getTranslation(g){return this.http.get(`${this.prefix}${g}${this.suffix}`)}}},6381:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{AUTH_CONFIG:()=>zt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ye,DateTimeProvider:()=>Me,DefaultHashHandler:()=>Q,DefaultOAuthInterceptor:()=>dt,HashHandler:()=>oe,JwksValidationHandler:()=>Nt,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>he,OAuthModule:()=>ot,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>Ct,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ue,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>We,ValidationHandler:()=>Ze,provideOAuthClient:()=>ge});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),h=a(2096),f=a(2459),u=a(3684),v=a(8504),b=a(2572),p=a(3019),_=a(2181),l=a(9397),y=a(3620),x=a(7547),D=a(4664),S=a(7398),E=a(1374),I=a(6306),X=a(5178),$=a(8180),ee=a(9769);class ie{validateSignature($e){return Promise.resolve(null)}validateAtHash($e){return Promise.resolve(!0)}}class A{}class U{}class Me{}let Re=(()=>{class Ne extends Me{now(){return Date.now()}new(){return new Date}}return Ne.\u0275fac=function(){let $e;return function(Ce){return($e||($e=c.\u0275\u0275getInheritedFactory(Ne)))(Ce||Ne)}}(),Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class he{}class H{}let W=(()=>{class Ne{constructor(){this.data=new Map}getItem(ae){return this.data.get(ae)}removeItem(ae){this.data.delete(ae)}setItem(ae,Ce){this.data.set(ae,Ce)}}return Ne.\u0275fac=function(ae){return new(ae||Ne)},Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class pe{}class we{constructor($e){this.type=$e}}class Ee extends we{constructor($e,ae=null){super($e),this.info=ae}}class Be extends we{constructor($e,ae=null){super($e),this.info=ae}}class G extends we{constructor($e,ae,Ce=null){super($e),this.reason=ae,this.params=Ce}}function re(Ne){const $e=Ne.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob($e).split("").map(function(ae){return"%"+("00"+ae.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function se(Ne){return btoa(Ne).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ye{constructor($e){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=ae=>{location.href=ae},$e&&Object.assign(this,$e)}}class He{encodeKey($e){return encodeURIComponent($e)}encodeValue($e){return encodeURIComponent($e)}decodeKey($e){return decodeURIComponent($e)}decodeValue($e){return decodeURIComponent($e)}}class Ze{}class Qe{validateAtHash($e){var ae=this;return(0,n.Z)(function*(){let Ce=ae.inferHashAlgorithm($e.idTokenHeader),lt=yield ae.calcHash($e.accessToken,Ce),Ye=se(lt.substr(0,lt.length/2)),De=$e.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm($e){let ae=$e.alg;if(!ae.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+ae);return"sha-"+ae.substr(2)}}let We=(()=>{class Ne{getHashFragmentParams(ae){let Ce=ae||window.location.hash;if(Ce=decodeURIComponent(Ce),0!==Ce.indexOf("#"))return{};const lt=Ce.indexOf("?");return Ce=Ce.substr(lt>-1?lt+1:1),this.parseQueryString(Ce)}parseQueryString(ae){const Ce={};let lt,_e,Ye,De,F,V,K;if(null===ae)return Ce;lt=ae.split("&");for(let ve=0;ve=64;){for(_e=$e[0],Ye=$e[1],De=$e[2],F=$e[3],V=$e[4],K=$e[5],ve=$e[6],ut=$e[7],qe=0;qe<16;qe++)et=Ce+4*qe,Ne[qe]=(255&ae[et])<<24|(255&ae[et+1])<<16|(255&ae[et+2])<<8|255&ae[et+3];for(qe=16;qe<64;qe++)Pt=Ne[qe-2],Ve=(Pt>>>17|Pt<<15)^(Pt>>>19|Pt<<13)^Pt>>>10,Pt=Ne[qe-15],yt=(Pt>>>7|Pt<<25)^(Pt>>>18|Pt<<14)^Pt>>>3,Ne[qe]=(Ve+Ne[qe-7]|0)+(yt+Ne[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&K^~V&ve)|0)+(ut+(Ft[qe]+Ne[qe]|0)|0)|0,yt=((_e>>>2|_e<<30)^(_e>>>13|_e<<19)^(_e>>>22|_e<<10))+(_e&Ye^_e&De^Ye&De)|0,ut=ve,ve=K,K=V,V=F+Ve|0,F=De,De=Ye,Ye=_e,_e=Ve+yt|0;$e[0]+=_e,$e[1]+=Ye,$e[2]+=De,$e[3]+=F,$e[4]+=V,$e[5]+=K,$e[6]+=ve,$e[7]+=ut,Ce+=64,lt-=64}return Ce}class Bt{constructor(){this.digestLength=32,this.blockSize=64,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let $e=0;$e0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=$e[Ce++],ae--;64===this.bufferLength&&(gt(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(Ce=gt(this.temp,this.state,$e,Ce,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=$e[Ce++],ae--;return this}finish($e){if(!this.finished){const ae=this.bytesHashed,Ce=this.bufferLength,lt=ae/536870912|0,_e=ae<<3,Ye=ae%64<56?64:128;this.buffer[Ce]=128;for(let De=Ce+1;De>>24&255,this.buffer[Ye-7]=lt>>>16&255,this.buffer[Ye-6]=lt>>>8&255,this.buffer[Ye-5]=lt>>>0&255,this.buffer[Ye-4]=_e>>>24&255,this.buffer[Ye-3]=_e>>>16&255,this.buffer[Ye-2]=_e>>>8&255,this.buffer[Ye-1]=_e>>>0&255,gt(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let ae=0;ae<8;ae++)$e[4*ae+0]=this.state[ae]>>>24&255,$e[4*ae+1]=this.state[ae]>>>16&255,$e[4*ae+2]=this.state[ae]>>>8&255,$e[4*ae+3]=this.state[ae]>>>0&255;return this}digest(){const $e=new Uint8Array(this.digestLength);return this.finish($e),$e}_saveState($e){for(let ae=0;ae{class Ne{calcHash(ae,Ce){return(0,n.Z)(function*(){return function ne(Ne){var $e,ae=[];for($e=0;$e{class Ne extends ye{constructor(ae,Ce,lt,_e,Ye,De,F,V,K,ve){super(),this.ngZone=ae,this.http=Ce,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=ve,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new r.x,this.discoveryDocumentLoadedSubject=new r.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=K,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),_e&&(this.tokenValidationHandler=_e),Ye&&this.configure(Ye);try{lt?this.setStorage(lt):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(ut){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",ut)}if(this.checkLocalStorageAccessable()){const ut=window?.navigator?.userAgent;(ut?.includes("MSIE ")||ut?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const ae="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(ae,ae),localStorage.removeItem(ae),0))}catch{return!1}}configure(ae){Object.assign(this,new ye,ae),this.config=Object.assign({},new ye,ae),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(ae=>"token_received"===ae.type)).subscribe(ae=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(ae={},Ce,lt=!0){let _e=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?_e=!0:"logout"===Ye.type&&(_e=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==Ce||"any"===Ce||Ye.info===Ce)),(0,y.b)(1e3)).subscribe(Ye=>{_e&&this.refreshInternal(ae,lt).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(ae,Ce){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(ae,Ce):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(ae=null){return this.loadDiscoveryDocument().then(Ce=>this.tryLogin(ae))}loadDiscoveryDocumentAndLogin(ae=null){return this.loadDiscoveryDocumentAndTryLogin(ae=ae||{}).then(Ce=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof ae.state?ae.state:""),!1))}debug(...ae){this.showDebugInformation&&this.logger.debug.apply(this.logger,ae)}validateUrlFromDiscoveryDocument(ae){const Ce=[],lt=this.validateUrlForHttps(ae),_e=this.validateUrlAgainstIssuer(ae);return lt||Ce.push("https for all urls required. Also for urls received by discovery."),_e||Ce.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),Ce}validateUrlForHttps(ae){if(!ae)return!0;const Ce=ae.toLowerCase();return!(!1!==this.requireHttps&&(!Ce.match(/^http:\/\/localhost($|[:\/])/)&&!Ce.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||Ce.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(ae,Ce){if(!ae)throw new Error(`'${Ce}' should not be null`);if(!this.validateUrlForHttps(ae))throw new Error(`'${Ce}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(ae){return!this.strictDiscoveryDocumentValidation||!ae||ae.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){typeof window>"u"?this.debug("timer not supported on this plattform"):((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,_.h)(ae=>"token_received"===ae.type)).subscribe(ae=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const ae=this.getAccessTokenExpiration(),Ce=this.getAccessTokenStoredAt(),lt=this.calcTimeout(Ce,ae);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,h.of)(new Be("token_expires","access_token")).pipe((0,x.g)(lt)).subscribe(_e=>{this.ngZone.run(()=>{this.eventsSubject.next(_e)})})})}setupIdTokenTimer(){const ae=this.getIdTokenExpiration(),Ce=this.getIdTokenStoredAt(),lt=this.calcTimeout(Ce,ae);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,h.of)(new Be("token_expires","id_token")).pipe((0,x.g)(lt)).subscribe(_e=>{this.ngZone.run(()=>{this.eventsSubject.next(_e)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(ae,Ce){const lt=this.dateTimeService.now(),Ye=Math.max(0,(Ce-ae)*this.timeoutFactor-(lt-ae)),De=2147483647;return Ye>De?De:Ye}setStorage(ae){this._storage=ae,this.configChanged()}loadDiscoveryDocument(ae=null){return new Promise((Ce,lt)=>{ae||((ae=this.issuer||"").endsWith("/")||(ae+="/"),ae+=".well-known/openid-configuration"),this.validateUrlForHttps(ae)?this.http.get(ae).subscribe(_e=>{if(!this.validateDiscoveryDocument(_e))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void lt("discovery_document_validation_error");this.loginUrl=_e.authorization_endpoint,this.logoutUrl=_e.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=_e.grant_types_supported,this.issuer=_e.issuer,this.tokenEndpoint=_e.token_endpoint,this.userinfoEndpoint=_e.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=_e.jwks_uri,this.sessionCheckIFrameUrl=_e.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(_e),this.revocationEndpoint=_e.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:_e,jwks:Ye});this.eventsSubject.next(F),Ce(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),lt(Ye)})},_e=>{this.logger.error("error loading discovery document",_e),this.eventsSubject.next(new G("discovery_document_load_error",_e)),lt(_e)}):lt("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((ae,Ce)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(lt=>{this.jwks=lt,ae(lt)},lt=>{this.logger.error("error loading jwks",lt),this.eventsSubject.next(new G("jwks_load_error",lt)),Ce(lt)}):ae(null)})}validateDiscoveryDocument(ae){let Ce;return this.skipIssuerCheck||ae.issuer===this.issuer?(Ce=this.validateUrlFromDiscoveryDocument(ae.authorization_endpoint),Ce.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",Ce),!1):(Ce=this.validateUrlFromDiscoveryDocument(ae.end_session_endpoint),Ce.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",Ce),!1):(Ce=this.validateUrlFromDiscoveryDocument(ae.token_endpoint),Ce.length>0&&this.logger.error("error validating token_endpoint in discovery document",Ce),Ce=this.validateUrlFromDiscoveryDocument(ae.revocation_endpoint),Ce.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",Ce),Ce=this.validateUrlFromDiscoveryDocument(ae.userinfo_endpoint),Ce.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",Ce),!1):(Ce=this.validateUrlFromDiscoveryDocument(ae.jwks_uri),Ce.length>0?(this.logger.error("error validating jwks_uri in discovery document",Ce),!1):(this.sessionChecksEnabled&&!ae.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+ae.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(ae,Ce,lt=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(ae,Ce,lt).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((ae,Ce)=>{const lt=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:lt,observe:"response",responseType:"text"}).subscribe(_e=>{if(this.debug("userinfo received",JSON.stringify(_e)),_e.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(_e.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void Ce("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");Ye=Object.assign({},De,Ye),this._storage.setItem("id_token_claims_obj",JSON.stringify(Ye)),this.eventsSubject.next(new Ee("user_profile_loaded")),ae({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),ae(JSON.parse(_e.body))},_e=>{this.logger.error("error loading user info",_e),this.eventsSubject.next(new G("user_profile_load_error",_e)),Ce(_e)})})}fetchTokenUsingPasswordFlow(ae,Ce,lt=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:ae,password:Ce},lt)}fetchTokenUsingGrant(ae,Ce,lt=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let _e=new g.HttpParams({encoder:new He}).set("grant_type",ae).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(_e=_e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(_e=_e.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))_e=_e.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(Ce))_e=_e.set(Ye,Ce[Ye]);return lt=lt.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,_e,{headers:lt}).subscribe(F=>{this.debug("tokenResponse",F),this.storeAccessTokenResponse(F.access_token,F.refresh_token,F.expires_in||this.fallbackAccessTokenExpirationTimeInSec,F.scope,this.extractRecognizedCustomParameters(F)),this.oidc&&F.id_token&&this.processIdToken(F.id_token,F.access_token).then(V=>{this.storeIdToken(V),Ye(F)}),this.eventsSubject.next(new Ee("token_received")),Ye(F)},F=>{this.logger.error("Error performing ${grantType} flow",F),this.eventsSubject.next(new G("token_error",F)),De(F)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((ae,Ce)=>{let lt=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),_e=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);_e=_e.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(lt=lt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(lt=lt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))lt=lt.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,lt,{headers:_e}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,f.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,h.of)(Ye))).subscribe(Ye=>{this.debug("refresh tokenResponse",Ye),this.storeAccessTokenResponse(Ye.access_token,Ye.refresh_token,Ye.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Ye.scope,this.extractRecognizedCustomParameters(Ye)),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),ae(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),Ce(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=ae=>{const Ce=this.processMessageEventMessage(ae);this.checkOrigin&&ae.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:Ce,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(lt=>this.debug("tryLogin during silent refresh failed",lt))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(ae={},Ce=!0){const lt=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(ae.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");const _e=this.document.getElementById(this.silentRefreshIFrameName);_e&&this.document.body.removeChild(_e),this.silentRefreshSubject=lt.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,Ce,ae).then(ve=>{Ye.setAttribute("src",ve),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(ve=>ve instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(ve=>"token_received"===ve.type),(0,E.P)()),K=(0,h.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,K]).pipe((0,S.U)(ve=>{if(ve instanceof G)throw"silent_refresh_timeout"===ve.type||(ve=new G("silent_refresh_error",ve)),this.eventsSubject.next(ve),ve;return"token_received"===ve.type&&(ve=new Ee("silently_refreshed"),this.eventsSubject.next(ve)),ve})).toPromise()}initImplicitFlowInPopup(ae){return this.initLoginFlowInPopup(ae)}initLoginFlowInPopup(ae){return ae=ae||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(Ce=>new Promise((lt,_e)=>{let F,De=null;ae.windowRef?ae.windowRef&&!ae.windowRef.closed&&(De=ae.windowRef,De.location.href=Ce):De=window.open(Ce,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(ae));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{ve(),lt(!0)},et=>{ve(),_e(et)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(ve(),_e(new G("popup_closed",{})))},500):_e(new G("popup_blocked",{}));const ve=()=>{window.clearInterval(F),window.removeEventListener("storage",Pt),window.removeEventListener("message",ut),null!==De&&De.close(),De=null},ut=qe=>{const et=this.processMessageEventMessage(qe);et&&null!==et?(window.removeEventListener("storage",Pt),V(et)):console.log("false event firing")},Pt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",ut),V(qe.newValue))};window.addEventListener("message",ut),window.addEventListener("storage",Pt)}))}calculatePopupFeatures(ae){const Ce=ae.height||470,lt=ae.width||500,_e=window.screenLeft+(window.outerWidth-lt)/2;return`location=no,toolbar=no,width=${lt},height=${Ce},top=${window.screenTop+(window.outerHeight-Ce)/2},left=${_e}`}processMessageEventMessage(ae){let Ce="#";if(this.silentRefreshMessagePrefix&&(Ce+=this.silentRefreshMessagePrefix),!ae||!ae.data||"string"!=typeof ae.data)return;const lt=ae.data;return lt.startsWith(Ce)?"#"+lt.substr(Ce.length):void 0}canPerformSessionCheck(){return!(!this.sessionChecksEnabled||(this.sessionCheckIFrameUrl?this.getSessionState()?typeof this.document>"u":(console.warn("sessionChecksEnabled is activated but there is no session_state"),1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),1)))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=ae=>{const Ce=ae.origin.toLowerCase(),lt=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),lt.startsWith(Ce)){switch(ae.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",ae)}else this.debug("sessionCheckEventListener","wrong origin",Ce,"expected",lt,"event",ae)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new Be("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new Be("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(ae=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(ae=>{this.debug("token refresh after session change worked")}).catch(ae=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,_.h)(ae=>"silently_refreshed"===ae.type||"silent_refresh_timeout"===ae.type||"silent_refresh_error"===ae.type),(0,E.P)()).subscribe(ae=>{"silently_refreshed"!==ae.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new Be("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const ae=this.document.getElementById(this.sessionCheckIFrameName);ae&&this.document.body.removeChild(ae);const Ce=this.document.createElement("iframe");Ce.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),Ce.setAttribute("src",this.sessionCheckIFrameUrl),Ce.style.display="none",this.document.body.appendChild(Ce),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const ae=this.document.getElementById(this.sessionCheckIFrameName);ae||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const Ce=this.getSessionState();Ce||this.stopSessionCheckTimer(),ae.contentWindow.postMessage(this.clientId+" "+Ce,this.issuer)}createLoginUrl(ae="",Ce="",lt="",_e=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=lt||De.redirectUri;const K=yield De.createAndSaveNonce();if(ae=ae?K+De.config.nonceStateSeparator+encodeURIComponent(ae):K,!De.requestAccessToken&&!De.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");De.responseType=De.config.responseType?De.config.responseType:De.oidc&&De.requestAccessToken?"id_token token":De.oidc&&!De.requestAccessToken?"id_token":"token";const ve=F.loginUrl.indexOf("?")>-1?"&":"?";let ut=F.scope;De.oidc&&!ut.match(/(^|\s)openid($|\s)/)&&(ut="openid "+ut);let Pt=F.loginUrl+ve+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(ae)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(ut);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,et]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",et):De._storage.setItem("PKCE_verifier",et),Pt+="&code_challenge="+qe,Pt+="&code_challenge_method=S256"}Ce&&(Pt+="&login_hint="+encodeURIComponent(Ce)),F.resource&&(Pt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Pt+="&nonce="+encodeURIComponent(K)),_e&&(Pt+="&prompt=none");for(const qe of Object.keys(Ye))Pt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Pt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Pt})()}initImplicitFlowInternal(ae="",Ce=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},_e=null;"string"==typeof Ce?_e=Ce:"object"==typeof Ce&&(lt=Ce),this.createLoginUrl(ae,_e,null,!1,lt).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(ae="",Ce=""){""!==this.loginUrl?this.initImplicitFlowInternal(ae,Ce):this.events.pipe((0,_.h)(lt=>"discovery_document_loaded"===lt.type)).subscribe(lt=>this.initImplicitFlowInternal(ae,Ce))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(ae){const Ce=this;if(ae.onTokenReceived){const lt={idClaims:Ce.getIdentityClaims(),idToken:Ce.getIdToken(),accessToken:Ce.getAccessToken(),state:Ce.state};ae.onTokenReceived(lt)}}storeAccessTokenResponse(ae,Ce,lt,_e,Ye){if(this._storage.setItem("access_token",ae),_e&&!Array.isArray(_e)?this._storage.setItem("granted_scopes",JSON.stringify(_e.split(" "))):_e&&Array.isArray(_e)&&this._storage.setItem("granted_scopes",JSON.stringify(_e)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),lt){const De=1e3*lt,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}Ce&&this._storage.setItem("refresh_token",Ce),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(ae=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(ae).then(Ce=>!0):this.tryLoginImplicitFlow(ae)}parseQueryString(ae){return ae&&0!==ae.length?("?"===ae.charAt(0)&&(ae=ae.substr(1)),this.urlHelper.parseQueryString(ae)):{}}tryLoginCodeFlow(ae=null){var Ce=this;return(0,n.Z)(function*(){const lt=(ae=ae||{}).customHashFragment?ae.customHashFragment.substring(1):window.location.search,_e=Ce.getCodePartsFromUrl(lt),Ye=_e.code,De=_e.state,F=_e.session_state;if(!ae.preventClearHashAfterLogin){const ve=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,ve)}let[V,K]=Ce.parseState(De);if(Ce.state=K,_e.error){Ce.debug("error trying to login"),Ce.handleLoginError(ae,_e);const ve=new G("code_error",{},_e);return Ce.eventsSubject.next(ve),Promise.reject(ve)}if(!ae.disableNonceCheck){if(!V)return Ce.saveRequestedRoute(),Promise.resolve();if(!ae.disableOAuth2StateCheck&&!Ce.validateNonce(V)){const ut=new G("invalid_nonce_in_state",null);return Ce.eventsSubject.next(ut),Promise.reject(ut)}}return Ce.storeSessionState(F),Ye&&(yield Ce.getTokenFromCode(Ye,ae),Ce.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const ae=this._storage.getItem("requested_route");ae&&history.replaceState(null,"",window.location.origin+ae)}getCodePartsFromUrl(ae){return ae&&0!==ae.length?("?"===ae.charAt(0)&&(ae=ae.substr(1)),this.urlHelper.parseQueryString(ae)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(ae,Ce){let lt=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",ae).set("redirect_uri",Ce.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let _e;_e=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),_e?lt=lt.set("code_verifier",_e):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(lt,Ce)}fetchAndProcessToken(ae,Ce){Ce=Ce||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let lt=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const _e=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+_e)}return this.useHttpBasicAuth||(ae=ae.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ae=ae.set("client_secret",this.dummyClientSecret)),new Promise((_e,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))ae=ae.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,ae,{headers:lt}).subscribe(De=>{this.debug("refresh tokenResponse",De),this.storeAccessTokenResponse(De.access_token,De.refresh_token,De.expires_in||this.fallbackAccessTokenExpirationTimeInSec,De.scope,this.extractRecognizedCustomParameters(De)),this.oidc&&De.id_token?this.processIdToken(De.id_token,De.access_token,Ce.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),_e(De)}).catch(F=>{this.eventsSubject.next(new G("token_validation_error",F)),console.error("Error validating tokens"),console.error(F),Ye(F)}):(this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),_e(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(ae=null){let Ce;Ce=(ae=ae||{}).customHashFragment?this.urlHelper.getHashFragmentParams(ae.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",Ce);const lt=Ce.state;let[_e,Ye]=this.parseState(lt);if(this.state=Ye,Ce.error){this.debug("error trying to login"),this.handleLoginError(ae,Ce);const ve=new G("token_error",{},Ce);return this.eventsSubject.next(ve),Promise.reject(ve)}const De=Ce.access_token,F=Ce.id_token,V=Ce.session_state,K=Ce.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!ae.disableOAuth2StateCheck&&!lt||this.oidc&&!F)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!V&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!ae.disableNonceCheck&&!this.validateNonce(_e)){const ut=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(ut),Promise.reject(ut)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,Ce.expires_in||this.fallbackAccessTokenExpirationTimeInSec,K),this.oidc?this.processIdToken(F,De,ae.disableNonceCheck).then(ve=>ae.validationHandler?ae.validationHandler({accessToken:De,idClaims:ve.idTokenClaims,idToken:ve.idToken,state:lt}).then(ut=>ve):ve).then(ve=>(this.storeIdToken(ve),this.storeSessionState(V),this.clearHashAfterLogin&&!ae.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(ae),this.inImplicitFlow=!1,!0)).catch(ve=>(this.eventsSubject.next(new G("token_validation_error",ve)),this.logger.error("Error validating tokens"),this.logger.error(ve),Promise.reject(ve))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!ae.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(ae),Promise.resolve(!0))}parseState(ae){let Ce=ae,lt="";if(ae){const _e=ae.indexOf(this.config.nonceStateSeparator);_e>-1&&(Ce=ae.substr(0,_e),lt=ae.substr(_e+this.config.nonceStateSeparator.length))}return[Ce,lt]}validateNonce(ae){let Ce;return Ce=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Ce===ae||(console.error("Validating access_token failed, wrong state/nonce.",Ce,ae),!1)}storeIdToken(ae){this._storage.setItem("id_token",ae.idToken),this._storage.setItem("id_token_claims_obj",ae.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+ae.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(ae){this._storage.setItem("session_state",ae)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(ae,Ce){ae.onLoginError&&ae.onLoginError(Ce),this.clearHashAfterLogin&&!ae.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(ae=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:ae}processIdToken(ae,Ce,lt=!1){const _e=ae.split("."),De=re(this.padBase64(_e[0])),F=JSON.parse(De),K=re(this.padBase64(_e[1])),ve=JSON.parse(K);let ut;if(ut=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(ve.aud)){if(ve.aud.every(Lt=>Lt!==this.clientId)){const Lt="Wrong audience: "+ve.aud.join(",");return this.logger.warn(Lt),Promise.reject(Lt)}}else if(ve.aud!==this.clientId){const Lt="Wrong audience: "+ve.aud;return this.logger.warn(Lt),Promise.reject(Lt)}if(!ve.sub){const Lt="No sub claim in id_token";return this.logger.warn(Lt),Promise.reject(Lt)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==ve.sub){const Lt=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${ve.sub}`;return this.logger.warn(Lt),Promise.reject(Lt)}if(!ve.iat){const Lt="No iat claim in id_token";return this.logger.warn(Lt),Promise.reject(Lt)}if(!this.skipIssuerCheck&&ve.iss!==this.issuer){const Lt="Wrong issuer: "+ve.iss;return this.logger.warn(Lt),Promise.reject(Lt)}if(!lt&&ve.nonce!==ut){const Lt="Wrong nonce: "+ve.nonce;return this.logger.warn(Lt),Promise.reject(Lt)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!ve.at_hash){const Lt="An at_hash is needed!";return this.logger.warn(Lt),Promise.reject(Lt)}const Pt=this.dateTimeService.now(),qe=1e3*ve.iat,et=1e3*ve.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Pt||et+Ve-this.decreaseExpirationBySec<=Pt){const Lt="Token has expired";return console.error(Lt),console.error({now:Pt,issuedAtMSec:qe,expiresAtMSec:et}),Promise.reject(Lt)}const yt={accessToken:Ce,idToken:ae,jwks:this.jwks,idTokenClaims:ve,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(Lt=>({idToken:ae,idTokenClaims:ve,idTokenClaimsJson:K,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:et})):this.checkAtHash(yt).then(Lt=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!Lt){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:ae,idTokenClaims:ve,idTokenClaimsJson:K,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:et};return this.disableAtHashCheck?Sn:this.checkAtHash(yt).then(_n=>{if(this.requestAccessToken&&!_n){const Mn="Wrong at_hash";return this.logger.warn(Mn),Promise.reject(Mn)}return Sn})})})}getIdentityClaims(){const ae=this._storage.getItem("id_token_claims_obj");return ae?JSON.parse(ae):null}getGrantedScopes(){const ae=this._storage.getItem("granted_scopes");return ae?JSON.parse(ae):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(ae){for(;ae.length%4!=0;)ae+="=";return ae}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const ae=this._storage.getItem("expires_at"),Ce=this.dateTimeService.new();return!(ae&&parseInt(ae,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(ae)?JSON.parse(this._storage.getItem(ae)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(ae={},Ce=""){let lt=!1;"boolean"==typeof ae&&(lt=ae,ae={});const _e=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(De=>this._storage.removeItem(De)),this.silentRefreshSubject=null,this.eventsSubject.next(new Be("logout")),!this.logoutUrl||lt)return;let Ye;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)Ye=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(_e)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});_e&&(De=De.set("id_token_hint",_e));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),Ce&&(De=De.set("state",Ce)));for(let V in ae)De=De.set(V,ae[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const ae=this;return this.createNonce().then(function(Ce){return ae.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",Ce):ae._storage.setItem("nonce",Ce),Ce})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const ae=this.document.getElementById(this.silentRefreshIFrameName);ae&&ae.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const Ce=this.document.getElementById(this.sessionCheckIFrameName);Ce&&Ce.remove()}createNonce(){return new Promise(ae=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let lt=45,_e="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(lt);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>Ce.charCodeAt(F%66)),_e=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===lt.type)).subscribe(lt=>this.initCodeFlowInternal(ae,Ce))}initCodeFlowInternal(ae="",Ce={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},_e=null;"string"==typeof Ce?_e=Ce:"object"==typeof Ce&&(lt=Ce),this.createLoginUrl(ae,_e,null,!1,lt).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var ae=this;return(0,n.Z)(function*(){if(!ae.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const Ce=yield ae.createNonce();return[se(yield ae.crypto.calcHash(Ce,"sha-256")),Ce]})()}extractRecognizedCustomParameters(ae){let Ce=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(lt=>{ae[lt]&&Ce.set(lt,JSON.stringify(ae[lt]))}),Ce}revokeTokenAndLogout(ae={},Ce=!1){let lt=this.revocationEndpoint,_e=this.getAccessToken(),Ye=this.getRefreshToken();if(!_e)return Promise.resolve();let De=new g.HttpParams({encoder:new He}),F=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const V=btoa(`${this.clientId}:${this.dummyClientSecret}`);F=F.set("Authorization","Basic "+V)}if(this.useHttpBasicAuth||(De=De.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(De=De.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const V of Object.getOwnPropertyNames(this.customQueryParams))De=De.set(V,this.customQueryParams[V]);return new Promise((V,K)=>{let ve,ut;if(_e){let Pt=De.set("token",_e).set("token_type_hint","access_token");ve=this.http.post(lt,Pt,{headers:F})}else ve=(0,h.of)(null);if(Ye){let Pt=De.set("token",Ye).set("token_type_hint","refresh_token");ut=this.http.post(lt,Pt,{headers:F})}else ut=(0,h.of)(null);Ce&&(ve=ve.pipe((0,I.K)(Pt=>0===Pt.status?(0,h.of)(null):(0,v._)(Pt))),ut=ut.pipe((0,I.K)(Pt=>0===Pt.status?(0,h.of)(null):(0,v._)(Pt)))),(0,b.a)([ve,ut]).subscribe(Pt=>{this.logOut(ae),V(Pt),this.logger.info("Token successfully revoked")},Pt=>{this.logger.error("Error revoking token",Pt),this.eventsSubject.next(new G("token_revoke_error",Pt)),K(Pt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Ne.\u0275fac=function(ae){return new(ae||Ne)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ye,8),c.\u0275\u0275inject(We),c.\u0275\u0275inject(he),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Me))},Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class Te{}class Ct{handleError($e){return(0,v._)($e)}}let dt=(()=>{class Ne{constructor(ae,Ce,lt){this.oAuthService=ae,this.errorHandler=Ce,this.moduleConfig=lt}checkUrl(ae){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(ae):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(Ce=>ae.toLowerCase().startsWith(Ce.toLowerCase()))}intercept(ae,Ce){const lt=ae.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(lt)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,h.of)(this.oAuthService.getAccessToken()).pipe((0,_.h)(Ye=>!!Ye)),this.oAuthService.events.pipe((0,_.h)(Ye=>"token_received"===Ye.type),(0,X.V)(this.oAuthService.waitForTokenInMsec||0),(0,I.K)(Ye=>(0,h.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=ae.headers.set("Authorization","Bearer "+Ye);ae=ae.clone({headers:F})}return Ce.handle(ae).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):Ce.handle(ae).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):Ce.handle(ae)}}return Ne.\u0275fac=function(ae){return new(ae||Ne)(c.\u0275\u0275inject(ue),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();function bt(){return console}function Oe(){return typeof sessionStorage<"u"?sessionStorage:new W}function ge(Ne=null,$e=ie){return(0,c.makeEnvironmentProviders)([ue,We,{provide:he,useFactory:bt},{provide:H,useFactory:Oe},{provide:Ze,useClass:$e},{provide:oe,useClass:Q},{provide:Te,useClass:Ct},{provide:A,useValue:Ne},{provide:g.HTTP_INTERCEPTORS,useClass:dt,multi:!0},{provide:Me,useClass:Re}])}let ot=(()=>{class Ne{static forRoot(ae=null,Ce=ie){return{ngModule:Ne,providers:[ge(ae,Ce)]}}}return Ne.\u0275fac=function(ae){return new(ae||Ne)},Ne.\u0275mod=c.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Ne})();class Nt extends ie{constructor(){super(),console.error("PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n")}}const zt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>he,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>se,extendUint8Array:()=>ye,fromBase64:()=>Be,fromUint8Array:()=>I,isValid:()=>G,toBase64:()=>A,toUint8Array:()=>pe,utob:()=>ee,version:()=>n});const n="3.7.5",c=n,d="function"==typeof atob,g="function"==typeof btoa,r="function"==typeof Buffer,h="function"==typeof TextDecoder?new TextDecoder:void 0,f="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let We={};return Qe.forEach((tt,Mt)=>We[tt]=Mt),We})(v),p=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),l="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):Qe=>new Uint8Array(Array.prototype.slice.call(Qe,0)),y=Qe=>Qe.replace(/=/g,"").replace(/[+\/]/g,We=>"+"==We?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let We,tt,Mt,Ft,gt="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Mt=Qe.charCodeAt(Tt++))>255||(Ft=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");We=tt<<16|Mt<<8|Ft,gt+=v[We>>18&63]+v[We>>12&63]+v[We>>6&63]+v[63&We]}return Bt?gt.slice(0,Bt-3)+"===".substring(Bt):gt},S=g?Qe=>btoa(Qe):r?Qe=>Buffer.from(Qe,"binary").toString("base64"):D,E=r?Qe=>Buffer.from(Qe).toString("base64"):Qe=>{let tt=[];for(let Mt=0,Ft=Qe.length;MtWe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(We=Qe.charCodeAt(0))<128?Qe:We<2048?_(192|We>>>6)+_(128|63&We):_(224|We>>>12&15)+_(128|We>>>6&63)+_(128|63&We);var We=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|We>>>18&7)+_(128|We>>>12&63)+_(128|We>>>6&63)+_(128|63&We)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):f?Qe=>E(f.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,We=!1)=>We?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Me=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Re=Qe=>{switch(Qe.length){case 4:var tt=((7&Qe.charCodeAt(0))<<18|(63&Qe.charCodeAt(1))<<12|(63&Qe.charCodeAt(2))<<6|63&Qe.charCodeAt(3))-65536;return _(55296+(tt>>>10))+_(56320+(1023&tt));case 3:return _((15&Qe.charCodeAt(0))<<12|(63&Qe.charCodeAt(1))<<6|63&Qe.charCodeAt(2));default:return _((31&Qe.charCodeAt(0))<<6|63&Qe.charCodeAt(1))}},Ae=Qe=>Qe.replace(Me,Re),he=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let We,Mt,Ft,tt="";for(let gt=0;gt>16&255):64===Ft?_(We>>16&255,We>>8&255):_(We>>16&255,We>>8&255,255&We);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):he,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(We=>We.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):h?Qe=>h.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,We=>"-"==We?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const We=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(We)||!/[^\s0-9a-zA-Z\-_]/.test(We)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),se=function(){const Qe=(We,tt)=>Object.defineProperty(String.prototype,We,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(We){return A(this,We)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ye=function(){const Qe=(We,tt)=>Object.defineProperty(Uint8Array.prototype,We,re(tt));Qe("toBase64",function(We){return I(this,We)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{se(),ye()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:he,btoa:S,btoaPolyfill:D,fromBase64:Be,toBase64:A,encode:A,encodeURI:U,encodeURL:U,utob:ee,btou:Ae,decode:Be,isValid:G,fromUint8Array:I,toUint8Array:pe,extendString:se,extendUint8Array:ye,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",h="hljs-ln-code",f="hljs-ln-numbers",u="hljs-ln-n",v="data-line-number",b=/\r\n|\r|\n/g;function D(we){try{var Ee=d.querySelectorAll("code.hljs,code.nohighlight");for(var Be in Ee)Ee.hasOwnProperty(Be)&&(S(Ee[Be])||E(Ee[Be],we))}catch(G){c.console.error("LineNumbers error: ",G)}}function S(we){return we.classList.contains("nohljsln")}function E(we,Ee){"object"==typeof we&&function he(we){c.setTimeout(we,0)}(function(){we.innerHTML=X(we,Ee)})}function X(we,Ee){var Be=function ee(we,Ee){return{singleLine:ie(Ee=Ee||{}),startFrom:A(we,Ee)}}(we,Ee);return U(we),function $(we,Ee){var Be=Re(we);if(""===Be[Be.length-1].trim()&&Be.pop(),Be.length>1||Ee.singleLine){for(var G="",re=0,se=Be.length;re
{6}',[r,f,u,v,h,re+Ee.startFrom,Be[re].length>0?Be[re]:" "]);return H('{1}
',[g,G])}return we}(we.innerHTML,Be)}function ie(we){return!!we.singleLine&&we.singleLine}function A(we,Ee){var G=1;isFinite(Ee.startFrom)&&(G=Ee.startFrom);var re=function W(we,Ee){return we.hasAttribute(Ee)?we.getAttribute(Ee):null}(we,"data-ln-start-from");return null!==re&&(G=function pe(we,Ee){if(!we)return Ee;var Be=Number(we);return isFinite(Be)?Be:Ee}(re,1)),G}function U(we){var Ee=we.childNodes;for(var Be in Ee)if(Ee.hasOwnProperty(Be)){var G=Ee[Be];Ae(G.textContent)>0&&(G.childNodes.length>0?U(G):Me(G.parentNode))}}function Me(we){var Ee=we.className;if(/hljs-/.test(Ee)){for(var Be=Re(we.innerHTML),G=0,re="";G{1}
\n',[Ee,Be[G].length>0?Be[G]:" "]);we.innerHTML=re.trim()}}function Re(we){return 0===we.length?[]:we.split(b)}function Ae(we){return(we.trim().match(b)||[]).length}function H(we,Ee){return we.replace(/\{(\d+)\}/g,function(Be,G){return void 0!==Ee[G]?Ee[G]:Be})}c.hljs?(c.hljs.initLineNumbersOnLoad=function x(we){"interactive"===d.readyState||"complete"===d.readyState?D(we):c.addEventListener("DOMContentLoaded",function(){D(we)})},c.hljs.lineNumbersBlock=E,c.hljs.lineNumbersValue=function I(we,Ee){if("string"==typeof we){var Be=document.createElement("code");return Be.innerHTML=we,X(Be,Ee)}},function y(){var we=d.createElement("style");we.type="text/css",we.innerHTML=H(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[g,u,v]),d.getElementsByTagName("head")[0].appendChild(we)}()):c.console.error("highlight.js not detected!"),document.addEventListener("copy",function(we){var Be,Ee=window.getSelection();(function p(we){for(var Ee=we;Ee;){if(Ee.className&&-1!==Ee.className.indexOf("hljs-ln-code"))return!0;Ee=Ee.parentNode}return!1})(Ee.anchorNode)&&(Be=-1!==window.navigator.userAgent.indexOf("Edge")?function l(we){for(var Ee=we.toString(),Be=we.anchorNode;"TD"!==Be.nodeName;)Be=Be.parentNode;for(var G=we.focusNode;"TD"!==G.nodeName;)G=G.parentNode;var re=parseInt(Be.dataset.lineNumber),se=parseInt(G.dataset.lineNumber);if(re!=se){var ye=Be.textContent,He=G.textContent;if(re>se){var Ze=re;re=se,se=Ze,Ze=ye,ye=He,He=Ze}for(;0!==Ee.indexOf(ye);)ye=ye.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ye,We=function _(we){for(var Ee=we;"TABLE"!==Ee.nodeName;)Ee=Ee.parentNode;return Ee}(Be),tt=re+1;ttn})},9949:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{HIGHLIGHT_OPTIONS:()=>D,Highlight:()=>ie,HighlightJS:()=>ee,HighlightLoader:()=>X,HighlightModule:()=>A});var n=a(5879),c=a(6814),d=a(5619),g=a(2181),r=a(8180),h=a(4664),f=a(9397),u=a(6232),v=a(6306),b=a(8504),p=a(9278),_=a(7398),l=a(2459),y=a(927),x=a(6593);const D=new n.InjectionToken("HIGHLIGHT_OPTIONS");let S;let X=(()=>{class U{constructor(Re,Ae,he){this.doc=Re,this.platformId=Ae,this._options=he,this._ready=new d.X(null),this.ready=this._ready.asObservable().pipe((0,g.h)(H=>!!H),(0,r.q)(1)),(0,c.isPlatformBrowser)(Ae)&&(Re.defaultView.hljs?this._ready.next(Re.defaultView.hljs):(this._loadLibrary().pipe((0,h.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,f.b)(W=>{W.activateLineNumbers(),this._ready.next(H)}))):(this._ready.next(H),u.E)),(0,v.K)(H=>(console.error("[HLJS] ",H),u.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,b._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,b._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,b._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,b._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,h.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([he,H])=>$(H()).pipe((0,f.b)(W=>Re.registerLanguage(he,W))));return(0,p.$)(...Ae).pipe((0,_.U)(()=>Re))}loadCoreLibrary(){return $(this._options.coreLibraryLoader())}loadFullLibrary(){return $(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,l.D)(this._options.lineNumbersLoader())}setTheme(Re){(0,c.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=Re:this.loadTheme(Re))}loadTheme(Re){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=Re,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return U.\u0275fac=function(Re){return new(Re||U)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(D,8))},U.\u0275prov=n.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})();const $=U=>(0,l.D)(U).pipe((0,g.h)(Me=>!!Me?.default),(0,_.U)(Me=>Me.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(he=>{this._hljs=he,Ae&&Ae.config&&(he.configure(Ae.config),he.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:he}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:he})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(he=>he.highlightAuto(Re,Ae)))}highlightElement(Re){return this._loader.ready.pipe((0,_.U)(Ae=>Ae.highlightElement(Re)))}highlightAll(){return this._loader.ready.pipe((0,_.U)(Re=>Re.highlightAll()))}configure(Re){return this._loader.ready.pipe((0,_.U)(Ae=>Ae.configure(Re)))}registerLanguage(Re,Ae){return this._loader.ready.pipe((0,f.b)(he=>he.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,f.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,f.b)(he=>he.registerAliases(Re,{languageName:Ae})))}listLanguages(){return this._loader.ready.pipe((0,_.U)(Re=>Re.listLanguages()))}getLanguage(Re){return this._loader.ready.pipe((0,_.U)(Ae=>Ae.getLanguage(Re)))}safeMode(){return this._loader.ready.pipe((0,_.U)(Re=>Re.safeMode()))}debugMode(){return this._loader.ready.pipe((0,_.U)(Re=>Re.debugMode()))}lineNumbersBlock(Re){return this._loader.ready.pipe((0,g.h)(Ae=>!!Ae.lineNumbersBlock),(0,f.b)(Ae=>Ae.lineNumbersBlock(Re)))}}return U.\u0275fac=function(Re){return new(Re||U)(n.\u0275\u0275inject(X),n.\u0275\u0275inject(D,8))},U.\u0275prov=n.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),ie=(()=>{class U{constructor(Re,Ae,he,H,W){this._hljs=Ae,this._sanitizer=he,this.platformId=H,this._options=W,this.highlighted=new n.EventEmitter,this._nativeElement=Re.nativeElement}ngOnChanges(Re){(0,c.isPlatformBrowser)(this.platformId)&&null!==Re?.code?.currentValue&&Re.code.currentValue!==Re.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(Re,Ae){this.setTextContent(Re),this._hljs.highlightAuto(Re,Ae).subscribe(he=>{this.setInnerHTML(he?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(he)})}addLineNumbers(){this.destroyLineNumbersObserver(),y.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(Re){y.Z.schedule(()=>this._nativeElement.textContent=Re)}setInnerHTML(Re){y.Z.schedule(()=>this._nativeElement.innerHTML=function I(U){return function E(){if(!S)try{S=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:U=>U})}catch{}return S}()?.createHTML(U)||U}(this._sanitizer.sanitize(n.SecurityContext.HTML,Re)||""))}}return U.\u0275fac=function(Re){return new(Re||U)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ee),n.\u0275\u0275directiveInject(x.DomSanitizer),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(D,8))},U.\u0275dir=n.\u0275\u0275defineDirective({type:U,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(Re,Ae){2&Re&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),U})(),A=(()=>{class U{}return U.\u0275fac=function(Re){return new(Re||U)},U.\u0275mod=n.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=n.\u0275\u0275defineInjector({}),U})()},5861:(Ie,B,a)=>{"use strict";function n(d,g,r,h,f,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(h,f)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(h,f){var u=d.apply(g,r);function v(p){n(u,h,f,v,b,"next",p)}function b(p){n(u,h,f,v,b,"throw",p)}v(void 0)})}}a.d(B,{Z:()=>c})},1180:(Ie,B,a)=>{"use strict";function n(r){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(h){return typeof h}:function(h){return h&&"function"==typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(r)}function g(r,h,f){return(h=function d(r){var h=function c(r,h){if("object"!==n(r)||null===r)return r;var f=r[Symbol.toPrimitive];if(void 0!==f){var u=f.call(r,h||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===h?String:Number)(r)}(r,"string");return"symbol"===n(h)?h:String(h)}(h))in r?Object.defineProperty(r,h,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[h]=f,r}a.d(B,{Z:()=>g})},8210:Ie=>{"use strict";Ie.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1g","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"\u03b50","const",true,null,null,1,false,false,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"\u03bc0","const",true,null,null,1,false,false,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xb0C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xb0C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xb0F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xb0F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xb0F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1000000000,[-3,0,0,0,0,0,0],"(106).CFU/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[true,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xa0HO2","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm\xa0HO2)/L/s","clinical",true,null,null,1,false,false,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm\xa0HO2)/s/m","clinical",true,null,null,1,false,false,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xa0Hg","clinical",true,null,null,1,false,false,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[true,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm2",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[true,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm2)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[true,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[true,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[true,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,false,"L",null,1,false,false,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",true,null,null,1,false,false,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/\u03bcmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[true,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[true,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,false,"M",null,1,false,false,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[true,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[true,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,false,"M",null,1,false,false,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,false,"M",null,1,false,false,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[true,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[true,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[true,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,false],[true,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,false,"M",null,1,false,false,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m2)",null,false,"M",null,1,false,false,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[true,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m3)",null,false,"M",null,1,false,false,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[true,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[true,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[true,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[true,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,false,"L",null,1,false,false,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[true,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,false,"L",null,1,false,false,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[true,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,false,"L",null,1,false,false,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[true,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,false,"L",null,1,false,false,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,false,"M",null,1,false,false,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[true,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[true,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[true,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[true,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xa0HO2","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xa0Hg","clinical",true,null,null,1,false,false,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[true,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm2",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[true,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[true,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[true,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[true,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,false,"M",null,1,false,false,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[true,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[true,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[true,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[true,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"\u03a9.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[true,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[true,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/\u03bcmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[true,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"\u03bcg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"\u03bcg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/d",null,false,"M",null,1,false,false,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/min",null,false,"M",null,1,false,false,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"\u03bcg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(\u03bcg/L)/h",null,false,"M",null,1,false,false,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"\u03bcg/(m2)",null,false,"M",null,1,false,false,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"\u03bcg/(m3)",null,false,"M",null,1,false,false,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"\u03bcg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"\u03bcg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03bcg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"\u03bcg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03bcg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"\u03bckat","chemical",true,null,null,1,false,false,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03bcL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[true,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"\u03bcm",null,false,"L",null,1,false,false,0,"micrometers; micrometres; \u03bcm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[true,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"\u03bcm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bcmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[true,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"\u03bcs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03bcU/g","chemical",true,null,null,1,false,false,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"\u03bcU/L","chemical",true,null,null,1,false,false,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"\u03bcU/mL","chemical",true,null,null,1,false,false,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"\u03bcV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')},82:Ie=>{"use strict";Ie.exports=JSON.parse('{"name":"fhirpath","version":"3.6.0","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^4.1.3","antlr4":"~4.9.3","commander":"^2.18.0","date-fns":"^1.30.1","js-yaml":"^3.13.1"},"devDependencies":{"@babel/core":"^7.21.4","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-loader":"^8.2.3","benny":"^3.7.1","bestzip":"^2.2.0","copy-webpack-plugin":"^6.0.3","cypress":"^10.3.0","eslint":"^8.10.0","fhir":"^4.10.3","grunt":"^1.5.2","grunt-cli":"^1.4.3","grunt-text-replace":"^0.4.0","jasmine-spec-reporter":"^4.2.1","jest":"^27.3.1","jit-grunt":"^0.10.0","lodash":"^4.17.21","open":"^8.4.0","rimraf":"^3.0.0","tmp":"0.0.33","webpack":"^5.11.1","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.9.1","xml2js":"^0.5.0","yargs":"^15.1.0"},"engines":{"node":">=8.9.0"},"scripts":{"generateParser":"cd src/parser; rimraf ./generated/*; java -Xmx500M -cp \\"../../antlr-4.9.3-complete.jar:$CLASSPATH\\" org.antlr.v4.Tool -o generated -Dlanguage=JavaScript FHIRPath.g4; grunt updateParserRequirements","build":"cd browser-build && webpack && rimraf fhirpath.zip && bestzip fhirpath.zip LICENSE.md fhirpath.min.js fhirpath.r5.min.js fhirpath.r4.min.js fhirpath.stu3.min.js fhirpath.dstu2.min.js && rimraf LICENSE.md","test:unit":"jest && TZ=America/New_York jest && TZ=Europe/Paris jest","test:unit:debug":"echo \'open chrome chrome://inspect/\' && node --inspect node_modules/.bin/jest --runInBand","build:demo":"npm run build && cd demo && npm run build","test:e2e":"npm run build:demo && cypress run","test":"npm run lint && npm run test:unit && npm run test:e2e && echo \\"For tests specific to IE 11, open browser-build/test/index.html in IE 11, and confirm that the tests on that page pass.\\"","lint":"eslint src/parser/index.js src/*.js converter/","compare-performance":"node ./test/benchmark.js"},"bin":{"fhirpath":"bin/fhirpath"},"repository":"github:HL7/fhirpath.js","license":"MIT"}')},4147:Ie=>{"use strict";Ie.exports=JSON.parse('{"name":"mag-client","version":"2.5.70","license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build --configuration production --base-href /mag-pmp/","build-mag":"ng build --configuration production --base-href /mag-pmp/ --output-path ../src/main/resources/static","test":"ng test","test-ci":"ng test --no-watch --no-progress --browsers=ChromeHeadlessNoSandbox --code-coverage","lint":"ng lint","e2e":"ng e2e"},"private":true,"dependencies":{"@angular/animations":"^16.1.7","@angular/common":"^16.1.7","@angular/core":"^16.1.7","@angular/forms":"^16.1.7","@angular/material":"^16.1.6","@angular/platform-browser":"^16.1.7","@angular/platform-browser-dynamic":"^16.1.7","@angular/router":"^16.1.7","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","@types/jasmine":"^4.3.5","@types/pako":"^2.0.0","ace-builds":"^1.23.4","angular-oauth2-oidc":"^15.0.1","browserify-zlib":"^0.2.0","core-js":"^3.32.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.6.0","jasmine":"^5.1.0","js-base64":"^3.7.5","js-untar":"^2.0.0","ngx-highlightjs":"^10.0.0","pako":"^2.1.0","rxjs":"^7.8.1","tslib":"^2.6.1","uuid":"^9.0.0","yarn":"^1.22.19","zone.js":"^0.13.1"},"devDependencies":{"@angular-devkit/build-angular":"^16.1.6","@angular-eslint/builder":"^16.1.0","@angular-eslint/eslint-plugin":"^16.1.0","@angular-eslint/eslint-plugin-template":"^16.1.0","@angular-eslint/schematics":"^16.1.0","@angular-eslint/template-parser":"^16.1.0","@angular/cli":"^16.1.6","@angular/compiler-cli":"^16.1.7","@angular/language-service":"^16.1.7","@types/debug":"^4.1.8","@types/node":"^20.4.5","@types/ramda":"^0.29.3","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.46.0","husky":"^8.0.3","jasmine-core":"^5.1.0","jasmine-spec-reporter":"^7.0.0","json-patch":"^0.7.0","karma":"^6.4.2","karma-chrome-launcher":"^3.2.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"~3.0.2","karma-jasmine":"^5.1.0","karma-jasmine-html-reporter":"^2.1.0","prettier":"^3.0.0","pretty-quick":"^3.1.3","protractor":"~7.0.0","ts-node":"^10.9.1","tslint":"~6.1.0","typescript":"~5.1.6"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"prettier":{"singleQuote":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},Ie=>{Ie(Ie.s=4913)}]); \ No newline at end of file diff --git a/src/main/resources/static/main.8a6673335e446905.js b/src/main/resources/static/main.8a6673335e446905.js deleted file mode 100644 index e70abed..0000000 --- a/src/main/resources/static/main.8a6673335e446905.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{9473:(Ie,B)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.Ucum=void 0,B.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'',closeEmphHTML_:"",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},1995:(Ie,B,a)=>{"use strict";B.R=void 0;var c=a(9473),d=a(4864);class g{constructor(h){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==h)this.assignZero();else if(h instanceof Array){if(h.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(h)}`);this.dimVec_=[];for(let f=0;f=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[h]=1}}setElementAt(h,f){if(!d(h)||h<0||h>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${h})`);this.dimVec_||this.assignZero(),null==f&&(f=1),this.dimVec_[h]=f}getElementAt(h){if(!d(h)||h<0||h>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${h})`);let f=null;return this.dimVec_&&(f=this.dimVec_[h]),f}getProperty(h){return this["_"===h.charAt(h.length-1)?h:h+"_"]}toString(){let h=null;return this.dimVec_&&(h="["+this.dimVec_.join(", ")+"]"),h}add(h){if(!h instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof h} instead of a Dimension object`);if(this.dimVec_&&h.dimVec_)for(let f=0;f{"use strict";B.DP=function u(v){const b=v&&v.config;if(b){if(b.length&&v.data){const p=g(b);return v.data.map(h.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function h(v,b){let p={};return v.forEach((_,l)=>{let y=p;for(let x=0;x<_.length-1;x++)y=y[_[x]]=y[_[x]]||{};y[_[_.length-1]]=b[l]}),p}},3407:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.Prefix=void 0,a(9473),B.Prefix=class c{constructor(g){if(null==g.code_||null==g.name_||null==g.value_||void 0===g.exp_)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=g.code_,this.ciCode_=g.ciCode_,this.name_=g.name_,this.printSymbol_=g.printSymbol_,this.value_="string"==typeof g.value_?parseFloat(g.value_):g.value_,this.exp_=g.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(g){return this.code_===g.code_&&this.ciCode_===g.ciCode_&&this.name_===g.name_&&this.printSymbol_===g.printSymbol_&&this.value_===g.value_&&this.exp_===g.exp_}}},8902:(Ie,B)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.PrefixTables=B.PrefixTablesFactory=void 0;class a{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let g="",r=Object.keys(this.byValue_),h=r.length;for(let f=0;f{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0;var n=new class a{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(d){return d-273.15},cnvFrom:function(d){return d+273.15}},this.funcs.degf={cnvTo:function(d){return d-459.67},cnvFrom:function(d){return d+459.67}},this.funcs.degre={cnvTo:function(d){return d-273.15},cnvFrom:function(d){return d+273.15}},this.funcs.ph={cnvTo:function(d){return-Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,-d)}},this.funcs.ln={cnvTo:function(d){return Math.log(d)},cnvFrom:function(d){return Math.exp(d)}},this.funcs["2ln"]={cnvTo:function(d){return 2*Math.log(d)},cnvFrom:function(d){return Math.exp(d/2)}},this.funcs.lg={cnvTo:function(d){return Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d)}},this.funcs["10lg"]={cnvTo:function(d){return 10*Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d/10)}},this.funcs["20lg"]={cnvTo:function(d){return 20*Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d/20)}},this.funcs["2lg"]={cnvTo:function(d){return 2*Math.log(d)/Math.LN10},cnvFrom:function(d){return Math.pow(10,d/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(d){return Math.log(d)/Math.LN2},cnvFrom:function(d){return Math.pow(2,d)}},this.funcs["100tan"]={cnvTo:function(d){return 100*Math.tan(d)},cnvFrom:function(d){return Math.atan(d/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(d){return Math.sqrt(d)},cnvFrom:function(d){return d*d}},this.funcs.inv={cnvTo:function(d){return 1/d},cnvFrom:function(d){return 1/d}},this.funcs.hpX={cnvTo:function(d){return-this.funcs.lg(d)},cnvFrom:function(d){return Math.pow(10,-d)}},this.funcs.hpC={cnvTo:function(d){return-this.func.ln(d)/this.funcs.ln(100)},cnvFrom:function(d){return Math.pow(100,-d)}},this.funcs.hpM={cnvTo:function(d){return-this.funcs.ln(d)/this.funcs.ln(1e3)},cnvFrom:function(d){return Math.pow(1e3,-d)}},this.funcs.hpQ={cnvTo:function(d){return-this.funcs.ln(d)/this.funcs.ln(5e4)},cnvFrom:function(d){return Math.pow(5e4,-d)}}}forName(d){d=d.toLowerCase();let g=this.funcs[d];if(null===g)throw new Error(`Requested function ${d} is not defined`);return g}isDefined(d){return d=d.toLowerCase(),null!==this.funcs[d]}};B.default=n},6361:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.isNumericString=function c(r){let h=""+r;return!isNaN(h)&&!isNaN(parseFloat(h))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let h={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){h.status="succeeded";let v=u.units.length;h.units=[];for(let b=0;b{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.ucumJsonDefs=B.UcumJsonDefs=void 0;var n=a(3407),c=a(8902),d=a(5744),g=a(7894),r=a(5601).DP;class h{loadJsonDefs(){const v=a(8210);if(v.prefixes=r(v.prefixes),v.units=r(v.units),0===g.UnitTables.getInstance().unitsCount()){let b=c.PrefixTables.getInstance(),p=v.prefixes,_=p.length;for(let D=0;D<_;D++){let S=new n.Prefix(p[D]);b.add(S)}let l=g.UnitTables.getInstance(),y=v.units,x=y.length;for(let D=0;D{"use strict";B.n=void 0;var c=a(8929),d=function r(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var p=g();if(p&&p.has(b))return p.get(b);var _={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in b)if(Object.prototype.hasOwnProperty.call(b,y)){var x=l?Object.getOwnPropertyDescriptor(b,y):null;x&&(x.get||x.set)?Object.defineProperty(_,y,x):_[y]=b[y]}return _.default=b,p&&p.set(b,_),_}(a(6361));function g(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return g=function(){return b},b}var h=a(9473).Ucum,f=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===f.getInstance().unitsCount()&&c.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=u.getInstance()}useHTMLInMessages(p){void 0===p&&(p=!0),this.uStrParser_.useHTMLInMessages(p)}useBraceMsgForEachString(p){void 0===p&&(p=!0),this.uStrParser_.useBraceMsgForEachString(p)}validateUnitString(p,_,l){void 0===_&&(_=!1),void 0===l&&(l="validate");let y=this.getSpecifiedUnit(p,l,_),x=y.unit,D={};return D=x?{status:y.origString===p?"valid":"invalid",ucumCode:y.origString,unit:{code:x.csCode_,name:x.name_,guidance:x.guidance_}}:{status:y.origString&&null!==y.origString?"invalid":"error",ucumCode:null},y.suggestions&&(D.suggestions=y.suggestions),D.msg=y.retMsg,D}convertUnitTo(p,_,l,y,x){void 0===y&&(y=!1),void 0===x&&(x=null);let D={status:"failed",toVal:null,msg:[]};if(p&&(p=p.trim()),(!p||""==p)&&(D.status="error",D.msg.push('No "from" unit expression specified.')),(null===_||isNaN(_)||"number"!=typeof _&&!d.isNumericString(_))&&(D.status="error",D.msg.push('No "from" value, or an invalid "from" value, was specified.')),l&&(l=l.trim()),(!l||""==l)&&(D.status="error",D.msg.push('No "to" unit expression specified.')),"error"!==D.status)try{let S=null,E=this.getSpecifiedUnit(p,"convert",y);S=E.unit,E.retMsg&&(D.msg=D.msg.concat(E.retMsg)),E.suggestions&&(D.suggestions={},D.suggestions.from=E.suggestions),S||D.msg.push(`Unable to find a unit for ${p}, so no conversion could be performed.`);let I=null;if(E=this.getSpecifiedUnit(l,"convert",y),I=E.unit,E.retMsg&&(D.msg=D.msg.concat(E.retMsg)),E.suggestions&&(D.suggestions||(D.suggestions={}),D.suggestions.to=E.suggestions),I||D.msg.push(`Unable to find a unit for ${l}, so no conversion could be performed.`),S&&I)try{if(x){if(0!==S.moleExp_&&0!==I.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(0===S.moleExp_&&0===I.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!S.isMoleMassCommensurable(I))throw new Error(`Sorry. ${p} cannot be converted to ${l}.`);D.toVal=0!==S.moleExp_?S.convertMolToMass(_,I,x):S.convertMassToMol(_,I,x)}else D.toVal=I.convertFrom(_,S);D.status="succeeded",D.fromUnit=S,D.toUnit=I}catch(X){D.status="failed",D.msg.push(X.message)}}catch(S){D.status=S.message==h.needMoleWeightMsg_?"failed":"error",D.msg.push(S.message)}return D}checkSynonyms(p){let _={};return null==p?(_.status="error",_.msg="No term specified for synonym search."):_=d.getSynonyms(p),_}getSpecifiedUnit(p,_,l){void 0===l&&(l=!1);let y={retMsg:[]};if(p){let x=f.getInstance();p=p.trim();let D=x.getUnitByCode(p);if(D)y.unit=D,y.origString=p;else try{let S=this.uStrParser_.parseString(p,_,l);y.unit=S[0],y.origString=S[1],S[2]&&(y.retMsg=S[2]),y.suggestions=S[3]}catch(S){console.log(`Unit requested for unit string ${p}.request unsuccessful; error thrown = `+S.message),y.retMsg.unshift(`${p} is not a valid unit. ${S.message}`)}}else y.retMsg.push("No unit string specified.");return y}commensurablesList(p){let _=[],l=null,y=this.getSpecifiedUnit(p,"validate",!1),x=y.unit;if(y.retMsg.length>0&&(_=y.retMsg),x){let D=null,S=x.getProperty("dim_");if(S){try{D=S.getProperty("dimVec_")}catch(E){_.push(E.message),"Dimension does not have requested property(dimVec_)"===E.message&&(D=null)}D&&(l=f.getInstance().getUnitsByDimension(D))}else _.push("No commensurable units were found for "+p)}else _.push(`Could not find unit ${p}.`);return[l,_]}}B.n=v,v.getInstance=function(){return new v}},2207:(Ie,B,a)=>{"use strict";B.ng=void 0,a(9473);var d=a(9741).n;B.ng=d,a(7894)},5744:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.Unit=void 0;var n=function r(p){return p&&p.__esModule?p:{default:p}}(a(5568)),c=function g(p){if(p&&p.__esModule)return p;if(null===p||"object"!=typeof p&&"function"!=typeof p)return{default:p};var _=d();if(_&&_.has(p))return _.get(p);var l={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in p)if(Object.prototype.hasOwnProperty.call(p,x)){var D=y?Object.getOwnPropertyDescriptor(p,x):null;D&&(D.get||D.set)?Object.defineProperty(l,x,D):l[x]=p[x]}return l.default=p,_&&_.set(p,l),l}(a(6361));function d(){if("function"!=typeof WeakMap)return null;var p=new WeakMap;return d=function(){return p},p}var u,h=a(9473).Ucum,f=a(1995).R,v=a(4864);class b{constructor(_={}){this.isBase_=_.isBase_||!1,this.name_=_.name_||"",this.csCode_=_.csCode_||"",this.ciCode_=_.ciCode_||"",this.property_=_.property_||"",this.magnitude_=_.magnitude_||1,this.dim_=null==_.dim_?new f:void 0!==_.dim_.dimVec_?new f(_.dim_.dimVec_):_.dim_ instanceof f?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new f(_.dim_):new f,this.printSymbol_=_.printSymbol_||null,this.class_=_.class_||null,this.isMetric_=_.isMetric_||!1,this.variable_=_.variable_||null,this.cnv_=_.cnv_||null,this.cnvPfx_=_.cnvPfx_||1,this.isSpecial_=_.isSpecial_||!1,this.isArbitrary_=_.isArbitrary_||!1,this.moleExp_=_.moleExp_||0,this.synonyms_=_.synonyms_||null,this.source_=_.source_||null,this.loincProperty_=_.loincProperty_||null,this.category_=_.category_||null,this.guidance_=_.guidance_||null,this.csUnitString_=_.csUnitString_||null,this.ciUnitString_=_.ciUnitString_||null,this.baseFactorStr_=_.baseFactorStr_||null,this.baseFactor_=_.baseFactor_||null,this.defError_=_.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new f),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(_){for(let l in _){let y="_"===!l.charAt(l.length-1)?l+"_":l;if(!this.hasOwnProperty(y))throw new Error(`Parameter error; ${l} is not a property of a Unit`);this[y]=_[l]}}clone(){let _=new b;return Object.getOwnPropertyNames(this).forEach(l=>{"dim_"===l?_.dim_=this.dim_?this.dim_.clone():null:_[l]=this[l]}),_}assign(_){Object.getOwnPropertyNames(_).forEach(l=>{"dim_"===l?this.dim_=_.dim_?_.dim_.clone():null:this[l]=_[l]})}equals(_){return this.magnitude_===_.magnitude_&&this.cnv_===_.cnv_&&this.cnvPfx_===_.cnvPfx_&&(null===this.dim_&&null===_.dim_||this.dim_.equals(_.dim_))}fullEquals(_){let l=Object.keys(this).sort(),y=Object.keys(_).sort(),x=l.length,D=x===y.length;for(let S=0;S0){let l=_.replace("/","!").replace(".","/").replace("!",".");switch(l.charAt(0)){case".":_=l.substr(1);break;case"/":_=l;break;default:_="/"+l}}return _}_concatStrs(_,l,y,x,D){return this._buildOneString(_,x,D)+l+this._buildOneString(y,x,D)}_buildOneString(_,l,y){let x="";return x=c.isNumericString(_)||"("===_.charAt(0)||"["===_.charAt(0)?_:/[./* ]/.test(_)?l+_+y:_,x}power(_){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let y=this.csCode_.match(/([./]|[^./]+)/g),x=y.length;for(let D=0;D=0;X--){let $=parseInt(S[X]);if(!v($)){if(("-"===S[X]||"+"===S[X])&&X--,X{"use strict";B.T=void 0;var c=function g(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var p=d();if(p&&p.has(b))return p.get(b);var _={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in b)if(Object.prototype.hasOwnProperty.call(b,y)){var x=l?Object.getOwnPropertyDescriptor(b,y):null;x&&(x.get||x.set)?Object.defineProperty(_,y,x):_[y]=b[y]}return _.default=b,p&&p.set(b,_),_}(a(6361));function d(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return d=function(){return b},b}var r=a(9473).Ucum,h=a(5744).Unit,f=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=f.getInstance(),this.pfxTabs_=u.getInstance(),this.openEmph_=r.openEmph_,this.closeEmph_=r.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}useHTMLInMessages(p){void 0===p||p?(this.openEmph_=r.openEmphHTML_,this.closeEmph_=r.closeEmphHTML_):(this.openEmph_=r.openEmph_,this.closeEmph_=r.closeEmph_)}useBraceMsgForEachString(p){this.bracesMsg_=void 0===p||p?r.bracesMsg_:""}parseString(p,_,l){if(""===(p=p.trim())||null===p)throw new Error("Please specify a unit expression to be validated.");"validate"===_?(this.vcMsgStart_=r.valMsgStart_,this.vcMsgEnd_=r.valMsgEnd_):(this.vcMsgStart_=r.cnvMsgStart_,this.vcMsgEnd_=r.cnvMsgEnd_),this.suggestions_=void 0===l||!1===l?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let y=p,x=[];if(p=this._getAnnotations(p),this.retMsg_.length>0)x[0]=null,x[1]=null;else{let S=null;for(S in r.specUnits_)for(;-1!==p.indexOf(S);)p=p.replace(S,r.specUnits_[S]);if(p.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");x=this._parseTheString(p,y);let E=x[0];(c.isIntegerUnit(E)||"number"==typeof E)&&(E=new h({csCode_:y,magnitude_:E,name_:y}),x[0]=E)}return x[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(x[3]=this.suggestions_),x}_parseTheString(p,_){let l=null,y=this.retMsg_.length>0,x=this._processParens(p,_);y=x[2];let D=[];if(!y){let S=this._makeUnitsArray(p=x[0],_=x[1]);if(y=S[2],!y){D=S[0],_=S[1];let E=D.length;for(let I=0;I=0){let $=this._getParensUnit(X,_);y||(y=$[1]),y||(D[I].un=$[0])}else{let $=this._makeUnit(X,_);null===$[0]?y=!0:(D[I].un=$[0],_=$[1])}}}}return y||(null===D[0]||" "===D[0]||null==D[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${_}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),y=!0),y||(l=this._performUnitArithmetic(D,_)),[l,_]}_getAnnotations(p){let _=p.indexOf("{");for(;_>=0;){let y=p.indexOf("}");if(y<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+p.substr(_)+this.closeEmph_),_=-1;else{let x=p.substring(_,y+1),D=this.annotations_.length.toString();p=p.replace(x,this.braceFlag_+D+this.braceFlag_),this.annotations_.push(x),_=p.indexOf("{")}}let l=p.indexOf("}");return l>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+p.substring(0,l+1)+this.closeEmph_),p}_processParens(p,_){let l=[],y=0,x=!1,D=this.parensUnits_.length,S=0;for(;""!==p&&!x;){let E=0,I=0,X=p.indexOf("(");if(X<0){let $=p.indexOf(")");if($>=0){let ee=`Missing open parenthesis for close parenthesis at ${p.substring(0,$+S)}${this.openEmph_}${p.substr($,1)}${this.closeEmph_}`;$0&&(l[y++]=p.substr(0,X));let ee=0,ie=X+1;for(;ie<$&&E!=I;ie++)"("===p[ie]?E+=1:")"===p[ie]&&(I+=1);if(E===I){ee=ie,l[y++]=this.parensFlag_+D.toString()+this.parensFlag_;let A=this._parseTheString(p.substring(X+1,ee-1),_);null===A[0]?x=!0:(_=A[1],this.parensUnits_[D++]=A[0],p=p.substr(ee),S=ee)}else l.push(_.substr(X)),this.retMsg_.push(`Missing close parenthesis for open parenthesis at ${_.substring(0,X+S)}${this.openEmph_}${_.substr(X,1)}${this.closeEmph_}${_.substr(X+1)}`),x=!0}}return x&&(this.parensUnits_=[]),[l.join(""),_,x]}_makeUnitsArray(p,_){let l=p.match(/([./]|[^./]+)/g),y=!1,x=[],D=/(^[0-9]+)(\[?[a-zA-Z\_0-9a-zA-Z\_]+\]?$)/;if("/"===l[0]?l.unshift("1"):"."===l[0]&&(this.retMsg_.push(`${_} is not a valid UCUM code. The multiplication operator at the beginning of the expression is not valid. A multiplication operator must appear only between two codes.`),y=!0),!y){if(!c.isNumericString(l[0])){let S=l[0].match(D);if(S&&3===S.length&&""!==S[1]&&""!==S[2]&&0!==S[2].indexOf(this.braceFlag_)){let E=S[2];if(!y&&-1!==S[2].indexOf(this.parensFlag_)){let I=this._getParensUnit(S[2],_);S[2]=I[0].csCode_,E=`(${S[2]})`,y=I[1]}y||(this.retMsg_.push(`${S[1]}${E} is not a valid UCUM code. ${this.vcMsgStart_}${S[1]}.${E}${this.vcMsgEnd_}`),_=_.replace(`${S[1]}${E}`,`${S[1]}.${E}`),l[0]=S[2],l.unshift(S[1],"."))}}if(!y){let S=l.length;x=[{op:"",un:l[0]}];for(let E=1;E0&&(I=p.substr(0,E-1));let X=p.lastIndexOf(this.parensFlag_),$=null;X+this.pFlagLen_=0){let ie=this._getAnnoText(I,_);if(ie[1]||ie[2])throw new Error(`Text found before the parentheses (${I}) included an annotation along with other text for parenthetical unit ${x.csCode_}`);this.retMsg_.push(`The annotation ${ie[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(p+=ie[0])+this.vcMsgEnd_)}else this.suggestions_?l="succeeded"!==this._getSuggestions(I):(this.retMsg_.push(`${I} preceding the unit code ${p} is invalid. Unable to make a substitution.`),l=!0);if($)if($.indexOf(this.braceFlag_)>=0){let ie=this._getAnnoText($,_);if(ie[1]||ie[2])throw new Error(`Text found after the parentheses (${$}) included an annotation along with other text for parenthetical unit ${x.csCode_}`);p+=ie[0]}else c.isNumericString($)?(p+=$,x=x.power(Number($)),this.retMsg_.push(`An exponent (${$}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+p+this.vcMsgEnd_)):this.suggestions_?l="succeeded"!==this._getSuggestions(I):(this.retMsg_.push(`Text ${$} following the unit code ${p} is invalid. Unable to make a substitution.`),l=!0);return l||(x?c.isIntegerUnit(x)?x=new h({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new h({csCode_:p,magnitude_:1,name_:p})),[x,l]}_getAnnoText(p,_){let l=p.indexOf(this.braceFlag_),y=l>0?p.substring(0,l):null;0!==l&&(p=p.substr(l));let x=p.indexOf(this.braceFlag_,1),D=x+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${S} found in ${p} that was created from ${_}`);return[p=this.annotations_[E],y,D]}_getSuggestions(p){let _=c.getSynonyms(p);if("succeeded"===_.status){let l={};l.msg=`${p} is not a valid UCUM code. We found possible units that might be what was meant:`,l.invalidUnit=p;let y=_.units.length;l.units=[];for(let x=0;x=0){let y=this._getUnitWithAnnotation(p,_);l=y[0],l&&(_=y[1])}else{if(p.indexOf("^")>-1){let y=p.replace("^","*");l=this.utabs_.getUnitByCode(y),l&&(l=l.clone(),l.csCode_=l.csCode_.replace("*","^"),l.ciCode_=l.ciCode_.replace("*","^"))}if(!l){let y="["+p+"]";l=this.utabs_.getUnitByCode(y),l&&(l=l.clone(),_=_.replace(p,y),this.retMsg_.push(`${p} is not a valid unit expression, but ${y} is.\n`+this.vcMsgStart_+`${y} (${l.name_})${this.vcMsgEnd_}`))}if(!l){let y=this.utabs_.getUnitByName(p);if(y&&y.length>0){l=y[0].clone();let x="The UCUM code for "+p+" is "+l.csCode_+".\n"+this.vcMsgStart_+l.csCode_+this.vcMsgEnd_,D=!1;for(let I=0;I"+Ae+"",csCode_:Re+Ae,ciCode_:U+Ae,printSymbol_:Me+""+Ae+""})}}else l=null,this.suggestions_?this._getSuggestions(y):this.retMsg_.push(`${y} is not a valid UCUM code.`)}}return[l,_]}_getUnitWithAnnotation(p,_){let l=null,y=this._getAnnoText(p,_),x=y[0],D=y[1],S=y[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let E=this.retMsg_.length;if(D||S)if(D&&!S)if(c.isIntegerUnit(D))l=D;else{let I=this._makeUnit(D,_);I[0]?(l=I[0],l.csCode_+=x,_=I[1]):this.retMsg_.push(`Unable to find a unit for ${D} that precedes the annotation ${x}.`)}else if(!D&&S)if(c.isIntegerUnit(S))l=S+x,this.retMsg_.push(`The annotation ${x} before the ``${S} is invalid.\n`+this.vcMsgStart_+l+this.vcMsgEnd_);else{let I=this._makeUnit(S,_);I[0]?(l=I[0],l.csCode_+=x,_=l.csCode_,this.retMsg_.push(`The annotation ${x} before the unit code is invalid.\n`+this.vcMsgStart_+l.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${D} that follows the annotation ${x}.`)}else this.retMsg_.push(`Unable to find a unit for ${D}${x}${S}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let I="["+x.substring(1,x.length-1)+"]",X=this._makeUnit(I,_);X[0]?(l=X[0],_=_.replace(x,I),this.retMsg_.push(`${x} is not a valid unit expression, but ${I} is.\n`+this.vcMsgStart_+`${I} (${l.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>E&&this.retMsg_.pop(),p=1,l=1)}return[l,_]}_performUnitArithmetic(p,_){let l=p[0].un;c.isIntegerUnit(l)&&(l=new h({csCode_:l,magnitude_:Number(l),name_:l}));let y=p.length,x=!1;for(let D=1;D{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.UnitTables=void 0;var n=a(9473).Ucum,d=new class c{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(h){h.name_&&this.addUnitName(h),this.addUnitCode(h),this.addUnitString(h);try{h.dim_.getProperty("dimVec_")&&this.addUnitDimension(h)}catch{}}addUnitName(h){let f=h.name_;if(!f)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${h.csCode_}.`);this.unitNames_[f]?this.unitNames_[f].push(h):this.unitNames_[f]=[h]}addUnitCode(h){let f=h.csCode_;if(!f)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[f])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${f}`);if(this.unitCodes_[f]=h,this.codeOrder_.push(f),"g"==f){let u=h.dim_.dimVec_,v=0;for(;v=1&&(u=h.substr(f+n.codeSep_.length),h=h.substr(0,f));let v=this.unitNames_[h];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=f),"dim_"===h[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[h[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(h,f){void 0===h&&(h=!1),void 0===f&&(f="|");let u="",v=this.codeOrder_.length,b="csCode"+f;h&&(b+="ciCode"+f),b+="name"+f,h&&(b+="isBase"+f),b+="magnitude"+f+"dimension"+f+"from unit(s)"+f+"value"+f+"function"+f,h&&(b+="property"+f+"printSymbol"+f+"synonyms"+f+"source"+f+"class"+f+"isMetric"+f+"variable"+f+"isSpecial"+f+"isAbitrary"+f),b+="comment",u=b+"\n";for(let p=0;p{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.AppComponent=void 0;const n=a(655),r=(a(7088),a(9515),a(5187),n.__importStar(a(5879))),h=n.__importStar(a(9515)),f=n.__importStar(a(7088)),u=n.__importStar(a(5187)),v=n.__importStar(a(4505)),b=n.__importStar(a(617)),p=n.__importStar(a(6718)),_=n.__importStar(a(1274));B.AppComponent=(()=>{class y{constructor(D,S,E){D.setDefaultLang("de"),D.use(D.getBrowserLang());const I=new URLSearchParams(window.location.search);I.has("code")&&I.has("state")&&E.navigate(["/mag"],{queryParams:{code:I.get("code"),state:I.get("state")}});let X=location.origin+location.pathname;X.endsWith("/")?X+="fhir":X+="/fhir",console.log("note: using fhir base "+X),S.changeMagMicroService(X)}}return y.\u0275fac=function(D){return new(D||y)(r.\u0275\u0275directiveInject(h.TranslateService),r.\u0275\u0275directiveInject(f.FhirConfigService),r.\u0275\u0275directiveInject(u.Router))},y.\u0275cmp=r.\u0275\u0275defineComponent({type:y,selectors:[["app-root"]],decls:38,vars:1,consts:[["color","primary","role","header"],["routerLink","/",1,"home-link"],[1,"logo-container"],["src","assets/mag_weiss.svg"],[1,"example-fill-remaining-space"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","routerLink","/"],["mat-menu-item","","routerLink","/CapabilityStatement"],["mat-menu-item","","routerLink","/mag"],["mat-menu-item","","routerLink","/patients"],["mat-menu-item","","routerLink","/settings"],[1,"mat-typography"]],template:function(D,S){if(1&D&&(r.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),r.\u0275\u0275element(3,"img",3),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(4,"span",4),r.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),r.\u0275\u0275text(8,"more_vert"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),r.\u0275\u0275text(13,"home"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(14,"span"),r.\u0275\u0275text(15,"Home"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),r.\u0275\u0275text(18,"info"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(19,"span"),r.\u0275\u0275text(20,"CapabilityStatement"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),r.\u0275\u0275text(23,"search"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(24,"span"),r.\u0275\u0275text(25,"Mobile Access Gateway ..."),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),r.\u0275\u0275text(28,"people"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(29,"span"),r.\u0275\u0275text(30,"search Patients ..."),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),r.\u0275\u0275text(33,"settings"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(34,"span"),r.\u0275\u0275text(35,"Settings"),r.\u0275\u0275elementEnd()()()()(),r.\u0275\u0275elementStart(36,"main",12),r.\u0275\u0275element(37,"router-outlet"),r.\u0275\u0275elementEnd()),2&D){const E=r.\u0275\u0275reference(10);r.\u0275\u0275advance(6),r.\u0275\u0275property("matMenuTriggerFor",E)}},dependencies:[v.MatLegacyButton,b.MatIcon,p.MatLegacyMenu,p.MatLegacyMenuItem,p.MatLegacyMenuTrigger,_.MatToolbar,u.RouterOutlet,u.RouterLink],styles:[".example-fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}mat-toolbar[_ngcontent-%COMP%]{padding-left:0}mat-toolbar[_ngcontent-%COMP%] .home-link[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:flex;height:100%;width:160px;justify-content:center;align-items:center}mat-toolbar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:calc(100% - 1.2em)}main[_ngcontent-%COMP%]{width:100%;margin:0 auto}@media screen and (min-width: 1020px){main[_ngcontent-%COMP%]{padding:3rem 0;width:1000px}}"]}),y})()},8629:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.AppModule=B.createTranslateLoader=void 0;const n=a(655),c=a(9862),d=a(5187),g=a(9515),r=a(5061),h=a(6401),f=a(6938),u=a(6459),v=a(8290),b=a(3835),p=a(6208),_=a(9949),l=a(5152),y=a(6381),x=n.__importStar(a(5879)),I=(n.__importStar(a(5187)),n.__importStar(a(9515)),n.__importStar(a(6381)),[{path:"",component:u.HomeComponent},{path:"patients",component:v.PatientsComponent},{path:"CapabilityStatement",component:f.CapabilityStatementComponent},{path:"settings",component:b.SettingsComponent},{path:"mag",component:l.MagComponent}]);function X(ee){return new r.TranslateHttpLoader(ee,"./assets/i18n/",".json")}B.createTranslateLoader=X,B.AppModule=(()=>{class ee{}return ee.\u0275fac=function(A){return new(A||ee)},ee.\u0275mod=x.\u0275\u0275defineNgModule({type:ee,bootstrap:[h.AppComponent]}),ee.\u0275inj=x.\u0275\u0275defineInjector({providers:[{provide:_.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>n.__importStar(a(6548))),lineNumbersLoader:()=>Promise.resolve().then(()=>n.__importStar(a(4028))),languages:{json:()=>Promise.resolve().then(()=>n.__importStar(a(5454))),xml:()=>Promise.resolve().then(()=>n.__importStar(a(5149)))}}}],imports:[p.SharedModule,c.HttpClientModule,_.HighlightModule,d.RouterModule.forRoot(I,{useHash:!0}),g.TranslateModule.forRoot({loader:{provide:g.TranslateLoader,useFactory:X,deps:[c.HttpClient]}}),y.OAuthModule.forRoot()]}),ee})()},6938:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.CapabilityStatementComponent=void 0;const n=a(655),d=(a(7088),n.__importStar(a(5879))),g=n.__importStar(a(7088)),r=n.__importStar(a(6814)),h=n.__importStar(a(9025)),f=n.__importStar(a(4187)),u=n.__importStar(a(9949));function v(_,l){if(1&_&&(d.\u0275\u0275elementStart(0,"li"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_){const y=l.$implicit;d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate1(" ",y.diagnostics," ")}}function b(_,l){if(1&_&&(d.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),d.\u0275\u0275template(2,v,2,1,"li",3),d.\u0275\u0275elementEnd()()),2&_){const y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("ngForOf",y.operationOutcome.issue)}}B.CapabilityStatementComponent=(()=>{class _{constructor(y){this.data=y,this.client=y.getMobileAccessGatewayClient(),this.client.capabilityStatement().then(x=>{this.operationOutcome=void 0,this.capabilitystatement=x}).catch(x=>{this.capabilitystatement=void 0,this.operationOutcome=x.response.data})}getJson(){return JSON.stringify(this.capabilitystatement,null,2)}ngOnInit(){}ngOnDestroy(){}}return _.\u0275fac=function(y){return new(y||_)(d.\u0275\u0275directiveInject(g.FhirConfigService))},_.\u0275cmp=d.\u0275\u0275defineComponent({type:_,selectors:[["app-capability-statement"]],decls:8,vars:4,consts:[[1,"display"],[3,"highlight","lineNumbers"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(y,x){1&y&&(d.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(5,"pre"),d.\u0275\u0275element(6,"code",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(7,b,3,1,"mat-error",2),d.\u0275\u0275elementEnd()()),2&y&&(d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate(x.client.baseUrl),d.\u0275\u0275advance(2),d.\u0275\u0275property("highlight",x.getJson())("lineNumbers",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",x.operationOutcome))},dependencies:[r.NgForOf,r.NgIf,h.MatLegacyCard,h.MatLegacyCardHeader,h.MatLegacyCardContent,h.MatLegacyCardTitle,f.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const c=a(655),d=c.__importDefault(a(8907)),g=c.__importStar(a(5879));B.FhirConfigService=(()=>{class h{constructor(){}changeFhirMicroService(u){localStorage.setItem("fhirMicroServer",u)}changeMagMicroService(u){localStorage.setItem("magMicroService",u)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}getMobileAccessGatewayIDPEnumerationUrl(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/idps")}getMobileAccessGatewayLoginUrl(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/authorize")}getMobileAccessGatewayTokenEndpoint(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/token")}getMobileAccessGatewayAssertionEndpoint(){return localStorage.getItem("magMicroService").replace("/fhir","/camel/assertion")}getRedirectUri(){return location.origin+location.pathname+"#/mag"}getClientId(){return this.getRedirectUri().indexOf("localhost")>=0?"matchboxdev":"matchbox"}getClientSecret(){return"cd8455fc-e294-465a-8c86-35ae468c6b2f"}getFhirClient(){return new d.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new d.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfigFromMetadata(u){var v=this;return n(function*(){const b=yield fetch(u).then(p=>p.json());return console.log(b),{loginUrl:b.authorization_endpoint,tokenEndpoint:b.token_endpoint,clientId:v.getClientSecret(),redirectUri:location.origin+location.pathname,responseType:"code",showDebugInformation:!0,timeoutFactor:.75}})()}getAuthCodeFlowConfig(u){const v=u?"/alias/"+u:"";return{loginUrl:this.getMobileAccessGatewayLoginUrl()+v,redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint()+v,clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return h.\u0275fac=function(u){return new(u||h)},h.\u0275prov=g.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},7973:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirPathService=void 0;const n=a(655),c=a(8921),d=n.__importStar(a(5879));B.FhirPathService=(()=>{class r{evaluate(f,u){return(0,c.evaluate)(f,u,null)}evaluateToString(f,u){const v=this.evaluate(f,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(f){return this.evaluateToString(f,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(f){return this.evaluateToString(f,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(f){return new(f||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},6459:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.HomeComponent=void 0;const c=a(655),g=(a(5187),c.__importDefault(a(4147))),r=c.__importStar(a(5879)),h=c.__importStar(a(5187)),f=c.__importStar(a(9025)),u=c.__importStar(a(617)),v=c.__importStar(a(6718));B.HomeComponent=(()=>{class p{constructor(l){this.router=l,this.version=g.default.version}update(l){}tabChanged(l){console.log("tabChangeEvent => ",l),console.log("index => ",l.index),this.update(l.index)}ngOnInit(){var l=this;return n(function*(){l.update(0)})()}}return p.\u0275fac=function(l){return new(l||p)(r.\u0275\u0275directiveInject(h.Router))},p.\u0275cmp=r.\u0275\u0275defineComponent({type:p,selectors:[["app-home"]],decls:17,vars:1,consts:[[1,"primary"],["mat-menu-item","","routerLink","/mag"],["mat-menu-item","","routerLink","/settings"],["href","https://www.ahdis.ch"]],template:function(l,y){1&l&&(r.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),r.\u0275\u0275text(4,"search"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"span"),r.\u0275\u0275text(6,"Mobile Access Gateway ..."),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),r.\u0275\u0275text(9,"settings"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"span"),r.\u0275\u0275text(11,"Settings"),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(12,"mat-card-footer")(13,"p"),r.\u0275\u0275text(14),r.\u0275\u0275elementStart(15,"a",3),r.\u0275\u0275text(16,"contact"),r.\u0275\u0275elementEnd()()()()),2&l&&(r.\u0275\u0275advance(14),r.\u0275\u0275textInterpolate1("version: ",y.version," "))},dependencies:[f.MatLegacyCard,f.MatLegacyCardContent,f.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,h.RouterLink],styles:[".mat-card.primary[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{display:flex;flex-direction:column}.mat-card.primary[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .mat-subheading-2[_ngcontent-%COMP%]{margin:1rem 0 0}.mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] mat-tab-body>div{box-shadow:0 0 5px -3px #000 inset}.mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}.mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-top:1rem;margin:0}"]}),p})()},5152:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.MagComponent=B.toLocaleDateTime=B.toLocaleTime=B.toLocaleHHMM=B.toLocaleDate=void 0;const c=a(655),r=(a(5879),a(7088),a(6223)),f=(a(7973),a(9862)),u=a(5918),v=a(9256),b=a(2214),p=a(6381),l=(a(5187),c.__importStar(a(5879))),y=c.__importStar(a(7088)),x=c.__importStar(a(7973)),D=c.__importStar(a(9862)),S=c.__importStar(a(6381)),E=c.__importStar(a(5187)),I=c.__importStar(a(6814)),X=c.__importStar(a(6223)),$=c.__importStar(a(4505)),ee=c.__importStar(a(9025)),ie=c.__importStar(a(4187)),A=c.__importStar(a(617)),U=c.__importStar(a(2400)),Me=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),he=c.__importStar(a(9009));function H(dt,bt){1&dt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",44),l.\u0275\u0275elementContainerEnd())}function W(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",30),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Oe);const ot=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ot.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275element(2,"br"),l.\u0275\u0275text(3,"\xa0"),l.\u0275\u0275element(4,"br"),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==Oe.patient.name[0]?null:Oe.patient.name[0].given," ",null==Oe.patient.name[0]?null:Oe.patient.name[0].family,", ",Oe.patient.birthDate," ")}}function we(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,pe,5,3,"div",3),l.\u0275\u0275elementStart(2,"div")(3,"mat-form-field",1)(4,"mat-label"),l.\u0275\u0275text(5,"sourceIdentifier system"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(6,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(7," \xa0 "),l.\u0275\u0275elementStart(8,"mat-form-field",1)(9,"mat-label"),l.\u0275\u0275text(10,"sourceIdentifier value"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(11,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(12,"div")(13,"mat-form-field",1)(14,"mat-label"),l.\u0275\u0275text(15,"managingOrganization oid"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(16,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(17," \xa0 "),l.\u0275\u0275elementStart(18,"mat-form-field",1)(19,"mat-label"),l.\u0275\u0275text(20,"managingOrganization name"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(21,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(22,"mat-card-actions")(23,"button",4),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Oe);const ot=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ot.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",Oe.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",Oe.sourceManagingOrganizationName)}}function Ee(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"option",45),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275property("value",Oe.id),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",Oe.name," ")}}function Be(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",46),l.\u0275\u0275elementEnd()()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",Oe.getScopes())}}function G(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function re(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",Oe.content[0].attachment.title," ")}}function se(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function ye(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",48),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",Oe.description," ")}}function He(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",49),l.\u0275\u0275text(1,"Content-Type"),l.\u0275\u0275elementEnd())}function Ze(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",49)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",Oe.content[0].attachment.contentType," ")}}function Qe(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",50),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function We(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"mat-cell",50)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",Oe.content[0].format.code," ")}}function tt(dt,bt){1&dt&&(l.\u0275\u0275elementStart(0,"mat-header-cell",51),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function Mt(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",51)(1,"button",52),l.\u0275\u0275listener("click",function(){const At=l.\u0275\u0275restoreView(Oe).$implicit,Nt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Nt.onRemove(At))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",52),l.\u0275\u0275listener("click",function(){const At=l.\u0275\u0275restoreView(Oe).$implicit,Nt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Nt.onReplace(At))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",52),l.\u0275\u0275listener("click",function(){const At=l.\u0275\u0275restoreView(Oe).$implicit,Nt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Nt.onDownloadDocumentReferenceAttachment(At))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ft(dt,bt){1&dt&&l.\u0275\u0275element(0,"mat-header-row")}function gt(dt,bt){1&dt&&l.\u0275\u0275element(0,"mat-row")}function Bt(dt,bt){1&dt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",44),l.\u0275\u0275elementContainerEnd())}function Tt(dt,bt){if(1&dt){const Oe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",30),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Oe);const ot=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ot.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function kt(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",Oe.replaceDocumentReference.identifier[0].value," ")}}function Le(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=bt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",Oe.descr,": ",Oe.existingUuid," -> ",Oe.newUuid," ")}}function ct(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Oe.errMsgAssignPatient)}}function ze(dt,bt){1&dt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",44),l.\u0275\u0275elementContainerEnd())}function at(dt,bt){if(1&dt&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&dt){const Oe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(Oe.errMsg)}}const N=function(){return["title","name","contentType","formatCode","action"]},oe=dt=>String(Math.floor(Math.abs(dt))).padStart(2,"0");function ue(dt){const bt=-dt.getTimezoneOffset(),Oe=bt>=0?"+":"-",ge=`${oe(bt/60)}:${oe(bt%60)}`;return`${(0,B.toLocaleDate)(dt)}T${(0,B.toLocaleTime)(dt)}${Oe}${ge}`}B.toLocaleDate=dt=>`${dt.getFullYear()}-${oe(dt.getMonth()+1)}-${oe(dt.getDate())}`,B.toLocaleHHMM=dt=>`${oe(dt.getHours())}:${oe(dt.getMinutes())}`,B.toLocaleTime=dt=>`${(0,B.toLocaleHHMM)(dt)}:${oe(dt.getSeconds())}`,B.toLocaleDateTime=ue,B.MagComponent=(()=>{class dt{constructor(Oe,ge,ot,At,Nt,zt){if(this.data=Oe,this.fhirPathService=ge,this.http=ot,this.cd=At,this.oauthService=Nt,this.router=zt,this.LS_OAUTH_CONF_KEY="magOAuthConf",this.searchGivenValue="",this.searchFamilyValue="",this.replaceUuids=new Array,this.pageIndex=0,this.dataSource=new b.MatLegacyTableDataSource,this.length=100,this.pageSize=10,this.inMhdQueryProgress=!1,this.inMhdUploadProgress=!1,this.inPixmProgress=!1,this.mag=Oe.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(ae=>this.setJson(JSON.stringify(ae,null,2))),this.sourceIdentifierSystem=new r.UntypedFormControl,this.sourceIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceIdentifierValue=new r.UntypedFormControl,this.sourceIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierValue","MAGMED001")),this.sourceAddIdentifierSystem=new r.UntypedFormControl,this.sourceAddIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceAddIdentifierValue=new r.UntypedFormControl,this.sourceAddIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierValue","MAGMED001")),this.sourceManagingOrganizationOid=new r.UntypedFormControl,this.sourceManagingOrganizationOid.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationOid","urn:oid:1.3.6.1.4.1.21367.2017.2.7.109")),this.sourceManagingOrganizationName=new r.UntypedFormControl,this.sourceManagingOrganizationName.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationName","TESTORG")),this.targetIdentifierSystem=new r.UntypedFormControl,this.targetIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifierSystem","urn:oid:2.16.756.5.30.1.191.1.0.2.1")),this.targetIdentifier2System=new r.UntypedFormControl,this.targetIdentifier2System.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifier2System","urn:oid:2.16.756.5.30.1.127.3.10.3")),this.serviceStartFrom=new r.UntypedFormControl,this.serviceStartFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartFrom","")),this.serviceStartTo=new r.UntypedFormControl,this.serviceStartTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartTo","")),this.serviceEndFrom=new r.UntypedFormControl,this.serviceEndFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndFrom","")),this.serviceEndTo=new r.UntypedFormControl,this.serviceEndTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndTo","")),this.authenticate=new r.UntypedFormControl,this.authenticate.setValue(this.getLocalStorageItemOrDefault("mag.authenticate","HCP")),this.provider=new r.UntypedFormControl,this.provider.setValue(this.getLocalStorageItemOrDefault("mag.provider","")),this.documentType=new r.UntypedFormControl,this.documentType.setValue(this.getLocalStorageItemOrDefault("mag.documentType","APPC")),this.documentConfidentiality=new r.UntypedFormControl,this.documentConfidentiality.setValue(this.getLocalStorageItemOrDefault("mag.documentConfidentiality","NORM")),this.targetIdentifierValue=this.getLocalStorageItemOrDefault("mag.targetIdentifierValue",""),this.targetIdentifier2Value=this.getLocalStorageItemOrDefault("mag.targetIdentifier2Value",""),this.targetId=this.getLocalStorageItemOrDefault("mag.targetId",""),this.iheSourceId=new r.UntypedFormControl,this.iheSourceId.setValue("urn:oid:2.16.756.5.30.1.145.20.1"),this.searchGiven=new r.UntypedFormControl,this.searchFamily=new r.UntypedFormControl,this.documentTitle=new r.UntypedFormControl,this.documentTitle.setValue(this.getLocalStorageItemOrDefault("mag.documentTitle","Titel")),this.documentDescription=new r.UntypedFormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentDescription","Description")),this.masterIdentifier=new r.UntypedFormControl,this.masterIdentifier.setValue((0,u.v4)()),this.creationTime=new r.UntypedFormControl,this.creationTime.setValue(ue(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=Oe,null!==localStorage.getItem(this.LS_OAUTH_CONF_KEY)){const ae=JSON.parse(localStorage.getItem(this.LS_OAUTH_CONF_KEY));this.oauthService.configure(ae),this.oauthService.tryLoginCodeFlow().then(Ce=>{this.scopes=this.oauthService.getGrantedScopes()})}this.oauthService.events.subscribe(ae=>{ae instanceof p.OAuthErrorEvent?console.error(ae):console.warn(ae)}),this.pdf="",this.replaceDocumentReference=null,this.http.get(this.data.getMobileAccessGatewayIDPEnumerationUrl(),{responseType:"json"}).subscribe({next:ae=>{this.idps=ae,this.provider.setValue(this.getLocalStorageItemOrDefault("mag.provider",""))},error:ae=>{this.idps=[{id:"",name:"Default"}],this.provider.setValue("")}})}cache(){this.setLocaleStorageItem("mag.sourceIdentifierSystem",this.sourceIdentifierSystem.value),this.setLocaleStorageItem("mag.sourceIdentifierValue",this.sourceIdentifierValue.value),this.setLocaleStorageItem("mag.targetIdentifierSystem",this.targetIdentifierSystem.value),this.setLocaleStorageItem("mag.targetIdentifier2System",this.targetIdentifier2System.value),this.setLocaleStorageItem("mag.targetIdentifierValue",this.targetIdentifierValue),this.setLocaleStorageItem("mag.targetIdentifier2Value",this.targetIdentifier2Value),this.setLocaleStorageItem("mag.targetId",this.targetId),this.setLocaleStorageItem("mag.authenticate",this.authenticate.value),this.setLocaleStorageItem("mag.provider",this.provider.value),this.setLocaleStorageItem("mag.documentType",this.documentType.value),this.setLocaleStorageItem("mag.documentConfidentiality",this.documentConfidentiality.value),this.setLocaleStorageItem("mag.sourceAddIdentifierSystem",this.sourceAddIdentifierSystem.value),this.setLocaleStorageItem("mag.sourceAddIdentifierValue",this.sourceAddIdentifierValue.value),this.setLocaleStorageItem("mag.sourceManagingOrganizationOid",this.sourceManagingOrganizationOid.value),this.setLocaleStorageItem("mag.sourceManagingOrganizationName",this.sourceManagingOrganizationName.value),this.setLocaleStorageItem("mag.serviceStartFrom",this.serviceStartFrom.value),this.setLocaleStorageItem("mag.serviceStartTo",this.serviceStartTo.value),this.setLocaleStorageItem("mag.serviceEndFrom",this.serviceEndFrom.value),this.setLocaleStorageItem("mag.serviceEndTo",this.serviceEndTo.value),this.setLocaleStorageItem("mag.languageCode",this.languageCode.value)}getLocalStorageItemOrDefault(Oe,ge){return localStorage.getItem(Oe)||ge}setLocaleStorageItem(Oe,ge){return localStorage.setItem(Oe,ge),ge}setJson(Oe){this.json=Oe}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(Oe){this.inPixmProgress=!1,this.setJson(JSON.stringify(Oe,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(Oe,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(Oe,"parameter.valueIdentifier.where(system='"+this.targetIdentifier2System.value+"').value"),null!=this.targetIdentifierValue&&null==this.targetIdentifier2Value&&"urn:oid:2.16.756.5.30.1.127.3.10.3"===this.sourceIdentifierSystem.value&&(this.targetIdentifier2Value=this.sourceIdentifierValue.value),this.targetId=this.fhirPathService.evaluateToString(Oe,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(Oe){this.inPixmProgress=!1,this.patient=Oe,this.setJson(JSON.stringify(Oe,null,2)),this.cache()}setPIXmFeedAddResult(Oe){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(Oe,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let Oe="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+Oe,resourceType:"Patient",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(ge=>this.setPixmQueryResult(ge)).catch(ge=>{this.setJson(JSON.stringify(ge,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const Oe=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:Oe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}})}onFetchPatient(){var Oe=this;return n(function*(){Oe.patient=void 0,Oe.inPixmProgress=!0,Oe.cache();try{Oe.patient=yield Oe.getPatient(),Oe.setPatientFetchResult(Oe.patient)}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.cache(),Oe.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let Oe={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ge={resourceType:"Organization",id:"org",identifier:[{system:this.sourceManagingOrganizationOid.value}],name:this.sourceManagingOrganizationName.value};null==this.patient.contained&&(this.patient.contained=new Array),this.patient.contained.push(ge),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:Oe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(ot=>this.setPIXmFeedAddResult(ot)).catch(ot=>{this.setJson(JSON.stringify(ot,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){var Oe=this;return n(function*(){Oe.cache(),Oe.scopes=null;const ge=yield Oe.fhirConfigService.getAuthCodeFlowConfigFromMetadata("https://ehealthsuisse.ihe-europe.net/iua-simulator/rest/ch/.well-known");console.log(ge),ge.scope=`person_id=${Oe.targetIdentifier2Value}^^^&2.16.756.5.30.1.127.3.10.3&ISO purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM subject_role=urn:oid:2.16.756.5.30.1.127.3.10.6|`,"HCP"===Oe.authenticate.value?(ge.scope+="HCP",localStorage.setItem(Oe.LS_OAUTH_CONF_KEY,JSON.stringify(ge)),Oe.oauthService.configure(ge),Oe.oauthService.initCodeFlow()):"Patient"===Oe.authenticate.value?(ge.scope+="PAT",localStorage.setItem(Oe.LS_OAUTH_CONF_KEY,JSON.stringify(ge)),Oe.oauthService.configure(ge),Oe.oauthService.initCodeFlow()):"TCU"===Oe.authenticate.value?Oe.getSamlToken().then(ot=>Oe.json=ot):console.error("Unknown authentication type")})()}onRenewToken(){this.oauthService.refreshToken().then(Oe=>console.log(Oe))}getAppcDocument(Oe,ge){return`Test policy setdescription emergencyurn:e-health-suisse:2022:policies:pmp:emedication-accessdescription hcp7601002860123urn:gs1:gln2027-02-03urn:e-health-suisse:2015:policies:exclusion-listdescription groupurn:oid:1.2.32032-01-01urn:e-health-suisse:2022:policies:pmp:emedication-access`}createAppc(){this.uploadBase64="",this.errMsgAssignPatient="",null!=this.targetIdentifier2Value?(this.uploadContentType="text/xml",this.documentTitle.setValue("Policy document"),this.documentType.setValue("APPC"),this.documentConfidentiality.setValue("NORM"),this.masterIdentifier.setValue("urn:uuid:"+(0,u.v4)()),this.xml=this.getAppcDocument(this.targetIdentifier2Value,this.masterIdentifier.value),this.setJson(this.xml)):this.errMsgAssignPatient="Error: select first Patient with PIXm Query"}getSimulatedSamlPmpAssertion(Oe,ge){return v.Base64.encode(`xua.hin.chUyqzdpLkYUMscBO0bEP6FwnKnlUscVCD70GL3uP6aSY=GFShEG4In1usnXJfapND3dvlNP9Nvw4MfuXHzauiKlqzfyGveiaoRvZMO3reKUw08ogOzEssNbOF uDwITr5LsH1sHJg3q85fWPNHjXJvC3eup1fIKvTs7YzxXkdWruF2ZeDJ970PuPJPc59ljSOA+UFx Z8ZaRINNp6FJcU3Xkqs=MIIDjTCCAvagAwIBAgICAI0wDQYJKoZIhvcNAQENBQAwRTELMAkGA1UEBhMCQ0gxDDAKBgNVBAoM A0lIRTEoMCYGA1UEAwwfZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldCBDQTAeFw0xOTA0MDEx MjQxMThaFw0yOTA0MDExMjQxMThaMCkxCzAJBgNVBAYTAkNIMQwwCgYDVQQKDANJSEUxDDAKBgNV BAMMA0lEUDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAhmmz4AEhbH+80Nf5QLjvP9/Cukcv rk5ONVZ9hQjz2OeBGBiW6TdKrwX6GIY0ue6zN6mRFuRycKi4A0aVWsO+s4ByQPsnnXx4JKXYGkoS ny7hgyxHxsEHiBZlMQLoqJ3jKYAR1SgLfdBEghAaDFEKF8hp8hwBMAp/WJY7eaZpXS0CAwEAAaOC AaYwggGiMB0GA1UdEQQWMBSCEmlkcC5paGUtZXVyb3BlLm5ldDBKBgNVHR8EQzBBMD+gPaA7hjlo dHRwczovL2VoZWFsdGhzdWlzc2UuaWhlLWV1cm9wZS5uZXQvZ3NzL2NybC8yMi9jYWNybC5jcmww SAYJYIZIAYb4QgEEBDsWOWh0dHBzOi8vZWhlYWx0aHN1aXNzZS5paGUtZXVyb3BlLm5ldC9nc3Mv Y3JsLzIyL2NhY3JsLmNybDBIBglghkgBhvhCAQMEOxY5aHR0cHM6Ly9laGVhbHRoc3Vpc3NlLmlo ZS1ldXJvcGUubmV0L2dzcy9jcmwvMjIvY2FjcmwuY3JsMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQD AgTwMBEGCWCGSAGG+EIBAQQEAwIF4DAdBgNVHQ4EFgQU4Kj/ojx2cO5W9/hOlSFUVh8jT1gwHwYD VR0jBBgwFoAUKJfv3d4xWGxW8oZG4hHkPjhxXy8wMwYDVR0lBCwwKgYIKwYBBQUHAwIGCCsGAQUF BwMEBgorBgEEAYI3FAICBggrBgEFBQcDATANBgkqhkiG9w0BAQ0FAAOBgQAvAQf3kRfC5hMAWFuK ZKV7fOLklivFoELOl96i9O29i5wCEeiClubfH9X7nnfvKukhWdi0MFkRZqgLRXN1iDY6iKC6MnZH TUN6qgskn6m3S0rsRXN8/My/EM+lmcFR1/IWhHtW+aERI0XoXR8GrY/QSmn3TWgHfO6qLdrUEfvV ew==${ge}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ge}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(Oe,ge,ot){return v.Base64.encode(`xua.hin.chUyqzdpLkYUMscBO0bEP6FwnKnlUscVCD70GL3uP6aSY=KedJuTob5gtvYx9qM3k3gm7kbLBwVbEQRl26S2tmXjqNND7MRGtoew==2000040030829urn:oid:1.3.6.1.4.1.343urn:e-health-suisse:token-audience:all-communitiesurn:oid:1.3.6.1.4.1.343urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified${ot}^^^&2.16.756.5.30.1.127.3.10.3&ISOOliver EggerCentre hospitalier universitaire vaudoisahdis agurn:oid:1.1.44.17.205urn:oid:2.16.756.5.30.1.145urn:oid:2.16.756.5.30.1.191.1.0`)}getEprikTcuAssertion(Oe){var ge=this;return n(function*(){const At=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),zt=yield(yield fetch(ge.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${Oe}^^^&2.16.756.5.30.1.127.3.10.3&ISO purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|AUTO subject_role=urn:oid:2.16.756.5.30.1.127.3.10.6|TCU principal_id=2000040030829 principal=Oliver+Egger`,Accept:"application/json;charset=UTF-8","Content-Type":"application/xml;charset=UTF-8"},body:At})).json();return Promise.resolve(zt.access_token)})()}setBundle(Oe){Oe?(this.bundle=Oe,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ge=>ge.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(Oe){this.setJson(JSON.stringify(Oe,null,2)),this.setBundle(Oe)}findDocumentReferences(){var Oe=this;return n(function*(){let ge={status:"current",_count:500,"patient.identifier":encodeURIComponent(Oe.targetIdentifierSystem.value+"|"+Oe.targetIdentifierValue)},ot=yield Oe.getSamlToken();return Oe.mag.search({resourceType:"DocumentReference",searchParams:ge,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+ot}}})})()}onFindDocumentReferences(){var Oe=this;return n(function*(){Oe.replaceDocumentReference=null,Oe.inMhdQueryProgress=!0,Oe.pdf="";try{const ge=yield Oe.findDocumentReferences();Oe.setDocumentReferenceResult(ge),Oe.inMhdQueryProgress=!1}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.setBundle(null),Oe.inMhdQueryProgress=!1}})()}findMedicationList(Oe){var ge=this;return n(function*(){let ot="patient.identifier="+encodeURIComponent(ge.targetIdentifierSystem.value+"|"+ge.targetIdentifierValue)+(Oe?"&format="+encodeURIComponent(Oe):"");ge.serviceStartFrom.value?.length>0&&(ot+=`&serviceStartFrom=${encodeURIComponent(ge.serviceStartFrom.value)}`),ge.serviceStartTo.value?.length>0&&(ot+=`&serviceStartTo=${encodeURIComponent(ge.serviceStartTo.value)}`),ge.serviceEndFrom.value?.length>0&&(ot+=`&serviceEndFrom=${encodeURIComponent(ge.serviceEndFrom.value)}`),ge.serviceEndTo.value?.length>0&&(ot+=`&serviceEndTo=${encodeURIComponent(ge.serviceEndTo.value)}`);const At=yield ge.getSamlToken();return ge.mag.operation({name:"$find-medication-list?status=current&"+ot,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+At}}})})()}onFindMedicationList(){var Oe=this;return n(function*(){Oe.pdf="",Oe.inMhdQueryProgress=!0,Oe.cache();try{const ge=yield Oe.findMedicationList();Oe.setDocumentReferenceResult(ge),ge.entry&&1==ge.entry.length&&(yield Oe.downloadDocumentReferenceAttachment(ge.entry[0].resource)),Oe.inMhdQueryProgress=!1}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.setBundle(null),Oe.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var Oe=this;return n(function*(){Oe.pdf="",Oe.inMhdQueryProgress=!0,Oe.cache();try{const ge=yield Oe.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(Oe.setDocumentReferenceResult(ge),ge.entry&&1==ge.entry.length){const ot=yield Oe.downloadDocumentReferenceAttachment(ge.entry[0].resource),At=JSON.parse(ot);Oe.pdf=Oe.fhirPathService.evaluateToString(At,"entry.resource.where(resourceType='Binary').data")}Oe.inMhdQueryProgress=!1}catch(ge){Oe.setJson(JSON.stringify(ge,null,2)),Oe.setBundle(null),Oe.inMhdQueryProgress=!1}})()}getSamlToken(){var Oe=this;return n(function*(){return"HCP"===Oe.authenticate.value||"Patient"===Oe.authenticate.value?Promise.resolve(Oe.oauthService.getAccessToken()):"TCU"===Oe.authenticate.value?Oe.getEprikTcuAssertion(Oe.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(Oe){var ge=this;return n(function*(){let At=(Oe.content&&Oe.content.length>0?Oe.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Nt=At.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const zt=Oe.content&&Oe.content.length>0?Oe.content[0].attachment?.contentType:"";if(ge.selectedDocumentReference=Oe,"application/pdf"===zt){const Ne=Oe.content&&Oe.content.length>0?Oe.content[0].attachment.title:"undefined",$e=ge,ae=yield ge.getSamlToken(),lt=yield(yield fetch(Nt,{cache:"no-store",headers:{Authorization:"Bearer "+ae,Accept:"application/pdf"}})).blob();return new Promise((_e,Ye)=>{let De=new FileReader;De.onload=()=>{$e.downloadPdf(De.result.toString(),Ne),_e(De.result)},De.onerror=Ye,De.readAsDataURL(lt)})}{const Ne=yield ge.getSamlToken(),ae={responseType:"text",headers:(new f.HttpHeaders).set("Authorization","Bearer "+Ne)};return new Promise((Ce,lt)=>{ge.http.get(At,ae).subscribe({next:_e=>{ge.xml=_e,ge.setJson(_e),Ce(ge.xml)},error:_e=>{lt(_e)}})})}})()}onReplace(Oe){var ge=this;return n(function*(){ge.replaceDocumentReference=Oe})()}onRemove(Oe){var ge=this;return n(function*(){ge.replaceDocumentReference=null;let ot={...Oe};ge.inMhdQueryProgress=!0,null==ot.extension&&(ot.extension=new Array),ot.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ge.iheSourceId.value}}),ot.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType",valueCodeableConcept:{coding:[{system:"http://snomed.info/sct",code:"71388002",display:"Procedure (procedure)"}],text:"Procedure (procedure)"}}),ot.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-deletionstatus",valueCoding:{system:"http://fhir.ch/ig/ch-epr-mhealth/CodeSysteme/ch-ehealth-codesystem-deletionstatus",code:"deletionRequested"}}),ot.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole",valueCoding:{system:"urn:oid:2.16.756.5.30.1.127.3.10.6",code:"HCP",display:"Healthcare professional"}});const At=yield ge.getSamlToken();try{let Nt=yield ge.mag.update({resourceType:"DocumentReference",id:ot.id,body:ot,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+At}}});ge.setJson(JSON.stringify(Nt,null,2)),ge.inMhdQueryProgress=!1,ge.onFindDocumentReferences()}catch(Nt){ge.setJson(JSON.stringify(Nt.response.data,null,2)),ge.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(Oe){var ge=this;return n(function*(){ge.replaceDocumentReference=null,ge.inMhdQueryProgress=!0,yield ge.downloadDocumentReferenceAttachment(Oe),ge.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(Oe,ge){const ot=document.createElement("a");ot.href=Oe,ot.download=`${ge}.pdf`,ot.click()}onPdf(){this.downloadPdf(`data:application/pdf;base64,${this.pdf}`,this.selectedDocumentReference.content&&this.selectedDocumentReference.content.length>0?this.selectedDocumentReference.content[0].attachment.title:"undefined")}generateOidFromUuid(){let ge=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ge).toString()}`}getDocumentReferenceType(){switch(this.documentType.value){case"APPC":case"PDF":case"PADV":return{coding:[{system:"http://snomed.info/sct",code:"419891008",display:"Record artifact"}]};case"MTP":return{coding:[{system:"http://snomed.info/sct",code:"761931002",display:"Medication treatment plan report (record artifact)"}]};case"DIS":return{coding:[{system:"http://snomed.info/sct",code:"294121000195110",display:"Medication dispense document (record artifact)"}]};case"PRE":return{coding:[{system:"http://snomed.info/sct",code:"761938008",display:"Medicinal Prescription record (record artifact)"}]}}return null}getDocumentConfidentiality(){switch(this.documentConfidentiality.value){case"NORM":return{coding:[{system:"http://snomed.info/sct",code:"17621005",display:"Normally accessible"}]};case"RESTRICTED":return{coding:[{system:"http://snomed.info/sct",code:"263856008",display:"Restricted accessible"}]};case"SECRET":return{coding:[{system:"urn:oid:2.16.756.5.30.1.127.3.4",code:"1141000195107",display:"Secret"}]}}return null}getDocumentReferenceCategory(){switch(this.documentType.value){case"APPC":return{coding:[{system:"http://snomed.info/sct",code:"371537001",display:"Consent report (record artifact)"}]};case"MTP":case"DIS":case"PRE":case"PADV":return{coding:[{system:"http://snomed.info/sct",code:"440545006",display:"Prescription record"}]};case"PDF":return{coding:[{system:"http://snomed.info/sct",code:"405624007",display:"Administrative documentation"}]}}return null}getDocumentReferenceContentFormat(){switch(this.documentType.value){case"APPC":return{system:"urn:oid:1.3.6.1.4.1.19376.1.2.3",code:"urn:ihe:iti:appc:2016:consent",display:"Advanced Patient Privacy Consents"};case"MTP":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:mtp:2022"};case"DIS":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:dis:2022"};case"PRE":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:pre:2022"};case"PADV":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:ch-emed:padv:2022"};case"PDF":return{system:"urn:oid:2.16.756.5.30.1.127.3.10.10",code:"urn:che:epr:EPR_Unstructured_Document"}}return null}addFile(Oe){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===Oe.contentType||Oe.name.endsWith(".json")||"text/xml"===Oe.contentType||Oe.name.endsWith(".xml"))this.addText(Oe);else{var ge=new FileReader;const ot=this;ge.readAsDataURL(Oe.blob),ge.onloadend=function(){let At=ge.result.toString();At.startsWith("data:application/pdf;base64,")&&(ot.uploadBase64=At.substring(28),ot.uploadContentType="application/pdf",ot.documentType.setValue("PDF"))}}}addText(Oe){const ge=new FileReader;ge.readAsText(Oe.blob);const ot=this;this.documentTitle.setValue(Oe.name),this.creationTime.setValue(ue(new Date)),ge.onload=()=>{("application/json"===Oe.contentType||Oe.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ge.result)),("text/xml"===Oe.contentType||Oe.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",ot.documentType.setValue("XML"),ot.xml=ge.result,ot.setJson(ot.xml))}}getResource(Oe,ge){return Oe.entry.filter(ot=>ot.fullUrl.endsWith(ge)).pop()?.resource}autoDetectFormat(Oe){this.documentType.setValue("JSON");const ge=JSON.parse(Oe);this.setJson(Oe),ge.hasOwnProperty("resourceType")&&"Bundle"===ge.resourceType&&this.autoDetectBundle(ge)}autoDetectBundle(Oe){if(this.creationTime.setValue(Oe.timestamp),this.masterIdentifier.setValue(Oe.identifier.value),"document"===Oe.type&&Oe.entry?.length>0){const ge=Oe.entry[0].resource,ot=ge.type.coding.find(At=>"http://snomed.info/sct"===At.system);if(ge.language&&this.languageCode.setValue(ge.language),!ot)return;switch(ot.code){case"761931002":return this.uploadBundle=Oe,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=Oe,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=Oe,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=Oe,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var Oe=this;return n(function*(){if(Oe.inMhdUploadProgress=!0,Oe.errMsgAssignPatient="",null==Oe.patient&&(Oe.patient=yield Oe.getPatient()),null==Oe.patient)return void(Oe.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==Oe.uploadBundle)return void(Oe.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ge=Oe.uploadBundle.entry.filter($e=>"Patient"===$e.resource.resourceType),ot={...Oe.patient};ot.identifier=Oe.patient.identifier.filter($e=>$e.system===Oe.sourceIdentifierSystem.value),ot.identifier.find($e=>$e.system===Oe.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},ot.name=Array(),ot.name[0]=Oe.patient.name[0],ge.forEach($e=>{const ae=$e.resource.id;$e.resource={...ot},$e.resource.id=ae});let At=JSON.stringify(Oe.uploadBundle,null,2);const Nt=Oe.uploadBundle.identifier.value,zt="urn:uuid:"+(0,u.v4)(),Ne=Oe.replaceUuids.findIndex($e=>$e.existingUuid==Nt);-1==Ne?Oe.replaceUuids.push({descr:Oe.documentType.value,existingUuid:Nt,newUuid:zt}):Oe.replaceUuids[Ne]={descr:Oe.documentType.value,existingUuid:Nt,newUuid:zt},Oe.replaceUuids.forEach($e=>At=At.split($e.existingUuid).join($e.newUuid)),Oe.masterIdentifier.setValue(zt),Oe.setJson(At),Oe.inMhdUploadProgress=!1})()}createMhdTransaction(){var Oe=this;return n(function*(){Oe.inMhdUploadProgress=!0;let ge={resourceType:"Bundle",meta:{profile:["http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle"]},type:"transaction",entry:[{fullUrl:"$1",resource:{resourceType:"Binary",contentType:"$1.2",data:"$2"},request:{method:"POST",url:"Binary"}},{fullUrl:"$3",resource:{resourceType:"List",extension:[],identifier:[{use:"official",system:"urn:ietf:rfc:3986",value:"$5"},{use:"usual",system:"urn:ietf:rfc:3986",value:"$6"}],status:"current",mode:"working",code:{coding:[{system:"http://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes",code:"submissionset",display:"SubmissionSet as a FHIR List"}]},subject:{reference:"$7"},date:"$8",entry:[{item:{reference:"#9"}}]},request:{method:"POST",url:"List"}},{fullUrl:"#9",resource:{resourceType:"DocumentReference",contained:[{resourceType:"Patient",id:"1",identifier:[{system:"$10",value:"$10"},{system:"$11",value:"$11"}]}],extension:[],masterIdentifier:{value:"$12"},identifier:[{use:"usual",system:"urn:ietf:rfc:3986",value:"$14"}],status:"current",category:[],subject:{reference:"#7"},relatesTo:[],author:[],date:"$8",description:"Upload",securityLabel:[],content:[{attachment:{contentType:"$1.2",language:"$1.3",url:"$1",creation:"$8"}}],context:{facilityType:{coding:[{system:"http://snomed.info/sct",code:"264358009",display:"General practice premises(environment)"}]},practiceSetting:{coding:[{system:"http://snomed.info/sct",code:"394802001",display:"General medicine(qualifier value)"}]},sourcePatientInfo:{reference:"#1"}}},request:{method:"POST",url:"DocumentReference"}}]},ot="urn:uuid:"+(0,u.v4)();ge.entry[0].fullUrl=ot;const At=ge.entry[0].resource;At.contentType=Oe.uploadContentType,At.data=Oe.uploadBase64?.length>0?Oe.uploadBase64:v.Base64.encode(Oe.json);let Nt=(0,u.v4)();ge.entry[1].fullUrl="urn:uid:"+Nt;const zt=ge.entry[1].resource;zt.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:Oe.iheSourceId.value}}),zt.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole",valueCoding:{system:"urn:oid:2.16.756.5.30.1.127.3.10.6",code:"HCP",display:"Healthcare professional"}}),zt.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType",valueCodeableConcept:{coding:[{system:"http://snomed.info/sct",code:"71388002",display:"Procedure (procedure)"}],text:"Procedure (procedure)"}});let Ne="urn:uuid:"+(0,u.v4)();zt.identifier[0].value=Ne;let $e="urn:oid:"+Oe.generateOidFromUuid();zt.identifier[1].value=$e,zt.subject.reference=Oe.targetId;let ae=ue(new Date);zt.date=ae;let Ce="urn:uuid:"+(0,u.v4)();zt.entry[0].item.reference=Ce,ge.entry[2].fullUrl=Ce;const lt=ge.entry[2].resource;lt.extension.push({url:"http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole",valueCoding:{system:"urn:oid:2.16.756.5.30.1.127.3.10.6",code:"HCP",display:"Healthcare professional"}}),null!=Oe.replaceDocumentReference?lt.relatesTo.push({code:"replaces",target:{reference:Oe.replaceDocumentReference.identifier[0].value}}):delete lt.relatesTo;const _e=lt.contained[0];if(_e.identifier[0].system=Oe.sourceIdentifierSystem.value,_e.identifier[0].value=Oe.sourceIdentifierValue.value,_e.identifier[1].system=Oe.targetIdentifierSystem.value,_e.identifier[1].value=Oe.targetIdentifierValue,Oe.patient&&(_e.birthDate=Oe.patient.birthDate,_e.gender=Oe.patient.gender,_e.name=Oe.patient.name,_e.address=Oe.patient.address),null!=Oe.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(Oe.documentType.value)){const K=Oe.uploadBundle.entry[0].resource;if(K?.author&&K.author[0].reference){const ve=Oe.getResource(Oe.uploadBundle,K.author[0].reference);if(ve&&"PractitionerRole"==ve.resourceType){let ut={...ve};delete ut.text,ut.id="practrole";const Pt=Oe.getResource(Oe.uploadBundle,ut.organization?.reference),qe=Oe.getResource(Oe.uploadBundle,ut.practitioner?.reference);if(Pt){let et={...Pt};et.id="org",delete et.text,ut.organization.reference="#org",lt.contained.push(et)}if(qe){let et={...qe};et.id="pract",delete et.text,ut.practitioner.reference="#pract",lt.contained.push(et)}lt.contained.push(ut),lt.author.push({reference:"#practrole"})}}}0==lt.author.length&&delete lt.author;let Ye=Oe.masterIdentifier.value.toLocaleLowerCase();lt.masterIdentifier.value=Ye;let De="urn:oid:"+Oe.generateOidFromUuid();lt.identifier[0].value=De,lt.subject.reference=Oe.targetId,lt.date=ae,lt.content[0].attachment.url=ot,lt.content[0].attachment.contentType=Oe.uploadContentType,lt.content[0].attachment.language=Oe.languageCode.value,lt.content[0].attachment.title=Oe.documentTitle.value;let F=ge.entry[2].resource;F.date=Oe.creationTime.value,F.type=Oe.getDocumentReferenceType(),F.category.push(Oe.getDocumentReferenceCategory()),F.content[0].format=Oe.getDocumentReferenceContentFormat(),F.content[0].attachment.creation=Oe.creationTime.value,F.description=Oe.documentDescription.value,F.securityLabel[0]=Oe.getDocumentConfidentiality();const V=yield Oe.getSamlToken();Oe.mag.transaction({body:ge,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+V}}}).then(K=>{Oe.setJson(JSON.stringify(K,null,2)),Oe.inMhdUploadProgress=!1}).catch(K=>{Oe.setJson(JSON.stringify(K,null,2)),Oe.inMhdUploadProgress=!1})})()}}return dt.\u0275fac=function(Oe){return new(Oe||dt)(l.\u0275\u0275directiveInject(y.FhirConfigService),l.\u0275\u0275directiveInject(x.FhirPathService),l.\u0275\u0275directiveInject(D.HttpClient),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(S.OAuthService),l.\u0275\u0275directiveInject(E.Router))},dt.\u0275cmp=l.\u0275\u0275defineComponent({type:dt,selectors:[["app-mag"]],decls:205,vars:40,consts:[[1,"display"],[1,"column50"],["matInput","",3,"formControl"],[4,"ngIf"],["mat-raised-button","","color","primary","type","submit",3,"click"],["matNativeControl","","required","",3,"formControl"],["value","Patient"],["value","HCP"],["value","TCU"],["matNativeControl","",3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"dataSource"],["table",""],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",4,"matCellDef"],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","contentType"],["class","contentType",4,"matHeaderCellDef"],["class","contentType",4,"matCellDef"],["matColumnDef","formatCode"],["class","formatCode",4,"matHeaderCellDef"],["class","formatCode",4,"matCellDef"],["matColumnDef","action"],["class","res",4,"matHeaderCellDef"],["class","res",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["mat-raised-button","","type","submit",3,"click"],[3,"addFiles"],["value","APPC"],["value","MTP"],["value","DIS"],["value","PRE"],["value","PADV"],["value","PDF"],["value","NORM"],["value","RESTRICTED"],["value","SECRET"],["href","https://profiles.ihe.net/ITI/MHD/4.0.2/StructureDefinition-ihe-sourceId.html"],[4,"ngFor","ngForOf"],[3,"highlight","lineNumbers"],["mode","indeterminate"],[3,"value"],[3,"highlight"],[1,"title"],[1,"name"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(Oe,ge){1&Oe&&(l.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),l.\u0275\u0275text(4,"Mobile Access Gateway - Patient Identifiers"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(5,"div")(6,"mat-form-field",1)(7,"mat-label"),l.\u0275\u0275text(8,"sourceIdentifier system"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(9,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(10," \xa0 "),l.\u0275\u0275elementStart(11,"mat-form-field",1)(12,"mat-label"),l.\u0275\u0275text(13,"sourceIdentifier value"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(14,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(15,"div")(16,"mat-form-field",1)(17,"mat-label"),l.\u0275\u0275text(18,"targetIdentifier system (MPI-ID)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(19,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(20),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(21,"div")(22,"mat-form-field",1)(23,"mat-label"),l.\u0275\u0275text(24,"targetIdentifier system (EPR-SPID)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(25,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(26),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(27,"div")(28,"div"),l.\u0275\u0275text(29),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(30,H,2,0,"ng-container",3),l.\u0275\u0275elementStart(31,"mat-card-actions")(32,"button",4),l.\u0275\u0275listener("click",function(){return ge.onPIXmQuery()}),l.\u0275\u0275text(33," PIXm Query "),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(34,W,3,0,"ng-container",3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(35,we,25,5,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(36,"mat-card",0)(37,"mat-card-content")(38,"mat-card-header")(39,"mat-card-title"),l.\u0275\u0275text(40,"Mobile Access Gateway - Authenticate"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(41,"div")(42,"mat-form-field",1)(43,"mat-label"),l.\u0275\u0275text(44,"Authenticate/Authorize"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(45,"select",5)(46,"option",6),l.\u0275\u0275text(47,"Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(48,"option",7),l.\u0275\u0275text(49,"HCP"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(50,"option",8),l.\u0275\u0275text(51,"TCU"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275text(52," \xa0 "),l.\u0275\u0275elementStart(53,"mat-form-field",1)(54,"mat-label"),l.\u0275\u0275text(55,"Provider"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(56,"select",9),l.\u0275\u0275template(57,Ee,2,2,"option",10),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275template(58,Be,3,1,"div",3),l.\u0275\u0275elementStart(59,"mat-card-actions")(60,"button",4),l.\u0275\u0275listener("click",function(){return ge.onAuthenticate()}),l.\u0275\u0275text(61," Authenticate "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(62,"button",4),l.\u0275\u0275listener("click",function(){return ge.onRenewToken()}),l.\u0275\u0275text(63," Renew the token "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(64,"mat-card",0)(65,"mat-card-content")(66,"mat-card-header")(67,"mat-card-title"),l.\u0275\u0275text(68,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(69,"mat-table",11,12),l.\u0275\u0275elementContainerStart(71,13),l.\u0275\u0275template(72,G,2,0,"mat-header-cell",14),l.\u0275\u0275template(73,re,3,1,"mat-cell",15),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(74,16),l.\u0275\u0275template(75,se,2,0,"mat-header-cell",17),l.\u0275\u0275template(76,ye,2,1,"mat-cell",18),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(77,19),l.\u0275\u0275template(78,He,2,0,"mat-header-cell",20),l.\u0275\u0275template(79,Ze,3,1,"mat-cell",21),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(80,22),l.\u0275\u0275template(81,Qe,2,0,"mat-header-cell",23),l.\u0275\u0275template(82,We,3,1,"mat-cell",24),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(83,25),l.\u0275\u0275template(84,tt,2,0,"mat-header-cell",26),l.\u0275\u0275template(85,Mt,10,0,"mat-cell",27),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(86,Ft,1,0,"mat-header-row",28),l.\u0275\u0275template(87,gt,1,0,"mat-row",29),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(88,Bt,2,0,"ng-container",3),l.\u0275\u0275elementStart(89,"mat-card-actions")(90,"button",30),l.\u0275\u0275listener("click",function(){return ge.onFindDocumentReferences()}),l.\u0275\u0275text(91," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(92,"div")(93,"mat-form-field",1)(94,"mat-label"),l.\u0275\u0275text(95,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(96,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(97," \xa0 "),l.\u0275\u0275elementStart(98,"mat-form-field",1)(99,"mat-label"),l.\u0275\u0275text(100,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(101,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(102,"div")(103,"mat-form-field",1)(104,"mat-label"),l.\u0275\u0275text(105,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(106,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(107," \xa0 "),l.\u0275\u0275elementStart(108,"mat-form-field",1)(109,"mat-label"),l.\u0275\u0275text(110,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(111,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(112,"mat-card-actions")(113,"button",30),l.\u0275\u0275listener("click",function(){return ge.onFindMedicationList()}),l.\u0275\u0275text(114," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(115,"button",30),l.\u0275\u0275listener("click",function(){return ge.onFindMedicationCard()}),l.\u0275\u0275text(116," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(117,Tt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(118,"mat-card",0)(119,"mat-card-content")(120,"mat-card-header")(121,"mat-card-title"),l.\u0275\u0275text(122,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(123,"app-upload",31),l.\u0275\u0275listener("addFiles",function(At){return ge.addFile(At)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(124,"div")(125,"mat-form-field",1)(126,"mat-label"),l.\u0275\u0275text(127,"Title"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(128,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(129,"div")(130,"mat-form-field",1)(131,"mat-label"),l.\u0275\u0275text(132,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(133,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(134,"div")(135,"mat-form-field",1)(136,"mat-label"),l.\u0275\u0275text(137,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(138,"select",5)(139,"option",32),l.\u0275\u0275text(140,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(141,"option",33),l.\u0275\u0275text(142,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(143,"option",34),l.\u0275\u0275text(144,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(145,"option",35),l.\u0275\u0275text(146,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"option",36),l.\u0275\u0275text(148,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(149,"option",37),l.\u0275\u0275text(150,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(151,"div")(152,"mat-form-field",1)(153,"mat-label"),l.\u0275\u0275text(154,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(155,"select",5)(156,"option",38),l.\u0275\u0275text(157,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(158,"option",39),l.\u0275\u0275text(159,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(160,"option",40),l.\u0275\u0275text(161,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(162,"div")(163,"mat-form-field",1)(164,"mat-label"),l.\u0275\u0275text(165,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(166,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(167,"div")(168,"mat-form-field",1)(169,"mat-label"),l.\u0275\u0275text(170,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(171,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(172,"div")(173,"mat-form-field",1)(174,"mat-label"),l.\u0275\u0275text(175,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(176,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(177,"div")(178,"mat-form-field",1)(179,"mat-label"),l.\u0275\u0275text(180,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(181,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(182,"\xa0 "),l.\u0275\u0275elementStart(183,"a",41),l.\u0275\u0275text(184,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(185,kt,2,1,"div",3),l.\u0275\u0275template(186,Le,2,3,"div",42),l.\u0275\u0275template(187,ct,2,1,"div",3),l.\u0275\u0275template(188,ze,2,0,"ng-container",3),l.\u0275\u0275elementStart(189,"div")(190,"button",30),l.\u0275\u0275listener("click",function(){return ge.assignMobileAccessPatient()}),l.\u0275\u0275text(191," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(192,"\xa0 "),l.\u0275\u0275elementStart(193,"button",30),l.\u0275\u0275listener("click",function(){return ge.createMhdTransaction()}),l.\u0275\u0275text(194," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(195,"button",30),l.\u0275\u0275listener("click",function(){return ge.createAppc()}),l.\u0275\u0275text(196," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(197,"mat-card",0)(198,"mat-card-content")(199,"mat-card-header")(200,"mat-card-title"),l.\u0275\u0275text(201,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(202,at,2,1,"div",3),l.\u0275\u0275elementStart(203,"pre"),l.\u0275\u0275element(204,"code",43),l.\u0275\u0275elementEnd()()()),2&Oe&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ge.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ge.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ge.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ge.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ge.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ge.authenticate),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ge.provider),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ge.idps),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.getScopes()),l.\u0275\u0275advance(11),l.\u0275\u0275property("dataSource",ge.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(38,N)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(39,N)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ge.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ge.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ge.documentTitle),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ge.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ge.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ge.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ge.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ge.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ge.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ge.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ge.getJson())("lineNumbers",!0))},dependencies:[I.NgForOf,I.NgIf,X.NgSelectOption,X.\u0275NgSelectMultipleOption,X.DefaultValueAccessor,X.SelectControlValueAccessor,X.NgControlStatus,X.RequiredValidator,X.FormControlDirective,$.MatLegacyButton,ee.MatLegacyCard,ee.MatLegacyCardHeader,ee.MatLegacyCardContent,ee.MatLegacyCardTitle,ee.MatLegacyCardActions,ie.MatLegacyFormField,ie.MatLegacyLabel,A.MatIcon,U.MatLegacyInput,Me.MatLegacyTable,Me.MatLegacyHeaderCellDef,Me.MatLegacyHeaderRowDef,Me.MatLegacyColumnDef,Me.MatLegacyCellDef,Me.MatLegacyRowDef,Me.MatLegacyHeaderCell,Me.MatLegacyCell,Me.MatLegacyHeaderRow,Me.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,he.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),dt})()},3068:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.PatientDetailComponent=void 0;const n=a(655),c=n.__importStar(a(5879)),d=n.__importStar(a(6814)),g=n.__importStar(a(9025));function r(f,u){if(1&f&&(c.\u0275\u0275elementStart(0,"mat-card",1)(1,"mat-card-content")(2,"pre"),c.\u0275\u0275text(3),c.\u0275\u0275pipe(4,"json"),c.\u0275\u0275elementEnd()()()),2&f){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class f{constructor(){}ngOnInit(){}}return f.\u0275fac=function(v){return new(v||f)},f.\u0275cmp=c.\u0275\u0275defineComponent({type:f,selectors:[["app-patient-detail"]],inputs:{patient:"patient"},decls:1,vars:1,consts:[["class","Patient",4,"ngIf"],[1,"Patient"]],template:function(v,b){1&v&&c.\u0275\u0275template(0,r,5,3,"mat-card",0),2&v&&c.\u0275\u0275property("ngIf",b.patient)},dependencies:[d.NgIf,g.MatLegacyCard,g.MatLegacyCardContent,d.JsonPipe]}),f})()},8290:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.PatientsComponent=void 0;const n=a(655),d=(a(7088),a(2214)),g=a(6223),r=a(1385),h=n.__importStar(a(5879)),f=n.__importStar(a(7088)),u=n.__importStar(a(6223)),v=n.__importStar(a(9025)),b=n.__importStar(a(4187)),p=n.__importStar(a(2400)),_=n.__importStar(a(9559)),l=n.__importStar(a(2214)),y=n.__importStar(a(3068));function x(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Family"),h.\u0275\u0275elementEnd())}function D(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Given"),h.\u0275\u0275elementEnd())}function E(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Birthdate"),h.\u0275\u0275elementEnd())}function X(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"Street"),h.\u0275\u0275elementEnd())}function ee(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(he,H){1&he&&(h.\u0275\u0275elementStart(0,"mat-header-cell"),h.\u0275\u0275text(1,"City"),h.\u0275\u0275elementEnd())}function A(he,H){if(1&he&&(h.\u0275\u0275elementStart(0,"mat-cell"),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&he){const W=H.$implicit,pe=h.\u0275\u0275nextContext();h.\u0275\u0275advance(1),h.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(he,H){1&he&&h.\u0275\u0275element(0,"mat-header-row")}function Me(he,H){if(1&he){const W=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"mat-row",16),h.\u0275\u0275listener("click",function(){const Ee=h.\u0275\u0275restoreView(W).$implicit,Be=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Be.selectRow(Ee))}),h.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class he{constructor(W){this.data=W,this.searched=!1,this.dataSource=new d.MatLegacyTableDataSource,this.length=100,this.pageSize=10,this.pageIndex=0,this.query={_count:this.pageSize,_summary:"true",_sort:"family"},this.pageSizeOptions=[this.pageSize],this.searchNameValue="",this.searchGivenValue="",this.searchFamilyValue="",this.client=W.getMobileAccessGatewayClient(),this.searchName=new g.UntypedFormControl,this.searchName.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(pe=>this.search()),this.searchGiven=new g.UntypedFormControl,this.searchGiven.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(pe=>this.search()),this.searchFamily=new g.UntypedFormControl,this.searchFamily.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(pe=>this.search()),this.search()}search(){let W={...this.query};this.searchName.value&&(W={...W,name:this.searchName.value}),this.searchFamily.value&&(W={...W,family:this.searchFamily.value}),this.searchGiven.value&&(W={...W,given:this.searchGiven.value}),this.client.search({resourceType:"Patient",searchParams:W}).then(pe=>(this.pageIndex=0,this.setBundle(pe),pe))}getPatientFamilyName(W){const pe=W.resource;return pe.name&&pe.name.length>0&&pe.name[0].family?pe.name[0].family:""}getPatientGivenNames(W){const pe=W.resource;return pe.name&&pe.name.length>0&&pe.name[0].given?W.resource.name[0].given.join(" "):""}getPatientBirthDate(W){const pe=W.resource;return pe.birthDate?pe.birthDate:""}getPatientAddressLines(W){const pe=W.resource;return pe.address&&pe.address.length>0&&pe.address[0].line?pe.address[0].line.join(", "):""}getPatientAddressCity(W){const pe=W.resource;return pe.address&&pe.address.length>0&&pe.address[0].city?pe.address[0].city:""}selectRow(W){this.client.read({resourceType:"Patient",id:W.resource.id}).then(Ee=>{this.selectedPatient=Ee})}goToPage(W){W.pageIndex>this.pageIndex?this.client.nextPage({bundle:this.bundle}).then(pe=>{this.pageIndex=W.pageIndex,this.setBundle(pe),console.log("next page called ")}):this.client.prevPage({bundle:this.bundle}).then(pe=>{this.pageIndex=W.pageIndex,this.setBundle(pe),console.log("previous page called ")})}setBundle(W){this.bundle=W,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry,this.selectedPatient=void 0}ngOnInit(){}}return he.\u0275fac=function(W){return new(W||he)(h.\u0275\u0275directiveInject(f.FhirConfigService))},he.\u0275cmp=h.\u0275\u0275defineComponent({type:he,selectors:[["app-patients"]],decls:40,vars:13,consts:[[1,"Search"],["matInput","",3,"formControl"],[1,"Patients"],[3,"dataSource"],["table",""],["matColumnDef","familyNameCol"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","givenNamesCol"],["matColumnDef","birthDateCol"],["matColumnDef","addressLinesCol"],["matColumnDef","addressCityCol"],[4,"matHeaderRowDef"],[3,"click",4,"matRowDef","matRowDefColumns"],[3,"pageIndex","length","pageSize","pageSizeOptions","page"],[3,"patient"],[3,"click"]],template:function(W,pe){1&W&&(h.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),h.\u0275\u0275text(4,"Name"),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(5,"input",1),h.\u0275\u0275elementEnd(),h.\u0275\u0275text(6," \xa0 "),h.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),h.\u0275\u0275text(9,"Family"),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(10,"input",1),h.\u0275\u0275elementEnd(),h.\u0275\u0275text(11," \xa0 "),h.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),h.\u0275\u0275text(14,"Given"),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(15,"input",1),h.\u0275\u0275elementEnd(),h.\u0275\u0275text(16," \xa0 "),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),h.\u0275\u0275elementContainerStart(21,5),h.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),h.\u0275\u0275template(23,D,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(24,8),h.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),h.\u0275\u0275template(26,E,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(27,9),h.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),h.\u0275\u0275template(29,X,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(30,10),h.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),h.\u0275\u0275template(32,ee,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275elementContainerStart(33,11),h.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),h.\u0275\u0275template(35,A,2,1,"mat-cell",7),h.\u0275\u0275elementContainerEnd(),h.\u0275\u0275template(36,U,1,0,"mat-header-row",12),h.\u0275\u0275template(37,Me,1,0,"mat-row",13),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(38,"mat-paginator",14),h.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),h.\u0275\u0275elementEnd()()(),h.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(h.\u0275\u0275advance(5),h.\u0275\u0275property("formControl",pe.searchName),h.\u0275\u0275advance(5),h.\u0275\u0275property("formControl",pe.searchFamily),h.\u0275\u0275advance(5),h.\u0275\u0275property("formControl",pe.searchGiven),h.\u0275\u0275advance(4),h.\u0275\u0275property("dataSource",pe.dataSource),h.\u0275\u0275advance(17),h.\u0275\u0275property("matHeaderRowDef",h.\u0275\u0275pureFunction0(11,Re)),h.\u0275\u0275advance(1),h.\u0275\u0275property("matRowDefColumns",h.\u0275\u0275pureFunction0(12,Re)),h.\u0275\u0275advance(1),h.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),h.\u0275\u0275advance(1),h.\u0275\u0275property("patient",pe.selectedPatient))},dependencies:[u.DefaultValueAccessor,u.NgControlStatus,u.FormControlDirective,v.MatLegacyCard,v.MatLegacyCardContent,b.MatLegacyFormField,b.MatLegacyLabel,p.MatLegacyInput,_.MatLegacyPaginator,l.MatLegacyTable,l.MatLegacyHeaderCellDef,l.MatLegacyHeaderRowDef,l.MatLegacyColumnDef,l.MatLegacyCellDef,l.MatLegacyRowDef,l.MatLegacyHeaderCell,l.MatLegacyCell,l.MatLegacyHeaderRow,l.MatLegacyRow,y.PatientDetailComponent]}),he})()},3835:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.SettingsComponent=void 0;const n=a(655),d=(a(7088),n.__importDefault(a(563))),r=(a(5187),n.__importStar(a(5879))),h=n.__importStar(a(7088)),f=n.__importStar(a(5187)),u=n.__importStar(a(6814)),v=n.__importStar(a(6223)),b=n.__importStar(a(4678)),p=n.__importStar(a(9025)),_=n.__importStar(a(4187)),l=n.__importStar(a(1798));function y(D,S){if(1&D&&(r.\u0275\u0275elementStart(0,"mat-option",2),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&D){const E=S.$implicit;r.\u0275\u0275property("value",E),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",E," ")}}B.SettingsComponent=(()=>{class D{constructor(E,I){this.data=E,this.router=I,this.mobileAccessGateways=["https://test.ahdis.ch/mag-cara/fhir","https://test.ahdis.ch/eprik-proxy-cara/camel/mag-cara/fhir","https://test.ahdis.ch/mag-pmp2/fhir","https://test.ahdis.ch/eprik-proxy-cara/camel/mag-pmp/fhir","https://test.ahdis.ch/mag-bfh/fhir","https://test.ahdis.ch/mag-test/fhir","https://test.ahdis.ch/mag-test-emedo/fhir","http://localhost:8080/matchbox/fhir","http://localhost:9090/mag-pmp2/fhir","http://localhost:9090/mag-cara/fhir","http://localhost:18002/eprik-proxy-cara/camel/mag-pmp/fhir"],this.client=E.getMobileAccessGatewayClient()}ngOnInit(){this.baseUrlMag=this.data.getMobileAccessGatewayService()}getMagSelectedValue(){return this.baseUrlMag}setMagSelectedValue(E){(0,d.default)("setting new server to "+E),this.data.changeMagMicroService(E)}}return D.\u0275fac=function(E){return new(E||D)(r.\u0275\u0275directiveInject(h.FhirConfigService),r.\u0275\u0275directiveInject(f.Router))},D.\u0275cmp=r.\u0275\u0275defineComponent({type:D,selectors:[["app-settings"]],decls:7,vars:2,consts:[["placeholder","Mobile Access Gateway","name","selectmag",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(E,I){1&E&&(r.\u0275\u0275elementStart(0,"mat-card")(1,"mat-card-content")(2,"form")(3,"mat-form-field")(4,"mat-select",0),r.\u0275\u0275listener("ngModelChange",function($){return I.setMagSelectedValue($)}),r.\u0275\u0275template(5,y,2,2,"mat-option",1),r.\u0275\u0275elementEnd()(),r.\u0275\u0275element(6,"br"),r.\u0275\u0275elementEnd()()()),2&E&&(r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",I.getMagSelectedValue()),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",I.mobileAccessGateways))},dependencies:[u.NgForOf,v.\u0275NgNoValidate,v.NgControlStatus,v.NgControlStatusGroup,v.NgModel,v.NgForm,b.MatLegacyOption,p.MatLegacyCard,p.MatLegacyCardContent,_.MatLegacyFormField,l.MatLegacySelect]}),D})()},6208:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.SharedModule=void 0;const n=a(655),c=a(6814),d=a(6223),g=a(349),r=a(6593),h=a(9241),f=a(4505),u=a(9025),v=a(4021),b=a(3680),p=a(5616),_=a(6385),l=a(4187),y=a(617),x=a(2400),D=a(6718),S=a(9559),E=a(1036),I=a(1798),X=a(1830),$=a(4433),ee=a(2214),ie=a(8615),A=a(1274),U=a(9515),Me=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,h.MatLegacyAutocompleteModule,f.MatLegacyButtonModule,u.MatLegacyCardModule,v.MatLegacyCheckboxModule,_.MatDividerModule,l.MatLegacyFormFieldModule,y.MatIconModule,x.MatLegacyInputModule,D.MatLegacyMenuModule,S.MatLegacyPaginatorModule,I.MatLegacySelectModule,$.MatLegacySliderModule,X.MatLegacySlideToggleModule,ee.MatLegacyTableModule,A.MatToolbarModule,ie.MatLegacyTabsModule,p.MatDatepickerModule,b.MatNativeDateModule,E.MatLegacyRadioModule,Me.MatLegacyProgressSpinnerModule];B.SharedModule=(()=>{class W{}return W.\u0275fac=function(we){return new(we||W)},W.\u0275mod=Re.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=Re.\u0275\u0275defineInjector({imports:[Ae,c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,h.MatLegacyAutocompleteModule,f.MatLegacyButtonModule,u.MatLegacyCardModule,v.MatLegacyCheckboxModule,_.MatDividerModule,l.MatLegacyFormFieldModule,y.MatIconModule,x.MatLegacyInputModule,D.MatLegacyMenuModule,S.MatLegacyPaginatorModule,I.MatLegacySelectModule,$.MatLegacySliderModule,X.MatLegacySlideToggleModule,ee.MatLegacyTableModule,A.MatToolbarModule,ie.MatLegacyTabsModule,p.MatDatepickerModule,b.MatNativeDateModule,E.MatLegacyRadioModule,Me.MatLegacyProgressSpinnerModule]}),W})()},9009:(Ie,B,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(B,"__esModule",{value:!0}),B.UploadComponent=void 0;const c=a(655),d=a(5879),g=c.__importStar(a(5879)),r=c.__importStar(a(4505)),h=c.__importStar(a(617));B.UploadComponent=(()=>{class u{constructor(){this.addFiles=new d.EventEmitter,this.dragCounter=0}checkStatus(b){if(!b.ok)throw new Error(`HTTP ${b.status} - ${b.statusText}`);return b}onDrop(b){b.preventDefault(),this.dragCounter=0;const p=b.target.files||b.dataTransfer.items;if(p)for(let l=0;l0))},dependencies:[r.MatLegacyButton,h.MatIcon],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.attachment-field[_ngcontent-%COMP%]{border-radius:5px;background:#e6e7e1}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%]{border-bottom:1px solid #dedede;display:flex;align-items:center;height:40px}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-name[_ngcontent-%COMP%]{flex:1;padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .attachment-size[_ngcontent-%COMP%]:last-child{margin-right:1rem}.attachment-field[_ngcontent-%COMP%] .attachment-entry[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;line-height:inherit}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]{text-align:center;padding:2rem;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%]:first-child{border-top-left-radius:5px;border-top-right-radius:5px}.attachment-field[_ngcontent-%COMP%] .drop-zone.file-over[_ngcontent-%COMP%]{background:#dadcd3;outline:solid #32a1ce}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{line-height:3rem}.attachment-field[_ngcontent-%COMP%] .drop-zone[_ngcontent-%COMP%] .bold-text[_ngcontent-%COMP%]{font-weight:700}"],changeDetection:0}),u})()},553:(Ie,B)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.environment=void 0,B.environment={production:!0}},4913:(Ie,B,a)=>{"use strict";const d=a(655).__importStar(a(6593)),g=a(5879),r=a(8629);a(553).environment.production&&(0,g.enableProdMode)(),d.platformBrowser().bootstrapModule(r.AppModule).catch(f=>console.log(f))},5899:Ie=>{function B(){}Ie.exports=B,Ie.exports.HttpsAgent=B},6357:(Ie,B,a)=>{const{Token:n}=a(6205),c=a(9042),{Interval:d}=a(9173);class g{}Ie.exports=class r extends g{constructor(f){super(),this.tokenSource=f,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(f){}reset(){this.seek(0)}seek(f){this.lazyInit(),this.index=this.adjustSeekIndex(f)}get(f){return this.lazyInit(),this.tokens[f]}consume(){let f=!1;if(f=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(f){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=f;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(f){return f}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(f){this.tokenSource=f,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(f,u){if(this.sync(f),f>=this.tokens.length)return-1;let v=this.tokens[f];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(f+=1),v=this.tokens[f]}return f}previousTokenOnChannel(f,u){for(;f>=0&&this.tokens[f].channel!==u;)f-=1;return f}getHiddenTokensToRight(f,u){if(void 0===u&&(u=-1),this.lazyInit(),f<0||f>=this.tokens.length)throw f+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(f+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(f+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(f,u){if(void 0===u&&(u=-1),this.lazyInit(),f<0||f>=this.tokens.length)throw f+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(f-1,c.DEFAULT_TOKEN_CHANNEL);return v===f-1?null:this.filterForChannel(v+1,f-1,u)}filterForChannel(f,u,v){const b=[];for(let p=f;p=this.tokens.length&&(v=this.tokens.length-1);let b="";for(let p=u;p{const n=a(6205).CommonToken;class c{}class d extends c{constructor(r){super(),this.copyText=void 0!==r&&r}create(r,h,f,u,v,b,p,_){const l=new n(r,h,u,v,b);return l.line=p,l.column=_,null!==f?l.text=f:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,h){const f=new n(null,r);return f.text=h,f}}d.DEFAULT=new d,Ie.exports=d},7456:(Ie,B,a)=>{const n=a(6205).Token,c=a(6357);Ie.exports=class d extends c{constructor(r,h){super(r),this.channel=void 0===h?n.DEFAULT_CHANNEL:h}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let h=this.index,f=1;for(;f<=r;)h=this.previousTokenOnChannel(h-1,this.channel),f+=1;return h<0?null:this.tokens[h]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let h=this.index,f=1;for(;f{const{Token:n}=a(6205);a(6419),a(9182),Ie.exports=class c{constructor(g,r){if(this.name="",this.strdata=g,this.decodeToUnicodeCodePoints=r||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let h=0;h=this._size)throw"cannot consume EOF";this._index+=1}LA(g){if(0===g)return 0;g<0&&(g+=1);const r=this._index+g-1;return r<0||r>=this._size?n.EOF:this.data[r]}LT(g){return this.LA(g)}mark(){return-1}release(g){}seek(g){this._index=g<=this._index?g:Math.min(g,this._size)}getText(g,r){if(r>=this._size&&(r=this._size-1),g>=this._size)return"";if(this.decodeToUnicodeCodePoints){let h="";for(let f=g;f<=r;f++)h+=String.fromCodePoint(this.data[f]);return h}return this.strdata.slice(g,r+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},9173:(Ie,B,a)=>{const{Token:n}=a(6205);class c{constructor(r,h){this.start=r,this.stop=h}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(h),this),this}reduce(r){if(r=f.stop?(this.intervals.splice(r+1,1),this.reduce(r)):h.stop>=f.start&&(this.intervals[r]=new c(h.start,f.stop),this.intervals.splice(r+1,1))}}complement(r,h){const f=new d;return f.addInterval(new c(r,h+1)),null!==this.intervals&&this.intervals.forEach(u=>f.removeRange(u)),f}contains(r){if(null===this.intervals)return!1;for(let h=0;hu.start&&r.stop=u.stop?(this.intervals.splice(h,1),h-=1):r.start":"'"+String.fromCharCode(f.start)+"'":"'"+String.fromCharCode(f.start)+"'..'"+String.fromCharCode(f.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let h=0;h":f.start.toString():f.start.toString()+".."+(f.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,h){const f=[];for(let u=0;u1?"{"+f.join(", ")+"}":f[0]}elementName(r,h,f){return f===n.EOF?"":f===n.EPSILON?"":r[f]||h[f]}get length(){return this.intervals.map(r=>r.length).reduce((r,h)=>r+h)}}Ie.exports={Interval:c,IntervalSet:d}},4589:(Ie,B,a)=>{const{Set:n,BitSet:c}=a(3340),{Token:d}=a(6205),{ATNConfig:g}=a(7745),{IntervalSet:r}=a(9173),{RuleStopState:h}=a(5516),{RuleTransition:f,NotSetTransition:u,WildcardTransition:v,AbstractPredicateTransition:b}=a(6850),{predictionContextFromRuleContext:p,PredictionContext:_,SingletonPredictionContext:l}=a(6185);class y{constructor(D){this.atn=D}getDecisionLookahead(D){if(null===D)return null;const S=D.transitions.length,E=[];for(let I=0;I{const{Token:n}=a(6205),c=a(9495),d=a(9882),{RecognitionException:g}=a(5858),{LexerNoViableAltException:r}=a(5858);class f extends c{constructor(v){super(),this._input=v,this._factory=d.DEFAULT,this._tokenFactorySourcePair=[this,v],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=n.DEFAULT_CHANNEL,this._type=n.INVALID_TYPE,this._modeStack=[],this._mode=f.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=f.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const v=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let b=!1;for(;;){this._type=n.INVALID_TYPE;let p=f.SKIP;try{p=this._interp.match(this._input,this._mode)}catch(_){if(!(_ instanceof g))throw console.log(_.stack),_;this.notifyListeners(_),this.recover(_)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=p),this._type===f.SKIP){b=!0;break}if(this._type!==f.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=f.SKIP}more(){this._type=f.MORE}mode(v){this._mode=v}pushMode(v){this._interp.debug&&console.log("pushMode "+v),this._modeStack.push(this._mode),this.mode(v)}popMode(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}emitToken(v){this._token=v}emit(){const v=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(v),v}emitEOF(){const p=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(p),p}getCharIndex(){return this._input.index}getAllTokens(){const v=[];let b=this.nextToken();for(;b.type!==n.EOF;)v.push(b),b=this.nextToken();return v}notifyListeners(v){const _=this._input.getText(this._tokenStartCharIndex,this._input.index),l="token recognition error at: '"+this.getErrorDisplay(_)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,l,v)}getErrorDisplay(v){const b=[];for(let p=0;p":"\n"===v?"\\n":"\t"===v?"\\t":"\r"===v?"\\r":v}getCharErrorDisplay(v){return"'"+this.getErrorDisplayForChar(v)+"'"}recover(v){this._input.LA(1)!==n.EOF&&(v instanceof r?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(v){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=v,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(v){this._type=v}get line(){return this._interp.line}set line(v){this._interp.line=v}get column(){return this._interp.column}set column(v){this._interp.column=v}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(v){this._text=v}}f.DEFAULT_MODE=0,f.MORE=-2,f.SKIP=-3,f.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,f.HIDDEN=n.HIDDEN_CHANNEL,f.MIN_CHAR_VALUE=0,f.MAX_CHAR_VALUE=1114111,Ie.exports=f},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:h}=a(2487),f=a(7499),u=a(2905),v=a(9042);class b extends c{constructor(l){super(),this.parser=l}enterEveryRule(l){console.log("enter "+this.parser.ruleNames[l.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(l){console.log("consume "+l.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(l){console.log("exit "+this.parser.ruleNames[l.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}Ie.exports=(()=>{class _ extends r{constructor(y){super(),this._input=null,this._errHandler=new h,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(y)}reset(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()}match(y){let x=this.getCurrentToken();return x.type===y?(this._errHandler.reportMatch(this),this.consume()):(x=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===x.tokenIndex&&this._ctx.addErrorNode(x)),x}matchWildcard(){let y=this.getCurrentToken();return y.type>0?(this._errHandler.reportMatch(this),this.consume()):(y=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===y.tokenIndex&&this._ctx.addErrorNode(y)),y}getParseListeners(){return this._parseListeners||[]}addParseListener(y){if(null===y)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(y)}removeParseListener(y){if(null!==this._parseListeners){const x=this._parseListeners.indexOf(y);x>=0&&this._parseListeners.splice(x,1),0===this._parseListeners.length&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(null!==this._parseListeners){const y=this._ctx;this._parseListeners.forEach(function(x){x.enterEveryRule(y),y.enterRule(x)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const y=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(x){y.exitRule(x),x.exitEveryRule(y)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(y){this._input.tokenSource._factory=y}getATNWithBypassAlts(){const y=this.getSerializedATN();if(null===y)throw"The current parser does not support an ATN with bypass alternatives.";let x=this.bypassAltsAtnCache[y];if(null===x){const D=new u;D.generateRuleBypassTransitions=!0,x=new f(D).deserialize(y),this.bypassAltsAtnCache[y]=x}return x}compileParseTreePattern(y,x,D){if(null===(D=D||null)&&null!==this.getTokenStream()){const E=this.getTokenStream().tokenSource;E instanceof v&&(D=E)}if(null===D)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(D,this).compile(y,x)}getInputStream(){return this.getTokenStream()}setInputStream(y){this.setTokenStream(y)}getTokenStream(){return this._input}setTokenStream(y){this._input=null,this.reset(),this._input=y}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(y,x,D){D=D||null,null===(x=x||null)&&(x=this.getCurrentToken()),this._syntaxErrors+=1;const S=x.line,E=x.column;this.getErrorListenerDispatch().syntaxError(this,x,S,E,y,D)}consume(){const y=this.getCurrentToken();y.type!==n.EOF&&this.getInputStream().consume();const x=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||x){let D;D=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(y):this._ctx.addTokenNode(y),D.invokingState=this.state,x&&this._parseListeners.forEach(function(S){D instanceof g||void 0!==D.isErrorNode&&D.isErrorNode()?S.visitErrorNode(D):D instanceof d&&S.visitTerminal(D)})}return y}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(y,x,D){this.state=x,this._ctx=y,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(y,x){y.setAltNumber(x),this.buildParseTrees&&this._ctx!==y&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(y)),this._ctx=y}getPrecedence(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(y,x,D,S){this.state=x,this._precedenceStack.push(S),this._ctx=y,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(y,x,D){const S=this._ctx;S.parentCtx=y,S.invokingState=x,S.stop=this._input.LT(-1),this._ctx=y,this._ctx.start=S.start,this.buildParseTrees&&this._ctx.addChild(S),this.triggerEnterRuleEvent()}unrollRecursionContexts(y){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const x=this._ctx,D=this.getParseListeners();if(null!==D&&D.length>0)for(;this._ctx!==y;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=y;x.parentCtx=y,this.buildParseTrees&&null!==y&&y.addChild(x)}getInvokingContext(y){let x=this._ctx;for(;null!==x;){if(x.ruleIndex===y)return x;x=x.parentCtx}return null}precpred(y,x){return x>=this._precedenceStack[this._precedenceStack.length-1]}inContext(y){return!1}isExpectedToken(y){const x=this._interp.atn;let D=this._ctx,E=x.nextTokens(x.states[this.state]);if(E.contains(y))return!0;if(!E.contains(n.EPSILON))return!1;for(;null!==D&&D.invokingState>=0&&E.contains(n.EPSILON);){if(E=x.nextTokens(x.states[D.invokingState].transitions[0].followState),E.contains(y))return!0;D=D.parentCtx}return!(!E.contains(n.EPSILON)||y!==n.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const y=this._interp.atn;return y.nextTokens(y.states[this.state])}getRuleIndex(y){const x=this.getRuleIndexMap()[y];return null!==x?x:-1}getRuleInvocationStack(y){null===(y=y||null)&&(y=this._ctx);const x=[];for(;null!==y;){const D=y.ruleIndex;x.push(D<0?"n/a":this.ruleNames[D]),y=y.parentCtx}return x}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let y=!1;for(let x=0;x0&&(y&&console.log(),this.printer.println("Decision "+D.decision+":"),this.printer.print(D.toString(this.literalNames,this.symbolicNames)),y=!0)}}getSourceName(){return this._input.sourceName}setTrace(y){y?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new b(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return _.bypassAltsAtnCache={},_})()},7293:(Ie,B,a)=>{const n=a(13),c=a(5829),d=c.INVALID_INTERVAL,g=c.TerminalNode,r=c.TerminalNodeImpl,h=c.ErrorNodeImpl,f=a(9173).Interval;class u extends n{constructor(p,_){super(p=p||null,_=_||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(p){this.parentCtx=p.parentCtx,this.invokingState=p.invokingState,this.children=null,this.start=p.start,this.stop=p.stop,p.children&&(this.children=[],p.children.map(function(_){_ instanceof h&&(this.children.push(_),_.parentCtx=this)},this))}enterRule(p){}exitRule(p){}addChild(p){return null===this.children&&(this.children=[]),this.children.push(p),p}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(p){const _=new r(p);return this.addChild(_),_.parentCtx=this,_}addErrorNode(p){const _=new h(p);return this.addChild(_),_.parentCtx=this,_}getChild(p,_){if(null===this.children||p<0||p>=this.children.length)return null;if(null===(_=_||null))return this.children[p];for(let l=0;l=this.children.length)return null;for(let l=0;l{const n=a(13),{Hash:c,Map:d,equalArrays:g}=a(3340);class r{constructor(I){this.cachedHashCode=I}isEmpty(){return this===r.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===r.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(I){I.update(this.cachedHashCode)}}r.EMPTY=null,r.EMPTY_RETURN_STATE=2147483647,r.globalNodeCount=1,r.id=r.globalNodeCount;class f extends r{constructor(I,X){let $=0;const ee=new c;null!==I?ee.update(I,X):ee.update(1),$=ee.finish(),super($),this.parentCtx=I,this.returnState=X}getParent(I){return this.parentCtx}getReturnState(I){return this.returnState}equals(I){return this===I||I instanceof f&&this.hashCode()===I.hashCode()&&this.returnState===I.returnState&&(null==this.parentCtx?null==I.parentCtx:this.parentCtx.equals(I.parentCtx))}toString(){const I=null===this.parentCtx?"":this.parentCtx.toString();return 0===I.length?this.returnState===r.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+I}get length(){return 1}static create(I,X){return X===r.EMPTY_RETURN_STATE&&null===I?r.EMPTY:new f(I,X)}}class u extends f{constructor(){super(null,r.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(I){return null}getReturnState(I){return this.returnState}equals(I){return this===I}toString(){return"$"}}r.EMPTY=new u;class v extends r{constructor(I,X){const $=new c;return $.update(I,X),super($.finish()),this.parents=I,this.returnStates=X,this}isEmpty(){return this.returnStates[0]===r.EMPTY_RETURN_STATE}getParent(I){return this.parents[I]}getReturnState(I){return this.returnStates[I]}equals(I){return this===I||I instanceof v&&this.hashCode()===I.hashCode()&&g(this.returnStates,I.returnStates)&&g(this.parents,I.parents)}toString(){if(this.isEmpty())return"[]";{let I="[";for(let X=0;X0&&(I+=", "),this.returnStates[X]!==r.EMPTY_RETURN_STATE?(I+=this.returnStates[X],null!==this.parents[X]?I=I+" "+this.parents[X]:I+="null"):I+="$";return I+"]"}}get length(){return this.returnStates.length}}Ie.exports={merge:function p(E,I,X,$){if(E===I)return E;if(E instanceof f&&I instanceof f)return function _(E,I,X,$){if(null!==$){let ie=$.get(E,I);if(null!==ie||(ie=$.get(I,E),null!==ie))return ie}const ee=function l(E,I,X){if(X){if(E===r.EMPTY||I===r.EMPTY)return r.EMPTY}else{if(E===r.EMPTY&&I===r.EMPTY)return r.EMPTY;if(E===r.EMPTY)return new v([I.parentCtx,null],[I.returnState,r.EMPTY_RETURN_STATE]);if(I===r.EMPTY)return new v([E.parentCtx,null],[E.returnState,r.EMPTY_RETURN_STATE])}return null}(E,I,X);if(null!==ee)return null!==$&&$.set(E,I,ee),ee;if(E.returnState===I.returnState){const ie=p(E.parentCtx,I.parentCtx,X,$);if(ie===E.parentCtx)return E;if(ie===I.parentCtx)return I;const A=f.create(ie,E.returnState);return null!==$&&$.set(E,I,A),A}{let ie=null;if((E===I||null!==E.parentCtx&&E.parentCtx===I.parentCtx)&&(ie=E.parentCtx),null!==ie){const Re=[E.returnState,I.returnState];E.returnState>I.returnState&&(Re[0]=I.returnState,Re[1]=E.returnState);const he=new v([ie,ie],Re);return null!==$&&$.set(E,I,he),he}const A=[E.returnState,I.returnState];let U=[E.parentCtx,I.parentCtx];E.returnState>I.returnState&&(A[0]=I.returnState,A[1]=E.returnState,U=[I.parentCtx,E.parentCtx]);const Me=new v(U,A);return null!==$&&$.set(E,I,Me),Me}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof f&&(E=new v([E.getParent()],[E.returnState])),I instanceof f&&(I=new v([I.getParent()],[I.returnState])),function y(E,I,X,$){if(null!==$){let Ae=$.get(E,I);if(null!==Ae||(Ae=$.get(I,E),null!==Ae))return Ae}let ee=0,ie=0,A=0,U=[],Me=[];for(;ee{const{Token:n}=a(6205),{ConsoleErrorListener:c}=a(7967),{ProxyErrorListener:d}=a(7967);Ie.exports=(()=>{class r{constructor(){this._listeners=[c.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(f){"4.9.3"!==f&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+f)}addErrorListener(f){this._listeners.push(f)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const f=this.getLiteralNames(),u=this.getSymbolicNames(),v=f.length>u.length?f.length:u.length;this.tokenNames=[];for(let b=0;b";let u=f.text;return null===u&&(u=f.type===n.EOF?"":"<"+f.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(f,u,v){return!0}precpred(f,u){return!0}get state(){return this._stateNumber}set state(f){this._stateNumber=f}}return r.tokenTypeMapCache={},r.ruleIndexMapCache={},r})()},13:(Ie,B,a)=>{const{RuleNode:n}=a(5829),{INVALID_INTERVAL:c}=a(5829),d=a(5140);Ie.exports=class g extends n{constructor(h,f){super(),this.parentCtx=h||null,this.invokingState=f||-1}depth(){let h=0,f=this;for(;null!==f;)f=f.parentCtx,h+=1;return h}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(h){return h.getText()}).join("")}getAltNumber(){return 0}setAltNumber(h){}getChild(h){return null}getChildCount(){return 0}accept(h){return h.visitChildren(this)}toStringTree(h,f){return d.toStringTree(this,h,f)}toString(h,f){h=h||null,f=f||null;let u=this,v="[";for(;null!==u&&u!==f;){if(null===h)u.isEmpty()||(v+=u.invokingState);else{const b=u.ruleIndex;v+=b>=0&&b{let B=(()=>{class n{constructor(){this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}getTokenSource(){return this.source[0]}getInputStream(){return this.source[1]}get text(){return this._text}set text(d){this._text=d}}return n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1,n})();Ie.exports={Token:B,CommonToken:(()=>{class n extends B{constructor(d,g,r,h,f){super(),this.source=void 0!==d?d:n.EMPTY_SOURCE,this.type=void 0!==g?g:null,this.channel=void 0!==r?r:B.DEFAULT_CHANNEL,this.start=void 0!==h?h:-1,this.stop=void 0!==f?f:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=d[0].line,this.column=d[0].column):this.column=-1}clone(){const d=new n(this.source,this.type,this.channel,this.start,this.stop);return d.tokenIndex=this.tokenIndex,d.line=this.line,d.column=this.column,d.text=this.text,d}toString(){let d=this.text;return d=null!==d?d.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+d+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(null!==this._text)return this._text;const d=this.getInputStream();if(null===d)return null;const g=d.size;return this.start"}set text(d){this._text=d}}return n.EMPTY_SOURCE=[null,null],n})()}},3340:Ie=>{function B(l){return null===l?"null":l}function a(l){return Array.isArray(l)?"["+l.map(B).join(", ")+"]":"null"}function n(l,y){return l?l.equals(y):l==y}function c(l){return l?l.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const l=this.toString();let y,x;const D=3&l.length,S=l.length-D;let E=String.prototype.seed;const I=3432918353,X=461845907;let $=0;for(;$>>16)*I&65535)<<16)&4294967295,x=x<<15|x>>>17,x=(65535&x)*X+(((x>>>16)*X&65535)<<16)&4294967295,E^=x,E=E<<13|E>>>19,y=5*(65535&E)+((5*(E>>>16)&65535)<<16)&4294967295,E=27492+(65535&y)+((58964+(y>>>16)&65535)<<16);switch(x=0,D){case 3:x^=(255&l.charCodeAt($+2))<<16;case 2:x^=(255&l.charCodeAt($+1))<<8;case 1:x^=255&l.charCodeAt($),x=(65535&x)*I+(((x>>>16)*I&65535)<<16)&4294967295,x=x<<15|x>>>17,x=(65535&x)*X+(((x>>>16)*X&65535)<<16)&4294967295,E^=x}return E^=l.length,E^=E>>>16,E=2246822507*(65535&E)+((2246822507*(E>>>16)&65535)<<16)&4294967295,E^=E>>>13,E=3266489909*(65535&E)+((3266489909*(E>>>16)&65535)<<16)&4294967295,E^=E>>>16,E>>>0};class g{constructor(){this.data=[]}add(y){this.data[y]=!0}or(y){const x=this;Object.keys(y.data).map(function(D){x.add(D)})}remove(y){delete this.data[y]}contains(y){return!0===this.data[y]}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){const y=new u;return y.update(this.values()),y.finish()}equals(y){return y instanceof g&&this.hashCode()===y.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class r{constructor(y,x){this.data={},this.hashFunction=y||c,this.equalsFunction=x||n}put(y,x){const D="hash_"+this.hashFunction(y);if(D in this.data){const S=this.data[D];for(let E=0;E>>17,D*=461845907,this.count=this.count+1;let S=this.hash^D;S=S<<13|S>>>19,S=5*S+3864292196,this.hash=S}}}finish(){let y=this.hash^4*this.count;return y^=y>>>16,y*=2246822507,y^=y>>>13,y*=3266489909,y^=y>>>16,y}}Ie.exports={Hash:u,Set:class d{constructor(y,x){this.data={},this.hashFunction=y||c,this.equalsFunction=x||n}add(y){const D="hash_"+this.hashFunction(y);if(D in this.data){const S=this.data[D];for(let E=0;E{const n=a(4589),{IntervalSet:c}=a(9173),{Token:d}=a(6205);Ie.exports=(()=>{class r{constructor(f,u){this.grammarType=f,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(f,u){return new n(this).LOOK(f,null,u)}nextTokensNoContext(f){return null!==f.nextTokenWithinRule||(f.nextTokenWithinRule=this.nextTokensInContext(f,null),f.nextTokenWithinRule.readOnly=!0),f.nextTokenWithinRule}nextTokens(f,u){return void 0===u?this.nextTokensNoContext(f):this.nextTokensInContext(f,u)}addState(f){null!==f&&(f.atn=this,f.stateNumber=this.states.length),this.states.push(f)}removeState(f){this.states[f.stateNumber]=null}defineDecisionState(f){return this.decisionToState.push(f),f.decision=this.decisionToState.length-1,f.decision}getDecisionState(f){return 0===this.decisionToState.length?null:this.decisionToState[f]}getExpectedTokens(f,u){if(f<0||f>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[f]);if(!b.contains(d.EPSILON))return b;const p=new c;for(p.addSet(b),p.removeOne(d.EPSILON);null!==u&&u.invokingState>=0&&b.contains(d.EPSILON);)b=this.nextTokens(this.states[u.invokingState].transitions[0].followState),p.addSet(b),p.removeOne(d.EPSILON),u=u.parentCtx;return b.contains(d.EPSILON)&&p.addOne(d.EOF),p}}return r.INVALID_ALT_NUMBER=0,r})()},7745:(Ie,B,a)=>{const{DecisionState:n}=a(5516),{SemanticContext:c}=a(9454),{Hash:d}=a(3340);function g(f,u){if(null===f){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=f.state||null,v.alt=void 0===f.alt?null:f.alt,v.context=f.context||null,v.semanticContext=f.semanticContext||null,u&&(v.reachesIntoOuterContext=f.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=f.precedenceFilterSuppressed||!1),v}}class r{constructor(u,v){this.checkContext(u,v),u=g(u),v=g(v,!0),this.state=null!==u.state?u.state:v.state,this.alt=null!==u.alt?u.alt:v.alt,this.context=null!==u.context?u.context:v.context,this.semanticContext=null!==u.semanticContext?u.semanticContext:null!==v.semanticContext?v.semanticContext:c.NONE,this.reachesIntoOuterContext=v.reachesIntoOuterContext,this.precedenceFilterSuppressed=v.precedenceFilterSuppressed}checkContext(u,v){null==u.context&&(null===v||null==v.context)&&(this.context=null)}hashCode(){const u=new d;return this.updateHashCode(u),u.finish()}updateHashCode(u){u.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(u){return this===u||u instanceof r&&this.state.stateNumber===u.state.stateNumber&&this.alt===u.alt&&(null===this.context?null===u.context:this.context.equals(u.context))&&this.semanticContext.equals(u.semanticContext)&&this.precedenceFilterSuppressed===u.precedenceFilterSuppressed}hashCodeForConfigSet(){const u=new d;return u.update(this.state.stateNumber,this.alt,this.semanticContext),u.finish()}equalsForConfigSet(u){return this===u||u instanceof r&&this.state.stateNumber===u.state.stateNumber&&this.alt===u.alt&&this.semanticContext.equals(u.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==c.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class h extends r{constructor(u,v){return super(u,v),this.lexerActionExecutor=u.lexerActionExecutor||(null!==v?v.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==v&&this.checkNonGreedyDecision(v,this.state),this.hashCodeForConfigSet=h.prototype.hashCode,this.equalsForConfigSet=h.prototype.equals,this}updateHashCode(u){u.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(u){return this===u||u instanceof h&&this.passedThroughNonGreedyDecision===u.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(u.lexerActionExecutor):!u.lexerActionExecutor)&&super.equals(u)}checkNonGreedyDecision(u,v){return u.passedThroughNonGreedyDecision||v instanceof n&&v.nonGreedy}}Ie.exports.ATNConfig=r,Ie.exports.LexerATNConfig=h},4280:(Ie,B,a)=>{const n=a(9800),c=a(3340),{SemanticContext:d}=a(9454),{merge:g}=a(6185);function r(v){return v.hashCodeForConfigSet()}function h(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class f{constructor(b){this.configLookup=new c.Set(r,h),this.fullCtx=void 0===b||b,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(b,p){if(void 0===p&&(p=null),this.readOnly)throw"This set is readonly";b.semanticContext!==d.NONE&&(this.hasSemanticContext=!0),b.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const _=this.configLookup.add(b);if(_===b)return this.cachedHashCode=-1,this.configs.push(b),!0;const y=g(_.context,b.context,!this.fullCtx,p);return _.reachesIntoOuterContext=Math.max(_.reachesIntoOuterContext,b.reachesIntoOuterContext),b.precedenceFilterSuppressed&&(_.precedenceFilterSuppressed=!0),_.context=y,!0}getStates(){const b=new c.Set;for(let p=0;p{class B{constructor(n){void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions}}B.defaultOptions=new B,B.defaultOptions.readOnly=!0,Ie.exports=B},7499:(Ie,B,a)=>{const{Token:n}=a(6205),c=a(9800),d=a(8729),{ATNState:g,BasicState:r,DecisionState:h,BlockStartState:f,BlockEndState:u,LoopEndState:v,RuleStartState:b,RuleStopState:p,TokensStartState:_,PlusLoopbackState:l,StarLoopbackState:y,StarLoopEntryState:x,PlusBlockStartState:D,StarBlockStartState:S,BasicBlockStartState:E}=a(5516),{Transition:I,AtomTransition:X,SetTransition:$,NotSetTransition:ee,RuleTransition:ie,RangeTransition:A,ActionTransition:U,EpsilonTransition:Me,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:he}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:se,LexerPopModeAction:ye,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",We=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Mt=Qe;function Ft(kt,Le){const ct=[];return ct[kt-1]=Le,ct.map(function(ze){return Le})}const Tt=function Bt(){const kt=[];for(let Le=0;Le<256;Le++)kt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return kt}();Ie.exports=class gt{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,ct){const ze=We.indexOf(Le);return!(ze<0)&&We.indexOf(ct)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const ct=this.readATN();this.readStates(ct),this.readRules(ct),this.readModes(ct);const ze=[];return this.readSets(ct,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(ct,ze,this.readInt32.bind(this)),this.readEdges(ct,ze),this.readDecisions(ct),this.readLexerActions(ct),this.markPrecedenceDecisions(ct),this.verifyATN(ct),this.deserializationOptions.generateRuleBypassTransitions&&ct.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(ct),this.verifyATN(ct)),ct}reset(Le){const ze=Le.split("").map(function(at){const N=at.charCodeAt(0);return N>1?N-2:N+65534});ze[0]=Le.charCodeAt(0),this.data=ze,this.pos=0}checkVersion(){const Le=this.readInt();if(3!==Le)throw"Could not deserialize ATN with version "+Le+" (expected 3)."}checkUUID(){const Le=this.readUUID();if(We.indexOf(Le)<0)throw Mt;this.uuid=Le}readATN(){const Le=this.readInt(),ct=this.readInt();return new c(Le,ct)}readStates(Le){let ct,ze,at;const N=[],oe=[],Y=this.readInt();for(let ue=0;ue0;)N.addTransition(Q.transitions[ue-1]),Q.transitions=Q.transitions.slice(-1);Le.ruleToStartState[ct].addTransition(new Me(N)),oe.addTransition(new Me(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[ct])),N.addTransition(new Me(Te))}stateIsEndStateFor(Le,ct){if(Le.ruleIndex!==ct||!(Le instanceof x))return null;const ze=Le.transitions[Le.transitions.length-1].target;return ze instanceof v&&ze.epsilonOnlyTransitions&&ze.transitions[0].target instanceof p?Le:null}markPrecedenceDecisions(Le){for(let ct=0;ct=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,ct){if(!Le)throw null==ct&&(ct="IllegalState"),ct}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Le=[];for(let ct=7;ct>=0;ct--){const ze=this.readInt();Le[2*ct+1]=255&ze,Le[2*ct]=ze>>8&255}return Tt[Le[0]]+Tt[Le[1]]+Tt[Le[2]]+Tt[Le[3]]+"-"+Tt[Le[4]]+Tt[Le[5]]+"-"+Tt[Le[6]]+Tt[Le[7]]+"-"+Tt[Le[8]]+Tt[Le[9]]+"-"+Tt[Le[10]]+Tt[Le[11]]+Tt[Le[12]]+Tt[Le[13]]+Tt[Le[14]]+Tt[Le[15]]}edgeFactory(Le,ct,ze,at,N,oe,Y,ne){const Q=Le.states[at];switch(ct){case I.EPSILON:return new Me(Q);case I.RANGE:return new A(Q,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,Q);case I.PREDICATE:return new Ae(Q,N,oe,0!==Y);case I.PRECEDENCE:return new he(Q,N);case I.ATOM:return new X(Q,0!==Y?n.EOF:N);case I.ACTION:return new U(Q,N,oe,0!==Y);case I.SET:return new $(Q,ne[N]);case I.NOT_SET:return new ee(Q,ne[N]);case I.WILDCARD:return new Re(Q);default:throw"The specified transition type: "+ct+" is not valid."}}stateFactory(Le,ct){if(null===this.stateFactories){const ze=[];ze[g.INVALID_TYPE]=null,ze[g.BASIC]=()=>new r,ze[g.RULE_START]=()=>new b,ze[g.BLOCK_START]=()=>new E,ze[g.PLUS_BLOCK_START]=()=>new D,ze[g.STAR_BLOCK_START]=()=>new S,ze[g.TOKEN_START]=()=>new _,ze[g.RULE_STOP]=()=>new p,ze[g.BLOCK_END]=()=>new u,ze[g.STAR_LOOP_BACK]=()=>new y,ze[g.STAR_LOOP_ENTRY]=()=>new x,ze[g.PLUS_LOOP_BACK]=()=>new l,ze[g.LOOP_END]=()=>new v,this.stateFactories=ze}if(Le>this.stateFactories.length||null===this.stateFactories[Le])throw"The specified state type "+Le+" is not valid.";{const ze=this.stateFactories[Le]();if(null!==ze)return ze.ruleIndex=ct,ze}}lexerActionFactory(Le,ct,ze){if(null===this.actionFactories){const at=[];at[pe.CHANNEL]=(N,oe)=>new Ee(N),at[pe.CUSTOM]=(N,oe)=>new Be(N,oe),at[pe.MODE]=(N,oe)=>new He(N),at[pe.MORE]=(N,oe)=>G.INSTANCE,at[pe.POP_MODE]=(N,oe)=>ye.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new se(N),at[pe.SKIP]=(N,oe)=>we.INSTANCE,at[pe.TYPE]=(N,oe)=>new re(N),this.actionFactories=at}if(Le>this.actionFactories.length||null===this.actionFactories[Le])throw"The specified lexer action type "+Le+" is not valid.";return this.actionFactories[Le](ct,ze)}}},4675:(Ie,B,a)=>{const{DFAState:n}=a(5468),{ATNConfigSet:c}=a(4280),{getCachedPredictionContext:d}=a(6185),{Map:g}=a(3340);class r{constructor(f,u){return this.atn=f,this.sharedContextCache=u,this}getCachedContext(f){if(null===this.sharedContextCache)return f;const u=new g;return d(f,this.sharedContextCache,u)}}r.ERROR=new n(2147483647,new c),Ie.exports=r},5516:Ie=>{let a=(()=>{class x{constructor(){this.atn=null,this.stateNumber=x.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(S){return S instanceof x&&this.stateNumber===S.stateNumber}isNonGreedyExitState(){return!1}addTransition(S,E){void 0===E&&(E=-1),0===this.transitions.length?this.epsilonOnlyTransitions=S.isEpsilon:this.epsilonOnlyTransitions!==S.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===E?this.transitions.push(S):this.transitions.splice(E,1,S)}}return x.INVALID_TYPE=0,x.BASIC=1,x.RULE_START=2,x.BLOCK_START=3,x.PLUS_BLOCK_START=4,x.STAR_BLOCK_START=5,x.TOKEN_START=6,x.RULE_STOP=7,x.BLOCK_END=8,x.STAR_LOOP_BACK=9,x.STAR_LOOP_ENTRY=10,x.PLUS_LOOP_BACK=11,x.LOOP_END=12,x.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],x.INVALID_STATE_NUMBER=-1,x})();class c extends a{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class d extends c{constructor(){return super(),this.endState=null,this}}Ie.exports={ATNState:a,BasicState:class n extends a{constructor(){super(),this.stateType=a.BASIC}},DecisionState:c,BlockStartState:d,BlockEndState:class r extends a{constructor(){return super(),this.stateType=a.BLOCK_END,this.startState=null,this}},LoopEndState:class l extends a{constructor(){return super(),this.stateType=a.LOOP_END,this.loopBackState=null,this}},RuleStartState:class f extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class h extends a{constructor(){return super(),this.stateType=a.RULE_STOP,this}},TokensStartState:class y extends c{constructor(){return super(),this.stateType=a.TOKEN_START,this}},PlusLoopbackState:class u extends c{constructor(){return super(),this.stateType=a.PLUS_LOOP_BACK,this}},StarLoopbackState:class p extends a{constructor(){return super(),this.stateType=a.STAR_LOOP_BACK,this}},StarLoopEntryState:class _ extends c{constructor(){return super(),this.stateType=a.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class v extends d{constructor(){return super(),this.stateType=a.PLUS_BLOCK_START,this.loopBackState=null,this}},StarBlockStartState:class b extends d{constructor(){return super(),this.stateType=a.STAR_BLOCK_START,this}},BasicBlockStartState:class g extends d{constructor(){return super(),this.stateType=a.BLOCK_START,this}}}},8729:Ie=>{Ie.exports={LEXER:0,PARSER:1}},9462:(Ie,B,a)=>{const{Token:n}=a(6205),c=a(9042),d=a(9800),g=a(4675),{DFAState:r}=a(5468),{OrderedATNConfigSet:h}=a(4280),{PredictionContext:f}=a(6185),{SingletonPredictionContext:u}=a(6185),{RuleStopState:v}=a(5516),{LexerATNConfig:b}=a(7745),{Transition:p}=a(6850),_=a(5168),{LexerNoViableAltException:l}=a(5858);function y(S){S.index=-1,S.line=0,S.column=-1,S.dfaState=null}class x{constructor(){y(this)}reset(){y(this)}}Ie.exports=(()=>{class S extends g{constructor(I,X,$,ee){super(X,ee),this.decisionToDFA=$,this.recog=I,this.startIndex=-1,this.line=1,this.column=0,this.mode=c.DEFAULT_MODE,this.prevAccept=new x}copyState(I){this.column=I.column,this.line=I.line,this.mode=I.mode,this.startIndex=I.startIndex}match(I,X){this.match_calls+=1,this.mode=X;const $=I.mark();try{this.startIndex=I.index,this.prevAccept.reset();const ee=this.decisionToDFA[X];return null===ee.s0?this.matchATN(I):this.execATN(I,ee.s0)}finally{I.release($)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=c.DEFAULT_MODE}matchATN(I){const X=this.atn.modeToStartState[this.mode];S.debug&&console.log("matchATN mode "+this.mode+" start: "+X);const $=this.mode,ee=this.computeStartState(I,X),ie=ee.hasSemanticContext;ee.hasSemanticContext=!1;const A=this.addDFAState(ee);ie||(this.decisionToDFA[this.mode].s0=A);const U=this.execATN(I,A);return S.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[$].toLexerString()),U}execATN(I,X){S.debug&&console.log("start state closure="+X.configs),X.isAcceptState&&this.captureSimState(this.prevAccept,I,X);let $=I.LA(1),ee=X;for(;;){S.debug&&console.log("execATN loop starting closure: "+ee.configs);let ie=this.getExistingTargetState(ee,$);if(null===ie&&(ie=this.computeTargetState(I,ee,$)),ie===g.ERROR||($!==n.EOF&&this.consume(I),ie.isAcceptState&&(this.captureSimState(this.prevAccept,I,ie),$===n.EOF)))break;$=I.LA(1),ee=ie}return this.failOrAccept(this.prevAccept,I,ee.configs,$)}getExistingTargetState(I,X){if(null===I.edges||XS.MAX_DFA_EDGE)return null;let $=I.edges[X-S.MIN_DFA_EDGE];return void 0===$&&($=null),S.debug&&null!==$&&console.log("reuse state "+I.stateNumber+" edge to "+$.stateNumber),$}computeTargetState(I,X,$){const ee=new h;return this.getReachableConfigSet(I,X.configs,ee,$),0===ee.items.length?(ee.hasSemanticContext||this.addDFAEdge(X,$,g.ERROR),g.ERROR):this.addDFAEdge(X,$,null,ee)}failOrAccept(I,X,$,ee){if(null!==this.prevAccept.dfaState)return this.accept(X,I.dfaState.lexerActionExecutor,this.startIndex,I.index,I.line,I.column),I.dfaState.prediction;if(ee===n.EOF&&X.index===this.startIndex)return n.EOF;throw new l(this.recog,X,this.startIndex,$)}getReachableConfigSet(I,X,$,ee){let ie=d.INVALID_ALT_NUMBER;for(let A=0;AS.MAX_DFA_EDGE||(S.debug&&console.log("EDGE "+I+" -> "+$+" upon "+X),null===I.edges&&(I.edges=[]),I.edges[X-S.MIN_DFA_EDGE]=$),$}addDFAState(I){const X=new r(null,I);let $=null;for(let U=0;U{const B={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class a{constructor(p){this.actionType=p,this.isPositionDependent=!1}hashCode(){const p=new Hash;return this.updateHashCode(p),p.finish()}updateHashCode(p){p.update(this.actionType)}equals(p){return this===p}}class n extends a{constructor(){super(B.SKIP)}execute(p){p.skip()}toString(){return"skip"}}n.INSTANCE=new n;class c extends a{constructor(p){super(B.TYPE),this.type=p}execute(p){p.type=this.type}updateHashCode(p){p.update(this.actionType,this.type)}equals(p){return this===p||p instanceof c&&this.type===p.type}toString(){return"type("+this.type+")"}}class d extends a{constructor(p){super(B.PUSH_MODE),this.mode=p}execute(p){p.pushMode(this.mode)}updateHashCode(p){p.update(this.actionType,this.mode)}equals(p){return this===p||p instanceof d&&this.mode===p.mode}toString(){return"pushMode("+this.mode+")"}}class g extends a{constructor(){super(B.POP_MODE)}execute(p){p.popMode()}toString(){return"popMode"}}g.INSTANCE=new g;class r extends a{constructor(){super(B.MORE)}execute(p){p.more()}toString(){return"more"}}r.INSTANCE=new r;class h extends a{constructor(p){super(B.MODE),this.mode=p}execute(p){p.mode(this.mode)}updateHashCode(p){p.update(this.actionType,this.mode)}equals(p){return this===p||p instanceof h&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class f extends a{constructor(p,_){super(B.CUSTOM),this.ruleIndex=p,this.actionIndex=_,this.isPositionDependent=!0}execute(p){p.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(p){p.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(p){return this===p||p instanceof f&&this.ruleIndex===p.ruleIndex&&this.actionIndex===p.actionIndex}}class u extends a{constructor(p){super(B.CHANNEL),this.channel=p}execute(p){p._channel=this.channel}updateHashCode(p){p.update(this.actionType,this.channel)}equals(p){return this===p||p instanceof u&&this.channel===p.channel}toString(){return"channel("+this.channel+")"}}class v extends a{constructor(p,_){super(_.actionType),this.offset=p,this.action=_,this.isPositionDependent=!0}execute(p){this.action.execute(p)}updateHashCode(p){p.update(this.actionType,this.offset,this.action)}equals(p){return this===p||p instanceof v&&this.offset===p.offset&&this.action===p.action}}Ie.exports={LexerActionType:B,LexerSkipAction:n,LexerChannelAction:u,LexerCustomAction:f,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:h}},5168:(Ie,B,a)=>{const{hashStuff:n}=a(3340),{LexerIndexedCustomAction:c}=a(201);class d{constructor(r){return this.lexerActions=null===r?[]:r,this.cachedHashCode=n(r),this}fixOffsetBeforeMatch(r){let h=null;for(let f=0;f{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:h,RuleStopState:f}=a(5516),{ATNConfig:u}=a(7745),{ATNConfigSet:v}=a(4280),{Token:b}=a(6205),{DFAState:p,PredPrediction:_}=a(5468),l=a(4675),y=a(5359),x=a(13),{SemanticContext:S}=(a(7293),a(9454)),{PredictionContext:E}=a(6185),{Interval:I}=a(9173),{Transition:X,SetTransition:$,NotSetTransition:ee,RuleTransition:ie,ActionTransition:A}=a(6850),{NoViableAltException:U}=a(5858),{SingletonPredictionContext:Me,predictionContextFromRuleContext:Re}=a(6185);Ie.exports=class Ae extends l{constructor(H,W,pe,we){super(W,we),this.parser=H,this.decisionToDFA=pe,this.predictionMode=y.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(H,W,pe){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+W+" exec LA(1)=="+this.getLookaheadName(H)+" line "+H.LT(1).line+":"+H.LT(1).column),this._input=H,this._startIndex=H.index,this._outerContext=pe;const we=this.decisionToDFA[W];this._dfa=we;const Ee=H.mark(),Be=H.index;try{let G;if(G=we.precedenceDfa?we.getPrecedenceStartState(this.parser.getPrecedence()):we.s0,null===G){null===pe&&(pe=x.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+we.decision+" exec LA(1)=="+this.getLookaheadName(H)+", outerContext="+pe.toString(this.parser.ruleNames));let ye=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ye,ye=this.applyPrecedenceFilter(ye),G=this.addDFAState(we,new p(null,ye)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ye)),we.s0=G)}const re=this.execATN(we,G,H,Be,pe);return this.debug&&console.log("DFA after predictATN: "+we.toString(this.parser.literalNames,this.parser.symbolicNames)),re}finally{this._dfa=null,this.mergeCache=null,H.seek(Be),H.release(Ee)}}execATN(H,W,pe,we,Ee){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+H.decision+" exec LA(1)=="+this.getLookaheadName(pe)+" line "+pe.LT(1).line+":"+pe.LT(1).column);let Be,G=W;this.debug&&console.log("s0 = "+W);let re=pe.LA(1);for(;;){let se=this.getExistingTargetState(G,re);if(null===se&&(se=this.computeTargetState(H,G,re)),se===l.ERROR){const ye=this.noViableAlt(pe,Ee,G.configs,we);if(pe.seek(we),Be=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(G.configs,Ee),Be!==r.INVALID_ALT_NUMBER)return Be;throw ye}if(se.requiresFullContext&&this.predictionMode!==y.SLL){let ye=null;if(null!==se.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ye=this.evalSemanticContext(se.predicates,Ee,!0),1===ye.length)return this.debug&&console.log("Full LL avoided"),ye.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+se);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ye,se.configs,we,pe.index),Be=this.execATNWithFullContext(H,se,Ze,pe,we,Ee),Be}if(se.isAcceptState){if(null===se.predicates)return se.prediction;const ye=pe.index;pe.seek(we);const He=this.evalSemanticContext(se.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,se.configs,we);return 1===He.length||this.reportAmbiguity(H,se,we,ye,!1,He,se.configs),He.minValue()}G=se,re!==b.EOF&&(pe.consume(),re=pe.LA(1))}}getExistingTargetState(H,W){const pe=H.edges;return null===pe?null:pe[W+1]||null}computeTargetState(H,W,pe){const we=this.computeReachSet(W.configs,pe,!1);if(null===we)return this.addDFAEdge(H,W,pe,l.ERROR),l.ERROR;let Ee=new p(null,we);const Be=this.getUniqueAlt(we);if(this.debug){const G=y.getConflictingAltSubsets(we);console.log("SLL altSubSets="+n.arrayToString(G)+", configs="+we+", predict="+Be+", allSubsetsConflict="+y.allSubsetsConflict(G)+", conflictingAlts="+this.getConflictingAlts(we))}return Be!==r.INVALID_ALT_NUMBER?(Ee.isAcceptState=!0,Ee.configs.uniqueAlt=Be,Ee.prediction=Be):y.hasSLLConflictTerminatingPrediction(this.predictionMode,we)&&(Ee.configs.conflictingAlts=this.getConflictingAlts(we),Ee.requiresFullContext=!0,Ee.isAcceptState=!0,Ee.prediction=Ee.configs.conflictingAlts.minValue()),Ee.isAcceptState&&Ee.configs.hasSemanticContext&&(this.predicateDFAState(Ee,this.atn.getDecisionState(H.decision)),null!==Ee.predicates&&(Ee.prediction=r.INVALID_ALT_NUMBER)),Ee=this.addDFAEdge(H,W,pe,Ee),Ee}predicateDFAState(H,W){const pe=W.transitions.length,we=this.getConflictingAltsOrUniqueAlt(H.configs),Ee=this.getPredsForAmbigAlts(we,H.configs,pe);null!==Ee?(H.predicates=this.getPredicatePredictions(we,Ee),H.prediction=r.INVALID_ALT_NUMBER):H.prediction=we.minValue()}execATNWithFullContext(H,W,pe,we,Ee,Be){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+pe);let se,re=!1,ye=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(se=this.computeReachSet(ye,He,!0),null===se){const We=this.noViableAlt(we,Be,ye,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ye,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw We}const Qe=y.getConflictingAltSubsets(se);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),se.uniqueAlt=this.getUniqueAlt(se),se.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=se.uniqueAlt;break}if(this.predictionMode!==y.LL_EXACT_AMBIG_DETECTION){if(Ze=y.resolvesToJustOneViableAlt(Qe),Ze!==r.INVALID_ALT_NUMBER)break}else if(y.allSubsetsConflict(Qe)&&y.allSubsetsEqual(Qe)){re=!0,Ze=y.getSingleViableAlt(Qe);break}ye=se,He!==b.EOF&&(we.consume(),He=we.LA(1))}return se.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,se,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,se),Ze)}computeReachSet(H,W,pe){this.debug&&console.log("in computeReachSet, starting closure: "+H),null===this.mergeCache&&(this.mergeCache=new g);const we=new v(pe);let Ee=null;for(let G=0;G0&&(Be=this.getAltThatFinishedDecisionEntryRule(Ee),Be!==r.INVALID_ALT_NUMBER)?Be:r.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(H){const W=[];for(let pe=0;pe0||we.state instanceof f&&we.context.hasEmptyPath())&&W.indexOf(we.alt)<0&&W.push(we.alt)}return 0===W.length?r.INVALID_ALT_NUMBER:Math.min.apply(null,W)}splitAccordingToSemanticValidity(H,W){const pe=new v(H.fullCtx),we=new v(H.fullCtx);for(let Ee=0;Ee50))throw"problem";if(H.state instanceof f){if(!H.context.isEmpty()){for(let re=0;re=0&&(Qe+=1)}this.closureCheckingStopState(Ze,W,pe,He,Ee,Qe,G)}}}canDropLoopEntryEdgeInLeftRecursiveRule(H){const W=H.state;if(W.stateType!==h.STAR_LOOP_ENTRY||W.stateType!==h.STAR_LOOP_ENTRY||!W.isPrecedenceDecision||H.context.isEmpty()||H.context.hasEmptyPath())return!1;const pe=H.context.length;for(let G=0;G=0?this.parser.ruleNames[H]:""}getEpsilonTarget(H,W,pe,we,Ee,Be){switch(W.serializationType){case X.RULE:return this.ruleTransition(H,W);case X.PRECEDENCE:return this.precedenceTransition(H,W,pe,we,Ee);case X.PREDICATE:return this.predTransition(H,W,pe,we,Ee);case X.ACTION:return this.actionTransition(H,W);case X.EPSILON:return new u({state:W.target},H);case X.ATOM:case X.RANGE:case X.SET:return Be&&W.matches(b.EOF,0,1)?new u({state:W.target},H):null;default:return null}}actionTransition(H,W){return this.debug&&console.log("ACTION edge "+W.ruleIndex+":"+(-1===W.actionIndex?65535:W.actionIndex)),new u({state:W.target},H)}precedenceTransition(H,W,pe,we,Ee){this.debug&&(console.log("PRED (collectPredicates="+pe+") "+W.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let Be=null;if(pe&&we)if(Ee){const G=this._input.index;this._input.seek(this._startIndex);const re=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(G),re&&(Be=new u({state:W.target},H))}else{const G=S.andContext(H.semanticContext,W.getPredicate());Be=new u({state:W.target,semanticContext:G},H)}else Be=new u({state:W.target},H);return this.debug&&console.log("config from pred transition="+Be),Be}predTransition(H,W,pe,we,Ee){this.debug&&(console.log("PRED (collectPredicates="+pe+") "+W.ruleIndex+":"+W.predIndex+", ctx dependent="+W.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));let Be=null;if(pe&&(W.isCtxDependent&&we||!W.isCtxDependent))if(Ee){const G=this._input.index;this._input.seek(this._startIndex);const re=W.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(G),re&&(Be=new u({state:W.target},H))}else{const G=S.andContext(H.semanticContext,W.getPredicate());Be=new u({state:W.target,semanticContext:G},H)}else Be=new u({state:W.target},H);return this.debug&&console.log("config from pred transition="+Be),Be}ruleTransition(H,W){this.debug&&console.log("CALL rule "+this.getRuleName(W.target.ruleIndex)+", ctx="+H.context);const we=Me.create(H.context,W.followState.stateNumber);return new u({state:W.target,context:we},H)}getConflictingAlts(H){const W=y.getConflictingAltSubsets(H);return y.getAlts(W)}getConflictingAltsOrUniqueAlt(H){let W=null;return H.uniqueAlt!==r.INVALID_ALT_NUMBER?(W=new d,W.add(H.uniqueAlt)):W=H.conflictingAlts,W}getTokenName(H){if(H===b.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(H>=this.parser.literalNames.length&&H>=this.parser.symbolicNames.length))return(this.parser.literalNames[H]||this.parser.symbolicNames[H])+"<"+H+">";console.log(H+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+H}getLookaheadName(H){return this.getTokenName(H.LA(1))}dumpDeadEndConfigs(H){console.log("dead end configs: ");const W=H.getDeadEndConfigs();for(let pe=0;pe0){const Be=we.state.transitions[0];Be instanceof AtomTransition?Ee="Atom "+this.getTokenName(Be.label):Be instanceof $&&(Ee=(Be instanceof ee?"~":"")+"Set "+Be.set)}console.error(we.toString(this.parser,!0)+":"+Ee)}}noViableAlt(H,W,pe,we){return new U(this.parser,H,H.get(we),H.LT(1),pe,W)}getUniqueAlt(H){let W=r.INVALID_ALT_NUMBER;for(let pe=0;pe "+we+" upon "+this.getTokenName(pe)),null===we?null:(we=this.addDFAState(H,we),null===W||pe<-1||pe>this.atn.maxTokenType||(null===W.edges&&(W.edges=[]),W.edges[pe+1]=we,this.debug&&console.log("DFA=\n"+H.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),we)}addDFAState(H,W){if(W===l.ERROR)return W;const pe=H.states.get(W);return null!==pe?pe:(W.stateNumber=H.states.length,W.configs.readOnly||(W.configs.optimizeConfigs(this),W.configs.setReadonly(!0)),H.states.add(W),this.debug&&console.log("adding new DFA state: "+W),W)}reportAttemptingFullContext(H,W,pe,we,Ee){if(this.debug||this.retry_debug){const Be=new I(we,Ee+1);console.log("reportAttemptingFullContext decision="+H.decision+":"+pe+", input="+this.parser.getTokenStream().getText(Be))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,H,we,Ee,W,pe)}reportContextSensitivity(H,W,pe,we,Ee){if(this.debug||this.retry_debug){const Be=new I(we,Ee+1);console.log("reportContextSensitivity decision="+H.decision+":"+pe+", input="+this.parser.getTokenStream().getText(Be))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,H,we,Ee,W,pe)}reportAmbiguity(H,W,pe,we,Ee,Be,G){if(this.debug||this.retry_debug){const re=new I(pe,we+1);console.log("reportAmbiguity "+Be+":"+G+", input="+this.parser.getTokenStream().getText(re))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,H,pe,we,Ee,Be,G)}}},5359:(Ie,B,a)=>{const{Map:n,BitSet:c,AltDict:d,hashStuff:g}=a(3340),r=a(9800),{RuleStopState:h}=a(5516),{ATNConfigSet:f}=a(4280),{ATNConfig:u}=a(7745),{SemanticContext:v}=a(9454),b={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(p,_){if(b.allConfigsInRuleStopStates(_))return!0;if(p===b.SLL&&_.hasSemanticContext){const y=new f;for(let x=0;x<_.items.length;x++){let D=_.items[x];D=new u({semanticContext:v.NONE},D),y.add(D)}_=y}const l=b.getConflictingAltSubsets(_);return b.hasConflictingAltSet(l)&&!b.hasStateAssociatedWithOneAlt(_)},hasConfigInRuleStopState:function(p){for(let _=0;_1)return!0;return!1},allSubsetsEqual:function(p){let _=null;for(let l=0;l{const{Set:n,Hash:c,equalArrays:d}=a(3340);class g{hashCode(){const b=new c;return this.updateHashCode(b),b.finish()}evaluate(b,p){}evalPrecedence(b,p){return this}static andContext(b,p){if(null===b||b===g.NONE)return p;if(null===p||p===g.NONE)return b;const _=new f(b,p);return 1===_.opnds.length?_.opnds[0]:_}static orContext(b,p){if(null===b)return p;if(null===p)return b;if(b===g.NONE||p===g.NONE)return g.NONE;const _=new u(b,p);return 1===_.opnds.length?_.opnds[0]:_}}class r extends g{constructor(b,p,_){super(),this.ruleIndex=void 0===b?-1:b,this.predIndex=void 0===p?-1:p,this.isCtxDependent=void 0!==_&&_}evaluate(b,p){return b.sempred(this.isCtxDependent?p:null,this.ruleIndex,this.predIndex)}updateHashCode(b){b.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(b){return this===b||b instanceof r&&this.ruleIndex===b.ruleIndex&&this.predIndex===b.predIndex&&this.isCtxDependent===b.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}g.NONE=new r;class h extends g{constructor(b){super(),this.precedence=void 0===b?0:b}evaluate(b,p){return b.precpred(p,this.precedence)}evalPrecedence(b,p){return b.precpred(p,this.precedence)?g.NONE:null}compareTo(b){return this.precedence-b.precedence}updateHashCode(b){b.update(this.precedence)}equals(b){return this===b||b instanceof h&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof h&&p.push(_)}),p}}class f extends g{constructor(b,p){super();const _=new n;b instanceof f?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof f?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=h.filterPrecedencePredicates(_);if(l.length>0){let y=null;l.map(function(x){(null===y||x.precedencep.toString());return(b.length>3?b.slice(3):b).join("&&")}}class u extends g{constructor(b,p){super();const _=new n;b instanceof u?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof u?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=h.filterPrecedencePredicates(_);if(l.length>0){const y=l.sort(function(D,S){return D.compareTo(S)});_.add(y[y.length-1])}this.opnds=Array.from(_.values())}equals(b){return this===b||b instanceof u&&d(this.opnds,b.opnds)}updateHashCode(b){b.update(this.opnds,"OR")}evaluate(b,p){for(let _=0;_p.toString());return(b.length>3?b.slice(3):b).join("||")}}Ie.exports={SemanticContext:g,PrecedencePredicate:h,Predicate:r}},6850:(Ie,B,a)=>{const{Token:n}=a(6205),{IntervalSet:c}=a(9173),{Predicate:d,PrecedencePredicate:g}=a(9454);class r{constructor(E){if(null==E)throw"target cannot be null.";this.target=E,this.isEpsilon=!1,this.label=null}}r.EPSILON=1,r.RANGE=2,r.RULE=3,r.PREDICATE=4,r.ATOM=5,r.ACTION=6,r.SET=7,r.NOT_SET=8,r.WILDCARD=9,r.PRECEDENCE=10,r.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],r.serializationTypes={EpsilonTransition:r.EPSILON,RangeTransition:r.RANGE,RuleTransition:r.RULE,PredicateTransition:r.PREDICATE,AtomTransition:r.ATOM,ActionTransition:r.ACTION,SetTransition:r.SET,NotSetTransition:r.NOT_SET,WildcardTransition:r.WILDCARD,PrecedencePredicateTransition:r.PRECEDENCE};class b extends r{constructor(E){super(E)}}class l extends r{constructor(E,I){super(E),this.serializationType=r.SET,null!=I?this.label=I:(this.label=new c,this.label.addOne(n.INVALID_TYPE))}matches(E,I,X){return this.label.contains(E)}toString(){return this.label.toString()}}Ie.exports={Transition:r,AtomTransition:class h extends r{constructor(E,I){super(E),this.label_=I,this.label=this.makeLabel(),this.serializationType=r.ATOM}makeLabel(){const E=new c;return E.addOne(this.label_),E}matches(E,I,X){return this.label_===E}toString(){return this.label_}},SetTransition:l,NotSetTransition:class y extends l{constructor(E,I){super(E,I),this.serializationType=r.NOT_SET}matches(E,I,X){return E>=I&&E<=X&&!super.matches(E,I,X)}toString(){return"~"+super.toString()}},RuleTransition:class f extends r{constructor(E,I,X,$){super(E),this.ruleIndex=I,this.precedence=X,this.followState=$,this.serializationType=r.RULE,this.isEpsilon=!0}matches(E,I,X){return!1}},ActionTransition:class _ extends r{constructor(E,I,X,$){super(E),this.serializationType=r.ACTION,this.ruleIndex=I,this.actionIndex=void 0===X?-1:X,this.isCtxDependent=void 0!==$&&$,this.isEpsilon=!0}matches(E,I,X){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class u extends r{constructor(E,I){super(E),this.serializationType=r.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=I}matches(E,I,X){return!1}toString(){return"epsilon"}},RangeTransition:class v extends r{constructor(E,I,X){super(E),this.serializationType=r.RANGE,this.start=I,this.stop=X,this.label=this.makeLabel()}makeLabel(){const E=new c;return E.addRange(this.start,this.stop),E}matches(E,I,X){return E>=this.start&&E<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class x extends r{constructor(E){super(E),this.serializationType=r.WILDCARD}matches(E,I,X){return E>=I&&E<=X}toString(){return"."}},PredicateTransition:class p extends b{constructor(E,I,X,$){super(E),this.serializationType=r.PREDICATE,this.ruleIndex=I,this.predIndex=X,this.isCtxDependent=$,this.isEpsilon=!0}matches(E,I,X){return!1}getPredicate(){return new d(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class D extends b{constructor(E,I){super(E),this.serializationType=r.PRECEDENCE,this.precedence=I,this.isEpsilon=!0}matches(E,I,X){return!1}getPredicate(){return new g(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:b}},871:(Ie,B,a)=>{B.ATN=a(9800),B.ATNDeserializer=a(7499),B.LexerATNSimulator=a(9462),B.ParserATNSimulator=a(6877),B.PredictionMode=a(5359)},5343:(Ie,B,a)=>{const{Set:n}=a(3340),{DFAState:c}=a(5468),{StarLoopEntryState:d}=a(5516),{ATNConfigSet:g}=a(4280),{DFASerializer:r}=a(7279),{LexerDFASerializer:h}=a(7279);Ie.exports=class f{constructor(v,b){if(void 0===b&&(b=0),this.atnStartState=v,this.decision=b,this._states=new n,this.s0=null,this.precedenceDfa=!1,v instanceof d&&v.isPrecedenceDecision){this.precedenceDfa=!0;const p=new c(null,new g);p.edges=[],p.isAcceptState=!1,p.requiresFullContext=!1,this.s0=p}}getPrecedenceStartState(v){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return v<0||v>=this.s0.edges.length?null:this.s0.edges[v]||null}setPrecedenceStartState(v,b){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";v<0||(this.s0.edges[v]=b)}setPrecedenceDfa(v){if(this.precedenceDfa!==v){if(this._states=new n,v){const b=new c(null,new g);b.edges=[],b.isAcceptState=!1,b.requiresFullContext=!1,this.s0=b}else this.s0=null;this.precedenceDfa=v}}sortedStates(){return this._states.values().sort(function(b,p){return b.stateNumber-p.stateNumber})}toString(v,b){return v=v||null,b=b||null,null===this.s0?"":new r(this,v,b).toString()}toLexerString(){return null===this.s0?"":new h(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,h,f){this.dfa=r,this.literalNames=h||[],this.symbolicNames=f||[]}toString(){if(null===this.dfa.s0)return null;let r="";const h=this.dfa.sortedStates();for(let f=0;f"),r=r.concat(this.getStateString(p)),r=r.concat("\n"))}}}return 0===r.length?null:r}getEdgeLabel(r){return 0===r?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[r-1]||this.symbolicNames[r-1]:String.fromCharCode(r-1)}getStateString(r){const h=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?h+"=>"+n.arrayToString(r.predicates):h+"=>"+r.prediction.toString():h}}Ie.exports={DFASerializer:c,LexerDFASerializer:class d extends c{constructor(r){super(r,null)}getEdgeLabel(r){return"'"+String.fromCharCode(r)+"'"}}}},5468:(Ie,B,a)=>{const{ATNConfigSet:n}=a(4280),{Hash:c,Set:d}=a(3340);class r{constructor(f,u){return null===f&&(f=-1),null===u&&(u=new n),this.stateNumber=f,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const f=new d;if(null!==this.configs)for(let u=0;u{B.DFA=a(5343),B.DFASerializer=a(7279).DFASerializer,B.LexerDFASerializer=a(7279).LexerDFASerializer,B.PredPrediction=a(5468).PredPrediction},9935:(Ie,B,a)=>{const{BitSet:n}=a(3340),{ErrorListener:c}=a(7967),{Interval:d}=a(9173);Ie.exports=class g extends c{constructor(h){super(),this.exactOnly=h=h||!0}reportAmbiguity(h,f,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(h,f)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+h.getTokenStream().getText(new d(u,v))+"'";h.notifyErrorListeners(l)}reportAttemptingFullContext(h,f,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(h,f)+", input='"+h.getTokenStream().getText(new d(u,v))+"'";h.notifyErrorListeners(_)}reportContextSensitivity(h,f,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(h,f)+", input='"+h.getTokenStream().getText(new d(u,v))+"'";h.notifyErrorListeners(_)}getDecisionDescription(h,f){const u=f.decision,v=f.atnStartState.ruleIndex,b=h.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(h,f){if(null!==h)return h;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,h,f,u){}reportAmbiguity(d,g,r,h,f,u,v){}reportAttemptingFullContext(d,g,r,h,f,u){}reportContextSensitivity(d,g,r,h,f,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,h,f,u){console.error("line "+r+":"+h+" "+f)}}a.INSTANCE=new a,Ie.exports={ErrorListener:B,ConsoleErrorListener:a,ProxyErrorListener:class n extends B{constructor(d){if(super(),null===d)throw"delegates";return this.delegates=d,this}syntaxError(d,g,r,h,f,u){this.delegates.map(v=>v.syntaxError(d,g,r,h,f,u))}reportAmbiguity(d,g,r,h,f,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,h,f,u,v))}reportAttemptingFullContext(d,g,r,h,f,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,h,f,u))}reportContextSensitivity(d,g,r,h,f,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,h,f,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:h}=a(5516),{Interval:f,IntervalSet:u}=a(9173);class v{reset(l){}recoverInline(l){}recover(l,y){}sync(l){}inErrorRecoveryMode(l){}reportError(l){}}class b extends v{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(l){this.endErrorCondition(l)}beginErrorCondition(l){this.errorRecoveryMode=!0}inErrorRecoveryMode(l){return this.errorRecoveryMode}endErrorCondition(l){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(l){this.endErrorCondition(l)}reportError(l,y){this.inErrorRecoveryMode(l)||(this.beginErrorCondition(l),y instanceof c?this.reportNoViableAlternative(l,y):y instanceof d?this.reportInputMismatch(l,y):y instanceof g?this.reportFailedPredicate(l,y):(console.log("unknown recognition error type: "+y.constructor.name),console.log(y.stack),l.notifyErrorListeners(y.getOffendingToken(),y.getMessage(),y)))}recover(l,y){this.lastErrorIndex===l.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(l.state)>=0&&l.consume(),this.lastErrorIndex=l._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(l.state);const x=this.getErrorRecoverySet(l);this.consumeUntil(l,x)}sync(l){if(this.inErrorRecoveryMode(l))return;const y=l._interp.atn.states[l.state],x=l.getTokenStream().LA(1),D=l.atn.nextTokens(y);if(D.contains(x))return this.nextTokensContext=null,void(this.nextTokenState=h.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case h.BLOCK_START:case h.STAR_BLOCK_START:case h.PLUS_BLOCK_START:case h.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case h.PLUS_LOOP_BACK:case h.STAR_LOOP_BACK:this.reportUnwantedToken(l);const S=new u;S.addSet(l.getExpectedTokens());const E=S.addSet(this.getErrorRecoverySet(l));this.consumeUntil(l,E)}}reportNoViableAlternative(l,y){const x=l.getTokenStream();let D;D=null!==x?y.startToken.type===n.EOF?"":x.getText(new f(y.startToken.tokenIndex,y.offendingToken.tokenIndex)):"";const S="no viable alternative at input "+this.escapeWSAndQuote(D);l.notifyErrorListeners(S,y.offendingToken,y)}reportInputMismatch(l,y){const x="mismatched input "+this.getTokenErrorDisplay(y.offendingToken)+" expecting "+y.getExpectedTokens().toString(l.literalNames,l.symbolicNames);l.notifyErrorListeners(x,y.offendingToken,y)}reportFailedPredicate(l,y){l.notifyErrorListeners("rule "+l.ruleNames[l._ctx.ruleIndex]+" "+y.message,y.offendingToken,y)}reportUnwantedToken(l){if(this.inErrorRecoveryMode(l))return;this.beginErrorCondition(l);const y=l.getCurrentToken(),S="extraneous input "+this.getTokenErrorDisplay(y)+" expecting "+this.getExpectedTokens(l).toString(l.literalNames,l.symbolicNames);l.notifyErrorListeners(S,y,null)}reportMissingToken(l){if(this.inErrorRecoveryMode(l))return;this.beginErrorCondition(l);const y=l.getCurrentToken(),D="missing "+this.getExpectedTokens(l).toString(l.literalNames,l.symbolicNames)+" at "+this.getTokenErrorDisplay(y);l.notifyErrorListeners(D,y,null)}recoverInline(l){const y=this.singleTokenDeletion(l);if(null!==y)return l.consume(),y;if(this.singleTokenInsertion(l))return this.getMissingSymbol(l);throw new d(l)}singleTokenInsertion(l){const y=l.getTokenStream().LA(1),x=l._interp.atn;return!!x.nextTokens(x.states[l.state].transitions[0].target,l._ctx).contains(y)&&(this.reportMissingToken(l),!0)}singleTokenDeletion(l){const y=l.getTokenStream().LA(2);if(this.getExpectedTokens(l).contains(y)){this.reportUnwantedToken(l),l.consume();const D=l.getCurrentToken();return this.reportMatch(l),D}return null}getMissingSymbol(l){const y=l.getCurrentToken(),D=this.getExpectedTokens(l).first();let S;S=D===n.EOF?"":"";let E=y;const I=l.getTokenStream().LT(-1);return E.type===n.EOF&&null!==I&&(E=I),l.getTokenFactory().create(E.source,D,S,n.DEFAULT_CHANNEL,-1,-1,E.line,E.column)}getExpectedTokens(l){return l.getExpectedTokens()}getTokenErrorDisplay(l){if(null===l)return"";let y=l.text;return null===y&&(y=l.type===n.EOF?"":"<"+l.type+">"),this.escapeWSAndQuote(y)}escapeWSAndQuote(l){return"'"+(l=(l=(l=l.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}getErrorRecoverySet(l){const y=l._interp.atn;let x=l._ctx;const D=new u;for(;null!==x&&x.invokingState>=0;){const I=y.nextTokens(y.states[x.invokingState].transitions[0].followState);D.addSet(I),x=x.parentCtx}return D.removeOne(n.EPSILON),D}consumeUntil(l,y){let x=l.getTokenStream().LA(1);for(;x!==n.EOF&&!y.contains(x);)l.consume(),x=l.getTokenStream().LA(1)}}Ie.exports={BailErrorStrategy:class p extends b{constructor(){super()}recover(l,y){let x=l._ctx;for(;null!==x;)x.exception=y,x=x.parentCtx;throw new r(y)}recoverInline(l){this.recover(l,new d(l))}sync(l){}},DefaultErrorStrategy:b}},5858:(Ie,B,a)=>{const{PredicateTransition:n}=a(6850),{Interval:c}=a(9173).Interval;class d extends Error{constructor(p){super(p.message),Error.captureStackTrace?Error.captureStackTrace(this,d):new Error,this.message=p.message,this.recognizer=p.recognizer,this.input=p.input,this.ctx=p.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state)}getExpectedTokens(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}toString(){return this.message}}function f(b,p){return null!==p?p:"failed predicate: {"+b+"}?"}class v extends Error{constructor(){super(),Error.captureStackTrace(this,v)}}Ie.exports={RecognitionException:d,NoViableAltException:class r extends d{constructor(p,_,l,y,x,D){D=D||p._ctx,y=y||p.getCurrentToken(),l=l||p.getCurrentToken(),_=_||p.getInputStream(),super({message:"",recognizer:p,input:_,ctx:D}),this.deadEndConfigs=x,this.startToken=l,this.offendingToken=y}},LexerNoViableAltException:class g extends d{constructor(p,_,l,y){super({message:"",recognizer:p,input:_,ctx:null}),this.startIndex=l,this.deadEndConfigs=y}toString(){let p="";return this.startIndex>=0&&this.startIndex{Ie.exports.RecognitionException=a(5858).RecognitionException,Ie.exports.NoViableAltException=a(5858).NoViableAltException,Ie.exports.LexerNoViableAltException=a(5858).LexerNoViableAltException,Ie.exports.InputMismatchException=a(5858).InputMismatchException,Ie.exports.FailedPredicateException=a(5858).FailedPredicateException,Ie.exports.DiagnosticErrorListener=a(9935),Ie.exports.BailErrorStrategy=a(2487).BailErrorStrategy,Ie.exports.DefaultErrorStrategy=a(2487).DefaultErrorStrategy,Ie.exports.ErrorListener=a(7967).ErrorListener},6419:()=>{String.prototype.codePointAt||function(){"use strict";var Ie=function(){let a;try{const n={},c=Object.defineProperty;a=c(n,n,n)&&c}catch{}return a}();const B=function(a){if(null==this)throw TypeError();const n=String(this),c=n.length;let d=a?Number(a):0;if(d!=d&&(d=0),d<0||d>=c)return;const g=n.charCodeAt(d);let r;return g>=55296&&g<=56319&&c>d+1&&(r=n.charCodeAt(d+1),r>=56320&&r<=57343)?1024*(g-55296)+r-56320+65536:g};Ie?Ie(String.prototype,"codePointAt",{value:B,configurable:!0,writable:!0}):String.prototype.codePointAt=B}()},9182:()=>{String.fromCodePoint||function(){const Ie=function(){let c;try{const d={},g=Object.defineProperty;c=g(d,d,d)&&g}catch{}return c}(),B=String.fromCharCode,a=Math.floor,n=function(c){const g=[];let r,h,f=-1;const u=arguments.length;if(!u)return"";let v="";for(;++f1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),h=b%1024+56320,g.push(r,h)),(f+1===u||g.length>16384)&&(v+=B.apply(null,g),g.length=0)}return v};Ie?Ie(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()},5829:(Ie,B,a)=>{const{Token:n}=a(6205),{Interval:c}=a(9173),d=new c(-1,-2);class g{}class r extends g{constructor(){super()}}class h extends r{constructor(){super()}}class u extends h{constructor(){super()}}class v extends u{constructor(){super()}}class _ extends u{constructor(D){super(),this.parentCtx=null,this.symbol=D}getChild(D){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(null===this.symbol)return d;const D=this.symbol.tokenIndex;return new c(D,D)}getChildCount(){return 0}accept(D){return D.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===n.EOF?"":this.symbol.text}}class y{walk(D,S){if(S instanceof v||void 0!==S.isErrorNode&&S.isErrorNode())D.visitErrorNode(S);else if(S instanceof u)D.visitTerminal(S);else{this.enterRule(D,S);for(let I=0;I{const n=a(3340),{Token:c}=a(6205),{ErrorNode:d,TerminalNode:g,RuleNode:r}=a(5829),h={toStringTree:function(f,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=h.getNodeText(f,u);b=n.escapeWhitespace(b,!1);const p=f.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=h.toStringTree(f.getChild(0),u),_=_.concat(b));for(let l=1;l{const n=a(5829),c=a(5140);Ie.exports={...n,Trees:c}},9807:function(){var Ie;Ie=typeof self<"u"?self:this,function(a){var n_searchParams="URLSearchParams"in Ie,n_iterable="Symbol"in Ie&&"iterator"in Symbol,n_blob="FileReader"in Ie&&"Blob"in Ie&&function(){try{return new Blob,!0}catch{return!1}}(),n_formData="FormData"in Ie,n_arrayBuffer="ArrayBuffer"in Ie;if(n_arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],g=ArrayBuffer.isView||function(A){return A&&d.indexOf(Object.prototype.toString.call(A))>-1};function r(A){if("string"!=typeof A&&(A=String(A)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(A))throw new TypeError("Invalid character in header field name");return A.toLowerCase()}function h(A){return"string"!=typeof A&&(A=String(A)),A}function f(A){var U={next:function(){var Me=A.shift();return{done:void 0===Me,value:Me}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Me){this.append(Me,U)},this):Array.isArray(A)?A.forEach(function(U){this.append(U[0],U[1])},this):A&&Object.getOwnPropertyNames(A).forEach(function(U){this.append(U,A[U])},this)}function v(A){if(A.bodyUsed)return Promise.reject(new TypeError("Already read"));A.bodyUsed=!0}function b(A){return new Promise(function(U,Me){A.onload=function(){U(A.result)},A.onerror=function(){Me(A.error)}})}function p(A){var U=new FileReader,Me=b(U);return U.readAsArrayBuffer(A),Me}function y(A){if(A.slice)return A.slice(0);var U=new Uint8Array(A.byteLength);return U.set(new Uint8Array(A)),U.buffer}function x(){return this.bodyUsed=!1,this._initBody=function(A){this._bodyInit=A,A?"string"==typeof A?this._bodyText=A:n_blob&&Blob.prototype.isPrototypeOf(A)?this._bodyBlob=A:n_formData&&FormData.prototype.isPrototypeOf(A)?this._bodyFormData=A:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(A)?this._bodyText=A.toString():n_arrayBuffer&&n_blob&&function c(A){return A&&DataView.prototype.isPrototypeOf(A)}(A)?(this._bodyArrayBuffer=y(A.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(A)||g(A))?this._bodyArrayBuffer=y(A):this._bodyText=A=Object.prototype.toString.call(A):this._bodyText="",this.headers.get("content-type")||("string"==typeof A?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n_searchParams&&URLSearchParams.prototype.isPrototypeOf(A)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var A=v(this);if(A)return A;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var A=v(this);if(A)return A;if(this._bodyBlob)return function _(A){var U=new FileReader,Me=b(U);return U.readAsText(A),Me}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Me=new Array(U.length),Re=0;Re-1?U:A}(U.method||this.method||"GET"),this.mode=U.mode||this.mode||null,this.signal=U.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&Me)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Me)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Me){if(Me){var Re=Me.split("="),Ae=Re.shift().replace(/\+/g," "),he=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(he))}}),U}function X(A){var U=new u;return A.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(Re){var Ae=Re.split(":"),he=Ae.shift().trim();if(he){var H=Ae.join(":").trim();U.append(he,H)}}),U}function $(A,U){U||(U={}),this.type="default",this.status=void 0===U.status?200:U.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in U?U.statusText:"OK",this.headers=new u(U.headers),this.url=U.url||"",this._initBody(A)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},x.call(E.prototype),x.call($.prototype),$.prototype.clone=function(){return new $(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},$.error=function(){var A=new $(null,{status:0,statusText:""});return A.type="error",A};var ee=[301,302,303,307,308];$.redirect=function(A,U){if(-1===ee.indexOf(U))throw new RangeError("Invalid status code");return new $(null,{status:U,headers:{location:A}})},a.DOMException=Ie.DOMException;try{new a.DOMException}catch{a.DOMException=function(U,Me){this.message=U,this.name=Me;var Re=Error(U);this.stack=Re.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function ie(A,U){return new Promise(function(Me,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var he=new XMLHttpRequest;function H(){he.abort()}he.onload=function(){var W={status:he.status,statusText:he.statusText,headers:X(he.getAllResponseHeaders()||"")};W.url="responseURL"in he?he.responseURL:W.headers.get("X-Request-URL"),Me(new $("response"in he?he.response:he.responseText,W))},he.onerror=function(){Re(new TypeError("Network request failed"))},he.ontimeout=function(){Re(new TypeError("Network request failed"))},he.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},he.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?he.withCredentials=!0:"omit"===Ae.credentials&&(he.withCredentials=!1),"responseType"in he&&n_blob&&(he.responseType="blob"),Ae.headers.forEach(function(W,pe){he.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),he.onreadystatechange=function(){4===he.readyState&&Ae.signal.removeEventListener("abort",H)}),he.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}ie.polyfill=!0,Ie.fetch||(Ie.fetch=ie,Ie.Headers=u,Ie.Request=E,Ie.Response=$),a.Headers=u,a.Request=E,a.Response=$,a.fetch=ie,Object.defineProperty(a,"__esModule",{value:!0})}({})},7098:Ie=>{Ie.exports=function(n){var c=new Date(n.getTime()),d=c.getTimezoneOffset();return c.setSeconds(0,0),6e4*d+c.getTime()%6e4}},2860:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d),h=Number(g);return r.setDate(r.getDate()+h),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var h=Number(r);return n(g,36e5*h)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),h=Number(g);return new Date(r+h)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var h=Number(r);return n(g,6e4*h)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var h=n(g),f=Number(r),u=h.getMonth()+f,v=new Date(0);v.setFullYear(h.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return h.setMonth(u,Math.min(b,h.getDate())),h}},3857:(Ie,B,a)=>{var n=a(3895);Ie.exports=function c(d,g){var r=Number(g);return n(d,1e3*r)}},338:(Ie,B,a)=>{var n=a(2860);Ie.exports=function c(d,g){var r=Number(g);return n(d,7*r)}},3763:(Ie,B,a)=>{var n=a(1277);Ie.exports=function c(d,g){var r=Number(g);return n(d,12*r)}},7255:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d){var g=n(d),r=g.getFullYear(),h=g.getMonth(),f=new Date(0);return f.setFullYear(r,h+1,0),f.setHours(0,0,0,0),f.getDate()}},4853:Ie=>{Ie.exports=function B(a){return a instanceof Date}},1420:(Ie,B,a)=>{var n=a(7098),c=a(4853),d=36e5,g=6e4,h=/[T ]/,f=/:/,u=/^(\d{2})$/,v=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],b=/^(\d{4})/,p=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],_=/^-(\d{2})$/,l=/^-?(\d{3})$/,y=/^-?(\d{2})-?(\d{2})$/,x=/^-?W(\d{2})$/,D=/^-?W(\d{2})-?(\d{1})$/,S=/^(\d{2}([.,]\d*)?)$/,E=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,I=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,X=/([Z+-].*)$/,$=/^(Z)$/,ee=/^([+-])(\d{2})$/,ie=/^([+-])(\d{2}):?(\d{2})$/;function H(W,pe,we){pe=pe||0,we=we||0;var Ee=new Date(0);Ee.setUTCFullYear(W,0,4);var G=7*pe+we+1-(Ee.getUTCDay()||7);return Ee.setUTCDate(Ee.getUTCDate()+G),Ee}Ie.exports=function A(W,pe){if(c(W))return new Date(W.getTime());if("string"!=typeof W)return new Date(W);var Ee=(pe||{}).additionalDigits;Ee=null==Ee?2:Number(Ee);var Be=function U(W){var Ee,pe={},we=W.split(h);if(f.test(we[0])?(pe.date=null,Ee=we[0]):(pe.date=we[0],Ee=we[1]),Ee){var Be=X.exec(Ee);Be?(pe.time=Ee.replace(Be[1],""),pe.timezone=Be[1]):pe.time=Ee}return pe}(W),G=function Me(W,pe){var Be,we=v[pe],Ee=p[pe];if(Be=b.exec(W)||Ee.exec(W)){var G=Be[1];return{year:parseInt(G,10),restDateString:W.slice(G.length)}}if(Be=u.exec(W)||we.exec(W)){var re=Be[1];return{year:100*parseInt(re,10),restDateString:W.slice(re.length)}}return{year:null}}(Be.date,Ee),ye=function Re(W,pe){if(null===pe)return null;var we,Ee,Be;if(0===W.length)return(Ee=new Date(0)).setUTCFullYear(pe),Ee;if(we=_.exec(W))return Ee=new Date(0),Be=parseInt(we[1],10)-1,Ee.setUTCFullYear(pe,Be),Ee;if(we=l.exec(W)){Ee=new Date(0);var re=parseInt(we[1],10);return Ee.setUTCFullYear(pe,0,re),Ee}if(we=y.exec(W)){Ee=new Date(0),Be=parseInt(we[1],10)-1;var se=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,se),Ee}return(we=x.exec(W))?H(pe,parseInt(we[1],10)-1):(we=D.exec(W))?H(pe,parseInt(we[1],10)-1,parseInt(we[2],10)-1):null}(G.restDateString,G.year);if(ye){var Qe,He=ye.getTime(),Ze=0;if(Be.time&&(Ze=function Ae(W){var pe,we,Ee;if(pe=S.exec(W))return(we=parseFloat(pe[1].replace(",",".")))%24*d;if(pe=E.exec(W))return we=parseInt(pe[1],10),Ee=parseFloat(pe[2].replace(",",".")),we%24*d+Ee*g;if(pe=I.exec(W)){we=parseInt(pe[1],10),Ee=parseInt(pe[2],10);var Be=parseFloat(pe[3].replace(",","."));return we%24*d+Ee*g+1e3*Be}return null}(Be.time)),Be.timezone)Qe=function he(W){var pe,we;return(pe=$.exec(W))?0:(pe=ee.exec(W))?(we=60*parseInt(pe[2],10),"+"===pe[1]?-we:we):(pe=ie.exec(W))?(we=60*parseInt(pe[2],10)+parseInt(pe[3],10),"+"===pe[1]?-we:we):0}(Be.timezone)*g;else{var We=He+Ze,tt=new Date(We);Qe=n(tt);var Mt=new Date(We);Mt.setDate(tt.getDate()+1);var Ft=n(Mt)-n(tt);Ft>0&&(Qe+=Ft)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;f.splice(1,0,u,"color: inherit");let v=0,b=0;f[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),f.splice(b,0,u)},B.save=function d(f){try{f?B.storage.setItem("debug",f):B.storage.removeItem("debug")}catch{}},B.load=function g(){let f;try{f=B.storage.getItem("debug")}catch{}return!f&&typeof process<"u"&&"env"in process&&(f=process.env.DEBUG),f},B.useColors=function n(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},B.storage=function r(){try{return localStorage}catch{}}(),B.destroy=(()=>{let f=!1;return()=>{f||(f=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),B.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],B.log=console.debug||console.log||(()=>{}),Ie.exports=a(6018)(B);const{formatters:h}=Ie.exports;h.j=function(f){try{return JSON.stringify(f)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}},6018:(Ie,B,a)=>{Ie.exports=function n(c){function g(_){let l,x,D,y=null;function S(...E){if(!S.enabled)return;const I=S,X=Number(new Date);I.diff=X-(l||X),I.prev=l,I.curr=X,l=X,E[0]=g.coerce(E[0]),"string"!=typeof E[0]&&E.unshift("%O");let ee=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(A,U)=>{if("%%"===A)return"%";ee++;const Me=g.formatters[U];return"function"==typeof Me&&(A=Me.call(I,E[ee]),E.splice(ee,1),ee--),A}),g.formatArgs.call(I,E),(I.log||g.log).apply(I,E)}return S.namespace=_,S.useColors=g.useColors(),S.color=g.selectColor(_),S.extend=r,S.destroy=g.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==y?y:(x!==g.namespaces&&(x=g.namespaces,D=g.enabled(_)),D),set:E=>{y=E}}),"function"==typeof g.init&&g.init(S),S}function r(_,l){const y=g(this.namespace+(typeof l>"u"?":":l)+_);return y.log=this.log,y}function v(_){return _.toString().substring(2,_.toString().length-2).replace(/\.\*\?$/,"*")}return g.debug=g,g.default=g,g.coerce=function b(_){return _ instanceof Error?_.stack||_.message:_},g.disable=function f(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function h(_){let l;g.save(_),g.namespaces=_,g.names=[],g.skips=[];const y=("string"==typeof _?_:"").split(/[\s,]+/),x=y.length;for(l=0;l{g[_]=c[_]}),g.names=[],g.skips=[],g.formatters={},g.selectColor=function d(_){let l=0;for(let y=0;y<_.length;y++)l=(l<<5)-l+_.charCodeAt(y),l|=0;return g.colors[Math.abs(l)%g.colors.length]},g.enable(g.load()),g}},4989:Ie=>{"use strict";var B="%[a-f0-9]{2}",a=new RegExp("("+B+")|([^%]+?)","gi"),n=new RegExp("("+B+")+","gi");function c(r,h){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var f=r.slice(0,h=h||1),u=r.slice(h);return Array.prototype.concat.call([],c(f),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var h=r.match(a)||[],f=1;f"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),l=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function E(){var oe=setTimeout;return function(){return oe(X,1)}}var I=new Array(1e3);function X(){for(var oe=0;oe{Ie.exports=class B{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,c){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:c}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,c){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:c}})}supportFor({resourceType:n,capabilityType:c,where:d}={}){let g;if(g=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!g)return!1;const r=g[c];if(d&&r){const h=Object.keys(d)[0];return void 0!==r.find(u=>u[h]===d[h])}return void 0!==r}interactionsFor({resourceType:n}={}){const c=this.resourceCapabilities({resourceType:n});return void 0===c?[]:c.interaction.map(d=>d.code)}searchParamsFor({resourceType:n}={}){const c=this.resourceCapabilities({resourceType:n});return void 0===c||void 0===c.searchParam?[]:c.searchParam.map(d=>d.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(g=>g.type===n)}capabilityContents({resourceType:n,capabilityType:c}={}){const d=this.resourceCapabilities({resourceType:n});if(void 0!==d)return d[c]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},8907:(Ie,B,a)=>{var n=a(7156).default;const c=a(133),{authFromCapability:d,authFromWellKnown:g}=a(6686),r=a(8237),h=a(7681),f=a(1370),{createQueryString:u,validResourceType:v}=a(9047),{FetchQueue:b}=a(1335),{deprecatePaginationArgs:p,deprecateHeaders:_}=a(3820),l=a(6836);Ie.exports=class y{constructor({baseUrl:D,customHeaders:S,requestOptions:E,requestSigner:I,bearerToken:X}={}){this.httpClient=new r({baseUrl:D,customHeaders:S,requestOptions:E,requestSigner:I}),X&&(this.httpClient.bearerToken=X),this.resolver=new h(this),this.pagination=new f(this.httpClient)}static httpFor(D){return{request:r.requestFor(D),response:r.responseFor(D)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(D){this.httpClient&&(this.httpClient.baseUrl=D)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(D){this.httpClient.customHeaders=D}set bearerToken(D){this.httpClient.bearerToken=D}resolve({reference:D,context:S,headers:E,options:I={}}={}){return this.resolver.resolve({reference:D,context:S,options:_(I,E)})}smartAuthMetadata({headers:D,options:S={}}={}){var E=this;return n(function*(){const I={options:_(S,D)};I.options.headers||(I.options.headers={}),I.options.headers.accept="application/fhir+json,application/json";const X=E.baseUrl.replace(/\/*$/,"/"),$=new b,ee=$.buildJob(),ie=$.buildJob(),A=$.buildJob(),U=[];return new Promise((Me,Re)=>{function Ae(he){U.push(he)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(he=>($.safeAbortOthers(ie),Me(g(he)))).catch(he=>Ae(he)),E.capabilityStatement(ee.addSignalOption(I)).then(he=>($.safeAbortOthers(ee),Me(d(he)))).catch(he=>Ae(he)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(he=>($.safeAbortOthers(A),Me(g(he)))).catch(he=>Ae(he))})})()}capabilityStatement({headers:D,options:S={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",_(S,D))),this.metadata}request(D,{method:S="GET",options:E={},body:I}={}){return E.method&&E.method!==S&&console.warn(`WARNING: 'options.method' has been specified: ${E.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(S,D,E,I)}read({resourceType:D,id:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/${S}`,_(I,E))}vread({resourceType:D,id:S,version:E,headers:I,options:X={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/${S}/_history/${E}`,_(X,I))}create({resourceType:D,body:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.post(D,S,_(I,E))}delete({resourceType:D,id:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.delete(`${D}/${S}`,_(I,E))}update({resourceType:D,id:S,searchParams:E,body:I,headers:X,options:$={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);if(S&&E)throw new Error("Conditional update with search params cannot be with id",D);if(E){const ee=u(E);return this.httpClient.put(`${D}?${ee}`,I,_($,X))}return this.httpClient.put(`${D}/${S}`,I,_($,X))}patch({resourceType:D,id:S,JSONPatch:E,headers:I,options:X={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);const ee={..._(X,I).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${D}/${S}`,E,{...X,headers:ee})}batch({body:D,headers:S,options:E={}}={}){return this.httpClient.post("/",D,_(E,S))}transaction({body:D,headers:S,options:E={}}={}){return this.httpClient.post("/",D,_(E,S))}operation({name:D,resourceType:S,id:E,method:I="POST",input:X,options:$={}}={}){const ee=["/"];if(S){if(!v(S))throw new Error("Invalid resourceType",S);ee.push(`${S}/`)}return E&&ee.push(`${E}/`),ee.push(`${D.startsWith("$")?D:`$${D}`}`),"POST"===I.toUpperCase()?this.httpClient.post(ee.join(""),X,$):"GET"===I.toUpperCase()?(X&&ee.push(`?${c.stringify(X)}`),this.httpClient.get(ee.join(""),$)):void 0}nextPage(D,S){const{bundle:E,options:I={}}=p(D,S);return this.pagination.nextPage(E,I)}prevPage(D,S){const{bundle:E,options:I={}}=p(D,S);return this.pagination.prevPage(E,I)}search({resourceType:D,compartment:S,searchParams:E,headers:I,options:X={}}={}){if(D&&!v(D))throw new Error("Invalid resourceType",D);if(S&&D)return this.compartmentSearch({resourceType:D,compartment:S,searchParams:E,options:_(X,I)});if(D)return this.resourceSearch({resourceType:D,searchParams:E,options:_(X,I)});if(E instanceof Object&&Object.keys(E).length>0)return this.systemSearch({searchParams:E,options:_(X,I)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:D,searchParams:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);let X=D;return I.postSearch&&(X+="/_search"),this.baseSearch({searchPath:X,searchParams:S,headers:E,options:I})}systemSearch({searchParams:D,headers:S,options:E={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:D,headers:S,options:E})}compartmentSearch({resourceType:D,compartment:S,searchParams:E,headers:I,options:X={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);const{resourceType:$,id:ee}=S;if(!v($))throw new Error("Invalid compartmentType",$);let ie=`/${$}/${ee}/${D}`;return X.postSearch&&(ie+="/_search"),this.baseSearch({searchPath:ie,searchParams:E,headers:I,options:X})}baseSearch({searchPath:D,searchParams:S,headers:E,options:I}){const X=u(S),$=_(I,E);return this[I.postSearch?"postSearch":"getSearch"](D,X,$)}postSearch(D,S,E){const X={"Content-Type":"application/x-www-form-urlencoded",...E.headers},$={...E,headers:X};return this.httpClient.post(D,S,$)}getSearch(D,S,E){let I=D;return S&&(I+=`?${S}`),this.httpClient.get(I,E)}history({resourceType:D,id:S,headers:E,options:I={}}={}){if(D&&!v(D))throw new Error("Invalid resourceType",D);return S&&D?this.resourceHistory({resourceType:D,id:S,options:_(I,E)}):D?this.typeHistory({resourceType:D,options:_(I,E)}):this.systemHistory({options:_(I,E)})}resourceHistory({resourceType:D,id:S,headers:E,options:I={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/${S}/_history`,_(I,E))}typeHistory({resourceType:D,headers:S,options:E={}}={}){if(!v(D))throw new Error("Invalid resourceType",D);return this.httpClient.get(`${D}/_history`,_(E,S))}systemHistory({headers:D,options:S={}}={}){return this.httpClient.get("_history",_(S,D))}},Ie.exports.CapabilityTool=l},3820:Ie=>{Ie.exports={deprecateHeaders:(n,c)=>c?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(c,null," ")),{headers:c,...n}):n,deprecatePaginationArgs:(n,c)=>{if(Object.prototype.hasOwnProperty.call(n,"resourceType")){console.warn("WARNING: positional parameters for pagination methods are deprecated and will be removed in the next major version. Call with ({ bundle, options }) rather than (bundle, headers)");const d={bundle:n};return c&&(d.options={headers:c}),d}return n}}},1335:(Ie,B,a)=>{const{AbortController:n}=a(4783);class c{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(r){return{signal:this.controller.signal,...r}}safeAbort(){this.resolving||this.controller.abort()}}Ie.exports={FetchQueue:class d{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const r=new c;return this.numJobs=this.jobs.push(r),r}safeAbortOthers(r){r.resolving=!0;for(let h=0,f=this.numJobs;h{Ie.exports={fhirReferenceRegEx:/^((http|https):\/\/([A-Za-z0-9\\.:%$]*\/)*)?(Account|ActivityDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodySite|BodyStructure|Bundle|CapabilityStatement|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|Conformance|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DataElement|DecisionSupportRule|DecisionSupportServiceModule|DetectedIssue|Device|DeviceComponent|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseRequest|DeviceUseStatement|DiagnosticOrder|DiagnosticReport|DiagnosticRequest|DocumentManifest|DocumentReference|EffectEvidenceSynthesis|EligibilityRequest|EligibilityResponse|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EntryDefinition|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExpansionProfile|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceRequest|GuidanceResponse|HealthcareService|ImagingExcerpt|ImagingManifest|ImagingObjectSelection|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|ImplementationGuideInput|ImplementationGuideOutput|InsurancePlan|Invoice|ItemInstance|Library|Linkage|List|Location|Measure|MeasureReport|Media|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationOrder|MedicationRequest|MedicationStatement|MedicinalProduct|MedicinalProductAuthorization|MedicinalProductClinicals|MedicinalProductContraindication|MedicinalProductDeviceSpec|MedicinalProductIndication|MedicinalProductIngredient|MedicinalProductInteraction|MedicinalProductManufactured|MedicinalProductPackaged|MedicinalProductPharmaceutical|MedicinalProductUndesirableEffect|MessageDefinition|MessageHeader|ModuleDefinition|ModuleMetadata|MolecularSequence|NamingSystem|NutritionOrder|NutritionRequest|Observation|ObservationDefinition|OccupationalData|OperationDefinition|OperationOutcome|Order|OrderResponse|OrderSet|Organization|OrganizationAffiliation|OrganizationRole|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|ProcedureRequest|ProcessRequest|ProcessResponse|ProductPlan|Protocol|Provenance|Questionnaire|QuestionnaireResponse|ReferralRequest|RelatedPerson|RequestGroup|ResearchDefinition|ResearchElementDefinition|ResearchStudy|ResearchSubject|RiskAssessment|RiskEvidenceSynthesis|Schedule|SearchParameter|Sequence|ServiceDefinition|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SubstanceSpecification|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|UserSession|ValueSet|VerificationResult|VisionPrescription)\/[A-Za-z0-9\-.]{1,256}(\/_history\/[A-Za-z0-9\-.]{1,256})?$/}},8237:(Ie,B,a)=>{var n=a(7156).default;a(1098).polyfill(),a(9807);const{logRequestError:c,logRequestInfo:d,logResponseInfo:g}=a(1566),r={accept:"application/fhir+json"},h="__response",f="__request";let v,b,u=!1;try{v=a(5899),b=a(5899).HttpsAgent,u=!0}catch{d("HTTP Agent is not available")}const p=new WeakMap;function l({status:x,data:D,method:S,headers:E,url:I}){const X={response:{status:x,data:D},config:{method:S,url:I,headers:E}};return c(X),X}Ie.exports=class Xl{static lcKeys(D){return D&&Object.keys(D).reduce((S,E)=>(S[E.toLowerCase()]=D[E],S),{})}constructor({baseUrl:D,customHeaders:S={},requestOptions:E={},requestSigner:I}){this.baseUrl=D,this.customHeaders=S,this.baseRequestOptions=E,this.requestSigner=I}set baseUrl(D){if(!D)throw new Error("baseUrl cannot be blank");if("string"!=typeof D)throw new Error("baseUrl must be a string");this.baseUrlValue=D}get baseUrl(){return this.baseUrlValue}static responseFor(D){return D[h]}static requestFor(D){return D[f]}set bearerToken(D){this.authHeader={authorization:`Bearer ${D}`}}requestBuilder(D,S,E,I){const X={...this.baseRequestOptions,...E,method:D,body:(x=I,"string"==typeof x?x:JSON.stringify(x))};var x;let $={};return u||($={keepalive:!Object.prototype.hasOwnProperty.call(X,"keepalive")||X.keepalive}),Object.assign(X,$,{headers:new Headers(this.mergeHeaders(E.headers))},function _(x,D={}){const S={baseUrl:x,agentOptions:D};return u?(p.get(S)||(x.startsWith("https")?p.set(S,{agent:new b(D)}):p.set(S,{agent:new v(D)})),p.get(S)):{}}(this.baseUrl,X)),this.requestSigner&&this.requestSigner(S,X),new Request(S,X)}request(D,S,E={},I){var X=this;return n(function*(){const $=X.expandUrl(S),ee=X.requestBuilder(D,$,E,I);d(D,$,ee.headers);const ie=yield fetch(ee),{status:A,headers:U}=ie;g({status:A,response:ie});const Me=yield ie.text();let Re={};if(Me)try{Re=JSON.parse(Me)}catch{throw Re=Me,l({status:A,data:Re,method:D,headers:U,url:$})}if(!ie.ok)throw l({status:A,data:Re,method:D,headers:U,url:$});return Object.defineProperty(Re,h,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,f,{writable:!1,enumerable:!1,value:ee}),Re})()}get(D,S){var E=this;return n(function*(){return E.request("GET",D,S)})()}delete(D,S){var E=this;return n(function*(){return E.request("DELETE",D,S)})()}put(D,S,E={}){var I=this;return n(function*(){const X={"content-type":"application/fhir+json",...Xl.lcKeys(E.headers)},$={...E,headers:X};return I.request("PUT",D,$,S)})()}post(D,S,E={}){var I=this;return n(function*(){const X={"content-type":"application/fhir+json",...Xl.lcKeys(E.headers)},$={...E,headers:X};return I.request("POST",D,$,S)})()}patch(D,S,E){var I=this;return n(function*(){return I.request("PATCH",D,E,S)})()}expandUrl(D=""){return D.toLowerCase().startsWith("http")?D:this.baseUrl.endsWith("/")&&D.startsWith("/")?this.baseUrl+D.slice(1):this.baseUrl.endsWith("/")||D.startsWith("/")?this.baseUrl+D:`${this.baseUrl}/${D}`}mergeHeaders(D){const{lcKeys:S}=Xl;return{...S(r),...S(this.authHeader),...S(this.customHeaders),...S(D)}}}},1566:(Ie,B,a)=>{const n=a(3187),c=a(563)("fhir-kit-client:error"),d=a(563)("fhir-kit-client:info");function g(b){return n(b)}function r(b){return g(b.raw&&"function"==typeof b.raw?b.raw():b)}Ie.exports={logRequestError:function h(b){c.enabled&&(c("!!! Error"),b.response&&c(` Status: ${b.response.status}`),b.config&&(c(` ${b.config.method.toUpperCase()}: ${b.config.url}`),c(` Headers: ${r(b.config.headers)}`)),b.response&&b.response.data&&c(g(b.response.data)),c("!!! Request Error"))},logRequestInfo:function f(b,p,_){d.enabled&&(p&&d(`Request: ${b.toUpperCase()} ${p.toString()}`),d(`Request Headers: ${r(_)}`))},logResponseInfo:function u(b){d.enabled&&(d(`Response: ${b.status}`),b.data&&d(g(b.data)))},logError:function v(b){c.enabled&&c(b)}}},1370:Ie=>{Ie.exports=class B{constructor(n){this.httpClient=n}nextPage(n,{headers:c}={}){const d=n.link.find(g=>"next"===g.relation);return d?this.httpClient.get(d.url,{headers:c}):void 0}prevPage(n,{headers:c}={}){const d=n.link.find(g=>g.relation.match(/^prev(ious)?$/));return d?this.httpClient.get(d.url,{headers:c}):void 0}}},7681:(Ie,B,a)=>{var n=a(7156).default;const{splitReference:c}=a(9047),{deprecateHeaders:d}=a(3820);Ie.exports=class{constructor(g){this.client=g}resolve({reference:g,context:r,headers:h,options:f={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(f,h)):u.client.httpClient.get(g,d(f,h)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(f,h))})()}resolveAbsoluteReference(g,r){var h=this;return n(function*(){if(g.startsWith(h.client.baseUrl))return h.client.httpClient.get(g,r);const{baseUrl:f,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:f}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const h=g.slice(1),f=r.contained.find(u=>u.id===h);if(f)return f}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,h){var f=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:f.resolve({reference:g,options:h})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const h={};try{return r.rest.forEach(f=>{f.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":h.authorizeUrl=new URL(v.valueUri);break;case"token":h.tokenUrl=new URL(v.valueUri);break;case"register":h.registerUrl=new URL(v.valueUri);break;case"manage":h.manageUrl=new URL(v.valueUri)}})}),h}catch(f){return c(f),h}},authFromWellKnown:function g(r){const{authorization_endpoint:h,token_endpoint:f,registration_endpoint:u}=r;return{authorizeUrl:h&&new URL(h),tokenUrl:f&&new URL(f),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(h){if(h instanceof Object&&Object.keys(h).length>0)return n.stringify(h)},splitReference:function d(h){if(!h.match(c))throw new Error(`${h} is not a recognized FHIR reference`);let f,u=h;h.startsWith("http")&&([,f]=c.exec(h),u=h.slice(f.length),f.endsWith("/")&&(f=f.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:f,resourceType:v,id:b}},validResourceType:function g(h){return!h.startsWith("/")&&!h.includes(":")&&/\S/.test(h)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,h,f){return r.reduce((u,v,b)=>(this.$index=b,this.$total=h(v)),this.$total=f)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,h=>c.plus(g.arraify(h),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,h=>{const f=g.arraify(h),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(f,u)?f:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,h=>{const f=g.arraify(h),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(f,u)?f:u}])},n.avgFn=function(r){return c.div(n.sumFn(r),n.countFn(r))},Ie.exports=n},500:(Ie,B,a)=>{var n=a(2825),c={};function d(g,r){if(0==r.length)return!0;for(var h=0;h1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(r));return d(g,r)},c.in=function(g,r){if(0==g.length)return[];if(0==r.length)return!1;if(g.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(r));return d(r,g)},Ie.exports=c},8330:(Ie,B,a)=>{const n={},{distinctFn:c}=a(5073),d=a(6190);n.union=function(g,r){return c(g.concat(r))},n.combineFn=function(g,r){return g.concat(r)},n.intersect=function(g,r){let h=[];const f=g.length;let u=r.length;if(f&&u){let v={};r.forEach(b=>{const p=d(b);v[p]?u--:v[p]=!0});for(let b=0;b0;++b){let p=g[b],_=d(p);v[_]&&(h.push(p),v[_]=!1,u--)}}return h},Ie.exports=n},9285:Ie=>{Ie.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}},1605:(Ie,B,a)=>{var n={};const c=a(4217),d=a(9285),g=c.FP_Date,r=c.FP_DateTime,h=c.FP_Time;n.now=function(){if(!d.now){var u=r.isoDateTime(d.nowDate);d.now=new r(u)}return d.now},n.today=function(){if(!d.today){var u=g.isoDate(d.nowDate);d.today=new g(u)}return d.today},n.timeOfDay=function(){if(!d.timeOfDay){const u=r.isoTime(d.nowDate);d.timeOfDay=new h(u)}return d.timeOfDay},Ie.exports=n},2825:(Ie,B,a)=>{var c=a(4217).FP_Type,d=a(5827),g=a(4192),r=Array.prototype.slice,h=Object.keys,f=function(y){return"[object Arguments]"==Object.prototype.toString.call(y)};function u(y){return"string"==typeof y||y instanceof String}function v(y){return!isNaN(parseFloat(y))&&isFinite(y)}function b(y){return y.toUpperCase().replace(/\s+/," ")}function _(y){return null==y}Ie.exports=function p(y,x,D){if(D||(D={}),(y=d.valDataConverted(y))===(x=d.valDataConverted(x)))return!0;if(D.fuzzy){if(u(y)&&u(x))return b(y)==b(x);if(v(y)&&v(x))return g.isEquivalent(y,x)}else if("number"==typeof y&&"number"==typeof x)return g.isEqual(y,x);if(y instanceof Date&&x instanceof Date)return y.getTime()===x.getTime();if(!y||!x||"object"!=typeof y&&"object"!=typeof x)return y===x;var S=y instanceof c,E=x instanceof c;return S&&E?D.fuzzy?y.equivalentTo(x):y.equals(x):!S&&!E&&function l(y,x,D){var S,E;if(_(y)||_(x)||y.prototype!==x.prototype)return!1;if(f(y)||f(x))return p(y=f(y)?r.call(y):y,x=f(x)?r.call(x):x,D);try{var I=h(y),X=h(x)}catch{return!1}if(I.length!=X.length)return!1;for(I.sort(),X.sort(),S=I.length-1;S>=0;S--)if(I[S]!=X[S])return!1;if(1===I.length)return p(y[E=I[0]],x[E],D);for(S=I.length-1;S>=0;S--)if(!p(y[E=I[S]],x[E],D))return!1;return typeof y==typeof x}(y,x,D)}},5117:(Ie,B,a)=>{var n=a(5827),c=a(2825),d=a(4217);const g=d.FP_Type,r=d.FP_Date,h=d.FP_DateTime;var f={};function u(p,_){return n.isEmpty(p)||n.isEmpty(_)?[]:c(p,_)}function v(p,_){return n.isEmpty(p)&&n.isEmpty(_)?[!0]:n.isEmpty(p)||n.isEmpty(_)?[]:c(p,_,{fuzzy:!0})}function b(p,_){n.assertAtMostOne(p,"Singleton was expected"),n.assertAtMostOne(_,"Singleton was expected"),p=n.valDataConverted(p[0]),_=n.valDataConverted(_[0]);let l=p.constructor===r?h:p.constructor,y=_.constructor===r?h:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}f.equal=function(p,_){return u(p,_)},f.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},f.equival=function(p,_){return v(p,_)},f.unequival=function(p,_){return!v(p,_)},f.lt=function(p,_){if(!p.length||!_.length)return[];const[l,y]=b(p,_);if(l instanceof g){const x=l.compare(y);return null===x?[]:x<0}return l0}return l>y},f.lte=function(p,_){if(!p.length||!_.length)return[];const[l,y]=b(p,_);if(l instanceof g){const x=l.compare(y);return null===x?[]:x<=0}return l<=y},f.gte=function(p,_){if(!p.length||!_.length)return[];const[l,y]=b(p,_);if(l instanceof g){const x=l.compare(y);return null===x?[]:x>=0}return l>=y},Ie.exports=f},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),h={};function f(u,v){const b=u.length;let p=b<=v.length;if(p&&b){const _=v.reduce((l,y)=>(l[r(y)]=!0,l),{});p=!u.some(l=>!_[r(l)])}return p}h.emptyFn=n.isEmpty,h.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},h.existsMacro=function(u,v){var b=u;return v?h.existsMacro(c(u,v)):!n.isEmpty(b)},h.allMacro=function(u,v){for(let b=0,p=u.length;b{const{version:n}=a(82),c=a(7661),d=a(5827);a(4835);const g=a(9285);let r={},h=a(631),f=a(5073),u=a(4258),v=a(8330),b=a(6777),p=a(5117),_=a(500),l=a(7353),y=a(4702),x=a(3774),D=a(1605),S=a(2804);const E=a(4217),{FP_Date:I,FP_DateTime:X,FP_Time:$,FP_Quantity:ee,FP_Type:ie,ResourceNode:A,TypeInfo:U}=E;let Me=A.makeResNode;function Re(re,se,ye,He){if("Expr"===ye)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ye)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ye){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ye)return r.TypeSpecifier(re,se,He);re.$this=se;const Ze=r.doEval(re,se,He);if("Any"===ye)return Ze;if(Array.isArray(ye)){if(0===Ze.length)return[];ye=ye[0]}return b.singleton(Ze,ye)}function he(re){return null==re||d.isEmpty(re)}function H(re,se,ye,He){var Ze=r.invocationTable[se];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var We=Ze.arity[Qe];if(We){for(var tt=[],Mt=0;MtMt?.__path__?Me(Mt,Mt?.__path__):Mt),We={context:Qe,ucum:"http://unitsofmeasure.org"};ye&&(ye=Object.keys(ye).reduce((Mt,Ft)=>(Mt[Ft]=Array.isArray(ye[Ft])?ye[Ft].map(gt=>gt?.__path__?Me(gt,gt.__path__):gt):ye[Ft]?.__path__?Me(ye[Ft],ye[Ft].__path__):ye[Ft],Mt),{}));let tt={dataRoot:Qe,vars:Object.assign(We,ye),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,se.children[0]).map(Mt=>{let Ft=Mt instanceof A?Mt.path:null;return(Mt=d.valData(Mt))instanceof ie&&Ze.resolveInternalTypes&&(Mt=Mt.toString()),Ft&&"object"==typeof Mt&&Object.defineProperty(Mt,"__path__",{value:Ft}),Mt})}function Be(re,se,ye){if(ye={resolveInternalTypes:!0,...ye},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const We=re.base?Me(Ze,re.base):Ze;return U.model=se,pe(We,He,Qe,se,ye)}}{const He=W(re);return function(Ze,Qe){return U.model=se,pe(Ze,He,Qe,se,ye)}}}r.invocationTable={empty:{fn:h.emptyFn},not:{fn:h.notFn},exists:{fn:h.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:h.allMacro,arity:{1:["Expr"]}},allTrue:{fn:h.allTrueFn},anyTrue:{fn:h.anyTrueFn},allFalse:{fn:h.allFalseFn},anyFalse:{fn:h.anyFalseFn},subsetOf:{fn:h.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:h.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:h.isDistinctFn},distinct:{fn:f.distinctFn},count:{fn:u.countFn},where:{fn:f.whereMacro,arity:{1:["Expr"]}},extension:{fn:f.extension,arity:{1:["String"]}},select:{fn:f.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:u.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:u.sumFn},min:{fn:u.minFn},max:{fn:u.maxFn},avg:{fn:u.avgFn},single:{fn:f.singleFn},first:{fn:f.firstFn},last:{fn:f.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:f.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:f.tailFn},take:{fn:f.takeFn,arity:{1:["Integer"]}},skip:{fn:f.skipFn,arity:{1:["Integer"]}},combine:{fn:v.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:v.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:v.intersect,arity:{1:["AnyAtRoot"]}},iif:{fn:b.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:b.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:b.toInteger},toDecimal:{fn:b.toDecimal},toString:{fn:b.toString},toDate:{fn:b.toDate},toDateTime:{fn:b.toDateTime},toTime:{fn:b.toTime},toBoolean:{fn:b.toBoolean},toQuantity:{fn:b.toQuantity,arity:{0:[],1:["String"]}},hasValue:{fn:b.hasValueFn},convertsToBoolean:{fn:b.createConvertsToFn(b.toBoolean,"boolean")},convertsToInteger:{fn:b.createConvertsToFn(b.toInteger,"number")},convertsToDecimal:{fn:b.createConvertsToFn(b.toDecimal,"number")},convertsToString:{fn:b.createConvertsToFn(b.toString,"string")},convertsToDate:{fn:b.createConvertsToFn(b.toDate,I)},convertsToDateTime:{fn:b.createConvertsToFn(b.toDateTime,X)},convertsToTime:{fn:b.createConvertsToFn(b.toTime,$)},convertsToQuantity:{fn:b.createConvertsToFn(b.toQuantity,ee)},indexOf:{fn:y.indexOf,arity:{1:["String"]}},substring:{fn:y.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:y.startsWith,arity:{1:["String"]}},endsWith:{fn:y.endsWith,arity:{1:["String"]}},contains:{fn:y.containsFn,arity:{1:["String"]}},upper:{fn:y.upper},lower:{fn:y.lower},replace:{fn:y.replace,arity:{2:["String","String"]}},matches:{fn:y.matches,arity:{1:["String"]}},replaceMatches:{fn:y.replaceMatches,arity:{2:["String","String"]}},length:{fn:y.length},toChars:{fn:y.toChars},join:{fn:y.joinFn,arity:{0:[],1:["String"]}},split:{fn:y.splitFn,arity:{1:["String"]}},trim:{fn:y.trimFn},encode:{fn:y.encodeFn,arity:{1:["String"]}},decode:{fn:y.decodeFn,arity:{1:["String"]}},abs:{fn:l.abs},ceiling:{fn:l.ceiling},exp:{fn:l.exp},floor:{fn:l.floor},ln:{fn:l.ln},log:{fn:l.log,arity:{1:["Number"]},nullable:!0},power:{fn:l.power,arity:{1:["Number"]},nullable:!0},round:{fn:l.round,arity:{1:["Number"]}},sqrt:{fn:l.sqrt},truncate:{fn:l.truncate},now:{fn:D.now},today:{fn:D.today},timeOfDay:{fn:D.timeOfDay},repeat:{fn:f.repeatMacro,arity:{1:["Expr"]}},children:{fn:x.children},descendants:{fn:x.descendants},"|":{fn:v.union,arity:{2:["Any","Any"]}},"=":{fn:p.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:p.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:p.equival,arity:{2:["Any","Any"]}},"!~":{fn:p.unequival,arity:{2:["Any","Any"]}},"<":{fn:p.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:p.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:p.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:p.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:_.contains,arity:{2:["Any","Any"]}},inOp:{fn:_.in,arity:{2:["Any","Any"]}},isOp:{fn:E.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:E.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:l.amp,arity:{2:["String","String"]}},"+":{fn:l.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:l.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:l.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:l.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:l.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:l.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:S.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:S.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:S.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:S.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},r.InvocationExpression=function(re,se,ye){return ye.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},se)},r.TermExpression=function(re,se,ye){return se&&(se=se.map(He=>He instanceof Object&&He.resourceType?Me(He,He.resourceType):He)),r.doEval(re,se,ye.children[0])},r.PolarityExpression=function(re,se,ye){var He=ye.terminalNodeText[0],Ze=r.doEval(re,se,ye.children[0]);if(1!==Ze.length)throw new Error("Unary "+He+" can only be applied to an individual number.");if("number"!=typeof Ze[0]||isNaN(Ze[0]))throw new Error("Unary "+He+" can only be applied to a number.");return"-"===He&&(Ze[0]=-Ze[0]),Ze},r.TypeSpecifier=function(re,se,ye){let He,Ze;const Qe=ye.text.split(".").map(We=>We.replace(/(^`|`$)/g,""));switch(Qe.length){case 2:[He,Ze]=Qe;break;case 1:[Ze]=Qe;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(ye))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,se,ye){var Qe=r.Identifier(re,se,ye.children[0].children[0])[0],We=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==We?[]:We instanceof Array?We:[We]},r.LiteralTerm=function(re,se,ye){var He=ye.children[0];return He?r.doEval(re,se,He):[ye.text]},r.StringLiteral=function(re,se,ye){var He=ye.text.replace(/(^'|'$)/g,"");return[He=He.replace(/\\(u\d{4}|.)/g,function(Ze,Qe){switch(Ze){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return Qe.length>1?String.fromCharCode("0x"+Qe.slice(1)):Qe}})]},r.BooleanLiteral=function(re,se,ye){return"true"===ye.text?[!0]:[!1]},r.QuantityLiteral=function(re,se,ye){var He=ye.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],We=Qe.terminalNodeText[0];return!We&&Qe.children&&(We=Qe.children[0].terminalNodeText[0]),[new ee(Ze,We)]},r.DateTimeLiteral=function(re,se,ye){var He=ye.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,se,ye){var He=ye.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,se,ye){return[Number(ye.text)]},r.Identifier=function(re,se,ye){return[ye.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,se,ye){return r.doEval(re,se,ye.children[0])},r.MemberInvocation=function(re,se,ye){const He=r.doEval(re,se,ye.children[0])[0],Ze=re.model;if(se){if(d.isCapitalized(He))return se.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=se.path||se.__path__;return se.reduce(function(We,tt){var Mt=(tt=Me(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Mt];Tt&&(Mt=Tt)}let Ft,gt,Bt=Ze&&Ze.choiceTypePaths[Mt];if(Bt)for(let Tt of Bt){let kt=He+Tt;if(Ft=tt.data?.[kt],gt=tt.data?.["_"+kt],void 0!==Ft||void 0!==gt){Mt+=Tt;break}}else Ft=tt.data?.[He],gt=tt.data?.["_"+He],void 0===Ft&&void 0===gt&&(Ft=tt._data[He]),"extension"===He&&(Mt="Extension");return Mt=Ze&&Ze.path2Type[Mt]||Mt,(d.isSome(Ft)||d.isSome(gt))&&(Array.isArray(Ft)?We=We.concat(Ft.map((Tt,kt)=>Me(Tt,Mt,gt&>[kt]))):We.push(Me(Ft,Mt,gt))),We},[])}}return[]},r.IndexerExpression=function(re,se,ye){const Ze=ye.children[1];var Qe=r.doEval(re,se,ye.children[0]),We=r.doEval(re,se,Ze);if(d.isEmpty(We))return[];var tt=parseInt(We[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,se,ye){return ye.children.map(function(He){return r.doEval(re,se,He)})},r.realizeParams=function(re,se,ye){return ye&&ye[0]&&ye[0].children?ye[0].children.map(function(He){return r.doEval(re,se,He)}):[]},r.FunctionInvocation=function(re,se,ye){var He=r.doEval(re,se,ye.children[0]);const Ze=He[0];return He.shift(),function Ae(re,se,ye,He){var Qe,Ze=r.invocationTable[se];if(Ze){if(Ze.arity){var We=He?He.length:0,tt=Ze.arity[We];if(tt){for(var Mt=[],Ft=0;Ft{const ye=U.fromValue(se?.__path__?new A(se,se.__path__):se);return`${ye.namespace}.${ye.name}`})},ucumUtils:a(2207).ng.getInstance()}},5073:(Ie,B,a)=>{const n=a(5827),{TypeInfo:c,ResourceNode:d}=a(4217),g=a(6190);Ie.exports={whereMacro:function(h,f){return!1===h||h?n.flatten(h.filter((u,v)=>(this.$index=v,f(u)[0]))):[]},extension:function(h,f){return!1!==h&&!h||!f?[]:n.flatten(h.map((u,v)=>{this.$index=v;const b=u&&(u.data&&u.data.extension||u._data&&u._data.extension);return b?b.filter(p=>p.url===f).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(h,f){return!1===h||h?n.flatten(h.map((u,v)=>(this.$index=v,f(u)))):[]},repeatMacro:function(h,f){if(!1!==h&&!h)return[];let u=[];const v={},b=h.length;for(let p=0;p{const y=g(l),x=!v[y];return x&&(v[y]=!0),x})}while(u.lengthc.fromValue(u).is(f))},distinctFn:function(h){let f=[];if(h.length>0){let u={};for(let v=0,b=h.length;v{const n=a(2207).ng.getInstance(),{roundToMaxPrecision:c}=a(4192),{valDataConverted:d}=a(5827),{FP_Type:g,FP_Quantity:r}=a(4217);function f(u){if("number"==typeof(u=d(u)))return c(u);if(u instanceof Date)return u.toISOString();if(u instanceof r){const v=r._yearMonthConversionFactor[u.unit];if(v)return"_!yearMonth!_:"+v*u.value;{const b=r.toUcumQuantity(u.value,u.unit),p=n.getSpecifiedUnit(b.unit).unit;return"_!"+p.property_+"!_:"+p.magnitude_*b.value}}return u instanceof g?u.toString():"object"==typeof u?Array.isArray(u)?u.map(f):Object.keys(u).sort().reduce((v,b)=>(v[b]=f(u[b]),v),{}):u}Ie.exports=function h(u){return JSON.stringify(f(u))}},2804:Ie=>{Ie.exports={orOp:function(a,n){if(Array.isArray(n)){if(!0===a)return!0;if(!1===a)return[];if(Array.isArray(a))return[]}return Array.isArray(a)?!0===n||[]:a||n},andOp:function(a,n){if(Array.isArray(n)){if(!0===a)return[];if(!1===a)return!1;if(Array.isArray(a))return[]}return Array.isArray(a)?!0===n&&[]:a&&n},xorOp:function(a,n){return Array.isArray(a)||Array.isArray(n)?[]:a&&!n||!a&&n},impliesOp:function(a,n){if(Array.isArray(n)){if(!0===a)return[];if(!1===a)return!0;if(Array.isArray(a))return[]}return Array.isArray(a)?!0===n||[]:!1===a||a&&n}}},7353:(Ie,B,a)=>{var n=a(4217);let{FP_TimeBase:c,FP_Quantity:d}=n;const g=a(5827);var r={};function h(u){let v=g.valData(u);if("number"!=typeof v){if(1==v.length&&"number"==typeof(v=g.valData(v[0])))return v;throw new Error("Expected number, but got "+JSON.stringify(v||u))}return v}function f(u){return"number"!=typeof u&&0==u.length}r.amp=function(u,v){return(u||"")+(v||"")},r.plus=function(u,v){if(1==u.length&&1==v.length){var b=g.valDataConverted(u[0]),p=g.valDataConverted(v[0]);if("string"==typeof b&&"string"==typeof p||"number"==typeof b&&"number"==typeof p)return b+p;if(b instanceof c&&p instanceof d)return b.plus(p)}throw new Error("Cannot "+JSON.stringify(u)+" + "+JSON.stringify(v))},r.minus=function(u,v){if(1==u.length&&1==v.length){var b=g.valDataConverted(u[0]),p=g.valDataConverted(v[0]);if("number"==typeof b&&"number"==typeof p)return b-p;if(b instanceof c&&p instanceof d)return b.plus(new d(-p.value,p.unit))}throw new Error("Cannot "+JSON.stringify(u)+" - "+JSON.stringify(v))},r.mul=function(u,v){return u*v},r.div=function(u,v){return 0===v?[]:u/v},r.intdiv=function(u,v){return 0===v?[]:Math.floor(u/v)},r.mod=function(u,v){return 0===v?[]:u%v},r.abs=function(u){if(f(u))return[];{let v=h(u);return Math.abs(v)}},r.ceiling=function(u){if(f(u))return[];{let v=h(u);return Math.ceil(v)}},r.exp=function(u){if(f(u))return[];{let v=h(u);return Math.exp(v)}},r.floor=function(u){if(f(u))return[];{let v=h(u);return Math.floor(v)}},r.ln=function(u){if(f(u))return[];{let v=h(u);return Math.log(v)}},r.log=function(u,v){if(f(u)||f(v))return[];{let b=h(u),p=h(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(f(u)||f(v))return[];{let b=h(u),p=h(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(f(u))return[];{let b=h(u);if(f(v))return Math.round(b);{let p=h(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(f(u))return[];{let v=h(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(f(u))return[];{let v=h(u);return Math.trunc(v)}},Ie.exports=r},6777:(Ie,B,a)=>{var n=a(5827),c=a(4217);const{FP_Quantity:d}=c;var g={iifMacro:function(x,D,S,E){return n.isTrue(D(x))?S(x):E?E(x):[]},traceFn:function(x,D,S){return this.customTraceFn?this.customTraceFn(S?S(x):x,D??""):S?console.log("TRACE:["+(D||"")+"]",JSON.stringify(S(x),null," ")):console.log("TRACE:["+(D||"")+"]",JSON.stringify(x,null," ")),x}},r=/^[+-]?\d+$/;g.toInteger=function(x){if(1!==x.length)return[];var D=n.valData(x[0]);return!1===D?0:!0===D?1:"number"==typeof D?Number.isInteger(D)?D:[]:"string"==typeof D&&r.test(D)?parseInt(D):[]};const h=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;g.toQuantity=function(x,D){let S;if(D&&!d.mapTimeUnitsToUCUMCode[D]&&(D=`'${D}'`),x.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===x.length){var E=n.valDataConverted(x[0]);let I;if("number"==typeof E)S=new d(E,"'1'");else if(E instanceof d)S=E;else if("boolean"==typeof E)S=new d(E?1:0,"'1'");else if("string"==typeof E&&(I=h.exec(E))){const $=I[5],ee=I[6];(!ee||d.mapTimeUnitsToUCUMCode[ee])&&(S=new d(Number(I[1]),$||ee||"'1'"))}S&&D&&S.unit!==D&&(S=d.convUnitTo(S.unit,S.value,D))}return S||[]};var u=/^[+-]?\d+(\.\d+)?$/;function v(x){let D=x.slice(3);g["to"+D]=function(S){var E=[];if(S.length>1)throw Error("to "+D+" called for a collection of length "+S.length);if(1===S.length){var I=c[x].checkString(n.valData(S[0]));I&&(E=I)}return E}}g.toDecimal=function(x){if(1!==x.length)return[];var D=n.valData(x[0]);return!1===D?0:!0===D?1:"number"==typeof D?D:"string"==typeof D&&u.test(D)?parseFloat(D):[]},g.toString=function(x){return 1!==x.length?[]:n.valDataConverted(x[0]).toString()},v("FP_Date"),v("FP_DateTime"),v("FP_Time");const b=["true","t","yes","y","1","1.0"].reduce((x,D)=>(x[D]=!0,x),{}),p=["false","f","no","n","0","0.0"].reduce((x,D)=>(x[D]=!0,x),{});g.toBoolean=function(x){if(1!==x.length)return[];const D=n.valData(x[0]);switch(typeof D){case"boolean":return D;case"number":if(1===D)return!0;if(0===D)return!1;break;case"string":const S=D.toLowerCase();if(b[S])return!0;if(p[S])return!1}return[]},g.createConvertsToFn=function(x,D){return"string"==typeof D?function(S){return 1!==S.length?[]:typeof x(S)===D}:function(S){return 1!==S.length?[]:x(S)instanceof D}};const _={Integer:function(x){const D=n.valData(x[0]);if(Number.isInteger(D))return D},Boolean:function(x){const D=n.valData(x[0]);return!0===D||!1===D?D:1===x.length||void 0},Number:function(x){const D=n.valData(x[0]);if("number"==typeof D)return D},String:function(x){const D=n.valData(x[0]);if("string"==typeof D)return D}};g.singleton=function(x,D){if(x.length>1)throw new Error("Unexpected collection"+JSON.stringify(x)+"; expected singleton of type "+D);if(0===x.length)return[];const S=_[D];if(S){const E=S(x);if(void 0!==E)return E;throw new Error(`Expected ${D.toLowerCase()}, but got: ${JSON.stringify(x)}`)}throw new Error("Not supported type "+D)};const l=new Set(["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url"]);function y(x){switch(typeof x){case"string":case"number":case"boolean":return!0;default:return!1}}g.hasValueFn=function(x){return 1===x.length?this.model?[l.has(x[0].path)]:[y(n.valData(x[0]))]:[!1]},Ie.exports=g},3774:(Ie,B,a)=>{const n=a(5827),{ResourceNode:c}=a(4217);let d=c.makeResNode;var g={children:function(r){let h=this.model;return r.reduce(function(f,u){let v=n.valData(u);if(u=d(u),"object"==typeof v){for(var b of Object.keys(v)){var p=v[b],_=u.path+"."+b;if(h){let l=h.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?f.push.apply(f,p.map(l=>d(l,_))):f.push(d(p,_))}return f}return f},[])},descendants:function(r){for(var h=g.children.call(this,r),f=[];h.length>0;)f.push.apply(f,h),h=g.children.call(this,h);return f}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const h=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!h)return 0;const f=h[2];return Math.max(0,("0"===f?0:(f||"").length)-(h[3]||0))}function n(g,r){const h=Math.pow(10,r);return Math.round(g*h)/h}const d=B.roundToMaxPrecision=function(g){return 1e-8*Math.round(g/1e-8)};B.isEquivalent=function(g,r){if(Number.isInteger(g)&&Number.isInteger(r))return g===r;const h=Math.min(a(g),a(r));return 0===h?Math.round(g)===Math.round(r):n(g,h)===n(r,h)},B.isEqual=function(g,r){return d(g)===d(r)},Ie.exports=B},5815:(Ie,B,a)=>{B.atn=a(871),B.codepointat=a(6419),B.dfa=a(7061),B.fromcodepoint=a(9182),B.tree=a(9804),B.error=a(6405),B.Token=a(6205).Token,B.CommonToken=a(6205).CommonToken,B.InputStream=a(1466),B.CommonTokenStream=a(7456),B.Lexer=a(9042),B.Parser=a(111);var n=a(6185);B.PredictionContextCache=n.PredictionContextCache,B.ParserRuleContext=a(7293),B.Interval=a(9173).Interval,B.IntervalSet=a(9173).IntervalSet,B.Utils=a(3340),B.LL1Analyzer=a(4589).LL1Analyzer},2472:(Ie,B,a)=>{var n=a(8416).default;const c=a(5815),d=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x02A\u0203\b\x01\x04\x02\t\x02\x04\x03\t\x03","\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07","\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04","\f\t\f\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10","\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04\x13\t\x13","\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17","\t\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1a\t\x1a","\x04\x1b\t\x1b\x04\x1c\t\x1c\x04\x1d\t\x1d\x04\x1e",'\t\x1e\x04\x1f\t\x1f\x04 \t \x04!\t!\x04"\t"\x04#',"\t#\x04$\t$\x04%\t%\x04&\t&\x04'\t'\x04(\t(\x04)\t)\x04","*\t*\x04+\t+\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x04","1\t1\x042\t2\x043\t3\x044\t4\x045\t5\x046\t6\x047\t7\x04","8\t8\x049\t9\x04:\t:\x04;\t;\x04<\t<\x04=\t=\x04>\t>\x04","?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x03\x02\x03","\x02\x03\x03\x03\x03\x03\x04\x03\x04\x03\x05\x03","\x05\x03\x06\x03\x06\x03\x07\x03\x07\x03\b\x03","\b\x03\t\x03\t\x03\t\x03\t\x03\n\x03\n\x03\n\x03\n\x03","\v\x03\v\x03\f\x03\f\x03\r\x03\r\x03\r\x03\x0e","\x03\x0e\x03\x0f\x03\x0f\x03\x10\x03\x10\x03\x10","\x03\x11\x03\x11\x03\x11\x03\x12\x03\x12\x03\x12","\x03\x13\x03\x13\x03\x14\x03\x14\x03\x15\x03\x15","\x03\x15\x03\x16\x03\x16\x03\x16\x03\x17\x03\x17","\x03\x17\x03\x18\x03\x18\x03\x18\x03\x18\x03\x18","\x03\x18\x03\x18\x03\x18\x03\x18\x03\x19\x03\x19","\x03\x19\x03\x19\x03\x1a\x03\x1a\x03\x1a\x03\x1b","\x03\x1b\x03\x1b\x03\x1b\x03\x1c\x03\x1c\x03\x1c","\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1c\x03\x1d","\x03\x1d\x03\x1e\x03\x1e\x03\x1f\x03\x1f\x03 ",'\x03 \x03!\x03!\x03!\x03!\x03!\x03"\x03"\x03"\x03','"\x03"\x03"\x03#\x03#\x03$\x03$\x03$\x03$\x03$',"\x03$\x03%\x03%\x03%\x03%\x03%\x03%\x03%\x03&\x03","&\x03&\x03&\x03&\x03&\x03&\x03'\x03'\x03(\x03(\x03","(\x03(\x03(\x03)\x03)\x03)\x03)\x03)\x03)\x03*\x03","*\x03*\x03*\x03*\x03+\x03+\x03+\x03+\x03,\x03,\x03",",\x03,\x03,\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03",".\x03.\x03.\x03.\x03.\x03.\x03.\x03/\x03/\x03/\x03","/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x030\x03","0\x030\x030\x030\x030\x031\x031\x031\x031\x031\x03","1\x031\x032\x032\x032\x032\x032\x032\x033\x033\x03","3\x033\x033\x034\x034\x034\x034\x034\x034\x035\x03","5\x035\x035\x035\x035\x035\x035\x036\x036\x036\x03","6\x036\x036\x036\x036\x037\x037\x037\x037\x037\x03","7\x037\x037\x037\x037\x037\x037\x037\x038\x038\x03","8\x038\x038\x038\x038\x038\x038\x038\x038\x038\x03","8\x058\u0183\n8\x058\u0185\n8\x058\u0187\n8\x038\x058\u018a","\n8\x039\x039\x039\x039\x03:\x03:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x03:\x06:\u019a\n:\r:\x0e:\u019b\x05",":\u019e\n:\x05:\u01a0\n:\x05:\u01a2\n:\x03:\x03:\x03:\x03",":\x03:\x03:\x03:\x05:\u01ab\n:\x03;\x05;\u01ae\n;\x03",";\x07;\u01b1\n;\f;\x0e;\u01b4\v;\x03<\x03<\x03<\x07","<\u01b9\n<\f<\x0e<\u01bc\v<\x03<\x03<\x03=\x03=\x03","=\x07=\u01c3\n=\f=\x0e=\u01c6\v=\x03=\x03=\x03>\x06",">\u01cb\n>\r>\x0e>\u01cc\x03>\x03>\x06>\u01d1\n>\r>\x0e>\u01d2","\x05>\u01d5\n>\x03?\x06?\u01d8\n?\r?\x0e?\u01d9\x03?\x03","?\x03@\x03@\x03@\x03@\x07@\u01e2\n@\f@\x0e@\u01e5\v","@\x03@\x03@\x03@\x03@\x03@\x03A\x03A\x03A\x03A\x07","A\u01f0\nA\fA\x0eA\u01f3\vA\x03A\x03A\x03B\x03B\x03","B\x05B\u01fa\nB\x03C\x03C\x03C\x03C\x03C\x03C\x03D\x03","D\x03\u01e3\x02E\x03\x03\x05\x04\x07\x05\t\x06\v","\x07\r\b\x0f\t\x11\n\x13\v\x15\f\x17\r\x19\x0e\x1b","\x0f\x1d\x10\x1f\x11!\x12#\x13%\x14'\x15)\x16+","\x17-\x18/\x191\x1a3\x1b5\x1c7\x1d9\x1e;\x1f= ?!A","\"C#E$G%I&K'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:s\x02u;w}","?\x7f@\x81A\x83\x02\x85\x02\x87\x02\x03\x02\f\x03","\x022;\x04\x02--//\x05\x02C\\aac|\x06\x022;C\\aac|\x04",'\x02^^bb\x03\x02))\x05\x02\v\f\x0f\x0f""\x04\x02',"\f\f\x0f\x0f\n\x02))11^^bbhhppttvv\x05\x022;CHch\x02\u0214","\x02\x03\x03\x02\x02\x02\x02\x05\x03\x02\x02\x02","\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02","\x02\v\x03\x02\x02\x02\x02\r\x03\x02\x02\x02","\x02\x0f\x03\x02\x02\x02\x02\x11\x03\x02\x02\x02","\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02","\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02","\x02\x1b\x03\x02\x02\x02\x02\x1d\x03\x02\x02\x02","\x02\x1f\x03\x02\x02\x02\x02!\x03\x02\x02\x02","\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x02","'\x03\x02\x02\x02\x02)\x03\x02\x02\x02\x02+\x03","\x02\x02\x02\x02-\x03\x02\x02\x02\x02/\x03\x02","\x02\x02\x021\x03\x02\x02\x02\x023\x03\x02\x02","\x02\x025\x03\x02\x02\x02\x027\x03\x02\x02\x02","\x029\x03\x02\x02\x02\x02;\x03\x02\x02\x02\x02","=\x03\x02\x02\x02\x02?\x03\x02\x02\x02\x02A\x03","\x02\x02\x02\x02C\x03\x02\x02\x02\x02E\x03\x02","\x02\x02\x02G\x03\x02\x02\x02\x02I\x03\x02\x02","\x02\x02K\x03\x02\x02\x02\x02M\x03\x02\x02\x02","\x02O\x03\x02\x02\x02\x02Q\x03\x02\x02\x02\x02","S\x03\x02\x02\x02\x02U\x03\x02\x02\x02\x02W\x03","\x02\x02\x02\x02Y\x03\x02\x02\x02\x02[\x03\x02","\x02\x02\x02]\x03\x02\x02\x02\x02_\x03\x02\x02","\x02\x02a\x03\x02\x02\x02\x02c\x03\x02\x02\x02","\x02e\x03\x02\x02\x02\x02g\x03\x02\x02\x02\x02","i\x03\x02\x02\x02\x02k\x03\x02\x02\x02\x02m\x03","\x02\x02\x02\x02o\x03\x02\x02\x02\x02q\x03\x02","\x02\x02\x02u\x03\x02\x02\x02\x02w\x03\x02\x02","\x02\x02y\x03\x02\x02\x02\x02{\x03\x02\x02\x02","\x02}\x03\x02\x02\x02\x02\x7f\x03\x02\x02\x02","\x02\x81\x03\x02\x02\x02\x03\x89\x03\x02\x02\x02","\x05\x8b\x03\x02\x02\x02\x07\x8d\x03\x02\x02\x02","\t\x8f\x03\x02\x02\x02\v\x91\x03\x02\x02\x02","\r\x93\x03\x02\x02\x02\x0f\x95\x03\x02\x02\x02","\x11\x97\x03\x02\x02\x02\x13\x9b\x03\x02\x02\x02","\x15\x9f\x03\x02\x02\x02\x17\xa1\x03\x02\x02\x02","\x19\xa3\x03\x02\x02\x02\x1b\xa6\x03\x02\x02\x02","\x1d\xa8\x03\x02\x02\x02\x1f\xaa\x03\x02\x02\x02","!\xad\x03\x02\x02\x02#\xb0\x03\x02\x02\x02%\xb3","\x03\x02\x02\x02'\xb5\x03\x02\x02\x02)\xb7\x03","\x02\x02\x02+\xba\x03\x02\x02\x02-\xbd\x03\x02","\x02\x02/\xc0\x03\x02\x02\x021\xc9\x03\x02\x02","\x023\xcd\x03\x02\x02\x025\xd0\x03\x02\x02\x02","7\xd4\x03\x02\x02\x029\xdc\x03\x02\x02\x02;\xde","\x03\x02\x02\x02=\xe0\x03\x02\x02\x02?\xe2\x03","\x02\x02\x02A\xe4\x03\x02\x02\x02C\xe9\x03\x02","\x02\x02E\xef\x03\x02\x02\x02G\xf1\x03\x02\x02","\x02I\xf7\x03\x02\x02\x02K\xfe\x03\x02\x02\x02","M\u0105\x03\x02\x02\x02O\u0107\x03\x02\x02\x02Q\u010c","\x03\x02\x02\x02S\u0112\x03\x02\x02\x02U\u0117\x03","\x02\x02\x02W\u011b\x03\x02\x02\x02Y\u0120\x03\x02","\x02\x02[\u0127\x03\x02\x02\x02]\u012e\x03\x02\x02","\x02_\u013a\x03\x02\x02\x02a\u0140\x03\x02\x02\x02","c\u0147\x03\x02\x02\x02e\u014d\x03\x02\x02\x02g\u0152","\x03\x02\x02\x02i\u0158\x03\x02\x02\x02k\u0160\x03","\x02\x02\x02m\u0168\x03\x02\x02\x02o\u0175\x03\x02","\x02\x02q\u018b\x03\x02\x02\x02s\u018f\x03\x02\x02","\x02u\u01ad\x03\x02\x02\x02w\u01b5\x03\x02\x02\x02","y\u01bf\x03\x02\x02\x02{\u01ca\x03\x02\x02\x02}\u01d7","\x03\x02\x02\x02\x7f\u01dd\x03\x02\x02\x02\x81\u01eb","\x03\x02\x02\x02\x83\u01f6\x03\x02\x02\x02\x85\u01fb","\x03\x02\x02\x02\x87\u0201\x03\x02\x02\x02\x89\x8a","\x070\x02\x02\x8a\x04\x03\x02\x02\x02\x8b\x8c","\x07]\x02\x02\x8c\x06\x03\x02\x02\x02\x8d\x8e","\x07_\x02\x02\x8e\b\x03\x02\x02\x02\x8f\x90\x07","-\x02\x02\x90\n\x03\x02\x02\x02\x91\x92\x07/\x02","\x02\x92\f\x03\x02\x02\x02\x93\x94\x07,\x02\x02","\x94\x0e\x03\x02\x02\x02\x95\x96\x071\x02\x02","\x96\x10\x03\x02\x02\x02\x97\x98\x07f\x02\x02","\x98\x99\x07k\x02\x02\x99\x9a\x07x\x02\x02\x9a","\x12\x03\x02\x02\x02\x9b\x9c\x07o\x02\x02\x9c","\x9d\x07q\x02\x02\x9d\x9e\x07f\x02\x02\x9e\x14","\x03\x02\x02\x02\x9f\xa0\x07(\x02\x02\xa0\x16","\x03\x02\x02\x02\xa1\xa2\x07~\x02\x02\xa2\x18","\x03\x02\x02\x02\xa3\xa4\x07>\x02\x02\xa4\xa5","\x07?\x02\x02\xa5\x1a\x03\x02\x02\x02\xa6\xa7","\x07>\x02\x02\xa7\x1c\x03\x02\x02\x02\xa8\xa9","\x07@\x02\x02\xa9\x1e\x03\x02\x02\x02\xaa\xab","\x07@\x02\x02\xab\xac\x07?\x02\x02\xac \x03\x02","\x02\x02\xad\xae\x07k\x02\x02\xae\xaf\x07u\x02",'\x02\xaf"\x03\x02\x02\x02\xb0\xb1\x07c\x02\x02',"\xb1\xb2\x07u\x02\x02\xb2$\x03\x02\x02\x02\xb3","\xb4\x07?\x02\x02\xb4&\x03\x02\x02\x02\xb5\xb6","\x07\x80\x02\x02\xb6(\x03\x02\x02\x02\xb7\xb8","\x07#\x02\x02\xb8\xb9\x07?\x02\x02\xb9*\x03\x02","\x02\x02\xba\xbb\x07#\x02\x02\xbb\xbc\x07\x80","\x02\x02\xbc,\x03\x02\x02\x02\xbd\xbe\x07k\x02","\x02\xbe\xbf\x07p\x02\x02\xbf.\x03\x02\x02\x02","\xc0\xc1\x07e\x02\x02\xc1\xc2\x07q\x02\x02\xc2","\xc3\x07p\x02\x02\xc3\xc4\x07v\x02\x02\xc4\xc5","\x07c\x02\x02\xc5\xc6\x07k\x02\x02\xc6\xc7\x07","p\x02\x02\xc7\xc8\x07u\x02\x02\xc80\x03\x02\x02","\x02\xc9\xca\x07c\x02\x02\xca\xcb\x07p\x02\x02","\xcb\xcc\x07f\x02\x02\xcc2\x03\x02\x02\x02\xcd","\xce\x07q\x02\x02\xce\xcf\x07t\x02\x02\xcf4\x03","\x02\x02\x02\xd0\xd1\x07z\x02\x02\xd1\xd2\x07","q\x02\x02\xd2\xd3\x07t\x02\x02\xd36\x03\x02\x02","\x02\xd4\xd5\x07k\x02\x02\xd5\xd6\x07o\x02\x02","\xd6\xd7\x07r\x02\x02\xd7\xd8\x07n\x02\x02\xd8","\xd9\x07k\x02\x02\xd9\xda\x07g\x02\x02\xda\xdb","\x07u\x02\x02\xdb8\x03\x02\x02\x02\xdc\xdd\x07","*\x02\x02\xdd:\x03\x02\x02\x02\xde\xdf\x07+\x02","\x02\xdf<\x03\x02\x02\x02\xe0\xe1\x07}\x02\x02","\xe1>\x03\x02\x02\x02\xe2\xe3\x07\x7f\x02\x02","\xe3@\x03\x02\x02\x02\xe4\xe5\x07v\x02\x02\xe5","\xe6\x07t\x02\x02\xe6\xe7\x07w\x02\x02\xe7\xe8","\x07g\x02\x02\xe8B\x03\x02\x02\x02\xe9\xea\x07","h\x02\x02\xea\xeb\x07c\x02\x02\xeb\xec\x07n\x02","\x02\xec\xed\x07u\x02\x02\xed\xee\x07g\x02\x02","\xeeD\x03\x02\x02\x02\xef\xf0\x07'\x02\x02\xf0","F\x03\x02\x02\x02\xf1\xf2\x07&\x02\x02\xf2\xf3","\x07v\x02\x02\xf3\xf4\x07j\x02\x02\xf4\xf5\x07","k\x02\x02\xf5\xf6\x07u\x02\x02\xf6H\x03\x02\x02","\x02\xf7\xf8\x07&\x02\x02\xf8\xf9\x07k\x02\x02","\xf9\xfa\x07p\x02\x02\xfa\xfb\x07f\x02\x02\xfb","\xfc\x07g\x02\x02\xfc\xfd\x07z\x02\x02\xfdJ\x03","\x02\x02\x02\xfe\xff\x07&\x02\x02\xff\u0100\x07","v\x02\x02\u0100\u0101\x07q\x02\x02\u0101\u0102\x07v\x02","\x02\u0102\u0103\x07c\x02\x02\u0103\u0104\x07n\x02\x02","\u0104L\x03\x02\x02\x02\u0105\u0106\x07.\x02\x02\u0106","N\x03\x02\x02\x02\u0107\u0108\x07{\x02\x02\u0108\u0109","\x07g\x02\x02\u0109\u010a\x07c\x02\x02\u010a\u010b\x07","t\x02\x02\u010bP\x03\x02\x02\x02\u010c\u010d\x07o\x02","\x02\u010d\u010e\x07q\x02\x02\u010e\u010f\x07p\x02\x02","\u010f\u0110\x07v\x02\x02\u0110\u0111\x07j\x02\x02\u0111","R\x03\x02\x02\x02\u0112\u0113\x07y\x02\x02\u0113\u0114","\x07g\x02\x02\u0114\u0115\x07g\x02\x02\u0115\u0116\x07","m\x02\x02\u0116T\x03\x02\x02\x02\u0117\u0118\x07f\x02","\x02\u0118\u0119\x07c\x02\x02\u0119\u011a\x07{\x02\x02","\u011aV\x03\x02\x02\x02\u011b\u011c\x07j\x02\x02\u011c","\u011d\x07q\x02\x02\u011d\u011e\x07w\x02\x02\u011e\u011f","\x07t\x02\x02\u011fX\x03\x02\x02\x02\u0120\u0121\x07","o\x02\x02\u0121\u0122\x07k\x02\x02\u0122\u0123\x07p\x02","\x02\u0123\u0124\x07w\x02\x02\u0124\u0125\x07v\x02\x02","\u0125\u0126\x07g\x02\x02\u0126Z\x03\x02\x02\x02\u0127","\u0128\x07u\x02\x02\u0128\u0129\x07g\x02\x02\u0129\u012a","\x07e\x02\x02\u012a\u012b\x07q\x02\x02\u012b\u012c\x07","p\x02\x02\u012c\u012d\x07f\x02\x02\u012d\\\x03\x02\x02","\x02\u012e\u012f\x07o\x02\x02\u012f\u0130\x07k\x02\x02","\u0130\u0131\x07n\x02\x02\u0131\u0132\x07n\x02\x02\u0132","\u0133\x07k\x02\x02\u0133\u0134\x07u\x02\x02\u0134\u0135","\x07g\x02\x02\u0135\u0136\x07e\x02\x02\u0136\u0137\x07","q\x02\x02\u0137\u0138\x07p\x02\x02\u0138\u0139\x07f\x02","\x02\u0139^\x03\x02\x02\x02\u013a\u013b\x07{\x02\x02","\u013b\u013c\x07g\x02\x02\u013c\u013d\x07c\x02\x02\u013d","\u013e\x07t\x02\x02\u013e\u013f\x07u\x02\x02\u013f`\x03","\x02\x02\x02\u0140\u0141\x07o\x02\x02\u0141\u0142\x07","q\x02\x02\u0142\u0143\x07p\x02\x02\u0143\u0144\x07v\x02","\x02\u0144\u0145\x07j\x02\x02\u0145\u0146\x07u\x02\x02","\u0146b\x03\x02\x02\x02\u0147\u0148\x07y\x02\x02\u0148","\u0149\x07g\x02\x02\u0149\u014a\x07g\x02\x02\u014a\u014b","\x07m\x02\x02\u014b\u014c\x07u\x02\x02\u014cd\x03\x02","\x02\x02\u014d\u014e\x07f\x02\x02\u014e\u014f\x07c\x02","\x02\u014f\u0150\x07{\x02\x02\u0150\u0151\x07u\x02\x02","\u0151f\x03\x02\x02\x02\u0152\u0153\x07j\x02\x02\u0153","\u0154\x07q\x02\x02\u0154\u0155\x07w\x02\x02\u0155\u0156","\x07t\x02\x02\u0156\u0157\x07u\x02\x02\u0157h\x03\x02","\x02\x02\u0158\u0159\x07o\x02\x02\u0159\u015a\x07k\x02","\x02\u015a\u015b\x07p\x02\x02\u015b\u015c\x07w\x02\x02","\u015c\u015d\x07v\x02\x02\u015d\u015e\x07g\x02\x02\u015e","\u015f\x07u\x02\x02\u015fj\x03\x02\x02\x02\u0160\u0161","\x07u\x02\x02\u0161\u0162\x07g\x02\x02\u0162\u0163\x07","e\x02\x02\u0163\u0164\x07q\x02\x02\u0164\u0165\x07p\x02","\x02\u0165\u0166\x07f\x02\x02\u0166\u0167\x07u\x02\x02","\u0167l\x03\x02\x02\x02\u0168\u0169\x07o\x02\x02\u0169","\u016a\x07k\x02\x02\u016a\u016b\x07n\x02\x02\u016b\u016c","\x07n\x02\x02\u016c\u016d\x07k\x02\x02\u016d\u016e\x07","u\x02\x02\u016e\u016f\x07g\x02\x02\u016f\u0170\x07e\x02","\x02\u0170\u0171\x07q\x02\x02\u0171\u0172\x07p\x02\x02","\u0172\u0173\x07f\x02\x02\u0173\u0174\x07u\x02\x02\u0174","n\x03\x02\x02\x02\u0175\u0176\x07B\x02\x02\u0176\u0177","\t\x02\x02\x02\u0177\u0178\t\x02\x02\x02\u0178\u0179\t\x02","\x02\x02\u0179\u0186\t\x02\x02\x02\u017a\u017b\x07/\x02","\x02\u017b\u017c\t\x02\x02\x02\u017c\u0184\t\x02\x02\x02","\u017d\u017e\x07/\x02\x02\u017e\u017f\t\x02\x02\x02\u017f","\u0182\t\x02\x02\x02\u0180\u0181\x07V\x02\x02\u0181\u0183","\x05s:\x02\u0182\u0180\x03\x02\x02\x02\u0182\u0183\x03","\x02\x02\x02\u0183\u0185\x03\x02\x02\x02\u0184\u017d\x03","\x02\x02\x02\u0184\u0185\x03\x02\x02\x02\u0185\u0187\x03","\x02\x02\x02\u0186\u017a\x03\x02\x02\x02\u0186\u0187\x03","\x02\x02\x02\u0187\u0189\x03\x02\x02\x02\u0188\u018a\x07","\\\x02\x02\u0189\u0188\x03\x02\x02\x02\u0189\u018a\x03","\x02\x02\x02\u018ap\x03\x02\x02\x02\u018b\u018c\x07","B\x02\x02\u018c\u018d\x07V\x02\x02\u018d\u018e\x05s:\x02","\u018er\x03\x02\x02\x02\u018f\u0190\t\x02\x02\x02\u0190","\u01a1\t\x02\x02\x02\u0191\u0192\x07<\x02\x02\u0192\u0193","\t\x02\x02\x02\u0193\u019f\t\x02\x02\x02\u0194\u0195\x07","<\x02\x02\u0195\u0196\t\x02\x02\x02\u0196\u019d\t\x02\x02","\x02\u0197\u0199\x070\x02\x02\u0198\u019a\t\x02\x02\x02","\u0199\u0198\x03\x02\x02\x02\u019a\u019b\x03\x02\x02\x02","\u019b\u0199\x03\x02\x02\x02\u019b\u019c\x03\x02\x02\x02","\u019c\u019e\x03\x02\x02\x02\u019d\u0197\x03\x02\x02\x02","\u019d\u019e\x03\x02\x02\x02\u019e\u01a0\x03\x02\x02\x02","\u019f\u0194\x03\x02\x02\x02\u019f\u01a0\x03\x02\x02\x02","\u01a0\u01a2\x03\x02\x02\x02\u01a1\u0191\x03\x02\x02\x02","\u01a1\u01a2\x03\x02\x02\x02\u01a2\u01aa\x03\x02\x02\x02","\u01a3\u01ab\x07\\\x02\x02\u01a4\u01a5\t\x03\x02\x02\u01a5","\u01a6\t\x02\x02\x02\u01a6\u01a7\t\x02\x02\x02\u01a7\u01a8","\x07<\x02\x02\u01a8\u01a9\t\x02\x02\x02\u01a9\u01ab\t\x02","\x02\x02\u01aa\u01a3\x03\x02\x02\x02\u01aa\u01a4\x03\x02","\x02\x02\u01aa\u01ab\x03\x02\x02\x02\u01abt\x03\x02","\x02\x02\u01ac\u01ae\t\x04\x02\x02\u01ad\u01ac\x03\x02","\x02\x02\u01ae\u01b2\x03\x02\x02\x02\u01af\u01b1\t\x05","\x02\x02\u01b0\u01af\x03\x02\x02\x02\u01b1\u01b4\x03\x02","\x02\x02\u01b2\u01b0\x03\x02\x02\x02\u01b2\u01b3\x03\x02","\x02\x02\u01b3v\x03\x02\x02\x02\u01b4\u01b2\x03\x02","\x02\x02\u01b5\u01ba\x07b\x02\x02\u01b6\u01b9\x05\x83","B\x02\u01b7\u01b9\n\x06\x02\x02\u01b8\u01b6\x03\x02\x02","\x02\u01b8\u01b7\x03\x02\x02\x02\u01b9\u01bc\x03\x02\x02","\x02\u01ba\u01b8\x03\x02\x02\x02\u01ba\u01bb\x03\x02\x02","\x02\u01bb\u01bd\x03\x02\x02\x02\u01bc\u01ba\x03\x02\x02","\x02\u01bd\u01be\x07b\x02\x02\u01bex\x03\x02\x02\x02","\u01bf\u01c4\x07)\x02\x02\u01c0\u01c3\x05\x83B\x02\u01c1","\u01c3\n\x07\x02\x02\u01c2\u01c0\x03\x02\x02\x02\u01c2","\u01c1\x03\x02\x02\x02\u01c3\u01c6\x03\x02\x02\x02\u01c4","\u01c2\x03\x02\x02\x02\u01c4\u01c5\x03\x02\x02\x02\u01c5","\u01c7\x03\x02\x02\x02\u01c6\u01c4\x03\x02\x02\x02\u01c7","\u01c8\x07)\x02\x02\u01c8z\x03\x02\x02\x02\u01c9\u01cb","\t\x02\x02\x02\u01ca\u01c9\x03\x02\x02\x02\u01cb\u01cc","\x03\x02\x02\x02\u01cc\u01ca\x03\x02\x02\x02\u01cc\u01cd","\x03\x02\x02\x02\u01cd\u01d4\x03\x02\x02\x02\u01ce\u01d0","\x070\x02\x02\u01cf\u01d1\t\x02\x02\x02\u01d0\u01cf\x03","\x02\x02\x02\u01d1\u01d2\x03\x02\x02\x02\u01d2\u01d0\x03","\x02\x02\x02\u01d2\u01d3\x03\x02\x02\x02\u01d3\u01d5\x03","\x02\x02\x02\u01d4\u01ce\x03\x02\x02\x02\u01d4\u01d5\x03","\x02\x02\x02\u01d5|\x03\x02\x02\x02\u01d6\u01d8\t\b\x02","\x02\u01d7\u01d6\x03\x02\x02\x02\u01d8\u01d9\x03\x02\x02","\x02\u01d9\u01d7\x03\x02\x02\x02\u01d9\u01da\x03\x02\x02","\x02\u01da\u01db\x03\x02\x02\x02\u01db\u01dc\b?\x02\x02","\u01dc~\x03\x02\x02\x02\u01dd\u01de\x071\x02\x02\u01de","\u01df\x07,\x02\x02\u01df\u01e3\x03\x02\x02\x02\u01e0","\u01e2\v\x02\x02\x02\u01e1\u01e0\x03\x02\x02\x02\u01e2","\u01e5\x03\x02\x02\x02\u01e3\u01e4\x03\x02\x02\x02\u01e3","\u01e1\x03\x02\x02\x02\u01e4\u01e6\x03\x02\x02\x02\u01e5","\u01e3\x03\x02\x02\x02\u01e6\u01e7\x07,\x02\x02\u01e7","\u01e8\x071\x02\x02\u01e8\u01e9\x03\x02\x02\x02\u01e9","\u01ea\b@\x02\x02\u01ea\x80\x03\x02\x02\x02\u01eb\u01ec","\x071\x02\x02\u01ec\u01ed\x071\x02\x02\u01ed\u01f1\x03","\x02\x02\x02\u01ee\u01f0\n\t\x02\x02\u01ef\u01ee\x03\x02","\x02\x02\u01f0\u01f3\x03\x02\x02\x02\u01f1\u01ef\x03\x02","\x02\x02\u01f1\u01f2\x03\x02\x02\x02\u01f2\u01f4\x03\x02","\x02\x02\u01f3\u01f1\x03\x02\x02\x02\u01f4\u01f5\bA\x02","\x02\u01f5\x82\x03\x02\x02\x02\u01f6\u01f9\x07^\x02","\x02\u01f7\u01fa\t\n\x02\x02\u01f8\u01fa\x05\x85C\x02\u01f9","\u01f7\x03\x02\x02\x02\u01f9\u01f8\x03\x02\x02\x02\u01fa","\x84\x03\x02\x02\x02\u01fb\u01fc\x07w\x02\x02\u01fc","\u01fd\x05\x87D\x02\u01fd\u01fe\x05\x87D\x02\u01fe\u01ff","\x05\x87D\x02\u01ff\u0200\x05\x87D\x02\u0200\x86\x03","\x02\x02\x02\u0201\u0202\t\v\x02\x02\u0202\x88\x03","\x02\x02\x02\x1a\x02\u0182\u0184\u0186\u0189\u019b\u019d\u019f","\u01a1\u01aa\u01ad\u01b0\u01b2\u01b8\u01ba\u01c2\u01c4\u01cc\u01d2\u01d4","\u01d9\u01e3\u01f1\u01f9\x03\x02\x03\x02"].join(""),g=(new c.atn.ATNDeserializer).deserialize(d),r=g.decisionToState.map((f,u)=>new c.dfa.DFA(f,u));class h extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(h,"grammarFileName","FHIRPath.g4"),n(h,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(h,"modeNames",["DEFAULT_MODE"]),n(h,"literalNames",[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),n(h,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),n(h,"ruleNames",["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","T__53","DATETIME","TIME","TIMEFORMAT","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT","ESC","UNICODE","HEX"]),h.EOF=c.Token.EOF,h.T__0=1,h.T__1=2,h.T__2=3,h.T__3=4,h.T__4=5,h.T__5=6,h.T__6=7,h.T__7=8,h.T__8=9,h.T__9=10,h.T__10=11,h.T__11=12,h.T__12=13,h.T__13=14,h.T__14=15,h.T__15=16,h.T__16=17,h.T__17=18,h.T__18=19,h.T__19=20,h.T__20=21,h.T__21=22,h.T__22=23,h.T__23=24,h.T__24=25,h.T__25=26,h.T__26=27,h.T__27=28,h.T__28=29,h.T__29=30,h.T__30=31,h.T__31=32,h.T__32=33,h.T__33=34,h.T__34=35,h.T__35=36,h.T__36=37,h.T__37=38,h.T__38=39,h.T__39=40,h.T__40=41,h.T__41=42,h.T__42=43,h.T__43=44,h.T__44=45,h.T__45=46,h.T__46=47,h.T__47=48,h.T__48=49,h.T__49=50,h.T__50=51,h.T__51=52,h.T__52=53,h.T__53=54,h.DATETIME=55,h.TIME=56,h.IDENTIFIER=57,h.DELIMITEDIDENTIFIER=58,h.STRING=59,h.NUMBER=60,h.WS=61,h.COMMENT=62,h.LINE_COMMENT=63,Ie.exports=h},6647:(Ie,B,a)=>{const n=a(5815);Ie.exports=class c extends n.tree.ParseTreeListener{enterEntireExpression(g){}exitEntireExpression(g){}enterIndexerExpression(g){}exitIndexerExpression(g){}enterPolarityExpression(g){}exitPolarityExpression(g){}enterAdditiveExpression(g){}exitAdditiveExpression(g){}enterMultiplicativeExpression(g){}exitMultiplicativeExpression(g){}enterUnionExpression(g){}exitUnionExpression(g){}enterOrExpression(g){}exitOrExpression(g){}enterAndExpression(g){}exitAndExpression(g){}enterMembershipExpression(g){}exitMembershipExpression(g){}enterInequalityExpression(g){}exitInequalityExpression(g){}enterInvocationExpression(g){}exitInvocationExpression(g){}enterEqualityExpression(g){}exitEqualityExpression(g){}enterImpliesExpression(g){}exitImpliesExpression(g){}enterTermExpression(g){}exitTermExpression(g){}enterTypeExpression(g){}exitTypeExpression(g){}enterInvocationTerm(g){}exitInvocationTerm(g){}enterLiteralTerm(g){}exitLiteralTerm(g){}enterExternalConstantTerm(g){}exitExternalConstantTerm(g){}enterParenthesizedTerm(g){}exitParenthesizedTerm(g){}enterNullLiteral(g){}exitNullLiteral(g){}enterBooleanLiteral(g){}exitBooleanLiteral(g){}enterStringLiteral(g){}exitStringLiteral(g){}enterNumberLiteral(g){}exitNumberLiteral(g){}enterDateTimeLiteral(g){}exitDateTimeLiteral(g){}enterTimeLiteral(g){}exitTimeLiteral(g){}enterQuantityLiteral(g){}exitQuantityLiteral(g){}enterExternalConstant(g){}exitExternalConstant(g){}enterMemberInvocation(g){}exitMemberInvocation(g){}enterFunctionInvocation(g){}exitFunctionInvocation(g){}enterThisInvocation(g){}exitThisInvocation(g){}enterIndexInvocation(g){}exitIndexInvocation(g){}enterTotalInvocation(g){}exitTotalInvocation(g){}enterFunctn(g){}exitFunctn(g){}enterParamList(g){}exitParamList(g){}enterQuantity(g){}exitQuantity(g){}enterUnit(g){}exitUnit(g){}enterDateTimePrecision(g){}exitDateTimePrecision(g){}enterPluralDateTimePrecision(g){}exitPluralDateTimePrecision(g){}enterTypeSpecifier(g){}exitTypeSpecifier(g){}enterQualifiedIdentifier(g){}exitQualifiedIdentifier(g){}enterIdentifier(g){}exitIdentifier(g){}}},8827:(Ie,B,a)=>{var n=a(8416).default;const c=a(5815),d=a(6647),g=["\x03\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786","\u5964\x03A\x9c\x04\x02\t\x02\x04\x03\t\x03\x04\x04","\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07","\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f","\x04\r\t\r\x04\x0e\t\x0e\x04\x0f\t\x0f\x04\x10\t\x10","\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03","\x03\x03\x05\x03(\n\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03","\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x07\x03","P\n\x03\f\x03\x0e\x03S\v\x03\x03\x04\x03\x04\x03","\x04\x03\x04\x03\x04\x03\x04\x03\x04\x05\x04\\","\n\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05","\x03\x05\x03\x05\x03\x05\x05\x05f\n\x05\x03\x06","\x03\x06\x03\x06\x05\x06k\n\x06\x03\x07\x03\x07","\x03\x07\x03\x07\x03\x07\x05\x07r\n\x07\x03\b\x03","\b\x03\b\x05\bw\n\b\x03\b\x03\b\x03\t\x03\t\x03\t\x07","\t~\n\t\f\t\x0e\t\x81\v\t\x03\n\x03\n\x05\n\x85\n\n","\x03\v\x03\v\x03\v\x05\v\x8a\n\v\x03","\f\x03\f\x03\r\x03\r\x03\x0e\x03\x0e\x03\x0f\x03","\x0f\x03\x0f\x07\x0f\x95\n\x0f\f\x0f\x0e\x0f\x98","\v\x0f\x03\x10\x03\x10\x03\x10\x02\x03\x04\x11","\x02\x04\x06\b\n\f\x0e\x10\x12\x14\x16\x18\x1a\x1c","\x1e\x02\x0e\x03\x02\x06\x07\x03\x02\b\v\x04","\x02\x06\x07\f\f\x03\x02\x0e\x11\x03\x02\x14\x17","\x03\x02\x18\x19\x03\x02\x1b\x1c\x03\x02\x12\x13",'\x03\x02"#\x03\x02)0\x03\x0218\x05\x02\x12\x13',"\x18\x19;<\x02\xad\x02 \x03\x02\x02\x02\x04'\x03","\x02\x02\x02\x06[\x03\x02\x02\x02\be\x03\x02\x02","\x02\ng\x03\x02\x02\x02\fq\x03\x02\x02\x02\x0es","\x03\x02\x02\x02\x10z\x03\x02\x02\x02\x12\x82","\x03\x02\x02\x02\x14\x89\x03\x02\x02\x02\x16\x8b","\x03\x02\x02\x02\x18\x8d\x03\x02\x02\x02\x1a\x8f","\x03\x02\x02\x02\x1c\x91\x03\x02\x02\x02\x1e\x99",'\x03\x02\x02\x02 !\x05\x04\x03\x02!"\x07\x02\x02','\x03"\x03\x03\x02\x02\x02#$\b\x03\x01\x02$(\x05',"\x06\x04\x02%&\t\x02\x02\x02&(\x05\x04\x03\r'#\x03","\x02\x02\x02'%\x03\x02\x02\x02(Q\x03\x02\x02\x02",")*\f\f\x02\x02*+\t\x03\x02\x02+P\x05\x04\x03\r,-\f\v","\x02\x02-.\t\x04\x02\x02.P\x05\x04\x03\f/0\f\n\x02","\x0201\x07\r\x02\x021P\x05\x04\x03\v23\f\t\x02\x02","34\t\x05\x02\x024P\x05\x04\x03\n56\f\x07\x02\x026","7\t\x06\x02\x027P\x05\x04\x03\b89\f\x06\x02\x029:","\t\x07\x02\x02:P\x05\x04\x03\x07;<\f\x05\x02\x02","<=\x07\x1a\x02\x02=P\x05\x04\x03\x06>?\f\x04\x02","\x02?@\t\b\x02\x02@P\x05\x04\x03\x05AB\f\x03\x02\x02","BC\x07\x1d\x02\x02CP\x05\x04\x03\x04DE\f\x0f\x02","\x02EF\x07\x03\x02\x02FP\x05\f\x07\x02GH\f\x0e\x02","\x02HI\x07\x04\x02\x02IJ\x05\x04\x03\x02JK\x07\x05","\x02\x02KP\x03\x02\x02\x02LM\f\b\x02\x02MN\t\t\x02","\x02NP\x05\x1a\x0e\x02O)\x03\x02\x02\x02O,\x03\x02","\x02\x02O/\x03\x02\x02\x02O2\x03\x02\x02\x02O5\x03","\x02\x02\x02O8\x03\x02\x02\x02O;\x03\x02\x02\x02","O>\x03\x02\x02\x02OA\x03\x02\x02\x02OD\x03\x02\x02","\x02OG\x03\x02\x02\x02OL\x03\x02\x02\x02PS\x03\x02","\x02\x02QO\x03\x02\x02\x02QR\x03\x02\x02\x02R\x05","\x03\x02\x02\x02SQ\x03\x02\x02\x02T\\\x05\f\x07","\x02U\\\x05\b\x05\x02V\\\x05\n\x06\x02WX\x07\x1e\x02","\x02XY\x05\x04\x03\x02YZ\x07\x1f\x02\x02Z\\\x03","\x02\x02\x02[T\x03\x02\x02\x02[U\x03\x02\x02\x02","[V\x03\x02\x02\x02[W\x03\x02\x02\x02\\\x07\x03\x02","\x02\x02]^\x07 \x02\x02^f\x07!\x02\x02_f\t\n\x02\x02","`f\x07=\x02\x02af\x07>\x02\x02bf\x079\x02\x02cf\x07",":\x02\x02df\x05\x12\n\x02e]\x03\x02\x02\x02e_\x03","\x02\x02\x02e`\x03\x02\x02\x02ea\x03\x02\x02\x02","eb\x03\x02\x02\x02ec\x03\x02\x02\x02ed\x03\x02\x02","\x02f\t\x03\x02\x02\x02gj\x07$\x02\x02hk\x05\x1e","\x10\x02ik\x07=\x02\x02jh\x03\x02\x02\x02ji\x03","\x02\x02\x02k\v\x03\x02\x02\x02lr\x05\x1e\x10","\x02mr\x05\x0e\b\x02nr\x07%\x02\x02or\x07&\x02\x02","pr\x07'\x02\x02ql\x03\x02\x02\x02qm\x03\x02\x02","\x02qn\x03\x02\x02\x02qo\x03\x02\x02\x02qp\x03\x02","\x02\x02r\r\x03\x02\x02\x02st\x05\x1e\x10\x02tv","\x07\x1e\x02\x02uw\x05\x10\t\x02vu\x03\x02\x02\x02","vw\x03\x02\x02\x02wx\x03\x02\x02\x02xy\x07\x1f\x02","\x02y\x0f\x03\x02\x02\x02z\x7f\x05\x04\x03\x02","{|\x07(\x02\x02|~\x05\x04\x03\x02}{\x03\x02\x02","\x02~\x81\x03\x02\x02\x02\x7f}\x03\x02\x02\x02","\x7f\x80\x03\x02\x02\x02\x80\x11\x03\x02\x02\x02","\x81\x7f\x03\x02\x02\x02\x82\x84\x07>\x02\x02","\x83\x85\x05\x14\v\x02\x84\x83\x03\x02\x02\x02","\x84\x85\x03\x02\x02\x02\x85\x13\x03\x02\x02\x02","\x86\x8a\x05\x16\f\x02\x87\x8a\x05\x18\r\x02\x88","\x8a\x07=\x02\x02\x89\x86\x03\x02\x02\x02\x89","\x87\x03\x02\x02\x02\x89\x88\x03\x02\x02\x02\x8a","\x15\x03\x02\x02\x02\x8b\x8c\t\v\x02\x02\x8c","\x17\x03\x02\x02\x02\x8d\x8e\t\f\x02\x02\x8e\x19","\x03\x02\x02\x02\x8f\x90\x05\x1c\x0f\x02\x90\x1b","\x03\x02\x02\x02\x91\x96\x05\x1e\x10\x02\x92\x93","\x07\x03\x02\x02\x93\x95\x05\x1e\x10\x02\x94\x92","\x03\x02\x02\x02\x95\x98\x03\x02\x02\x02\x96\x94","\x03\x02\x02\x02\x96\x97\x03\x02\x02\x02\x97\x1d","\x03\x02\x02\x02\x98\x96\x03\x02\x02\x02\x99\x9a","\t\r\x02\x02\x9a\x1f\x03\x02\x02\x02\x0e'OQ[ejqv","\x7f\x84\x89\x96"].join(""),r=(new c.atn.ATNDeserializer).deserialize(g),h=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),f=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,h,f),this.ruleNames=u.ruleNames,this.literalNames=u.literalNames,this.symbolicNames=u.symbolicNames}get atn(){return r}sempred(N,oe,Y){if(1===oe)return this.expression_sempred(N,Y);throw"No predicate with index:"+oe}expression_sempred(N,oe){switch(oe){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,5);case 5:return this.precpred(this._ctx,4);case 6:return this.precpred(this._ctx,3);case 7:return this.precpred(this._ctx,2);case 8:return this.precpred(this._ctx,1);case 9:return this.precpred(this._ctx,13);case 10:return this.precpred(this._ctx,12);case 11:return this.precpred(this._ctx,6);default:throw"No predicate with index:"+oe}}entireExpression(){let N=new v(this,this._ctx,this.state);this.enterRule(N,0,u.RULE_entireExpression);try{this.enterOuterAlt(N,1),this.state=30,this.expression(0),this.state=31,this.match(u.EOF)}catch(oe){if(!(oe instanceof c.error.RecognitionException))throw oe;N.exception=oe,this._errHandler.reportError(this,oe),this._errHandler.recover(this,oe)}finally{this.exitRule()}return N}expression(N){void 0===N&&(N=0);const oe=this._ctx,Y=this.state;let ne=new b(this,this._ctx,Y),Q=ne;this.enterRecursionRule(ne,2,u.RULE_expression,N);var Te=0;try{switch(this.enterOuterAlt(ne,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case u.T__15:case u.T__16:case u.T__21:case u.T__22:case u.T__27:case u.T__29:case u.T__31:case u.T__32:case u.T__33:case u.T__34:case u.T__35:case u.T__36:case u.DATETIME:case u.TIME:case u.IDENTIFIER:case u.DELIMITEDIDENTIFIER:case u.STRING:case u.NUMBER:ne=new ie(this,ne),this._ctx=ne,Q=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,Q=ne,this.state=35,(Te=this._input.LA(1))===u.T__3||Te===u.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new c.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Ct=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Ct&&Ct!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===Ct)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),Q=ne,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(ne=new y(this,new b(this,oe,Y)),this.pushNewRecursionContext(ne,2,u.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new c.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(Te=this._input.LA(1)))&&1<'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),n(u,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),n(u,"ruleNames",["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"]),u.EOF=c.Token.EOF,u.T__0=1,u.T__1=2,u.T__2=3,u.T__3=4,u.T__4=5,u.T__5=6,u.T__6=7,u.T__7=8,u.T__8=9,u.T__9=10,u.T__10=11,u.T__11=12,u.T__12=13,u.T__13=14,u.T__14=15,u.T__15=16,u.T__16=17,u.T__17=18,u.T__18=19,u.T__19=20,u.T__20=21,u.T__21=22,u.T__22=23,u.T__23=24,u.T__24=25,u.T__25=26,u.T__26=27,u.T__27=28,u.T__28=29,u.T__29=30,u.T__30=31,u.T__31=32,u.T__32=33,u.T__33=34,u.T__34=35,u.T__35=36,u.T__36=37,u.T__37=38,u.T__38=39,u.T__39=40,u.T__40=41,u.T__41=42,u.T__42=43,u.T__43=44,u.T__44=45,u.T__45=46,u.T__46=47,u.T__47=48,u.T__48=49,u.T__49=50,u.T__50=51,u.T__51=52,u.T__52=53,u.T__53=54,u.DATETIME=55,u.TIME=56,u.IDENTIFIER=57,u.DELIMITEDIDENTIFIER=58,u.STRING=59,u.NUMBER=60,u.WS=61,u.COMMENT=62,u.LINE_COMMENT=63,u.RULE_entireExpression=0,u.RULE_expression=1,u.RULE_term=2,u.RULE_literal=3,u.RULE_externalConstant=4,u.RULE_invocation=5,u.RULE_functn=6,u.RULE_paramList=7,u.RULE_quantity=8,u.RULE_unit=9,u.RULE_dateTimePrecision=10,u.RULE_pluralDateTimePrecision=11,u.RULE_typeSpecifier=12,u.RULE_qualifiedIdentifier=13,u.RULE_identifier=14;class v extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_entireExpression}expression(){return this.getTypedRuleContext(b,0)}EOF(){return this.getToken(u.EOF,0)}enterRule(N){N instanceof d&&N.enterEntireExpression(this)}exitRule(N){N instanceof d&&N.exitEntireExpression(this)}}class b extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_expression}copyFrom(N){super.copyFrom(N)}}class p extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterIndexerExpression(this)}exitRule(N){N instanceof d&&N.exitIndexerExpression(this)}}u.IndexerExpressionContext=p;class _ extends b{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}enterRule(N){N instanceof d&&N.enterPolarityExpression(this)}exitRule(N){N instanceof d&&N.exitPolarityExpression(this)}}u.PolarityExpressionContext=_;class l extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterAdditiveExpression(this)}exitRule(N){N instanceof d&&N.exitAdditiveExpression(this)}}u.AdditiveExpressionContext=l;class y extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterMultiplicativeExpression(this)}exitRule(N){N instanceof d&&N.exitMultiplicativeExpression(this)}}u.MultiplicativeExpressionContext=y;class x extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterUnionExpression(this)}exitRule(N){N instanceof d&&N.exitUnionExpression(this)}}u.UnionExpressionContext=x;class D extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterOrExpression(this)}exitRule(N){N instanceof d&&N.exitOrExpression(this)}}u.OrExpressionContext=D;class S extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterAndExpression(this)}exitRule(N){N instanceof d&&N.exitAndExpression(this)}}u.AndExpressionContext=S;class E extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterMembershipExpression(this)}exitRule(N){N instanceof d&&N.exitMembershipExpression(this)}}u.MembershipExpressionContext=E;class I extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterInequalityExpression(this)}exitRule(N){N instanceof d&&N.exitInequalityExpression(this)}}u.InequalityExpressionContext=I;class X extends b{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(N){N instanceof d&&N.enterInvocationExpression(this)}exitRule(N){N instanceof d&&N.exitInvocationExpression(this)}}u.InvocationExpressionContext=X;class $ extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterEqualityExpression(this)}exitRule(N){N instanceof d&&N.exitEqualityExpression(this)}}u.EqualityExpressionContext=$;class ee extends b{constructor(N,oe){super(N),n(this,"expression",function(Y){return void 0===Y&&(Y=null),null===Y?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,Y)}),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterImpliesExpression(this)}exitRule(N){N instanceof d&&N.exitImpliesExpression(this)}}u.ImpliesExpressionContext=ee;class ie extends b{constructor(N,oe){super(N),super.copyFrom(oe)}term(){return this.getTypedRuleContext(U,0)}enterRule(N){N instanceof d&&N.enterTermExpression(this)}exitRule(N){N instanceof d&&N.exitTermExpression(this)}}u.TermExpressionContext=ie;class A extends b{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}typeSpecifier(){return this.getTypedRuleContext(Le,0)}enterRule(N){N instanceof d&&N.enterTypeExpression(this)}exitRule(N){N instanceof d&&N.exitTypeExpression(this)}}u.TypeExpressionContext=A;class U extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_term}copyFrom(N){super.copyFrom(N)}}class Me extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(se,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Me;class Re extends U{constructor(N,oe){super(N),super.copyFrom(oe)}literal(){return this.getTypedRuleContext(H,0)}enterRule(N){N instanceof d&&N.enterLiteralTerm(this)}exitRule(N){N instanceof d&&N.exitLiteralTerm(this)}}u.LiteralTermContext=Re;class Ae extends U{constructor(N,oe){super(N),super.copyFrom(oe)}expression(){return this.getTypedRuleContext(b,0)}enterRule(N){N instanceof d&&N.enterParenthesizedTerm(this)}exitRule(N){N instanceof d&&N.exitParenthesizedTerm(this)}}u.ParenthesizedTermContext=Ae;class he extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ye,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=he;class H extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_literal}copyFrom(N){super.copyFrom(N)}}class W extends H{constructor(N,oe){super(N),super.copyFrom(oe)}TIME(){return this.getToken(u.TIME,0)}enterRule(N){N instanceof d&&N.enterTimeLiteral(this)}exitRule(N){N instanceof d&&N.exitTimeLiteral(this)}}u.TimeLiteralContext=W;class pe extends H{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterNullLiteral(this)}exitRule(N){N instanceof d&&N.exitNullLiteral(this)}}u.NullLiteralContext=pe;class we extends H{constructor(N,oe){super(N),super.copyFrom(oe)}DATETIME(){return this.getToken(u.DATETIME,0)}enterRule(N){N instanceof d&&N.enterDateTimeLiteral(this)}exitRule(N){N instanceof d&&N.exitDateTimeLiteral(this)}}u.DateTimeLiteralContext=we;class Ee extends H{constructor(N,oe){super(N),super.copyFrom(oe)}STRING(){return this.getToken(u.STRING,0)}enterRule(N){N instanceof d&&N.enterStringLiteral(this)}exitRule(N){N instanceof d&&N.exitStringLiteral(this)}}u.StringLiteralContext=Ee;class Be extends H{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterBooleanLiteral(this)}exitRule(N){N instanceof d&&N.exitBooleanLiteral(this)}}u.BooleanLiteralContext=Be;class G extends H{constructor(N,oe){super(N),super.copyFrom(oe)}NUMBER(){return this.getToken(u.NUMBER,0)}enterRule(N){N instanceof d&&N.enterNumberLiteral(this)}exitRule(N){N instanceof d&&N.exitNumberLiteral(this)}}u.NumberLiteralContext=G;class re extends H{constructor(N,oe){super(N),super.copyFrom(oe)}quantity(){return this.getTypedRuleContext(gt,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class se extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_externalConstant}identifier(){return this.getTypedRuleContext(ze,0)}STRING(){return this.getToken(u.STRING,0)}enterRule(N){N instanceof d&&N.enterExternalConstant(this)}exitRule(N){N instanceof d&&N.exitExternalConstant(this)}}class ye extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_invocation}copyFrom(N){super.copyFrom(N)}}class He extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterTotalInvocation(this)}exitRule(N){N instanceof d&&N.exitTotalInvocation(this)}}u.TotalInvocationContext=He;class Ze extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterThisInvocation(this)}exitRule(N){N instanceof d&&N.exitThisInvocation(this)}}u.ThisInvocationContext=Ze;class Qe extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}enterRule(N){N instanceof d&&N.enterIndexInvocation(this)}exitRule(N){N instanceof d&&N.exitIndexInvocation(this)}}u.IndexInvocationContext=Qe;class We extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Mt,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=We;class tt extends ye{constructor(N,oe){super(N),super.copyFrom(oe)}identifier(){return this.getTypedRuleContext(ze,0)}enterRule(N){N instanceof d&&N.enterMemberInvocation(this)}exitRule(N){N instanceof d&&N.exitMemberInvocation(this)}}u.MemberInvocationContext=tt;class Mt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_functn}identifier(){return this.getTypedRuleContext(ze,0)}paramList(){return this.getTypedRuleContext(Ft,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Ft extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),n(this,"expression",function(ne){return void 0===ne&&(ne=null),null===ne?this.getTypedRuleContexts(b):this.getTypedRuleContext(b,ne)}),this.parser=N,this.ruleIndex=u.RULE_paramList}enterRule(N){N instanceof d&&N.enterParamList(this)}exitRule(N){N instanceof d&&N.exitParamList(this)}}class gt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_quantity}NUMBER(){return this.getToken(u.NUMBER,0)}unit(){return this.getTypedRuleContext(Bt,0)}enterRule(N){N instanceof d&&N.enterQuantity(this)}exitRule(N){N instanceof d&&N.exitQuantity(this)}}class Bt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_unit}dateTimePrecision(){return this.getTypedRuleContext(Tt,0)}pluralDateTimePrecision(){return this.getTypedRuleContext(kt,0)}STRING(){return this.getToken(u.STRING,0)}enterRule(N){N instanceof d&&N.enterUnit(this)}exitRule(N){N instanceof d&&N.exitUnit(this)}}class Tt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_dateTimePrecision}enterRule(N){N instanceof d&&N.enterDateTimePrecision(this)}exitRule(N){N instanceof d&&N.exitDateTimePrecision(this)}}class kt extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_pluralDateTimePrecision}enterRule(N){N instanceof d&&N.enterPluralDateTimePrecision(this)}exitRule(N){N instanceof d&&N.exitPluralDateTimePrecision(this)}}class Le extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_typeSpecifier}qualifiedIdentifier(){return this.getTypedRuleContext(ct,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class ct extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),n(this,"identifier",function(ne){return void 0===ne&&(ne=null),null===ne?this.getTypedRuleContexts(ze):this.getTypedRuleContext(ze,ne)}),this.parser=N,this.ruleIndex=u.RULE_qualifiedIdentifier}enterRule(N){N instanceof d&&N.enterQualifiedIdentifier(this)}exitRule(N){N instanceof d&&N.exitQualifiedIdentifier(this)}}class ze extends c.ParserRuleContext{constructor(N,oe,Y){void 0===oe&&(oe=null),null==Y&&(Y=-1),super(oe,Y),this.parser=N,this.ruleIndex=u.RULE_identifier}IDENTIFIER(){return this.getToken(u.IDENTIFIER,0)}DELIMITEDIDENTIFIER(){return this.getToken(u.DELIMITEDIDENTIFIER,0)}enterRule(N){N instanceof d&&N.enterIdentifier(this)}exitRule(N){N instanceof d&&N.exitIdentifier(this)}}u.EntireExpressionContext=v,u.ExpressionContext=b,u.TermContext=U,u.LiteralContext=H,u.ExternalConstantContext=se,u.InvocationContext=ye,u.FunctnContext=Mt,u.ParamListContext=Ft,u.QuantityContext=gt,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=kt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=ct,u.IdentifierContext=ze,Ie.exports=u},7661:(Ie,B,a)=>{const n=a(5815),c=a(2472),d=a(8827),g=a(6647);class r extends n.error.ErrorListener{constructor(u){super(),this.errors=u}syntaxError(u,v,b,p,_,l){this.errors.push([u,v,b,p,_,l])}}Ie.exports={parse:function(f){var u=new n.InputStream(f),v=new c(u),b=new n.CommonTokenStream(v),p=new d(b);p.buildParseTrees=!0;var _=[],l=new r(_);v.removeErrorListeners(),v.addErrorListener(l),p.removeErrorListeners(),p.addErrorListener(l);var y=p.entireExpression();class x extends g{constructor(){super()}}var S,D={},E=[D];for(let $ of Object.getOwnPropertyNames(g.prototype))$.startsWith("enter")?x.prototype[$]=function(ee){let ie=E[E.length-1];(S={type:$.slice(5)}).text=ee.getText(),ie.children||(ie.children=[]),ie.children.push(S),E.push(S),S.terminalNodeText=[];for(let U of ee.children)U.symbol&&S.terminalNodeText.push(U.getText())}:$.startsWith("exit")&&(x.prototype[$]=function(){E.pop()});var I=new x;if(n.tree.ParseTreeWalker.DEFAULT.walk(I,y),_.length>0){let $=[];for(let ee=0,ie=_.length;ee{const Ie=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(B){return"number"==typeof B&&isFinite(B)&&Math.floor(B)===B},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(B,a){return this.indexOf(B,a=a||0)===a}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(B,a){var n=this.toString();(void 0===a||a>n.length)&&(a=n.length);var c=n.indexOf(B,a-=B.length);return-1!==c&&c===a}}),String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(){return-1!==this.indexOf.apply(this,arguments)}}),Object.assign||Object.defineProperty(Object,"assign",{value:function(B){if(null==B)throw new TypeError("Cannot convert undefined or null to object");return Ie(arguments,1).reduce(function(a,n){return Object.keys(Object(n)).forEach(function(c){a[c]=n[c]}),a},Object(B))}}),typeof btoa>"u"&&(global.btoa=function(B){return new Buffer.from(B,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(B){return new Buffer.from(B,"base64").toString("binary")})},4702:(Ie,B,a)=>{const n=a(5827),c=a(6777),d={},g={};d.indexOf=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(f,u,v){const b=c.singleton(f,"String");return n.isEmpty(b)||n.isEmpty(u)||u<0||u>=b.length?[]:void 0===v||n.isEmpty(v)?b.substring(u):b.substring(u,u+v)},d.startsWith=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(f,u){return void 0===u&&(u=""),f.map(b=>{const p=n.valData(b);if("string"==typeof p)return p;throw new Error("Join requires a collection of strings.")}).join(u)},d.splitFn=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(f,u){const v=c.singleton(f,"String");return n.isEmpty(v)?[]:"urlbase64"===u||"base64url"===u?btoa(v).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===u?btoa(v):"hex"===u?Array.from(v).map(b=>b.charCodeAt(0)<128?b.charCodeAt(0).toString(16):encodeURIComponent(b).replace(/%/g,"")).join(""):[]},d.decodeFn=function(f,u){const v=c.singleton(f,"String");if(n.isEmpty(v))return[];if("urlbase64"===u||"base64url"===u)return atob(v.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===u)return atob(v);if("hex"===u){if(v.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+v.match(/.{2}/g).join("%"))}return[]},d.matches=!1===new RegExp("").dotAll?function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(f,u){const v=c.singleton(f,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(f){return g[f]||(g[f]=f.replace(/\./g,(u,v,b)=>{const _=b.substr(0,v).replace(/\\\\/g,"").replace(/\\[\][]/g,""),l="\\"===_[_.length-1],y=_.lastIndexOf("["),x=_.lastIndexOf("]");return l||y>x?".":"[^]"})),g[f]}(u)).test(v)},d.replace=function(f,u,v){const b=c.singleton(f,"String");if(n.isEmpty(u)||n.isEmpty(v)||n.isEmpty(b))return[];const p=new RegExp(n.escapeStringForRegExp(u),"g");return b.replace(p,v)},d.replaceMatches=function(f,u,v){const b=c.singleton(f,"String");if(n.isEmpty(u)||n.isEmpty(v)||n.isEmpty(b))return[];const p=new RegExp(u,"g");return b.replace(p,v)},d.length=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(f){const u=c.singleton(f,"String");return n.isEmpty(u)?[]:u.split("")},Ie.exports=d},4217:(Ie,B,a)=>{var n=a(8416).default;const c=a(3745),d=a(2207).ng.getInstance(),g=a(4192);let h="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",f=new RegExp("^T?"+h+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+h+")?)?)?Z?$"),v=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$");class b{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class p extends b{constructor(A,U){super(),this.asStr=A+" "+U,this.value=A,this.unit=U}equals(A){if(!(A instanceof this.constructor))return!1;if(this.unit===A.unit)return g.isEqual(this.value,A.value);const U=this._compareYearsAndMonths(A);if(U)return U.isEqual;const Me=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Me.unit);return"succeeded"===Ae.status&&g.isEqual(Me.value,Ae.toVal)}equivalentTo(A){if(!(A instanceof this.constructor))return!1;if(this.unit===A.unit)return g.isEquivalent(this.value,A.value);const U=p.getEquivalentUcumUnitCode(this.unit),Me=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Me,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Me=p._yearMonthConversionFactor[A.unit];return U&&Me?{isEqual:g.isEqual(this.value*U,A.value*Me)}:null}}const _=/^'|'$/g;p.getEquivalentUcumUnitCode=function(ie){return p.mapTimeUnitsToUCUMCode[ie]||ie.replace(_,"")},p.toUcumQuantity=function(ie,A){const U=p._calendarDuration2Seconds[A];return U?{value:U*ie,unit:"s"}:{value:ie,unit:A.replace(_,"")}},p.convUnitTo=function(ie,A,U){const Me=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Me&&Re)return new p(Me*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],he=p._calendarDuration2Seconds[U];if(he){if(Ae)return new p(Ae*A/he,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/he,U)}}else{const H=Ae?d.convertUnitTo("s",Ae*A,U.replace(/^'|'$/g,"")):d.convertUnitTo(ie.replace(/^'|'$/g,""),A,U.replace(/^'|'$/g,""));if("succeeded"===H.status)return new p(H.toVal,U)}return null},p._calendarDuration2Seconds={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60,second:1,millisecond:.001},p._yearMonthConversionFactor={years:12,months:1,year:12,month:1},p.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},p.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},p.mapTimeUnitsToUCUMCode=Object.keys(p.mapUCUMCodeToTimeUnits).reduce(function(ie,A){return ie[p.mapUCUMCodeToTimeUnits[A]]=A,ie[p.mapUCUMCodeToTimeUnits[A]+"s"]=A,ie},{});class l extends b{constructor(A){super(),this.asStr=A}plus(A){let Me=p.arithmeticDurationUnits[A.unit];if(!Me)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(p.arithmeticDurationUnits));const Re=this.constructor,Ae=Re._timeUnitToDatePrecision[Me];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let he=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(he=Math.trunc(he)),this._getPrecision()2?new y(he)._getTimeParts():this._getTimeParts(),pe=Re>2?new y(H)._getTimeParts():A._getTimeParts(),we=0;we<=Ae&&!1!==U;++we)U=W[we]==pe[we];U&&(U=void 0)}}else U=!1;return U}equivalentTo(A){var U=A instanceof this.constructor;return U&&(U=this._getPrecision()==A._getPrecision())&&(U=this._getDateObj().getTime()==A._getDateObj().getTime()),U}compare(A){var U=this._getPrecision(),Me=A._getPrecision(),Re=U<=Me?this._getDateObj().getTime():this._dateAtPrecision(Me).getTime(),Ae=Me<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Me&&Re===Ae?null:Re-Ae}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(A,U){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(A),this.timeMatchData))for(let Me=U;Me>=0&&void 0===this.precision;--Me)this.timeMatchData[Me]&&(this.precision=Me);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Me=A[4];if(Me){let H=U[0];U[0]=H.slice(0,H.length-Me.length)}var Re=A[1];if(Re){let H=U[0];U[0]=H.slice(0,H.length-Re.length),U[1]=Re;var Ae=A[2];if(Ae){U[1]=Re.slice(0,Re.length-Ae.length),U[2]=Ae;var he=A[3];he&&(U[2]=Ae.slice(0,Ae.length-he.length),U[3]=he)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Me,Re,Ae,he,H,W){var pe=new Date(A,U,Me,Re,Ae,he,H);if(W){var we=pe.getTimezoneOffset(),Ee=0;if("Z"!=W){var Be=W.split(":"),G=parseInt(Be[0]);Ee=parseInt(Be[1]),G<0&&(Ee=-Ee),Ee+=60*G}pe=c(pe,-we-Ee)}return pe}}l.timeUnitToAddFn={year:a(3763),month:a(1277),week:a(338),day:a(2860),hour:a(6888),minute:a(3745),second:a(3857),millisecond:a(3895)};let y=(()=>{class ie extends l{constructor(U){super(U)}compare(U){if(!(U instanceof ie))throw"Invalid comparison of a DateTime with something else";return super.compare(U)}_getMatchData(){return super._getMatchData(u,5)}_getTimeParts(){if(!this.timeParts){let Me=this._getMatchData(),Re=Me[0];this.timeParts=[Re];var U=Me[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Me[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let he=Me[3];he&&(this.timeParts[2]=Ae.slice(0,Ae.length-he.length),"T"===he[0]&&(Me[3]=he.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Me.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Me=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),he=parseInt(Me[0]),H=Ae>0?parseInt(Me[1].slice(1))-1:0,W=Ae>1?parseInt(Me[2].slice(1)):1,pe=Ae>2?parseInt(Me[3]):0,we=Ae>3?parseInt(Me[4].slice(1)):0,Ee=Ae>4?parseInt(Me[5].slice(1)):0,Be=Me.length>6?parseInt(Me[6].slice(1)):0,G=this._createDate(he,H,W,pe,we,Ee,Be,Re);return U0?G.getMonth():0,W=U>1?G.getDate():1,pe=U>2?G.getHours():0,we=U>3?G.getMinutes():0,G=new Date(he,H,W,pe,we)),G}}return ie.checkString=function(A){let U=new ie(A);return U._getMatchData()||(U=null),U},ie._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},ie._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],ie})(),x=(()=>{class ie extends l{constructor(U){"T"==U[0]&&(U=U.slice(1)),super(U)}compare(U){if(!(U instanceof ie))throw"Invalid comparison of a time with something else";return super.compare(U)}_dateAtPrecision(U){var Me=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Me[0]),we=Ae>0?parseInt(Me[1].slice(1)):0,Ee=Ae>1?parseInt(Me[2].slice(1)):0,Be=Me.length>3?parseInt(Me[3].slice(1)):0,G=this._createDate(2010,0,1,pe,we,Ee,Be,Re);return Re&&(G.setYear(2010),G.setMonth(0),G.setDate(1)),U0?G.getMinutes():0,G=new Date(2010,0,1,pe,we)),G}_getMatchData(){return super._getMatchData(f,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return ie.checkString=function(A){let U=new ie(A);return U._getMatchData()||(U=null),U},ie._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},ie._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],ie})();function D(ie,A){var U=ie;return 3===A&&ie<100&&(U="0"+ie),ie<10&&(U="0"+U),U}y.isoDateTime=function(ie,A){void 0===A&&(A=5);var U=""+ie.getFullYear();if(A>0&&(U+="-"+D(ie.getMonth()+1),A>1&&(U+="-"+D(ie.getDate()),A>2&&(U+="T"+y.isoTime(ie,A-3)))),A>2){var Me=ie.getTimezoneOffset(),Re=Me<0?"+":"-",Ae=(Me=Math.abs(Me))%60;U+=Re+D((Me-Ae)/60)+":"+D(Ae)}return U},y.isoTime=function(ie,A){void 0===A&&(A=2);let U=""+D(ie.getHours());return A>0&&(U+=":"+D(ie.getMinutes()),A>1&&(U+=":"+D(ie.getSeconds()),ie.getMilliseconds()&&(U+="."+D(ie.getMilliseconds(),3)))),U};let S=(()=>{class ie extends y{constructor(U){super(U)}_getMatchData(){return l.prototype._getMatchData.apply(this,[v,2])}}return ie.checkString=function(A){let U=new ie(A);return U._getMatchData()||(U=null),U},ie.isoDate=function(A,U){return(void 0===U||U>2)&&(U=2),y.isoDateTime(A,U)},ie})(),E=(()=>{class ie{constructor(U,Me,Re){U?.resourceType&&(Me=U.resourceType),this.path=Me,this.data=U,this._data=Re||{}}getTypeInfo(){const U=I.FHIR;return/^System\.(.*)$/.test(this.path)?new I({namespace:I.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new I({namespace:U,name:this.path}):I.model?new I({namespace:U,name:"BackboneElement"}):I.createByValueInNamespace({namespace:U,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var U=this.data;if(I.isType(this.path,"Quantity")){if("http://unitsofmeasure.org"===U?.system&&"number"==typeof U.value&&"string"==typeof U.code){if(void 0!==U.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");U=new p(U.value,p.mapUCUMCodeToTimeUnits[U.code]||"'"+U.code+"'")}}else"date"===this.path?U=S.checkString(U)||U:"dateTime"===this.path?U=y.checkString(U)||U:"time"===this.path&&(U=x.checkString(U)||U);return U}}return ie.makeResNode=function(A,U,Me){return A instanceof ie?A:new ie(A,U,Me)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Me}){this.name=U,this.namespace=Me}is(U){return U instanceof ie&&(!this.namespace||!U.namespace||this.namespace===U.namespace)&&(!ie.model||this.namespace&&this.namespace!==ie.FHIR?this.name===U.name:ie.isType(this.name,U.name))}}return n(ie,"model",null),ie.isType=function(A,U){do{if(A===U)return!0}while(A=ie.model?.type2Parent[A]);return!1},ie.System="System",ie.FHIR="FHIR",ie.createByValueInNamespace=function({namespace:A,value:U}){let Me=typeof U;return Number.isInteger(U)?Me="integer":"number"===Me?Me="decimal":U instanceof S?Me="date":U instanceof y?Me="dateTime":U instanceof x?Me="time":U instanceof p&&(Me="Quantity"),A===ie.System&&(Me=Me.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Me})},ie.fromValue=function(A){return A instanceof E?A.getTypeInfo():ie.createByValueInNamespace({namespace:ie.System,value:A})},ie})();Ie.exports={FP_Type:b,FP_TimeBase:l,FP_Date:S,FP_DateTime:y,FP_Time:x,FP_Quantity:p,timeRE:f,dateTimeRE:u,ResourceNode:E,TypeInfo:I,typeFn:function X(ie){return ie.map(A=>I.fromValue(A))},isFn:function $(ie,A){if(0===ie.length)return[];if(ie.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(ie));return I.fromValue(ie[0]).is(A)},asFn:function ee(ie,A){if(0===ie.length)return[];if(ie.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(ie));return I.fromValue(ie[0]).is(A)?ie:[]}}},5827:(Ie,B,a)=>{const n={},c=a(4217);let{ResourceNode:d}=c;n.raiseError=function(g,r){throw(r=r?r+": ":"")+g},n.assertAtMostOne=function(g,r){g.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(g),r)},n.assertType=function(g,r,h){let f=this.valData(g);if(r.indexOf(typeof f)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,h)}return f},n.isEmpty=function(g){return Array.isArray(g)&&0==g.length},n.isSome=function(g){return null!=g&&!n.isEmpty(g)},n.isTrue=function(g){return null!=g&&(!0===g||1==g.length&&!0===g[0])},n.isFalse=function(g){return null!=g&&(!1===g||1==g.length&&!1===g[0])},n.isCapitalized=function(g){return g&&g[0]===g[0].toUpperCase()},n.flatten=function(g){return g.reduce(function(r,h){return Array.isArray(h)?r=r.concat(h):r.push(h),r},[])},n.arraify=function(g){return Array.isArray(g)?g:n.isSome(g)?[g]:[]},n.valData=function(g){return g instanceof d?g.data:g},n.valDataConverted=function(g){return g instanceof d&&(g=g.convertData()),g},n.escapeStringForRegExp=function(g){return g.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},Ie.exports=n},220:Ie=>{"use strict";Ie.exports=function(B,a){for(var n={},c=Object.keys(B),d=Array.isArray(a),g=0;g{"use strict";Ie.exports=Number.isFinite||function(B){return!("number"!=typeof B||B!=B||B===1/0||B===-1/0)}},4864:(Ie,B,a)=>{var n=a(9136);Ie.exports=Number.isInteger||function(c){return"number"==typeof c&&n(c)&&Math.floor(c)===c}},3187:(Ie,B)=>{function n(c,d){var g=[],r=[];return null==d&&(d=function(h,f){return g[0]===f?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(f)).join(".")+"]"}),function(h,f){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,h):r.push(h),~g.indexOf(f)&&(f=d.call(this,h,f))}else g.push(f);return null==c?f:c.call(this,h,f)}}(Ie.exports=function a(c,d,g,r){return JSON.stringify(c,n(d,r),g)}).getSerialize=n},7253:Ie=>{var B=1e3,a=60*B,n=60*a,c=24*n;function f(u,v,b){if(!(u0)return function g(u){if(!((u=String(u)).length>100)){var v=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(u);if(v){var b=parseFloat(v[1]);switch((v[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*b;case"days":case"day":case"d":return b*c;case"hours":case"hour":case"hrs":case"hr":case"h":return b*n;case"minutes":case"minute":case"mins":case"min":case"m":return b*a;case"seconds":case"second":case"secs":case"sec":case"s":return b*B;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}(u);if("number"===b&&!1===isNaN(u))return v.long?function h(u){return f(u,c,"day")||f(u,n,"hour")||f(u,a,"minute")||f(u,B,"second")||u+" ms"}(u):function r(u){return u>=c?Math.round(u/c)+"d":u>=n?Math.round(u/n)+"h":u>=a?Math.round(u/a)+"m":u>=B?Math.round(u/B)+"s":u+"ms"}(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))}},4783:Ie=>{"use strict";const B=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!B)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!B.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');Ie.exports.AbortController=B.AbortController},133:(Ie,B,a)=>{"use strict";const n=a(8385),c=a(4989),d=a(6144),g=a(220),h=Symbol("encodeFragmentIdentifier");function v(E){if("string"!=typeof E||1!==E.length)throw new TypeError("arrayFormatSeparator must be single character string")}function b(E,I){return I.encode?I.strict?n(E):encodeURIComponent(E):E}function p(E,I){return I.decode?c(E):E}function _(E){return Array.isArray(E)?E.sort():"object"==typeof E?_(Object.keys(E)).sort((I,X)=>Number(I)-Number(X)).map(I=>E[I]):E}function l(E){const I=E.indexOf("#");return-1!==I&&(E=E.slice(0,I)),E}function x(E){const I=(E=l(E)).indexOf("?");return-1===I?"":E.slice(I+1)}function D(E,I){return I.parseNumbers&&!Number.isNaN(Number(E))&&"string"==typeof E&&""!==E.trim()?E=Number(E):I.parseBooleans&&null!==E&&("true"===E.toLowerCase()||"false"===E.toLowerCase())&&(E="true"===E.toLowerCase()),E}function S(E,I){v((I=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},I)).arrayFormatSeparator);const X=function u(E){let I;switch(E.arrayFormat){case"index":return(X,$,ee)=>{I=/\[(\d*)\]$/.exec(X),X=X.replace(/\[\d*\]$/,""),I?(void 0===ee[X]&&(ee[X]={}),ee[X][I[1]]=$):ee[X]=$};case"bracket":return(X,$,ee)=>{I=/(\[\])$/.exec(X),ee[X=X.replace(/\[\]$/,"")]=I?void 0!==ee[X]?[].concat(ee[X],$):[$]:$};case"colon-list-separator":return(X,$,ee)=>{I=/(:list)$/.exec(X),ee[X=X.replace(/:list$/,"")]=I?void 0!==ee[X]?[].concat(ee[X],$):[$]:$};case"comma":case"separator":return(X,$,ee)=>{const ie="string"==typeof $&&$.includes(E.arrayFormatSeparator),A="string"==typeof $&&!ie&&p($,E).includes(E.arrayFormatSeparator);$=A?p($,E):$;const U=ie||A?$.split(E.arrayFormatSeparator).map(Me=>p(Me,E)):null===$?$:p($,E);ee[X]=U};case"bracket-separator":return(X,$,ee)=>{const ie=/(\[\])$/.test(X);if(X=X.replace(/\[\]$/,""),!ie)return void(ee[X]=$&&p($,E));const A=null===$?[]:$.split(E.arrayFormatSeparator).map(U=>p(U,E));ee[X]=void 0!==ee[X]?[].concat(ee[X],A):A};default:return(X,$,ee)=>{ee[X]=void 0!==ee[X]?[].concat(ee[X],$):$}}}(I),$=Object.create(null);if("string"!=typeof E||!(E=E.trim().replace(/^[?#&]/,"")))return $;for(const ee of E.split("&")){if(""===ee)continue;let[ie,A]=d(I.decode?ee.replace(/\+/g," "):ee,"=");A=void 0===A?null:["comma","separator","bracket-separator"].includes(I.arrayFormat)?A:p(A,I),X(p(ie,I),A,$)}for(const ee of Object.keys($)){const ie=$[ee];if("object"==typeof ie&&null!==ie)for(const A of Object.keys(ie))ie[A]=D(ie[A],I);else $[ee]=D(ie,I)}return!1===I.sort?$:(!0===I.sort?Object.keys($).sort():Object.keys($).sort(I.sort)).reduce((ee,ie)=>{const A=$[ie];return ee[ie]=A&&"object"==typeof A&&!Array.isArray(A)?_(A):A,ee},Object.create(null))}B.extract=x,B.parse=S,B.stringify=(E,I)=>{if(!E)return"";v((I=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},I)).arrayFormatSeparator);const X=A=>I.skipNull&&(E=>null==E)(E[A])||I.skipEmptyString&&""===E[A],$=function f(E){switch(E.arrayFormat){case"index":return I=>(X,$)=>{const ee=X.length;return void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,[b(I,E),"[",ee,"]"].join("")]:[...X,[b(I,E),"[",b(ee,E),"]=",b($,E)].join("")]};case"bracket":return I=>(X,$)=>void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,[b(I,E),"[]"].join("")]:[...X,[b(I,E),"[]=",b($,E)].join("")];case"colon-list-separator":return I=>(X,$)=>void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,[b(I,E),":list="].join("")]:[...X,[b(I,E),":list=",b($,E)].join("")];case"comma":case"separator":case"bracket-separator":{const I="bracket-separator"===E.arrayFormat?"[]=":"=";return X=>($,ee)=>void 0===ee||E.skipNull&&null===ee||E.skipEmptyString&&""===ee?$:(ee=null===ee?"":ee,0===$.length?[[b(X,E),I,b(ee,E)].join("")]:[[$,b(ee,E)].join(E.arrayFormatSeparator)])}default:return I=>(X,$)=>void 0===$||E.skipNull&&null===$||E.skipEmptyString&&""===$?X:null===$?[...X,b(I,E)]:[...X,[b(I,E),"=",b($,E)].join("")]}}(I),ee={};for(const A of Object.keys(E))X(A)||(ee[A]=E[A]);const ie=Object.keys(ee);return!1!==I.sort&&ie.sort(I.sort),ie.map(A=>{const U=E[A];return void 0===U?"":null===U?b(A,I):Array.isArray(U)?0===U.length&&"bracket-separator"===I.arrayFormat?b(A,I)+"[]":U.reduce($(A),[]).join("&"):b(A,I)+"="+b(U,I)}).filter(A=>A.length>0).join("&")},B.parseUrl=(E,I)=>{I=Object.assign({decode:!0},I);const[X,$]=d(E,"#");return Object.assign({url:X.split("?")[0]||"",query:S(x(E),I)},I&&I.parseFragmentIdentifier&&$?{fragmentIdentifier:p($,I)}:{})},B.stringifyUrl=(E,I)=>{I=Object.assign({encode:!0,strict:!0,[h]:!0},I);const X=l(E.url).split("?")[0]||"",$=B.extract(E.url),ee=B.parse($,{sort:!1}),ie=Object.assign(ee,E.query);let A=B.stringify(ie,I);A&&(A=`?${A}`);let U=function y(E){let I="";const X=E.indexOf("#");return-1!==X&&(I=E.slice(X)),I}(E.url);return E.fragmentIdentifier&&(U=`#${I[h]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[h]:!1},X);const{url:$,query:ee,fragmentIdentifier:ie}=B.parseUrl(E,X);return B.stringifyUrl({url:$,query:g(ee,I),fragmentIdentifier:ie},X)},B.exclude=(E,I,X)=>{const $=Array.isArray(I)?ee=>!I.includes(ee):(ee,ie)=>!I(ee,ie);return B.pick(E,$,X)}},5619:(Ie,B,a)=>{"use strict";a.d(B,{X:()=>c});var n=a(8645);class c extends n.x{constructor(g){super(),this._value=g}get value(){return this.getValue()}_subscribe(g){const r=super._subscribe(g);return!r.closed&&g.next(this._value),r}getValue(){const{hasError:g,thrownError:r,_value:h}=this;if(g)throw r;return this._throwIfClosed(),h}next(g){super.next(this._value=g)}}},5592:(Ie,B,a)=>{"use strict";a.d(B,{y:()=>u});var n=a(305),c=a(7394),d=a(4850),g=a(8407),r=a(2653),h=a(4674),f=a(1441);let u=(()=>{class _{constructor(y){y&&(this._subscribe=y)}lift(y){const x=new _;return x.source=this,x.operator=y,x}subscribe(y,x,D){const S=function p(_){return _&&_ instanceof n.Lv||function b(_){return _&&(0,h.m)(_.next)&&(0,h.m)(_.error)&&(0,h.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,f.x)(()=>{const{operator:E,source:I}=this;S.add(E?E.call(S,I):I?this._subscribe(S):this._trySubscribe(S))}),S}_trySubscribe(y){try{return this._subscribe(y)}catch(x){y.error(x)}}forEach(y,x){return new(x=v(x))((D,S)=>{const E=new n.Hp({next:I=>{try{y(I)}catch(X){S(X),E.unsubscribe()}},error:S,complete:D});this.subscribe(E)})}_subscribe(y){var x;return null===(x=this.source)||void 0===x?void 0:x.subscribe(y)}[d.L](){return this}pipe(...y){return(0,g.U)(y)(this)}toPromise(y){return new(y=v(y))((x,D)=>{let S;this.subscribe(E=>S=E,E=>D(E),()=>x(S))})}}return _.create=l=>new _(l),_})();function v(_){var l;return null!==(l=_??r.config.Promise)&&void 0!==l?l:Promise}},7328:(Ie,B,a)=>{"use strict";a.d(B,{t:()=>d});var n=a(8645),c=a(4552);class d extends n.x{constructor(r=1/0,h=1/0,f=c.l){super(),this._bufferSize=r,this._windowTime=h,this._timestampProvider=f,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=h===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,h)}next(r){const{isStopped:h,_buffer:f,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;h||(f.push(r),!u&&f.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const h=this._innerSubscribe(r),{_infiniteTimeWindow:f,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>f});var n=a(5592),c=a(7394);const g=(0,a(2306).d)(v=>function(){v(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var r=a(9039),h=a(1441);let f=(()=>{class v extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const _=new u(this,this);return _.operator=p,_}_throwIfClosed(){if(this.closed)throw new g}next(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,h.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:_,isStopped:l,observers:y}=this;return _||l?c.Lc:(this.currentObservers=null,y.push(p),new c.w0(()=>{this.currentObservers=null,(0,r.P)(y,p)}))}_checkFinalizedStatuses(p){const{hasError:_,thrownError:l,isStopped:y}=this;_?p.error(l):y&&p.complete()}asObservable(){const p=new n.y;return p.source=this,p}}return v.create=(b,p)=>new u(b,p),v})();class u extends f{constructor(b,p){super(),this.destination=b,this.source=p}next(b){var p,_;null===(_=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===_||_.call(p,b)}error(b){var p,_;null===(_=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===_||_.call(p,b)}complete(){var b,p;null===(p=null===(b=this.destination)||void 0===b?void 0:b.complete)||void 0===p||p.call(b)}_subscribe(b){var p,_;return null!==(_=null===(p=this.source)||void 0===p?void 0:p.subscribe(b))&&void 0!==_?_:c.Lc}}},305:(Ie,B,a)=>{"use strict";a.d(B,{Hp:()=>D,Lv:()=>_});var n=a(4674),c=a(7394),d=a(2653),g=a(3894),r=a(2420);const h=v("C",void 0,void 0);function v($,ee,ie){return{kind:$,value:ee,error:ie}}var b=a(7599),p=a(1441);class _ extends c.w0{constructor(ee){super(),this.isStopped=!1,ee?(this.destination=ee,(0,c.Nn)(ee)&&ee.add(this)):this.destination=X}static create(ee,ie,A){return new D(ee,ie,A)}next(ee){this.isStopped?I(function u($){return v("N",$,void 0)}(ee),this):this._next(ee)}error(ee){this.isStopped?I(function f($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(h,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ee){this.destination.next(ee)}_error(ee){try{this.destination.error(ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const l=Function.prototype.bind;function y($,ee){return l.call($,ee)}class x{constructor(ee){this.partialObserver=ee}next(ee){const{partialObserver:ie}=this;if(ie.next)try{ie.next(ee)}catch(A){S(A)}}error(ee){const{partialObserver:ie}=this;if(ie.error)try{ie.error(ee)}catch(A){S(A)}else S(ee)}complete(){const{partialObserver:ee}=this;if(ee.complete)try{ee.complete()}catch(ie){S(ie)}}}class D extends _{constructor(ee,ie,A){let U;if(super(),(0,n.m)(ee)||!ee)U={next:ee??void 0,error:ie??void 0,complete:A??void 0};else{let Me;this&&d.config.useDeprecatedNextContext?(Me=Object.create(ee),Me.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Me),error:ee.error&&y(ee.error,Me),complete:ee.complete&&y(ee.complete,Me)}):U=ee}this.destination=new x(U)}}function S($){d.config.useDeprecatedSynchronousErrorHandling?(0,p.O)($):(0,g.h)($)}function I($,ee){const{onStoppedNotification:ie}=d.config;ie&&b.z.setTimeout(()=>ie($,ee))}const X={closed:!0,next:r.Z,error:function E($){throw $},complete:r.Z}},7394:(Ie,B,a)=>{"use strict";a.d(B,{Lc:()=>h,w0:()=>r,Nn:()=>f});var n=a(4674);const d=(0,a(2306).d)(v=>function(p){v(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((_,l)=>`${l+1}) ${_.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var g=a(9039);class r{constructor(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let b;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const y of p)y.remove(this);else p.remove(this);const{initialTeardown:_}=this;if((0,n.m)(_))try{_()}catch(y){b=y instanceof d?y.errors:[y]}const{_finalizers:l}=this;if(l){this._finalizers=null;for(const y of l)try{u(y)}catch(x){b=b??[],x instanceof d?b=[...b,...x.errors]:b.push(x)}}if(b)throw new d(b)}}add(b){var p;if(b&&b!==this)if(this.closed)u(b);else{if(b instanceof r){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(b)}}_hasParent(b){const{_parentage:p}=this;return p===b||Array.isArray(p)&&p.includes(b)}_addParent(b){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(b),p):p?[p,b]:b}_removeParent(b){const{_parentage:p}=this;p===b?this._parentage=null:Array.isArray(p)&&(0,g.P)(p,b)}remove(b){const{_finalizers:p}=this;p&&(0,g.P)(p,b),b instanceof r&&b._removeParent(this)}}r.EMPTY=(()=>{const v=new r;return v.closed=!0,v})();const h=r.EMPTY;function f(v){return v instanceof r||v&&"closed"in v&&(0,n.m)(v.remove)&&(0,n.m)(v.add)&&(0,n.m)(v.unsubscribe)}function u(v){(0,n.m)(v)?v():v.unsubscribe()}},2653:(Ie,B,a)=>{"use strict";a.d(B,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Ie,B,a)=>{"use strict";a.d(B,{c:()=>h});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class h extends n.y{constructor(u,v){super(),this.source=u,this.subjectFactory=v,this._subject=null,this._refCount=0,this._connection=null,(0,r.A)(u)&&(this.lift=u.lift)}_subscribe(u){return this.getSubject().subscribe(u)}getSubject(){const u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:u}=this;this._subject=this._connection=null,u?.unsubscribe()}connect(){let u=this._connection;if(!u){u=this._connection=new c.w0;const v=this.getSubject();u.add(this.source.subscribe((0,g.x)(v,void 0,()=>{this._teardown(),v.complete()},b=>{this._teardown(),v.error(b)},()=>this._teardown()))),u.closed&&(this._connection=null,u=c.w0.EMPTY)}return u}refCount(){return(0,d.x)()(this)}}},2572:(Ie,B,a)=>{"use strict";a.d(B,{a:()=>b,l:()=>p});var n=a(5592),c=a(7453),d=a(2459),g=a(2737),r=a(7400),h=a(9940),f=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,h.yG)(l),x=(0,h.jO)(l),{args:D,keys:S}=(0,c.D)(l);if(0===D.length)return(0,d.D)([],y);const E=new n.y(p(D,y,S?I=>(0,f.n)(S,I):g.y));return x?E.pipe((0,r.Z)(x)):E}function p(l,y,x=g.y){return D=>{_(y,()=>{const{length:S}=l,E=new Array(S);let I=S,X=S;for(let $=0;${const ee=(0,d.D)(l[$],y);let ie=!1;ee.subscribe((0,u.x)(D,A=>{E[$]=A,ie||(ie=!0,X--),X||D.next(x(E.slice()))},()=>{--I||D.complete()}))},D)},D)}}function _(l,y,x){l?(0,v.f)(x,l,y):y()}},34:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>g});var n=a(1948),c=a(9940),d=a(2459);function g(...r){return(0,n.u)()((0,d.D)(r,(0,c.yG)(r)))}},4911:(Ie,B,a)=>{"use strict";a.d(B,{P:()=>d});var n=a(5592),c=a(4829);function d(g){return new n.y(r=>{(0,c.Xf)(g()).subscribe(r)})}},6232:(Ie,B,a)=>{"use strict";a.d(B,{E:()=>c});const c=new(a(5592).y)(r=>r.complete())},9315:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>u});var n=a(5592),c=a(7453),d=a(4829),g=a(9940),r=a(8251),h=a(7400),f=a(2714);function u(...v){const b=(0,g.jO)(v),{args:p,keys:_}=(0,c.D)(v),l=new n.y(y=>{const{length:x}=p;if(!x)return void y.complete();const D=new Array(x);let S=x,E=x;for(let I=0;I{X||(X=!0,E--),D[I]=$},()=>S--,void 0,()=>{(!S||!X)&&(E||y.next(_?(0,f.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,h.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),h=a(5592),u=a(4971),v=a(4674),b=a(7103);function _(ie,A){if(!ie)throw new Error("Iterable cannot be null");return new h.y(U=>{(0,b.f)(U,A,()=>{const Me=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Me.next().then(Re=>{Re.done?U.complete():U.next(Re.value)})},0,!0)})})}var l=a(8382),y=a(4026),x=a(4266),D=a(3664),S=a(5726),E=a(9853),I=a(541);function ee(ie,A){return A?function $(ie,A){if(null!=ie){if((0,l.c)(ie))return function g(ie,A){return(0,n.Xf)(ie).pipe((0,d.R)(A),(0,c.Q)(A))}(ie,A);if((0,x.z)(ie))return function f(ie,A){return new h.y(U=>{let Me=0;return A.schedule(function(){Me===ie.length?U.complete():(U.next(ie[Me++]),U.closed||this.schedule())})})}(ie,A);if((0,y.t)(ie))return function r(ie,A){return(0,n.Xf)(ie).pipe((0,d.R)(A),(0,c.Q)(A))}(ie,A);if((0,S.D)(ie))return _(ie,A);if((0,D.T)(ie))return function p(ie,A){return new h.y(U=>{let Me;return(0,b.f)(U,A,()=>{Me=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Me.next())}catch(he){return void U.error(he)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Me?.return)&&Me.return()})}(ie,A);if((0,I.L)(ie))return function X(ie,A){return _((0,I.Q)(ie),A)}(ie,A)}throw(0,E.z)(ie)}(ie,A):(0,n.Xf)(ie)}},2438:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>b});var n=a(4829),c=a(5592),d=a(9769),g=a(4266),r=a(4674),h=a(7400);const f=["addListener","removeListener"],u=["addEventListener","removeEventListener"],v=["on","off"];function b(x,D,S,E){if((0,r.m)(S)&&(E=S,S=void 0),E)return b(x,D,S).pipe((0,h.Z)(E));const[I,X]=function y(x){return(0,r.m)(x.addEventListener)&&(0,r.m)(x.removeEventListener)}(x)?u.map($=>ee=>x[$](D,ee,S)):function _(x){return(0,r.m)(x.addListener)&&(0,r.m)(x.removeListener)}(x)?f.map(p(x,D)):function l(x){return(0,r.m)(x.on)&&(0,r.m)(x.off)}(x)?v.map(p(x,D)):[];if(!I&&(0,g.z)(x))return(0,d.z)($=>b($,D,S))((0,n.Xf)(x));if(!I)throw new TypeError("Invalid event target");return new c.y($=>{const ee=(...ie)=>$.next(1X(ee)})}function p(x,D){return S=>E=>x[S](D,E)}},4829:(Ie,B,a)=>{"use strict";a.d(B,{Xf:()=>l});var n=a(655),c=a(4266),d=a(4026),g=a(5592),r=a(8382),h=a(5726),f=a(9853),u=a(3664),v=a(541),b=a(4674),p=a(3894),_=a(4850);function l($){if($ instanceof g.y)return $;if(null!=$){if((0,r.c)($))return function y($){return new g.y(ee=>{const ie=$[_.L]();if((0,b.m)(ie.subscribe))return ie.subscribe(ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($);if((0,c.z)($))return function x($){return new g.y(ee=>{for(let ie=0;ie<$.length&&!ee.closed;ie++)ee.next($[ie]);ee.complete()})}($);if((0,d.t)($))return function D($){return new g.y(ee=>{$.then(ie=>{ee.closed||(ee.next(ie),ee.complete())},ie=>ee.error(ie)).then(null,p.h)})}($);if((0,h.D)($))return E($);if((0,u.T)($))return function S($){return new g.y(ee=>{for(const ie of $)if(ee.next(ie),ee.closed)return;ee.complete()})}($);if((0,v.L)($))return function I($){return E((0,v.Q)($))}($)}throw(0,f.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Me;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(ie=(0,n.__asyncValues)($);!(A=yield ie.next()).done;)if(ee.next(A.value),ee.closed)return}catch(Re){U={error:Re}}finally{try{A&&!A.done&&(Me=ie.return)&&(yield Me.call(ie))}finally{if(U)throw U.error}}ee.complete()})})($,ee).catch(ie=>ee.error(ie))})}},3019:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>h});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function h(...f){const u=(0,g.yG)(f),v=(0,g._6)(f,1/0),b=f;return b.length?1===b.length?(0,c.Xf)(b[0]):(0,n.J)(v)((0,r.D)(b,u)):d.E}},2096:(Ie,B,a)=>{"use strict";a.d(B,{of:()=>d});var n=a(9940),c=a(2459);function d(...g){const r=(0,n.yG)(g);return(0,c.D)(g,r)}},3684:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>h,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...f){return 1===(f=(0,d.k)(f)).length?(0,c.Xf)(f[0]):new n.y(h(f))}function h(f){return u=>{let v=[];for(let b=0;v&&!u.closed&&b{if(v){for(let _=0;_{"use strict";a.d(B,{_:()=>d});var n=a(5592),c=a(4674);function d(g,r){const h=(0,c.m)(g)?g:()=>g,f=u=>u.error(h());return new n.y(r?u=>r.schedule(f,0,u):f)}},9080:(Ie,B,a)=>{"use strict";a.d(B,{H:()=>r});var n=a(5592),c=a(6321),d=a(671),g=a(93);function r(h=0,f,u=c.P){let v=-1;return null!=f&&((0,d.K)(f)?u=f:v=f),new n.y(b=>{let p=(0,g.q)(h)?+h-u.now():h;p<0&&(p=0);let _=0;return u.schedule(function(){b.closed||(b.next(_++),0<=v?this.schedule(void 0,v):b.complete())},p)})}},9278:(Ie,B,a)=>{"use strict";a.d(B,{$:()=>f});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),h=a(9940);function f(...u){const v=(0,h.jO)(u),b=(0,d.k)(u);return b.length?new n.y(p=>{let _=b.map(()=>[]),l=b.map(()=>!1);p.add(()=>{_=l=null});for(let y=0;!p.closed&&y{if(_[y].push(x),_.every(D=>D.length)){const D=_.map(S=>S.shift());p.next(v?v(...D):D),_.some((S,E)=>!S.length&&l[E])&&p.complete()}},()=>{l[y]=!0,!_[y].length&&p.complete()}));return()=>{_=l=null}}):g.E}},8251:(Ie,B,a)=>{"use strict";a.d(B,{Q:()=>d,x:()=>c});var n=a(305);function c(g,r,h,f,u){return new d(g,r,h,f,u)}class d extends n.Lv{constructor(r,h,f,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=h?function(p){try{h(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=f?function(){try{f()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:h}=this;super.unsubscribe(),!h&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}},6301:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>g});var n=a(9360),c=a(4829),d=a(8251);function g(r){return(0,n.e)((h,f)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,f.next(y)}p&&f.complete()},l=()=>{b=null,p&&f.complete()};h.subscribe((0,d.x)(f,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(f,_,l))},()=>{p=!0,(!u||!b||b.closed)&&f.complete()}))})}},8672:(Ie,B,a)=>{"use strict";a.d(B,{e:()=>g});var n=a(6321),c=a(6301),d=a(9080);function g(r,h=n.z){return(0,c.U)(()=>(0,d.H)(r,h))}},6306:(Ie,B,a)=>{"use strict";a.d(B,{K:()=>g});var n=a(4829),c=a(8251),d=a(9360);function g(r){return(0,d.e)((h,f)=>{let b,u=null,v=!1;u=h.subscribe((0,c.x)(f,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(h))),u?(u.unsubscribe(),u=null,b.subscribe(f)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(f))})}},1948:(Ie,B,a)=>{"use strict";a.d(B,{u:()=>c});var n=a(7537);function c(){return(0,n.J)(1)}},6328:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>d});var n=a(9769),c=a(4674);function d(g,r){return(0,c.m)(r)?(0,n.z)(g,r,1):(0,n.z)(g,1)}},3620:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>g});var n=a(6321),c=a(9360),d=a(8251);function g(r,h=n.z){return(0,c.e)((f,u)=>{let v=null,b=null,p=null;const _=()=>{if(v){v.unsubscribe(),v=null;const y=b;b=null,u.next(y)}};function l(){const y=p+r,x=h.now();if(x{b=y,p=h.now(),v||(v=h.schedule(l,r),u.add(v))},()=>{_(),u.complete()},void 0,()=>{b=v=null}))})}},3572:(Ie,B,a)=>{"use strict";a.d(B,{d:()=>d});var n=a(9360),c=a(8251);function d(g){return(0,n.e)((r,h)=>{let f=!1;r.subscribe((0,c.x)(h,u=>{f=!0,h.next(u)},()=>{f||h.next(g),h.complete()}))})}},7547:(Ie,B,a)=>{"use strict";a.d(B,{g:()=>g});var n=a(6321),c=a(4610),d=a(9080);function g(r,h=n.z){const f=(0,d.H)(r,h);return(0,c.j)(()=>f)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>f});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),h=a(4829);function f(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(f(u))):(0,r.z)((b,p)=>(0,h.Xf)(u(b,p)).pipe((0,c.q)(1),(0,g.h)(b)))}},3997:(Ie,B,a)=>{"use strict";a.d(B,{x:()=>g});var n=a(2737),c=a(9360),d=a(8251);function g(h,f=n.y){return h=h??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=f(_);(p||!h(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(h,f){return h===f}},2181:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>d});var n=a(9360),c=a(8251);function d(g,r){return(0,n.e)((h,f)=>{let u=0;h.subscribe((0,c.x)(f,v=>g.call(r,v,u++)&&f.next(v)))})}},4716:(Ie,B,a)=>{"use strict";a.d(B,{x:()=>c});var n=a(9360);function c(d){return(0,n.e)((g,r)=>{try{g.subscribe(r)}finally{r.add(d)}})}},1374:(Ie,B,a)=>{"use strict";a.d(B,{P:()=>f});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),h=a(2737);function f(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):h.y,(0,d.q)(1),b?(0,g.d)(v):(0,r.T)(()=>new n.K))}},7538:(Ie,B,a)=>{"use strict";a.d(B,{l:()=>g});var n=a(9360),c=a(8251),d=a(2420);function g(){return(0,n.e)((r,h)=>{r.subscribe((0,c.x)(h,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>f});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),h=a(2737);function f(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):h.y,(0,d.h)(1),b?(0,r.d)(v):(0,g.T)(()=>new n.K))}},7398:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>d});var n=a(9360),c=a(8251);function d(g,r){return(0,n.e)((h,f)=>{let u=0;h.subscribe((0,c.x)(f,v=>{f.next(g.call(r,v,u++))}))})}},975:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>c});var n=a(7398);function c(d){return(0,n.U)(()=>d)}},7537:(Ie,B,a)=>{"use strict";a.d(B,{J:()=>d});var n=a(9769),c=a(2737);function d(g=1/0){return(0,n.z)(c.y,g)}},564:(Ie,B,a)=>{"use strict";a.d(B,{p:()=>g});var n=a(4829),c=a(7103),d=a(8251);function g(r,h,f,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&h.complete()},E=X=>y{b&&h.next(X),y++;let $=!1;(0,n.Xf)(f(X,x++)).subscribe((0,d.x)(h,ee=>{v?.(ee),b?E(ee):h.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){h.error(ee)}}))};return r.subscribe((0,d.x)(h,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>h});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function h(f,u,v=1/0){return(0,r.m)(u)?h((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(f(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,f,v)))}},3093:(Ie,B,a)=>{"use strict";a.d(B,{Q:()=>g});var n=a(7103),c=a(9360),d=a(8251);function g(r,h=0){return(0,c.e)((f,u)=>{f.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),h),()=>(0,n.f)(u,r,()=>u.complete(),h),v=>(0,n.f)(u,r,()=>u.error(v),h)))})}},6196:(Ie,B,a)=>{"use strict";a.d(B,{x:()=>d});var n=a(9360),c=a(8251);function d(){return(0,n.e)((g,r)=>{let h=null;g._refCount++;const f=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(h=null);const u=g._connection,v=h;h=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(f),f.closed||(h=g.connect())})}},6424:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>d});var n=a(9360),c=a(9732);function d(g,r){return(0,n.e)((0,c.U)(g,r,arguments.length>=2,!0))}},9732:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>c});var n=a(8251);function c(d,g,r,h,f){return(u,v)=>{let b=r,p=g,_=0;u.subscribe((0,n.x)(v,l=>{const y=_++;p=b?d(p,l,y):(b=!0,l),h&&v.next(p)},f&&(()=>{b&&v.next(p),v.complete()})))}}},3020:(Ie,B,a)=>{"use strict";a.d(B,{B:()=>r});var n=a(4829),c=a(8645),d=a(305),g=a(9360);function r(f={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=f;return _=>{let l,y,x,D=0,S=!1,E=!1;const I=()=>{y?.unsubscribe(),y=void 0},X=()=>{I(),l=x=void 0,S=E=!1},$=()=>{const ee=l;X(),ee?.unsubscribe()};return(0,g.e)((ee,ie)=>{D++,!E&&!S&&I();const A=x=x??u();ie.add(()=>{D--,0===D&&!E&&!S&&(y=h($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=h(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=h(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function h(f,u,...v){if(!0===u)return void f();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),f()}});return(0,n.Xf)(u(...v)).subscribe(b)}},7081:(Ie,B,a)=>{"use strict";a.d(B,{d:()=>d});var n=a(7328),c=a(3020);function d(g,r,h){let f,u=!1;return g&&"object"==typeof g?({bufferSize:f=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:h}=g):f=g??1/0,(0,c.B)({connector:()=>new n.t(f,r,h),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},836:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>c});var n=a(2181);function c(d){return(0,n.h)((g,r)=>d<=r)}},7921:(Ie,B,a)=>{"use strict";a.d(B,{O:()=>g});var n=a(34),c=a(9940),d=a(9360);function g(...r){const h=(0,c.yG)(r);return(0,d.e)((f,u)=>{(h?(0,n.z)(r,f,h):(0,n.z)(r,f)).subscribe(u)})}},5137:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>c});var n=a(9360);function c(d,g=0){return(0,n.e)((r,h)=>{h.add(d.schedule(()=>r.subscribe(h),g))})}},4664:(Ie,B,a)=>{"use strict";a.d(B,{w:()=>g});var n=a(4829),c=a(9360),d=a(8251);function g(r,h){return(0,c.e)((f,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();f.subscribe((0,d.x)(u,l=>{v?.unsubscribe();let y=0;const x=b++;(0,n.Xf)(r(l,x)).subscribe(v=(0,d.x)(u,D=>u.next(h?h(l,D,x,y++):D),()=>{v=null,_()}))},()=>{p=!0,_()}))})}},8180:(Ie,B,a)=>{"use strict";a.d(B,{q:()=>g});var n=a(6232),c=a(9360),d=a(8251);function g(r){return r<=0?()=>n.E:(0,c.e)((h,f)=>{let u=0;h.subscribe((0,d.x)(f,v=>{++u<=r&&(f.next(v),r<=u&&f.complete())}))})}},4418:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>g});var n=a(6232),c=a(9360),d=a(8251);function g(r){return r<=0?()=>n.E:(0,c.e)((h,f)=>{let u=[];h.subscribe((0,d.x)(f,v=>{u.push(v),r{for(const v of u)f.next(v);f.complete()},void 0,()=>{u=null}))})}},9773:(Ie,B,a)=>{"use strict";a.d(B,{R:()=>r});var n=a(9360),c=a(8251),d=a(4829),g=a(2420);function r(h){return(0,n.e)((f,u)=>{(0,d.Xf)(h).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&f.subscribe(u)})}},812:(Ie,B,a)=>{"use strict";a.d(B,{o:()=>d});var n=a(9360),c=a(8251);function d(g,r=!1){return(0,n.e)((h,f)=>{let u=0;h.subscribe((0,c.x)(f,v=>{const b=g(v,u++);(b||r)&&f.next(v),!b&&f.complete()}))})}},9397:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>r});var n=a(4674),c=a(9360),d=a(8251),g=a(2737);function r(h,f,u){const v=(0,n.m)(h)||f||u?{next:h,error:f,complete:u}:h;return v?(0,c.e)((b,p)=>{var _;null===(_=v.subscribe)||void 0===_||_.call(v);let l=!0;b.subscribe((0,d.x)(p,y=>{var x;null===(x=v.next)||void 0===x||x.call(v,y),p.next(y)},()=>{var y;l=!1,null===(y=v.complete)||void 0===y||y.call(v),p.complete()},y=>{var x;l=!1,null===(x=v.error)||void 0===x||x.call(v,y),p.error(y)},()=>{var y,x;l&&(null===(y=v.unsubscribe)||void 0===y||y.call(v)),null===(x=v.finalize)||void 0===x||x.call(v)}))}):g.y}},3026:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>g});var n=a(6973),c=a(9360),d=a(8251);function g(h=r){return(0,c.e)((f,u)=>{let v=!1;f.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(h())))})}function r(){return new n.K}},5178:(Ie,B,a)=>{"use strict";a.d(B,{V:()=>v});var n=a(6321),c=a(93),d=a(9360),g=a(4829),r=a(2306),h=a(8251),f=a(7103);const u=(0,r.d)(p=>function(l=null){p(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=l});function v(p,_){const{first:l,each:y,with:x=b,scheduler:D=_??n.z,meta:S=null}=(0,c.q)(p)?{first:p}:"number"==typeof p?{each:p}:p;if(null==l&&null==y)throw new TypeError("No timeout provided.");return(0,d.e)((E,I)=>{let X,$,ee=null,ie=0;const A=U=>{$=(0,f.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Me){I.error(Me)}},U)};X=E.subscribe((0,h.x)(I,U=>{$?.unsubscribe(),ie++,I.next(ee=U),y>0&&A(y)},void 0,void 0,()=>{$?.closed||$?.unsubscribe(),ee=null})),!ie&&A(null!=l?"number"==typeof l?l:+l-D.now():y)})}function b(p){throw new u(p)}},1954:(Ie,B,a)=>{"use strict";a.d(B,{o:()=>r});var n=a(7394);class c extends n.w0{constructor(f,u){super()}schedule(f,u=0){return this}}const d={setInterval(h,f,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(h,f,...u):setInterval(h,f,...u)},clearInterval(h){const{delegate:f}=d;return(f?.clearInterval||clearInterval)(h)},delegate:void 0};var g=a(9039);class r extends c{constructor(f,u){super(f,u),this.scheduler=f,this.work=u,this.pending=!1}schedule(f,u=0){var v;if(this.closed)return this;this.state=f;const b=this.id,p=this.scheduler;return null!=b&&(this.id=this.recycleAsyncId(p,b,u)),this.pending=!0,this.delay=u,this.id=null!==(v=this.id)&&void 0!==v?v:this.requestAsyncId(p,this.id,u),this}requestAsyncId(f,u,v=0){return d.setInterval(f.flush.bind(f,this),v)}recycleAsyncId(f,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(f,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(f,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(f,u){let b,v=!1;try{this.work(f)}catch(p){v=!0,b=p||new Error("Scheduled action threw falsy error")}if(v)return this.unsubscribe(),b}unsubscribe(){if(!this.closed){const{id:f,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=f&&(this.id=this.recycleAsyncId(u,f,null)),this.delay=null,super.unsubscribe()}}}},2631:(Ie,B,a)=>{"use strict";a.d(B,{v:()=>d});var n=a(4552);class c{constructor(r,h=c.now){this.schedulerActionCtor=r,this.now=h}schedule(r,h=0,f){return new this.schedulerActionCtor(this,r).schedule(f,h)}}c.now=n.l.now;class d extends c{constructor(r,h=c.now){super(r,h),this.actions=[],this._active=!1}flush(r){const{actions:h}=this;if(this._active)return void h.push(r);let f;this._active=!0;do{if(f=r.execute(r.state,r.delay))break}while(r=h.shift());if(this._active=!1,f){for(;r=h.shift();)r.unsubscribe();throw f}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>f});var n=a(1954),c=a(7394);const d={schedule(v){let b=requestAnimationFrame,p=cancelAnimationFrame;const{delegate:_}=d;_&&(b=_.requestAnimationFrame,p=_.cancelAnimationFrame);const l=b(y=>{p=void 0,v(y)});return new c.w0(()=>p?.(l))},requestAnimationFrame(...v){const{delegate:b}=d;return(b?.requestAnimationFrame||requestAnimationFrame)(...v)},cancelAnimationFrame(...v){const{delegate:b}=d;return(b?.cancelAnimationFrame||cancelAnimationFrame)(...v)},delegate:void 0};var r=a(2631);const f=new class h extends r.v{flush(b){this._active=!0;const p=this._scheduled;this._scheduled=void 0;const{actions:_}=this;let l;b=b||_.shift();do{if(l=b.execute(b.state,b.delay))break}while((b=_[0])&&b.id===p&&_.shift());if(this._active=!1,l){for(;(b=_[0])&&b.id===p&&_.shift();)b.unsubscribe();throw l}}}(class g extends n.o{constructor(b,p){super(b,p),this.scheduler=b,this.work=p}requestAsyncId(b,p,_=0){return null!==_&&_>0?super.requestAsyncId(b,p,_):(b.actions.push(this),b._scheduled||(b._scheduled=d.requestAnimationFrame(()=>b.flush(void 0))))}recycleAsyncId(b,p,_=0){var l;if(null!=_?_>0:this.delay>0)return super.recycleAsyncId(b,p,_);const{actions:y}=b;null!=p&&(null===(l=y[y.length-1])||void 0===l?void 0:l.id)!==p&&(d.cancelAnimationFrame(p),b._scheduled=void 0)}})},6410:(Ie,B,a)=>{"use strict";a.d(B,{E:()=>y});var n=a(1954);let d,c=1;const g={};function r(D){return D in g&&(delete g[D],!0)}const h={setImmediate(D){const S=c++;return g[S]=!0,d||(d=Promise.resolve()),d.then(()=>r(S)&&D()),S},clearImmediate(D){r(D)}},{setImmediate:u,clearImmediate:v}=h,b={setImmediate(...D){const{delegate:S}=b;return(S?.setImmediate||u)(...D)},clearImmediate(D){const{delegate:S}=b;return(S?.clearImmediate||v)(D)},delegate:void 0};var _=a(2631);const y=new class l extends _.v{flush(S){this._active=!0;const E=this._scheduled;this._scheduled=void 0;const{actions:I}=this;let X;S=S||I.shift();do{if(X=S.execute(S.state,S.delay))break}while((S=I[0])&&S.id===E&&I.shift());if(this._active=!1,X){for(;(S=I[0])&&S.id===E&&I.shift();)S.unsubscribe();throw X}}}(class p extends n.o{constructor(S,E){super(S,E),this.scheduler=S,this.work=E}requestAsyncId(S,E,I=0){return null!==I&&I>0?super.requestAsyncId(S,E,I):(S.actions.push(this),S._scheduled||(S._scheduled=b.setImmediate(S.flush.bind(S,void 0))))}recycleAsyncId(S,E,I=0){var X;if(null!=I?I>0:this.delay>0)return super.recycleAsyncId(S,E,I);const{actions:$}=S;null!=E&&(null===(X=$[$.length-1])||void 0===X?void 0:X.id)!==E&&(b.clearImmediate(E),S._scheduled===E&&(S._scheduled=void 0))}})},6321:(Ie,B,a)=>{"use strict";a.d(B,{P:()=>g,z:()=>d});var n=a(1954);const d=new(a(2631).v)(n.o),g=d},4552:(Ie,B,a)=>{"use strict";a.d(B,{l:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},7599:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>n});const n={setTimeout(c,d,...g){const{delegate:r}=n;return r?.setTimeout?r.setTimeout(c,d,...g):setTimeout(c,d,...g)},clearTimeout(c){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(c)},delegate:void 0}},4971:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>c});const c=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Ie,B,a)=>{"use strict";a.d(B,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Ie,B,a)=>{"use strict";a.d(B,{K:()=>c});const c=(0,a(2306).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Ie,B,a)=>{"use strict";a.d(B,{_6:()=>h,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(f){return f[f.length-1]}function g(f){return(0,n.m)(d(f))?f.pop():void 0}function r(f){return(0,c.K)(d(f))?f.pop():void 0}function h(f,u){return"number"==typeof d(f)?f.pop():u}},7453:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>r});const{isArray:n}=Array,{getPrototypeOf:c,prototype:d,keys:g}=Object;function r(f){if(1===f.length){const u=f[0];if(n(u))return{args:u,keys:null};if(function h(f){return f&&"object"==typeof f&&c(f)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:f,keys:null}}},7728:(Ie,B,a)=>{"use strict";a.d(B,{k:()=>c});const{isArray:n}=Array;function c(d){return 1===d.length&&n(d[0])?d[0]:d}},9039:(Ie,B,a)=>{"use strict";function n(c,d){if(c){const g=c.indexOf(d);0<=g&&c.splice(g,1)}}a.d(B,{P:()=>n})},2306:(Ie,B,a)=>{"use strict";function n(c){const g=c(r=>{Error.call(r),r.stack=(new Error).stack});return g.prototype=Object.create(Error.prototype),g.prototype.constructor=g,g}a.d(B,{d:()=>n})},2714:(Ie,B,a)=>{"use strict";function n(c,d){return c.reduce((g,r,h)=>(g[r]=d[h],g),{})}a.d(B,{n:()=>n})},1441:(Ie,B,a)=>{"use strict";a.d(B,{O:()=>g,x:()=>d});var n=a(2653);let c=null;function d(r){if(n.config.useDeprecatedSynchronousErrorHandling){const h=!c;if(h&&(c={errorThrown:!1,error:null}),r(),h){const{errorThrown:f,error:u}=c;if(c=null,f)throw u}}else r()}function g(r){n.config.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=r)}},7103:(Ie,B,a)=>{"use strict";function n(c,d,g,r=0,h=!1){const f=d.schedule(function(){g(),h?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(f),!h)return f}a.d(B,{f:()=>n})},2737:(Ie,B,a)=>{"use strict";function n(c){return c}a.d(B,{y:()=>n})},4266:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>n});const n=c=>c&&"number"==typeof c.length&&"function"!=typeof c},5726:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>c});var n=a(4674);function c(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},93:(Ie,B,a)=>{"use strict";function n(c){return c instanceof Date&&!isNaN(c)}a.d(B,{q:()=>n})},4674:(Ie,B,a)=>{"use strict";function n(c){return"function"==typeof c}a.d(B,{m:()=>n})},8382:(Ie,B,a)=>{"use strict";a.d(B,{c:()=>d});var n=a(4850),c=a(4674);function d(g){return(0,c.m)(g[n.L])}},3664:(Ie,B,a)=>{"use strict";a.d(B,{T:()=>d});var n=a(4971),c=a(4674);function d(g){return(0,c.m)(g?.[n.h])}},2664:(Ie,B,a)=>{"use strict";a.d(B,{b:()=>d});var n=a(5592),c=a(4674);function d(g){return!!g&&(g instanceof n.y||(0,c.m)(g.lift)&&(0,c.m)(g.subscribe))}},4026:(Ie,B,a)=>{"use strict";a.d(B,{t:()=>c});var n=a(4674);function c(d){return(0,n.m)(d?.then)}},541:(Ie,B,a)=>{"use strict";a.d(B,{L:()=>g,Q:()=>d});var n=a(655),c=a(4674);function d(r){return(0,n.__asyncGenerator)(this,arguments,function*(){const f=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(f.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{f.releaseLock()}})}function g(r){return(0,c.m)(r?.getReader)}},671:(Ie,B,a)=>{"use strict";a.d(B,{K:()=>c});var n=a(4674);function c(d){return d&&(0,n.m)(d.schedule)}},9360:(Ie,B,a)=>{"use strict";a.d(B,{A:()=>c,e:()=>d});var n=a(4674);function c(g){return(0,n.m)(g?.lift)}function d(g){return r=>{if(c(r))return r.lift(function(h){try{return g(h,this)}catch(f){this.error(f)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>g});var n=a(7398);const{isArray:c}=Array;function g(r){return(0,n.U)(h=>function d(r,h){return c(h)?r(...h):r(h)}(r,h))}},2420:(Ie,B,a)=>{"use strict";function n(){}a.d(B,{Z:()=>n})},8407:(Ie,B,a)=>{"use strict";a.d(B,{U:()=>d,z:()=>c});var n=a(2737);function c(...g){return d(g)}function d(g){return 0===g.length?n.y:1===g.length?g[0]:function(h){return g.reduce((f,u)=>u(f),h)}}},3894:(Ie,B,a)=>{"use strict";a.d(B,{h:()=>d});var n=a(2653),c=a(7599);function d(g){c.z.setTimeout(()=>{const{onUnhandledError:r}=n.config;if(!r)throw g;r(g)})}},9853:(Ie,B,a)=>{"use strict";function n(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(B,{z:()=>n})},1385:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{audit:()=>n.U,auditTime:()=>c.e,buffer:()=>f,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>he,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>se,concatWith:()=>ye,connect:()=>tt,count:()=>Mt,debounce:()=>Ft,debounceTime:()=>gt.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>kt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>Q.x,distinctUntilKeyChanged:()=>ue,elementAt:()=>ge,endWith:()=>At,every:()=>Nt,exhaust:()=>ae,exhaustAll:()=>$e,exhaustMap:()=>Ne,expand:()=>lt,filter:()=>dt.h,finalize:()=>_e.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>K,ignoreElements:()=>ve.l,isEmpty:()=>ut,last:()=>Pt.Z,map:()=>zt.U,mapTo:()=>qe.h,materialize:()=>et,max:()=>Ve,merge:()=>Lt,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>_t,pairwise:()=>mt,partition:()=>nn,pluck:()=>cn,publish:()=>sn,publishBehavior:()=>wn,publishLast:()=>_i,publishReplay:()=>ti,race:()=>Tn,raceWith:()=>mn,reduce:()=>A,refCount:()=>ri.x,repeat:()=>Wn,repeatWhen:()=>mi,retry:()=>Yn,retryWhen:()=>wi,sample:()=>ai,sampleTime:()=>xt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>le.d,single:()=>un,skip:()=>gn.T,skipLast:()=>pn,skipUntil:()=>si,skipWhile:()=>jn,startWith:()=>Fn.O,subscribeOn:()=>bi.R,switchAll:()=>Fi,switchMap:()=>Ti.w,switchMapTo:()=>Gi,switchScan:()=>fn,take:()=>Oe.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>bt.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Rt,timestamp:()=>te,toArray:()=>Me,window:()=>Pe,windowCount:()=>rt,windowTime:()=>Zt,windowToggle:()=>Pn,windowWhen:()=>ji,withLatestFrom:()=>Pi,zip:()=>Qi,zipAll:()=>Ui,zipWith:()=>ir});var n=a(6301),c=a(8672),d=a(9360),g=a(2420),r=a(8251),h=a(4829);function f(wt){return(0,d.e)((vt,pt)=>{let St=[];return vt.subscribe((0,r.x)(pt,Ht=>St.push(Ht),()=>{pt.next(St),pt.complete()})),(0,h.Xf)(wt).subscribe((0,r.x)(pt,()=>{const Ht=St;St=[],pt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((pt,St)=>{let Ht=[],Yt=0;pt.subscribe((0,r.x)(St,Jt=>{let yn=null;Yt++%vt==0&&Ht.push([]);for(const vn of Ht)vn.push(Jt),wt<=vn.length&&(yn=yn??[],yn.push(vn));if(yn)for(const vn of yn)(0,u.P)(Ht,vn),St.next(vn)},()=>{for(const Jt of Ht)St.next(Jt);St.complete()},void 0,()=>{Ht=null}))})}var b=a(7394),p=a(6321),_=a(9940),l=a(7103);function y(wt,...vt){var pt,St;const Ht=null!==(pt=(0,_.yG)(vt))&&void 0!==pt?pt:p.z,Yt=null!==(St=vt[0])&&void 0!==St?St:null,Jt=vt[1]||1/0;return(0,d.e)((yn,vn)=>{let Vn=[],On=!1;const vi=qn=>{const{buffer:ni,subs:oi}=qn;oi.unsubscribe(),(0,u.P)(Vn,qn),vn.next(ni),On&&ui()},ui=()=>{if(Vn){const qn=new b.w0;vn.add(qn);const oi={buffer:[],subs:qn};Vn.push(oi),(0,l.f)(qn,Ht,()=>vi(oi),wt)}};null!==Yt&&Yt>=0?(0,l.f)(vn,Ht,ui,Yt,!0):On=!0,ui();const Mi=(0,r.x)(vn,qn=>{const ni=Vn.slice();for(const oi of ni){const{buffer:Ii}=oi;Ii.push(qn),Jt<=Ii.length&&vi(oi)}},()=>{for(;Vn?.length;)vn.next(Vn.shift().buffer);Mi?.unsubscribe(),vn.complete(),vn.unsubscribe()},void 0,()=>Vn=null);yn.subscribe(Mi)})}function x(wt,vt){return(0,d.e)((pt,St)=>{const Ht=[];(0,h.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,h.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),pt.subscribe((0,r.x)(St,Yt=>{for(const Jt of Ht)Jt.push(Yt)},()=>{for(;Ht.length>0;)St.next(Ht.shift());St.complete()}))})}function D(wt){return(0,d.e)((vt,pt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&&pt.next(Jt),(0,h.Xf)(wt()).subscribe(Ht=(0,r.x)(pt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(pt,Jt=>St?.push(Jt),()=>{St&&pt.next(St),pt.complete()},void 0,()=>St=Ht=null))})}var S=a(6306),E=a(2572),I=a(2737),X=a(7400),$=a(8407),ee=a(9769),ie=a(9732);function A(wt,vt){return(0,d.e)((0,ie.U)(wt,vt,arguments.length>=2,!1,!0))}const U=(wt,vt)=>(wt.push(vt),wt);function Me(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Me(),(0,ee.z)(pt=>wt(pt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const he=Ae;var H=a(7728);function W(...wt){const vt=(0,_.jO)(wt);return vt?(0,$.z)(W(...wt),(0,X.Z)(vt)):(0,d.e)((pt,St)=>{(0,E.l)([pt,...(0,H.k)(wt)])(St)})}function pe(...wt){return W(...wt)}var we=a(1948),Ee=a(2459);function Be(...wt){const vt=(0,_.yG)(wt);return(0,d.e)((pt,St)=>{(0,we.u)()((0,Ee.D)([pt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function se(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ye(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const We={connector:()=>new He.x};function tt(wt,vt=We){const{connector:pt}=vt;return(0,d.e)((St,Ht)=>{const Yt=pt();(0,h.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Mt(wt){return A((vt,pt,St)=>!wt||wt(pt,St)?vt+1:vt,0)}function Ft(wt){return(0,d.e)((vt,pt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,pt.next(yn)}};vt.subscribe((0,r.x)(pt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(pt,Jt,g.Z),(0,h.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),pt.complete()},void 0,()=>{Ht=Yt=null}))})}var gt=a(3620),Bt=a(3572),Tt=a(7547),kt=a(4610),Le=a(6232),ct=a(2096),ze=a(8504);class N{constructor(vt,pt,St){this.kind=vt,this.value=pt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,pt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?pt?.(Jt):St?.()}accept(vt,pt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,pt,St)}toObservable(){const{kind:vt,value:pt,error:St}=this,Ht="N"===vt?(0,ct.of)(pt):"E"===vt?(0,ze._)(()=>St):"C"===vt?Le.E:0;if(!Ht)throw new TypeError(`Unexpected notification kind ${vt}`);return Ht}static createNext(vt){return new N("N",vt)}static createError(vt){return new N("E",void 0,vt)}static createComplete(){return N.completeNotification}}function oe(wt,vt){var pt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(pt=vt.next)||void 0===pt||pt.call(vt,Jt):"E"===Yt?null===(St=vt.error)||void 0===St||St.call(vt,yn):null===(Ht=vt.complete)||void 0===Ht||Ht.call(vt)}function Y(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,pt=>oe(pt,vt)))})}function ne(wt,vt){return(0,d.e)((pt,St)=>{const Ht=new Set;pt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,h.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var Q=a(3997);function ue(wt,vt){return(0,Q.x)((pt,St)=>vt?vt(pt[wt],St[wt]):pt[wt]===St[wt])}var Te=a(2306);const Ct=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var dt=a(2181),bt=a(3026),Oe=a(8180);function ge(wt,vt){if(wt<0)throw new Ct;const pt=arguments.length>=2;return St=>St.pipe((0,dt.h)((Ht,Yt)=>Yt===wt),(0,Oe.q)(1),pt?(0,Bt.d)(vt):(0,bt.T)(()=>new Ct))}var ot=a(34);function At(...wt){return vt=>(0,ot.z)(vt,(0,ct.of)(...wt))}function Nt(wt,vt){return(0,d.e)((pt,St)=>{let Ht=0;pt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,pt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var zt=a(7398);function Ne(wt,vt){return vt?pt=>pt.pipe(Ne((St,Ht)=>(0,h.Xf)(wt(St,Ht)).pipe((0,zt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((pt,St)=>{let Ht=0,Yt=null,Jt=!1;pt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,h.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function $e(){return Ne(I.y)}const ae=$e;var Ce=a(564);function lt(wt,vt=1/0,pt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,Ce.p)(St,Ht,wt,vt,void 0,!0,pt))}var _e=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,pt){const St="index"===pt;return(Ht,Yt)=>{let Jt=0;Ht.subscribe((0,r.x)(Yt,yn=>{const vn=Jt++;wt.call(vt,yn,vn,Ht)&&(Yt.next(St?vn:yn),Yt.complete())},()=>{Yt.next(St?-1:void 0),Yt.complete()}))}}function F(wt,vt){return(0,d.e)(De(wt,vt,"index"))}var V=a(1374);function K(wt,vt,pt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:pt,element:Jt,connector:St}=vt):Jt=vt;const yn=new Map,vn=qn=>{yn.forEach(qn),qn(Yt)},Vn=qn=>vn(ni=>ni.error(qn));let On=0,vi=!1;const ui=new r.Q(Yt,qn=>{try{const ni=wt(qn);let oi=yn.get(ni);if(!oi){yn.set(ni,oi=St?St():new He.x);const Ii=function Mi(qn,ni){const oi=new Ze.y(Ii=>{On++;const Zi=ni.subscribe(Ii);return()=>{Zi.unsubscribe(),0==--On&&vi&&ui.unsubscribe()}});return oi.key=qn,oi}(ni,oi);if(Yt.next(Ii),pt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,h.Xf)(pt(Ii)).subscribe(Zi))}}oi.next(Jt?Jt(qn):qn)}catch(ni){Vn(ni)}},()=>vn(qn=>qn.complete()),Vn,()=>yn.clear(),()=>(vi=!0,0===On));Ht.subscribe(ui)})}var ve=a(7538);function ut(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Pt=a(2032),qe=a(975);function et(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,pt=>{vt.next(N.createNext(pt))},()=>{vt.next(N.createComplete()),vt.complete()},pt=>{vt.next(N.createError(pt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,pt)=>wt(vt,pt)>0?vt:pt:(vt,pt)=>vt>pt?vt:pt)}var yt=a(7537);function Lt(...wt){const vt=(0,_.yG)(wt),pt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(pt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,pt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,pt):("number"==typeof vt&&(pt=vt),(0,ee.z)(()=>wt,pt))}function Sn(wt,vt,pt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,Ce.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),pt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return Lt(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,pt)=>wt(vt,pt)<0?vt:pt:(vt,pt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:pt}):St=>new xi.c(St,pt)}var Vi=a(3093);const _t=function Et(...wt){const vt=(0,H.k)(wt);return pt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(pt=>{let St=0;const Ht=()=>{if(St{let pt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=pt;pt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(pt,St)=>!wt.call(vt,pt,St)}function nn(wt,vt){return pt=>[(0,dt.h)(wt,vt)(pt),(0,dt.h)(qt(wt,vt))(pt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,zt.U)(pt=>{let St=pt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const pt=new Nn.X(wt);return new xi.c(vt,()=>pt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:pt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;pt?vt.error(Yt):(Jt||yn)&&(St&&vt.next(Ht),vt.complete())}next(vt){this.isStopped||(this._value=vt,this._hasValue=!0)}complete(){const{_hasValue:vt,_value:pt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(pt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,pt,St){pt&&!(0,re.m)(pt)&&(St=pt);const Ht=(0,re.m)(pt)?pt:void 0;return Yt=>fi(new $n.t(wt,vt,St),Ht)(Yt)}var an=a(3684);function mn(...wt){return wt.length?(0,d.e)((vt,pt)=>{(0,an.R)([vt,...wt])(pt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let pt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:pt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=pt){const Vn="number"==typeof pt?(0,Rn.H)(pt):(0,h.Xf)(pt(Yt)),On=(0,r.x)(Ht,()=>{On.unsubscribe(),vn()});Vn.subscribe(On)}else vn()},vn=()=>{let Vn=!1;Jt=St.subscribe((0,r.x)(Ht,void 0,()=>{++Yt{let St,Yt,Ht=!1,Jt=!1,yn=!1;const vn=()=>yn&&Jt&&(pt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(pt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,h.Xf)(wt(Yt)).subscribe((0,r.x)(pt,()=>{St?On():Ht=!0},()=>{Jt=!0,vn()}))),Yt).next()})),Ht&&(St.unsubscribe(),St=null,Ht=!1,On())};On()})}function Yn(wt=1/0){let vt;vt=wt&&"object"==typeof wt?wt:{count:wt};const{count:pt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return pt<=0?I.y:(0,d.e)((Yt,Jt)=>{let vn,yn=0;const Vn=()=>{let On=!1;vn=Yt.subscribe((0,r.x)(Jt,vi=>{Ht&&(yn=0),Jt.next(vi)},void 0,vi=>{if(yn++{vn?(vn.unsubscribe(),vn=null,Vn()):On=!0};if(null!=St){const Mi="number"==typeof St?(0,Rn.H)(St):(0,h.Xf)(St(vi,yn)),qn=(0,r.x)(Jt,()=>{qn.unsubscribe(),ui()},()=>{Jt.complete()});Mi.subscribe(qn)}else ui()}else Jt.error(vi)})),On&&(vn.unsubscribe(),vn=null,Vn())};Vn()})}function wi(wt){return(0,d.e)((vt,pt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(pt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,h.Xf)(wt(Yt)).subscribe((0,r.x)(pt,()=>St?Jt():Ht=!0))),Yt&&Yt.next(yn)})),Ht&&(St.unsubscribe(),St=null,Ht=!1,Jt())};Jt()})}var ri=a(6196);function ai(wt){return(0,d.e)((vt,pt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(pt,Yt=>{St=!0,Ht=Yt})),(0,h.Xf)(wt).subscribe((0,r.x)(pt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,pt.next(Yt)}},g.Z))})}function xt(wt,vt=p.z){return ai(function Ni(wt=0,vt=p.z){return wt<0&&(wt=0),(0,Rn.H)(wt,wt,vt)}(wt,vt))}var jt=a(6424);function ke(wt,vt=((pt,St)=>pt===St)){return(0,d.e)((pt,St)=>{const Ht={buffer:[],complete:!1},Yt={buffer:[],complete:!1},Jt=vn=>{St.next(vn),St.complete()},yn=(vn,Vn)=>{const On=(0,r.x)(St,vi=>{const{buffer:ui,complete:Mi}=Vn;0===ui.length?Mi?Jt(!1):vn.buffer.push(vi):!vt(vi,ui.shift())&&Jt(!1)},()=>{vn.complete=!0;const{complete:vi,buffer:ui}=Vn;vi&&Jt(0===ui.length),On?.unsubscribe()});return On};pt.subscribe(yn(Ht,Yt)),(0,h.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),le=a(7081),Xe=a(6973);const Ot=(0,Te.d)(wt=>function(pt){wt(this),this.name="SequenceError",this.message=pt}),Wt=(0,Te.d)(wt=>function(pt){wt(this),this.name="NotFoundError",this.message=pt});function un(wt){return(0,d.e)((vt,pt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(pt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&&pt.error(new Ot("Too many matching values")),St=!0,Ht=yn)},()=>{St?(pt.next(Ht),pt.complete()):pt.error(Yt?new Wt("No matching values"):new Xe.K)}))})}var gn=a(836);function pn(wt){return wt<=0?I.y:(0,d.e)((vt,pt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(pt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,pt)=>{let St=!1;const Ht=(0,r.x)(pt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,h.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(pt,Yt=>St&&pt.next(Yt)))})}function jn(wt){return(0,d.e)((vt,pt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(pt,Yt=>(St||(St=!wt(Yt,Ht++)))&&pt.next(Yt)))})}var Fn=a(7921),bi=a(5137),Ti=a(4664);function Fi(){return(0,Ti.w)(I.y)}function Gi(wt,vt){return(0,re.m)(vt)?(0,Ti.w)(()=>wt,vt):(0,Ti.w)(()=>wt)}function fn(wt,vt){return(0,d.e)((pt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(pt).subscribe(St),()=>{Ht=null}})}var Cn=a(4418),tn=a(9773),En=a(812),ei=a(9397);function Ei(wt,vt){return(0,d.e)((pt,St)=>{const{leading:Ht=!0,trailing:Yt=!1}=vt??{};let Jt=!1,yn=null,vn=null,Vn=!1;const On=()=>{vn?.unsubscribe(),vn=null,Yt&&(Mi(),Vn&&St.complete())},vi=()=>{vn=null,Vn&&St.complete()},ui=qn=>vn=(0,h.Xf)(wt(qn)).subscribe((0,r.x)(St,On,vi)),Mi=()=>{if(Jt){Jt=!1;const qn=yn;yn=null,St.next(qn),!Vn&&ui(qn)}};pt.subscribe((0,r.x)(St,qn=>{Jt=!0,yn=qn,(!vn||vn.closed)&&(Ht?Mi():ui(qn))},()=>{Vn=!0,(!(Yt&&Jt&&vn)||vn.closed)&&St.complete()}))})}function tr(wt,vt=p.z,pt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,pt)}function Ai(wt=p.z){return(0,d.e)((vt,pt)=>{let St=wt.now();vt.subscribe((0,r.x)(pt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,pt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,pt){this.value=vt,this.interval=pt}}var yi=a(5178),Je=a(93);function Rt(wt,vt,pt){let St,Ht,Yt;if(pt=pt??p.P,(0,Je.q)(wt)?St=wt:"number"==typeof wt&&(Ht=wt),!vt)throw new TypeError("No observable provided to switch to");if(Yt=()=>vt,null==St&&null==Ht)throw new TypeError("No timeout provided.");return(0,yi.V)({first:St,each:Ht,scheduler:pt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,zt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Pe(wt){return(0,d.e)((vt,pt)=>{let St=new He.x;pt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),pt.error(Yt)};return vt.subscribe((0,r.x)(pt,Yt=>St?.next(Yt),()=>{St.complete(),pt.complete()},Ht)),(0,h.Xf)(wt).subscribe((0,r.x)(pt,()=>{St.complete(),pt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function rt(wt,vt=0){const pt=vt>0?vt:wt;return(0,d.e)((St,Ht)=>{let Yt=[new He.x],Jt=[],yn=0;Ht.next(Yt[0].asObservable()),St.subscribe((0,r.x)(Ht,vn=>{for(const On of Yt)On.next(vn);const Vn=yn-wt+1;if(Vn>=0&&Vn%pt==0&&Yt.shift().complete(),++yn%pt==0){const On=new He.x;Yt.push(On),Ht.next(On.asObservable())}},()=>{for(;Yt.length>0;)Yt.shift().complete();Ht.complete()},vn=>{for(;Yt.length>0;)Yt.shift().error(vn);Ht.error(vn)},()=>{Jt=null,Yt=null}))})}function Zt(wt,...vt){var pt,St;const Ht=null!==(pt=(0,_.yG)(vt))&&void 0!==pt?pt:p.z,Yt=null!==(St=vt[0])&&void 0!==St?St:null,Jt=vt[1]||1/0;return(0,d.e)((yn,vn)=>{let Vn=[],On=!1;const vi=ni=>{const{window:oi,subs:Ii}=ni;oi.complete(),Ii.unsubscribe(),(0,u.P)(Vn,ni),On&&ui()},ui=()=>{if(Vn){const ni=new b.w0;vn.add(ni);const oi=new He.x,Ii={window:oi,subs:ni,seen:0};Vn.push(Ii),vn.next(oi.asObservable()),(0,l.f)(ni,Ht,()=>vi(Ii),wt)}};null!==Yt&&Yt>=0?(0,l.f)(vn,Ht,ui,Yt,!0):On=!0,ui();const Mi=ni=>Vn.slice().forEach(ni),qn=ni=>{Mi(({window:oi})=>ni(oi)),ni(vn),vn.unsubscribe()};return yn.subscribe((0,r.x)(vn,ni=>{Mi(oi=>{oi.window.next(ni),Jt<=++oi.seen&&vi(oi)})},()=>qn(ni=>ni.complete()),ni=>qn(oi=>oi.error(ni)))),()=>{Vn=null}})}function Pn(wt,vt){return(0,d.e)((pt,St)=>{const Ht=[],Yt=Jt=>{for(;0{const yn=new He.x;Ht.push(yn);const vn=new b.w0;let On;try{On=(0,h.Xf)(vt(Jt))}catch(vi){return void Yt(vi)}St.next(yn.asObservable()),vn.add(On.subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,yn),yn.complete(),vn.unsubscribe()},g.Z,Yt)))},g.Z)),pt.subscribe((0,r.x)(St,Jt=>{const yn=Ht.slice();for(const vn of yn)vn.next(Jt)},()=>{for(;0{for(;0{let St,Ht;const Yt=yn=>{St.error(yn),pt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,pt.next(St.asObservable());try{yn=(0,h.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(pt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(pt,yn=>St.next(yn),()=>{St.complete(),pt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((pt,St)=>{const Ht=wt.length,Yt=new Array(Ht);let Jt=wt.map(()=>!1),yn=!1;for(let vn=0;vn{Yt[vn]=Vn,!yn&&!Jt[vn]&&(Jt[vn]=!0,(yn=Jt.every(I.y))&&(Jt=null))},g.Z));pt.subscribe((0,r.x)(St,vn=>{if(yn){const Vn=[vn,...Yt];St.next(vt?vt(...Vn):Vn)}}))})}var Li=a(9278);function Qi(...wt){return(0,d.e)((vt,pt)=>{(0,Li.$)(vt,...wt).subscribe(pt)})}function Ui(wt){return Re(Li.$,wt)}function ir(...wt){return Qi(...wt)}},6144:Ie=>{"use strict";Ie.exports=(B,a)=>{if("string"!=typeof B||"string"!=typeof a)throw new TypeError("Expected the arguments to be of type `string`");if(""===a)return[B];const n=B.indexOf(a);return-1===n?[B]:[B.slice(0,n),B.slice(n+a.length)]}},8385:Ie=>{"use strict";Ie.exports=B=>encodeURIComponent(B).replace(/[!'()*]/g,a=>`%${a.charCodeAt(0).toString(16).toUpperCase()}`)},5918:(Ie,B,a)=>{"use strict";let n;a.r(B),a.d(B,{NIL:()=>Bt,parse:()=>E,stringify:()=>b,v1:()=>D,v3:()=>re,v4:()=>Ze,v5:()=>gt,validate:()=>h,version:()=>kt});const c=new Uint8Array(16);function d(){if(!n&&(n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(c)}const g=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,h=function r(Le){return"string"==typeof Le&&g.test(Le)},f=[];for(let Le=0;Le<256;++Le)f.push((Le+256).toString(16).slice(1));function u(Le,ct=0){return(f[Le[ct+0]]+f[Le[ct+1]]+f[Le[ct+2]]+f[Le[ct+3]]+"-"+f[Le[ct+4]]+f[Le[ct+5]]+"-"+f[Le[ct+6]]+f[Le[ct+7]]+"-"+f[Le[ct+8]]+f[Le[ct+9]]+"-"+f[Le[ct+10]]+f[Le[ct+11]]+f[Le[ct+12]]+f[Le[ct+13]]+f[Le[ct+14]]+f[Le[ct+15]]).toLowerCase()}const b=function v(Le,ct=0){const ze=u(Le,ct);if(!h(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,ct,ze){let at=ct&&ze||0;const N=ct||new Array(16);let oe=(Le=Le||{}).node||p,Y=void 0!==Le.clockseq?Le.clockseq:_;if(null==oe||null==Y){const dt=Le.random||(Le.rng||d)();null==oe&&(oe=p=[1|dt[0],dt[1],dt[2],dt[3],dt[4],dt[5]]),null==Y&&(Y=_=16383&(dt[6]<<8|dt[7]))}let ne=void 0!==Le.msecs?Le.msecs:Date.now(),Q=void 0!==Le.nsecs?Le.nsecs:y+1;const ue=ne-l+(Q-y)/1e4;if(ue<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ue<0||ne>l)&&void 0===Le.nsecs&&(Q=0),Q>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=Q,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+Q)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const Ct=ne/4294967296*1e4&268435455;N[at++]=Ct>>>8&255,N[at++]=255&Ct,N[at++]=Ct>>>24&15|16,N[at++]=Ct>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let dt=0;dt<6;++dt)N[at+dt]=oe[dt];return ct||u(N)},E=function S(Le){if(!h(Le))throw TypeError("Invalid UUID");let ct;const ze=new Uint8Array(16);return ze[0]=(ct=parseInt(Le.slice(0,8),16))>>>24,ze[1]=ct>>>16&255,ze[2]=ct>>>8&255,ze[3]=255&ct,ze[4]=(ct=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255&ct,ze[6]=(ct=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255&ct,ze[8]=(ct=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255&ct,ze[10]=(ct=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=ct/4294967296&255,ze[12]=ct>>>24&255,ze[13]=ct>>>16&255,ze[14]=ct>>>8&255,ze[15]=255&ct,ze};function ee(Le,ct,ze){function at(N,oe,Y,ne){var Q;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const ct=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,ct){const ze=(65535&Le)+(65535&ct);return(Le>>16)+(ct>>16)+(ze>>16)<<16|65535&ze}function H(Le,ct,ze,at,N,oe){return Ae(function he(Le,ct){return Le<>>32-ct}(Ae(Ae(ct,Le),Ae(at,oe)),N),ze)}function W(Le,ct,ze,at,N,oe,Y){return H(ct&ze|~ct&at,Le,ct,N,oe,Y)}function pe(Le,ct,ze,at,N,oe,Y){return H(ct&at|ze&~at,Le,ct,N,oe,Y)}function we(Le,ct,ze,at,N,oe,Y){return H(ct^ze^at,Le,ct,N,oe,Y)}function Ee(Le,ct,ze,at,N,oe,Y){return H(ze^(ct|~at),Le,ct,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const ct=unescape(encodeURIComponent(Le));Le=new Uint8Array(ct.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);ct.push(Y)}return ct}(function Me(Le,ct){Le[ct>>5]|=128<>5]|=(255&Le[at/8])<>>32-ct}const gt=ee("v5",80,function tt(Le){const ct=[1518500249,1859775393,2400959708,3395469782],ze=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof Le){const Y=unescape(encodeURIComponent(Le));Le=[];for(let ne=0;ne>>0;dt=Ct,Ct=Te,Te=We(ue,30)>>>0,ue=Q,Q=ge}ze[0]=ze[0]+Q>>>0,ze[1]=ze[1]+ue>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+Ct>>>0,ze[4]=ze[4]+dt>>>0}return[ze[0]>>24&255,ze[0]>>16&255,ze[0]>>8&255,255&ze[0],ze[1]>>24&255,ze[1]>>16&255,ze[1]>>8&255,255&ze[1],ze[2]>>24&255,ze[2]>>16&255,ze[2]>>8&255,255&ze[2],ze[3]>>24&255,ze[3]>>16&255,ze[3]>>8&255,255&ze[3],ze[4]>>24&255,ze[4]>>16&255,ze[4]>>8&255,255&ze[4]]}),Bt="00000000-0000-0000-0000-000000000000",kt=function Tt(Le){if(!h(Le))throw TypeError("Invalid UUID");return parseInt(Le.slice(14,15),16)}},655:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{__addDisposableResource:()=>pe,__assign:()=>d,__asyncDelegator:()=>ie,__asyncGenerator:()=>ee,__asyncValues:()=>A,__await:()=>$,__awaiter:()=>_,__classPrivateFieldGet:()=>he,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>f,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>h,__propKey:()=>v,__read:()=>S,__rest:()=>g,__runInitializers:()=>u,__setFunctionName:()=>b,__spread:()=>E,__spreadArray:()=>X,__spreadArrays:()=>I,__values:()=>D,default:()=>Be});var n=function(G,re){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ye){se.__proto__=ye}||function(se,ye){for(var He in ye)Object.prototype.hasOwnProperty.call(ye,He)&&(se[He]=ye[He])})(G,re)};function c(G,re){if("function"!=typeof re&&null!==re)throw new TypeError("Class extends value "+String(re)+" is not a constructor or null");function se(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(se.prototype=re.prototype,new se)}var d=function(){return d=Object.assign||function(re){for(var se,ye=1,He=arguments.length;ye=0;We--)(Qe=G[We])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,se,Ze):Qe(re,se))||Ze);return He>3&&Ze&&Object.defineProperty(re,se,Ze),Ze}function h(G,re){return function(se,ye){re(se,ye,G)}}function f(G,re,se,ye,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var gt,We=ye.kind,tt="getter"===We?"get":"setter"===We?"set":"value",Mt=!re&&G?ye.static?G:G.prototype:null,Ft=re||(Mt?Object.getOwnPropertyDescriptor(Mt,ye.name):{}),Bt=!1,Tt=se.length-1;Tt>=0;Tt--){var kt={};for(var Le in ye)kt[Le]="access"===Le?{}:ye[Le];for(var Le in ye.access)kt.access[Le]=ye.access[Le];kt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var ct=(0,se[Tt])("accessor"===We?{get:Ft.get,set:Ft.set}:Ft[tt],kt);if("accessor"===We){if(void 0===ct)continue;if(null===ct||"object"!=typeof ct)throw new TypeError("Object expected");(gt=Qe(ct.get))&&(Ft.get=gt),(gt=Qe(ct.set))&&(Ft.set=gt),(gt=Qe(ct.init))&&He.unshift(gt)}else(gt=Qe(ct))&&("field"===We?He.unshift(gt):Ft[tt]=gt)}Mt&&Object.defineProperty(Mt,ye.name,Ft),Bt=!0}function u(G,re,se){for(var ye=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Mt[0]||2===Mt[0])){se=0;continue}if(3===Mt[0]&&(!Ze||Mt[1]>Ze[0]&&Mt[1]=G.length&&(G=void 0),{value:G&&G[ye++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var se="function"==typeof Symbol&&G[Symbol.iterator];if(!se)return G;var He,Qe,ye=se.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ye.next()).done;)Ze.push(He.value)}catch(We){Qe={error:We}}finally{try{He&&!He.done&&(se=ye.return)&&se.call(ye)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||We(Bt,Tt)})})}function We(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Mt,Ft):gt(Ze[0][2],Bt)}(ye[Bt](Tt))}catch(kt){gt(Ze[0][3],kt)}}function Mt(Bt){We("next",Bt)}function Ft(Bt){We("throw",Bt)}function gt(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&We(Ze[0][0],Ze[0][1])}}function ie(G){var re,se;return re={},ye("next"),ye("throw",function(He){throw He}),ye("return"),re[Symbol.iterator]=function(){return this},re;function ye(He,Ze){re[He]=G[He]?function(Qe){return(se=!se)?{value:$(G[He](Qe)),done:!1}:Ze?Ze(Qe):Qe}:Ze}}function A(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var se,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),se={},ye("next"),ye("throw"),ye("return"),se[Symbol.asyncIterator]=function(){return this},se);function ye(Ze){se[Ze]=G[Ze]&&function(Qe){return new Promise(function(We,tt){!function He(Ze,Qe,We,tt){Promise.resolve(tt).then(function(Mt){Ze({value:Mt,done:We})},Qe)}(We,tt,(Qe=G[Ze](Qe)).done,Qe.value)})}}}function U(G,re){return Object.defineProperty?Object.defineProperty(G,"raw",{value:re}):G.raw=re,G}var Me=Object.create?function(G,re){Object.defineProperty(G,"default",{enumerable:!0,value:re})}:function(G,re){G.default=re};function Re(G){if(G&&G.__esModule)return G;var re={};if(null!=G)for(var se in G)"default"!==se&&Object.prototype.hasOwnProperty.call(G,se)&&y(re,G,se);return Me(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function he(G,re,se,ye){if("a"===se&&!ye)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ye:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===se?ye:"a"===se?ye.call(G):ye?ye.value:re.get(G)}function H(G,re,se,ye,He){if("m"===ye)throw new TypeError("Private method is not writable");if("a"===ye&&!He)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof re?G!==re||!He:!re.has(G))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===ye?He.call(G,se):He?He.value=se:re.set(G,se),se}function W(G,re){if(null===re||"object"!=typeof re&&"function"!=typeof re)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof G?re===G:G.has(re)}function pe(G,re,se){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ye;if(se){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ye=re[Symbol.asyncDispose]}if(void 0===ye){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ye=re[Symbol.dispose]}if("function"!=typeof ye)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ye,async:se})}else se&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,se){var ye=new Error(se);return ye.name="SuppressedError",ye.error=G,ye.suppressed=re,ye};function Ee(G){function re(ye){G.error=G.hasError?new we(ye,G.error,"An error was suppressed during disposal."):ye,G.hasError=!0}return function se(){for(;G.stack.length;){var ye=G.stack.pop();try{var He=ye.dispose&&ye.dispose.call(ye.value);if(ye.async)return Promise.resolve(He).then(se,function(Ze){return re(Ze),se()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:h,__metadata:p,__awaiter:_,__generator:l,__createBinding:y,__exportStar:x,__values:D,__read:S,__spread:E,__spreadArrays:I,__spreadArray:X,__await:$,__asyncGenerator:ee,__asyncDelegator:ie,__asyncValues:A,__makeTemplateObject:U,__importStar:Re,__importDefault:Ae,__classPrivateFieldGet:he,__classPrivateFieldSet:H,__classPrivateFieldIn:W,__addDisposableResource:pe,__disposeResources:Ee}},6548:Ie=>{function B(F){return F instanceof Map?F.clear=F.delete=F.set=function(){throw new Error("map is read-only")}:F instanceof Set&&(F.add=F.clear=F.delete=function(){throw new Error("set is read-only")}),Object.freeze(F),Object.getOwnPropertyNames(F).forEach(V=>{const K=F[V],ve=typeof K;("object"===ve||"function"===ve)&&!Object.isFrozen(K)&&B(K)}),F}class a{constructor(V){void 0===V.data&&(V.data={}),this.data=V.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(F){return F.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function c(F,...V){const K=Object.create(null);for(const ve in F)K[ve]=F[ve];return V.forEach(function(ve){for(const ut in ve)K[ut]=ve[ut]}),K}const g=F=>!!F.scope;class h{constructor(V,K){this.buffer="",this.classPrefix=K.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const K=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const K=F.split(".");return[`${V}${K.shift()}`,...K.map((ve,ut)=>`${ve}${"_".repeat(ut+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(K)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const f=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=f(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(V){this.top.children.push(V)}openNode(V){const K=f({scope:V});this.add(K),this.stack.push(K)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(V){return this.constructor._walk(V,this.rootNode)}static _walk(V,K){return"string"==typeof K?V.addText(K):K.children&&(V.openNode(K),K.children.forEach(ve=>this._walk(V,ve)),V.closeNode(K)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(K=>"string"==typeof K)?V.children=[V.children.join("")]:V.children.forEach(K=>{u._collapse(K)}))}}class v extends u{constructor(V){super(),this.options=V}addText(V){""!==V&&this.add(V)}startScope(V){this.openNode(V)}endScope(){this.closeNode()}__addSublanguage(V,K){const ve=V.root;K&&(ve.scope=`language:${K}`),this.add(ve)}toHTML(){return new h(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function b(F){return F?"string"==typeof F?F:F.source:null}function p(F){return y("(?=",F,")")}function _(F){return y("(?:",F,")*")}function l(F){return y("(?:",F,")?")}function y(...F){return F.map(K=>b(K)).join("")}function D(...F){return"("+(function x(F){const V=F[F.length-1];return"object"==typeof V&&V.constructor===Object?(F.splice(F.length-1,1),V):{}}(F).capture?"":"?:")+F.map(ve=>b(ve)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let K=0;return F.map(ve=>{K+=1;const ut=K;let Pt=b(ve),qe="";for(;Pt.length>0;){const et=I.exec(Pt);if(!et){qe+=Pt;break}qe+=Pt.substring(0,et.index),Pt=Pt.substring(et.index+et[0].length),"\\"===et[0][0]&&et[1]?qe+="\\"+String(Number(et[1])+ut):(qe+=et[0],"("===et[0]&&K++)}return qe}).map(ve=>`(${ve})`).join(V)}const ee="[a-zA-Z]\\w*",ie="[a-zA-Z_]\\w*",A="\\b\\d+(\\.\\d+)?",U="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Me="\\b(0b[01]+)",he={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[he]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[he]},we=function(F,V,K={}){const ve=c({scope:"comment",begin:F,end:V,contains:[]},K);ve.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ut=D("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return ve.contains.push({begin:y(/[ ]+/,"(",ut,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ve},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Mt=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:ee,UNDERSCORE_IDENT_RE:ie,NUMBER_RE:A,C_NUMBER_RE:U,BINARY_NUMBER_RE:Me,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(F={})=>{const V=/^#![ ]*\//;return F.binary&&(F.begin=y(V,/.*\b/,F.binary,/\b.*/)),c({scope:"meta",begin:V,end:/$/,relevance:0,"on:begin":(K,ve)=>{0!==K.index&&ve.ignoreMatch()}},F)},BACKSLASH_ESCAPE:he,APOS_STRING_MODE:H,QUOTE_STRING_MODE:W,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:we,C_LINE_COMMENT_MODE:Ee,C_BLOCK_COMMENT_MODE:Be,HASH_COMMENT_MODE:G,NUMBER_MODE:{scope:"number",begin:A,relevance:0},C_NUMBER_MODE:{scope:"number",begin:U,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:Me,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[he,{begin:/\[/,end:/\]/,relevance:0,contains:[he]}]}]},TITLE_MODE:{scope:"title",begin:ee,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:ie,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ie,relevance:0},END_SAME_AS_BEGIN:function(F){return Object.assign(F,{"on:begin":(V,K)=>{K.data._beginMatch=V[1]},"on:end":(V,K)=>{K.data._beginMatch!==V[1]&&K.ignoreMatch()}})}});function Ft(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function gt(F,V){void 0!==F.className&&(F.scope=F.className,delete F.className)}function Bt(F,V){V&&F.beginKeywords&&(F.begin="\\b("+F.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",F.__beforeBegin=Ft,F.keywords=F.keywords||F.beginKeywords,delete F.beginKeywords,void 0===F.relevance&&(F.relevance=0))}function Tt(F,V){Array.isArray(F.illegal)&&(F.illegal=D(...F.illegal))}function kt(F,V){if(F.match){if(F.begin||F.end)throw new Error("begin & end are not supported with match");F.begin=F.match,delete F.match}}function Le(F,V){void 0===F.relevance&&(F.relevance=1)}const ct=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const K=Object.assign({},F);Object.keys(F).forEach(ve=>{delete F[ve]}),F.keywords=K.keywords,F.begin=y(K.beforeMatch,p(K.begin)),F.starts={relevance:0,contains:[Object.assign(K,{endsParent:!0})]},F.relevance=0,delete K.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,K=at){const ve=Object.create(null);return"string"==typeof F?ut(K,F.split(" ")):Array.isArray(F)?ut(K,F):Object.keys(F).forEach(function(Pt){Object.assign(ve,N(F[Pt],V,Pt))}),ve;function ut(Pt,qe){V&&(qe=qe.map(et=>et.toLowerCase())),qe.forEach(function(et){const Ve=et.split("|");ve[Ve[0]]=[Pt,oe(Ve[0],Ve[1])]})}}function oe(F,V){return V?Number(V):function Y(F){return ze.includes(F.toLowerCase())}(F)?0:1}const ne={},Q=F=>{console.error(F)},ue=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},Ct=new Error;function dt(F,V,{key:K}){let ve=0;const ut=F[K],Pt={},qe={};for(let et=1;et<=V.length;et++)qe[et+ve]=ut[et],Pt[et+ve]=!0,ve+=S(V[et-1]);F[K]=qe,F[K]._emit=Pt,F[K]._multi=!0}function ot(F){(function ge(F){F.scope&&"object"==typeof F.scope&&null!==F.scope&&(F.beginScope=F.scope,delete F.scope)})(F),"string"==typeof F.beginScope&&(F.beginScope={_wrap:F.beginScope}),"string"==typeof F.endScope&&(F.endScope={_wrap:F.endScope}),function bt(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw Q("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ct;if("object"!=typeof F.beginScope||null===F.beginScope)throw Q("beginScope must be object"),Ct;dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function Oe(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw Q("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ct;if("object"!=typeof F.endScope||null===F.endScope)throw Q("endScope must be object"),Ct;dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function At(F){function V(qe,et){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(et?"g":""))}class K{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(et,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,et]),this.matchAt+=S(et)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const et=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(et,{joinWith:"|"}),!0),this.lastIndex=0}exec(et){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(et);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),Lt=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,Lt)}}class ve{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(et){if(this.multiRegexes[et])return this.multiRegexes[et];const Ve=new K;return this.rules.slice(et).forEach(([yt,Lt])=>Ve.addRule(yt,Lt)),Ve.compile(),this.multiRegexes[et]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(et,Ve){this.rules.push([et,Ve]),"begin"===Ve.type&&this.count++}exec(et){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(et);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const Lt=this.getMatcher(0);Lt.lastIndex=this.lastIndex+1,yt=Lt.exec(et)}return yt&&(this.regexIndex+=yt.position+1,this.regexIndex===this.count&&this.considerAll()),yt}}if(F.compilerExtensions||(F.compilerExtensions=[]),F.contains&&F.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return F.classNameAliases=c(F.classNameAliases||{}),function Pt(qe,et){const Ve=qe;if(qe.isCompiled)return Ve;[gt,kt,ot,ct].forEach(Lt=>Lt(qe,et)),F.compilerExtensions.forEach(Lt=>Lt(qe,et)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(Lt=>Lt(qe,et)),qe.isCompiled=!0;let yt=null;return"object"==typeof qe.keywords&&qe.keywords.$pattern&&(qe.keywords=Object.assign({},qe.keywords),yt=qe.keywords.$pattern,delete qe.keywords.$pattern),yt=yt||/\w+/,qe.keywords&&(qe.keywords=N(qe.keywords,F.case_insensitive)),Ve.keywordPatternRe=V(yt,!0),et&&(qe.begin||(qe.begin=/\B|\b/),Ve.beginRe=V(Ve.begin),!qe.end&&!qe.endsWithParent&&(qe.end=/\B|\b/),qe.end&&(Ve.endRe=V(Ve.end)),Ve.terminatorEnd=b(Ve.end)||"",qe.endsWithParent&&et.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+et.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(Lt){return function zt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Nt(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===Lt?qe:Lt)})),qe.contains.forEach(function(Lt){Pt(Lt,Ve)}),qe.starts&&Pt(qe.starts,et),Ve.matcher=function ut(qe){const et=new ve;return qe.contains.forEach(Ve=>et.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&et.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&et.addRule(qe.illegal,{type:"illegal"}),et}(Ve),Ve}(F)}function Nt(F){return!!F&&(F.endsWithParent||Nt(F.starts))}class $e extends Error{constructor(V,K){super(V),this.name="HTMLInjectionError",this.html=K}}const ae=n,Ce=c,lt=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),K=Object.create(null),ve=[];let ut=!0;const Pt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let et={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:v};function Ve(an){return et.noHighlightRe.test(an)}function Lt(an,mn,Tn){let Rn="",Wn="";"object"==typeof mn?(Rn=an,Tn=mn.ignoreIllegals,Wn=mn.language):(Te("10.7.0","highlight(lang, code, ...args) has been deprecated."),Te("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Wn=an,Rn=mn),void 0===Tn&&(Tn=!0);const mi={code:Rn,language:Wn};$n("before:highlight",mi);const Yn=mi.result?mi.result:on(mi.language,mi.code,Tn);return Yn.code=mi.code,$n("after:highlight",Yn),Yn}function on(an,mn,Tn,Rn){const Wn=Object.create(null);function mi(fn,Cn){return fn.keywords[Cn]}function Yn(){if(!pn.keywords)return void jn.addText(Fn);let fn=0;pn.keywordPatternRe.lastIndex=0;let Cn=pn.keywordPatternRe.exec(Fn),tn="";for(;Cn;){tn+=Fn.substring(fn,Cn.index);const En=Wt.case_insensitive?Cn[0].toLowerCase():Cn[0],ei=mi(pn,En);if(ei){const[Ei,tr]=ei;jn.addText(tn),tn="",Wn[En]=(Wn[En]||0)+1,Wn[En]<=7&&(bi+=tr),Ei.startsWith("_")?tn+=Cn[0]:ai(Cn[0],Wt.classNameAliases[Ei]||Ei)}else tn+=Cn[0];fn=pn.keywordPatternRe.lastIndex,Cn=pn.keywordPatternRe.exec(Fn)}tn+=Fn.substring(fn),jn.addText(tn)}function ri(){null!=pn.subLanguage?function wi(){if(""===Fn)return;let fn=null;if("string"==typeof pn.subLanguage){if(!V[pn.subLanguage])return void jn.addText(Fn);fn=on(pn.subLanguage,Fn,!0,si[pn.subLanguage]),si[pn.subLanguage]=fn._top}else fn=Sn(Fn,pn.subLanguage.length?pn.subLanguage:null);pn.relevance>0&&(bi+=fn.relevance),jn.__addSublanguage(fn._emitter,fn.language)}():Yn(),Fn=""}function ai(fn,Cn){""!==fn&&(jn.startScope(Cn),jn.addText(fn),jn.endScope())}function Ni(fn,Cn){let tn=1;const En=Cn.length-1;for(;tn<=En;){if(!fn._emit[tn]){tn++;continue}const ei=Wt.classNameAliases[fn[tn]]||fn[tn],Ei=Cn[tn];ei?ai(Ei,ei):(Fn=Ei,Yn(),Fn=""),tn++}}function xt(fn,Cn){return fn.scope&&"string"==typeof fn.scope&&jn.openNode(Wt.classNameAliases[fn.scope]||fn.scope),fn.beginScope&&(fn.beginScope._wrap?(ai(Fn,Wt.classNameAliases[fn.beginScope._wrap]||fn.beginScope._wrap),Fn=""):fn.beginScope._multi&&(Ni(fn.beginScope,Cn),Fn="")),pn=Object.create(fn,{parent:{value:pn}}),pn}function jt(fn,Cn,tn){let En=function E(F,V){const K=F&&F.exec(V);return K&&0===K.index}(fn.endRe,tn);if(En){if(fn["on:end"]){const ei=new a(fn);fn["on:end"](Cn,ei),ei.isMatchIgnored&&(En=!1)}if(En){for(;fn.endsParent&&fn.parent;)fn=fn.parent;return fn}}if(fn.endsWithParent)return jt(fn.parent,Cn,tn)}function ke(fn){return 0===pn.matcher.regexIndex?(Fn+=fn[0],1):(Gi=!0,0)}function me(fn){const Cn=fn[0],tn=mn.substring(fn.index),En=jt(pn,fn,tn);if(!En)return lt;const ei=pn;pn.endScope&&pn.endScope._wrap?(ri(),ai(Cn,pn.endScope._wrap)):pn.endScope&&pn.endScope._multi?(ri(),Ni(pn.endScope,fn)):ei.skip?Fn+=Cn:(ei.returnEnd||ei.excludeEnd||(Fn+=Cn),ri(),ei.excludeEnd&&(Fn=Cn));do{pn.scope&&jn.closeNode(),!pn.skip&&!pn.subLanguage&&(bi+=pn.relevance),pn=pn.parent}while(pn!==En.parent);return En.starts&&xt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function Ot(fn,Cn){const tn=Cn&&Cn[0];if(Fn+=fn,null==tn)return ri(),0;if("begin"===Xe.type&&"end"===Cn.type&&Xe.index===Cn.index&&""===tn){if(Fn+=mn.slice(Cn.index,Cn.index+1),!ut){const En=new Error(`0 width match regex (${an})`);throw En.languageName=an,En.badRule=Xe.rule,En}return 1}if(Xe=Cn,"begin"===Cn.type)return function O(fn){const Cn=fn[0],tn=fn.rule,En=new a(tn),ei=[tn.__beforeBegin,tn["on:begin"]];for(const Ei of ei)if(Ei&&(Ei(fn,En),En.isMatchIgnored))return ke(Cn);return tn.skip?Fn+=Cn:(tn.excludeBegin&&(Fn+=Cn),ri(),!tn.returnBegin&&!tn.excludeBegin&&(Fn=Cn)),xt(tn,fn),tn.returnBegin?0:Cn.length}(Cn);if("illegal"===Cn.type&&!Tn){const En=new Error('Illegal lexeme "'+tn+'" for mode "'+(pn.scope||"")+'"');throw En.mode=pn,En}if("end"===Cn.type){const En=me(Cn);if(En!==lt)return En}if("illegal"===Cn.type&&""===tn)return 1;if(Fi>1e5&&Fi>3*Cn.index)throw new Error("potential infinite loop, way more iterations than matches");return Fn+=tn,tn.length}const Wt=cn(an);if(!Wt)throw Q(Pt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=At(Wt);let gn="",pn=Rn||un;const si={},jn=new et.__emitter(et);!function le(){const fn=[];for(let Cn=pn;Cn!==Wt;Cn=Cn.parent)Cn.scope&&fn.unshift(Cn.scope);fn.forEach(Cn=>jn.openNode(Cn))}();let Fn="",bi=0,Ti=0,Fi=0,Gi=!1;try{if(Wt.__emitTokens)Wt.__emitTokens(mn,jn);else{for(pn.matcher.considerAll();;){Fi++,Gi?Gi=!1:pn.matcher.considerAll(),pn.matcher.lastIndex=Ti;const fn=pn.matcher.exec(mn);if(!fn)break;const tn=Ot(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}Ot(mn.substring(Ti))}return jn.finalize(),gn=jn.toHTML(),{language:an,value:gn,relevance:bi,illegal:!1,_emitter:jn,_top:pn}}catch(fn){if(fn.message&&fn.message.includes("Illegal"))return{language:an,value:ae(mn),illegal:!0,relevance:0,_illegalBy:{message:fn.message,index:Ti,context:mn.slice(Ti-100,Ti+100),mode:fn.mode,resultSoFar:gn},_emitter:jn};if(ut)return{language:an,value:ae(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||et.languages||Object.keys(V);const Tn=function xn(an){const mn={value:ae(an),illegal:!1,relevance:0,_top:qe,_emitter:new et.__emitter(et)};return mn._emitter.addText(an),mn}(an),Rn=mn.filter(cn).filter(Nn).map(ri=>on(ri,an,!1));Rn.unshift(Tn);const Wn=Rn.sort((ri,ai)=>{if(ri.relevance!==ai.relevance)return ai.relevance-ri.relevance;if(ri.language&&ai.language){if(cn(ri.language).supersetOf===ai.language)return 1;if(cn(ai.language).supersetOf===ri.language)return-1}return 0}),[mi,Yn]=Wn,wi=mi;return wi.secondBest=Yn,wi}function Mn(an){let mn=null;const Tn=function yt(an){let mn=an.className+" ";mn+=an.parentNode?an.parentNode.className:"";const Tn=et.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ue(Pt.replace("{}",Tn[1])),ue("Falling back to no-highlight mode for this block.",an)),Rn?Tn[1]:"no-highlight"}return mn.split(/\s+/).find(Rn=>Ve(Rn)||cn(Rn))}(an);if(Ve(Tn))return;if($n("before:highlightElement",{el:an,language:Tn}),an.children.length>0&&(et.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(an)),et.throwUnescapedHTML))throw new $e("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?Lt(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&K[mn]||Tn;an.classList.add("hljs"),an.classList.add(`language-${Rn}`)}(an,Tn,Wn.language),an.result={language:Wn.language,re:Wn.relevance,relevance:Wn.relevance},Wn.secondBest&&(an.secondBest={language:Wn.secondBest.language,relevance:Wn.secondBest.relevance}),$n("after:highlightElement",{el:an,result:Wn,text:Rn})}let Yi=!1;function Et(){"loading"!==document.readyState?document.querySelectorAll(et.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[K[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{K[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;ve.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function _t(){Yi&&Et()},!1),Object.assign(F,{highlight:Lt,highlightAuto:Sn,highlightAll:Et,highlightElement:Mn,highlightBlock:function ti(an){return Te("10.7.0","highlightBlock will be removed entirely in v12.0"),Te("10.7.0","Please use highlightElement now."),Mn(an)},configure:function xi(an){et=Ce(et,an)},initHighlighting:()=>{Et(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){Et(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function mt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(Q("Language definition for '{}' could not be registered.".replace("{}",an)),!ut)throw Rn;Q(Rn),Tn=qe}Tn.name||(Tn.name=an),V[an]=Tn,Tn.rawDefinition=mn.bind(null,F),Tn.aliases&&sn(Tn.aliases,{languageName:an})},unregisterLanguage:function qt(an){delete V[an];for(const mn of Object.keys(K))K[mn]===an&&delete K[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:Ce,addPlugin:function Xn(an){(function wn(an){an["before:highlightBlock"]&&!an["before:highlightElement"]&&(an["before:highlightElement"]=mn=>{an["before:highlightBlock"](Object.assign({block:mn.el},mn))}),an["after:highlightBlock"]&&!an["after:highlightElement"]&&(an["after:highlightElement"]=mn=>{an["after:highlightBlock"](Object.assign({block:mn.el},mn))})})(an),ve.push(an)},removePlugin:function _i(an){const mn=ve.indexOf(an);-1!==mn&&ve.splice(mn,1)}}),F.debugMode=function(){ut=!1},F.safeMode=function(){ut=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Mt)"object"==typeof Mt[an]&&B(Mt[an]);return Object.assign(F,Mt),F},De=Ye({});De.newInstance=()=>Ye({}),Ie.exports=De,De.HighlightJS=De,De.default=De},5454:Ie=>{Ie.exports=function B(a){const d=["true","false","null"],g={scope:"literal",beginKeywords:d.join(" ")};return{name:"JSON",keywords:{literal:d},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},a.QUOTE_STRING_MODE,g,a.C_NUMBER_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},5149:Ie=>{Ie.exports=function B(a){const n=a.regex,c=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),g={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=a.inherit(r,{begin:/\(/,end:/\)/}),f=a.inherit(a.APOS_STRING_MODE,{className:"string"}),u=a.inherit(a.QUOTE_STRING_MODE,{className:"string"}),v={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,u,f,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,h,u,f]}]}]},a.COMMENT(//,{relevance:10}),{begin://,relevance:10},g,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[u]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[v],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[v],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:c,relevance:0,starts:v}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(c,/>/))),contains:[{className:"name",begin:c,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},7156:Ie=>{function B(n,c,d,g,r,h,f){try{var u=n[h](f),v=u.value}catch(b){return void d(b)}u.done?c(v):Promise.resolve(v).then(g,r)}Ie.exports=function a(n){return function(){var c=this,d=arguments;return new Promise(function(g,r){var h=n.apply(c,d);function f(v){B(h,g,r,f,u,"next",v)}function u(v){B(h,g,r,f,u,"throw",v)}f(void 0)})}},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},8416:(Ie,B,a)=>{var n=a(4062);Ie.exports=function c(d,g,r){return(g=n(g))in d?Object.defineProperty(d,g,{value:r,enumerable:!0,configurable:!0,writable:!0}):d[g]=r,d},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},5036:(Ie,B,a)=>{var n=a(8698).default;Ie.exports=function c(d,g){if("object"!==n(d)||null===d)return d;var r=d[Symbol.toPrimitive];if(void 0!==r){var h=r.call(d,g||"default");if("object"!==n(h))return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===g?String:Number)(d)},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},4062:(Ie,B,a)=>{var n=a(8698).default,c=a(5036);Ie.exports=function d(g){var r=c(g,"string");return"symbol"===n(r)?r:String(r)},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},8698:Ie=>{function B(a){return Ie.exports=B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports,B(a)}Ie.exports=B,Ie.exports.__esModule=!0,Ie.exports.default=Ie.exports},6825:(Ie,B,a)=>{"use strict";a.d(B,{F4:()=>b,IO:()=>x,LC:()=>c,SB:()=>v,X$:()=>g,ZE:()=>E,ZN:()=>S,_j:()=>n,eR:()=>p,jt:()=>r,k1:()=>I,l3:()=>d,oB:()=>u,pV:()=>l,ru:()=>h,vP:()=>f});class n{}class c{}const d="*";function g(X,$){return{type:7,name:X,definitions:$,options:{}}}function r(X,$=null){return{type:4,styles:$,timings:X}}function h(X,$=null){return{type:3,steps:X,options:$}}function f(X,$=null){return{type:2,steps:X,options:$}}function u(X){return{type:6,styles:X,offset:null}}function v(X,$,ee){return{type:0,name:X,styles:$,options:ee}}function b(X){return{type:5,steps:X}}function p(X,$,ee=null){return{type:1,expr:X,animation:$,options:ee}}function l(X=null){return{type:9,options:X}}function x(X,$,ee=null){return{type:11,selector:X,animation:$,options:ee}}class S{constructor($=0,ee=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=$+ee}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(ie=>ie()),ee.length=0}}class E{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let ee=0,ie=0,A=0;const U=this.players.length;0==U?queueMicrotask(()=>this._onFinish()):this.players.forEach(Me=>{Me.onDone(()=>{++ee==U&&this._onFinish()}),Me.onDestroy(()=>{++ie==U&&this._onDestroy()}),Me.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Me,Re)=>Math.max(Me,Re.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const ee=$*this.totalTime;this.players.forEach(ie=>{const A=ie.totalTime?Math.min(1,ee/ie.totalTime):1;ie.setPosition(A)})}getPosition(){const $=this.players.reduce((ee,ie)=>null===ee||ie.totalTime>ee.totalTime?ie:ee,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(ie=>ie()),ee.length=0}}const I="!"},4300:(Ie,B,a)=>{"use strict";a.d(B,{$s:()=>Ae,Em:()=>we,Kd:()=>ot,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>$e,mK:()=>kt,qm:()=>_e,rt:()=>Ye,s1:()=>pe,tE:()=>Ne,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),h=a(5619),f=a(2096),u=a(6028),v=a(9397),b=a(3620),p=a(2181),_=a(7398),l=a(8180),y=a(836),x=a(3997),D=a(9773),S=a(2495),E=a(7131),I=a(1088);const X=" ";function $(De,F,V){const K=ie(De,F);K.some(ve=>ve.trim()==V.trim())||(K.push(V.trim()),De.setAttribute(F,K.join(X)))}function ee(De,F,V){const ve=ie(De,F).filter(ut=>ut!=V.trim());ve.length?De.setAttribute(F,ve.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Me="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,K){this._platform=K,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,K,ve){if(!this._canBeDescribed(V,K))return;const ut=he(K,ve);"string"!=typeof K?(H(K,this._id),this._messageRegistry.set(ut,{messageElement:K,referenceCount:0})):this._messageRegistry.has(ut)||this._createMessageElement(K,ve),this._isElementDescribedByMessage(V,ut)||this._addMessageReference(V,ut)}removeDescription(V,K,ve){if(!K||!this._isElementNode(V))return;const ut=he(K,ve);if(this._isElementDescribedByMessage(V,ut)&&this._removeMessageReference(V,ut),"string"==typeof K){const Pt=this._messageRegistry.get(ut);Pt&&0===Pt.referenceCount&&this._deleteMessageElement(ut)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Me}="${this._id}"]`);for(let K=0;K0!=ve.indexOf(U));V.setAttribute("aria-describedby",K.join(" "))}_addMessageReference(V,K){const ve=this._messageRegistry.get(K);$(V,"aria-describedby",ve.messageElement.id),V.setAttribute(Me,this._id),ve.referenceCount++}_removeMessageReference(V,K){const ve=this._messageRegistry.get(K);ve.referenceCount--,ee(V,"aria-describedby",ve.messageElement.id),V.removeAttribute(Me)}_isElementDescribedByMessage(V,K){const ve=ie(V,"aria-describedby"),ut=this._messageRegistry.get(K),Pt=ut&&ut.messageElement.id;return!!Pt&&-1!=ve.indexOf(Pt)}_canBeDescribed(V,K){if(!this._isElementNode(V))return!1;if(K&&"object"==typeof K)return!0;const ve=null==K?"":`${K}`.trim(),ut=V.getAttribute("aria-label");return!(!ve||ut&&ut.trim()===ve)}_isElementNode(V){return V.nodeType===this._document.ELEMENT_NODE}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(n.DOCUMENT),c.\u0275\u0275inject(d.t4))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function he(De,F){return"string"==typeof De?`${F||""}/${De}`:De}function H(De,F){De.id||(De.id=`${U}-${F}-${Re++}`)}class W{constructor(F){this._items=F,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new g.x,this._typeaheadSubscription=r.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=V=>V.disabled,this._pressedLetters=[],this.tabOut=new g.x,this.change=new g.x,F instanceof c.QueryList&&(this._itemChangesSubscription=F.changes.subscribe(V=>{if(this._activeItem){const ve=V.toArray().indexOf(this._activeItem);ve>-1&&ve!==this._activeItemIndex&&(this._activeItemIndex=ve)}}))}skipPredicate(F){return this._skipPredicateFn=F,this}withWrap(F=!0){return this._wrap=F,this}withVerticalOrientation(F=!0){return this._vertical=F,this}withHorizontalOrientation(F){return this._horizontal=F,this}withAllowedModifierKeys(F){return this._allowedModifierKeys=F,this}withTypeAhead(F=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,v.b)(V=>this._pressedLetters.push(V)),(0,b.b)(F),(0,p.h)(()=>this._pressedLetters.length>0),(0,_.U)(()=>this._pressedLetters.join(""))).subscribe(V=>{const K=this._getItemsArray();for(let ve=1;ve!F[ut]||this._allowedModifierKeys.indexOf(ut)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&ve){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&ve){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&ve){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&ve){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&ve){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&ve){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&ve){const ut=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ut>0?ut:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&ve){const ut=this._activeItemIndex+this._pageUpAndDown.delta,Pt=this._getItemsArray().length;this._setActiveItemByIndex(ut=u.A&&V<=u.Z||V>=u.xE&&V<=u.aO)&&this._letterKeyStream.next(String.fromCharCode(V))))}this._pressedLetters=[],F.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(F){const V=this._getItemsArray(),K="number"==typeof F?F:V.indexOf(F);this._activeItem=V[K]??null,this._activeItemIndex=K}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(F){this._wrap?this._setActiveInWrapMode(F):this._setActiveInDefaultMode(F)}_setActiveInWrapMode(F){const V=this._getItemsArray();for(let K=1;K<=V.length;K++){const ve=(this._activeItemIndex+F*K+V.length)%V.length;if(!this._skipPredicateFn(V[ve]))return void this.setActiveItem(ve)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const K=this._getItemsArray();if(K[F]){for(;this._skipPredicateFn(K[F]);)if(!K[F+=V])return;this.setActiveItem(F)}}_getItemsArray(){return this._items instanceof c.QueryList?this._items.toArray():this._items}}class pe extends W{setActiveItem(F){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(F),this.activeItem&&this.activeItem.setActiveStyles()}}class we extends W{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(F){return this._origin=F,this}setActiveItem(F){super.setActiveItem(F),this.activeItem&&this.activeItem.focus(this._origin)}}let Be=(()=>{class De{constructor(V){this._platform=V}isDisabled(V){return V.hasAttribute("disabled")}isVisible(V){return function re(De){return!!(De.offsetWidth||De.offsetHeight||"function"==typeof De.getClientRects&&De.getClientRects().length)}(V)&&"visible"===getComputedStyle(V).visibility}isTabbable(V){if(!this._platform.isBrowser)return!1;const K=function G(De){try{return De.frameElement}catch{return null}}(function gt(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(K&&(-1===tt(K)||!this.isVisible(K)))return!1;let ve=V.nodeName.toLowerCase(),ut=tt(V);return V.hasAttribute("contenteditable")?-1!==ut:!("iframe"===ve||"object"===ve||this._platform.WEBKIT&&this._platform.IOS&&!function Mt(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===ve?!!V.hasAttribute("controls")&&-1!==ut:"video"===ve?-1!==ut&&(null!==ut||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,K){return function Ft(De){return!function ye(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function se(De){let F=De.nodeName.toLowerCase();return"input"===F||"select"===F||"button"===F||"textarea"===F}(De)||function He(De){return function Qe(De){return"a"==De.nodeName.toLowerCase()}(De)&&De.hasAttribute("href")}(De)||De.hasAttribute("contenteditable")||We(De))}(V)&&!this.isDisabled(V)&&(K?.ignoreVisibility||this.isVisible(V))}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(d.t4))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function We(De){if(!De.hasAttribute("tabindex")||void 0===De.tabIndex)return!1;let F=De.getAttribute("tabindex");return!(!F||isNaN(parseInt(F,10)))}function tt(De){if(!We(De))return null;const F=parseInt(De.getAttribute("tabindex")||"",10);return isNaN(F)?-1:F}class Bt{get enabled(){return this._enabled}set enabled(F){this._enabled=F,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(F,this._startAnchor),this._toggleAnchorTabIndex(F,this._endAnchor))}constructor(F,V,K,ve,ut=!1){this._element=F,this._checker=V,this._ngZone=K,this._document=ve,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ut||this.attachAnchors()}destroy(){const F=this._startAnchor,V=this._endAnchor;F&&(F.removeEventListener("focus",this.startAnchorListener),F.remove()),V&&(V.removeEventListener("focus",this.endAnchorListener),V.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(F){return new Promise(V=>{this._executeOnStable(()=>V(this.focusInitialElement(F)))})}focusFirstTabbableElementWhenReady(F){return new Promise(V=>{this._executeOnStable(()=>V(this.focusFirstTabbableElement(F)))})}focusLastTabbableElementWhenReady(F){return new Promise(V=>{this._executeOnStable(()=>V(this.focusLastTabbableElement(F)))})}_getRegionBoundary(F){const V=this._element.querySelectorAll(`[cdk-focus-region-${F}], [cdkFocusRegion${F}], [cdk-focus-${F}]`);return"start"==F?V.length?V[0]:this._getFirstTabbableElement(this._element):V.length?V[V.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(F){const V=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(V){if(!this._checker.isFocusable(V)){const K=this._getFirstTabbableElement(V);return K?.focus(F),!!K}return V.focus(F),!0}return this.focusFirstTabbableElement(F)}focusFirstTabbableElement(F){const V=this._getRegionBoundary("start");return V&&V.focus(F),!!V}focusLastTabbableElement(F){const V=this._getRegionBoundary("end");return V&&V.focus(F),!!V}hasAttached(){return this._hasAttached}_getFirstTabbableElement(F){if(this._checker.isFocusable(F)&&this._checker.isTabbable(F))return F;const V=F.children;for(let K=0;K=0;K--){const ve=V[K].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[K]):null;if(ve)return ve}return null}_createAnchor(){const F=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,F),F.classList.add("cdk-visually-hidden"),F.classList.add("cdk-focus-trap-anchor"),F.setAttribute("aria-hidden","true"),F}_toggleAnchorTabIndex(F,V){F?V.setAttribute("tabindex","0"):V.removeAttribute("tabindex")}toggleAnchors(F){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(F,this._startAnchor),this._toggleAnchorTabIndex(F,this._endAnchor))}_executeOnStable(F){this._ngZone.isStable?F():this._ngZone.onStable.pipe((0,l.q)(1)).subscribe(F)}}let Tt=(()=>{class De{constructor(V,K,ve){this._checker=V,this._ngZone=K,this._document=ve}create(V,K=!1){return new Bt(V,this._checker,this._ngZone,this._document,K)}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(Be),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(n.DOCUMENT))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),kt=(()=>{class De{get enabled(){return this.focusTrap.enabled}set enabled(V){this.focusTrap.enabled=(0,S.Ig)(V)}get autoCapture(){return this._autoCapture}set autoCapture(V){this._autoCapture=(0,S.Ig)(V)}constructor(V,K,ve){this._elementRef=V,this._focusTrapFactory=K,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(V){const K=V.autoCapture;K&&!K.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,d.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(Tt),c.\u0275\u0275directiveInject(n.DOCUMENT))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[c.\u0275\u0275NgOnChangesFeature]}),De})();function oe(De){return 0===De.buttons||0===De.offsetX&&0===De.offsetY}function Y(De){const F=De.touches&&De.touches[0]||De.changedTouches&&De.changedTouches[0];return!(!F||-1!==F.identifier||null!=F.radiusX&&1!==F.radiusX||null!=F.radiusY&&1!==F.radiusY)}const ne=new c.InjectionToken("cdk-input-modality-detector-options"),Q={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let Ct=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,K,ve,ut){this._platform=V,this._mostRecentTarget=null,this._modality=new h.X(null),this._lastTouchMs=0,this._onKeydown=Pt=>{this._options?.ignoreKeys?.some(qe=>qe===Pt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Pt))},this._onMousedown=Pt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Pt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Pt))},this._onTouchstart=Pt=>{Y(Pt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Pt))},this._options={...Q,...ut},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&K.runOutsideAngular(()=>{ve.addEventListener("keydown",this._onKeydown,Te),ve.addEventListener("mousedown",this._onMousedown,Te),ve.addEventListener("touchstart",this._onTouchstart,Te)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Te),document.removeEventListener("mousedown",this._onMousedown,Te),document.removeEventListener("touchstart",this._onTouchstart,Te))}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(d.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(n.DOCUMENT),c.\u0275\u0275inject(ne,8))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();const dt=new c.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function bt(){return null}}),Oe=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ge=0,ot=(()=>{class De{constructor(V,K,ve,ut){this._ngZone=K,this._defaultOptions=ut,this._document=ve,this._liveElement=V||this._createLiveElement()}announce(V,...K){const ve=this._defaultOptions;let ut,Pt;return 1===K.length&&"number"==typeof K[0]?Pt=K[0]:[ut,Pt]=K,this.clear(),clearTimeout(this._previousTimeout),ut||(ut=ve&&ve.politeness?ve.politeness:"polite"),null==Pt&&ve&&(Pt=ve.duration),this._liveElement.setAttribute("aria-live",ut),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(qe=>this._currentResolve=qe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=V,"number"==typeof Pt&&(this._previousTimeout=setTimeout(()=>this.clear(),Pt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const V="cdk-live-announcer-element",K=this._document.getElementsByClassName(V),ve=this._document.createElement("div");for(let ut=0;ut .cdk-overlay-container [aria-modal="true"]');for(let ve=0;ve{class De{constructor(V,K,ve,ut,Pt){this._ngZone=V,this._platform=K,this._inputModalityDetector=ve,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new g.x,this._rootNodeFocusAndBlurListener=qe=>{for(let Ve=(0,d.sA)(qe);Ve;Ve=Ve.parentElement)"focus"===qe.type?this._onFocus(qe,Ve):this._onBlur(qe,Ve)},this._document=ut,this._detectionMode=Pt?.detectionMode||0}monitor(V,K=!1){const ve=(0,S.fI)(V);if(!this._platform.isBrowser||1!==ve.nodeType)return(0,f.of)();const ut=(0,d.kV)(ve)||this._getDocument(),Pt=this._elementInfo.get(ve);if(Pt)return K&&(Pt.checkChildren=!0),Pt.subject;const qe={checkChildren:K,subject:new g.x,rootNode:ut};return this._elementInfo.set(ve,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const K=(0,S.fI)(V),ve=this._elementInfo.get(K);ve&&(ve.subject.complete(),this._setClasses(K),this._elementInfo.delete(K),this._removeGlobalListeners(ve))}focusVia(V,K,ve){const ut=(0,S.fI)(V);ut===this._getDocument().activeElement?this._getClosestElementsInfo(ut).forEach(([qe,et])=>this._originChanged(qe,K,et)):(this._setOrigin(K),"function"==typeof ut.focus&&ut.focus(ve))}ngOnDestroy(){this._elementInfo.forEach((V,K)=>this.stopMonitoring(K))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(V){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(V)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:V&&this._isLastInteractionFromInputLabel(V)?"mouse":"program"}_shouldBeAttributedToTouch(V){return 1===this._detectionMode||!!V?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(V,K){V.classList.toggle("cdk-focused",!!K),V.classList.toggle("cdk-touch-focused","touch"===K),V.classList.toggle("cdk-keyboard-focused","keyboard"===K),V.classList.toggle("cdk-mouse-focused","mouse"===K),V.classList.toggle("cdk-program-focused","program"===K)}_setOrigin(V,K=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&K,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,K){const ve=this._elementInfo.get(K),ut=(0,d.sA)(V);!ve||!ve.checkChildren&&K!==ut||this._originChanged(K,this._getFocusOrigin(ut),ve)}_onBlur(V,K){const ve=this._elementInfo.get(K);!ve||ve.checkChildren&&V.relatedTarget instanceof Node&&K.contains(V.relatedTarget)||(this._setClasses(K),this._emitOrigin(ve,null))}_emitOrigin(V,K){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(K))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const K=V.rootNode,ve=this._rootNodeFocusListenerCount.get(K)||0;ve||this._ngZone.runOutsideAngular(()=>{K.addEventListener("focus",this._rootNodeFocusAndBlurListener,zt),K.addEventListener("blur",this._rootNodeFocusAndBlurListener,zt)}),this._rootNodeFocusListenerCount.set(K,ve+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(ut=>{this._setOrigin(ut,!0)}))}_removeGlobalListeners(V){const K=V.rootNode;if(this._rootNodeFocusListenerCount.has(K)){const ve=this._rootNodeFocusListenerCount.get(K);ve>1?this._rootNodeFocusListenerCount.set(K,ve-1):(K.removeEventListener("focus",this._rootNodeFocusAndBlurListener,zt),K.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zt),this._rootNodeFocusListenerCount.delete(K))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,K,ve){this._setClasses(V,K),this._emitOrigin(ve,K),this._lastFocusOrigin=K}_getClosestElementsInfo(V){const K=[];return this._elementInfo.forEach((ve,ut)=>{(ut===V||ve.checkChildren&&ut.contains(V))&&K.push([ut,ve])}),K}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:K,mostRecentModality:ve}=this._inputModalityDetector;if("mouse"!==ve||!K||K===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const ut=V.labels;if(ut)for(let Pt=0;Pt{class De{constructor(V,K){this._elementRef=V,this._focusMonitor=K,this._focusOrigin=null,this.cdkFocusChange=new c.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const V=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(V,1===V.nodeType&&V.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(K=>{this._focusOrigin=K,this.cdkFocusChange.emit(K)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(Ne))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const ae="cdk-high-contrast-black-on-white",Ce="cdk-high-contrast-white-on-black",lt="cdk-high-contrast-active";let _e=(()=>{class De{constructor(V,K){this._platform=V,this._document=K,this._breakpointSubscription=(0,c.inject)(I.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const V=this._document.createElement("div");V.style.backgroundColor="rgb(1,2,3)",V.style.position="absolute",this._document.body.appendChild(V);const K=this._document.defaultView||window,ve=K&&K.getComputedStyle?K.getComputedStyle(V):null,ut=(ve&&ve.backgroundColor||"").replace(/ /g,"");switch(V.remove(),ut){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const V=this._document.body.classList;V.remove(lt,ae,Ce),this._hasCheckedHighContrastMode=!0;const K=this.getHighContrastMode();1===K?V.add(lt,ae):2===K&&V.add(lt,Ce)}}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(d.t4),c.\u0275\u0275inject(n.DOCUMENT))},De.\u0275prov=c.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Ye=(()=>{class De{constructor(V){V._applyBodyHighContrastModeCssClasses()}}return De.\u0275fac=function(V){return new(V||De)(c.\u0275\u0275inject(_e))},De.\u0275mod=c.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=c.\u0275\u0275defineInjector({imports:[E.Q8]}),De})()},9388:(Ie,B,a)=>{"use strict";a.d(B,{Is:()=>f,vT:()=>v});var n=a(5879),c=a(6814);const d=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function g(){return(0,n.inject)(c.DOCUMENT)}}),r=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function h(b){const p=b?.toLowerCase()||"";return"auto"===p&&typeof navigator<"u"&&navigator?.language?r.test(navigator.language)?"rtl":"ltr":"rtl"===p?"rtl":"ltr"}((_.body?_.body.dir:null)||(_.documentElement?_.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return b.\u0275fac=function(_){return new(_||b)(n.\u0275\u0275inject(d,8))},b.\u0275prov=n.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),v=(()=>{class b{}return b.\u0275fac=function(_){return new(_||b)},b.\u0275mod=n.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=n.\u0275\u0275defineInjector({}),b})()},2495:(Ie,B,a)=>{"use strict";a.d(B,{Eq:()=>r,HM:()=>h,Ig:()=>c,du:()=>u,fI:()=>f,su:()=>d,t6:()=>g});var n=a(5879);function c(v){return null!=v&&"false"!=`${v}`}function d(v,b=0){return g(v)?Number(v):b}function g(v){return!isNaN(parseFloat(v))&&!isNaN(Number(v))}function r(v){return Array.isArray(v)?v:[v]}function h(v){return null==v?"":"string"==typeof v?v:`${v}px`}function f(v){return v instanceof n.ElementRef?v.nativeElement:v}function u(v,b=/\s+/){const p=[];if(null!=v){const _=Array.isArray(v)?v:`${v}`.split(b);for(const l of _){const y=`${l}`.trim();y&&p.push(y)}}return p}},8337:(Ie,B,a)=>{"use strict";a.d(B,{A8:()=>p,Ov:()=>v,Z9:()=>r,eX:()=>u,k:()=>_,o2:()=>g,yy:()=>f});var n=a(3168),c=a(8645),d=a(5879);class g{}function r(l){return l&&"function"==typeof l.connect&&!(l instanceof n.c)}class f{applyChanges(y,x,D,S,E){y.forEachOperation((I,X,$)=>{let ee,ie;if(null==I.previousIndex){const A=D(I,X,$);ee=x.createEmbeddedView(A.templateRef,A.context,A.index),ie=1}else null==$?(x.remove(X),ie=3):(ee=x.get(X),x.move(ee,$),ie=2);E&&E({context:ee?.context,operation:ie,record:I})})}detach(){}}class u{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(y,x,D,S,E){y.forEachOperation((I,X,$)=>{let ee,ie;null==I.previousIndex?(ee=this._insertView(()=>D(I,X,$),$,x,S(I)),ie=ee?1:0):null==$?(this._detachAndCacheView(X,x),ie=3):(ee=this._moveView(X,$,x,S(I)),ie=2),E&&E({context:ee?.context,operation:ie,record:I})})}detach(){for(const y of this._viewCache)y.destroy();this._viewCache=[]}_insertView(y,x,D,S){const E=this._insertViewFromCache(x,D);if(E)return void(E.context.$implicit=S);const I=y();return D.createEmbeddedView(I.templateRef,I.context,I.index)}_detachAndCacheView(y,x){const D=x.detach(y);this._maybeCacheView(D,x)}_moveView(y,x,D,S){const E=D.get(y);return D.move(E,x),E.context.$implicit=S,E}_maybeCacheView(y,x){if(this._viewCache.lengththis._markSelected(E)):this._markSelected(x[0]),this._selectedToEmit.length=0)}select(...y){this._verifyValueAssignment(y),y.forEach(D=>this._markSelected(D));const x=this._hasQueuedChanges();return this._emitChangeEvent(),x}deselect(...y){this._verifyValueAssignment(y),y.forEach(D=>this._unmarkSelected(D));const x=this._hasQueuedChanges();return this._emitChangeEvent(),x}setSelection(...y){this._verifyValueAssignment(y);const x=this.selected,D=new Set(y);y.forEach(E=>this._markSelected(E)),x.filter(E=>!D.has(E)).forEach(E=>this._unmarkSelected(E));const S=this._hasQueuedChanges();return this._emitChangeEvent(),S}toggle(y){return this.isSelected(y)?this.deselect(y):this.select(y)}clear(y=!0){this._unmarkAll();const x=this._hasQueuedChanges();return y&&this._emitChangeEvent(),x}isSelected(y){return this._selection.has(this._getConcreteValue(y))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(y){this._multiple&&this.selected&&this._selected.sort(y)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(y){y=this._getConcreteValue(y),this.isSelected(y)||(this._multiple||this._unmarkAll(),this.isSelected(y)||this._selection.add(y),this._emitChanges&&this._selectedToEmit.push(y))}_unmarkSelected(y){y=this._getConcreteValue(y),this.isSelected(y)&&(this._selection.delete(y),this._emitChanges&&this._deselectedToEmit.push(y))}_unmarkAll(){this.isEmpty()||this._selection.forEach(y=>this._unmarkSelected(y))}_verifyValueAssignment(y){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(y){if(this.compareWith){for(let x of this._selection)if(this.compareWith(y,x))return x;return y}return y}}let p=(()=>{class l{constructor(){this._listeners=[]}notify(x,D){for(let S of this._listeners)S(x,D)}listen(x){return this._listeners.push(x),()=>{this._listeners=this._listeners.filter(D=>x!==D)}}ngOnDestroy(){this._listeners=[]}}return l.\u0275fac=function(x){return new(x||l)},l.\u0275prov=d.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const _=new d.InjectionToken("_ViewRepeater")},6028:(Ie,B,a)=>{"use strict";a.d(B,{A:()=>ye,JH:()=>X,JU:()=>h,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>Oe,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>bt,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>f,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,h=16,f=17,u=18,p=27,_=32,l=33,y=34,x=35,D=36,S=37,E=38,I=39,X=40,U=48,Ee=57,ye=65,bt=90,Oe=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(xt=>ai[xt]):ai.altKey||ai.shiftKey||ai.ctrlKey||ai.metaKey}},1088:(Ie,B,a)=>{"use strict";a.d(B,{Yg:()=>X,u3:()=>ee});var n=a(5879),c=a(2495),d=a(8645),g=a(2572),r=a(34),h=a(5592),f=a(8180),u=a(836),v=a(3620),b=a(7398),p=a(7921),_=a(9773),l=a(2831);const x=new Set;let D,S=(()=>{class ie{constructor(U,Me){this._platform=U,this._nonce=Me,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):I}matchMedia(U){return(this._platform.WEBKIT||this._platform.BLINK)&&function E(ie,A){if(!x.has(ie))try{D||(D=document.createElement("style"),A&&(D.nonce=A),D.setAttribute("type","text/css"),document.head.appendChild(D)),D.sheet&&(D.sheet.insertRule(`@media ${ie} {body{ }}`,0),x.add(ie))}catch(U){console.error(U)}}(U,this._nonce),this._matchMedia(U)}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275inject(l.t4),n.\u0275\u0275inject(n.CSP_NONCE,8))},ie.\u0275prov=n.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function I(ie){return{matches:"all"===ie||""===ie,media:ie,addListener:()=>{},removeListener:()=>{}}}let X=(()=>{class ie{constructor(U,Me){this._mediaMatcher=U,this._zone=Me,this._queries=new Map,this._destroySubject=new d.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(U){return $((0,c.Eq)(U)).some(Re=>this._registerQuery(Re).mql.matches)}observe(U){const Re=$((0,c.Eq)(U)).map(he=>this._registerQuery(he).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,f.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(he=>{const H={matches:!1,breakpoints:{}};return he.forEach(({matches:W,query:pe})=>{H.matches=H.matches||W,H.breakpoints[pe]=W}),H}))}_registerQuery(U){if(this._queries.has(U))return this._queries.get(U);const Me=this._mediaMatcher.matchMedia(U),Ae={observable:new h.y(he=>{const H=W=>this._zone.run(()=>he.next(W));return Me.addListener(H),()=>{Me.removeListener(H)}}).pipe((0,p.O)(Me),(0,b.U)(({matches:he})=>({query:U,matches:he})),(0,_.R)(this._destroySubject)),mql:Me};return this._queries.set(U,Ae),Ae}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275inject(S),n.\u0275\u0275inject(n.NgZone))},ie.\u0275prov=n.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function $(ie){return ie.map(A=>A.split(",")).reduce((A,U)=>A.concat(U)).map(A=>A.trim())}const ee={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7131:(Ie,B,a)=>{"use strict";a.d(B,{Q8:()=>v,wD:()=>u});var n=a(2495),c=a(5879),d=a(5592),g=a(8645),r=a(3620);let h=(()=>{class b{create(_){return typeof MutationObserver>"u"?null:new MutationObserver(_)}}return b.\u0275fac=function(_){return new(_||b)},b.\u0275prov=c.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),f=(()=>{class b{constructor(_){this._mutationObserverFactory=_,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((_,l)=>this._cleanupObserver(l))}observe(_){const l=(0,n.fI)(_);return new d.y(y=>{const D=this._observeElement(l).subscribe(y);return()=>{D.unsubscribe(),this._unobserveElement(l)}})}_observeElement(_){if(this._observedElements.has(_))this._observedElements.get(_).count++;else{const l=new g.x,y=this._mutationObserverFactory.create(x=>l.next(x));y&&y.observe(_,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(_,{observer:y,stream:l,count:1})}return this._observedElements.get(_).stream}_unobserveElement(_){this._observedElements.has(_)&&(this._observedElements.get(_).count--,this._observedElements.get(_).count||this._cleanupObserver(_))}_cleanupObserver(_){if(this._observedElements.has(_)){const{observer:l,stream:y}=this._observedElements.get(_);l&&l.disconnect(),y.complete(),this._observedElements.delete(_)}}}return b.\u0275fac=function(_){return new(_||b)(c.\u0275\u0275inject(h))},b.\u0275prov=c.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),u=(()=>{class b{get disabled(){return this._disabled}set disabled(_){this._disabled=(0,n.Ig)(_),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(_){this._debounce=(0,n.su)(_),this._subscribe()}constructor(_,l,y){this._contentObserver=_,this._elementRef=l,this._ngZone=y,this.event=new c.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const _=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?_.pipe((0,r.b)(this.debounce)):_).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return b.\u0275fac=function(_){return new(_||b)(c.\u0275\u0275directiveInject(f),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone))},b.\u0275dir=c.\u0275\u0275defineDirective({type:b,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),b})(),v=(()=>{class b{}return b.\u0275fac=function(_){return new(_||b)},b.\u0275mod=c.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=c.\u0275\u0275defineInjector({providers:[h]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>se,aV:()=>Bt,pI:()=>ct,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),h=a(2181),f=a(8180),u=a(9773),v=a(812),b=a(9388),p=a(8484),_=a(8645),l=a(7394),y=a(3019),x=a(6028);const D=(0,r.Mq)();class S{constructor(ne,Q){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Q}attach(){}enable(){if(this._canBeEnabled()){const ne=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ne.style.left||"",this._previousHTMLStyles.top=ne.style.top||"",ne.style.left=(0,g.HM)(-this._previousScrollPosition.left),ne.style.top=(0,g.HM)(-this._previousScrollPosition.top),ne.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ne=this._document.documentElement,ue=ne.style,Te=this._document.body.style,Ct=ue.scrollBehavior||"",dt=Te.scrollBehavior||"";this._isEnabled=!1,ue.left=this._previousHTMLStyles.left,ue.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ue.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ue.scrollBehavior=Ct,Te.scrollBehavior=dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Q=this._document.body,ue=this._viewportRuler.getViewportSize();return Q.scrollHeight>ue.height||Q.scrollWidth>ue.width}}class I{constructor(ne,Q,ue,Te){this._scrollDispatcher=ne,this._ngZone=Q,this._viewportRuler=ue,this._config=Te,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ne){this._overlayRef=ne}enable(){if(this._scrollSubscription)return;const ne=this._scrollDispatcher.scrolled(0).pipe((0,h.h)(Q=>!Q||!this._overlayRef.overlayElement.contains(Q.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const Q=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Q-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ne.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class X{enable(){}disable(){}attach(){}}function $(Y,ne){return ne.some(Q=>Y.bottomQ.bottom||Y.rightQ.right)}function ee(Y,ne){return ne.some(Q=>Y.topQ.bottom||Y.leftQ.right)}class ie{constructor(ne,Q,ue,Te){this._scrollDispatcher=ne,this._viewportRuler=Q,this._ngZone=ue,this._config=Te,this._scrollSubscription=null}attach(ne){this._overlayRef=ne}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Q=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ue,height:Te}=this._viewportRuler.getViewportSize();$(Q,[{width:ue,height:Te,bottom:Te,right:ue,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let A=(()=>{class Y{constructor(Q,ue,Te,Ct){this._scrollDispatcher=Q,this._viewportRuler=ue,this._ngZone=Te,this.noop=()=>new X,this.close=dt=>new I(this._scrollDispatcher,this._ngZone,this._viewportRuler,dt),this.block=()=>new S(this._viewportRuler,this._document),this.reposition=dt=>new ie(this._scrollDispatcher,this._viewportRuler,this._ngZone,dt),this._document=Ct}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(n.mF),d.\u0275\u0275inject(n.rL),d.\u0275\u0275inject(d.NgZone),d.\u0275\u0275inject(c.DOCUMENT))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();class U{constructor(ne){if(this.scrollStrategy=new X,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ne){const Q=Object.keys(ne);for(const ue of Q)void 0!==ne[ue]&&(this[ue]=ne[ue])}}}class Ae{constructor(ne,Q){this.connectionPair=ne,this.scrollableViewProperties=Q}}let W=(()=>{class Y{constructor(Q){this._attachedOverlays=[],this._document=Q}ngOnDestroy(){this.detach()}add(Q){this.remove(Q),this._attachedOverlays.push(Q)}remove(Q){const ue=this._attachedOverlays.indexOf(Q);ue>-1&&this._attachedOverlays.splice(ue,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(c.DOCUMENT))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),pe=(()=>{class Y extends W{constructor(Q,ue){super(Q),this._ngZone=ue,this._keydownListener=Te=>{const Ct=this._attachedOverlays;for(let dt=Ct.length-1;dt>-1;dt--)if(Ct[dt]._keydownEvents.observers.length>0){const bt=Ct[dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>bt.next(Te)):bt.next(Te);break}}}add(Q){super.add(Q),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(d.NgZone,8))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),we=(()=>{class Y extends W{constructor(Q,ue,Te){super(Q),this._platform=ue,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=Ct=>{this._pointerDownEventTarget=(0,r.sA)(Ct)},this._clickListener=Ct=>{const dt=(0,r.sA)(Ct),bt="click"===Ct.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:dt;this._pointerDownEventTarget=null;const Oe=this._attachedOverlays.slice();for(let ge=Oe.length-1;ge>-1;ge--){const ot=Oe[ge];if(ot._outsidePointerEvents.observers.length<1||!ot.hasAttached())continue;if(ot.overlayElement.contains(dt)||ot.overlayElement.contains(bt))break;const At=ot._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>At.next(Ct)):At.next(Ct)}}}add(Q){if(super.add(Q),!this._isAttached){const ue=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ue)):this._addEventListeners(ue),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ue.style.cursor,ue.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Q=this._document.body;Q.removeEventListener("pointerdown",this._pointerDownListener,!0),Q.removeEventListener("click",this._clickListener,!0),Q.removeEventListener("auxclick",this._clickListener,!0),Q.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Q.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Q){Q.addEventListener("pointerdown",this._pointerDownListener,!0),Q.addEventListener("click",this._clickListener,!0),Q.addEventListener("auxclick",this._clickListener,!0),Q.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(r.t4),d.\u0275\u0275inject(d.NgZone,8))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),Ee=(()=>{class Y{constructor(Q,ue){this._platform=ue,this._document=Q}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Q="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${Q}[platform="server"], .${Q}[platform="test"]`);for(let Ct=0;Ctthis._backdropClick.next(At),this._backdropTransitionendHandler=At=>{this._disposeBackdrop(At.target)},this._keydownEvents=new _.x,this._outsidePointerEvents=new _.x,Te.scrollStrategy&&(this._scrollStrategy=Te.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Te.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ne){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Q=this._portalOutlet.attach(ne);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Q?.onDestroy&&Q.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Q}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ne=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ne}dispose(){const ne=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,ne&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(ne){ne!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ne,this.hasAttached()&&(ne.attach(this),this.updatePosition()))}updateSize(ne){this._config={...this._config,...ne},this._updateElementSize()}setDirection(ne){this._config={...this._config,direction:ne},this._updateElementDirection()}addPanelClass(ne){this._pane&&this._toggleClasses(this._pane,ne,!0)}removePanelClass(ne){this._pane&&this._toggleClasses(this._pane,ne,!1)}getDirection(){const ne=this._config.direction;return ne?"string"==typeof ne?ne:ne.value:"ltr"}updateScrollStrategy(ne){ne!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ne,this.hasAttached()&&(ne.attach(this),ne.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ne=this._pane.style;ne.width=(0,g.HM)(this._config.width),ne.height=(0,g.HM)(this._config.height),ne.minWidth=(0,g.HM)(this._config.minWidth),ne.minHeight=(0,g.HM)(this._config.minHeight),ne.maxWidth=(0,g.HM)(this._config.maxWidth),ne.maxHeight=(0,g.HM)(this._config.maxHeight)}_togglePointerEvents(ne){this._pane.style.pointerEvents=ne?"":"none"}_attachBackdrop(){const ne="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(ne)})}):this._backdropElement.classList.add(ne)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ne=this._backdropElement;if(ne){if(this._animationsDisabled)return void this._disposeBackdrop(ne);ne.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ne.addEventListener("transitionend",this._backdropTransitionendHandler)}),ne.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ne)},500))}}_toggleClasses(ne,Q,ue){const Te=(0,g.Eq)(Q||[]).filter(Ct=>!!Ct);Te.length&&(ue?ne.classList.add(...Te):ne.classList.remove(...Te))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ne=this._ngZone.onStable.pipe((0,u.R)((0,y.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),ne.unsubscribe())})})}_disposeScrollStrategy(){const ne=this._scrollStrategy;ne&&(ne.disable(),ne.detach&&ne.detach())}_disposeBackdrop(ne){ne&&(ne.removeEventListener("click",this._backdropClickHandler),ne.removeEventListener("transitionend",this._backdropTransitionendHandler),ne.remove(),this._backdropElement===ne&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const G="cdk-overlay-connected-position-bounding-box",re=/([A-Za-z%]+)$/;class se{get positions(){return this._preferredPositions}constructor(ne,Q,ue,Te,Ct){this._viewportRuler=Q,this._document=ue,this._platform=Te,this._overlayContainer=Ct,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new _.x,this._resizeSubscription=l.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ne)}attach(ne){this._validatePositions(),ne.hostElement.classList.add(G),this._overlayRef=ne,this._boundingBox=ne.hostElement,this._pane=ne.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ne=this._originRect,Q=this._overlayRect,ue=this._viewportRect,Te=this._containerRect,Ct=[];let dt;for(let bt of this._preferredPositions){let Oe=this._getOriginPoint(ne,Te,bt),ge=this._getOverlayPoint(Oe,Q,bt),ot=this._getOverlayFit(ge,Q,ue,bt);if(ot.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(bt,Oe);this._canFitWithFlexibleDimensions(ot,ge,ue)?Ct.push({position:bt,origin:Oe,overlayRect:Q,boundingBoxRect:this._calculateBoundingBoxRect(Oe,bt)}):(!dt||dt.overlayFit.visibleAreaOe&&(Oe=ot,bt=ge)}return this._isPushed=!1,void this._applyPosition(bt.position,bt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(dt.position,dt.originPoint);this._applyPosition(dt.position,dt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ye(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(G),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ne=this._lastPosition;if(ne){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Q=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,Q)}else this.apply()}withScrollableContainers(ne){return this._scrollables=ne,this}withPositions(ne){return this._preferredPositions=ne,-1===ne.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ne){return this._viewportMargin=ne,this}withFlexibleDimensions(ne=!0){return this._hasFlexibleDimensions=ne,this}withGrowAfterOpen(ne=!0){return this._growAfterOpen=ne,this}withPush(ne=!0){return this._canPush=ne,this}withLockedPosition(ne=!0){return this._positionLocked=ne,this}setOrigin(ne){return this._origin=ne,this}withDefaultOffsetX(ne){return this._offsetX=ne,this}withDefaultOffsetY(ne){return this._offsetY=ne,this}withTransformOriginOn(ne){return this._transformOriginSelector=ne,this}_getOriginPoint(ne,Q,ue){let Te,Ct;if("center"==ue.originX)Te=ne.left+ne.width/2;else{const dt=this._isRtl()?ne.right:ne.left,bt=this._isRtl()?ne.left:ne.right;Te="start"==ue.originX?dt:bt}return Q.left<0&&(Te-=Q.left),Ct="center"==ue.originY?ne.top+ne.height/2:"top"==ue.originY?ne.top:ne.bottom,Q.top<0&&(Ct-=Q.top),{x:Te,y:Ct}}_getOverlayPoint(ne,Q,ue){let Te,Ct;return Te="center"==ue.overlayX?-Q.width/2:"start"===ue.overlayX?this._isRtl()?-Q.width:0:this._isRtl()?0:-Q.width,Ct="center"==ue.overlayY?-Q.height/2:"top"==ue.overlayY?0:-Q.height,{x:ne.x+Te,y:ne.y+Ct}}_getOverlayFit(ne,Q,ue,Te){const Ct=Ze(Q);let{x:dt,y:bt}=ne,Oe=this._getOffset(Te,"x"),ge=this._getOffset(Te,"y");Oe&&(dt+=Oe),ge&&(bt+=ge);let Nt=0-bt,zt=bt+Ct.height-ue.height,Ne=this._subtractOverflows(Ct.width,0-dt,dt+Ct.width-ue.width),$e=this._subtractOverflows(Ct.height,Nt,zt),ae=Ne*$e;return{visibleArea:ae,isCompletelyWithinViewport:Ct.width*Ct.height===ae,fitsInViewportVertically:$e===Ct.height,fitsInViewportHorizontally:Ne==Ct.width}}_canFitWithFlexibleDimensions(ne,Q,ue){if(this._hasFlexibleDimensions){const Te=ue.bottom-Q.y,Ct=ue.right-Q.x,dt=He(this._overlayRef.getConfig().minHeight),bt=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=dt&&dt<=Te)&&(ne.fitsInViewportHorizontally||null!=bt&&bt<=Ct)}return!1}_pushOverlayOnScreen(ne,Q,ue){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(Q),Ct=this._viewportRect,dt=Math.max(ne.x+Te.width-Ct.width,0),bt=Math.max(ne.y+Te.height-Ct.height,0),Oe=Math.max(Ct.top-ue.top-ne.y,0),ge=Math.max(Ct.left-ue.left-ne.x,0);let ot=0,At=0;return ot=Te.width<=Ct.width?ge||-dt:ne.xNe&&!this._isInitialRender&&!this._growAfterOpen&&(dt=ne.y-Ne/2)}if("end"===Q.overlayX&&!Te||"start"===Q.overlayX&&Te)Nt=ue.width-ne.x+this._viewportMargin,ot=ne.x-this._viewportMargin;else if("start"===Q.overlayX&&!Te||"end"===Q.overlayX&&Te)At=ne.x,ot=ue.right-ne.x;else{const zt=Math.min(ue.right-ne.x+ue.left,ne.x),Ne=this._lastBoundingBoxSize.width;ot=2*zt,At=ne.x-zt,ot>Ne&&!this._isInitialRender&&!this._growAfterOpen&&(At=ne.x-Ne/2)}return{top:dt,left:At,bottom:bt,right:Nt,width:ot,height:Ct}}_setBoundingBoxStyles(ne,Q){const ue=this._calculateBoundingBoxRect(ne,Q);!this._isInitialRender&&!this._growAfterOpen&&(ue.height=Math.min(ue.height,this._lastBoundingBoxSize.height),ue.width=Math.min(ue.width,this._lastBoundingBoxSize.width));const Te={};if(this._hasExactPosition())Te.top=Te.left="0",Te.bottom=Te.right=Te.maxHeight=Te.maxWidth="",Te.width=Te.height="100%";else{const Ct=this._overlayRef.getConfig().maxHeight,dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ue.height),Te.top=(0,g.HM)(ue.top),Te.bottom=(0,g.HM)(ue.bottom),Te.width=(0,g.HM)(ue.width),Te.left=(0,g.HM)(ue.left),Te.right=(0,g.HM)(ue.right),Te.alignItems="center"===Q.overlayX?"center":"end"===Q.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===Q.overlayY?"center":"bottom"===Q.overlayY?"flex-end":"flex-start",Ct&&(Te.maxHeight=(0,g.HM)(Ct)),dt&&(Te.maxWidth=(0,g.HM)(dt))}this._lastBoundingBoxSize=ue,ye(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ye(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ye(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,Q){const ue={},Te=this._hasExactPosition(),Ct=this._hasFlexibleDimensions,dt=this._overlayRef.getConfig();if(Te){const ot=this._viewportRuler.getViewportScrollPosition();ye(ue,this._getExactOverlayY(Q,ne,ot)),ye(ue,this._getExactOverlayX(Q,ne,ot))}else ue.position="static";let bt="",Oe=this._getOffset(Q,"x"),ge=this._getOffset(Q,"y");Oe&&(bt+=`translateX(${Oe}px) `),ge&&(bt+=`translateY(${ge}px)`),ue.transform=bt.trim(),dt.maxHeight&&(Te?ue.maxHeight=(0,g.HM)(dt.maxHeight):Ct&&(ue.maxHeight="")),dt.maxWidth&&(Te?ue.maxWidth=(0,g.HM)(dt.maxWidth):Ct&&(ue.maxWidth="")),ye(this._pane.style,ue)}_getExactOverlayY(ne,Q,ue){let Te={top:"",bottom:""},Ct=this._getOverlayPoint(Q,this._overlayRect,ne);return this._isPushed&&(Ct=this._pushOverlayOnScreen(Ct,this._overlayRect,ue)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(Ct.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(Ct.y),Te}_getExactOverlayX(ne,Q,ue){let dt,Te={left:"",right:""},Ct=this._getOverlayPoint(Q,this._overlayRect,ne);return this._isPushed&&(Ct=this._pushOverlayOnScreen(Ct,this._overlayRect,ue)),dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===dt?Te.right=this._document.documentElement.clientWidth-(Ct.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(Ct.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),Q=this._pane.getBoundingClientRect(),ue=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ue),isOriginOutsideView:$(ne,ue),isOverlayClipped:ee(Q,ue),isOverlayOutsideView:$(Q,ue)}}_subtractOverflows(ne,...Q){return Q.reduce((ue,Te)=>ue-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,Q=this._document.documentElement.clientHeight,ue=this._viewportRuler.getViewportScrollPosition();return{top:ue.top+this._viewportMargin,left:ue.left+this._viewportMargin,right:ue.left+ne-this._viewportMargin,bottom:ue.top+Q-this._viewportMargin,width:ne-2*this._viewportMargin,height:Q-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,Q){return"x"===Q?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(Q=>{""!==Q&&-1===this._appliedPanelClasses.indexOf(Q)&&(this._appliedPanelClasses.push(Q),this._pane.classList.add(Q))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ne=>{this._pane.classList.remove(ne)}),this._appliedPanelClasses=[])}_getOriginRect(){const ne=this._origin;if(ne instanceof d.ElementRef)return ne.nativeElement.getBoundingClientRect();if(ne instanceof Element)return ne.getBoundingClientRect();const Q=ne.width||0,ue=ne.height||0;return{top:ne.y,bottom:ne.y+ue,left:ne.x,right:ne.x+Q,height:ue,width:Q}}}function ye(Y,ne){for(let Q in ne)ne.hasOwnProperty(Q)&&(Y[Q]=ne[Q]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,Q]=Y.split(re);return Q&&"px"!==Q?null:parseFloat(ne)}return Y||null}function Ze(Y){return{top:Math.floor(Y.top),right:Math.floor(Y.right),bottom:Math.floor(Y.bottom),left:Math.floor(Y.left),width:Math.floor(Y.width),height:Math.floor(Y.height)}}const tt="cdk-global-overlay-wrapper";class Mt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const Q=ne.getConfig();this._overlayRef=ne,this._width&&!Q.width&&ne.updateSize({width:this._width}),this._height&&!Q.height&&ne.updateSize({height:this._height}),ne.hostElement.classList.add(tt),this._isDisposed=!1}top(ne=""){return this._bottomOffset="",this._topOffset=ne,this._alignItems="flex-start",this}left(ne=""){return this._xOffset=ne,this._xPosition="left",this}bottom(ne=""){return this._topOffset="",this._bottomOffset=ne,this._alignItems="flex-end",this}right(ne=""){return this._xOffset=ne,this._xPosition="right",this}start(ne=""){return this._xOffset=ne,this._xPosition="start",this}end(ne=""){return this._xOffset=ne,this._xPosition="end",this}width(ne=""){return this._overlayRef?this._overlayRef.updateSize({width:ne}):this._width=ne,this}height(ne=""){return this._overlayRef?this._overlayRef.updateSize({height:ne}):this._height=ne,this}centerHorizontally(ne=""){return this.left(ne),this._xPosition="center",this}centerVertically(ne=""){return this.top(ne),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ne=this._overlayRef.overlayElement.style,Q=this._overlayRef.hostElement.style,ue=this._overlayRef.getConfig(),{width:Te,height:Ct,maxWidth:dt,maxHeight:bt}=ue,Oe=!("100%"!==Te&&"100vw"!==Te||dt&&"100%"!==dt&&"100vw"!==dt),ge=!("100%"!==Ct&&"100vh"!==Ct||bt&&"100%"!==bt&&"100vh"!==bt),ot=this._xPosition,At=this._xOffset,Nt="rtl"===this._overlayRef.getConfig().direction;let zt="",Ne="",$e="";Oe?$e="flex-start":"center"===ot?($e="center",Nt?Ne=At:zt=At):Nt?"left"===ot||"end"===ot?($e="flex-end",zt=At):("right"===ot||"start"===ot)&&($e="flex-start",Ne=At):"left"===ot||"start"===ot?($e="flex-start",zt=At):("right"===ot||"end"===ot)&&($e="flex-end",Ne=At),ne.position=this._cssPosition,ne.marginLeft=Oe?"0":zt,ne.marginTop=ge?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=Oe?"0":Ne,Q.justifyContent=$e,Q.alignItems=ge?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,Q=this._overlayRef.hostElement,ue=Q.style;Q.classList.remove(tt),ue.justifyContent=ue.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Ft=(()=>{class Y{constructor(Q,ue,Te,Ct){this._viewportRuler=Q,this._document=ue,this._platform=Te,this._overlayContainer=Ct}global(){return new Mt}flexibleConnectedTo(Q){return new se(Q,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(n.rL),d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(r.t4),d.\u0275\u0275inject(Ee))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),gt=0,Bt=(()=>{class Y{constructor(Q,ue,Te,Ct,dt,bt,Oe,ge,ot,At,Nt,zt){this.scrollStrategies=Q,this._overlayContainer=ue,this._componentFactoryResolver=Te,this._positionBuilder=Ct,this._keyboardDispatcher=dt,this._injector=bt,this._ngZone=Oe,this._document=ge,this._directionality=ot,this._location=At,this._outsideClickDispatcher=Nt,this._animationsModuleType=zt}create(Q){const ue=this._createHostElement(),Te=this._createPaneElement(ue),Ct=this._createPortalOutlet(Te),dt=new U(Q);return dt.direction=dt.direction||this._directionality.value,new Be(Ct,ue,Te,dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Q){const ue=this._document.createElement("div");return ue.id="cdk-overlay-"+gt++,ue.classList.add("cdk-overlay-pane"),Q.appendChild(ue),ue}_createHostElement(){const Q=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Q),Q}_createPortalOutlet(Q){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(Q,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Ft),d.\u0275\u0275inject(pe),d.\u0275\u0275inject(d.Injector),d.\u0275\u0275inject(d.NgZone),d.\u0275\u0275inject(c.DOCUMENT),d.\u0275\u0275inject(b.Is),d.\u0275\u0275inject(c.Location),d.\u0275\u0275inject(we),d.\u0275\u0275inject(d.ANIMATION_MODULE_TYPE,8))},Y.\u0275prov=d.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const Tt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],kt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(Q){this.elementRef=Q}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275directiveInject(d.ElementRef))},Y.\u0275dir=d.\u0275\u0275defineDirective({type:Y,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),Y})(),ct=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(Q){this._offsetX=Q,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Q){this._offsetY=Q,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Q){this._hasBackdrop=(0,g.Ig)(Q)}get lockPosition(){return this._lockPosition}set lockPosition(Q){this._lockPosition=(0,g.Ig)(Q)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Q){this._flexibleDimensions=(0,g.Ig)(Q)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Q){this._growAfterOpen=(0,g.Ig)(Q)}get push(){return this._push}set push(Q){this._push=(0,g.Ig)(Q)}constructor(Q,ue,Te,Ct,dt){this._overlay=Q,this._dir=dt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=l.w0.EMPTY,this._attachSubscription=l.w0.EMPTY,this._detachSubscription=l.w0.EMPTY,this._positionSubscription=l.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new d.EventEmitter,this.positionChange=new d.EventEmitter,this.attach=new d.EventEmitter,this.detach=new d.EventEmitter,this.overlayKeydown=new d.EventEmitter,this.overlayOutsideClick=new d.EventEmitter,this._templatePortal=new p.UE(ue,Te),this._scrollStrategyFactory=Ct,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Q){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Q.origin&&this.open&&this._position.apply()),Q.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const Q=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Q.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Q.detachments().subscribe(()=>this.detach.emit()),Q.keydownEvents().subscribe(ue=>{this.overlayKeydown.next(ue),ue.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ue)&&(ue.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ue=>{this.overlayOutsideClick.next(ue)})}_buildConfig(){const Q=this._position=this.positionStrategy||this._createPositionStrategy(),ue=new U({direction:this._dir,positionStrategy:Q,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ue.width=this.width),(this.height||0===this.height)&&(ue.height=this.height),(this.minWidth||0===this.minWidth)&&(ue.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ue.minHeight=this.minHeight),this.backdropClass&&(ue.backdropClass=this.backdropClass),this.panelClass&&(ue.panelClass=this.panelClass),ue}_updatePositionStrategy(Q){const ue=this.positions.map(Te=>({originX:Te.originX,originY:Te.originY,overlayX:Te.overlayX,overlayY:Te.overlayY,offsetX:Te.offsetX||this.offsetX,offsetY:Te.offsetY||this.offsetY,panelClass:Te.panelClass||void 0}));return Q.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ue).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Q=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Q),Q}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Le?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Q=>{this.backdropClick.emit(Q)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,v.o)(()=>this.positionChange.observers.length>0)).subscribe(Q=>{this.positionChange.emit(Q),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(Q){return new(Q||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(kt),d.\u0275\u0275directiveInject(b.Is,8))},Y.\u0275dir=d.\u0275\u0275defineDirective({type:Y,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[d.\u0275\u0275NgOnChangesFeature]}),Y})();const at={provide:kt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(Q){return new(Q||Y)},Y.\u0275mod=d.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=d.\u0275\u0275defineInjector({providers:[Bt,at],imports:[b.vT,p.eL,n.Cl,n.Cl]}),Y})()},2831:(Ie,B,a)=>{"use strict";a.d(B,{Mq:()=>y,Oy:()=>$,ht:()=>I,i$:()=>p,kV:()=>E,qK:()=>u,sA:()=>X,t4:()=>g});var n=a(5879),c=a(6814);let d;try{d=typeof Intl<"u"&&Intl.v8BreakIterator}catch{d=!1}let h,g=(()=>{class ee{constructor(A){this._platformId=A,this.isBrowser=this._platformId?(0,c.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!d)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return ee.\u0275fac=function(A){return new(A||ee)(n.\u0275\u0275inject(n.PLATFORM_ID))},ee.\u0275prov=n.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();const f=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(h)return h;if("object"!=typeof document||!document)return h=new Set(f),h;let ee=document.createElement("input");return h=new Set(f.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),h}let v,l,D;function p(ee){return function b(){if(null==v&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>v=!0}))}finally{v=v||!1}return v}()?ee:!!ee.capture}function y(){if(null==l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return l=!1,l;if("scrollBehavior"in document.documentElement.style)l=!0;else{const ee=Element.prototype.scrollTo;l=!!ee&&!/\{\s*\[native code\]\s*\}/.test(ee.toString())}}return l}function E(ee){if(function S(){if(null==D){const ee=typeof document<"u"?document.head:null;D=!(!ee||!ee.createShadowRoot&&!ee.attachShadow)}return D}()){const ie=ee.getRootNode?ee.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function I(){let ee=typeof document<"u"&&document?document.activeElement:null;for(;ee&&ee.shadowRoot;){const ie=ee.shadowRoot.activeElement;if(ie===ee)break;ee=ie}return ee}function X(ee){return ee.composedPath?ee.composedPath()[0]:ee.target}function $(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Ie,B,a)=>{"use strict";a.d(B,{C5:()=>b,Pl:()=>I,UE:()=>p,eL:()=>$,ig:()=>S,u0:()=>x});var n=a(5879),c=a(6814);class v{attach(A){return this._attachedHost=A,A.attach(this)}detach(){let A=this._attachedHost;null!=A&&(this._attachedHost=null,A.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(A){this._attachedHost=A}}class b extends v{constructor(A,U,Me,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Me,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Me,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Me,this.injector=Re}get origin(){return this.templateRef.elementRef}attach(A,U=this.context){return this.context=U,super.attach(A)}detach(){return this.context=void 0,super.detach()}}class _ extends v{constructor(A){super(),this.element=A instanceof n.ElementRef?A.nativeElement:A}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(A){return A instanceof b?(this._attachedPortal=A,this.attachComponentPortal(A)):A instanceof p?(this._attachedPortal=A,this.attachTemplatePortal(A)):this.attachDomPortal&&A instanceof _?(this._attachedPortal=A,this.attachDomPortal(A)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(A){this._disposeFn=A}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class x extends l{constructor(A,U,Me,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Me,this._defaultInjector=Re,this.attachDomPortal=he=>{const H=he.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=he,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Me=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Me,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Me.create(A.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(Re.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Re.hostView),Re.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Re)),this._attachedPortal=A,Re}attachTemplatePortal(A){let U=A.viewContainerRef,Me=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Me.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Me.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Me);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Me}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Me){super(U,Me)}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},ie.\u0275dir=n.\u0275\u0275defineDirective({type:ie,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ie})(),I=(()=>{class ie extends l{constructor(U,Me,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Me,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const he=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),he.parentNode.insertBefore(H,he),this._getRootNode().appendChild(he),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(he,H)})},this._document=Re}get portal(){return this._attachedPortal}set portal(U){this.hasAttached()&&!U&&!this._isInitialized||(this.hasAttached()&&super.detach(),U&&super.attach(U),this._attachedPortal=U||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(U){U.setAttachedHost(this);const Me=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),he=Me.createComponent(Ae,Me.length,U.injector||Me.injector,U.projectableNodes||void 0);return Me!==this._viewContainerRef&&this._getRootNode().appendChild(he.hostView.rootNodes[0]),super.setDisposeFn(()=>he.destroy()),this._attachedPortal=U,this._attachedRef=he,this.attached.emit(he),he}attachTemplatePortal(U){U.setAttachedHost(this);const Me=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Me,this.attached.emit(Me),Me}_getRootNode(){const U=this._viewContainerRef.element.nativeElement;return U.nodeType===U.ELEMENT_NODE?U:U.parentNode}}return ie.\u0275fac=function(U){return new(U||ie)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(c.DOCUMENT))},ie.\u0275dir=n.\u0275\u0275defineDirective({type:ie,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ie})(),$=(()=>{class ie{}return ie.\u0275fac=function(U){return new(U||ie)},ie.\u0275mod=n.\u0275\u0275defineNgModule({type:ie}),ie.\u0275inj=n.\u0275\u0275defineInjector({}),ie})()},6672:(Ie,B,a)=>{"use strict";a.d(B,{Cl:()=>Be,ZD:()=>Ee,mF:()=>$,rL:()=>A});var n=a(2495),c=a(5879),d=a(8645),g=a(2096),r=a(5592),h=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(se,ye,He){this._ngZone=se,this._platform=ye,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(se){this.scrollContainers.has(se)||this.scrollContainers.set(se,se.elementScrolled().subscribe(()=>this._scrolled.next(se)))}deregister(se){const ye=this.scrollContainers.get(se);ye&&(ye.unsubscribe(),this.scrollContainers.delete(se))}scrolled(se=20){return this._platform.isBrowser?new r.y(ye=>{this._globalSubscription||this._addGlobalListener();const He=se>0?this._scrolled.pipe((0,v.e)(se)).subscribe(ye):this._scrolled.subscribe(ye);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((se,ye)=>this.deregister(ye)),this._scrolled.complete()}ancestorScrolled(se,ye){const He=this.getAncestorScrollContainers(se);return this.scrolled(ye).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(se){const ye=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,se)&&ye.push(Ze)}),ye}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(se,ye){let He=(0,n.fI)(ye),Ze=se.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const se=this._getWindow();return(0,h.R)(se.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(se){return new(se||G)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(p.t4),c.\u0275\u0275inject(_.DOCUMENT,8))},G.\u0275prov=c.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),A=(()=>{class G{constructor(se,ye,He){this._platform=se,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ye.runOutsideAngular(()=>{if(se.isBrowser){const Ze=this._getWindow();Ze.addEventListener("resize",this._changeListener),Ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const se=this._getWindow();se.removeEventListener("resize",this._changeListener),se.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const se={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),se}getViewportRect(){const se=this.getViewportScrollPosition(),{width:ye,height:He}=this.getViewportSize();return{top:se.top,left:se.left,bottom:se.top+He,right:se.left+ye,height:He,width:ye}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const se=this._document,ye=this._getWindow(),He=se.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||se.body.scrollTop||ye.scrollY||He.scrollTop||0,left:-Ze.left||se.body.scrollLeft||ye.scrollX||He.scrollLeft||0}}change(se=20){return se>0?this._change.pipe((0,v.e)(se)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const se=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:se.innerWidth,height:se.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(se){return new(se||G)(c.\u0275\u0275inject(p.t4),c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(_.DOCUMENT,8))},G.\u0275prov=c.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),Ee=(()=>{class G{}return G.\u0275fac=function(se){return new(se||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(se){return new(se||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({imports:[l.vT,Ee,l.vT,Ee]}),G})()},6263:(Ie,B,a)=>{"use strict";a.d(B,{Ky:()=>b,Lq:()=>f});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const h=(0,n.i$)({passive:!0});let f=(()=>{class p{constructor(l,y){this._platform=l,this._ngZone=y,this._monitoredElements=new Map}monitor(l){if(!this._platform.isBrowser)return g.E;const y=(0,d.fI)(l),x=this._monitoredElements.get(y);if(x)return x.subject;const D=new r.x,S="cdk-text-field-autofilled",E=I=>{"cdk-text-field-autofill-start"!==I.animationName||y.classList.contains(S)?"cdk-text-field-autofill-end"===I.animationName&&y.classList.contains(S)&&(y.classList.remove(S),this._ngZone.run(()=>D.next({target:I.target,isAutofilled:!1}))):(y.classList.add(S),this._ngZone.run(()=>D.next({target:I.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{y.addEventListener("animationstart",E,h),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,h)}}),D}stopMonitoring(l){const y=(0,d.fI)(l),x=this._monitoredElements.get(y);x&&(x.unlisten(),x.subject.complete(),y.classList.remove("cdk-text-field-autofill-monitored"),y.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(y))}ngOnDestroy(){this._monitoredElements.forEach((l,y)=>this.stopMonitoring(y))}}return p.\u0275fac=function(l){return new(l||p)(c.\u0275\u0275inject(n.t4),c.\u0275\u0275inject(c.NgZone))},p.\u0275prov=c.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),b=(()=>{class p{}return p.\u0275fac=function(l){return new(l||p)},p.\u0275mod=c.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=c.\u0275\u0275defineInjector({}),p})()},6814:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{APP_BASE_HREF:()=>y,AsyncPipe:()=>Fn,BrowserPlatformLocation:()=>v,CommonModule:()=>ji,CurrencyPipe:()=>te,DATE_PIPE_DEFAULT_OPTIONS:()=>tn,DATE_PIPE_DEFAULT_TIMEZONE:()=>Cn,DOCUMENT:()=>h,DatePipe:()=>En,DecimalPipe:()=>Rt,FormStyle:()=>U,FormatWidth:()=>Re,HashLocationStrategy:()=>D,I18nPluralPipe:()=>Ei,I18nSelectPipe:()=>tr,IMAGE_CONFIG:()=>Bi,IMAGE_LOADER:()=>Ii,JsonPipe:()=>Ai,KeyValuePipe:()=>yi,LOCATION_INITIALIZED:()=>u,Location:()=>S,LocationStrategy:()=>l,LowerCasePipe:()=>bi,NgClass:()=>an,NgComponentOutlet:()=>mn,NgFor:()=>Wn,NgForOf:()=>Wn,NgForOfContext:()=>Rn,NgIf:()=>wi,NgIfContext:()=>ri,NgLocaleLocalization:()=>wn,NgLocalization:()=>sn,NgOptimizedImage:()=>qi,NgPlural:()=>me,NgPluralCase:()=>le,NgStyle:()=>Xe,NgSwitch:()=>xt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>Ot,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>f,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Me,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>he,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>Ct,formatNumber:()=>Et,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>We,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ye,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>kt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Ft,getLocaleTimeFormat:()=>se,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>pt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>Ke,registerLocaleData:()=>Xn,\u0275DomAdapter:()=>r,\u0275NullViewportScroller:()=>vn,\u0275PLATFORM_BROWSER_ID:()=>Pi,\u0275PLATFORM_SERVER_ID:()=>Li,\u0275PLATFORM_WORKER_APP_ID:()=>Qi,\u0275PLATFORM_WORKER_UI_ID:()=>Ui,\u0275getDOM:()=>d,\u0275parseCookieValue:()=>_i,\u0275setRootDomAdapter:()=>g});var n=a(5879);let c=null;function d(){return c}function g(L){c||(c=L)}class r{}const h=new n.InjectionToken("DocumentToken");let f=(()=>{class L{historyGo(Z){throw new Error("Not implemented")}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return(0,n.inject)(v)},providedIn:"platform"}),L})();const u=new n.InjectionToken("Location Initialized");let v=(()=>{class L extends f{constructor(){super(),this._doc=(0,n.inject)(h),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Z){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("popstate",Z,!1),()=>Ue.removeEventListener("popstate",Z)}onHashChange(Z){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("hashchange",Z,!1),()=>Ue.removeEventListener("hashchange",Z)}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(Z){this._location.pathname=Z}pushState(Z,Ue,ht){this._history.pushState(Z,Ue,ht)}replaceState(Z,Ue,ht){this._history.replaceState(Z,Ue,ht)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Z=0){this._history.go(Z)}getState(){return this._history.state}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return new L},providedIn:"platform"}),L})();function b(L,xe){if(0==L.length)return xe;if(0==xe.length)return L;let Z=0;return L.endsWith("/")&&Z++,xe.startsWith("/")&&Z++,2==Z?L+xe.substring(1):1==Z?L+xe:L+"/"+xe}function p(L){const xe=L.match(/#|\?|$/),Z=xe&&xe.index||L.length;return L.slice(0,Z-("/"===L[Z-1]?1:0))+L.slice(Z)}function _(L){return L&&"?"!==L[0]?"?"+L:L}let l=(()=>{class L{historyGo(Z){throw new Error("Not implemented")}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return(0,n.inject)(x)},providedIn:"root"}),L})();const y=new n.InjectionToken("appBaseHref");let x=(()=>{class L extends l{constructor(Z,Ue){super(),this._platformLocation=Z,this._removeListenerFns=[],this._baseHref=Ue??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(h).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Z){this._removeListenerFns.push(this._platformLocation.onPopState(Z),this._platformLocation.onHashChange(Z))}getBaseHref(){return this._baseHref}prepareExternalUrl(Z){return b(this._baseHref,Z)}path(Z=!1){const Ue=this._platformLocation.pathname+_(this._platformLocation.search),ht=this._platformLocation.hash;return ht&&Z?`${Ue}${ht}`:Ue}pushState(Z,Ue,ht,Gt){const Kt=this.prepareExternalUrl(ht+_(Gt));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,Gt){const Kt=this.prepareExternalUrl(ht+_(Gt));this._platformLocation.replaceState(Z,Ue,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Z=0){this._platformLocation.historyGo?.(Z)}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(f),n.\u0275\u0275inject(y,8))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),D=(()=>{class L extends l{constructor(Z,Ue){super(),this._platformLocation=Z,this._baseHref="",this._removeListenerFns=[],null!=Ue&&(this._baseHref=Ue)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Z){this._removeListenerFns.push(this._platformLocation.onPopState(Z),this._platformLocation.onHashChange(Z))}getBaseHref(){return this._baseHref}path(Z=!1){let Ue=this._platformLocation.hash;return null==Ue&&(Ue="#"),Ue.length>0?Ue.substring(1):Ue}prepareExternalUrl(Z){const Ue=b(this._baseHref,Z);return Ue.length>0?"#"+Ue:Ue}pushState(Z,Ue,ht,Gt){let Kt=this.prepareExternalUrl(ht+_(Gt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,Gt){let Kt=this.prepareExternalUrl(ht+_(Gt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.replaceState(Z,Ue,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Z=0){this._platformLocation.historyGo?.(Z)}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(f),n.\u0275\u0275inject(y,8))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac}),L})(),S=(()=>{class L{constructor(Z){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Z;const Ue=this._locationStrategy.getBaseHref();this._basePath=function $(L){if(new RegExp("^(https?:)?//").test(L)){const[,Z]=L.split(/\/\/[^\/]+/);return Z}return L}(p(X(Ue))),this._locationStrategy.onPopState(ht=>{this._subject.emit({url:this.path(!0),pop:!0,state:ht.state,type:ht.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Z=!1){return this.normalize(this._locationStrategy.path(Z))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Z,Ue=""){return this.path()==this.normalize(Z+_(Ue))}normalize(Z){return L.stripTrailingSlash(function I(L,xe){if(!L||!xe.startsWith(L))return xe;const Z=xe.substring(L.length);return""===Z||["/",";","?","#"].includes(Z[0])?Z:xe}(this._basePath,X(Z)))}prepareExternalUrl(Z){return Z&&"/"!==Z[0]&&(Z="/"+Z),this._locationStrategy.prepareExternalUrl(Z)}go(Z,Ue="",ht=null){this._locationStrategy.pushState(ht,"",Z,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+_(Ue)),ht)}replaceState(Z,Ue="",ht=null){this._locationStrategy.replaceState(ht,"",Z,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+_(Ue)),ht)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Z=0){this._locationStrategy.historyGo?.(Z)}onUrlChange(Z){return this._urlChangeListeners.push(Z),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ue=>{this._notifyUrlChangeListeners(Ue.url,Ue.state)})),()=>{const Ue=this._urlChangeListeners.indexOf(Z);this._urlChangeListeners.splice(Ue,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Z="",Ue){this._urlChangeListeners.forEach(ht=>ht(Z,Ue))}subscribe(Z,Ue,ht){return this._subject.subscribe({next:Z,error:Ue,complete:ht})}}return L.normalizeQueryParams=_,L.joinWithSlash=b,L.stripTrailingSlash=p,L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(l))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(){return function E(){return new S((0,n.\u0275\u0275inject)(l))}()},providedIn:"root"}),L})();function X(L){return L.replace(/\/index.html$/,"")}const ee={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var ie=function(L){return L[L.Decimal=0]="Decimal",L[L.Percent=1]="Percent",L[L.Currency=2]="Currency",L[L.Scientific=3]="Scientific",L}(ie||{}),A=function(L){return L[L.Zero=0]="Zero",L[L.One=1]="One",L[L.Two=2]="Two",L[L.Few=3]="Few",L[L.Many=4]="Many",L[L.Other=5]="Other",L}(A||{}),U=function(L){return L[L.Format=0]="Format",L[L.Standalone=1]="Standalone",L}(U||{}),Me=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Me||{}),Re=function(L){return L[L.Short=0]="Short",L[L.Medium=1]="Medium",L[L.Long=2]="Long",L[L.Full=3]="Full",L}(Re||{}),Ae=function(L){return L[L.Decimal=0]="Decimal",L[L.Group=1]="Group",L[L.List=2]="List",L[L.PercentSign=3]="PercentSign",L[L.PlusSign=4]="PlusSign",L[L.MinusSign=5]="MinusSign",L[L.Exponential=6]="Exponential",L[L.SuperscriptingExponent=7]="SuperscriptingExponent",L[L.PerMille=8]="PerMille",L[L.Infinity=9]="Infinity",L[L.NaN=10]="NaN",L[L.TimeSeparator=11]="TimeSeparator",L[L.CurrencyDecimal=12]="CurrencyDecimal",L[L.CurrencyGroup=13]="CurrencyGroup",L}(Ae||{}),he=function(L){return L[L.Sunday=0]="Sunday",L[L.Monday=1]="Monday",L[L.Tuesday=2]="Tuesday",L[L.Wednesday=3]="Wednesday",L[L.Thursday=4]="Thursday",L[L.Friday=5]="Friday",L[L.Saturday=6]="Saturday",L}(he||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),Gt=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le(Gt,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),Gt=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le(Gt,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),Gt=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le(Gt,Z)}function Ee(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.Eras],xe)}function Be(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function G(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.WeekendRange]}function re(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.DateFormat],xe)}function se(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ye(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.DateTimeFormat],xe)}function He(L,xe){const Z=(0,n.\u0275findLocaleData)(L),Ue=Z[n.\u0275LocaleDataIndex.NumberSymbols][xe];if(typeof Ue>"u"){if(xe===Ae.CurrencyDecimal)return Z[n.\u0275LocaleDataIndex.NumberSymbols][Ae.Decimal];if(xe===Ae.CurrencyGroup)return Z[n.\u0275LocaleDataIndex.NumberSymbols][Ae.Group]}return Ue}function Ze(L,xe){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.NumberFormats][xe]}function Qe(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function We(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Ft=n.\u0275getLocalePluralCase;function gt(L){if(!L[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${L[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bt(L){const xe=(0,n.\u0275findLocaleData)(L);return gt(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?ct(Ue):[ct(Ue[0]),ct(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);gt(Ue);const Gt=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le(Gt,Z)||[]}function kt(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.Directionality]}function Le(L,xe){for(let Z=xe;Z>-1;Z--)if(typeof L[Z]<"u")return L[Z];throw new Error("Locale data API: locale data undefined")}function ct(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Mt(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.Currencies]}(Z)[L]||ee[L]||[],ht=Ue[1];return"narrow"===xe&&"string"==typeof ht?ht:Ue[0]||L}const at=2;function N(L){let xe;const Z=ee[L];return Z&&(xe=Z[2]),"number"==typeof xe?xe:at}const oe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},ne=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Q=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(Q||{}),ue=function(L){return L[L.FullYear=0]="FullYear",L[L.Month=1]="Month",L[L.Date=2]="Date",L[L.Hours=3]="Hours",L[L.Minutes=4]="Minutes",L[L.Seconds=5]="Seconds",L[L.FractionalSeconds=6]="FractionalSeconds",L[L.Day=7]="Day",L}(ue||{}),Te=function(L){return L[L.DayPeriods=0]="DayPeriods",L[L.Days=1]="Days",L[L.Months=2]="Months",L[L.Eras=3]="Eras",L}(Te||{});function Ct(L,xe,Z,Ue){let ht=function Pt(L){if(et(L))return L;if("number"==typeof L&&!isNaN(L))return new Date(L);if("string"==typeof L){if(L=L.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(L)){const[ht,Gt=1,Kt=1]=L.split("-").map(Un=>+Un);return dt(ht,Gt-1,Kt)}const Z=parseFloat(L);if(!isNaN(L-Z))return new Date(Z);let Ue;if(Ue=L.match(oe))return function qe(L){const xe=new Date(0);let Z=0,Ue=0;const ht=L[8]?xe.setUTCFullYear:xe.setFullYear,Gt=L[8]?xe.setUTCHours:xe.setHours;L[9]&&(Z=Number(L[9]+L[10]),Ue=Number(L[9]+L[11])),ht.call(xe,Number(L[1]),Number(L[2])-1,Number(L[3]));const Kt=Number(L[4]||0)-Z,Un=Number(L[5]||0)-Ue,ki=Number(L[6]||0),Hi=Math.floor(1e3*parseFloat("0."+(L[7]||0)));return Gt.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!et(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=bt(Z,xe)||xe;let Un,Kt=[];for(;xe;){if(Un=ne.exec(xe),!Un){Kt.push(xe);break}{Kt=Kt.concat(Un.slice(1));const Ci=Kt.pop();if(!Ci)break;xe=Ci}}let ki=ht.getTimezoneOffset();Ue&&(ki=K(Ue,ki),ht=function ut(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function ve(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(K(xe,ht)-ht))}(ht,Ue,!0));let Hi="";return Kt.forEach(Ci=>{const Jn=function V(L){if(F[L])return F[L];let xe;switch(L){case"G":case"GG":case"GGG":xe=zt(Te.Eras,Me.Abbreviated);break;case"GGGG":xe=zt(Te.Eras,Me.Wide);break;case"GGGGG":xe=zt(Te.Eras,Me.Narrow);break;case"y":xe=At(ue.FullYear,1,0,!1,!0);break;case"yy":xe=At(ue.FullYear,2,0,!0,!0);break;case"yyy":xe=At(ue.FullYear,3,0,!1,!0);break;case"yyyy":xe=At(ue.FullYear,4,0,!1,!0);break;case"Y":xe=De(1);break;case"YY":xe=De(2,!0);break;case"YYY":xe=De(3);break;case"YYYY":xe=De(4);break;case"M":case"L":xe=At(ue.Month,1,1);break;case"MM":case"LL":xe=At(ue.Month,2,1);break;case"MMM":xe=zt(Te.Months,Me.Abbreviated);break;case"MMMM":xe=zt(Te.Months,Me.Wide);break;case"MMMMM":xe=zt(Te.Months,Me.Narrow);break;case"LLL":xe=zt(Te.Months,Me.Abbreviated,U.Standalone);break;case"LLLL":xe=zt(Te.Months,Me.Wide,U.Standalone);break;case"LLLLL":xe=zt(Te.Months,Me.Narrow,U.Standalone);break;case"w":xe=Ye(1);break;case"ww":xe=Ye(2);break;case"W":xe=Ye(1,!0);break;case"d":xe=At(ue.Date,1);break;case"dd":xe=At(ue.Date,2);break;case"c":case"cc":xe=At(ue.Day,1);break;case"ccc":xe=zt(Te.Days,Me.Abbreviated,U.Standalone);break;case"cccc":xe=zt(Te.Days,Me.Wide,U.Standalone);break;case"ccccc":xe=zt(Te.Days,Me.Narrow,U.Standalone);break;case"cccccc":xe=zt(Te.Days,Me.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=zt(Te.Days,Me.Abbreviated);break;case"EEEE":xe=zt(Te.Days,Me.Wide);break;case"EEEEE":xe=zt(Te.Days,Me.Narrow);break;case"EEEEEE":xe=zt(Te.Days,Me.Short);break;case"a":case"aa":case"aaa":xe=zt(Te.DayPeriods,Me.Abbreviated);break;case"aaaa":xe=zt(Te.DayPeriods,Me.Wide);break;case"aaaaa":xe=zt(Te.DayPeriods,Me.Narrow);break;case"b":case"bb":case"bbb":xe=zt(Te.DayPeriods,Me.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=zt(Te.DayPeriods,Me.Wide,U.Standalone,!0);break;case"bbbbb":xe=zt(Te.DayPeriods,Me.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=zt(Te.DayPeriods,Me.Abbreviated,U.Format,!0);break;case"BBBB":xe=zt(Te.DayPeriods,Me.Wide,U.Format,!0);break;case"BBBBB":xe=zt(Te.DayPeriods,Me.Narrow,U.Format,!0);break;case"h":xe=At(ue.Hours,1,-12);break;case"hh":xe=At(ue.Hours,2,-12);break;case"H":xe=At(ue.Hours,1);break;case"HH":xe=At(ue.Hours,2);break;case"m":xe=At(ue.Minutes,1);break;case"mm":xe=At(ue.Minutes,2);break;case"s":xe=At(ue.Seconds,1);break;case"ss":xe=At(ue.Seconds,2);break;case"S":xe=At(ue.FractionalSeconds,1);break;case"SS":xe=At(ue.FractionalSeconds,2);break;case"SSS":xe=At(ue.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=$e(Q.Short);break;case"ZZZZZ":xe=$e(Q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=$e(Q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=$e(Q.Long);break;default:return null}return F[L]=xe,xe}(Ci);Hi+=Jn?Jn(ht,Z,ki):"''"===Ci?"'":Ci.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Hi}function dt(L,xe,Z){const Ue=new Date(0);return Ue.setFullYear(L,xe,Z),Ue.setHours(0,0,0),Ue}function bt(L,xe){const Z=H(L);if(Y[Z]=Y[Z]||{},Y[Z][xe])return Y[Z][xe];let Ue="";switch(xe){case"shortDate":Ue=re(L,Re.Short);break;case"mediumDate":Ue=re(L,Re.Medium);break;case"longDate":Ue=re(L,Re.Long);break;case"fullDate":Ue=re(L,Re.Full);break;case"shortTime":Ue=se(L,Re.Short);break;case"mediumTime":Ue=se(L,Re.Medium);break;case"longTime":Ue=se(L,Re.Long);break;case"fullTime":Ue=se(L,Re.Full);break;case"short":const ht=bt(L,"shortTime"),Gt=bt(L,"shortDate");Ue=Oe(ye(L,Re.Short),[ht,Gt]);break;case"medium":const Kt=bt(L,"mediumTime"),Un=bt(L,"mediumDate");Ue=Oe(ye(L,Re.Medium),[Kt,Un]);break;case"long":const ki=bt(L,"longTime"),Hi=bt(L,"longDate");Ue=Oe(ye(L,Re.Long),[ki,Hi]);break;case"full":const Ci=bt(L,"fullTime"),Jn=bt(L,"fullDate");Ue=Oe(ye(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function Oe(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function ge(L,xe,Z="-",Ue,ht){let Gt="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,Gt=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ue.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ue.FractionalSeconds)return function ot(L,xe){return ge(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return ge(Un,xe,ki,Ue,ht)}}function zt(L,xe,Z=U.Format,Ue=!1){return function(ht,Gt){return function Ne(L,xe,Z,Ue,ht,Gt){switch(Z){case Te.Months:return we(xe,ht,Ue)[L.getMonth()];case Te.Days:return pe(xe,ht,Ue)[L.getDay()];case Te.DayPeriods:const Kt=L.getHours(),Un=L.getMinutes();if(Gt){const Hi=Bt(xe),Ci=Tt(xe,ht,Ue),Jn=Hi.findIndex(Ji=>{if(Array.isArray(Ji)){const[Oi,er]=Ji,Pr=Kt>=Oi.hours&&Un>=Oi.minutes,Dr=Kt0?Math.floor(ht/60):Math.ceil(ht/60);switch(L){case Q.Short:return(ht>=0?"+":"")+ge(Kt,2,Gt)+ge(Math.abs(ht%60),2,Gt);case Q.ShortGMT:return"GMT"+(ht>=0?"+":"")+ge(Kt,1,Gt);case Q.Long:return"GMT"+(ht>=0?"+":"")+ge(Kt,2,Gt)+":"+ge(Math.abs(ht%60),2,Gt);case Q.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+ge(Kt,2,Gt)+":"+ge(Math.abs(ht%60),2,Gt);default:throw new Error(`Unknown zone width "${L}"`)}}}const ae=0,Ce=4;function _e(L){return dt(L.getFullYear(),L.getMonth(),L.getDate()+(Ce-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const Gt=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+Gt)/7)}else{const Gt=_e(Z),Kt=function lt(L){const xe=dt(L,ae,1).getDay();return dt(L,0,1+(xe<=Ce?Ce:Ce+7)-xe)}(Gt.getFullYear()),Un=Gt.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return ge(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return ge(_e(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function K(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function et(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,Lt=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,Gt,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,Gt,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(Lt))>-1&&(xe=xe.replace(Lt,"")),(Gt=xe.search(/e/i))>0?(ht<0&&(ht=Gt),ht+=+xe.slice(Gt+1),xe=xe.substring(0,Gt)):ht<0&&(ht=xe.length),Gt=0;xe.charAt(Gt)===on;Gt++);if(Gt===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=Gt,Ue=[],Kt=0;Gt<=Un;Gt++,Kt++)Ue[Kt]=Number(xe.charAt(Gt))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function mt(L){if(0===L.digits[0])return L;const xe=L.digits.length-L.integerLen;return L.exponent?L.exponent+=2:(0===xe?L.digits.push(0,0):1===xe&&L.digits.push(0),L.integerLen+=2),L}(Hi));let Ci=xe.minInt,Jn=xe.minFrac,Ji=xe.maxFrac;if(Gt){const pr=Gt.match(Ve);if(null===pr)throw new Error(`${Gt} is not a valid digit info`);const Qr=pr[1],Nr=pr[3],Zr=pr[5];null!=Qr&&(Ci=cn(Qr)),null!=Nr&&(Jn=cn(Nr)),null!=Zr?Ji=cn(Zr):null!=Nr&&Jn>Ji&&(Ji=Jn)}!function nn(L,xe,Z){if(xe>Z)throw new Error(`The minimum number of digits after fraction (${xe}) is higher than the maximum (${Z}).`);let Ue=L.digits,ht=Ue.length-L.integerLen;const Gt=Math.min(Math.max(xe,ht),Z);let Kt=Gt+L.integerLen,Un=Ue[Kt];if(Kt>0){Ue.splice(Math.max(L.integerLen,Kt));for(let Jn=Kt;Jn=5)if(Kt-1<0){for(let Jn=0;Jn>Kt;Jn--)Ue.unshift(0),L.integerLen++;Ue.unshift(1),L.integerLen++}else Ue[Kt-1]++;for(;ht=Hi?er.pop():ki=!1),Ji>=10?1:0},0);Ci&&(Ue.unshift(Ci),L.integerLen++)}(Hi,Jn,Ji);let Oi=Hi.digits,er=Hi.integerLen;const Pr=Hi.exponent;let Dr=[];for(ki=Oi.every(pr=>!pr);er0?Dr=Oi.splice(er,Oi.length):(Dr=Oi,Oi=[0]);const Zn=[];for(Oi.length>=xe.lgSize&&Zn.unshift(Oi.splice(-xe.lgSize,Oi.length).join(""));Oi.length>xe.gSize;)Zn.unshift(Oi.splice(-xe.gSize,Oi.length).join(""));Oi.length&&Zn.unshift(Oi.join("")),Un=Zn.join(He(Z,Ue)),Dr.length&&(Un+=He(Z,ht)+Dr.join("")),Pr&&(Un+=He(Z,Ae.Exponential)+"+"+Pr)}else Un=He(Z,Ae.Infinity);return Un=L<0&&!ki?xe.negPre+Un+xe.negSuf:xe.posPre+Un+xe.posSuf,Un}function Vi(L,xe,Z,Ue,ht){const Kt=_t(Ze(xe,ie.Currency),He(xe,Ae.MinusSign));return Kt.minFrac=N(Ue),Kt.maxFrac=Kt.minFrac,fi(L,Kt,xe,Ae.CurrencyGroup,Ae.CurrencyDecimal,ht).replace(Mn,Z).replace(Mn,"").trim()}function Yi(L,xe,Z){return fi(L,_t(Ze(xe,ie.Percent),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z,!0).replace(new RegExp(xi,"g"),He(xe,Ae.PercentSign))}function Et(L,xe,Z){return fi(L,_t(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function _t(L,xe="-"){const Z={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ue=L.split(xn),ht=Ue[0],Gt=Ue[1],Kt=-1!==ht.indexOf(Lt)?ht.split(Lt):[ht.substring(0,ht.lastIndexOf(on)+1),ht.substring(ht.lastIndexOf(on)+1)],Un=Kt[0],ki=Kt[1]||"";Z.posPre=Un.substring(0,Un.indexOf(_n));for(let Ci=0;Ci{class L{}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:function(Z){let Ue=null;return Z?Ue=new Z:(ht=n.\u0275\u0275inject(n.LOCALE_ID),Ue=new wn(ht)),Ue;var ht},providedIn:"root"}),L})();function Nn(L,xe,Z,Ue){let ht=`=${L}`;if(xe.indexOf(ht)>-1||(ht=Z.getPluralCategory(L,Ue),xe.indexOf(ht)>-1))return ht;if(xe.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${L}"`)}let wn=(()=>{class L extends sn{constructor(Z){super(),this.locale=Z}getPluralCategory(Z,Ue){switch(Ft(Ue||this.locale)(Z)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275inject(n.LOCALE_ID))},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac}),L})();function Xn(L,xe,Z){return(0,n.\u0275registerLocaleData)(L,xe,Z)}function _i(L,xe){xe=encodeURIComponent(xe);for(const Z of L.split(";")){const Ue=Z.indexOf("="),[ht,Gt]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent(Gt)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,Gt){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=Gt,this.initialClasses=ti,this.stateMap=new Map}set klass(Z){this.initialClasses=null!=Z?Z.trim().split($n):ti}set ngClass(Z){this.rawClass="string"==typeof Z?Z.trim().split($n):Z}ngDoCheck(){for(const Ue of this.initialClasses)this._updateState(Ue,!0);const Z=this.rawClass;if(Array.isArray(Z)||Z instanceof Set)for(const Ue of Z)this._updateState(Ue,!0);else if(null!=Z)for(const Ue of Object.keys(Z))this._updateState(Ue,!!Z[Ue]);this._applyStateDiff()}_updateState(Z,Ue){const ht=this.stateMap.get(Z);void 0!==ht?(ht.enabled!==Ue&&(ht.changed=!0,ht.enabled=Ue),ht.touched=!0):this.stateMap.set(Z,{enabled:Ue,changed:!0,touched:!0})}_applyStateDiff(){for(const Z of this.stateMap){const Ue=Z[0],ht=Z[1];ht.changed?(this._toggleClass(Ue,ht.enabled),ht.changed=!1):ht.touched||(ht.enabled&&this._toggleClass(Ue,!1),this.stateMap.delete(Ue)),ht.touched=!1}}_toggleClass(Z,Ue){(Z=Z.trim()).length>0&&Z.split($n).forEach(ht=>{Ue?this._renderer.addClass(this._ngEl.nativeElement,ht):this._renderer.removeClass(this._ngEl.nativeElement,ht)})}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),L})(),mn=(()=>{class L{constructor(Z){this._viewContainerRef=Z,this.ngComponentOutlet=null}ngOnChanges(Z){const{_viewContainerRef:Ue,ngComponentOutletNgModule:ht,ngComponentOutletNgModuleFactory:Gt}=this;if(Ue.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Kt=this.ngComponentOutletInjector||Ue.parentInjector;(Z.ngComponentOutletNgModule||Z.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=ht?(0,n.createNgModule)(ht,Tn(Kt)):Gt?Gt.create(Tn(Kt)):void 0),this._componentRef=Ue.createComponent(this.ngComponentOutlet,{index:Ue.length,injector:Kt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),L})();function Tn(L){return L.get(n.NgModuleRef).injector}class Rn{constructor(xe,Z,Ue,ht){this.$implicit=xe,this.ngForOf=Z,this.index=Ue,this.count=ht}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Wn=(()=>{class L{set ngForOf(Z){this._ngForOf=Z,this._ngForOfDirty=!0}set ngForTrackBy(Z){this._trackByFn=Z}get ngForTrackBy(){return this._trackByFn}constructor(Z,Ue,ht){this._viewContainer=Z,this._template=Ue,this._differs=ht,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Z){Z&&(this._template=Z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Z=this._ngForOf;!this._differ&&Z&&(this._differ=this._differs.find(Z).create(this.ngForTrackBy))}if(this._differ){const Z=this._differ.diff(this._ngForOf);Z&&this._applyChanges(Z)}}_applyChanges(Z){const Ue=this._viewContainer;Z.forEachOperation((ht,Gt,Kt)=>{if(null==ht.previousIndex)Ue.createEmbeddedView(this._template,new Rn(ht.item,this._ngForOf,-1,-1),null===Kt?void 0:Kt);else if(null==Kt)Ue.remove(null===Gt?void 0:Gt);else if(null!==Gt){const Un=Ue.get(Gt);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,Gt=Ue.length;ht{mi(Ue.get(ht.currentIndex),ht)})}static ngTemplateContextGuard(Z,Ue){return!0}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),L})();function mi(L,xe){L.context.$implicit=xe.item}let wi=(()=>{class L{constructor(Z,Ue){this._viewContainer=Z,this._context=new ri,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ue}set ngIf(Z){this._context.$implicit=this._context.ngIf=Z,this._updateView()}set ngIfThen(Z){ai("ngIfThen",Z),this._thenTemplateRef=Z,this._thenViewRef=null,this._updateView()}set ngIfElse(Z){ai("ngIfElse",Z),this._elseTemplateRef=Z,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Z,Ue){return!0}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),L})();class ri{constructor(){this.$implicit=null,this.ngIf=null}}function ai(L,xe){if(xe&&!xe.createEmbeddedView)throw new Error(`${L} must be a TemplateRef, but received '${(0,n.\u0275stringify)(xe)}'.`)}class Ni{constructor(xe,Z){this._viewContainerRef=xe,this._templateRef=Z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(xe){xe&&!this._created?this.create():!xe&&this._created&&this.destroy()}}let xt=(()=>{class L{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Z){this._ngSwitch=Z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Z){this._defaultViews.push(Z)}_matchCase(Z){const Ue=Z==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ue,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ue}_updateDefaultCases(Z){if(this._defaultViews.length>0&&Z!==this._defaultUsed){this._defaultUsed=Z;for(const Ue of this._defaultViews)Ue.enforceState(Z)}}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),L})(),jt=(()=>{class L{constructor(Z,Ue,ht){this.ngSwitch=ht,ht._addCase(),this._view=new Ni(Z,Ue)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(xt,9))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),L})(),ke=(()=>{class L{constructor(Z,Ue,ht){ht._addDefault(new Ni(Z,Ue))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(xt,9))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngSwitchDefault",""]],standalone:!0}),L})(),me=(()=>{class L{constructor(Z){this._localization=Z,this._caseViews={}}set ngPlural(Z){this._updateView(Z)}addCase(Z,Ue){this._caseViews[Z]=Ue}_updateView(Z){this._clearViews();const ht=Nn(Z,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[ht])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Z){Z&&(this._activeView=Z,this._activeView.create())}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(sn))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),L})(),le=(()=>{class L{constructor(Z,Ue,ht,Gt){this.value=Z;const Kt=!isNaN(Number(Z));Gt.addCase(Kt?`=${Z}`:Z,new Ni(ht,Ue))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(me,1))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngPluralCase",""]],standalone:!0}),L})(),Xe=(()=>{class L{constructor(Z,Ue,ht){this._ngEl=Z,this._differs=Ue,this._renderer=ht,this._ngStyle=null,this._differ=null}set ngStyle(Z){this._ngStyle=Z,!this._differ&&Z&&(this._differ=this._differs.find(Z).create())}ngDoCheck(){if(this._differ){const Z=this._differ.diff(this._ngStyle);Z&&this._applyChanges(Z)}}_setStyle(Z,Ue){const[ht,Gt]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,Gt?`${Ue}${Gt}`:Ue,Kt):this._renderer.removeStyle(this._ngEl.nativeElement,ht,Kt)}_applyChanges(Z){Z.forEachRemovedItem(Ue=>this._setStyle(Ue.key,null)),Z.forEachAddedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue)),Z.forEachChangedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue))}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),L})(),Ot=(()=>{class L{constructor(Z){this._viewContainerRef=Z,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Z){if(Z.ngTemplateOutlet||Z.ngTemplateOutletInjector){const Ue=this._viewContainerRef;if(this._viewRef&&Ue.remove(Ue.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ht,ngTemplateOutletContext:Gt,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,Gt,Kt?{injector:Kt}:void 0)}else this._viewRef=null}else this._viewRef&&Z.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),L})();function un(L,xe){return new n.\u0275RuntimeError(2100,!1)}class gn{createSubscription(xe,Z){return(0,n.untracked)(()=>xe.subscribe({next:Z,error:Ue=>{throw Ue}}))}dispose(xe){(0,n.untracked)(()=>xe.unsubscribe())}}class pn{createSubscription(xe,Z){return xe.then(Z,Ue=>{throw Ue})}dispose(xe){}}const si=new pn,jn=new gn;let Fn=(()=>{class L{constructor(Z){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Z}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Z){return this._obj?Z!==this._obj?(this._dispose(),this.transform(Z)):this._latestValue:(Z&&this._subscribe(Z),this._latestValue)}_subscribe(Z){this._obj=Z,this._strategy=this._selectStrategy(Z),this._subscription=this._strategy.createSubscription(Z,Ue=>this._updateLatestValue(Z,Ue))}_selectStrategy(Z){if((0,n.\u0275isPromise)(Z))return si;if((0,n.\u0275isSubscribable)(Z))return jn;throw un()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Z,Ue){Z===this._obj&&(this._latestValue=Ue,this._ref.markForCheck())}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:L,pure:!1,standalone:!0}),L})(),bi=(()=>{class L{transform(Z){if(null==Z)return null;if("string"!=typeof Z)throw un();return Z.toLowerCase()}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:L,pure:!0,standalone:!0}),L})();const Ti=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Fi=(()=>{class L{transform(Z){if(null==Z)return null;if("string"!=typeof Z)throw un();return Z.replace(Ti,Ue=>Ue[0].toUpperCase()+Ue.slice(1).toLowerCase())}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:L,pure:!0,standalone:!0}),L})(),Gi=(()=>{class L{transform(Z){if(null==Z)return null;if("string"!=typeof Z)throw un();return Z.toUpperCase()}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:L,pure:!0,standalone:!0}),L})();const Cn=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),tn=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let En=(()=>{class L{constructor(Z,Ue,ht){this.locale=Z,this.defaultTimezone=Ue,this.defaultOptions=ht}transform(Z,Ue,ht,Gt){if(null==Z||""===Z||Z!=Z)return null;try{return Ct(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",Gt||this.locale,ht??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Kt){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Cn,24),n.\u0275\u0275directiveInject(tn,24))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:L,pure:!0,standalone:!0}),L})();const ei=/#/g;let Ei=(()=>{class L{constructor(Z){this._localization=Z}transform(Z,Ue,ht){if(null==Z)return"";if("object"!=typeof Ue||null===Ue)throw un();return Ue[Nn(Z,Object.keys(Ue),this._localization,ht)].replace(ei,Z.toString())}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(sn,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:L,pure:!0,standalone:!0}),L})(),tr=(()=>{class L{transform(Z,Ue){if(null==Z)return"";if("object"!=typeof Ue||"string"!=typeof Z)throw un();return Ue.hasOwnProperty(Z)?Ue[Z]:Ue.hasOwnProperty("other")?Ue.other:""}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:L,pure:!0,standalone:!0}),L})(),Ai=(()=>{class L{transform(Z){return JSON.stringify(Z,null,2)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:L,pure:!1,standalone:!0}),L})(),yi=(()=>{class L{constructor(Z){this.differs=Z,this.keyValues=[],this.compareFn=Je}transform(Z,Ue=Je){if(!Z||!(Z instanceof Map)&&"object"!=typeof Z)return null;this.differ||(this.differ=this.differs.find(Z).create());const ht=this.differ.diff(Z),Gt=Ue!==this.compareFn;return ht&&(this.keyValues=[],ht.forEachItem(Kt=>{this.keyValues.push(function ar(L,xe){return{key:L,value:xe}}(Kt.key,Kt.currentValue))})),(ht||Gt)&&(this.keyValues.sort(Ue),this.compareFn=Ue),this.keyValues}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:L,pure:!1,standalone:!0}),L})();function Je(L,xe){const Z=L.key,Ue=xe.key;if(Z===Ue)return 0;if(void 0===Z)return 1;if(void 0===Ue)return-1;if(null===Z)return 1;if(null===Ue)return-1;if("string"==typeof Z&&"string"==typeof Ue)return Z{class L{constructor(Z){this._locale=Z}transform(Z,Ue,ht){if(!Pe(Z))return null;ht=ht||this._locale;try{return Et(rt(Z),ht,Ue)}catch(Gt){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:L,pure:!0,standalone:!0}),L})(),C=(()=>{class L{constructor(Z){this._locale=Z}transform(Z,Ue,ht){if(!Pe(Z))return null;ht=ht||this._locale;try{return Yi(rt(Z),ht,Ue)}catch(Gt){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:L,pure:!0,standalone:!0}),L})(),te=(()=>{class L{constructor(Z,Ue="USD"){this._locale=Z,this._defaultCurrencyCode=Ue}transform(Z,Ue=this._defaultCurrencyCode,ht="symbol",Gt,Kt){if(!Pe(Z))return null;Kt=Kt||this._locale,"boolean"==typeof ht&&(ht=ht?"symbol":"code");let Un=Ue||this._defaultCurrencyCode;"code"!==ht&&(Un="symbol"===ht||"symbol-narrow"===ht?ze(Un,"symbol"===ht?"wide":"narrow",Kt):ht);try{return Vi(rt(Z),Kt,Un,Ue,Gt)}catch(ki){throw un()}}}return L.\u0275fac=function(Z){return new(Z||L)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},L.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:L,pure:!0,standalone:!0}),L})();function Pe(L){return!(null==L||""===L||L!=L)}function rt(L){if("string"==typeof L&&!isNaN(Number(L)-parseFloat(L)))return Number(L);if("number"!=typeof L)throw new Error(`${L} is not a number`);return L}let Zt=(()=>{class L{transform(Z,Ue,ht){if(null==Z)return null;if(!this.supports(Z))throw un();return Z.slice(Ue,ht)}supports(Z){return"string"==typeof Z||Array.isArray(Z)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:L,pure:!1,standalone:!0}),L})(),ji=(()=>{class L{}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275mod=n.\u0275\u0275defineNgModule({type:L}),L.\u0275inj=n.\u0275\u0275defineInjector({}),L})();const Pi="browser",Li="server",Qi="browserWorkerApp",Ui="browserWorkerUi";function ir(L){return L===Pi}function wt(L){return L===Li}function vt(L){return L===Qi}function pt(L){return L===Ui}const St=new n.Version("16.1.7");let Ht=(()=>{class L{}return L.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:L,providedIn:"root",factory:()=>new Yt((0,n.\u0275\u0275inject)(h),window)}),L})();class Yt{constructor(xe,Z){this.document=xe,this.window=Z,this.offset=()=>[0,0]}setOffset(xe){this.offset=Array.isArray(xe)?()=>xe:xe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(xe){this.supportsScrolling()&&this.window.scrollTo(xe[0],xe[1])}scrollToAnchor(xe){if(!this.supportsScrolling())return;const Z=function yn(L,xe){const Z=L.getElementById(xe)||L.getElementsByName(xe)[0];if(Z)return Z;if("function"==typeof L.createTreeWalker&&L.body&&"function"==typeof L.body.attachShadow){const Ue=L.createTreeWalker(L.body,NodeFilter.SHOW_ELEMENT);let ht=Ue.currentNode;for(;ht;){const Gt=ht.shadowRoot;if(Gt){const Kt=Gt.getElementById(xe)||Gt.querySelector(`[name="${xe}"]`);if(Kt)return Kt}ht=Ue.nextNode()}}return null}(this.document,xe);Z&&(this.scrollToElement(Z),Z.focus())}setHistoryScrollRestoration(xe){if(this.supportScrollRestoration()){const Z=this.window.history;Z&&Z.scrollRestoration&&(Z.scrollRestoration=xe)}}scrollToElement(xe){const Z=xe.getBoundingClientRect(),Ue=Z.left+this.window.pageXOffset,ht=Z.top+this.window.pageYOffset,Gt=this.offset();this.window.scrollTo(Ue-Gt[0],ht-Gt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const xe=Jt(this.window.history)||Jt(Object.getPrototypeOf(this.window.history));return!(!xe||!xe.writable&&!xe.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Jt(L){return Object.getOwnPropertyDescriptor(L,"scrollRestoration")}class vn{setOffset(xe){}getScrollPosition(){return[0,0]}scrollToPosition(xe){}scrollToAnchor(xe){}setHistoryScrollRestoration(xe){}}class Vn{}function ni(L){return L.startsWith("/")?L.slice(1):L}const oi=L=>L.src,Ii=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>oi});function Zi(L,xe){return function(Ue){return function Mi(L){if("string"!=typeof L||""===L.trim())return!1;try{return new URL(L),!0}catch{return!1}}(Ue)||function Vr(L,xe){throw new n.\u0275RuntimeError(2959,!1)}(),Ue=function qn(L){return L.endsWith("/")?L.slice(0,-1):L}(Ue),[{provide:Ii,useValue:Kt=>(function vi(L){return/^https?:\/\//.test(L)}(Kt.src)&&function no(L,xe){throw new n.\u0275RuntimeError(2959,!1)}(),L(Ue,{...Kt,src:ni(Kt.src)}))}]}}const Oo=Zi(jr);function jr(L,xe){let Z="format=auto";return xe.width&&(Z+=`,width=${xe.width}`),`${L}/cdn-cgi/image/${Z}/${xe.src}`}const po=Zi(io);function io(L,xe){let Z="f_auto,q_auto";return xe.width&&(Z+=`,w_${xe.width}`),`${L}/image/upload/${Z}/${xe.src}`}const go=Zi(_o);function _o(L,xe){const{src:Z,width:Ue}=xe;let ht;return ht=Ue?[L,`tr:w-${Ue}`,Z]:[L,Z],ht.join("/")}const Ke=Zi(Xt);function Xt(L,xe){const Z=new URL(`${L}/${xe.src}`);return Z.searchParams.set("auto","format"),xe.width&&Z.searchParams.set("w",xe.width.toString()),Z.href}const bo=new n.InjectionToken("PRECONNECT_CHECK_BLOCKLIST"),T=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let P=(()=>{class L{constructor(){this.preloadedImages=(0,n.inject)(T),this.document=(0,n.inject)(h)}createPreloadLinkTag(Z,Ue,ht,Gt){if(this.preloadedImages.has(Ue))return;this.preloadedImages.add(Ue);const Kt=Z.createElement("link");Z.setAttribute(Kt,"as","image"),Z.setAttribute(Kt,"href",Ue),Z.setAttribute(Kt,"rel","preload"),Z.setAttribute(Kt,"fetchpriority","high"),Gt&&Z.setAttribute(Kt,"imageSizes",Gt),ht&&Z.setAttribute(Kt,"imageSrcset",ht),Z.appendChild(this.document.head,Kt)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=n.\u0275\u0275defineInjectable({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();const Fe=/^((\s*\d+w\s*(,|$)){1,})$/,Qt=[1,2],ii={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Bi=new n.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>ii});let qi=(()=>{class L{constructor(){this.imageLoader=(0,n.inject)(Ii),this.config=function Ki(L){let xe={};return L.breakpoints&&(xe.breakpoints=L.breakpoints.sort((Z,Ue)=>Z-Ue)),Object.assign({},ii,L,xe)}((0,n.inject)(Bi)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=wt((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(P),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Z=this.getRewrittenSrc();let Ue;this.setHostAttribute("src",Z),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?Ue=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Ue=this.getAutomaticSrcset()),Ue&&this.setHostAttribute("srcset",Ue),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,Z,Ue,this.sizes)}ngOnChanges(Z){}callImageLoader(Z){let Ue=Z;return this.loaderParams&&(Ue.loaderParams=this.loaderParams),this.imageLoader(Ue)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Z=Fe.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ht=>""!==ht).map(ht=>{ht=ht.trim();const Gt=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Gt})} ${ht}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Z}=this.config;let Ue=Z;return"100vw"===this.sizes?.trim()&&(Ue=Z.filter(Gt=>Gt>=640)),Ue.map(Gt=>`${this.callImageLoader({src:this.ngSrc,width:Gt})} ${Gt}w`).join(", ")}getFixedSrcset(){return Qt.map(Ue=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Ue})} ${Ue}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==oi&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(Z,Ue){this.renderer.setAttribute(this.imgElement,Z,Ue)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275dir=n.\u0275\u0275defineDirective({type:L,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(Z,Ue){2&Z&&n.\u0275\u0275styleProp("position",Ue.fill?"absolute":null)("width",Ue.fill?"100%":null)("height",Ue.fill?"100%":null)("inset",Ue.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",n.numberAttribute],height:["height","height",n.numberAttribute],loading:"loading",priority:["priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:["fill","fill",n.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]}),L})()},9862:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{FetchBackend:()=>We,HTTP_INTERCEPTORS:()=>kt,HttpBackend:()=>x,HttpClient:()=>ye,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>Lt,HttpContext:()=>Me,HttpContextToken:()=>U,HttpErrorResponse:()=>re,HttpEventType:()=>we,HttpFeatureKind:()=>De,HttpHandler:()=>y,HttpHeaderResponse:()=>Be,HttpHeaders:()=>D,HttpParams:()=>A,HttpRequest:()=>pe,HttpResponse:()=>G,HttpResponseBase:()=>Ee,HttpUrlEncodingCodec:()=>E,HttpXhrBackend:()=>At,HttpXsrfTokenExtractor:()=>Ce,JsonpClientBackend:()=>dt,JsonpInterceptor:()=>Oe,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>K,withInterceptorsFromDi:()=>ut,withJsonpSupport:()=>et,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Pt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),h=a(6328),f=a(2181),u=a(7398),v=a(4716),b=a(4664),p=a(9397),_=a(1374),l=a(6814);class y{}class x{}class D{constructor(_t){this.normalizedNames=new Map,this.lazyUpdate=null,_t?"string"==typeof _t?this.lazyInit=()=>{this.headers=new Map,_t.split("\n").forEach(mt=>{const qt=mt.indexOf(":");if(qt>0){const nn=mt.slice(0,qt),cn=nn.toLowerCase(),sn=mt.slice(qt+1).trim();this.maybeSetNormalizedName(nn,cn),this.headers.has(cn)?this.headers.get(cn).push(sn):this.headers.set(cn,[sn])}})}:typeof Headers<"u"&&_t instanceof Headers?(this.headers=new Map,_t.forEach((mt,qt)=>{this.setHeaderEntries(qt,mt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(_t).forEach(([mt,qt])=>{this.setHeaderEntries(mt,qt)})}:this.headers=new Map}has(_t){return this.init(),this.headers.has(_t.toLowerCase())}get(_t){this.init();const mt=this.headers.get(_t.toLowerCase());return mt&&mt.length>0?mt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(_t){return this.init(),this.headers.get(_t.toLowerCase())||null}append(_t,mt){return this.clone({name:_t,value:mt,op:"a"})}set(_t,mt){return this.clone({name:_t,value:mt,op:"s"})}delete(_t,mt){return this.clone({name:_t,value:mt,op:"d"})}maybeSetNormalizedName(_t,mt){this.normalizedNames.has(mt)||this.normalizedNames.set(mt,_t)}init(){this.lazyInit&&(this.lazyInit instanceof D?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(mt=>{this.headers.set(mt,_t.headers.get(mt)),this.normalizedNames.set(mt,_t.normalizedNames.get(mt))})}clone(_t){const mt=new D;return mt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,mt.lazyUpdate=(this.lazyUpdate||[]).concat([_t]),mt}applyUpdate(_t){const mt=_t.name.toLowerCase();switch(_t.op){case"a":case"s":let qt=_t.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(_t.name,mt);const nn=("a"===_t.op?this.headers.get(mt):void 0)||[];nn.push(...qt),this.headers.set(mt,nn);break;case"d":const cn=_t.value;if(cn){let sn=this.headers.get(mt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(mt),this.normalizedNames.delete(mt)):this.headers.set(mt,sn)}else this.headers.delete(mt),this.normalizedNames.delete(mt)}}setHeaderEntries(_t,mt){const qt=(Array.isArray(mt)?mt:[mt]).map(cn=>cn.toString()),nn=_t.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(_t,nn)}forEach(_t){this.init(),Array.from(this.normalizedNames.keys()).forEach(mt=>_t(this.normalizedNames.get(mt),this.headers.get(mt)))}}class E{encodeKey(_t){return ee(_t)}encodeValue(_t){return ee(_t)}decodeKey(_t){return decodeURIComponent(_t)}decodeValue(_t){return decodeURIComponent(_t)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(Et){return encodeURIComponent(Et).replace(X,(_t,mt)=>$[mt]??_t)}function ie(Et){return`${Et}`}class A{constructor(_t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=_t.encoder||new E,_t.fromString){if(_t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(Et,_t){const mt=new Map;return Et.length>0&&Et.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[_t.decodeKey(nn),""]:[_t.decodeKey(nn.slice(0,cn)),_t.decodeValue(nn.slice(cn+1))],wn=mt.get(sn)||[];wn.push(Nn),mt.set(sn,wn)}),mt}(_t.fromString,this.encoder)}else _t.fromObject?(this.map=new Map,Object.keys(_t.fromObject).forEach(mt=>{const qt=_t.fromObject[mt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(mt,nn)})):this.map=null}has(_t){return this.init(),this.map.has(_t)}get(_t){this.init();const mt=this.map.get(_t);return mt?mt[0]:null}getAll(_t){return this.init(),this.map.get(_t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(_t,mt){return this.clone({param:_t,value:mt,op:"a"})}appendAll(_t){const mt=[];return Object.keys(_t).forEach(qt=>{const nn=_t[qt];Array.isArray(nn)?nn.forEach(cn=>{mt.push({param:qt,value:cn,op:"a"})}):mt.push({param:qt,value:nn,op:"a"})}),this.clone(mt)}set(_t,mt){return this.clone({param:_t,value:mt,op:"s"})}delete(_t,mt){return this.clone({param:_t,value:mt,op:"d"})}toString(){return this.init(),this.keys().map(_t=>{const mt=this.encoder.encodeKey(_t);return this.map.get(_t).map(qt=>mt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(_t=>""!==_t).join("&")}clone(_t){const mt=new A({encoder:this.encoder});return mt.cloneFrom=this.cloneFrom||this,mt.updates=(this.updates||[]).concat(_t),mt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const mt=("a"===_t.op?this.map.get(_t.param):void 0)||[];mt.push(ie(_t.value)),this.map.set(_t.param,mt);break;case"d":if(void 0===_t.value){this.map.delete(_t.param);break}{let qt=this.map.get(_t.param)||[];const nn=qt.indexOf(ie(_t.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(_t.param,qt):this.map.delete(_t.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(_t){this.defaultValue=_t}}class Me{constructor(){this.map=new Map}set(_t,mt){return this.map.set(_t,mt),this}get(_t){return this.map.has(_t)||this.map.set(_t,_t.defaultValue()),this.map.get(_t)}delete(_t){return this.map.delete(_t),this}has(_t){return this.map.has(_t)}keys(){return this.map.keys()}}function Ae(Et){return typeof ArrayBuffer<"u"&&Et instanceof ArrayBuffer}function he(Et){return typeof Blob<"u"&&Et instanceof Blob}function H(Et){return typeof FormData<"u"&&Et instanceof FormData}class pe{constructor(_t,mt,qt,nn){let cn;if(this.url=mt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=_t.toUpperCase(),function Re(Et){switch(Et){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||nn?(this.body=void 0!==qt?qt:null,cn=nn):cn=qt,cn&&(this.reportProgress=!!cn.reportProgress,this.withCredentials=!!cn.withCredentials,cn.responseType&&(this.responseType=cn.responseType),cn.headers&&(this.headers=cn.headers),cn.context&&(this.context=cn.context),cn.params&&(this.params=cn.params)),this.headers||(this.headers=new D),this.context||(this.context=new Me),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=mt;else{const Nn=mt.indexOf("?");this.urlWithParams=mt+(-1===Nn?"?":Nn$n.set(ti,_t.setHeaders[ti]),wn)),_t.setParams&&(Xn=Object.keys(_t.setParams).reduce(($n,ti)=>$n.set(ti,_t.setParams[ti]),Xn)),new pe(mt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(Et){return Et[Et.Sent=0]="Sent",Et[Et.UploadProgress=1]="UploadProgress",Et[Et.ResponseHeader=2]="ResponseHeader",Et[Et.DownloadProgress=3]="DownloadProgress",Et[Et.Response=4]="Response",Et[Et.User=5]="User",Et}(we||{});class Ee{constructor(_t,mt=200,qt="OK"){this.headers=_t.headers||new D,this.status=void 0!==_t.status?_t.status:mt,this.statusText=_t.statusText||qt,this.url=_t.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(_t={}){super(_t),this.type=we.ResponseHeader}clone(_t={}){return new Be({headers:_t.headers||this.headers,status:void 0!==_t.status?_t.status:this.status,statusText:_t.statusText||this.statusText,url:_t.url||this.url||void 0})}}class G extends Ee{constructor(_t={}){super(_t),this.type=we.Response,this.body=void 0!==_t.body?_t.body:null}clone(_t={}){return new G({body:void 0!==_t.body?_t.body:this.body,headers:_t.headers||this.headers,status:void 0!==_t.status?_t.status:this.status,statusText:_t.statusText||this.statusText,url:_t.url||this.url||void 0})}}class re extends Ee{constructor(_t){super(_t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${_t.url||"(unknown url)"}`:`Http failure response for ${_t.url||"(unknown url)"}: ${_t.status} ${_t.statusText}`,this.error=_t.error||null}}function se(Et,_t){return{body:_t,headers:Et.headers,context:Et.context,observe:Et.observe,params:Et.params,reportProgress:Et.reportProgress,responseType:Et.responseType,withCredentials:Et.withCredentials}}let ye=(()=>{class Et{constructor(mt){this.handler=mt}request(mt,qt,nn={}){let cn;if(mt instanceof pe)cn=mt;else{let wn,Xn;wn=nn.headers instanceof D?nn.headers:new D(nn.headers),nn.params&&(Xn=nn.params instanceof A?nn.params:new A({fromObject:nn.params})),cn=new pe(mt,qt,void 0!==nn.body?nn.body:null,{headers:wn,context:nn.context,params:Xn,reportProgress:nn.reportProgress,responseType:nn.responseType||"json",withCredentials:nn.withCredentials})}const sn=(0,d.of)(cn).pipe((0,h.b)(wn=>this.handler.handle(wn)));if(mt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,f.h)(wn=>wn instanceof G));switch(nn.observe||"body"){case"body":switch(cn.responseType){case"arraybuffer":return Nn.pipe((0,u.U)(wn=>{if(null!==wn.body&&!(wn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return wn.body}));case"blob":return Nn.pipe((0,u.U)(wn=>{if(null!==wn.body&&!(wn.body instanceof Blob))throw new Error("Response is not a Blob.");return wn.body}));case"text":return Nn.pipe((0,u.U)(wn=>{if(null!==wn.body&&"string"!=typeof wn.body)throw new Error("Response is not a string.");return wn.body}));default:return Nn.pipe((0,u.U)(wn=>wn.body))}case"response":return Nn;default:throw new Error(`Unreachable: unhandled observe type ${nn.observe}}`)}}delete(mt,qt={}){return this.request("DELETE",mt,qt)}get(mt,qt={}){return this.request("GET",mt,qt)}head(mt,qt={}){return this.request("HEAD",mt,qt)}jsonp(mt,qt){return this.request("JSONP",mt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(mt,qt={}){return this.request("OPTIONS",mt,qt)}patch(mt,qt,nn={}){return this.request("PATCH",mt,se(nn,qt))}post(mt,qt,nn={}){return this.request("POST",mt,se(nn,qt))}put(mt,qt,nn={}){return this.request("PUT",mt,se(nn,qt))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(y))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();const He=/^\)\]\}',?\n/;function Qe(Et){if(Et.url)return Et.url;const _t="X-Request-URL".toLocaleLowerCase();return Et.headers.get(_t)}let We=(()=>{class Et{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(mt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(mt,nn.signal,qt).then(Mt,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(mt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(mt);let Nn;try{const mn=cn.fetchImpl(mt.urlWithParams,{signal:qt,...sn});(function Ft(Et){Et.then(Mt,Mt)})(mn),nn.next({type:we.Sent}),Nn=yield mn}catch(mn){return void nn.error(new re({error:mn,status:mn.status??0,statusText:mn.statusText,url:mt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??mt.urlWithParams;let $n=Nn.status,ti=null;if(mt.reportProgress&&nn.next(new Be({headers:wn,status:$n,statusText:Xn,url:_i})),Nn.body){const mn=Nn.headers.get("content-length"),Tn=[],Rn=Nn.body.getReader();let mi,Yn,Wn=0;const wi=typeof Zone<"u"&&Zone.current;yield cn.ngZone.runOutsideAngular((0,n.Z)(function*(){for(;;){const{done:ai,value:Ni}=yield Rn.read();if(ai)break;if(Tn.push(Ni),Wn+=Ni.length,mt.reportProgress){Yn="text"===mt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const xt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(xt):xt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(mt,ri)}catch(ai){return void nn.error(new re({error:ai,headers:new D(Nn.headers),status:Nn.status,statusText:Nn.statusText,url:Qe(Nn)??mt.urlWithParams}))}}0===$n&&($n=ti?200:0),$n>=200&&$n<300?(nn.next(new G({body:ti,headers:wn,status:$n,statusText:Xn,url:_i})),nn.complete()):nn.error(new re({error:ti,headers:wn,status:$n,statusText:Xn,url:_i}))})()}parseBody(mt,qt){switch(mt.responseType){case"json":const nn=(new TextDecoder).decode(qt).replace(He,"");return""===nn?null:JSON.parse(nn);case"text":return(new TextDecoder).decode(qt);case"blob":return new Blob([qt]);case"arraybuffer":return qt.buffer}}createRequestInit(mt){const qt={},nn=mt.withCredentials?"include":void 0;if(mt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=mt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:mt.serializeBody(),method:mt.method,headers:qt,credentials:nn}}concatChunks(mt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of mt)nn.set(sn,cn),cn+=sn.length;return nn}}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();class tt{}function Mt(){}function gt(Et,_t){return _t(Et)}function Bt(Et,_t){return(mt,qt)=>_t.intercept(mt,{handle:nn=>Et(nn,qt)})}const kt=new c.InjectionToken(""),Le=new c.InjectionToken(""),ct=new c.InjectionToken("");function ze(){let Et=null;return(_t,mt)=>{null===Et&&(Et=((0,c.inject)(kt,{optional:!0})??[]).reduceRight(Bt,gt));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return Et(_t,mt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class Et extends y{constructor(mt,qt){super(),this.backend=mt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(mt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(ct,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(Et,_t,mt){return(qt,nn)=>mt.runInContext(()=>_t(qt,cn=>Et(cn,nn)))}(cn,sn,this.injector),gt)}const qt=this.pendingTasks.add();return this.chain(mt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})(),N=0;class Te{}function Ct(){return"object"==typeof window?window:{}}let dt=(()=>{class Et{constructor(mt,qt){this.callbackMap=mt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(mt){if("JSONP"!==mt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==mt.responseType)throw new Error("JSONP requests must use Json response type.");if(mt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=mt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${nn}$1`),sn=this.document.createElement("script");sn.src=cn;let Nn=null,wn=!1;this.callbackMap[nn]=ti=>{delete this.callbackMap[nn],Nn=ti,wn=!0};const Xn=()=>{sn.parentNode&&sn.parentNode.removeChild(sn),delete this.callbackMap[nn]};return sn.addEventListener("load",ti=>{this.resolvedPromise.then(()=>{Xn(),wn?(qt.next(new G({body:Nn,status:200,statusText:"OK",url:cn})),qt.complete()):qt.error(new re({url:cn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),sn.addEventListener("error",ti=>{Xn(),qt.error(new re({error:ti,status:0,statusText:"JSONP Error",url:cn}))}),this.document.body.appendChild(sn),qt.next({type:we.Sent}),()=>{wn||this.removeListeners(sn),Xn()}})}removeListeners(mt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(mt)}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();function bt(Et,_t){return"JSONP"===Et.method?(0,c.inject)(dt).handle(Et):_t(Et)}let Oe=(()=>{class Et{constructor(mt){this.injector=mt}intercept(mt,qt){return this.injector.runInContext(()=>bt(mt,nn=>qt.handle(nn)))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(c.EnvironmentInjector))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();const ge=/^\)\]\}',?\n/;let At=(()=>{class Et{constructor(mt){this.xhrFactory=mt}handle(mt){if("JSONP"===mt.method)throw new c.\u0275RuntimeError(-2800,!1);const qt=this.xhrFactory;return(qt.\u0275loadImpl?(0,r.D)(qt.\u0275loadImpl()):(0,d.of)(null)).pipe((0,b.w)(()=>new g.y(cn=>{const sn=qt.build();if(sn.open(mt.method,mt.urlWithParams),mt.withCredentials&&(sn.withCredentials=!0),mt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),mt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!mt.headers.has("Content-Type")){const Tn=mt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(mt.responseType){const Tn=mt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=mt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function ot(Et){return"responseURL"in Et&&Et.responseURL?Et.responseURL:/^X-Request-URL:/m.test(Et.getAllResponseHeaders())?Et.getResponseHeader("X-Request-URL"):null}(sn)||mt.url;return wn=new Be({headers:Rn,status:sn.status,statusText:Tn,url:Wn}),wn},_i=()=>{let{headers:Tn,status:Rn,statusText:Wn,url:mi}=Xn(),Yn=null;204!==Rn&&(Yn=typeof sn.response>"u"?sn.responseText:sn.response),0===Rn&&(Rn=Yn?200:0);let wi=Rn>=200&&Rn<300;if("json"===mt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(ge,"");try{Yn=""!==Yn?JSON.parse(Yn):null}catch(ai){Yn=ri,wi&&(wi=!1,Yn={error:ai,text:Yn})}}wi?(cn.next(new G({body:Yn,headers:Tn,status:Rn,statusText:Wn,url:mi||void 0})),cn.complete()):cn.error(new re({error:Yn,headers:Tn,status:Rn,statusText:Wn,url:mi||void 0}))},$n=Tn=>{const{url:Rn}=Xn(),Wn=new re({error:Tn,status:sn.status||0,statusText:sn.statusText||"Unknown Error",url:Rn||void 0});cn.error(Wn)};let ti=!1;const an=Tn=>{ti||(cn.next(Xn()),ti=!0);let Rn={type:we.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Rn.total=Tn.total),"text"===mt.responseType&&sn.responseText&&(Rn.partialText=sn.responseText),cn.next(Rn)},mn=Tn=>{let Rn={type:we.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(Rn.total=Tn.total),cn.next(Rn)};return sn.addEventListener("load",_i),sn.addEventListener("error",$n),sn.addEventListener("timeout",$n),sn.addEventListener("abort",$n),mt.reportProgress&&(sn.addEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.addEventListener("progress",mn)),sn.send(Nn),cn.next({type:we.Sent}),()=>{sn.removeEventListener("error",$n),sn.removeEventListener("abort",$n),sn.removeEventListener("load",_i),sn.removeEventListener("timeout",$n),mt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(l.XhrFactory))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();const Nt=new c.InjectionToken("XSRF_ENABLED"),zt="XSRF-TOKEN",Ne=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>zt}),$e="X-XSRF-TOKEN",ae=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>$e});class Ce{}let lt=(()=>{class Et{constructor(mt,qt,nn){this.doc=mt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const mt=this.doc.cookie||"";return mt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(mt,this.cookieName),this.lastCookieString=mt),this.lastToken}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Ne))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();function _e(Et,_t){const mt=Et.url.toLowerCase();if(!(0,c.inject)(Nt)||"GET"===Et.method||"HEAD"===Et.method||mt.startsWith("http://")||mt.startsWith("https://"))return _t(Et);const qt=(0,c.inject)(Ce).getToken(),nn=(0,c.inject)(ae);return null!=qt&&!Et.headers.has(nn)&&(Et=Et.clone({headers:Et.headers.set(nn,qt)})),_t(Et)}let Ye=(()=>{class Et{constructor(mt){this.injector=mt}intercept(mt,qt){return this.injector.runInContext(()=>_e(mt,nn=>qt.handle(nn)))}}return Et.\u0275fac=function(mt){return new(mt||Et)(c.\u0275\u0275inject(c.EnvironmentInjector))},Et.\u0275prov=c.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac}),Et})();var De=function(Et){return Et[Et.Interceptors=0]="Interceptors",Et[Et.LegacyInterceptors=1]="LegacyInterceptors",Et[Et.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Et[Et.NoXsrfProtection=3]="NoXsrfProtection",Et[Et.JsonpSupport=4]="JsonpSupport",Et[Et.RequestsMadeViaParent=5]="RequestsMadeViaParent",Et[Et.Fetch=6]="Fetch",Et}(De||{});function F(Et,_t){return{\u0275kind:Et,\u0275providers:_t}}function V(...Et){const _t=[ye,At,at,{provide:y,useExisting:at},{provide:x,useExisting:At},{provide:Le,useValue:_e,multi:!0},{provide:Nt,useValue:!0},{provide:Ce,useClass:lt}];for(const mt of Et)_t.push(...mt.\u0275providers);return(0,c.makeEnvironmentProviders)(_t)}function K(Et){return F(De.Interceptors,Et.map(_t=>({provide:Le,useValue:_t,multi:!0})))}const ve=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function ut(){return F(De.LegacyInterceptors,[{provide:ve,useFactory:ze},{provide:Le,useExisting:ve,multi:!0}])}function Pt({cookieName:Et,headerName:_t}){const mt=[];return void 0!==Et&&mt.push({provide:Ne,useValue:Et}),void 0!==_t&&mt.push({provide:ae,useValue:_t}),F(De.CustomXsrfConfiguration,mt)}function qe(){return F(De.NoXsrfProtection,[{provide:Nt,useValue:!1}])}function et(){return F(De.JsonpSupport,[dt,{provide:Te,useFactory:Ct},{provide:Le,useValue:bt,multi:!0}])}function Ve(){return F(De.RequestsMadeViaParent,[{provide:x,useFactory:()=>(0,c.inject)(y,{skipSelf:!0,optional:!0})}])}function yt(){return F(De.Fetch,[We,{provide:x,useExisting:We}])}let Lt=(()=>{class Et{static disable(){return{ngModule:Et,providers:[qe().\u0275providers]}}static withOptions(mt={}){return{ngModule:Et,providers:Pt(mt).\u0275providers}}}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275mod=c.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:kt,useExisting:Ye,multi:!0},{provide:Ce,useClass:lt},Pt({cookieName:zt,headerName:$e}).\u0275providers,{provide:Nt,useValue:!0}]}),Et})(),on=(()=>{class Et{}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275mod=c.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(ut())]}),Et})(),xn=(()=>{class Et{}return Et.\u0275fac=function(mt){return new(mt||Et)},Et.\u0275mod=c.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=c.\u0275\u0275defineInjector({providers:[et().\u0275providers]}),Et})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(Et,_t){const{isCacheActive:mt}=(0,c.inject)(Sn);if(!mt||!_n.includes(Et.method))return _t(Et);const qt=(0,c.inject)(c.TransferState),nn=function fi(Et){const{params:_t,method:mt,responseType:qt,url:nn}=Et,Nn=function Vi(Et){let _t=0;for(const mt of Et)_t=Math.imul(31,_t)+mt.charCodeAt(0)<<0;return _t+=2147483648,_t.toString()}(mt+"."+qt+"."+nn+"?"+_t.keys().sort().map(wn=>`${wn}=${_t.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(Et),cn=qt.get(nn,null);if(cn){let sn=cn.body;switch(cn.responseType){case"arraybuffer":sn=(new TextEncoder).encode(cn.body).buffer;break;case"blob":sn=new Blob([cn.body])}return(0,d.of)(new G({body:sn,headers:new D(cn.headers),status:cn.status,statusText:cn.statusText,url:cn.url}))}return _t(Et).pipe((0,p.b)(sn=>{sn instanceof G&&qt.set(nn,{body:sn.body,headers:xi(sn.headers),status:sn.status,statusText:sn.statusText,url:sn.url||"",responseType:Et.responseType})}))}function xi(Et){const _t={};for(const mt of Et.keys()){const qt=Et.getAll(mt);null!==qt&&(_t[mt]=qt)}return _t}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:ct,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Et=(0,c.inject)(c.ApplicationRef),_t=(0,c.inject)(Sn);return()=>{Et.isStable.pipe((0,_.P)(mt=>mt)).toPromise().then(()=>{_t.isCacheActive=!1})}}}]}},5879:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ANIMATION_MODULE_TYPE:()=>qy,APP_BOOTSTRAP_LISTENER:()=>ah,APP_ID:()=>tm,APP_INITIALIZER:()=>a_,ApplicationInitStatus:()=>Gl,ApplicationModule:()=>lE,ApplicationRef:()=>Ia,Attribute:()=>Lh,COMPILER_OPTIONS:()=>d_,CSP_NONCE:()=>Jy,CUSTOM_ELEMENTS_SCHEMA:()=>Kh,ChangeDetectionStrategy:()=>xn,ChangeDetectorRef:()=>V_,Compiler:()=>Dx,CompilerFactory:()=>wx,Component:()=>mx,ComponentFactory:()=>ml,ComponentFactoryResolver:()=>ss,ComponentRef:()=>cm,ContentChild:()=>yb,ContentChildren:()=>bb,DEFAULT_CURRENCY_CODE:()=>Mx,DebugElement:()=>Ts,DebugEventListener:()=>Kx,DebugNode:()=>lh,DefaultIterableDiffer:()=>W_,DestroyRef:()=>Cu,Directive:()=>o_,ENVIRONMENT_INITIALIZER:()=>is,ElementRef:()=>ls,EmbeddedViewRef:()=>Wx,EnvironmentInjector:()=>Vo,ErrorHandler:()=>la,EventEmitter:()=>ho,Host:()=>Bh,HostBinding:()=>bx,HostListener:()=>yx,INJECTOR:()=>Vc,Inject:()=>Fh,InjectFlags:()=>ue,Injectable:()=>wv,InjectionToken:()=>zi,Injector:()=>Ao,Input:()=>gx,IterableDiffers:()=>fh,KeyValueDiffers:()=>mh,LOCALE_ID:()=>Wl,MissingTranslationStrategy:()=>l_,ModuleWithComponentFactories:()=>u_,NO_ERRORS_SCHEMA:()=>Yh,NgModule:()=>vx,NgModuleFactory:()=>H0,NgModuleRef:()=>wa,NgProbeToken:()=>Rx,NgZone:()=>Ir,Optional:()=>Gs,Output:()=>_x,PACKAGE_ROOT_URL:()=>Xy,PLATFORM_ID:()=>Zc,PLATFORM_INITIALIZER:()=>nm,Pipe:()=>px,PlatformRef:()=>sh,Query:()=>Ga,QueryList:()=>jl,Renderer2:()=>fv,RendererFactory2:()=>dm,RendererStyleFlags2:()=>Js,Sanitizer:()=>hm,SecurityContext:()=>Uo,Self:()=>Uh,SimpleChange:()=>Er,SkipSelf:()=>Ws,TRANSLATIONS:()=>xx,TRANSLATIONS_FORMAT:()=>Ex,TemplateRef:()=>Ds,Testability:()=>Ox,TestabilityRegistry:()=>M_,TransferState:()=>rs,Type:()=>Oh,VERSION:()=>mm,Version:()=>fm,ViewChild:()=>Cb,ViewChildren:()=>vb,ViewContainerRef:()=>zl,ViewEncapsulation:()=>Sn,ViewRef:()=>H_,asNativeElements:()=>Yx,assertInInjectionContext:()=>Sm,assertPlatform:()=>A_,booleanAttribute:()=>yE,computed:()=>en,createComponent:()=>AE,createEnvironmentInjector:()=>G0,createNgModule:()=>z0,createNgModuleRef:()=>bM,createPlatform:()=>T_,createPlatformFactory:()=>S_,defineInjectable:()=>Tt,destroyPlatform:()=>Fx,effect:()=>Zm,enableProdMode:()=>Hx,forwardRef:()=>D,getDebugNode:()=>Sa,getModuleFactory:()=>zx,getNgModuleById:()=>$x,getPlatform:()=>Kl,importProvidersFrom:()=>Qf,inject:()=>ut,isDevMode:()=>jx,isSignal:()=>bo,isStandalone:()=>jn,makeEnvironmentProviders:()=>jc,makeStateKey:()=>ev,mergeApplicationConfig:()=>kE,numberAttribute:()=>vE,platformCore:()=>sE,provideZoneChangeDetection:()=>U_,reflectComponentType:()=>LE,resolveForwardRef:()=>S,runInInjectionContext:()=>vv,setTestabilityGetter:()=>x_,signal:()=>nr,untracked:()=>Mr,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>rh,\u0275ComponentFactory:()=>ml,\u0275Console:()=>s_,\u0275DEFAULT_LOCALE_ID:()=>$o,\u0275ENABLED_SSR_FEATURES:()=>im,\u0275INJECTOR_SCOPE:()=>Gc,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>us,\u0275InitialRenderPendingTasks:()=>c_,\u0275LContext:()=>nf,\u0275LifecycleHooksFeature:()=>op,\u0275LocaleDataIndex:()=>Da,\u0275NG_COMP_DEF:()=>xi,\u0275NG_DIR_DEF:()=>fi,\u0275NG_ELEMENT_ID:()=>_t,\u0275NG_INJ_DEF:()=>Y,\u0275NG_MOD_DEF:()=>Yi,\u0275NG_PIPE_DEF:()=>Vi,\u0275NG_PROV_DEF:()=>oe,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>pl,\u0275NO_CHANGE:()=>gi,\u0275NgModuleFactory:()=>Vl,\u0275NoopNgZone:()=>__,\u0275ReflectionCapabilities:()=>Nh,\u0275Render3ComponentFactory:()=>fa,\u0275Render3ComponentRef:()=>rp,\u0275Render3NgModuleRef:()=>Bl,\u0275RuntimeError:()=>ee,\u0275TESTABILITY:()=>v_,\u0275TESTABILITY_GETTER:()=>C_,\u0275ViewRef:()=>ha,\u0275XSS_SECURITY_URL:()=>$,\u0275_sanitizeHtml:()=>Vf,\u0275_sanitizeUrl:()=>sl,\u0275allowSanitizationBypassAndThrow:()=>ra,\u0275annotateForHydration:()=>dE,\u0275bypassSanitizationTrustHtml:()=>Ty,\u0275bypassSanitizationTrustResourceUrl:()=>Ly,\u0275bypassSanitizationTrustScript:()=>Sy,\u0275bypassSanitizationTrustStyle:()=>Iy,\u0275bypassSanitizationTrustUrl:()=>Ay,\u0275clearResolutionOfComponentResourcesQueue:()=>$h,\u0275compileComponent:()=>Kg,\u0275compileDirective:()=>eh,\u0275compileNgModule:()=>Hg,\u0275compileNgModuleDefs:()=>zg,\u0275compileNgModuleFactory:()=>E_,\u0275compilePipe:()=>i_,\u0275convertToBitFlags:()=>Pt,\u0275createInjector:()=>cu,\u0275defaultIterableDiffers:()=>oE,\u0275defaultKeyValueDiffers:()=>aE,\u0275detectChanges:()=>Xm,\u0275devModeEqual:()=>fp,\u0275findLocaleData:()=>Td,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Vg,\u0275formatRuntimeError:()=>ie,\u0275getDebugNode:()=>Sa,\u0275getDirectives:()=>X0,\u0275getHostElement:()=>Bd,\u0275getInjectableDef:()=>Le,\u0275getLContext:()=>wr,\u0275getLocaleCurrencyCode:()=>MC,\u0275getLocalePluralCase:()=>f0,\u0275getSanitizationBypassType:()=>Of,\u0275getUnknownElementStrictMode:()=>Vb,\u0275getUnknownPropertyStrictMode:()=>Hb,\u0275global:()=>ge,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>ct,\u0275isNgModule:()=>Yd,\u0275isPromise:()=>zu,\u0275isSubscribable:()=>Dp,\u0275noSideEffects:()=>on,\u0275patchComponentDefWithScope:()=>qd,\u0275publishDefaultGlobalUtils:()=>Ix,\u0275publishGlobalUtil:()=>Wr,\u0275registerLocaleData:()=>CC,\u0275resetCompiledComponents:()=>nx,\u0275resetJitOptions:()=>qM,\u0275resolveComponentResources:()=>Hh,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Ub,\u0275setAlternateWeakRefImpl:()=>de,\u0275setClassMetadata:()=>J0,\u0275setCurrentInjector:()=>F,\u0275setDocument:()=>Cy,\u0275setLocaleId:()=>Id,\u0275setUnknownElementStrictMode:()=>Bb,\u0275setUnknownPropertyStrictMode:()=>jb,\u0275store:()=>vp,\u0275stringify:()=>l,\u0275transitiveScopesFor:()=>Go,\u0275unregisterLocaleData:()=>xC,\u0275unwrapSafeValue:()=>vo,\u0275withDomHydration:()=>bE,\u0275\u0275CopyDefinitionFeature:()=>sp,\u0275\u0275FactoryTarget:()=>Po,\u0275\u0275HostDirectivesFeature:()=>lp,\u0275\u0275InheritDefinitionFeature:()=>Mu,\u0275\u0275InputTransformsFeature:()=>hp,\u0275\u0275NgOnChangesFeature:()=>fr,\u0275\u0275ProvidersFeature:()=>j0,\u0275\u0275StandaloneFeature:()=>W0,\u0275\u0275advance:()=>Tm,\u0275\u0275attribute:()=>Eu,\u0275\u0275attributeInterpolate1:()=>Du,\u0275\u0275attributeInterpolate2:()=>wu,\u0275\u0275attributeInterpolate3:()=>Tu,\u0275\u0275attributeInterpolate4:()=>Iu,\u0275\u0275attributeInterpolate5:()=>Su,\u0275\u0275attributeInterpolate6:()=>Au,\u0275\u0275attributeInterpolate7:()=>Lu,\u0275\u0275attributeInterpolate8:()=>ku,\u0275\u0275attributeInterpolateV:()=>Ou,\u0275\u0275classMap:()=>Bp,\u0275\u0275classMapInterpolate1:()=>Yp,\u0275\u0275classMapInterpolate2:()=>Qp,\u0275\u0275classMapInterpolate3:()=>Zp,\u0275\u0275classMapInterpolate4:()=>Xp,\u0275\u0275classMapInterpolate5:()=>qp,\u0275\u0275classMapInterpolate6:()=>Jp,\u0275\u0275classMapInterpolate7:()=>e0,\u0275\u0275classMapInterpolate8:()=>t0,\u0275\u0275classMapInterpolateV:()=>n0,\u0275\u0275classProp:()=>od,\u0275\u0275contentQuery:()=>Og,\u0275\u0275defineComponent:()=>jt,\u0275\u0275defineDirective:()=>Wt,\u0275\u0275defineInjectable:()=>Bt,\u0275\u0275defineInjector:()=>kt,\u0275\u0275defineNgModule:()=>le,\u0275\u0275definePipe:()=>un,\u0275\u0275directiveInject:()=>ua,\u0275\u0275disableBindings:()=>Is,\u0275\u0275element:()=>ju,\u0275\u0275elementContainer:()=>Hu,\u0275\u0275elementContainerEnd:()=>Al,\u0275\u0275elementContainerStart:()=>Sl,\u0275\u0275elementEnd:()=>Il,\u0275\u0275elementStart:()=>Tl,\u0275\u0275enableBindings:()=>ec,\u0275\u0275getCurrentView:()=>Ep,\u0275\u0275getInheritedFactory:()=>Sh,\u0275\u0275hostProperty:()=>Dd,\u0275\u0275i18n:()=>N0,\u0275\u0275i18nApply:()=>U0,\u0275\u0275i18nAttributes:()=>F0,\u0275\u0275i18nEnd:()=>kd,\u0275\u0275i18nExp:()=>Od,\u0275\u0275i18nPostprocess:()=>B0,\u0275\u0275i18nStart:()=>Ld,\u0275\u0275inject:()=>K,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>ve,\u0275\u0275listener:()=>$u,\u0275\u0275loadQuery:()=>Rg,\u0275\u0275namespaceHTML:()=>_r,\u0275\u0275namespaceMathML:()=>$i,\u0275\u0275namespaceSVG:()=>Kn,\u0275\u0275nextContext:()=>Sp,\u0275\u0275ngDeclareClassMetadata:()=>ME,\u0275\u0275ngDeclareComponent:()=>xE,\u0275\u0275ngDeclareDirective:()=>CE,\u0275\u0275ngDeclareFactory:()=>EE,\u0275\u0275ngDeclareInjectable:()=>wE,\u0275\u0275ngDeclareInjector:()=>TE,\u0275\u0275ngDeclareNgModule:()=>IE,\u0275\u0275ngDeclarePipe:()=>SE,\u0275\u0275pipe:()=>pg,\u0275\u0275pipeBind1:()=>gg,\u0275\u0275pipeBind2:()=>_g,\u0275\u0275pipeBind3:()=>bg,\u0275\u0275pipeBind4:()=>yg,\u0275\u0275pipeBindV:()=>vg,\u0275\u0275projection:()=>Lp,\u0275\u0275projectionDef:()=>Ap,\u0275\u0275property:()=>Bu,\u0275\u0275propertyInterpolate:()=>Wu,\u0275\u0275propertyInterpolate1:()=>Ll,\u0275\u0275propertyInterpolate2:()=>Ku,\u0275\u0275propertyInterpolate3:()=>Yu,\u0275\u0275propertyInterpolate4:()=>Qu,\u0275\u0275propertyInterpolate5:()=>Zu,\u0275\u0275propertyInterpolate6:()=>Xu,\u0275\u0275propertyInterpolate7:()=>qu,\u0275\u0275propertyInterpolate8:()=>Ju,\u0275\u0275propertyInterpolateV:()=>ed,\u0275\u0275pureFunction0:()=>eg,\u0275\u0275pureFunction1:()=>tg,\u0275\u0275pureFunction2:()=>ng,\u0275\u0275pureFunction3:()=>ig,\u0275\u0275pureFunction4:()=>rg,\u0275\u0275pureFunction5:()=>og,\u0275\u0275pureFunction6:()=>ag,\u0275\u0275pureFunction7:()=>sg,\u0275\u0275pureFunction8:()=>lg,\u0275\u0275pureFunctionV:()=>cg,\u0275\u0275queryRefresh:()=>Lg,\u0275\u0275reference:()=>Cp,\u0275\u0275registerNgModuleType:()=>_c,\u0275\u0275resetView:()=>ka,\u0275\u0275resolveBody:()=>lu,\u0275\u0275resolveDocument:()=>ym,\u0275\u0275resolveWindow:()=>bm,\u0275\u0275restoreView:()=>La,\u0275\u0275sanitizeHtml:()=>jf,\u0275\u0275sanitizeResourceUrl:()=>Bc,\u0275\u0275sanitizeScript:()=>zf,\u0275\u0275sanitizeStyle:()=>Hf,\u0275\u0275sanitizeUrl:()=>Uc,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Wf,\u0275\u0275setComponentScope:()=>ke,\u0275\u0275setNgModuleScope:()=>Xe,\u0275\u0275styleMap:()=>Jr,\u0275\u0275styleMapInterpolate1:()=>r0,\u0275\u0275styleMapInterpolate2:()=>o0,\u0275\u0275styleMapInterpolate3:()=>a0,\u0275\u0275styleMapInterpolate4:()=>s0,\u0275\u0275styleMapInterpolate5:()=>l0,\u0275\u0275styleMapInterpolate6:()=>c0,\u0275\u0275styleMapInterpolate7:()=>u0,\u0275\u0275styleMapInterpolate8:()=>d0,\u0275\u0275styleMapInterpolateV:()=>h0,\u0275\u0275styleProp:()=>rd,\u0275\u0275stylePropInterpolate1:()=>gd,\u0275\u0275stylePropInterpolate2:()=>_d,\u0275\u0275stylePropInterpolate3:()=>bd,\u0275\u0275stylePropInterpolate4:()=>yd,\u0275\u0275stylePropInterpolate5:()=>vd,\u0275\u0275stylePropInterpolate6:()=>Cd,\u0275\u0275stylePropInterpolate7:()=>Md,\u0275\u0275stylePropInterpolate8:()=>xd,\u0275\u0275stylePropInterpolateV:()=>Ed,\u0275\u0275syntheticHostListener:()=>Gu,\u0275\u0275syntheticHostProperty:()=>wd,\u0275\u0275template:()=>_p,\u0275\u0275templateRefExtractor:()=>Ug,\u0275\u0275text:()=>Wp,\u0275\u0275textInterpolate:()=>sd,\u0275\u0275textInterpolate1:()=>Rl,\u0275\u0275textInterpolate2:()=>ld,\u0275\u0275textInterpolate3:()=>cd,\u0275\u0275textInterpolate4:()=>ud,\u0275\u0275textInterpolate5:()=>dd,\u0275\u0275textInterpolate6:()=>hd,\u0275\u0275textInterpolate7:()=>fd,\u0275\u0275textInterpolate8:()=>md,\u0275\u0275textInterpolateV:()=>pd,\u0275\u0275trustConstantHtml:()=>$f,\u0275\u0275trustConstantResourceUrl:()=>Gf,\u0275\u0275validateIframeAttribute:()=>Sf,\u0275\u0275viewQuery:()=>kg});var n=a(8645),c=a(7394),d=a(5619),g=a(5592),r=a(3019),h=a(2096),f=a(3020),u=a(4664),v=a(3997),b=a(1374);function p(e){for(let t in e)if(e[t]===p)return t;throw Error("Could not find renamed property on target object.")}function _(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function l(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(l).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function y(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const x=p({__forward_ref__:p});function D(e){return e.__forward_ref__=D,e.toString=function(){return l(this())},e}function S(e){return E(e)?e():e}function E(e){return"function"==typeof e&&e.hasOwnProperty(x)&&e.__forward_ref__===D}function I(e){return e&&!!e.\u0275providers}const $="https://g.co/ng/security#xss";class ee extends Error{constructor(t,i){super(ie(t,i)),this.code=t}}function ie(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function A(e){return"string"==typeof e?e:null==e?"":String(e)}function U(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():A(e)}function he(e,t){throw new ee(-201,!1)}function tt(e,t,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${t} <=Actual]`))}function Bt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Tt=Bt;function kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function ct(e){return null!==Le(e)}function ze(e,t){return e.hasOwnProperty(t)?e[t]:null}function N(e){return e&&(e.hasOwnProperty(Y)||e.hasOwnProperty(Q))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),Q=p({ngInjectorDef:p});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||{});let Te;function Ct(){return Te}function dt(e){const t=Te;return Te=e,t}function bt(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ue.Optional?null:void 0!==t?t:void he(l(e))}const ge=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),zt={},Ne="__NG_DI_FLAG__",$e="ngTempTokenPath",Ce=/\n/gm,_e="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ue.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?bt(e,void 0,t):Ye.get(e,t&ue.Optional?null:void 0,t)}function K(e,t=ue.Default){return(Ct()||V)(S(e),t)}function ve(e){throw new ee(202,!1)}function ut(e,t=ue.Default){return K(e,Pt(t))}function Pt(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function qe(e){const t=[];for(let i=0;it){M=m-1;break}}}for(;mm?"":s[ft+1].toLowerCase();const $t=8&o?Ut:null;if($t&&-1!==qt($t,be,0)||2&o&&be!==Ut){if(mn(o))return!1;M=!0}}}}else{if(!M&&!mn(o)&&!mn(z))return!1;if(M&&mn(z))continue;M=!1,o=z|1&o}}return mn(o)||M}function mn(e){return 0==(1&e)}function Tn(e,t,i,o){if(null===t)return-1;let s=0;if(o||!i){let m=!1;for(;s-1)for(i++;i0?'="'+R+'"':"")+"]"}else 8&o?s+="."+M:4&o&&(s+=" "+M);else""!==s&&!mn(M)&&(t+=ri(m,s),s=""),o=M,m=m||!mn(o);i++}return""!==s&&(t+=ri(m,s)),t}function jt(e){return on(()=>{const t=bi(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===xn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Sn.Emulated,styles:e.styles||Mn,_:null,schemas:e.schemas||null,tView:null,id:""};Ti(i);const o=e.dependencies;return i.directiveDefs=Fi(o,!1),i.pipeDefs=Fi(o,!0),i.id=function fn(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const s of i)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(i),i})}function ke(e,t,i){const o=e.\u0275cmp;o.directiveDefs=Fi(t,!1),o.pipeDefs=Fi(i,!0)}function O(e){return gn(e)||pn(e)}function me(e){return null!==e}function le(e){return on(()=>({type:e.type,bootstrap:e.bootstrap||Mn,declarations:e.declarations||Mn,imports:e.imports||Mn,exports:e.exports||Mn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xe(e,t){return on(()=>{const i=Fn(e,!0);i.declarations=t.declarations||Mn,i.imports=t.imports||Mn,i.exports=t.exports||Mn})}function Ot(e,t){if(null==e)return _n;const i={};for(const o in e)if(e.hasOwnProperty(o)){let s=e[o],m=s;Array.isArray(s)&&(m=s[1],s=s[0]),i[s]=o,t&&(t[s]=m)}return i}function Wt(e){return on(()=>{const t=bi(e);return Ti(t),t})}function un(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function gn(e){return e[xi]||null}function pn(e){return e[fi]||null}function si(e){return e[Vi]||null}function jn(e){const t=gn(e)||pn(e)||si(e);return null!==t&&t.standalone}function Fn(e,t){const i=e[Yi]||null;if(!i&&!0===t)throw new Error(`Type ${l(e)} does not have '\u0275mod' property.`);return i}function bi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||_n,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Mn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ot(e.inputs,t),outputs:Ot(e.outputs)}}function Ti(e){e.features?.forEach(t=>t(e))}function Fi(e,t){if(!e)return null;const i=t?si:O;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(me)}const Gi=new Map,Cn=0,tn=1,En=2,ei=3,Ei=4,tr=5,Ai=6,ar=7,yi=8,Je=9,Rt=10,C=11,te=12,Pe=13,rt=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,pt=25,Ht=1,Yt=2,Jt=7,vn=9,Vn=10,On=11;function ui(e){return Array.isArray(e)&&"object"==typeof e[Ht]}function Mi(e){return Array.isArray(e)&&!0===e[Ht]}function qn(e){return 0!=(4&e.flags)}function ni(e){return e.componentOffset>-1}function oi(e){return 1==(1&e.flags)}function Ii(e){return!!e.template}function Zi(e){return 0!=(512&e[En])}function Vr(e){return 16==(16&e.type)}function or(e,t){return e.hasOwnProperty(Et)?e[Et]:null}const Cr=Symbol("SIGNAL");function bo(e){return"function"==typeof e&&void 0!==e[Cr]}function Rr(e,t,i={}){return t[Cr]=e,Object.assign(t,i)}function oo(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let T=ge.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function de(e){}let Fe=0,nt=null,It=!1;function Dt(e){const t=nt;return nt=e,t}class Qt{constructor(){this.id=Fe++,this.ref=function P(e){return new T(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,i]of this.producers){const o=i.producerNode.deref();if(null!=o&&i.atTrackingVersion===this.trackingVersion){if(o.producerPollStatus(i.seenValueVersion))return!0}else this.producers.delete(t),o?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=It;It=!0;try{for(const[i,o]of this.consumers){const s=o.consumerNode.deref();null!=s&&s.trackingVersion===o.atTrackingVersion?s.onConsumerDependencyMayHaveChanged():(this.consumers.delete(i),s?.producers.delete(this.id))}}finally{It=t}}producerAccessed(){if(It)throw new Error("");if(null===nt)return;let t=nt.producers.get(this.id);void 0===t?(t={consumerNode:nt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:nt.trackingVersion},nt.producers.set(this.id,t),this.consumers.set(nt.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=nt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==nt?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}function en(e,t){const i=new li(e,t?.equal??oo);return Rr(i,i.signal.bind(i))}const In=Symbol("UNSET"),Ln=Symbol("COMPUTING"),pi=Symbol("ERRORED");class li extends Qt{constructor(t,i){super(),this.computation=t,this.equal=i,this.value=In,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==In&&this.value!==Ln&&!this.consumerPollProducersForChange())return void(this.stale=!1);this.recomputeValue()}}recomputeValue(){if(this.value===Ln)throw new Error("Detected cycle in computations.");const t=this.value;this.value=Ln,this.trackingVersion++;const i=Dt(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Dt(i)}this.stale=!1,t!==In&&t!==pi&&o!==pi&&this.equal(t,o)?this.value=t:(this.value=o,this.valueVersion++)}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===pi)throw this.error;return this.value}}let ii=function Gn(){throw new Error};function Bi(){ii()}class sr extends Qt{constructor(t,i){super(),this.value=t,this.equal=i,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(t){this.producerUpdatesAllowed||Bi(),this.equal(this.value,t)||(this.value=t,this.valueVersion++,this.producerMayHaveChanged())}update(t){this.producerUpdatesAllowed||Bi(),this.set(t(this.value))}mutate(t){this.producerUpdatesAllowed||Bi(),t(this.value),this.valueVersion++,this.producerMayHaveChanged()}asReadonly(){return void 0===this.readonlySignal&&(this.readonlySignal=Rr(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}}function nr(e,t){const i=new sr(e,t?.equal??oo);return Rr(i,i.signal.bind(i),{set:i.set.bind(i),update:i.update.bind(i),mutate:i.mutate.bind(i),asReadonly:i.asReadonly.bind(i)})}function Mr(e){const t=Dt(null);try{return e()}finally{Dt(t)}}const rr=()=>{};class xr extends Qt{constructor(t,i,o){super(),this.watch=t,this.schedule=i,this.dirty=!1,this.cleanupFn=rr,this.registerOnCleanup=s=>{this.cleanupFn=s},this.consumerAllowSignalWrites=o}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Dt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Dt(t)}}cleanup(){this.cleanupFn()}}class Er{constructor(t,i,o){this.previousValue=t,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function fr(){return yo}function yo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lr),Yr}function Yr(){const e=ao(this),t=e?.current;if(t){const i=e.previous;if(i===_n)e.previous=t;else for(let o in t)i[o]=t[o];e.current=null,this.ngOnChanges(t)}}function Lr(e,t,i,o){const s=this.declaredInputs[i],m=ao(e)||function Bn(e,t){return e[kr]=t}(e,{previous:_n,current:null}),M=m.current||(m.current={}),R=m.previous,z=R[s];M[s]=new Er(z&&z.currentValue,t,R===_n),e[o]=t}fr.ngInherit=!0;const kr="__ngSimpleChanges__";function ao(e){return e[kr]||null}let Hn=null;const Qn=e=>{Hn=e},ci=function(e,t,i){Hn?.(e,t,i)},Xi="svg",mr="math";function di(e){for(;Array.isArray(e);)e=e[Cn];return e}function xe(e,t){return di(t[e])}function Z(e,t){return di(t[e.index])}function ht(e,t){return e.data[t]}function Gt(e,t){return e[t]}function Kt(e,t){const i=t[e];return ui(i)?i:i[Cn]}function Ci(e,t){return null==t?null:e[t]}function Jn(e){e[ji]=0}function Ji(e){1024&e[En]||(e[En]|=1024,er(e,1))}function Oi(e){1024&e[En]&&(e[En]&=-1025,er(e,-1))}function er(e,t){let i=e[ei];if(null===i)return;i[tr]+=t;let o=i;for(i=i[ei];null!==i&&(1===t&&1===o[tr]||-1===t&&0===o[tr]);)i[tr]+=t,o=i,i=i[ei]}function Pr(e,t){if(256==(256&e[En]))throw new ee(911,!1);null===e[Ui]&&(e[Ui]=[]),e[Ui].push(t)}const Zn={lFrame:j(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Aa(){return Zn.bindingsEnabled}function gr(){return null!==Zn.skipHydrationRootTNode}function ec(){Zn.bindingsEnabled=!0}function Is(){Zn.bindingsEnabled=!1}function dn(){return Zn.lFrame.lView}function Di(){return Zn.lFrame.tView}function La(e){return Zn.lFrame.contextLView=e,e[yi]}function ka(e){return Zn.lFrame.contextLView=null,e}function lr(){let e=Oa();for(;null!==e&&64===e.type;)e=e.parent;return e}function Oa(){return Zn.lFrame.currentTNode}function Eo(){const e=Zn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function zr(e,t){const i=Zn.lFrame;i.currentTNode=e,i.isParent=t}function Ra(){return Zn.lFrame.isParent}function Pa(){Zn.lFrame.isParent=!1}function hr(){const e=Zn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xr(){return Zn.lFrame.bindingIndex}function Ls(e){return Zn.lFrame.bindingIndex=e}function Do(){return Zn.lFrame.bindingIndex++}function qr(e){const t=Zn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function ks(e){Zn.lFrame.inI18n=e}function ic(e,t){const i=Zn.lFrame;i.bindingIndex=i.bindingRootIndex=e,Ua(t)}function Ua(e){Zn.lFrame.currentDirectiveIndex=e}function Ba(e){const t=Zn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Os(){return Zn.lFrame.currentQueryIndex}function Va(e){Zn.lFrame.currentQueryIndex=e}function rc(e){const t=e[tn];return 2===t.type?t.declTNode:1===t.type?e[Ai]:null}function Rs(e,t,i){if(i&ue.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ue.Host||(s=rc(m),null===s||(m=m[rt],10&s.type))););if(null===s)return!1;t=s,e=m}const o=Zn.lFrame=k();return o.currentTNode=t,o.lView=e,!0}function ja(e){const t=k(),i=e[tn];Zn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function k(){const e=Zn.lFrame,t=null===e?null:e.child;return null===t?j(e):t}function j(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function w(){const e=Zn.lFrame;return Zn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const q=w;function Se(){const e=w();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 Vt(){return Zn.lFrame.selectedIndex}function hn(e){Zn.lFrame.selectedIndex=e}function An(){const e=Zn.lFrame;return ht(e.tView,e.selectedIndex)}function Kn(){Zn.lFrame.currentNamespace=Xi}function $i(){Zn.lFrame.currentNamespace=mr}function _r(){!function Ha(){Zn.lFrame.currentNamespace=null}()}function wo(){return Zn.lFrame.currentNamespace}let To=!0;function Io(){return To}function Fr(e){To=e}function Ps(e,t){for(let i=t.directiveStart,o=t.directiveEnd;i=o)break}else t[z]<0&&(e[ji]+=65536),(R>13>16&&(3&e[En])===t&&(e[En]+=8192,bh(R,m)):bh(R,m)}const Ko=-1;class za{constructor(t,i,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function yh(e){return e!==Ko}function Us(e){return 32767&e}function Bs(e,t){let i=function ub(e){return e>>16}(e),o=t;for(;i>0;)o=o[rt],i--;return o}let sc=!0;function Vs(e){const t=sc;return sc=e,t}const vh=255,Ch=5;let db=0;const so={};function js(e,t){const i=Mh(e,t);if(-1!==i)return i;const o=t[tn];o.firstCreatePass&&(e.injectorIndex=t.length,lc(o.data,e),lc(t,null),lc(o.blueprint,null));const s=cc(e,t),m=e.injectorIndex;if(yh(s)){const M=Us(s),R=Bs(s,t),z=R[tn].data;for(let be=0;be<8;be++)t[m+be]=R[M+be]|z[M+be]}return t[m+8]=s,m}function lc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,s=t;for(;null!==s;){if(o=Ah(s),null===o)return Ko;if(i++,s=s[rt],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return Ko}function uc(e,t,i){!function hb(e,t,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(_t)&&(o=i[_t]),null==o&&(o=i[_t]=db++);const s=o&vh;t.data[e+(s>>Ch)]|=1<=0?t&vh:gb:t}(i);if("function"==typeof m){if(!Rs(t,e,o))return o&ue.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ue.Optional)return M;he()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,be=o&ue.Host?t[Zt][Ai]:null;for((-1===R||o&ue.SkipSelf)&&(z=-1===R?cc(e,t):t[R+8],z!==Ko&&Ih(o,!1)?(M=t[tn],R=Us(z),t=Bs(z,t)):R=-1);-1!==R;){const Ge=t[tn];if(Th(m,R,Ge.data)){const ft=mb(R,t,i,M,o,be);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===be)&&Th(m,R,t)?(M=Ge,R=Us(z),t=Bs(z,t)):R=-1}}return s}function mb(e,t,i,o,s,m){const M=t[tn],R=M.data[e+8],Ge=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ue.Host&&m===R);return null!==Ge?Ro(t,M,Ge,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,Ge=m>>20,Ut=s?R+Ge:e.directiveEnd;for(let $t=o?R:R+Ge;$t=z&&rn.type===i)return $t}if(s){const $t=M[z];if($t&&Ii($t)&&$t.type===i)return z}return null}function Ro(e,t,i,o){let s=e[i];const m=t.data;if(function sb(e){return e instanceof za}(s)){const M=s;M.resolving&&function Me(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ee(-200,`Circular dependency in DI detected for ${e}${i}`)}(U(m[i]));const R=Vs(M.canSeeViewProviders);M.resolving=!0;const z=M.injectImpl?dt(M.injectImpl):null;Rs(e,o,ue.Default);try{s=e[i]=M.factory(void 0,m,e,o),t.firstCreatePass&&i>=o.directiveStart&&function ob(e,t,i){const{ngOnChanges:o,ngOnInit:s,ngDoCheck:m}=t.type.prototype;if(o){const M=yo(t);(i.preOrderHooks??=[]).push(e,M),(i.preOrderCheckHooks??=[]).push(e,M)}s&&(i.preOrderHooks??=[]).push(0-e,s),m&&((i.preOrderHooks??=[]).push(e,m),(i.preOrderCheckHooks??=[]).push(e,m))}(i,m[i],t)}finally{null!==z&&dt(z),Vs(R),M.resolving=!1,q()}}return s}function Th(e,t,i){return!!(i[t+(e>>Ch)]&1<{const t=e.prototype.constructor,i=t[Et]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[Et]||dc(s);if(m&&m!==i)return m;s=Object.getPrototypeOf(s)}return m=>new m})}function dc(e){return E(e)?()=>{const t=dc(S(e));return t&&t()}:or(e)}function Ah(e){const t=e[tn],i=t.type;return 2===i?t.declTNode:1===i?e[Ai]:null}function hc(e){return function fb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const o=i.length;let s=0;for(;s{const m=fc(t);function M(...R){if(this instanceof M)return m.call(this,...R),this;const z=new M(...R);return function(Ge){return s&&s(Ge,...R),(Ge.hasOwnProperty(Qo)?Ge[Qo]:Object.defineProperty(Ge,Qo,{value:[]})[Qo]).push(z),o&&o(Ge),Ge}}return i&&(M.prototype=Object.create(i.prototype)),M.prototype.ngMetadataName=e,M.annotationCls=M,M})}function fc(e){return function(...i){if(e){const o=e(...i);for(const s in o)this[s]=o[s]}}}function qo(e,t,i){return on(()=>{const o=fc(t);function s(...m){if(this instanceof s)return o.apply(this,m),this;const M=new s(...m);return R.annotation=M,R;function R(z,be,Ge){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=Ge;)ft.push(null);return(ft[Ge]=ft[Ge]||[]).push(M),z}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function So(e,t,i,o){return on(()=>{const s=fc(t);function m(...M){if(this instanceof m)return s.apply(this,M),this;const R=new m(...M);return function z(be,Ge){if(void 0===be)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=be.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[Ge]=Ut.hasOwnProperty(Ge)&&Ut[Ge]||[],Ut[Ge].unshift(R),o&&o(be,Ge,...M)}}return i&&(m.prototype=Object.create(i.prototype)),m.prototype.ngMetadataName=e,m.annotationCls=m,m})}const Lh=qo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>hc(e)}));class Ga{}const bb=So("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),Ga),yb=So("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Ga),vb=So("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),Ga),Cb=So("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Ga);var Po=function(e){return e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule",e}(Po||{});function cr(e){const t=ge.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Oh=Function;function Wa(e){return"function"==typeof e}function $r(e){return e.flat(Number.POSITIVE_INFINITY)}function Ka(e,t){e.forEach(i=>Array.isArray(i)?Ka(i,t):t(i))}function Rh(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ya(e,t){const i=[];for(let o=0;o=0?e[1|o]=i:(o=~o,function wb(e,t,i,o){let s=e.length;if(s==t)e.push(i,o);else if(1===s)e.push(o,e[0]),e[0]=i;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=i,e[t+1]=o}}(e,o,t,i)),o}function mc(e,t){const i=Jo(e,t);if(i>=0)return e[1|i]}function Jo(e,t){return function Ph(e,t,i){let o=0,s=e.length>>i;for(;s!==o;){const m=o+(s-o>>1),M=e[m<t?s=m:o=m+1}return~(s<new t(...i)}_zipTypesAndAnnotations(t,i){let o;o=Ya(typeof t>"u"?i.length:t.length);for(let s=0;s"u"?[]:t[s]&&t[s]!=Object?[t[s]]:[],i&&null!=i[s]&&(o[s]=o[s].concat(i[s]));return o}_ownParameters(t,i){if(function Lb(e){return Tb.test(e)||Ab.test(e)||Ib.test(e)&&!Sb.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const s=t.ctorParameters;if(s&&s!==i.ctorParameters){const R="function"==typeof s?s():s,z=R.map(Ge=>Ge&&Ge.type),be=R.map(Ge=>Ge&&pc(Ge.decorators));return this._zipTypesAndAnnotations(z,be)}const m=t.hasOwnProperty(Zo)&&t[Zo],M=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return M||m?this._zipTypesAndAnnotations(M,m):Ya(t.length)}parameters(t){if(!Wa(t))return[];const i=$s(t);let o=this._ownParameters(t,i);return!o&&i!==Object&&(o=this.parameters(i)),o||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let o=t.annotations;return"function"==typeof o&&o.annotations&&(o=o.annotations),o}return t.decorators&&t.decorators!==i.decorators?pc(t.decorators):t.hasOwnProperty(Qo)?t[Qo]:null}annotations(t){if(!Wa(t))return[];const i=$s(t),o=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(o)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let o=t.propMetadata;return"function"==typeof o&&o.propMetadata&&(o=o.propMetadata),o}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const o=t.propDecorators,s={};return Object.keys(o).forEach(m=>{s[m]=pc(o[m])}),s}return t.hasOwnProperty(Xo)?t[Xo]:null}propMetadata(t){if(!Wa(t))return{};const i=$s(t),o={};if(i!==Object){const m=this.propMetadata(i);Object.keys(m).forEach(M=>{o[M]=m[M]})}const s=this._ownPropMetadata(t,i);return s&&Object.keys(s).forEach(m=>{const M=[];o.hasOwnProperty(m)&&M.push(...o[m]),M.push(...s[m]),o[m]=M}),o}ownPropMetadata(t){return Wa(t)&&this._ownPropMetadata(t,$s(t))||{}}hasLifecycleHook(t,i){return t instanceof Oh&&i in t.prototype}}function pc(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function $s(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Fh=et(qo("Inject",e=>({token:e})),-1),Gs=et(qo("Optional"),8),Uh=et(qo("Self"),2),Ws=et(qo("SkipSelf"),4),Bh=et(qo("Host"),1);let Vh=null;function gc(){return Vh=Vh||new Nh}function Ks(e){return jh(gc().parameters(e))}function jh(e){return e.map(t=>function kb(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i{const M=[];s.templateUrl&&M.push(o(s.templateUrl).then(ft=>{s.template=ft}));const R=s.styleUrls,z=s.styles||(s.styles=[]),be=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then($t=>{z[be+Ut]=$t,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const Ge=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push(Ge)}),$h(),Promise.all(t).then(()=>{})}let ea=new Map;const Qa=new Set;function zh(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function $h(){const e=ea;return ea=new Map,e}function Pb(e){return"string"==typeof e?e:e.text()}const Ys=new Map;let Gh=!0;function _c(e,t){(function Fb(e,t,i){if(t&&t!==i&&Gh)throw new Error(`Duplicate module registered for ${e} - ${l(t)} vs ${l(t.name)}`)})(t,Ys.get(t)||null,e),Ys.set(t,e)}function Wh(e){return Ys.get(e)}function Ub(e){Gh=!e}const Kh={name:"custom-elements"},Yh={name:"no-errors-schema"};let bc=!1;function Bb(e){bc=e}function Vb(){return bc}let yc=!1;function jb(e){yc=e}function Hb(){return yc}const ta="ngSkipHydration";function qh(e){const t=ta.toLowerCase(),i=e.mergedAttrs;if(null===i)return!1;for(let o=0;o|^->||--!>|)/,Wb="\u200b$1\u200b";const vc=new Map;let Kb=0;function tf(e){return vc.get(e)||null}class nf{get lView(){return tf(this.lViewId)}constructor(t,i,o){this.lViewId=t,this.nodeIndex=i,this.native=o}}function wr(e){let t=Za(e);if(t){if(ui(t)){const i=t;let o,s,m;if(sf(e)){if(o=cf(i,e),-1==o)throw new Error("The provided component was not found in the application");s=e}else if(function Xb(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(o=function Jb(e,t){let i=e[tn].firstChild;for(;i;){const s=i.directiveEnd;for(let m=i.directiveStart;m=0){const R=di(m[M]),z=Cc(m,M,R);br(R,z),t=z;break}}}}return t||null}function Cc(e,t,i){return new nf(e[Li],t,i)}function rf(e){let i,t=Za(e);if(ui(t)){const o=t,s=cf(o,e);i=Kt(s,o);const m=Cc(o,s,i[Cn]);m.component=e,br(e,m),br(m.native,m)}else i=Kt(t.nodeIndex,t.lView);return i}const Mc="__ngContext__";function br(e,t){ui(t)?(e[Mc]=t[Li],function Qb(e){vc.set(e[Li],e)}(t)):e[Mc]=t}function Za(e){const t=e[Mc];return"number"==typeof t?tf(t):t||null}function af(e){const t=Za(e);return t?ui(t)?t:t.lView:null}function sf(e){return e&&e.constructor&&e.constructor.\u0275cmp}function lf(e,t){const i=e[tn];for(let o=pt;ot.replace(Gb,Wb))}(t))}function tl(e,t,i){return e.createElement(t,i)}function pf(e,t){const i=e[vn],o=i.indexOf(t);Oi(t),i.splice(o,1)}function wc(e,t){if(e.length<=On)return;const i=On+t,o=e[i];if(o){const s=o[Pn];null!==s&&s!==e&&pf(s,o),t>0&&(e[i-1][Ei]=o[Ei]);const m=zs(e,On+t);!function oy(e,t){Ja(e,t,t[C],2,null,null),t[Cn]=null,t[Ai]=null}(o[tn],o);const M=m[Pi];null!==M&&M.detachView(m[tn]),o[ei]=null,o[Ei]=null,o[En]&=-129}return o}function gf(e,t){if(!(256&t[En])){const i=t[C];t[wt]?.destroy(),t[vt]?.destroy(),i.destroyNode&&Ja(e,t,i,3,null,null),function ly(e){let t=e[te];if(!t)return Tc(e[tn],e);for(;t;){let i=null;if(ui(t))i=t[te];else{const o=t[On];o&&(i=o)}if(!i){for(;t&&!t[Ei]&&t!==e;)ui(t)&&Tc(t[tn],t),t=t[ei];null===t&&(t=e),ui(t)&&Tc(t[tn],t),i=t&&t[Ei]}t=i}}(t)}}function Tc(e,t){if(!(256&t[En])){t[En]&=-129,t[En]|=256,function hy(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[M]():o[-M].unsubscribe(),m+=2}else i[m].call(o[i[m+1]]);null!==o&&(t[ar]=null);const s=t[Ui];if(null!==s){t[Ui]=null;for(let m=0;m-1){const{encapsulation:m}=e.data[o.directiveStart+s];if(m===Sn.None||m===Sn.Emulated)return null}return Z(o,i)}}function No(e,t,i,o,s){e.insertBefore(t,i,o,s)}function bf(e,t,i){e.appendChild(t,i)}function yf(e,t,i,o,s){null!==o?No(e,t,i,o,s):bf(e,t,i)}function nl(e,t){return e.parentNode(t)}function vf(e,t,i){return Mf(e,t,i)}function Cf(e,t,i){return 40&e.type?Z(e,i):null}let Sc,ol,Oc,al,Mf=Cf;function xf(e,t){Mf=e,Sc=t}function il(e,t,i,o){const s=Ic(e,o,t),m=t[C],R=vf(o.parent||t[Ai],o,t);if(null!=s)if(Array.isArray(i))for(let z=0;ze,createScript:e=>e,createScriptURL:e=>e})}catch{}return ol}function ia(e){return kc()?.createHTML(e)||e}function Sf(e,t,i){const o=dn(),s=An(),m=Z(s,o);if(2===s.type&&"iframe"===t.toLowerCase()){const M=m;throw M.src="",M.srcdoc=ia(""),rl(o[C],M),new ee(-910,!1)}return e}function Cy(e){Oc=e}function es(){if(void 0!==Oc)return Oc;if(typeof document<"u")return document;throw new ee(210,!1)}function Rc(){if(void 0===al&&(al=null,ge.trustedTypes))try{al=ge.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return al}function Af(e){return Rc()?.createHTML(e)||e}function Lf(e){return Rc()?.createScript(e)||e}function kf(e){return Rc()?.createScriptURL(e)||e}class Fo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$})`}}class My extends Fo{getTypeName(){return"HTML"}}class xy extends Fo{getTypeName(){return"Style"}}class Ey extends Fo{getTypeName(){return"Script"}}class Dy extends Fo{getTypeName(){return"URL"}}class wy extends Fo{getTypeName(){return"ResourceURL"}}function vo(e){return e instanceof Fo?e.changingThisBreaksApplicationSecurity:e}function ra(e,t){const i=Of(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${$})`)}return i===t}function Of(e){return e instanceof Fo&&e.getTypeName()||null}function Ty(e){return new My(e)}function Iy(e){return new xy(e)}function Sy(e){return new Ey(e)}function Ay(e){return new Dy(e)}function Ly(e){return new wy(e)}function Rf(e){const t=new Oy(e);return function Ry(){try{return!!(new window.DOMParser).parseFromString(ia(""),"text/html")}catch{return!1}}()?new ky(t):t}class ky{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(ia(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class Oy{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=ia(t),i}}const Py=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sl(e){return(e=String(e)).match(Py)?e:"unsafe:"+e}function Co(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function ts(...e){const t={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(t[o]=!0);return t}const Pf=Co("area,br,col,hr,img,wbr"),Nf=Co("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ff=Co("rp,rt"),Pc=ts(Pf,ts(Nf,Co("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")),ts(Ff,Co("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")),ts(Ff,Nf)),Nc=Co("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Uf=ts(Nc,Co("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"),Co("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")),Ny=Co("script,style,template");class Fy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,o=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?o=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,o&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let s=this.checkClobberedElement(i,i.nextSibling);if(s){i=s;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!Pc.hasOwnProperty(i))return this.sanitizedSomething=!0,!Ny.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=t.attributes;for(let s=0;s"),!0}endElement(t){const i=t.nodeName.toLowerCase();Pc.hasOwnProperty(i)&&!Pf.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(Bf(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const Uy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,By=/([^\#-~ |!])/g;function Bf(e){return e.replace(/&/g,"&").replace(Uy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(By,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ll;function Vf(e,t){let i=null;try{ll=ll||Rf(e);let o=t?String(t):"";i=ll.getInertBodyElement(o);let s=5,m=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=m,m=i.innerHTML,i=ll.getInertBodyElement(o)}while(o!==m);return ia((new Fy).sanitizeChildren(Fc(i)||i))}finally{if(i){const o=Fc(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Fc(e){return"content"in e&&function Vy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Uo=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}(Uo||{});function jf(e){const t=ns();return t?Af(t.sanitize(Uo.HTML,e)||""):ra(e,"HTML")?Af(vo(e)):Vf(es(),A(e))}function Hf(e){const t=ns();return t?t.sanitize(Uo.STYLE,e)||"":ra(e,"Style")?vo(e):A(e)}function Uc(e){const t=ns();return t?t.sanitize(Uo.URL,e)||"":ra(e,"URL")?vo(e):sl(A(e))}function Bc(e){const t=ns();if(t)return kf(t.sanitize(Uo.RESOURCE_URL,e)||"");if(ra(e,"ResourceURL"))return kf(vo(e));throw new ee(904,!1)}function zf(e){const t=ns();if(t)return Lf(t.sanitize(Uo.SCRIPT,e)||"");if(ra(e,"Script"))return Lf(vo(e));throw new ee(905,!1)}function $f(e){return ia(e[0])}function Gf(e){return function vy(e){return kc()?.createScriptURL(e)||e}(e[0])}function Wf(e,t,i){return function jy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Bc:Uc}(t,i)(e)}function ns(){const e=dn();return e&&e[Rt].sanitizer}class zi{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Bt({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const is=new zi("ENVIRONMENT_INITIALIZER"),Vc=new zi("INJECTOR",-1),Kf=new zi("INJECTOR_DEF_TYPES");class Yf{get(t,i=zt){if(i===zt){const o=new Error(`NullInjectorError: No provider for ${l(t)}!`);throw o.name="NullInjectorError",o}return i}}function jc(e){return{\u0275providers:e}}function Qf(...e){return{\u0275providers:Zf(0,e),\u0275fromNgModule:!0}}function Zf(e,...t){const i=[],o=new Set;let s;return Ka(t,m=>{const M=m;Hc(M,i,[],o)&&(s||=[],s.push(M))}),void 0!==s&&Xf(s,i),i}function Xf(e,t){for(let i=0;i{t.push(m)})}}function Hc(e,t,i,o){if(!(e=S(e)))return!1;let s=null,m=N(e);const M=!m&&gn(e);if(m||M){if(M&&!M.standalone)return!1;s=e}else{const z=e.ngModule;if(m=N(z),!m)return!1;s=z}const R=o.has(s);if(M){if(R)return!1;if(o.add(s),M.dependencies){const z="function"==typeof M.dependencies?M.dependencies():M.dependencies;for(const be of z)Hc(be,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let be;o.add(s);try{Ka(m.imports,Ge=>{Hc(Ge,t,i,o)&&(be||=[],be.push(Ge))})}finally{}void 0!==be&&Xf(be,t)}if(!R){const be=or(s)||(()=>new s);t.push({provide:s,useFactory:be,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>K(s),multi:!0})}const z=m.providers;null==z||R||zc(z,Ge=>{t.push(Ge)})}}return s!==e&&void 0!==e.providers}function zc(e,t){for(let i of e)I(i)&&(i=i.\u0275providers),Array.isArray(i)?zc(i,t):t(i)}const Hy=p({provide:String,useValue:p});function $c(e){return null!==e&&"object"==typeof e&&Hy in e}function Bo(e){return"function"==typeof e}const Gc=new zi("Set Injector scope."),cl={},$y={};let Wc;function ul(){return void 0===Wc&&(Wc=new Yf),Wc}class Vo{}class Kc extends Vo{get destroyed(){return this._destroyed}constructor(t,i,o,s){super(),this.parent=i,this.source=o,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Qc(t,M=>this.processProvider(M)),this.records.set(Vc,oa(void 0,this)),s.has("environment")&&this.records.set(Vo,oa(void 0,this));const m=this.records.get(Gc);null!=m&&"string"==typeof m.value&&this.scopes.add(m.value),this.injectorDefTypes=new Set(this.get(Kf.multi,Mn,ue.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=F(this),o=dt(void 0);try{return t()}finally{F(i),dt(o)}}get(t,i=zt,o=ue.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(mt))return t[mt](this);o=Pt(o);const s=F(this),m=dt(void 0);try{if(!(o&ue.SkipSelf)){let R=this.records.get(t);if(void 0===R){const z=function Qy(e){return"function"==typeof e||"object"==typeof e&&e instanceof zi}(t)&&Le(t);R=z&&this.injectableDefInScope(z)?oa(Yc(t),cl):null,this.records.set(t,R)}if(null!=R)return this.hydrate(t,R)}return(o&ue.Self?ul():this.parent).get(t,i=o&ue.Optional&&i===zt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[$e]=M[$e]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[$e];throw t[_e]&&s.unshift(t[_e]),e.message=function Lt(e,t,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=l(t);if(Array.isArray(t))s=t.map(l).join(" -> ");else if("object"==typeof t){let m=[];for(let M in t)if(t.hasOwnProperty(M)){let R=t[M];m.push(M+":"+("string"==typeof R?JSON.stringify(R):l(R)))}s=`{${m.join(", ")}}`}return`${i}${o?"("+o+")":""}[${s}]: ${e.replace(Ce,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[$e]=null,e}(M,t,"R3InjectorError",this.source)}throw M}finally{dt(m),F(s)}}resolveInjectorInitializers(){const t=F(this),i=dt(void 0);try{const o=this.get(is.multi,Mn,ue.Self);for(const s of o)s()}finally{F(t),dt(i)}}toString(){const t=[],i=this.records;for(const o of i.keys())t.push(l(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ee(205,!1)}processProvider(t){let i=Bo(t=S(t))?t:S(t&&t.provide);const o=function Wy(e){return $c(e)?oa(void 0,e.useValue):oa(em(e),cl)}(t);if(Bo(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=oa(void 0,cl,!0),s.factory=()=>qe(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,i){return i.value===cl&&(i.value=$y,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Yy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=S(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Yc(e){const t=Le(e),i=null!==t?t.factory:or(e);if(null!==i)return i;if(e instanceof zi)throw new ee(204,!1);if(e instanceof Function)return function Gy(e){const t=e.length;if(t>0)throw Ya(t,"?"),new ee(204,!1);const i=function at(e){return e&&(e[oe]||e[ne])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new ee(204,!1)}function em(e,t,i){let o;if(Bo(e)){const s=S(e);return or(s)||Yc(s)}if($c(e))o=()=>S(e.useValue);else if(function Jf(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...qe(e.deps||[]));else if(function qf(e){return!(!e||!e.useExisting)}(e))o=()=>K(S(e.useExisting));else{const s=S(e&&(e.useClass||e.provide));if(!function Ky(e){return!!e.deps}(e))return or(s)||Yc(s);o=()=>new s(...qe(e.deps))}return o}function oa(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Qc(e,t){for(const i of e)Array.isArray(i)?Qc(i,t):i&&I(i)?Qc(i.\u0275providers,t):t(i)}const tm=new zi("AppId",{providedIn:"root",factory:()=>Zy}),Zy="ng",nm=new zi("Platform Initializer"),Zc=new zi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Xy=new zi("Application Packages Root URL"),qy=new zi("AnimationModuleType"),Jy=new zi("CSP nonce",{providedIn:"root",factory:()=>es().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),im=new zi("",{providedIn:"root",factory:()=>new Set});function ev(e){return e}function tv(){const e=new rs;return"browser"===ut(Zc)&&(e.store=function nv(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}return{}}(es(),ut(tm))),e}let rs=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(i,o){return void 0!==this.store[i]?this.store[i]:o}set(i,o){this.store[i]=o}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,o){this.onSerializeCallbacks[i]=o}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function iv(e,t){const i=e.getAttribute(iu);if(null==i)return null;let o={};if(""!==i){const m=t.get(rs,null,{optional:!0});null!==m&&(o=m.get(nu,[])[Number(i)])}const s={data:o,firstChild:e.firstChild??null};return e.removeAttribute(iu),s}function am(e,t){return om(e,t)}function sm(e){let t=e._lView;return 2===t[tn].type?null:(Zi(t)&&(t=t[pt]),Mi(t)&&(t=t[Cn]),t)}function ru(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function ou(e,t){return e.segmentHeads?.[t]??null}function lm(e,t){return e.data[os]?.[t]??null}function au(e,t){const i=lm(e,t)??[];let o=0;for(let s of i)o+=s[as]*(s[dl]??1);return o}function fl(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[hl];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class cm{}class ml{}class uv{resolveComponentFactory(t){throw function cv(e){const t=Error(`No component factory found for ${l(e)}.`);return t.ngComponent=e,t}(t)}}let ss=(()=>{class e{}return e.NULL=new uv,e})();function dv(){return sa(lr(),dn())}function sa(e,t){return new ls(Z(e,t))}let ls=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=dv,e})();function hv(e){return e instanceof ls?e.nativeElement:e}class dm{}let fv=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function mv(){const e=dn(),i=Kt(lr().index,e);return(ui(i)?i:e)[C]}(),e})(),hm=(()=>{class e{}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:()=>null}),e})();class fm{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mm=new fm("16.1.7"),pl={};function cs(e){for(;e;){e[En]|=64;const t=Xa(e);if(Zi(e)&&!t)return e;e=t}return null}function su(e){return e.ngOriginalError}class la{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&su(t);for(;i&&su(i);)i=su(i);return i||null}}const us=new zi(""),_m=new zi("",{providedIn:"root",factory:()=>!1});function bm(e){return e.ownerDocument.defaultView}function ym(e){return e.ownerDocument}function lu(e){return e.ownerDocument.body}function Mo(e){return e instanceof Function?e():e}class xm extends Qt{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){cs(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,i,o){const s=Dt(this);this.trackingVersion++;try{t(i,o)}finally{Dt(s)}}destroy(){this.trackingVersion++}}let gl=null;function Em(){return gl??=new xm,gl}function Dm(e,t){return e[t]??Em()}function wm(e,t){const i=Em();i.hasReadASignal&&(e[t]=gl,i.lView=e,gl=new xm)}const gi={};function Tm(e){Im(Di(),dn(),Vt()+e,!1)}function Im(e,t,i,o){if(!o)if(3==(3&t[En])){const m=e.preOrderCheckHooks;null!==m&&Ns(t,m,i)}else{const m=e.preOrderHooks;null!==m&&Fs(t,m,0,i)}hn(i)}function vv(e,t){e instanceof Kc&&e.assertNotDestroyed();const i=F(e),o=dt(void 0);try{return t()}finally{F(i),dt(o)}}function Sm(e){if(!Ct()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:kt,\u0275\u0275inject:K,\u0275\u0275invalidFactoryDep:ve,resolveForwardRef:S};const Mv=p({provide:String,useValue:p});function Lm(e){return void 0!==e.useClass}function km(e){return void 0!==e.useFactory}const wv=$a("Injectable",void 0,void 0,void 0,(e,t)=>function Cv(e,t){let i=null,o=null;e.hasOwnProperty(oe)||Object.defineProperty(e,oe,{get:()=>(null===i&&(i=cr().compileInjectable(Am,`ng:///${e.name}/\u0275prov.js`,function Dv(e,t){const i=t||{providedIn:null},o={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Lm(i)||km(i))&&void 0!==i.deps&&(o.deps=jh(i.deps)),Lm(i)?o.useClass=i.useClass:function xv(e){return Mv in e}(i)?o.useValue=i.useValue:km(i)?o.useFactory=i.useFactory:function Ev(e){return void 0!==e.useExisting}(i)&&(o.useExisting=i.useExisting),o}(e,t))),i)}),e.hasOwnProperty(Et)||Object.defineProperty(e,Et,{get:()=>{if(null===o){const s=cr();o=s.compileFactory(Am,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Ks(e),target:s.FactoryTarget.Injectable})}return o},configurable:!0})}(e,t));function cu(e,t=null,i=null,o){const s=Om(e,t,i,o);return s.resolveInjectorInitializers(),s}function Om(e,t=null,i=null,o,s=new Set){const m=[i||Mn,Qf(e)];return o=o||("object"==typeof e?void 0:l(e)),new Kc(m,t||ul(),o||null,s)}let Ao=(()=>{class e{static create(i,o){if(Array.isArray(i))return cu({name:""},o,i,"");{const s=i.name??"";return cu({name:s},i.parent,i.providers,s)}}}return e.THROW_IF_NOT_FOUND=zt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>K(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ue.Default){const i=dn();return null===i?K(e,t):Dh(lr(),i,S(e),t)}function Rm(){throw new Error("invalid")}function _l(e,t,i,o,s,m,M,R,z,be,Ge){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==be||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[rt]=e,ft[yi]=i,ft[Rt]=M||e&&e[Rt],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=Ge,ft[Qi]=be,ft[Zt]=2==t.type?e[Zt]:ft,ft}function da(e,t,i,o,s){let m=e.data[t];if(null===m)m=uu(e,t,i,o,s),function nc(){return Zn.lFrame.inI18n}()&&(m.flags|=32);else if(64&m.type){m.type=i,m.value=o,m.attrs=s;const M=Eo();m.injectorIndex=null===M?-1:M.injectorIndex}return zr(m,!0),m}function uu(e,t,i,o,s){const m=Oa(),M=Ra(),z=e.data[t]=function Rv(e,t,i,o,s,m){let M=t?t.injectorIndex:-1,R=0;return gr()&&(R|=128),{type:i,index:o,insertBeforeIndex:null,injectorIndex:M,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:R,providerIndexes:0,value:s,attrs:m,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,M?m:m&&m.parent,i,t,o,s);return null===e.firstChild&&(e.firstChild=z),null!==m&&(M?null==m.child&&null!==z.parent&&(m.child=z):null===m.next&&(m.next=z,z.prev=m)),z}function ds(e,t,i,o){if(0===i)return-1;const s=t.length;for(let m=0;mpt&&Im(e,t,pt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const be=Dt(null);try{i(o,s)}finally{Dt(be)}}}finally{R&&null===t[wt]&&wm(t,wt),hn(M),ci(R?3:1,s)}}function du(e,t,i){if(qn(t)){const o=Dt(null);try{const m=t.directiveEnd;for(let M=t.directiveStart;Mnull;function Lv(e){Jh(e)?Df(e):function av(e){const t=es(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(m){const M=function ov(e){return e.textContent?.replace(/\s/gm,"")}(m);return"ngetn"===M||"ngtns"===M?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let o;const s=[];for(;o=i.nextNode();)s.push(o);for(const m of s)"ngetn"===m.textContent?m.replaceWith(t.createTextNode("")):m.remove()}(e)}function Um(e,t,i,o){for(let s in e)if(e.hasOwnProperty(s)){i=null===i?{}:i;const m=e[s];null===o?Bm(i,t,s,m):o.hasOwnProperty(s)&&Bm(i,t,o[s],m)}return i}function Bm(e,t,i,o){e.hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}function Br(e,t,i,o,s,m,M,R){const z=Z(t,i);let Ge,be=t.inputs;!R&&null!=be&&(Ge=be[o])?(yu(e,i,Ge,o,s),ni(t)&&function Fv(e,t){const i=Kt(t,e);16&i[En]||(i[En]|=64)}(i,t.index)):3&t.type&&(o=function Nv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),s=null!=M?M(s,t.value||"",o):s,m.setProperty(z,o,s))}function pu(e,t,i,o){if(Aa()){const s=null===o?null:{"":-1},m=function zv(e,t){const i=e.directiveRegistry;let o=null,s=null;if(i)for(let m=0;m0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(M)!=R&&M.push(R),M.push(i,o,m)}}(e,t,o,ds(e,i,s.hostVars,gi),s)}function lo(e,t,i,o,s,m){const M=Z(e,t);_u(t[C],M,m,e.value,i,o,s)}function _u(e,t,i,o,s,m,M){if(null==m)e.removeAttribute(t,s,i);else{const R=null==M?A(m):M(m,o||"",s);e.setAttribute(t,s,R,i)}}function Qv(e,t,i,o,s,m){const M=m[t];if(null!==M)for(let R=0;R{class e{}return e.__NG_ELEMENT_ID__=t1,e.__NG_ENV_ID__=t=>t,e})();class e1 extends Cu{constructor(t){super(),this._lView=t}onDestroy(t){return Pr(this._lView,t),()=>function Dr(e,t){if(null===e[Ui])return;const i=e[Ui].indexOf(t);-1!==i&&e[Ui].splice(i,1)}(this._lView,t)}}function t1(){return new e1(dn())}let Qm=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(i,o,s){const m=typeof Zone>"u"?null:Zone.current,M=new xr(i,be=>{this.all.has(be)&&this.queue.set(be,m)},s);let R;this.all.add(M),M.notify();const z=()=>{M.cleanup(),R?.(),this.all.delete(M),this.queue.delete(M)};return R=o?.onDestroy(z),{destroy:z}}flush(){if(0!==this.queue.size)for(const[i,o]of this.queue)this.queue.delete(i),o?o.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:()=>new e}),e})();function Zm(e,t){!t?.injector&&Sm();const i=t?.injector??ut(Ao),o=i.get(Qm),s=!0!==t?.manualCleanup?i.get(Cu):null;return o.create(e,s,!!t?.allowSignalWrites)}function yl(e,t,i){let o=i?e.styles:null,s=i?e.classes:null,m=0;if(null!==t)for(let M=0;M0){Jm(e,1);const s=e[tn].components;null!==s&&tp(e,s,1)}}function tp(e,t,i){for(let o=0;o-1&&(wc(t,o),zs(i,o))}this._attachedToViewContainer=!1}gf(this._lView[tn],this._lView)}onDestroy(t){Pr(this._lView,t)}markForCheck(){cs(this._cdRefInjectingView||this._lView)}detach(){this._lView[En]&=-129}reattach(){this._lView[En]|=128}detectChanges(){vl(this._lView[tn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ee(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sy(e,t){Ja(e,t,t[C],2,null,null)}(this._lView[tn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ee(902,!1);this._appRef=t}}class o1 extends ha{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;vl(t[tn],t,t[yi],!1)}checkNoChanges(){}get context(){return null}}class np extends ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=gn(t);return new fa(i,this.ngModule)}}function ip(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class s1{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,o){o=Pt(o);const s=this.injector.get(t,pl,o);return s!==pl||i===pl?s:this.parentInjector.get(t,i,o)}}class fa extends ml{get inputs(){const t=this.componentDef,i=t.inputTransforms,o=ip(t.inputs);if(null!==i)for(const s of o)i.hasOwnProperty(s.propName)&&(s.transform=i[s.propName]);return o}get outputs(){return ip(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Ni(e){return e.map(ai).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,o,s){let m=(s=s||this.ngModule)instanceof Vo?s:s?.injector;m&&null!==this.componentDef.getStandaloneInjector&&(m=this.componentDef.getStandaloneInjector(m)||m);const M=m?new s1(t,m):t,R=M.get(dm,null);if(null===R)throw new ee(407,!1);const Ge={rendererFactory:R,sanitizer:M.get(hm,null),effectManager:M.get(Qm,null)},ft=R.createRenderer(null,this.componentDef),Ut=this.componentDef.selectors[0][0]||"div",$t=o?function Sv(e,t,i,o){const m=o.get(_m,!1)||i===Sn.ShadowDom,M=e.selectRootElement(t,m);return function Av(e){Fm(e)}(M),M}(ft,o,this.componentDef.encapsulation,M):tl(ft,Ut,function a1(e){const t=e.toLowerCase();return"svg"===t?Xi:"math"===t?mr:null}(Ut)),kn=this.componentDef.signals?4608:this.componentDef.onPush?576:528,zn=mu(0,null,null,1,0,null,null,null,null,null,null),ln=_l(null,zn,null,kn,null,null,Ge,ft,M,null,null);let hi,Si;ja(ln);try{const Ri=this.componentDef;let vr,Zl=null;Ri.findHostDirectiveDefs?(vr=[],Zl=new Map,Ri.findHostDirectiveDefs(Ri,vr,Zl),vr.push(Ri)):vr=[Ri];const OE=function l1(e,t){const i=e[tn],o=pt;return e[o]=t,da(i,o,2,"#host",null)}(ln,$t),RE=function c1(e,t,i,o,s,m,M){const R=s[tn];!function u1(e,t,i,o){for(const s of e)t.mergedAttrs=Nn(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(yl(t,t.mergedAttrs,!0),null!==i&&If(o,i,t))}(o,e,t,M);let z=null;null!==t&&(z=am(t,s[Je]));const be=m.rendererFactory.createRenderer(t,i);let Ge=16;i.signals?Ge=4096:i.onPush&&(Ge=64);const ft=_l(s,Nm(i),null,Ge,s[e.index],e,m,be,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,$t,Ri,vr,ln,Ge,ft);Si=ht(zn,pt),$t&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function xt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,$t,o),void 0!==i&&function f1(e,t,i){const o=e.projection=[];for(let s=0;s=0;o--){const s=e[o];s.hostVars=t+=s.hostVars,s.hostAttrs=Nn(s.hostAttrs,i=Nn(i,s.hostAttrs))}}(o)}function Cl(e){return e===_n?{}:e===Mn?[]:e}function p1(e,t){const i=e.viewQuery;e.viewQuery=i?(o,s)=>{t(o,s),i(o,s)}:t}function g1(e,t){const i=e.contentQueries;e.contentQueries=i?(o,s,m)=>{t(o,s,m),i(o,s,m)}:t}function _1(e,t){const i=e.hostBindings;e.hostBindings=i?(o,s)=>{t(o,s),i(o,s)}:t}const b1=["providersResolver"],y1=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function sp(e){let i,t=ap(e.type);i=Ii(e)?t.\u0275cmp:t.\u0275dir;const o=e;for(const s of b1)o[s]=i[s];if(Ii(i))for(const s of y1)o[s]=i[s]}function lp(e){return t=>{t.findHostDirectiveDefs=cp,t.hostDirectives=(Array.isArray(e)?e:e()).map(i=>"function"==typeof i?{directive:S(i),inputs:_n,outputs:_n}:{directive:S(i.directive),inputs:up(i.inputs),outputs:up(i.outputs)})}}function cp(e,t,i){if(null!==e.hostDirectives)for(const o of e.hostDirectives){const s=pn(o.directive);v1(s.declaredInputs,o.inputs),cp(s,t,i),i.set(s,o),t.push(s)}}function up(e){if(void 0===e||0===e.length)return _n;const t={};for(let i=0;i${t}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function x1(e){switch(e){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(e.type)})`}}function ms(e,t="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const o=i.tagName.toLowerCase(),s=function S1(e){const t=[];for(let i=0;i${t}`;case Node.TEXT_NODE:const m=i.textContent?gs(i.textContent):"";return"#text"+(m?`(${m})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${gs(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function gs(e,t=50){return e?(e=function A1(e){return e.replace(/\s+/gm,"")}(e)).length>t?`${e.substring(0,t-1)}\u2026`:e:""}const L1=new RegExp(`^(\\d+)*(${qc}|${Xc})*(.*)`);function Fu(e){return e.index-pt}function Dl(e,t,i,o){let s=null;const m=Fu(o),M=e.data[tu];if(M?.[m])s=function N1(e,t){const[i,...o]=function O1(e){const t=e.match(L1),[i,o,s,m]=t,M=o?parseInt(o,10):s,R=[];for(const[z,be,Ge]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt(Ge,10)||1;R.push(be,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+pt]),function P1(e,t){let i=e;for(let o=0;o0&&i[s-1]===o?i[s]=(i[s]||1)+1:i.push(o,"")}return i.join("")}(i,o)}function U1(e,t){const i=e.parent;let o,s,m;null!==i&&3&i.type?(o=i.index,s=di(t[o]),m=A(o-pt)):(o=m=Xc,s=t[Zt][Cn]);let M=di(t[e.index]);if(12&e.type){const z=qa(t,e);z&&(M=z)}let R=gp(s,M,m);if(null===R&&s!==M&&(R=gp(s.ownerDocument.body,M,qc),null===R))throw function D1(e,t){const o=`${function Nu(e,t,i){const o=" ";let s="";t.prev?(s+=" \u2026\n",s+=o+Pu(t.prev)+"\n"):t.type&&12&t.type&&(s+=" \u2026\n"),i?(s+=o+Pu(t)+"\n",s+=o+`\x3c!-- container --\x3e ${Ru}\n`):s+=o+Pu(t)+` ${Ru}\n`,s+=" \u2026\n";const m=t.type?Ic(e[tn],t,e):null;return m&&(s=ms(m,"\n"+s)),s}(e,t,!1)}\n\n`,s=function ps(e){return`To fix this problem:\n * check ${e?`the "${e}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new ee(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+o+s)}(t,e);return R}function _p(e,t,i,o,s,m,M,R){const z=dn(),be=Di(),Ge=e+pt,ft=be.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const be=t.consts,Ge=da(t,e,4,M||null,Ci(be,R));pu(t,i,Ge,Ci(be,z)),Ps(t,Ge);const ft=Ge.tView=mu(2,Ge,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,be,null);return null!==t.queries&&(t.queries.template(t,Ge),ft.queries=t.queries.embeddedTView(Ge)),Ge}(Ge,be,z,t,i,o,s,m,M):be.data[Ge];zr(ft,!1);const Ut=bp(be,z,ft,e);Io()&&il(be,z,Ut,ft),br(Ut,z),bl(z,z[Ge]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(be,z,ft),null!=M&&fu(z,ft,R)}let bp=yp;function yp(e,t,i,o){return Fr(!0),t[C].createComment("")}function V1(e,t,i,o){const s=t[ir],m=!s||gr()||fl(s,o);if(Fr(m),m)return yp(0,t);const M=s.data[eu]?.[o]??null;null!==M&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=M);const R=Dl(s,e,t,i);return ru(s,o,R),wl(au(s,o),R)}function vp(e,t,i,o){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=o}function Cp(e){return Gt(function As(){return Zn.lFrame.contextLView}(),pt+e)}function Bu(e,t,i){const o=dn();return yr(o,Do(),t)&&Br(Di(),An(),o,e,t,o[C],i,!1),Bu}function Vu(e,t,i,o,s){const M=s?"class":"style";yu(e,i,t.inputs[M],M,o)}function Tl(e,t,i,o){const s=dn(),m=Di(),M=pt+e,R=s[C],z=m.firstCreatePass?function H1(e,t,i,o,s,m){const M=t.consts,z=da(t,e,2,o,Ci(M,s));return pu(t,i,z,Ci(M,m)),null!==z.attrs&&yl(z,z.attrs,!1),null!==z.mergedAttrs&&yl(z,z.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,z),z}(M,m,s,t,i,o):m.data[M],be=Mp(m,s,z,R,t,e);s[M]=be;const Ge=oi(z);return zr(z,!0),If(R,be,z),32!=(32&z.flags)&&Io()&&il(m,s,be,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(be,s),function Zr(){Zn.lFrame.elementDepthCount++}(),Ge&&(hu(m,s,z),du(m,z,s)),null!==o&&fu(s,z),Tl}function Il(){let e=lr();Ra()?Pa():(e=e.parent,zr(e,!1));const t=e;(function Jl(e){return Zn.skipHydrationRootTNode===e})(t)&&function Ss(){Zn.skipHydrationRootTNode=null}(),function ql(){Zn.lFrame.elementDepthCount--}();const i=Di();return i.firstCreatePass&&(Ps(i,e),qn(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function lb(e){return 0!=(8&e.flags)}(t)&&Vu(i,t,dn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function cb(e){return 0!=(16&e.flags)}(t)&&Vu(i,t,dn(),t.stylesWithoutHost,!1),Il}function ju(e,t,i,o){return Tl(e,t,i,o),Il(),ju}let Mp=(e,t,i,o,s,m)=>(Fr(!0),tl(o,s,wo()));function z1(e,t,i,o,s,m){const M=t[ir],R=!M||gr()||fl(M,m);if(Fr(R),R)return tl(o,s,wo());const z=Dl(M,e,t,i);return lm(M,m)&&ru(M,m,z.nextSibling),M&&(qh(i)||Jh(z))&&ni(i)&&(function tc(e){Zn.skipHydrationRootTNode=e}(i),Df(z)),z}function Sl(e,t,i){const o=dn(),s=Di(),m=e+pt,M=s.firstCreatePass?function G1(e,t,i,o,s){const m=t.consts,M=Ci(m,o),R=da(t,e,8,"ng-container",M);return null!==M&&yl(R,M,!0),pu(t,i,R,Ci(m,s)),null!==t.queries&&t.queries.elementStart(t,R),R}(m,s,o,t,i):s.data[m];zr(M,!0);const R=xp(s,o,M,e);return o[m]=R,Io()&&il(s,o,R,M),br(R,o),oi(M)&&(hu(s,o,M),du(s,M,o)),null!=i&&fu(o,M),Sl}function Al(){let e=lr();const t=Di();return Ra()?Pa():(e=e.parent,zr(e,!1)),t.firstCreatePass&&(Ps(t,e),qn(e)&&t.queries.elementEnd(e)),Al}function Hu(e,t,i){return Sl(e,t,i),Al(),Hu}let xp=(e,t,i,o)=>(Fr(!0),Dc(t[C],""));function W1(e,t,i,o){let s;const m=t[ir],M=!m||gr();if(Fr(M),M)return Dc(t[C],"");const R=Dl(m,e,t,i),z=function lv(e,t){const i=e.data;let o=i[Jc]?.[t]??null;return null===o&&i[os]?.[t]&&(o=au(e,t)),o}(m,o);return ru(m,o,R),s=wl(z,R),s}function Ep(){return dn()}function zu(e){return!!e&&"function"==typeof e.then}function Dp(e){return!!e&&"function"==typeof e.subscribe}function $u(e,t,i,o){const s=dn(),m=Di(),M=lr();return wp(m,s,s[C],M,e,t,o),$u}function Gu(e,t){const i=lr(),o=dn(),s=Di();return wp(s,o,Km(Ba(s.data),i,o),i,e,t),Gu}function wp(e,t,i,o,s,m,M){const R=oi(o),be=e.firstCreatePass&&Wm(e),Ge=t[yi],ft=Gm(t);let Ut=!0;if(3&o.type||M){const bn=Z(o,t),kn=M?M(bn):bn,zn=ft.length,ln=M?Si=>M(di(Si[o.index])):o.index;let hi=null;if(!M&&R&&(hi=function Y1(e,t,i,o){const s=e.cleanup;if(null!=s)for(let m=0;mz?R[z]:null}"string"==typeof M&&(m+=2)}return null}(e,t,s,o.index)),null!==hi)(hi.__ngLastListenerFn__||hi).__ngNextListenerFn__=m,hi.__ngLastListenerFn__=m,Ut=!1;else{m=Ip(o,t,Ge,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),be&&be.push(s,ln,zn,zn+1)}}else m=Ip(o,t,Ge,m,!1);const $t=o.outputs;let rn;if(Ut&&null!==$t&&(rn=$t[s])){const bn=rn.length;if(bn)for(let kn=0;kn-1?Kt(e.index,t):t);let z=Tp(t,i,o,M),be=m.__ngNextListenerFn__;for(;be;)z=Tp(t,i,be,M)&&z,be=be.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function it(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[rt],e--;return t}(e,Zn.lFrame.contextLView))[yi]}(e)}function Q1(e,t){let i=null;const o=function Wn(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let s=0;s>17&32767}function td(e){return 2|e}function Ho(e){return(131068&e)>>2}function nd(e,t){return-131069&e|t<<2}function id(e){return 1|e}function kp(e,t,i,o,s){const m=e[i+1],M=null===t;let R=o?Lo(m):Ho(m),z=!1;for(;0!==R&&(!1===z||M);){const Ge=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id(Ge):td(Ge)),R=o?Lo(Ge):Ho(Ge)}z&&(e[i+1]=o?td(m):id(m))}function tC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Jo(e,t)>=0}const ur={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Op(e){return e.substring(ur.key,ur.keyEnd)}function nC(e){return e.substring(ur.value,ur.valueEnd)}function Rp(e,t){const i=ur.textEnd;return i===t?-1:(t=ur.keyEnd=function oC(e,t,i){for(;t32;)t++;return t}(e,ur.key=t,i),xa(e,t,i))}function Pp(e,t){const i=ur.textEnd;let o=ur.key=xa(e,t,i);return i===o?-1:(o=ur.keyEnd=function aC(e,t,i){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,i),o=Fp(e,o,i),o=ur.value=xa(e,o,i),o=ur.valueEnd=function sC(e,t,i){let o=-1,s=-1,m=-1,M=t,R=M;for(;M32&&(R=M),m=s,s=o,o=-33&z}return R}(e,o,i),Fp(e,o,i))}function Np(e){ur.key=0,ur.keyEnd=0,ur.value=0,ur.valueEnd=0,ur.textEnd=e.length}function xa(e,t,i){for(;t=0;i=Pp(t,i))Hp(e,Op(t),nC(t))}function Bp(e){to(mC,uo,e,!0)}function uo(e,t){for(let i=function iC(e){return Np(e),Rp(e,xa(e,0,ur.textEnd))}(t);i>=0;i=Rp(t,i))Ur(e,Op(t),!0)}function eo(e,t,i,o){const s=dn(),m=Di(),M=qr(2);m.firstUpdatePass&&jp(m,e,M,o),t!==gi&&yr(s,M,t)&&zp(m,m.data[Vt()],s,s[C],e,s[M+1]=function gC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=l(vo(e)))),e}(t,i),o,M)}function to(e,t,i,o){const s=Di(),m=qr(2);s.firstUpdatePass&&jp(s,null,m,o);const M=dn();if(i!==gi&&yr(M,m,i)){const R=s.data[Vt()];if(Gp(R,o)&&!Vp(s,m)){let z=o?R.classesWithoutHost:R.stylesWithoutHost;null!==z&&(i=y(z,i||"")),Vu(s,R,M,i,o)}else!function pC(e,t,i,o,s,m,M,R){s===gi&&(s=Mn);let z=0,be=0,Ge=0=e.expandoStartIndex}function jp(e,t,i,o){const s=e.data;if(null===s[i+1]){const m=s[Vt()],M=Vp(e,i);Gp(m,o)&&null===t&&!M&&(t=!1),t=function cC(e,t,i,o){const s=Ba(e);let m=o?t.residualClasses:t.residualStyles;if(null===s)0===(o?t.classBindings:t.styleBindings)&&(i=_s(i=ad(null,e,t,i,o),t.attrs,o),m=null);else{const M=t.directiveStylingLast;if(-1===M||e[M]!==s)if(i=ad(s,e,t,i,o),null===m){let z=function uC(e,t,i){const o=i?t.classBindings:t.styleBindings;if(0!==Ho(o))return e[Lo(o)]}(e,t,o);void 0!==z&&Array.isArray(z)&&(z=ad(null,e,t,z[1],o),z=_s(z,t.attrs,o),function dC(e,t,i,o){e[Lo(i?t.classBindings:t.styleBindings)]=o}(e,t,o,z))}else m=function hC(e,t,i){let o;const s=t.directiveEnd;for(let m=1+t.directiveStylingLast;m0)&&(be=!0)):Ge=i,s)if(0!==z){const Ut=Lo(e[R+1]);e[o+1]=kl(Ut,R),0!==Ut&&(e[Ut+1]=nd(e[Ut+1],o)),e[R+1]=function X1(e,t){return 131071&e|t<<17}(e[R+1],o)}else e[o+1]=kl(R,0),0!==R&&(e[R+1]=nd(e[R+1],o)),R=o;else e[o+1]=kl(z,0),0===R?R=o:e[z+1]=nd(e[z+1],o),z=o;be&&(e[o+1]=td(e[o+1])),kp(e,Ge,o,!0),kp(e,Ge,o,!1),function eC(e,t,i,o,s){const m=s?e.residualClasses:e.residualStyles;null!=m&&"string"==typeof t&&Jo(m,t)>=0&&(i[o+1]=id(i[o+1]))}(t,Ge,e,o,m),M=kl(R,z),m?t.classBindings=M:t.styleBindings=M}(s,m,t,i,M,o)}}function ad(e,t,i,o,s){let m=null;const M=i.directiveEnd;let R=i.directiveStylingLast;for(-1===R?R=i.directiveStart:R++;R0;){const z=e[s],be=Array.isArray(z),Ge=be?z[1]:z,ft=null===Ge;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let $t=ft?mc(Ut,o):Ge===o?Ut:void 0;if(be&&!Ol($t)&&($t=mc(z,o)),Ol($t)&&(R=$t,M))return R;const rn=e[s+1];s=M?Lo(rn):Ho(rn)}if(null!==t){let z=m?t.residualClasses:t.residualStyles;null!=z&&(R=mc(z,o))}return R}function Ol(e){return void 0!==e}function Gp(e,t){return 0!=(e.flags&(t?8:16))}function Wp(e,t=""){const i=dn(),o=Di(),s=e+pt,m=o.firstCreatePass?da(o,s,1,t,null):o.data[s],M=Kp(o,i,m,t,e);i[s]=M,Io()&&il(o,i,M,m),zr(m,!1)}let Kp=(e,t,i,o,s)=>(Fr(!0),el(t[C],o));function _C(e,t,i,o,s){const m=t[ir],M=!m||gr()||fl(m,s);return Fr(M),M?el(t[C],o):Dl(m,e,t,i)}function sd(e){return Rl("",e,""),sd}function Rl(e,t,i){const o=dn(),s=pa(o,e,t,i);return s!==gi&&xo(o,Vt(),s),Rl}function ld(e,t,i,o,s){const m=dn(),M=ga(m,e,t,i,o,s);return M!==gi&&xo(m,Vt(),M),ld}function cd(e,t,i,o,s,m,M){const R=dn(),z=_a(R,e,t,i,o,s,m,M);return z!==gi&&xo(R,Vt(),z),cd}function ud(e,t,i,o,s,m,M,R,z){const be=dn(),Ge=ba(be,e,t,i,o,s,m,M,R,z);return Ge!==gi&&xo(be,Vt(),Ge),ud}function dd(e,t,i,o,s,m,M,R,z,be,Ge){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,be,Ge);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){const $t=dn(),rn=va($t,e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut);return rn!==gi&&xo($t,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn);return ln!==gi&&xo(zn,Vt(),ln),md}function pd(e){const t=dn(),i=ma(t,e);return i!==gi&&xo(t,Vt(),i),pd}function Yp(e,t,i){to(Ur,uo,pa(dn(),e,t,i),!0)}function Qp(e,t,i,o,s){to(Ur,uo,ga(dn(),e,t,i,o,s),!0)}function Zp(e,t,i,o,s,m,M){to(Ur,uo,_a(dn(),e,t,i,o,s,m,M),!0)}function Xp(e,t,i,o,s,m,M,R,z){to(Ur,uo,ba(dn(),e,t,i,o,s,m,M,R,z),!0)}function qp(e,t,i,o,s,m,M,R,z,be,Ge){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,be,Ge),!0)}function Jp(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn),!0)}function n0(e){to(Ur,uo,ma(dn(),e),!0)}function r0(e,t,i){Jr(pa(dn(),e,t,i))}function o0(e,t,i,o,s){Jr(ga(dn(),e,t,i,o,s))}function a0(e,t,i,o,s,m,M){Jr(_a(dn(),e,t,i,o,s,m,M))}function s0(e,t,i,o,s,m,M,R,z){Jr(ba(dn(),e,t,i,o,s,m,M,R,z))}function l0(e,t,i,o,s,m,M,R,z,be,Ge){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,be,Ge))}function c0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn))}function d0(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn))}function h0(e){Jr(ma(dn(),e))}function gd(e,t,i,o,s){return eo(e,pa(dn(),t,i,o),s,!1),gd}function _d(e,t,i,o,s,m,M){return eo(e,ga(dn(),t,i,o,s,m),M,!1),_d}function bd(e,t,i,o,s,m,M,R,z){return eo(e,_a(dn(),t,i,o,s,m,M,R),z,!1),bd}function yd(e,t,i,o,s,m,M,R,z,be,Ge){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,be),Ge,!1),yd}function vd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,be,Ge,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,be,Ge,ft,Ut,$t,rn,bn,kn,zn),ln,!1),xd}function Ed(e,t,i){return eo(e,ma(dn(),t),i,!1),Ed}function Dd(e,t,i){const o=dn();return yr(o,Do(),t)&&Br(Di(),An(),o,e,t,o[C],i,!0),Dd}function wd(e,t,i){const o=dn();if(yr(o,Do(),t)){const m=Di(),M=An();Br(m,M,o,e,t,Km(Ba(m.data),M,o),i,!0)}return wd}const zo=void 0;var vC=["en",[["a","p"],["AM","PM"],zo],[["AM","PM"],zo,zo],[["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"]],zo,[["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"]],zo,[["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}",zo,"{1} 'at' {0}",zo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function yC(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let Ea={};function CC(e,t,i){"string"!=typeof t&&(i=t,t=e[Da.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ea[t]=e,i&&(Ea[t][Da.ExtraData]=i)}function Td(e){const t=function EC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=m0(t);if(i)return i;const o=t.split("-")[0];if(i=m0(o),i)return i;if("en"===o)return vC;throw new ee(701,!1)}function MC(e){return Td(e)[Da.CurrencyCode]||null}function f0(e){return Td(e)[Da.PluralCase]}function m0(e){return e in Ea||(Ea[e]=ge.ng&&ge.ng.common&&ge.ng.common.locales&&ge.ng.common.locales[e]),Ea[e]}function xC(){Ea={}}var Da=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}(Da||{});const DC=["zero","one","two","few","many"],$o="en-US",Pl={marker:"element"},Nl={marker:"ICU"};var Or=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Or||{});let p0=$o;function Id(e){(function We(e,t){null==e&&tt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(p0=e.toLowerCase().replace(/_/g,"-"))}function g0(e,t,i){const o=t.insertBeforeIndex,s=Array.isArray(o)?o[0]:o;return null===s?Cf(e,0,i):di(i[s])}function _0(e,t,i,o,s){const m=t.insertBeforeIndex;if(Array.isArray(m)){let M=o,R=null;if(3&t.type||(R=M,M=s),null!==M&&-1===t.componentOffset)for(let z=1;z1)for(let i=e.length-2;i>=0;i--){const o=e[i];y0(o)||SC(o,t)&&null===AC(o)&&LC(o,t.index)}}function y0(e){return!(64&e.type)}function SC(e,t){return y0(t)||e.index>t.index}function AC(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function LC(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(xf(g0,_0),e.insertBeforeIndex=t)}function bs(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function RC(e,t,i){const o=uu(e,i,64,null,null);return b0(t,o),o}function Fl(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function v0(e){return e>>>17}function C0(e){return(131070&e)>>>1}let ys=0,vs=0;function x0(e,t,i,o){const s=i[C];let M,m=null;for(let R=0;R>>1,i),null,null,$t,rn,null)}else switch(z){case Nl:const be=t[++R],Ge=t[++R];null===i[Ge]&&br(i[Ge]=Dc(s,be),i);break;case Pl:const ft=t[++R],Ut=t[++R];null===i[Ut]&&br(i[Ut]=tl(s,ft,null),i)}}}function E0(e,t,i,o,s){for(let m=0;m>>2;switch(3&Ge){case 1:const Ut=i[++be],$t=i[++be],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,$t):Br(e,rn,t,Ut,z,t[C],$t,!1);break;case 0:const bn=t[ft];null!==bn&&mf(t[C],bn,z);break;case 2:BC(e,bs(e,ft),t,z);break;case 3:D0(e,bs(e,ft),o,t)}}}}else{const z=i[m+1];if(z>0&&3==(3&z)){const Ge=bs(e,z>>>2);t[Ge.currentCaseLViewIndex]<0&&D0(e,Ge,o,t)}}m+=R}}function D0(e,t,i,o){let s=o[t.currentCaseLViewIndex];if(null!==s){let m=ys;s<0&&(s=o[t.currentCaseLViewIndex]=~s,m=-1),E0(e,o,t.update[s],i,m)}}function BC(e,t,i,o){const s=function VC(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const o=function wC(e,t){const i=f0(t)(parseInt(e,10)),o=DC[i];return void 0!==o?o:"other"}(t,function IC(){return p0}());i=e.cases.indexOf(o),-1===i&&"other"!==o&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,o);if(Fl(t,i)!==s&&(w0(e,t,i),i[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const M=i[t.anchorIdx];M&&x0(e,t.create[s],i,M)}}function w0(e,t,i){let o=Fl(t,i);if(null!==o){const s=t.remove[o];for(let m=0;m0){const R=xe(M,i);null!==R&&rl(i[C],R)}else w0(e,bs(e,~M),i)}}}function jC(){const e=[];let i,o,t=-1;function m(R,z){t=0;const be=Fl(R,z);o=null!==be?R.remove[be]:Mn}function M(){if(t0?i[R]:(e.push(t,o),m(i[tn].data[~R],i),M())}return 0===e.length?null:(o=e.pop(),t=e.pop(),M())}return function s(R,z){for(i=z;e.length;)e.pop();return m(R.value,z),M}}const Ul=/\ufffd(\d+):?\d*\ufffd/gi,HC=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,zC=/\ufffd(\d+)\ufffd/,I0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Cs="\ufffd",$C=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,GC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,WC=/\uE500/g;function S0(e,t,i,o,s,m,M){const R=ds(e,o,1,null);let z=R<i.length&&i.push(z)}return{type:o,mainBinding:s,cases:t,values:i}}function Sd(e){if(!e)return[];let t=0;const i=[],o=[],s=/[{}]/g;let m;for(s.lastIndex=0;m=s.exec(e);){const R=m.index;if("}"==m[0]){if(i.pop(),0==i.length){const z=e.substring(t,R);I0.test(z)?o.push(eM(z)):o.push(z),t=R+1}}else{if(0==i.length){const z=e.substring(t,R);o.push(z),t=R+1}i.push("{")}}const M=e.substring(t);return o.push(M),o}function tM(e,t,i,o,s,m,M,R){const z=[],be=[],Ge=[];t.cases.push(m),t.create.push(z),t.remove.push(be),t.update.push(Ge);const Ut=Rf(es()).getInertBodyElement(M),$t=Fc(Ut)||Ut;return $t?O0(e,t,i,o,z,be,Ge,$t,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,be,Ge){let ft=0,Ut=R.firstChild;for(;Ut;){const $t=ds(e,i,1,null);switch(Ut.nodeType){case Node.ELEMENT_NODE:const rn=Ut,bn=rn.tagName.toLowerCase();if(Pc.hasOwnProperty(bn)){Ad(s,Pl,bn,z,$t),e.data[$t]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[Ge];null===ft&&(ft=e[Ge]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),be&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,Ge,R&&8&R.type?s[R.index]:null),ks(!0)}function kd(){ks(!1)}function N0(e,t,i){Ld(e,t,i),kd()}function F0(e,t){const i=Di(),o=Ci(i.consts,t);!function ZC(e,t,i){const s=lr().index,m=[];if(e.firstCreatePass&&null===e.data[t]){for(let M=0;M0){const o=e.data[i];E0(e,t,Array.isArray(o)?o:o.update,Xr()-vs-1,ys)}ys=0,vs=0}(Di(),dn(),e+pt)}function B0(e,t={}){return function fM(e,t={}){let i=e;if(aM.test(e)){const o={},s=[P0];i=i.replace(sM,(m,M,R)=>{const z=M||R,be=o[z]||[];if(be.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);be.push([zn,ln,bn])}),o[z]=be),!be.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const Ge=s[s.length-1];let ft=0;for(let bn=0;bnt.hasOwnProperty(m)?`${s}${t[m]}${z}`:o),i=i.replace(cM,(o,s)=>t.hasOwnProperty(s)?t[s]:o),i=i.replace(uM,(o,s)=>{if(t.hasOwnProperty(s)){const m=t[s];if(!m.length)throw new Error(`i18n postprocess: unmatched ICU - ${o} with key: ${s}`);return m.shift()}return o})),i}(e,t)}function Rd(e,t,i,o,s){if(e=S(e),Array.isArray(e))for(let m=0;m>20;if(Bo(e)||!e.multi){const $t=new za(z,s,ua),rn=Nd(R,t,s?Ge:Ge+Ut,ft);-1===rn?(uc(js(be,M),m,R),Pd(m,e,t.length),t.push(R),be.directiveStart++,be.directiveEnd++,s&&(be.providerIndexes+=1048576),i.push($t),M.push($t)):(i[rn]=$t,M[rn]=$t)}else{const $t=Nd(R,t,Ge+Ut,ft),rn=Nd(R,t,Ge,Ge+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!($t>=0&&i[$t])){uc(js(be,M),m,R);const zn=function _M(e,t,i,o,s){const m=new za(e,i,ua);return m.multi=[],m.index=t,m.componentProviders=0,V0(m,s,o&&!i),m}(s?gM:pM,i.length,s,o,z);!s&&kn&&(i[rn].providerFactory=zn),Pd(m,e,t.length,0),t.push(R),be.directiveStart++,be.directiveEnd++,s&&(be.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,$t>-1?$t:rn,V0(i[s?rn:$t],z,!s&&o));!s&&o&&kn&&i[rn].componentProviders++}}}function Pd(e,t,i,o){const s=Bo(t),m=function zy(e){return!!e.useClass}(t);if(s||m){const z=(m?S(t.useClass):t).prototype.ngOnDestroy;if(z){const be=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const Ge=be.indexOf(i);-1===Ge?be.push(i,[o,z]):be[Ge+1].push(o,z)}else be.push(i,z)}}}function V0(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Nd(e,t,i,o){for(let s=i;s{i.providersResolver=(o,s)=>function mM(e,t,i){const o=Di();if(o.firstCreatePass){const s=Ii(e);Rd(i,o.data,o.blueprint,s,!0),Rd(t,o.data,o.blueprint,s,!1)}}(o,s?s(e):e,t)}}class wa{}class H0{}function z0(e,t){return new Bl(e,t??null,[])}const bM=z0;class Bl extends wa{constructor(t,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new np(this);const s=Fn(t);this._bootstrapComponents=Mo(s.bootstrap),this._r3Injector=Om(t,i,[{provide:wa,useValue:this},{provide:ss,useValue:this.componentFactoryResolver},...o],l(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Vl extends H0{constructor(t){super(),this.moduleType=t}create(t){return new Bl(this.moduleType,t,[])}}class $0 extends wa{constructor(t){super(),this.componentFactoryResolver=new np(this),this.instance=null;const i=new Kc([...t.providers,{provide:wa,useValue:this},{provide:ss,useValue:this.componentFactoryResolver}],t.parent||ul(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function G0(e,t,i=null){return new $0({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let vM=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const o=Zf(0,i.type),s=o.length>0?G0([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,s)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Bt({token:e,providedIn:"environment",factory:()=>new e(K(Vo))}),e})();function W0(e){e.getStandaloneInjector=t=>t.get(vM).getOrCreateStandaloneInjector(e)}function Ud(e){const t=wr(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function ey(e,t){const i=t[tn].data[e],{directiveStart:o,componentOffset:s}=i;return s>-1?t[o+s]:null}(t.nodeIndex,i)}return t.component}function K0(e){!function wM(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=wr(e),i=t?t.lView:null;return null===i?null:i[yi]}function Y0(e){const t=wr(e);let o,i=t?t.lView:null;if(null===i)return null;for(;2===i[tn].type&&(o=Xa(i));)i=o;return 512&i[En]?null:i[yi]}function Q0(e){const t=af(e);return null!==t?[ry(t)]:[]}function Z0(e){const t=wr(e),i=t?t.lView:null;return null===i?Ao.NULL:new Yo(i[tn].data[t.nodeIndex],i)}function X0(e){if(e instanceof Text)return[];const t=wr(e),i=t?t.lView:null;if(null===i)return[];const o=i[tn],s=t.nodeIndex;return o?.data[s]?(void 0===t.directives&&(t.directives=uf(s,i)),null===t.directives?[]:[...t.directives]):[]}function MM(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=gn(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?xn.OnPush:xn.Default};const o=pn(t);return o?{inputs:o.inputs,outputs:o.outputs}:null}function Bd(e){return wr(e).native}function q0(e){const t=wr(e),i=null===t?null:t.lView;if(null===i)return[];const s=i[ar],m=i[tn].cleanup,M=[];if(m&&s)for(let R=0;R=0?"dom":"output"})}}return M.sort(EM),M}function EM(e,t){return e.name==t.name?0:e.name{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==i&&(s.ctorParameters=i),null!==o&&(s.propDecorators=s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?{...s.propDecorators,...o}:o)})}function eg(e,t,i){const o=hr()+e,s=dn();return s[o]===gi?co(s,o,i?t.call(i):t()):fs(s,o)}function tg(e,t,i,o){return ug(dn(),hr(),e,t,i,o)}function ng(e,t,i,o,s){return dg(dn(),hr(),e,t,i,o,s)}function ig(e,t,i,o,s,m){return hg(dn(),hr(),e,t,i,o,s,m)}function rg(e,t,i,o,s,m,M){return fg(dn(),hr(),e,t,i,o,s,m,M)}function og(e,t,i,o,s,m,M,R){const z=hr()+e,be=dn(),Ge=Gr(be,z,i,o,s,m);return yr(be,z+4,M)||Ge?co(be,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(be,z+5)}function ag(e,t,i,o,s,m,M,R,z){const be=hr()+e,Ge=dn(),ft=Gr(Ge,be,i,o,s,m);return jo(Ge,be+4,M,R)||ft?co(Ge,be+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs(Ge,be+6)}function sg(e,t,i,o,s,m,M,R,z,be){const Ge=hr()+e,ft=dn();let Ut=Gr(ft,Ge,i,o,s,m);return xl(ft,Ge+4,M,R,z)||Ut?co(ft,Ge+7,be?t.call(be,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,Ge+7)}function lg(e,t,i,o,s,m,M,R,z,be,Ge){const ft=hr()+e,Ut=dn(),$t=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,be)||$t?co(Ut,ft+8,Ge?t.call(Ge,i,o,s,m,M,R,z,be):t(i,o,s,m,M,R,z,be)):fs(Ut,ft+8)}function cg(e,t,i,o){return mg(dn(),hr(),e,t,i,o)}function xs(e,t){const i=e[t];return i===gi?void 0:i}function ug(e,t,i,o,s,m){const M=t+i;return yr(e,M,s)?co(e,M+1,m?o.call(m,s):o(s)):xs(e,M+1)}function dg(e,t,i,o,s,m,M){const R=t+i;return jo(e,R,s,m)?co(e,R+2,M?o.call(M,s,m):o(s,m)):xs(e,R+2)}function hg(e,t,i,o,s,m,M,R){const z=t+i;return xl(e,z,s,m,M)?co(e,z+3,R?o.call(R,s,m,M):o(s,m,M)):xs(e,z+3)}function fg(e,t,i,o,s,m,M,R,z){const be=t+i;return Gr(e,be,s,m,M,R)?co(e,be+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,be+4)}function mg(e,t,i,o,s,m){let M=t+i,R=!1;for(let z=0;z=0;i--){const o=t[i];if(e===o.name)return o}}(t,i.pipeRegistry),i.data[s]=o,o.onDestroy&&(i.destroyHooks??=[]).push(s,o.onDestroy)):o=i.data[s];const m=o.factory||(o.factory=or(o.type)),M=dt(ua);try{const R=Vs(!1),z=m();return Vs(R),vp(i,dn(),s,z),z}finally{dt(M)}}function gg(e,t,i){const o=e+pt,s=dn(),m=Gt(s,o);return Es(s,o)?ug(s,hr(),t,m.transform,i,m):m.transform(i)}function _g(e,t,i,o){const s=e+pt,m=dn(),M=Gt(m,s);return Es(m,s)?dg(m,hr(),t,M.transform,i,o,M):M.transform(i,o)}function bg(e,t,i,o,s){const m=e+pt,M=dn(),R=Gt(M,m);return Es(M,m)?hg(M,hr(),t,R.transform,i,o,s,R):R.transform(i,o,s)}function yg(e,t,i,o,s,m){const M=e+pt,R=dn(),z=Gt(R,M);return Es(R,M)?fg(R,hr(),t,z.transform,i,o,s,m,z):z.transform(i,o,s,m)}function vg(e,t,i){const o=e+pt,s=dn(),m=Gt(s,o);return Es(s,o)?mg(s,hr(),t,m.transform,i,m):m.transform.apply(m,i)}function Es(e,t){return e[tn].data[t].pure}function Vd(e){return t=>{setTimeout(e,void 0,t)}}const ho=class IM extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,o){let s=t,m=i||(()=>null),M=o;if(t&&"object"==typeof t){const z=t;s=z.next?.bind(z),m=z.error?.bind(z),M=z.complete?.bind(z)}this.__isAsync&&(m=Vd(m),s&&(s=Vd(s)),M&&(M=Vd(M)));const R=super.subscribe({next:s,error:m,complete:M});return t instanceof c.w0&&t.add(R),R}};function SM(){return this._results[Symbol.iterator]()}class jl{get changes(){return this._changes||(this._changes=new ho)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=jl.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=SM)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const o=this;o.dirty=!1;const s=$r(t);(this._changesDetected=!function Eb(e,t,i){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=kM,e})();const AM=Ds,LM=class extends AM{constructor(t,i,o){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i,null)}createEmbeddedViewImpl(t,i,o){const M=this._declarationTContainer.tView,R=_l(this._declarationLView,M,t,4096&this._declarationLView[En]?4096:16,null,M.declTNode,null,null,null,i||null,o||null);R[Pn]=this._declarationLView[this._declarationTContainer.index];const be=this._declarationLView[Pi];return null!==be&&(R[Pi]=be.createEmbeddedView(M)),vu(M,R,t),new ha(R)}};function kM(){return Hl(lr(),dn())}function Hl(e,t){return 4&e.type?new LM(t,e,sa(e,t)):null}function Cg(e){const t=e[Vn]??[],o=e[ei][C];for(const s of t)OM(s,o);e[Vn]=Mn}function OM(e,t){let i=0,o=e.firstChild;if(o){const s=e.data[as];for(;inull;function FM(e,t){const i=e[Vn]??[];return t&&0!==i.length?i[0].data[rm]===t?i.shift():(Cg(e),null):null}function xg(e,t){return Mg(e,t)}let zl=(()=>{class e{}return e.__NG_ELEMENT_ID__=BM,e})();function BM(){return wg(lr(),dn())}const VM=zl,Eg=class extends VM{constructor(t,i,o){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=o}get element(){return sa(this._hostTNode,this._hostLView)}get injector(){return new Yo(this._hostTNode,this._hostLView)}get parentInjector(){const t=cc(this._hostTNode,this._hostLView);if(yh(t)){const i=Bs(t,this._hostLView),o=Us(t);return new Yo(i[tn].data[o+8],i)}return new Yo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Dg(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-On}createEmbeddedView(t,i,o){let s,m;"number"==typeof o?s=o:null!=o&&(s=o.index,m=o.injector);const M=xg(this._lContainer,t.ssrId),R=t.createEmbeddedViewImpl(i||{},m,M),z=!!M&&!Xs(this._hostTNode);return this.insertImpl(R,s,z),R}createComponent(t,i,o,s,m){const M=t&&!Wa(t);let R;if(M)R=i;else{const bn=i||{};R=bn.index,o=bn.injector,s=bn.projectableNodes,m=bn.environmentInjector||bn.ngModuleRef}const z=M?t:new fa(gn(t)),be=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?be:this.parentInjector).get(Vo,null);kn&&(m=kn)}const Ge=gn(z.componentType??{}),ft=xg(this._lContainer,Ge?.id??null),$t=z.create(be,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl($t.hostView,R,rn),$t}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,o){const s=t._lView,m=s[tn];if(function Hi(e){return Mi(e[ei])}(s)){const z=this.indexOf(t);if(-1!==z)this.detach(z);else{const be=s[ei],Ge=new Eg(be,be[Ai],be[ei]);Ge.detach(Ge.indexOf(t))}}const M=this._adjustIndex(i),R=this._lContainer;if(function cy(e,t,i,o){const s=On+o,m=i.length;o>0&&(i[s-1][Ei]=t),o0&&(m.firstChild=e,e=wl(o[as],e)),i.push(m)}return[e,i]}(z,be);e[Jt]=Ge,e[Vn]=ft}class zd{constructor(t){this.queryList=t,this.matches=null}clone(){return new zd(this.queryList)}setDirty(){this.queryList.setDirty()}}class $d{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const o=null!==t.contentQueries?t.contentQueries[0]:i.length,s=[];for(let m=0;m0)o.push(M[R/2]);else{const be=m[R+1],Ge=t[-z];for(let ft=On;ft({\u0275\u0275attribute:Eu,\u0275\u0275attributeInterpolate1:Du,\u0275\u0275attributeInterpolate2:wu,\u0275\u0275attributeInterpolate3:Tu,\u0275\u0275attributeInterpolate4:Iu,\u0275\u0275attributeInterpolate5:Su,\u0275\u0275attributeInterpolate6:Au,\u0275\u0275attributeInterpolate7:Lu,\u0275\u0275attributeInterpolate8:ku,\u0275\u0275attributeInterpolateV:Ou,\u0275\u0275defineComponent:jt,\u0275\u0275defineDirective:Wt,\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:kt,\u0275\u0275defineNgModule:le,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:K,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:ve,\u0275\u0275templateRefExtractor:Ug,\u0275\u0275resetView:ka,\u0275\u0275HostDirectivesFeature:lp,\u0275\u0275NgOnChangesFeature:fr,\u0275\u0275ProvidersFeature:j0,\u0275\u0275CopyDefinitionFeature:sp,\u0275\u0275InheritDefinitionFeature:Mu,\u0275\u0275InputTransformsFeature:hp,\u0275\u0275StandaloneFeature:W0,\u0275\u0275nextContext:Sp,\u0275\u0275namespaceHTML:_r,\u0275\u0275namespaceMathML:$i,\u0275\u0275namespaceSVG:Kn,\u0275\u0275enableBindings:ec,\u0275\u0275disableBindings:Is,\u0275\u0275elementStart:Tl,\u0275\u0275elementEnd:Il,\u0275\u0275element:ju,\u0275\u0275elementContainerStart:Sl,\u0275\u0275elementContainerEnd:Al,\u0275\u0275elementContainer:Hu,\u0275\u0275pureFunction0:eg,\u0275\u0275pureFunction1:tg,\u0275\u0275pureFunction2:ng,\u0275\u0275pureFunction3:ig,\u0275\u0275pureFunction4:rg,\u0275\u0275pureFunction5:og,\u0275\u0275pureFunction6:ag,\u0275\u0275pureFunction7:sg,\u0275\u0275pureFunction8:lg,\u0275\u0275pureFunctionV:cg,\u0275\u0275getCurrentView:Ep,\u0275\u0275restoreView:La,\u0275\u0275listener:$u,\u0275\u0275projection:Lp,\u0275\u0275syntheticHostProperty:wd,\u0275\u0275syntheticHostListener:Gu,\u0275\u0275pipeBind1:gg,\u0275\u0275pipeBind2:_g,\u0275\u0275pipeBind3:bg,\u0275\u0275pipeBind4:yg,\u0275\u0275pipeBindV:vg,\u0275\u0275projectionDef:Ap,\u0275\u0275hostProperty:Dd,\u0275\u0275property:Bu,\u0275\u0275propertyInterpolate:Wu,\u0275\u0275propertyInterpolate1:Ll,\u0275\u0275propertyInterpolate2:Ku,\u0275\u0275propertyInterpolate3:Yu,\u0275\u0275propertyInterpolate4:Qu,\u0275\u0275propertyInterpolate5:Zu,\u0275\u0275propertyInterpolate6:Xu,\u0275\u0275propertyInterpolate7:qu,\u0275\u0275propertyInterpolate8:Ju,\u0275\u0275propertyInterpolateV:ed,\u0275\u0275pipe:pg,\u0275\u0275queryRefresh:Lg,\u0275\u0275viewQuery:kg,\u0275\u0275loadQuery:Rg,\u0275\u0275contentQuery:Og,\u0275\u0275reference:Cp,\u0275\u0275classMap:Bp,\u0275\u0275classMapInterpolate1:Yp,\u0275\u0275classMapInterpolate2:Qp,\u0275\u0275classMapInterpolate3:Zp,\u0275\u0275classMapInterpolate4:Xp,\u0275\u0275classMapInterpolate5:qp,\u0275\u0275classMapInterpolate6:Jp,\u0275\u0275classMapInterpolate7:e0,\u0275\u0275classMapInterpolate8:t0,\u0275\u0275classMapInterpolateV:n0,\u0275\u0275styleMap:Jr,\u0275\u0275styleMapInterpolate1:r0,\u0275\u0275styleMapInterpolate2:o0,\u0275\u0275styleMapInterpolate3:a0,\u0275\u0275styleMapInterpolate4:s0,\u0275\u0275styleMapInterpolate5:l0,\u0275\u0275styleMapInterpolate6:c0,\u0275\u0275styleMapInterpolate7:u0,\u0275\u0275styleMapInterpolate8:d0,\u0275\u0275styleMapInterpolateV:h0,\u0275\u0275styleProp:rd,\u0275\u0275stylePropInterpolate1:gd,\u0275\u0275stylePropInterpolate2:_d,\u0275\u0275stylePropInterpolate3:bd,\u0275\u0275stylePropInterpolate4:yd,\u0275\u0275stylePropInterpolate5:vd,\u0275\u0275stylePropInterpolate6:Cd,\u0275\u0275stylePropInterpolate7:Md,\u0275\u0275stylePropInterpolate8:xd,\u0275\u0275stylePropInterpolateV:Ed,\u0275\u0275classProp:od,\u0275\u0275advance:Tm,\u0275\u0275template:_p,\u0275\u0275text:Wp,\u0275\u0275textInterpolate:sd,\u0275\u0275textInterpolate1:Rl,\u0275\u0275textInterpolate2:ld,\u0275\u0275textInterpolate3:cd,\u0275\u0275textInterpolate4:ud,\u0275\u0275textInterpolate5:dd,\u0275\u0275textInterpolate6:hd,\u0275\u0275textInterpolate7:fd,\u0275\u0275textInterpolate8:md,\u0275\u0275textInterpolateV:pd,\u0275\u0275i18n:N0,\u0275\u0275i18nAttributes:F0,\u0275\u0275i18nExp:Od,\u0275\u0275i18nStart:Ld,\u0275\u0275i18nEnd:kd,\u0275\u0275i18nApply:U0,\u0275\u0275i18nPostprocess:B0,\u0275\u0275resolveWindow:bm,\u0275\u0275resolveDocument:ym,\u0275\u0275resolveBody:lu,\u0275\u0275setComponentScope:ke,\u0275\u0275setNgModuleScope:Xe,\u0275\u0275registerNgModuleType:_c,\u0275\u0275sanitizeHtml:jf,\u0275\u0275sanitizeStyle:Hf,\u0275\u0275sanitizeResourceUrl:Bc,\u0275\u0275sanitizeScript:zf,\u0275\u0275sanitizeUrl:Uc,\u0275\u0275sanitizeUrlOrResourceUrl:Wf,\u0275\u0275trustConstantHtml:$f,\u0275\u0275trustConstantResourceUrl:Gf,\u0275\u0275validateIframeAttribute:Sf,forwardRef:D,resolveForwardRef:S}))();let Ta=null;function qM(){Ta=null}function Yd(e){return!!Fn(e)}const ws=[];let Qd=!1;function Vg(){if(!Qd){Qd=!0;try{for(let e=ws.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=ws[e];i.declarations&&i.declarations.every(jg)&&(ws.splice(e,1),ix(t,i))}}finally{Qd=!1}}}function jg(e){return Array.isArray(e)?e.every(jg):!!S(e)}function Hg(e,t={}){zg(e,t),void 0!==t.id&&_c(e,t.id),function JM(e,t){ws.push({moduleType:e,ngModule:t})}(e,t)}function zg(e,t,i=!1){const o=$r(t.declarations||Mn);let s=null;Object.defineProperty(e,Yi,{configurable:!0,get:()=>(null===s&&(s=cr().compileNgModule(Tr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:$r(t.bootstrap||Mn).map(S),declarations:o.map(S),imports:$r(t.imports||Mn).map(S).map(Wg),exports:$r(t.exports||Mn).map(S).map(Wg),schemas:t.schemas?$r(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])),s)});let m=null;Object.defineProperty(e,Et,{get:()=>{if(null===m){const R=cr();m=R.compileFactory(Tr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Ks(e),target:R.FactoryTarget.NgModule,typeArgumentCount:0})}return m},configurable:!1});let M=null;Object.defineProperty(e,Y,{get:()=>{if(null===M){const R={name:e.name,type:e,providers:t.providers||Mn,imports:[(t.imports||Mn).map(S),(t.exports||Mn).map(S)]};M=cr().compileInjector(Tr,`ng:///${e.name}/\u0275inj.js`,R)}return M},configurable:!1})}let $l=new WeakMap,Xd=new WeakMap;function nx(){$l=new WeakMap,Xd=new WeakMap,ws.length=0,Gi.clear()}function ix(e,t){const i=$r(t.declarations||Mn),o=Go(e);i.forEach(s=>{(s=S(s)).hasOwnProperty(xi)?qd(gn(s),o):!s.hasOwnProperty(fi)&&!s.hasOwnProperty(Vi)&&(s.ngSelectorScope=e)})}function qd(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(xi)?gn(i):pn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>si(i)),e.schemas=t.schemas,e.tView=null}function Go(e){if(Yd(e))return function rx(e){const t=Fn(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Mo(t.imports).forEach(o=>{const s=Go(o);s.exported.directives.forEach(m=>i.compilation.directives.add(m)),s.exported.pipes.forEach(m=>i.compilation.pipes.add(m))}),Mo(t.declarations).forEach(o=>{si(o)?i.compilation.pipes.add(o):i.compilation.directives.add(o)}),Mo(t.exports).forEach(o=>{const s=o;if(Yd(s)){const m=Go(s);m.exported.directives.forEach(M=>{i.compilation.directives.add(M),i.exported.directives.add(M)}),m.exported.pipes.forEach(M=>{i.compilation.pipes.add(M),i.exported.pipes.add(M)})}else si(s)?i.exported.pipes.add(s):i.exported.directives.add(s)}),t.transitiveCompileScopes=i,i}(e);if(jn(e)){if(null!==(gn(e)||pn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==si(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function Wg(e){return function Bg(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let Jd=0;function Kg(e,t){let i=null;(function Ob(e,t){zh(t)&&(ea.set(e,t),Qa.add(e))})(e,t),Qg(e,t),Object.defineProperty(e,xi,{get:()=>{if(null===i){const o=cr();if(zh(t)){const be=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&be.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&be.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),be.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(be.join("\n"))}const s=function XM(){return Ta}();let m=t.preserveWhitespaces;void 0===m&&(m=null!==s&&void 0!==s.preserveWhitespaces&&s.preserveWhitespaces);let M=t.encapsulation;void 0===M&&(M=null!==s&&void 0!==s.defaultEncapsulation?s.defaultEncapsulation:Sn.Emulated);const R=t.templateUrl||`ng:///${e.name}/template.html`,z={...Zg(e,t),typeSourceSpan:o.createParseSourceSpan("Component",e.name,R),template:t.template||"",preserveWhitespaces:m,styles:t.styles||Mn,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:M,interpolation:t.interpolation,viewProviders:t.viewProviders||null};Jd++;try{if(z.usesInheritance&&Xg(e),i=o.compileComponent(Tr,R,z),t.standalone){const be=$r(t.imports||Mn),{directiveDefs:Ge,pipeDefs:ft}=function ax(e,t){let i=null,o=null;return{directiveDefs:()=>{if(null===i){i=[gn(e)];const M=new Set([e]);for(const R of t){const z=S(R);if(!M.has(z))if(M.add(z),Fn(z)){const be=Go(z);for(const Ge of be.exported.directives){const ft=gn(Ge)||pn(Ge);ft&&!M.has(Ge)&&(M.add(Ge),i.push(ft))}}else{const be=gn(z)||pn(z);be&&i.push(be)}}}return i},pipeDefs:()=>{if(null===o){o=[];const M=new Set;for(const R of t){const z=S(R);if(!M.has(z))if(M.add(z),Fn(z)){const be=Go(z);for(const Ge of be.exported.pipes){const ft=si(Ge);ft&&!M.has(Ge)&&(M.add(Ge),o.push(ft))}}else{const be=si(z);be&&o.push(be)}}}return o}}}(e,be);i.directiveDefs=Ge,i.pipeDefs=ft,i.dependencies=()=>be.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const be=Go(e.ngSelectorScope);qd(i,be)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${U(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function eh(e,t){let i=null;Qg(e,t||{}),Object.defineProperty(e,fi,{get:()=>{if(null===i){const o=Yg(e,t||{});i=cr().compileDirective(Tr,o.sourceMapUrl,o.metadata)}return i},configurable:!1})}function Yg(e,t){const i=e&&e.name,o=`ng:///${i}/\u0275dir.js`,s=cr(),m=Zg(e,t);return m.typeSourceSpan=s.createParseSourceSpan("Directive",i,o),m.usesInheritance&&Xg(e),{metadata:m,sourceMapUrl:o}}function Qg(e,t){let i=null;Object.defineProperty(e,Et,{get:()=>{if(null===i){const o=Yg(e,t),s=cr();i=s.compileFactory(Tr,`ng:///${e.name}/\u0275fac.js`,{name:o.metadata.name,type:o.metadata.type,typeArgumentCount:0,deps:Ks(e),target:s.FactoryTarget.Directive})}return i},configurable:!1})}function lx(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Zg(e,t){const i=gc(),o=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||_n,propMetadata:o,inputs:t.inputs||Mn,outputs:t.outputs||Mn,queries:qg(e,o,Jg),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!lx(e),exportAs:dx(t.exportAs),providers:t.providers||null,viewQueries:qg(e,o,e_),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:t.hostDirectives?.map(s=>"function"==typeof s?{directive:s}:s)||null}}function Xg(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!pn(i)&&!gn(i)&&fx(i)&&eh(i,null),i=Object.getPrototypeOf(i)}function cx(e){return"string"==typeof e?n_(e):S(e)}function ux(e,t){return{propertyName:e,predicate:cx(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function qg(e,t,i){const o=[];for(const s in t)if(t.hasOwnProperty(s)){const m=t[s];m.forEach(M=>{if(i(M)){if(!M.selector)throw new Error(`Can't construct a query for the property "${s}" of "${U(e)}" since the query selector wasn't defined.`);if(m.some(t_))throw new Error("Cannot combine @Input decorators with query decorators");o.push(ux(s,M))}})}return o}function dx(e){return void 0===e?null:n_(e)}function Jg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function e_(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function t_(e){return"Input"===e.ngMetadataName}function n_(e){return e.split(",").map(t=>t.trim())}const hx=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function fx(e){const t=gc();if(hx.some(o=>t.hasLifecycleHook(e,o)))return!0;const i=t.propMetadata(e);for(const o in i){const s=i[o];for(let m=0;m{if(null===o){const s=r_(e,t),m=cr();o=m.compileFactory(Tr,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s.type,typeArgumentCount:0,deps:Ks(e),target:m.FactoryTarget.Pipe})}return o},configurable:!1}),Object.defineProperty(e,Vi,{get:()=>{if(null===i){const s=r_(e,t);i=cr().compilePipe(Tr,`ng:///${s.name}/\u0275pipe.js`,s)}return i},configurable:!1})}function r_(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const o_=$a("Directive",(e={})=>e,void 0,void 0,(e,t)=>eh(e,t)),mx=$a("Component",(e={})=>({changeDetection:xn.Default,...e}),o_,void 0,(e,t)=>Kg(e,t)),px=$a("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,t)=>i_(e,t)),gx=So("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),_x=So("Output",e=>({alias:e})),bx=So("HostBinding",e=>({hostPropertyName:e})),yx=So("HostListener",(e,t)=>({eventName:e,args:t})),vx=$a("NgModule",e=>e,void 0,void 0,(e,t)=>Hg(e,t)),a_=new zi("Application Initializer");let Gl=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=ut(a_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const s of this.appInits){const m=s();if(zu(m))i.push(m);else if(Dp(m)){const M=new Promise((R,z)=>{m.subscribe({complete:R,error:z})});i.push(M)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(s=>{this.reject(s)}),0===i.length&&o(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),s_=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Wl=new zi("LocaleId",{providedIn:"root",factory:()=>ut(Wl,ue.Optional|ue.SkipSelf)||function Cx(){return typeof $localize<"u"&&$localize.locale||$o}()}),Mx=new zi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),xx=new zi("Translations"),Ex=new zi("TranslationsFormat");var l_=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(l_||{});let c_=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new d.X(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class u_{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let Dx=(()=>{class e{compileModuleSync(i){return new Vl(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),m=Mo(Fn(i).declarations).reduce((M,R)=>{const z=gn(R);return z&&M.push(new fa(z)),M},[]);return new u_(o,m)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const d_=new zi("compilerOptions");class wx{}function Tx(e){cs(rf(e)),Q0(e).forEach(t=>Xm(t))}const h_="ng";let f_=!1;function Ix(){f_||(f_=!0,Wr("\u0275setProfiler",Qn),Wr("getDirectiveMetadata",MM),Wr("getComponent",Ud),Wr("getContext",K0),Wr("getListeners",q0),Wr("getOwningComponent",Y0),Wr("getHostElement",Bd),Wr("getInjector",Z0),Wr("getRootComponents",Q0),Wr("getDirectives",X0),Wr("applyChanges",Tx))}function Wr(e,t){if((typeof COMPILED>"u"||!COMPILED)&&ge){let o=ge[h_];o||(o=ge[h_]={}),o[e]=t}}function m_(...e){}class Ir{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ho(!1),this.onMicrotaskEmpty=new ho(!1),this.onStable=new ho(!1),this.onError=new ho(!1),typeof Zone>"u")throw new ee(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&i,s.shouldCoalesceRunChangeDetection=o,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function Sx(){const e="function"==typeof ge.requestAnimationFrame;let t=ge[e?"requestAnimationFrame":"setTimeout"],i=ge[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o);const s=i[Zone.__symbol__("OriginalDelegate")];s&&(i=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function kx(e){const t=()=>{!function Lx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,nh(e),e.isCheckStableRunning=!0,th(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),nh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,s,m,M,R)=>{try{return p_(e),i.invokeTask(s,m,M,R)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===m.type||e.shouldCoalesceRunChangeDetection)&&t(),g_(e)}},onInvoke:(i,o,s,m,M,R,z)=>{try{return p_(e),i.invoke(s,m,M,R,z)}finally{e.shouldCoalesceRunChangeDetection&&t(),g_(e)}},onHasTask:(i,o,s,m)=>{i.hasTask(s,m),o===s&&("microTask"==m.change?(e._hasPendingMicrotasks=m.microTask,nh(e),th(e)):"macroTask"==m.change&&(e.hasPendingMacrotasks=m.macroTask))},onHandleError:(i,o,s,m)=>(i.handleError(s,m),e.runOutsideAngular(()=>e.onError.emit(m)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ir.isInAngularZone())throw new ee(909,!1)}static assertNotInAngularZone(){if(Ir.isInAngularZone())throw new ee(909,!1)}run(t,i,o){return this._inner.run(t,i,o)}runTask(t,i,o,s){const m=this._inner,M=m.scheduleEventTask("NgZoneEvent: "+s,t,Ax,m_,m_);try{return m.runTask(M,i,o)}finally{m.cancelTask(M)}}runGuarded(t,i,o){return this._inner.runGuarded(t,i,o)}runOutsideAngular(t){return this._outer.run(t)}}const Ax={};function th(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function nh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function p_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function g_(e){e._nesting--,th(e)}class __{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ho,this.onMicrotaskEmpty=new ho,this.onStable=new ho,this.onError=new ho}run(t,i,o){return t.apply(i,o)}runGuarded(t,i,o){return t.apply(i,o)}runOutsideAngular(t){return t()}runTask(t,i,o,s){return t.apply(i,o)}}const b_=new zi("",{providedIn:"root",factory:y_});function y_(){const e=ut(Ir);let t=!0;const i=new g.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),o=new g.y(s=>{let m;e.runOutsideAngular(()=>{m=e.onStable.subscribe(()=>{Ir.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const M=e.onUnstable.subscribe(()=>{Ir.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{m.unsubscribe(),M.unsubscribe()}});return(0,r.T)(i,o.pipe((0,f.B)()))}const v_=new zi(""),C_=new zi("");let Ox=(()=>{class e{constructor(i,o,s){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ih||(x_(s),s.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ir.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,s){let m=-1;o&&o>0&&(m=setTimeout(()=>{this._callbacks=this._callbacks.filter(M=>M.timeoutId!==m),i(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:i,timeoutId:m,updateCb:s})}whenStable(i,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,s){return[]}}return e.\u0275fac=function(i){return new(i||e)(K(Ir),K(M_),K(C_))},e.\u0275prov=Bt({token:e,factory:e.\u0275fac}),e})(),M_=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,o){this._applications.set(i,o)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,o=!0){return ih?.findTestabilityInTree(this,i,o)??null}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function x_(e){ih=e}let ih,ko=null;const rh=new zi("AllowMultipleToken"),oh=new zi("PlatformDestroyListeners"),ah=new zi("appBootstrapListener");function E_(e,t,i){const o=new Vl(i);return Promise.resolve(o)}function D_(){!function qi(e){ii=e}(()=>{throw new ee(600,!1)})}function w_(e){return e.isBoundToModule}class Rx{constructor(t,i){this.name=t,this.token=i}}function T_(e){if(ko&&!ko.get(rh,!1))throw new ee(400,!1);D_(),ko=e;const t=e.get(sh);return I_(e),t}function I_(e){e.get(nm,null)?.forEach(i=>i())}function Nx(e){try{const{rootComponent:t,appProviders:i,platformProviders:o}=e,s=function Px(e=[]){if(ko)return ko;const t=L_(e);return ko=t,D_(),I_(t),t}(o),m=[U_(),...i||[]],R=new $0({providers:m,parent:s,debugName:"",runEnvironmentInitializers:!1}).injector,z=R.get(Ir);return z.run(()=>{R.resolveInjectorInitializers();const be=R.get(la,null);let Ge;z.runOutsideAngular(()=>{Ge=z.onError.subscribe({next:$t=>{be.handleError($t)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{Ge.unsubscribe(),Ut.delete(ft)}),O_(be,z,()=>{const $t=R.get(Gl);return $t.runInitializers(),$t.donePromise.then(()=>{Id(R.get(Wl,$o)||$o);const bn=R.get(Ia);return void 0!==t&&bn.bootstrap(t),bn})})})}catch(t){return Promise.reject(t)}}function S_(e,t,i=[]){const o=`Platform: ${t}`,s=new zi(o);return(m=[])=>{let M=Kl();if(!M||M.injector.get(rh,!1)){const R=[...i,...m,{provide:s,useValue:!0}];e?e(R):T_(L_(R,o))}return A_()}}function A_(e){const t=Kl();if(!t)throw new ee(401,!1);return t}function L_(e=[],t){return Ao.create({name:t,providers:[{provide:Gc,useValue:"platform"},{provide:oh,useValue:new Set([()=>ko=null])},...e]})}function Fx(){Kl()?.destroy()}function Kl(){return ko?.get(sh)??null}let sh=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const s=function Ux(e="zone.js",t){return"noop"===e?new __:"zone.js"===e?new Ir(t):e}(o?.ngZone,k_({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return s.run(()=>{const m=function yM(e,t,i){return new Bl(e,t,i)}(i.moduleType,this.injector,F_(()=>s)),M=m.injector.get(la,null);return s.runOutsideAngular(()=>{const R=s.onError.subscribe({next:z=>{M.handleError(z)}});m.onDestroy(()=>{Yl(this._modules,m),R.unsubscribe()})}),O_(M,s,()=>{const R=m.injector.get(Gl);return R.runInitializers(),R.donePromise.then(()=>(Id(m.injector.get(Wl,$o)||$o),this._moduleDoBootstrap(m),m))})})}bootstrapModule(i,o=[]){const s=R_({},o);return E_(0,0,i).then(m=>this.bootstrapModuleFactory(m,s))}_moduleDoBootstrap(i){const o=i.injector.get(Ia);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!i.instance.ngDoBootstrap)throw new ee(-403,!1);i.instance.ngDoBootstrap(o)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ee(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(oh,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(K(Ao))},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function k_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}function O_(e,t,i){try{const o=i();return zu(o)?o.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}function R_(e,t){return Array.isArray(t)?t.reduce(R_,e):{...e,...t}}let Ia=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ut(N_),this.zoneIsStable=ut(b_),this.componentTypes=[],this.components=[],this.isStable=ut(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,h.of)(!1):this.zoneIsStable),(0,v.x)(),(0,f.B)()),this._injector=ut(Vo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const s=i instanceof ml;if(!this._injector.get(Gl).done)throw!s&&jn(i),new ee(405,!1);let M;M=s?i:this._injector.get(ss).resolveComponentFactory(i),this.componentTypes.push(M.componentType);const R=w_(M)?void 0:this._injector.get(wa),be=M.create(Ao.NULL,[],o||M.selector,R),Ge=be.location.nativeElement,ft=be.injector.get(v_,null);return ft?.registerApplication(Ge),be.onDestroy(()=>{this.detachView(be.hostView),Yl(this.components,be),ft?.unregisterApplication(Ge)}),this._loadComponent(be),be}tick(){if(this._runningTick)throw new ee(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Yl(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(ah,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>Yl(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new ee(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Yl(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const N_=new zi("",{providedIn:"root",factory:()=>ut(la).handleError.bind(void 0)});function Bx(){const e=ut(Ir),t=ut(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=ut(Ir),this.applicationRef=ut(Ia)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Bt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function F_(e){return[{provide:Ir,useFactory:e},{provide:is,multi:!0,useFactory:()=>{const t=ut(Vx,{optional:!0});return()=>t.initialize()}},{provide:N_,useFactory:Bx},{provide:b_,useFactory:y_}]}function U_(e){return jc([[],F_(()=>new Ir(k_(e)))])}function jx(){return!1}function Hx(){}function zx(e){const t=Wh(e);if(!t)throw B_(e);return new Vl(t)}function $x(e){const t=Wh(e);if(!t)throw B_(e);return t}function B_(e){return new Error(`No module with ID ${e} loaded`)}let V_=(()=>{class e{}return e.__NG_ELEMENT_ID__=j_,e})();function j_(e){return function Gx(e,t,i){if(ni(e)&&!i){const o=Kt(e.index,t);return new ha(o,o)}return 47&e.type?new ha(t[Zt],t):null}(lr(),dn(),16==(16&e))}class H_ extends V_{}class Wx extends H_{}class Kx{constructor(t,i){this.name=t,this.callback=i}}function Yx(e){return e.map(t=>t.nativeElement)}class lh{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ts(t):null}get injector(){return Z0(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Ud(t)||Y0(t))}get context(){return Ud(this.nativeNode)||K0(this.nativeNode)}get listeners(){return q0(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function xM(e){const t=wr(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function ty(e,t){const i=e[tn].data[t];if(i&&i.localNames){const o={};let s=i.index+1;for(let m=0;m1){let Ge=z[1];for(let ft=1;ftt[m]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let o=0;o{if(m.name===t){const M=m.callback;M.call(o,i),s.push(M)}}),"function"==typeof o.eventListeners&&o.eventListeners(t).forEach(m=>{if(-1!==m.toString().indexOf("__ngUnwrap__")){const M=m("__ngUnwrap__");return-1===s.indexOf(M)&&M.call(o,i)}})}}function Zx(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function z_(e,t,i,o){const s=wr(e.nativeNode),m=s?s.lView:null;null!==m?Wo(m[tn].data[s.nodeIndex],m,t,i,o,e.nativeNode):uh(e.nativeNode,t,i,o)}function Wo(e,t,i,o,s,m){const M=function Ue(e,t){const i=null===e?-1:e.index;return-1!==i?di(t[i]):null}(e,t);if(11&e.type){if(ch(M,i,o,s,m),ni(e)){const z=Kt(e.index,t);z&&z[tn].firstChild&&Wo(z[tn].firstChild,z,i,o,s,m)}else e.child&&Wo(e.child,t,i,o,s,m),M&&uh(M,i,o,s);const R=t[e.index];Mi(R)&&$_(R,i,o,s,m)}else if(4&e.type){const R=t[e.index];ch(R[Jt],i,o,s,m),$_(R,i,o,s,m)}else if(16&e.type){const R=t[Zt],be=R[Ai].projection[e.projection];if(Array.isArray(be))for(let Ge of be)ch(Ge,i,o,s,m);else if(be){const Ge=R[ei];Wo(Ge[tn].data[be.index],Ge,i,o,s,m)}}else e.child&&Wo(e.child,t,i,o,s,m);if(m!==M){const R=2&e.flags?e.projectionNext:e.next;R&&Wo(R,t,i,o,s,m)}}function $_(e,t,i,o,s){for(let m=On;mt;class W_{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||qx}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,o=this._removalsHead,s=0,m=null;for(;i||o;){const M=!o||i&&i.currentIndex{M=this._trackByFn(s,R),null!==i&&Object.is(i.trackById,M)?(o&&(i=this._verifyReinsertion(i,R,M,s)),Object.is(i.item,R)||this._addIdentityChange(i,R)):(i=this._mismatch(i,R,M,s),o=!0),i=i._next,s++}),this.length=s;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,o,s){let m;return null===t?m=this._itTail:(m=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,m,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,s))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,m,s)):t=this._addAfter(new Jx(i,o),m,s),t}_verifyReinsertion(t,i,o,s){let m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==m?t=this._reinsertAfter(m,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,m=t._nextRemoved;return null===s?this._removalsHead=m:s._nextRemoved=m,null===m?this._removalsTail=s:m._prevRemoved=s,this._insertAfter(t,i,o),this._addToMoves(t,o),t}_moveAfter(t,i,o){return this._unlink(t),this._insertAfter(t,i,o),this._addToMoves(t,o),t}_addAfter(t,i,o){return this._insertAfter(t,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,o){const s=null===i?this._itHead:i._next;return t._next=s,t._prev=i,null===s?this._itTail=t:s._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new K_),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,o=t._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new K_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Jx{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class eE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const i=t._prevDup,o=t._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class K_{constructor(){this.map=new Map}put(t){const i=t.trackById;let o=this.map.get(i);o||(o=new eE,this.map.set(i,o)),o.add(t)}get(t,i){const s=this.map.get(t);return s?s.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Y_(e,t,i){const o=e.previousIndex;if(null===o)return o;let s=0;return i&&o{if(i&&i.key===s)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const m=this._getOrCreateRecordForKey(s,o);i=this._insertBeforeOrAppend(i,m)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let o=i;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const o=t._prev;return i._next=t,i._prev=o,t._prev=i,o&&(o._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,i);const m=s._prev,M=s._next;return m&&(m._next=M),M&&(M._prev=m),s._next=null,s._prev=null,s}const o=new nE(t);return this._records.set(t,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(o=>i(t[o],o))}}class nE{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Z_(){return new fh([new G_])}let fh=(()=>{class e{constructor(i){this.factories=i}static create(i,o){if(null!=o){const s=o.factories.slice();i=i.concat(s)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Z_()),deps:[[e,new Ws,new Gs]]}}find(i){const o=this.factories.find(s=>s.supports(i));if(null!=o)return o;throw new ee(901,!1)}}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:Z_}),e})();function X_(){return new mh([new Q_])}let mh=(()=>{class e{constructor(i){this.factories=i}static create(i,o){if(o){const s=o.factories.slice();i=i.concat(s)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||X_()),deps:[[e,new Ws,new Gs]]}}find(i){const o=this.factories.find(s=>s.supports(i));if(o)return o;throw new ee(901,!1)}}return e.\u0275prov=Bt({token:e,providedIn:"root",factory:X_}),e})();const iE=[new Q_],oE=new fh([new G_]),aE=new mh(iE),sE=S_(null,"core",[]);let lE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(K(Ia))},e.\u0275mod=le({type:e}),e.\u0275inj=kt({}),e})();class cE{constructor(){this.views=[],this.indexByContent=new Map}add(t){const i=JSON.stringify(t);if(!this.indexByContent.has(i)){const o=this.views.length;return this.views.push(t),this.indexByContent.set(i,o),o}return this.indexByContent.get(i)}getAll(){return this.views}}let uE=0;function q_(e){return e.ssrId||(e.ssrId="t"+uE++),e.ssrId}function J_(e,t,i){const o=[];return hs(e,t,i,o),o.length}function dE(e,t){const i=new cE,o=new Map,s=e._views;for(const R of s){const z=sm(R);if(null!==z){const be=z[Cn];be&&!be.hasAttribute(ta)&&(gh(be,z,{serializedViewCollection:i,corruptedTextNodes:o}),mE(o,t))}}const m=i.getAll();e.injector.get(rs).set(nu,m)}function hE(e,t){const i=[];let o="";for(let s=On;s0&&Ge===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=Ge,i.push(be)}return i}function ph(e,t,i){const o=t.index-pt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-pt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=pt;s{let e=!0;return Ql()&&(e=!!ut(rs,{optional:!0})?.get(nu,null)),e&&ut(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&ut(us)&&function gE(){ib||(ib=!0,function rv(){om=iv}(),function $1(){Mp=z1}(),function bC(){Kp=_C}(),function K1(){xp=W1}(),function j1(){bp=V1}(),function zM(){Tg=HM}(),function UM(){Mg=FM}(),function kv(){Fm=Lv}())}()},multi:!0},{provide:_m,useFactory:()=>Ql()&&ut(us)},{provide:ah,useFactory:()=>{if(Ql()&&ut(us)){const e=ut(Ia);return ut(Ao),()=>{(function _E(e,t){return e.isStable.pipe((0,b.P)(o=>o)).toPromise().then(()=>{})})(e).then(()=>{!function PM(e){const t=e._views;for(const i of t){const o=sm(i);null!==o&&null!==o[Cn]&&jd(o)}}(e)})}}return()=>{}},multi:!0}])}function yE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function vE(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function CE(e){return cr().compileDirectiveDeclaration(Tr,`ng:///${e.type.name}/\u0275fac.js`,e)}function ME(e){J0(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function xE(e){return cr().compileComponentDeclaration(Tr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function EE(e){return cr(function DE(e){switch(e){case Po.Directive:return"directive";case Po.Component:return"component";case Po.Injectable:return"injectable";case Po.Pipe:return"pipe";case Po.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Tr,`ng:///${e.type.name}/\u0275fac.js`,e)}function wE(e){return cr().compileInjectableDeclaration(Tr,`ng:///${e.type.name}/\u0275prov.js`,e)}function TE(e){return cr().compileInjectorDeclaration(Tr,`ng:///${e.type.name}/\u0275inj.js`,e)}function IE(e){return cr().compileNgModuleDeclaration(Tr,`ng:///${e.type.name}/\u0275mod.js`,e)}function SE(e){return cr().compilePipeDeclaration(Tr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function AE(e,t){const i=gn(e),o=t.elementInjector||ul();return new fa(i).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function LE(e){const t=gn(e);if(!t)return null;const i=new fa(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}function kE(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{AbstractControl:()=>ut,AbstractControlDirective:()=>gt,AbstractFormGroupDirective:()=>xt,COMPOSITION_BUFFER_MODE:()=>l,CheckboxControlValueAccessor:()=>b,CheckboxRequiredValidator:()=>On,ControlContainer:()=>Bt,DefaultValueAccessor:()=>y,EmailValidator:()=>ui,FormArray:()=>Hr,FormArrayName:()=>yi,FormBuilder:()=>io,FormControl:()=>ri,FormControlDirective:()=>En,FormControlName:()=>C,FormGroup:()=>Pt,FormGroupDirective:()=>Ei,FormGroupName:()=>Ai,FormRecord:()=>Ve,FormsModule:()=>go,MaxLengthValidator:()=>oi,MaxValidator:()=>Ht,MinLengthValidator:()=>qn,MinValidator:()=>Jt,NG_ASYNC_VALIDATORS:()=>E,NG_VALIDATORS:()=>S,NG_VALUE_ACCESSOR:()=>u,NgControl:()=>Tt,NgControlStatus:()=>ze,NgControlStatusGroup:()=>at,NgForm:()=>mi,NgModel:()=>un,NgModelGroup:()=>Xe,NgSelectOption:()=>Pn,NonNullableFormBuilder:()=>ro,NumberValueAccessor:()=>si,PatternValidator:()=>Zi,RadioControlValueAccessor:()=>Fi,RangeValueAccessor:()=>fn,ReactiveFormsModule:()=>_o,RequiredValidator:()=>Vn,SelectControlValueAccessor:()=>Zt,SelectMultipleControlValueAccessor:()=>Ui,UntypedFormArray:()=>fo,UntypedFormBuilder:()=>Sr,UntypedFormControl:()=>ai,UntypedFormGroup:()=>qe,VERSION:()=>Ar,Validators:()=>X,isFormArray:()=>mo,isFormControl:()=>Ni,isFormGroup:()=>et,isFormRecord:()=>yt,\u0275InternalFormsSharedModule:()=>jr,\u0275NgNoValidate:()=>gn,\u0275NgSelectMultipleOption:()=>ir});var n=a(5879),c=a(6814),d=a(2459),g=a(9315),r=a(7398);let h=(()=>{class fe{constructor(J,Ke){this._renderer=J,this._elementRef=Ke,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,Ke){this._renderer.setProperty(this._elementRef.nativeElement,J,Ke)}registerOnTouched(J){this.onTouched=J}registerOnChange(J){this.onChange=J}setDisabledState(J){this.setProperty("disabled",J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe}),fe})(),f=(()=>{class fe extends h{}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const u=new n.InjectionToken("NgValueAccessor"),v={provide:u,useExisting:(0,n.forwardRef)(()=>b),multi:!0};let b=(()=>{class fe extends f{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(Dn){return Ke.onChange(Dn.target.checked)})("blur",function(){return Ke.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([v]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const p={provide:u,useExisting:(0,n.forwardRef)(()=>y),multi:!0},l=new n.InjectionToken("CompositionEventMode");let y=(()=>{class fe extends h{constructor(J,Ke,Xt){super(J,Ke),this._compositionMode=Xt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function _(){const fe=(0,c.\u0275getDOM)()?(0,c.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(fe.toLowerCase())}())}writeValue(J){this.setProperty("value",J??"")}_handleInput(J){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(J)}_compositionStart(){this._composing=!0}_compositionEnd(J){this._composing=!1,this._compositionMode&&this.onChange(J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(l,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("input",function(Dn){return Ke._handleInput(Dn.target.value)})("blur",function(){return Ke.onTouched()})("compositionstart",function(){return Ke._compositionStart()})("compositionend",function(Dn){return Ke._compositionEnd(Dn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([p]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function x(fe){return null==fe||("string"==typeof fe||Array.isArray(fe))&&0===fe.length}function D(fe){return null!=fe&&"number"==typeof fe.length}const S=new n.InjectionToken("NgValidators"),E=new n.InjectionToken("NgAsyncValidators"),I=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class X{static min(ce){return $(ce)}static max(ce){return ee(ce)}static required(ce){return ie(ce)}static requiredTrue(ce){return A(ce)}static email(ce){return U(ce)}static minLength(ce){return Me(ce)}static maxLength(ce){return Re(ce)}static pattern(ce){return Ae(ce)}static nullValidator(ce){return null}static compose(ce){return G(ce)}static composeAsync(ce){return se(ce)}}function $(fe){return ce=>{if(x(ce.value)||x(fe))return null;const J=parseFloat(ce.value);return!isNaN(J)&&J{if(x(ce.value)||x(fe))return null;const J=parseFloat(ce.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:ce.value}}:null}}function ie(fe){return x(fe.value)?{required:!0}:null}function A(fe){return!0===fe.value?null:{required:!0}}function U(fe){return x(fe.value)||I.test(fe.value)?null:{email:!0}}function Me(fe){return ce=>x(ce.value)||!D(ce.value)?null:ce.value.lengthD(ce.value)&&ce.value.length>fe?{maxlength:{requiredLength:fe,actualLength:ce.value.length}}:null}function Ae(fe){if(!fe)return he;let ce,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),ce=new RegExp(J)):(J=fe.toString(),ce=fe),Ke=>{if(x(Ke.value))return null;const Xt=Ke.value;return ce.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function he(fe){return null}function H(fe){return null!=fe}function W(fe){return(0,n.\u0275isPromise)(fe)?(0,d.D)(fe):fe}function pe(fe){let ce={};return fe.forEach(J=>{ce=null!=J?{...ce,...J}:ce}),0===Object.keys(ce).length?null:ce}function we(fe,ce){return ce.map(J=>J(fe))}function Be(fe){return fe.map(ce=>function Ee(fe){return!fe.validate}(ce)?ce:J=>ce.validate(J))}function G(fe){if(!fe)return null;const ce=fe.filter(H);return 0==ce.length?null:function(J){return pe(we(J,ce))}}function re(fe){return null!=fe?G(Be(fe)):null}function se(fe){if(!fe)return null;const ce=fe.filter(H);return 0==ce.length?null:function(J){const Ke=we(J,ce).map(W);return(0,g.D)(Ke).pipe((0,r.U)(pe))}}function ye(fe){return null!=fe?se(Be(fe)):null}function He(fe,ce){return null===fe?[ce]:Array.isArray(fe)?[...fe,ce]:[fe,ce]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function We(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,ce){return Array.isArray(fe)?fe.includes(ce):fe===ce}function Mt(fe,ce){const J=We(ce);return We(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Ft(fe,ce){return We(ce).filter(J=>!tt(fe,J))}class gt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ce){this._rawValidators=ce||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(ce){this._rawAsyncValidators=ce||[],this._composedAsyncValidatorFn=ye(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ce){this._onDestroyCallbacks.push(ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ce=>ce()),this._onDestroyCallbacks=[]}reset(ce=void 0){this.control&&this.control.reset(ce)}hasError(ce,J){return!!this.control&&this.control.hasError(ce,J)}getError(ce,J){return this.control?this.control.getError(ce,J):null}}class Bt extends gt{get formDirective(){return null}get path(){return null}}class Tt extends gt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class kt{constructor(ce){this._cd=ce}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ze=(()=>{class fe extends kt{constructor(J){super(J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Tt,2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275classProp("ng-untouched",Ke.isUntouched)("ng-touched",Ke.isTouched)("ng-pristine",Ke.isPristine)("ng-dirty",Ke.isDirty)("ng-valid",Ke.isValid)("ng-invalid",Ke.isInvalid)("ng-pending",Ke.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends kt{constructor(J){super(J)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275classProp("ng-untouched",Ke.isUntouched)("ng-touched",Ke.isTouched)("ng-pristine",Ke.isPristine)("ng-dirty",Ke.isDirty)("ng-valid",Ke.isValid)("ng-invalid",Ke.isInvalid)("ng-pending",Ke.isPending)("ng-submitted",Ke.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const $e="VALID",ae="INVALID",Ce="PENDING",lt="DISABLED";function _e(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,ce){return(V(ce)?ce.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function K(fe,ce,J){const Ke=fe.controls;if(!(ce?Object.keys(Ke):Ke).length)throw new n.\u0275RuntimeError(1e3,"");if(!Ke[J])throw new n.\u0275RuntimeError(1001,"")}function ve(fe,ce,J){fe._forEachChild((Ke,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class ut{constructor(ce,J){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ce),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(ce){this._rawValidators=this._composedValidatorFn=ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=ce}get parent(){return this._parent}get valid(){return this.status===$e}get invalid(){return this.status===ae}get pending(){return this.status==Ce}get disabled(){return this.status===lt}get enabled(){return this.status!==lt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ce){this._assignValidators(ce)}setAsyncValidators(ce){this._assignAsyncValidators(ce)}addValidators(ce){this.setValidators(Mt(ce,this._rawValidators))}addAsyncValidators(ce){this.setAsyncValidators(Mt(ce,this._rawAsyncValidators))}removeValidators(ce){this.setValidators(Ft(ce,this._rawValidators))}removeAsyncValidators(ce){this.setAsyncValidators(Ft(ce,this._rawAsyncValidators))}hasValidator(ce){return tt(this._rawValidators,ce)}hasAsyncValidator(ce){return tt(this._rawAsyncValidators,ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ce={}){this.touched=!0,this._parent&&!ce.onlySelf&&this._parent.markAsTouched(ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ce=>ce.markAllAsTouched())}markAsUntouched(ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}markAsDirty(ce={}){this.pristine=!1,this._parent&&!ce.onlySelf&&this._parent.markAsDirty(ce)}markAsPristine(ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}markAsPending(ce={}){this.status=Ce,!1!==ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ce.onlySelf&&this._parent.markAsPending(ce)}disable(ce={}){const J=this._parentMarkedDirty(ce.onlySelf);this.status=lt,this.errors=null,this._forEachChild(Ke=>{Ke.disable({...ce,onlySelf:!0})}),this._updateValue(),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ce,skipPristineCheck:J}),this._onDisabledChange.forEach(Ke=>Ke(!0))}enable(ce={}){const J=this._parentMarkedDirty(ce.onlySelf);this.status=$e,this._forEachChild(Ke=>{Ke.enable({...ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent}),this._updateAncestors({...ce,skipPristineCheck:J}),this._onDisabledChange.forEach(Ke=>Ke(!1))}_updateAncestors(ce){this._parent&&!ce.onlySelf&&(this._parent.updateValueAndValidity(ce),ce.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ce){this._parent=ce}getRawValue(){return this.value}updateValueAndValidity(ce={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===$e||this.status===Ce)&&this._runAsyncValidator(ce.emitEvent)),!1!==ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ce.onlySelf&&this._parent.updateValueAndValidity(ce)}_updateTreeValidity(ce={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lt:$e}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ce){if(this.asyncValidator){this.status=Ce,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(Ke=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ke,{emitEvent:ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ce,J={}){this.errors=ce,this._updateControlsErrors(!1!==J.emitEvent)}get(ce){let J=ce;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((Ke,Xt)=>Ke&&Ke._find(Xt),this)}getError(ce,J){const Ke=J?this.get(J):this;return Ke&&Ke.errors?Ke.errors[ce]:null}hasError(ce,J){return!!this.getError(ce,J)}get root(){let ce=this;for(;ce._parent;)ce=ce._parent;return ce}_updateControlsErrors(ce){this.status=this._calculateStatus(),ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ce)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?lt:this.errors?ae:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ce)?Ce:this._anyControlsHaveStatus(ae)?ae:$e}_anyControlsHaveStatus(ce){return this._anyControls(J=>J.status===ce)}_anyControlsDirty(){return this._anyControls(ce=>ce.dirty)}_anyControlsTouched(){return this._anyControls(ce=>ce.touched)}_updatePristine(ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ce.onlySelf&&this._parent._updatePristine(ce)}_updateTouched(ce={}){this.touched=this._anyControlsTouched(),this._parent&&!ce.onlySelf&&this._parent._updateTouched(ce)}_registerOnCollectionChange(ce){this._onCollectionChange=ce}_setUpdateStrategy(ce){V(ce)&&null!=ce.updateOn&&(this._updateOn=ce.updateOn)}_parentMarkedDirty(ce){return!ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ce){return null}_assignValidators(ce){this._rawValidators=Array.isArray(ce)?ce.slice():ce,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(ce){this._rawAsyncValidators=Array.isArray(ce)?ce.slice():ce,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ye(fe):fe||null}(this._rawAsyncValidators)}}class Pt extends ut{constructor(ce,J,Ke){super(_e(J),De(Ke,J)),this.controls=ce,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ce,J){return this.controls[ce]?this.controls[ce]:(this.controls[ce]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(ce,J,Ke={}){this.registerControl(ce,J),this.updateValueAndValidity({emitEvent:Ke.emitEvent}),this._onCollectionChange()}removeControl(ce,J={}){this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),delete this.controls[ce],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(ce,J,Ke={}){this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),delete this.controls[ce],J&&this.registerControl(ce,J),this.updateValueAndValidity({emitEvent:Ke.emitEvent}),this._onCollectionChange()}contains(ce){return this.controls.hasOwnProperty(ce)&&this.controls[ce].enabled}setValue(ce,J={}){ve(this,0,ce),Object.keys(ce).forEach(Ke=>{K(this,!0,Ke),this.controls[Ke].setValue(ce[Ke],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(ce,J={}){null!=ce&&(Object.keys(ce).forEach(Ke=>{const Xt=this.controls[Ke];Xt&&Xt.patchValue(ce[Ke],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(ce={},J={}){this._forEachChild((Ke,Xt)=>{Ke.reset(ce[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(ce,J,Ke)=>(ce[Ke]=J.getRawValue(),ce))}_syncPendingControls(){let ce=this._reduceChildren(!1,(J,Ke)=>!!Ke._syncPendingControls()||J);return ce&&this.updateValueAndValidity({onlySelf:!0}),ce}_forEachChild(ce){Object.keys(this.controls).forEach(J=>{const Ke=this.controls[J];Ke&&ce(Ke,J)})}_setUpControls(){this._forEachChild(ce=>{ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ce){for(const[J,Ke]of Object.entries(this.controls))if(this.contains(J)&&ce(Ke))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,Ke,Xt)=>((Ke.enabled||this.disabled)&&(J[Xt]=Ke.value),J))}_reduceChildren(ce,J){let Ke=ce;return this._forEachChild((Xt,Dn)=>{Ke=J(Ke,Xt,Dn)}),Ke}_allControlsDisabled(){for(const ce of Object.keys(this.controls))if(this.controls[ce].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ce){return this.controls.hasOwnProperty(ce)?this.controls[ce]:null}}const qe=Pt,et=fe=>fe instanceof Pt;class Ve extends Pt{}const yt=fe=>fe instanceof Ve,Lt=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,ce){return[...ce.path,fe]}function Sn(fe,ce,J=on){fi(fe,ce),ce.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&ce.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,ce){ce.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&_t(fe,ce)})}(fe,ce),function mt(fe,ce){const J=(Ke,Xt)=>{ce.valueAccessor.writeValue(Ke),Xt&&ce.viewToModelUpdate(Ke)};fe.registerOnChange(J),ce._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,ce),function Et(fe,ce){ce.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&_t(fe,ce),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,ce),function xi(fe,ce){if(ce.valueAccessor.setDisabledState){const J=Ke=>{ce.valueAccessor.setDisabledState(Ke)};fe.registerOnDisabledChange(J),ce._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,ce)}function _n(fe,ce,J=!0){const Ke=()=>{};ce.valueAccessor&&(ce.valueAccessor.registerOnChange(Ke),ce.valueAccessor.registerOnTouched(Ke)),Vi(fe,ce),fe&&(ce._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,ce){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(ce)})}function fi(fe,ce){const J=Ze(fe);null!==ce.validator?fe.setValidators(He(J,ce.validator)):"function"==typeof J&&fe.setValidators([J]);const Ke=Qe(fe);null!==ce.asyncValidator?fe.setAsyncValidators(He(Ke,ce.asyncValidator)):"function"==typeof Ke&&fe.setAsyncValidators([Ke]);const Xt=()=>fe.updateValueAndValidity();Mn(ce._rawValidators,Xt),Mn(ce._rawAsyncValidators,Xt)}function Vi(fe,ce){let J=!1;if(null!==fe){if(null!==ce.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==ce.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==ce.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==ce.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const Ke=()=>{};return Mn(ce._rawValidators,Ke),Mn(ce._rawAsyncValidators,Ke),J}function _t(fe,ce){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),ce.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,ce){fi(fe,ce)}function _i(fe,ce){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(ce,J.currentValue)}function ti(fe,ce){fe._syncPendingControls(),ce.forEach(J=>{const Ke=J.control;"submit"===Ke.updateOn&&Ke._pendingChange&&(J.viewToModelUpdate(Ke._pendingValue),Ke._pendingChange=!1)})}function an(fe,ce){if(!ce)return null;let J,Ke,Xt;return Array.isArray(ce),ce.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===f}(Dn)?Ke=Dn:Xt=Dn}),Xt||Ke||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,Ke,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Pt({},re(J),ye(Ke))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(J){Wn.then(()=>{const Ke=this._findContainer(J.path);J.control=Ke.registerControl(J.name,J.control),Sn(J.control,J,this.callSetDisabledState),J.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(J)})}getControl(J){return this.form.get(J.path)}removeControl(J){Wn.then(()=>{const Ke=this._findContainer(J.path);Ke&&Ke.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const Ke=this._findContainer(J.path),Xt=new Pt({});qt(Xt,J),Ke.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const Ke=this._findContainer(J.path);Ke&&Ke.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,Ke){Wn.then(()=>{this.form.get(J.path).setValue(Ke)})}setValue(J){this.control.setValue(J)}onSubmit(J){return this.submitted=!0,ti(this.form,this._directives),this.ngSubmit.emit(J),"dialog"===J?.target?.method}onReset(){this.resetForm()}resetForm(J=void 0){this.form.reset(J),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(J){return J.pop(),J.length?this.form.get(J):this.form}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("submit",function(Dn){return Ke.onSubmit(Dn)})("reset",function(){return Ke.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,ce){const J=fe.indexOf(ce);J>-1&&fe.splice(J,1)}function wi(fe){return"object"==typeof fe&&null!==fe&&2===Object.keys(fe).length&&"value"in fe&&"disabled"in fe}const ri=class extends ut{constructor(ce=null,J,Ke){super(_e(J),De(Ke,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ce),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(ce)?ce.value:ce)}setValue(ce,J={}){this.value=this._pendingValue=ce,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(Ke=>Ke(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(ce,J={}){this.setValue(ce,J)}reset(ce=this.defaultValue,J={}){this._applyFormState(ce),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ce){this._onChange.push(ce)}_unregisterOnChange(ce){Yn(this._onChange,ce)}registerOnDisabledChange(ce){this._onDisabledChange.push(ce)}_unregisterOnDisabledChange(ce){Yn(this._onDisabledChange,ce)}_forEachChild(ce){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ce){wi(ce)?(this.value=this._pendingValue=ce.value,ce.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ce}},ai=ri,Ni=fe=>fe instanceof ri;let xt=(()=>{class fe extends Bt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const le={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends xt{constructor(J,Ke,Xt){super(),this.name="",this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt)}_checkParentType(){}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,5),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([le]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,Ke,Xt,Dn,Wi,dr){super(),this._changeDetectorRef=Wi,this.callSetDisabledState=dr,this.control=new ri,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt),this.valueAccessor=an(0,Dn)}ngOnChanges(J){if(this._checkForErrors(),!this._registered||"name"in J){if(this._registered&&(this._checkName(),this.formDirective)){const Ke=J.name.previousValue;this.formDirective.removeControl({name:Ke,path:this._getPath(Ke)})}this._setUpControl()}"isDisabled"in J&&this._updateDisabled(J),_i(J,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(J){this.viewModel=J,this.update.emit(J)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Sn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(J){Wt.then(()=>{this.control.setValue(J,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(J){const Ke=J.isDisabled.currentValue,Xt=0!==Ke&&(0,n.booleanAttribute)(Ke);Wt.then(()=>{Xt&&!this.control.disabled?this.control.disable():!Xt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(J){return this._parent?xn(J,this._parent):[J]}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,9),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(u,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})(),gn=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),fe})();const pn={provide:u,useExisting:(0,n.forwardRef)(()=>si),multi:!0};let si=(()=>{class fe extends f{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=Ke=>{J(""==Ke?null:parseFloat(Ke))}}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("input",function(Dn){return Ke.onChange(Dn.target.value)})("blur",function(){return Ke.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([pn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const jn={provide:u,useExisting:(0,n.forwardRef)(()=>Fi),multi:!0};let bi=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({}),fe})(),Ti=(()=>{class fe{constructor(){this._accessors=[]}add(J,Ke){this._accessors.push([J,Ke])}remove(J){for(let Ke=this._accessors.length-1;Ke>=0;--Ke)if(this._accessors[Ke][1]===J)return void this._accessors.splice(Ke,1)}select(J){this._accessors.forEach(Ke=>{this._isSameGroup(Ke,J)&&Ke[1]!==J&&Ke[1].fireUncheck(J.value)})}_isSameGroup(J,Ke){return!!J[0].control&&J[0]._parent===Ke._control._parent&&J[1].name===Ke.name}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:bi}),fe})(),Fi=(()=>{class fe extends f{constructor(J,Ke,Xt,Dn){super(J,Ke),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(Lt,{optional:!0})??on}ngOnInit(){this._control=this._injector.get(Tt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(J){this._state=J===this.value,this.setProperty("checked",this._state)}registerOnChange(J){this._fn=J,this.onChange=()=>{J(this.value),this._registry.select(this)}}setDisabledState(J){(this.setDisabledStateFired||J||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",J),this.setDisabledStateFired=!0}fireUncheck(J){this.writeValue(J)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ti),n.\u0275\u0275directiveInject(n.Injector))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(){return Ke.onChange()})("blur",function(){return Ke.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([jn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Gi={provide:u,useExisting:(0,n.forwardRef)(()=>fn),multi:!0};let fn=(()=>{class fe extends f{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=Ke=>{J(""==Ke?null:parseFloat(Ke))}}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(Dn){return Ke.onChange(Dn.target.value)})("input",function(Dn){return Ke.onChange(Dn.target.value)})("blur",function(){return Ke.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Gi]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Cn=new n.InjectionToken("NgModelWithFormControlWarning"),tn={provide:Tt,useExisting:(0,n.forwardRef)(()=>En)};let En=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,Ke,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(Ke),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const Ke=J.form.previousValue;Ke&&_n(Ke,this,!1),Sn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}_i(J,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_n(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(J){this.viewModel=J,this.update.emit(J)}_isControlChanged(J){return J.hasOwnProperty("form")}}return fe._ngModelWarningSentOnce=!1,fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(u,10),n.\u0275\u0275directiveInject(Cn,8),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([tn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const ei={provide:Bt,useExisting:(0,n.forwardRef)(()=>Ei)};let Ei=(()=>{class fe extends Bt{constructor(J,Ke,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(J),this._setAsyncValidators(Ke)}ngOnChanges(J){this._checkFormPresent(),J.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Vi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(J){const Ke=this.form.get(J.path);return Sn(Ke,J,this.callSetDisabledState),Ke.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),Ke}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,ce){const J=fe.indexOf(ce);J>-1&&fe.splice(J,1)}(this.directives,J)}addFormGroup(J){this._setUpFormContainer(J)}removeFormGroup(J){this._cleanUpFormContainer(J)}getFormGroup(J){return this.form.get(J.path)}addFormArray(J){this._setUpFormContainer(J)}removeFormArray(J){this._cleanUpFormContainer(J)}getFormArray(J){return this.form.get(J.path)}updateModel(J,Ke){this.form.get(J.path).setValue(Ke)}onSubmit(J){return this.submitted=!0,ti(this.form,this.directives),this.ngSubmit.emit(J),"dialog"===J?.target?.method}onReset(){this.resetForm()}resetForm(J=void 0){this.form.reset(J),this.submitted=!1}_updateDomValue(){this.directives.forEach(J=>{const Ke=J.control,Xt=this.form.get(J.path);Ke!==Xt&&(_n(Ke||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const Ke=this.form.get(J.path);qt(Ke,J),Ke.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const Ke=this.form.get(J.path);Ke&&function nn(fe,ce){return Vi(fe,ce)}(Ke,J)&&Ke.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fi(this.form,this),this._oldForm&&Vi(this._oldForm,this)}_checkFormPresent(){}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(Lt,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("submit",function(Dn){return Ke.onSubmit(Dn)})("reset",function(){return Ke.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([ei]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const tr={provide:Bt,useExisting:(0,n.forwardRef)(()=>Ai)};let Ai=(()=>{class fe extends xt{constructor(J,Ke,Xt){super(),this.name=null,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt)}_checkParentType(){Je(this._parent)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([tr]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const ar={provide:Bt,useExisting:(0,n.forwardRef)(()=>yi)};let yi=(()=>{class fe extends Bt{constructor(J,Ke,Xt){super(),this.name=null,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return xn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Je(this._parent)}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([ar]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Je(fe){return!(fe instanceof Ai||fe instanceof Ei||fe instanceof yi)}const Rt={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,Ke,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Wi,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=J,this._setValidators(Ke),this._setAsyncValidators(Xt),this.valueAccessor=an(0,Dn)}ngOnChanges(J){this._added||this._setUpControl(),_i(J,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(J){this.viewModel=J,this.update.emit(J)}get path(){return xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return fe._ngModelWarningSentOnce=!1,fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(Bt,13),n.\u0275\u0275directiveInject(S,10),n.\u0275\u0275directiveInject(E,10),n.\u0275\u0275directiveInject(u,10),n.\u0275\u0275directiveInject(Cn,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Rt]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Pe(fe,ce){return null==fe?`${ce}`:(ce&&"object"==typeof ce&&(ce="Object"),`${fe}: ${ce}`.slice(0,50))}let Zt=(()=>{class fe extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){this.value=J;const Xt=Pe(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=Ke=>{this.value=this._getOptionValue(Ke),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const Ke of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ke),J))return Ke;return null}_getOptionValue(J){const Ke=function rt(fe){return fe.split(":")[0]}(J);return this._optionMap.has(Ke)?this._optionMap.get(Ke):J}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,Ke){1&J&&n.\u0275\u0275listener("change",function(Dn){return Ke.onChange(Dn.target.value)})("blur",function(){return Ke.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,Ke,Xt){this._element=J,this._renderer=Ke,this._select=Xt,this._select&&(this.id=this._select._registerOption())}set ngValue(J){null!=this._select&&(this._select._optionMap.set(this.id,J),this._setElementValue(Pe(this.id,J)),this._select.writeValue(this._select.value))}set value(J){this._setElementValue(J),this._select&&this._select.writeValue(this._select.value)}_setElementValue(J){this._renderer.setProperty(this._element.nativeElement,"value",J)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Zt,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),fe})();const ji={provide:u,useExisting:(0,n.forwardRef)(()=>Ui),multi:!0};function Pi(fe,ce){return null==fe?`${ce}`:("string"==typeof ce&&(ce=`'${ce}'`),ce&&"object"==typeof ce&&(ce="Object"),`${fe}: ${ce}`.slice(0,50))}let Ui=(()=>{class fe extends f{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let Ke;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));Ke=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else Ke=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(Ke)}registerOnChange(J){this.onChange=Ke=>{const Xt=[],Dn=Ke.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,Ke,Xt){this._element=J,this._renderer=Ke,this._select=Xt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(J){null!=this._select&&(this._value=J,this._setElementValue(Pi(this.id,J)),this._select.writeValue(this._select.value))}set value(J){this._select?(this._value=J,this._setElementValue(Pi(this.id,J)),this._select.writeValue(this._select.value)):this._setElementValue(J)}_setElementValue(J){this._renderer.setProperty(this._element.nativeElement,"value",J)}_setSelected(J){this._renderer.setProperty(this._element.nativeElement,"selected",J)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return fe.\u0275fac=function(J){return new(J||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Ui,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),fe})();function wt(fe){return"number"==typeof fe?fe:parseInt(fe,10)}function vt(fe){return"number"==typeof fe?fe:parseFloat(fe)}let pt=(()=>{class fe{constructor(){this._validator=he}ngOnChanges(J){if(this.inputName in J){const Ke=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(Ke),this._validator=this._enabled?this.createValidator(Ke):he,this._onChange&&this._onChange()}}validate(J){return this._validator(J)}registerOnValidatorChange(J){this._onChange=J}enabled(J){return null!=J}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();const St={provide:S,useExisting:(0,n.forwardRef)(()=>Ht),multi:!0};let Ht=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("max",Ke._enabled?Ke.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([St]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Yt={provide:S,useExisting:(0,n.forwardRef)(()=>Jt),multi:!0};let Jt=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("min",Ke._enabled?Ke.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Yt]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const yn={provide:S,useExisting:(0,n.forwardRef)(()=>Vn),multi:!0},vn={provide:S,useExisting:(0,n.forwardRef)(()=>On),multi:!0};let Vn=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("required",Ke._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([yn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),On=(()=>{class fe extends Vn{constructor(){super(...arguments),this.createValidator=J=>A}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("required",Ke._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([vn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const vi={provide:S,useExisting:(0,n.forwardRef)(()=>ui),multi:!0};let ui=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Mi={provide:S,useExisting:(0,n.forwardRef)(()=>qn),multi:!0};let qn=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Me(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("minlength",Ke._enabled?Ke.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Mi]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const ni={provide:S,useExisting:(0,n.forwardRef)(()=>oi),multi:!0};let oi=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("maxlength",Ke._enabled?Ke.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([ni]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ii={provide:S,useExisting:(0,n.forwardRef)(()=>Zi),multi:!0};let Zi=(()=>{class fe extends pt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,Ke){2&J&&n.\u0275\u0275attribute("pattern",Ke._enabled?Ke.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ii]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),jr=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[bi]}),fe})();class Hr extends ut{constructor(ce,J,Ke){super(_e(J),De(Ke,J)),this.controls=ce,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ce){return this.controls[this._adjustIndex(ce)]}push(ce,J={}){this.controls.push(ce),this._registerControl(ce),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(ce,J,Ke={}){this.controls.splice(ce,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:Ke.emitEvent})}removeAt(ce,J={}){let Ke=this._adjustIndex(ce);Ke<0&&(Ke=0),this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),this.controls.splice(Ke,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(ce,J,Ke={}){let Xt=this._adjustIndex(ce);Xt<0&&(Xt=0),this.controls[Xt]&&this.controls[Xt]._registerOnCollectionChange(()=>{}),this.controls.splice(Xt,1),J&&(this.controls.splice(Xt,0,J),this._registerControl(J)),this.updateValueAndValidity({emitEvent:Ke.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ce,J={}){ve(this,0,ce),ce.forEach((Ke,Xt)=>{K(this,!1,Xt),this.at(Xt).setValue(Ke,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(ce,J={}){null!=ce&&(ce.forEach((Ke,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(Ke,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(ce=[],J={}){this._forEachChild((Ke,Xt)=>{Ke.reset(ce[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(ce=>ce.getRawValue())}clear(ce={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ce.emitEvent}))}_adjustIndex(ce){return ce<0?ce+this.length:ce}_syncPendingControls(){let ce=this.controls.reduce((J,Ke)=>!!Ke._syncPendingControls()||J,!1);return ce&&this.updateValueAndValidity({onlySelf:!0}),ce}_forEachChild(ce){this.controls.forEach((J,Ke)=>{ce(J,Ke)})}_updateValue(){this.value=this.controls.filter(ce=>ce.enabled||this.disabled).map(ce=>ce.value)}_anyControls(ce){return this.controls.some(J=>J.enabled&&ce(J))}_setUpControls(){this._forEachChild(ce=>this._registerControl(ce))}_allControlsDisabled(){for(const ce of this.controls)if(ce.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ce){ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange)}_find(ce){return this.at(ce)??null}}const fo=Hr,mo=fe=>fe instanceof Hr;function po(fe){return!!fe&&(void 0!==fe.asyncValidators||void 0!==fe.validators||void 0!==fe.updateOn)}let io=(()=>{class fe{constructor(){this.useNonNullable=!1}get nonNullable(){const J=new fe;return J.useNonNullable=!0,J}group(J,Ke=null){const Xt=this._reduceControls(J);let Dn={};return po(Ke)?Dn=Ke:null!==Ke&&(Dn.validators=Ke.validator,Dn.asyncValidators=Ke.asyncValidator),new Pt(Xt,Dn)}record(J,Ke=null){const Xt=this._reduceControls(J);return new Ve(Xt,Ke)}control(J,Ke,Xt){let Dn={};return this.useNonNullable?(po(Ke)?Dn=Ke:(Dn.validators=Ke,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,Ke,Xt)}array(J,Ke,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,Ke,Xt)}_reduceControls(J){const Ke={};return Object.keys(J).forEach(Xt=>{Ke[Xt]=this._createControl(J[Xt])}),Ke}_createControl(J){return J instanceof ri||J instanceof ut?J:Array.isArray(J)?this.control(J[0],J.length>1?J[1]:null,J.length>2?J[2]:null):this.control(J)}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),ro=(()=>{class fe{}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return(0,n.inject)(io).nonNullable},providedIn:"root"}),fe})(),Sr=(()=>{class fe extends io{group(J,Ke=null){return super.group(J,Ke)}control(J,Ke,Xt){return super.control(J,Ke,Xt)}array(J,Ke,Xt){return super.array(J,Ke,Xt)}}return fe.\u0275fac=function(){let ce;return function(Ke){return(ce||(ce=n.\u0275\u0275getInheritedFactory(fe)))(Ke||fe)}}(),fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();const Ar=new n.Version("16.1.7");let go=(()=>{class fe{static withConfig(J){return{ngModule:fe,providers:[{provide:Lt,useValue:J.callSetDisabledState??on}]}}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[jr]}),fe})(),_o=(()=>{class fe{static withConfig(J){return{ngModule:fe,providers:[{provide:Cn,useValue:J.warnOnNgModelWithFormControl??"always"},{provide:Lt,useValue:J.callSetDisabledState??on}]}}}return fe.\u0275fac=function(J){return new(J||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({imports:[jr]}),fe})()},3680:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{AnimationCurves:()=>$,AnimationDurations:()=>ee,DateAdapter:()=>re,ErrorStateMatcher:()=>Ft,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>se,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>zt,MAT_OPTION_PARENT_COMPONENT:()=>ge,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>gt,MatLineModule:()=>kt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Ne,MatOption:()=>lt,MatOptionModule:()=>De,MatOptionSelectionChange:()=>ae,MatPseudoCheckbox:()=>bt,MatPseudoCheckboxModule:()=>Oe,MatRipple:()=>Ct,MatRippleModule:()=>dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>We,RippleRef:()=>Le,RippleRenderer:()=>Q,ShowOnDirtyErrorStateMatcher:()=>Mt,VERSION:()=>X,_MatOptgroupBase:()=>Nt,_MatOptionBase:()=>Ce,_countGroupLabelsBeforeOption:()=>_e,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>he,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),h=a(2831),f=a(2495),u=a(5592),v=a(8645),b=a(7921),p=a(6028);const _=["*",[["mat-option"],["ng-container"]]],l=["*","mat-option, ng-container"],y=["text"];function x(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&F){const K=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",K.disabled)("state",K.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const K=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",K.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const K=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",K.group.label,")")}}const E=[[["mat-icon"]],"*"],I=["mat-icon","*"],X=new n.Version("16.1.6");let $=(()=>{class F{}return F.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",F.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",F.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",F.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",F})(),ee=(()=>{class F{}return F.COMPLEX="375ms",F.ENTERING="225ms",F.EXITING="195ms",F})();const A=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function ie(){return!0}});let U=(()=>{class F{constructor(K,ve,ut){this._sanityChecks=ve,this._document=ut,this._hasDoneGlobalChecks=!1,K._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(K){return!(0,h.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[K])}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275inject(c.qm),n.\u0275\u0275inject(A,8),n.\u0275\u0275inject(r.DOCUMENT))},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.vT,d.vT]}),F})();function he(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,f.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(K){const ve=K||this.defaultColor;ve!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ve&&this._elementRef.nativeElement.classList.add(`mat-${ve}`),this._color=ve)}constructor(...K){super(...K),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,f.Ig)(V)}constructor(...V){super(...V),this._disableRipple=!1}}}function pe(F,V=0){return class extends F{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(K){this._tabIndex=null!=K?(0,f.su)(K):this.defaultTabIndex}constructor(...K){super(...K),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Pt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Pt!==V&&(this.errorState=Pt,this.stateChanges.next())}constructor(...V){super(...V),this.errorState=!1}}}function Ee(F){return class extends F{constructor(...V){super(...V),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new u.y(K=>{this._isInitialized?this._notifySubscriber(K):this._pendingSubscribers.push(K)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(V){V.next(),V.complete()}}}const Be=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:G});function G(){return(0,n.inject)(n.LOCALE_ID)}class re{constructor(){this._localeChanges=new v.x,this.localeChanges=this._localeChanges}getValidDateOrNull(V){return this.isDateInstance(V)&&this.isValid(V)?V:null}deserialize(V){return null==V||this.isDateInstance(V)&&this.isValid(V)?V:this.invalid()}setLocale(V){this.locale=V,this._localeChanges.next()}compareDate(V,K){return this.getYear(V)-this.getYear(K)||this.getMonth(V)-this.getMonth(K)||this.getDate(V)-this.getDate(K)}sameDate(V,K){if(V&&K){let ve=this.isValid(V),ut=this.isValid(K);return ve&&ut?!this.compareDate(V,K):ve==ut}return V==K}clampDate(V,K,ve){return K&&this.compareDate(V,K)<0?K:ve&&this.compareDate(V,ve)>0?ve:V}}const se=new n.InjectionToken("mat-date-formats"),ye=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const K=Array(F);for(let ve=0;ve{class F extends re{constructor(K,ve){super(),this.useUtcForDisplay=!1,super.setLocale(K)}getYear(K){return K.getFullYear()}getMonth(K){return K.getMonth()}getDate(K){return K.getDate()}getDayOfWeek(K){return K.getDay()}getMonthNames(K){const ve=new Intl.DateTimeFormat(this.locale,{month:K,timeZone:"utc"});return He(12,ut=>this._format(ve,new Date(2017,ut,1)))}getDateNames(){const K=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,ve=>this._format(K,new Date(2017,0,ve+1)))}getDayOfWeekNames(K){const ve=new Intl.DateTimeFormat(this.locale,{weekday:K,timeZone:"utc"});return He(7,ut=>this._format(ve,new Date(2017,0,ut+1)))}getYearName(K){const ve=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(ve,K)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(K){return this.getDate(this._createDateWithOverflow(this.getYear(K),this.getMonth(K)+1,0))}clone(K){return new Date(K.getTime())}createDate(K,ve,ut){let Pt=this._createDateWithOverflow(K,ve,ut);return Pt.getMonth(),Pt}today(){return new Date}parse(K,ve){return"number"==typeof K?new Date(K):K?new Date(Date.parse(K)):null}format(K,ve){if(!this.isValid(K))throw Error("NativeDateAdapter: Cannot format invalid date.");const ut=new Intl.DateTimeFormat(this.locale,{...ve,timeZone:"utc"});return this._format(ut,K)}addCalendarYears(K,ve){return this.addCalendarMonths(K,12*ve)}addCalendarMonths(K,ve){let ut=this._createDateWithOverflow(this.getYear(K),this.getMonth(K)+ve,this.getDate(K));return this.getMonth(ut)!=((this.getMonth(K)+ve)%12+12)%12&&(ut=this._createDateWithOverflow(this.getYear(ut),this.getMonth(ut),0)),ut}addCalendarDays(K,ve){return this._createDateWithOverflow(this.getYear(K),this.getMonth(K),this.getDate(K)+ve)}toIso8601(K){return[K.getUTCFullYear(),this._2digit(K.getUTCMonth()+1),this._2digit(K.getUTCDate())].join("-")}deserialize(K){if("string"==typeof K){if(!K)return null;if(ye.test(K)){let ve=new Date(K);if(this.isValid(ve))return ve}}return super.deserialize(K)}isDateInstance(K){return K instanceof Date}isValid(K){return!isNaN(K.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(K,ve,ut){const Pt=new Date;return Pt.setFullYear(K,ve,ut),Pt.setHours(0,0,0,0),Pt}_2digit(K){return("00"+K).slice(-2)}_format(K,ve){const ut=new Date;return ut.setUTCFullYear(ve.getFullYear(),ve.getMonth(),ve.getDate()),ut.setUTCHours(ve.getHours(),ve.getMinutes(),ve.getSeconds(),ve.getMilliseconds()),K.format(ut)}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(h.t4))},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})();const Qe={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let We=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:re,useClass:Ze}]}),F})(),tt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:se,useValue:Qe}],imports:[We]}),F})(),Mt=(()=>{class F{isErrorState(K,ve){return!!(K&&K.invalid&&(K.dirty||ve&&ve.submitted))}}return F.\u0275fac=function(K){return new(K||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Ft=(()=>{class F{isErrorState(K,ve){return!!(K&&K.invalid&&(K.touched||ve&&ve.submitted))}}return F.\u0275fac=function(K){return new(K||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),gt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,K="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:ve})=>{Tt(V,`${K}-2-line`,!1),Tt(V,`${K}-3-line`,!1),Tt(V,`${K}-multi-line`,!1),2===ve||3===ve?Tt(V,`${K}-${ve}-line`,!0):ve>3&&Tt(V,`${K}-multi-line`,!0)})}function Tt(F,V,K){F.nativeElement.classList.toggle(V,K)}let kt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,K,ve,ut=!1){this._renderer=V,this.element=K,this.config=ve,this._animationForciblyDisabledThroughCss=ut,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ct=(0,h.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const K=(0,h.sA)(V);K&&this._events.get(V.type)?.forEach((ve,ut)=>{(ut===K||ut.contains(K))&&ve.forEach(Pt=>Pt.handleEvent(V))})}}addHandler(V,K,ve,ut){const Pt=this._events.get(K);if(Pt){const qe=Pt.get(ve);qe?qe.add(ut):Pt.set(ve,new Set([ut]))}else this._events.set(K,new Map([[ve,new Set([ut])]])),V.runOutsideAngular(()=>{document.addEventListener(K,this._delegateEventHandler,ct)})}removeHandler(V,K,ve){const ut=this._events.get(V);if(!ut)return;const Pt=ut.get(K);Pt&&(Pt.delete(ve),0===Pt.size&&ut.delete(K),0===ut.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,ct)))}}const at={enterDuration:225,exitDuration:150},oe=(0,h.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class Q{constructor(V,K,ve,ut){this._target=V,this._ngZone=K,this._platform=ut,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ut.isBrowser&&(this._containerElement=(0,f.fI)(ve))}fadeInRipple(V,K,ve={}){const ut=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Pt={...at,...ve.animation};ve.centered&&(V=ut.left+ut.width/2,K=ut.top+ut.height/2);const qe=ve.radius||function ue(F,V,K){const ve=Math.max(Math.abs(F-K.left),Math.abs(F-K.right)),ut=Math.max(Math.abs(V-K.top),Math.abs(V-K.bottom));return Math.sqrt(ve*ve+ut*ut)}(V,K,ut),et=V-ut.left,Ve=K-ut.top,yt=Pt.enterDuration,Lt=document.createElement("div");Lt.classList.add("mat-ripple-element"),Lt.style.left=et-qe+"px",Lt.style.top=Ve-qe+"px",Lt.style.height=2*qe+"px",Lt.style.width=2*qe+"px",null!=ve.color&&(Lt.style.backgroundColor=ve.color),Lt.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(Lt);const on=window.getComputedStyle(Lt),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===ut.width&&0===ut.height,Mn=new Le(this,Lt,ve,_n);Lt.style.transform="scale3d(1, 1, 1)",Mn.state=0,ve.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Pt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);Lt.addEventListener("transitionend",fi),Lt.addEventListener("transitioncancel",Vi),xi={onTransitionEnd:fi,onTransitionCancel:Vi}}),this._activeRipples.set(Mn,xi),(_n||!yt)&&this._finishRippleTransition(Mn),Mn}fadeOutRipple(V){if(2===V.state||3===V.state)return;const K=V.element,ve={...at,...V.config.animation};K.style.transitionDuration=`${ve.exitDuration}ms`,K.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!ve.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const K=(0,f.fI)(V);!this._platform.isBrowser||!K||K===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=K,Y.forEach(ve=>{Q._eventManager.addHandler(this._ngZone,ve,K,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(K=>{this._triggerElement.addEventListener(K,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const K=V===this._mostRecentTransientRipple,{persistent:ve}=V.config;V.state=1,!ve&&(!K||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const K=this._activeRipples.get(V)??null;this._activeRipples.delete(V),this._activeRipples.size||(this._containerRect=null),V===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),V.state=3,null!==K&&(V.element.removeEventListener("transitionend",K.onTransitionEnd),V.element.removeEventListener("transitioncancel",K.onTransitionCancel)),V.element.remove()}_onMousedown(V){const K=(0,c.X6)(V),ve=this._lastTouchStartEvent&&Date.now(){!V.config.persistent&&(1===V.state||V.config.terminateOnPointerUp&&0===V.state)&&V.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const V=this._triggerElement;V&&(Y.forEach(K=>Q._eventManager.removeHandler(K,V,this)),this._pointerUpEventsRegistered&&ne.forEach(K=>V.removeEventListener(K,this,oe)))}}Q._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let Ct=(()=>{class F{get disabled(){return this._disabled}set disabled(K){K&&this.fadeOutAllNonPersistent(),this._disabled=K,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(K){this._trigger=K,this._setupTriggerEventsIfEnabled()}constructor(K,ve,ut,Pt,qe){this._elementRef=K,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Pt||{},this._rippleRenderer=new Q(this,ve,K,ut)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{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(K,ve=0,ut){return"number"==typeof K?this._rippleRenderer.fadeInRipple(K,ve,{...this.rippleConfig,...ut}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...K})}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(h.t4),n.\u0275\u0275directiveInject(Te,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(K,ve){2&K&&n.\u0275\u0275classProp("mat-ripple-unbounded",ve.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),F})(),dt=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),bt=(()=>{class F{constructor(K){this._animationMode=K,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(K,ve){2&K&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===ve.state)("mat-pseudo-checkbox-checked","checked"===ve.state)("mat-pseudo-checkbox-disabled",ve.disabled)("mat-pseudo-checkbox-minimal","minimal"===ve.appearance)("mat-pseudo-checkbox-full","full"===ve.appearance)("_mat-animation-noopable","NoopAnimations"===ve._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(K,ve){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),F})(),Oe=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const ge=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),ot=he(class{});let At=0,Nt=(()=>{class F extends ot{constructor(K){super(),this._labelId="mat-optgroup-label-"+At++,this._inert=K?.inertGroups??!1}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(ge,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const zt=new n.InjectionToken("MatOptgroup");let Ne=(()=>{class F extends Nt{}return F.\u0275fac=function(){let V;return function(ve){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(ve||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(K,ve){2&K&&n.\u0275\u0275attribute("role",ve._inert?null:"group")("aria-disabled",ve._inert?null:ve.disabled.toString())("aria-labelledby",ve._inert?null:ve._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:zt,useExisting:F}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:l,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(K,ve){1&K&&(n.\u0275\u0275projectionDef(_),n.\u0275\u0275elementStart(0,"span",0)(1,"span",1),n.\u0275\u0275text(2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(4,1)),2&K&&(n.\u0275\u0275classProp("mdc-list-item--disabled",ve.disabled),n.\u0275\u0275property("id",ve._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",ve.label," "))},styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color);font-family:var(--mat-optgroup-label-text-font);line-height:var(--mat-optgroup-label-text-line-height);font-size:var(--mat-optgroup-label-text-size);letter-spacing:var(--mat-optgroup-label-text-tracking);font-weight:var(--mat-optgroup-label-text-weight)}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],encapsulation:2,changeDetection:0}),F})(),$e=0;class ae{constructor(V,K=!1){this.source=V,this.isUserInput=K}}let Ce=(()=>{class F{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(K){this._disabled=(0,f.Ig)(K)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(K,ve,ut,Pt){this._element=K,this._changeDetectorRef=ve,this._parent=ut,this.group=Pt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$e++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(K=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),K&&this._emitSelectionChangeEvent())}deselect(K=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),K&&this._emitSelectionChangeEvent())}focus(K,ve){const ut=this._getHostElement();"function"==typeof ut.focus&&ut.focus(ve)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(K){(K.keyCode===p.K5||K.keyCode===p.L_)&&!(0,p.Vb)(K)&&(this._selectViaInteraction(),K.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const K=this.viewValue;K!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=K)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(K=!1){this.onSelectionChange.emit(new ae(this,K))}}return F.\u0275fac=function(K){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(K,ve){if(1&K&&n.\u0275\u0275viewQuery(y,7),2&K){let ut;n.\u0275\u0275queryRefresh(ut=n.\u0275\u0275loadQuery())&&(ve._text=ut.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),lt=(()=>{class F extends Ce{constructor(K,ve,ut,Pt){super(K,ve,ut,Pt)}}return F.\u0275fac=function(K){return new(K||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ge,8),n.\u0275\u0275directiveInject(zt,8))},F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(K,ve){1&K&&n.\u0275\u0275listener("click",function(){return ve._selectViaInteraction()})("keydown",function(Pt){return ve._handleKeydown(Pt)}),2&K&&(n.\u0275\u0275hostProperty("id",ve.id),n.\u0275\u0275attribute("aria-selected",ve.selected)("aria-disabled",ve.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",ve.selected)("mat-mdc-option-multiple",ve.multiple)("mat-mdc-option-active",ve.active)("mdc-list-item--disabled",ve.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:I,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(K,ve){1&K&&(n.\u0275\u0275projectionDef(E),n.\u0275\u0275template(0,x,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementStart(2,"span",1,2),n.\u0275\u0275projection(4,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(5,D,1,1,"mat-pseudo-checkbox",3),n.\u0275\u0275template(6,S,2,1,"span",4),n.\u0275\u0275element(7,"div",5)),2&K&&(n.\u0275\u0275property("ngIf",ve.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!ve.multiple&&ve.selected&&!ve.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ve.group&&ve.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",ve._getHostElement())("matRippleDisabled",ve.disabled||ve.disableRipple))},dependencies:[Ct,r.NgIf,bt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),F})();function _e(F,V,K){if(K.length){let ve=V.toArray(),ut=K.toArray(),Pt=0;for(let qe=0;qeK+ve?Math.max(0,F-ve+V):K}let De=(()=>{class F{}return F.\u0275fac=function(K){return new(K||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[dt,r.CommonModule,U,Oe]}),F})()},5616:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{DateRange:()=>_n,DefaultMatCalendarRangeStrategy:()=>qt,MAT_DATEPICKER_SCROLL_STRATEGY:()=>ri,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>ai,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ni,MAT_DATEPICKER_VALIDATORS:()=>Wt,MAT_DATEPICKER_VALUE_ACCESSOR:()=>Ot,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>mt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Et,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>_t,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>et,MatCalendarCell:()=>K,MatCalendarHeader:()=>Wn,MatDateRangeInput:()=>ei,MatDateRangePicker:()=>Ei,MatDateSelectionModel:()=>Mn,MatDatepicker:()=>O,MatDatepickerActions:()=>ar,MatDatepickerApply:()=>tr,MatDatepickerCancel:()=>Ai,MatDatepickerContent:()=>jt,MatDatepickerInput:()=>un,MatDatepickerInputEvent:()=>me,MatDatepickerIntl:()=>V,MatDatepickerModule:()=>yi,MatDatepickerToggle:()=>pn,MatDatepickerToggleIcon:()=>gn,MatEndDate:()=>tn,MatMonthView:()=>Nn,MatMultiYearView:()=>_i,MatRangeDateSelectionModel:()=>fi,MatSingleDateSelectionModel:()=>xi,MatStartDate:()=>Cn,MatYearView:()=>Tn,matDatepickerAnimations:()=>Yn,yearsPerPage:()=>wn,yearsPerRow:()=>Xn});var n=a(4300),c=a(9594),d=a(8484),g=a(6814),r=a(5879),h=a(2831),f=a(3680);const u=["mat-button",""],v=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],b=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],D=["mat-icon-button",""],S=["*"],I={capture:!0},X=["focus","click","mouseenter","touchstart"],$="mat-button-ripple-uninitialized";let ee=(()=>{class Je{constructor(){this._document=(0,r.inject)(g.DOCUMENT,{optional:!0}),this._animationMode=(0,r.inject)(r.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,r.inject)(f.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(h.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Pe=C.target.closest(`[${$}]`);Pe&&(Pe.removeAttribute($),this._appendRipple(Pe))},this._ngZone.runOutsideAngular(()=>{for(const C of X)this._document?.addEventListener(C,this._onInteraction,I)})}ngOnDestroy(){for(const C of X)this._document?.removeEventListener(C,this._onInteraction,I)}_appendRipple(C){if(!this._document)return;const te=this._document.createElement("span");te.classList.add("mat-mdc-button-ripple");const Pe=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Pe.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new f.RippleRenderer(Pe,this._ngZone,te,this._platform).setupTriggerEvents(C),C.append(te)}_createMatRipple(C){if(!this._document)return;C.querySelector(".mat-mdc-button-ripple")?.remove(),C.removeAttribute($);const te=this._document.createElement("span");te.classList.add("mat-mdc-button-ripple");const Pe=new f.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Pe._isInitialized=!0,Pe.trigger=C,C.append(te),Pe}}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();class ie{constructor(Rt,C,te){this._button=Rt,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Rt,C){this.rippleConfig=Rt||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Me=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Re=(0,f.mixinColor)((0,f.mixinDisabled)((0,f.mixinDisableRipple)(class{constructor(Je){this._elementRef=Je}})));let Ae=(()=>{class Je extends Re{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(C){this._ripple=C}constructor(C,te,Pe,rt){super(C),this._platform=te,this._ngZone=Pe,this._animationMode=rt,this._focusMonitor=(0,r.inject)(n.tE),this._rippleLoader=(0,r.inject)(ee),this._isFab=!1;const Zt=C.nativeElement.classList;for(const Pn of Me)this._hasHostAttributes(Pn.selector)&&Pn.mdcClasses.forEach(ji=>{Zt.add(ji)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnChanges(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(C="program",te){C?this._focusMonitor.focusVia(this._elementRef.nativeElement,C,te):this._elementRef.nativeElement.focus(te)}_hasHostAttributes(...C){return C.some(te=>this._elementRef.nativeElement.hasAttribute(te))}}return Je.\u0275fac=function(C){r.\u0275\u0275invalidFactory()},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,features:[r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature]}),Je})(),pe=(()=>{class Je extends Ae{constructor(C,te,Pe,rt){super(C,te,Pe,rt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(h.t4),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(C,te){2&C&&(r.\u0275\u0275attribute("disabled",te.disabled||null),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===te._animationMode)("mat-unthemed",!te.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(v),r.\u0275\u0275element(0,"span",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementStart(2,"span",1),r.\u0275\u0275projection(3,1),r.\u0275\u0275elementEnd(),r.\u0275\u0275projection(4,2),r.\u0275\u0275element(5,"span",2)(6,"span",3)),2&C&&r.\u0275\u0275classProp("mdc-button__ripple",!te._isFab)("mdc-fab__ripple",te._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Je})(),Qe=(()=>{class Je extends Ae{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(C,te,Pe,rt){super(C,te,Pe,rt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(h.t4),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(C,te){2&C&&(r.\u0275\u0275attribute("disabled",te.disabled||null),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===te._animationMode)("mat-unthemed",!te.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:D,ngContentSelectors:S,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275element(0,"span",0),r.\u0275\u0275projection(1),r.\u0275\u0275element(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Je})(),tt=(()=>{class Je{}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275mod=r.\u0275\u0275defineNgModule({type:Je}),Je.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,f.MatRippleModule,f.MatCommonModule]}),Je})();var Mt=a(6672),Ft=a(8645),gt=a(7394),Bt=a(3019),Tt=a(2096),kt=a(6028),Le=a(9388),ct=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),Q=a(4516);const ue=["mat-calendar-body",""];function Te(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",3)(1,"td",4),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()),2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275styleProp("padding-top",C._cellPadding)("padding-bottom",C._cellPadding),r.\u0275\u0275attribute("colspan",C.numCols),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.label," ")}}function Ct(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"td",4),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Je){const C=r.\u0275\u0275nextContext(2);r.\u0275\u0275styleProp("padding-top",C._cellPadding)("padding-bottom",C._cellPadding),r.\u0275\u0275attribute("colspan",C._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C._firstRowOffset>=C.labelMinRequiredCells?C.label:""," ")}}function dt(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Pe){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Pe))})("focus",function(Pe){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Pe))}),r.\u0275\u0275elementStart(2,"span",10),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"span",11),r.\u0275\u0275elementEnd()()}if(2&Je){const C=Rt.$implicit,te=Rt.index,Pe=r.\u0275\u0275nextContext().index,rt=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",rt._cellWidth)("padding-top",rt._cellPadding)("padding-bottom",rt._cellPadding),r.\u0275\u0275attribute("data-mat-row",Pe)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",rt._isActiveCell(Pe,te))("mat-calendar-body-range-start",rt._isRangeStart(C.compareValue))("mat-calendar-body-range-end",rt._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",rt._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",rt._isComparisonBridgeStart(C.compareValue,Pe,te))("mat-calendar-body-comparison-bridge-end",rt._isComparisonBridgeEnd(C.compareValue,Pe,te))("mat-calendar-body-comparison-start",rt._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",rt._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",rt._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",rt._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",rt._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",rt._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",rt._isActiveCell(Pe,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",rt._isSelected(C.compareValue))("aria-current",rt.todayValue===C.compareValue?"date":null)("aria-describedby",rt._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",rt._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",rt._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",rt.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function bt(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,Ct,2,6,"td",6),r.\u0275\u0275template(2,dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Rt.$implicit,te=Rt.index,Pe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Pe._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function Oe(Je,Rt){if(1&Je&&(r.\u0275\u0275elementStart(0,"th",5)(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"span",7),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd()()),2&Je){const C=Rt.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const ge=["*"];function ot(Je,Rt){}function At(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt.activeDate=Pe)})("_userSelection",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._dateSelected(Pe))})("dragStarted",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._dragStarted(Pe))})("dragEnded",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._dragEnded(Pe))}),r.\u0275\u0275elementEnd()}if(2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",C.activeDate)("selected",C.selected)("dateFilter",C.dateFilter)("maxDate",C.maxDate)("minDate",C.minDate)("dateClass",C.dateClass)("comparisonStart",C.comparisonStart)("comparisonEnd",C.comparisonEnd)("startDateAccessibleName",C.startDateAccessibleName)("endDateAccessibleName",C.endDateAccessibleName)("activeDrag",C._activeDrag)}}function Nt(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt.activeDate=Pe)})("monthSelected",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._monthSelectedInYearView(Pe))})("selectedChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._goToDateInView(Pe,"month"))}),r.\u0275\u0275elementEnd()}if(2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",C.activeDate)("selected",C.selected)("dateFilter",C.dateFilter)("maxDate",C.maxDate)("minDate",C.minDate)("dateClass",C.dateClass)}}function zt(Je,Rt){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt.activeDate=Pe)})("yearSelected",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._yearSelectedInMultiYearView(Pe))})("selectedChange",function(Pe){r.\u0275\u0275restoreView(C);const rt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rt._goToDateInView(Pe,"year"))}),r.\u0275\u0275elementEnd()}if(2&Je){const C=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",C.activeDate)("selected",C.selected)("dateFilter",C.dateFilter)("maxDate",C.maxDate)("minDate",C.minDate)("dateClass",C.dateClass)}}function Ne(Je,Rt){}const $e=["button"];function ae(Je,Rt){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const Ce=[[["","matDatepickerToggleIcon",""]]],lt=["[matDatepickerToggleIcon]"],_e=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Rt){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Ft.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(C,te){return`${C} \u2013 ${te}`}formatYearRangeLabel(C,te){return`${C} to ${te}`}}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})();class K{constructor(Rt,C,te,Pe,rt={},Zt=Rt,Pn){this.value=Rt,this.displayValue=C,this.ariaLabel=te,this.enabled=Pe,this.cssClasses=rt,this.compareValue=Zt,this.rawValue=Pn}}let ve=1;const ut=(0,h.i$)({passive:!1,capture:!0}),Pt=(0,h.i$)({passive:!0,capture:!0}),qe=(0,h.i$)({passive:!0});let et=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(h.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new r.EventEmitter,this.previewChange=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this.dragStarted=new r.EventEmitter,this.dragEnded=new r.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=Pe=>{if(this._skipNextFocus&&"focus"===Pe.type)this._skipNextFocus=!1;else if(Pe.target&&this.isRange){const rt=this._getCellFromElement(Pe.target);rt&&this._ngZone.run(()=>this.previewChange.emit({value:rt.enabled?rt:null,event:Pe}))}},this._touchmoveHandler=Pe=>{if(!this.isRange)return;const rt=Sn(Pe),Zt=rt?this._getCellFromElement(rt):null;rt!==Pe.target&&(this._didDragSinceMouseDown=!0),yt(Pe.target)&&Pe.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Pe}))},this._leaveHandler=Pe=>{null!==this.previewEnd&&this.isRange&&("blur"!==Pe.type&&(this._didDragSinceMouseDown=!0),Pe.target&&this._getCellFromElement(Pe.target)&&(!Pe.relatedTarget||!this._getCellFromElement(Pe.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Pe})))},this._mousedownHandler=Pe=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const rt=Pe.target&&this._getCellFromElement(Pe.target);!rt||!this._isInRange(rt.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:rt.rawValue,event:Pe})})},this._mouseupHandler=Pe=>{if(!this.isRange)return;const rt=yt(Pe.target);rt?rt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(rt);this.dragEnded.emit({value:Zt?.rawValue??null,event:Pe})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Pe})})},this._touchendHandler=Pe=>{const rt=Sn(Pe);rt&&this._mouseupHandler({target:rt})},this._id="mat-calendar-body-"+ve++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Pe=C.nativeElement;Pe.addEventListener("touchmove",this._touchmoveHandler,ut),Pe.addEventListener("mouseenter",this._enterHandler,Pt),Pe.addEventListener("focus",this._enterHandler,Pt),Pe.addEventListener("mouseleave",this._leaveHandler,Pt),Pe.addEventListener("blur",this._leaveHandler,Pt),Pe.addEventListener("mousedown",this._mousedownHandler,qe),Pe.addEventListener("touchstart",this._mousedownHandler,qe),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(C,te){this._didDragSinceMouseDown||C.enabled&&this.selectedValueChange.emit({value:C.value,event:te})}_emitActiveDateChange(C,te){C.enabled&&this.activeDateChange.emit({value:C.value,event:te})}_isSelected(C){return this.startValue===C||this.endValue===C}ngOnChanges(C){const te=C.numCols,{rows:Pe,numCols:rt}=this;(C.rows||te)&&(this._firstRowOffset=Pe&&Pe.length&&Pe[0].length?rt-Pe[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/rt+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/rt+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,ut),C.removeEventListener("mouseenter",this._enterHandler,Pt),C.removeEventListener("focus",this._enterHandler,Pt),C.removeEventListener("mouseleave",this._leaveHandler,Pt),C.removeEventListener("blur",this._leaveHandler,Pt),C.removeEventListener("mousedown",this._mousedownHandler,qe),C.removeEventListener("touchstart",this._mousedownHandler,qe),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(C,te){let Pe=C*this.numCols+te;return C&&(Pe-=this._firstRowOffset),Pe==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ct.q)(1)).subscribe(()=>{setTimeout(()=>{const te=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");te&&(C||(this._skipNextFocus=!0),te.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(C){return Lt(C,this.startValue,this.endValue)}_isRangeEnd(C){return on(C,this.startValue,this.endValue)}_isInRange(C){return xn(C,this.startValue,this.endValue,this.isRange)}_isComparisonStart(C){return Lt(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Pe){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let rt=this.rows[te][Pe-1];if(!rt){const Zt=this.rows[te-1];rt=Zt&&Zt[Zt.length-1]}return rt&&!this._isRangeEnd(rt.compareValue)}_isComparisonBridgeEnd(C,te,Pe){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let rt=this.rows[te][Pe+1];if(!rt){const Zt=this.rows[te+1];rt=Zt&&Zt[0]}return rt&&!this._isRangeStart(rt.compareValue)}_isComparisonEnd(C){return on(C,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(C){return xn(C,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(C){return this.comparisonStart===this.comparisonEnd&&C===this.comparisonStart}_isPreviewStart(C){return Lt(C,this.previewStart,this.previewEnd)}_isPreviewEnd(C){return on(C,this.previewStart,this.previewEnd)}_isInPreview(C){return xn(C,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(C){return this.isRange?this.startValue===C&&this.endValue===C?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===C?this._startDateLabelId:this.endValue===C?this._endDateLabelId:null:null}_getCellFromElement(C){const te=yt(C);if(te){const Pe=te.getAttribute("data-mat-row"),rt=te.getAttribute("data-mat-col");if(Pe&&rt)return this.rows[parseInt(Pe)][parseInt(rt)]}return null}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[r.\u0275\u0275NgOnChangesFeature],attrs:ue,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(C,te){1&C&&(r.\u0275\u0275template(0,Te,3,6,"tr",0),r.\u0275\u0275template(1,bt,3,2,"tr",1),r.\u0275\u0275elementStart(2,"label",2),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"label",2),r.\u0275\u0275text(5),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275property("ngIf",te._firstRowOffset=Rt&&Je===C}function xn(Je,Rt,C,te){return te&&null!==Rt&&null!==C&&Rt!==C&&Je>=Rt&&Je<=C}function Sn(Je){const Rt=Je.changedTouches[0];return document.elementFromPoint(Rt.clientX,Rt.clientY)}class _n{constructor(Rt,C){this.start=Rt,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Ft.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Pe=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Pe})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(C){return this._adapter.isDateInstance(C)&&this._adapter.isValid(C)}}return Je.\u0275fac=function(C){r.\u0275\u0275invalidFactory()},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})(),xi=(()=>{class Je extends Mn{constructor(C){super(null,C)}add(C){super.updateSelection(C,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const C=new Je(this._adapter);return C.updateSelection(this.selection,this),C}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(f.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})(),fi=(()=>{class Je extends Mn{constructor(C){super(new _n(null,null),C)}add(C){let{start:te,end:Pe}=this.selection;null==te?te=C:null==Pe?Pe=C:(te=C,Pe=null),super.updateSelection(new _n(te,Pe),this)}isValid(){const{start:C,end:te}=this.selection;return null==C&&null==te||(null!=C&&null!=te?this._isValidDateInstance(C)&&this._isValidDateInstance(te)&&this._adapter.compareDate(C,te)<=0:(null==C||this._isValidDateInstance(C))&&(null==te||this._isValidDateInstance(te)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const C=new Je(this._adapter);return C.updateSelection(this.selection,this),C}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(f.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Rt){return Je||new xi(Rt)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],f.DateAdapter],useFactory:Vi};function Et(Je,Rt){return Je||new fi(Rt)}const _t={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],f.DateAdapter],useFactory:Et},mt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Pe,end:rt}=te;return null==Pe?Pe=C:null==rt&&C&&this._dateAdapter.compareDate(C,Pe)>=0?rt=C:(Pe=C,rt=null),new _n(Pe,rt)}createPreview(C,te){let Pe=null,rt=null;return te.start&&!te.end&&C&&(Pe=te.start,rt=C),new _n(Pe,rt)}createDrag(C,te,Pe){let rt=te.start,Zt=te.end;if(!rt||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(rt,Zt),Pi=Pn.getYear(Pe)-Pn.getYear(C),Li=Pn.getMonth(Pe)-Pn.getMonth(C),Qi=Pn.getDate(Pe)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(rt=Pe,Pn.compareDate(Pe,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Pe,Pn.compareDate(Pe,rt)<0&&(rt=Pn.addCalendarYears(rt,Pi),rt=Pn.addCalendarMonths(rt,Li),rt=Pn.addCalendarDays(rt,Qi))):(rt=Pn.addCalendarYears(rt,Pi),rt=Pn.addCalendarMonths(rt,Li),rt=Pn.addCalendarDays(rt,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(rt,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(f.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:mt,deps:[[new r.Optional,new r.SkipSelf,mt],f.DateAdapter],useFactory:function nn(Je,Rt){return Je||new qt(Rt)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),this._hasSameMonthAndYear(te,this._activeDate)||this._init()}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}constructor(C,te,Pe,rt,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Pe,this._dir=rt,this._rangeStrategy=Zt,this._rerenderSubscription=gt.w0.EMPTY,this.activeDrag=null,this.selectedChange=new r.EventEmitter,this._userSelection=new r.EventEmitter,this.dragStarted=new r.EventEmitter,this.dragEnded=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ze.O)(null)).subscribe(()=>this._init())}ngOnChanges(C){const te=C.comparisonStart||C.comparisonEnd;te&&!te.firstChange&&this._setRanges(this.selected),C.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(C){const te=C.value,Pe=this._getDateFromDayOfMonth(te);let rt,Zt;this._selected instanceof _n?(rt=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):rt=Zt=this._getDateInCurrentMonth(this._selected),(rt!==te||Zt!==te)&&this.selectedChange.emit(Pe),this._userSelection.emit({value:Pe,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Pe=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Pe=this._isRtl();switch(C.keyCode){case kt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Pe?1:-1);break;case kt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Pe?-1:1);break;case kt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case kt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case kt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case kt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case kt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case kt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case kt.K5:case kt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case kt.hY:return void(null!=this._previewEnd&&!(0,kt.Vb)(C)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:C}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:C})),C.preventDefault(),C.stopPropagation()));default:return}this._dateAdapter.compareDate(te,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),C.preventDefault()}_handleCalendarBodyKeyup(C){(C.keyCode===kt.L_||C.keyCode===kt.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:C}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let C=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(C)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(C){this._matCalendarBody._focusActiveCell(C)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:C,value:te}){if(this._rangeStrategy){const Pe=te?te.rawValue:null,rt=this._rangeStrategy.createPreview(Pe,this.selected,C);if(this._previewStart=this._getCellCompareValue(rt.start),this._previewEnd=this._getCellCompareValue(rt.end),this.activeDrag&&Pe){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Pe,C);Zt&&(this._previewStart=this._getCellCompareValue(Zt.start),this._previewEnd=this._getCellCompareValue(Zt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(C){if(this.activeDrag)if(C.value){const te=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,C.value,C.event);this.dragEnded.emit({value:te??null,event:C.event})}else this.dragEnded.emit({value:null,event:C.event})}_getDateFromDayOfMonth(C){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),C)}_initWeekdays(){const C=this._dateAdapter.getFirstDayOfWeek(),te=this._dateAdapter.getDayOfWeekNames("narrow");let rt=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=rt.slice(C).concat(rt.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Pe=0,rt=this._firstWeekOffset;Pe=0)&&(!this.maxDate||this._dateAdapter.compareDate(C,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(C))}_getDateInCurrentMonth(C){return C&&this._hasSameMonthAndYear(C,this.activeDate)?this._dateAdapter.getDate(C):null}_hasSameMonthAndYear(C,te){return!(!C||!te||this._dateAdapter.getMonth(C)!=this._dateAdapter.getMonth(te)||this._dateAdapter.getYear(C)!=this._dateAdapter.getYear(te))}_getCellCompareValue(C){if(C){const te=this._dateAdapter.getYear(C),Pe=this._dateAdapter.getMonth(C),rt=this._dateAdapter.getDate(C);return new Date(te,Pe,rt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(C){C instanceof _n?(this._rangeStart=this._getCellCompareValue(C.start),this._rangeEnd=this._getCellCompareValue(C.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(C),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(C){return!this.dateFilter||this.dateFilter(C)}_clearPreview(){this._previewStart=this._previewEnd=null}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(mt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(et,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Pe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[r.\u0275\u0275NgOnChangesFeature],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(C,te){1&C&&(r.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),r.\u0275\u0275template(3,Oe,5,2,"th",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"tr"),r.\u0275\u0275element(5,"th",3),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"tbody",4),r.\u0275\u0275listener("selectedValueChange",function(rt){return te._dateSelected(rt)})("activeDateChange",function(rt){return te._updateActiveDate(rt)})("previewChange",function(rt){return te._previewChanged(rt)})("dragStarted",function(rt){return te.dragStarted.emit(rt)})("dragEnded",function(rt){return te._dragEnded(rt)})("keyup",function(rt){return te._handleCalendarBodyKeyup(rt)})("keydown",function(rt){return te._handleCalendarBodyKeydown(rt)}),r.\u0275\u0275elementEnd()()),2&C&&(r.\u0275\u0275advance(3),r.\u0275\u0275property("ngForOf",te._weekdays),r.\u0275\u0275advance(3),r.\u0275\u0275property("label",te._monthLabel)("rows",te._weeks)("todayValue",te._todayDate)("startValue",te._rangeStart)("endValue",te._rangeEnd)("comparisonStart",te._comparisonRangeStart)("comparisonEnd",te._comparisonRangeEnd)("previewStart",te._previewStart)("previewEnd",te._previewEnd)("isRange",te._isRange)("labelMinRequiredCells",3)("activeCell",te._dateAdapter.getDate(te.activeDate)-1)("startDateAccessibleName",te.startDateAccessibleName)("endDateAccessibleName",te.endDateAccessibleName))},dependencies:[g.NgForOf,et],encapsulation:2,changeDetection:0}),Je})();const wn=24,Xn=4;let _i=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){let te=this._activeDate;const Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),$n(this._dateAdapter,te,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C)),this._setSelectedYear(C)}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}constructor(C,te,Pe){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Pe,this._rerenderSubscription=gt.w0.EMPTY,this.selectedChange=new r.EventEmitter,this.yearSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ze.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const te=this._dateAdapter.getYear(this._activeDate)-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Pe=0,rt=[];Pethis._createCellForYear(Zt))),rt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Pe=this._dateAdapter.createDate(te,0,1),rt=this._getDateFromYear(te);this.yearSelected.emit(Pe),this.selectedChange.emit(rt)}_updateActiveDate(C){const Pe=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Pe=this._isRtl();switch(C.keyCode){case kt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pe?1:-1);break;case kt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pe?-1:1);break;case kt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case kt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case kt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case kt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case kt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case kt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case kt.K5:case kt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),C.preventDefault()}_handleCalendarBodyKeyup(C){(C.keyCode===kt.L_||C.keyCode===kt.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:C}),this._selectionKeyPressed=!1)}_getActiveCell(){return ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(C){const te=this._dateAdapter.getMonth(this.activeDate),Pe=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Pe))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Pe=this._dateAdapter.getYearName(te),rt=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new K(C,Pe,Pe,this._shouldEnableYear(C),rt)}_shouldEnableYear(C){if(null==C||this.maxDate&&C>this._dateAdapter.getYear(this.maxDate)||this.minDate&&C{class Je{get activeDate(){return this._activeDate}set activeDate(C){let te=this._activeDate;const Pe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Pe,this.minDate,this.maxDate),this._dateAdapter.getYear(te)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C)),this._setSelectedMonth(C)}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}constructor(C,te,Pe,rt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Pe,this._dir=rt,this._rerenderSubscription=gt.w0.EMPTY,this.selectedChange=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ze.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(C){const te=C.value,Pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Pe);const rt=this._getDateFromMonth(te);this.selectedChange.emit(rt)}_updateActiveDate(C){const Pe=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Pe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Pe=this._isRtl();switch(C.keyCode){case kt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Pe?1:-1);break;case kt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Pe?-1:1);break;case kt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case kt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case kt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case kt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case kt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case kt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case kt.K5:case kt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),C.preventDefault()}_handleCalendarBodyKeyup(C){(C.keyCode===kt.L_||C.keyCode===kt.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:C}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let C=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(te=>te.map(Pe=>this._createCellForMonth(Pe,C[Pe]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(C){return C&&this._dateAdapter.getYear(C)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(C):null}_getDateFromMonth(C){const te=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),Pe=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Pe))}_createCellForMonth(C,te){const Pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),rt=this._dateAdapter.format(Pe,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Pe,"year"):void 0;return new K(C,te.toLocaleUpperCase(),rt,this._shouldEnableMonth(C),Zt)}_shouldEnableMonth(C){const te=this._dateAdapter.getYear(this.activeDate);if(null==C||this._isYearAndMonthAfterMaxDate(te,C)||this._isYearAndMonthBeforeMinDate(te,C))return!1;if(!this.dateFilter)return!0;for(let rt=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(rt)==C;rt=this._dateAdapter.addCalendarDays(rt,1))if(this.dateFilter(rt))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Pe=this._dateAdapter.getYear(this.maxDate),rt=this._dateAdapter.getMonth(this.maxDate);return C>Pe||C===Pe&&te>rt}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Pe=this._dateAdapter.getYear(this.minDate),rt=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Pe,rt,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Pe,this._dateFormats=rt,this._id="mat-calendar-header-"+Rn++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Zt.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-wn)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:wn)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(C,te){return"month"==this.calendar.currentView?this._dateAdapter.getYear(C)==this._dateAdapter.getYear(te)&&this._dateAdapter.getMonth(C)==this._dateAdapter.getMonth(te):"year"==this.calendar.currentView?this._dateAdapter.getYear(C)==this._dateAdapter.getYear(te):$n(this._dateAdapter,C,te,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const te=this._dateAdapter.getYear(this.calendar.activeDate)-ti(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Pe=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Pe,0,1))]}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(V),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>mi)),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ge,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),r.\u0275\u0275listener("click",function(){return te.currentPeriodClicked()}),r.\u0275\u0275elementStart(3,"span",3),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(5,"svg",4),r.\u0275\u0275element(6,"polygon",5),r.\u0275\u0275elementEnd()(),r.\u0275\u0275namespaceHTML(),r.\u0275\u0275element(7,"div",6),r.\u0275\u0275projection(8),r.\u0275\u0275elementStart(9,"button",7),r.\u0275\u0275listener("click",function(){return te.previousClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"button",8),r.\u0275\u0275listener("click",function(){return te.nextClicked()}),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(11,"label",9),r.\u0275\u0275text(12),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275advance(2),r.\u0275\u0275attribute("aria-label",te.periodButtonLabel)("aria-describedby",te._periodButtonLabelId),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(te.periodButtonText),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-invert","month"!==te.calendar.currentView),r.\u0275\u0275advance(4),r.\u0275\u0275property("disabled",!te.previousEnabled()),r.\u0275\u0275attribute("aria-label",te.prevButtonLabel),r.\u0275\u0275advance(1),r.\u0275\u0275property("disabled",!te.nextEnabled()),r.\u0275\u0275attribute("aria-label",te.nextButtonLabel),r.\u0275\u0275advance(1),r.\u0275\u0275property("id",te._periodButtonLabelId),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te.periodButtonDescription))},dependencies:[pe,Qe],encapsulation:2,changeDetection:0}),Je})(),mi=(()=>{class Je{get startAt(){return this._startAt}set startAt(C){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get selected(){return this._selected}set selected(C){this._selected=C instanceof _n?C:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get minDate(){return this._minDate}set minDate(C){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get maxDate(){return this._maxDate}set maxDate(C){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get activeDate(){return this._clampedActiveDate}set activeDate(C){this._clampedActiveDate=this._dateAdapter.clampDate(C,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(C){const te=this._currentView!==C?C:null;this._currentView=C,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),te&&this.viewChanged.emit(te)}constructor(C,te,Pe,rt){this._dateAdapter=te,this._dateFormats=Pe,this._changeDetectorRef=rt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new r.EventEmitter,this.yearSelected=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.viewChanged=new r.EventEmitter(!0),this._userSelection=new r.EventEmitter,this._userDragDrop=new r.EventEmitter,this._activeDrag=null,this.stateChanges=new Ft.x,this._intlChanges=C.changes.subscribe(()=>{rt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new d.C5(this.headerComponent||Wn),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(C){const te=C.minDate&&!this._dateAdapter.sameDate(C.minDate.previousValue,C.minDate.currentValue)?C.minDate:void 0,Pe=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,rt=te||Pe||C.dateFilter;if(rt&&!rt.firstChange){const Zt=this._getCurrentViewComponent();Zt&&(this._changeDetectorRef.detectChanges(),Zt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(C){const te=C.value;(this.selected instanceof _n||te&&!this._dateAdapter.sameDate(te,this.selected))&&this.selectedChange.emit(te),this._userSelection.emit(C)}_yearSelectedInMultiYearView(C){this.yearSelected.emit(C)}_monthSelectedInYearView(C){this.monthSelected.emit(C)}_goToDateInView(C,te){this.activeDate=C,this.currentView=te}_dragStarted(C){this._activeDrag=C}_dragEnded(C){this._activeDrag&&(C.value&&this._userDragDrop.emit(C),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(V),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar"]],viewQuery:function(C,te){if(1&C&&(r.\u0275\u0275viewQuery(Nn,5),r.\u0275\u0275viewQuery(Tn,5),r.\u0275\u0275viewQuery(_i,5)),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te.monthView=Pe.first),r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te.yearView=Pe.first),r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te.multiYearView=Pe.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[r.\u0275\u0275ProvidersFeature([Yi]),r.\u0275\u0275NgOnChangesFeature],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(C,te){1&C&&(r.\u0275\u0275template(0,ot,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,At,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Nt,1,6,"mat-year-view",3),r.\u0275\u0275template(4,zt,1,6,"mat-multi-year-view",4),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275property("cdkPortalOutlet",te._calendarHeaderPortal),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitch",te.currentView),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","month"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","year"),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase","multi-year"))},dependencies:[g.NgSwitch,g.NgSwitchCase,n.kH,d.Pl,Nn,Tn,_i],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),Je})();const Yn={transformPanel:(0,oe.X$)("transformPanel",[(0,oe.eR)("void => enter-dropdown",(0,oe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,oe.F4)([(0,oe.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,oe.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,oe.eR)("void => enter-dialog",(0,oe.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,oe.F4)([(0,oe.oB)({opacity:0,transform:"scale(0.7)"}),(0,oe.oB)({transform:"none",opacity:1})]))),(0,oe.eR)("* => void",(0,oe.jt)("100ms linear",(0,oe.oB)({opacity:0})))]),fadeInCalendar:(0,oe.X$)("fadeInCalendar",[(0,oe.SB)("void",(0,oe.oB)({opacity:0})),(0,oe.SB)("enter",(0,oe.oB)({opacity:1})),(0,oe.eR)("void => *",(0,oe.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let wi=0;const ri=new r.InjectionToken("mat-datepicker-scroll-strategy");function ai(Je){return()=>Je.scrollStrategies.reposition()}const Ni={provide:ri,deps:[c.aV],useFactory:ai},xt=(0,f.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends xt{constructor(C,te,Pe,rt,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Pe,this._dateAdapter=rt,this._rangeSelectionStrategy=Zt,this._subscriptions=new gt.w0,this._animationDone=new Ft.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Pn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(C){const te=this._model.selection,Pe=C.value,rt=te instanceof _n;if(rt&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Pe,te,C.event);this._model.updateSelection(Zt,this)}else Pe&&(rt||!this._dateAdapter.sameDate(Pe,te))&&this._model.add(Pe);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(C){this._model.updateSelection(C.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(C){this._isAnimating="start"===C.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(C,te){this._model=C?this._globalModel.clone():this._globalModel,this._actionsPortal=C,te&&this._changeDetectorRef.detectChanges()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Mn),r.\u0275\u0275directiveInject(f.DateAdapter),r.\u0275\u0275directiveInject(mt,8),r.\u0275\u0275directiveInject(V))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker-content"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(mi,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._calendar=Pe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(rt){return te._handleAnimationEvent(rt)})("@transformPanel.done",function(rt){return te._handleAnimationEvent(rt)}),2&C&&(r.\u0275\u0275syntheticHostProperty("@transformPanel",te._animationState),r.\u0275\u0275classProp("mat-datepicker-content-touch",te.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(C,te){if(1&C&&(r.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),r.\u0275\u0275listener("yearSelected",function(rt){return te.datepicker._selectYear(rt)})("monthSelected",function(rt){return te.datepicker._selectMonth(rt)})("viewChanged",function(rt){return te.datepicker._viewChanged(rt)})("_userSelection",function(rt){return te._handleUserSelection(rt)})("_userDragDrop",function(rt){return te._handleUserDragDrop(rt)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Ne,0,0,"ng-template",2),r.\u0275\u0275elementStart(3,"button",3),r.\u0275\u0275listener("focus",function(){return te._closeButtonFocused=!0})("blur",function(){return te._closeButtonFocused=!1})("click",function(){return te.datepicker.close()}),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd()()),2&C){let Pe;r.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",te.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",te._actionsPortal),r.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(Pe=te._dialogLabelId)&&void 0!==Pe?Pe:void 0),r.\u0275\u0275advance(1),r.\u0275\u0275property("id",te.datepicker.id)("ngClass",te.datepicker.panelClass)("startAt",te.datepicker.startAt)("startView",te.datepicker.startView)("minDate",te.datepicker._getMinDate())("maxDate",te.datepicker._getMaxDate())("dateFilter",te.datepicker._getDateFilter())("headerComponent",te.datepicker.calendarHeaderComponent)("selected",te._getSelected())("dateClass",te.datepicker.dateClass)("comparisonStart",te.comparisonStart)("comparisonEnd",te.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",te.startDateAccessibleName)("endDateAccessibleName",te.endDateAccessibleName),r.\u0275\u0275advance(1),r.\u0275\u0275property("cdkPortalOutlet",te._actionsPortal),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("cdk-visually-hidden",!te._closeButtonFocused),r.\u0275\u0275property("color",te.color||"primary"),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te._closeButtonText)}},dependencies:[g.NgClass,pe,n.mK,d.Pl,mi],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Yn.transformPanel,Yn.fadeInCalendar]},changeDetection:0}),Je})(),ke=(()=>{class Je{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(C){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(C){this._color=C}get touchUi(){return this._touchUi}set touchUi(C){this._touchUi=(0,N.Ig)(C)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(C){const te=(0,N.Ig)(C);te!==this._disabled&&(this._disabled=te,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(C){this._restoreFocus=(0,N.Ig)(C)}get panelClass(){return this._panelClass}set panelClass(C){this._panelClass=(0,N.du)(C)}get opened(){return this._opened}set opened(C){(0,N.Ig)(C)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(C,te,Pe,rt,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Pe,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=gt.w0.EMPTY,this._document=(0,r.inject)(g.DOCUMENT),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.viewChanged=new r.EventEmitter(!0),this.openedStream=new r.EventEmitter,this.closedStream=new r.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+wi++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ft.x,this._scrollStrategy=rt}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Pe=this._overlayRef.getConfig().positionStrategy;Pe instanceof c._G&&(this._setConnectedPositions(Pe),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(C){this._model.add(C)}_selectYear(C){this.yearSelected.emit(C)}_selectMonth(C){this.monthSelected.emit(C)}_viewChanged(C){this.viewChanged.emit(C)}registerInput(C){return this._inputStateChanges.unsubscribe(),this.datepickerInput=C,this._inputStateChanges=C.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(C){this._actionsPortal=C,this._componentRef?.instance._assignActions(C,!0)}removeActions(C){C===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,h.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const C=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,te=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Pe,location:rt}=this._componentRef;Pe._startExitAnimation(),Pe._animationDone.pipe((0,ct.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||rt.nativeElement.contains(Zt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}C?setTimeout(te):te()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(C){C.datepicker=this,C.color=this.color,C._dialogLabelId=this.datepickerInput.getOverlayLabelId(),C._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const C=this.touchUi,te=new d.C5(jt,this._viewContainerRef),Pe=this._overlayRef=this._overlay.create(new c.X_({positionStrategy:C?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[C?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:C?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(C?"dialog":"popup")}));this._getCloseStream(Pe).subscribe(rt=>{rt&&rt.preventDefault(),this.close()}),Pe.keydownEvents().subscribe(rt=>{const Zt=rt.keyCode;(Zt===kt.LH||Zt===kt.JH||Zt===kt.oh||Zt===kt.SV||Zt===kt.Ku||Zt===kt.VM)&&rt.preventDefault()}),this._componentRef=Pe.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,ct.q)(1)).subscribe(()=>Pe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const C=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(C)}_setConnectedPositions(C){const te="end"===this.xPosition?"end":"start",Pe="start"===te?"end":"start",rt="above"===this.yPosition?"bottom":"top",Zt="top"===rt?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:rt},{originX:te,originY:rt,overlayX:te,overlayY:Zt},{originX:Pe,originY:Zt,overlayX:Pe,overlayY:rt},{originX:Pe,originY:rt,overlayX:Pe,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Pe=>Pe.keyCode===kt.hY&&!(0,kt.Vb)(Pe)||this.datepickerInput&&(0,kt.Vb)(Pe,"altKey")&&Pe.keyCode===kt.LH&&te.every(rt=>!(0,kt.Vb)(Pe,rt)))))}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(c.aV),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(ri),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(Mn))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[r.\u0275\u0275NgOnChangesFeature]}),Je})(),O=(()=>{class Je extends ke{}return Je.\u0275fac=function(){let Rt;return function(te){return(Rt||(Rt=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[r.\u0275\u0275ProvidersFeature([Yi,{provide:ke,useExisting:Je}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(C,te){},encapsulation:2,changeDetection:0}),Je})();class me{constructor(Rt,C){this.target=Rt,this.targetElement=C,this.value=this.target.value}}let le=(()=>{class Je{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(C){this._assignValueProgrammatically(C)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(C){const te=(0,N.Ig)(C),Pe=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Pe.blur&&Pe.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(C){this._model=C,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(te=>{if(this._shouldHandleChangeEvent(te)){const Pe=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Pe),this._cvaOnChange(Pe),this._onTouched(),this._formatValue(Pe),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Pe){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Pe,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Ft.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=gt.w0.EMPTY,this._localeSubscription=gt.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=rt=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=rt=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=rt=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(rt.value)),Pn=this._getMaxDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)>=0?null:{matDatepickerMax:{max:Pn,actual:Zt}}},this._lastValueValid=!1,this._localeSubscription=te.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(C){Xe(C,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(C){this._validatorOnChange=C}validate(C){return this._validator?this._validator(C):null}writeValue(C){this._assignValueProgrammatically(C)}registerOnChange(C){this._cvaOnChange=C}registerOnTouched(C){this._onTouched=C}setDisabledState(C){this.disabled=C}_onKeydown(C){(0,kt.Vb)(C,"altKey")&&C.keyCode===kt.JH&&["ctrlKey","shiftKey","metaKey"].every(rt=>!(0,kt.Vb)(C,rt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Pe=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Pe),Pe=this._dateAdapter.getValidDateOrNull(Pe);const rt=!this._dateAdapter.sameDate(Pe,this.value);!Pe||rt?this._cvaOnChange(Pe):(C&&!this.value&&this._cvaOnChange(Pe),te!==this._lastValueValid&&this._validatorOnChange()),rt&&(this._assignValue(Pe),this.dateInput.emit(new me(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new me(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(C){this._elementRef.nativeElement.value=null!=C?this._dateAdapter.format(C,this._dateFormats.display.dateInput):""}_assignValue(C){this._model?(this._assignValueToModel(C),this._pendingValue=null):this._pendingValue=C}_isValidValue(C){return!C||this._dateAdapter.isValid(C)}_parentDisabled(){return!1}_assignValueProgrammatically(C){C=this._dateAdapter.deserialize(C),this._lastValueValid=this._isValidValue(C),C=this._dateAdapter.getValidDateOrNull(C),this._assignValue(C),this._formatValue(C)}_matchesFilter(C){const te=this._getDateFilter();return!te||te(C)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275NgOnChangesFeature]}),Je})();function Xe(Je,Rt){const C=Object.keys(Je);for(let te of C){const{previousValue:Pe,currentValue:rt}=Je[te];if(!Rt.isDateInstance(Pe)||!Rt.isDateInstance(rt))return!0;if(!Rt.sameDate(Pe,rt))return!0}return!1}const Ot={provide:Y.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(()=>un),multi:!0},Wt={provide:Y.NG_VALIDATORS,useExisting:(0,r.forwardRef)(()=>un),multi:!0};let un=(()=>{class Je extends le{set matDatepicker(C){C&&(this._datepicker=C,this._closedSubscription=C.closedStream.subscribe(()=>this._onTouched()),this._registerModel(C.registerInput(this)))}get min(){return this._min}set min(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._validatorOnChange())}get max(){return this._max}set max(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._max)||(this._max=te,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(C){const te=this._matchesFilter(this.value);this._dateFilter=C,this._matchesFilter(this.value)!==te&&this._validatorOnChange()}constructor(C,te,Pe,rt){super(C,te,Pe),this._formField=rt,this._closedSubscription=gt.w0.EMPTY,this._validator=Y.Validators.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(C){return C}_assignValueToModel(C){this._model&&this._model.updateSelection(C,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(C){return C.source!==this}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("input",function(rt){return te._onInput(rt.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(rt){return te._onKeydown(rt)}),2&C&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("aria-haspopup",te._datepicker?"dialog":null)("aria-owns",(null==te._datepicker?null:te._datepicker.opened)&&te._datepicker.id||null)("min",te.min?te._dateAdapter.toIso8601(te.min):null)("max",te.max?te._dateAdapter.toIso8601(te.max):null)("data-mat-calendar",te._datepicker?te._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[r.\u0275\u0275ProvidersFeature([Ot,Wt,{provide:Q.Jk,useExisting:Je}]),r.\u0275\u0275InheritDefinitionFeature]}),Je})(),gn=(()=>{class Je{}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["","matDatepickerToggleIcon",""]]}),Je})(),pn=(()=>{class Je{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(C){this._disabled=(0,N.Ig)(C)}constructor(C,te,Pe){this._intl=C,this._changeDetectorRef=te,this._stateChanges=gt.w0.EMPTY;const rt=Number(Pe);this.tabIndex=rt||0===rt?rt:null}ngOnChanges(C){C.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(C){this.datepicker&&!this.disabled&&(this.datepicker.open(),C.stopPropagation())}_watchStateChanges(){const C=this.datepicker?this.datepicker.stateChanges:(0,Tt.of)(),te=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Tt.of)(),Pe=this.datepicker?(0,Bt.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Tt.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Bt.T)(this._intl.changes,C,te,Pe).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(V),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275injectAttribute("tabindex"))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker-toggle"]],contentQueries:function(C,te,Pe){if(1&C&&r.\u0275\u0275contentQuery(Pe,gn,5),2&C){let rt;r.\u0275\u0275queryRefresh(rt=r.\u0275\u0275loadQuery())&&(te._customIcon=rt.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery($e,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._button=Pe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(rt){return te._open(rt)}),2&C&&(r.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",te.datepicker?te.datepicker.id:null),r.\u0275\u0275classProp("mat-datepicker-toggle-active",te.datepicker&&te.datepicker.opened)("mat-accent",te.datepicker&&"accent"===te.datepicker.color)("mat-warn",te.datepicker&&"warn"===te.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:lt,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(Ce),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,ae,2,0,"svg",2),r.\u0275\u0275projection(3),r.\u0275\u0275elementEnd()),2&C&&(r.\u0275\u0275property("disabled",te.disabled)("disableRipple",te.disableRipple),r.\u0275\u0275attribute("aria-haspopup",te.datepicker?"dialog":null)("aria-label",te.ariaLabel||te._intl.openCalendarLabel)("tabindex",te.disabled?-1:te.tabIndex),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",!te._customIcon))},dependencies:[g.NgIf,Qe],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),Je})();function si(Je){return Ti(Je,!0)}function jn(Je){return Je.nodeType===Node.ELEMENT_NODE}function Ti(Je,Rt){if(jn(Je)&&Rt){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Pe,rt)=>{const Zt=document.getElementById(rt);return Zt&&Pe.push(Zt),Pe},[]);if(te.length)return te.map(Pe=>Ti(Pe,!1)).join(" ")}if(jn(Je)){const C=Je.getAttribute("aria-label")?.trim();if(C)return C}if(function Fn(Je){return"INPUT"===Je.nodeName}(Je)||function bi(Je){return"TEXTAREA"===Je.nodeName}(Je)){if(Je.labels?.length)return Array.from(Je.labels).map(Pe=>Ti(Pe,!1)).join(" ");const C=Je.getAttribute("placeholder")?.trim();if(C)return C;const te=Je.getAttribute("title")?.trim();if(te)return te}return(Je.textContent||"").replace(/\s+/g," ").trim()}const Fi=new r.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),fn=(0,f.mixinErrorState)((()=>{class Je extends le{constructor(C,te,Pe,rt,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Pe,this._injector=rt,this._parentForm=Zt,this._parentFormGroup=Pn,this._dir=(0,r.inject)(Le.Is,{optional:!0})}ngOnInit(){const C=this._injector.get(Y.NgControl,null,{optional:!0,self:!0});C&&(this.ngControl=C)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const C=this._elementRef.nativeElement,te=C.value;return te.length>0?te:C.placeholder}_onInput(C){super._onInput(C),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:C}){return C!==this._rangeInput._startInput&&C!==this._rangeInput._endInput}_assignValueProgrammatically(C){super._assignValueProgrammatically(C),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return si(this._elementRef.nativeElement)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(Fi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,features:[r.\u0275\u0275InheritDefinitionFeature]}),Je})());let Cn=(()=>{class Je extends fn{constructor(C,te,Pe,rt,Zt,Pn,ji,Pi){super(C,te,Pe,rt,Zt,Pn,ji,Pi),this._startValidator=Li=>{const Qi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Li.value)),Ui=this._model?this._model.selection.end:null;return!Qi||!Ui||this._dateAdapter.compareDate(Qi,Ui)<=0?null:{matStartDateInvalid:{end:Ui,actual:Qi}}},this._validator=Y.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(C){return C.start}_shouldHandleChangeEvent(C){return!(!super._shouldHandleChangeEvent(C)||(C.oldValue?.start?C.selection.start&&!this._dateAdapter.compareDate(C.oldValue.start,C.selection.start):!C.selection.start))}_assignValueToModel(C){if(this._model){const te=new _n(C,this._model.selection.end);this._model.updateSelection(te,this)}}_formatValue(C){super._formatValue(C),this._rangeInput._handleChildValueChange()}_onKeydown(C){const te=this._rangeInput._endInput,Pe=this._elementRef.nativeElement,rt="rtl"!==this._dir?.value;(C.keyCode===kt.SV&&rt||C.keyCode===kt.oh&&!rt)&&Pe.selectionStart===Pe.value.length&&Pe.selectionEnd===Pe.value.length?(C.preventDefault(),te._elementRef.nativeElement.setSelectionRange(0,0),te.focus()):super._onKeydown(C)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(Fi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("input",function(rt){return te._onInput(rt.target.value)})("change",function(){return te._onChange()})("keydown",function(rt){return te._onKeydown(rt)})("blur",function(){return te._onBlur()}),2&C&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("aria-haspopup",te._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==te._rangeInput.rangePicker?null:te._rangeInput.rangePicker.opened)&&te._rangeInput.rangePicker.id||null)("min",te._getMinDate()?te._dateAdapter.toIso8601(te._getMinDate()):null)("max",te._getMaxDate()?te._dateAdapter.toIso8601(te._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275ProvidersFeature([{provide:Y.NG_VALUE_ACCESSOR,useExisting:Je,multi:!0},{provide:Y.NG_VALIDATORS,useExisting:Je,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),Je})(),tn=(()=>{class Je extends fn{constructor(C,te,Pe,rt,Zt,Pn,ji,Pi){super(C,te,Pe,rt,Zt,Pn,ji,Pi),this._endValidator=Li=>{const Qi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Li.value)),Ui=this._model?this._model.selection.start:null;return!Qi||!Ui||this._dateAdapter.compareDate(Qi,Ui)>=0?null:{matEndDateInvalid:{start:Ui,actual:Qi}}},this._validator=Y.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(C){return C.end}_shouldHandleChangeEvent(C){return!(!super._shouldHandleChangeEvent(C)||(C.oldValue?.end?C.selection.end&&!this._dateAdapter.compareDate(C.oldValue.end,C.selection.end):!C.selection.end))}_assignValueToModel(C){if(this._model){const te=new _n(this._model.selection.start,C);this._model.updateSelection(te,this)}}_onKeydown(C){const te=this._rangeInput._startInput,Pe=this._elementRef.nativeElement,rt="rtl"!==this._dir?.value;if(C.keyCode!==kt.ZH||Pe.value)if((C.keyCode===kt.oh&&rt||C.keyCode===kt.SV&&!rt)&&0===Pe.selectionStart&&0===Pe.selectionEnd){C.preventDefault();const Zt=te._elementRef.nativeElement.value.length;te._elementRef.nativeElement.setSelectionRange(Zt,Zt),te.focus()}else super._onKeydown(C);else te.focus()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(Fi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("input",function(rt){return te._onInput(rt.target.value)})("change",function(){return te._onChange()})("keydown",function(rt){return te._onKeydown(rt)})("blur",function(){return te._onBlur()}),2&C&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("aria-haspopup",te._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==te._rangeInput.rangePicker?null:te._rangeInput.rangePicker.opened)&&te._rangeInput.rangePicker.id||null)("min",te._getMinDate()?te._dateAdapter.toIso8601(te._getMinDate()):null)("max",te._getMaxDate()?te._dateAdapter.toIso8601(te._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275ProvidersFeature([{provide:Y.NG_VALUE_ACCESSOR,useExisting:Je,multi:!0},{provide:Y.NG_VALIDATORS,useExisting:Je,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),Je})(),En=0,ei=(()=>{class Je{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const C=this._startInput?._getPlaceholder()||"",te=this._endInput?._getPlaceholder()||"";return C||te?`${C} ${this.separator} ${te}`:""}get rangePicker(){return this._rangePicker}set rangePicker(C){C&&(this._model=C.registerInput(this),this._rangePicker=C,this._closedSubscription.unsubscribe(),this._closedSubscription=C.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(C){this._required=(0,N.Ig)(C)}get dateFilter(){return this._dateFilter}set dateFilter(C){const te=this._startInput,Pe=this._endInput,rt=te&&te._matchesFilter(te.value),Zt=Pe&&Pe._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==rt&&te._validatorOnChange(),Pe&&Pe._matchesFilter(Pe.value)!==Zt&&Pe._validatorOnChange()}get min(){return this._min}set min(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._revalidate())}get max(){return this._max}set max(C){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C));this._dateAdapter.sameDate(te,this._max)||(this._max=te,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(C){const te=(0,N.Ig)(C);te!==this._groupDisabled&&(this._groupDisabled=te,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const C=!!this._startInput&&this._startInput.isEmpty(),te=!!this._endInput&&this._endInput.isEmpty();return C&&te}constructor(C,te,Pe,rt,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=rt,this._formField=Zt,this._closedSubscription=gt.w0.EMPTY,this.id="mat-date-range-input-"+En++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new Ft.x,Zt?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&te.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=Pe}setDescribedByIds(C){this._ariaDescribedBy=C.length?C.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,Bt.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(C){Xe(C,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(C){const te="start"===C?this._startInput:this._endInput;return te?te.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const C=this._formField;return C&&C._hasFloatingLabel()?C._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(C){this.focused=null!==C,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(C){this._startInput&&this._startInput._registerModel(C),this._endInput&&this._endInput._registerModel(C)}_isTargetRequired(C){return C?.ngControl?.control?.hasValidator(Y.Validators.required)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(Y.ControlContainer,10),r.\u0275\u0275directiveInject(f.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Pe){if(1&C&&(r.\u0275\u0275contentQuery(Pe,Cn,5),r.\u0275\u0275contentQuery(Pe,tn,5)),2&C){let rt;r.\u0275\u0275queryRefresh(rt=r.\u0275\u0275loadQuery())&&(te._startInput=rt.first),r.\u0275\u0275queryRefresh(rt=r.\u0275\u0275loadQuery())&&(te._endInput=rt.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(C,te){2&C&&(r.\u0275\u0275attribute("id",te.id)("aria-labelledby",te._getAriaLabelledby())("aria-describedby",te._ariaDescribedBy)("data-mat-calendar",te.rangePicker?te.rangePicker.id:null),r.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",te._shouldHidePlaceholders())("mat-date-range-input-required",te.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[r.\u0275\u0275ProvidersFeature([{provide:ne.Eo,useExisting:Je},{provide:Fi,useExisting:Je}]),r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Ye,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(_e),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(rt){return te._updateFocus(rt)}),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275projection(2),r.\u0275\u0275elementStart(3,"span",2),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"span",3),r.\u0275\u0275text(6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"div",4),r.\u0275\u0275projection(8,1),r.\u0275\u0275elementStart(9,"span",2),r.\u0275\u0275text(10),r.\u0275\u0275elementEnd()()()),2&C&&(r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(te._getInputMirrorValue("start")),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-date-range-input-separator-hidden",te._shouldHideSeparator()),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te.separator),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(te._getInputMirrorValue("end")))},dependencies:[n.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),Je})(),Ei=(()=>{class Je extends ke{_forwardContentValues(C){super._forwardContentValues(C);const te=this.datepickerInput;te&&(C.comparisonStart=te.comparisonStart,C.comparisonEnd=te.comparisonEnd,C.startDateAccessibleName=te._getStartDateAccessibleName(),C.endDateAccessibleName=te._getEndDateAccessibleName())}}return Je.\u0275fac=function(){let Rt;return function(te){return(Rt||(Rt=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([_t,cn,{provide:ke,useExisting:Je}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(C,te){},encapsulation:2,changeDetection:0}),Je})(),tr=(()=>{class Je{constructor(C){this._datepicker=C}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(ke))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(){return te._applySelection()})}}),Je})(),Ai=(()=>{class Je{constructor(C){this._datepicker=C}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(ke))},Je.\u0275dir=r.\u0275\u0275defineDirective({type:Je,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(){return te._datepicker.close()})}}),Je})(),ar=(()=>{class Je{constructor(C,te){this._datepicker=C,this._viewContainerRef=te}ngAfterViewInit(){this._portal=new d.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(ke),r.\u0275\u0275directiveInject(r.ViewContainerRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(r.TemplateRef,5),2&C){let Pe;r.\u0275\u0275queryRefresh(Pe=r.\u0275\u0275loadQuery())&&(te._template=Pe.first)}},ngContentSelectors:ge,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(C,te){1&C&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,De,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),Je})(),yi=(()=>{class Je{}return Je.\u0275fac=function(C){return new(C||Je)},Je.\u0275mod=r.\u0275\u0275defineNgModule({type:Je}),Je.\u0275inj=r.\u0275\u0275defineInjector({providers:[V,Ni],imports:[g.CommonModule,tt,c.U8,n.rt,d.eL,f.MatCommonModule,Mt.ZD]}),Je})()},6385:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatDivider:()=>g,MatDividerModule:()=>r});var n=a(5879),c=a(2495),d=a(3680);let g=(()=>{class h{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(u){this._vertical=(0,c.Ig)(u)}get inset(){return this._inset}set inset(u){this._inset=(0,c.Ig)(u)}}return h.\u0275fac=function(u){return new(u||h)},h.\u0275cmp=n.\u0275\u0275defineComponent({type:h,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(u,v){2&u&&(n.\u0275\u0275attribute("aria-orientation",v.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",v.vertical)("mat-divider-horizontal",!v.vertical)("mat-divider-inset",v.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(u,v){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),h})(),r=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275mod=n.\u0275\u0275defineNgModule({type:h}),h.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),h})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Ft,G_:()=>kt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Mt,UO:()=>gt,Ve:()=>G,ab:()=>H});var n=a(5879),c=a(6825);const H=new n.InjectionToken("MatError"),Ee=new n.InjectionToken("MatPrefix"),G=new n.InjectionToken("MatSuffix"),Mt={transitionMessages:(0,c.X$)("transitionMessages",[(0,c.SB)("enter",(0,c.oB)({opacity:1,transform:"translateY(0%)"})),(0,c.eR)("void => enter",[(0,c.oB)({opacity:0,transform:"translateY(-5px)"}),(0,c.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ft=(()=>{class Q{}return Q.\u0275fac=function(Te){return new(Te||Q)},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q}),Q})();function gt(){return Error("Placeholder attribute and child element were both specified.")}function Bt(Q){return Error(`A hint was already declared for 'align="${Q}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const kt=new n.InjectionToken("MatFormField")},617:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ICON_REGISTRY_PROVIDER:()=>Ae,ICON_REGISTRY_PROVIDER_FACTORY:()=>Re,MAT_ICON_DEFAULT_OPTIONS:()=>we,MAT_ICON_LOCATION:()=>Ee,MAT_ICON_LOCATION_FACTORY:()=>Be,MatIcon:()=>ye,MatIconModule:()=>He,MatIconRegistry:()=>Me,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),h=a(8504),f=a(9315),u=a(7394),v=a(9397),b=a(7398),p=a(6306),_=a(4716),l=a(3020),y=a(8180),x=a(9862),D=a(6593);const S=["*"];let E;function X(Ze){return function I(){if(void 0===E&&(E=null,typeof window<"u")){const Ze=window;void 0!==Ze.trustedTypes&&(E=Ze.trustedTypes.createPolicy("angular#components",{createHTML:Qe=>Qe}))}return E}()?.createHTML(Ze)||Ze}function $(Ze){return Error(`Unable to find icon with the name "${Ze}"`)}function ee(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function ie(Ze){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Ze}".`)}function A(Ze){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Ze}".`)}class U{constructor(Qe,We,tt){this.url=Qe,this.svgText=We,this.options=tt}}let Me=(()=>{class Ze{constructor(We,tt,Mt,Ft){this._httpClient=We,this._sanitizer=tt,this._errorHandler=Ft,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Mt}addSvgIcon(We,tt,Mt){return this.addSvgIconInNamespace("",We,tt,Mt)}addSvgIconLiteral(We,tt,Mt){return this.addSvgIconLiteralInNamespace("",We,tt,Mt)}addSvgIconInNamespace(We,tt,Mt,Ft){return this._addSvgIconConfig(We,tt,new U(Mt,null,Ft))}addSvgIconResolver(We){return this._resolvers.push(We),this}addSvgIconLiteralInNamespace(We,tt,Mt,Ft){const gt=this._sanitizer.sanitize(n.SecurityContext.HTML,Mt);if(!gt)throw A(Mt);const Bt=X(gt);return this._addSvgIconConfig(We,tt,new U("",Bt,Ft))}addSvgIconSet(We,tt){return this.addSvgIconSetInNamespace("",We,tt)}addSvgIconSetLiteral(We,tt){return this.addSvgIconSetLiteralInNamespace("",We,tt)}addSvgIconSetInNamespace(We,tt,Mt){return this._addSvgIconSetConfig(We,new U(tt,null,Mt))}addSvgIconSetLiteralInNamespace(We,tt,Mt){const Ft=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Ft)throw A(tt);const gt=X(Ft);return this._addSvgIconSetConfig(We,new U("",gt,Mt))}registerFontClassAlias(We,tt=We){return this._fontCssClassesByAlias.set(We,tt),this}classNameForFontAlias(We){return this._fontCssClassesByAlias.get(We)||We}setDefaultFontSetClass(...We){return this._defaultFontSetClass=We,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(We){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,We);if(!tt)throw ie(We);const Mt=this._cachedIconsByUrl.get(tt);return Mt?(0,r.of)(he(Mt)):this._loadSvgIconFromConfig(new U(We,null)).pipe((0,v.b)(Ft=>this._cachedIconsByUrl.set(tt,Ft)),(0,b.U)(Ft=>he(Ft)))}getNamedSvgIcon(We,tt=""){const Mt=H(tt,We);let Ft=this._svgIconConfigs.get(Mt);if(Ft)return this._getSvgFromConfig(Ft);if(Ft=this._getIconConfigFromResolvers(tt,We),Ft)return this._svgIconConfigs.set(Mt,Ft),this._getSvgFromConfig(Ft);const gt=this._iconSetConfigs.get(tt);return gt?this._getSvgFromIconSetConfigs(We,gt):(0,h._)($(Mt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(We){return We.svgText?(0,r.of)(he(this._svgElementFromConfig(We))):this._loadSvgIconFromConfig(We).pipe((0,b.U)(tt=>he(tt)))}_getSvgFromIconSetConfigs(We,tt){const Mt=this._extractIconWithNameFromAnySet(We,tt);if(Mt)return(0,r.of)(Mt);const Ft=tt.filter(gt=>!gt.svgText).map(gt=>this._loadSvgIconSetFromConfig(gt).pipe((0,p.K)(Bt=>{const kt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,gt.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(kt)),(0,r.of)(null)})));return(0,f.D)(Ft).pipe((0,b.U)(()=>{const gt=this._extractIconWithNameFromAnySet(We,tt);if(!gt)throw $(We);return gt}))}_extractIconWithNameFromAnySet(We,tt){for(let Mt=tt.length-1;Mt>=0;Mt--){const Ft=tt[Mt];if(Ft.svgText&&Ft.svgText.toString().indexOf(We)>-1){const gt=this._svgElementFromConfig(Ft),Bt=this._extractSvgIconFromSet(gt,We,Ft.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(We){return this._fetchIcon(We).pipe((0,v.b)(tt=>We.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(We)))}_loadSvgIconSetFromConfig(We){return We.svgText?(0,r.of)(null):this._fetchIcon(We).pipe((0,v.b)(tt=>We.svgText=tt))}_extractSvgIconFromSet(We,tt,Mt){const Ft=We.querySelector(`[id="${tt}"]`);if(!Ft)return null;const gt=Ft.cloneNode(!0);if(gt.removeAttribute("id"),"svg"===gt.nodeName.toLowerCase())return this._setSvgAttributes(gt,Mt);if("symbol"===gt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(gt),Mt);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(gt),this._setSvgAttributes(Bt,Mt)}_svgElementFromString(We){const tt=this._document.createElement("DIV");tt.innerHTML=We;const Mt=tt.querySelector("svg");if(!Mt)throw Error(" tag not found");return Mt}_toSvgElement(We){const tt=this._svgElementFromString(X("")),Mt=We.attributes;for(let Ft=0;FtX(kt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(gt)),(0,l.B)());return this._inProgressUrlFetches.set(gt,Tt),Tt}_addSvgIconConfig(We,tt,Mt){return this._svgIconConfigs.set(H(We,tt),Mt),this}_addSvgIconSetConfig(We,tt){const Mt=this._iconSetConfigs.get(We);return Mt?Mt.push(tt):this._iconSetConfigs.set(We,[tt]),this}_svgElementFromConfig(We){if(!We.svgElement){const tt=this._svgElementFromString(We.svgText);this._setSvgAttributes(tt,We.options),We.svgElement=tt}return We.svgElement}_getIconConfigFromResolvers(We,tt){for(let Mt=0;MtQe?Qe.pathname+Qe.search:""}}const G=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],re=G.map(Ze=>`[${Ze}]`).join(", "),se=/^url\(['"]?#(.*?)['"]?\)$/;let ye=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(We){this._inline=(0,d.Ig)(We)}get svgIcon(){return this._svgIcon}set svgIcon(We){We!==this._svgIcon&&(We?this._updateSvgIcon(We):this._svgIcon&&this._clearSvgElement(),this._svgIcon=We)}get fontSet(){return this._fontSet}set fontSet(We){const tt=this._cleanupFontValue(We);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(We){const tt=this._cleanupFontValue(We);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(We,tt,Mt,Ft,gt,Bt){super(We),this._iconRegistry=tt,this._location=Ft,this._errorHandler=gt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=u.w0.EMPTY,Bt&&(Bt.color&&(this.color=this.defaultColor=Bt.color),Bt.fontSet&&(this.fontSet=Bt.fontSet)),Mt||We.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(We){if(!We)return["",""];const tt=We.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${We}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const We=this._elementsWithExternalReferences;if(We&&We.size){const tt=this._location.getPathname();tt!==this._previousPath&&(this._previousPath=tt,this._prependPathToReferences(tt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(We){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(We),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(We)}_clearSvgElement(){const We=this._elementRef.nativeElement;let tt=We.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Mt=We.childNodes[tt];(1!==Mt.nodeType||"svg"===Mt.nodeName.toLowerCase())&&Mt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const We=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Mt=>Mt.length>0);this._previousFontSetClass.forEach(Mt=>We.classList.remove(Mt)),tt.forEach(Mt=>We.classList.add(Mt)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&We.classList.remove(this._previousFontIconClass),this.fontIcon&&We.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(We){return"string"==typeof We?We.trim().split(" ")[0]:We}_prependPathToReferences(We){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Mt,Ft)=>{Mt.forEach(gt=>{Ft.setAttribute(gt.name,`url('${We}#${gt.value}')`)})})}_cacheChildrenWithExternalReferences(We){const tt=We.querySelectorAll(re),Mt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ft=0;Ft{const Bt=tt[Ft],Tt=Bt.getAttribute(gt),kt=Tt?Tt.match(se):null;if(kt){let Le=Mt.get(Bt);Le||(Le=[],Mt.set(Bt,Le)),Le.push({name:gt,value:kt[1]})}})}_updateSvgIcon(We){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),We){const[tt,Mt]=this._splitIconName(We);tt&&(this._svgNamespace=tt),Mt&&(this._svgName=Mt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Mt,tt).pipe((0,y.q)(1)).subscribe(Ft=>this._setSvgElement(Ft),Ft=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Mt}! ${Ft.message}`))})}}}return Ze.\u0275fac=function(We){return new(We||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Me),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(we,8))},Ze.\u0275cmp=n.\u0275\u0275defineComponent({type:Ze,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(We,tt){2&We&&(n.\u0275\u0275attribute("data-mat-icon-type",tt._usingFontIcon()?"font":"svg")("data-mat-icon-name",tt._svgName||tt.fontIcon)("data-mat-icon-namespace",tt._svgNamespace||tt.fontSet)("fontIcon",tt._usingFontIcon()?tt.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",tt.inline)("mat-icon-no-color","primary"!==tt.color&&"accent"!==tt.color&&"warn"!==tt.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:S,decls:1,vars:0,template:function(We,tt){1&We&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),Ze})(),He=(()=>{class Ze{}return Ze.\u0275fac=function(We){return new(We||Ze)},Ze.\u0275mod=n.\u0275\u0275defineNgModule({type:Ze}),Ze.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatCommonModule,c.MatCommonModule]}),Ze})()},4516:(Ie,B,a)=>{"use strict";a.d(B,{Jk:()=>b,Nt:()=>y,b7:()=>v});var n=a(2495),c=a(2831),d=a(6263),g=a(5879),r=a(6223),h=a(3680),f=a(1043),u=a(8645);function v(D){return Error(`Input type "${D}" isn't supported by matInput.`)}const b=new g.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),p=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let _=0;const l=(0,h.mixinErrorState)(class{constructor(D,S,E,I){this._defaultErrorStateMatcher=D,this._parentForm=S,this._parentFormGroup=E,this.ngControl=I,this.stateChanges=new u.x}});let y=(()=>{class D extends l{get disabled(){return this._disabled}set disabled(E){this._disabled=(0,n.Ig)(E),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(E){this._id=E||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(r.Validators.required)??!1}set required(E){this._required=(0,n.Ig)(E)}get type(){return this._type}set type(E){this._type=E||"text",this._validateType(),!this._isTextarea&&(0,c.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(E){E!==this.value&&(this._inputValueAccessor.value=E,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(E){this._readonly=(0,n.Ig)(E)}constructor(E,I,X,$,ee,ie,A,U,Me,Re){super(ie,$,ee,X),this._elementRef=E,this._platform=I,this._autofillMonitor=U,this._formField=Re,this._uid="mat-input-"+_++,this.focused=!1,this.stateChanges=new u.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(H=>(0,c.qK)().has(H)),this._iOSKeyupListener=H=>{const W=H.target;!W.value&&0===W.selectionStart&&0===W.selectionEnd&&(W.setSelectionRange(1,1),W.setSelectionRange(0,0))};const Ae=this._elementRef.nativeElement,he=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Me.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===he,this._isTextarea="textarea"===he,this._isInFormField=!!Re,this._isNativeSelect&&(this.controlType=Ae.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(E=>{this.autofilled=E.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(E){this._elementRef.nativeElement.focus(E)}_focusChanged(E){E!==this.focused&&(this.focused=E,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const E=this._elementRef.nativeElement.value;this._previousNativeValue!==E&&(this._previousNativeValue=E,this.stateChanges.next())}_dirtyCheckPlaceholder(){const E=this._getPlaceholder();if(E!==this._previousPlaceholder){const I=this._elementRef.nativeElement;this._previousPlaceholder=E,E?I.setAttribute("placeholder",E):I.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){p.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let E=this._elementRef.nativeElement.validity;return E&&E.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const E=this._elementRef.nativeElement,I=E.options[0];return this.focused||E.multiple||!this.empty||!!(E.selectedIndex>-1&&I&&I.label)}return this.focused||!this.empty}setDescribedByIds(E){E.length?this._elementRef.nativeElement.setAttribute("aria-describedby",E.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const E=this._elementRef.nativeElement;return this._isNativeSelect&&(E.multiple||E.size>1)}}return D.\u0275fac=function(E){return new(E||D)(g.\u0275\u0275directiveInject(g.ElementRef),g.\u0275\u0275directiveInject(c.t4),g.\u0275\u0275directiveInject(r.NgControl,10),g.\u0275\u0275directiveInject(r.NgForm,8),g.\u0275\u0275directiveInject(r.FormGroupDirective,8),g.\u0275\u0275directiveInject(h.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(f.G_,8))},D.\u0275dir=g.\u0275\u0275defineDirective({type:D,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(E,I){1&E&&g.\u0275\u0275listener("focus",function(){return I._focusChanged(!0)})("blur",function(){return I._focusChanged(!1)})("input",function(){return I._onInput()}),2&E&&(g.\u0275\u0275hostProperty("id",I.id)("disabled",I.disabled)("required",I.required),g.\u0275\u0275attribute("name",I.name||null)("readonly",I.readonly&&!I._isNativeSelect||null)("aria-invalid",I.empty&&I.required?null:I.errorState)("aria-required",I.required)("id",I.id),g.\u0275\u0275classProp("mat-input-server",I._isServer)("mat-mdc-form-field-textarea-control",I._isInFormField&&I._isTextarea)("mat-mdc-form-field-input-control",I._isInFormField)("mdc-text-field__input",I._isInFormField)("mat-mdc-native-select-inline",I._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:D}]),g.\u0275\u0275InheritDefinitionFeature,g.\u0275\u0275NgOnChangesFeature]}),D})()},9241:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>G,MAT_LEGACY_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>re,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY:()=>tt,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>Mt,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Ft,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>ct,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>We});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),h=a(9594),f=a(4300),u=a(2495),v=a(2831),p=(a(6825),a(7394)),_=a(8645),l=a(4911),y=a(3019),x=a(2096),D=a(2438),S=a(6028),E=a(8484),I=a(6223),X=a(1043),$=a(7921),ee=a(4664),ie=a(8180),A=a(2181),U=a(7398),Me=a(9397),Re=a(7547),Ae=a(9388);const he=["panel"];let we=0;class Ee{constructor(ne,Q){this.source=ne,this.option=Q}}const Be=(0,c.mixinDisableRipple)(class{}),G=new n.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:re});function re(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}let se=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Q){this._color=Q,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Q){this._autoActiveFirstOption=(0,u.Ig)(Q)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Q){this._autoSelectActiveOption=(0,u.Ig)(Q)}set classList(Q){this._classList=Q&&Q.length?(0,u.du)(Q).reduce((ue,Te)=>(ue[Te]=!0,ue),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(Q,ue,Te,Ct){super(),this._changeDetectorRef=Q,this._elementRef=ue,this._defaults=Te,this._activeOptionChanges=p.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new n.EventEmitter,this.opened=new n.EventEmitter,this.closed=new n.EventEmitter,this.optionActivated=new n.EventEmitter,this._classList={},this.id="mat-autocomplete-"+we++,this.inertGroups=Ct?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new f.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Q=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Q]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Q){this.panel&&(this.panel.nativeElement.scrollTop=Q)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Q){const ue=new Ee(this,Q);this.optionSelected.emit(ue)}_getPanelAriaLabelledby(Q){return this.ariaLabel?null:this.ariaLabelledby?(Q?Q+" ":"")+this.ariaLabelledby:Q}_setVisibilityClasses(Q){Q[this._visibleClass]=this.showPanel,Q[this._hiddenClass]=!this.showPanel}_setThemeClasses(Q){Q["mat-primary"]="primary"===this._color,Q["mat-warn"]="warn"===this._color,Q["mat-accent"]="accent"===this._color}_skipPredicate(Q){return Q.disabled}}return Y.\u0275fac=function(Q){return new(Q||Y)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(G),n.\u0275\u0275directiveInject(v.t4))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,viewQuery:function(Q,ue){if(1&Q&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(he,5)),2&Q){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ue.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ue.panel=Te.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),He=(()=>{class Y{constructor(Q){this.elementRef=Q}}return Y.\u0275fac=function(Q){return new(Q||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function We(){return Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}const tt=new n.InjectionToken("mat-autocomplete-scroll-strategy");function Mt(Y){return()=>Y.scrollStrategies.reposition()}const Ft={provide:tt,deps:[h.aV],useFactory:Mt};let gt=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Q){this._autocompleteDisabled=(0,u.Ig)(Q)}constructor(Q,ue,Te,Ct,dt,bt,Oe,ge,ot,At,Nt){this._element=Q,this._overlay=ue,this._viewContainerRef=Te,this._zone=Ct,this._changeDetectorRef=dt,this._dir=Oe,this._formField=ge,this._document=ot,this._viewportRuler=At,this._defaults=Nt,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=p.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new _.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,l.P)(()=>{const zt=this.autocomplete?this.autocomplete.options:null;return zt?zt.changes.pipe((0,$.O)(zt),(0,ee.w)(()=>(0,y.T)(...zt.map(Ne=>Ne.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=zt=>{(zt.keyCode===S.hY&&!(0,S.Vb)(zt)||zt.keyCode===S.LH&&(0,S.Vb)(zt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),zt.stopPropagation(),zt.preventDefault())},this._trackedModal=null,this._scrollStrategy=bt}ngAfterViewInit(){const Q=this._getWindow();typeof Q<"u"&&this._zone.runOutsideAngular(()=>Q.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Q){Q.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Q=this._getWindow();typeof Q<"u"&&Q.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,y.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,A.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,A.h)(()=>this._overlayAttached)):(0,x.of)()).pipe((0,U.U)(Q=>Q instanceof c.MatOptionSelectionChange?Q:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,y.T)((0,D.R)(this._document,"click"),(0,D.R)(this._document,"auxclick"),(0,D.R)(this._document,"touchend")).pipe((0,A.h)(Q=>{const ue=(0,v.sA)(Q),Te=this._formField?this._formField._elementRef.nativeElement:null,Ct=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ue!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ue))&&(!Ct||!Ct.contains(ue))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ue)}))}writeValue(Q){Promise.resolve(null).then(()=>this._assignOptionValue(Q))}registerOnChange(Q){this._onChange=Q}registerOnTouched(Q){this._onTouched=Q}setDisabledState(Q){this._element.nativeElement.disabled=Q}_handleKeydown(Q){const ue=Q.keyCode,Te=(0,S.Vb)(Q);if(ue===S.hY&&!Te&&Q.preventDefault(),this.activeOption&&ue===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Q.preventDefault();else if(this.autocomplete){const Ct=this.autocomplete._keyManager.activeItem,dt=ue===S.LH||ue===S.JH;ue===S.Mf||dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Q):dt&&this._canOpen()&&this.openPanel(),(dt||this.autocomplete._keyManager.activeItem!==Ct)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Q){let ue=Q.target,Te=ue.value;"number"===ue.type&&(Te=""==Te?null:parseFloat(Te)),this._previousValue!==Te&&(this._previousValue=Te,this._pendingAutoselectedOption=null,this._onChange(Te),Te||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===Q.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Q=!1){this._formField&&"auto"===this._formField.floatLabel&&(Q?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Q=this._zone.onStable.pipe((0,ie.q)(1)),ue=this.autocomplete.options.changes.pipe((0,Me.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(Q,ue).pipe((0,ee.w)(()=>(this._zone.run(()=>{const Te=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Te!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ie.q)(1)).subscribe(Te=>this._setValueAndClose(Te))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Q){const ue=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Q):Q;this._updateNativeInputValue(ue??"")}_updateNativeInputValue(Q){this._formField?this._formField._control.value=Q:this._element.nativeElement.value=Q,this._previousValue=Q}_setValueAndClose(Q){const ue=Q?Q.source:this._pendingAutoselectedOption;ue&&(this._clearPreviousSelectedOption(ue),this._assignOptionValue(ue.value),this._onChange(ue.value),this.autocomplete._emitSelectEvent(ue),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Q,ue){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==Q&&Te.selected&&Te.deselect(ue)})}_attachOverlay(){let Q=this._overlayRef;Q?(this._positionStrategy.setOrigin(this._getConnectedElement()),Q.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Q=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Q,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Q&&Q.updateSize({width:this._getPanelWidth()})})),Q&&!Q.hasAttached()&&(Q.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ue=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ue!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Q=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Q.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Q.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new h.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Q=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Q),this._positionStrategy=Q,Q}_setStrategyPositions(Q){const ue=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,Ct=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Te},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Te}];let dt;dt="above"===this.position?Ct:"below"===this.position?ue:[...ue,...Ct],Q.withPositions(dt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Q=this.autocomplete;if(Q.autoActiveFirstOption){let ue=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!Q)return;const ue=this.autocomplete.id;this._trackedModal&&(0,f.iD)(this._trackedModal,"aria-owns",ue),(0,f.Zf)(Q,"aria-owns",ue),this._trackedModal=Q}_clearFromModal(){this._trackedModal&&((0,f.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(Q){return new(Q||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(h.aV),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(tt),n.\u0275\u0275directiveInject(Ae.Is,8),n.\u0275\u0275directiveInject(X.G_,9),n.\u0275\u0275directiveInject(g.DOCUMENT,8),n.\u0275\u0275directiveInject(r.rL),n.\u0275\u0275directiveInject(G,8))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[n.\u0275\u0275NgOnChangesFeature]}),Y})();function kt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const Q=ne.id,ue=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ue.id)("ngClass",ue._classList),n.\u0275\u0275attribute("aria-label",ue.ariaLabel||null)("aria-labelledby",ue._getPanelAriaLabelledby(Q))}}const Le=["*"];let ct=(()=>{class Y extends se{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ue||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(Q,ue,Te){if(1&Q&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&Q){let Ct;n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(ue.optionGroups=Ct),n.\u0275\u0275queryRefresh(Ct=n.\u0275\u0275loadQuery())&&(ue.options=Ct)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[n.\u0275\u0275ProvidersFeature([{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Y}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Le,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(Q,ue){1&Q&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,kt,3,4,"ng-template"))},dependencies:[g.NgClass],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),Y})();const ze={provide:I.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>at),multi:!0};let at=(()=>{class Y extends gt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ue||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(Q,ue){1&Q&&n.\u0275\u0275listener("focusin",function(){return ue._handleFocus()})("blur",function(){return ue._onTouched()})("input",function(Ct){return ue._handleInput(Ct)})("keydown",function(Ct){return ue._handleKeydown(Ct)})("click",function(){return ue._handleClick()}),2&Q&&n.\u0275\u0275attribute("autocomplete",ue.autocompleteAttribute)("role",ue.autocompleteDisabled?null:"combobox")("aria-autocomplete",ue.autocompleteDisabled?null:"list")("aria-activedescendant",ue.panelOpen&&ue.activeOption?ue.activeOption.id:null)("aria-expanded",ue.autocompleteDisabled?null:ue.panelOpen.toString())("aria-owns",ue.autocompleteDisabled||!ue.panelOpen||null==ue.autocomplete?null:ue.autocomplete.id)("aria-haspopup",ue.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[n.\u0275\u0275ProvidersFeature([ze]),n.\u0275\u0275InheritDefinitionFeature]}),Y})(),N=(()=>{class Y extends He{}return Y.\u0275fac=function(){let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ue||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(Q){return new(Q||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ft],imports:[h.U8,d.MatLegacyOptionModule,c.MatCommonModule,g.CommonModule,r.ZD,d.MatLegacyOptionModule,c.MatCommonModule]}),Y})()},4505:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatLegacyAnchor:()=>p,MatLegacyButton:()=>b,MatLegacyButtonModule:()=>_});var n=a(5879),c=a(3680),d=a(4300);const g=["mat-button",""],r=["*"],u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],v=(0,c.mixinColor)((0,c.mixinDisabled)((0,c.mixinDisableRipple)(class{constructor(l){this._elementRef=l}})));let b=(()=>{class l extends v{constructor(x,D,S){super(x),this._focusMonitor=D,this._animationMode=S,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const E of u)this._hasHostAttributes(E)&&this._getHostElement().classList.add(E);x.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(x,D){x?this._focusMonitor.focusVia(this._getHostElement(),x,D):this._getHostElement().focus(D)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...x){return x.some(D=>this._getHostElement().hasAttribute(D))}}return l.\u0275fac=function(x){return new(x||l)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},l.\u0275cmp=n.\u0275\u0275defineComponent({type:l,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(x,D){if(1&x&&n.\u0275\u0275viewQuery(c.MatRipple,5),2&x){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(D.ripple=S.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(x,D){2&x&&(n.\u0275\u0275attribute("disabled",D.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===D._animationMode)("mat-button-disabled",D.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:g,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(x,D){1&x&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&x&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",D.isRoundButton||D.isIconButton),n.\u0275\u0275property("matRippleDisabled",D._isRippleDisabled())("matRippleCentered",D.isIconButton)("matRippleTrigger",D._getHostElement()))},dependencies:[c.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),l})(),p=(()=>{class l extends b{constructor(x,D,S,E){super(D,x,S),this._ngZone=E,this._haltDisabledEvents=I=>{this.disabled&&(I.preventDefault(),I.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return l.\u0275fac=function(x){return new(x||l)(n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(n.NgZone,8))},l.\u0275cmp=n.\u0275\u0275defineComponent({type:l,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(x,D){2&x&&(n.\u0275\u0275attribute("tabindex",D.disabled?-1:D.tabIndex)("disabled",D.disabled||null)("aria-disabled",D.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===D._animationMode)("mat-button-disabled",D.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:g,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(x,D){1&x&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&x&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",D.isRoundButton||D.isIconButton),n.\u0275\u0275property("matRippleDisabled",D._isRippleDisabled())("matRippleCentered",D.isIconButton)("matRippleTrigger",D._getHostElement()))},dependencies:[c.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),l})(),_=(()=>{class l{}return l.\u0275fac=function(x){return new(x||l)},l.\u0275mod=n.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatRippleModule,c.MatCommonModule,c.MatCommonModule]}),l})()},9025:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatLegacyCard:()=>X,MatLegacyCardActions:()=>_,MatLegacyCardAvatar:()=>I,MatLegacyCardContent:()=>v,MatLegacyCardFooter:()=>l,MatLegacyCardHeader:()=>$,MatLegacyCardImage:()=>y,MatLegacyCardLgImage:()=>S,MatLegacyCardMdImage:()=>D,MatLegacyCardModule:()=>ie,MatLegacyCardSmImage:()=>x,MatLegacyCardSubtitle:()=>p,MatLegacyCardTitle:()=>b,MatLegacyCardTitleGroup:()=>ee,MatLegacyCardXlImage:()=>E});var n=a(5879),c=a(3680);const d=["*",[["mat-card-footer"]]],g=["*","mat-card-footer"],r=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],h=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],f=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],u=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let v=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),A})(),b=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),A})(),p=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),A})(),_=(()=>{class A{constructor(){this.align="start"}}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Me,Re){2&Me&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),A})(),y=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),A})(),x=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),A})(),D=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),A})(),S=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),A})(),E=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),A})(),I=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Me){this._animationMode=Me}}return A.\u0275fac=function(Me){return new(Me||A)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(Me,Re){2&Me&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Me,Re){1&Me&&(n.\u0275\u0275projectionDef(d),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),A})(),$=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:h,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Me,Re){1&Me&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0),n.\u0275\u0275projection(2,1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),A})(),ee=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:u,decls:4,vars:0,template:function(Me,Re){1&Me&&(n.\u0275\u0275projectionDef(f),n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(2,1),n.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0}),A})(),ie=(()=>{class A{}return A.\u0275fac=function(Me){return new(Me||A)},A.\u0275mod=n.\u0275\u0275defineNgModule({type:A}),A.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatCommonModule,c.MatCommonModule]}),A})()},4021:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>Me,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS:()=>v,MAT_LEGACY_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>b,MAT_LEGACY_CHECKBOX_REQUIRED_VALIDATOR:()=>E,MatLegacyCheckbox:()=>Re,MatLegacyCheckboxChange:()=>U,MatLegacyCheckboxModule:()=>Ae,MatLegacyCheckboxRequiredValidator:()=>I,_MatLegacyCheckboxRequiredValidatorModule:()=>X});var n=a(4300),c=a(5879),d=a(6223),g=a(3680),r=a(2495);const h=["input"],f=["label"],v=new c.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:b});function b(){return{color:"accent",clickAction:"check-indeterminate"}}let l=0;const y=b(),x=(0,g.mixinTabIndex)((0,g.mixinColor)((0,g.mixinDisableRipple)((0,g.mixinDisabled)(class{constructor(he){this._elementRef=he}}))));let D=(()=>{class he extends x{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(W){this._required=(0,r.Ig)(W)}constructor(W,pe,we,Ee,Be,G,re){super(pe),this._changeDetectorRef=we,this._ngZone=Ee,this._animationMode=G,this._options=re,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new c.EventEmitter,this.indeterminateChange=new c.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||y,this.color=this.defaultColor=this._options.color||y.color,this.tabIndex=parseInt(Be)||0,this.id=this._uniqueId=`${W}${++l}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(W){const pe=(0,r.Ig)(W);pe!=this.checked&&(this._checked=pe,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(W){const pe=(0,r.Ig)(W);pe!==this.disabled&&(this._disabled=pe,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(W){const pe=W!=this._indeterminate;this._indeterminate=(0,r.Ig)(W),pe&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(W){this.checked=!!W}registerOnChange(W){this._controlValueAccessorChangeFn=W}registerOnTouched(W){this._onTouched=W}setDisabledState(W){this.disabled=W}_transitionCheckState(W){let pe=this._currentCheckState,we=this._getAnimationTargetElement();if(pe!==W&&we&&(this._currentAnimationClass&&we.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(pe,W),this._currentCheckState=W,this._currentAnimationClass.length>0)){we.classList.add(this._currentAnimationClass);const Ee=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{we.classList.remove(Ee)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const W=this._options?.clickAction;this.disabled||"noop"===W?!this.disabled&&"noop"===W&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==W&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(W){W.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(W,pe){if("NoopAnimations"===this._animationMode)return"";switch(W){case 0:if(1===pe)return this._animationClasses.uncheckedToChecked;if(3==pe)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===pe?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===pe?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===pe?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(W){const pe=this._inputElement;pe&&(pe.nativeElement.indeterminate=W)}}return he.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},he.\u0275dir=c.\u0275\u0275defineDirective({type:he,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(h,5),c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(g.MatRipple,5)),2&W){let we;c.\u0275\u0275queryRefresh(we=c.\u0275\u0275loadQuery())&&(pe._inputElement=we.first),c.\u0275\u0275queryRefresh(we=c.\u0275\u0275loadQuery())&&(pe._labelElement=we.first),c.\u0275\u0275queryRefresh(we=c.\u0275\u0275loadQuery())&&(pe.ripple=we.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[c.\u0275\u0275InheritDefinitionFeature]}),he})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class he extends d.CheckboxRequiredValidator{}return he.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(he)))(pe||he)}}(),he.\u0275dir=c.\u0275\u0275defineDirective({type:he,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),he})(),X=(()=>{class he{}return he.\u0275fac=function(W){return new(W||he)},he.\u0275mod=c.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=c.\u0275\u0275defineInjector({}),he})();var ee=a(7131);const ie=function(he){return{enterDuration:he}},A=["*"];class U{}const Me={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class he extends D{constructor(W,pe,we,Ee,Be,G,re){super("mat-checkbox-",W,pe,Ee,Be,G,re),this._focusMonitor=we,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(W){const pe=new U;return pe.source=this,pe.checked=W,pe}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(W=>{W||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(W){W.stopPropagation(),super._handleInputClick()}focus(W,pe){W?this._focusMonitor.focusVia(this._inputElement,W,pe):this._inputElement.nativeElement.focus(pe)}}return he.\u0275fac=function(W){return new(W||he)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(n.tE),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275injectAttribute("tabindex"),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8),c.\u0275\u0275directiveInject(v,8))},he.\u0275cmp=c.\u0275\u0275defineComponent({type:he,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(W,pe){2&W&&(c.\u0275\u0275hostProperty("id",pe.id),c.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),c.\u0275\u0275classProp("mat-checkbox-indeterminate",pe.indeterminate)("mat-checkbox-checked",pe.checked)("mat-checkbox-disabled",pe.disabled)("mat-checkbox-label-before","before"==pe.labelPosition)("_mat-animation-noopable","NoopAnimations"===pe._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[c.\u0275\u0275ProvidersFeature([Me]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:A,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(W,pe){if(1&W&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),c.\u0275\u0275listener("change",function(Ee){return pe._onInteractionEvent(Ee)})("click",function(Ee){return pe._onInputClick(Ee)}),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"span",5),c.\u0275\u0275element(6,"span",6),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(7,"span",7),c.\u0275\u0275elementStart(8,"span",8),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(9,"svg",9),c.\u0275\u0275element(10,"path",10),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275element(11,"span",11),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(12,"span",12,13),c.\u0275\u0275listener("cdkObserveContent",function(){return pe._onLabelTextChange()}),c.\u0275\u0275elementStart(14,"span",14),c.\u0275\u0275text(15,"\xa0"),c.\u0275\u0275elementEnd(),c.\u0275\u0275projection(16),c.\u0275\u0275elementEnd()()),2&W){const we=c.\u0275\u0275reference(1),Ee=c.\u0275\u0275reference(13);c.\u0275\u0275attribute("for",pe.inputId),c.\u0275\u0275advance(2),c.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!Ee.textContent||!Ee.textContent.trim()),c.\u0275\u0275advance(1),c.\u0275\u0275property("id",pe.inputId)("required",pe.required)("checked",pe.checked)("disabled",pe.disabled)("tabIndex",pe.tabIndex),c.\u0275\u0275attribute("value",pe.value)("name",pe.name)("aria-label",pe.ariaLabel||null)("aria-labelledby",pe.ariaLabelledby)("aria-describedby",pe.ariaDescribedby),c.\u0275\u0275advance(2),c.\u0275\u0275property("matRippleTrigger",we)("matRippleDisabled",pe._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",c.\u0275\u0275pureFunction1(18,ie,"NoopAnimations"===pe._animationMode?0:150))}},dependencies:[g.MatRipple,ee.wD],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),he})(),Ae=(()=>{class he{}return he.\u0275fac=function(W){return new(W||he)},he.\u0275mod=c.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),he})()},4678:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LEGACY_VERSION:()=>d.VERSION,LegacyAnimationCurves:()=>d.AnimationCurves,LegacyAnimationDurations:()=>d.AnimationDurations,LegacyDateAdapter:()=>d.DateAdapter,LegacyErrorStateMatcher:()=>d.ErrorStateMatcher,LegacyNativeDateAdapter:()=>d.NativeDateAdapter,LegacyNativeDateModule:()=>d.NativeDateModule,LegacyRippleRef:()=>d.RippleRef,LegacyRippleRenderer:()=>d.RippleRenderer,LegacyShowOnDirtyErrorStateMatcher:()=>d.ShowOnDirtyErrorStateMatcher,MATERIAL_LEGACY_SANITY_CHECKS:()=>d.MATERIAL_SANITY_CHECKS,MAT_LEGACY_DATE_FORMATS:()=>d.MAT_DATE_FORMATS,MAT_LEGACY_DATE_LOCALE:()=>d.MAT_DATE_LOCALE,MAT_LEGACY_DATE_LOCALE_FACTORY:()=>d.MAT_DATE_LOCALE_FACTORY,MAT_LEGACY_NATIVE_DATE_FORMATS:()=>d.MAT_NATIVE_DATE_FORMATS,MAT_LEGACY_OPTGROUP:()=>d.MAT_OPTGROUP,MAT_LEGACY_OPTION_PARENT_COMPONENT:()=>d.MAT_OPTION_PARENT_COMPONENT,MAT_LEGACY_RIPPLE_GLOBAL_OPTIONS:()=>d.MAT_RIPPLE_GLOBAL_OPTIONS,MatLegacyCommonModule:()=>d.MatCommonModule,MatLegacyLine:()=>d.MatLine,MatLegacyLineModule:()=>d.MatLineModule,MatLegacyNativeDateModule:()=>d.MatNativeDateModule,MatLegacyOptgroup:()=>v,MatLegacyOption:()=>b,MatLegacyOptionModule:()=>p,MatLegacyOptionSelectionChange:()=>d.MatOptionSelectionChange,MatLegacyPseudoCheckbox:()=>d.MatPseudoCheckbox,MatLegacyPseudoCheckboxModule:()=>d.MatPseudoCheckboxModule,MatLegacyRipple:()=>d.MatRipple,MatLegacyRippleModule:()=>d.MatRippleModule,_MatLegacyOptgroupBase:()=>d._MatOptgroupBase,_MatLegacyOptionBase:()=>d._MatOptionBase,_countGroupLabelsBeforeLegacyOption:()=>d._countGroupLabelsBeforeOption,_getLegacyOptionScrollPosition:()=>d._getOptionScrollPosition,legacyDefaultRippleAnimationConfig:()=>d.defaultRippleAnimationConfig,legacyMixinColor:()=>d.mixinColor,legacyMixinDisableRipple:()=>d.mixinDisableRipple,legacyMixinDisabled:()=>d.mixinDisabled,legacyMixinErrorState:()=>d.mixinErrorState,legacyMixinInitialized:()=>d.mixinInitialized,legacyMixinTabIndex:()=>d.mixinTabIndex,legacySetLines:()=>d.setLines});var n=a(5879),c=a(6814),d=a(3680);const g=["*",[["mat-option"],["ng-container"]]],r=["*","mat-option, ng-container"];function h(_,l){if(1&_&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",5),2&_){const y=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",y.selected?"checked":"unchecked")("disabled",y.disabled)}}function f(_,l){if(1&_&&(n.\u0275\u0275elementStart(0,"span",6),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&_){const y=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",y.group.label,")")}}const u=["*"];let v=(()=>{class _ extends d._MatOptgroupBase{}return _.\u0275fac=function(){let l;return function(x){return(l||(l=n.\u0275\u0275getInheritedFactory(_)))(x||_)}}(),_.\u0275cmp=n.\u0275\u0275defineComponent({type:_,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(y,x){2&y&&(n.\u0275\u0275attribute("role",x._inert?null:"group")("aria-disabled",x._inert?null:x.disabled.toString())("aria-labelledby",x._inert?null:x._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",x.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:d.MAT_OPTGROUP,useExisting:_}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:r,decls:4,vars:2,consts:[["role","presentation",1,"mat-optgroup-label",3,"id"]],template:function(y,x){1&y&&(n.\u0275\u0275projectionDef(g),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&y&&(n.\u0275\u0275property("id",x._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",x.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),_})(),b=(()=>{class _ extends d._MatOptionBase{constructor(y,x,D,S){super(y,x,D,S)}}return _.\u0275fac=function(y){return new(y||_)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(d.MAT_OPTION_PARENT_COMPONENT,8),n.\u0275\u0275directiveInject(d.MAT_OPTGROUP,8))},_.\u0275cmp=n.\u0275\u0275defineComponent({type:_,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(y,x){1&y&&n.\u0275\u0275listener("click",function(){return x._selectViaInteraction()})("keydown",function(S){return x._handleKeydown(S)}),2&y&&(n.\u0275\u0275hostProperty("id",x.id),n.\u0275\u0275attribute("tabindex",x._getTabIndex())("aria-selected",x.selected)("aria-disabled",x.disabled.toString()),n.\u0275\u0275classProp("mat-selected",x.selected)("mat-option-multiple",x.multiple)("mat-active",x.active)("mat-option-disabled",x.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:u,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(y,x){1&y&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,h,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,f,2,1,"span",3),n.\u0275\u0275element(5,"div",4)),2&y&&(n.\u0275\u0275property("ngIf",x.multiple),n.\u0275\u0275advance(4),n.\u0275\u0275property("ngIf",x.group&&x.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",x._getHostElement())("matRippleDisabled",x.disabled||x.disableRipple))},dependencies:[d.MatRipple,c.NgIf,d.MatPseudoCheckbox],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),_})(),p=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275mod=n.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatRippleModule,c.CommonModule,d.MatCommonModule,d.MatPseudoCheckboxModule]}),_})()},4187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_ERROR:()=>r.ab,MAT_LEGACY_FORM_FIELD:()=>r.G_,MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS:()=>Qe,MAT_LEGACY_PREFIX:()=>r.Px,MAT_LEGACY_SUFFIX:()=>r.Ve,MatLegacyError:()=>pe,MatLegacyFormField:()=>We,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Ft,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Mt,_MAT_LEGACY_HINT:()=>Ee,getMatLegacyFormFieldDuplicatedHintError:()=>r.Bi,getMatLegacyFormFieldMissingControlError:()=>r.Lv,getMatLegacyFormFieldPlaceholderConflictError:()=>r.UO,matLegacyFormFieldAnimations:()=>r.TN});var n=a(7131),c=a(6814),d=a(5879),g=a(3680),r=a(1043),h=a(9388),f=a(2495),u=a(8645),v=a(3019),b=a(2438),p=a(7921),_=a(9773),l=a(8180),y=a(2831);const x=["connectionContainer"],D=["inputContainer"],S=["label"];function E(gt,Bt){1>&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"div",14),d.\u0275\u0275element(2,"div",15)(3,"div",16)(4,"div",17),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(5,"div",18),d.\u0275\u0275element(6,"div",15)(7,"div",16)(8,"div",17),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}function I(gt,Bt){if(1>){const Tt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",19),d.\u0275\u0275listener("cdkObserveContent",function(){d.\u0275\u0275restoreView(Tt);const Le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Le.updateOutlineGap())}),d.\u0275\u0275projection(1,1),d.\u0275\u0275elementEnd()}if(2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(gt,Bt){if(1>&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275projection(1,2),d.\u0275\u0275elementStart(2,"span"),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd()),2>){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(gt,Bt){1>&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(gt,Bt){1>&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(gt,Bt){if(1>){const Tt=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"label",20,21),d.\u0275\u0275listener("cdkObserveContent",function(){d.\u0275\u0275restoreView(Tt);const Le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Le.updateOutlineGap())}),d.\u0275\u0275template(2,X,4,1,"ng-container",12),d.\u0275\u0275template(3,$,1,0,"ng-content",12),d.\u0275\u0275template(4,ee,2,0,"span",22),d.\u0275\u0275elementEnd()}if(2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275classProp("mat-empty",Tt._control.empty&&!Tt._shouldAlwaysFloat())("mat-form-field-empty",Tt._control.empty&&!Tt._shouldAlwaysFloat())("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color),d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)("id",Tt._labelId)("ngSwitch",Tt._hasLabel()),d.\u0275\u0275attribute("for",Tt._control.id)("aria-owns",Tt._control.id),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!1),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!Tt.hideRequiredMarker&&Tt._control.required&&!Tt._control.disabled)}}function A(gt,Bt){1>&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Me(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(gt,Bt){if(1>&&(d.\u0275\u0275elementStart(0,"div",27),d.\u0275\u0275template(1,Re,2,2,"div",28),d.\u0275\u0275projection(2,6),d.\u0275\u0275element(3,"div",29),d.\u0275\u0275projection(4,7),d.\u0275\u0275elementEnd()),2>){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const he=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],H=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let W=0,pe=(()=>{class gt{constructor(Tt,kt){this.id="mat-error-"+W++,Tt||kt.nativeElement.setAttribute("aria-live","polite")}}return gt.\u0275fac=function(Tt){return new(Tt||gt)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,kt){2&Tt&&d.\u0275\u0275attribute("id",kt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:gt}])]}),gt})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class gt{constructor(){this.align="start",this.id="mat-hint-"+we++}}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,kt){2&Tt&&(d.\u0275\u0275attribute("id",kt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===kt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:gt}])]}),gt})(),G=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-label"]]}),gt})(),re=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["mat-placeholder"]]}),gt})(),se=0;const Ze=(0,g.mixinColor)(class{constructor(gt){this._elementRef=gt}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let We=(()=>{class gt extends Ze{get appearance(){return this._appearance}set appearance(Tt){const kt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&kt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,f.Ig)(Tt)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(Tt){this._hintLabel=Tt,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(Tt){Tt!==this._floatLabel&&(this._floatLabel=Tt||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(Tt){this._explicitFormFieldControl=Tt}constructor(Tt,kt,Le,ct,ze,at,N){super(Tt),this._changeDetectorRef=kt,this._dir=Le,this._defaults=ct,this._platform=ze,this._ngZone=at,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new u.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+se++,this._labelId="mat-form-field-label-"+se++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=ct?.appearance||"legacy",ct&&(this._hideRequiredMarker=!!ct.hideRequiredMarker,ct.color&&(this.color=this.defaultColor=ct.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const Tt=this._control;Tt.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${Tt.controlType}`),Tt.stateChanges.pipe((0,p.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Tt.ngControl&&Tt.ngControl.valueChanges&&Tt.ngControl.valueChanges.pipe((0,_.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,v.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,p.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,p.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,_.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(Tt){const kt=this._control?this._control.ngControl:null;return kt&&kt[Tt]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,l.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let Tt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Tt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const kt=this._hintChildren?this._hintChildren.find(ct=>"start"===ct.align):null,Le=this._hintChildren?this._hintChildren.find(ct=>"end"===ct.align):null;kt?Tt.push(kt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(kt=>kt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,kt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",ct=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=kt.querySelectorAll(`${Le}, ${ct}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:gt}])]}),gt})(),Mt=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275dir=d.\u0275\u0275defineDirective({type:gt,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:gt}])]}),gt})(),Ft=(()=>{class gt{}return gt.\u0275fac=function(Tt){return new(Tt||gt)},gt.\u0275mod=d.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),gt})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>f,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),h=a(3680);let f=(()=>{class v extends c.Nt{constructor(){super(...arguments),this._legacyFormField=(0,n.inject)(d.G_,{optional:!0})}_getPlaceholder(){const p=this._legacyFormField;return p&&"legacy"===p.appearance&&!p._hasLabel?.()?null:this.placeholder}}return v.\u0275fac=function(){let b;return function(_){return(b||(b=n.\u0275\u0275getInheritedFactory(v)))(_||v)}}(),v.\u0275dir=n.\u0275\u0275defineDirective({type:v,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(p,_){2&p&&(n.\u0275\u0275attribute("data-placeholder",_.placeholder),n.\u0275\u0275classProp("mat-input-server",_._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",_._isInlineSelect()))},exportAs:["matInput"],features:[n.\u0275\u0275ProvidersFeature([{provide:d.Eo,useExisting:v}]),n.\u0275\u0275InheritDefinitionFeature]}),v})(),u=(()=>{class v{}return v.\u0275fac=function(p){return new(p||v)},v.\u0275mod=n.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=n.\u0275\u0275defineInjector({providers:[h.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,h.MatCommonModule,r.Ky,g.MatLegacyFormFieldModule]}),v})()},6718:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_MENU_CONTENT:()=>Be,MAT_LEGACY_MENU_DEFAULT_OPTIONS:()=>Qe,MAT_LEGACY_MENU_PANEL:()=>he,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Ft,MatLegacyMenu:()=>Q,MatLegacyMenuContent:()=>Ct,MatLegacyMenuItem:()=>ue,MatLegacyMenuModule:()=>dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ye,matLegacyMenuAnimations:()=>se,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),h=a(3019),f=a(7394),u=a(2096),v=a(6410),b=a(7921),p=a(4664),_=a(8180),l=a(9773),y=a(2181),x=a(7547),D=a(3680),S=a(6814),E=a(8484),I=a(6825),X=a(9388),$=a(9594),ee=a(2831);const ie=["mat-menu-item",""];function A(bt,Oe){1&bt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Me=["mat-icon, [matMenuItemIcon]","*"],he=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class bt extends H{constructor(ge,ot,At,Nt,zt){super(),this._elementRef=ge,this._document=ot,this._focusMonitor=At,this._parentMenu=Nt,this._changeDetectorRef=zt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Nt?.addItem?.(this)}focus(ge,ot){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._getHostElement(),ge,ot):this._getHostElement().focus(ot),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(ge){this.disabled&&(ge.preventDefault(),ge.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ge=this._elementRef.nativeElement.cloneNode(!0),ot=ge.querySelectorAll("mat-icon, .material-icons");for(let At=0;At{class bt{constructor(ge,ot,At,Nt,zt,Ne,$e){this._template=ge,this._componentFactoryResolver=ot,this._appRef=At,this._injector=Nt,this._viewContainerRef=zt,this._document=Ne,this._changeDetectorRef=$e,this._attached=new r.x}attach(ge={}){this._portal||(this._portal=new E.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new E.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const ot=this._template.elementRef.nativeElement;ot.parentNode.insertBefore(this._outlet.outletElement,ot),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ge),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ApplicationRef),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(S.DOCUMENT),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt}),bt})();const se={transformMenu:(0,I.X$)("transformMenu",[(0,I.SB)("void",(0,I.oB)({opacity:0,transform:"scale(0.8)"})),(0,I.eR)("void => enter",(0,I.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,I.oB)({opacity:1,transform:"scale(1)"}))),(0,I.eR)("* => void",(0,I.jt)("100ms 25ms linear",(0,I.oB)({opacity:0})))]),fadeInItems:(0,I.X$)("fadeInItems",[(0,I.SB)("showing",(0,I.oB)({opacity:1})),(0,I.eR)("void => *",[(0,I.oB)({opacity:0}),(0,I.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ye=se.fadeInItems,He=se.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function We(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class bt{get xPosition(){return this._xPosition}set xPosition(ge){this._xPosition=ge,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ge){this._yPosition=ge,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ge){this._overlapTrigger=(0,d.Ig)(ge)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ge){this._hasBackdrop=(0,d.Ig)(ge)}set panelClass(ge){const ot=this._previousPanelClass;ot&&ot.length&&ot.split(" ").forEach(At=>{this._classList[At]=!1}),this._previousPanelClass=ge,ge&&ge.length&&(ge.split(" ").forEach(At=>{this._classList[At]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ge){this.panelClass=ge}constructor(ge,ot,At,Nt){this._elementRef=ge,this._ngZone=ot,this._changeDetectorRef=Nt,this._directDescendantItems=new n.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new r.x,this.closed=new n.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Ze++,this.overlayPanelClass=At.overlayPanelClass||"",this._xPosition=At.xPosition,this._yPosition=At.yPosition,this.backdropClass=At.backdropClass,this._overlapTrigger=At.overlapTrigger,this._hasBackdrop=At.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new c.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,p.w)(ge=>(0,h.T)(...ge.map(ot=>ot._focused)))).subscribe(ge=>this._keyManager.updateActiveItem(ge)),this._directDescendantItems.changes.subscribe(ge=>{const ot=this._keyManager;if("enter"===this._panelAnimationState&&ot.activeItem?._hasFocus()){const At=ge.toArray(),Nt=Math.max(0,Math.min(At.length-1,ot.activeItemIndex||0));At[Nt]&&!At[Nt].disabled?ot.setActiveItem(Nt):ot.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,p.w)(ot=>(0,h.T)(...ot.map(At=>At._hovered))))}addItem(ge){}removeItem(ge){}_handleKeydown(ge){const ot=ge.keyCode,At=this._keyManager;switch(ot){case g.hY:(0,g.Vb)(ge)||(ge.preventDefault(),this.closed.emit("keydown"));break;case g.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ot===g.LH||ot===g.JH)&&At.setFocusOrigin("keyboard"),void At.onKeydown(ge)}ge.stopPropagation()}focusFirstItem(ge="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let ot=null;if(this._directDescendantItems.length&&(ot=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ot||!ot.contains(document.activeElement)){const At=this._keyManager;At.setFocusOrigin(ge).setFirstItemActive(),!At.activeItem&&ot&&ot.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ge){const ot=Math.min(this._baseElevation+ge,24),At=`${this._elevationPrefix}${ot}`,Nt=Object.keys(this._classList).find(zt=>zt.startsWith(this._elevationPrefix));(!Nt||Nt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[At]=!0,this._previousElevation=At)}setPositionClasses(ge=this.xPosition,ot=this.yPosition){const At=this._classList;At["mat-menu-before"]="before"===ge,At["mat-menu-after"]="after"===ge,At["mat-menu-above"]="above"===ot,At["mat-menu-below"]="below"===ot,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ge){this._animationDone.next(ge),this._isAnimating=!1}_onAnimationStart(ge){this._isAnimating=!0,"enter"===ge.toState&&0===this._keyManager.activeItemIndex&&(ge.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(ge=>{this._directDescendantItems.reset(ge.filter(ot=>ot._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,contentQueries:function(ge,ot,At){if(1&ge&&(n.\u0275\u0275contentQuery(At,Be,5),n.\u0275\u0275contentQuery(At,W,5),n.\u0275\u0275contentQuery(At,W,4)),2&ge){let Nt;n.\u0275\u0275queryRefresh(Nt=n.\u0275\u0275loadQuery())&&(ot.lazyContent=Nt.first),n.\u0275\u0275queryRefresh(Nt=n.\u0275\u0275loadQuery())&&(ot._allItems=Nt),n.\u0275\u0275queryRefresh(Nt=n.\u0275\u0275loadQuery())&&(ot.items=Nt)}},viewQuery:function(ge,ot){if(1&ge&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&ge){let At;n.\u0275\u0275queryRefresh(At=n.\u0275\u0275loadQuery())&&(ot.templateRef=At.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),bt})();const Ft=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Ft,deps:[$.aV],useFactory:function gt(bt){return()=>bt.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class bt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ge){this.menu=ge}get menu(){return this._menu}set menu(ge){ge!==this._menu&&(this._menu=ge,this._menuCloseSubscription.unsubscribe(),ge&&(this._menuCloseSubscription=ge.close.subscribe(ot=>{this._destroyMenu(ot),("click"===ot||"tab"===ot)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ot)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ge,ot,At,Nt,zt,Ne,$e,ae,Ce){this._overlay=ge,this._element=ot,this._viewContainerRef=At,this._menuItemInstance=Ne,this._dir=$e,this._focusMonitor=ae,this._ngZone=Ce,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.w0.EMPTY,this._hoverSubscription=f.w0.EMPTY,this._menuCloseSubscription=f.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=lt=>{(0,c.yG)(lt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new n.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new n.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=Nt,this._parentMaterialMenu=zt instanceof tt?zt:void 0,ot.nativeElement.addEventListener("touchstart",this._handleTouchStart,Tt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Tt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ge=this.menu;if(this._menuOpen||!ge)return;const ot=this._createOverlay(ge),At=ot.getConfig(),Nt=At.positionStrategy;this._setPosition(ge,Nt),At.hasBackdrop=null==ge.hasBackdrop?!this.triggersSubmenu():ge.hasBackdrop,ot.attach(this._getPortal(ge)),ge.lazyContent&&ge.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ge),ge instanceof tt&&(ge._startAnimation(),ge._directDescendantItems.changes.pipe((0,l.R)(ge.close)).subscribe(()=>{Nt.withLockedPosition(!1).reapplyLastPosition(),Nt.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ge,ot){this._focusMonitor&&ge?this._focusMonitor.focusVia(this._element,ge,ot):this._element.nativeElement.focus(ot)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ge){if(!this._overlayRef||!this.menuOpen)return;const ot=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ge||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ot instanceof tt?(ot._resetAnimation(),ot.lazyContent?ot._animationDone.pipe((0,y.h)(At=>"void"===At.toState),(0,_.q)(1),(0,l.R)(ot.lazyContent._attached)).subscribe({next:()=>ot.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ot?.lazyContent?.detach())}_initMenu(ge){ge.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ge.direction=this.dir,this._setMenuElevation(ge),ge.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ge){if(ge.setElevation){let ot=0,At=ge.parentMenu;for(;At;)ot++,At=At.parentMenu;ge.setElevation(ot)}}_setIsMenuOpen(ge){ge!==this._menuOpen&&(this._menuOpen=ge,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ge),this._changeDetectorRef.markForCheck())}_createOverlay(ge){if(!this._overlayRef){const ot=this._getOverlayConfig(ge);this._subscribeToPositions(ge,ot.positionStrategy),this._overlayRef=this._overlay.create(ot),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ge){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ge.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ge.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ge,ot){ge.setPositionClasses&&ot.positionChanges.subscribe(At=>{const Nt="start"===At.connectionPair.overlayX?"after":"before",zt="top"===At.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ge.setPositionClasses(Nt,zt)):ge.setPositionClasses(Nt,zt)})}_setPosition(ge,ot){let[At,Nt]="before"===ge.xPosition?["end","start"]:["start","end"],[zt,Ne]="above"===ge.yPosition?["bottom","top"]:["top","bottom"],[$e,ae]=[zt,Ne],[Ce,lt]=[At,Nt],_e=0;if(this.triggersSubmenu()){if(lt=At="before"===ge.xPosition?"start":"end",Nt=Ce="end"===At?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}_e="bottom"===zt?this._parentInnerPadding:-this._parentInnerPadding}}else ge.overlapTrigger||($e="top"===zt?"bottom":"top",ae="top"===Ne?"bottom":"top");ot.withPositions([{originX:At,originY:$e,overlayX:Ce,overlayY:zt,offsetY:_e},{originX:Nt,originY:$e,overlayX:lt,overlayY:zt,offsetY:_e},{originX:At,originY:ae,overlayX:Ce,overlayY:Ne,offsetY:-_e},{originX:Nt,originY:ae,overlayX:lt,overlayY:Ne,offsetY:-_e}])}_menuClosingActions(){const ge=this._overlayRef.backdropClick(),ot=this._overlayRef.detachments(),At=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Nt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(zt=>zt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,h.T)(ge,At,Nt,ot)}_handleMousedown(ge){(0,c.X6)(ge)||(this._openedBy=0===ge.button?"mouse":void 0,this.triggersSubmenu()&&ge.preventDefault())}_handleKeydown(ge){const ot=ge.keyCode;(ot===g.K5||ot===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ot===g.SV&&"ltr"===this.dir||ot===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ge){this.triggersSubmenu()?(ge.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(ge=>ge===this._menuItemInstance&&!ge.disabled),(0,x.g)(0,v.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof tt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,_.q)(1),(0,x.g)(0,v.E),(0,l.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ge){return(!this._portal||this._portal.templateRef!==ge.templateRef)&&(this._portal=new E.UE(ge.templateRef,this._viewContainerRef)),this._portal}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Ft),n.\u0275\u0275directiveInject(he,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,hostVars:3,hostBindings:function(ge,ot){1&ge&&n.\u0275\u0275listener("click",function(Nt){return ot._handleClick(Nt)})("mousedown",function(Nt){return ot._handleMousedown(Nt)})("keydown",function(Nt){return ot._handleKeydown(Nt)}),2&ge&&n.\u0275\u0275attribute("aria-haspopup",ot.menu?"menu":null)("aria-expanded",ot.menuOpen)("aria-controls",ot.menuOpen?ot.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),bt})();var at=a(6672);function N(bt,Oe){if(1&bt){const ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(At){n.\u0275\u0275restoreView(ge);const Nt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Nt._handleKeydown(At))})("click",function(){n.\u0275\u0275restoreView(ge);const At=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(At.closed.emit("click"))})("@transformMenu.start",function(At){n.\u0275\u0275restoreView(ge);const Nt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Nt._onAnimationStart(At))})("@transformMenu.done",function(At){n.\u0275\u0275restoreView(ge);const Nt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Nt._onAnimationDone(At))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&bt){const ge=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ge.panelId)("ngClass",ge._classList)("@transformMenu",ge._panelAnimationState),n.\u0275\u0275attribute("aria-label",ge.ariaLabel||null)("aria-labelledby",ge.ariaLabelledby||null)("aria-describedby",ge.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(bt,Oe){1&bt&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let Q=(()=>{class bt extends tt{constructor(ge,ot,At,Nt){super(ge,ot,At,Nt),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return bt.\u0275fac=function(ge){return new(ge||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},bt.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(ge,ot){2&ge&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:he,useExisting:bt}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:oe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(ge,ot){1&ge&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,N,3,6,"ng-template"))},dependencies:[S.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[se.transformMenu,se.fadeInItems]},changeDetection:0}),bt})(),ue=(()=>{class bt extends W{}return bt.\u0275fac=function(){let Oe;return function(ot){return(Oe||(Oe=n.\u0275\u0275getInheritedFactory(bt)))(ot||bt)}}(),bt.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(ge,ot){2&ge&&(n.\u0275\u0275attribute("role",ot.role)("tabindex",ot._getTabIndex())("aria-disabled",ot.disabled.toString())("disabled",ot.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",ot._highlighted)("mat-menu-item-submenu-trigger",ot._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[n.\u0275\u0275ProvidersFeature([{provide:W,useExisting:bt}]),n.\u0275\u0275InheritDefinitionFeature],attrs:Y,ngContentSelectors:oe,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ge,ot){1&ge&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&ge&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",ot.disableRipple||ot.disabled)("matRippleTrigger",ot._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ot._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),bt})(),Te=(()=>{class bt extends Le{}return bt.\u0275fac=function(){let Oe;return function(ot){return(Oe||(Oe=n.\u0275\u0275getInheritedFactory(bt)))(ot||bt)}}(),bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),bt})(),Ct=(()=>{class bt extends G{}return bt.\u0275fac=function(){let Oe;return function(ot){return(Oe||(Oe=n.\u0275\u0275getInheritedFactory(bt)))(ot||bt)}}(),bt.\u0275dir=n.\u0275\u0275defineDirective({type:bt,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:bt}]),n.\u0275\u0275InheritDefinitionFeature]}),bt})(),dt=(()=>{class bt{}return bt.\u0275fac=function(ge){return new(ge||bt)},bt.\u0275mod=n.\u0275\u0275defineNgModule({type:bt}),bt.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),bt})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Ne,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>$e,MatLegacyPaginatorIntl:()=>ct,MatLegacyPaginatorModule:()=>ae,_MatLegacyPaginatorBase:()=>Q});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),h=a(9594),f=a(4300),u=a(6672),v=a(9388),b=a(1088),p=a(2831),_=a(9773),l=a(8180),y=a(2495),x=a(6028),D=a(8484),S=a(8645);a(6825);const ee=new c.InjectionToken("mat-tooltip-scroll-strategy"),A={provide:ee,deps:[h.aV],useFactory:function ie(Ce){return()=>Ce.scrollStrategies.reposition({scrollThrottle:20})}},Me=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",he=(0,p.i$)({passive:!0});let Be=(()=>{class Ce{get position(){return this._position}set position(_e){_e!==this._position&&(this._position=_e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(_e){this._positionAtOrigin=(0,y.Ig)(_e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(_e){this._disabled=(0,y.Ig)(_e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(_e){this._showDelay=(0,y.su)(_e)}get hideDelay(){return this._hideDelay}set hideDelay(_e){this._hideDelay=(0,y.su)(_e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(_e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=_e?String(_e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(_e){this._tooltipClass=_e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(_e,Ye,De,F,V,K,ve,ut,Pt,qe,et,Ve){this._overlay=_e,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=K,this._ariaDescriber=ve,this._focusMonitor=ut,this._dir=qe,this._defaultOptions=et,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new S.x,this._scrollStrategy=Pt,this._document=Ve,et&&(this._showDelay=et.showDelay,this._hideDelay=et.hideDelay,et.position&&(this.position=et.position),et.positionAtOrigin&&(this.positionAtOrigin=et.positionAtOrigin),et.touchGestures&&(this.touchGestures=et.touchGestures)),qe.change.pipe((0,_.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,_.R)(this._destroyed)).subscribe(_e=>{_e?"keyboard"===_e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const _e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{_e.removeEventListener(Ye,De,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(_e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(_e)}show(_e=this.showDelay,Ye){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const De=this._createOverlay(Ye);this._detach(),this._portal=this._portal||new D.C5(this._tooltipComponent,this._viewContainerRef);const F=this._tooltipInstance=De.attach(this._portal).instance;F._triggerElement=this._elementRef.nativeElement,F._mouseLeaveHideDelay=this._hideDelay,F.afterHidden().pipe((0,_.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),F.show(_e)}hide(_e=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(_e):(Ye._cancelPendingAnimations(),this._detach()))}toggle(_e){this._isTooltipVisible()?this.hide():this.show(void 0,_e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(_e){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!_e)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&_e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Ye);return De.positionChanges.pipe((0,_.R)(this._destroyed)).subscribe(F=>{this._updateCurrentPositionClass(F.connectionPair),this._tooltipInstance&&F.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:De,panelClass:`${this._cssClassPrefix}-${Ae}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,_.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,_.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,_.R)(this._destroyed)).subscribe(F=>{this._isTooltipVisible()&&F.keyCode===x.hY&&!(0,x.Vb)(F)&&(F.preventDefault(),F.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(_e){const Ye=_e.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(_e){return _e}_getOrigin(){const _e=!this._dir||"ltr"==this._dir.value,Ye=this.position;let De;"above"==Ye||"below"==Ye?De={originX:"center",originY:"above"==Ye?"top":"bottom"}:"before"==Ye||"left"==Ye&&_e||"right"==Ye&&!_e?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&_e||"left"==Ye&&!_e)&&(De={originX:"end",originY:"center"});const{x:F,y:V}=this._invertPosition(De.originX,De.originY);return{main:De,fallback:{originX:F,originY:V}}}_getOverlayPosition(){const _e=!this._dir||"ltr"==this._dir.value,Ye=this.position;let De;"above"==Ye?De={overlayX:"center",overlayY:"bottom"}:"below"==Ye?De={overlayX:"center",overlayY:"top"}:"before"==Ye||"left"==Ye&&_e||"right"==Ye&&!_e?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&_e||"left"==Ye&&!_e)&&(De={overlayX:"start",overlayY:"center"});const{x:F,y:V}=this._invertPosition(De.overlayX,De.overlayY);return{main:De,fallback:{overlayX:F,overlayY:V}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,l.q)(1),(0,_.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(_e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=_e,this._tooltipInstance._markForCheck())}_invertPosition(_e,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===_e?_e="start":"start"===_e&&(_e="end"),{x:_e,y:Ye}}_updateCurrentPositionClass(_e){const{overlayY:Ye,originX:De,originY:F}=_e;let V;if(V="center"===Ye?this._dir&&"rtl"===this._dir.value?"end"===De?"left":"right":"start"===De?"left":"right":"bottom"===Ye&&"top"===F?"above":"below",V!==this._currentPosition){const K=this._overlayRef;if(K){const ve=`${this._cssClassPrefix}-${Ae}-`;K.removePanelClass(ve+this._currentPosition),K.addPanelClass(ve+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",_e=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==_e.x&&void 0!==_e.y&&(Ye=_e),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",_e=>{const Ye=_e.targetTouches?.[0],De=Ye?{x:Ye.clientX,y:Ye.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,De),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const _e=[];if(this._platformSupportsMouseEvents())_e.push(["mouseleave",Ye=>{const De=Ye.relatedTarget;(!De||!this._overlayRef?.overlayElement.contains(De))&&this.hide()}],["wheel",Ye=>this._wheelListener(Ye)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Ye=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};_e.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(_e),this._passiveListeners.push(..._e)}_addListeners(_e){_e.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(_e){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(_e.clientX,_e.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const _e=this.touchGestures;if("off"!==_e){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===_e||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===_e||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return Ce.\u0275fac=function(_e){c.\u0275\u0275invalidFactory()},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),Ce})(),re=(()=>{class Ce{constructor(_e,Ye){this._changeDetectorRef=_e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(_e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},_e)}hide(_e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},_e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:_e}){(!_e||!this._triggerElement.contains(_e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:_e}){(_e===this._showAnimation||_e===this._hideAnimation)&&this._finalizeAnimation(_e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(_e){_e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(_e){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(_e?F:De),Ye.classList.add(_e?De:F),this._isVisible=_e,_e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}_e&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(_e))}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce}),Ce})();const Ze=["tooltip"];let Qe=(()=>{class Ce extends Be{constructor(_e,Ye,De,F,V,K,ve,ut,Pt,qe,et,Ve){super(_e,Ye,De,F,V,K,ve,ut,Pt,qe,et,Ve),this._tooltipComponent=We}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(h.aV),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(u.mF),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(p.t4),c.\u0275\u0275directiveInject(f.$s),c.\u0275\u0275directiveInject(f.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Me,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(_e,Ye){2&_e&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),Ce})(),We=(()=>{class Ce extends re{constructor(_e,Ye,De){super(_e,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Ce.\u0275cmp=c.\u0275\u0275defineComponent({type:Ce,selectors:[["mat-tooltip-component"]],viewQuery:function(_e,Ye){if(1&_e&&c.\u0275\u0275viewQuery(Ze,7),2&_e){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(_e,Ye){1&_e&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&_e&&(c.\u0275\u0275attribute("mat-id-collision",null),c.\u0275\u0275styleProp("zoom",Ye.isVisible()?1:null))},features:[c.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(_e,Ye){if(1&_e&&(c.\u0275\u0275elementStart(0,"div",0,1),c.\u0275\u0275listener("animationend",function(F){return Ye._handleAnimationEnd(F)}),c.\u0275\u0275pipe(2,"async"),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()),2&_e){let De;c.\u0275\u0275classProp("mat-tooltip-handset",null==(De=c.\u0275\u0275pipeBind1(2,4,Ye._isHandset))?null:De.matches),c.\u0275\u0275property("ngClass",Ye.tooltipClass),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(Ye.message)}},dependencies:[n.NgClass,n.AsyncPipe],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),Ce})(),tt=(()=>{class Ce{}return Ce.\u0275fac=function(_e){return new(_e||Ce)},Ce.\u0275mod=c.\u0275\u0275defineNgModule({type:Ce}),Ce.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[f.rt,n.CommonModule,h.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),Ce})(),ct=(()=>{class Ce{constructor(){this.changes=new S.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(_e,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=_e*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return Ce.\u0275fac=function(_e){return new(_e||Ce)},Ce.\u0275prov=c.\u0275\u0275defineInjectable({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})();function ze(Ce){return Ce||new ct}const at={provide:ct,deps:[[new c.Optional,new c.SkipSelf,ct]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let Q=(()=>{class Ce extends ne{get pageIndex(){return this._pageIndex}set pageIndex(_e){this._pageIndex=Math.max((0,y.su)(_e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(_e){this._length=(0,y.su)(_e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(_e){this._pageSize=Math.max((0,y.su)(_e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(_e){this._pageSizeOptions=(_e||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(_e){this._hidePageSize=(0,y.Ig)(_e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(_e){this._showFirstLastButtons=(0,y.Ig)(_e)}constructor(_e,Ye,De){if(super(),this._intl=_e,this._changeDetectorRef=Ye,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new c.EventEmitter,this._intlChanges=_e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:K,showFirstLastButtons:ve}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=K&&(this._hidePageSize=K),null!=ve&&(this._showFirstLastButtons=ve)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const _e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(_e)}previousPage(){if(!this.hasPreviousPage())return;const _e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(_e)}firstPage(){if(!this.hasPreviousPage())return;const _e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(_e)}lastPage(){if(!this.hasNextPage())return;const _e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(_e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const _e=this.getNumberOfPages()-1;return this.pageIndex<_e&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(_e){const De=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/_e)||0,this.pageSize=_e,this._emitPageEvent(De)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((_e,Ye)=>_e-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(_e){this.page.emit({previousPageIndex:_e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return Ce.\u0275fac=function(_e){c.\u0275\u0275invalidFactory()},Ce.\u0275dir=c.\u0275\u0275defineDirective({type:Ce,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),Ce})();var dt=a(4187),bt=a(4678);function Oe(Ce,lt){if(1&Ce&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Ce){const _e=lt.$implicit;c.\u0275\u0275property("value",_e),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",_e," ")}}function ge(Ce,lt){if(1&Ce){const _e=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(_e);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,Oe,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&Ce){const _e=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",_e._formFieldAppearance)("color",_e.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",_e.pageSize)("disabled",_e.disabled)("panelClass",_e.selectConfig.panelClass||"")("disableOptionCentering",_e.selectConfig.disableOptionCentering)("aria-label",_e._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",_e._displayedPageSizeOptions)}}function ot(Ce,lt){if(1&Ce&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Ce){const _e=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(_e.pageSize)}}function At(Ce,lt){if(1&Ce&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,ge,3,8,"mat-form-field",14),c.\u0275\u0275template(4,ot,2,1,"div",15),c.\u0275\u0275elementEnd()),2&Ce){const _e=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",_e._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",_e._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",_e._displayedPageSizeOptions.length<=1)}}function Nt(Ce,lt){if(1&Ce){const _e=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(_e);const De=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(De.firstPage())}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(1,"svg",7),c.\u0275\u0275element(2,"path",22),c.\u0275\u0275elementEnd()()}if(2&Ce){const _e=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",_e._intl.firstPageLabel)("matTooltipDisabled",_e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",_e._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",_e._intl.firstPageLabel)}}function zt(Ce,lt){if(1&Ce){const _e=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(_e);const De=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(De.lastPage())}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(1,"svg",7),c.\u0275\u0275element(2,"path",24),c.\u0275\u0275elementEnd()()}if(2&Ce){const _e=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",_e._intl.lastPageLabel)("matTooltipDisabled",_e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",_e._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",_e._intl.lastPageLabel)}}const Ne=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let $e=(()=>{class Ce extends Q{constructor(_e,Ye,De){super(_e,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return Ce.\u0275fac=function(_e){return new(_e||Ce)(c.\u0275\u0275directiveInject(ct),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Ne,8))},Ce.\u0275cmp=c.\u0275\u0275defineComponent({type:Ce,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[c.\u0275\u0275InheritDefinitionFeature],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(_e,Ye){1&_e&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,At,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Nt,3,5,"button",5),c.\u0275\u0275elementStart(7,"button",6),c.\u0275\u0275listener("click",function(){return Ye.previousPage()}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(8,"svg",7),c.\u0275\u0275element(9,"path",8),c.\u0275\u0275elementEnd()(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(10,"button",9),c.\u0275\u0275listener("click",function(){return Ye.nextPage()}),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(11,"svg",7),c.\u0275\u0275element(12,"path",10),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(13,zt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&_e&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!Ye.hidePageSize),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate1(" ",Ye._intl.getRangeLabel(Ye.pageIndex,Ye.pageSize,Ye.length)," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Ye.showFirstLastButtons),c.\u0275\u0275advance(1),c.\u0275\u0275property("matTooltip",Ye._intl.previousPageLabel)("matTooltipDisabled",Ye._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Ye._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Ye._intl.previousPageLabel),c.\u0275\u0275advance(3),c.\u0275\u0275property("matTooltip",Ye._intl.nextPageLabel)("matTooltipDisabled",Ye._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Ye._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Ye._intl.nextPageLabel),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",Ye.showFirstLastButtons))},dependencies:[n.NgForOf,n.NgIf,g.MatLegacyButton,dt.MatLegacyFormField,r.MatLegacySelect,bt.MatLegacyOption,Qe],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),Ce})(),ae=(()=>{class Ce{}return Ce.\u0275fac=function(_e){return new(_e||Ce)},Ce.\u0275mod=c.\u0275\u0275defineNgModule({type:Ce}),Ce.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),Ce})()},1438:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>b,MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>p,MatLegacyProgressSpinner:()=>A,MatLegacyProgressSpinnerModule:()=>U,MatLegacySpinner:()=>Me});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),h=a(3680);const b=new r.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:p});function p(){return{diameter:_}}const _=100;var S=a(7394);function E(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const he=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+he._spinnerAnimationLabel)("stroke-dashoffset",he._getStrokeDashOffset(),"px")("stroke-dasharray",he._getStrokeCircumference(),"px")("stroke-width",he._getCircleStrokeWidth(),"%")("transform-origin",he._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",he._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const he=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",he._getStrokeDashOffset(),"px")("stroke-dasharray",he._getStrokeCircumference(),"px")("stroke-width",he._getCircleStrokeWidth(),"%")("transform-origin",he._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",he._getCircleRadius())}}const ee=(0,h.mixinColor)(class{constructor(Re){this._elementRef=Re}},"primary");class A extends ee{get diameter(){return this._diameter}set diameter(Ae){this._diameter=(0,n.su)(Ae),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Ae){this._strokeWidth=(0,n.su)(Ae)}get value(){return"determinate"===this.mode?this._value:0}set value(Ae){this._value=Math.max(0,Math.min(100,(0,n.su)(Ae)))}constructor(Ae,he,H,W,pe,we,Ee,Be,G){super(Ae),this._document=H,this._nonce=G,this._diameter=100,this._value=0,this._resizeSubscription=S.w0.EMPTY,this.mode="determinate";const re=A._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),re.has(H.head)||re.set(H.head,new Set([100])),this._noopAnimations="NoopAnimations"===W&&!!pe&&!pe._forceAnimations,"mat-spinner"===Ae.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),pe&&(pe.color&&(this.color=this.defaultColor=pe.color),pe.diameter&&(this.diameter=pe.diameter),pe.strokeWidth&&(this.strokeWidth=pe.strokeWidth)),he.isBrowser&&he.SAFARI&&Ee&&we&&Be&&(this._resizeSubscription=Ee.change(150).subscribe(()=>{"indeterminate"===this.mode&&Be.run(()=>we.markForCheck())}))}ngOnInit(){const Ae=this._elementRef.nativeElement;this._styleRoot=(0,c.kV)(Ae)||this._document.head,this._attachStyleNode(),Ae.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Ae=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Ae} ${Ae}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(Ae){const he=50*(Ae.currentScale??1);return`${he}% ${he}%`}_attachStyleNode(){const Ae=this._styleRoot,he=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(he)){const pe=this._document.createElement("style");this._nonce&&(pe.nonce=this._nonce),pe.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),pe.textContent=this._getAnimationText(),Ae.appendChild(pe),W||(W=new Set,H.set(Ae,W)),W.add(he)}}_getAnimationText(){const Ae=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*Ae).replace(/END_VALUE/g,""+.2*Ae).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}A._diameters=new WeakMap,A.\u0275fac=function(Ae){return new(Ae||A)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(c.t4),r.\u0275\u0275directiveInject(g.DOCUMENT,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),r.\u0275\u0275directiveInject(b),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(d.rL),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.CSP_NONCE,8))},A.\u0275cmp=r.\u0275\u0275defineComponent({type:A,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(Ae,he){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===he.mode?0:null)("aria-valuemax","determinate"===he.mode?100:null)("aria-valuenow","determinate"===he.mode?he.value:null)("mode",he.mode),r.\u0275\u0275styleProp("width",he.diameter,"px")("height",he.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",he._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(Ae,he){1&Ae&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",0,1),r.\u0275\u0275template(2,E,1,11,"circle",2),r.\u0275\u0275template(3,I,1,9,"circle",3),r.\u0275\u0275elementEnd()),2&Ae&&(r.\u0275\u0275styleProp("width",he.diameter,"px")("height",he.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===he.mode),r.\u0275\u0275attribute("viewBox",he._getViewBox()),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngSwitchCase",!0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[g.NgSwitch,g.NgSwitchCase],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let U=(()=>{class Re{}return Re.\u0275fac=function(he){return new(he||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[h.MatCommonModule,g.CommonModule,h.MatCommonModule]}),Re})();const Me=A},1036:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_RADIO_DEFAULT_OPTIONS:()=>l,MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY:()=>y,MAT_LEGACY_RADIO_GROUP:()=>_,MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>A,MatLegacyRadioButton:()=>Me,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),h=a(2495);const f=["input"];let v=0;class b{constructor(he,H){this.source=he,this.value=H}}const _=new n.InjectionToken("MatRadioGroup"),l=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:y});function y(){return{color:"accent"}}let x=(()=>{class Ae{get name(){return this._name}set name(H){this._name=H,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(H){this._labelPosition="before"===H?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(H){this._value!==H&&(this._value=H,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(H){this._selected=H,this.value=H?H.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,h.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,h.Ig)(H),this._markRadiosForCheck()}constructor(H){this._changeDetector=H,this._value=null,this._name="mat-radio-group-"+v++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(H=>H===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(H=>{H.name=this.name,H._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(W=>{W.checked=this.value===W.value,W.checked&&(this._selected=W)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new b(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(H=>H._markForCheck())}writeValue(H){this.value=H,this._changeDetector.markForCheck()}registerOnChange(H){this._controlValueAccessorChangeFn=H}registerOnTouched(H){this.onTouched=H}setDisabledState(H){this.disabled=H,this._changeDetector.markForCheck()}}return Ae.\u0275fac=function(H){return new(H||Ae)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Ae.\u0275dir=n.\u0275\u0275defineDirective({type:Ae,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Ae})();class D{constructor(he){this._elementRef=he}}const S=(0,c.mixinDisableRipple)((0,c.mixinTabIndex)(D));let E=(()=>{class Ae extends S{get checked(){return this._checked}set checked(H){const W=(0,h.Ig)(H);this._checked!==W&&(this._checked=W,W&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!W&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),W&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(H){this._value!==H&&(this._value=H,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===H),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(H){this._labelPosition=H}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(H){this._setDisabled((0,h.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,h.Ig)(H)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(H){this._color=H}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(H,W,pe,we,Ee,Be,G,re){super(W),this._changeDetector=pe,this._focusMonitor=we,this._radioDispatcher=Ee,this._providerOverride=G,this._uniqueId="mat-radio-"+ ++v,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=H,this._noopAnimations="NoopAnimations"===Be,re&&(this.tabIndex=(0,h.su)(re,0))}focus(H,W){W?this._focusMonitor.focusVia(this._inputElement,W,H):this._inputElement.nativeElement.focus(H)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((H,W)=>{H!==this.id&&W===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(H=>{!H&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new b(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(H){H.stopPropagation()}_onInputInteraction(H){if(H.stopPropagation(),!this.checked&&!this.disabled){const W=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),W&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(H){this._onInputInteraction(H),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(H){this._disabled!==H&&(this._disabled=H,this._changeDetector.markForCheck())}_updateTabIndex(){const H=this.radioGroup;let W;if(W=H&&H.selected&&!this.disabled?H.selected===this?this.tabIndex:-1:this.tabIndex,W!==this._previousTabIndex){const pe=this._inputElement?.nativeElement;pe&&(pe.setAttribute("tabindex",W+""),this._previousTabIndex=W)}}}return Ae.\u0275fac=function(H){n.\u0275\u0275invalidFactory()},Ae.\u0275dir=n.\u0275\u0275defineDirective({type:Ae,viewQuery:function(H,W){if(1&H&&n.\u0275\u0275viewQuery(f,5),2&H){let pe;n.\u0275\u0275queryRefresh(pe=n.\u0275\u0275loadQuery())&&(W._inputElement=pe.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Ae})();const ee=function(Ae){return{enterDuration:Ae}},ie=["*"],A={provide:r.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>U),multi:!0};let U=(()=>{class Ae extends x{}return Ae.\u0275fac=function(){let he;return function(W){return(he||(he=n.\u0275\u0275getInheritedFactory(Ae)))(W||Ae)}}(),Ae.\u0275dir=n.\u0275\u0275defineDirective({type:Ae,selectors:[["mat-radio-group"]],contentQueries:function(H,W,pe){if(1&H&&n.\u0275\u0275contentQuery(pe,Me,5),2&H){let we;n.\u0275\u0275queryRefresh(we=n.\u0275\u0275loadQuery())&&(W._radios=we)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([A,{provide:_,useExisting:Ae}]),n.\u0275\u0275InheritDefinitionFeature]}),Ae})(),Me=(()=>{class Ae extends E{constructor(H,W,pe,we,Ee,Be,G,re){super(H,W,pe,we,Ee,Be,G,re)}}return Ae.\u0275fac=function(H){return new(H||Ae)(n.\u0275\u0275directiveInject(_,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(g.A8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(l,8),n.\u0275\u0275injectAttribute("tabindex"))},Ae.\u0275cmp=n.\u0275\u0275defineComponent({type:Ae,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(H,W){1&H&&n.\u0275\u0275listener("focus",function(){return W._inputElement.nativeElement.focus()}),2&H&&(n.\u0275\u0275attribute("tabindex",null)("id",W.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-radio-checked",W.checked)("mat-radio-disabled",W.disabled)("_mat-animation-noopable",W._noopAnimations)("mat-primary","primary"===W.color)("mat-accent","accent"===W.color)("mat-warn","warn"===W.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ie,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(H,W){if(1&H&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2),n.\u0275\u0275element(3,"span",3)(4,"span",4),n.\u0275\u0275elementStart(5,"input",5,6),n.\u0275\u0275listener("change",function(we){return W._onInputInteraction(we)})("click",function(we){return W._onInputClick(we)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(7,"span",7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementEnd()(),n.\u0275\u0275elementStart(9,"span",9)(10,"span",10),n.\u0275\u0275text(11,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd()()),2&H){const pe=n.\u0275\u0275reference(1);n.\u0275\u0275attribute("for",W.inputId),n.\u0275\u0275advance(5),n.\u0275\u0275property("id",W.inputId)("checked",W.checked)("disabled",W.disabled)("required",W.required),n.\u0275\u0275attribute("name",W.name)("value",W.value)("aria-label",W.ariaLabel)("aria-labelledby",W.ariaLabelledby)("aria-describedby",W.ariaDescribedby),n.\u0275\u0275advance(2),n.\u0275\u0275property("matRippleTrigger",pe)("matRippleDisabled",W._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(17,ee,W._noopAnimations?0:150)),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-radio-label-before","before"==W.labelPosition)}},dependencies:[c.MatRipple],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),Ae})(),Re=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275mod=n.\u0275\u0275defineNgModule({type:Ae}),Ae.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatRippleModule,c.MatCommonModule,c.MatCommonModule]}),Ae})()},1798:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_SELECT_CONFIG:()=>Qe,MAT_LEGACY_SELECT_SCROLL_STRATEGY:()=>He,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER:()=>We,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>ot,MatLegacySelectChange:()=>Oe,MatLegacySelectModule:()=>At,MatLegacySelectTrigger:()=>ge,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),h=a(1043),f=a(4187),u=a(6672),v=a(4300),b=a(9388),p=a(2495),_=a(8337),l=a(6028),y=a(6223),x=a(8645),D=a(4911),S=a(3019),E=a(7921),I=a(4664),X=a(8180),$=a(2181),ee=a(7398),ie=a(3997),A=a(9773),U=a(6825);const Me=["trigger"],Re=["panel"];let ye=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Nt){return()=>Nt.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),We={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Ft=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Nt,zt,Ne,$e,ae){this._elementRef=Nt,this._defaultErrorStateMatcher=zt,this._parentForm=Ne,this._parentFormGroup=$e,this.ngControl=ae,this.stateChanges=new x.x}}))));let gt=(()=>{class Nt extends Ft{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ne){this._placeholder=Ne,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Ne){this._required=(0,p.Ig)(Ne),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ne){this._multiple=(0,p.Ig)(Ne)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ne){this._disableOptionCentering=(0,p.Ig)(Ne)}get compareWith(){return this._compareWith}set compareWith(Ne){this._compareWith=Ne,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ne){this._assignValue(Ne)&&this._onChange(Ne)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ne){this._typeaheadDebounceInterval=(0,p.su)(Ne)}get id(){return this._id}set id(Ne){this._id=Ne||this._uid,this.stateChanges.next()}constructor(Ne,$e,ae,Ce,lt,_e,Ye,De,F,V,K,ve,ut,Pt){super(lt,Ce,Ye,De,V),this._viewportRuler=Ne,this._changeDetectorRef=$e,this._ngZone=ae,this._dir=_e,this._parentFormField=F,this._liveAnnouncer=ut,this._defaultOptions=Pt,this._panelOpen=!1,this._compareWith=(qe,et)=>qe===et,this._uid="mat-select-"+ye++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ye++,this._panelDoneAnimatingStream=new x.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,D.P)(()=>{const qe=this.options;return qe?qe.changes.pipe((0,E.O)(qe),(0,I.w)(()=>(0,S.T)(...qe.map(et=>et.onSelectionChange)))):this._ngZone.onStable.pipe((0,X.q)(1),(0,I.w)(()=>this.optionSelectionChanges))}),this.openedChange=new d.EventEmitter,this._openedStream=this.openedChange.pipe((0,$.h)(qe=>qe),(0,ee.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,$.h)(qe=>!qe),(0,ee.U)(()=>{})),this.selectionChange=new d.EventEmitter,this.valueChange=new d.EventEmitter,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Pt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Pt.typeaheadDebounceInterval),this._scrollStrategyFactory=ve,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(K)||0,this.id=this.id}ngOnInit(){this._selectionModel=new _.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ie.x)(),(0,A.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,A.R)(this._destroy)).subscribe(Ne=>{Ne.added.forEach($e=>$e.select()),Ne.removed.forEach($e=>$e.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ne=this._getTriggerAriaLabelledby(),$e=this.ngControl;if(Ne!==this._triggerAriaLabelledBy){const ae=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ne,Ne?ae.setAttribute("aria-labelledby",Ne):ae.removeAttribute("aria-labelledby")}$e&&(this._previousControl!==$e.control&&(void 0!==this._previousControl&&null!==$e.disabled&&$e.disabled!==this.disabled&&(this.disabled=$e.disabled),this._previousControl=$e.control),this.updateErrorState())}ngOnChanges(Ne){(Ne.disabled||Ne.userAriaDescribedBy)&&this.stateChanges.next(),Ne.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Ne=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ne)return;const $e=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",$e),(0,v.Zf)(Ne,"aria-owns",$e),this._trackedModal=Ne}_clearFromModal(){this._trackedModal&&((0,v.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ne){this._assignValue(Ne)}registerOnChange(Ne){this._onChange=Ne}registerOnTouched(Ne){this._onTouched=Ne}setDisabledState(Ne){this.disabled=Ne,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ne=this._selectionModel.selected.map($e=>$e.viewValue);return this._isRtl()&&Ne.reverse(),Ne.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ne){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ne):this._handleClosedKeydown(Ne))}_handleClosedKeydown(Ne){const $e=Ne.keyCode,ae=$e===l.JH||$e===l.LH||$e===l.oh||$e===l.SV,Ce=$e===l.K5||$e===l.L_,lt=this._keyManager;if(!lt.isTyping()&&Ce&&!(0,l.Vb)(Ne)||(this.multiple||Ne.altKey)&&ae)Ne.preventDefault(),this.open();else if(!this.multiple){const _e=this.selected;lt.onKeydown(Ne);const Ye=this.selected;Ye&&_e!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Ne){const $e=this._keyManager,ae=Ne.keyCode,Ce=ae===l.JH||ae===l.LH,lt=$e.isTyping();if(Ce&&Ne.altKey)Ne.preventDefault(),this.close();else if(lt||ae!==l.K5&&ae!==l.L_||!$e.activeItem||(0,l.Vb)(Ne))if(!lt&&this._multiple&&ae===l.A&&Ne.ctrlKey){Ne.preventDefault();const _e=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(_e?Ye.select():Ye.deselect())})}else{const _e=$e.activeItemIndex;$e.onKeydown(Ne),this._multiple&&Ce&&Ne.shiftKey&&$e.activeItem&&$e.activeItemIndex!==_e&&$e.activeItem._selectViaInteraction()}else Ne.preventDefault(),$e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,X.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ne){if(this.options.forEach($e=>$e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ne)Array.isArray(Ne),Ne.forEach($e=>this._selectOptionByValue($e)),this._sortValues();else{const $e=this._selectOptionByValue(Ne);$e?this._keyManager.updateActiveItem($e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ne){const $e=this.options.find(ae=>{if(this._selectionModel.isSelected(ae))return!1;try{return null!=ae.value&&this._compareWith(ae.value,Ne)}catch{return!1}});return $e&&this._selectionModel.select($e),$e}_assignValue(Ne){return!!(Ne!==this._value||this._multiple&&Array.isArray(Ne))&&(this.options&&this._setSelectionByValue(Ne),this._value=Ne,!0)}_skipPredicate(Ne){return Ne.disabled}_initKeyManager(){this._keyManager=new v.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ne=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Ne)).subscribe($e=>{this._onSelect($e.source,$e.isUserInput),$e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map($e=>$e._stateChanges)).pipe((0,A.R)(Ne)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ne,$e){const ae=this._selectionModel.isSelected(Ne);null!=Ne.value||this._multiple?(ae!==Ne.selected&&(Ne.selected?this._selectionModel.select(Ne):this._selectionModel.deselect(Ne)),$e&&this._keyManager.setActiveItem(Ne),this.multiple&&(this._sortValues(),$e&&this.focus())):(Ne.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ne.value)),ae!==this._selectionModel.isSelected(Ne)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ne=this.options.toArray();this._selectionModel.sort(($e,ae)=>this.sortComparator?this.sortComparator($e,ae,Ne):Ne.indexOf($e)-Ne.indexOf(ae)),this.stateChanges.next()}}_propagateChanges(Ne){let $e=null;$e=this.multiple?this.selected.map(ae=>ae.value):this.selected?this.selected.value:Ne,this._value=$e,this.valueChange.emit($e),this._onChange($e),this.selectionChange.emit(this._getChangeEvent($e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ne=-1;for(let $e=0;$e0}focus(Ne){this._elementRef.nativeElement.focus(Ne)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ne=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ne?Ne+" ":"")+this.ariaLabelledby:Ne}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ne=this._parentFormField?.getLabelId();let $e=(Ne?Ne+" ":"")+this._valueId;return this.ariaLabelledby&&($e+=" "+this.ariaLabelledby),$e}_panelDoneAnimating(Ne){this.openedChange.emit(Ne)}setDescribedByIds(Ne){Ne.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ne.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Nt.\u0275fac=function(Ne){return new(Ne||Nt)(d.\u0275\u0275directiveInject(u.rL),d.\u0275\u0275directiveInject(d.ChangeDetectorRef),d.\u0275\u0275directiveInject(d.NgZone),d.\u0275\u0275directiveInject(g.ErrorStateMatcher),d.\u0275\u0275directiveInject(d.ElementRef),d.\u0275\u0275directiveInject(b.Is,8),d.\u0275\u0275directiveInject(y.NgForm,8),d.\u0275\u0275directiveInject(y.FormGroupDirective,8),d.\u0275\u0275directiveInject(h.G_,8),d.\u0275\u0275directiveInject(y.NgControl,10),d.\u0275\u0275injectAttribute("tabindex"),d.\u0275\u0275directiveInject(He),d.\u0275\u0275directiveInject(v.Kd),d.\u0275\u0275directiveInject(Qe,8))},Nt.\u0275dir=d.\u0275\u0275defineDirective({type:Nt,viewQuery:function(Ne,$e){if(1&Ne&&(d.\u0275\u0275viewQuery(Me,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Ne){let ae;d.\u0275\u0275queryRefresh(ae=d.\u0275\u0275loadQuery())&&($e.trigger=ae.first),d.\u0275\u0275queryRefresh(ae=d.\u0275\u0275loadQuery())&&($e.panel=ae.first),d.\u0275\u0275queryRefresh(ae=d.\u0275\u0275loadQuery())&&($e._overlayDir=ae.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[d.\u0275\u0275InheritDefinitionFeature,d.\u0275\u0275NgOnChangesFeature]}),Nt})();function Le(Nt,zt){if(1&Nt&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Nt){const Ne=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Ne.placeholder)}}function ct(Nt,zt){if(1&Nt&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Nt){const Ne=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Ne.triggerValue)}}function ze(Nt,zt){1&Nt&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Nt,zt){if(1&Nt&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,ct,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Nt){const Ne=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Ne.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Nt,zt){if(1&Nt){const Ne=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(ae){d.\u0275\u0275restoreView(Ne);const Ce=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Ce._panelDoneAnimatingStream.next(ae.toState))})("keydown",function(ae){d.\u0275\u0275restoreView(Ne);const Ce=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Ce._handleKeydown(ae))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Nt){const Ne=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Ne._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Ne._transformOrigin)("font-size",Ne._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Ne.panelClass)("@transformPanel",Ne.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Ne.id+"-panel")("aria-multiselectable",Ne.multiple)("aria-label",Ne.ariaLabel||null)("aria-labelledby",Ne._getPanelAriaLabelledby())}}const oe=[[["mat-select-trigger"]],"*"],Y=["mat-select-trigger","*"],ne={transformPanelWrap:(0,U.X$)("transformPanelWrap",[(0,U.eR)("* => void",(0,U.IO)("@transformPanel",[(0,U.pV)()],{optional:!0}))]),transformPanel:(0,U.X$)("transformPanel",[(0,U.SB)("void",(0,U.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,U.SB)("showing",(0,U.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,U.SB)("showing-multiple",(0,U.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,U.eR)("void => *",(0,U.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,U.eR)("* => void",(0,U.jt)("100ms 25ms linear",(0,U.oB)({opacity:0})))])},Q=256;class Oe{constructor(zt,Ne){this.source=zt,this.value=Ne}}let ge=(()=>{class Nt{}return Nt.\u0275fac=function(Ne){return new(Ne||Nt)},Nt.\u0275dir=d.\u0275\u0275defineDirective({type:Nt,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Nt}])]}),Nt})(),ot=(()=>{class Nt extends gt{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(Ne,$e,ae){const Ce=this._getItemHeight();return Math.min(Math.max(0,Ce*Ne-$e+Ce/2),ae)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,A.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,X.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(Ne){const $e=(0,g._countGroupLabelsBeforeOption)(Ne,this.options,this.optionGroups),ae=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Ne&&1===$e?0:(0,g._getOptionScrollPosition)((Ne+$e)*ae,ae,this.panel.nativeElement.scrollTop,Q)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Ne){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Ne)}_getChangeEvent(Ne){return new Oe(this,Ne)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Ne=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),$e=this._viewportRuler.getViewportSize(),ae=this._isRtl(),Ce=this.multiple?56:32;let lt;if(this.multiple)lt=40;else if(this.disableOptionCentering)lt=16;else{let De=this._selectionModel.selected[0]||this.options.first;lt=De&&De.group?32:16}ae||(lt*=-1);const _e=0-(Ne.left+lt-(ae?Ce:0)),Ye=Ne.right+lt-$e.width+(ae?0:Ce);_e>0?lt+=_e+8:Ye>0&&(lt-=Ye+8),this._overlayDir.offsetX=Math.round(lt),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Ne,$e,ae){const Ce=this._getItemHeight(),lt=(Ce-this._triggerRect.height)/2,_e=Math.floor(Q/Ce);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Ne*Ce:this._scrollTop===ae?(Ne-(this._getItemCount()-_e))*Ce+(Ce-(this._getItemCount()*Ce-Q)%Ce):$e-Ce/2,Math.round(-1*Ye-lt))}_checkOverlayWithinViewport(Ne){const $e=this._getItemHeight(),ae=this._viewportRuler.getViewportSize(),Ce=this._triggerRect.top-8,lt=ae.height-this._triggerRect.bottom-8,_e=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*$e,Q)-_e-this._triggerRect.height;De>lt?this._adjustPanelUp(De,lt):_e>Ce?this._adjustPanelDown(_e,Ce,Ne):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Ne,$e){const ae=Math.round(Ne-$e);this._scrollTop-=ae,this._offsetY-=ae,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Ne,$e,ae){const Ce=Math.round(Ne-$e);if(this._scrollTop+=Ce,this._offsetY+=Ce,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=ae)return this._scrollTop=ae,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Ne=this._getItemHeight(),$e=this._getItemCount(),ae=Math.min($e*Ne,Q),lt=$e*Ne-ae;let _e;_e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),_e+=(0,g._countGroupLabelsBeforeOption)(_e,this.options,this.optionGroups);const Ye=ae/2;this._scrollTop=this._calculateOverlayScroll(_e,Ye,lt),this._offsetY=this._calculateOverlayOffsetY(_e,Ye,lt),this._checkOverlayWithinViewport(lt)}_getOriginBasedOnOption(){const Ne=this._getItemHeight(),$e=(Ne-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-$e+Ne/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Nt.\u0275fac=function(){let zt;return function($e){return(zt||(zt=d.\u0275\u0275getInheritedFactory(Nt)))($e||Nt)}}(),Nt.\u0275cmp=d.\u0275\u0275defineComponent({type:Nt,selectors:[["mat-select"]],contentQueries:function(Ne,$e,ae){if(1&Ne&&(d.\u0275\u0275contentQuery(ae,tt,5),d.\u0275\u0275contentQuery(ae,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(ae,g.MAT_OPTGROUP,5)),2&Ne){let Ce;d.\u0275\u0275queryRefresh(Ce=d.\u0275\u0275loadQuery())&&($e.customTrigger=Ce.first),d.\u0275\u0275queryRefresh(Ce=d.\u0275\u0275loadQuery())&&($e.options=Ce),d.\u0275\u0275queryRefresh(Ce=d.\u0275\u0275loadQuery())&&($e.optionGroups=Ce)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Ne,$e){1&Ne&&d.\u0275\u0275listener("keydown",function(Ce){return $e._handleKeydown(Ce)})("focus",function(){return $e._onFocus()})("blur",function(){return $e._onBlur()}),2&Ne&&(d.\u0275\u0275attribute("id",$e.id)("tabindex",$e.tabIndex)("aria-controls",$e.panelOpen?$e.id+"-panel":null)("aria-expanded",$e.panelOpen)("aria-label",$e.ariaLabel||null)("aria-required",$e.required.toString())("aria-disabled",$e.disabled.toString())("aria-invalid",$e.errorState)("aria-activedescendant",$e._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",$e.disabled)("mat-select-invalid",$e.errorState)("mat-select-required",$e.required)("mat-select-empty",$e.empty)("mat-select-multiple",$e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:h.Eo,useExisting:Nt},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Nt}]),d.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Y,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ne,$e){if(1&Ne&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return $e.toggle()}),d.\u0275\u0275elementStart(3,"div",2),d.\u0275\u0275template(4,Le,2,1,"span",3),d.\u0275\u0275template(5,at,3,2,"span",4),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(6,"div",5),d.\u0275\u0275element(7,"div",6),d.\u0275\u0275elementEnd()(),d.\u0275\u0275template(8,N,4,14,"ng-template",7),d.\u0275\u0275listener("backdropClick",function(){return $e.close()})("attach",function(){return $e._onAttached()})("detach",function(){return $e.close()})),2&Ne){const ae=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",$e.panelOpen?$e.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",$e.empty),d.\u0275\u0275attribute("id",$e._valueId),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!0),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngSwitchCase",!1),d.\u0275\u0275advance(3),d.\u0275\u0275property("cdkConnectedOverlayPanelClass",$e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",$e._scrollStrategy)("cdkConnectedOverlayOrigin",ae)("cdkConnectedOverlayOpen",$e.panelOpen)("cdkConnectedOverlayPositions",$e._positions)("cdkConnectedOverlayMinWidth",$e._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",$e._offsetY)}},dependencies:[c.NgClass,c.NgSwitch,c.NgSwitchCase,c.NgSwitchDefault,n.pI,n.xu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[ne.transformPanelWrap,ne.transformPanel]},changeDetection:0}),Nt})(),At=(()=>{class Nt{}return Nt.\u0275fac=function(Ne){return new(Ne||Nt)},Nt.\u0275mod=d.\u0275\u0275defineNgModule({type:Nt}),Nt.\u0275inj=d.\u0275\u0275defineInjector({providers:[We],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,f.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Nt})()},1830:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>ie,MAT_LEGACY_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>D,MAT_LEGACY_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>A,MatLegacySlideToggle:()=>Me,MatLegacySlideToggleChange:()=>U,MatLegacySlideToggleModule:()=>Re,MatLegacySlideToggleRequiredValidator:()=>S,_MatLegacySlideToggleBase:()=>y,_MatLegacySlideToggleRequiredValidatorModule:()=>E});var n=a(7131),c=a(5879),d=a(3680),g=a(4300),r=a(6223),h=a(2495);let _=0;const l=(0,d.mixinTabIndex)((0,d.mixinColor)((0,d.mixinDisableRipple)((0,d.mixinDisabled)(class{constructor(Ae){this._elementRef=Ae}}))));let y=(()=>{class Ae extends l{get required(){return this._required}set required(H){this._required=(0,h.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,h.Ig)(H),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(H,W,pe,we,Ee,Be,G){super(H),this._focusMonitor=W,this._changeDetectorRef=pe,this.defaults=Ee,this._onChange=re=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new c.EventEmitter,this.toggleChange=new c.EventEmitter,this.tabIndex=parseInt(we)||0,this.color=this.defaultColor=Ee.color||"accent",this._noopAnimations="NoopAnimations"===Be,this.id=this._uniqueId=`${G}${++_}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(H=>{"keyboard"===H||"program"===H?(this._focused=!0,this._changeDetectorRef.markForCheck()):H||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(H){this.checked=!!H}registerOnChange(H){this._onChange=H}registerOnTouched(H){this._onTouched=H}setDisabledState(H){this.disabled=H,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return Ae.\u0275fac=function(H){c.\u0275\u0275invalidFactory()},Ae.\u0275dir=c.\u0275\u0275defineDirective({type:Ae,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[c.\u0275\u0275InheritDefinitionFeature]}),Ae})();const D={provide:r.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>S),multi:!0};let S=(()=>{class Ae extends r.CheckboxRequiredValidator{}return Ae.\u0275fac=function(){let he;return function(W){return(he||(he=c.\u0275\u0275getInheritedFactory(Ae)))(W||Ae)}}(),Ae.\u0275dir=c.\u0275\u0275defineDirective({type:Ae,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([D]),c.\u0275\u0275InheritDefinitionFeature]}),Ae})(),E=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275mod=c.\u0275\u0275defineNgModule({type:Ae}),Ae.\u0275inj=c.\u0275\u0275defineInjector({}),Ae})();const X=["input"],$=function(Ae){return{enterDuration:Ae}},ee=["*"],ie=new c.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),A={provide:r.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Me),multi:!0};class U{constructor(he,H){this.source=he,this.checked=H}}let Me=(()=>{class Ae extends y{constructor(H,W,pe,we,Ee,Be){super(H,W,pe,we,Ee,Be,"mat-slide-toggle-")}_createChangeEvent(H){return new U(this,H)}_onChangeEvent(H){H.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(H){H.stopPropagation()}focus(H,W){W?this._focusMonitor.focusVia(this._inputElement,W,H):this._inputElement.nativeElement.focus(H)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return Ae.\u0275fac=function(H){return new(H||Ae)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(g.tE),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275injectAttribute("tabindex"),c.\u0275\u0275directiveInject(ie),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Ae.\u0275cmp=c.\u0275\u0275defineComponent({type:Ae,selectors:[["mat-slide-toggle"]],viewQuery:function(H,W){if(1&H&&c.\u0275\u0275viewQuery(X,5),2&H){let pe;c.\u0275\u0275queryRefresh(pe=c.\u0275\u0275loadQuery())&&(W._inputElement=pe.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(H,W){2&H&&(c.\u0275\u0275hostProperty("id",W.id),c.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),c.\u0275\u0275classProp("mat-checked",W.checked)("mat-disabled",W.disabled)("mat-slide-toggle-label-before","before"==W.labelPosition)("_mat-animation-noopable",W._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[c.\u0275\u0275ProvidersFeature([A]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ee,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(H,W){if(1&H&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"label",0,1)(2,"span",2)(3,"input",3,4),c.\u0275\u0275listener("change",function(we){return W._onChangeEvent(we)})("click",function(we){return W._onInputClick(we)}),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"span",5),c.\u0275\u0275element(6,"span",6),c.\u0275\u0275elementStart(7,"span",7),c.\u0275\u0275element(8,"span",8),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(9,"span",9,10),c.\u0275\u0275listener("cdkObserveContent",function(){return W._onLabelTextChange()}),c.\u0275\u0275elementStart(11,"span",11),c.\u0275\u0275text(12,"\xa0"),c.\u0275\u0275elementEnd(),c.\u0275\u0275projection(13),c.\u0275\u0275elementEnd()()),2&H){const pe=c.\u0275\u0275reference(1),we=c.\u0275\u0275reference(10);c.\u0275\u0275attribute("for",W.inputId),c.\u0275\u0275advance(2),c.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!we.textContent||!we.textContent.trim()),c.\u0275\u0275advance(1),c.\u0275\u0275property("id",W.inputId)("required",W.required)("tabIndex",W.tabIndex)("checked",W.checked)("disabled",W.disabled),c.\u0275\u0275attribute("name",W.name)("aria-checked",W.checked)("aria-label",W.ariaLabel)("aria-labelledby",W.ariaLabelledby)("aria-describedby",W.ariaDescribedby),c.\u0275\u0275advance(4),c.\u0275\u0275property("matRippleTrigger",pe)("matRippleDisabled",W.disableRipple||W.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",c.\u0275\u0275pureFunction1(18,$,W._noopAnimations?0:150))}},dependencies:[d.MatRipple,n.wD],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),Ae})(),Re=(()=>{class Ae{}return Ae.\u0275fac=function(H){return new(H||Ae)},Ae.\u0275mod=c.\u0275\u0275defineNgModule({type:Ae}),Ae.\u0275inj=c.\u0275\u0275defineInjector({imports:[E,d.MatRippleModule,d.MatCommonModule,n.Q8,E,d.MatCommonModule]}),Ae})()},4433:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_SLIDER_VALUE_ACCESSOR:()=>S,MatLegacySlider:()=>X,MatLegacySliderChange:()=>E,MatLegacySliderModule:()=>Me});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),h=a(2495),f=a(6028),u=a(6223),v=a(2831),b=a(7394);const p=["sliderWrapper"],_=(0,v.i$)({passive:!1}),S={provide:u.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>X),multi:!0};class E{}const I=(0,d.mixinTabIndex)((0,d.mixinColor)((0,d.mixinDisabled)(class{constructor(Re){this._elementRef=Re}}),"accent"));let X=(()=>{class Re extends I{get invert(){return this._invert}set invert(he){this._invert=(0,h.Ig)(he)}get max(){return this._max}set max(he){this._max=(0,h.su)(he,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(he){this._min=(0,h.su)(he,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(he){this._step=(0,h.su)(he,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(he){this._thumbLabel=(0,h.Ig)(he)}get tickInterval(){return this._tickInterval}set tickInterval(he){this._tickInterval="auto"===he?"auto":"number"==typeof he||"string"==typeof he?(0,h.su)(he,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(he){if(he!==this._value){let H=(0,h.su)(he,0);this._roundToDecimal&&H!==this.min&&H!==this.max&&(H=parseFloat(H.toFixed(this._roundToDecimal))),this._value=H,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(he){this._vertical=(0,h.Ig)(he)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(he){this._focusHostElement(he)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}_shouldInvertAxis(){return this.vertical?!this.invert:this.invert}_isMinValue(){return 0===this.percent}_getThumbGap(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0}_getTrackBackgroundStyles(){const H=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._getThumbGap()}px) scale3d(${H})`}}_getTrackFillStyles(){const he=this.percent,W=this.vertical?`1, ${he}, 1`:`${he}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===he?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let he=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${he}%`:`${he}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${he/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const Be=this._shouldInvertAxis();let G;G=this.vertical?Be?"Bottom":"Top":Be?"Right":"Left",Ee[`padding${G}`]=`${this._getThumbGap()}px`}return Ee}_getThumbContainerStyles(){const he=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?he:!he)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const he=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?he:!he}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(he,H,W,pe,we,Ee,Be,G){super(he),this._focusMonitor=H,this._changeDetectorRef=W,this._dir=pe,this._ngZone=Ee,this._animationMode=G,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new c.EventEmitter,this.input=new c.EventEmitter,this.valueChange=new c.EventEmitter,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=b.w0.EMPTY,this._pointerDown=re=>{this.disabled||this._isSliding||!ee(re)&&0!==re.button||this._ngZone.run(()=>{this._touchId=ee(re)?function U(Re,Ae){for(let he=0;he{if("pointer"===this._isSliding){const se=ie(re,this._touchId);if(se){re.cancelable&&re.preventDefault();const ye=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(se),ye!=this.value&&this._emitInputEvent()}}},this._pointerUp=re=>{"pointer"===this._isSliding&&(!ee(re)||"number"!=typeof this._touchId||A(re.changedTouches,this._touchId))&&(re.cancelable&&re.preventDefault(),this._removeGlobalEvents(),this._isSliding=null,this._touchId=void 0,this._valueOnSlideStart!=this.value&&!this.disabled&&this._emitChangeEvent(),this._valueOnSlideStart=this._lastPointerEvent=null)},this._windowBlur=()=>{this._lastPointerEvent&&this._pointerUp(this._lastPointerEvent)},this._document=Be,this.tabIndex=parseInt(we)||0,Ee.runOutsideAngular(()=>{const re=he.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(he=>{this._isActive=!!he&&"keyboard"!==he,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const he=this._elementRef.nativeElement;he.removeEventListener("mousedown",this._pointerDown,_),he.removeEventListener("touchstart",this._pointerDown,_),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(he){if(this.disabled||(0,f.Vb)(he)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(he.keyCode){case f.Ku:this._increment(10);break;case f.VM:this._increment(-10);break;case f.uR:this.value=this.max;break;case f.Sd:this.value=this.min;break;case f.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case f.LH:this._increment(1);break;case f.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case f.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",he.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(he){const H=this._document,W=ee(he),we=W?"touchend":"mouseup";H.addEventListener(W?"touchmove":"mousemove",this._pointerMove,_),H.addEventListener(we,this._pointerUp,_),W&&H.addEventListener("touchcancel",this._pointerUp,_);const Ee=this._getWindow();typeof Ee<"u"&&Ee&&Ee.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const he=this._document;he.removeEventListener("mousemove",this._pointerMove,_),he.removeEventListener("mouseup",this._pointerUp,_),he.removeEventListener("touchmove",this._pointerMove,_),he.removeEventListener("touchend",this._pointerUp,_),he.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(he){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*he,this.min,this.max)}_updateValueFromPosition(he){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?he.y:he.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(we=1-we),0===we)this.value=this.min;else if(1===we)this.value=this.max;else{const Ee=this._calculateValue(we),Be=Math.round((Ee-this.min)/this.step)*this.step+this.min;this.value=this._clamp(Be,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(!this.tickInterval||!this._sliderDimensions)return;let he;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;he=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else he=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(he)?he:0}_createChangeEvent(he=this.value){let H=new E;return H.source=this,H.value=he,H}_calculatePercentage(he){const H=((he||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(he){return this.min+he*(this.max-this.min)}_clamp(he,H=0,W=1){return Math.max(H,Math.min(he,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(he){this._elementRef.nativeElement.focus(he)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(he){this.value=he}registerOnChange(he){this._controlValueAccessorChangeFn=he}registerOnTouched(he){this.onTouched=he}setDisabledState(he){this.disabled=he}}return Re.\u0275fac=function(he){return new(he||Re)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(g.tE),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(r.Is,8),c.\u0275\u0275injectAttribute("tabindex"),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(n.DOCUMENT),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},Re.\u0275cmp=c.\u0275\u0275defineComponent({type:Re,selectors:[["mat-slider"]],viewQuery:function(he,H){if(1&he&&c.\u0275\u0275viewQuery(p,5),2&he){let W;c.\u0275\u0275queryRefresh(W=c.\u0275\u0275loadQuery())&&(H._sliderWrapper=W.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(he,H){1&he&&c.\u0275\u0275listener("focus",function(){return H._onFocus()})("blur",function(){return H._onBlur()})("keydown",function(pe){return H._onKeydown(pe)})("keyup",function(){return H._onKeyup()})("mouseenter",function(){return H._onMouseenter()})("selectstart",function(pe){return pe.preventDefault()}),2&he&&(c.\u0275\u0275hostProperty("tabIndex",H.tabIndex),c.\u0275\u0275attribute("aria-disabled",H.disabled)("aria-valuemax",H.max)("aria-valuemin",H.min)("aria-valuenow",H.value)("aria-valuetext",null==H.valueText?H.displayValue:H.valueText)("aria-orientation",H.vertical?"vertical":"horizontal"),c.\u0275\u0275classProp("mat-slider-disabled",H.disabled)("mat-slider-has-ticks",H.tickInterval)("mat-slider-horizontal",!H.vertical)("mat-slider-axis-inverted",H._shouldInvertAxis())("mat-slider-invert-mouse-coords",H._shouldInvertMouseCoords())("mat-slider-sliding",H._isSliding)("mat-slider-thumb-label-showing",H.thumbLabel)("mat-slider-vertical",H.vertical)("mat-slider-min-value",H._isMinValue())("mat-slider-hide-last-tick",H.disabled||H._isMinValue()&&H._getThumbGap()&&H._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===H._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",value:"value",displayWith:"displayWith",valueText:"valueText",vertical:"vertical"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[c.\u0275\u0275ProvidersFeature([S]),c.\u0275\u0275InheritDefinitionFeature],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(he,H){1&he&&(c.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2),c.\u0275\u0275element(3,"div",3)(4,"div",4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"div",5),c.\u0275\u0275element(6,"div",6),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"div",7),c.\u0275\u0275element(8,"div",8)(9,"div",9),c.\u0275\u0275elementStart(10,"div",10)(11,"span",11),c.\u0275\u0275text(12),c.\u0275\u0275elementEnd()()()()),2&he&&(c.\u0275\u0275advance(3),c.\u0275\u0275property("ngStyle",H._getTrackBackgroundStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getTrackFillStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getTicksContainerStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getTicksStyles()),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngStyle",H._getThumbContainerStyles()),c.\u0275\u0275advance(5),c.\u0275\u0275textInterpolate(H.displayValue))},dependencies:[n.NgStyle],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid rgba(0,0,0,0);border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}'],encapsulation:2,changeDetection:0}),Re})();function $(Re){return!isNaN(Re)&&isFinite(Re)}function ee(Re){return"t"===Re.type[0]}function ie(Re,Ae){let he;return he=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,he?{x:he.clientX,y:he.clientY}:void 0}function A(Re,Ae){for(let he=0;he{class Re{}return Re.\u0275fac=function(he){return new(he||Re)},Re.\u0275mod=c.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=c.\u0275\u0275defineInjector({imports:[n.CommonModule,d.MatCommonModule,d.MatCommonModule]}),Re})()},2214:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatLegacyCell:()=>Tn,MatLegacyCellDef:()=>Xn,MatLegacyColumnDef:()=>ti,MatLegacyFooterCell:()=>mn,MatLegacyFooterCellDef:()=>$n,MatLegacyFooterRow:()=>wi,MatLegacyFooterRowDef:()=>Wn,MatLegacyHeaderCell:()=>an,MatLegacyHeaderCellDef:()=>_i,MatLegacyHeaderRow:()=>Yn,MatLegacyHeaderRowDef:()=>Rn,MatLegacyNoDataRow:()=>ai,MatLegacyRecycleRows:()=>Nn,MatLegacyRow:()=>ri,MatLegacyRowDef:()=>mi,MatLegacyTable:()=>wn,MatLegacyTableDataSource:()=>ke,MatLegacyTableModule:()=>jt,MatLegacyTextColumn:()=>Ni,_MatLegacyTableDataSource:()=>_t});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),h=a(6672),f=a(6814),u=a(8645),v=a(2459),b=a(5619),p=a(2664),_=a(2096),l=a(9773),y=a(8180);const x=[[["caption"]],[["colgroup"],["col"]]],D=["caption","colgroup, col"];function S(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",le.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",le.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(le,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const le=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=le!==this._sticky}hasStickyChanged(){const me=this._hasStickyChanged;return this._hasStickyChanged=!1,me}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...me){super(...me),this._sticky=!1,this._hasStickyChanged=!1}}}const X=new n.InjectionToken("CDK_TABLE"),$=new n.InjectionToken("text-column-options");let ee=(()=>{class O{constructor(le){this.template=le}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(le){this.template=le}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(le){this.template=le}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Me=I(U);let Re=(()=>{class O extends Me{get name(){return this._name}set name(le){this._setNameInput(le)}get stickyEnd(){return this._stickyEnd}set stickyEnd(le){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(le),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(le){super(),this._table=le,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(le){le&&(this._name=le,this.cssClassFriendlyName=le.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(le,Xe,Ot){if(1&le&&(n.\u0275\u0275contentQuery(Ot,ee,5),n.\u0275\u0275contentQuery(Ot,ie,5),n.\u0275\u0275contentQuery(Ot,A,5)),2&le){let Wt;n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe.cell=Wt.first),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=Wt.first),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe.footerCell=Wt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})();class Ae{constructor(me,le){le.nativeElement.classList.add(...me._columnCssClassName)}}let he=(()=>{class O extends Ae{constructor(le,Xe){super(le,Xe)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(Re),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),H=(()=>{class O extends Ae{constructor(le,Xe){if(super(le,Xe),1===le._table?._elementRef.nativeElement.nodeType){const Ot=le._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===Ot||"treegrid"===Ot?"gridcell":"cell")}}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(Re),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),W=(()=>{class O extends Ae{constructor(le,Xe){if(super(le,Xe),1===le._table?._elementRef.nativeElement.nodeType){const Ot=le._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===Ot||"treegrid"===Ot?"gridcell":"cell")}}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(Re),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})();class pe{constructor(){this.tasks=[],this.endTasks=[]}}const we=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ee=(()=>{class O{constructor(le){this._ngZone=le,this._currentSchedule=null,this._destroyed=new u.x}schedule(le){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(le)}scheduleEnd(le){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(le)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new pe,this._getScheduleObservable().pipe((0,l.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const le=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of le.tasks)Xe();for(const Xe of le.endTasks)Xe()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,v.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,y.q)(1))}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(le,Xe){this.template=le,this._differs=Xe}ngOnChanges(le){if(!this._columnsDiffer){const Xe=le.columns&&le.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(le){return this instanceof ye?le.headerCell.template:this instanceof Qe?le.footerCell.template:le.cell.template}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,features:[n.\u0275\u0275NgOnChangesFeature]}),O})();class re extends G{}const se=I(re);let ye=(()=>{class O extends se{constructor(le,Xe,Ot){super(le,Xe),this._table=Ot}ngOnChanges(le){super.ngOnChanges(le)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),O})();class He extends G{}const Ze=I(He);let Qe=(()=>{class O extends Ze{constructor(le,Xe,Ot){super(le,Xe),this._table=Ot}ngOnChanges(le){super.ngOnChanges(le)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),O})(),We=(()=>{class O extends G{constructor(le,Xe,Ot){super(le,Xe),this._table=Ot}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),tt=(()=>{class O{constructor(le){this._viewContainer=le,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Mt=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Ft=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),gt=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(le){this.templateRef=le,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ng-template","cdkNoDataRow",""]]}),O})();const Tt=["top","bottom","left","right"];class kt{constructor(me,le,Xe,Ot,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=le,this.direction=Xe,this._coalescedStyleScheduler=Ot,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${le}-border-elem-top`,bottom:`${le}-border-elem-bottom`,left:`${le}-border-elem-left`,right:`${le}-border-elem-right`}}clearStickyPositioning(me,le){const Xe=[];for(const Ot of me)if(Ot.nodeType===Ot.ELEMENT_NODE){Xe.push(Ot);for(let Wt=0;Wt{for(const Ot of Xe)this._removeStickyStyle(Ot,le)})}updateStickyColumns(me,le,Xe,Ot=!0){if(!me.length||!this._isBrowser||!le.some(bi=>bi)&&!Xe.some(bi=>bi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Wt=me[0],un=Wt.children.length,gn=this._getCellWidths(Wt,Ot),pn=this._getStickyStartColumnPositions(gn,le),si=this._getStickyEndColumnPositions(gn,Xe),jn=le.lastIndexOf(!0),Fn=Xe.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const bi="rtl"===this.direction,Ti=bi?"right":"left",Fi=bi?"left":"right";for(const Gi of me)for(let fn=0;fnle[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,le,Xe){if(!this._isBrowser)return;const Ot="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?le.slice().reverse():le,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{le.some(Ot=>!Ot)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,le){for(const Ot of le)me.style[Ot]="",me.classList.remove(this._borderCellCss[Ot]);Tt.some(Ot=>-1===le.indexOf(Ot)&&me.style[Ot])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,le,Xe,Ot){me.classList.add(this._stickCellCss),Ot&&me.classList.add(this._borderCellCss[le]),me.style[le]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const le={top:100,bottom:10,left:1,right:1};let Xe=0;for(const Ot of Tt)me.style[Ot]&&(Xe+=le[Ot]);return Xe?`${Xe}`:""}_getCellWidths(me,le=!0){if(!le&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],Ot=me.children;for(let Wt=0;Wt0;Wt--)le[Wt]&&(Xe[Wt]=Ot,Ot+=me[Wt]);return Xe}}const Q=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),Ct=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","headerRowOutlet",""]]}),O})(),dt=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),bt=(()=>{class O{constructor(le,Xe){this.viewContainer=le,this.elementRef=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),ot=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(le){this._trackByFn=le}get dataSource(){return this._dataSource}set dataSource(le){this._dataSource!==le&&this._switchDataSource(le)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(le){this._multiTemplateDataRows=(0,d.Ig)(le),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(le){this._fixedLayout=(0,d.Ig)(le),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(le,Xe,Ot,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=le,this._changeDetectorRef=Xe,this._elementRef=Ot,this._dir=un,this._platform=pn,this._viewRepeater=si,this._coalescedStyleScheduler=jn,this._viewportRuler=Fn,this._stickyPositioningListener=bi,this._ngZone=Ti,this._onDestroy=new u.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new n.EventEmitter,this.viewChange=new b.X({start:0,end:Number.MAX_VALUE}),Wt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=gn,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((le,Xe)=>this.trackBy?this.trackBy(Xe.dataIndex,Xe.data):Xe),this._viewportRuler.change().pipe((0,l.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Xe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Xe,this._forceRecalculateCellWidths=Xe,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(le=>{le.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const le=this._dataDiffer.diff(this._renderRows);if(!le)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(le,Xe,(Ot,Wt,un)=>this._getEmbeddedViewArgs(Ot.item,un),Ot=>Ot.item.data,Ot=>{1===Ot.operation&&Ot.context&&this._renderCellTemplateForItem(Ot.record.item.rowDef,Ot.context)}),this._updateRowIndexContext(),le.forEachIdentityChange(Ot=>{Xe.get(Ot.currentIndex).context.$implicit=Ot.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,y.q)(1),(0,l.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(le){this._customColumnDefs.add(le)}removeColumnDef(le){this._customColumnDefs.delete(le)}addRowDef(le){this._customRowDefs.add(le)}removeRowDef(le){this._customRowDefs.delete(le)}addHeaderRowDef(le){this._customHeaderRowDefs.add(le),this._headerRowDefChanged=!0}removeHeaderRowDef(le){this._customHeaderRowDefs.delete(le),this._headerRowDefChanged=!0}addFooterRowDef(le){this._customFooterRowDefs.add(le),this._footerRowDefChanged=!0}removeFooterRowDef(le){this._customFooterRowDefs.delete(le),this._footerRowDefChanged=!0}setNoDataRow(le){this._customNoDataRow=le}updateStickyHeaderRowStyles(){const le=this._getRenderedRows(this._headerRowOutlet),Ot=this._elementRef.nativeElement.querySelector("thead");Ot&&(Ot.style.display=le.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(le,["top"]),this._stickyStyler.stickRows(le,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const le=this._getRenderedRows(this._footerRowOutlet),Ot=this._elementRef.nativeElement.querySelector("tfoot");Ot&&(Ot.style.display=le.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(le,["bottom"]),this._stickyStyler.stickRows(le,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const le=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),Ot=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...le,...Xe,...Ot],["left","right"]),this._stickyColumnStylesNeedReset=!1),le.forEach((Wt,un)=>{this._addStickyColumnStyles([Wt],this._headerRowDefs[un])}),this._rowDefs.forEach(Wt=>{const un=[];for(let gn=0;gn{this._addStickyColumnStyles([Wt],this._footerRowDefs[un])}),Array.from(this._columnDefsByName.values()).forEach(Wt=>Wt.resetStickyChanged())}_getAllRenderRows(){const le=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ot=0;Ot{const gn=Ot&&Ot.has(un)?Ot.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:le,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),At(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=At(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=At(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=At(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const le=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=le[0]}_renderUpdatedColumns(){const le=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(le,!1);Xe&&this._forceRenderDataRows();const Ot=this._headerRowDefs.reduce(le,!1);Ot&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(le,!1);return Wt&&this._forceRenderFooterRows(),Xe||Ot||Wt}_switchDataSource(le){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),le||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=le}_observeRenderChanges(){if(!this.dataSource)return;let le;(0,g.Z9)(this.dataSource)?le=this.dataSource.connect(this):(0,p.b)(this.dataSource)?le=this.dataSource:Array.isArray(this.dataSource)&&(le=(0,_.of)(this.dataSource)),this._renderChangeSubscription=le.pipe((0,l.R)(this._onDestroy)).subscribe(Xe=>{this._data=Xe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((le,Xe)=>this._renderRow(this._headerRowOutlet,le,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((le,Xe)=>this._renderRow(this._footerRowOutlet,le,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(le,Xe){const Ot=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=Ot.map(gn=>gn.sticky),un=Ot.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(le,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(le){const Xe=[];for(let Ot=0;Ot!Wt.when||Wt.when(Xe,le));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,le))||this._defaultRowDef;Wt&&Ot.push(Wt)}return Ot}_getEmbeddedViewArgs(le,Xe){return{templateRef:le.rowDef.template,context:{$implicit:le.data},index:Xe}}_renderRow(le,Xe,Ot,Wt={}){const un=le.viewContainer.createEmbeddedView(Xe.template,Wt,Ot);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(le,Xe){for(let Ot of this._getCellTemplates(le))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ot,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const le=this._rowOutlet.viewContainer;for(let Xe=0,Ot=le.length;Xe{const Ot=this._columnDefsByName.get(Xe);return le.extractCellTemplate(Ot)}):[]}_applyNativeTableSections(){const le=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ot of Xe){const Wt=this._document.createElement(Ot.tag);Wt.setAttribute("role","rowgroup");for(const un of Ot.outlets)Wt.appendChild(un.elementRef.nativeElement);le.appendChild(Wt)}this._elementRef.nativeElement.appendChild(le)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const le=(Xe,Ot)=>Xe||Ot.hasStickyChanged();this._headerRowDefs.reduce(le,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(le,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(le,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new kt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,_.of)()).pipe((0,l.R)(this._onDestroy)).subscribe(Xe=>{this._stickyStyler.direction=Xe,this.updateStickyColumnStyles()})}_getOwnDefs(le){return le.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const le=this._customNoDataRow||this._noDataRow;if(!le)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const Ot=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=Ot.createEmbeddedView(le.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(le._contentClassName))}else Ot.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(c.Is,8),n.\u0275\u0275directiveInject(f.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(h.rL),n.\u0275\u0275directiveInject(Q,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(le,Xe,Ot){if(1&le&&(n.\u0275\u0275contentQuery(Ot,Bt,5),n.\u0275\u0275contentQuery(Ot,Re,5),n.\u0275\u0275contentQuery(Ot,We,5),n.\u0275\u0275contentQuery(Ot,ye,5),n.\u0275\u0275contentQuery(Ot,Qe,5)),2&le){let Wt;n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._noDataRow=Wt.first),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentColumnDefs=Wt),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentRowDefs=Wt),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentHeaderRowDefs=Wt),n.\u0275\u0275queryRefresh(Wt=n.\u0275\u0275loadQuery())&&(Xe._contentFooterRowDefs=Wt)}},viewQuery:function(le,Xe){if(1&le&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(Ct,7),n.\u0275\u0275viewQuery(dt,7),n.\u0275\u0275viewQuery(bt,7)),2&le){let Ot;n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=Ot.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(le,Xe){2&le&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Xe.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:X,useExisting:O},{provide:g.k,useClass:g.yy},{provide:we,useClass:Ee},{provide:Q,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275projectionDef(x),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Te,Ct,dt,bt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function At(O,me){return O.concat(Array.from(me))}let Nt=(()=>{class O{get name(){return this._name}set name(le){this._name=le,this._syncColumnDefName()}constructor(le,Xe){this._table=le,this._options=Xe,this.justify="start",this._options=Xe||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((le,Xe)=>le[Xe])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const le=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(le):le[0].toUpperCase()+le.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(le){return new(le||O)(n.\u0275\u0275directiveInject(ot,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(le,Xe){if(1&le&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&le){let Ot;n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe.columnDef=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe.cell=Ot.first),n.\u0275\u0275queryRefresh(Ot=n.\u0275\u0275loadQuery())&&(Xe.headerCell=Ot.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,S,2,3,"th",1),n.\u0275\u0275template(2,E,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[ee,ie,Re,W,he],encapsulation:2}),O})(),Ne=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.Cl]}),O})();var $e=a(3680),ae=a(3019),Ce=a(2572),lt=a(7398);class _t extends g.o2{get data(){return this._data.value}set data(me){me=Array.isArray(me)?me:[],this._data.next(me),this._renderChangesSubscription||this._filterData(me)}get filter(){return this._filter.value}set filter(me){this._filter.next(me),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(me){this._sort=me,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(me){this._paginator=me,this._updateChangeSubscription()}constructor(me=[]){super(),this._renderData=new b.X([]),this._filter=new b.X(""),this._internalPageChanges=new u.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(le,Xe)=>{const Ot=le[Xe];if((0,d.t6)(Ot)){const Wt=Number(Ot);return Wt<9007199254740991?Wt:Ot}return Ot},this.sortData=(le,Xe)=>{const Ot=Xe.active,Wt=Xe.direction;return Ot&&""!=Wt?le.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,Ot),si=this.sortingDataAccessor(gn,Ot);const jn=typeof pn,Fn=typeof si;jn!==Fn&&("number"===jn&&(pn+=""),"number"===Fn&&(si+=""));let bi=0;return null!=pn&&null!=si?pn>si?bi=1:pn{const Ot=Object.keys(le).reduce((un,gn)=>un+le[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=Ot.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,ae.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),le=this._paginator?(0,ae.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),Ot=(0,Ce.a)([this._data,this._filter]).pipe((0,lt.U)(([gn])=>this._filterData(gn))),Wt=(0,Ce.a)([Ot,me]).pipe((0,lt.U)(([gn])=>this._orderData(gn))),un=(0,Ce.a)([Wt,le]).pipe((0,lt.U)(([gn])=>this._pageData(gn)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=un.subscribe(gn=>this._renderData.next(gn))}_filterData(me){return this.filteredData=null==this.filter||""===this.filter?me:me.filter(le=>this.filterPredicate(le,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(me){return this.sort?this.sortData(me.slice(),this.sort):me}_pageData(me){if(!this.paginator)return me;const le=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(le,le+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const le=this.paginator;if(le&&(le.length=me,le.pageIndex>0)){const Xe=Math.ceil(le.length/le.pageSize)-1||0,Ot=Math.min(le.pageIndex,Xe);Ot!==le.pageIndex&&(le.pageIndex=Ot,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}const qt=[[["caption"]],[["colgroup"],["col"]]],nn=["caption","colgroup, col"];function cn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",le.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",le.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const le=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(le,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.eX}])]}),O})(),wn=(()=>{class O extends ot{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(le,Xe){2&le&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:ot,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:Q,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275projectionDef(qt),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Te,Ct,dt,bt],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})(),Xn=(()=>{class O extends ee{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ee,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),_i=(()=>{class O extends ie{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:ie,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),$n=(()=>{class O extends A{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:A,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),ti=(()=>{class O extends Re{get name(){return this._name}set name(le){this._setNameInput(le)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Re,useExisting:O},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),an=(()=>{class O extends he{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),mn=(()=>{class O extends H{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),Tn=(()=>{class O extends W{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),O})(),Rn=(()=>{class O extends ye{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ye,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Wn=(()=>{class O extends Qe{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),mi=(()=>{class O extends We{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:We,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Mt{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Mt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{class O extends Ft{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Ft,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends gt{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:gt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(le,Xe){1&le&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ai=(()=>{class O extends Bt{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Bt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Ni=(()=>{class O extends Nt{}return O.\u0275fac=function(){let me;return function(Xe){return(me||(me=n.\u0275\u0275getInheritedFactory(O)))(Xe||O)}}(),O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["mat-text-column"]],hostVars:1,hostBindings:function(le,Xe){2&le&&n.\u0275\u0275attribute("mat-id-collision",null)},features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(le,Xe){1&le&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,cn,2,3,"th",1),n.\u0275\u0275template(2,sn,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[_i,ti,Xn,an,Tn],encapsulation:2}),O})(),jt=(()=>{class O{}return O.\u0275fac=function(le){return new(le||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Ne,$e.MatCommonModule,$e.MatCommonModule]}),O})();class ke extends _t{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>_e,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>ot,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>ae,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>K,MatLegacyTabContent:()=>ai,MatLegacyTabGroup:()=>Rn,MatLegacyTabHeader:()=>Tn,MatLegacyTabLabel:()=>ri,MatLegacyTabLabelWrapper:()=>mn,MatLegacyTabLink:()=>Yn,MatLegacyTabNav:()=>mi,MatLegacyTabNavPanel:()=>wi,MatLegacyTabsModule:()=>Ni,_MAT_LEGACY_INK_BAR_POSITIONER:()=>Te,_MAT_LEGACY_INK_BAR_POSITIONER_FACTORY:()=>ue,_MatLegacyTabBase:()=>At,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>Ce,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>ut,matLegacyTabsAnimations:()=>gt});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),h=a(3680),f=a(8180),u=a(9388),v=a(7394),b=a(8645),p=a(2438),_=a(2096),l=a(3019),y=a(6232),x=a(5592),D=a(9080),S=a(7921),E=a(3997),I=a(9773),X=a(4664),$=a(836),ee=a(2181),ie=a(6825),A=a(2495),U=a(6672),Me=a(2831),Re=a(6028);function Ae(xt,jt){}const he=function(xt){return{animationDuration:xt}},H=function(xt,jt){return{value:xt,params:jt}},gt={translateTab:(0,ie.X$)("translateTab",[(0,ie.SB)("center, void, left-origin-center, right-origin-center",(0,ie.oB)({transform:"none"})),(0,ie.SB)("left",(0,ie.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ie.SB)("right",(0,ie.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ie.eR)("* => left, * => right, left => center, right => center",(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ie.eR)("void => left-origin-center",[(0,ie.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ie.eR)("void => right-origin-center",[(0,ie.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ie.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Bt=(()=>{class xt extends d.Pl{constructor(ke,O,me,le){super(ke,O,le),this._host=me,this._centeringSub=v.w0.EMPTY,this._leavingSub=v.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,S.O)(this._host._isCenterPosition(this._host._position))).subscribe(ke=>{ke&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>kt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),Tt=(()=>{class xt{set position(ke){this._positionIndex=ke,this._computePositionAnimationState()}constructor(ke,O,me){this._elementRef=ke,this._dir=O,this._dirChangeSubscription=v.w0.EMPTY,this._translateTabComplete=new b.x,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,O&&(this._dirChangeSubscription=O.change.subscribe(le=>{this._computePositionAnimationState(le),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((le,Xe)=>le.fromState===Xe.fromState&&le.toState===Xe.toState)).subscribe(le=>{this._isCenterPosition(le.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(le.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ke){const O=this._isCenterPosition(ke.toState);this._beforeCentering.emit(O),O&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ke){return"center"==ke||"left-origin-center"==ke||"right-origin-center"==ke}_computePositionAnimationState(ke=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ke?"left":"right":this._positionIndex>0?"ltr"==ke?"right":"left":"center"}_computePositionFromOrigin(ke){const O=this._getLayoutDirection();return"ltr"==O&&ke<=0||"rtl"==O&&ke>0?"left-origin-center":"right-origin-center"}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),xt})(),kt=(()=>{class xt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-body"]],viewQuery:function(ke,O){if(1&ke&&r.\u0275\u0275viewQuery(d.Pl,5),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._portalHost=me.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(le){return O._onTranslateTabStarted(le)})("@translateTab.done",function(le){return O._translateTabComplete.next(le)}),r.\u0275\u0275template(2,Ae,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&ke&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,H,O._position,r.\u0275\u0275pureFunction1(1,he,O.animationDuration)))},dependencies:[Bt],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[gt.translateTab]}}),xt})();const Le=new r.InjectionToken("MatTabContent");let ct=(()=>{class xt{constructor(ke){this.template=ke}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.TemplateRef))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:xt}])]}),xt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class xt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature]}),xt})();function ue(){return jt=>({left:jt?(jt.offsetLeft||0)+"px":"0",width:jt?(jt.offsetWidth||0)+"px":"0"})}const Te=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:ue}),Ct=(0,h.mixinDisabled)(class{});let dt=(()=>{class xt extends Ct{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();const ge=(0,h.mixinDisabled)(class{}),ot=new r.InjectionToken("MAT_TAB_GROUP");let At=(()=>{class xt extends ge{get content(){return this._contentPortal}constructor(ke,O){super(),this._viewContainerRef=ke,this._closestTabGroup=O,this.textLabel="",this._contentPortal=null,this._stateChanges=new b.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(ke){(ke.hasOwnProperty("textLabel")||ke.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new d.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ke){ke&&ke._closestTab===this&&(this._templateLabel=ke)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(ot,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,viewQuery:function(ke,O){if(1&ke&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._implicitContent=me.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature]}),xt})();const zt=(0,Me.i$)({passive:!0});let ae=(()=>{class xt{get disablePagination(){return this._disablePagination}set disablePagination(ke){this._disablePagination=(0,A.Ig)(ke)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ke){ke=(0,A.su)(ke),this._selectedIndex!=ke&&(this._selectedIndexChanged=!0,this._selectedIndex=ke,this._keyManager&&this._keyManager.updateActiveItem(ke))}constructor(ke,O,me,le,Xe,Ot,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=le,this._ngZone=Xe,this._platform=Ot,this._animationMode=Wt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new b.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new b.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Xe.runOutsideAngular(()=>{(0,p.R)(ke.nativeElement,"mouseleave").pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,p.R)(this._previousPaginator.nativeElement,"touchstart",zt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",zt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ke=this._dir?this._dir.change:(0,_.of)("ltr"),O=this._viewportRuler.change(150),me=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(me),(0,l.T)(ke,O,this._items.changes,this._itemsResized()).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),me()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(le=>{this.indexFocused.emit(le),this._setTabFocus(le)})}_itemsResized(){return"function"!=typeof ResizeObserver?y.E:this._items.changes.pipe((0,S.O)(this._items),(0,X.w)(ke=>new x.y(O=>this._ngZone.runOutsideAngular(()=>{const me=new ResizeObserver(le=>O.next(le));return ke.forEach(le=>me.observe(le.elementRef.nativeElement)),()=>{me.disconnect()}}))),(0,$.T)(1),(0,ee.h)(ke=>ke.some(O=>O.contentRect.width>0&&O.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(ke){if(!(0,Re.Vb)(ke))switch(ke.keyCode){case Re.K5:case Re.L_:if(this.focusIndex!==this.selectedIndex){const O=this._items.get(this.focusIndex);O&&!O.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ke))}break;default:this._keyManager.onKeydown(ke)}}_onContentChanges(){const ke=this._elementRef.nativeElement.textContent;ke!==this._currentTextContent&&(this._currentTextContent=ke||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(ke){!this._isValidIndex(ke)||this.focusIndex===ke||!this._keyManager||this._keyManager.setActiveItem(ke)}_isValidIndex(ke){return!this._items||!!this._items.toArray()[ke]}_setTabFocus(ke){if(this._showPaginationControls&&this._scrollToLabel(ke),this._items&&this._items.length){this._items.toArray()[ke].focus();const O=this._tabListContainer.nativeElement;O.scrollLeft="ltr"==this._getLayoutDirection()?0:O.scrollWidth-O.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ke=this.scrollDistance,O="ltr"===this._getLayoutDirection()?-ke:ke;this._tabList.nativeElement.style.transform=`translateX(${Math.round(O)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ke){this._scrollTo(ke)}_scrollHeader(ke){return this._scrollTo(this._scrollDistance+("before"==ke?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ke){this._stopInterval(),this._scrollHeader(ke)}_scrollToLabel(ke){if(this.disablePagination)return;const O=this._items?this._items.toArray()[ke]:null;if(!O)return;const me=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:le,offsetWidth:Xe}=O.elementRef.nativeElement;let Ot,Wt;"ltr"==this._getLayoutDirection()?(Ot=le,Wt=Ot+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-le,Ot=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;Otgn&&(this.scrollDistance+=Math.min(Wt-gn,Ot-un))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ke=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ke||(this.scrollDistance=0),ke!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ke}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const ke=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,O=ke?ke.elementRef.nativeElement:null;O?this._inkBar.alignToElement(O):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ke,O){O&&null!=O.button&&0!==O.button||(this._stopInterval(),(0,D.H)(650,100).pipe((0,I.R)((0,l.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:me,distance:le}=this._scrollHeader(ke);(0===le||le>=me)&&this._stopInterval()}))}_scrollTo(ke){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const O=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(O,ke)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:O,distance:this._scrollDistance}}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{disablePagination:"disablePagination"}}),xt})(),Ce=(()=>{class xt extends ae{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,O,me,le,Xe,Ot,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();const _e=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,h.mixinColor)((0,h.mixinDisableRipple)(class{constructor(xt){this._elementRef=xt}}),"primary");let F=(()=>{class xt extends De{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ke){this._dynamicHeight=(0,A.Ig)(ke)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ke){this._indexToSelect=(0,A.su)(ke,null)}get animationDuration(){return this._animationDuration}set animationDuration(ke){this._animationDuration=/^\d+$/.test(ke+"")?ke+"ms":ke}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ke){this._contentTabIndex=(0,A.su)(ke,null)}get disablePagination(){return this._disablePagination}set disablePagination(ke){this._disablePagination=(0,A.Ig)(ke)}get preserveContent(){return this._preserveContent}set preserveContent(ke){this._preserveContent=(0,A.Ig)(ke)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ke){const O=this._elementRef.nativeElement.classList;O.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),ke&&O.add("mat-tabs-with-background",`mat-background-${ke}`),this._backgroundColor=ke}constructor(ke,O,me,le){super(ke),this._changeDetectorRef=O,this._animationMode=le,this._tabs=new r.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=v.w0.EMPTY,this._tabLabelSubscription=v.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Ye++,this.animationDuration=me&&me.animationDuration?me.animationDuration:"500ms",this.disablePagination=!(!me||null==me.disablePagination)&&me.disablePagination,this.dynamicHeight=!(!me||null==me.dynamicHeight)&&me.dynamicHeight,this.contentTabIndex=me?.contentTabIndex??null,this.preserveContent=!!me?.preserveContent}ngAfterContentChecked(){const ke=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ke){const O=null==this._selectedIndex;if(!O){this.selectedTabChange.emit(this._createChangeEvent(ke));const me=this._tabBodyWrapper.nativeElement;me.style.minHeight=me.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((me,le)=>me.isActive=le===ke),O||(this.selectedIndexChange.emit(ke),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((O,me)=>{O.position=me-ke,null!=this._selectedIndex&&0==O.position&&!O.origin&&(O.origin=ke-this._selectedIndex)}),this._selectedIndex!==ke&&(this._selectedIndex=ke,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const ke=this._clampTabIndex(this._indexToSelect);if(ke===this._selectedIndex){const O=this._tabs.toArray();let me;for(let le=0;le{O[ke].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(ke))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,S.O)(this._allTabs)).subscribe(ke=>{this._tabs.reset(ke.filter(O=>O._closestTabGroup===this||!O._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(ke){const O=this._tabHeader;O&&(O.focusIndex=ke)}_focusChanged(ke){this._lastFocusedTabIndex=ke,this.focusChange.emit(this._createChangeEvent(ke))}_createChangeEvent(ke){const O=new K;return O.index=ke,this._tabs&&this._tabs.length&&(O.tab=this._tabs.toArray()[ke]),O}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,l.T)(...this._tabs.map(ke=>ke._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ke){return Math.min(this._tabs.length-1,Math.max(ke||0,0))}_getTabLabelId(ke){return`mat-tab-label-${this._groupId}-${ke}`}_getTabContentId(ke){return`mat-tab-content-${this._groupId}-${ke}`}_setTabBodyWrapperHeight(ke){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const O=this._tabBodyWrapper.nativeElement;O.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(O.style.height=ke+"px")}_removeTabBodyWrapperHeight(){const ke=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ke.clientHeight,ke.style.height="",this.animationDone.emit()}_handleClick(ke,O,me){O.focusIndex=me,ke.disabled||(this.selectedIndex=me)}_getTabIndex(ke){return ke===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(ke,O){ke&&"mouse"!==ke&&"touch"!==ke&&(this._tabHeader.focusIndex=O)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(_e,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();class K{}let ve=0,ut=(()=>{class xt extends ae{get backgroundColor(){return this._backgroundColor}set backgroundColor(ke){const O=this._elementRef.nativeElement.classList;O.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),ke&&O.add("mat-tabs-with-background",`mat-background-${ke}`),this._backgroundColor=ke}get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,le,Xe,O,me,Ot,Wt),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,S.O)(null),(0,I.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const ke=this._items.toArray();for(let O=0;O{class xt extends Pt{get active(){return this._isActive}set active(ke){const O=(0,A.Ig)(ke);O!==this._isActive&&(this._isActive=O,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(ke,O,me,le,Xe,Ot){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+ve++,this.rippleConfig=me||{},this.tabIndex=parseInt(le)||0,"NoopAnimations"===Ot&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(ke){!this.disabled||ke.keyCode!==Re.L_&&ke.keyCode!==Re.K5?this._tabNavBar.tabPanel&&ke.keyCode===Re.L_&&this.elementRef.nativeElement.click():ke.preventDefault()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(ut),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(h.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})();function xn(xt,jt){1&xt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(xt,jt){}const Mn=function(xt){return{animationDuration:xt}},xi=function(xt,jt){return{value:xt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],Et=["nextPaginator"],_t=["previousPaginator"],mt=["tabBodyWrapper"],qt=["tabHeader"];function nn(xt,jt){}function cn(xt,jt){if(1&xt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&xt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(xt,jt){if(1&xt&&r.\u0275\u0275text(0),2&xt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(xt,jt){if(1&xt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),le=me.$implicit,Xe=me.index,Ot=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(Ot._handleClick(le,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,Ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ot._tabFocusChanged(me,Xe))}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,cn,1,1,"ng-template",8),r.\u0275\u0275template(3,sn,1,1,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&xt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),le=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",le.selectedIndex===O),r.\u0275\u0275property("id",le._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||le.disableRipple),r.\u0275\u0275attribute("tabIndex",le._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",le._tabs.length)("aria-controls",le._getTabContentId(O))("aria-selected",le.selectedIndex===O)("aria-label",ke.ariaLabel||null)("aria-labelledby",!ke.ariaLabel&&ke.ariaLabelledby?ke.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",ke.templateLabel)("ngIfElse",me)}}function wn(xt,jt){if(1&xt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",11),r.\u0275\u0275listener("_onCentered",function(){r.\u0275\u0275restoreView(ke);const me=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(me._removeTabBodyWrapperHeight())})("_onCentering",function(me){r.\u0275\u0275restoreView(ke);const le=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(le._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&xt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",me.selectedIndex===O),r.\u0275\u0275property("id",me._getTabContentId(O))("ngClass",ke.bodyClass)("content",ke.content)("position",ke.position)("origin",ke.origin)("animationDuration",me.animationDuration)("preserveContent",me.preserveContent),r.\u0275\u0275attribute("tabindex",null!=me.contentTabIndex&&me.selectedIndex===O?me.contentTabIndex:null)("aria-labelledby",me._getTabLabelId(O))}}const Xn=["mat-tab-nav-bar",""];let _i=(()=>{class xt{constructor(ke,O,me,le){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=le}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>{const O=this._inkBarPositioner(ke),me=this._elementRef.nativeElement;me.style.left=O.left,me.style.width=O.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)}}),xt})(),$n=(()=>{class xt extends At{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab"]],contentQueries:function(ke,O,me){if(1&ke&&(r.\u0275\u0275contentQuery(me,ze,5),r.\u0275\u0275contentQuery(me,Le,7,r.TemplateRef)),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O.templateLabel=le.first),r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._explicitContent=le.first)}},hostVars:1,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275attribute("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:at,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Sn,decls:1,vars:0,template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,xn,1,0,"ng-template"))},encapsulation:2}),xt})(),ti=(()=>{class xt extends Bt{constructor(ke,O,me,le){super(ke,O,me,le)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),an=(()=>{class xt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-body"]],viewQuery:function(ke,O){if(1&ke&&r.\u0275\u0275viewQuery(d.Pl,5),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._portalHost=me.first)}},hostAttrs:[1,"mat-tab-body"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(le){return O._onTranslateTabStarted(le)})("@translateTab.done",function(le){return O._translateTabComplete.next(le)}),r.\u0275\u0275template(2,_n,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&ke&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,xi,O._position,r.\u0275\u0275pureFunction1(1,Mn,O.animationDuration)))},dependencies:[ti],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[gt.translateTab]}}),xt})(),mn=(()=>{class xt extends dt{}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ke,O){2&ke&&(r.\u0275\u0275attribute("aria-disabled",!!O.disabled),r.\u0275\u0275classProp("mat-tab-disabled",O.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),Tn=(()=>{class xt extends Ce{constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,O,me,le,Xe,Ot,Wt)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._items=le)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(_i,7),r.\u0275\u0275viewQuery(fi,7),r.\u0275\u0275viewQuery(Vi,7),r.\u0275\u0275viewQuery(Yi,7),r.\u0275\u0275viewQuery(Et,5),r.\u0275\u0275viewQuery(_t,5)),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._inkBar=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListContainer=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabList=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListInner=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._nextPaginator=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._previousPaginator=me.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",O._showPaginationControls)("mat-tab-header-rtl","rtl"==O._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Sn,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return O._handlePaginatorClick("before")})("mousedown",function(le){return O._handlePaginatorPress("before",le)})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(le){return O._handleKeydown(le)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return O._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(le){return O._handlePaginatorPress("after",le)})("click",function(){return O._handlePaginatorClick("after")})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&ke&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",O._disableScrollBefore||O.disableRipple)("disabled",O._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",O._disableScrollAfter||O.disableRipple)("disabled",O._disableScrollAfter||null))},dependencies:[h.MatRipple,c.wD,_i],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),xt})(),Rn=(()=>{class xt extends F{constructor(ke,O,me,le){super(ke,O,me,le)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(_e,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._allTabs=le)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(mt,5),r.\u0275\u0275viewQuery(qt,5)),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabBodyWrapper=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabHeader=me.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",O.dynamicHeight)("mat-tab-group-inverted-header","below"===O.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:ot,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(ke,O){1&ke&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(le){return O._focusChanged(le)})("selectFocusedIndex",function(le){return O.selectedIndex=le}),r.\u0275\u0275template(2,Nn,5,15,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,wn,1,11,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&ke&&(r.\u0275\u0275property("selectedIndex",O.selectedIndex||0)("disableRipple",O.disableRipple)("disablePagination",O.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",O._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",O._tabs))},dependencies:[g.NgClass,g.NgForOf,g.NgIf,d.Pl,h.MatRipple,n.kH,mn,an,Tn],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),xt})(),Wn=0,mi=(()=>{class xt extends ut{constructor(ke,O,me,le,Xe,Ot,Wt){super(ke,O,me,le,Xe,Ot,Wt)}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(U.rL),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let le;r.\u0275\u0275queryRefresh(le=r.\u0275\u0275loadQuery())&&(O._items=le)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(_i,7),r.\u0275\u0275viewQuery(fi,7),r.\u0275\u0275viewQuery(Vi,7),r.\u0275\u0275viewQuery(Yi,7),r.\u0275\u0275viewQuery(Et,5),r.\u0275\u0275viewQuery(_t,5)),2&ke){let me;r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._inkBar=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListContainer=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabList=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._tabListInner=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._nextPaginator=me.first),r.\u0275\u0275queryRefresh(me=r.\u0275\u0275loadQuery())&&(O._previousPaginator=me.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(ke,O){2&ke&&(r.\u0275\u0275attribute("role",O._getRole()),r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",O._showPaginationControls)("mat-tab-header-rtl","rtl"==O._getLayoutDirection())("mat-primary","warn"!==O.color&&"accent"!==O.color)("mat-accent","accent"===O.color)("mat-warn","warn"===O.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:Xn,ngContentSelectors:Sn,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return O._handlePaginatorClick("before")})("mousedown",function(le){return O._handlePaginatorPress("before",le)})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(le){return O._handleKeydown(le)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return O._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(le){return O._handlePaginatorPress("after",le)})("click",function(){return O._handlePaginatorClick("after")})("touchend",function(){return O._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&ke&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",O._disableScrollBefore||O.disableRipple)("disabled",O._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",O._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",O._disableScrollAfter||O.disableRipple)("disabled",O._disableScrollAfter||null))},dependencies:[h.MatRipple,c.wD,_i],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),xt})(),Yn=(()=>{class xt extends qe{constructor(ke,O,me,le,Xe,Ot,Wt,un){super(ke,O,Xe,Ot,Wt,un),this._tabLinkRipple=new h.RippleRenderer(this,me,O,le),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return xt.\u0275fac=function(ke){return new(ke||xt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Me.t4),r.\u0275\u0275directiveInject(h.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(ke,O){1&ke&&r.\u0275\u0275listener("focus",function(){return O._handleFocus()})("keydown",function(le){return O._handleKeydown(le)}),2&ke&&(r.\u0275\u0275attribute("aria-controls",O._getAriaControls())("aria-current",O._getAriaCurrent())("aria-disabled",O.disabled)("aria-selected",O._getAriaSelected())("id",O.id)("tabIndex",O._getTabIndex())("role",O._getRole()),r.\u0275\u0275classProp("mat-tab-disabled",O.disabled)("mat-tab-label-active",O.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),xt})(),wi=(()=>{class xt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return xt.\u0275fac=function(ke){return new(ke||xt)},xt.\u0275cmp=r.\u0275\u0275defineComponent({type:xt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(ke,O){2&ke&&r.\u0275\u0275attribute("aria-labelledby",O._activeTabId)("id",O.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Sn,decls:1,vars:0,template:function(ke,O){1&ke&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),xt})(),ri=(()=>{class xt extends N{}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature]}),xt})(),ai=(()=>{class xt extends ct{}return xt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(xt)))(O||xt)}}(),xt.\u0275dir=r.\u0275\u0275defineDirective({type:xt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:xt}]),r.\u0275\u0275InheritDefinitionFeature]}),xt})(),Ni=(()=>{class xt{}return xt.\u0275fac=function(ke){return new(ke||xt)},xt.\u0275mod=r.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,h.MatCommonModule,d.eL,h.MatRippleModule,c.Q8,n.rt,h.MatCommonModule]}),xt})()},1274:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MatToolbar:()=>v,MatToolbarModule:()=>p,MatToolbarRow:()=>u,throwToolbarMixedModesError:()=>b});var n=a(5879),c=a(3680),d=a(2831),g=a(6814);const r=["*",[["mat-toolbar-row"]]],h=["*","mat-toolbar-row"],f=(0,c.mixinColor)(class{constructor(_){this._elementRef=_}});let u=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275dir=n.\u0275\u0275defineDirective({type:_,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),_})(),v=(()=>{class _ extends f{constructor(y,x,D){super(y),this._platform=x,this._document=D}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return _.\u0275fac=function(y){return new(y||_)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(d.t4),n.\u0275\u0275directiveInject(g.DOCUMENT))},_.\u0275cmp=n.\u0275\u0275defineComponent({type:_,selectors:[["mat-toolbar"]],contentQueries:function(y,x,D){if(1&y&&n.\u0275\u0275contentQuery(D,u,5),2&y){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(x._toolbarRows=S)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(y,x){2&y&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",x._toolbarRows.length>0)("mat-toolbar-single-row",0===x._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:h,decls:2,vars:0,template:function(y,x){1&y&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0}),_})();function b(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}let p=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275mod=n.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=n.\u0275\u0275defineInjector({imports:[c.MatCommonModule,c.MatCommonModule]}),_})()},349:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Cr,NoopAnimationsModule:()=>Rr,provideAnimations:()=>bo,provideNoopAnimations:()=>oo,\u0275AnimationRenderer:()=>fe,\u0275AnimationRendererFactory:()=>go,\u0275BrowserAnimationBuilder:()=>mo,\u0275BrowserAnimationFactory:()=>po,\u0275InjectableAnimationEngine:()=>Ke});var n=a(5879),c=a(6593),d=a(6825);function r(je){return new n.\u0275RuntimeError(3e3,!1)}function Qe(je){switch(je.length){case 0:return new d.ZN;case 1:return je[0];default:return new d.ZE(je)}}function We(je,T,P=new Map,de=new Map){const Fe=[],nt=[];let It=-1,Dt=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Dt||new Map;Qt.forEach((pi,li)=>{let Gn=li,ii=pi;if("offset"!==li)switch(Gn=je.normalizePropertyName(Gn,Fe),ii){case d.k1:ii=P.get(li);break;case d.l3:ii=de.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||nt.push(Ln),Dt=Ln,It=en}),Fe.length)throw function he(je){return new n.\u0275RuntimeError(3502,!1)}();return nt}function tt(je,T,P,de){switch(T){case"start":je.onStart(()=>de(P&&Mt(P,"start",je)));break;case"done":je.onDone(()=>de(P&&Mt(P,"done",je)));break;case"destroy":je.onDestroy(()=>de(P&&Mt(P,"destroy",je)))}}function Mt(je,T,P){const nt=Ft(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(nt._data=It),nt}function Ft(je,T,P,de,Fe="",nt=0,It){return{element:je,triggerName:T,fromState:P,toState:de,phaseName:Fe,totalTime:nt,disabled:!!It}}function gt(je,T,P){let de=je.get(T);return de||je.set(T,de=P),de}function Bt(je){const T=je.indexOf(":");return[je.substring(1,T),je.slice(T+1)]}const Tt=(()=>typeof document>"u"?null:document.documentElement)();function kt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let ct=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=kt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const de=je.querySelector(T);return de?[de]:[]}let ue=(()=>{class je{validateStyleProperty(P){return function at(je){ct||(ct=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!ct.style&&"WebkitAppearance"in ct.style);let T=!0;return ct.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in ct.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in ct.style)),T}(P)}matchesElement(P,de){return!1}containsElement(P,de){return Y(P,de)}getParentElement(P){return kt(P)}query(P,de,Fe){return ne(P,de,Fe)}computeStyle(P,de,Fe){return Fe||""}animate(P,de,Fe,nt,It,Dt=[],Qt){return new d.ZN(Fe,nt)}}return je.\u0275fac=function(P){return new(P||je)},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})(),Te=(()=>{class je{}return je.NOOP=new ue,je})();const Ct=1e3,Oe="ng-enter",ge="ng-leave",ot="ng-trigger",At=".ng-trigger",Nt="ng-animating",zt=".ng-animating";function Ne(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:$e(parseFloat(T[1]),T[2])}function $e(je,T){return"s"===T?je*Ct:je}function ae(je,T,P){return je.hasOwnProperty("duration")?je:function Ce(je,T,P){let Fe,nt=0,It="";if("string"==typeof je){const Dt=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Dt)return T.push(r()),{duration:0,delay:0,easing:""};Fe=$e(parseFloat(Dt[1]),Dt[2]);const Qt=Dt[3];null!=Qt&&(nt=$e(parseFloat(Qt),Dt[4]));const en=Dt[5];en&&(It=en)}else Fe=je;if(!P){let Dt=!1,Qt=T.length;Fe<0&&(T.push(function h(){return new n.\u0275RuntimeError(3100,!1)}()),Dt=!0),nt<0&&(T.push(function f(){return new n.\u0275RuntimeError(3101,!1)}()),Dt=!0),Dt&&T.splice(Qt,0,r())}return{duration:Fe,delay:nt,easing:It}}(je,T,P)}function lt(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function _e(je){const T=new Map;return Object.keys(je).forEach(P=>{T.set(P,je[P])}),T}function F(je,T=new Map,P){if(P)for(let[de,Fe]of P)T.set(de,Fe);for(let[de,Fe]of je)T.set(de,Fe);return T}function V(je,T,P){T.forEach((de,Fe)=>{const nt=Lt(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[nt]),je.style[nt]=de})}function K(je,T){T.forEach((P,de)=>{const Fe=Lt(de);je.style[Fe]=""})}function ve(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Pt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Pt.exec(je);)T.push(P[1]);Pt.lastIndex=0}return T}function et(je,T,P){const de=je.toString(),Fe=de.replace(Pt,(nt,It)=>{let Dt=T[It];return null==Dt&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Dt=""),Dt.toString()});return Fe==de?je:Fe}function Ve(je){const T=[];let P=je.next();for(;!P.done;)T.push(P.value),P=je.next();return T}const yt=/-+([a-z0-9])/g;function Lt(je){return je.replace(yt,(...T)=>T[1].toUpperCase())}function _n(je,T,P){switch(T.type){case 7:return je.visitTrigger(T,P);case 0:return je.visitState(T,P);case 1:return je.visitTransition(T,P);case 2:return je.visitSequence(T,P);case 3:return je.visitGroup(T,P);case 4:return je.visitAnimate(T,P);case 5:return je.visitKeyframes(T,P);case 6:return je.visitStyle(T,P);case 8:return je.visitReference(T,P);case 9:return je.visitAnimateChild(T,P);case 10:return je.visitAnimateRef(T,P);case 11:return je.visitQuery(T,P);case 12:return je.visitStagger(T,P);default:throw function b(je){return new n.\u0275RuntimeError(3004,!1)}()}}function Mn(je,T){return window.getComputedStyle(je)[T]}const mt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(de=>function nn(je,T,P){if(":"==je[0]){const Qt=function cn(je,T){switch(je){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(P,de)=>parseFloat(de)>parseFloat(P);case":decrement":return(P,de)=>parseFloat(de) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const de=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==de||de.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=de[1],nt=de[2],It=de[3];T.push(wn(Fe,It));"<"==nt[0]&&!(Fe==mt&&It==mt)&&T.push(wn(It,Fe))}(de,P,T)):P.push(je),P}const sn=new Set(["true","1"]),Nn=new Set(["false","0"]);function wn(je,T){const P=sn.has(je)||Nn.has(je),de=sn.has(T)||Nn.has(T);return(Fe,nt)=>{let It=je==mt||je==Fe,Dt=T==mt||T==nt;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Dt&&de&&"boolean"==typeof nt&&(Dt=nt?sn.has(T):Nn.has(T)),It&&Dt}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,de){return new an(je).build(T,P,de)}class an{constructor(T){this._driver=T}build(T,P,de){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,ve(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let de=P.queryCount=0,Fe=P.depCount=0;const nt=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Dt=>{if(this._resetContextStyleTimingState(P),0==Dt.type){const Qt=Dt,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,nt.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Dt.type){const Qt=this.visitTransition(Dt,P);de+=Qt.queryCount,Fe+=Qt.depCount,It.push(Qt)}else P.errors.push(function l(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:7,name:T.name,states:nt,transitions:It,queryCount:de,depCount:Fe,options:null}}visitState(T,P){const de=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(de.containsDynamicStyles){const nt=new Set,It=Fe||{};de.styles.forEach(Dt=>{Dt instanceof Map&&Dt.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||nt.add(en)})})}),nt.size&&(Ve(nt.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:de,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const de=_n(this,ve(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:de,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(de=>_n(this,de,P)),options:Yn(T.options)}}visitGroup(T,P){const de=P.currentTime;let Fe=0;const nt=T.steps.map(It=>{P.currentTime=de;const Dt=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Dt});return P.currentTime=Fe,{type:3,steps:nt,options:Yn(T.options)}}visitAnimate(T,P){const de=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(ae(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(nt=>"{"==nt.charAt(0)&&"{"==nt.charAt(1))){const nt=wi(0,0,"");return nt.dynamic=!0,nt.strValue=P,nt}const Fe=ae(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=de;let Fe,nt=T.styles?T.styles:(0,d.oB)({});if(5==nt.type)Fe=this.visitKeyframes(nt,P);else{let It=T.styles,Dt=!1;if(!It){Dt=!0;const en={};de.easing&&(en.easing=de.easing),It=(0,d.oB)(en)}P.currentTime+=de.duration+de.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Dt,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:de,style:Fe,options:null}}visitStyle(T,P){const de=this._makeStyleAst(T,P);return this._validateStyleAst(de,P),de}_makeStyleAst(T,P){const de=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Dt of Fe)"string"==typeof Dt?Dt===d.l3?de.push(Dt):P.errors.push(new n.\u0275RuntimeError(3002,!1)):de.push(_e(Dt));let nt=!1,It=null;return de.forEach(Dt=>{if(Dt instanceof Map&&(Dt.has("easing")&&(It=Dt.get("easing"),Dt.delete("easing")),!nt))for(let Qt of Dt.values())if(Qt.toString().indexOf("{{")>=0){nt=!0;break}}),{type:6,styles:de,easing:It,offset:T.offset,containsDynamicStyles:nt,options:null}}_validateStyleAst(T,P){const de=P.currentAnimateTimings;let Fe=P.currentTime,nt=P.currentTime;de&&nt>0&&(nt-=de.duration+de.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Dt,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(nt!=Fe&&nt>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,de,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),nt=In.startTime),Ln&&en.set(Qt,{startTime:nt,endTime:Fe}),P.options&&function ut(je,T,P){const de=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(nt=>{de.hasOwnProperty(nt)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Dt,P.options,P.errors)})})}visitKeyframes(T,P){const de={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),de;let nt=0;const It=[];let Dt=!1,Qt=!1,en=0;const In=T.steps.map(qi=>{const Ki=this._makeStyleAst(qi,P);let sr=null!=Ki.offset?Ki.offset:function Wn(je){if("string"==typeof je)return null;let T=null;if(Array.isArray(je))je.forEach(P=>{if(P instanceof Map&&P.has("offset")){const de=P;T=parseFloat(de.get("offset")),de.delete("offset")}});else if(je instanceof Map&&je.has("offset")){const P=je;T=parseFloat(P.get("offset")),P.delete("offset")}return T}(Ki.styles),nr=0;return null!=sr&&(nt++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Dt=Dt||nr0&&nt{const sr=pi>0?Ki==li?1:pi*Ki:It[Ki],nr=sr*Bi;P.currentTime=Gn+ii.delay+nr,ii.duration=nr,this._validateStyleAst(qi,P),qi.offset=sr,de.styles.push(qi)}),de}visitReference(T,P){return{type:8,animation:_n(this,ve(T.animation),P),options:Yn(T.options)}}visitAnimateChild(T,P){return P.depCount++,{type:9,options:Yn(T.options)}}visitAnimateRef(T,P){return{type:10,animation:this.visitReference(T.animation,P),options:Yn(T.options)}}visitQuery(T,P){const de=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[nt,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,At).replace(/@\w+/g,P=>At+"-"+P.slice(1)).replace(/:animating/g,zt),[je,T]}(T.selector);P.currentQuerySelector=de.length?de+" "+nt:nt,gt(P.collectedStyles,P.currentQuerySelector,new Map);const Dt=_n(this,ve(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=de,{type:11,selector:nt,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Dt,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const de="full"===T.timings?{duration:0,delay:0,easing:"full"}:ae(T.timings,P.errors,!0);return{type:12,animation:_n(this,ve(T.animation),P),timings:de,options:null}}}class Rn{constructor(T){this.errors=T,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Yn(je){return je?(je=lt(je)).params&&(je.params=function Tn(je){return je?lt(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,de,Fe,nt,It=null,Dt=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:de,duration:Fe,delay:nt,totalTime:Fe+nt,easing:It,subTimeline:Dt}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let de=this._map.get(T);de||this._map.set(T,de=[]),de.push(...P)}has(T){return this._map.has(T)}clear(){this._map.clear()}}const jt=new RegExp(":enter","g"),O=new RegExp(":leave","g");function me(je,T,P,de,Fe,nt=new Map,It=new Map,Dt,Qt,en=[]){return(new le).buildKeyframes(je,T,P,de,Fe,nt,It,Dt,Qt,en)}class le{buildKeyframes(T,P,de,Fe,nt,It,Dt,Qt,en,In=[]){en=en||new ai;const Ln=new Ot(T,P,en,Fe,nt,In,[]);Ln.options=Qt;const pi=Qt.delay?Ne(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,de,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Dt.size){let Gn;for(let ii=li.length-1;ii>=0;ii--){const Bi=li[ii];if(Bi.element===P){Gn=Bi;break}}Gn&&!Gn.allowOnlyTimelineStyles()&&Gn.setStyles([Dt],null,Ln.errors,Qt)}return li.length?li.map(Gn=>Gn.buildKeyframes()):[ri(P,[],[],[],0,pi,"",!1)]}visitTrigger(T,P){}visitState(T,P){}visitTransition(T,P){}visitAnimateChild(T,P){const de=P.subInstructions.get(P.element);if(de){const Fe=P.createSubContext(T.options),nt=P.currentTimeline.currentTime,It=this._visitSubInstructions(de,Fe,Fe.options);nt!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const de=P.createSubContext(T.options);de.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,de),this.visitReference(T.animation,de),P.transformIntoNewTimeline(de.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,de){for(const Fe of T){const nt=Fe?.delay;if(nt){const It="number"==typeof nt?nt:Ne(et(nt,Fe?.params??{},P.errors));de.delayNextStep(It)}}}_visitSubInstructions(T,P,de){let nt=P.currentTimeline.currentTime;const It=null!=de.duration?Ne(de.duration):null,Dt=null!=de.delay?Ne(de.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Dt);nt=Math.max(nt,en.duration+en.delay)}),nt}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const de=P.subContextCount;let Fe=P;const nt=T.options;if(nt&&(nt.params||nt.delay)&&(Fe=P.createSubContext(nt),Fe.transformIntoNewTimeline(),null!=nt.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Ne(nt.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>de&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const de=[];let Fe=P.currentTimeline.currentTime;const nt=T.options&&T.options.delay?Ne(T.options.delay):0;T.steps.forEach(It=>{const Dt=P.createSubContext(T.options);nt&&Dt.delayNextStep(nt),_n(this,It,Dt),Fe=Math.max(Fe,Dt.currentTimeline.currentTime),de.push(Dt.currentTimeline)}),de.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const de=T.strValue;return ae(P.params?et(de,P.params,P.errors):de,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const de=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;de.delay&&(P.incrementTime(de.delay),Fe.snapshotCurrentStyles());const nt=T.style;5==nt.type?this.visitKeyframes(nt,P):(P.incrementTime(de.duration),this.visitStyle(nt,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const de=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&de.hasCurrentStyleProperties()&&de.forwardFrame();const nt=Fe&&Fe.easing||T.easing;T.isEmptyStep?de.applyEmptyStep(nt):de.setStyles(T.styles,nt,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const de=P.currentAnimateTimings,Fe=P.currentTimeline.duration,nt=de.duration,Dt=P.createSubContext().currentTimeline;Dt.easing=de.easing,T.styles.forEach(Qt=>{Dt.forwardTime((Qt.offset||0)*nt),Dt.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Dt.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Dt),P.transformIntoNewTimeline(Fe+nt),P.previousNode=T}visitQuery(T,P){const de=P.currentTimeline.currentTime,Fe=T.options||{},nt=Fe.delay?Ne(Fe.delay):0;nt&&(6===P.previousNode.type||0==de&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=de;const Dt=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Dt.length;let Qt=null;Dt.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);nt&&Ln.delayNextStep(nt),en===P.element&&(Qt=Ln.currentTimeline),_n(this,T.animation,Ln),Ln.currentTimeline.applyStylesToKeyframe(),It=Math.max(It,Ln.currentTimeline.currentTime)}),P.currentQueryIndex=0,P.currentQueryTotal=0,P.transformIntoNewTimeline(It),Qt&&(P.currentTimeline.mergeTimelineCollectedStyles(Qt),P.currentTimeline.snapshotCurrentStyles()),P.previousNode=T}visitStagger(T,P){const de=P.parentContext,Fe=P.currentTimeline,nt=T.timings,It=Math.abs(nt.duration),Dt=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(nt.duration<0?"reverse":nt.easing){case"reverse":Qt=Dt-Qt;break;case"full":Qt=de.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,de.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-de.currentTimeline.startTime)}}const Xe={};class Ot{constructor(T,P,de,Fe,nt,It,Dt,Qt){this._driver=T,this.element=P,this.subInstructions=de,this._enterClassName=Fe,this._leaveClassName=nt,this.errors=It,this.timelines=Dt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Xe,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Qt||new Wt(this._driver,P,0),Dt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const de=T;let Fe=this.options;null!=de.duration&&(Fe.duration=Ne(de.duration)),null!=de.delay&&(Fe.delay=Ne(de.delay));const nt=de.params;if(nt){let It=Fe.params;It||(It=this.options.params={}),Object.keys(nt).forEach(Dt=>{(!P||!It.hasOwnProperty(Dt))&&(It[Dt]=et(nt[Dt],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const de=T.params={};Object.keys(P).forEach(Fe=>{de[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,de){const Fe=P||this.element,nt=new Ot(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,de||0));return nt.previousNode=this.previousNode,nt.currentAnimateTimings=this.currentAnimateTimings,nt.options=this._copyOptions(),nt.updateOptions(T),nt.currentQueryIndex=this.currentQueryIndex,nt.currentQueryTotal=this.currentQueryTotal,nt.parentContext=this,this.subContextCount++,nt}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,de){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(de??0)+T.delay,easing:""},nt=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(nt),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,de,Fe,nt,It){let Dt=[];if(Fe&&Dt.push(this.element),T.length>0){T=(T=T.replace(jt,"."+this._enterClassName)).replace(O,"."+this._leaveClassName);let en=this._driver.query(this.element,T,1!=de);0!==de&&(en=de<0?en.slice(en.length+de,en.length):en.slice(0,de)),Dt.push(...en)}return!nt&&0==Dt.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Dt}}class Wt{constructor(T,P,de,Fe){this._driver=T,this.element=P,this.startTime=de,this._elementTimelineStylesLookup=Fe,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(P),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(P,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(T){const P=1===this._keyframes.size&&this._pendingStyles.size;this.duration||P?(this.forwardTime(this.currentTime+T),P&&this.snapshotCurrentStyles()):this.startTime+=T}fork(T,P){return this.applyStylesToKeyframe(),new Wt(this._driver,T,P||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(T){this.applyStylesToKeyframe(),this.duration=T,this._loadKeyframe()}_updateStyle(T,P){this._localTimelineStyles.set(T,P),this._globalTimelineStyles.set(T,P),this._styleSummary.set(T,{time:this.currentTime,value:P})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(T){T&&this._previousKeyframe.set("easing",T);for(let[P,de]of this._globalTimelineStyles)this._backFill.set(P,de||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,de,Fe){P&&this._previousKeyframe.set("easing",P);const nt=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let de;return je.forEach(Fe=>{if("*"===Fe){de=de||T.keys();for(let nt of de)P.set(nt,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Dt,Qt]of It){const en=et(Qt,nt,de);this._pendingStyles.set(Dt,en),this._localTimelineStyles.has(Dt)||this._backFill.set(Dt,this._globalTimelineStyles.get(Dt)??d.l3),this._updateStyle(Dt,en)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((T,P)=>{this._currentKeyframe.set(P,T)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((T,P)=>{this._currentKeyframe.has(P)||this._currentKeyframe.set(P,T)}))}snapshotCurrentStyles(){for(let[T,P]of this._localTimelineStyles)this._pendingStyles.set(T,P),this._updateStyle(T,P)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const T=[];for(let P in this._currentKeyframe)T.push(P);return T}mergeTimelineCollectedStyles(T){T._styleSummary.forEach((P,de)=>{const Fe=this._styleSummary.get(de);(!Fe||P.time>Fe.time)&&this._updateStyle(de,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,de=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Dt,Qt)=>{const en=F(Dt,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),de||en.set("offset",Qt/this.duration),Fe.push(en)});const nt=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(de){const Dt=Fe[0],Qt=new Map(Dt);Dt.set("offset",0),Qt.set("offset",1),Fe=[Dt,Qt]}return ri(this.element,Fe,nt,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,de,Fe,nt,It,Dt=!1){super(T,P,It.delay),this.keyframes=de,this.preStyleProps=Fe,this.postStyleProps=nt,this._stretchStartingKeyframe=Dt,this.timings={duration:It.duration,delay:It.delay,easing:It.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let T=this.keyframes,{delay:P,duration:de,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const nt=[],It=de+P,Dt=P/It,Qt=F(T[0]);Qt.set("offset",0),nt.push(Qt);const en=F(T[0]);en.set("offset",gn(Dt)),nt.push(en);const In=T.length-1;for(let Ln=1;Ln<=In;Ln++){let pi=F(T[Ln]);const li=pi.get("offset");pi.set("offset",gn((P+li*de)/It)),nt.push(pi)}de=It,P=0,Fe="",T=nt}return ri(this.element,T,this.preStyleProps,this.postStyleProps,de,P,Fe,!0)}}function gn(je,T=3){const P=Math.pow(10,T-1);return Math.round(je*P)/P}class jn{}const bi=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Ti extends jn{normalizePropertyName(T,P){return Lt(T)}normalizeStyleValue(T,P,de,Fe){let nt="";const It=de.toString().trim();if(bi.has(P)&&0!==de&&"0"!==de)if("number"==typeof de)nt="px";else{const Dt=de.match(/^[+-]?[\d\.]+([a-z]*)$/);Dt&&0==Dt[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+nt}}function Fi(je,T,P,de,Fe,nt,It,Dt,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:nt,toState:de,toStyles:It,timelines:Dt,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,de){this._triggerName=T,this.ast=P,this._stateStyles=de}match(T,P,de,Fe){return function tn(je,T,P,de,Fe){return je.some(nt=>nt(T,P,de,Fe))}(this.ast.matchers,T,P,de,Fe)}buildStyles(T,P,de){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,de):new Map}build(T,P,de,Fe,nt,It,Dt,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(de,Dt&&Dt.params||Gi,Ln),ii=Qt&&Qt.params||Gi,Bi=this.buildStyles(Fe,ii,Ln),qi=new Set,Ki=new Map,sr=new Map,nr="void"===Fe,Kr={params:En(ii,pi),delay:this.ast.options?.delay},Mr=In?[]:me(T,P,this.ast.animation,nt,It,Gn,Bi,Kr,en,Ln);let rr=0;if(Mr.forEach(Er=>{rr=Math.max(Er.duration+Er.delay,rr)}),Ln.length)return Fi(P,this._triggerName,de,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=gt(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=gt(sr,fr,new Set);Er.postStyleProps.forEach(Lr=>Yr.add(Lr)),fr!==P&&qi.add(fr)});const xr=Ve(qi.values());return Fi(P,this._triggerName,de,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=lt(T);for(const de in je)je.hasOwnProperty(de)&&null!=je[de]&&(P[de]=je[de]);return P}class ei{constructor(T,P,de){this.styles=T,this.defaultParams=P,this.normalizer=de}buildStyles(T,P){const de=new Map,Fe=lt(this.defaultParams);return Object.keys(T).forEach(nt=>{const It=T[nt];null!==It&&(Fe[nt]=It)}),this.styles.styles.forEach(nt=>{"string"!=typeof nt&&nt.forEach((It,Dt)=>{It&&(It=et(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Dt,P);It=this.normalizer.normalizeStyleValue(Dt,Qt,It,P),de.set(Dt,It)})}),de}}class tr{constructor(T,P,de){this.name=T,this.ast=P,this._normalizer=de,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},de))}),ar(this.states,"true","1"),ar(this.states,"false","0"),P.transitions.forEach(Fe=>{this.transitionFactories.push(new fn(T,Fe,this.states))}),this.fallbackTransition=function Ai(je,T,P){return new fn(je,{type:1,animation:{type:2,steps:[],options:null},matchers:[(It,Dt)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,de,Fe){return this.transitionFactories.find(It=>It.match(T,P,de,Fe))||null}matchStyles(T,P,de){return this.fallbackTransition.buildStyles(T,P,de)}}function ar(je,T,P){je.has(T)?je.has(P)||je.set(P,je.get(T)):je.has(P)&&je.set(T,je.get(P))}const yi=new ai;class Je{constructor(T,P,de){this.bodyNode=T,this._driver=P,this._normalizer=de,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const de=[],nt=$n(this._driver,P,de,[]);if(de.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,nt)}_buildPlayer(T,P,de){const Fe=T.element,nt=We(this._normalizer,T.keyframes,P,de);return this._driver.animate(Fe,nt,T.duration,T.delay,T.easing,[],!0)}create(T,P,de={}){const Fe=[],nt=this._animations.get(T);let It;const Dt=new Map;if(nt?(It=me(this._driver,P,nt,Oe,ge,new Map,new Map,de,yi,Fe),It.forEach(In=>{const Ln=gt(Dt,In.element,new Map);In.postStyleProps.forEach(pi=>Ln.set(pi,null))})):(Fe.push(function W(){return new n.\u0275RuntimeError(3300,!1)}()),It=[]),Fe.length)throw function pe(je){return new n.\u0275RuntimeError(3504,!1)}();Dt.forEach((In,Ln)=>{In.forEach((pi,li)=>{In.set(li,this._driver.computeStyle(Ln,li,d.l3))})});const en=Qe(It.map(In=>{const Ln=Dt.get(In.element);return this._buildPlayer(In,new Map,Ln)}));return this._playersById.set(T,en),en.onDestroy(()=>this.destroy(T)),this.players.push(en),en}destroy(T){const P=this._getPlayer(T);P.destroy(),this._playersById.delete(T);const de=this.players.indexOf(P);de>=0&&this.players.splice(de,1)}_getPlayer(T){const P=this._playersById.get(T);if(!P)throw function we(je){return new n.\u0275RuntimeError(3301,!1)}();return P}listen(T,P,de,Fe){const nt=Ft(P,"","","");return tt(this._getPlayer(T),de,nt,Fe),()=>{}}command(T,P,de,Fe){if("register"==de)return void this.register(T,Fe[0]);if("create"==de)return void this.create(T,P,Fe[0]||{});const nt=this._getPlayer(T);switch(de){case"play":nt.play();break;case"pause":nt.pause();break;case"reset":nt.reset();break;case"restart":nt.restart();break;case"finish":nt.finish();break;case"init":nt.init();break;case"setPosition":nt.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Rt="ng-animate-queued",te="ng-animate-disabled",Pn=[],ji={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Li="__ng_removed";class Qi{get params(){return this.options.params}constructor(T,P=""){this.namespaceId=P;const de=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(de?T.value:T),de){const nt=lt(T);delete nt.value,this.options=nt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const de=this.options.params;Object.keys(P).forEach(Fe=>{null==de[Fe]&&(de[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,de){this.id=T,this.hostElement=P,this._engine=de,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,de,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==de||0==de.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(de))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const nt=gt(this._elementListeners,T,[]),It={name:P,phase:de,callback:Fe};nt.push(It);const Dt=gt(this._engine.statesByElement,T,new Map);return Dt.has(P)||(On(T,ot),On(T,ot+"-"+P),Dt.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=nt.indexOf(It);Qt>=0&&nt.splice(Qt,1),this._triggers.has(P)||Dt.delete(P)})}}register(T,P){return!this._triggers.has(T)&&(this._triggers.set(T,P),!0)}_getTrigger(T){const P=this._triggers.get(T);if(!P)throw function re(je){return new n.\u0275RuntimeError(3401,!1)}();return P}trigger(T,P,de,Fe=!0){const nt=this._getTrigger(P),It=new pt(this.id,P,T);let Dt=this._engine.statesByElement.get(T);Dt||(On(T,ot),On(T,ot+"-"+P),this._engine.statesByElement.set(T,Dt=new Map));let Qt=Dt.get(P);const en=new Qi(de,this.id);if(!(de&&de.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Dt.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),de=Object.keys(T);if(P.length!=de.length)return!1;for(let Fe=0;Fe{K(T,Bi),V(T,qi)})}return}const pi=gt(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=nt.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=nt.fallbackTransition,Gn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:T,triggerName:P,transition:li,fromState:Qt,toState:en,player:It,isFallbackTransition:Gn}),Gn||(On(T,Rt),It.onStart(()=>{vi(T,Rt)})),It.onDone(()=>{let ii=this.players.indexOf(It);ii>=0&&this.players.splice(ii,1);const Bi=this._engine.playersByElement.get(T);if(Bi){let qi=Bi.indexOf(It);qi>=0&&Bi.splice(qi,1)}}),this.players.push(It),pi.push(It),It}deregister(T){this._triggers.delete(T),this._engine.statesByElement.forEach(P=>P.delete(T)),this._elementListeners.forEach((P,de)=>{this._elementListeners.set(de,P.filter(Fe=>Fe.name!=T))})}clearElementCache(T){this._engine.statesByElement.delete(T),this._elementListeners.delete(T);const P=this._engine.playersByElement.get(T);P&&(P.forEach(de=>de.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const de=this._engine.driver.query(T,At,!0);de.forEach(Fe=>{if(Fe[Li])return;const nt=this._engine.fetchNamespacesByElement(Fe);nt.size?nt.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>de.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,de,Fe){const nt=this._engine.statesByElement.get(T),It=new Map;if(nt){const Dt=[];if(nt.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Dt.push(In)}}),Dt.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),de&&Qe(Dt).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),de=this._engine.statesByElement.get(T);if(P&&de){const Fe=new Set;P.forEach(nt=>{const It=nt.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=de.get(It)||ir,In=new Qi(Ui),Ln=new pt(this.id,It,T);this._engine.totalQueuedPlayers++,this._queue.push({element:T,triggerName:It,transition:Qt,fromState:en,toState:In,player:Ln,isFallbackTransition:!0})})}}removeNode(T,P){const de=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(de.totalAnimations){const nt=de.players.length?de.playersByQueriedElement.get(T):[];if(nt&&nt.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(de.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)de.markElementAsRemoved(this.id,T,!1,P);else{const nt=T[Li];(!nt||nt===ji)&&(de.afterFlush(()=>this.clearElementCache(T)),de.destroyInnerAnimations(T),de._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(de=>{const Fe=de.player;if(Fe.destroyed)return;const nt=de.element,It=this._elementListeners.get(nt);It&&It.forEach(Dt=>{if(Dt.name==de.triggerName){const Qt=Ft(nt,de.triggerName,de.fromState.value,de.toState.value);Qt._data=T,tt(de.player,Dt.phase,Qt,Dt.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(de)}),this._queue=[],P.sort((de,Fe)=>{const nt=de.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==nt||0==It?nt-It:this._engine.driver.containsElement(de.element,Fe.element)?1:-1})}destroy(T){this.players.forEach(P=>P.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,T)}}class vt{_onRemovalComplete(T,P){this.onRemovalComplete(T,P)}constructor(T,P,de){this.bodyNode=T,this.driver=P,this._normalizer=de,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Fe,nt)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(de=>{de.queued&&T.push(de)})}),T}createNamespace(T,P){const de=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(de,P):(this.newHostElements.set(P,de),this.collectEnterElement(P)),this._namespaceLookup[T]=de}_balanceNamespaceList(T,P){const de=this._namespaceList,Fe=this.namespacesByHostElement;if(de.length-1>=0){let It=!1,Dt=this.driver.getParentElement(P);for(;Dt;){const Qt=Fe.get(Dt);if(Qt){const en=de.indexOf(Qt);de.splice(en+1,0,T),It=!0;break}Dt=this.driver.getParentElement(Dt)}It||de.unshift(T)}else de.push(T);return Fe.set(P,T),T}register(T,P){let de=this._namespaceLookup[T];return de||(de=this.createNamespace(T,P)),de}registerTrigger(T,P,de){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,de)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const de=this._fetchNamespace(T);this.namespacesByHostElement.delete(de.hostElement);const Fe=this._namespaceList.indexOf(de);Fe>=0&&this._namespaceList.splice(Fe,1),de.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,de=this.statesByElement.get(T);if(de)for(let Fe of de.values())if(Fe.namespaceId){const nt=this._fetchNamespace(Fe.namespaceId);nt&&P.add(nt)}return P}trigger(T,P,de,Fe){if(Yt(P)){const nt=this._fetchNamespace(T);if(nt)return nt.trigger(P,de,Fe),!0}return!1}insertNode(T,P,de,Fe){if(!Yt(P))return;const nt=P[Li];if(nt&&nt.setForRemoval){nt.setForRemoval=!1,nt.setForMove=!0;const It=this.collectedLeaveElements.indexOf(P);It>=0&&this.collectedLeaveElements.splice(It,1)}if(T){const It=this._fetchNamespace(T);It&&It.insertNode(P,de)}Fe&&this.collectEnterElement(P)}collectEnterElement(T){this.collectedEnterElements.push(T)}markElementAsDisabled(T,P){P?this.disabledNodes.has(T)||(this.disabledNodes.add(T),On(T,te)):this.disabledNodes.has(T)&&(this.disabledNodes.delete(T),vi(T,te))}removeNode(T,P,de){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,de):this.markElementAsRemoved(T,P,!1,de);const nt=this.namespacesByHostElement.get(P);nt&&nt.id!==T&&nt.removeNode(P,de)}else this._onRemovalComplete(P,de)}markElementAsRemoved(T,P,de,Fe,nt){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:de,removedBeforeQueried:!1,previousTriggersValues:nt}}listen(T,P,de,Fe,nt){return Yt(P)?this._fetchNamespace(T).listen(P,de,Fe,nt):()=>{}}_buildInstruction(T,P,de,Fe,nt){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,de,Fe,T.fromState.options,T.toState.options,P,nt)}destroyInnerAnimations(T){let P=this.driver.query(T,At,!0);P.forEach(de=>this.destroyActiveAnimationsForElement(de)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,zt,!0),P.forEach(de=>this.finishActiveQueriedAnimationOnElement(de)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(de=>{de.queued?de.markedForDestroy=!0:de.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(de=>de.finish())}whenRenderingDone(){return new Promise(T=>{if(this.players.length)return Qe(this.players).onDone(()=>T());T()})}processLeaveNode(T){const P=T[Li];if(P&&P.setForRemoval){if(T[Li]=ji,P.namespaceId){this.destroyInnerAnimations(T);const de=this._fetchNamespace(P.namespaceId);de&&de.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(de=>{this.markElementAsDisabled(de,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((de,Fe)=>this._balanceNamespaceList(de,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let de=0;dede()),this._flushFns=[],this._whenQuietFns.length){const de=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{de.forEach(Fe=>Fe())}):de.forEach(Fe=>Fe())}}reportError(T){throw function se(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const de=new ai,Fe=[],nt=new Map,It=[],Dt=new Map,Qt=new Map,en=new Map,In=new Set;this.disabledNodes.forEach(Bn=>{In.add(Bn);const Hn=this.driver.query(Bn,".ng-animate-queued",!0);for(let Qn=0;Qn{const Qn=Oe+ii++;Gn.set(Hn,Qn),Bn.forEach(ci=>On(ci,Qn))});const Bi=[],qi=new Set,Ki=new Set;for(let Bn=0;Bnqi.add(ci)):Ki.add(Hn))}const sr=new Map,nr=Vn(pi,Array.from(qi));nr.forEach((Bn,Hn)=>{const Qn=ge+ii++;sr.set(Hn,Qn),Bn.forEach(ci=>On(ci,Qn))}),T.push(()=>{li.forEach((Bn,Hn)=>{const Qn=Gn.get(Hn);Bn.forEach(ci=>vi(ci,Qn))}),nr.forEach((Bn,Hn)=>{const Qn=sr.get(Hn);Bn.forEach(ci=>vi(ci,Qn))}),Bi.forEach(Bn=>{this.processLeaveNode(Bn)})});const Kr=[],Mr=[];for(let Bn=this._namespaceList.length-1;Bn>=0;Bn--)this._namespaceList[Bn].drainQueuedTransitions(P).forEach(Qn=>{const ci=Qn.player,Xi=Qn.element;if(Kr.push(ci),this.collectedEnterElements.length){const ht=Xi[Li];if(ht&&ht.setForMove){if(ht.previousTriggersValues&&ht.previousTriggersValues.has(Qn.triggerName)){const Gt=ht.previousTriggersValues.get(Qn.triggerName),Kt=this.statesByElement.get(Qn.element);if(Kt&&Kt.has(Qn.triggerName)){const Un=Kt.get(Qn.triggerName);Un.value=Gt,Kt.set(Qn.triggerName,Un)}}return void ci.destroy()}}const mr=!Ln||!this.driver.containsElement(Ln,Xi),di=sr.get(Xi),L=Gn.get(Xi),xe=this._buildInstruction(Qn,de,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>K(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>K(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);const Z=[];xe.timelines.forEach(ht=>{ht.stretchStartingKeyframe=!0,this.disabledNodes.has(ht.element)||Z.push(ht)}),xe.timelines=Z,de.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>gt(Dt,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,Gt)=>{if(ht.size){let Kt=Qt.get(Gt);Kt||Qt.set(Gt,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,Gt)=>{let Kt=en.get(Gt);Kt||en.set(Gt,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))})});if(Mr.length){const Bn=[];Mr.forEach(Hn=>{Bn.push(function He(je,T){return new n.\u0275RuntimeError(3505,!1)}())}),Kr.forEach(Hn=>Hn.destroy()),this.reportError(Bn)}const rr=new Map,xr=new Map;It.forEach(Bn=>{const Hn=Bn.element;de.has(Hn)&&(xr.set(Hn,Hn),this._beforeAnimationBuild(Bn.player.namespaceId,Bn.instruction,rr))}),Fe.forEach(Bn=>{const Hn=Bn.element;this._getPreviousPlayers(Hn,!1,Bn.namespaceId,Bn.triggerName,null).forEach(ci=>{gt(rr,Hn,[]).push(ci),ci.destroy()})});const Er=Bi.filter(Bn=>oi(Bn,Qt,en)),fr=new Map;vn(fr,this.driver,Ki,en,d.l3).forEach(Bn=>{oi(Bn,Qt,en)&&Er.push(Bn)});const Yr=new Map;li.forEach((Bn,Hn)=>{vn(Yr,this.driver,new Set(Bn),Qt,d.k1)}),Er.forEach(Bn=>{const Hn=fr.get(Bn),Qn=Yr.get(Bn);fr.set(Bn,new Map([...Hn?.entries()??[],...Qn?.entries()??[]]))});const Lr=[],kr=[],ao={};It.forEach(Bn=>{const{element:Hn,player:Qn,instruction:ci}=Bn;if(de.has(Hn)){if(In.has(Hn))return Qn.onDestroy(()=>V(Hn,ci.toStyles)),Qn.disabled=!0,Qn.overrideTotalTime(ci.totalTime),void Fe.push(Qn);let Xi=ao;if(xr.size>1){let di=Hn;const L=[];for(;di=di.parentNode;){const xe=xr.get(di);if(xe){Xi=xe;break}L.push(di)}L.forEach(xe=>xr.set(xe,Xi))}const mr=this._buildAnimation(Qn.namespaceId,ci,rr,nt,Yr,fr);if(Qn.setRealPlayer(mr),Xi===ao)Lr.push(Qn);else{const di=this.playersByElement.get(Xi);di&&di.length&&(Qn.parentPlayer=Qe(di)),Fe.push(Qn)}}else K(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=nt.get(Bn.element);if(Hn&&Hn.length){const Qn=Qe(Hn);Bn.setRealPlayer(Qn)}}),Fe.forEach(Bn=>{Bn.parentPlayer?Bn.syncPlayerEvents(Bn.parentPlayer):Bn.destroy()});for(let Bn=0;Bn!mr.destroyed);Xi.length?ui(this,Hn,Xi):this.processLeaveNode(Hn)}return Bi.length=0,Lr.forEach(Bn=>{this.players.push(Bn),Bn.onDone(()=>{Bn.destroy();const Hn=this.players.indexOf(Bn);this.players.splice(Hn,1)}),Bn.play()}),Lr}afterFlush(T){this._flushFns.push(T)}afterFlushAnimationsDone(T){this._whenQuietFns.push(T)}_getPreviousPlayers(T,P,de,Fe,nt){let It=[];if(P){const Dt=this.playersByQueriedElement.get(T);Dt&&(It=Dt)}else{const Dt=this.playersByElement.get(T);if(Dt){const Qt=!nt||nt==Ui;Dt.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(de||Fe)&&(It=It.filter(Dt=>!(de&&de!=Dt.namespaceId||Fe&&Fe!=Dt.triggerName))),It}_beforeAnimationBuild(T,P,de){const nt=P.element,It=P.isRemovalTransition?void 0:T,Dt=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==nt,Ln=gt(de,en,[]);this._getPreviousPlayers(en,In,It,Dt,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}K(nt,P.fromStyles)}_buildAnimation(T,P,de,Fe,nt,It){const Dt=P.triggerName,Qt=P.element,en=[],In=new Set,Ln=new Set,pi=P.timelines.map(Gn=>{const ii=Gn.element;In.add(ii);const Bi=ii[Li];if(Bi&&Bi.removedBeforeQueried)return new d.ZN(Gn.duration,Gn.delay);const qi=ii!==Qt,Ki=function Mi(je){const T=[];return qn(je,T),T}((de.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=nt.get(ii),nr=It.get(ii),Kr=We(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new pt(T,Dt,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{gt(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let de=je.get(T);if(de){if(de.length){const Fe=de.indexOf(P);de.splice(Fe,1)}0==de.length&&je.delete(T)}return de}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Nt));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Nt)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{gt(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,de){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,de):new d.ZN(T.duration,T.delay)}}class pt{constructor(T,P,de){this.namespaceId=T,this.triggerName=P,this.element=de,this._player=new d.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(T){this._containsRealPlayer||(this._player=T,this._queuedCallbacks.forEach((P,de)=>{P.forEach(Fe=>tt(T,de,void 0,Fe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(T.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(T){this.totalTime=T}syncPlayerEvents(T){const P=this._player;P.triggerCallback&&T.onStart(()=>P.triggerCallback("start")),T.onDone(()=>this.finish()),T.onDestroy(()=>this.destroy())}_queueEvent(T,P){gt(this._queuedCallbacks,T,[]).push(P)}onDone(T){this.queued&&this._queueEvent("done",T),this._player.onDone(T)}onStart(T){this.queued&&this._queueEvent("start",T),this._player.onStart(T)}onDestroy(T){this.queued&&this._queueEvent("destroy",T),this._player.onDestroy(T)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(T){this.queued||this._player.setPosition(T)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(T){const P=this._player;P.triggerCallback&&P.triggerCallback(T)}}function Yt(je){return je&&1===je.nodeType}function yn(je,T){const P=je.style.display;return je.style.display=T??"none",P}function vn(je,T,P,de,Fe){const nt=[];P.forEach(Qt=>nt.push(yn(Qt)));const It=[];de.forEach((Qt,en)=>{const In=new Map;Qt.forEach(Ln=>{const pi=T.computeStyle(en,Ln,Fe);In.set(Ln,pi),(!pi||0==pi.length)&&(en[Li]=Pi,It.push(en))}),je.set(en,In)});let Dt=0;return P.forEach(Qt=>yn(Qt,nt[Dt++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Dt=>P.set(Dt,[])),0==T.length)return P;const Fe=new Set(T),nt=new Map;function It(Dt){if(!Dt)return 1;let Qt=nt.get(Dt);if(Qt)return Qt;const en=Dt.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),nt.set(Dt,Qt),Qt}return T.forEach(Dt=>{const Qt=It(Dt);1!==Qt&&P.get(Qt).push(Dt)}),P}function On(je,T){je.classList?.add(T)}function vi(je,T){je.classList?.remove(T)}function ui(je,T,P){Qe(P).onDone(()=>je.processLeaveNode(T))}function qn(je,T){for(let P=0;PFe.add(nt)):T.set(je,de),P.delete(je),!0}class Ii{constructor(T,P,de){this.bodyNode=T,this._driver=P,this._normalizer=de,this._triggerCache={},this.onRemovalComplete=(Fe,nt)=>{},this._transitionEngine=new vt(T,P,de),this._timelineEngine=new Je(T,P,de),this._transitionEngine.onRemovalComplete=(Fe,nt)=>this.onRemovalComplete(Fe,nt)}registerTrigger(T,P,de,Fe,nt){const It=T+"-"+Fe;let Dt=this._triggerCache[It];if(!Dt){const Qt=[],In=$n(this._driver,nt,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Dt=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Dt}this._transitionEngine.registerTrigger(P,Fe,Dt)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,de,Fe){this._transitionEngine.insertNode(T,P,de,Fe)}onRemove(T,P,de){this._transitionEngine.removeNode(T,P,de)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,de,Fe){if("@"==de.charAt(0)){const[nt,It]=Bt(de);this._timelineEngine.command(nt,P,It,Fe)}else this._transitionEngine.trigger(T,P,de,Fe)}listen(T,P,de,Fe,nt){if("@"==de.charAt(0)){const[It,Dt]=Bt(de);return this._timelineEngine.listen(It,P,Dt,nt)}return this._transitionEngine.listen(T,P,de,Fe,nt)}flush(T=-1){this._transitionEngine.flush(T)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(T){this._transitionEngine.afterFlushAnimationsDone(T)}}let Vr=(()=>{class je{constructor(P,de,Fe){this._element=P,this._startStyles=de,this._endStyles=Fe,this._state=0;let nt=je.initialStylesByElement.get(P);nt||je.initialStylesByElement.set(P,nt=new Map),this._initialStyles=nt}start(){this._state<1&&(this._startStyles&&V(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(V(this._element,this._initialStyles),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(je.initialStylesByElement.delete(this._element),this._startStyles&&(K(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),V(this._element,this._initialStyles),this._state=3)}}return je.initialStylesByElement=new WeakMap,je})();function no(je){let T=null;return je.forEach((P,de)=>{(function Oo(je){return"display"===je||"position"===je})(de)&&(T=T||new Map,T.set(de,P))}),T}class jr{constructor(T,P,de,Fe){this.element=T,this.keyframes=P,this.options=de,this._specialStyles=Fe,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=de.duration,this._delay=de.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(T=>T()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const T=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,T,this.options),this._finalKeyframe=T.length?T[T.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(T){const P=[];return T.forEach(de=>{P.push(Object.fromEntries(de))}),P}_triggerWebAnimation(T,P,de){return T.animate(this._convertKeyframesToObject(P),de)}onStart(T){this._originalOnStartFns.push(T),this._onStartFns.push(T)}onDone(T){this._originalOnDoneFns.push(T),this._onDoneFns.push(T)}onDestroy(T){this._onDestroyFns.push(T)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(T=>T()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(T=>T()),this._onDestroyFns=[])}setPosition(T){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=T*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const T=new Map;this.hasStarted()&&this._finalKeyframe.forEach((de,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?de:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(de=>de()),P.length=0}}class Hr{validateStyleProperty(T){return!0}validateAnimatableStyleProperty(T){return!0}matchesElement(T,P){return!1}containsElement(T,P){return Y(T,P)}getParentElement(T){return kt(T)}query(T,P,de){return ne(T,P,de)}computeStyle(T,P,de){return window.getComputedStyle(T)[P]}animate(T,P,de,Fe,nt,It=[]){const Qt={duration:de,delay:Fe,fill:0==Fe?"both":"forwards"};nt&&(Qt.easing=nt);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(de,Fe)&&In.forEach(li=>{li.currentSnapshot.forEach((Gn,ii)=>en.set(ii,Gn))});let Ln=function Ye(je){return je.length?je[0]instanceof Map?je:je.map(T=>_e(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let de=T[0],Fe=[];if(P.forEach((nt,It)=>{de.has(It)||Fe.push(It),de.set(It,nt)}),Fe.length)for(let nt=1;ntIt.set(Dt,Mn(je,Dt)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,de=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(de=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||de?new Vr(je,P,de):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,de){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(de.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const de=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,de,"register",[Fe]),new po(de,this._renderer)}}return je.\u0275fac=function(P){return new(P||je)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(fo.DOCUMENT))},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})();class po extends d.LC{constructor(T,P){super(),this._id=T,this._renderer=P}create(T,P){return new io(this._id,T,P||{},this._renderer)}}class io{constructor(T,P,de,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",de)}_listen(T,P){return this._renderer.listen(this.element,`@@${this.id}:${T}`,P)}_command(T,...P){return ro(this._renderer,this.element,this.id,T,P)}onDone(T){this._listen("done",T)}onStart(T){this._listen("start",T)}onDestroy(T){this._listen("destroy",T)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(T){this._command("setPosition",T)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ro(je,T,P,de,Fe){return je.setProperty(T,`@@${P}:${de}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,de,Fe){this.delegate=P,this.engine=de,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,de.onRemovalComplete=(nt,It)=>{const Dt=It?.parentNode(nt);Dt&&It.removeChild(Dt,nt)}}createRenderer(P,de){const nt=this.delegate.createRenderer(P,de);if(!(P&&de&&de.data&&de.data.animation)){let In=this._rendererCache.get(nt);return In||(In=new _o("",nt,this.engine,()=>this._rendererCache.delete(nt)),this._rendererCache.set(nt,In)),In}const It=de.id,Dt=de.id+"-"+this._currentId;this._currentId++,this.engine.register(Dt,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Dt,P,In.name,In)};return de.data.animation.forEach(Qt),new fe(this,Dt,nt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,de,Fe){P>=0&&Pde(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(nt=>{const[It,Dt]=nt;It(Dt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([de,Fe]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return je.\u0275fac=function(P){return new(P||je)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(Ii),n.\u0275\u0275inject(n.NgZone))},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})();class _o{constructor(T,P,de,Fe){this.namespaceId=T,this.delegate=P,this.engine=de,this._onDestroy=Fe}get data(){return this.delegate.data}destroyNode(T){this.delegate.destroyNode?.(T)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(T,P){return this.delegate.createElement(T,P)}createComment(T){return this.delegate.createComment(T)}createText(T){return this.delegate.createText(T)}appendChild(T,P){this.delegate.appendChild(T,P),this.engine.onInsert(this.namespaceId,P,T,!1)}insertBefore(T,P,de,Fe=!0){this.delegate.insertBefore(T,P,de),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,de){this.engine.onRemove(this.namespaceId,P,this.delegate)}selectRootElement(T,P){return this.delegate.selectRootElement(T,P)}parentNode(T){return this.delegate.parentNode(T)}nextSibling(T){return this.delegate.nextSibling(T)}setAttribute(T,P,de,Fe){this.delegate.setAttribute(T,P,de,Fe)}removeAttribute(T,P,de){this.delegate.removeAttribute(T,P,de)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,de,Fe){this.delegate.setStyle(T,P,de,Fe)}removeStyle(T,P,de){this.delegate.removeStyle(T,P,de)}setProperty(T,P,de){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!de):this.delegate.setProperty(T,P,de)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,de){return this.delegate.listen(T,P,de)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,de,Fe,nt){super(P,de,Fe,nt),this.factory=T,this.namespaceId=P}setProperty(T,P,de){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,de=void 0===de||!!de):this.engine.process(this.namespaceId,T,P.slice(1),de):this.delegate.setProperty(T,P,de)}listen(T,P,de){if("@"==P.charAt(0)){const Fe=function ce(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let nt=P.slice(1),It="";return"@"!=nt.charAt(0)&&([nt,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(nt)),this.engine.listen(this.namespaceId,Fe,nt,It,Dt=>{this.factory.scheduleListenerCallback(Dt._data||-1,de,Dt)})}return this.delegate.listen(T,P,de)}}let Ke=(()=>{class je extends Ii{constructor(P,de,Fe,nt){super(P.body,de,Fe)}ngOnDestroy(){this.flush()}}return je.\u0275fac=function(P){return new(P||je)(n.\u0275\u0275inject(fo.DOCUMENT),n.\u0275\u0275inject(Te),n.\u0275\u0275inject(jn),n.\u0275\u0275inject(n.ApplicationRef))},je.\u0275prov=n.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})();const Wi=[{provide:d._j,useClass:mo},{provide:jn,useFactory:function Xt(){return new Ti}},{provide:Ii,useClass:Ke},{provide:n.RendererFactory2,useFactory:function Dn(je,T,P){return new go(je,T,P)},deps:[c.\u0275DomRendererFactory2,Ii,n.NgZone]}],dr=[{provide:Te,useFactory:()=>new Hr},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...Wi],or=[{provide:Te,useClass:ue},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...Wi];let Cr=(()=>{class je{static withConfig(P){return{ngModule:je,providers:P.disableAnimations?or:dr}}}return je.\u0275fac=function(P){return new(P||je)},je.\u0275mod=n.\u0275\u0275defineNgModule({type:je}),je.\u0275inj=n.\u0275\u0275defineInjector({providers:dr,imports:[c.BrowserModule]}),je})();function bo(){return[...dr]}let Rr=(()=>{class je{}return je.\u0275fac=function(P){return new(P||je)},je.\u0275mod=n.\u0275\u0275defineNgModule({type:je}),je.\u0275inj=n.\u0275\u0275defineInjector({providers:or,imports:[c.BrowserModule]}),je})();function oo(){return[...or]}},6593:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{BrowserModule:()=>ct,By:()=>ge,DomSanitizer:()=>Ce,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Nt,HAMMER_LOADER:()=>zt,HammerGestureConfig:()=>Ne,HammerModule:()=>ae,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Pt,VERSION:()=>ve,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>Oe,enableDebugTools:()=>bt,makeStateKey:()=>ut,platformBrowser:()=>Bt,provideClientHydration:()=>K,provideProtractorTestingSupport:()=>We,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>_e,\u0275HammerGesturesPlugin:()=>$e,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>gt,\u0275KeyEventsPlugin:()=>ye,\u0275SharedStylesHost:()=>D,\u0275getDOM:()=>c.\u0275getDOM,\u0275initDomAdapter:()=>tt});var n=a(5879),c=a(6814),d=a(9862);class g extends c.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class r extends g{static makeCurrent(){(0,c.\u0275setRootDomAdapter)(new r)}onAndCancel(et,Ve,yt){return et.addEventListener(Ve,yt),()=>{et.removeEventListener(Ve,yt)}}dispatchEvent(et,Ve){et.dispatchEvent(Ve)}remove(et){et.parentNode&&et.parentNode.removeChild(et)}createElement(et,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(et)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(et){return et.nodeType===Node.ELEMENT_NODE}isShadowRoot(et){return et instanceof DocumentFragment}getGlobalEventTarget(et,Ve){return"window"===Ve?window:"document"===Ve?et:"body"===Ve?et.body:null}getBaseHref(et){const Ve=function f(){return h=h||document.querySelector("base"),h?h.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const et=u.pathname;return"/"===et.charAt(0)?et:`/${et}`}(Ve)}resetBaseElement(){h=null}getUserAgent(){return window.navigator.userAgent}getCookie(et){return(0,c.\u0275parseCookieValue)(document.cookie,et)}}let u,h=null;class b{addToWindow(et){n.\u0275global.getAngularTestability=(yt,Lt=!0)=>{const on=et.findTestabilityInTree(yt,Lt);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>et.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>et.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const Lt=n.\u0275global.getAllAngularTestabilities();let on=Lt.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};Lt.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(et,Ve,yt){return null==Ve?null:et.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(et,Ve.host,!0):this.findTestabilityInTree(et,Ve.parentElement,!0):null)}}let p=(()=>{class qe{build(){return new XMLHttpRequest}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const _=new n.InjectionToken("EventManagerPlugins");let l=(()=>{class qe{constructor(Ve,yt){this._zone=yt,this._eventNameToPlugin=new Map,Ve.forEach(Lt=>{Lt.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,Lt){return this._findPluginFor(yt).addEventListener(Ve,yt,Lt)}getZone(){return this._zone}_findPluginFor(Ve){let yt=this._eventNameToPlugin.get(Ve);if(yt)return yt;if(yt=this._plugins.find(on=>on.supports(Ve)),!yt)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Ve,yt),yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(_),n.\u0275\u0275inject(n.NgZone))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();class y{constructor(et){this._doc=et}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,Lt,on={}){this.doc=Ve,this.appId=yt,this.nonce=Lt,this.platformId=on,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,c.isPlatformServer)(on),this.resetHostNodes()}addStyles(Ve){for(const yt of Ve)1===this.changeUsageCount(yt,1)&&this.onStyleAdded(yt)}removeStyles(Ve){for(const yt of Ve)this.changeUsageCount(yt,-1)<=0&&this.onStyleRemoved(yt)}ngOnDestroy(){const Ve=this.styleNodesInDOM;Ve&&(Ve.forEach(yt=>yt.remove()),Ve.clear());for(const yt of this.getAllStyles())this.onStyleRemoved(yt);this.resetHostNodes()}addHost(Ve){this.hostNodes.add(Ve);for(const yt of this.getAllStyles())this.addStyleToHost(Ve,yt)}removeHost(Ve){this.hostNodes.delete(Ve)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ve){for(const yt of this.hostNodes)this.addStyleToHost(yt,Ve)}onStyleRemoved(Ve){const yt=this.styleRef;yt.get(Ve)?.elements?.forEach(Lt=>Lt.remove()),yt.delete(Ve)}collectServerRenderedStyles(){const Ve=this.doc.head?.querySelectorAll(`style[${x}="${this.appId}"]`);if(Ve?.length){const yt=new Map;return Ve.forEach(Lt=>{null!=Lt.textContent&&yt.set(Lt.textContent,Lt)}),yt}return null}changeUsageCount(Ve,yt){const Lt=this.styleRef;if(Lt.has(Ve)){const on=Lt.get(Ve);return on.usage+=yt,on.usage}return Lt.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const Lt=this.styleNodesInDOM,on=Lt?.get(yt);if(on?.parentNode===Ve)return Lt.delete(yt),on.removeAttribute(x),on;{const xn=this.doc.createElement("style");return this.nonce&&xn.setAttribute("nonce",this.nonce),xn.textContent=yt,this.platformIsServer&&xn.setAttribute(x,this.appId),xn}}addStyleToHost(Ve,yt){const Lt=this.getStyleElement(Ve,yt);Ve.appendChild(Lt);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(Lt):on.set(yt,{elements:[Lt],usage:1})}resetHostNodes(){const Ve=this.hostNodes;Ve.clear(),Ve.add(this.doc.head)}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const S={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},E=/%COMP%/g,I="%COMP%",X=`_nghost-${I}`,$=`_ngcontent-${I}`,ie=new n.InjectionToken("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Me(qe,et){return et.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,Lt,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=Lt,this.removeStylesOnCompDestroy=on,this.doc=xn,this.platformId=Sn,this.ngZone=_n,this.nonce=Mn,this.rendererByCompId=new Map,this.platformIsServer=(0,c.isPlatformServer)(Sn),this.defaultRenderer=new Ae(Ve,xn,_n,this.platformIsServer)}createRenderer(Ve,yt){if(!Ve||!yt)return this.defaultRenderer;this.platformIsServer&&yt.encapsulation===n.ViewEncapsulation.ShadowDom&&(yt={...yt,encapsulation:n.ViewEncapsulation.Emulated});const Lt=this.getOrCreateRenderer(Ve,yt);return Lt instanceof Ee?Lt.applyToHost(Ve):Lt instanceof we&&Lt.applyStyles(),Lt}getOrCreateRenderer(Ve,yt){const Lt=this.rendererByCompId;let on=Lt.get(yt.id);if(!on){const xn=this.doc,Sn=this.ngZone,_n=this.eventManager,Mn=this.sharedStylesHost,xi=this.removeStylesOnCompDestroy,fi=this.platformIsServer;switch(yt.encapsulation){case n.ViewEncapsulation.Emulated:on=new Ee(_n,Mn,yt,this.appId,xi,xn,Sn,fi);break;case n.ViewEncapsulation.ShadowDom:return new pe(_n,Mn,Ve,yt,xn,Sn,this.nonce,fi);default:on=new we(_n,Mn,yt,xi,xn,Sn,fi)}Lt.set(yt.id,on)}return on}ngOnDestroy(){this.rendererByCompId.clear()}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(D),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(ie),n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();class Ae{constructor(et,Ve,yt,Lt){this.eventManager=et,this.doc=Ve,this.ngZone=yt,this.platformIsServer=Lt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(et,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,et):this.doc.createElement(et)}createComment(et){return this.doc.createComment(et)}createText(et){return this.doc.createTextNode(et)}appendChild(et,Ve){(W(et)?et.content:et).appendChild(Ve)}insertBefore(et,Ve,yt){et&&(W(et)?et.content:et).insertBefore(Ve,yt)}removeChild(et,Ve){et&&et.removeChild(Ve)}selectRootElement(et,Ve){let yt="string"==typeof et?this.doc.querySelector(et):et;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(et){return et.parentNode}nextSibling(et){return et.nextSibling}setAttribute(et,Ve,yt,Lt){if(Lt){Ve=Lt+":"+Ve;const on=S[Lt];on?et.setAttributeNS(on,Ve,yt):et.setAttribute(Ve,yt)}else et.setAttribute(Ve,yt)}removeAttribute(et,Ve,yt){if(yt){const Lt=S[yt];Lt?et.removeAttributeNS(Lt,Ve):et.removeAttribute(`${yt}:${Ve}`)}else et.removeAttribute(Ve)}addClass(et,Ve){et.classList.add(Ve)}removeClass(et,Ve){et.classList.remove(Ve)}setStyle(et,Ve,yt,Lt){Lt&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?et.style.setProperty(Ve,yt,Lt&n.RendererStyleFlags2.Important?"important":""):et.style[Ve]=yt}removeStyle(et,Ve,yt){yt&n.RendererStyleFlags2.DashCase?et.style.removeProperty(Ve):et.style[Ve]=""}setProperty(et,Ve,yt){et[Ve]=yt}setValue(et,Ve){et.nodeValue=Ve}listen(et,Ve,yt){if("string"==typeof et&&!(et=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,et)))throw new Error(`Unsupported event target ${et} for event ${Ve}`);return this.eventManager.addEventListener(et,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(et){return Ve=>{if("__ngUnwrap__"===Ve)return et;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>et(Ve)):et(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(et,Ve,yt,Lt,on,xn,Sn,_n){super(et,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Me(Lt.id,Lt.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(et){return et===this.hostEl?this.shadowRoot:et}appendChild(et,Ve){return super.appendChild(this.nodeOrShadowRoot(et),Ve)}insertBefore(et,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(et),Ve,yt)}removeChild(et,Ve){return super.removeChild(this.nodeOrShadowRoot(et),Ve)}parentNode(et){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(et)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(et,Ve,yt,Lt,on,xn,Sn,_n){super(et,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=Lt,this.styles=_n?Me(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(et,Ve,yt,Lt,on,xn,Sn,_n){const Mn=Lt+"-"+yt.id;super(et,Ve,yt,on,xn,Sn,_n,Mn),this.contentAttr=function A(qe){return $.replace(E,qe)}(Mn),this.hostAttr=function U(qe){return X.replace(E,qe)}(Mn)}applyToHost(et){this.applyStyles(),this.setAttribute(et,this.hostAttr,"")}createElement(et,Ve){const yt=super.createElement(et,Ve);return super.setAttribute(yt,this.contentAttr,""),yt}}let Be=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return!0}addEventListener(Ve,yt,Lt){return Ve.addEventListener(yt,Lt,!1),()=>this.removeEventListener(Ve,yt,Lt)}removeEventListener(Ve,yt,Lt){return Ve.removeEventListener(yt,Lt)}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const G=["alt","control","meta","shift"],re={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},se={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ye=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,Lt){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,Lt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),Lt=yt.shift();if(0===yt.length||"keydown"!==Lt&&"keyup"!==Lt)return null;const on=qe._normalizeKey(yt.pop());let xn="",Sn=yt.indexOf("code");if(Sn>-1&&(yt.splice(Sn,1),xn="code."),G.forEach(Mn=>{const xi=yt.indexOf(Mn);xi>-1&&(yt.splice(xi,1),xn+=Mn+".")}),xn+=on,0!=yt.length||0===on.length)return null;const _n={};return _n.domEventName=Lt,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let Lt=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(Lt=Ve.code,on="code."),!(null==Lt||!Lt)&&(Lt=Lt.toLowerCase()," "===Lt?Lt="space":"."===Lt&&(Lt="dot"),G.forEach(xn=>{xn!==Lt&&(0,se[xn])(Ve)&&(on+=xn+".")}),on+=Lt,on===yt)}static eventCallback(Ve,yt,Lt){return on=>{qe.matchEventFullKeyCode(on,Ve)&&Lt.runGuarded(()=>yt(on))}}static _normalizeKey(Ve){return"esc"===Ve?"escape":Ve}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();function He(qe,et){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(et)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:gt}}function We(){return[...kt]}function tt(){r.makeCurrent()}const gt=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Ft(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",gt),Tt=new n.InjectionToken(""),kt=[{provide:n.\u0275TESTABILITY_GETTER,useClass:b,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],Le=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Mt(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ye,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let ct=(()=>{class qe{constructor(Ve){}static withServerTransition(Ve){return{ngModule:qe,providers:[{provide:n.APP_ID,useValue:Ve.appId}]}}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(Tt,12))},qe.\u0275mod=n.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Le,...kt],imports:[c.CommonModule,n.ApplicationModule]}),qe})(),at=(()=>{class qe{constructor(Ve){this._doc=Ve,this._dom=(0,c.\u0275getDOM)()}addTag(Ve,yt=!1){return Ve?this._getOrCreateElement(Ve,yt):null}addTags(Ve,yt=!1){return Ve?Ve.reduce((Lt,on)=>(on&&Lt.push(this._getOrCreateElement(on,yt)),Lt),[]):[]}getTag(Ve){return Ve&&this._doc.querySelector(`meta[${Ve}]`)||null}getTags(Ve){if(!Ve)return[];const yt=this._doc.querySelectorAll(`meta[${Ve}]`);return yt?[].slice.call(yt):[]}updateTag(Ve,yt){if(!Ve)return null;yt=yt||this._parseSelector(Ve);const Lt=this.getTag(yt);return Lt?this._setMetaElementAttributes(Ve,Lt):this._getOrCreateElement(Ve,!0)}removeTag(Ve){this.removeTagElement(this.getTag(Ve))}removeTagElement(Ve){Ve&&this._dom.remove(Ve)}_getOrCreateElement(Ve,yt=!1){if(!yt){const xn=this._parseSelector(Ve),Sn=this.getTags(xn).filter(_n=>this._containsAttributes(Ve,_n))[0];if(void 0!==Sn)return Sn}const Lt=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,Lt),this._doc.getElementsByTagName("head")[0].appendChild(Lt),Lt}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(Lt=>yt.setAttribute(this._getMetaKeyMap(Lt),Ve[Lt])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(Lt=>yt.getAttribute(this._getMetaKeyMap(Lt))===Ve[Lt])}_getMetaKeyMap(Ve){return N[Ve]||Ve}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new Ve:function ze(){return new at((0,n.\u0275\u0275inject)(c.DOCUMENT))}(),yt},providedIn:"root"}),qe})();const N={httpEquiv:"http-equiv"};let Y=(()=>{class qe{constructor(Ve){this._doc=Ve}getTitle(){return this._doc.title}setTitle(Ve){this._doc.title=Ve||""}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new Ve:function oe(){return new Y((0,n.\u0275\u0275inject)(c.DOCUMENT))}(),yt},providedIn:"root"}),qe})();function ne(qe,et){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=et)}const Q=typeof window<"u"&&window||{};class ue{constructor(et,Ve){this.msPerTick=et,this.numTicks=Ve}}class Te{constructor(et){this.appRef=et.injector.get(n.ApplicationRef)}timeChangeDetection(et){const Ve=et&&et.record,yt="Change Detection",Lt=null!=Q.console.profile;Ve&&Lt&&Q.console.profile(yt);const on=Ct();let xn=0;for(;xn<5||Ct()-on<500;)this.appRef.tick(),xn++;const Sn=Ct();Ve&&Lt&&Q.console.profileEnd(yt);const _n=(Sn-on)/xn;return Q.console.log(`ran ${xn} change detection cycles`),Q.console.log(`${_n.toFixed(2)} ms per check`),new ue(_n,xn)}}function Ct(){return Q.performance&&Q.performance.now?Q.performance.now():(new Date).getTime()}const dt="profiler";function bt(qe){return ne(dt,new Te(qe)),qe}function Oe(){ne(dt,null)}class ge{static all(){return()=>!0}static css(et){return Ve=>null!=Ve.nativeElement&&function ot(qe,et){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(et)||qe.msMatchesSelector&&qe.msMatchesSelector(et)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(et))}(Ve.nativeElement,et)}static directive(et){return Ve=>-1!==Ve.providerTokens.indexOf(et)}}const At={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Nt=new n.InjectionToken("HammerGestureConfig"),zt=new n.InjectionToken("HammerLoader");let Ne=(()=>{class qe{constructor(){this.events=[],this.overrides={}}buildHammer(Ve){const yt=new Hammer(Ve,this.options);yt.get("pinch").set({enable:!0}),yt.get("rotate").set({enable:!0});for(const Lt in this.overrides)yt.get(Lt).set(this.overrides[Lt]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),$e=(()=>{class qe extends y{constructor(Ve,yt,Lt,on){super(Ve),this._config=yt,this.console=Lt,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!At.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,Lt){const on=this.manager.getZone();if(yt=yt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||on.runOutsideAngular(()=>this.loader());let xn=!1,Sn=()=>{xn=!0};return on.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?xn||(Sn=this.addEventListener(Ve,yt,Lt)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){Lt(_n)})};return xn.on(yt,Sn),()=>{xn.off(yt,Sn),"function"==typeof xn.destroy&&xn.destroy()}})}isCustomEvent(Ve){return this._config.events.indexOf(Ve)>-1}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(Nt),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(zt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),ae=(()=>{class qe{}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275mod=n.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:_,useClass:$e,multi:!0,deps:[c.DOCUMENT,Nt,n.\u0275Console,[new n.Optional,zt]]},{provide:Nt,useClass:Ne,deps:[]}]}),qe})(),Ce=(()=>{class qe{}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new(Ve||qe):n.\u0275\u0275inject(_e),yt},providedIn:"root"}),qe})(),_e=(()=>{class qe extends Ce{constructor(Ve){super(),this._doc=Ve}sanitize(Ve,yt){if(null==yt)return null;switch(Ve){case n.SecurityContext.NONE:return yt;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(yt,"HTML")?(0,n.\u0275unwrapSafeValue)(yt):(0,n.\u0275_sanitizeHtml)(this._doc,String(yt)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(yt,"Style")?(0,n.\u0275unwrapSafeValue)(yt):yt;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(yt,"Script"))return(0,n.\u0275unwrapSafeValue)(yt);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(yt,"URL")?(0,n.\u0275unwrapSafeValue)(yt):(0,n.\u0275_sanitizeUrl)(String(yt));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(yt,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(yt);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Ve){return(0,n.\u0275bypassSanitizationTrustHtml)(Ve)}bypassSecurityTrustStyle(Ve){return(0,n.\u0275bypassSanitizationTrustStyle)(Ve)}bypassSecurityTrustScript(Ve){return(0,n.\u0275bypassSanitizationTrustScript)(Ve)}bypassSecurityTrustUrl(Ve){return(0,n.\u0275bypassSanitizationTrustUrl)(Ve)}bypassSecurityTrustResourceUrl(Ve){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(Ve)}}return qe.\u0275fac=function(Ve){return new(Ve||qe)(n.\u0275\u0275inject(c.DOCUMENT))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:function(Ve){let yt=null;return yt=Ve?new Ve:function lt(qe){return new _e(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,et=[]){return{\u0275kind:qe,\u0275providers:et}}function De(){return Ye(0)}function F(){return Ye(1)}function K(...qe){const et=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:Lt}of qe)Ve.add(Lt),yt.length&&et.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),et])}const ve=new n.Version("16.1.7"),ut=n.makeStateKey,Pt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>xt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>le,DefaultTitleStrategy:()=>mr,DefaultUrlSerializer:()=>Te,GuardsCheckEnd:()=>Wn,GuardsCheckStart:()=>Rn,NavigationCancel:()=>ti,NavigationEnd:()=>$n,NavigationError:()=>mn,NavigationSkipped:()=>an,NavigationStart:()=>_i,NoPreloading:()=>pr,OutletContext:()=>me,PRIMARY_OUTLET:()=>Be,PreloadAllModules:()=>Zn,PreloadingStrategy:()=>Dr,ROUTER_CONFIGURATION:()=>Z,ROUTER_INITIALIZER:()=>Fa,ROUTES:()=>kr,ResolveEnd:()=>Yn,ResolveStart:()=>mi,RouteConfigLoadEnd:()=>ri,RouteConfigLoadStart:()=>wi,RouteReuseStrategy:()=>di,Router:()=>Jn,RouterEvent:()=>Xn,RouterLink:()=>Oi,RouterLinkActive:()=>er,RouterLinkWithHref:()=>Oi,RouterModule:()=>Ls,RouterOutlet:()=>ei,RouterPreloader:()=>Qr,RouterState:()=>pn,RouterStateSnapshot:()=>Gi,RoutesRecognized:()=>Tn,Scroll:()=>ke,TitleStrategy:()=>Xi,UrlHandlingStrategy:()=>Ue,UrlSegment:()=>oe,UrlSegmentGroup:()=>N,UrlSerializer:()=>ue,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>se,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ye,mapToCanActivate:()=>Os,mapToCanActivateChild:()=>Va,mapToCanDeactivate:()=>rc,mapToCanMatch:()=>Ba,mapToResolve:()=>Rs,provideRouter:()=>ql,provideRoutes:()=>tc,withComponentInputBinding:()=>As,withDebugTracing:()=>lr,withDisabledInitialNavigation:()=>ka,withEnabledBlockingInitialNavigation:()=>La,withHashLocation:()=>Ra,withInMemoryScrolling:()=>Is,withNavigationErrorHandler:()=>Pa,withPreloading:()=>Eo,withRouterConfig:()=>zr,\u0275EmptyOutletComponent:()=>Pn,\u0275ROUTER_PROVIDERS:()=>hr,\u0275afterNextNavigation:()=>Kt});var n=a(5879),c=a(2664),d=a(2459),g=a(2096),r=a(5619),h=a(2572),f=a(6973),u=a(34),v=a(4911),b=a(8407),p=a(8504),_=a(6232),l=a(3168),y=a(8645),x=a(6814),D=a(7398),S=a(4664),E=a(8180),I=a(7921),X=a(2181),$=a(9769),ee=a(1374),ie=a(6328),A=a(9397),U=a(6306),Me=a(6424),Re=a(3572),Ae=a(2032),he=a(4418),H=a(975),W=a(4716),pe=a(6196),we=a(7537),Ee=a(6593);const Be="primary",G=Symbol("RouteTitle");class re{constructor(j){this.params=j||{}}has(j){return Object.prototype.hasOwnProperty.call(this.params,j)}get(j){if(this.has(j)){const w=this.params[j];return Array.isArray(w)?w[0]:w}return null}getAll(j){if(this.has(j)){const w=this.params[j];return Array.isArray(w)?w:[w]}return[]}get keys(){return Object.keys(this.params)}}function se(k){return new re(k)}function ye(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[it]===Se)}return k===j}function We(k){return k.length>0?k[k.length-1]:null}function tt(k){return(0,c.b)(k)?k:(0,n.\u0275isPromise)(k)?(0,d.D)(Promise.resolve(k)):(0,g.of)(k)}const Mt={exact:function Tt(k,j,w){if(!ne(k.segments,j.segments)||!ze(k.segments,j.segments,w)||k.numberOfChildren!==j.numberOfChildren)return!1;for(const q in j.children)if(!k.children[q]||!Tt(k.children[q],j.children[q],w))return!1;return!0},subset:Le},Ft={exact:function Bt(k,j){return Ze(k,j)},subset:function kt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function gt(k,j,w){return Mt[w.paths](k.root,j.root,w.matrixParams)&&Ft[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return ct(k,j,j.segments,w)}function ct(k,j,w,q){if(k.segments.length>w.length){const Se=k.segments.slice(0,w.length);return!(!ne(Se,w)||j.hasChildren()||!ze(Se,w,q))}if(k.segments.length===w.length){if(!ne(k.segments,w)||!ze(k.segments,w,q))return!1;for(const Se in j.children)if(!k.children[Se]||!Le(k.children[Se],j.children[Se],q))return!1;return!0}{const Se=w.slice(0,k.segments.length),it=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&&ct(k.children[Be],j,it,q)}}function ze(k,j,w){return j.every((q,Se)=>Ft[w](k[Se].parameters,q.parameters))}class at{constructor(j=new N([],{}),w={},q=null){this.root=j,this.queryParams=w,this.fragment=q}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=se(this.queryParams)),this._queryParamMap}toString(){return Ct.serialize(this)}}class N{constructor(j,w){this.segments=j,this.children=w,this.parent=null,Object.values(w).forEach(q=>q.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class oe{constructor(j,w){this.path=j,this.parameters=w}get parameterMap(){return this._parameterMap||(this._parameterMap=se(this.parameters)),this._parameterMap}toString(){return Ne(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ue=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return new Te},providedIn:"root"}),k})();class Te{parse(j){const w=new ve(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${bt(j.root,!0)}`,q=function ae(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${ge(w)}=${ge(Se)}`).join("&"):`${ge(w)}=${ge(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function ot(k){return encodeURI(k)}(j.fragment)}`:""}`}}const Ct=new Te;function dt(k){return k.segments.map(j=>Ne(j)).join("/")}function bt(k,j){if(!k.hasChildren())return dt(k);if(j){const w=k.children[Be]?bt(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,it])=>{Se!==Be&&q.push(`${Se}:${bt(it,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function Q(k,j){let w=[];return Object.entries(k.children).forEach(([q,Se])=>{q===Be&&(w=w.concat(j(Se,q)))}),Object.entries(k.children).forEach(([q,Se])=>{q!==Be&&(w=w.concat(j(Se,q)))}),w}(k,(q,Se)=>Se===Be?[bt(k.children[Be],!1)]:[`${Se}:${bt(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${dt(k)}/${w[0]}`:`${dt(k)}/(${w.join("//")})`}}function Oe(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ge(k){return Oe(k).replace(/%3B/gi,";")}function At(k){return Oe(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nt(k){return decodeURIComponent(k)}function zt(k){return Nt(k.replace(/\+/g,"%20"))}function Ne(k){return`${At(k.path)}${function $e(k){return Object.keys(k).map(j=>`;${At(j)}=${At(k[j])}`).join("")}(k.parameters)}`}const Ce=/^[^\/()?;#]+/;function lt(k){const j=k.match(Ce);return j?j[0]:""}const _e=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class ve{constructor(j){this.url=j,this.remaining=j}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new N([],{}):new N([],this.parseChildren())}parseQueryParams(){const j={};if(this.consumeOptional("?"))do{this.parseQueryParam(j)}while(this.consumeOptional("&"));return j}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const j=[];for(this.peekStartsWith("(")||j.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),j.push(this.parseSegment());let w={};this.peekStartsWith("/(")&&(this.capture("/"),w=this.parseParens(!0));let q={};return this.peekStartsWith("(")&&(q=this.parseParens(!1)),(j.length>0||Object.keys(w).length>0)&&(q[Be]=new N(j,w)),q}parseSegment(){const j=lt(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Nt(j),this.parseMatrixParams())}parseMatrixParams(){const j={};for(;this.consumeOptional(";");)this.parseParam(j);return j}parseParam(j){const w=function Ye(k){const j=k.match(_e);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=lt(this.remaining);Se&&(q=Se,this.capture(q))}j[Nt(w)]=Nt(q)}parseQueryParam(j){const w=function F(k){const j=k.match(De);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const st=function K(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=zt(w),it=zt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(it)}else j[Se]=it}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=lt(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let it;q.indexOf(":")>-1?(it=q.slice(0,q.indexOf(":")),this.capture(it),this.capture(":")):j&&(it=Be);const st=this.parseChildren();w[it]=1===Object.keys(st).length?st[Be]:new N([],st),this.consumeOptional("//")}return w}peekStartsWith(j){return this.remaining.startsWith(j)}consumeOptional(j){return!!this.peekStartsWith(j)&&(this.remaining=this.remaining.substring(j.length),!0)}capture(j){if(!this.consumeOptional(j))throw new n.\u0275RuntimeError(4011,!1)}}function ut(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Pt(k){const j={};for(const q of Object.keys(k.children)){const it=Pt(k.children[q]);if(q===Be&&0===it.segments.length&&it.hasChildren())for(const[st,Vt]of Object.entries(it.children))j[st]=Vt;else(it.segments.length>0||it.hasChildren())&&(j[q]=it)}return function qe(k){if(1===k.numberOfChildren&&k.children[Be]){const j=k.children[Be];return new N(k.segments.concat(j.segments),j.children)}return k}(new N(k.segments,j))}function et(k){return k instanceof at}function Ve(k,j,w=null,q=null){return Lt(yt(k),j,w,q)}function yt(k){let j;const Se=ut(function w(it){const st={};for(const hn of it.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(it.url,st);return it===k&&(j=Vt),Vt}(k.root));return j??Se}function Lt(k,j,w,q){let Se=k;for(;Se.parent;)Se=Se.parent;if(0===j.length)return Sn(Se,Se,Se,w,q);const it=function xi(k){if("string"==typeof k[0]&&1===k.length&&"/"===k[0])return new Mn(!0,0,k);let j=0,w=!1;const q=k.reduce((Se,it,st)=>{if("object"==typeof it&&null!=it){if(it.outlets){const Vt={};return Object.entries(it.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(it.segmentPath)return[...Se,it.segmentPath]}return"string"!=typeof it?[...Se,it]:0===st?(it.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,it]},[]);return new Mn(w,j,q)}(j);if(it.toRoot())return Sn(Se,Se,new N([],{}),w,q);const st=function Vi(k,j,w){if(k.isAbsolute)return new fi(j,!0,0);if(!w)return new fi(j,!1,NaN);if(null===w.parent)return new fi(w,!0,0);const q=on(k.commands[0])?0:1;return function Yi(k,j,w){let q=k,Se=j,it=w;for(;it>Se;){if(it-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-it)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(it,Se,k),Vt=st.processChildren?mt(st.segmentGroup,st.index,it.commands):_t(st.segmentGroup,st.index,it.commands);return Sn(Se,st.segmentGroup,Vt,w,q)}function on(k){return"object"==typeof k&&null!=k&&!k.outlets&&!k.segmentPath}function xn(k){return"object"==typeof k&&null!=k&&k.outlets}function Sn(k,j,w,q,Se){let st,it={};q&&Object.entries(q).forEach(([hn,An])=>{it[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=ut(Pt(st));return new at(Vt,it,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,it])=>{q[Se]=it===j?w:_n(it,j,w)}),new N(k.segments,q)}class Mn{constructor(j,w,q){if(this.isAbsolute=j,this.numberOfDoubleDots=w,this.commands=q,j&&q.length>0&&on(q[0]))throw new n.\u0275RuntimeError(4003,!1);const Se=q.find(xn);if(Se&&Se!==We(q))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fi{constructor(j,w,q){this.segmentGroup=j,this.processChildren=w,this.index=q}}function _t(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return mt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const it={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return it;const st=k.segments[Se],Vt=w[q];if(xn(Vt))break;const hn=`${Vt}`,An=q0&&void 0===hn)break;if(hn&&An&&"object"==typeof An&&void 0===An.outlets){if(!Nn(hn,An,st))return it;q+=2}else{if(!Nn(hn,{},st))return it;q++}Se++}return{match:!0,pathIndex:Se,commandIndex:q}}(k,j,w),Se=w.slice(q.commandIndex);if(q.match&&q.pathIndex{"string"==typeof st&&(st=[st]),null!==st&&(Se[it]=_t(k.children[it],j,st))}),Object.entries(k.children).forEach(([it,st])=>{void 0===q[it]&&(Se[it]=st)}),new N(k.segments,Se)}}function nn(k,j,w){const q=k.segments.slice(0,j);let Se=0;for(;Se{"string"==typeof q&&(q=[q]),null!==q&&(j[w]=nn(new N([],{}),0,q))}),j}function sn(k){const j={};return Object.entries(k).forEach(([w,q])=>j[w]=`${q}`),j}function Nn(k,j,w){return k==w.path&&Ze(j,w.parameters)}const wn="imperative";class Xn{constructor(j,w){this.id=j,this.url=w}}class _i extends Xn{constructor(j,w,q="imperative",Se=null){super(j,w),this.type=0,this.navigationTrigger=q,this.restoredState=Se}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $n extends Xn{constructor(j,w,q){super(j,w),this.urlAfterRedirects=q,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ti extends Xn{constructor(j,w,q,Se){super(j,w),this.reason=q,this.code=Se,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class an extends Xn{constructor(j,w,q,Se){super(j,w),this.reason=q,this.code=Se,this.type=16}}class mn extends Xn{constructor(j,w,q,Se){super(j,w),this.error=q,this.target=Se,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Tn extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rn extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wn extends Xn{constructor(j,w,q,Se,it){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=it,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class mi extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yn extends Xn{constructor(j,w,q,Se){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wi{constructor(j){this.route=j,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ri{constructor(j){this.route=j,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ai{constructor(j){this.snapshot=j,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ni{constructor(j){this.snapshot=j,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xt{constructor(j){this.snapshot=j,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jt{constructor(j){this.snapshot=j,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ke{constructor(j,w,q){this.routerEvent=j,this.position=w,this.anchor=q,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class me{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new le,this.attachRef=null}}let le=(()=>{class k{constructor(){this.contexts=new Map}onChildOutletCreated(w,q){const Se=this.getOrCreateContext(w);Se.outlet=q,this.contexts.set(w,Se)}onChildOutletDestroyed(w){const q=this.getContext(w);q&&(q.outlet=null,q.attachRef=null)}onOutletDeactivated(){const w=this.contexts;return this.contexts=new Map,w}onOutletReAttached(w){this.contexts=w}getOrCreateContext(w){let q=this.getContext(w);return q||(q=new me,this.contexts.set(w,q)),q}getContext(w){return this.contexts.get(w)||null}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();class Xe{constructor(j){this._root=j}get root(){return this._root.value}parent(j){const w=this.pathFromRoot(j);return w.length>1?w[w.length-2]:null}children(j){const w=Ot(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=Ot(j,this._root);return w&&w.children.length>0?w.children[0].value:null}siblings(j){const w=Wt(j,this._root);return w.length<2?[]:w[w.length-2].children.map(Se=>Se.value).filter(Se=>Se!==j)}pathFromRoot(j){return Wt(j,this._root).map(w=>w.value)}}function Ot(k,j){if(k===j.value)return j;for(const w of j.children){const q=Ot(k,w);if(q)return q}return null}function Wt(k,j){if(k===j.value)return[j];for(const w of j.children){const q=Wt(k,w);if(q.length)return q.unshift(j),q}return[]}class un{constructor(j,w){this.value=j,this.children=w}toString(){return`TreeNode(${this.value})`}}function gn(k){const j={};return k&&k.children.forEach(w=>j[w.value.outlet]=w),j}class pn extends Xe{constructor(j,w){super(j),this.snapshot=w,fn(this,j)}toString(){return this.snapshot.toString()}}function si(k,j){const w=function jn(k,j){const st=new Fi([],{},{},"",{},Be,j,null,{});return new Gi("",new un(st,[]))}(0,j),q=new r.X([new oe("",{})]),Se=new r.X({}),it=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,it,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,it,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=it,this.outlet=st,this.component=Vt,this._futureSnapshot=hn,this.title=this.dataSubject?.pipe((0,D.U)(An=>An[G]))??(0,g.of)(void 0),this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=it}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,D.U)(j=>se(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>se(j)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function bi(k,j="emptyOnly"){const w=k.pathFromRoot;let q=0;if("always"!==j)for(q=w.length-1;q>=1;){const Se=w[q],it=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(it.component)break;q--}}return function Ti(k){return k.reduce((j,w)=>({params:{...j.params,...w.params},data:{...j.data,...w.data},resolve:{...w.data,...j.resolve,...w.routeConfig?.data,...w._resolvedData}}),{params:{},data:{},resolve:{}})}(w.slice(q))}class Fi{get title(){return this.data?.[G]}constructor(j,w,q,Se,it,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=it,this.outlet=st,this.component=Vt,this.routeConfig=hn,this._resolve=An}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=se(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=se(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(q=>q.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Gi extends Xe{constructor(j,w){super(w),this.url=j,fn(this,w)}toString(){return Cn(this._root)}}function fn(k,j){j.value._routerState=k,j.children.forEach(w=>fn(k,w))}function Cn(k){const j=k.children.length>0?` { ${k.children.map(Cn).join(", ")} } `:"";return`${k.value}${j}`}function tn(k){if(k.snapshot){const j=k.snapshot,w=k._futureSnapshot;k.snapshot=w,Ze(j.queryParams,w.queryParams)||k.queryParamsSubject.next(w.queryParams),j.fragment!==w.fragment&&k.fragmentSubject.next(w.fragment),Ze(j.params,w.params)||k.paramsSubject.next(w.params),function He(k,j){if(k.length!==j.length)return!1;for(let w=0;wZe(w.parameters,j[q].parameters))}(k.url,j.url);return w&&!(!k.parent!=!j.parent)&&(!k.parent||En(k.parent,j.parent))}let ei=(()=>{class k{constructor(){this.activated=null,this._activatedRoute=null,this.name=Be,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(le),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(tr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(w){if(w.name){const{firstChange:q,previousValue:Se}=w.name;if(q)return;this.isTrackedInParentContexts(Se)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Se)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(w){return this.parentContexts.getContext(w)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const w=this.parentContexts.getContext(this.name);w?.route&&(w.attachRef?this.attach(w.attachRef,w.route):this.activateWith(w.route,w.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const w=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(w.instance),w}attach(w,q){this.activated=w,this._activatedRoute=q,this.location.insert(w.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(w.instance)}deactivate(){if(this.activated){const w=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(w)}}activateWith(w,q){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=w;const Se=this.location,st=w.snapshot.component,Vt=this.parentContexts.getOrCreateContext(this.name).children,hn=new Ei(w,Vt,Se.injector);this.activated=Se.createComponent(st,{index:Se.length,injector:hn,environmentInjector:q??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();class Ei{constructor(j,w,q){this.route=j,this.childContexts=w,this.parent=q}get(j,w){return j===Fn?this.route:j===le?this.childContexts:this.parent.get(j,w)}}const tr=new n.InjectionToken("");let Ai=(()=>{class k{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(w){this.unsubscribeFromRouteData(w),this.subscribeToRouteData(w)}unsubscribeFromRouteData(w){this.outletDataSubscriptions.get(w)?.unsubscribe(),this.outletDataSubscriptions.delete(w)}subscribeToRouteData(w){const{activatedRoute:q}=w,Se=(0,h.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([it,st,Vt],hn)=>(Vt={...it,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(it=>{if(!w.isActivated||!w.activatedComponentRef||w.activatedRoute!==q||null===q.component)return void this.unsubscribeFromRouteData(w);const st=(0,n.reflectComponentType)(q.component);if(st)for(const{templateName:Vt}of st.inputs)w.activatedComponentRef.setInput(Vt,it[Vt]);else this.unsubscribeFromRouteData(w)});this.outletDataSubscriptions.set(w,Se)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();function yi(k,j,w){if(w&&k.shouldReuseRoute(j.value,w.value.snapshot)){const q=w.value;q._futureSnapshot=j.value;const Se=function Je(k,j,w){return j.children.map(q=>{for(const Se of w.children)if(k.shouldReuseRoute(q.value,Se.value.snapshot))return yi(k,q,Se);return yi(k,q)})}(k,j,w);return new un(q,Se)}{if(k.shouldAttach(j.value)){const it=k.retrieve(j.value);if(null!==it){const st=it.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Rt(k){return new Fn(new r.X(k.url),new r.X(k.params),new r.X(k.queryParams),new r.X(k.fragment),new r.X(k.data),k.outlet,k.component,k)}(j.value),Se=j.children.map(it=>yi(k,it));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=et(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Pe(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Pe(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function rt(k){return Zt(k)&&et(k.url)}function Zt(k){return k&&k[C]}let Pn=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275cmp=n.\u0275\u0275defineComponent({type:k,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(w,q){1&w&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[ei],encapsulation:2}),k})();function St(k){const j=k.children&&k.children.map(St),w=j?{...k,children:j}:{...k};return!w.component&&!w.loadComponent&&(j||w.loadChildren)&&w.outlet&&w.outlet!==Be&&(w.component=Pn),w}function Ht(k){return k.outlet||Be}function Jt(k){if(!k)return null;if(k.routeConfig?._injector)return k.routeConfig._injector;for(let j=k.parent;j;j=j.parent){const w=j.routeConfig;if(w?._loadedInjector)return w._loadedInjector;if(w?._injector)return w._injector}return null}class Vn{constructor(j,w,q,Se,it){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=it}activate(j){const w=this.futureState._root,q=this.currState?this.currState._root:null;this.deactivateChildRoutes(w,q,j),tn(this.futureState.root),this.activateChildRoutes(w,q,j)}deactivateChildRoutes(j,w,q){const Se=gn(w);j.children.forEach(it=>{const st=it.value.outlet;this.deactivateRoutes(it,Se[st],q),delete Se[st]}),Object.values(Se).forEach(it=>{this.deactivateRouteAndItsChildren(it,q)})}deactivateRoutes(j,w,q){const Se=j.value,it=w?w.value:null;if(Se===it)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else it&&this.deactivateRouteAndItsChildren(w,q)}deactivateRouteAndItsChildren(j,w){j.value.component&&this.routeReuseStrategy.shouldDetach(j.value.snapshot)?this.detachAndStoreRouteSubtree(j,w):this.deactivateRouteAndOutlet(j,w)}detachAndStoreRouteSubtree(j,w){const q=w.getContext(j.value.outlet),Se=q&&j.value.component?q.children:w,it=gn(j);for(const st of Object.keys(it))this.deactivateRouteAndItsChildren(it[st],Se);if(q&&q.outlet){const st=q.outlet.detach(),Vt=q.children.onOutletDeactivated();this.routeReuseStrategy.store(j.value.snapshot,{componentRef:st,route:j,contexts:Vt})}}deactivateRouteAndOutlet(j,w){const q=w.getContext(j.value.outlet),Se=q&&j.value.component?q.children:w,it=gn(j);for(const st of Object.keys(it))this.deactivateRouteAndItsChildren(it[st],Se);q&&(q.outlet&&(q.outlet.deactivate(),q.children.onOutletDeactivated()),q.attachRef=null,q.route=null)}activateChildRoutes(j,w,q){const Se=gn(w);j.children.forEach(it=>{this.activateRoutes(it,Se[it.value.outlet],q),this.forwardEvent(new jt(it.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,it=w?w.value:null;if(tn(Se),Se===it)if(Se.component){const st=q.getOrCreateContext(Se.outlet);this.activateChildRoutes(j,w,st.children)}else this.activateChildRoutes(j,w,q);else if(Se.component){const st=q.getOrCreateContext(Se.outlet);if(this.routeReuseStrategy.shouldAttach(Se.snapshot)){const Vt=this.routeReuseStrategy.retrieve(Se.snapshot);this.routeReuseStrategy.store(Se.snapshot,null),st.children.onOutletReAttached(Vt.contexts),st.attachRef=Vt.componentRef,st.route=Vt.route.value,st.outlet&&st.outlet.attach(Vt.componentRef,Vt.route.value),tn(Vt.route.value),this.activateChildRoutes(j,null,st.children)}else{const Vt=Jt(Se.snapshot);st.attachRef=null,st.route=Se,st.injector=Vt,st.outlet&&st.outlet.activateWith(Se,st.injector),this.activateChildRoutes(j,null,st.children)}}else this.activateChildRoutes(j,null,q)}}class On{constructor(j){this.path=j,this.route=this.path[this.path.length-1]}}class vi{constructor(j,w){this.component=j,this.route=w}}function ui(k,j,w){const q=k._root;return ni(q,j?j._root:null,w,[q.value])}function qn(k,j){const w=Symbol(),q=j.get(k,w);return q===w?"function"!=typeof k||(0,n.\u0275isInjectable)(k)?j.get(k):k:q}function ni(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const it=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const it=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&it.routeConfig===st.routeConfig){const hn=function Ii(k,j,w){if("function"==typeof w)return w(k,j);switch(w){case"pathParamsChange":return!ne(k.url,j.url);case"pathParamsOrQueryParamsChange":return!ne(k.url,j.url)||!Ze(k.queryParams,j.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!En(k,j)||!Ze(k.queryParams,j.queryParams);default:return!En(k,j)}}(st,it,it.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(it.data=st.data,it._resolvedData=st._resolvedData),ni(k,j,it.component?Vt?Vt.children:null:w,q,Se),hn&&Vt&&Vt.outlet&&Vt.outlet.isActivated&&Se.canDeactivateChecks.push(new vi(Vt.outlet.component,st))}else st&&Zi(j,Vt,Se),Se.canActivateChecks.push(new On(q)),ni(k,null,it.component?Vt?Vt.children:null:w,q,Se)})(st,it[st.value.outlet],w,q.concat([st.value]),Se),delete it[st.value.outlet]}),Object.entries(it).forEach(([st,Vt])=>Zi(Vt,w.getContext(st),Se)),Se}function Zi(k,j,w){const q=gn(k),Se=k.value;Object.entries(q).forEach(([it,st])=>{Zi(st,Se.component?j?j.children.getContext(it):null:j,w)}),w.canDeactivateChecks.push(new vi(Se.component&&j&&j.outlet&&j.outlet.isActivated?j.outlet.component:null,Se))}function Vr(k){return"function"==typeof k}function ro(k){return k instanceof f.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,h.a)(k.map(j=>j.pipe((0,E.q)(1),(0,I.O)(Sr)))).pipe((0,D.U)(j=>{for(const w of j)if(!0!==w){if(w===Sr)return Sr;if(!1===w||w instanceof at)return w}return!0}),(0,X.h)(j=>j!==Sr),(0,E.q)(1)))}function dr(k){return(0,b.z)((0,A.b)(j=>{if(et(j))throw te(0,j)}),(0,D.U)(j=>!0===j))}class Cr{constructor(j){this.segmentGroup=j||null}}class bo{constructor(j){this.urlTree=j}}function Rr(k){return(0,p._)(new Cr(k))}function oo(k){return(0,p._)(new bo(k))}class P{constructor(j,w){this.urlSerializer=j,this.urlTree=w}noMatchError(j){return new n.\u0275RuntimeError(4002,!1)}lineralizeSegments(j,w){let q=[],Se=w.root;for(;;){if(q=q.concat(Se.segments),0===Se.numberOfChildren)return(0,g.of)(q);if(Se.numberOfChildren>1||!Se.children[Be])return(0,p._)(new n.\u0275RuntimeError(4e3,!1));Se=Se.children[Be]}}applyRedirectCommands(j,w,q){return this.applyRedirectCreateUrlTree(w,this.urlSerializer.parse(w),j,q)}applyRedirectCreateUrlTree(j,w,q,Se){const it=this.createSegmentGroup(j,w.root,q,Se);return new at(it,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,it])=>{if("string"==typeof it&&it.startsWith(":")){const Vt=it.substring(1);q[Se]=w[Vt]}else q[Se]=it}),q}createSegmentGroup(j,w,q,Se){const it=this.createSegments(j,w.segments,q,Se);let st={};return Object.entries(w.children).forEach(([Vt,hn])=>{st[Vt]=this.createSegmentGroup(j,hn,q,Se)}),new N(it,st)}createSegments(j,w,q,Se){return w.map(it=>it.path.startsWith(":")?this.findPosParam(j,it,Se):this.findOrReturn(it,q))}findPosParam(j,w,q){const Se=q[w.path.substring(1)];if(!Se)throw new n.\u0275RuntimeError(4001,!1);return Se}findOrReturn(j,w){let q=0;for(const Se of w){if(Se.path===j.path)return w.splice(q),Se;q++}return j}}const de={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const it=nt(k,j,w);return it.matched?(q=function ji(k,j){return k.providers&&!k._injector&&(k._injector=(0,n.createEnvironmentInjector)(k.providers,j,`Route: ${k.path}`)),k._injector??j}(j,q),function or(k,j,w,q){const Se=j.canMatch;if(!Se||0===Se.length)return(0,g.of)(!0);const it=Se.map(st=>{const Vt=qn(st,k);return tt(function mo(k){return k&&Vr(k.canMatch)}(Vt)?Vt.canMatch(j,w):k.runInContext(()=>Vt(j,w)))});return(0,g.of)(it).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?it:{...de}))):(0,g.of)(it)}function nt(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...de}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ye)(w,k,j);if(!Se)return{...de};const it={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{it[Vt]=hn.path});const st=Se.consumed.length>0?{...it,...Se.consumed[Se.consumed.length-1].parameters}:it;return{matched:!0,consumedSegments:Se.consumed,remainingSegments:w.slice(Se.consumed.length),parameters:st,positionalParamSegments:Se.posParams??{}}}function It(k,j,w,q){return w.length>0&&function en(k,j,w){return w.some(q=>Ln(k,j,q)&&Ht(q)!==Be)}(k,w,q)?{segmentGroup:new N(j,Qt(q,new N(w,k.children))),slicedSegments:[]}:0===w.length&&function In(k,j,w){return w.some(q=>Ln(k,j,q))}(k,w,q)?{segmentGroup:new N(k.segments,Dt(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Dt(k,j,w,q,Se){const it={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});it[Ht(st)]=Vt}return{...Se,...it}}function Qt(k,j){const w={};w[Be]=j;for(const q of k)if(""===q.path&&Ht(q)!==Be){const Se=new N([],{});w[Ht(q)]=Se}return w}function Ln(k,j,w){return(!(k.hasChildren()||j.length>0)||"full"!==w.pathMatch)&&""===w.path}class ii{constructor(j,w,q,Se,it,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=it,this.paramsInheritanceStrategy=st,this.urlSerializer=Vt,this.allowRedirects=!0,this.applyRedirects=new P(this.urlSerializer,this.urlTree)}noMatchError(j){return new n.\u0275RuntimeError(4002,!1)}recognize(){const j=It(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,j,Be).pipe((0,U.K)(w=>{if(w instanceof bo)return this.allowRedirects=!1,this.urlTree=w.urlTree,this.match(w.urlTree);throw w instanceof Cr?this.noMatchError(w):w}),(0,D.U)(w=>{const q=new Fi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Be,this.rootComponentType,null,{}),Se=new un(q,w),it=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,it.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(it._root),{state:it,tree:st}}))}match(j){return this.processSegmentGroup(this.injector,this.config,j.root,Be).pipe((0,U.K)(q=>{throw q instanceof Cr?this.noMatchError(q):q}))}inheritParamsAndData(j){const w=j.value,q=bi(w,this.paramsInheritanceStrategy);w.params=Object.freeze(q.params),w.data=Object.freeze(q.data),j.children.forEach(Se=>this.inheritParamsAndData(Se))}processSegmentGroup(j,w,q,Se){return 0===q.segments.length&&q.hasChildren()?this.processChildren(j,w,q):this.processSegment(j,w,q,q.segments,Se,!0)}processChildren(j,w,q){const Se=[];for(const it of Object.keys(q.children))"primary"===it?Se.unshift(it):Se.push(it);return(0,d.D)(Se).pipe((0,ie.b)(it=>{const st=q.children[it],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,it);return this.processSegmentGroup(j,Vt,st,it)}),(0,Me.R)((it,st)=>(it.push(...st),it)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(it=>{if(null===it)return Rr(q);const st=Ki(it);return function Bi(k){k.sort((j,w)=>j.value.outlet===Be?-1:w.value.outlet===Be?1:j.value.outlet.localeCompare(w.value.outlet))}(st),(0,g.of)(st)}))}processSegment(j,w,q,Se,it,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,it,st).pipe((0,U.K)(hn=>{if(hn instanceof Cr)return(0,g.of)(null);throw hn}))),(0,ee.P)(Vt=>!!Vt),(0,U.K)(Vt=>{if(ro(Vt))return function li(k,j,w){return 0===j.length&&!k.children[w]}(q,Se,it)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,it,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||nt(j,k,w).matched)}(q,Se,it,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,it,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,it,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,it,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,it,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const it=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(it):this.applyRedirects.lineralizeSegments(q,it).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,it,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=nt(w,Se,it);if(!Vt)return Rr(w);const $i=this.applyRedirects.applyRedirectCommands(hn,Se.redirectTo,Kn);return Se.redirectTo.startsWith("/")?oo($i):this.applyRedirects.lineralizeSegments(Se,$i).pipe((0,$.z)(_r=>this.processSegment(j,q,w,_r.concat(An),st,!1)))}matchSegmentAgainstRoute(j,w,q,Se,it,st){let Vt;if("**"===q.path){const hn=Se.length>0?We(Se).parameters:{},An=new Fi(Se,hn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,nr(q),Ht(q),q.component??q._loadedComponent??null,q,Kr(q));Vt=(0,g.of)({snapshot:An,consumedSegments:[],remainingSegments:[]}),w.children={}}else Vt=Fe(w,q,Se,j).pipe((0,D.U)(({matched:hn,consumedSegments:An,remainingSegments:Kn,parameters:$i})=>hn?{snapshot:new Fi(An,$i,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,nr(q),Ht(q),q.component??q._loadedComponent??null,q,Kr(q)),consumedSegments:An,remainingSegments:Kn}:null));return Vt.pipe((0,S.w)(hn=>null===hn?Rr(w):this.getChildConfig(j=q._injector??j,q,Se).pipe((0,S.w)(({routes:An})=>{const Kn=q._loadedInjector??j,{snapshot:$i,consumedSegments:_r,remainingSegments:Ha}=hn,{segmentGroup:wo,slicedSegments:To}=It(w,_r,Ha,An);if(0===To.length&&wo.hasChildren())return this.processChildren(Kn,An,wo).pipe((0,D.U)(Fr=>null===Fr?null:[new un($i,Fr)]));if(0===An.length&&0===To.length)return(0,g.of)([new un($i,[])]);const Io=Ht(q)===it;return this.processSegment(Kn,An,wo,To,Io?Be:it,!0).pipe((0,D.U)(Fr=>[new un($i,Fr)]))}))))}getChildConfig(j,w,q){return w.children?(0,g.of)({routes:w.children,injector:j}):w.loadChildren?void 0!==w._loadedRoutes?(0,g.of)({routes:w._loadedRoutes,injector:w._loadedInjector}):function Wi(k,j,w,q){const Se=j.canLoad;if(void 0===Se||0===Se.length)return(0,g.of)(!0);const it=Se.map(st=>{const Vt=qn(st,k);return tt(function Oo(k){return k&&Vr(k.canLoad)}(Vt)?Vt.canLoad(j,w):k.runInContext(()=>Vt(j,w)))});return(0,g.of)(it).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(it=>{w._loadedRoutes=it.routes,w._loadedInjector=it.injector})):function T(k){return(0,p._)(Pe(!1,3))}())):(0,g.of)({routes:[],injector:j})}}function qi(k){const j=k.value.routeConfig;return j&&""===j.path}function Ki(k){const j=[],w=new Set;for(const q of k){if(!qi(q)){j.push(q);continue}const Se=j.find(it=>q.value.routeConfig===it.value.routeConfig);void 0!==Se?(Se.children.push(...q.children),w.add(Se)):j.push(q)}for(const q of w){const Se=Ki(q.children);j.push(new un(q.value,Se))}return j.filter(q=>!w.has(q))}function nr(k){return k.data||{}}function Kr(k){return k.resolve||{}}function Yr(k){return"string"==typeof k.title||null===k.title}function Lr(k){return(0,S.w)(j=>{const w=k(j);return w?(0,d.D)(w).pipe((0,D.U)(()=>j)):(0,g.of)(j)})}const kr=new n.InjectionToken("ROUTES");let ao=(()=>{class k{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(w){if(this.componentLoaders.get(w))return this.componentLoaders.get(w);if(w._loadedComponent)return(0,g.of)(w._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(w);const q=tt(w.loadComponent()).pipe((0,D.U)(Hn),(0,A.b)(it=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=it}),(0,W.x)(()=>{this.componentLoaders.delete(w)})),Se=new l.c(q,()=>new y.x).pipe((0,pe.x)());return this.componentLoaders.set(w,Se),Se}loadChildren(w,q){if(this.childrenLoaders.get(q))return this.childrenLoaders.get(q);if(q._loadedRoutes)return(0,g.of)({routes:q._loadedRoutes,injector:q._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(q);const it=this.loadModuleFactoryOrRoutes(q.loadChildren).pipe((0,D.U)(Vt=>{this.onLoadEndListener&&this.onLoadEndListener(q);let hn,An;return Array.isArray(Vt)?An=Vt:(hn=Vt.create(w).injector,An=hn.get(kr,[],n.InjectFlags.Self|n.InjectFlags.Optional).flat()),{routes:An.map(St),injector:hn}}),(0,W.x)(()=>{this.childrenLoaders.delete(q)})),st=new l.c(it,()=>new y.x).pipe((0,pe.x)());return this.childrenLoaders.set(q,st),st}loadModuleFactoryOrRoutes(w){return tt(w()).pipe((0,D.U)(Hn),(0,$.z)(q=>q instanceof n.NgModuleFactory||Array.isArray(q)?(0,g.of)(q):(0,d.D)(this.compiler.compileModuleAsync(q))))}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function Hn(k){return function Bn(k){return k&&"object"==typeof k&&"default"in k}(k)?k.default:k}let Qn=(()=>{class k{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new y.x,this.configLoader=(0,n.inject)(ao),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(ue),this.rootContexts=(0,n.inject)(le),this.inputBindingEnabled=null!==(0,n.inject)(tr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,g.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Se=>this.events.next(new ri(Se)),this.configLoader.onLoadStartListener=Se=>this.events.next(new wi(Se))}complete(){this.transitions?.complete()}handleNavigationRequest(w){const q=++this.navigationId;this.transitions?.next({...this.transitions.value,...w,id:q})}setupNavigations(w){return this.transitions=new r.X({id:0,currentUrlTree:w.currentUrlTree,currentRawUrl:w.currentUrlTree,extractedUrl:w.urlHandlingStrategy.extract(w.currentUrlTree),urlAfterRedirects:w.urlHandlingStrategy.extract(w.currentUrlTree),rawUrl:w.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:wn,restoredState:null,currentSnapshot:w.routerState.snapshot,targetSnapshot:null,currentRouterState:w.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,X.h)(q=>0!==q.id),(0,D.U)(q=>({...q,extractedUrl:w.urlHandlingStrategy.extract(q.rawUrl)})),(0,S.w)(q=>{let Se=!1,it=!1;return(0,g.of)(q).pipe((0,A.b)(st=>{this.currentNavigation={id:st.id,initialUrl:st.rawUrl,extractedUrl:st.extractedUrl,trigger:st.source,extras:st.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,S.w)(st=>{const Vt=w.browserUrlTree.toString(),hn=!w.navigated||st.extractedUrl.toString()!==Vt||Vt!==w.currentUrlTree.toString();if(!hn&&"reload"!==(st.extras.onSameUrlNavigation??w.onSameUrlNavigation)){const Kn="";return this.events.next(new an(st.id,w.serializeUrl(q.rawUrl),Kn,0)),w.rawUrlTree=st.rawUrl,st.resolve(null),_.E}if(w.urlHandlingStrategy.shouldProcessUrl(st.rawUrl))return ci(st.source)&&(w.browserUrlTree=st.extractedUrl),(0,g.of)(st).pipe((0,S.w)(Kn=>{const $i=this.transitions?.getValue();return this.events.next(new _i(Kn.id,this.urlSerializer.serialize(Kn.extractedUrl),Kn.source,Kn.restoredState)),$i!==this.transitions?.getValue()?_.E:Promise.resolve(Kn)}),function Mr(k,j,w,q,Se,it){return(0,$.z)(st=>function Gn(k,j,w,q,Se,it,st="emptyOnly"){return new ii(k,j,w,q,Se,st,it).recognize()}(k,j,w,q,st.extractedUrl,Se,it).pipe((0,D.U)(({state:Vt,tree:hn})=>({...st,targetSnapshot:Vt,urlAfterRedirects:hn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,w.config,this.urlSerializer,w.paramsInheritanceStrategy),(0,A.b)(Kn=>{if(q.targetSnapshot=Kn.targetSnapshot,q.urlAfterRedirects=Kn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Kn.urlAfterRedirects},"eager"===w.urlUpdateStrategy){if(!Kn.extras.skipLocationChange){const _r=w.urlHandlingStrategy.merge(Kn.urlAfterRedirects,Kn.rawUrl);w.setBrowserUrl(_r,Kn)}w.browserUrlTree=Kn.urlAfterRedirects}const $i=new Tn(Kn.id,this.urlSerializer.serialize(Kn.extractedUrl),this.urlSerializer.serialize(Kn.urlAfterRedirects),Kn.targetSnapshot);this.events.next($i)}));if(hn&&w.urlHandlingStrategy.shouldProcessUrl(w.rawUrlTree)){const{id:Kn,extractedUrl:$i,source:_r,restoredState:Ha,extras:wo}=st,To=new _i(Kn,this.urlSerializer.serialize($i),_r,Ha);this.events.next(To);const Io=si(0,this.rootComponentType).snapshot;return q={...st,targetSnapshot:Io,urlAfterRedirects:$i,extras:{...wo,skipLocationChange:!1,replaceUrl:!1}},(0,g.of)(q)}{const Kn="";return this.events.next(new an(st.id,w.serializeUrl(q.extractedUrl),Kn,1)),w.rawUrlTree=st.rawUrl,st.resolve(null),_.E}}),(0,A.b)(st=>{const Vt=new Rn(st.id,this.urlSerializer.serialize(st.extractedUrl),this.urlSerializer.serialize(st.urlAfterRedirects),st.targetSnapshot);this.events.next(Vt)}),(0,D.U)(st=>q={...st,guards:ui(st.targetSnapshot,st.currentSnapshot,this.rootContexts)}),function go(k,j){return(0,$.z)(w=>{const{targetSnapshot:q,currentSnapshot:Se,guards:{canActivateChecks:it,canDeactivateChecks:st}}=w;return 0===st.length&&0===it.length?(0,g.of)({...w,guardsResult:!0}):function _o(k,j,w,q){return(0,d.D)(k).pipe((0,$.z)(Se=>function Dn(k,j,w,q,Se){const it=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!it||0===it.length)return(0,g.of)(!0);const st=it.map(Vt=>{const hn=Jt(j)??Se,An=qn(Vt,hn);return tt(function fo(k){return k&&Vr(k.canDeactivate)}(An)?An.canDeactivate(k,j,w,q):hn.runInContext(()=>An(k,j,w,q))).pipe((0,ee.P)())});return(0,g.of)(st).pipe(Ar())}(Se.component,Se.route,w,j,q)),(0,ee.P)(Se=>!0!==Se,!0))}(st,q,Se,k).pipe((0,$.z)(Vt=>Vt&&function no(k){return"boolean"==typeof k}(Vt)?function fe(k,j,w,q){return(0,d.D)(j).pipe((0,ie.b)(Se=>(0,u.z)(function J(k,j){return null!==k&&j&&j(new ai(k)),(0,g.of)(!0)}(Se.route.parent,q),function ce(k,j){return null!==k&&j&&j(new xt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],it=j.slice(0,j.length-1).reverse().map(st=>function Mi(k){const j=k.routeConfig?k.routeConfig.canActivateChild:null;return j&&0!==j.length?{node:k,guards:j}:null}(st)).filter(st=>null!==st).map(st=>(0,v.P)(()=>{const Vt=st.guards.map(hn=>{const An=Jt(st.node)??w,Kn=qn(hn,An);return tt(function Hr(k){return k&&Vr(k.canActivateChild)}(Kn)?Kn.canActivateChild(q,k):An.runInContext(()=>Kn(q,k))).pipe((0,ee.P)())});return(0,g.of)(Vt).pipe(Ar())}));return(0,g.of)(it).pipe(Ar())}(k,Se.path,w),function Ke(k,j,w){const q=j.routeConfig?j.routeConfig.canActivate:null;if(!q||0===q.length)return(0,g.of)(!0);const Se=q.map(it=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(it,st);return tt(function jr(k){return k&&Vr(k.canActivate)}(Vt)?Vt.canActivate(j,k):st.runInContext(()=>Vt(j,k))).pipe((0,ee.P)())}));return(0,g.of)(Se).pipe(Ar())}(k,Se.route,w))),(0,ee.P)(Se=>!0!==Se,!0))}(q,it,k,j):(0,g.of)(Vt)),(0,D.U)(Vt=>({...w,guardsResult:Vt})))})}(this.environmentInjector,st=>this.events.next(st)),(0,A.b)(st=>{if(q.guardsResult=st.guardsResult,et(st.guardsResult))throw te(0,st.guardsResult);const Vt=new Wn(st.id,this.urlSerializer.serialize(st.extractedUrl),this.urlSerializer.serialize(st.urlAfterRedirects),st.targetSnapshot,!!st.guardsResult);this.events.next(Vt)}),(0,X.h)(st=>!!st.guardsResult||(w.restoreHistory(st),this.cancelNavigationTransition(st,"",3),!1)),Lr(st=>{if(st.guards.canActivateChecks.length)return(0,g.of)(st).pipe((0,A.b)(Vt=>{const hn=new mi(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(hn)}),(0,S.w)(Vt=>{let hn=!1;return(0,g.of)(Vt).pipe(function rr(k,j){return(0,$.z)(w=>{const{targetSnapshot:q,guards:{canActivateChecks:Se}}=w;if(!Se.length)return(0,g.of)(w);let it=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,it=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(it[G]=Se.title),function Er(k,j,w,q){const Se=function fr(k){return[...Object.keys(k),...Object.getOwnPropertySymbols(k)]}(k);if(0===Se.length)return(0,g.of)({});const it={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,it=qn(k,Se);return tt(it.resolve?it.resolve(j,w):Se.runInContext(()=>it(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{it[st]=Vt}))),(0,he.h)(1),(0,H.h)(it),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(it,k,j,q).pipe((0,D.U)(st=>(k._resolvedData=st,k.data=bi(k,w).resolve,Se&&Yr(Se)&&(k.data[G]=Se.title),null)))}(st.route,q,k,j)),(0,A.b)(()=>it++),(0,he.h)(1),(0,$.z)(st=>it===Se.length?(0,g.of)(w):_.E))})}(w.paramsInheritanceStrategy,this.environmentInjector),(0,A.b)({next:()=>hn=!0,complete:()=>{hn||(w.restoreHistory(Vt),this.cancelNavigationTransition(Vt,"",2))}}))}),(0,A.b)(Vt=>{const hn=new Yn(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(hn)}))}),Lr(st=>{const Vt=hn=>{const An=[];hn.routeConfig?.loadComponent&&!hn.routeConfig._loadedComponent&&An.push(this.configLoader.loadComponent(hn.routeConfig).pipe((0,A.b)(Kn=>{hn.component=Kn}),(0,D.U)(()=>{})));for(const Kn of hn.children)An.push(...Vt(Kn));return An};return(0,h.a)(Vt(st.targetSnapshot.root)).pipe((0,Re.d)(),(0,E.q)(1))}),Lr(()=>this.afterPreactivation()),(0,D.U)(st=>{const Vt=function ar(k,j,w){const q=yi(k,j._root,w?w._root:void 0);return new pn(q,j)}(w.routeReuseStrategy,st.targetSnapshot,st.currentRouterState);return q={...st,targetRouterState:Vt}}),(0,A.b)(st=>{w.currentUrlTree=st.urlAfterRedirects,w.rawUrlTree=w.urlHandlingStrategy.merge(st.urlAfterRedirects,st.rawUrl),w.routerState=st.targetRouterState,"deferred"===w.urlUpdateStrategy&&(st.extras.skipLocationChange||w.setBrowserUrl(w.rawUrlTree,st),w.browserUrlTree=st.urlAfterRedirects)}),((k,j,w,q)=>(0,D.U)(Se=>(new Vn(j,Se.targetRouterState,Se.currentRouterState,w,q).activate(k),Se)))(this.rootContexts,w.routeReuseStrategy,st=>this.events.next(st),this.inputBindingEnabled),(0,E.q)(1),(0,A.b)({next:st=>{Se=!0,this.lastSuccessfulNavigation=this.currentNavigation,w.navigated=!0,this.events.next(new $n(st.id,this.urlSerializer.serialize(st.extractedUrl),this.urlSerializer.serialize(w.currentUrlTree))),w.titleStrategy?.updateTitle(st.targetRouterState.snapshot),st.resolve(!0)},complete:()=>{Se=!0}}),(0,W.x)(()=>{Se||it||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(it=!0,Zt(st)){rt(st)||(w.navigated=!0,w.restoreHistory(q,!0));const Vt=new ti(q.id,this.urlSerializer.serialize(q.extractedUrl),st.message,st.cancellationCode);if(this.events.next(Vt),rt(st)){const hn=w.urlHandlingStrategy.merge(st.url,w.rawUrlTree),An={skipLocationChange:q.extras.skipLocationChange,replaceUrl:"eager"===w.urlUpdateStrategy||ci(q.source)};w.scheduleNavigation(hn,wn,null,An,{resolve:q.resolve,reject:q.reject,promise:q.promise})}else q.resolve(!1)}else{w.restoreHistory(q,!0);const Vt=new mn(q.id,this.urlSerializer.serialize(q.extractedUrl),st,q.targetSnapshot??void 0);this.events.next(Vt);try{q.resolve(w.errorHandler(st))}catch(hn){q.reject(hn)}}return _.E}))}))}cancelNavigationTransition(w,q,Se){const it=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(it),w.resolve(!1)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function ci(k){return k!==wn}let Xi=(()=>{class k{buildTitle(w){let q,Se=w.root;for(;void 0!==Se;)q=this.getResolvedTitleForRoute(Se)??q,Se=Se.children.find(it=>it.outlet===Be);return q}getResolvedTitleForRoute(w){return w.data[G]}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(mr)},providedIn:"root"}),k})(),mr=(()=>{class k extends Xi{constructor(w){super(),this.title=w}updateTitle(w){const q=this.buildTitle(w);void 0!==q&&this.title.setTitle(q)}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275inject(Ee.Title))},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),di=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(xe)},providedIn:"root"}),k})();class L{shouldDetach(j){return!1}store(j,w){}shouldAttach(j){return!1}retrieve(j){return null}shouldReuseRoute(j,w){return j.routeConfig===w.routeConfig}}let xe=(()=>{class k extends L{}return k.\u0275fac=function(){let j;return function(q){return(j||(j=n.\u0275\u0275getInheritedFactory(k)))(q||k)}}(),k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();const Z=new n.InjectionToken("",{providedIn:"root",factory:()=>({})});let Ue=(()=>{class k{}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:function(){return(0,n.inject)(ht)},providedIn:"root"}),k})(),ht=(()=>{class k{shouldProcessUrl(w){return!0}extract(w){return w}merge(w,q){return w}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();var Gt=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}(Gt||{});function Kt(k,j){k.events.pipe((0,X.h)(w=>w instanceof $n||w instanceof ti||w instanceof mn||w instanceof an),(0,D.U)(w=>w instanceof $n||w instanceof an?Gt.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?Gt.REDIRECTING:Gt.FAILED),(0,X.h)(w=>w!==Gt.REDIRECTING),(0,E.q)(1)).subscribe(()=>{j()})}function Un(k){throw k}function ki(k,j,w){return j.parse("/")}const Hi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ci={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jn=(()=>{class k{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,n.inject)(n.\u0275Console),this.isNgZoneEnabled=!1,this.options=(0,n.inject)(Z,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275InitialRenderPendingTasks),this.errorHandler=this.options.errorHandler||Un,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ki,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,n.inject)(Ue),this.routeReuseStrategy=(0,n.inject)(di),this.titleStrategy=(0,n.inject)(Xi),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,n.inject)(kr,{optional:!0})?.flat()??[],this.navigationTransitions=(0,n.inject)(Qn),this.urlSerializer=(0,n.inject)(ue),this.location=(0,n.inject)(x.Location),this.componentInputBindingEnabled=!!(0,n.inject)(tr,{optional:!0}),this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new at,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=si(0,null),this.navigationTransitions.setupNavigations(this).subscribe(w=>{this.lastSuccessfulId=w.id,this.currentPageId=this.browserPageId??0},w=>{this.console.warn(`Unhandled Navigation Error: ${w}`)})}resetRootComponentType(w){this.routerState.root.component=w,this.navigationTransitions.rootComponentType=w}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const w=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),wn,w)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(w=>{const q="popstate"===w.type?"popstate":"hashchange";"popstate"===q&&setTimeout(()=>{this.navigateToSyncWithBrowser(w.url,q,w.state)},0)}))}navigateToSyncWithBrowser(w,q,Se){const it={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(it.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,it)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(w){this.config=w.map(St),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(w,q={}){const{relativeTo:Se,queryParams:it,fragment:st,queryParamsHandling:Vt,preserveFragment:hn}=q,An=hn?this.currentUrlTree.fragment:st;let $i,Kn=null;switch(Vt){case"merge":Kn={...this.currentUrlTree.queryParams,...it};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=it||null}null!==Kn&&(Kn=this.removeEmptyProps(Kn));try{$i=yt(Se?Se.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof w[0]||!w[0].startsWith("/"))&&(w=[]),$i=this.currentUrlTree.root}return Lt($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=et(w)?w:this.parseUrl(w),it=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(it,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const it=w[Se];return null!=it&&(q[Se]=it),q},{})}scheduleNavigation(w,q,Se,it,st){if(this.disposed)return Promise.resolve(!1);let Vt,hn,An;st?(Vt=st.resolve,hn=st.reject,An=st.promise):An=new Promise(($i,_r)=>{Vt=$i,hn=_r});const Kn=this.pendingTasks.add();return Kt(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Kn))}),this.navigationTransitions.handleNavigationRequest({source:q,restoredState:Se,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:w,extras:it,resolve:Vt,reject:hn,promise:An,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),An.catch($i=>Promise.reject($i))}setBrowserUrl(w,q){const Se=this.urlSerializer.serialize(w);if(this.location.isCurrentPathEqualTo(Se)||q.extras.replaceUrl){const st={...q.extras.state,...this.generateNgRouterState(q.id,this.browserPageId)};this.location.replaceState(Se,"",st)}else{const it={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",it)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const it=this.currentPageId-(this.browserPageId??this.currentPageId);0!==it?this.location.historyGo(it):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===it&&(this.resetState(w),this.browserUrlTree=w.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(q&&this.resetState(w),this.resetUrlToCurrentUrlTree())}resetState(w){this.routerState=w.currentRouterState,this.currentUrlTree=w.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,w.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(w,q){return"computed"===this.canceledNavigationResolution?{navigationId:w,\u0275routerPageId:q}:{navigationId:w}}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),Oi=(()=>{class k{constructor(w,q,Se,it,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=it,this.el=st,this.locationStrategy=Vt,this.href=null,this.commands=null,this.onChanges=new y.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const hn=st.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===hn||"area"===hn,this.isAnchorElement?this.subscription=w.events.subscribe(An=>{An instanceof $n&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(w){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",w)}ngOnChanges(w){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(w){null!=w?(this.commands=Array.isArray(w)?w:[w],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(w,q,Se,it,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||it||st||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const w=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",w)}applyAttributeValue(w,q){const Se=this.renderer,it=this.el.nativeElement;null!==q?Se.setAttribute(it,w,q):Se.removeAttribute(it,w)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275directiveInject(Jn),n.\u0275\u0275directiveInject(Fn),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(x.LocationStrategy))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(w,q){1&w&&n.\u0275\u0275listener("click",function(it){return q.onClick(it.button,it.ctrlKey,it.shiftKey,it.altKey,it.metaKey)}),2&w&&n.\u0275\u0275attribute("target",q.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:["skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:["replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]}),k})(),er=(()=>{class k{get isActive(){return this._isActive}constructor(w,q,Se,it,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=it,this.link=st,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=w.events.subscribe(Vt=>{Vt instanceof $n&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,we.J)()).subscribe(w=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const w=[...this.links.toArray(),this.link].filter(q=>!!q).map(q=>q.onChanges);this.linkInputChangesSubscription=(0,d.D)(w).pipe((0,we.J)()).subscribe(q=>{this._isActive!==this.isLinkActive(this.router)(q)&&this.update()})}set routerLinkActive(w){const q=Array.isArray(w)?w:w.split(" ");this.classes=q.filter(Se=>!!Se)}ngOnChanges(w){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const w=this.hasActiveLinks();this._isActive!==w&&(this._isActive=w,this.cdr.markForCheck(),this.classes.forEach(q=>{w?this.renderer.addClass(this.element.nativeElement,q):this.renderer.removeClass(this.element.nativeElement,q)}),w&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(w))})}isLinkActive(w){const q=function Pr(k){return!!k.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Se=>!!Se.urlTree&&w.isActive(Se.urlTree,q)}hasActiveLinks(){const w=this.isLinkActive(this.router);return this.link&&w(this.link)||this.links.some(w)}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275directiveInject(Jn),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Oi,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","routerLinkActive",""]],contentQueries:function(w,q,Se){if(1&w&&n.\u0275\u0275contentQuery(Se,Oi,5),2&w){let it;n.\u0275\u0275queryRefresh(it=n.\u0275\u0275loadQuery())&&(q.links=it)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();class Dr{}let Zn=(()=>{class k{preload(w,q){return q().pipe((0,U.K)(()=>(0,g.of)(null)))}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),pr=(()=>{class k{preload(w,q){return(0,g.of)(null)}}return k.\u0275fac=function(w){return new(w||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),Qr=(()=>{class k{constructor(w,q,Se,it,st){this.router=w,this.injector=Se,this.preloadingStrategy=it,this.loader=st}setUpPreloading(){this.subscription=this.router.events.pipe((0,X.h)(w=>w instanceof $n),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(w,q){const Se=[];for(const it of q){it.providers&&!it._injector&&(it._injector=(0,n.createEnvironmentInjector)(it.providers,w,`Route: ${it.path}`));const st=it._injector??w,Vt=it._loadedInjector??st;(it.loadChildren&&!it._loadedRoutes&&void 0===it.canLoad||it.loadComponent&&!it._loadedComponent)&&Se.push(this.preloadConfig(st,it)),(it.children||it._loadedRoutes)&&Se.push(this.processRoutes(Vt,it.children??it._loadedRoutes))}return(0,d.D)(Se).pipe((0,we.J)())}preloadConfig(w,q){return this.preloadingStrategy.preload(q,()=>{let Se;Se=q.loadChildren&&void 0===q.canLoad?this.loader.loadChildren(w,q):(0,g.of)(null);const it=Se.pipe((0,$.z)(st=>null===st?(0,g.of)(void 0):(q._loadedRoutes=st.routes,q._loadedInjector=st.injector,this.processRoutes(st.injector??w,st.routes))));if(q.loadComponent&&!q._loadedComponent){const st=this.loader.loadComponent(q);return(0,d.D)([it,st]).pipe((0,we.J)())}return it})}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275inject(Jn),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Dr),n.\u0275\u0275inject(ao))},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();const Nr=new n.InjectionToken("");let Zr=(()=>{class k{constructor(w,q,Se,it,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=it,this.options=st,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},st.scrollPositionRestoration=st.scrollPositionRestoration||"disabled",st.anchorScrolling=st.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof _i?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=w.navigationTrigger,this.restoredId=w.restoredState?w.restoredState.navigationId:0):w instanceof $n?(this.lastId=w.id,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.urlAfterRedirects).fragment)):w instanceof an&&0===w.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(w,this.urlSerializer.parse(w.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(w=>{w instanceof ke&&(w.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(w.position):w.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(w.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(w,q){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ke(w,"popstate"===this.lastSource?this.store[this.restoredId]:null,q))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return k.\u0275fac=function(w){n.\u0275\u0275invalidFactory()},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();function ql(k,...j){return(0,n.makeEnvironmentProviders)([{provide:kr,multi:!0,useValue:k},[],{provide:Fn,useFactory:Aa,deps:[Jn]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Ss},j.map(w=>w.\u0275providers)])}function Aa(k){return k.routerState.root}function gr(k,j){return{\u0275kind:k,\u0275providers:j}}function tc(k){return[{provide:kr,multi:!0,useValue:k},[]]}function Is(k={}){return gr(4,[{provide:Nr,useFactory:()=>{const w=(0,n.inject)(x.ViewportScroller),q=(0,n.inject)(n.NgZone),Se=(0,n.inject)(Qn),it=(0,n.inject)(ue);return new Zr(it,Se,w,q,k)}}])}function Ss(){const k=(0,n.inject)(n.Injector);return j=>{const w=k.get(n.ApplicationRef);if(j!==w.components[0])return;const q=k.get(Jn),Se=k.get(dn);1===k.get(Di)&&q.initialNavigation(),k.get(Oa,null,n.InjectFlags.Optional)?.setUpPreloading(),k.get(Nr,null,n.InjectFlags.Optional)?.init(),q.resetRootComponentType(w.componentTypes[0]),Se.closed||(Se.next(),Se.complete(),Se.unsubscribe())}}const dn=new n.InjectionToken("",{factory:()=>new y.x}),Di=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function La(){return gr(2,[{provide:Di,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:j=>{const w=j.get(x.LOCATION_INITIALIZED,Promise.resolve());return()=>w.then(()=>new Promise(q=>{const Se=j.get(Jn),it=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),it.closed?(0,g.of)(void 0):it),Se.initialNavigation()}))}}])}function ka(){return gr(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const j=(0,n.inject)(Jn);return()=>{j.setUpLocationChangeListener()}}},{provide:Di,useValue:2}])}function lr(){let k=[];return k=[],gr(1,k)}const Oa=new n.InjectionToken("");function Eo(k){return gr(0,[{provide:Oa,useExisting:Qr},{provide:Dr,useExisting:k}])}function zr(k){return gr(5,[{provide:Z,useValue:k}])}function Ra(){return gr(5,[{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}])}function Pa(k){return gr(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const w=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Jn).events.subscribe(q=>{q instanceof mn&&w.runInContext(()=>k(q))})}}])}function As(){return gr(8,[Ai,{provide:tr,useExisting:Ai}])}const Na=new n.InjectionToken("ROUTER_FORROOT_GUARD"),hr=[x.Location,{provide:ue,useClass:Te},Jn,le,{provide:Fn,useFactory:Aa,deps:[Jn]},ao,[]];function Xr(){return new n.NgProbeToken("Router",Jn)}let Ls=(()=>{class k{constructor(w){}static forRoot(w,q){return{ngModule:k,providers:[hr,[],{provide:kr,multi:!0,useValue:w},{provide:Na,useFactory:ks,deps:[[Jn,new n.Optional,new n.SkipSelf]]},{provide:Z,useValue:q||{}},q?.useHash?{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}:{provide:x.LocationStrategy,useClass:x.PathLocationStrategy},{provide:Nr,useFactory:()=>{const k=(0,n.inject)(x.ViewportScroller),j=(0,n.inject)(n.NgZone),w=(0,n.inject)(Z),q=(0,n.inject)(Qn),Se=(0,n.inject)(ue);return w.scrollOffset&&k.setOffset(w.scrollOffset),new Zr(Se,q,k,j,w)}},q?.preloadingStrategy?Eo(q.preloadingStrategy).\u0275providers:[],{provide:n.NgProbeToken,multi:!0,useFactory:Xr},q?.initialNavigation?ic(q):[],q?.bindToComponentInputs?As().\u0275providers:[],[{provide:Fa,useFactory:Ss},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Fa}]]}}static forChild(w){return{ngModule:k,providers:[{provide:kr,multi:!0,useValue:w}]}}}return k.\u0275fac=function(w){return new(w||k)(n.\u0275\u0275inject(Na,8))},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({}),k})();function ks(k){return"guarded"}function ic(k){return["disabled"===k.initialNavigation?ka().\u0275providers:[],"enabledBlocking"===k.initialNavigation?La().\u0275providers:[]]}const Fa=new n.InjectionToken("");function Ba(k){return k.map(j=>(...w)=>(0,n.inject)(j).canMatch(...w))}function Os(k){return k.map(j=>(...w)=>(0,n.inject)(j).canActivate(...w))}function Va(k){return k.map(j=>(...w)=>(0,n.inject)(j).canActivateChild(...w))}function rc(k){return k.map(j=>(...w)=>(0,n.inject)(j).canDeactivate(...w))}function Rs(k){return(...j)=>(0,n.inject)(k).resolve(...j)}const ja=new n.Version("16.1.7")},9515:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{DEFAULT_LANGUAGE:()=>Ae,FakeMissingTranslationHandler:()=>D,MissingTranslationHandler:()=>x,TranslateCompiler:()=>ie,TranslateDefaultParser:()=>ee,TranslateDirective:()=>W,TranslateFakeCompiler:()=>A,TranslateFakeLoader:()=>y,TranslateLoader:()=>l,TranslateModule:()=>we,TranslateParser:()=>$,TranslatePipe:()=>pe,TranslateService:()=>H,TranslateStore:()=>U,USE_DEFAULT_LANG:()=>Re,USE_EXTEND:()=>he,USE_STORE:()=>Me});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),h=a(34),f=a(4911),u=a(8180),v=a(7081),b=a(7398),p=a(6328),_=a(4664);class l{}let y=(()=>{class Ee extends l{getTranslation(G){return(0,d.of)({})}}return(0,n.Z)(Ee,"\u0275fac",function(){let Be;return function(re){return(Be||(Be=c.\u0275\u0275getInheritedFactory(Ee)))(re||Ee)}}()),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();class x{}let D=(()=>{class Ee{handle(G){return G.key}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)}),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();function S(Ee,Be){if(Ee===Be)return!0;if(null===Ee||null===Be)return!1;if(Ee!=Ee&&Be!=Be)return!0;let se,ye,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ye in He=Object.create(null),Ee){if(!S(Ee[ye],Be[ye]))return!1;He[ye]=!0}for(ye in Be)if(!(ye in He)&&typeof Be[ye]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((se=Ee.length)==Be.length){for(ye=0;ye{I(Be[re])?re in Ee?G[re]=X(Ee[re],Be[re]):Object.assign(G,{[re]:Be[re]}):Object.assign(G,{[re]:Be[re]})}),G}class ${}let ee=(()=>{class Ee extends ${constructor(...G){super(...G),(0,n.Z)(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(G,re){let se;return se="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,se}getValue(G,re){let se="string"==typeof re?re.split("."):[re];re="";do{re+=se.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&se.length?se.length?re+=".":G=void 0:(G=G[re],re="")}while(se.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(se,ye)=>{let He=this.getValue(re,ye);return E(He)?He:se}):G}}return(0,n.Z)(Ee,"\u0275fac",function(){let Be;return function(re){return(Be||(Be=c.\u0275\u0275getInheritedFactory(Ee)))(re||Ee)}}()),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();class ie{}let A=(()=>{class Ee extends ie{compile(G,re){return G}compileTranslations(G,re){return G}}return(0,n.Z)(Ee,"\u0275fac",function(){let Be;return function(re){return(Be||(Be=c.\u0275\u0275getInheritedFactory(Ee)))(re||Ee)}}()),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})();class U{constructor(){(0,n.Z)(this,"defaultLang",void 0),(0,n.Z)(this,"currentLang",this.defaultLang),(0,n.Z)(this,"translations",{}),(0,n.Z)(this,"langs",[]),(0,n.Z)(this,"onTranslationChange",new c.EventEmitter),(0,n.Z)(this,"onLangChange",new c.EventEmitter),(0,n.Z)(this,"onDefaultLangChange",new c.EventEmitter)}}const Me=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),he=new c.InjectionToken("USE_EXTEND");let H=(()=>{class Ee{get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(G){this.isolate?this._defaultLang=G:this.store.defaultLang=G}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(G){this.isolate?this._currentLang=G:this.store.currentLang=G}get langs(){return this.isolate?this._langs:this.store.langs}set langs(G){this.isolate?this._langs=G:this.store.langs=G}get translations(){return this.isolate?this._translations:this.store.translations}set translations(G){this.isolate?this._translations=G:this.store.translations=G}constructor(G,re,se,ye,He,Ze=!0,Qe=!1,We=!1,tt){(0,n.Z)(this,"store",void 0),(0,n.Z)(this,"currentLoader",void 0),(0,n.Z)(this,"compiler",void 0),(0,n.Z)(this,"parser",void 0),(0,n.Z)(this,"missingTranslationHandler",void 0),(0,n.Z)(this,"useDefaultLang",void 0),(0,n.Z)(this,"isolate",void 0),(0,n.Z)(this,"extend",void 0),(0,n.Z)(this,"loadingTranslations",void 0),(0,n.Z)(this,"pending",!1),(0,n.Z)(this,"_onTranslationChange",new c.EventEmitter),(0,n.Z)(this,"_onLangChange",new c.EventEmitter),(0,n.Z)(this,"_onDefaultLangChange",new c.EventEmitter),(0,n.Z)(this,"_defaultLang",void 0),(0,n.Z)(this,"_currentLang",void 0),(0,n.Z)(this,"_langs",[]),(0,n.Z)(this,"_translations",{}),(0,n.Z)(this,"_translationRequests",{}),this.store=G,this.currentLoader=re,this.compiler=se,this.parser=ye,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=We,tt&&this.setDefaultLang(tt)}setDefaultLang(G){if(G===this.defaultLang)return;let re=this.retrieveTranslations(G);typeof re<"u"?(null==this.defaultLang&&(this.defaultLang=G),re.pipe((0,u.q)(1)).subscribe(se=>{this.changeDefaultLang(G)})):this.changeDefaultLang(G)}getDefaultLang(){return this.defaultLang}use(G){if(G===this.currentLang)return(0,d.of)(this.translations[G]);let re=this.retrieveTranslations(G);return typeof re<"u"?(this.currentLang||(this.currentLang=G),re.pipe((0,u.q)(1)).subscribe(se=>{this.changeLang(G)}),re):(this.changeLang(G),(0,d.of)(this.translations[G]))}retrieveTranslations(G){let re;return(typeof this.translations[G]>"u"||this.extend)&&(this._translationRequests[G]=this._translationRequests[G]||this.getTranslation(G),re=this._translationRequests[G]),re}getTranslation(G){this.pending=!0;const re=this.currentLoader.getTranslation(G).pipe((0,v.d)(1),(0,u.q)(1));return this.loadingTranslations=re.pipe((0,b.U)(se=>this.compiler.compileTranslations(se,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:se=>{this.translations[G]=this.extend&&this.translations[G]?{...se,...this.translations[G]}:se,this.updateLangs(),this.pending=!1},error:se=>{this.pending=!1}}),re}setTranslation(G,re,se=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(se||this.extend)&&this.translations[G]?X(this.translations[G],re):re,this.updateLangs(),this.onTranslationChange.emit({lang:G,translations:this.translations[G]})}getLangs(){return this.langs}addLangs(G){G.forEach(re=>{-1===this.langs.indexOf(re)&&this.langs.push(re)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(G,re,se){let ye;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,se),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(We=>(0,g.b)(He[We])?He[We]:(0,d.of)(He[We]));return(0,r.D)(Qe).pipe((0,b.U)(We=>{let tt={};return We.forEach((Mt,Ft)=>{tt[re[Ft]]=Mt}),tt}))}return He}if(G&&(ye=this.parser.interpolate(this.parser.getValue(G,re),se)),typeof ye>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ye=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),se)),typeof ye>"u"){let He={key:re,translateService:this};typeof se<"u"&&(He.interpolateParams=se),ye=this.missingTranslationHandler.handle(He)}return typeof ye<"u"?ye:re}get(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,p.b)(se=>(se=this.getParsedResult(se,G,re),(0,g.b)(se)?se:(0,d.of)(se))));{let se=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(se)?se:(0,d.of)(se)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,h.z)((0,f.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(se=>{const ye=this.getParsedResult(se.translations,G,re);return"function"==typeof ye.subscribe?ye:(0,d.of)(ye)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,h.z)((0,f.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(se=>{const ye=this.getParsedResult(se.translations,G,re);return(0,g.b)(ye)?ye:(0,d.of)(ye)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let se=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(se)){if(G instanceof Array){let ye={};return G.forEach((He,Ze)=>{ye[G[Ze]]=G[Ze]}),ye}return G}return se}set(G,re,se=this.currentLang){this.translations[se][G]=this.compiler.compile(re,se),this.updateLangs(),this.onTranslationChange.emit({lang:se,translations:this.translations[se]})}changeLang(G){this.currentLang=G,this.onLangChange.emit({lang:G,translations:this.translations[G]}),null==this.defaultLang&&this.changeDefaultLang(G)}changeDefaultLang(G){this.defaultLang=G,this.onDefaultLangChange.emit({lang:G,translations:this.translations[G]})}reloadLang(G){return this.resetLang(G),this.getTranslation(G)}resetLang(G){this._translationRequests[G]=void 0,this.translations[G]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let G=window.navigator.languages?window.navigator.languages[0]:null;return G=G||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof G>"u"?void 0:(-1!==G.indexOf("-")&&(G=G.split("-")[0]),-1!==G.indexOf("_")&&(G=G.split("_")[0]),G)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let G=window.navigator.languages?window.navigator.languages[0]:null;return G=G||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,G}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)(c.\u0275\u0275inject(U),c.\u0275\u0275inject(l),c.\u0275\u0275inject(ie),c.\u0275\u0275inject($),c.\u0275\u0275inject(x),c.\u0275\u0275inject(Re),c.\u0275\u0275inject(Me),c.\u0275\u0275inject(he),c.\u0275\u0275inject(Ae))}),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})(),W=(()=>{class Ee{set translate(G){G&&(this.key=G,this.checkNodes())}set translateParams(G){S(this.currentParams,G)||(this.currentParams=G,this.checkNodes(!0))}constructor(G,re,se){(0,n.Z)(this,"translateService",void 0),(0,n.Z)(this,"element",void 0),(0,n.Z)(this,"_ref",void 0),(0,n.Z)(this,"key",void 0),(0,n.Z)(this,"lastParams",void 0),(0,n.Z)(this,"currentParams",void 0),(0,n.Z)(this,"onLangChangeSub",void 0),(0,n.Z)(this,"onDefaultLangChangeSub",void 0),(0,n.Z)(this,"onTranslationChangeSub",void 0),this.translateService=G,this.element=re,this._ref=se,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ye=>{ye.lang===this.translateService.currentLang&&this.checkNodes(!0,ye.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ye=>{this.checkNodes(!0,ye.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ye=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let se=this.element.nativeElement.childNodes;se.length||(this.setContent(this.element.nativeElement,this.key),se=this.element.nativeElement.childNodes);for(let ye=0;ye{He!==G&&(re.lastKey=G),re.originalContent||(re.originalContent=this.getContent(re)),re.currentValue=E(He)?He:re.originalContent||G,this.setContent(re,this.key?re.currentValue:re.originalContent.replace(G,re.currentValue)),this._ref.markForCheck()};if(E(se)){let He=this.translateService.getParsedResult(se,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ye}):ye(He)}else this.translateService.get(G,this.currentParams).subscribe(ye)}}getContent(G){return E(G.textContent)?G.textContent:G.data}setContent(G,re){E(G.textContent)?G.textContent=re:G.data=re}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)(c.\u0275\u0275directiveInject(H),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))}),(0,n.Z)(Ee,"\u0275dir",c.\u0275\u0275defineDirective({type:Ee,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})),Ee})(),pe=(()=>{class Ee{constructor(G,re){(0,n.Z)(this,"translate",void 0),(0,n.Z)(this,"_ref",void 0),(0,n.Z)(this,"value",""),(0,n.Z)(this,"lastKey",null),(0,n.Z)(this,"lastParams",[]),(0,n.Z)(this,"onTranslationChange",void 0),(0,n.Z)(this,"onLangChange",void 0),(0,n.Z)(this,"onDefaultLangChange",void 0),this.translate=G,this._ref=re}updateValue(G,re,se){let ye=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(se){let He=this.translate.getParsedResult(se,G,re);(0,g.b)(He.subscribe)?He.subscribe(ye):ye(He)}this.translate.get(G,re).subscribe(ye)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let se;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ye=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{se=JSON.parse(ye)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(se=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,se),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ye=>{this.lastKey&&ye.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,se,ye.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ye=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,se,ye.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,se))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)(c.\u0275\u0275directiveInject(H,16),c.\u0275\u0275directiveInject(c.ChangeDetectorRef,16))}),(0,n.Z)(Ee,"\u0275pipe",c.\u0275\u0275definePipe({name:"translate",type:Ee,pure:!1})),(0,n.Z)(Ee,"\u0275prov",c.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac})),Ee})(),we=(()=>{class Ee{static forRoot(G={}){return{ngModule:Ee,providers:[G.loader||{provide:l,useClass:y},G.compiler||{provide:ie,useClass:A},G.parser||{provide:$,useClass:ee},G.missingTranslationHandler||{provide:x,useClass:D},U,{provide:Me,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:he,useValue:G.extend},{provide:Ae,useValue:G.defaultLanguage},H]}}static forChild(G={}){return{ngModule:Ee,providers:[G.loader||{provide:l,useClass:y},G.compiler||{provide:ie,useClass:A},G.parser||{provide:$,useClass:ee},G.missingTranslationHandler||{provide:x,useClass:D},{provide:Me,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:he,useValue:G.extend},{provide:Ae,useValue:G.defaultLanguage},H]}}}return(0,n.Z)(Ee,"\u0275fac",function(G){return new(G||Ee)}),(0,n.Z)(Ee,"\u0275mod",c.\u0275\u0275defineNgModule({type:Ee})),(0,n.Z)(Ee,"\u0275inj",c.\u0275\u0275defineInjector({})),Ee})()},5061:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{TranslateHttpLoader:()=>c});var n=a(1180);class c{constructor(g,r="/assets/i18n/",h=".json"){(0,n.Z)(this,"http",void 0),(0,n.Z)(this,"prefix",void 0),(0,n.Z)(this,"suffix",void 0),this.http=g,this.prefix=r,this.suffix=h}getTranslation(g){return this.http.get(`${this.prefix}${g}${this.suffix}`)}}},6381:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{AUTH_CONFIG:()=>zt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ye,DateTimeProvider:()=>Me,DefaultHashHandler:()=>Q,DefaultOAuthInterceptor:()=>dt,HashHandler:()=>oe,JwksValidationHandler:()=>Nt,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>he,OAuthModule:()=>ot,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>Ct,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ue,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>We,ValidationHandler:()=>Ze,provideOAuthClient:()=>ge});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),h=a(2096),f=a(2459),u=a(3684),v=a(8504),b=a(2572),p=a(3019),_=a(2181),l=a(9397),y=a(3620),x=a(7547),D=a(4664),S=a(7398),E=a(1374),I=a(6306),X=a(5178),$=a(8180),ee=a(9769);class ie{validateSignature($e){return Promise.resolve(null)}validateAtHash($e){return Promise.resolve(!0)}}class A{}class U{}class Me{}let Re=(()=>{class Ne extends Me{now(){return Date.now()}new(){return new Date}}return Ne.\u0275fac=function(){let $e;return function(Ce){return($e||($e=c.\u0275\u0275getInheritedFactory(Ne)))(Ce||Ne)}}(),Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class he{}class H{}let W=(()=>{class Ne{constructor(){this.data=new Map}getItem(ae){return this.data.get(ae)}removeItem(ae){this.data.delete(ae)}setItem(ae,Ce){this.data.set(ae,Ce)}}return Ne.\u0275fac=function(ae){return new(ae||Ne)},Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class pe{}class we{constructor($e){this.type=$e}}class Ee extends we{constructor($e,ae=null){super($e),this.info=ae}}class Be extends we{constructor($e,ae=null){super($e),this.info=ae}}class G extends we{constructor($e,ae,Ce=null){super($e),this.reason=ae,this.params=Ce}}function re(Ne){const $e=Ne.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob($e).split("").map(function(ae){return"%"+("00"+ae.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function se(Ne){return btoa(Ne).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ye{constructor($e){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=2e4,this.silentRefreshTimeout=2e4,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefreshIFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=ae=>{location.href=ae},$e&&Object.assign(this,$e)}}class He{encodeKey($e){return encodeURIComponent($e)}encodeValue($e){return encodeURIComponent($e)}decodeKey($e){return decodeURIComponent($e)}decodeValue($e){return decodeURIComponent($e)}}class Ze{}class Qe{validateAtHash($e){var ae=this;return(0,n.Z)(function*(){let Ce=ae.inferHashAlgorithm($e.idTokenHeader),lt=yield ae.calcHash($e.accessToken,Ce),Ye=se(lt.substr(0,lt.length/2)),De=$e.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm($e){let ae=$e.alg;if(!ae.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+ae);return"sha-"+ae.substr(2)}}let We=(()=>{class Ne{getHashFragmentParams(ae){let Ce=ae||window.location.hash;if(Ce=decodeURIComponent(Ce),0!==Ce.indexOf("#"))return{};const lt=Ce.indexOf("?");return Ce=Ce.substr(lt>-1?lt+1:1),this.parseQueryString(Ce)}parseQueryString(ae){const Ce={};let lt,_e,Ye,De,F,V,K;if(null===ae)return Ce;lt=ae.split("&");for(let ve=0;ve=64;){for(_e=$e[0],Ye=$e[1],De=$e[2],F=$e[3],V=$e[4],K=$e[5],ve=$e[6],ut=$e[7],qe=0;qe<16;qe++)et=Ce+4*qe,Ne[qe]=(255&ae[et])<<24|(255&ae[et+1])<<16|(255&ae[et+2])<<8|255&ae[et+3];for(qe=16;qe<64;qe++)Pt=Ne[qe-2],Ve=(Pt>>>17|Pt<<15)^(Pt>>>19|Pt<<13)^Pt>>>10,Pt=Ne[qe-15],yt=(Pt>>>7|Pt<<25)^(Pt>>>18|Pt<<14)^Pt>>>3,Ne[qe]=(Ve+Ne[qe-7]|0)+(yt+Ne[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&K^~V&ve)|0)+(ut+(Ft[qe]+Ne[qe]|0)|0)|0,yt=((_e>>>2|_e<<30)^(_e>>>13|_e<<19)^(_e>>>22|_e<<10))+(_e&Ye^_e&De^Ye&De)|0,ut=ve,ve=K,K=V,V=F+Ve|0,F=De,De=Ye,Ye=_e,_e=Ve+yt|0;$e[0]+=_e,$e[1]+=Ye,$e[2]+=De,$e[3]+=F,$e[4]+=V,$e[5]+=K,$e[6]+=ve,$e[7]+=ut,Ce+=64,lt-=64}return Ce}class Bt{constructor(){this.digestLength=32,this.blockSize=64,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let $e=0;$e0){for(;this.bufferLength<64&&ae>0;)this.buffer[this.bufferLength++]=$e[Ce++],ae--;64===this.bufferLength&&(gt(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(ae>=64&&(Ce=gt(this.temp,this.state,$e,Ce,ae),ae%=64);ae>0;)this.buffer[this.bufferLength++]=$e[Ce++],ae--;return this}finish($e){if(!this.finished){const ae=this.bytesHashed,Ce=this.bufferLength,lt=ae/536870912|0,_e=ae<<3,Ye=ae%64<56?64:128;this.buffer[Ce]=128;for(let De=Ce+1;De>>24&255,this.buffer[Ye-7]=lt>>>16&255,this.buffer[Ye-6]=lt>>>8&255,this.buffer[Ye-5]=lt>>>0&255,this.buffer[Ye-4]=_e>>>24&255,this.buffer[Ye-3]=_e>>>16&255,this.buffer[Ye-2]=_e>>>8&255,this.buffer[Ye-1]=_e>>>0&255,gt(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let ae=0;ae<8;ae++)$e[4*ae+0]=this.state[ae]>>>24&255,$e[4*ae+1]=this.state[ae]>>>16&255,$e[4*ae+2]=this.state[ae]>>>8&255,$e[4*ae+3]=this.state[ae]>>>0&255;return this}digest(){const $e=new Uint8Array(this.digestLength);return this.finish($e),$e}_saveState($e){for(let ae=0;ae{class Ne{calcHash(ae,Ce){return(0,n.Z)(function*(){return function ne(Ne){var $e,ae=[];for($e=0;$e{class Ne extends ye{constructor(ae,Ce,lt,_e,Ye,De,F,V,K,ve){super(),this.ngZone=ae,this.http=Ce,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=ve,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new r.x,this.discoveryDocumentLoadedSubject=new r.x,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=K,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),_e&&(this.tokenValidationHandler=_e),Ye&&this.configure(Ye);try{lt?this.setStorage(lt):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(ut){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",ut)}if(this.checkLocalStorageAccessable()){const ut=window?.navigator?.userAgent;(ut?.includes("MSIE ")||ut?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const ae="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(ae,ae),localStorage.removeItem(ae),0))}catch{return!1}}configure(ae){Object.assign(this,new ye,ae),this.config=Object.assign({},new ye,ae),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(ae=>"token_received"===ae.type)).subscribe(ae=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(ae={},Ce,lt=!0){let _e=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?_e=!0:"logout"===Ye.type&&(_e=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==Ce||"any"===Ce||Ye.info===Ce)),(0,y.b)(1e3)).subscribe(Ye=>{_e&&this.refreshInternal(ae,lt).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(ae,Ce){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(ae,Ce):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(ae=null){return this.loadDiscoveryDocument().then(Ce=>this.tryLogin(ae))}loadDiscoveryDocumentAndLogin(ae=null){return this.loadDiscoveryDocumentAndTryLogin(ae=ae||{}).then(Ce=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof ae.state?ae.state:""),!1))}debug(...ae){this.showDebugInformation&&this.logger.debug.apply(this.logger,ae)}validateUrlFromDiscoveryDocument(ae){const Ce=[],lt=this.validateUrlForHttps(ae),_e=this.validateUrlAgainstIssuer(ae);return lt||Ce.push("https for all urls required. Also for urls received by discovery."),_e||Ce.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),Ce}validateUrlForHttps(ae){if(!ae)return!0;const Ce=ae.toLowerCase();return!(!1!==this.requireHttps&&(!Ce.match(/^http:\/\/localhost($|[:\/])/)&&!Ce.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||Ce.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(ae,Ce){if(!ae)throw new Error(`'${Ce}' should not be null`);if(!this.validateUrlForHttps(ae))throw new Error(`'${Ce}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(ae){return!this.strictDiscoveryDocumentValidation||!ae||ae.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){typeof window>"u"?this.debug("timer not supported on this plattform"):((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,_.h)(ae=>"token_received"===ae.type)).subscribe(ae=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const ae=this.getAccessTokenExpiration(),Ce=this.getAccessTokenStoredAt(),lt=this.calcTimeout(Ce,ae);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,h.of)(new Be("token_expires","access_token")).pipe((0,x.g)(lt)).subscribe(_e=>{this.ngZone.run(()=>{this.eventsSubject.next(_e)})})})}setupIdTokenTimer(){const ae=this.getIdTokenExpiration(),Ce=this.getIdTokenStoredAt(),lt=this.calcTimeout(Ce,ae);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,h.of)(new Be("token_expires","id_token")).pipe((0,x.g)(lt)).subscribe(_e=>{this.ngZone.run(()=>{this.eventsSubject.next(_e)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}calcTimeout(ae,Ce){const lt=this.dateTimeService.now(),Ye=Math.max(0,(Ce-ae)*this.timeoutFactor-(lt-ae)),De=2147483647;return Ye>De?De:Ye}setStorage(ae){this._storage=ae,this.configChanged()}loadDiscoveryDocument(ae=null){return new Promise((Ce,lt)=>{ae||((ae=this.issuer||"").endsWith("/")||(ae+="/"),ae+=".well-known/openid-configuration"),this.validateUrlForHttps(ae)?this.http.get(ae).subscribe(_e=>{if(!this.validateDiscoveryDocument(_e))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void lt("discovery_document_validation_error");this.loginUrl=_e.authorization_endpoint,this.logoutUrl=_e.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=_e.grant_types_supported,this.issuer=_e.issuer,this.tokenEndpoint=_e.token_endpoint,this.userinfoEndpoint=_e.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=_e.jwks_uri,this.sessionCheckIFrameUrl=_e.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(_e),this.revocationEndpoint=_e.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:_e,jwks:Ye});this.eventsSubject.next(F),Ce(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),lt(Ye)})},_e=>{this.logger.error("error loading discovery document",_e),this.eventsSubject.next(new G("discovery_document_load_error",_e)),lt(_e)}):lt("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((ae,Ce)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(lt=>{this.jwks=lt,ae(lt)},lt=>{this.logger.error("error loading jwks",lt),this.eventsSubject.next(new G("jwks_load_error",lt)),Ce(lt)}):ae(null)})}validateDiscoveryDocument(ae){let Ce;return this.skipIssuerCheck||ae.issuer===this.issuer?(Ce=this.validateUrlFromDiscoveryDocument(ae.authorization_endpoint),Ce.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",Ce),!1):(Ce=this.validateUrlFromDiscoveryDocument(ae.end_session_endpoint),Ce.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",Ce),!1):(Ce=this.validateUrlFromDiscoveryDocument(ae.token_endpoint),Ce.length>0&&this.logger.error("error validating token_endpoint in discovery document",Ce),Ce=this.validateUrlFromDiscoveryDocument(ae.revocation_endpoint),Ce.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",Ce),Ce=this.validateUrlFromDiscoveryDocument(ae.userinfo_endpoint),Ce.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",Ce),!1):(Ce=this.validateUrlFromDiscoveryDocument(ae.jwks_uri),Ce.length>0?(this.logger.error("error validating jwks_uri in discovery document",Ce),!1):(this.sessionChecksEnabled&&!ae.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0))))):(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+ae.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(ae,Ce,lt=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(ae,Ce,lt).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((ae,Ce)=>{const lt=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:lt,observe:"response",responseType:"text"}).subscribe(_e=>{if(this.debug("userinfo received",JSON.stringify(_e)),_e.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(_e.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void Ce("if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.\nif you are not using oidc but just oauth2 password flow set oidc to false");Ye=Object.assign({},De,Ye),this._storage.setItem("id_token_claims_obj",JSON.stringify(Ye)),this.eventsSubject.next(new Ee("user_profile_loaded")),ae({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),ae(JSON.parse(_e.body))},_e=>{this.logger.error("error loading user info",_e),this.eventsSubject.next(new G("user_profile_load_error",_e)),Ce(_e)})})}fetchTokenUsingPasswordFlow(ae,Ce,lt=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:ae,password:Ce},lt)}fetchTokenUsingGrant(ae,Ce,lt=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let _e=new g.HttpParams({encoder:new He}).set("grant_type",ae).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(_e=_e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(_e=_e.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))_e=_e.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(Ce))_e=_e.set(Ye,Ce[Ye]);return lt=lt.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,_e,{headers:lt}).subscribe(F=>{this.debug("tokenResponse",F),this.storeAccessTokenResponse(F.access_token,F.refresh_token,F.expires_in||this.fallbackAccessTokenExpirationTimeInSec,F.scope,this.extractRecognizedCustomParameters(F)),this.oidc&&F.id_token&&this.processIdToken(F.id_token,F.access_token).then(V=>{this.storeIdToken(V),Ye(F)}),this.eventsSubject.next(new Ee("token_received")),Ye(F)},F=>{this.logger.error("Error performing ${grantType} flow",F),this.eventsSubject.next(new G("token_error",F)),De(F)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((ae,Ce)=>{let lt=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),_e=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);_e=_e.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(lt=lt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(lt=lt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))lt=lt.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,lt,{headers:_e}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,f.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,h.of)(Ye))).subscribe(Ye=>{this.debug("refresh tokenResponse",Ye),this.storeAccessTokenResponse(Ye.access_token,Ye.refresh_token,Ye.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Ye.scope,this.extractRecognizedCustomParameters(Ye)),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),ae(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),Ce(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=ae=>{const Ce=this.processMessageEventMessage(ae);this.checkOrigin&&ae.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:Ce,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(lt=>this.debug("tryLogin during silent refresh failed",lt))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(ae={},Ce=!0){const lt=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(ae.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");const _e=this.document.getElementById(this.silentRefreshIFrameName);_e&&this.document.body.removeChild(_e),this.silentRefreshSubject=lt.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,Ce,ae).then(ve=>{Ye.setAttribute("src",ve),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(ve=>ve instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(ve=>"token_received"===ve.type),(0,E.P)()),K=(0,h.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,K]).pipe((0,S.U)(ve=>{if(ve instanceof G)throw"silent_refresh_timeout"===ve.type||(ve=new G("silent_refresh_error",ve)),this.eventsSubject.next(ve),ve;return"token_received"===ve.type&&(ve=new Ee("silently_refreshed"),this.eventsSubject.next(ve)),ve})).toPromise()}initImplicitFlowInPopup(ae){return this.initLoginFlowInPopup(ae)}initLoginFlowInPopup(ae){return ae=ae||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(Ce=>new Promise((lt,_e)=>{let F,De=null;ae.windowRef?ae.windowRef&&!ae.windowRef.closed&&(De=ae.windowRef,De.location.href=Ce):De=window.open(Ce,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(ae));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{ve(),lt(!0)},et=>{ve(),_e(et)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(ve(),_e(new G("popup_closed",{})))},500):_e(new G("popup_blocked",{}));const ve=()=>{window.clearInterval(F),window.removeEventListener("storage",Pt),window.removeEventListener("message",ut),null!==De&&De.close(),De=null},ut=qe=>{const et=this.processMessageEventMessage(qe);et&&null!==et?(window.removeEventListener("storage",Pt),V(et)):console.log("false event firing")},Pt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",ut),V(qe.newValue))};window.addEventListener("message",ut),window.addEventListener("storage",Pt)}))}calculatePopupFeatures(ae){const Ce=ae.height||470,lt=ae.width||500,_e=window.screenLeft+(window.outerWidth-lt)/2;return`location=no,toolbar=no,width=${lt},height=${Ce},top=${window.screenTop+(window.outerHeight-Ce)/2},left=${_e}`}processMessageEventMessage(ae){let Ce="#";if(this.silentRefreshMessagePrefix&&(Ce+=this.silentRefreshMessagePrefix),!ae||!ae.data||"string"!=typeof ae.data)return;const lt=ae.data;return lt.startsWith(Ce)?"#"+lt.substr(Ce.length):void 0}canPerformSessionCheck(){return!(!this.sessionChecksEnabled||(this.sessionCheckIFrameUrl?this.getSessionState()?typeof this.document>"u":(console.warn("sessionChecksEnabled is activated but there is no session_state"),1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),1)))}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=ae=>{const Ce=ae.origin.toLowerCase(),lt=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),lt.startsWith(Ce)){switch(ae.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()})}this.debug("got info from session check inframe",ae)}else this.debug("sessionCheckEventListener","wrong origin",Ce,"expected",lt,"event",ae)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new Be("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new Be("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(ae=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(ae=>{this.debug("token refresh after session change worked")}).catch(ae=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,_.h)(ae=>"silently_refreshed"===ae.type||"silent_refresh_timeout"===ae.type||"silent_refresh_error"===ae.type),(0,E.P)()).subscribe(ae=>{"silently_refreshed"!==ae.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new Be("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const ae=this.document.getElementById(this.sessionCheckIFrameName);ae&&this.document.body.removeChild(ae);const Ce=this.document.createElement("iframe");Ce.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),Ce.setAttribute("src",this.sessionCheckIFrameUrl),Ce.style.display="none",this.document.body.appendChild(Ce),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){const ae=this.document.getElementById(this.sessionCheckIFrameName);ae||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const Ce=this.getSessionState();Ce||this.stopSessionCheckTimer(),ae.contentWindow.postMessage(this.clientId+" "+Ce,this.issuer)}createLoginUrl(ae="",Ce="",lt="",_e=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=lt||De.redirectUri;const K=yield De.createAndSaveNonce();if(ae=ae?K+De.config.nonceStateSeparator+encodeURIComponent(ae):K,!De.requestAccessToken&&!De.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");De.responseType=De.config.responseType?De.config.responseType:De.oidc&&De.requestAccessToken?"id_token token":De.oidc&&!De.requestAccessToken?"id_token":"token";const ve=F.loginUrl.indexOf("?")>-1?"&":"?";let ut=F.scope;De.oidc&&!ut.match(/(^|\s)openid($|\s)/)&&(ut="openid "+ut);let Pt=F.loginUrl+ve+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(ae)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(ut);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,et]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",et):De._storage.setItem("PKCE_verifier",et),Pt+="&code_challenge="+qe,Pt+="&code_challenge_method=S256"}Ce&&(Pt+="&login_hint="+encodeURIComponent(Ce)),F.resource&&(Pt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Pt+="&nonce="+encodeURIComponent(K)),_e&&(Pt+="&prompt=none");for(const qe of Object.keys(Ye))Pt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Pt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Pt})()}initImplicitFlowInternal(ae="",Ce=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},_e=null;"string"==typeof Ce?_e=Ce:"object"==typeof Ce&&(lt=Ce),this.createLoginUrl(ae,_e,null,!1,lt).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(ae="",Ce=""){""!==this.loginUrl?this.initImplicitFlowInternal(ae,Ce):this.events.pipe((0,_.h)(lt=>"discovery_document_loaded"===lt.type)).subscribe(lt=>this.initImplicitFlowInternal(ae,Ce))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(ae){const Ce=this;if(ae.onTokenReceived){const lt={idClaims:Ce.getIdentityClaims(),idToken:Ce.getIdToken(),accessToken:Ce.getAccessToken(),state:Ce.state};ae.onTokenReceived(lt)}}storeAccessTokenResponse(ae,Ce,lt,_e,Ye){if(this._storage.setItem("access_token",ae),_e&&!Array.isArray(_e)?this._storage.setItem("granted_scopes",JSON.stringify(_e.split(" "))):_e&&Array.isArray(_e)&&this._storage.setItem("granted_scopes",JSON.stringify(_e)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),lt){const De=1e3*lt,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}Ce&&this._storage.setItem("refresh_token",Ce),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(ae=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(ae).then(Ce=>!0):this.tryLoginImplicitFlow(ae)}parseQueryString(ae){return ae&&0!==ae.length?("?"===ae.charAt(0)&&(ae=ae.substr(1)),this.urlHelper.parseQueryString(ae)):{}}tryLoginCodeFlow(ae=null){var Ce=this;return(0,n.Z)(function*(){const lt=(ae=ae||{}).customHashFragment?ae.customHashFragment.substring(1):window.location.search,_e=Ce.getCodePartsFromUrl(lt),Ye=_e.code,De=_e.state,F=_e.session_state;if(!ae.preventClearHashAfterLogin){const ve=location.origin+location.pathname+location.search.replace(/code=[^&\$]*/,"").replace(/scope=[^&\$]*/,"").replace(/state=[^&\$]*/,"").replace(/session_state=[^&\$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,ve)}let[V,K]=Ce.parseState(De);if(Ce.state=K,_e.error){Ce.debug("error trying to login"),Ce.handleLoginError(ae,_e);const ve=new G("code_error",{},_e);return Ce.eventsSubject.next(ve),Promise.reject(ve)}if(!ae.disableNonceCheck){if(!V)return Ce.saveRequestedRoute(),Promise.resolve();if(!ae.disableOAuth2StateCheck&&!Ce.validateNonce(V)){const ut=new G("invalid_nonce_in_state",null);return Ce.eventsSubject.next(ut),Promise.reject(ut)}}return Ce.storeSessionState(F),Ye&&(yield Ce.getTokenFromCode(Ye,ae),Ce.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const ae=this._storage.getItem("requested_route");ae&&history.replaceState(null,"",window.location.origin+ae)}getCodePartsFromUrl(ae){return ae&&0!==ae.length?("?"===ae.charAt(0)&&(ae=ae.substr(1)),this.urlHelper.parseQueryString(ae)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(ae,Ce){let lt=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",ae).set("redirect_uri",Ce.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let _e;_e=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),_e?lt=lt.set("code_verifier",_e):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(lt,Ce)}fetchAndProcessToken(ae,Ce){Ce=Ce||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let lt=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const _e=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+_e)}return this.useHttpBasicAuth||(ae=ae.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ae=ae.set("client_secret",this.dummyClientSecret)),new Promise((_e,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))ae=ae.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,ae,{headers:lt}).subscribe(De=>{this.debug("refresh tokenResponse",De),this.storeAccessTokenResponse(De.access_token,De.refresh_token,De.expires_in||this.fallbackAccessTokenExpirationTimeInSec,De.scope,this.extractRecognizedCustomParameters(De)),this.oidc&&De.id_token?this.processIdToken(De.id_token,De.access_token,Ce.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),_e(De)}).catch(F=>{this.eventsSubject.next(new G("token_validation_error",F)),console.error("Error validating tokens"),console.error(F),Ye(F)}):(this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),_e(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(ae=null){let Ce;Ce=(ae=ae||{}).customHashFragment?this.urlHelper.getHashFragmentParams(ae.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",Ce);const lt=Ce.state;let[_e,Ye]=this.parseState(lt);if(this.state=Ye,Ce.error){this.debug("error trying to login"),this.handleLoginError(ae,Ce);const ve=new G("token_error",{},Ce);return this.eventsSubject.next(ve),Promise.reject(ve)}const De=Ce.access_token,F=Ce.id_token,V=Ce.session_state,K=Ce.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!ae.disableOAuth2StateCheck&&!lt||this.oidc&&!F)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!V&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!ae.disableNonceCheck&&!this.validateNonce(_e)){const ut=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(ut),Promise.reject(ut)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,Ce.expires_in||this.fallbackAccessTokenExpirationTimeInSec,K),this.oidc?this.processIdToken(F,De,ae.disableNonceCheck).then(ve=>ae.validationHandler?ae.validationHandler({accessToken:De,idClaims:ve.idTokenClaims,idToken:ve.idToken,state:lt}).then(ut=>ve):ve).then(ve=>(this.storeIdToken(ve),this.storeSessionState(V),this.clearHashAfterLogin&&!ae.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(ae),this.inImplicitFlow=!1,!0)).catch(ve=>(this.eventsSubject.next(new G("token_validation_error",ve)),this.logger.error("Error validating tokens"),this.logger.error(ve),Promise.reject(ve))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!ae.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(ae),Promise.resolve(!0))}parseState(ae){let Ce=ae,lt="";if(ae){const _e=ae.indexOf(this.config.nonceStateSeparator);_e>-1&&(Ce=ae.substr(0,_e),lt=ae.substr(_e+this.config.nonceStateSeparator.length))}return[Ce,lt]}validateNonce(ae){let Ce;return Ce=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Ce===ae||(console.error("Validating access_token failed, wrong state/nonce.",Ce,ae),!1)}storeIdToken(ae){this._storage.setItem("id_token",ae.idToken),this._storage.setItem("id_token_claims_obj",ae.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+ae.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(ae){this._storage.setItem("session_state",ae)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(ae,Ce){ae.onLoginError&&ae.onLoginError(Ce),this.clearHashAfterLogin&&!ae.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(ae=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:ae}processIdToken(ae,Ce,lt=!1){const _e=ae.split("."),De=re(this.padBase64(_e[0])),F=JSON.parse(De),K=re(this.padBase64(_e[1])),ve=JSON.parse(K);let ut;if(ut=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(ve.aud)){if(ve.aud.every(Lt=>Lt!==this.clientId)){const Lt="Wrong audience: "+ve.aud.join(",");return this.logger.warn(Lt),Promise.reject(Lt)}}else if(ve.aud!==this.clientId){const Lt="Wrong audience: "+ve.aud;return this.logger.warn(Lt),Promise.reject(Lt)}if(!ve.sub){const Lt="No sub claim in id_token";return this.logger.warn(Lt),Promise.reject(Lt)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==ve.sub){const Lt=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${ve.sub}`;return this.logger.warn(Lt),Promise.reject(Lt)}if(!ve.iat){const Lt="No iat claim in id_token";return this.logger.warn(Lt),Promise.reject(Lt)}if(!this.skipIssuerCheck&&ve.iss!==this.issuer){const Lt="Wrong issuer: "+ve.iss;return this.logger.warn(Lt),Promise.reject(Lt)}if(!lt&&ve.nonce!==ut){const Lt="Wrong nonce: "+ve.nonce;return this.logger.warn(Lt),Promise.reject(Lt)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!ve.at_hash){const Lt="An at_hash is needed!";return this.logger.warn(Lt),Promise.reject(Lt)}const Pt=this.dateTimeService.now(),qe=1e3*ve.iat,et=1e3*ve.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Pt||et+Ve-this.decreaseExpirationBySec<=Pt){const Lt="Token has expired";return console.error(Lt),console.error({now:Pt,issuedAtMSec:qe,expiresAtMSec:et}),Promise.reject(Lt)}const yt={accessToken:Ce,idToken:ae,jwks:this.jwks,idTokenClaims:ve,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(Lt=>({idToken:ae,idTokenClaims:ve,idTokenClaimsJson:K,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:et})):this.checkAtHash(yt).then(Lt=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!Lt){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:ae,idTokenClaims:ve,idTokenClaimsJson:K,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:et};return this.disableAtHashCheck?Sn:this.checkAtHash(yt).then(_n=>{if(this.requestAccessToken&&!_n){const Mn="Wrong at_hash";return this.logger.warn(Mn),Promise.reject(Mn)}return Sn})})})}getIdentityClaims(){const ae=this._storage.getItem("id_token_claims_obj");return ae?JSON.parse(ae):null}getGrantedScopes(){const ae=this._storage.getItem("granted_scopes");return ae?JSON.parse(ae):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(ae){for(;ae.length%4!=0;)ae+="=";return ae}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){const ae=this._storage.getItem("expires_at"),Ce=this.dateTimeService.new();return!(ae&&parseInt(ae,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(ae)?JSON.parse(this._storage.getItem(ae)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(ae={},Ce=""){let lt=!1;"boolean"==typeof ae&&(lt=ae,ae={});const _e=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(De=>this._storage.removeItem(De)),this.silentRefreshSubject=null,this.eventsSubject.next(new Be("logout")),!this.logoutUrl||lt)return;let Ye;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)Ye=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(_e)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});_e&&(De=De.set("id_token_hint",_e));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),Ce&&(De=De.set("state",Ce)));for(let V in ae)De=De.set(V,ae[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const ae=this;return this.createNonce().then(function(Ce){return ae.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",Ce):ae._storage.setItem("nonce",Ce),Ce})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const ae=this.document.getElementById(this.silentRefreshIFrameName);ae&&ae.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const Ce=this.document.getElementById(this.sessionCheckIFrameName);Ce&&Ce.remove()}createNonce(){return new Promise(ae=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let lt=45,_e="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(lt);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>Ce.charCodeAt(F%66)),_e=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===lt.type)).subscribe(lt=>this.initCodeFlowInternal(ae,Ce))}initCodeFlowInternal(ae="",Ce={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},_e=null;"string"==typeof Ce?_e=Ce:"object"==typeof Ce&&(lt=Ce),this.createLoginUrl(ae,_e,null,!1,lt).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var ae=this;return(0,n.Z)(function*(){if(!ae.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const Ce=yield ae.createNonce();return[se(yield ae.crypto.calcHash(Ce,"sha-256")),Ce]})()}extractRecognizedCustomParameters(ae){let Ce=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(lt=>{ae[lt]&&Ce.set(lt,JSON.stringify(ae[lt]))}),Ce}revokeTokenAndLogout(ae={},Ce=!1){let lt=this.revocationEndpoint,_e=this.getAccessToken(),Ye=this.getRefreshToken();if(!_e)return Promise.resolve();let De=new g.HttpParams({encoder:new He}),F=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const V=btoa(`${this.clientId}:${this.dummyClientSecret}`);F=F.set("Authorization","Basic "+V)}if(this.useHttpBasicAuth||(De=De.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(De=De.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const V of Object.getOwnPropertyNames(this.customQueryParams))De=De.set(V,this.customQueryParams[V]);return new Promise((V,K)=>{let ve,ut;if(_e){let Pt=De.set("token",_e).set("token_type_hint","access_token");ve=this.http.post(lt,Pt,{headers:F})}else ve=(0,h.of)(null);if(Ye){let Pt=De.set("token",Ye).set("token_type_hint","refresh_token");ut=this.http.post(lt,Pt,{headers:F})}else ut=(0,h.of)(null);Ce&&(ve=ve.pipe((0,I.K)(Pt=>0===Pt.status?(0,h.of)(null):(0,v._)(Pt))),ut=ut.pipe((0,I.K)(Pt=>0===Pt.status?(0,h.of)(null):(0,v._)(Pt)))),(0,b.a)([ve,ut]).subscribe(Pt=>{this.logOut(ae),V(Pt),this.logger.info("Token successfully revoked")},Pt=>{this.logger.error("Error revoking token",Pt),this.eventsSubject.next(new G("token_revoke_error",Pt)),K(Pt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Ne.\u0275fac=function(ae){return new(ae||Ne)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ye,8),c.\u0275\u0275inject(We),c.\u0275\u0275inject(he),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Me))},Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();class Te{}class Ct{handleError($e){return(0,v._)($e)}}let dt=(()=>{class Ne{constructor(ae,Ce,lt){this.oAuthService=ae,this.errorHandler=Ce,this.moduleConfig=lt}checkUrl(ae){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(ae):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(Ce=>ae.toLowerCase().startsWith(Ce.toLowerCase()))}intercept(ae,Ce){const lt=ae.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(lt)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,h.of)(this.oAuthService.getAccessToken()).pipe((0,_.h)(Ye=>!!Ye)),this.oAuthService.events.pipe((0,_.h)(Ye=>"token_received"===Ye.type),(0,X.V)(this.oAuthService.waitForTokenInMsec||0),(0,I.K)(Ye=>(0,h.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=ae.headers.set("Authorization","Bearer "+Ye);ae=ae.clone({headers:F})}return Ce.handle(ae).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):Ce.handle(ae).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):Ce.handle(ae)}}return Ne.\u0275fac=function(ae){return new(ae||Ne)(c.\u0275\u0275inject(ue),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Ne.\u0275prov=c.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac}),Ne})();function bt(){return console}function Oe(){return typeof sessionStorage<"u"?sessionStorage:new W}function ge(Ne=null,$e=ie){return(0,c.makeEnvironmentProviders)([ue,We,{provide:he,useFactory:bt},{provide:H,useFactory:Oe},{provide:Ze,useClass:$e},{provide:oe,useClass:Q},{provide:Te,useClass:Ct},{provide:A,useValue:Ne},{provide:g.HTTP_INTERCEPTORS,useClass:dt,multi:!0},{provide:Me,useClass:Re}])}let ot=(()=>{class Ne{static forRoot(ae=null,Ce=ie){return{ngModule:Ne,providers:[ge(ae,Ce)]}}}return Ne.\u0275fac=function(ae){return new(ae||Ne)},Ne.\u0275mod=c.\u0275\u0275defineNgModule({type:Ne}),Ne.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Ne})();class Nt extends ie{constructor(){super(),console.error("PLEASE READ THIS CAREFULLY:\n\nBeginning with angular-oauth2-oidc version 9, the JwksValidationHandler\nhas been moved to an library of its own. If you need it for implementing\nOAuth2/OIDC **implicit flow**, please install it using npm:\n\n npm i angular-oauth2-oidc-jwks --save\n\nAfter that, you can import it into your application:\n\n import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';\n\nPlease note, that this dependency is not needed for the **code flow**,\nwhich is nowadays the **recommented** one for single page applications.\nThis also results in smaller bundle sizes.\n")}}const zt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>he,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>se,extendUint8Array:()=>ye,fromBase64:()=>Be,fromUint8Array:()=>I,isValid:()=>G,toBase64:()=>A,toUint8Array:()=>pe,utob:()=>ee,version:()=>n});const n="3.7.5",c=n,d="function"==typeof atob,g="function"==typeof btoa,r="function"==typeof Buffer,h="function"==typeof TextDecoder?new TextDecoder:void 0,f="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let We={};return Qe.forEach((tt,Mt)=>We[tt]=Mt),We})(v),p=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),l="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):Qe=>new Uint8Array(Array.prototype.slice.call(Qe,0)),y=Qe=>Qe.replace(/=/g,"").replace(/[+\/]/g,We=>"+"==We?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let We,tt,Mt,Ft,gt="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Mt=Qe.charCodeAt(Tt++))>255||(Ft=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");We=tt<<16|Mt<<8|Ft,gt+=v[We>>18&63]+v[We>>12&63]+v[We>>6&63]+v[63&We]}return Bt?gt.slice(0,Bt-3)+"===".substring(Bt):gt},S=g?Qe=>btoa(Qe):r?Qe=>Buffer.from(Qe,"binary").toString("base64"):D,E=r?Qe=>Buffer.from(Qe).toString("base64"):Qe=>{let tt=[];for(let Mt=0,Ft=Qe.length;MtWe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(We=Qe.charCodeAt(0))<128?Qe:We<2048?_(192|We>>>6)+_(128|63&We):_(224|We>>>12&15)+_(128|We>>>6&63)+_(128|63&We);var We=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|We>>>18&7)+_(128|We>>>12&63)+_(128|We>>>6&63)+_(128|63&We)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):f?Qe=>E(f.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,We=!1)=>We?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Me=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Re=Qe=>{switch(Qe.length){case 4:var tt=((7&Qe.charCodeAt(0))<<18|(63&Qe.charCodeAt(1))<<12|(63&Qe.charCodeAt(2))<<6|63&Qe.charCodeAt(3))-65536;return _(55296+(tt>>>10))+_(56320+(1023&tt));case 3:return _((15&Qe.charCodeAt(0))<<12|(63&Qe.charCodeAt(1))<<6|63&Qe.charCodeAt(2));default:return _((31&Qe.charCodeAt(0))<<6|63&Qe.charCodeAt(1))}},Ae=Qe=>Qe.replace(Me,Re),he=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let We,Mt,Ft,tt="";for(let gt=0;gt>16&255):64===Ft?_(We>>16&255,We>>8&255):_(We>>16&255,We>>8&255,255&We);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):he,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(We=>We.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):h?Qe=>h.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,We=>"-"==We?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const We=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(We)||!/[^\s0-9a-zA-Z\-_]/.test(We)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),se=function(){const Qe=(We,tt)=>Object.defineProperty(String.prototype,We,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(We){return A(this,We)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ye=function(){const Qe=(We,tt)=>Object.defineProperty(Uint8Array.prototype,We,re(tt));Qe("toBase64",function(We){return I(this,We)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{se(),ye()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:he,btoa:S,btoaPolyfill:D,fromBase64:Be,toBase64:A,encode:A,encodeURI:U,encodeURL:U,utob:ee,btou:Ae,decode:Be,isValid:G,fromUint8Array:I,toUint8Array:pe,extendString:se,extendUint8Array:ye,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",h="hljs-ln-code",f="hljs-ln-numbers",u="hljs-ln-n",v="data-line-number",b=/\r\n|\r|\n/g;function D(we){try{var Ee=d.querySelectorAll("code.hljs,code.nohighlight");for(var Be in Ee)Ee.hasOwnProperty(Be)&&(S(Ee[Be])||E(Ee[Be],we))}catch(G){c.console.error("LineNumbers error: ",G)}}function S(we){return we.classList.contains("nohljsln")}function E(we,Ee){"object"==typeof we&&function he(we){c.setTimeout(we,0)}(function(){we.innerHTML=X(we,Ee)})}function X(we,Ee){var Be=function ee(we,Ee){return{singleLine:ie(Ee=Ee||{}),startFrom:A(we,Ee)}}(we,Ee);return U(we),function $(we,Ee){var Be=Re(we);if(""===Be[Be.length-1].trim()&&Be.pop(),Be.length>1||Ee.singleLine){for(var G="",re=0,se=Be.length;re
{6}',[r,f,u,v,h,re+Ee.startFrom,Be[re].length>0?Be[re]:" "]);return H('{1}
',[g,G])}return we}(we.innerHTML,Be)}function ie(we){return!!we.singleLine&&we.singleLine}function A(we,Ee){var G=1;isFinite(Ee.startFrom)&&(G=Ee.startFrom);var re=function W(we,Ee){return we.hasAttribute(Ee)?we.getAttribute(Ee):null}(we,"data-ln-start-from");return null!==re&&(G=function pe(we,Ee){if(!we)return Ee;var Be=Number(we);return isFinite(Be)?Be:Ee}(re,1)),G}function U(we){var Ee=we.childNodes;for(var Be in Ee)if(Ee.hasOwnProperty(Be)){var G=Ee[Be];Ae(G.textContent)>0&&(G.childNodes.length>0?U(G):Me(G.parentNode))}}function Me(we){var Ee=we.className;if(/hljs-/.test(Ee)){for(var Be=Re(we.innerHTML),G=0,re="";G{1}
\n',[Ee,Be[G].length>0?Be[G]:" "]);we.innerHTML=re.trim()}}function Re(we){return 0===we.length?[]:we.split(b)}function Ae(we){return(we.trim().match(b)||[]).length}function H(we,Ee){return we.replace(/\{(\d+)\}/g,function(Be,G){return void 0!==Ee[G]?Ee[G]:Be})}c.hljs?(c.hljs.initLineNumbersOnLoad=function x(we){"interactive"===d.readyState||"complete"===d.readyState?D(we):c.addEventListener("DOMContentLoaded",function(){D(we)})},c.hljs.lineNumbersBlock=E,c.hljs.lineNumbersValue=function I(we,Ee){if("string"==typeof we){var Be=document.createElement("code");return Be.innerHTML=we,X(Be,Ee)}},function y(){var we=d.createElement("style");we.type="text/css",we.innerHTML=H(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[g,u,v]),d.getElementsByTagName("head")[0].appendChild(we)}()):c.console.error("highlight.js not detected!"),document.addEventListener("copy",function(we){var Be,Ee=window.getSelection();(function p(we){for(var Ee=we;Ee;){if(Ee.className&&-1!==Ee.className.indexOf("hljs-ln-code"))return!0;Ee=Ee.parentNode}return!1})(Ee.anchorNode)&&(Be=-1!==window.navigator.userAgent.indexOf("Edge")?function l(we){for(var Ee=we.toString(),Be=we.anchorNode;"TD"!==Be.nodeName;)Be=Be.parentNode;for(var G=we.focusNode;"TD"!==G.nodeName;)G=G.parentNode;var re=parseInt(Be.dataset.lineNumber),se=parseInt(G.dataset.lineNumber);if(re!=se){var ye=Be.textContent,He=G.textContent;if(re>se){var Ze=re;re=se,se=Ze,Ze=ye,ye=He,He=Ze}for(;0!==Ee.indexOf(ye);)ye=ye.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ye,We=function _(we){for(var Ee=we;"TABLE"!==Ee.nodeName;)Ee=Ee.parentNode;return Ee}(Be),tt=re+1;ttn})},9949:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{HIGHLIGHT_OPTIONS:()=>D,Highlight:()=>ie,HighlightJS:()=>ee,HighlightLoader:()=>X,HighlightModule:()=>A});var n=a(5879),c=a(6814),d=a(5619),g=a(2181),r=a(8180),h=a(4664),f=a(9397),u=a(6232),v=a(6306),b=a(8504),p=a(9278),_=a(7398),l=a(2459),y=a(927),x=a(6593);const D=new n.InjectionToken("HIGHLIGHT_OPTIONS");let S;let X=(()=>{class U{constructor(Re,Ae,he){this.doc=Re,this.platformId=Ae,this._options=he,this._ready=new d.X(null),this.ready=this._ready.asObservable().pipe((0,g.h)(H=>!!H),(0,r.q)(1)),(0,c.isPlatformBrowser)(Ae)&&(Re.defaultView.hljs?this._ready.next(Re.defaultView.hljs):(this._loadLibrary().pipe((0,h.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,f.b)(W=>{W.activateLineNumbers(),this._ready.next(H)}))):(this._ready.next(H),u.E)),(0,v.K)(H=>(console.error("[HLJS] ",H),u.E))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,b._)(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return(0,b._)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,b._)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,b._)(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,h.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([he,H])=>$(H()).pipe((0,f.b)(W=>Re.registerLanguage(he,W))));return(0,p.$)(...Ae).pipe((0,_.U)(()=>Re))}loadCoreLibrary(){return $(this._options.coreLibraryLoader())}loadFullLibrary(){return $(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,l.D)(this._options.lineNumbersLoader())}setTheme(Re){(0,c.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=Re:this.loadTheme(Re))}loadTheme(Re){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=Re,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return U.\u0275fac=function(Re){return new(Re||U)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(D,8))},U.\u0275prov=n.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})();const $=U=>(0,l.D)(U).pipe((0,g.h)(Me=>!!Me?.default),(0,_.U)(Me=>Me.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(he=>{this._hljs=he,Ae&&Ae.config&&(he.configure(Ae.config),he.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:he}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:he})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(he=>he.highlightAuto(Re,Ae)))}highlightElement(Re){return this._loader.ready.pipe((0,_.U)(Ae=>Ae.highlightElement(Re)))}highlightAll(){return this._loader.ready.pipe((0,_.U)(Re=>Re.highlightAll()))}configure(Re){return this._loader.ready.pipe((0,_.U)(Ae=>Ae.configure(Re)))}registerLanguage(Re,Ae){return this._loader.ready.pipe((0,f.b)(he=>he.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,f.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,f.b)(he=>he.registerAliases(Re,{languageName:Ae})))}listLanguages(){return this._loader.ready.pipe((0,_.U)(Re=>Re.listLanguages()))}getLanguage(Re){return this._loader.ready.pipe((0,_.U)(Ae=>Ae.getLanguage(Re)))}safeMode(){return this._loader.ready.pipe((0,_.U)(Re=>Re.safeMode()))}debugMode(){return this._loader.ready.pipe((0,_.U)(Re=>Re.debugMode()))}lineNumbersBlock(Re){return this._loader.ready.pipe((0,g.h)(Ae=>!!Ae.lineNumbersBlock),(0,f.b)(Ae=>Ae.lineNumbersBlock(Re)))}}return U.\u0275fac=function(Re){return new(Re||U)(n.\u0275\u0275inject(X),n.\u0275\u0275inject(D,8))},U.\u0275prov=n.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),ie=(()=>{class U{constructor(Re,Ae,he,H,W){this._hljs=Ae,this._sanitizer=he,this.platformId=H,this._options=W,this.highlighted=new n.EventEmitter,this._nativeElement=Re.nativeElement}ngOnChanges(Re){(0,c.isPlatformBrowser)(this.platformId)&&null!==Re?.code?.currentValue&&Re.code.currentValue!==Re.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(Re,Ae){this.setTextContent(Re),this._hljs.highlightAuto(Re,Ae).subscribe(he=>{this.setInnerHTML(he?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(he)})}addLineNumbers(){this.destroyLineNumbersObserver(),y.Z.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(Re){y.Z.schedule(()=>this._nativeElement.textContent=Re)}setInnerHTML(Re){y.Z.schedule(()=>this._nativeElement.innerHTML=function I(U){return function E(){if(!S)try{S=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:U=>U})}catch{}return S}()?.createHTML(U)||U}(this._sanitizer.sanitize(n.SecurityContext.HTML,Re)||""))}}return U.\u0275fac=function(Re){return new(Re||U)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ee),n.\u0275\u0275directiveInject(x.DomSanitizer),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(D,8))},U.\u0275dir=n.\u0275\u0275defineDirective({type:U,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(Re,Ae){2&Re&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),U})(),A=(()=>{class U{}return U.\u0275fac=function(Re){return new(Re||U)},U.\u0275mod=n.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=n.\u0275\u0275defineInjector({}),U})()},5861:(Ie,B,a)=>{"use strict";function n(d,g,r,h,f,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(h,f)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(h,f){var u=d.apply(g,r);function v(p){n(u,h,f,v,b,"next",p)}function b(p){n(u,h,f,v,b,"throw",p)}v(void 0)})}}a.d(B,{Z:()=>c})},1180:(Ie,B,a)=>{"use strict";function n(r){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(h){return typeof h}:function(h){return h&&"function"==typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(r)}function g(r,h,f){return(h=function d(r){var h=function c(r,h){if("object"!==n(r)||null===r)return r;var f=r[Symbol.toPrimitive];if(void 0!==f){var u=f.call(r,h||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===h?String:Number)(r)}(r,"string");return"symbol"===n(h)?h:String(h)}(h))in r?Object.defineProperty(r,h,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[h]=f,r}a.d(B,{Z:()=>g})},8210:Ie=>{"use strict";Ie.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1g","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"at","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mos","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"h","const",true,null,null,1,false,false,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"k","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"\u03b50","const",true,null,null,1,false,false,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"\u03bc0","const",true,null,null,1,false,false,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"e","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"me","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"mp","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"G","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",true,null,null,1,false,false,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xb0C","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xb0C","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xb0F","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xb0F","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xb0F","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"BtuIT","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO2","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO2","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ctm","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/103<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/106<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2<.r>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(1012)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"103","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(103)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(103)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(103)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(104)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"105","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"106","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1000000000,[-3,0,0,0,0,0,0],"(106).CFU/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(106)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(106)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(106)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(106)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"108","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(109)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(109)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(109)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm5).(m2)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[true,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xa0HO2","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm\xa0HO2)/L/s","clinical",true,null,null,1,false,false,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm\xa0HO2)/s/m","clinical",true,null,null,1,false,false,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xa0Hg","clinical",true,null,null,1,false,false,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[true,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm2",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[true,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm2)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[true,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[true,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[true,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,false,"L",null,1,false,false,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",true,null,null,1,false,false,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/\u03bcmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[true,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[true,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,false,"M",null,1,false,false,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[true,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[true,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,false,"M",null,1,false,false,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,false,"M",null,1,false,false,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[true,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[true,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[true,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,false],[true,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,false,"M",null,1,false,false,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m2)",null,false,"M",null,1,false,false,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[true,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m3)",null,false,"M",null,1,false,false,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[true,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[true,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[true,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[true,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,false,"L",null,1,false,false,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[true,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,false,"L",null,1,false,false,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[true,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,false,"L",null,1,false,false,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[true,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,false,"L",null,1,false,false,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,false,"M",null,1,false,false,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[true,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO2)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[true,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[true,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[true,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xa0HO2","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xa0Hg","clinical",true,null,null,1,false,false,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[true,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm2",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m2)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m3)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[true,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[true,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[true,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[true,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,false,"M",null,1,false,false,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[true,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[true,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[true,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[true,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"\u03a9.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[true,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[true,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/\u03bcmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(1010)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(109)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[true,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"\u03bcg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"\u03bcg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/d",null,false,"M",null,1,false,false,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/min",null,false,"M",null,1,false,false,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"\u03bcg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(\u03bcg/L)/h",null,false,"M",null,1,false,false,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"\u03bcg/(m2)",null,false,"M",null,1,false,false,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"\u03bcg/(m3)",null,false,"M",null,1,false,false,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"\u03bcg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"\u03bcg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03bcg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"\u03bcg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03bcg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"\u03bckat","chemical",true,null,null,1,false,false,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03bcL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[true,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"\u03bcm",null,false,"L",null,1,false,false,0,"micrometers; micrometres; \u03bcm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[true,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"\u03bcm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bcmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[true,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"\u03bcs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03bcU/g","chemical",true,null,null,1,false,false,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"\u03bcU/L","chemical",true,null,null,1,false,false,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"\u03bcU/mL","chemical",true,null,null,1,false,false,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"\u03bcV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')},82:Ie=>{"use strict";Ie.exports=JSON.parse('{"name":"fhirpath","version":"3.6.0","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^4.1.3","antlr4":"~4.9.3","commander":"^2.18.0","date-fns":"^1.30.1","js-yaml":"^3.13.1"},"devDependencies":{"@babel/core":"^7.21.4","@babel/eslint-parser":"^7.17.0","@babel/preset-env":"^7.16.11","babel-loader":"^8.2.3","benny":"^3.7.1","bestzip":"^2.2.0","copy-webpack-plugin":"^6.0.3","cypress":"^10.3.0","eslint":"^8.10.0","fhir":"^4.10.3","grunt":"^1.5.2","grunt-cli":"^1.4.3","grunt-text-replace":"^0.4.0","jasmine-spec-reporter":"^4.2.1","jest":"^27.3.1","jit-grunt":"^0.10.0","lodash":"^4.17.21","open":"^8.4.0","rimraf":"^3.0.0","tmp":"0.0.33","webpack":"^5.11.1","webpack-bundle-analyzer":"^4.4.2","webpack-cli":"^4.9.1","xml2js":"^0.5.0","yargs":"^15.1.0"},"engines":{"node":">=8.9.0"},"scripts":{"generateParser":"cd src/parser; rimraf ./generated/*; java -Xmx500M -cp \\"../../antlr-4.9.3-complete.jar:$CLASSPATH\\" org.antlr.v4.Tool -o generated -Dlanguage=JavaScript FHIRPath.g4; grunt updateParserRequirements","build":"cd browser-build && webpack && rimraf fhirpath.zip && bestzip fhirpath.zip LICENSE.md fhirpath.min.js fhirpath.r5.min.js fhirpath.r4.min.js fhirpath.stu3.min.js fhirpath.dstu2.min.js && rimraf LICENSE.md","test:unit":"jest && TZ=America/New_York jest && TZ=Europe/Paris jest","test:unit:debug":"echo \'open chrome chrome://inspect/\' && node --inspect node_modules/.bin/jest --runInBand","build:demo":"npm run build && cd demo && npm run build","test:e2e":"npm run build:demo && cypress run","test":"npm run lint && npm run test:unit && npm run test:e2e && echo \\"For tests specific to IE 11, open browser-build/test/index.html in IE 11, and confirm that the tests on that page pass.\\"","lint":"eslint src/parser/index.js src/*.js converter/","compare-performance":"node ./test/benchmark.js"},"bin":{"fhirpath":"bin/fhirpath"},"repository":"github:HL7/fhirpath.js","license":"MIT"}')},4147:Ie=>{"use strict";Ie.exports=JSON.parse('{"name":"mag-client","version":"2.5.70","license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build --configuration production --base-href /mag-pmp/","build-mag":"ng build --configuration production --base-href /mag-pmp/ --output-path ../src/main/resources/static","test":"ng test","test-ci":"ng test --no-watch --no-progress --browsers=ChromeHeadlessNoSandbox --code-coverage","lint":"ng lint","e2e":"ng e2e"},"private":true,"dependencies":{"@angular/animations":"^16.1.7","@angular/common":"^16.1.7","@angular/core":"^16.1.7","@angular/forms":"^16.1.7","@angular/material":"^16.1.6","@angular/platform-browser":"^16.1.7","@angular/platform-browser-dynamic":"^16.1.7","@angular/router":"^16.1.7","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","@types/jasmine":"^4.3.5","@types/pako":"^2.0.0","ace-builds":"^1.23.4","angular-oauth2-oidc":"^15.0.1","browserify-zlib":"^0.2.0","core-js":"^3.32.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.6.0","jasmine":"^5.1.0","js-base64":"^3.7.5","js-untar":"^2.0.0","ngx-highlightjs":"^10.0.0","pako":"^2.1.0","rxjs":"^7.8.1","tslib":"^2.6.1","uuid":"^9.0.0","yarn":"^1.22.19","zone.js":"^0.13.1"},"devDependencies":{"@angular-devkit/build-angular":"^16.1.6","@angular-eslint/builder":"^16.1.0","@angular-eslint/eslint-plugin":"^16.1.0","@angular-eslint/eslint-plugin-template":"^16.1.0","@angular-eslint/schematics":"^16.1.0","@angular-eslint/template-parser":"^16.1.0","@angular/cli":"^16.1.6","@angular/compiler-cli":"^16.1.7","@angular/language-service":"^16.1.7","@types/debug":"^4.1.8","@types/node":"^20.4.5","@types/ramda":"^0.29.3","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.46.0","husky":"^8.0.3","jasmine-core":"^5.1.0","jasmine-spec-reporter":"^7.0.0","json-patch":"^0.7.0","karma":"^6.4.2","karma-chrome-launcher":"^3.2.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"~3.0.2","karma-jasmine":"^5.1.0","karma-jasmine-html-reporter":"^2.1.0","prettier":"^3.0.0","pretty-quick":"^3.1.3","protractor":"~7.0.0","ts-node":"^10.9.1","tslint":"~6.1.0","typescript":"~5.1.6"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"prettier":{"singleQuote":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},Ie=>{Ie(Ie.s=4913)}]); \ No newline at end of file